testsuite: p8vector-int128 require int128 not lp64.
[official-gcc.git] / libstdc++-v3 / configure
blobdd54bd406a9a341c1c69bc561652904b33021b39
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
919 enable_long_long
920 enable_wchar_t
921 enable_c99
922 enable_concept_checks
923 enable_libstdcxx_debug_flags
924 enable_libstdcxx_debug
925 enable_cxx_flags
926 enable_fully_dynamic_string
927 enable_extern_template
928 with_python_dir
929 enable_werror
930 enable_vtable_verify
931 enable_libstdcxx_time
932 enable_tls
933 enable_rpath
934 with_libiconv_prefix
935 with_libiconv_type
936 with_system_libunwind
937 enable_linux_futex
938 enable_symvers
939 enable_libstdcxx_visibility
940 enable_libstdcxx_dual_abi
941 with_default_libstdcxx_abi
942 enable_libstdcxx_threads
943 enable_libstdcxx_filesystem_ts
944 enable_cet
945 with_gxx_include_dir
946 enable_version_specific_runtime_libs
947 with_toolexeclibdir
948 with_gcc_major_version_only
950 ac_precious_vars='build_alias
951 host_alias
952 target_alias
954 CFLAGS
955 LDFLAGS
956 LIBS
957 CPPFLAGS
959 CXXFLAGS
962 CXXCPP
963 CXXFILT'
966 # Initialize some variables set by options.
967 ac_init_help=
968 ac_init_version=false
969 ac_unrecognized_opts=
970 ac_unrecognized_sep=
971 # The variables have the same names as the options, with
972 # dashes changed to underlines.
973 cache_file=/dev/null
974 exec_prefix=NONE
975 no_create=
976 no_recursion=
977 prefix=NONE
978 program_prefix=NONE
979 program_suffix=NONE
980 program_transform_name=s,x,x,
981 silent=
982 site=
983 srcdir=
984 verbose=
985 x_includes=NONE
986 x_libraries=NONE
988 # Installation directory options.
989 # These are left unexpanded so users can "make install exec_prefix=/foo"
990 # and all the variables that are supposed to be based on exec_prefix
991 # by default will actually change.
992 # Use braces instead of parens because sh, perl, etc. also accept them.
993 # (The list follows the same order as the GNU Coding Standards.)
994 bindir='${exec_prefix}/bin'
995 sbindir='${exec_prefix}/sbin'
996 libexecdir='${exec_prefix}/libexec'
997 datarootdir='${prefix}/share'
998 datadir='${datarootdir}'
999 sysconfdir='${prefix}/etc'
1000 sharedstatedir='${prefix}/com'
1001 localstatedir='${prefix}/var'
1002 includedir='${prefix}/include'
1003 oldincludedir='/usr/include'
1004 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1005 infodir='${datarootdir}/info'
1006 htmldir='${docdir}'
1007 dvidir='${docdir}'
1008 pdfdir='${docdir}'
1009 psdir='${docdir}'
1010 libdir='${exec_prefix}/lib'
1011 localedir='${datarootdir}/locale'
1012 mandir='${datarootdir}/man'
1014 ac_prev=
1015 ac_dashdash=
1016 for ac_option
1018 # If the previous option needs an argument, assign it.
1019 if test -n "$ac_prev"; then
1020 eval $ac_prev=\$ac_option
1021 ac_prev=
1022 continue
1025 case $ac_option in
1026 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1027 *=) ac_optarg= ;;
1028 *) ac_optarg=yes ;;
1029 esac
1031 # Accept the important Cygnus configure options, so we can diagnose typos.
1033 case $ac_dashdash$ac_option in
1035 ac_dashdash=yes ;;
1037 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1038 ac_prev=bindir ;;
1039 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1040 bindir=$ac_optarg ;;
1042 -build | --build | --buil | --bui | --bu)
1043 ac_prev=build_alias ;;
1044 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1045 build_alias=$ac_optarg ;;
1047 -cache-file | --cache-file | --cache-fil | --cache-fi \
1048 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1049 ac_prev=cache_file ;;
1050 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1051 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1052 cache_file=$ac_optarg ;;
1054 --config-cache | -C)
1055 cache_file=config.cache ;;
1057 -datadir | --datadir | --datadi | --datad)
1058 ac_prev=datadir ;;
1059 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1060 datadir=$ac_optarg ;;
1062 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1063 | --dataroo | --dataro | --datar)
1064 ac_prev=datarootdir ;;
1065 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1066 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1067 datarootdir=$ac_optarg ;;
1069 -disable-* | --disable-*)
1070 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1071 # Reject names that are not valid shell variable names.
1072 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1073 as_fn_error $? "invalid feature name: $ac_useropt"
1074 ac_useropt_orig=$ac_useropt
1075 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1076 case $ac_user_opts in
1078 "enable_$ac_useropt"
1079 "*) ;;
1080 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1081 ac_unrecognized_sep=', ';;
1082 esac
1083 eval enable_$ac_useropt=no ;;
1085 -docdir | --docdir | --docdi | --doc | --do)
1086 ac_prev=docdir ;;
1087 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1088 docdir=$ac_optarg ;;
1090 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1091 ac_prev=dvidir ;;
1092 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1093 dvidir=$ac_optarg ;;
1095 -enable-* | --enable-*)
1096 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1097 # Reject names that are not valid shell variable names.
1098 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1099 as_fn_error $? "invalid feature name: $ac_useropt"
1100 ac_useropt_orig=$ac_useropt
1101 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1102 case $ac_user_opts in
1104 "enable_$ac_useropt"
1105 "*) ;;
1106 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1107 ac_unrecognized_sep=', ';;
1108 esac
1109 eval enable_$ac_useropt=\$ac_optarg ;;
1111 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1112 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1113 | --exec | --exe | --ex)
1114 ac_prev=exec_prefix ;;
1115 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1116 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1117 | --exec=* | --exe=* | --ex=*)
1118 exec_prefix=$ac_optarg ;;
1120 -gas | --gas | --ga | --g)
1121 # Obsolete; use --with-gas.
1122 with_gas=yes ;;
1124 -help | --help | --hel | --he | -h)
1125 ac_init_help=long ;;
1126 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1127 ac_init_help=recursive ;;
1128 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1129 ac_init_help=short ;;
1131 -host | --host | --hos | --ho)
1132 ac_prev=host_alias ;;
1133 -host=* | --host=* | --hos=* | --ho=*)
1134 host_alias=$ac_optarg ;;
1136 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1137 ac_prev=htmldir ;;
1138 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1139 | --ht=*)
1140 htmldir=$ac_optarg ;;
1142 -includedir | --includedir | --includedi | --included | --include \
1143 | --includ | --inclu | --incl | --inc)
1144 ac_prev=includedir ;;
1145 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1146 | --includ=* | --inclu=* | --incl=* | --inc=*)
1147 includedir=$ac_optarg ;;
1149 -infodir | --infodir | --infodi | --infod | --info | --inf)
1150 ac_prev=infodir ;;
1151 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1152 infodir=$ac_optarg ;;
1154 -libdir | --libdir | --libdi | --libd)
1155 ac_prev=libdir ;;
1156 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1157 libdir=$ac_optarg ;;
1159 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1160 | --libexe | --libex | --libe)
1161 ac_prev=libexecdir ;;
1162 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1163 | --libexe=* | --libex=* | --libe=*)
1164 libexecdir=$ac_optarg ;;
1166 -localedir | --localedir | --localedi | --localed | --locale)
1167 ac_prev=localedir ;;
1168 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1169 localedir=$ac_optarg ;;
1171 -localstatedir | --localstatedir | --localstatedi | --localstated \
1172 | --localstate | --localstat | --localsta | --localst | --locals)
1173 ac_prev=localstatedir ;;
1174 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1175 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1176 localstatedir=$ac_optarg ;;
1178 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1179 ac_prev=mandir ;;
1180 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1181 mandir=$ac_optarg ;;
1183 -nfp | --nfp | --nf)
1184 # Obsolete; use --without-fp.
1185 with_fp=no ;;
1187 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1188 | --no-cr | --no-c | -n)
1189 no_create=yes ;;
1191 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1192 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1193 no_recursion=yes ;;
1195 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1196 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1197 | --oldin | --oldi | --old | --ol | --o)
1198 ac_prev=oldincludedir ;;
1199 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1200 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1201 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1202 oldincludedir=$ac_optarg ;;
1204 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1205 ac_prev=prefix ;;
1206 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1207 prefix=$ac_optarg ;;
1209 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1210 | --program-pre | --program-pr | --program-p)
1211 ac_prev=program_prefix ;;
1212 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1213 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1214 program_prefix=$ac_optarg ;;
1216 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1217 | --program-suf | --program-su | --program-s)
1218 ac_prev=program_suffix ;;
1219 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1220 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1221 program_suffix=$ac_optarg ;;
1223 -program-transform-name | --program-transform-name \
1224 | --program-transform-nam | --program-transform-na \
1225 | --program-transform-n | --program-transform- \
1226 | --program-transform | --program-transfor \
1227 | --program-transfo | --program-transf \
1228 | --program-trans | --program-tran \
1229 | --progr-tra | --program-tr | --program-t)
1230 ac_prev=program_transform_name ;;
1231 -program-transform-name=* | --program-transform-name=* \
1232 | --program-transform-nam=* | --program-transform-na=* \
1233 | --program-transform-n=* | --program-transform-=* \
1234 | --program-transform=* | --program-transfor=* \
1235 | --program-transfo=* | --program-transf=* \
1236 | --program-trans=* | --program-tran=* \
1237 | --progr-tra=* | --program-tr=* | --program-t=*)
1238 program_transform_name=$ac_optarg ;;
1240 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1241 ac_prev=pdfdir ;;
1242 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1243 pdfdir=$ac_optarg ;;
1245 -psdir | --psdir | --psdi | --psd | --ps)
1246 ac_prev=psdir ;;
1247 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1248 psdir=$ac_optarg ;;
1250 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1251 | -silent | --silent | --silen | --sile | --sil)
1252 silent=yes ;;
1254 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1255 ac_prev=sbindir ;;
1256 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1257 | --sbi=* | --sb=*)
1258 sbindir=$ac_optarg ;;
1260 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1261 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1262 | --sharedst | --shareds | --shared | --share | --shar \
1263 | --sha | --sh)
1264 ac_prev=sharedstatedir ;;
1265 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1266 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1267 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1268 | --sha=* | --sh=*)
1269 sharedstatedir=$ac_optarg ;;
1271 -site | --site | --sit)
1272 ac_prev=site ;;
1273 -site=* | --site=* | --sit=*)
1274 site=$ac_optarg ;;
1276 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1277 ac_prev=srcdir ;;
1278 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1279 srcdir=$ac_optarg ;;
1281 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1282 | --syscon | --sysco | --sysc | --sys | --sy)
1283 ac_prev=sysconfdir ;;
1284 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1285 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1286 sysconfdir=$ac_optarg ;;
1288 -target | --target | --targe | --targ | --tar | --ta | --t)
1289 ac_prev=target_alias ;;
1290 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1291 target_alias=$ac_optarg ;;
1293 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1294 verbose=yes ;;
1296 -version | --version | --versio | --versi | --vers | -V)
1297 ac_init_version=: ;;
1299 -with-* | --with-*)
1300 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1301 # Reject names that are not valid shell variable names.
1302 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1303 as_fn_error $? "invalid package name: $ac_useropt"
1304 ac_useropt_orig=$ac_useropt
1305 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1306 case $ac_user_opts in
1308 "with_$ac_useropt"
1309 "*) ;;
1310 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1311 ac_unrecognized_sep=', ';;
1312 esac
1313 eval with_$ac_useropt=\$ac_optarg ;;
1315 -without-* | --without-*)
1316 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1317 # Reject names that are not valid shell variable names.
1318 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1319 as_fn_error $? "invalid package name: $ac_useropt"
1320 ac_useropt_orig=$ac_useropt
1321 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1322 case $ac_user_opts in
1324 "with_$ac_useropt"
1325 "*) ;;
1326 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1327 ac_unrecognized_sep=', ';;
1328 esac
1329 eval with_$ac_useropt=no ;;
1331 --x)
1332 # Obsolete; use --with-x.
1333 with_x=yes ;;
1335 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1336 | --x-incl | --x-inc | --x-in | --x-i)
1337 ac_prev=x_includes ;;
1338 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1339 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1340 x_includes=$ac_optarg ;;
1342 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1343 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1344 ac_prev=x_libraries ;;
1345 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1346 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1347 x_libraries=$ac_optarg ;;
1349 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1350 Try \`$0 --help' for more information"
1353 *=*)
1354 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1355 # Reject names that are not valid shell variable names.
1356 case $ac_envvar in #(
1357 '' | [0-9]* | *[!_$as_cr_alnum]* )
1358 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1359 esac
1360 eval $ac_envvar=\$ac_optarg
1361 export $ac_envvar ;;
1364 # FIXME: should be removed in autoconf 3.0.
1365 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1366 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1367 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1368 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1371 esac
1372 done
1374 if test -n "$ac_prev"; then
1375 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1376 as_fn_error $? "missing argument to $ac_option"
1379 if test -n "$ac_unrecognized_opts"; then
1380 case $enable_option_checking in
1381 no) ;;
1382 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1383 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1384 esac
1387 # Check all directory arguments for consistency.
1388 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1389 datadir sysconfdir sharedstatedir localstatedir includedir \
1390 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1391 libdir localedir mandir
1393 eval ac_val=\$$ac_var
1394 # Remove trailing slashes.
1395 case $ac_val in
1396 */ )
1397 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1398 eval $ac_var=\$ac_val;;
1399 esac
1400 # Be sure to have absolute directory names.
1401 case $ac_val in
1402 [\\/$]* | ?:[\\/]* ) continue;;
1403 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1404 esac
1405 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1406 done
1408 # There might be people who depend on the old broken behavior: `$host'
1409 # used to hold the argument of --host etc.
1410 # FIXME: To remove some day.
1411 build=$build_alias
1412 host=$host_alias
1413 target=$target_alias
1415 # FIXME: To remove some day.
1416 if test "x$host_alias" != x; then
1417 if test "x$build_alias" = x; then
1418 cross_compiling=maybe
1419 elif test "x$build_alias" != "x$host_alias"; then
1420 cross_compiling=yes
1424 ac_tool_prefix=
1425 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1427 test "$silent" = yes && exec 6>/dev/null
1430 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1431 ac_ls_di=`ls -di .` &&
1432 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1433 as_fn_error $? "working directory cannot be determined"
1434 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1435 as_fn_error $? "pwd does not report name of working directory"
1438 # Find the source files, if location was not specified.
1439 if test -z "$srcdir"; then
1440 ac_srcdir_defaulted=yes
1441 # Try the directory containing this script, then the parent directory.
1442 ac_confdir=`$as_dirname -- "$as_myself" ||
1443 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1444 X"$as_myself" : 'X\(//\)[^/]' \| \
1445 X"$as_myself" : 'X\(//\)$' \| \
1446 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1447 $as_echo X"$as_myself" |
1448 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1449 s//\1/
1452 /^X\(\/\/\)[^/].*/{
1453 s//\1/
1456 /^X\(\/\/\)$/{
1457 s//\1/
1460 /^X\(\/\).*/{
1461 s//\1/
1464 s/.*/./; q'`
1465 srcdir=$ac_confdir
1466 if test ! -r "$srcdir/$ac_unique_file"; then
1467 srcdir=..
1469 else
1470 ac_srcdir_defaulted=no
1472 if test ! -r "$srcdir/$ac_unique_file"; then
1473 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1474 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1476 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1477 ac_abs_confdir=`(
1478 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1479 pwd)`
1480 # When building in place, set srcdir=.
1481 if test "$ac_abs_confdir" = "$ac_pwd"; then
1482 srcdir=.
1484 # Remove unnecessary trailing slashes from srcdir.
1485 # Double slashes in file names in object file debugging info
1486 # mess up M-x gdb in Emacs.
1487 case $srcdir in
1488 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1489 esac
1490 for ac_var in $ac_precious_vars; do
1491 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1492 eval ac_env_${ac_var}_value=\$${ac_var}
1493 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1494 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1495 done
1498 # Report the --help message.
1500 if test "$ac_init_help" = "long"; then
1501 # Omit some internal or obsolete options to make the list less imposing.
1502 # This message is too long to be a string in the A/UX 3.1 sh.
1503 cat <<_ACEOF
1504 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1506 Usage: $0 [OPTION]... [VAR=VALUE]...
1508 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1509 VAR=VALUE. See below for descriptions of some of the useful variables.
1511 Defaults for the options are specified in brackets.
1513 Configuration:
1514 -h, --help display this help and exit
1515 --help=short display options specific to this package
1516 --help=recursive display the short help of all the included packages
1517 -V, --version display version information and exit
1518 -q, --quiet, --silent do not print \`checking ...' messages
1519 --cache-file=FILE cache test results in FILE [disabled]
1520 -C, --config-cache alias for \`--cache-file=config.cache'
1521 -n, --no-create do not create output files
1522 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1524 Installation directories:
1525 --prefix=PREFIX install architecture-independent files in PREFIX
1526 [$ac_default_prefix]
1527 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1528 [PREFIX]
1530 By default, \`make install' will install all the files in
1531 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1532 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1533 for instance \`--prefix=\$HOME'.
1535 For better control, use the options below.
1537 Fine tuning of the installation directories:
1538 --bindir=DIR user executables [EPREFIX/bin]
1539 --sbindir=DIR system admin executables [EPREFIX/sbin]
1540 --libexecdir=DIR program executables [EPREFIX/libexec]
1541 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1542 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1543 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1544 --libdir=DIR object code libraries [EPREFIX/lib]
1545 --includedir=DIR C header files [PREFIX/include]
1546 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1547 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1548 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1549 --infodir=DIR info documentation [DATAROOTDIR/info]
1550 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1551 --mandir=DIR man documentation [DATAROOTDIR/man]
1552 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1553 --htmldir=DIR html documentation [DOCDIR]
1554 --dvidir=DIR dvi documentation [DOCDIR]
1555 --pdfdir=DIR pdf documentation [DOCDIR]
1556 --psdir=DIR ps documentation [DOCDIR]
1557 _ACEOF
1559 cat <<\_ACEOF
1561 Program names:
1562 --program-prefix=PREFIX prepend PREFIX to installed program names
1563 --program-suffix=SUFFIX append SUFFIX to installed program names
1564 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1566 System types:
1567 --build=BUILD configure for building on BUILD [guessed]
1568 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1569 --target=TARGET configure for building compilers for TARGET [HOST]
1570 _ACEOF
1573 if test -n "$ac_init_help"; then
1574 case $ac_init_help in
1575 short | recursive ) echo "Configuration of package-unused version-unused:";;
1576 esac
1577 cat <<\_ACEOF
1579 Optional Features:
1580 --disable-option-checking ignore unrecognized --enable/--with options
1581 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1582 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1583 --enable-multilib build many library versions (default)
1584 --enable-silent-rules less verbose build output (undo: "make V=1")
1585 --disable-silent-rules verbose build output (undo: "make V=0")
1586 --disable-largefile omit support for large files
1587 --enable-maintainer-mode
1588 enable make rules and dependencies not useful (and
1589 sometimes confusing) to the casual installer
1590 --enable-shared[=PKGS] build shared libraries [default=yes]
1591 --enable-static[=PKGS] build static libraries [default=yes]
1592 --enable-fast-install[=PKGS]
1593 optimize for fast installation [default=yes]
1594 --disable-libtool-lock avoid locking (might break parallel builds)
1595 --disable-hosted-libstdcxx
1596 only build freestanding C++ runtime support
1597 --disable-libstdcxx-verbose
1598 disable termination messages to standard error
1599 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1600 [default=$is_hosted]
1601 --enable-cstdio[=PACKAGE]
1602 use target-specific I/O package [default=stdio]
1603 --enable-clocale[=MODEL]
1604 use MODEL for target locale package [default=auto]
1605 --enable-nls use Native Language Support (default)
1606 --enable-libstdcxx-allocator[=KIND]
1607 use KIND for target std::allocator base
1608 [default=auto]
1609 --enable-cheaders[=KIND]
1610 construct "C" headers for g++ [default=$c_model]
1611 --enable-long-long enable template specializations for 'long long'
1612 [default=yes]
1613 --enable-wchar_t enable template specializations for 'wchar_t'
1614 [default=yes]
1615 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1616 --enable-concept-checks use Boost-derived template checks [default=no]
1617 --enable-libstdcxx-debug-flags=FLAGS
1618 pass compiler FLAGS when building debug library
1619 [default="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"]
1620 --enable-libstdcxx-debug
1621 build extra debug library [default=no]
1622 --enable-cxx-flags=FLAGS
1623 pass compiler FLAGS when building library [default=]
1624 --enable-fully-dynamic-string
1625 do not put empty strings in per-process static
1626 memory [default=no]
1627 --enable-extern-template
1628 enable extern template [default=yes]
1629 --enable-werror turns on -Werror [default=no]
1630 --enable-vtable-verify enable vtable verify [default=no]
1631 --enable-libstdcxx-time[=KIND]
1632 use KIND for check type [default=auto]
1633 --enable-tls Use thread-local storage [default=yes]
1634 --disable-rpath do not hardcode runtime library paths
1635 --enable-linux-futex use the Linux futex system call [default=default]
1636 --enable-symvers[=STYLE]
1637 enables symbol versioning of the shared library
1638 [default=yes]
1639 --enable-libstdcxx-visibility
1640 enables visibility safe usage [default=yes]
1641 --enable-libstdcxx-dual-abi
1642 support two versions of std::string [default=yes]
1643 --enable-libstdcxx-threads
1644 enable C++11 threads support [default=auto]
1645 --enable-libstdcxx-filesystem-ts
1646 turns on ISO/IEC TS 18822 support [default=auto]
1647 --enable-cet enable Intel CET in target libraries [default=auto]
1648 --enable-version-specific-runtime-libs
1649 Specify that runtime libraries should be installed
1650 in a compiler-specific directory
1652 Optional Packages:
1653 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1654 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1655 --with-target-subdir=SUBDIR
1656 configuring in a subdirectory
1657 --with-cross-host=HOST configuring with a cross compiler
1658 --with-newlib assume newlib as a system C library
1659 --with-pic try to use only PIC/non-PIC objects [default=use
1660 both]
1661 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1662 --with-libstdcxx-lock-policy={atomic,mutex,auto}
1663 synchronization policy for shared_ptr reference
1664 counting [default=auto]
1665 --with-python-dir the location to install Python modules. This path is
1666 relative starting from the prefix.
1667 --with-gnu-ld assume the C compiler uses GNU ld default=no
1668 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1669 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1670 --with-libiconv-type=TYPE type of library to search for (auto/static/shared)
1671 --with-system-libunwind use installed libunwind
1672 --with-default-libstdcxx-abi
1673 set the std::string ABI to use by default
1674 --with-gxx-include-dir=DIR
1675 installation directory for include files
1676 --with-toolexeclibdir=DIR
1677 install libraries built with a cross compiler within
1679 --with-gcc-major-version-only
1680 use only GCC major number in filesystem paths
1682 Some influential environment variables:
1683 CC C compiler command
1684 CFLAGS C compiler flags
1685 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1686 nonstandard directory <lib dir>
1687 LIBS libraries to pass to the linker, e.g. -l<library>
1688 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1689 you have headers in a nonstandard directory <include dir>
1690 CXX C++ compiler command
1691 CXXFLAGS C++ compiler flags
1692 CPP C preprocessor
1693 CXXCPP C++ preprocessor
1694 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1695 `c++filt', `gc++filt' on PATH.
1697 Use these variables to override the choices made by `configure' or to help
1698 it to find libraries and programs with nonstandard names/locations.
1700 Report bugs to the package provider.
1701 _ACEOF
1702 ac_status=$?
1705 if test "$ac_init_help" = "recursive"; then
1706 # If there are subdirs, report their specific --help.
1707 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1708 test -d "$ac_dir" ||
1709 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1710 continue
1711 ac_builddir=.
1713 case "$ac_dir" in
1714 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1716 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1717 # A ".." for each directory in $ac_dir_suffix.
1718 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1719 case $ac_top_builddir_sub in
1720 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1721 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1722 esac ;;
1723 esac
1724 ac_abs_top_builddir=$ac_pwd
1725 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1726 # for backward compatibility:
1727 ac_top_builddir=$ac_top_build_prefix
1729 case $srcdir in
1730 .) # We are building in place.
1731 ac_srcdir=.
1732 ac_top_srcdir=$ac_top_builddir_sub
1733 ac_abs_top_srcdir=$ac_pwd ;;
1734 [\\/]* | ?:[\\/]* ) # Absolute name.
1735 ac_srcdir=$srcdir$ac_dir_suffix;
1736 ac_top_srcdir=$srcdir
1737 ac_abs_top_srcdir=$srcdir ;;
1738 *) # Relative name.
1739 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1740 ac_top_srcdir=$ac_top_build_prefix$srcdir
1741 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1742 esac
1743 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1745 cd "$ac_dir" || { ac_status=$?; continue; }
1746 # Check for guested configure.
1747 if test -f "$ac_srcdir/configure.gnu"; then
1748 echo &&
1749 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1750 elif test -f "$ac_srcdir/configure"; then
1751 echo &&
1752 $SHELL "$ac_srcdir/configure" --help=recursive
1753 else
1754 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1755 fi || ac_status=$?
1756 cd "$ac_pwd" || { ac_status=$?; break; }
1757 done
1760 test -n "$ac_init_help" && exit $ac_status
1761 if $ac_init_version; then
1762 cat <<\_ACEOF
1763 package-unused configure version-unused
1764 generated by GNU Autoconf 2.69
1766 Copyright (C) 2012 Free Software Foundation, Inc.
1767 This configure script is free software; the Free Software Foundation
1768 gives unlimited permission to copy, distribute and modify it.
1769 _ACEOF
1770 exit
1773 ## ------------------------ ##
1774 ## Autoconf initialization. ##
1775 ## ------------------------ ##
1777 # ac_fn_c_try_compile LINENO
1778 # --------------------------
1779 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1780 ac_fn_c_try_compile ()
1782 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1783 rm -f conftest.$ac_objext
1784 if { { ac_try="$ac_compile"
1785 case "(($ac_try" in
1786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1787 *) ac_try_echo=$ac_try;;
1788 esac
1789 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1790 $as_echo "$ac_try_echo"; } >&5
1791 (eval "$ac_compile") 2>conftest.err
1792 ac_status=$?
1793 if test -s conftest.err; then
1794 grep -v '^ *+' conftest.err >conftest.er1
1795 cat conftest.er1 >&5
1796 mv -f conftest.er1 conftest.err
1798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1799 test $ac_status = 0; } && {
1800 test -z "$ac_c_werror_flag" ||
1801 test ! -s conftest.err
1802 } && test -s conftest.$ac_objext; then :
1803 ac_retval=0
1804 else
1805 $as_echo "$as_me: failed program was:" >&5
1806 sed 's/^/| /' conftest.$ac_ext >&5
1808 ac_retval=1
1810 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1811 as_fn_set_status $ac_retval
1813 } # ac_fn_c_try_compile
1815 # ac_fn_cxx_try_compile LINENO
1816 # ----------------------------
1817 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1818 ac_fn_cxx_try_compile ()
1820 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1821 rm -f conftest.$ac_objext
1822 if { { ac_try="$ac_compile"
1823 case "(($ac_try" in
1824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1825 *) ac_try_echo=$ac_try;;
1826 esac
1827 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1828 $as_echo "$ac_try_echo"; } >&5
1829 (eval "$ac_compile") 2>conftest.err
1830 ac_status=$?
1831 if test -s conftest.err; then
1832 grep -v '^ *+' conftest.err >conftest.er1
1833 cat conftest.er1 >&5
1834 mv -f conftest.er1 conftest.err
1836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1837 test $ac_status = 0; } && {
1838 test -z "$ac_cxx_werror_flag" ||
1839 test ! -s conftest.err
1840 } && test -s conftest.$ac_objext; then :
1841 ac_retval=0
1842 else
1843 $as_echo "$as_me: failed program was:" >&5
1844 sed 's/^/| /' conftest.$ac_ext >&5
1846 ac_retval=1
1848 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1849 as_fn_set_status $ac_retval
1851 } # ac_fn_cxx_try_compile
1853 # ac_fn_c_try_cpp LINENO
1854 # ----------------------
1855 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1856 ac_fn_c_try_cpp ()
1858 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1859 if { { ac_try="$ac_cpp conftest.$ac_ext"
1860 case "(($ac_try" in
1861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1862 *) ac_try_echo=$ac_try;;
1863 esac
1864 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1865 $as_echo "$ac_try_echo"; } >&5
1866 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1867 ac_status=$?
1868 if test -s conftest.err; then
1869 grep -v '^ *+' conftest.err >conftest.er1
1870 cat conftest.er1 >&5
1871 mv -f conftest.er1 conftest.err
1873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1874 test $ac_status = 0; } > conftest.i && {
1875 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1876 test ! -s conftest.err
1877 }; then :
1878 ac_retval=0
1879 else
1880 $as_echo "$as_me: failed program was:" >&5
1881 sed 's/^/| /' conftest.$ac_ext >&5
1883 ac_retval=1
1885 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1886 as_fn_set_status $ac_retval
1888 } # ac_fn_c_try_cpp
1890 # ac_fn_c_try_link LINENO
1891 # -----------------------
1892 # Try to link conftest.$ac_ext, and return whether this succeeded.
1893 ac_fn_c_try_link ()
1895 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1896 rm -f conftest.$ac_objext conftest$ac_exeext
1897 if { { ac_try="$ac_link"
1898 case "(($ac_try" in
1899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1900 *) ac_try_echo=$ac_try;;
1901 esac
1902 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1903 $as_echo "$ac_try_echo"; } >&5
1904 (eval "$ac_link") 2>conftest.err
1905 ac_status=$?
1906 if test -s conftest.err; then
1907 grep -v '^ *+' conftest.err >conftest.er1
1908 cat conftest.er1 >&5
1909 mv -f conftest.er1 conftest.err
1911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1912 test $ac_status = 0; } && {
1913 test -z "$ac_c_werror_flag" ||
1914 test ! -s conftest.err
1915 } && test -s conftest$ac_exeext && {
1916 test "$cross_compiling" = yes ||
1917 test -x conftest$ac_exeext
1918 }; then :
1919 ac_retval=0
1920 else
1921 $as_echo "$as_me: failed program was:" >&5
1922 sed 's/^/| /' conftest.$ac_ext >&5
1924 ac_retval=1
1926 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1927 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1928 # interfere with the next link command; also delete a directory that is
1929 # left behind by Apple's compiler. We do this before executing the actions.
1930 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1931 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1932 as_fn_set_status $ac_retval
1934 } # ac_fn_c_try_link
1936 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1937 # -------------------------------------------------------
1938 # Tests whether HEADER exists and can be compiled using the include files in
1939 # INCLUDES, setting the cache variable VAR accordingly.
1940 ac_fn_c_check_header_compile ()
1942 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1944 $as_echo_n "checking for $2... " >&6; }
1945 if eval \${$3+:} false; then :
1946 $as_echo_n "(cached) " >&6
1947 else
1948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1949 /* end confdefs.h. */
1951 #include <$2>
1952 _ACEOF
1953 if ac_fn_c_try_compile "$LINENO"; then :
1954 eval "$3=yes"
1955 else
1956 eval "$3=no"
1958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1960 eval ac_res=\$$3
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1962 $as_echo "$ac_res" >&6; }
1963 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1965 } # ac_fn_c_check_header_compile
1967 # ac_fn_c_try_run LINENO
1968 # ----------------------
1969 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1970 # that executables *can* be run.
1971 ac_fn_c_try_run ()
1973 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1974 if { { ac_try="$ac_link"
1975 case "(($ac_try" in
1976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1977 *) ac_try_echo=$ac_try;;
1978 esac
1979 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1980 $as_echo "$ac_try_echo"; } >&5
1981 (eval "$ac_link") 2>&5
1982 ac_status=$?
1983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1984 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1985 { { case "(($ac_try" in
1986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1987 *) ac_try_echo=$ac_try;;
1988 esac
1989 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1990 $as_echo "$ac_try_echo"; } >&5
1991 (eval "$ac_try") 2>&5
1992 ac_status=$?
1993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1994 test $ac_status = 0; }; }; then :
1995 ac_retval=0
1996 else
1997 $as_echo "$as_me: program exited with status $ac_status" >&5
1998 $as_echo "$as_me: failed program was:" >&5
1999 sed 's/^/| /' conftest.$ac_ext >&5
2001 ac_retval=$ac_status
2003 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2004 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2005 as_fn_set_status $ac_retval
2007 } # ac_fn_c_try_run
2009 # ac_fn_c_check_func LINENO FUNC VAR
2010 # ----------------------------------
2011 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2012 ac_fn_c_check_func ()
2014 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2016 $as_echo_n "checking for $2... " >&6; }
2017 if eval \${$3+:} false; then :
2018 $as_echo_n "(cached) " >&6
2019 else
2020 if test x$gcc_no_link = xyes; then
2021 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2024 /* end confdefs.h. */
2025 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2027 #define $2 innocuous_$2
2029 /* System header to define __stub macros and hopefully few prototypes,
2030 which can conflict with char $2 (); below.
2031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2032 <limits.h> exists even on freestanding compilers. */
2034 #ifdef __STDC__
2035 # include <limits.h>
2036 #else
2037 # include <assert.h>
2038 #endif
2040 #undef $2
2042 /* Override any GCC internal prototype to avoid an error.
2043 Use char because int might match the return type of a GCC
2044 builtin and then its argument prototype would still apply. */
2045 #ifdef __cplusplus
2046 extern "C"
2047 #endif
2048 char $2 ();
2049 /* The GNU C library defines this for functions which it implements
2050 to always fail with ENOSYS. Some functions are actually named
2051 something starting with __ and the normal name is an alias. */
2052 #if defined __stub_$2 || defined __stub___$2
2053 choke me
2054 #endif
2057 main ()
2059 return $2 ();
2061 return 0;
2063 _ACEOF
2064 if ac_fn_c_try_link "$LINENO"; then :
2065 eval "$3=yes"
2066 else
2067 eval "$3=no"
2069 rm -f core conftest.err conftest.$ac_objext \
2070 conftest$ac_exeext conftest.$ac_ext
2072 eval ac_res=\$$3
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2074 $as_echo "$ac_res" >&6; }
2075 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2077 } # ac_fn_c_check_func
2079 # ac_fn_cxx_try_cpp LINENO
2080 # ------------------------
2081 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2082 ac_fn_cxx_try_cpp ()
2084 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2085 if { { ac_try="$ac_cpp conftest.$ac_ext"
2086 case "(($ac_try" in
2087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2088 *) ac_try_echo=$ac_try;;
2089 esac
2090 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2091 $as_echo "$ac_try_echo"; } >&5
2092 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2093 ac_status=$?
2094 if test -s conftest.err; then
2095 grep -v '^ *+' conftest.err >conftest.er1
2096 cat conftest.er1 >&5
2097 mv -f conftest.er1 conftest.err
2099 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2100 test $ac_status = 0; } > conftest.i && {
2101 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2102 test ! -s conftest.err
2103 }; then :
2104 ac_retval=0
2105 else
2106 $as_echo "$as_me: failed program was:" >&5
2107 sed 's/^/| /' conftest.$ac_ext >&5
2109 ac_retval=1
2111 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2112 as_fn_set_status $ac_retval
2114 } # ac_fn_cxx_try_cpp
2116 # ac_fn_cxx_try_link LINENO
2117 # -------------------------
2118 # Try to link conftest.$ac_ext, and return whether this succeeded.
2119 ac_fn_cxx_try_link ()
2121 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2122 rm -f conftest.$ac_objext conftest$ac_exeext
2123 if { { ac_try="$ac_link"
2124 case "(($ac_try" in
2125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2126 *) ac_try_echo=$ac_try;;
2127 esac
2128 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2129 $as_echo "$ac_try_echo"; } >&5
2130 (eval "$ac_link") 2>conftest.err
2131 ac_status=$?
2132 if test -s conftest.err; then
2133 grep -v '^ *+' conftest.err >conftest.er1
2134 cat conftest.er1 >&5
2135 mv -f conftest.er1 conftest.err
2137 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2138 test $ac_status = 0; } && {
2139 test -z "$ac_cxx_werror_flag" ||
2140 test ! -s conftest.err
2141 } && test -s conftest$ac_exeext && {
2142 test "$cross_compiling" = yes ||
2143 test -x conftest$ac_exeext
2144 }; then :
2145 ac_retval=0
2146 else
2147 $as_echo "$as_me: failed program was:" >&5
2148 sed 's/^/| /' conftest.$ac_ext >&5
2150 ac_retval=1
2152 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2153 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2154 # interfere with the next link command; also delete a directory that is
2155 # left behind by Apple's compiler. We do this before executing the actions.
2156 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2157 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2158 as_fn_set_status $ac_retval
2160 } # ac_fn_cxx_try_link
2162 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2163 # -------------------------------------------------------
2164 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2165 # the include files in INCLUDES and setting the cache variable VAR
2166 # accordingly.
2167 ac_fn_c_check_header_mongrel ()
2169 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2170 if eval \${$3+:} false; then :
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2172 $as_echo_n "checking for $2... " >&6; }
2173 if eval \${$3+:} false; then :
2174 $as_echo_n "(cached) " >&6
2176 eval ac_res=\$$3
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2178 $as_echo "$ac_res" >&6; }
2179 else
2180 # Is the header compilable?
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2182 $as_echo_n "checking $2 usability... " >&6; }
2183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2184 /* end confdefs.h. */
2186 #include <$2>
2187 _ACEOF
2188 if ac_fn_c_try_compile "$LINENO"; then :
2189 ac_header_compiler=yes
2190 else
2191 ac_header_compiler=no
2193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2195 $as_echo "$ac_header_compiler" >&6; }
2197 # Is the header present?
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2199 $as_echo_n "checking $2 presence... " >&6; }
2200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2201 /* end confdefs.h. */
2202 #include <$2>
2203 _ACEOF
2204 if ac_fn_c_try_cpp "$LINENO"; then :
2205 ac_header_preproc=yes
2206 else
2207 ac_header_preproc=no
2209 rm -f conftest.err conftest.i conftest.$ac_ext
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2211 $as_echo "$ac_header_preproc" >&6; }
2213 # So? What about this header?
2214 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2215 yes:no: )
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2217 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2219 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2221 no:yes:* )
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2223 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2225 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2227 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2229 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2231 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2233 esac
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2235 $as_echo_n "checking for $2... " >&6; }
2236 if eval \${$3+:} false; then :
2237 $as_echo_n "(cached) " >&6
2238 else
2239 eval "$3=\$ac_header_compiler"
2241 eval ac_res=\$$3
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2243 $as_echo "$ac_res" >&6; }
2245 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2247 } # ac_fn_c_check_header_mongrel
2249 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2250 # ---------------------------------------------------------
2251 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2252 # the include files in INCLUDES and setting the cache variable VAR
2253 # accordingly.
2254 ac_fn_cxx_check_header_mongrel ()
2256 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2257 if eval \${$3+:} false; then :
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2259 $as_echo_n "checking for $2... " >&6; }
2260 if eval \${$3+:} false; then :
2261 $as_echo_n "(cached) " >&6
2263 eval ac_res=\$$3
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2265 $as_echo "$ac_res" >&6; }
2266 else
2267 # Is the header compilable?
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2269 $as_echo_n "checking $2 usability... " >&6; }
2270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2271 /* end confdefs.h. */
2273 #include <$2>
2274 _ACEOF
2275 if ac_fn_cxx_try_compile "$LINENO"; then :
2276 ac_header_compiler=yes
2277 else
2278 ac_header_compiler=no
2280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2282 $as_echo "$ac_header_compiler" >&6; }
2284 # Is the header present?
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2286 $as_echo_n "checking $2 presence... " >&6; }
2287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2288 /* end confdefs.h. */
2289 #include <$2>
2290 _ACEOF
2291 if ac_fn_cxx_try_cpp "$LINENO"; then :
2292 ac_header_preproc=yes
2293 else
2294 ac_header_preproc=no
2296 rm -f conftest.err conftest.i conftest.$ac_ext
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2298 $as_echo "$ac_header_preproc" >&6; }
2300 # So? What about this header?
2301 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2302 yes:no: )
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2304 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2306 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2308 no:yes:* )
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2310 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2312 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2314 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2316 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2318 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2320 esac
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2322 $as_echo_n "checking for $2... " >&6; }
2323 if eval \${$3+:} false; then :
2324 $as_echo_n "(cached) " >&6
2325 else
2326 eval "$3=\$ac_header_compiler"
2328 eval ac_res=\$$3
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2330 $as_echo "$ac_res" >&6; }
2332 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2334 } # ac_fn_cxx_check_header_mongrel
2336 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2337 # --------------------------------------------
2338 # Tries to find the compile-time value of EXPR in a program that includes
2339 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2340 # computed
2341 ac_fn_c_compute_int ()
2343 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2344 if test "$cross_compiling" = yes; then
2345 # Depending upon the size, compute the lo and hi bounds.
2346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2347 /* end confdefs.h. */
2350 main ()
2352 static int test_array [1 - 2 * !(($2) >= 0)];
2353 test_array [0] = 0;
2354 return test_array [0];
2357 return 0;
2359 _ACEOF
2360 if ac_fn_c_try_compile "$LINENO"; then :
2361 ac_lo=0 ac_mid=0
2362 while :; do
2363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2364 /* end confdefs.h. */
2367 main ()
2369 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2370 test_array [0] = 0;
2371 return test_array [0];
2374 return 0;
2376 _ACEOF
2377 if ac_fn_c_try_compile "$LINENO"; then :
2378 ac_hi=$ac_mid; break
2379 else
2380 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2381 if test $ac_lo -le $ac_mid; then
2382 ac_lo= ac_hi=
2383 break
2385 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2388 done
2389 else
2390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2391 /* end confdefs.h. */
2394 main ()
2396 static int test_array [1 - 2 * !(($2) < 0)];
2397 test_array [0] = 0;
2398 return test_array [0];
2401 return 0;
2403 _ACEOF
2404 if ac_fn_c_try_compile "$LINENO"; then :
2405 ac_hi=-1 ac_mid=-1
2406 while :; do
2407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2408 /* end confdefs.h. */
2411 main ()
2413 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2414 test_array [0] = 0;
2415 return test_array [0];
2418 return 0;
2420 _ACEOF
2421 if ac_fn_c_try_compile "$LINENO"; then :
2422 ac_lo=$ac_mid; break
2423 else
2424 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2425 if test $ac_mid -le $ac_hi; then
2426 ac_lo= ac_hi=
2427 break
2429 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2432 done
2433 else
2434 ac_lo= ac_hi=
2436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2439 # Binary search between lo and hi bounds.
2440 while test "x$ac_lo" != "x$ac_hi"; do
2441 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2443 /* end confdefs.h. */
2446 main ()
2448 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2449 test_array [0] = 0;
2450 return test_array [0];
2453 return 0;
2455 _ACEOF
2456 if ac_fn_c_try_compile "$LINENO"; then :
2457 ac_hi=$ac_mid
2458 else
2459 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2462 done
2463 case $ac_lo in #((
2464 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2465 '') ac_retval=1 ;;
2466 esac
2467 else
2468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2469 /* end confdefs.h. */
2471 static long int longval () { return $2; }
2472 static unsigned long int ulongval () { return $2; }
2473 #include <stdio.h>
2474 #include <stdlib.h>
2476 main ()
2479 FILE *f = fopen ("conftest.val", "w");
2480 if (! f)
2481 return 1;
2482 if (($2) < 0)
2484 long int i = longval ();
2485 if (i != ($2))
2486 return 1;
2487 fprintf (f, "%ld", i);
2489 else
2491 unsigned long int i = ulongval ();
2492 if (i != ($2))
2493 return 1;
2494 fprintf (f, "%lu", i);
2496 /* Do not output a trailing newline, as this causes \r\n confusion
2497 on some platforms. */
2498 return ferror (f) || fclose (f) != 0;
2501 return 0;
2503 _ACEOF
2504 if ac_fn_c_try_run "$LINENO"; then :
2505 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2506 else
2507 ac_retval=1
2509 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2510 conftest.$ac_objext conftest.beam conftest.$ac_ext
2511 rm -f conftest.val
2514 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2515 as_fn_set_status $ac_retval
2517 } # ac_fn_c_compute_int
2519 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2520 # -------------------------------------------
2521 # Tests whether TYPE exists after having included INCLUDES, setting cache
2522 # variable VAR accordingly.
2523 ac_fn_c_check_type ()
2525 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2527 $as_echo_n "checking for $2... " >&6; }
2528 if eval \${$3+:} false; then :
2529 $as_echo_n "(cached) " >&6
2530 else
2531 eval "$3=no"
2532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2533 /* end confdefs.h. */
2536 main ()
2538 if (sizeof ($2))
2539 return 0;
2541 return 0;
2543 _ACEOF
2544 if ac_fn_c_try_compile "$LINENO"; then :
2545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2546 /* end confdefs.h. */
2549 main ()
2551 if (sizeof (($2)))
2552 return 0;
2554 return 0;
2556 _ACEOF
2557 if ac_fn_c_try_compile "$LINENO"; then :
2559 else
2560 eval "$3=yes"
2562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2566 eval ac_res=\$$3
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2568 $as_echo "$ac_res" >&6; }
2569 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2571 } # ac_fn_c_check_type
2573 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2574 # ---------------------------------------------
2575 # Tests whether TYPE exists after having included INCLUDES, setting cache
2576 # variable VAR accordingly.
2577 ac_fn_cxx_check_type ()
2579 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2581 $as_echo_n "checking for $2... " >&6; }
2582 if eval \${$3+:} false; then :
2583 $as_echo_n "(cached) " >&6
2584 else
2585 eval "$3=no"
2586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2587 /* end confdefs.h. */
2590 main ()
2592 if (sizeof ($2))
2593 return 0;
2595 return 0;
2597 _ACEOF
2598 if ac_fn_cxx_try_compile "$LINENO"; then :
2599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2600 /* end confdefs.h. */
2603 main ()
2605 if (sizeof (($2)))
2606 return 0;
2608 return 0;
2610 _ACEOF
2611 if ac_fn_cxx_try_compile "$LINENO"; then :
2613 else
2614 eval "$3=yes"
2616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2620 eval ac_res=\$$3
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2622 $as_echo "$ac_res" >&6; }
2623 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2625 } # ac_fn_cxx_check_type
2626 cat >config.log <<_ACEOF
2627 This file contains any messages produced by compilers while
2628 running configure, to aid debugging if configure makes a mistake.
2630 It was created by package-unused $as_me version-unused, which was
2631 generated by GNU Autoconf 2.69. Invocation command line was
2633 $ $0 $@
2635 _ACEOF
2636 exec 5>>config.log
2638 cat <<_ASUNAME
2639 ## --------- ##
2640 ## Platform. ##
2641 ## --------- ##
2643 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2644 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2645 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2646 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2647 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2649 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2650 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2652 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2653 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2654 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2655 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2656 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2657 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2658 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2660 _ASUNAME
2662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2663 for as_dir in $PATH
2665 IFS=$as_save_IFS
2666 test -z "$as_dir" && as_dir=.
2667 $as_echo "PATH: $as_dir"
2668 done
2669 IFS=$as_save_IFS
2671 } >&5
2673 cat >&5 <<_ACEOF
2676 ## ----------- ##
2677 ## Core tests. ##
2678 ## ----------- ##
2680 _ACEOF
2683 # Keep a trace of the command line.
2684 # Strip out --no-create and --no-recursion so they do not pile up.
2685 # Strip out --silent because we don't want to record it for future runs.
2686 # Also quote any args containing shell meta-characters.
2687 # Make two passes to allow for proper duplicate-argument suppression.
2688 ac_configure_args=
2689 ac_configure_args0=
2690 ac_configure_args1=
2691 ac_must_keep_next=false
2692 for ac_pass in 1 2
2694 for ac_arg
2696 case $ac_arg in
2697 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2698 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2699 | -silent | --silent | --silen | --sile | --sil)
2700 continue ;;
2701 *\'*)
2702 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2703 esac
2704 case $ac_pass in
2705 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2707 as_fn_append ac_configure_args1 " '$ac_arg'"
2708 if test $ac_must_keep_next = true; then
2709 ac_must_keep_next=false # Got value, back to normal.
2710 else
2711 case $ac_arg in
2712 *=* | --config-cache | -C | -disable-* | --disable-* \
2713 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2714 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2715 | -with-* | --with-* | -without-* | --without-* | --x)
2716 case "$ac_configure_args0 " in
2717 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2718 esac
2720 -* ) ac_must_keep_next=true ;;
2721 esac
2723 as_fn_append ac_configure_args " '$ac_arg'"
2725 esac
2726 done
2727 done
2728 { ac_configure_args0=; unset ac_configure_args0;}
2729 { ac_configure_args1=; unset ac_configure_args1;}
2731 # When interrupted or exit'd, cleanup temporary files, and complete
2732 # config.log. We remove comments because anyway the quotes in there
2733 # would cause problems or look ugly.
2734 # WARNING: Use '\'' to represent an apostrophe within the trap.
2735 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2736 trap 'exit_status=$?
2737 # Save into config.log some information that might help in debugging.
2739 echo
2741 $as_echo "## ---------------- ##
2742 ## Cache variables. ##
2743 ## ---------------- ##"
2744 echo
2745 # The following way of writing the cache mishandles newlines in values,
2747 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2748 eval ac_val=\$$ac_var
2749 case $ac_val in #(
2750 *${as_nl}*)
2751 case $ac_var in #(
2752 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2753 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2754 esac
2755 case $ac_var in #(
2756 _ | IFS | as_nl) ;; #(
2757 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2758 *) { eval $ac_var=; unset $ac_var;} ;;
2759 esac ;;
2760 esac
2761 done
2762 (set) 2>&1 |
2763 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2764 *${as_nl}ac_space=\ *)
2765 sed -n \
2766 "s/'\''/'\''\\\\'\'''\''/g;
2767 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2768 ;; #(
2770 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2772 esac |
2773 sort
2775 echo
2777 $as_echo "## ----------------- ##
2778 ## Output variables. ##
2779 ## ----------------- ##"
2780 echo
2781 for ac_var in $ac_subst_vars
2783 eval ac_val=\$$ac_var
2784 case $ac_val in
2785 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2786 esac
2787 $as_echo "$ac_var='\''$ac_val'\''"
2788 done | sort
2789 echo
2791 if test -n "$ac_subst_files"; then
2792 $as_echo "## ------------------- ##
2793 ## File substitutions. ##
2794 ## ------------------- ##"
2795 echo
2796 for ac_var in $ac_subst_files
2798 eval ac_val=\$$ac_var
2799 case $ac_val in
2800 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2801 esac
2802 $as_echo "$ac_var='\''$ac_val'\''"
2803 done | sort
2804 echo
2807 if test -s confdefs.h; then
2808 $as_echo "## ----------- ##
2809 ## confdefs.h. ##
2810 ## ----------- ##"
2811 echo
2812 cat confdefs.h
2813 echo
2815 test "$ac_signal" != 0 &&
2816 $as_echo "$as_me: caught signal $ac_signal"
2817 $as_echo "$as_me: exit $exit_status"
2818 } >&5
2819 rm -f core *.core core.conftest.* &&
2820 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2821 exit $exit_status
2823 for ac_signal in 1 2 13 15; do
2824 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2825 done
2826 ac_signal=0
2828 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2829 rm -f -r conftest* confdefs.h
2831 $as_echo "/* confdefs.h */" > confdefs.h
2833 # Predefined preprocessor variables.
2835 cat >>confdefs.h <<_ACEOF
2836 #define PACKAGE_NAME "$PACKAGE_NAME"
2837 _ACEOF
2839 cat >>confdefs.h <<_ACEOF
2840 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2841 _ACEOF
2843 cat >>confdefs.h <<_ACEOF
2844 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2845 _ACEOF
2847 cat >>confdefs.h <<_ACEOF
2848 #define PACKAGE_STRING "$PACKAGE_STRING"
2849 _ACEOF
2851 cat >>confdefs.h <<_ACEOF
2852 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2853 _ACEOF
2855 cat >>confdefs.h <<_ACEOF
2856 #define PACKAGE_URL "$PACKAGE_URL"
2857 _ACEOF
2860 # Let the site file select an alternate cache file if it wants to.
2861 # Prefer an explicitly selected file to automatically selected ones.
2862 ac_site_file1=NONE
2863 ac_site_file2=NONE
2864 if test -n "$CONFIG_SITE"; then
2865 # We do not want a PATH search for config.site.
2866 case $CONFIG_SITE in #((
2867 -*) ac_site_file1=./$CONFIG_SITE;;
2868 */*) ac_site_file1=$CONFIG_SITE;;
2869 *) ac_site_file1=./$CONFIG_SITE;;
2870 esac
2871 elif test "x$prefix" != xNONE; then
2872 ac_site_file1=$prefix/share/config.site
2873 ac_site_file2=$prefix/etc/config.site
2874 else
2875 ac_site_file1=$ac_default_prefix/share/config.site
2876 ac_site_file2=$ac_default_prefix/etc/config.site
2878 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2880 test "x$ac_site_file" = xNONE && continue
2881 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2883 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2884 sed 's/^/| /' "$ac_site_file" >&5
2885 . "$ac_site_file" \
2886 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2887 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2888 as_fn_error $? "failed to load site script $ac_site_file
2889 See \`config.log' for more details" "$LINENO" 5; }
2891 done
2893 if test -r "$cache_file"; then
2894 # Some versions of bash will fail to source /dev/null (special files
2895 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2896 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2898 $as_echo "$as_me: loading cache $cache_file" >&6;}
2899 case $cache_file in
2900 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2901 *) . "./$cache_file";;
2902 esac
2904 else
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2906 $as_echo "$as_me: creating cache $cache_file" >&6;}
2907 >$cache_file
2910 # Check that the precious variables saved in the cache have kept the same
2911 # value.
2912 ac_cache_corrupted=false
2913 for ac_var in $ac_precious_vars; do
2914 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2915 eval ac_new_set=\$ac_env_${ac_var}_set
2916 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2917 eval ac_new_val=\$ac_env_${ac_var}_value
2918 case $ac_old_set,$ac_new_set in
2919 set,)
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2921 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2922 ac_cache_corrupted=: ;;
2923 ,set)
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2925 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2926 ac_cache_corrupted=: ;;
2927 ,);;
2929 if test "x$ac_old_val" != "x$ac_new_val"; then
2930 # differences in whitespace do not lead to failure.
2931 ac_old_val_w=`echo x $ac_old_val`
2932 ac_new_val_w=`echo x $ac_new_val`
2933 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2935 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2936 ac_cache_corrupted=:
2937 else
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2939 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2940 eval $ac_var=\$ac_old_val
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2943 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2945 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2946 fi;;
2947 esac
2948 # Pass precious variables to config.status.
2949 if test "$ac_new_set" = set; then
2950 case $ac_new_val in
2951 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2952 *) ac_arg=$ac_var=$ac_new_val ;;
2953 esac
2954 case " $ac_configure_args " in
2955 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2956 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2957 esac
2959 done
2960 if $ac_cache_corrupted; then
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2962 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2964 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2965 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2967 ## -------------------- ##
2968 ## Main body of script. ##
2969 ## -------------------- ##
2971 ac_ext=c
2972 ac_cpp='$CPP $CPPFLAGS'
2973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2982 ac_config_headers="$ac_config_headers config.h"
2985 # This works around the fact that libtool configuration may change LD
2986 # for this particular configuration, but some shells, instead of
2987 # keeping the changes in LD private, export them just because LD is
2988 # exported. Only used at the end of this file.
2989 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2991 # Find the rest of the source tree framework.
2992 # Default to --enable-multilib
2993 # Check whether --enable-multilib was given.
2994 if test "${enable_multilib+set}" = set; then :
2995 enableval=$enable_multilib; case "$enableval" in
2996 yes) multilib=yes ;;
2997 no) multilib=no ;;
2998 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
2999 esac
3000 else
3001 multilib=yes
3005 # We may get other options which we leave undocumented:
3006 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3007 # See config-ml.in if you want the gory details.
3009 if test "$srcdir" = "."; then
3010 if test "$with_target_subdir" != "."; then
3011 multi_basedir="$srcdir/$with_multisrctop../.."
3012 else
3013 multi_basedir="$srcdir/$with_multisrctop.."
3015 else
3016 multi_basedir="$srcdir/.."
3020 # Even if the default multilib is not a cross compilation,
3021 # it may be that some of the other multilibs are.
3022 if test $cross_compiling = no && test $multilib = yes \
3023 && test "x${with_multisubdir}" != x ; then
3024 cross_compiling=maybe
3027 ac_config_commands="$ac_config_commands default-1"
3030 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
3032 # You will slowly go insane if you do not grok the following fact: when
3033 # building v3 as part of the compiler, the top-level /target/ becomes the
3034 # library's /host/. configure then causes --target to default to --host,
3035 # exactly like any other package using autoconf. Therefore, 'target' and
3036 # 'host' will always be the same. This makes sense both for native and
3037 # cross compilers, just think about it for a little while. :-)
3039 # Also, if v3 is being configured as part of a cross compiler, the top-level
3040 # configure script will pass the "real" host as $with_cross_host.
3042 # Do not delete or change the following two lines. For why, see
3043 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
3044 ac_aux_dir=
3045 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3046 if test -f "$ac_dir/install-sh"; then
3047 ac_aux_dir=$ac_dir
3048 ac_install_sh="$ac_aux_dir/install-sh -c"
3049 break
3050 elif test -f "$ac_dir/install.sh"; then
3051 ac_aux_dir=$ac_dir
3052 ac_install_sh="$ac_aux_dir/install.sh -c"
3053 break
3054 elif test -f "$ac_dir/shtool"; then
3055 ac_aux_dir=$ac_dir
3056 ac_install_sh="$ac_aux_dir/shtool install -c"
3057 break
3059 done
3060 if test -z "$ac_aux_dir"; then
3061 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3064 # These three variables are undocumented and unsupported,
3065 # and are intended to be withdrawn in a future Autoconf release.
3066 # They can cause serious problems if a builder's source tree is in a directory
3067 # whose full name contains unusual characters.
3068 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3069 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3070 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3073 # Make sure we can run config.sub.
3074 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3075 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3078 $as_echo_n "checking build system type... " >&6; }
3079 if ${ac_cv_build+:} false; then :
3080 $as_echo_n "(cached) " >&6
3081 else
3082 ac_build_alias=$build_alias
3083 test "x$ac_build_alias" = x &&
3084 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3085 test "x$ac_build_alias" = x &&
3086 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3087 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3088 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3092 $as_echo "$ac_cv_build" >&6; }
3093 case $ac_cv_build in
3094 *-*-*) ;;
3095 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3096 esac
3097 build=$ac_cv_build
3098 ac_save_IFS=$IFS; IFS='-'
3099 set x $ac_cv_build
3100 shift
3101 build_cpu=$1
3102 build_vendor=$2
3103 shift; shift
3104 # Remember, the first character of IFS is used to create $*,
3105 # except with old shells:
3106 build_os=$*
3107 IFS=$ac_save_IFS
3108 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3112 $as_echo_n "checking host system type... " >&6; }
3113 if ${ac_cv_host+:} false; then :
3114 $as_echo_n "(cached) " >&6
3115 else
3116 if test "x$host_alias" = x; then
3117 ac_cv_host=$ac_cv_build
3118 else
3119 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3120 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3125 $as_echo "$ac_cv_host" >&6; }
3126 case $ac_cv_host in
3127 *-*-*) ;;
3128 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3129 esac
3130 host=$ac_cv_host
3131 ac_save_IFS=$IFS; IFS='-'
3132 set x $ac_cv_host
3133 shift
3134 host_cpu=$1
3135 host_vendor=$2
3136 shift; shift
3137 # Remember, the first character of IFS is used to create $*,
3138 # except with old shells:
3139 host_os=$*
3140 IFS=$ac_save_IFS
3141 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3145 $as_echo_n "checking target system type... " >&6; }
3146 if ${ac_cv_target+:} false; then :
3147 $as_echo_n "(cached) " >&6
3148 else
3149 if test "x$target_alias" = x; then
3150 ac_cv_target=$ac_cv_host
3151 else
3152 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3153 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3158 $as_echo "$ac_cv_target" >&6; }
3159 case $ac_cv_target in
3160 *-*-*) ;;
3161 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
3162 esac
3163 target=$ac_cv_target
3164 ac_save_IFS=$IFS; IFS='-'
3165 set x $ac_cv_target
3166 shift
3167 target_cpu=$1
3168 target_vendor=$2
3169 shift; shift
3170 # Remember, the first character of IFS is used to create $*,
3171 # except with old shells:
3172 target_os=$*
3173 IFS=$ac_save_IFS
3174 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3177 # The aliases save the names the user supplied, while $host etc.
3178 # will get canonicalized.
3179 test -n "$target_alias" &&
3180 test "$program_prefix$program_suffix$program_transform_name" = \
3181 NONENONEs,x,x, &&
3182 program_prefix=${target_alias}-
3184 target_alias=${target_alias-$host_alias}
3186 # Handy for debugging:
3187 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3189 if test "$build" != "$host"; then
3190 # We are being configured with some form of cross compiler.
3191 GLIBCXX_IS_NATIVE=false
3192 case "$host","$target" in
3193 # Darwin crosses can use the host system's libraries and headers,
3194 # because of the fat library support. Of course, it must be the
3195 # same version of Darwin on both sides. Allow the user to
3196 # just say --target=foo-darwin without a version number to mean
3197 # "the version on this system".
3198 *-*-darwin*,*-*-darwin*)
3199 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3200 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3201 if test $hostos = $targetos -o $targetos = darwin ; then
3202 GLIBCXX_IS_NATIVE=true
3209 esac
3210 else
3211 GLIBCXX_IS_NATIVE=true
3214 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3215 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3216 # 1.x: minimum required version
3217 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3218 # of other PACKAGE_* variables will, however, and there's nothing
3219 # we can do about that; they come from AC_INIT).
3220 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3221 # file in the top srcdir, etc, etc), so stop complaining.
3222 # no-dependencies: turns off auto dependency generation (just for now)
3223 # no-dist: we don't want 'dist' and related rules.
3224 # -Wall: turns on all automake warnings...
3225 # -Wno-portability: ...except this one, since GNU make is now required.
3226 am__api_version='1.15'
3228 # Find a good install program. We prefer a C program (faster),
3229 # so one script is as good as another. But avoid the broken or
3230 # incompatible versions:
3231 # SysV /etc/install, /usr/sbin/install
3232 # SunOS /usr/etc/install
3233 # IRIX /sbin/install
3234 # AIX /bin/install
3235 # AmigaOS /C/install, which installs bootblocks on floppy discs
3236 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3237 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3238 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3239 # OS/2's system install, which has a completely different semantic
3240 # ./install, which can be erroneously created by make from ./install.sh.
3241 # Reject install programs that cannot install multiple files.
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3243 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3244 if test -z "$INSTALL"; then
3245 if ${ac_cv_path_install+:} false; then :
3246 $as_echo_n "(cached) " >&6
3247 else
3248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3249 for as_dir in $PATH
3251 IFS=$as_save_IFS
3252 test -z "$as_dir" && as_dir=.
3253 # Account for people who put trailing slashes in PATH elements.
3254 case $as_dir/ in #((
3255 ./ | .// | /[cC]/* | \
3256 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3257 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3258 /usr/ucb/* ) ;;
3260 # OSF1 and SCO ODT 3.0 have their own names for install.
3261 # Don't use installbsd from OSF since it installs stuff as root
3262 # by default.
3263 for ac_prog in ginstall scoinst install; do
3264 for ac_exec_ext in '' $ac_executable_extensions; do
3265 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3266 if test $ac_prog = install &&
3267 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3268 # AIX install. It has an incompatible calling convention.
3270 elif test $ac_prog = install &&
3271 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3272 # program-specific install script used by HP pwplus--don't use.
3274 else
3275 rm -rf conftest.one conftest.two conftest.dir
3276 echo one > conftest.one
3277 echo two > conftest.two
3278 mkdir conftest.dir
3279 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3280 test -s conftest.one && test -s conftest.two &&
3281 test -s conftest.dir/conftest.one &&
3282 test -s conftest.dir/conftest.two
3283 then
3284 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3285 break 3
3289 done
3290 done
3292 esac
3294 done
3295 IFS=$as_save_IFS
3297 rm -rf conftest.one conftest.two conftest.dir
3300 if test "${ac_cv_path_install+set}" = set; then
3301 INSTALL=$ac_cv_path_install
3302 else
3303 # As a last resort, use the slow shell script. Don't cache a
3304 # value for INSTALL within a source directory, because that will
3305 # break other packages using the cache if that directory is
3306 # removed, or if the value is a relative name.
3307 INSTALL=$ac_install_sh
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3311 $as_echo "$INSTALL" >&6; }
3313 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3314 # It thinks the first close brace ends the variable substitution.
3315 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3317 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3319 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3322 $as_echo_n "checking whether build environment is sane... " >&6; }
3323 # Reject unsafe characters in $srcdir or the absolute working directory
3324 # name. Accept space and tab only in the latter.
3325 am_lf='
3327 case `pwd` in
3328 *[\\\"\#\$\&\'\`$am_lf]*)
3329 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3330 esac
3331 case $srcdir in
3332 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3333 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3334 esac
3336 # Do 'set' in a subshell so we don't clobber the current shell's
3337 # arguments. Must try -L first in case configure is actually a
3338 # symlink; some systems play weird games with the mod time of symlinks
3339 # (eg FreeBSD returns the mod time of the symlink's containing
3340 # directory).
3341 if (
3342 am_has_slept=no
3343 for am_try in 1 2; do
3344 echo "timestamp, slept: $am_has_slept" > conftest.file
3345 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3346 if test "$*" = "X"; then
3347 # -L didn't work.
3348 set X `ls -t "$srcdir/configure" conftest.file`
3350 if test "$*" != "X $srcdir/configure conftest.file" \
3351 && test "$*" != "X conftest.file $srcdir/configure"; then
3353 # If neither matched, then we have a broken ls. This can happen
3354 # if, for instance, CONFIG_SHELL is bash and it inherits a
3355 # broken ls alias from the environment. This has actually
3356 # happened. Such a system could not be considered "sane".
3357 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3358 alias in your environment" "$LINENO" 5
3360 if test "$2" = conftest.file || test $am_try -eq 2; then
3361 break
3363 # Just in case.
3364 sleep 1
3365 am_has_slept=yes
3366 done
3367 test "$2" = conftest.file
3369 then
3370 # Ok.
3372 else
3373 as_fn_error $? "newly created file is older than distributed files!
3374 Check your system clock" "$LINENO" 5
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3377 $as_echo "yes" >&6; }
3378 # If we didn't sleep, we still need to ensure time stamps of config.status and
3379 # generated files are strictly newer.
3380 am_sleep_pid=
3381 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3382 ( sleep 1 ) &
3383 am_sleep_pid=$!
3386 rm -f conftest.file
3388 test "$program_prefix" != NONE &&
3389 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3390 # Use a double $ so make ignores it.
3391 test "$program_suffix" != NONE &&
3392 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3393 # Double any \ or $.
3394 # By default was `s,x,x', remove it if useless.
3395 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3396 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3398 # Expand $ac_aux_dir to an absolute path.
3399 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3401 if test x"${MISSING+set}" != xset; then
3402 case $am_aux_dir in
3403 *\ * | *\ *)
3404 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3406 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3407 esac
3409 # Use eval to expand $SHELL
3410 if eval "$MISSING --is-lightweight"; then
3411 am_missing_run="$MISSING "
3412 else
3413 am_missing_run=
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3415 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3418 if test x"${install_sh+set}" != xset; then
3419 case $am_aux_dir in
3420 *\ * | *\ *)
3421 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3423 install_sh="\${SHELL} $am_aux_dir/install-sh"
3424 esac
3427 # Installed binaries are usually stripped using 'strip' when the user
3428 # run "make install-strip". However 'strip' might not be the right
3429 # tool to use in cross-compilation environments, therefore Automake
3430 # will honor the 'STRIP' environment variable to overrule this program.
3431 if test "$cross_compiling" != no; then
3432 if test -n "$ac_tool_prefix"; then
3433 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3434 set dummy ${ac_tool_prefix}strip; ac_word=$2
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3436 $as_echo_n "checking for $ac_word... " >&6; }
3437 if ${ac_cv_prog_STRIP+:} false; then :
3438 $as_echo_n "(cached) " >&6
3439 else
3440 if test -n "$STRIP"; then
3441 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3442 else
3443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3444 for as_dir in $PATH
3446 IFS=$as_save_IFS
3447 test -z "$as_dir" && as_dir=.
3448 for ac_exec_ext in '' $ac_executable_extensions; do
3449 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3450 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3452 break 2
3454 done
3455 done
3456 IFS=$as_save_IFS
3460 STRIP=$ac_cv_prog_STRIP
3461 if test -n "$STRIP"; then
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3463 $as_echo "$STRIP" >&6; }
3464 else
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3466 $as_echo "no" >&6; }
3471 if test -z "$ac_cv_prog_STRIP"; then
3472 ac_ct_STRIP=$STRIP
3473 # Extract the first word of "strip", so it can be a program name with args.
3474 set dummy strip; ac_word=$2
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3476 $as_echo_n "checking for $ac_word... " >&6; }
3477 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3478 $as_echo_n "(cached) " >&6
3479 else
3480 if test -n "$ac_ct_STRIP"; then
3481 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3482 else
3483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3484 for as_dir in $PATH
3486 IFS=$as_save_IFS
3487 test -z "$as_dir" && as_dir=.
3488 for ac_exec_ext in '' $ac_executable_extensions; do
3489 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3490 ac_cv_prog_ac_ct_STRIP="strip"
3491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3492 break 2
3494 done
3495 done
3496 IFS=$as_save_IFS
3500 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3501 if test -n "$ac_ct_STRIP"; then
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3503 $as_echo "$ac_ct_STRIP" >&6; }
3504 else
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3506 $as_echo "no" >&6; }
3509 if test "x$ac_ct_STRIP" = x; then
3510 STRIP=":"
3511 else
3512 case $cross_compiling:$ac_tool_warned in
3513 yes:)
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3515 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3516 ac_tool_warned=yes ;;
3517 esac
3518 STRIP=$ac_ct_STRIP
3520 else
3521 STRIP="$ac_cv_prog_STRIP"
3525 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3528 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3529 if test -z "$MKDIR_P"; then
3530 if ${ac_cv_path_mkdir+:} false; then :
3531 $as_echo_n "(cached) " >&6
3532 else
3533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3534 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3536 IFS=$as_save_IFS
3537 test -z "$as_dir" && as_dir=.
3538 for ac_prog in mkdir gmkdir; do
3539 for ac_exec_ext in '' $ac_executable_extensions; do
3540 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3541 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3542 'mkdir (GNU coreutils) '* | \
3543 'mkdir (coreutils) '* | \
3544 'mkdir (fileutils) '4.1*)
3545 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3546 break 3;;
3547 esac
3548 done
3549 done
3550 done
3551 IFS=$as_save_IFS
3555 test -d ./--version && rmdir ./--version
3556 if test "${ac_cv_path_mkdir+set}" = set; then
3557 MKDIR_P="$ac_cv_path_mkdir -p"
3558 else
3559 # As a last resort, use the slow shell script. Don't cache a
3560 # value for MKDIR_P within a source directory, because that will
3561 # break other packages using the cache if that directory is
3562 # removed, or if the value is a relative name.
3563 MKDIR_P="$ac_install_sh -d"
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3567 $as_echo "$MKDIR_P" >&6; }
3569 for ac_prog in gawk mawk nawk awk
3571 # Extract the first word of "$ac_prog", so it can be a program name with args.
3572 set dummy $ac_prog; ac_word=$2
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3574 $as_echo_n "checking for $ac_word... " >&6; }
3575 if ${ac_cv_prog_AWK+:} false; then :
3576 $as_echo_n "(cached) " >&6
3577 else
3578 if test -n "$AWK"; then
3579 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3580 else
3581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3582 for as_dir in $PATH
3584 IFS=$as_save_IFS
3585 test -z "$as_dir" && as_dir=.
3586 for ac_exec_ext in '' $ac_executable_extensions; do
3587 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3588 ac_cv_prog_AWK="$ac_prog"
3589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3590 break 2
3592 done
3593 done
3594 IFS=$as_save_IFS
3598 AWK=$ac_cv_prog_AWK
3599 if test -n "$AWK"; then
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3601 $as_echo "$AWK" >&6; }
3602 else
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3604 $as_echo "no" >&6; }
3608 test -n "$AWK" && break
3609 done
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3612 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3613 set x ${MAKE-make}
3614 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3615 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3616 $as_echo_n "(cached) " >&6
3617 else
3618 cat >conftest.make <<\_ACEOF
3619 SHELL = /bin/sh
3620 all:
3621 @echo '@@@%%%=$(MAKE)=@@@%%%'
3622 _ACEOF
3623 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3624 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3625 *@@@%%%=?*=@@@%%%*)
3626 eval ac_cv_prog_make_${ac_make}_set=yes;;
3628 eval ac_cv_prog_make_${ac_make}_set=no;;
3629 esac
3630 rm -f conftest.make
3632 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3634 $as_echo "yes" >&6; }
3635 SET_MAKE=
3636 else
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3638 $as_echo "no" >&6; }
3639 SET_MAKE="MAKE=${MAKE-make}"
3642 rm -rf .tst 2>/dev/null
3643 mkdir .tst 2>/dev/null
3644 if test -d .tst; then
3645 am__leading_dot=.
3646 else
3647 am__leading_dot=_
3649 rmdir .tst 2>/dev/null
3651 # Check whether --enable-silent-rules was given.
3652 if test "${enable_silent_rules+set}" = set; then :
3653 enableval=$enable_silent_rules;
3656 case $enable_silent_rules in # (((
3657 yes) AM_DEFAULT_VERBOSITY=0;;
3658 no) AM_DEFAULT_VERBOSITY=1;;
3659 *) AM_DEFAULT_VERBOSITY=1;;
3660 esac
3661 am_make=${MAKE-make}
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3663 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3664 if ${am_cv_make_support_nested_variables+:} false; then :
3665 $as_echo_n "(cached) " >&6
3666 else
3667 if $as_echo 'TRUE=$(BAR$(V))
3668 BAR0=false
3669 BAR1=true
3671 am__doit:
3672 @$(TRUE)
3673 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3674 am_cv_make_support_nested_variables=yes
3675 else
3676 am_cv_make_support_nested_variables=no
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3680 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3681 if test $am_cv_make_support_nested_variables = yes; then
3682 AM_V='$(V)'
3683 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3684 else
3685 AM_V=$AM_DEFAULT_VERBOSITY
3686 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3688 AM_BACKSLASH='\'
3690 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3691 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3692 # is not polluted with repeated "-I."
3693 am__isrc=' -I$(srcdir)'
3694 # test to see if srcdir already configured
3695 if test -f $srcdir/config.status; then
3696 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3700 # test whether we have cygpath
3701 if test -z "$CYGPATH_W"; then
3702 if (cygpath --version) >/dev/null 2>/dev/null; then
3703 CYGPATH_W='cygpath -w'
3704 else
3705 CYGPATH_W=echo
3710 # Define the identity of the package.
3711 PACKAGE='libstdc++'
3712 VERSION='version-unused'
3715 # Some tools Automake needs.
3717 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3720 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3723 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3726 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3729 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3731 # For better backward compatibility. To be removed once Automake 1.9.x
3732 # dies out for good. For more background, see:
3733 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3734 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3735 mkdir_p='$(MKDIR_P)'
3737 # We need awk for the "check" target (and possibly the TAP driver). The
3738 # system "awk" is bad on some platforms.
3739 # Always define AMTAR for backward compatibility. Yes, it's still used
3740 # in the wild :-( We should find a proper way to deprecate it ...
3741 AMTAR='$${TAR-tar}'
3744 # We'll loop over all known methods to create a tar archive until one works.
3745 _am_tools='gnutar pax cpio none'
3747 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3754 # POSIX will say in a future version that running "rm -f" with no argument
3755 # is OK; and we want to be able to make that assumption in our Makefile
3756 # recipes. So use an aggressive probe to check that the usage we want is
3757 # actually supported "in the wild" to an acceptable degree.
3758 # See automake bug#10828.
3759 # To make any issue more visible, cause the running configure to be aborted
3760 # by default if the 'rm' program in use doesn't match our expectations; the
3761 # user can still override this though.
3762 if rm -f && rm -fr && rm -rf; then : OK; else
3763 cat >&2 <<'END'
3764 Oops!
3766 Your 'rm' program seems unable to run without file operands specified
3767 on the command line, even when the '-f' option is present. This is contrary
3768 to the behaviour of most rm programs out there, and not conforming with
3769 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3771 Please tell bug-automake@gnu.org about your system, including the value
3772 of your $PATH and any error possibly output before this message. This
3773 can help us improve future automake versions.
3776 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3777 echo 'Configuration will proceed anyway, since you have set the' >&2
3778 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3779 echo >&2
3780 else
3781 cat >&2 <<'END'
3782 Aborting the configuration process, to ensure you take notice of the issue.
3784 You can download and install GNU coreutils to get an 'rm' implementation
3785 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3787 If you want to complete the configuration process using your problematic
3788 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3789 to "yes", and re-run configure.
3792 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3799 # -fno-builtin must be present here so that a non-conflicting form of
3800 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3802 save_CXXFLAGS="$CXXFLAGS"
3803 CXXFLAGS="$CXXFLAGS -fno-builtin"
3804 ac_ext=c
3805 ac_cpp='$CPP $CPPFLAGS'
3806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3809 if test -n "$ac_tool_prefix"; then
3810 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3811 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3813 $as_echo_n "checking for $ac_word... " >&6; }
3814 if ${ac_cv_prog_CC+:} false; then :
3815 $as_echo_n "(cached) " >&6
3816 else
3817 if test -n "$CC"; then
3818 ac_cv_prog_CC="$CC" # Let the user override the test.
3819 else
3820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3821 for as_dir in $PATH
3823 IFS=$as_save_IFS
3824 test -z "$as_dir" && as_dir=.
3825 for ac_exec_ext in '' $ac_executable_extensions; do
3826 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3827 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3829 break 2
3831 done
3832 done
3833 IFS=$as_save_IFS
3837 CC=$ac_cv_prog_CC
3838 if test -n "$CC"; then
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3840 $as_echo "$CC" >&6; }
3841 else
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3843 $as_echo "no" >&6; }
3848 if test -z "$ac_cv_prog_CC"; then
3849 ac_ct_CC=$CC
3850 # Extract the first word of "gcc", so it can be a program name with args.
3851 set dummy gcc; ac_word=$2
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3853 $as_echo_n "checking for $ac_word... " >&6; }
3854 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3855 $as_echo_n "(cached) " >&6
3856 else
3857 if test -n "$ac_ct_CC"; then
3858 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3859 else
3860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3861 for as_dir in $PATH
3863 IFS=$as_save_IFS
3864 test -z "$as_dir" && as_dir=.
3865 for ac_exec_ext in '' $ac_executable_extensions; do
3866 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3867 ac_cv_prog_ac_ct_CC="gcc"
3868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3869 break 2
3871 done
3872 done
3873 IFS=$as_save_IFS
3877 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3878 if test -n "$ac_ct_CC"; then
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3880 $as_echo "$ac_ct_CC" >&6; }
3881 else
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3883 $as_echo "no" >&6; }
3886 if test "x$ac_ct_CC" = x; then
3887 CC=""
3888 else
3889 case $cross_compiling:$ac_tool_warned in
3890 yes:)
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3892 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3893 ac_tool_warned=yes ;;
3894 esac
3895 CC=$ac_ct_CC
3897 else
3898 CC="$ac_cv_prog_CC"
3901 if test -z "$CC"; then
3902 if test -n "$ac_tool_prefix"; then
3903 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3904 set dummy ${ac_tool_prefix}cc; ac_word=$2
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3906 $as_echo_n "checking for $ac_word... " >&6; }
3907 if ${ac_cv_prog_CC+:} false; then :
3908 $as_echo_n "(cached) " >&6
3909 else
3910 if test -n "$CC"; then
3911 ac_cv_prog_CC="$CC" # Let the user override the test.
3912 else
3913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3914 for as_dir in $PATH
3916 IFS=$as_save_IFS
3917 test -z "$as_dir" && as_dir=.
3918 for ac_exec_ext in '' $ac_executable_extensions; do
3919 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3920 ac_cv_prog_CC="${ac_tool_prefix}cc"
3921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3922 break 2
3924 done
3925 done
3926 IFS=$as_save_IFS
3930 CC=$ac_cv_prog_CC
3931 if test -n "$CC"; then
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3933 $as_echo "$CC" >&6; }
3934 else
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3936 $as_echo "no" >&6; }
3942 if test -z "$CC"; then
3943 # Extract the first word of "cc", so it can be a program name with args.
3944 set dummy cc; ac_word=$2
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3946 $as_echo_n "checking for $ac_word... " >&6; }
3947 if ${ac_cv_prog_CC+:} false; then :
3948 $as_echo_n "(cached) " >&6
3949 else
3950 if test -n "$CC"; then
3951 ac_cv_prog_CC="$CC" # Let the user override the test.
3952 else
3953 ac_prog_rejected=no
3954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3955 for as_dir in $PATH
3957 IFS=$as_save_IFS
3958 test -z "$as_dir" && as_dir=.
3959 for ac_exec_ext in '' $ac_executable_extensions; do
3960 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3961 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3962 ac_prog_rejected=yes
3963 continue
3965 ac_cv_prog_CC="cc"
3966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3967 break 2
3969 done
3970 done
3971 IFS=$as_save_IFS
3973 if test $ac_prog_rejected = yes; then
3974 # We found a bogon in the path, so make sure we never use it.
3975 set dummy $ac_cv_prog_CC
3976 shift
3977 if test $# != 0; then
3978 # We chose a different compiler from the bogus one.
3979 # However, it has the same basename, so the bogon will be chosen
3980 # first if we set CC to just the basename; use the full file name.
3981 shift
3982 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3987 CC=$ac_cv_prog_CC
3988 if test -n "$CC"; then
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3990 $as_echo "$CC" >&6; }
3991 else
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3993 $as_echo "no" >&6; }
3998 if test -z "$CC"; then
3999 if test -n "$ac_tool_prefix"; then
4000 for ac_prog in cl.exe
4002 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4003 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4005 $as_echo_n "checking for $ac_word... " >&6; }
4006 if ${ac_cv_prog_CC+:} false; then :
4007 $as_echo_n "(cached) " >&6
4008 else
4009 if test -n "$CC"; then
4010 ac_cv_prog_CC="$CC" # Let the user override the test.
4011 else
4012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4013 for as_dir in $PATH
4015 IFS=$as_save_IFS
4016 test -z "$as_dir" && as_dir=.
4017 for ac_exec_ext in '' $ac_executable_extensions; do
4018 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4019 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4021 break 2
4023 done
4024 done
4025 IFS=$as_save_IFS
4029 CC=$ac_cv_prog_CC
4030 if test -n "$CC"; then
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4032 $as_echo "$CC" >&6; }
4033 else
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4035 $as_echo "no" >&6; }
4039 test -n "$CC" && break
4040 done
4042 if test -z "$CC"; then
4043 ac_ct_CC=$CC
4044 for ac_prog in cl.exe
4046 # Extract the first word of "$ac_prog", so it can be a program name with args.
4047 set dummy $ac_prog; ac_word=$2
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4049 $as_echo_n "checking for $ac_word... " >&6; }
4050 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4051 $as_echo_n "(cached) " >&6
4052 else
4053 if test -n "$ac_ct_CC"; then
4054 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4055 else
4056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4057 for as_dir in $PATH
4059 IFS=$as_save_IFS
4060 test -z "$as_dir" && as_dir=.
4061 for ac_exec_ext in '' $ac_executable_extensions; do
4062 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4063 ac_cv_prog_ac_ct_CC="$ac_prog"
4064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4065 break 2
4067 done
4068 done
4069 IFS=$as_save_IFS
4073 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4074 if test -n "$ac_ct_CC"; then
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4076 $as_echo "$ac_ct_CC" >&6; }
4077 else
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4079 $as_echo "no" >&6; }
4083 test -n "$ac_ct_CC" && break
4084 done
4086 if test "x$ac_ct_CC" = x; then
4087 CC=""
4088 else
4089 case $cross_compiling:$ac_tool_warned in
4090 yes:)
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4092 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4093 ac_tool_warned=yes ;;
4094 esac
4095 CC=$ac_ct_CC
4102 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4103 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4104 as_fn_error $? "no acceptable C compiler found in \$PATH
4105 See \`config.log' for more details" "$LINENO" 5; }
4107 # Provide some information about the compiler.
4108 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4109 set X $ac_compile
4110 ac_compiler=$2
4111 for ac_option in --version -v -V -qversion; do
4112 { { ac_try="$ac_compiler $ac_option >&5"
4113 case "(($ac_try" in
4114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4115 *) ac_try_echo=$ac_try;;
4116 esac
4117 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4118 $as_echo "$ac_try_echo"; } >&5
4119 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4120 ac_status=$?
4121 if test -s conftest.err; then
4122 sed '10a\
4123 ... rest of stderr output deleted ...
4124 10q' conftest.err >conftest.er1
4125 cat conftest.er1 >&5
4127 rm -f conftest.er1 conftest.err
4128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4129 test $ac_status = 0; }
4130 done
4132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4133 /* end confdefs.h. */
4134 #include <stdio.h>
4136 main ()
4138 printf ("hello world\n");
4140 return 0;
4142 _ACEOF
4143 # FIXME: Cleanup?
4144 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4145 (eval $ac_link) 2>&5
4146 ac_status=$?
4147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4148 test $ac_status = 0; }; then :
4149 gcc_no_link=no
4150 else
4151 gcc_no_link=yes
4153 if test x$gcc_no_link = xyes; then
4154 # Setting cross_compile will disable run tests; it will
4155 # also disable AC_CHECK_FILE but that's generally
4156 # correct if we can't link.
4157 cross_compiling=yes
4158 EXEEXT=
4159 else
4160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4161 /* end confdefs.h. */
4164 main ()
4168 return 0;
4170 _ACEOF
4171 ac_clean_files_save=$ac_clean_files
4172 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4173 # Try to create an executable without -o first, disregard a.out.
4174 # It will help us diagnose broken compilers, and finding out an intuition
4175 # of exeext.
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4177 $as_echo_n "checking whether the C compiler works... " >&6; }
4178 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4180 # The possible output files:
4181 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4183 ac_rmfiles=
4184 for ac_file in $ac_files
4186 case $ac_file in
4187 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4188 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4189 esac
4190 done
4191 rm -f $ac_rmfiles
4193 if { { ac_try="$ac_link_default"
4194 case "(($ac_try" in
4195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4196 *) ac_try_echo=$ac_try;;
4197 esac
4198 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4199 $as_echo "$ac_try_echo"; } >&5
4200 (eval "$ac_link_default") 2>&5
4201 ac_status=$?
4202 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4203 test $ac_status = 0; }; then :
4204 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4205 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4206 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4207 # so that the user can short-circuit this test for compilers unknown to
4208 # Autoconf.
4209 for ac_file in $ac_files ''
4211 test -f "$ac_file" || continue
4212 case $ac_file in
4213 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4215 [ab].out )
4216 # We found the default executable, but exeext='' is most
4217 # certainly right.
4218 break;;
4219 *.* )
4220 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4221 then :; else
4222 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4224 # We set ac_cv_exeext here because the later test for it is not
4225 # safe: cross compilers may not add the suffix if given an `-o'
4226 # argument, so we may need to know it at that point already.
4227 # Even if this section looks crufty: it has the advantage of
4228 # actually working.
4229 break;;
4231 break;;
4232 esac
4233 done
4234 test "$ac_cv_exeext" = no && ac_cv_exeext=
4236 else
4237 ac_file=''
4239 if test -z "$ac_file"; then :
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4241 $as_echo "no" >&6; }
4242 $as_echo "$as_me: failed program was:" >&5
4243 sed 's/^/| /' conftest.$ac_ext >&5
4245 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4246 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4247 as_fn_error 77 "C compiler cannot create executables
4248 See \`config.log' for more details" "$LINENO" 5; }
4249 else
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4251 $as_echo "yes" >&6; }
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4254 $as_echo_n "checking for C compiler default output file name... " >&6; }
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4256 $as_echo "$ac_file" >&6; }
4257 ac_exeext=$ac_cv_exeext
4259 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4260 ac_clean_files=$ac_clean_files_save
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4262 $as_echo_n "checking for suffix of executables... " >&6; }
4263 if { { ac_try="$ac_link"
4264 case "(($ac_try" in
4265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4266 *) ac_try_echo=$ac_try;;
4267 esac
4268 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4269 $as_echo "$ac_try_echo"; } >&5
4270 (eval "$ac_link") 2>&5
4271 ac_status=$?
4272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4273 test $ac_status = 0; }; then :
4274 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4275 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4276 # work properly (i.e., refer to `conftest.exe'), while it won't with
4277 # `rm'.
4278 for ac_file in conftest.exe conftest conftest.*; do
4279 test -f "$ac_file" || continue
4280 case $ac_file in
4281 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4282 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4283 break;;
4284 * ) break;;
4285 esac
4286 done
4287 else
4288 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4289 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4290 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4291 See \`config.log' for more details" "$LINENO" 5; }
4293 rm -f conftest conftest$ac_cv_exeext
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4295 $as_echo "$ac_cv_exeext" >&6; }
4297 rm -f conftest.$ac_ext
4298 EXEEXT=$ac_cv_exeext
4299 ac_exeext=$EXEEXT
4300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4301 /* end confdefs.h. */
4302 #include <stdio.h>
4304 main ()
4306 FILE *f = fopen ("conftest.out", "w");
4307 return ferror (f) || fclose (f) != 0;
4310 return 0;
4312 _ACEOF
4313 ac_clean_files="$ac_clean_files conftest.out"
4314 # Check that the compiler produces executables we can run. If not, either
4315 # the compiler is broken, or we cross compile.
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4317 $as_echo_n "checking whether we are cross compiling... " >&6; }
4318 if test "$cross_compiling" != yes; then
4319 { { ac_try="$ac_link"
4320 case "(($ac_try" in
4321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4322 *) ac_try_echo=$ac_try;;
4323 esac
4324 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4325 $as_echo "$ac_try_echo"; } >&5
4326 (eval "$ac_link") 2>&5
4327 ac_status=$?
4328 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4329 test $ac_status = 0; }
4330 if { ac_try='./conftest$ac_cv_exeext'
4331 { { case "(($ac_try" in
4332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4333 *) ac_try_echo=$ac_try;;
4334 esac
4335 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4336 $as_echo "$ac_try_echo"; } >&5
4337 (eval "$ac_try") 2>&5
4338 ac_status=$?
4339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4340 test $ac_status = 0; }; }; then
4341 cross_compiling=no
4342 else
4343 if test "$cross_compiling" = maybe; then
4344 cross_compiling=yes
4345 else
4346 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4347 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4348 as_fn_error $? "cannot run C compiled programs.
4349 If you meant to cross compile, use \`--host'.
4350 See \`config.log' for more details" "$LINENO" 5; }
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4355 $as_echo "$cross_compiling" >&6; }
4357 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4358 ac_clean_files=$ac_clean_files_save
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4361 $as_echo_n "checking for suffix of object files... " >&6; }
4362 if ${ac_cv_objext+:} false; then :
4363 $as_echo_n "(cached) " >&6
4364 else
4365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4366 /* end confdefs.h. */
4369 main ()
4373 return 0;
4375 _ACEOF
4376 rm -f conftest.o conftest.obj
4377 if { { ac_try="$ac_compile"
4378 case "(($ac_try" in
4379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4380 *) ac_try_echo=$ac_try;;
4381 esac
4382 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4383 $as_echo "$ac_try_echo"; } >&5
4384 (eval "$ac_compile") 2>&5
4385 ac_status=$?
4386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4387 test $ac_status = 0; }; then :
4388 for ac_file in conftest.o conftest.obj conftest.*; do
4389 test -f "$ac_file" || continue;
4390 case $ac_file in
4391 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4392 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4393 break;;
4394 esac
4395 done
4396 else
4397 $as_echo "$as_me: failed program was:" >&5
4398 sed 's/^/| /' conftest.$ac_ext >&5
4400 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4401 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4402 as_fn_error $? "cannot compute suffix of object files: cannot compile
4403 See \`config.log' for more details" "$LINENO" 5; }
4405 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4408 $as_echo "$ac_cv_objext" >&6; }
4409 OBJEXT=$ac_cv_objext
4410 ac_objext=$OBJEXT
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4412 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4413 if ${ac_cv_c_compiler_gnu+:} false; then :
4414 $as_echo_n "(cached) " >&6
4415 else
4416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4417 /* end confdefs.h. */
4420 main ()
4422 #ifndef __GNUC__
4423 choke me
4424 #endif
4427 return 0;
4429 _ACEOF
4430 if ac_fn_c_try_compile "$LINENO"; then :
4431 ac_compiler_gnu=yes
4432 else
4433 ac_compiler_gnu=no
4435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4436 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4440 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4441 if test $ac_compiler_gnu = yes; then
4442 GCC=yes
4443 else
4444 GCC=
4446 ac_test_CFLAGS=${CFLAGS+set}
4447 ac_save_CFLAGS=$CFLAGS
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4449 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4450 if ${ac_cv_prog_cc_g+:} false; then :
4451 $as_echo_n "(cached) " >&6
4452 else
4453 ac_save_c_werror_flag=$ac_c_werror_flag
4454 ac_c_werror_flag=yes
4455 ac_cv_prog_cc_g=no
4456 CFLAGS="-g"
4457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4458 /* end confdefs.h. */
4461 main ()
4465 return 0;
4467 _ACEOF
4468 if ac_fn_c_try_compile "$LINENO"; then :
4469 ac_cv_prog_cc_g=yes
4470 else
4471 CFLAGS=""
4472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4473 /* end confdefs.h. */
4476 main ()
4480 return 0;
4482 _ACEOF
4483 if ac_fn_c_try_compile "$LINENO"; then :
4485 else
4486 ac_c_werror_flag=$ac_save_c_werror_flag
4487 CFLAGS="-g"
4488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4489 /* end confdefs.h. */
4492 main ()
4496 return 0;
4498 _ACEOF
4499 if ac_fn_c_try_compile "$LINENO"; then :
4500 ac_cv_prog_cc_g=yes
4502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4507 ac_c_werror_flag=$ac_save_c_werror_flag
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4510 $as_echo "$ac_cv_prog_cc_g" >&6; }
4511 if test "$ac_test_CFLAGS" = set; then
4512 CFLAGS=$ac_save_CFLAGS
4513 elif test $ac_cv_prog_cc_g = yes; then
4514 if test "$GCC" = yes; then
4515 CFLAGS="-g -O2"
4516 else
4517 CFLAGS="-g"
4519 else
4520 if test "$GCC" = yes; then
4521 CFLAGS="-O2"
4522 else
4523 CFLAGS=
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4527 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4528 if ${ac_cv_prog_cc_c89+:} false; then :
4529 $as_echo_n "(cached) " >&6
4530 else
4531 ac_cv_prog_cc_c89=no
4532 ac_save_CC=$CC
4533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4534 /* end confdefs.h. */
4535 #include <stdarg.h>
4536 #include <stdio.h>
4537 struct stat;
4538 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4539 struct buf { int x; };
4540 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4541 static char *e (p, i)
4542 char **p;
4543 int i;
4545 return p[i];
4547 static char *f (char * (*g) (char **, int), char **p, ...)
4549 char *s;
4550 va_list v;
4551 va_start (v,p);
4552 s = g (p, va_arg (v,int));
4553 va_end (v);
4554 return s;
4557 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4558 function prototypes and stuff, but not '\xHH' hex character constants.
4559 These don't provoke an error unfortunately, instead are silently treated
4560 as 'x'. The following induces an error, until -std is added to get
4561 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4562 array size at least. It's necessary to write '\x00'==0 to get something
4563 that's true only with -std. */
4564 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4566 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4567 inside strings and character constants. */
4568 #define FOO(x) 'x'
4569 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4571 int test (int i, double x);
4572 struct s1 {int (*f) (int a);};
4573 struct s2 {int (*f) (double a);};
4574 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4575 int argc;
4576 char **argv;
4578 main ()
4580 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4582 return 0;
4584 _ACEOF
4585 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4586 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4588 CC="$ac_save_CC $ac_arg"
4589 if ac_fn_c_try_compile "$LINENO"; then :
4590 ac_cv_prog_cc_c89=$ac_arg
4592 rm -f core conftest.err conftest.$ac_objext
4593 test "x$ac_cv_prog_cc_c89" != "xno" && break
4594 done
4595 rm -f conftest.$ac_ext
4596 CC=$ac_save_CC
4599 # AC_CACHE_VAL
4600 case "x$ac_cv_prog_cc_c89" in
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4603 $as_echo "none needed" >&6; } ;;
4604 xno)
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4606 $as_echo "unsupported" >&6; } ;;
4608 CC="$CC $ac_cv_prog_cc_c89"
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4610 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4611 esac
4612 if test "x$ac_cv_prog_cc_c89" != xno; then :
4616 ac_ext=c
4617 ac_cpp='$CPP $CPPFLAGS'
4618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4622 ac_ext=c
4623 ac_cpp='$CPP $CPPFLAGS'
4624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4628 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4629 if ${am_cv_prog_cc_c_o+:} false; then :
4630 $as_echo_n "(cached) " >&6
4631 else
4632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4633 /* end confdefs.h. */
4636 main ()
4640 return 0;
4642 _ACEOF
4643 # Make sure it works both with $CC and with simple cc.
4644 # Following AC_PROG_CC_C_O, we do the test twice because some
4645 # compilers refuse to overwrite an existing .o file with -o,
4646 # though they will create one.
4647 am_cv_prog_cc_c_o=yes
4648 for am_i in 1 2; do
4649 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4650 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4651 ac_status=$?
4652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4653 (exit $ac_status); } \
4654 && test -f conftest2.$ac_objext; then
4655 : OK
4656 else
4657 am_cv_prog_cc_c_o=no
4658 break
4660 done
4661 rm -f core conftest*
4662 unset am_i
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4665 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4666 if test "$am_cv_prog_cc_c_o" != yes; then
4667 # Losing compiler, so override with the script.
4668 # FIXME: It is wrong to rewrite CC.
4669 # But if we don't then we get into trouble of one sort or another.
4670 # A longer-term fix would be to have automake use am__CC in this case,
4671 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4672 CC="$am_aux_dir/compile $CC"
4674 ac_ext=c
4675 ac_cpp='$CPP $CPPFLAGS'
4676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4681 ac_ext=cpp
4682 ac_cpp='$CXXCPP $CPPFLAGS'
4683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4686 if test -z "$CXX"; then
4687 if test -n "$CCC"; then
4688 CXX=$CCC
4689 else
4690 if test -n "$ac_tool_prefix"; then
4691 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4693 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4694 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4696 $as_echo_n "checking for $ac_word... " >&6; }
4697 if ${ac_cv_prog_CXX+:} false; then :
4698 $as_echo_n "(cached) " >&6
4699 else
4700 if test -n "$CXX"; then
4701 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4702 else
4703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4704 for as_dir in $PATH
4706 IFS=$as_save_IFS
4707 test -z "$as_dir" && as_dir=.
4708 for ac_exec_ext in '' $ac_executable_extensions; do
4709 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4710 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4712 break 2
4714 done
4715 done
4716 IFS=$as_save_IFS
4720 CXX=$ac_cv_prog_CXX
4721 if test -n "$CXX"; then
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4723 $as_echo "$CXX" >&6; }
4724 else
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4726 $as_echo "no" >&6; }
4730 test -n "$CXX" && break
4731 done
4733 if test -z "$CXX"; then
4734 ac_ct_CXX=$CXX
4735 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4737 # Extract the first word of "$ac_prog", so it can be a program name with args.
4738 set dummy $ac_prog; ac_word=$2
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4740 $as_echo_n "checking for $ac_word... " >&6; }
4741 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4742 $as_echo_n "(cached) " >&6
4743 else
4744 if test -n "$ac_ct_CXX"; then
4745 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4746 else
4747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4748 for as_dir in $PATH
4750 IFS=$as_save_IFS
4751 test -z "$as_dir" && as_dir=.
4752 for ac_exec_ext in '' $ac_executable_extensions; do
4753 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4754 ac_cv_prog_ac_ct_CXX="$ac_prog"
4755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4756 break 2
4758 done
4759 done
4760 IFS=$as_save_IFS
4764 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4765 if test -n "$ac_ct_CXX"; then
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4767 $as_echo "$ac_ct_CXX" >&6; }
4768 else
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4770 $as_echo "no" >&6; }
4774 test -n "$ac_ct_CXX" && break
4775 done
4777 if test "x$ac_ct_CXX" = x; then
4778 CXX="g++"
4779 else
4780 case $cross_compiling:$ac_tool_warned in
4781 yes:)
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4783 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4784 ac_tool_warned=yes ;;
4785 esac
4786 CXX=$ac_ct_CXX
4792 # Provide some information about the compiler.
4793 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4794 set X $ac_compile
4795 ac_compiler=$2
4796 for ac_option in --version -v -V -qversion; do
4797 { { ac_try="$ac_compiler $ac_option >&5"
4798 case "(($ac_try" in
4799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4800 *) ac_try_echo=$ac_try;;
4801 esac
4802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4803 $as_echo "$ac_try_echo"; } >&5
4804 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4805 ac_status=$?
4806 if test -s conftest.err; then
4807 sed '10a\
4808 ... rest of stderr output deleted ...
4809 10q' conftest.err >conftest.er1
4810 cat conftest.er1 >&5
4812 rm -f conftest.er1 conftest.err
4813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4814 test $ac_status = 0; }
4815 done
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4818 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4819 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4820 $as_echo_n "(cached) " >&6
4821 else
4822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4823 /* end confdefs.h. */
4826 main ()
4828 #ifndef __GNUC__
4829 choke me
4830 #endif
4833 return 0;
4835 _ACEOF
4836 if ac_fn_cxx_try_compile "$LINENO"; then :
4837 ac_compiler_gnu=yes
4838 else
4839 ac_compiler_gnu=no
4841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4842 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4846 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4847 if test $ac_compiler_gnu = yes; then
4848 GXX=yes
4849 else
4850 GXX=
4852 ac_test_CXXFLAGS=${CXXFLAGS+set}
4853 ac_save_CXXFLAGS=$CXXFLAGS
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4855 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4856 if ${ac_cv_prog_cxx_g+:} false; then :
4857 $as_echo_n "(cached) " >&6
4858 else
4859 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4860 ac_cxx_werror_flag=yes
4861 ac_cv_prog_cxx_g=no
4862 CXXFLAGS="-g"
4863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4864 /* end confdefs.h. */
4867 main ()
4871 return 0;
4873 _ACEOF
4874 if ac_fn_cxx_try_compile "$LINENO"; then :
4875 ac_cv_prog_cxx_g=yes
4876 else
4877 CXXFLAGS=""
4878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4879 /* end confdefs.h. */
4882 main ()
4886 return 0;
4888 _ACEOF
4889 if ac_fn_cxx_try_compile "$LINENO"; then :
4891 else
4892 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4893 CXXFLAGS="-g"
4894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4895 /* end confdefs.h. */
4898 main ()
4902 return 0;
4904 _ACEOF
4905 if ac_fn_cxx_try_compile "$LINENO"; then :
4906 ac_cv_prog_cxx_g=yes
4908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4913 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4916 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4917 if test "$ac_test_CXXFLAGS" = set; then
4918 CXXFLAGS=$ac_save_CXXFLAGS
4919 elif test $ac_cv_prog_cxx_g = yes; then
4920 if test "$GXX" = yes; then
4921 CXXFLAGS="-g -O2"
4922 else
4923 CXXFLAGS="-g"
4925 else
4926 if test "$GXX" = yes; then
4927 CXXFLAGS="-O2"
4928 else
4929 CXXFLAGS=
4932 ac_ext=c
4933 ac_cpp='$CPP $CPPFLAGS'
4934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4938 CXXFLAGS="$save_CXXFLAGS"
4941 # Check whether --enable-largefile was given.
4942 if test "${enable_largefile+set}" = set; then :
4943 enableval=$enable_largefile;
4946 if test "$enable_largefile" != no; then
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4949 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4950 if ${ac_cv_sys_largefile_CC+:} false; then :
4951 $as_echo_n "(cached) " >&6
4952 else
4953 ac_cv_sys_largefile_CC=no
4954 if test "$GCC" != yes; then
4955 ac_save_CC=$CC
4956 while :; do
4957 # IRIX 6.2 and later do not support large files by default,
4958 # so use the C compiler's -n32 option if that helps.
4959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4960 /* end confdefs.h. */
4961 #include <sys/types.h>
4962 /* Check that off_t can represent 2**63 - 1 correctly.
4963 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4964 since some C++ compilers masquerading as C compilers
4965 incorrectly reject 9223372036854775807. */
4966 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4967 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4968 && LARGE_OFF_T % 2147483647 == 1)
4969 ? 1 : -1];
4971 main ()
4975 return 0;
4977 _ACEOF
4978 if ac_fn_c_try_compile "$LINENO"; then :
4979 break
4981 rm -f core conftest.err conftest.$ac_objext
4982 CC="$CC -n32"
4983 if ac_fn_c_try_compile "$LINENO"; then :
4984 ac_cv_sys_largefile_CC=' -n32'; break
4986 rm -f core conftest.err conftest.$ac_objext
4987 break
4988 done
4989 CC=$ac_save_CC
4990 rm -f conftest.$ac_ext
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4994 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4995 if test "$ac_cv_sys_largefile_CC" != no; then
4996 CC=$CC$ac_cv_sys_largefile_CC
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5000 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5001 if ${ac_cv_sys_file_offset_bits+:} false; then :
5002 $as_echo_n "(cached) " >&6
5003 else
5004 while :; do
5005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5006 /* end confdefs.h. */
5007 #include <sys/types.h>
5008 /* Check that off_t can represent 2**63 - 1 correctly.
5009 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5010 since some C++ compilers masquerading as C compilers
5011 incorrectly reject 9223372036854775807. */
5012 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5013 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5014 && LARGE_OFF_T % 2147483647 == 1)
5015 ? 1 : -1];
5017 main ()
5021 return 0;
5023 _ACEOF
5024 if ac_fn_c_try_compile "$LINENO"; then :
5025 ac_cv_sys_file_offset_bits=no; break
5027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5029 /* end confdefs.h. */
5030 #define _FILE_OFFSET_BITS 64
5031 #include <sys/types.h>
5032 /* Check that off_t can represent 2**63 - 1 correctly.
5033 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5034 since some C++ compilers masquerading as C compilers
5035 incorrectly reject 9223372036854775807. */
5036 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5037 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5038 && LARGE_OFF_T % 2147483647 == 1)
5039 ? 1 : -1];
5041 main ()
5045 return 0;
5047 _ACEOF
5048 if ac_fn_c_try_compile "$LINENO"; then :
5049 ac_cv_sys_file_offset_bits=64; break
5051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5052 ac_cv_sys_file_offset_bits=unknown
5053 break
5054 done
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5057 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5058 case $ac_cv_sys_file_offset_bits in #(
5059 no | unknown) ;;
5061 cat >>confdefs.h <<_ACEOF
5062 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5063 _ACEOF
5065 esac
5066 rm -rf conftest*
5067 if test $ac_cv_sys_file_offset_bits = unknown; then
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5069 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5070 if ${ac_cv_sys_large_files+:} false; then :
5071 $as_echo_n "(cached) " >&6
5072 else
5073 while :; do
5074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5075 /* end confdefs.h. */
5076 #include <sys/types.h>
5077 /* Check that off_t can represent 2**63 - 1 correctly.
5078 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5079 since some C++ compilers masquerading as C compilers
5080 incorrectly reject 9223372036854775807. */
5081 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5082 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5083 && LARGE_OFF_T % 2147483647 == 1)
5084 ? 1 : -1];
5086 main ()
5090 return 0;
5092 _ACEOF
5093 if ac_fn_c_try_compile "$LINENO"; then :
5094 ac_cv_sys_large_files=no; break
5096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5098 /* end confdefs.h. */
5099 #define _LARGE_FILES 1
5100 #include <sys/types.h>
5101 /* Check that off_t can represent 2**63 - 1 correctly.
5102 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5103 since some C++ compilers masquerading as C compilers
5104 incorrectly reject 9223372036854775807. */
5105 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5106 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5107 && LARGE_OFF_T % 2147483647 == 1)
5108 ? 1 : -1];
5110 main ()
5114 return 0;
5116 _ACEOF
5117 if ac_fn_c_try_compile "$LINENO"; then :
5118 ac_cv_sys_large_files=1; break
5120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5121 ac_cv_sys_large_files=unknown
5122 break
5123 done
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5126 $as_echo "$ac_cv_sys_large_files" >&6; }
5127 case $ac_cv_sys_large_files in #(
5128 no | unknown) ;;
5130 cat >>confdefs.h <<_ACEOF
5131 #define _LARGE_FILES $ac_cv_sys_large_files
5132 _ACEOF
5134 esac
5135 rm -rf conftest*
5142 # Runs configure.host, and assorted other critical bits. Sets
5143 # up critical shell variables.
5144 ac_ext=c
5145 ac_cpp='$CPP $CPPFLAGS'
5146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5150 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5151 # On Suns, sometimes $CPP names a directory.
5152 if test -n "$CPP" && test -d "$CPP"; then
5153 CPP=
5155 if test -z "$CPP"; then
5156 if ${ac_cv_prog_CPP+:} false; then :
5157 $as_echo_n "(cached) " >&6
5158 else
5159 # Double quotes because CPP needs to be expanded
5160 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5162 ac_preproc_ok=false
5163 for ac_c_preproc_warn_flag in '' yes
5165 # Use a header file that comes with gcc, so configuring glibc
5166 # with a fresh cross-compiler works.
5167 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5168 # <limits.h> exists even on freestanding compilers.
5169 # On the NeXT, cc -E runs the code through the compiler's parser,
5170 # not just through cpp. "Syntax error" is here to catch this case.
5171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5172 /* end confdefs.h. */
5173 #ifdef __STDC__
5174 # include <limits.h>
5175 #else
5176 # include <assert.h>
5177 #endif
5178 Syntax error
5179 _ACEOF
5180 if ac_fn_c_try_cpp "$LINENO"; then :
5182 else
5183 # Broken: fails on valid input.
5184 continue
5186 rm -f conftest.err conftest.i conftest.$ac_ext
5188 # OK, works on sane cases. Now check whether nonexistent headers
5189 # can be detected and how.
5190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5191 /* end confdefs.h. */
5192 #include <ac_nonexistent.h>
5193 _ACEOF
5194 if ac_fn_c_try_cpp "$LINENO"; then :
5195 # Broken: success on invalid input.
5196 continue
5197 else
5198 # Passes both tests.
5199 ac_preproc_ok=:
5200 break
5202 rm -f conftest.err conftest.i conftest.$ac_ext
5204 done
5205 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5206 rm -f conftest.i conftest.err conftest.$ac_ext
5207 if $ac_preproc_ok; then :
5208 break
5211 done
5212 ac_cv_prog_CPP=$CPP
5215 CPP=$ac_cv_prog_CPP
5216 else
5217 ac_cv_prog_CPP=$CPP
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5220 $as_echo "$CPP" >&6; }
5221 ac_preproc_ok=false
5222 for ac_c_preproc_warn_flag in '' yes
5224 # Use a header file that comes with gcc, so configuring glibc
5225 # with a fresh cross-compiler works.
5226 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5227 # <limits.h> exists even on freestanding compilers.
5228 # On the NeXT, cc -E runs the code through the compiler's parser,
5229 # not just through cpp. "Syntax error" is here to catch this case.
5230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5231 /* end confdefs.h. */
5232 #ifdef __STDC__
5233 # include <limits.h>
5234 #else
5235 # include <assert.h>
5236 #endif
5237 Syntax error
5238 _ACEOF
5239 if ac_fn_c_try_cpp "$LINENO"; then :
5241 else
5242 # Broken: fails on valid input.
5243 continue
5245 rm -f conftest.err conftest.i conftest.$ac_ext
5247 # OK, works on sane cases. Now check whether nonexistent headers
5248 # can be detected and how.
5249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5250 /* end confdefs.h. */
5251 #include <ac_nonexistent.h>
5252 _ACEOF
5253 if ac_fn_c_try_cpp "$LINENO"; then :
5254 # Broken: success on invalid input.
5255 continue
5256 else
5257 # Passes both tests.
5258 ac_preproc_ok=:
5259 break
5261 rm -f conftest.err conftest.i conftest.$ac_ext
5263 done
5264 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5265 rm -f conftest.i conftest.err conftest.$ac_ext
5266 if $ac_preproc_ok; then :
5268 else
5269 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5270 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5271 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5272 See \`config.log' for more details" "$LINENO" 5; }
5275 ac_ext=c
5276 ac_cpp='$CPP $CPPFLAGS'
5277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5283 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5284 if ${ac_cv_path_GREP+:} false; then :
5285 $as_echo_n "(cached) " >&6
5286 else
5287 if test -z "$GREP"; then
5288 ac_path_GREP_found=false
5289 # Loop through the user's path and test for each of PROGNAME-LIST
5290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5291 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5293 IFS=$as_save_IFS
5294 test -z "$as_dir" && as_dir=.
5295 for ac_prog in grep ggrep; do
5296 for ac_exec_ext in '' $ac_executable_extensions; do
5297 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5298 as_fn_executable_p "$ac_path_GREP" || continue
5299 # Check for GNU ac_path_GREP and select it if it is found.
5300 # Check for GNU $ac_path_GREP
5301 case `"$ac_path_GREP" --version 2>&1` in
5302 *GNU*)
5303 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5305 ac_count=0
5306 $as_echo_n 0123456789 >"conftest.in"
5307 while :
5309 cat "conftest.in" "conftest.in" >"conftest.tmp"
5310 mv "conftest.tmp" "conftest.in"
5311 cp "conftest.in" "conftest.nl"
5312 $as_echo 'GREP' >> "conftest.nl"
5313 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5314 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5315 as_fn_arith $ac_count + 1 && ac_count=$as_val
5316 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5317 # Best one so far, save it but keep looking for a better one
5318 ac_cv_path_GREP="$ac_path_GREP"
5319 ac_path_GREP_max=$ac_count
5321 # 10*(2^10) chars as input seems more than enough
5322 test $ac_count -gt 10 && break
5323 done
5324 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5325 esac
5327 $ac_path_GREP_found && break 3
5328 done
5329 done
5330 done
5331 IFS=$as_save_IFS
5332 if test -z "$ac_cv_path_GREP"; then
5333 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5335 else
5336 ac_cv_path_GREP=$GREP
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5341 $as_echo "$ac_cv_path_GREP" >&6; }
5342 GREP="$ac_cv_path_GREP"
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5346 $as_echo_n "checking for egrep... " >&6; }
5347 if ${ac_cv_path_EGREP+:} false; then :
5348 $as_echo_n "(cached) " >&6
5349 else
5350 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5351 then ac_cv_path_EGREP="$GREP -E"
5352 else
5353 if test -z "$EGREP"; then
5354 ac_path_EGREP_found=false
5355 # Loop through the user's path and test for each of PROGNAME-LIST
5356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5357 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5359 IFS=$as_save_IFS
5360 test -z "$as_dir" && as_dir=.
5361 for ac_prog in egrep; do
5362 for ac_exec_ext in '' $ac_executable_extensions; do
5363 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5364 as_fn_executable_p "$ac_path_EGREP" || continue
5365 # Check for GNU ac_path_EGREP and select it if it is found.
5366 # Check for GNU $ac_path_EGREP
5367 case `"$ac_path_EGREP" --version 2>&1` in
5368 *GNU*)
5369 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5371 ac_count=0
5372 $as_echo_n 0123456789 >"conftest.in"
5373 while :
5375 cat "conftest.in" "conftest.in" >"conftest.tmp"
5376 mv "conftest.tmp" "conftest.in"
5377 cp "conftest.in" "conftest.nl"
5378 $as_echo 'EGREP' >> "conftest.nl"
5379 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5380 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5381 as_fn_arith $ac_count + 1 && ac_count=$as_val
5382 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5383 # Best one so far, save it but keep looking for a better one
5384 ac_cv_path_EGREP="$ac_path_EGREP"
5385 ac_path_EGREP_max=$ac_count
5387 # 10*(2^10) chars as input seems more than enough
5388 test $ac_count -gt 10 && break
5389 done
5390 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5391 esac
5393 $ac_path_EGREP_found && break 3
5394 done
5395 done
5396 done
5397 IFS=$as_save_IFS
5398 if test -z "$ac_cv_path_EGREP"; then
5399 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5401 else
5402 ac_cv_path_EGREP=$EGREP
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5408 $as_echo "$ac_cv_path_EGREP" >&6; }
5409 EGREP="$ac_cv_path_EGREP"
5413 # Keep these sync'd with the list in Makefile.am. The first provides an
5414 # expandable list at autoconf time; the second provides an expandable list
5415 # (i.e., shell variable) at configure time.
5417 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/c++17 src/filesystem doc po testsuite python'
5419 # These need to be absolute paths, yet at the same time need to
5420 # canonicalize only relative paths, because then amd will not unmount
5421 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
5422 glibcxx_builddir=`${PWDCMD-pwd}`
5423 case $srcdir in
5424 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
5425 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
5426 esac
5427 toplevel_builddir=${glibcxx_builddir}/..
5428 toplevel_srcdir=${glibcxx_srcdir}/..
5434 # We use these options to decide which functions to include. They are
5435 # set from the top level.
5437 # Check whether --with-target-subdir was given.
5438 if test "${with_target_subdir+set}" = set; then :
5439 withval=$with_target_subdir;
5444 # Check whether --with-cross-host was given.
5445 if test "${with_cross_host+set}" = set; then :
5446 withval=$with_cross_host;
5451 # Check whether --with-newlib was given.
5452 if test "${with_newlib+set}" = set; then :
5453 withval=$with_newlib;
5457 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5458 # available). Uncomment the next line to force a particular method.
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5460 $as_echo_n "checking whether ln -s works... " >&6; }
5461 LN_S=$as_ln_s
5462 if test "$LN_S" = "ln -s"; then
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5464 $as_echo "yes" >&6; }
5465 else
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5467 $as_echo "no, using $LN_S" >&6; }
5470 #LN_S='cp -p'
5472 if test -n "$ac_tool_prefix"; then
5473 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5474 set dummy ${ac_tool_prefix}as; ac_word=$2
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5476 $as_echo_n "checking for $ac_word... " >&6; }
5477 if ${ac_cv_prog_AS+:} false; then :
5478 $as_echo_n "(cached) " >&6
5479 else
5480 if test -n "$AS"; then
5481 ac_cv_prog_AS="$AS" # Let the user override the test.
5482 else
5483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5484 for as_dir in $PATH
5486 IFS=$as_save_IFS
5487 test -z "$as_dir" && as_dir=.
5488 for ac_exec_ext in '' $ac_executable_extensions; do
5489 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5490 ac_cv_prog_AS="${ac_tool_prefix}as"
5491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5492 break 2
5494 done
5495 done
5496 IFS=$as_save_IFS
5500 AS=$ac_cv_prog_AS
5501 if test -n "$AS"; then
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5503 $as_echo "$AS" >&6; }
5504 else
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5506 $as_echo "no" >&6; }
5511 if test -z "$ac_cv_prog_AS"; then
5512 ac_ct_AS=$AS
5513 # Extract the first word of "as", so it can be a program name with args.
5514 set dummy as; ac_word=$2
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5516 $as_echo_n "checking for $ac_word... " >&6; }
5517 if ${ac_cv_prog_ac_ct_AS+:} false; then :
5518 $as_echo_n "(cached) " >&6
5519 else
5520 if test -n "$ac_ct_AS"; then
5521 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5522 else
5523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5524 for as_dir in $PATH
5526 IFS=$as_save_IFS
5527 test -z "$as_dir" && as_dir=.
5528 for ac_exec_ext in '' $ac_executable_extensions; do
5529 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5530 ac_cv_prog_ac_ct_AS="as"
5531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5532 break 2
5534 done
5535 done
5536 IFS=$as_save_IFS
5540 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5541 if test -n "$ac_ct_AS"; then
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5543 $as_echo "$ac_ct_AS" >&6; }
5544 else
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5546 $as_echo "no" >&6; }
5549 if test "x$ac_ct_AS" = x; then
5550 AS=""
5551 else
5552 case $cross_compiling:$ac_tool_warned in
5553 yes:)
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5555 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5556 ac_tool_warned=yes ;;
5557 esac
5558 AS=$ac_ct_AS
5560 else
5561 AS="$ac_cv_prog_AS"
5564 if test -n "$ac_tool_prefix"; then
5565 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5566 set dummy ${ac_tool_prefix}ar; ac_word=$2
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5568 $as_echo_n "checking for $ac_word... " >&6; }
5569 if ${ac_cv_prog_AR+:} false; then :
5570 $as_echo_n "(cached) " >&6
5571 else
5572 if test -n "$AR"; then
5573 ac_cv_prog_AR="$AR" # Let the user override the test.
5574 else
5575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5576 for as_dir in $PATH
5578 IFS=$as_save_IFS
5579 test -z "$as_dir" && as_dir=.
5580 for ac_exec_ext in '' $ac_executable_extensions; do
5581 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5582 ac_cv_prog_AR="${ac_tool_prefix}ar"
5583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5584 break 2
5586 done
5587 done
5588 IFS=$as_save_IFS
5592 AR=$ac_cv_prog_AR
5593 if test -n "$AR"; then
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5595 $as_echo "$AR" >&6; }
5596 else
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5598 $as_echo "no" >&6; }
5603 if test -z "$ac_cv_prog_AR"; then
5604 ac_ct_AR=$AR
5605 # Extract the first word of "ar", so it can be a program name with args.
5606 set dummy ar; ac_word=$2
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5608 $as_echo_n "checking for $ac_word... " >&6; }
5609 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5610 $as_echo_n "(cached) " >&6
5611 else
5612 if test -n "$ac_ct_AR"; then
5613 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5614 else
5615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5616 for as_dir in $PATH
5618 IFS=$as_save_IFS
5619 test -z "$as_dir" && as_dir=.
5620 for ac_exec_ext in '' $ac_executable_extensions; do
5621 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5622 ac_cv_prog_ac_ct_AR="ar"
5623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5624 break 2
5626 done
5627 done
5628 IFS=$as_save_IFS
5632 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5633 if test -n "$ac_ct_AR"; then
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5635 $as_echo "$ac_ct_AR" >&6; }
5636 else
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5638 $as_echo "no" >&6; }
5641 if test "x$ac_ct_AR" = x; then
5642 AR=""
5643 else
5644 case $cross_compiling:$ac_tool_warned in
5645 yes:)
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5647 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5648 ac_tool_warned=yes ;;
5649 esac
5650 AR=$ac_ct_AR
5652 else
5653 AR="$ac_cv_prog_AR"
5656 if test -n "$ac_tool_prefix"; then
5657 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5658 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5660 $as_echo_n "checking for $ac_word... " >&6; }
5661 if ${ac_cv_prog_RANLIB+:} false; then :
5662 $as_echo_n "(cached) " >&6
5663 else
5664 if test -n "$RANLIB"; then
5665 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5666 else
5667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5668 for as_dir in $PATH
5670 IFS=$as_save_IFS
5671 test -z "$as_dir" && as_dir=.
5672 for ac_exec_ext in '' $ac_executable_extensions; do
5673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5674 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5676 break 2
5678 done
5679 done
5680 IFS=$as_save_IFS
5684 RANLIB=$ac_cv_prog_RANLIB
5685 if test -n "$RANLIB"; then
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5687 $as_echo "$RANLIB" >&6; }
5688 else
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5690 $as_echo "no" >&6; }
5695 if test -z "$ac_cv_prog_RANLIB"; then
5696 ac_ct_RANLIB=$RANLIB
5697 # Extract the first word of "ranlib", so it can be a program name with args.
5698 set dummy ranlib; ac_word=$2
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5700 $as_echo_n "checking for $ac_word... " >&6; }
5701 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5702 $as_echo_n "(cached) " >&6
5703 else
5704 if test -n "$ac_ct_RANLIB"; then
5705 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5706 else
5707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5708 for as_dir in $PATH
5710 IFS=$as_save_IFS
5711 test -z "$as_dir" && as_dir=.
5712 for ac_exec_ext in '' $ac_executable_extensions; do
5713 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5714 ac_cv_prog_ac_ct_RANLIB="ranlib"
5715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5716 break 2
5718 done
5719 done
5720 IFS=$as_save_IFS
5724 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5725 if test -n "$ac_ct_RANLIB"; then
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5727 $as_echo "$ac_ct_RANLIB" >&6; }
5728 else
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5730 $as_echo "no" >&6; }
5733 if test "x$ac_ct_RANLIB" = x; then
5734 RANLIB="ranlib-not-found-in-path-error"
5735 else
5736 case $cross_compiling:$ac_tool_warned in
5737 yes:)
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5739 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5740 ac_tool_warned=yes ;;
5741 esac
5742 RANLIB=$ac_ct_RANLIB
5744 else
5745 RANLIB="$ac_cv_prog_RANLIB"
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5751 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5752 # Check whether --enable-maintainer-mode was given.
5753 if test "${enable_maintainer_mode+set}" = set; then :
5754 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5755 else
5756 USE_MAINTAINER_MODE=no
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5760 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5761 if test $USE_MAINTAINER_MODE = yes; then
5762 MAINTAINER_MODE_TRUE=
5763 MAINTAINER_MODE_FALSE='#'
5764 else
5765 MAINTAINER_MODE_TRUE='#'
5766 MAINTAINER_MODE_FALSE=
5769 MAINT=$MAINTAINER_MODE_TRUE
5773 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5774 # which are themselves conditionally expanded.
5775 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5776 ## other macros from doing the same. This should be automated.) -pme
5778 # Check for C library flavor since GNU/Linux platforms use different
5779 # configuration directories depending on the C library in use.
5780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5781 /* end confdefs.h. */
5783 #include <stdio.h>
5784 #if __UCLIBC__
5785 _using_uclibc
5786 #endif
5788 _ACEOF
5789 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5790 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5791 uclibc=yes
5792 else
5793 uclibc=no
5795 rm -f conftest*
5798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5799 /* end confdefs.h. */
5801 #include <stdio.h>
5802 #if __BIONIC__
5803 _using_bionic
5804 #endif
5806 _ACEOF
5807 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5808 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5809 bionic=yes
5810 else
5811 bionic=no
5813 rm -f conftest*
5816 # Find platform-specific directories containing configuration info.
5817 # Also possibly modify flags used elsewhere, as needed by the platform.
5819 . $glibcxx_srcdir/configure.host
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5821 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5823 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5827 # Libtool setup.
5828 if test "x${with_newlib}" != "xyes"; then
5829 enable_dlopen=yes
5834 case `pwd` in
5835 *\ * | *\ *)
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5837 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5838 esac
5842 macro_version='2.2.7a'
5843 macro_revision='1.3134'
5857 ltmain="$ac_aux_dir/ltmain.sh"
5859 # Backslashify metacharacters that are still active within
5860 # double-quoted strings.
5861 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5863 # Same as above, but do not quote variable references.
5864 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5866 # Sed substitution to delay expansion of an escaped shell variable in a
5867 # double_quote_subst'ed string.
5868 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5870 # Sed substitution to delay expansion of an escaped single quote.
5871 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5873 # Sed substitution to avoid accidental globbing in evaled expressions
5874 no_glob_subst='s/\*/\\\*/g'
5876 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5877 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5878 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5881 $as_echo_n "checking how to print strings... " >&6; }
5882 # Test print first, because it will be a builtin if present.
5883 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5884 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5885 ECHO='print -r --'
5886 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5887 ECHO='printf %s\n'
5888 else
5889 # Use this function as a fallback that always works.
5890 func_fallback_echo ()
5892 eval 'cat <<_LTECHO_EOF
5894 _LTECHO_EOF'
5896 ECHO='func_fallback_echo'
5899 # func_echo_all arg...
5900 # Invoke $ECHO with all args, space-separated.
5901 func_echo_all ()
5903 $ECHO ""
5906 case "$ECHO" in
5907 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5908 $as_echo "printf" >&6; } ;;
5909 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5910 $as_echo "print -r" >&6; } ;;
5911 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5912 $as_echo "cat" >&6; } ;;
5913 esac
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5929 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5930 if ${ac_cv_path_SED+:} false; then :
5931 $as_echo_n "(cached) " >&6
5932 else
5933 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5934 for ac_i in 1 2 3 4 5 6 7; do
5935 ac_script="$ac_script$as_nl$ac_script"
5936 done
5937 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5938 { ac_script=; unset ac_script;}
5939 if test -z "$SED"; then
5940 ac_path_SED_found=false
5941 # Loop through the user's path and test for each of PROGNAME-LIST
5942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5943 for as_dir in $PATH
5945 IFS=$as_save_IFS
5946 test -z "$as_dir" && as_dir=.
5947 for ac_prog in sed gsed; do
5948 for ac_exec_ext in '' $ac_executable_extensions; do
5949 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5950 as_fn_executable_p "$ac_path_SED" || continue
5951 # Check for GNU ac_path_SED and select it if it is found.
5952 # Check for GNU $ac_path_SED
5953 case `"$ac_path_SED" --version 2>&1` in
5954 *GNU*)
5955 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5957 ac_count=0
5958 $as_echo_n 0123456789 >"conftest.in"
5959 while :
5961 cat "conftest.in" "conftest.in" >"conftest.tmp"
5962 mv "conftest.tmp" "conftest.in"
5963 cp "conftest.in" "conftest.nl"
5964 $as_echo '' >> "conftest.nl"
5965 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5966 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5967 as_fn_arith $ac_count + 1 && ac_count=$as_val
5968 if test $ac_count -gt ${ac_path_SED_max-0}; then
5969 # Best one so far, save it but keep looking for a better one
5970 ac_cv_path_SED="$ac_path_SED"
5971 ac_path_SED_max=$ac_count
5973 # 10*(2^10) chars as input seems more than enough
5974 test $ac_count -gt 10 && break
5975 done
5976 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5977 esac
5979 $ac_path_SED_found && break 3
5980 done
5981 done
5982 done
5983 IFS=$as_save_IFS
5984 if test -z "$ac_cv_path_SED"; then
5985 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5987 else
5988 ac_cv_path_SED=$SED
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5993 $as_echo "$ac_cv_path_SED" >&6; }
5994 SED="$ac_cv_path_SED"
5995 rm -f conftest.sed
5997 test -z "$SED" && SED=sed
5998 Xsed="$SED -e 1s/^X//"
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6011 $as_echo_n "checking for fgrep... " >&6; }
6012 if ${ac_cv_path_FGREP+:} false; then :
6013 $as_echo_n "(cached) " >&6
6014 else
6015 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6016 then ac_cv_path_FGREP="$GREP -F"
6017 else
6018 if test -z "$FGREP"; then
6019 ac_path_FGREP_found=false
6020 # Loop through the user's path and test for each of PROGNAME-LIST
6021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6022 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6024 IFS=$as_save_IFS
6025 test -z "$as_dir" && as_dir=.
6026 for ac_prog in fgrep; do
6027 for ac_exec_ext in '' $ac_executable_extensions; do
6028 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6029 as_fn_executable_p "$ac_path_FGREP" || continue
6030 # Check for GNU ac_path_FGREP and select it if it is found.
6031 # Check for GNU $ac_path_FGREP
6032 case `"$ac_path_FGREP" --version 2>&1` in
6033 *GNU*)
6034 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6036 ac_count=0
6037 $as_echo_n 0123456789 >"conftest.in"
6038 while :
6040 cat "conftest.in" "conftest.in" >"conftest.tmp"
6041 mv "conftest.tmp" "conftest.in"
6042 cp "conftest.in" "conftest.nl"
6043 $as_echo 'FGREP' >> "conftest.nl"
6044 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6045 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6046 as_fn_arith $ac_count + 1 && ac_count=$as_val
6047 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6048 # Best one so far, save it but keep looking for a better one
6049 ac_cv_path_FGREP="$ac_path_FGREP"
6050 ac_path_FGREP_max=$ac_count
6052 # 10*(2^10) chars as input seems more than enough
6053 test $ac_count -gt 10 && break
6054 done
6055 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6056 esac
6058 $ac_path_FGREP_found && break 3
6059 done
6060 done
6061 done
6062 IFS=$as_save_IFS
6063 if test -z "$ac_cv_path_FGREP"; then
6064 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6066 else
6067 ac_cv_path_FGREP=$FGREP
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6073 $as_echo "$ac_cv_path_FGREP" >&6; }
6074 FGREP="$ac_cv_path_FGREP"
6077 test -z "$GREP" && GREP=grep
6097 # Check whether --with-gnu-ld was given.
6098 if test "${with_gnu_ld+set}" = set; then :
6099 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6100 else
6101 with_gnu_ld=no
6104 ac_prog=ld
6105 if test "$GCC" = yes; then
6106 # Check if gcc -print-prog-name=ld gives a path.
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6108 $as_echo_n "checking for ld used by $CC... " >&6; }
6109 case $host in
6110 *-*-mingw*)
6111 # gcc leaves a trailing carriage return which upsets mingw
6112 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6114 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6115 esac
6116 case $ac_prog in
6117 # Accept absolute paths.
6118 [\\/]* | ?:[\\/]*)
6119 re_direlt='/[^/][^/]*/\.\./'
6120 # Canonicalize the pathname of ld
6121 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6122 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6123 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6124 done
6125 test -z "$LD" && LD="$ac_prog"
6128 # If it fails, then pretend we aren't using GCC.
6129 ac_prog=ld
6132 # If it is relative, then search for the first ld in PATH.
6133 with_gnu_ld=unknown
6135 esac
6136 elif test "$with_gnu_ld" = yes; then
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6138 $as_echo_n "checking for GNU ld... " >&6; }
6139 else
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6141 $as_echo_n "checking for non-GNU ld... " >&6; }
6143 if ${lt_cv_path_LD+:} false; then :
6144 $as_echo_n "(cached) " >&6
6145 else
6146 if test -z "$LD"; then
6147 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6148 for ac_dir in $PATH; do
6149 IFS="$lt_save_ifs"
6150 test -z "$ac_dir" && ac_dir=.
6151 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6152 lt_cv_path_LD="$ac_dir/$ac_prog"
6153 # Check to see if the program is GNU ld. I'd rather use --version,
6154 # but apparently some variants of GNU ld only accept -v.
6155 # Break only if it was the GNU/non-GNU ld that we prefer.
6156 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6157 *GNU* | *'with BFD'*)
6158 test "$with_gnu_ld" != no && break
6161 test "$with_gnu_ld" != yes && break
6163 esac
6165 done
6166 IFS="$lt_save_ifs"
6167 else
6168 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6172 LD="$lt_cv_path_LD"
6173 if test -n "$LD"; then
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6175 $as_echo "$LD" >&6; }
6176 else
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6178 $as_echo "no" >&6; }
6180 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6182 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6183 if ${lt_cv_prog_gnu_ld+:} false; then :
6184 $as_echo_n "(cached) " >&6
6185 else
6186 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6187 case `$LD -v 2>&1 </dev/null` in
6188 *GNU* | *'with BFD'*)
6189 lt_cv_prog_gnu_ld=yes
6192 lt_cv_prog_gnu_ld=no
6194 esac
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6197 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6198 with_gnu_ld=$lt_cv_prog_gnu_ld
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6209 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6210 if ${lt_cv_path_NM+:} false; then :
6211 $as_echo_n "(cached) " >&6
6212 else
6213 if test -n "$NM"; then
6214 # Let the user override the test.
6215 lt_cv_path_NM="$NM"
6216 else
6217 lt_nm_to_check="${ac_tool_prefix}nm"
6218 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6219 lt_nm_to_check="$lt_nm_to_check nm"
6221 for lt_tmp_nm in $lt_nm_to_check; do
6222 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6223 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6224 IFS="$lt_save_ifs"
6225 test -z "$ac_dir" && ac_dir=.
6226 tmp_nm="$ac_dir/$lt_tmp_nm"
6227 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6228 # Check to see if the nm accepts a BSD-compat flag.
6229 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6230 # nm: unknown option "B" ignored
6231 # Tru64's nm complains that /dev/null is an invalid object file
6232 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6233 */dev/null* | *'Invalid file or object type'*)
6234 lt_cv_path_NM="$tmp_nm -B"
6235 break
6238 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6239 */dev/null*)
6240 lt_cv_path_NM="$tmp_nm -p"
6241 break
6244 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6245 continue # so that we can try to find one that supports BSD flags
6247 esac
6249 esac
6251 done
6252 IFS="$lt_save_ifs"
6253 done
6254 : ${lt_cv_path_NM=no}
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6258 $as_echo "$lt_cv_path_NM" >&6; }
6259 if test "$lt_cv_path_NM" != "no"; then
6260 NM="$lt_cv_path_NM"
6261 else
6262 # Didn't find any BSD compatible name lister, look for dumpbin.
6263 if test -n "$DUMPBIN"; then :
6264 # Let the user override the test.
6265 else
6266 if test -n "$ac_tool_prefix"; then
6267 for ac_prog in dumpbin "link -dump"
6269 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6270 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6272 $as_echo_n "checking for $ac_word... " >&6; }
6273 if ${ac_cv_prog_DUMPBIN+:} false; then :
6274 $as_echo_n "(cached) " >&6
6275 else
6276 if test -n "$DUMPBIN"; then
6277 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6278 else
6279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6280 for as_dir in $PATH
6282 IFS=$as_save_IFS
6283 test -z "$as_dir" && as_dir=.
6284 for ac_exec_ext in '' $ac_executable_extensions; do
6285 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6286 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6288 break 2
6290 done
6291 done
6292 IFS=$as_save_IFS
6296 DUMPBIN=$ac_cv_prog_DUMPBIN
6297 if test -n "$DUMPBIN"; then
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6299 $as_echo "$DUMPBIN" >&6; }
6300 else
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6302 $as_echo "no" >&6; }
6306 test -n "$DUMPBIN" && break
6307 done
6309 if test -z "$DUMPBIN"; then
6310 ac_ct_DUMPBIN=$DUMPBIN
6311 for ac_prog in dumpbin "link -dump"
6313 # Extract the first word of "$ac_prog", so it can be a program name with args.
6314 set dummy $ac_prog; ac_word=$2
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6316 $as_echo_n "checking for $ac_word... " >&6; }
6317 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6318 $as_echo_n "(cached) " >&6
6319 else
6320 if test -n "$ac_ct_DUMPBIN"; then
6321 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6322 else
6323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6324 for as_dir in $PATH
6326 IFS=$as_save_IFS
6327 test -z "$as_dir" && as_dir=.
6328 for ac_exec_ext in '' $ac_executable_extensions; do
6329 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6330 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6332 break 2
6334 done
6335 done
6336 IFS=$as_save_IFS
6340 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6341 if test -n "$ac_ct_DUMPBIN"; then
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6343 $as_echo "$ac_ct_DUMPBIN" >&6; }
6344 else
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6346 $as_echo "no" >&6; }
6350 test -n "$ac_ct_DUMPBIN" && break
6351 done
6353 if test "x$ac_ct_DUMPBIN" = x; then
6354 DUMPBIN=":"
6355 else
6356 case $cross_compiling:$ac_tool_warned in
6357 yes:)
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6359 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6360 ac_tool_warned=yes ;;
6361 esac
6362 DUMPBIN=$ac_ct_DUMPBIN
6366 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6367 *COFF*)
6368 DUMPBIN="$DUMPBIN -symbols"
6371 DUMPBIN=:
6373 esac
6376 if test "$DUMPBIN" != ":"; then
6377 NM="$DUMPBIN"
6380 test -z "$NM" && NM=nm
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6388 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6389 if ${lt_cv_nm_interface+:} false; then :
6390 $as_echo_n "(cached) " >&6
6391 else
6392 lt_cv_nm_interface="BSD nm"
6393 echo "int some_variable = 0;" > conftest.$ac_ext
6394 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6395 (eval "$ac_compile" 2>conftest.err)
6396 cat conftest.err >&5
6397 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6398 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6399 cat conftest.err >&5
6400 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6401 cat conftest.out >&5
6402 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6403 lt_cv_nm_interface="MS dumpbin"
6405 rm -f conftest*
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6408 $as_echo "$lt_cv_nm_interface" >&6; }
6410 # find the maximum length of command line arguments
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6412 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6413 if ${lt_cv_sys_max_cmd_len+:} false; then :
6414 $as_echo_n "(cached) " >&6
6415 else
6417 teststring="ABCD"
6419 case $build_os in
6420 msdosdjgpp*)
6421 # On DJGPP, this test can blow up pretty badly due to problems in libc
6422 # (any single argument exceeding 2000 bytes causes a buffer overrun
6423 # during glob expansion). Even if it were fixed, the result of this
6424 # check would be larger than it should be.
6425 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6428 gnu*)
6429 # Under GNU Hurd, this test is not required because there is
6430 # no limit to the length of command line arguments.
6431 # Libtool will interpret -1 as no limit whatsoever
6432 lt_cv_sys_max_cmd_len=-1;
6435 cygwin* | mingw* | cegcc*)
6436 # On Win9x/ME, this test blows up -- it succeeds, but takes
6437 # about 5 minutes as the teststring grows exponentially.
6438 # Worse, since 9x/ME are not pre-emptively multitasking,
6439 # you end up with a "frozen" computer, even though with patience
6440 # the test eventually succeeds (with a max line length of 256k).
6441 # Instead, let's just punt: use the minimum linelength reported by
6442 # all of the supported platforms: 8192 (on NT/2K/XP).
6443 lt_cv_sys_max_cmd_len=8192;
6446 mint*)
6447 # On MiNT this can take a long time and run out of memory.
6448 lt_cv_sys_max_cmd_len=8192;
6451 amigaos*)
6452 # On AmigaOS with pdksh, this test takes hours, literally.
6453 # So we just punt and use a minimum line length of 8192.
6454 lt_cv_sys_max_cmd_len=8192;
6457 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6458 # This has been around since 386BSD, at least. Likely further.
6459 if test -x /sbin/sysctl; then
6460 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6461 elif test -x /usr/sbin/sysctl; then
6462 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6463 else
6464 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6466 # And add a safety zone
6467 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6468 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6471 interix*)
6472 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6473 lt_cv_sys_max_cmd_len=196608
6476 osf*)
6477 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6478 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6479 # nice to cause kernel panics so lets avoid the loop below.
6480 # First set a reasonable default.
6481 lt_cv_sys_max_cmd_len=16384
6483 if test -x /sbin/sysconfig; then
6484 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6485 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6486 esac
6489 sco3.2v5*)
6490 lt_cv_sys_max_cmd_len=102400
6492 sysv5* | sco5v6* | sysv4.2uw2*)
6493 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6494 if test -n "$kargmax"; then
6495 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6496 else
6497 lt_cv_sys_max_cmd_len=32768
6501 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6502 if test -n "$lt_cv_sys_max_cmd_len"; then
6503 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6504 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6505 else
6506 # Make teststring a little bigger before we do anything with it.
6507 # a 1K string should be a reasonable start.
6508 for i in 1 2 3 4 5 6 7 8 ; do
6509 teststring=$teststring$teststring
6510 done
6511 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6512 # If test is not a shell built-in, we'll probably end up computing a
6513 # maximum length that is only half of the actual maximum length, but
6514 # we can't tell.
6515 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6516 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6517 test $i != 17 # 1/2 MB should be enough
6519 i=`expr $i + 1`
6520 teststring=$teststring$teststring
6521 done
6522 # Only check the string length outside the loop.
6523 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6524 teststring=
6525 # Add a significant safety factor because C++ compilers can tack on
6526 # massive amounts of additional arguments before passing them to the
6527 # linker. It appears as though 1/2 is a usable value.
6528 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6531 esac
6535 if test -n $lt_cv_sys_max_cmd_len ; then
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6537 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6538 else
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6540 $as_echo "none" >&6; }
6542 max_cmd_len=$lt_cv_sys_max_cmd_len
6549 : ${CP="cp -f"}
6550 : ${MV="mv -f"}
6551 : ${RM="rm -f"}
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6554 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6555 # Try some XSI features
6556 xsi_shell=no
6557 ( _lt_dummy="a/b/c"
6558 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6559 = c,a/b,, \
6560 && eval 'test $(( 1 + 1 )) -eq 2 \
6561 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6562 && xsi_shell=yes
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6564 $as_echo "$xsi_shell" >&6; }
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6568 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6569 lt_shell_append=no
6570 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6571 >/dev/null 2>&1 \
6572 && lt_shell_append=yes
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6574 $as_echo "$lt_shell_append" >&6; }
6577 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6578 lt_unset=unset
6579 else
6580 lt_unset=false
6587 # test EBCDIC or ASCII
6588 case `echo X|tr X '\101'` in
6589 A) # ASCII based system
6590 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6591 lt_SP2NL='tr \040 \012'
6592 lt_NL2SP='tr \015\012 \040\040'
6594 *) # EBCDIC based system
6595 lt_SP2NL='tr \100 \n'
6596 lt_NL2SP='tr \r\n \100\100'
6598 esac
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6609 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6610 if ${lt_cv_ld_reload_flag+:} false; then :
6611 $as_echo_n "(cached) " >&6
6612 else
6613 lt_cv_ld_reload_flag='-r'
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6616 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6617 reload_flag=$lt_cv_ld_reload_flag
6618 case $reload_flag in
6619 "" | " "*) ;;
6620 *) reload_flag=" $reload_flag" ;;
6621 esac
6622 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6623 case $host_os in
6624 darwin*)
6625 if test "$GCC" = yes; then
6626 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6627 else
6628 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6631 esac
6641 if test -n "$ac_tool_prefix"; then
6642 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6643 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6645 $as_echo_n "checking for $ac_word... " >&6; }
6646 if ${ac_cv_prog_OBJDUMP+:} false; then :
6647 $as_echo_n "(cached) " >&6
6648 else
6649 if test -n "$OBJDUMP"; then
6650 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6651 else
6652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6653 for as_dir in $PATH
6655 IFS=$as_save_IFS
6656 test -z "$as_dir" && as_dir=.
6657 for ac_exec_ext in '' $ac_executable_extensions; do
6658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6659 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6661 break 2
6663 done
6664 done
6665 IFS=$as_save_IFS
6669 OBJDUMP=$ac_cv_prog_OBJDUMP
6670 if test -n "$OBJDUMP"; then
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6672 $as_echo "$OBJDUMP" >&6; }
6673 else
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6675 $as_echo "no" >&6; }
6680 if test -z "$ac_cv_prog_OBJDUMP"; then
6681 ac_ct_OBJDUMP=$OBJDUMP
6682 # Extract the first word of "objdump", so it can be a program name with args.
6683 set dummy objdump; ac_word=$2
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6685 $as_echo_n "checking for $ac_word... " >&6; }
6686 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6687 $as_echo_n "(cached) " >&6
6688 else
6689 if test -n "$ac_ct_OBJDUMP"; then
6690 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6691 else
6692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6693 for as_dir in $PATH
6695 IFS=$as_save_IFS
6696 test -z "$as_dir" && as_dir=.
6697 for ac_exec_ext in '' $ac_executable_extensions; do
6698 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6699 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6701 break 2
6703 done
6704 done
6705 IFS=$as_save_IFS
6709 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6710 if test -n "$ac_ct_OBJDUMP"; then
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6712 $as_echo "$ac_ct_OBJDUMP" >&6; }
6713 else
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6715 $as_echo "no" >&6; }
6718 if test "x$ac_ct_OBJDUMP" = x; then
6719 OBJDUMP="false"
6720 else
6721 case $cross_compiling:$ac_tool_warned in
6722 yes:)
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6724 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6725 ac_tool_warned=yes ;;
6726 esac
6727 OBJDUMP=$ac_ct_OBJDUMP
6729 else
6730 OBJDUMP="$ac_cv_prog_OBJDUMP"
6733 test -z "$OBJDUMP" && OBJDUMP=objdump
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6744 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6745 if ${lt_cv_deplibs_check_method+:} false; then :
6746 $as_echo_n "(cached) " >&6
6747 else
6748 lt_cv_file_magic_cmd='$MAGIC_CMD'
6749 lt_cv_file_magic_test_file=
6750 lt_cv_deplibs_check_method='unknown'
6751 # Need to set the preceding variable on all platforms that support
6752 # interlibrary dependencies.
6753 # 'none' -- dependencies not supported.
6754 # `unknown' -- same as none, but documents that we really don't know.
6755 # 'pass_all' -- all dependencies passed with no checks.
6756 # 'test_compile' -- check by making test program.
6757 # 'file_magic [[regex]]' -- check by looking for files in library path
6758 # which responds to the $file_magic_cmd with a given extended regex.
6759 # If you have `file' or equivalent on your system and you're not sure
6760 # whether `pass_all' will *always* work, you probably want this one.
6762 case $host_os in
6763 aix[4-9]*)
6764 lt_cv_deplibs_check_method=pass_all
6767 beos*)
6768 lt_cv_deplibs_check_method=pass_all
6771 bsdi[45]*)
6772 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6773 lt_cv_file_magic_cmd='/usr/bin/file -L'
6774 lt_cv_file_magic_test_file=/shlib/libc.so
6777 cygwin*)
6778 # func_win32_libid is a shell function defined in ltmain.sh
6779 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6780 lt_cv_file_magic_cmd='func_win32_libid'
6783 mingw* | pw32*)
6784 # Base MSYS/MinGW do not provide the 'file' command needed by
6785 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6786 # unless we find 'file', for example because we are cross-compiling.
6787 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6788 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6789 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6790 lt_cv_file_magic_cmd='func_win32_libid'
6791 else
6792 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6793 lt_cv_file_magic_cmd='$OBJDUMP -f'
6797 cegcc*)
6798 # use the weaker test based on 'objdump'. See mingw*.
6799 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6800 lt_cv_file_magic_cmd='$OBJDUMP -f'
6803 darwin* | rhapsody*)
6804 lt_cv_deplibs_check_method=pass_all
6807 freebsd* | dragonfly*)
6808 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6809 case $host_cpu in
6810 i*86 )
6811 # Not sure whether the presence of OpenBSD here was a mistake.
6812 # Let's accept both of them until this is cleared up.
6813 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6814 lt_cv_file_magic_cmd=/usr/bin/file
6815 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6817 esac
6818 else
6819 lt_cv_deplibs_check_method=pass_all
6823 gnu*)
6824 lt_cv_deplibs_check_method=pass_all
6827 haiku*)
6828 lt_cv_deplibs_check_method=pass_all
6831 hpux10.20* | hpux11*)
6832 lt_cv_file_magic_cmd=/usr/bin/file
6833 case $host_cpu in
6834 ia64*)
6835 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6836 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6838 hppa*64*)
6839 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]'
6840 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6843 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6844 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6846 esac
6849 interix[3-9]*)
6850 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6851 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6854 irix5* | irix6* | nonstopux*)
6855 case $LD in
6856 *-32|*"-32 ") libmagic=32-bit;;
6857 *-n32|*"-n32 ") libmagic=N32;;
6858 *-64|*"-64 ") libmagic=64-bit;;
6859 *) libmagic=never-match;;
6860 esac
6861 lt_cv_deplibs_check_method=pass_all
6864 # This must be Linux ELF.
6865 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
6866 lt_cv_deplibs_check_method=pass_all
6869 netbsd*)
6870 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6871 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6872 else
6873 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6877 newos6*)
6878 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6879 lt_cv_file_magic_cmd=/usr/bin/file
6880 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6883 *nto* | *qnx*)
6884 lt_cv_deplibs_check_method=pass_all
6887 openbsd*)
6888 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6889 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6890 else
6891 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6895 osf3* | osf4* | osf5*)
6896 lt_cv_deplibs_check_method=pass_all
6899 rdos*)
6900 lt_cv_deplibs_check_method=pass_all
6903 solaris*)
6904 lt_cv_deplibs_check_method=pass_all
6907 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6908 lt_cv_deplibs_check_method=pass_all
6911 sysv4 | sysv4.3*)
6912 case $host_vendor in
6913 motorola)
6914 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]'
6915 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6917 ncr)
6918 lt_cv_deplibs_check_method=pass_all
6920 sequent)
6921 lt_cv_file_magic_cmd='/bin/file'
6922 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6924 sni)
6925 lt_cv_file_magic_cmd='/bin/file'
6926 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6927 lt_cv_file_magic_test_file=/lib/libc.so
6929 siemens)
6930 lt_cv_deplibs_check_method=pass_all
6933 lt_cv_deplibs_check_method=pass_all
6935 esac
6938 tpf*)
6939 lt_cv_deplibs_check_method=pass_all
6941 esac
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6945 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6946 file_magic_cmd=$lt_cv_file_magic_cmd
6947 deplibs_check_method=$lt_cv_deplibs_check_method
6948 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6961 if test -n "$ac_tool_prefix"; then
6962 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6963 set dummy ${ac_tool_prefix}ar; ac_word=$2
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6965 $as_echo_n "checking for $ac_word... " >&6; }
6966 if ${ac_cv_prog_AR+:} false; then :
6967 $as_echo_n "(cached) " >&6
6968 else
6969 if test -n "$AR"; then
6970 ac_cv_prog_AR="$AR" # Let the user override the test.
6971 else
6972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6973 for as_dir in $PATH
6975 IFS=$as_save_IFS
6976 test -z "$as_dir" && as_dir=.
6977 for ac_exec_ext in '' $ac_executable_extensions; do
6978 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6979 ac_cv_prog_AR="${ac_tool_prefix}ar"
6980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6981 break 2
6983 done
6984 done
6985 IFS=$as_save_IFS
6989 AR=$ac_cv_prog_AR
6990 if test -n "$AR"; then
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6992 $as_echo "$AR" >&6; }
6993 else
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6995 $as_echo "no" >&6; }
7000 if test -z "$ac_cv_prog_AR"; then
7001 ac_ct_AR=$AR
7002 # Extract the first word of "ar", so it can be a program name with args.
7003 set dummy ar; ac_word=$2
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7005 $as_echo_n "checking for $ac_word... " >&6; }
7006 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7007 $as_echo_n "(cached) " >&6
7008 else
7009 if test -n "$ac_ct_AR"; then
7010 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7011 else
7012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7013 for as_dir in $PATH
7015 IFS=$as_save_IFS
7016 test -z "$as_dir" && as_dir=.
7017 for ac_exec_ext in '' $ac_executable_extensions; do
7018 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7019 ac_cv_prog_ac_ct_AR="ar"
7020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7021 break 2
7023 done
7024 done
7025 IFS=$as_save_IFS
7029 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7030 if test -n "$ac_ct_AR"; then
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7032 $as_echo "$ac_ct_AR" >&6; }
7033 else
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7035 $as_echo "no" >&6; }
7038 if test "x$ac_ct_AR" = x; then
7039 AR="false"
7040 else
7041 case $cross_compiling:$ac_tool_warned in
7042 yes:)
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7044 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7045 ac_tool_warned=yes ;;
7046 esac
7047 AR=$ac_ct_AR
7049 else
7050 AR="$ac_cv_prog_AR"
7053 test -z "$AR" && AR=ar
7054 test -z "$AR_FLAGS" && AR_FLAGS=cru
7066 if test -n "$ac_tool_prefix"; then
7067 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7068 set dummy ${ac_tool_prefix}strip; ac_word=$2
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7070 $as_echo_n "checking for $ac_word... " >&6; }
7071 if ${ac_cv_prog_STRIP+:} false; then :
7072 $as_echo_n "(cached) " >&6
7073 else
7074 if test -n "$STRIP"; then
7075 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7076 else
7077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7078 for as_dir in $PATH
7080 IFS=$as_save_IFS
7081 test -z "$as_dir" && as_dir=.
7082 for ac_exec_ext in '' $ac_executable_extensions; do
7083 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7084 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7086 break 2
7088 done
7089 done
7090 IFS=$as_save_IFS
7094 STRIP=$ac_cv_prog_STRIP
7095 if test -n "$STRIP"; then
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7097 $as_echo "$STRIP" >&6; }
7098 else
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7100 $as_echo "no" >&6; }
7105 if test -z "$ac_cv_prog_STRIP"; then
7106 ac_ct_STRIP=$STRIP
7107 # Extract the first word of "strip", so it can be a program name with args.
7108 set dummy strip; ac_word=$2
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7110 $as_echo_n "checking for $ac_word... " >&6; }
7111 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7112 $as_echo_n "(cached) " >&6
7113 else
7114 if test -n "$ac_ct_STRIP"; then
7115 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7116 else
7117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7118 for as_dir in $PATH
7120 IFS=$as_save_IFS
7121 test -z "$as_dir" && as_dir=.
7122 for ac_exec_ext in '' $ac_executable_extensions; do
7123 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7124 ac_cv_prog_ac_ct_STRIP="strip"
7125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7126 break 2
7128 done
7129 done
7130 IFS=$as_save_IFS
7134 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7135 if test -n "$ac_ct_STRIP"; then
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7137 $as_echo "$ac_ct_STRIP" >&6; }
7138 else
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7140 $as_echo "no" >&6; }
7143 if test "x$ac_ct_STRIP" = x; then
7144 STRIP=":"
7145 else
7146 case $cross_compiling:$ac_tool_warned in
7147 yes:)
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7149 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7150 ac_tool_warned=yes ;;
7151 esac
7152 STRIP=$ac_ct_STRIP
7154 else
7155 STRIP="$ac_cv_prog_STRIP"
7158 test -z "$STRIP" && STRIP=:
7165 if test -n "$ac_tool_prefix"; then
7166 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7167 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7169 $as_echo_n "checking for $ac_word... " >&6; }
7170 if ${ac_cv_prog_RANLIB+:} false; then :
7171 $as_echo_n "(cached) " >&6
7172 else
7173 if test -n "$RANLIB"; then
7174 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7175 else
7176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7177 for as_dir in $PATH
7179 IFS=$as_save_IFS
7180 test -z "$as_dir" && as_dir=.
7181 for ac_exec_ext in '' $ac_executable_extensions; do
7182 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7183 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7185 break 2
7187 done
7188 done
7189 IFS=$as_save_IFS
7193 RANLIB=$ac_cv_prog_RANLIB
7194 if test -n "$RANLIB"; then
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7196 $as_echo "$RANLIB" >&6; }
7197 else
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7199 $as_echo "no" >&6; }
7204 if test -z "$ac_cv_prog_RANLIB"; then
7205 ac_ct_RANLIB=$RANLIB
7206 # Extract the first word of "ranlib", so it can be a program name with args.
7207 set dummy ranlib; ac_word=$2
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7209 $as_echo_n "checking for $ac_word... " >&6; }
7210 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7211 $as_echo_n "(cached) " >&6
7212 else
7213 if test -n "$ac_ct_RANLIB"; then
7214 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7215 else
7216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7217 for as_dir in $PATH
7219 IFS=$as_save_IFS
7220 test -z "$as_dir" && as_dir=.
7221 for ac_exec_ext in '' $ac_executable_extensions; do
7222 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7223 ac_cv_prog_ac_ct_RANLIB="ranlib"
7224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7225 break 2
7227 done
7228 done
7229 IFS=$as_save_IFS
7233 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7234 if test -n "$ac_ct_RANLIB"; then
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7236 $as_echo "$ac_ct_RANLIB" >&6; }
7237 else
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7239 $as_echo "no" >&6; }
7242 if test "x$ac_ct_RANLIB" = x; then
7243 RANLIB=":"
7244 else
7245 case $cross_compiling:$ac_tool_warned in
7246 yes:)
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7248 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7249 ac_tool_warned=yes ;;
7250 esac
7251 RANLIB=$ac_ct_RANLIB
7253 else
7254 RANLIB="$ac_cv_prog_RANLIB"
7257 test -z "$RANLIB" && RANLIB=:
7264 # Determine commands to create old-style static archives.
7265 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7266 old_postinstall_cmds='chmod 644 $oldlib'
7267 old_postuninstall_cmds=
7269 if test -n "$RANLIB"; then
7270 case $host_os in
7271 openbsd*)
7272 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7275 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7277 esac
7278 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7281 case $host_os in
7282 darwin*)
7283 lock_old_archive_extraction=yes ;;
7285 lock_old_archive_extraction=no ;;
7286 esac
7326 # If no C compiler was specified, use CC.
7327 LTCC=${LTCC-"$CC"}
7329 # If no C compiler flags were specified, use CFLAGS.
7330 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7332 # Allow CC to be a program name with arguments.
7333 compiler=$CC
7336 # Check for command to grab the raw symbol name followed by C symbol from nm.
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7338 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7339 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7340 $as_echo_n "(cached) " >&6
7341 else
7343 # These are sane defaults that work on at least a few old systems.
7344 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7346 # Character class describing NM global symbol codes.
7347 symcode='[BCDEGRST]'
7349 # Regexp to match symbols that can be accessed directly from C.
7350 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7352 # Define system-specific variables.
7353 case $host_os in
7354 aix*)
7355 symcode='[BCDT]'
7357 cygwin* | mingw* | pw32* | cegcc*)
7358 symcode='[ABCDGISTW]'
7360 hpux*)
7361 if test "$host_cpu" = ia64; then
7362 symcode='[ABCDEGRST]'
7365 irix* | nonstopux*)
7366 symcode='[BCDEGRST]'
7368 osf*)
7369 symcode='[BCDEGQRST]'
7371 solaris*)
7372 symcode='[BDRT]'
7374 sco3.2v5*)
7375 symcode='[DT]'
7377 sysv4.2uw2*)
7378 symcode='[DT]'
7380 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7381 symcode='[ABDT]'
7383 sysv4)
7384 symcode='[DFNSTU]'
7386 esac
7388 # If we're using GNU nm, then use its standard symbol codes.
7389 case `$NM -V 2>&1` in
7390 *GNU* | *'with BFD'*)
7391 symcode='[ABCDGIRSTW]' ;;
7392 esac
7394 # Transform an extracted symbol line into a proper C declaration.
7395 # Some systems (esp. on ia64) link data and code symbols differently,
7396 # so use this general approach.
7397 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7399 # Transform an extracted symbol line into symbol name and symbol address
7400 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7401 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'"
7403 # Handle CRLF in mingw tool chain
7404 opt_cr=
7405 case $build_os in
7406 mingw*)
7407 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7409 esac
7411 # Try without a prefix underscore, then with it.
7412 for ac_symprfx in "" "_"; do
7414 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7415 symxfrm="\\1 $ac_symprfx\\2 \\2"
7417 # Write the raw and C identifiers.
7418 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7419 # Fake it for dumpbin and say T for any non-static function
7420 # and D for any global variable.
7421 # Also find C++ and __fastcall symbols from MSVC++,
7422 # which start with @ or ?.
7423 lt_cv_sys_global_symbol_pipe="$AWK '"\
7424 " {last_section=section; section=\$ 3};"\
7425 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7426 " \$ 0!~/External *\|/{next};"\
7427 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7428 " {if(hide[section]) next};"\
7429 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7430 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7431 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7432 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7433 " ' prfx=^$ac_symprfx"
7434 else
7435 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7438 # Check to see that the pipe works correctly.
7439 pipe_works=no
7441 rm -f conftest*
7442 cat > conftest.$ac_ext <<_LT_EOF
7443 #ifdef __cplusplus
7444 extern "C" {
7445 #endif
7446 char nm_test_var;
7447 void nm_test_func(void);
7448 void nm_test_func(void){}
7449 #ifdef __cplusplus
7451 #endif
7452 int main(){nm_test_var='a';nm_test_func();return(0);}
7453 _LT_EOF
7455 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7456 (eval $ac_compile) 2>&5
7457 ac_status=$?
7458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7459 test $ac_status = 0; }; then
7460 # Now try to grab the symbols.
7461 nlist=conftest.nm
7462 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7463 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7464 ac_status=$?
7465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7466 test $ac_status = 0; } && test -s "$nlist"; then
7467 # Try sorting and uniquifying the output.
7468 if sort "$nlist" | uniq > "$nlist"T; then
7469 mv -f "$nlist"T "$nlist"
7470 else
7471 rm -f "$nlist"T
7474 # Make sure that we snagged all the symbols we need.
7475 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7476 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7477 cat <<_LT_EOF > conftest.$ac_ext
7478 #ifdef __cplusplus
7479 extern "C" {
7480 #endif
7482 _LT_EOF
7483 # Now generate the symbol file.
7484 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7486 cat <<_LT_EOF >> conftest.$ac_ext
7488 /* The mapping between symbol names and symbols. */
7489 const struct {
7490 const char *name;
7491 void *address;
7493 lt__PROGRAM__LTX_preloaded_symbols[] =
7495 { "@PROGRAM@", (void *) 0 },
7496 _LT_EOF
7497 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7498 cat <<\_LT_EOF >> conftest.$ac_ext
7499 {0, (void *) 0}
7502 /* This works around a problem in FreeBSD linker */
7503 #ifdef FREEBSD_WORKAROUND
7504 static const void *lt_preloaded_setup() {
7505 return lt__PROGRAM__LTX_preloaded_symbols;
7507 #endif
7509 #ifdef __cplusplus
7511 #endif
7512 _LT_EOF
7513 # Now try linking the two files.
7514 mv conftest.$ac_objext conftstm.$ac_objext
7515 lt_save_LIBS="$LIBS"
7516 lt_save_CFLAGS="$CFLAGS"
7517 LIBS="conftstm.$ac_objext"
7518 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7519 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7520 (eval $ac_link) 2>&5
7521 ac_status=$?
7522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7523 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7524 pipe_works=yes
7526 LIBS="$lt_save_LIBS"
7527 CFLAGS="$lt_save_CFLAGS"
7528 else
7529 echo "cannot find nm_test_func in $nlist" >&5
7531 else
7532 echo "cannot find nm_test_var in $nlist" >&5
7534 else
7535 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7537 else
7538 echo "$progname: failed program was:" >&5
7539 cat conftest.$ac_ext >&5
7541 rm -rf conftest* conftst*
7543 # Do not use the global_symbol_pipe unless it works.
7544 if test "$pipe_works" = yes; then
7545 break
7546 else
7547 lt_cv_sys_global_symbol_pipe=
7549 done
7553 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7554 lt_cv_sys_global_symbol_to_cdecl=
7556 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7558 $as_echo "failed" >&6; }
7559 else
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7561 $as_echo "ok" >&6; }
7585 # Check whether --enable-libtool-lock was given.
7586 if test "${enable_libtool_lock+set}" = set; then :
7587 enableval=$enable_libtool_lock;
7590 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7592 # Some flags need to be propagated to the compiler or linker for good
7593 # libtool support.
7594 case $host in
7595 ia64-*-hpux*)
7596 # Find out which ABI we are using.
7597 echo 'int i;' > conftest.$ac_ext
7598 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7599 (eval $ac_compile) 2>&5
7600 ac_status=$?
7601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7602 test $ac_status = 0; }; then
7603 case `/usr/bin/file conftest.$ac_objext` in
7604 *ELF-32*)
7605 HPUX_IA64_MODE="32"
7607 *ELF-64*)
7608 HPUX_IA64_MODE="64"
7610 esac
7612 rm -rf conftest*
7614 *-*-irix6*)
7615 # Find out which ABI we are using.
7616 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7617 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7618 (eval $ac_compile) 2>&5
7619 ac_status=$?
7620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7621 test $ac_status = 0; }; then
7622 if test "$lt_cv_prog_gnu_ld" = yes; then
7623 case `/usr/bin/file conftest.$ac_objext` in
7624 *32-bit*)
7625 LD="${LD-ld} -melf32bsmip"
7627 *N32*)
7628 LD="${LD-ld} -melf32bmipn32"
7630 *64-bit*)
7631 LD="${LD-ld} -melf64bmip"
7633 esac
7634 else
7635 case `/usr/bin/file conftest.$ac_objext` in
7636 *32-bit*)
7637 LD="${LD-ld} -32"
7639 *N32*)
7640 LD="${LD-ld} -n32"
7642 *64-bit*)
7643 LD="${LD-ld} -64"
7645 esac
7648 rm -rf conftest*
7651 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7652 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7653 # Find out which ABI we are using.
7654 echo 'int i;' > conftest.$ac_ext
7655 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7656 (eval $ac_compile) 2>&5
7657 ac_status=$?
7658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7659 test $ac_status = 0; }; then
7660 case `/usr/bin/file conftest.o` in
7661 *32-bit*)
7662 case $host in
7663 x86_64-*kfreebsd*-gnu)
7664 LD="${LD-ld} -m elf_i386_fbsd"
7666 x86_64-*linux*)
7667 case `/usr/bin/file conftest.o` in
7668 *x86-64*)
7669 LD="${LD-ld} -m elf32_x86_64"
7672 LD="${LD-ld} -m elf_i386"
7674 esac
7676 powerpc64le-*linux*)
7677 LD="${LD-ld} -m elf32lppclinux"
7679 powerpc64-*linux*)
7680 LD="${LD-ld} -m elf32ppclinux"
7682 s390x-*linux*)
7683 LD="${LD-ld} -m elf_s390"
7685 sparc64-*linux*)
7686 LD="${LD-ld} -m elf32_sparc"
7688 esac
7690 *64-bit*)
7691 case $host in
7692 x86_64-*kfreebsd*-gnu)
7693 LD="${LD-ld} -m elf_x86_64_fbsd"
7695 x86_64-*linux*)
7696 LD="${LD-ld} -m elf_x86_64"
7698 powerpcle-*linux*)
7699 LD="${LD-ld} -m elf64lppc"
7701 powerpc-*linux*)
7702 LD="${LD-ld} -m elf64ppc"
7704 s390*-*linux*|s390*-*tpf*)
7705 LD="${LD-ld} -m elf64_s390"
7707 sparc*-*linux*)
7708 LD="${LD-ld} -m elf64_sparc"
7710 esac
7712 esac
7714 rm -rf conftest*
7717 *-*-sco3.2v5*)
7718 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7719 SAVE_CFLAGS="$CFLAGS"
7720 CFLAGS="$CFLAGS -belf"
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7722 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7723 if ${lt_cv_cc_needs_belf+:} false; then :
7724 $as_echo_n "(cached) " >&6
7725 else
7726 ac_ext=c
7727 ac_cpp='$CPP $CPPFLAGS'
7728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7732 if test x$gcc_no_link = xyes; then
7733 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7736 /* end confdefs.h. */
7739 main ()
7743 return 0;
7745 _ACEOF
7746 if ac_fn_c_try_link "$LINENO"; then :
7747 lt_cv_cc_needs_belf=yes
7748 else
7749 lt_cv_cc_needs_belf=no
7751 rm -f core conftest.err conftest.$ac_objext \
7752 conftest$ac_exeext conftest.$ac_ext
7753 ac_ext=c
7754 ac_cpp='$CPP $CPPFLAGS'
7755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7761 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7762 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7763 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7764 CFLAGS="$SAVE_CFLAGS"
7767 sparc*-*solaris*)
7768 # Find out which ABI we are using.
7769 echo 'int i;' > conftest.$ac_ext
7770 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7771 (eval $ac_compile) 2>&5
7772 ac_status=$?
7773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7774 test $ac_status = 0; }; then
7775 case `/usr/bin/file conftest.o` in
7776 *64-bit*)
7777 case $lt_cv_prog_gnu_ld in
7778 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7780 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7781 LD="${LD-ld} -64"
7784 esac
7786 esac
7788 rm -rf conftest*
7790 esac
7792 need_locks="$enable_libtool_lock"
7795 case $host_os in
7796 rhapsody* | darwin*)
7797 if test -n "$ac_tool_prefix"; then
7798 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7799 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7801 $as_echo_n "checking for $ac_word... " >&6; }
7802 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7803 $as_echo_n "(cached) " >&6
7804 else
7805 if test -n "$DSYMUTIL"; then
7806 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7807 else
7808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7809 for as_dir in $PATH
7811 IFS=$as_save_IFS
7812 test -z "$as_dir" && as_dir=.
7813 for ac_exec_ext in '' $ac_executable_extensions; do
7814 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7815 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7817 break 2
7819 done
7820 done
7821 IFS=$as_save_IFS
7825 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7826 if test -n "$DSYMUTIL"; then
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7828 $as_echo "$DSYMUTIL" >&6; }
7829 else
7830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7831 $as_echo "no" >&6; }
7836 if test -z "$ac_cv_prog_DSYMUTIL"; then
7837 ac_ct_DSYMUTIL=$DSYMUTIL
7838 # Extract the first word of "dsymutil", so it can be a program name with args.
7839 set dummy dsymutil; ac_word=$2
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7841 $as_echo_n "checking for $ac_word... " >&6; }
7842 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7843 $as_echo_n "(cached) " >&6
7844 else
7845 if test -n "$ac_ct_DSYMUTIL"; then
7846 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7847 else
7848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7849 for as_dir in $PATH
7851 IFS=$as_save_IFS
7852 test -z "$as_dir" && as_dir=.
7853 for ac_exec_ext in '' $ac_executable_extensions; do
7854 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7855 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7857 break 2
7859 done
7860 done
7861 IFS=$as_save_IFS
7865 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7866 if test -n "$ac_ct_DSYMUTIL"; then
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7868 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7869 else
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7871 $as_echo "no" >&6; }
7874 if test "x$ac_ct_DSYMUTIL" = x; then
7875 DSYMUTIL=":"
7876 else
7877 case $cross_compiling:$ac_tool_warned in
7878 yes:)
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7880 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7881 ac_tool_warned=yes ;;
7882 esac
7883 DSYMUTIL=$ac_ct_DSYMUTIL
7885 else
7886 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7889 if test -n "$ac_tool_prefix"; then
7890 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7891 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7893 $as_echo_n "checking for $ac_word... " >&6; }
7894 if ${ac_cv_prog_NMEDIT+:} false; then :
7895 $as_echo_n "(cached) " >&6
7896 else
7897 if test -n "$NMEDIT"; then
7898 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7899 else
7900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7901 for as_dir in $PATH
7903 IFS=$as_save_IFS
7904 test -z "$as_dir" && as_dir=.
7905 for ac_exec_ext in '' $ac_executable_extensions; do
7906 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7907 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7909 break 2
7911 done
7912 done
7913 IFS=$as_save_IFS
7917 NMEDIT=$ac_cv_prog_NMEDIT
7918 if test -n "$NMEDIT"; then
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7920 $as_echo "$NMEDIT" >&6; }
7921 else
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7923 $as_echo "no" >&6; }
7928 if test -z "$ac_cv_prog_NMEDIT"; then
7929 ac_ct_NMEDIT=$NMEDIT
7930 # Extract the first word of "nmedit", so it can be a program name with args.
7931 set dummy nmedit; ac_word=$2
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7933 $as_echo_n "checking for $ac_word... " >&6; }
7934 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7935 $as_echo_n "(cached) " >&6
7936 else
7937 if test -n "$ac_ct_NMEDIT"; then
7938 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7939 else
7940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7941 for as_dir in $PATH
7943 IFS=$as_save_IFS
7944 test -z "$as_dir" && as_dir=.
7945 for ac_exec_ext in '' $ac_executable_extensions; do
7946 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7947 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7949 break 2
7951 done
7952 done
7953 IFS=$as_save_IFS
7957 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7958 if test -n "$ac_ct_NMEDIT"; then
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7960 $as_echo "$ac_ct_NMEDIT" >&6; }
7961 else
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7963 $as_echo "no" >&6; }
7966 if test "x$ac_ct_NMEDIT" = x; then
7967 NMEDIT=":"
7968 else
7969 case $cross_compiling:$ac_tool_warned in
7970 yes:)
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7972 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7973 ac_tool_warned=yes ;;
7974 esac
7975 NMEDIT=$ac_ct_NMEDIT
7977 else
7978 NMEDIT="$ac_cv_prog_NMEDIT"
7981 if test -n "$ac_tool_prefix"; then
7982 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7983 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7985 $as_echo_n "checking for $ac_word... " >&6; }
7986 if ${ac_cv_prog_LIPO+:} false; then :
7987 $as_echo_n "(cached) " >&6
7988 else
7989 if test -n "$LIPO"; then
7990 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7991 else
7992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7993 for as_dir in $PATH
7995 IFS=$as_save_IFS
7996 test -z "$as_dir" && as_dir=.
7997 for ac_exec_ext in '' $ac_executable_extensions; do
7998 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7999 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8001 break 2
8003 done
8004 done
8005 IFS=$as_save_IFS
8009 LIPO=$ac_cv_prog_LIPO
8010 if test -n "$LIPO"; then
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8012 $as_echo "$LIPO" >&6; }
8013 else
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8015 $as_echo "no" >&6; }
8020 if test -z "$ac_cv_prog_LIPO"; then
8021 ac_ct_LIPO=$LIPO
8022 # Extract the first word of "lipo", so it can be a program name with args.
8023 set dummy lipo; ac_word=$2
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8025 $as_echo_n "checking for $ac_word... " >&6; }
8026 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8027 $as_echo_n "(cached) " >&6
8028 else
8029 if test -n "$ac_ct_LIPO"; then
8030 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8031 else
8032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8033 for as_dir in $PATH
8035 IFS=$as_save_IFS
8036 test -z "$as_dir" && as_dir=.
8037 for ac_exec_ext in '' $ac_executable_extensions; do
8038 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8039 ac_cv_prog_ac_ct_LIPO="lipo"
8040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8041 break 2
8043 done
8044 done
8045 IFS=$as_save_IFS
8049 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8050 if test -n "$ac_ct_LIPO"; then
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8052 $as_echo "$ac_ct_LIPO" >&6; }
8053 else
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8055 $as_echo "no" >&6; }
8058 if test "x$ac_ct_LIPO" = x; then
8059 LIPO=":"
8060 else
8061 case $cross_compiling:$ac_tool_warned in
8062 yes:)
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8064 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8065 ac_tool_warned=yes ;;
8066 esac
8067 LIPO=$ac_ct_LIPO
8069 else
8070 LIPO="$ac_cv_prog_LIPO"
8073 if test -n "$ac_tool_prefix"; then
8074 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8075 set dummy ${ac_tool_prefix}otool; ac_word=$2
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8077 $as_echo_n "checking for $ac_word... " >&6; }
8078 if ${ac_cv_prog_OTOOL+:} false; then :
8079 $as_echo_n "(cached) " >&6
8080 else
8081 if test -n "$OTOOL"; then
8082 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8083 else
8084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8085 for as_dir in $PATH
8087 IFS=$as_save_IFS
8088 test -z "$as_dir" && as_dir=.
8089 for ac_exec_ext in '' $ac_executable_extensions; do
8090 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8091 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8093 break 2
8095 done
8096 done
8097 IFS=$as_save_IFS
8101 OTOOL=$ac_cv_prog_OTOOL
8102 if test -n "$OTOOL"; then
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8104 $as_echo "$OTOOL" >&6; }
8105 else
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8107 $as_echo "no" >&6; }
8112 if test -z "$ac_cv_prog_OTOOL"; then
8113 ac_ct_OTOOL=$OTOOL
8114 # Extract the first word of "otool", so it can be a program name with args.
8115 set dummy otool; ac_word=$2
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8117 $as_echo_n "checking for $ac_word... " >&6; }
8118 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8119 $as_echo_n "(cached) " >&6
8120 else
8121 if test -n "$ac_ct_OTOOL"; then
8122 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8123 else
8124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8125 for as_dir in $PATH
8127 IFS=$as_save_IFS
8128 test -z "$as_dir" && as_dir=.
8129 for ac_exec_ext in '' $ac_executable_extensions; do
8130 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8131 ac_cv_prog_ac_ct_OTOOL="otool"
8132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8133 break 2
8135 done
8136 done
8137 IFS=$as_save_IFS
8141 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8142 if test -n "$ac_ct_OTOOL"; then
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8144 $as_echo "$ac_ct_OTOOL" >&6; }
8145 else
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8147 $as_echo "no" >&6; }
8150 if test "x$ac_ct_OTOOL" = x; then
8151 OTOOL=":"
8152 else
8153 case $cross_compiling:$ac_tool_warned in
8154 yes:)
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8156 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8157 ac_tool_warned=yes ;;
8158 esac
8159 OTOOL=$ac_ct_OTOOL
8161 else
8162 OTOOL="$ac_cv_prog_OTOOL"
8165 if test -n "$ac_tool_prefix"; then
8166 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8167 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8169 $as_echo_n "checking for $ac_word... " >&6; }
8170 if ${ac_cv_prog_OTOOL64+:} false; then :
8171 $as_echo_n "(cached) " >&6
8172 else
8173 if test -n "$OTOOL64"; then
8174 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8175 else
8176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8177 for as_dir in $PATH
8179 IFS=$as_save_IFS
8180 test -z "$as_dir" && as_dir=.
8181 for ac_exec_ext in '' $ac_executable_extensions; do
8182 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8183 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8185 break 2
8187 done
8188 done
8189 IFS=$as_save_IFS
8193 OTOOL64=$ac_cv_prog_OTOOL64
8194 if test -n "$OTOOL64"; then
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8196 $as_echo "$OTOOL64" >&6; }
8197 else
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8199 $as_echo "no" >&6; }
8204 if test -z "$ac_cv_prog_OTOOL64"; then
8205 ac_ct_OTOOL64=$OTOOL64
8206 # Extract the first word of "otool64", so it can be a program name with args.
8207 set dummy otool64; ac_word=$2
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8209 $as_echo_n "checking for $ac_word... " >&6; }
8210 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8211 $as_echo_n "(cached) " >&6
8212 else
8213 if test -n "$ac_ct_OTOOL64"; then
8214 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8215 else
8216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8217 for as_dir in $PATH
8219 IFS=$as_save_IFS
8220 test -z "$as_dir" && as_dir=.
8221 for ac_exec_ext in '' $ac_executable_extensions; do
8222 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8223 ac_cv_prog_ac_ct_OTOOL64="otool64"
8224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8225 break 2
8227 done
8228 done
8229 IFS=$as_save_IFS
8233 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8234 if test -n "$ac_ct_OTOOL64"; then
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8236 $as_echo "$ac_ct_OTOOL64" >&6; }
8237 else
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8239 $as_echo "no" >&6; }
8242 if test "x$ac_ct_OTOOL64" = x; then
8243 OTOOL64=":"
8244 else
8245 case $cross_compiling:$ac_tool_warned in
8246 yes:)
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8248 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8249 ac_tool_warned=yes ;;
8250 esac
8251 OTOOL64=$ac_ct_OTOOL64
8253 else
8254 OTOOL64="$ac_cv_prog_OTOOL64"
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8284 $as_echo_n "checking for -single_module linker flag... " >&6; }
8285 if ${lt_cv_apple_cc_single_mod+:} false; then :
8286 $as_echo_n "(cached) " >&6
8287 else
8288 lt_cv_apple_cc_single_mod=no
8289 if test -z "${LT_MULTI_MODULE}"; then
8290 # By default we will add the -single_module flag. You can override
8291 # by either setting the environment variable LT_MULTI_MODULE
8292 # non-empty at configure time, or by adding -multi_module to the
8293 # link flags.
8294 rm -rf libconftest.dylib*
8295 echo "int foo(void){return 1;}" > conftest.c
8296 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8297 -dynamiclib -Wl,-single_module conftest.c" >&5
8298 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8299 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8300 _lt_result=$?
8301 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8302 lt_cv_apple_cc_single_mod=yes
8303 else
8304 cat conftest.err >&5
8306 rm -rf libconftest.dylib*
8307 rm -f conftest.*
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8311 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8313 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8314 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8315 $as_echo_n "(cached) " >&6
8316 else
8317 lt_cv_ld_exported_symbols_list=no
8318 save_LDFLAGS=$LDFLAGS
8319 echo "_main" > conftest.sym
8320 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8321 if test x$gcc_no_link = xyes; then
8322 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8325 /* end confdefs.h. */
8328 main ()
8332 return 0;
8334 _ACEOF
8335 if ac_fn_c_try_link "$LINENO"; then :
8336 lt_cv_ld_exported_symbols_list=yes
8337 else
8338 lt_cv_ld_exported_symbols_list=no
8340 rm -f core conftest.err conftest.$ac_objext \
8341 conftest$ac_exeext conftest.$ac_ext
8342 LDFLAGS="$save_LDFLAGS"
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8346 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8348 $as_echo_n "checking for -force_load linker flag... " >&6; }
8349 if ${lt_cv_ld_force_load+:} false; then :
8350 $as_echo_n "(cached) " >&6
8351 else
8352 lt_cv_ld_force_load=no
8353 cat > conftest.c << _LT_EOF
8354 int forced_loaded() { return 2;}
8355 _LT_EOF
8356 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8357 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8358 echo "$AR cru libconftest.a conftest.o" >&5
8359 $AR cru libconftest.a conftest.o 2>&5
8360 cat > conftest.c << _LT_EOF
8361 int main() { return 0;}
8362 _LT_EOF
8363 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8364 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8365 _lt_result=$?
8366 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8367 lt_cv_ld_force_load=yes
8368 else
8369 cat conftest.err >&5
8371 rm -f conftest.err libconftest.a conftest conftest.c
8372 rm -rf conftest.dSYM
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8376 $as_echo "$lt_cv_ld_force_load" >&6; }
8377 case $host_os in
8378 rhapsody* | darwin1.[012])
8379 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8380 darwin1.*)
8381 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8382 darwin*) # darwin 5.x on
8383 # if running on 10.5 or later, the deployment target defaults
8384 # to the OS version, if on x86, and 10.4, the deployment
8385 # target defaults to 10.4. Don't you love it?
8386 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8387 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8388 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8389 10.[012][,.]*)
8390 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8391 10.*)
8392 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8393 esac
8395 esac
8396 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8397 _lt_dar_single_mod='$single_module'
8399 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8400 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8401 else
8402 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8404 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8405 _lt_dsymutil='~$DSYMUTIL $lib || :'
8406 else
8407 _lt_dsymutil=
8410 esac
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8413 $as_echo_n "checking for ANSI C header files... " >&6; }
8414 if ${ac_cv_header_stdc+:} false; then :
8415 $as_echo_n "(cached) " >&6
8416 else
8417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8418 /* end confdefs.h. */
8419 #include <stdlib.h>
8420 #include <stdarg.h>
8421 #include <string.h>
8422 #include <float.h>
8425 main ()
8429 return 0;
8431 _ACEOF
8432 if ac_fn_c_try_compile "$LINENO"; then :
8433 ac_cv_header_stdc=yes
8434 else
8435 ac_cv_header_stdc=no
8437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8439 if test $ac_cv_header_stdc = yes; then
8440 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8442 /* end confdefs.h. */
8443 #include <string.h>
8445 _ACEOF
8446 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8447 $EGREP "memchr" >/dev/null 2>&1; then :
8449 else
8450 ac_cv_header_stdc=no
8452 rm -f conftest*
8456 if test $ac_cv_header_stdc = yes; then
8457 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8459 /* end confdefs.h. */
8460 #include <stdlib.h>
8462 _ACEOF
8463 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8464 $EGREP "free" >/dev/null 2>&1; then :
8466 else
8467 ac_cv_header_stdc=no
8469 rm -f conftest*
8473 if test $ac_cv_header_stdc = yes; then
8474 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8475 if test "$cross_compiling" = yes; then :
8477 else
8478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8479 /* end confdefs.h. */
8480 #include <ctype.h>
8481 #include <stdlib.h>
8482 #if ((' ' & 0x0FF) == 0x020)
8483 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8484 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8485 #else
8486 # define ISLOWER(c) \
8487 (('a' <= (c) && (c) <= 'i') \
8488 || ('j' <= (c) && (c) <= 'r') \
8489 || ('s' <= (c) && (c) <= 'z'))
8490 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8491 #endif
8493 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8495 main ()
8497 int i;
8498 for (i = 0; i < 256; i++)
8499 if (XOR (islower (i), ISLOWER (i))
8500 || toupper (i) != TOUPPER (i))
8501 return 2;
8502 return 0;
8504 _ACEOF
8505 if ac_fn_c_try_run "$LINENO"; then :
8507 else
8508 ac_cv_header_stdc=no
8510 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8511 conftest.$ac_objext conftest.beam conftest.$ac_ext
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8517 $as_echo "$ac_cv_header_stdc" >&6; }
8518 if test $ac_cv_header_stdc = yes; then
8520 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8524 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8525 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8526 inttypes.h stdint.h unistd.h
8527 do :
8528 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8529 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8531 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8532 cat >>confdefs.h <<_ACEOF
8533 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8534 _ACEOF
8538 done
8541 for ac_header in dlfcn.h
8542 do :
8543 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8545 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8546 cat >>confdefs.h <<_ACEOF
8547 #define HAVE_DLFCN_H 1
8548 _ACEOF
8552 done
8559 # Set options
8564 enable_win32_dll=no
8567 # Check whether --enable-shared was given.
8568 if test "${enable_shared+set}" = set; then :
8569 enableval=$enable_shared; p=${PACKAGE-default}
8570 case $enableval in
8571 yes) enable_shared=yes ;;
8572 no) enable_shared=no ;;
8574 enable_shared=no
8575 # Look at the argument we got. We use all the common list separators.
8576 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8577 for pkg in $enableval; do
8578 IFS="$lt_save_ifs"
8579 if test "X$pkg" = "X$p"; then
8580 enable_shared=yes
8582 done
8583 IFS="$lt_save_ifs"
8585 esac
8586 else
8587 enable_shared=yes
8598 # Check whether --enable-static was given.
8599 if test "${enable_static+set}" = set; then :
8600 enableval=$enable_static; p=${PACKAGE-default}
8601 case $enableval in
8602 yes) enable_static=yes ;;
8603 no) enable_static=no ;;
8605 enable_static=no
8606 # Look at the argument we got. We use all the common list separators.
8607 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8608 for pkg in $enableval; do
8609 IFS="$lt_save_ifs"
8610 if test "X$pkg" = "X$p"; then
8611 enable_static=yes
8613 done
8614 IFS="$lt_save_ifs"
8616 esac
8617 else
8618 enable_static=yes
8630 # Check whether --with-pic was given.
8631 if test "${with_pic+set}" = set; then :
8632 withval=$with_pic; pic_mode="$withval"
8633 else
8634 pic_mode=default
8638 test -z "$pic_mode" && pic_mode=default
8646 # Check whether --enable-fast-install was given.
8647 if test "${enable_fast_install+set}" = set; then :
8648 enableval=$enable_fast_install; p=${PACKAGE-default}
8649 case $enableval in
8650 yes) enable_fast_install=yes ;;
8651 no) enable_fast_install=no ;;
8653 enable_fast_install=no
8654 # Look at the argument we got. We use all the common list separators.
8655 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8656 for pkg in $enableval; do
8657 IFS="$lt_save_ifs"
8658 if test "X$pkg" = "X$p"; then
8659 enable_fast_install=yes
8661 done
8662 IFS="$lt_save_ifs"
8664 esac
8665 else
8666 enable_fast_install=yes
8679 # This can be used to rebuild libtool when needed
8680 LIBTOOL_DEPS="$ltmain"
8682 # Always use our own libtool.
8683 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8710 test -z "$LN_S" && LN_S="ln -s"
8725 if test -n "${ZSH_VERSION+set}" ; then
8726 setopt NO_GLOB_SUBST
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8730 $as_echo_n "checking for objdir... " >&6; }
8731 if ${lt_cv_objdir+:} false; then :
8732 $as_echo_n "(cached) " >&6
8733 else
8734 rm -f .libs 2>/dev/null
8735 mkdir .libs 2>/dev/null
8736 if test -d .libs; then
8737 lt_cv_objdir=.libs
8738 else
8739 # MS-DOS does not allow filenames that begin with a dot.
8740 lt_cv_objdir=_libs
8742 rmdir .libs 2>/dev/null
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8745 $as_echo "$lt_cv_objdir" >&6; }
8746 objdir=$lt_cv_objdir
8752 cat >>confdefs.h <<_ACEOF
8753 #define LT_OBJDIR "$lt_cv_objdir/"
8754 _ACEOF
8759 case $host_os in
8760 aix3*)
8761 # AIX sometimes has problems with the GCC collect2 program. For some
8762 # reason, if we set the COLLECT_NAMES environment variable, the problems
8763 # vanish in a puff of smoke.
8764 if test "X${COLLECT_NAMES+set}" != Xset; then
8765 COLLECT_NAMES=
8766 export COLLECT_NAMES
8769 esac
8771 # Global variables:
8772 ofile=libtool
8773 can_build_shared=yes
8775 # All known linkers require a `.a' archive for static linking (except MSVC,
8776 # which needs '.lib').
8777 libext=a
8779 with_gnu_ld="$lt_cv_prog_gnu_ld"
8781 old_CC="$CC"
8782 old_CFLAGS="$CFLAGS"
8784 # Set sane defaults for various variables
8785 test -z "$CC" && CC=cc
8786 test -z "$LTCC" && LTCC=$CC
8787 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8788 test -z "$LD" && LD=ld
8789 test -z "$ac_objext" && ac_objext=o
8791 for cc_temp in $compiler""; do
8792 case $cc_temp in
8793 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8794 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8795 \-*) ;;
8796 *) break;;
8797 esac
8798 done
8799 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8802 # Only perform the check for file, if the check method requires it
8803 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8804 case $deplibs_check_method in
8805 file_magic*)
8806 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8808 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8809 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8810 $as_echo_n "(cached) " >&6
8811 else
8812 case $MAGIC_CMD in
8813 [\\/*] | ?:[\\/]*)
8814 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8817 lt_save_MAGIC_CMD="$MAGIC_CMD"
8818 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8819 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8820 for ac_dir in $ac_dummy; do
8821 IFS="$lt_save_ifs"
8822 test -z "$ac_dir" && ac_dir=.
8823 if test -f $ac_dir/${ac_tool_prefix}file; then
8824 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8825 if test -n "$file_magic_test_file"; then
8826 case $deplibs_check_method in
8827 "file_magic "*)
8828 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8829 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8830 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8831 $EGREP "$file_magic_regex" > /dev/null; then
8833 else
8834 cat <<_LT_EOF 1>&2
8836 *** Warning: the command libtool uses to detect shared libraries,
8837 *** $file_magic_cmd, produces output that libtool cannot recognize.
8838 *** The result is that libtool may fail to recognize shared libraries
8839 *** as such. This will affect the creation of libtool libraries that
8840 *** depend on shared libraries, but programs linked with such libtool
8841 *** libraries will work regardless of this problem. Nevertheless, you
8842 *** may want to report the problem to your system manager and/or to
8843 *** bug-libtool@gnu.org
8845 _LT_EOF
8846 fi ;;
8847 esac
8849 break
8851 done
8852 IFS="$lt_save_ifs"
8853 MAGIC_CMD="$lt_save_MAGIC_CMD"
8855 esac
8858 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8859 if test -n "$MAGIC_CMD"; then
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8861 $as_echo "$MAGIC_CMD" >&6; }
8862 else
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8864 $as_echo "no" >&6; }
8871 if test -z "$lt_cv_path_MAGIC_CMD"; then
8872 if test -n "$ac_tool_prefix"; then
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8874 $as_echo_n "checking for file... " >&6; }
8875 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8876 $as_echo_n "(cached) " >&6
8877 else
8878 case $MAGIC_CMD in
8879 [\\/*] | ?:[\\/]*)
8880 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8883 lt_save_MAGIC_CMD="$MAGIC_CMD"
8884 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8885 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8886 for ac_dir in $ac_dummy; do
8887 IFS="$lt_save_ifs"
8888 test -z "$ac_dir" && ac_dir=.
8889 if test -f $ac_dir/file; then
8890 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8891 if test -n "$file_magic_test_file"; then
8892 case $deplibs_check_method in
8893 "file_magic "*)
8894 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8895 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8896 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8897 $EGREP "$file_magic_regex" > /dev/null; then
8899 else
8900 cat <<_LT_EOF 1>&2
8902 *** Warning: the command libtool uses to detect shared libraries,
8903 *** $file_magic_cmd, produces output that libtool cannot recognize.
8904 *** The result is that libtool may fail to recognize shared libraries
8905 *** as such. This will affect the creation of libtool libraries that
8906 *** depend on shared libraries, but programs linked with such libtool
8907 *** libraries will work regardless of this problem. Nevertheless, you
8908 *** may want to report the problem to your system manager and/or to
8909 *** bug-libtool@gnu.org
8911 _LT_EOF
8912 fi ;;
8913 esac
8915 break
8917 done
8918 IFS="$lt_save_ifs"
8919 MAGIC_CMD="$lt_save_MAGIC_CMD"
8921 esac
8924 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8925 if test -n "$MAGIC_CMD"; then
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8927 $as_echo "$MAGIC_CMD" >&6; }
8928 else
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8930 $as_echo "no" >&6; }
8934 else
8935 MAGIC_CMD=:
8941 esac
8943 # Use C for the default configuration in the libtool script
8945 lt_save_CC="$CC"
8946 ac_ext=c
8947 ac_cpp='$CPP $CPPFLAGS'
8948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8953 # Source file extension for C test sources.
8954 ac_ext=c
8956 # Object file extension for compiled C test sources.
8957 objext=o
8958 objext=$objext
8960 # Code to be used in simple compile tests
8961 lt_simple_compile_test_code="int some_variable = 0;"
8963 # Code to be used in simple link tests
8964 lt_simple_link_test_code='int main(){return(0);}'
8972 # If no C compiler was specified, use CC.
8973 LTCC=${LTCC-"$CC"}
8975 # If no C compiler flags were specified, use CFLAGS.
8976 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8978 # Allow CC to be a program name with arguments.
8979 compiler=$CC
8981 # Save the default compiler, since it gets overwritten when the other
8982 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8983 compiler_DEFAULT=$CC
8985 # save warnings/boilerplate of simple test code
8986 ac_outfile=conftest.$ac_objext
8987 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8988 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8989 _lt_compiler_boilerplate=`cat conftest.err`
8990 $RM conftest*
8992 ac_outfile=conftest.$ac_objext
8993 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8994 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8995 _lt_linker_boilerplate=`cat conftest.err`
8996 $RM -r conftest*
8999 ## CAVEAT EMPTOR:
9000 ## There is no encapsulation within the following macros, do not change
9001 ## the running order or otherwise move them around unless you know exactly
9002 ## what you are doing...
9003 if test -n "$compiler"; then
9005 lt_prog_compiler_no_builtin_flag=
9007 if test "$GCC" = yes; then
9008 case $cc_basename in
9009 nvcc*)
9010 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9012 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9013 esac
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9016 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9017 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9018 $as_echo_n "(cached) " >&6
9019 else
9020 lt_cv_prog_compiler_rtti_exceptions=no
9021 ac_outfile=conftest.$ac_objext
9022 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9023 lt_compiler_flag="-fno-rtti -fno-exceptions"
9024 # Insert the option either (1) after the last *FLAGS variable, or
9025 # (2) before a word containing "conftest.", or (3) at the end.
9026 # Note that $ac_compile itself does not contain backslashes and begins
9027 # with a dollar sign (not a hyphen), so the echo should work correctly.
9028 # The option is referenced via a variable to avoid confusing sed.
9029 lt_compile=`echo "$ac_compile" | $SED \
9030 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9031 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9032 -e 's:$: $lt_compiler_flag:'`
9033 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9034 (eval "$lt_compile" 2>conftest.err)
9035 ac_status=$?
9036 cat conftest.err >&5
9037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9038 if (exit $ac_status) && test -s "$ac_outfile"; then
9039 # The compiler can only warn and ignore the option if not recognized
9040 # So say no if there are warnings other than the usual output.
9041 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9042 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9043 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9044 lt_cv_prog_compiler_rtti_exceptions=yes
9047 $RM conftest*
9050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9051 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9053 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9054 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9055 else
9066 lt_prog_compiler_wl=
9067 lt_prog_compiler_pic=
9068 lt_prog_compiler_static=
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9071 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9073 if test "$GCC" = yes; then
9074 lt_prog_compiler_wl='-Wl,'
9075 lt_prog_compiler_static='-static'
9077 case $host_os in
9078 aix*)
9079 # All AIX code is PIC.
9080 if test "$host_cpu" = ia64; then
9081 # AIX 5 now supports IA64 processor
9082 lt_prog_compiler_static='-Bstatic'
9084 lt_prog_compiler_pic='-fPIC'
9087 amigaos*)
9088 case $host_cpu in
9089 powerpc)
9090 # see comment about AmigaOS4 .so support
9091 lt_prog_compiler_pic='-fPIC'
9093 m68k)
9094 # FIXME: we need at least 68020 code to build shared libraries, but
9095 # adding the `-m68020' flag to GCC prevents building anything better,
9096 # like `-m68040'.
9097 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9099 esac
9102 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9103 # PIC is the default for these OSes.
9106 mingw* | cygwin* | pw32* | os2* | cegcc*)
9107 # This hack is so that the source file can tell whether it is being
9108 # built for inclusion in a dll (and should export symbols for example).
9109 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9110 # (--disable-auto-import) libraries
9111 lt_prog_compiler_pic='-DDLL_EXPORT'
9114 darwin* | rhapsody*)
9115 # PIC is the default on this platform
9116 # Common symbols not allowed in MH_DYLIB files
9117 lt_prog_compiler_pic='-fno-common'
9120 haiku*)
9121 # PIC is the default for Haiku.
9122 # The "-static" flag exists, but is broken.
9123 lt_prog_compiler_static=
9126 hpux*)
9127 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9128 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9129 # sets the default TLS model and affects inlining.
9130 case $host_cpu in
9131 hppa*64*)
9132 # +Z the default
9135 lt_prog_compiler_pic='-fPIC'
9137 esac
9140 interix[3-9]*)
9141 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9142 # Instead, we relocate shared libraries at runtime.
9145 msdosdjgpp*)
9146 # Just because we use GCC doesn't mean we suddenly get shared libraries
9147 # on systems that don't support them.
9148 lt_prog_compiler_can_build_shared=no
9149 enable_shared=no
9152 *nto* | *qnx*)
9153 # QNX uses GNU C++, but need to define -shared option too, otherwise
9154 # it will coredump.
9155 lt_prog_compiler_pic='-fPIC -shared'
9158 sysv4*MP*)
9159 if test -d /usr/nec; then
9160 lt_prog_compiler_pic=-Kconform_pic
9165 lt_prog_compiler_pic='-fPIC'
9167 esac
9169 case $cc_basename in
9170 nvcc*) # Cuda Compiler Driver 2.2
9171 lt_prog_compiler_wl='-Xlinker '
9172 lt_prog_compiler_pic='-Xcompiler -fPIC'
9174 esac
9175 else
9176 # PORTME Check for flag to pass linker flags through the system compiler.
9177 case $host_os in
9178 aix*)
9179 lt_prog_compiler_wl='-Wl,'
9180 if test "$host_cpu" = ia64; then
9181 # AIX 5 now supports IA64 processor
9182 lt_prog_compiler_static='-Bstatic'
9183 else
9184 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9188 mingw* | cygwin* | pw32* | os2* | cegcc*)
9189 # This hack is so that the source file can tell whether it is being
9190 # built for inclusion in a dll (and should export symbols for example).
9191 lt_prog_compiler_pic='-DDLL_EXPORT'
9194 hpux9* | hpux10* | hpux11*)
9195 lt_prog_compiler_wl='-Wl,'
9196 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9197 # not for PA HP-UX.
9198 case $host_cpu in
9199 hppa*64*|ia64*)
9200 # +Z the default
9203 lt_prog_compiler_pic='+Z'
9205 esac
9206 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9207 lt_prog_compiler_static='${wl}-a ${wl}archive'
9210 irix5* | irix6* | nonstopux*)
9211 lt_prog_compiler_wl='-Wl,'
9212 # PIC (with -KPIC) is the default.
9213 lt_prog_compiler_static='-non_shared'
9216 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9217 case $cc_basename in
9218 # old Intel for x86_64 which still supported -KPIC.
9219 ecc*)
9220 lt_prog_compiler_wl='-Wl,'
9221 lt_prog_compiler_pic='-KPIC'
9222 lt_prog_compiler_static='-static'
9224 # icc used to be incompatible with GCC.
9225 # ICC 10 doesn't accept -KPIC any more.
9226 icc* | ifort*)
9227 lt_prog_compiler_wl='-Wl,'
9228 lt_prog_compiler_pic='-fPIC'
9229 lt_prog_compiler_static='-static'
9231 # Lahey Fortran 8.1.
9232 lf95*)
9233 lt_prog_compiler_wl='-Wl,'
9234 lt_prog_compiler_pic='--shared'
9235 lt_prog_compiler_static='--static'
9237 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9238 # Portland Group compilers (*not* the Pentium gcc compiler,
9239 # which looks to be a dead project)
9240 lt_prog_compiler_wl='-Wl,'
9241 lt_prog_compiler_pic='-fpic'
9242 lt_prog_compiler_static='-Bstatic'
9244 ccc*)
9245 lt_prog_compiler_wl='-Wl,'
9246 # All Alpha code is PIC.
9247 lt_prog_compiler_static='-non_shared'
9249 xl* | bgxl* | bgf* | mpixl*)
9250 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9251 lt_prog_compiler_wl='-Wl,'
9252 lt_prog_compiler_pic='-qpic'
9253 lt_prog_compiler_static='-qstaticlink'
9256 case `$CC -V 2>&1 | sed 5q` in
9257 *Sun\ F* | *Sun*Fortran*)
9258 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9259 lt_prog_compiler_pic='-KPIC'
9260 lt_prog_compiler_static='-Bstatic'
9261 lt_prog_compiler_wl=''
9263 *Sun\ C*)
9264 # Sun C 5.9
9265 lt_prog_compiler_pic='-KPIC'
9266 lt_prog_compiler_static='-Bstatic'
9267 lt_prog_compiler_wl='-Wl,'
9269 esac
9271 esac
9274 newsos6)
9275 lt_prog_compiler_pic='-KPIC'
9276 lt_prog_compiler_static='-Bstatic'
9279 *nto* | *qnx*)
9280 # QNX uses GNU C++, but need to define -shared option too, otherwise
9281 # it will coredump.
9282 lt_prog_compiler_pic='-fPIC -shared'
9285 osf3* | osf4* | osf5*)
9286 lt_prog_compiler_wl='-Wl,'
9287 # All OSF/1 code is PIC.
9288 lt_prog_compiler_static='-non_shared'
9291 rdos*)
9292 lt_prog_compiler_static='-non_shared'
9295 solaris*)
9296 lt_prog_compiler_pic='-KPIC'
9297 lt_prog_compiler_static='-Bstatic'
9298 case $cc_basename in
9299 f77* | f90* | f95*)
9300 lt_prog_compiler_wl='-Qoption ld ';;
9302 lt_prog_compiler_wl='-Wl,';;
9303 esac
9306 sunos4*)
9307 lt_prog_compiler_wl='-Qoption ld '
9308 lt_prog_compiler_pic='-PIC'
9309 lt_prog_compiler_static='-Bstatic'
9312 sysv4 | sysv4.2uw2* | sysv4.3*)
9313 lt_prog_compiler_wl='-Wl,'
9314 lt_prog_compiler_pic='-KPIC'
9315 lt_prog_compiler_static='-Bstatic'
9318 sysv4*MP*)
9319 if test -d /usr/nec ;then
9320 lt_prog_compiler_pic='-Kconform_pic'
9321 lt_prog_compiler_static='-Bstatic'
9325 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9326 lt_prog_compiler_wl='-Wl,'
9327 lt_prog_compiler_pic='-KPIC'
9328 lt_prog_compiler_static='-Bstatic'
9331 unicos*)
9332 lt_prog_compiler_wl='-Wl,'
9333 lt_prog_compiler_can_build_shared=no
9336 uts4*)
9337 lt_prog_compiler_pic='-pic'
9338 lt_prog_compiler_static='-Bstatic'
9342 lt_prog_compiler_can_build_shared=no
9344 esac
9347 case $host_os in
9348 # For platforms which do not support PIC, -DPIC is meaningless:
9349 *djgpp*)
9350 lt_prog_compiler_pic=
9353 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9355 esac
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9357 $as_echo "$lt_prog_compiler_pic" >&6; }
9365 # Check to make sure the PIC flag actually works.
9367 if test -n "$lt_prog_compiler_pic"; then
9368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9369 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9370 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9371 $as_echo_n "(cached) " >&6
9372 else
9373 lt_cv_prog_compiler_pic_works=no
9374 ac_outfile=conftest.$ac_objext
9375 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9376 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9377 # Insert the option either (1) after the last *FLAGS variable, or
9378 # (2) before a word containing "conftest.", or (3) at the end.
9379 # Note that $ac_compile itself does not contain backslashes and begins
9380 # with a dollar sign (not a hyphen), so the echo should work correctly.
9381 # The option is referenced via a variable to avoid confusing sed.
9382 lt_compile=`echo "$ac_compile" | $SED \
9383 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9384 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9385 -e 's:$: $lt_compiler_flag:'`
9386 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9387 (eval "$lt_compile" 2>conftest.err)
9388 ac_status=$?
9389 cat conftest.err >&5
9390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9391 if (exit $ac_status) && test -s "$ac_outfile"; then
9392 # The compiler can only warn and ignore the option if not recognized
9393 # So say no if there are warnings other than the usual output.
9394 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9395 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9396 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9397 lt_cv_prog_compiler_pic_works=yes
9400 $RM conftest*
9403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9404 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9406 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9407 case $lt_prog_compiler_pic in
9408 "" | " "*) ;;
9409 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9410 esac
9411 else
9412 lt_prog_compiler_pic=
9413 lt_prog_compiler_can_build_shared=no
9424 # Check to make sure the static flag actually works.
9426 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9428 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9429 if ${lt_cv_prog_compiler_static_works+:} false; then :
9430 $as_echo_n "(cached) " >&6
9431 else
9432 lt_cv_prog_compiler_static_works=no
9433 save_LDFLAGS="$LDFLAGS"
9434 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9435 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9436 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9437 # The linker can only warn and ignore the option if not recognized
9438 # So say no if there are warnings
9439 if test -s conftest.err; then
9440 # Append any errors to the config.log.
9441 cat conftest.err 1>&5
9442 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9443 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9444 if diff conftest.exp conftest.er2 >/dev/null; then
9445 lt_cv_prog_compiler_static_works=yes
9447 else
9448 lt_cv_prog_compiler_static_works=yes
9451 $RM -r conftest*
9452 LDFLAGS="$save_LDFLAGS"
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9456 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9458 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9460 else
9461 lt_prog_compiler_static=
9470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9471 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9472 if ${lt_cv_prog_compiler_c_o+:} false; then :
9473 $as_echo_n "(cached) " >&6
9474 else
9475 lt_cv_prog_compiler_c_o=no
9476 $RM -r conftest 2>/dev/null
9477 mkdir conftest
9478 cd conftest
9479 mkdir out
9480 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9482 lt_compiler_flag="-o out/conftest2.$ac_objext"
9483 # Insert the option either (1) after the last *FLAGS variable, or
9484 # (2) before a word containing "conftest.", or (3) at the end.
9485 # Note that $ac_compile itself does not contain backslashes and begins
9486 # with a dollar sign (not a hyphen), so the echo should work correctly.
9487 lt_compile=`echo "$ac_compile" | $SED \
9488 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9489 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9490 -e 's:$: $lt_compiler_flag:'`
9491 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9492 (eval "$lt_compile" 2>out/conftest.err)
9493 ac_status=$?
9494 cat out/conftest.err >&5
9495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9496 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9497 then
9498 # The compiler can only warn and ignore the option if not recognized
9499 # So say no if there are warnings
9500 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9501 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9502 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9503 lt_cv_prog_compiler_c_o=yes
9506 chmod u+w . 2>&5
9507 $RM conftest*
9508 # SGI C++ compiler will create directory out/ii_files/ for
9509 # template instantiation
9510 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9511 $RM out/* && rmdir out
9512 cd ..
9513 $RM -r conftest
9514 $RM conftest*
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9518 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9526 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9527 if ${lt_cv_prog_compiler_c_o+:} false; then :
9528 $as_echo_n "(cached) " >&6
9529 else
9530 lt_cv_prog_compiler_c_o=no
9531 $RM -r conftest 2>/dev/null
9532 mkdir conftest
9533 cd conftest
9534 mkdir out
9535 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9537 lt_compiler_flag="-o out/conftest2.$ac_objext"
9538 # Insert the option either (1) after the last *FLAGS variable, or
9539 # (2) before a word containing "conftest.", or (3) at the end.
9540 # Note that $ac_compile itself does not contain backslashes and begins
9541 # with a dollar sign (not a hyphen), so the echo should work correctly.
9542 lt_compile=`echo "$ac_compile" | $SED \
9543 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9544 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9545 -e 's:$: $lt_compiler_flag:'`
9546 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9547 (eval "$lt_compile" 2>out/conftest.err)
9548 ac_status=$?
9549 cat out/conftest.err >&5
9550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9551 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9552 then
9553 # The compiler can only warn and ignore the option if not recognized
9554 # So say no if there are warnings
9555 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9556 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9557 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9558 lt_cv_prog_compiler_c_o=yes
9561 chmod u+w . 2>&5
9562 $RM conftest*
9563 # SGI C++ compiler will create directory out/ii_files/ for
9564 # template instantiation
9565 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9566 $RM out/* && rmdir out
9567 cd ..
9568 $RM -r conftest
9569 $RM conftest*
9572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9573 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9578 hard_links="nottested"
9579 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9580 # do not overwrite the value of need_locks provided by the user
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9582 $as_echo_n "checking if we can lock with hard links... " >&6; }
9583 hard_links=yes
9584 $RM conftest*
9585 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9586 touch conftest.a
9587 ln conftest.a conftest.b 2>&5 || hard_links=no
9588 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9590 $as_echo "$hard_links" >&6; }
9591 if test "$hard_links" = no; then
9592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9593 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9594 need_locks=warn
9596 else
9597 need_locks=no
9605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9606 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9608 runpath_var=
9609 allow_undefined_flag=
9610 always_export_symbols=no
9611 archive_cmds=
9612 archive_expsym_cmds=
9613 compiler_needs_object=no
9614 enable_shared_with_static_runtimes=no
9615 export_dynamic_flag_spec=
9616 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9617 hardcode_automatic=no
9618 hardcode_direct=no
9619 hardcode_direct_absolute=no
9620 hardcode_libdir_flag_spec=
9621 hardcode_libdir_flag_spec_ld=
9622 hardcode_libdir_separator=
9623 hardcode_minus_L=no
9624 hardcode_shlibpath_var=unsupported
9625 inherit_rpath=no
9626 link_all_deplibs=unknown
9627 module_cmds=
9628 module_expsym_cmds=
9629 old_archive_from_new_cmds=
9630 old_archive_from_expsyms_cmds=
9631 thread_safe_flag_spec=
9632 whole_archive_flag_spec=
9633 # include_expsyms should be a list of space-separated symbols to be *always*
9634 # included in the symbol list
9635 include_expsyms=
9636 # exclude_expsyms can be an extended regexp of symbols to exclude
9637 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9638 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9639 # as well as any symbol that contains `d'.
9640 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9641 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9642 # platforms (ab)use it in PIC code, but their linkers get confused if
9643 # the symbol is explicitly referenced. Since portable code cannot
9644 # rely on this symbol name, it's probably fine to never include it in
9645 # preloaded symbol tables.
9646 # Exclude shared library initialization/finalization symbols.
9647 extract_expsyms_cmds=
9649 case $host_os in
9650 cygwin* | mingw* | pw32* | cegcc*)
9651 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9652 # When not using gcc, we currently assume that we are using
9653 # Microsoft Visual C++.
9654 if test "$GCC" != yes; then
9655 with_gnu_ld=no
9658 interix*)
9659 # we just hope/assume this is gcc and not c89 (= MSVC++)
9660 with_gnu_ld=yes
9662 openbsd*)
9663 with_gnu_ld=no
9665 esac
9667 ld_shlibs=yes
9669 # On some targets, GNU ld is compatible enough with the native linker
9670 # that we're better off using the native interface for both.
9671 lt_use_gnu_ld_interface=no
9672 if test "$with_gnu_ld" = yes; then
9673 case $host_os in
9674 aix*)
9675 # The AIX port of GNU ld has always aspired to compatibility
9676 # with the native linker. However, as the warning in the GNU ld
9677 # block says, versions before 2.19.5* couldn't really create working
9678 # shared libraries, regardless of the interface used.
9679 case `$LD -v 2>&1` in
9680 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9681 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9682 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9684 lt_use_gnu_ld_interface=yes
9686 esac
9689 lt_use_gnu_ld_interface=yes
9691 esac
9694 if test "$lt_use_gnu_ld_interface" = yes; then
9695 # If archive_cmds runs LD, not CC, wlarc should be empty
9696 wlarc='${wl}'
9698 # Set some defaults for GNU ld with shared library support. These
9699 # are reset later if shared libraries are not supported. Putting them
9700 # here allows them to be overridden if necessary.
9701 runpath_var=LD_RUN_PATH
9702 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9703 export_dynamic_flag_spec='${wl}--export-dynamic'
9704 # ancient GNU ld didn't support --whole-archive et. al.
9705 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9706 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9707 else
9708 whole_archive_flag_spec=
9710 supports_anon_versioning=no
9711 case `$LD -v 2>&1` in
9712 *GNU\ gold*) supports_anon_versioning=yes ;;
9713 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9714 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9715 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9716 *\ 2.11.*) ;; # other 2.11 versions
9717 *) supports_anon_versioning=yes ;;
9718 esac
9720 # See if GNU ld supports shared libraries.
9721 case $host_os in
9722 aix[3-9]*)
9723 # On AIX/PPC, the GNU linker is very broken
9724 if test "$host_cpu" != ia64; then
9725 ld_shlibs=no
9726 cat <<_LT_EOF 1>&2
9728 *** Warning: the GNU linker, at least up to release 2.19, is reported
9729 *** to be unable to reliably create shared libraries on AIX.
9730 *** Therefore, libtool is disabling shared libraries support. If you
9731 *** really care for shared libraries, you may want to install binutils
9732 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9733 *** You will then need to restart the configuration process.
9735 _LT_EOF
9739 amigaos*)
9740 case $host_cpu in
9741 powerpc)
9742 # see comment about AmigaOS4 .so support
9743 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9744 archive_expsym_cmds=''
9746 m68k)
9747 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)'
9748 hardcode_libdir_flag_spec='-L$libdir'
9749 hardcode_minus_L=yes
9751 esac
9754 beos*)
9755 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9756 allow_undefined_flag=unsupported
9757 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9758 # support --undefined. This deserves some investigation. FIXME
9759 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9760 else
9761 ld_shlibs=no
9765 cygwin* | mingw* | pw32* | cegcc*)
9766 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9767 # as there is no search path for DLLs.
9768 hardcode_libdir_flag_spec='-L$libdir'
9769 export_dynamic_flag_spec='${wl}--export-all-symbols'
9770 allow_undefined_flag=unsupported
9771 always_export_symbols=no
9772 enable_shared_with_static_runtimes=yes
9773 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9775 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9776 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9777 # If the export-symbols file already is a .def file (1st line
9778 # is EXPORTS), use it as is; otherwise, prepend...
9779 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9780 cp $export_symbols $output_objdir/$soname.def;
9781 else
9782 echo EXPORTS > $output_objdir/$soname.def;
9783 cat $export_symbols >> $output_objdir/$soname.def;
9785 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9786 else
9787 ld_shlibs=no
9791 haiku*)
9792 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9793 link_all_deplibs=yes
9796 interix[3-9]*)
9797 hardcode_direct=no
9798 hardcode_shlibpath_var=no
9799 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9800 export_dynamic_flag_spec='${wl}-E'
9801 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9802 # Instead, shared libraries are loaded at an image base (0x10000000 by
9803 # default) and relocated if they conflict, which is a slow very memory
9804 # consuming and fragmenting process. To avoid this, we pick a random,
9805 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9806 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9807 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9808 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'
9811 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
9812 tmp_diet=no
9813 if test "$host_os" = linux-dietlibc; then
9814 case $cc_basename in
9815 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9816 esac
9818 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9819 && test "$tmp_diet" = no
9820 then
9821 tmp_addflag=' $pic_flag'
9822 tmp_sharedflag='-shared'
9823 case $cc_basename,$host_cpu in
9824 pgcc*) # Portland Group C compiler
9825 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'
9826 tmp_addflag=' $pic_flag'
9828 pgf77* | pgf90* | pgf95* | pgfortran*)
9829 # Portland Group f77 and f90 compilers
9830 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'
9831 tmp_addflag=' $pic_flag -Mnomain' ;;
9832 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9833 tmp_addflag=' -i_dynamic' ;;
9834 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9835 tmp_addflag=' -i_dynamic -nofor_main' ;;
9836 ifc* | ifort*) # Intel Fortran compiler
9837 tmp_addflag=' -nofor_main' ;;
9838 lf95*) # Lahey Fortran 8.1
9839 whole_archive_flag_spec=
9840 tmp_sharedflag='--shared' ;;
9841 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9842 tmp_sharedflag='-qmkshrobj'
9843 tmp_addflag= ;;
9844 nvcc*) # Cuda Compiler Driver 2.2
9845 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'
9846 compiler_needs_object=yes
9848 esac
9849 case `$CC -V 2>&1 | sed 5q` in
9850 *Sun\ C*) # Sun C 5.9
9851 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'
9852 compiler_needs_object=yes
9853 tmp_sharedflag='-G' ;;
9854 *Sun\ F*) # Sun Fortran 8.3
9855 tmp_sharedflag='-G' ;;
9856 esac
9857 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9859 if test "x$supports_anon_versioning" = xyes; then
9860 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9861 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9862 echo "local: *; };" >> $output_objdir/$libname.ver~
9863 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9866 case $cc_basename in
9867 xlf* | bgf* | bgxlf* | mpixlf*)
9868 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9869 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9870 hardcode_libdir_flag_spec=
9871 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9872 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9873 if test "x$supports_anon_versioning" = xyes; then
9874 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9875 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9876 echo "local: *; };" >> $output_objdir/$libname.ver~
9877 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9880 esac
9881 else
9882 ld_shlibs=no
9886 netbsd*)
9887 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9888 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9889 wlarc=
9890 else
9891 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9892 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9896 solaris*)
9897 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9898 ld_shlibs=no
9899 cat <<_LT_EOF 1>&2
9901 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9902 *** create shared libraries on Solaris systems. Therefore, libtool
9903 *** is disabling shared libraries support. We urge you to upgrade GNU
9904 *** binutils to release 2.9.1 or newer. Another option is to modify
9905 *** your PATH or compiler configuration so that the native linker is
9906 *** used, and then restart.
9908 _LT_EOF
9909 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9910 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9911 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9912 else
9913 ld_shlibs=no
9917 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9918 case `$LD -v 2>&1` in
9919 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9920 ld_shlibs=no
9921 cat <<_LT_EOF 1>&2
9923 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9924 *** reliably create shared libraries on SCO systems. Therefore, libtool
9925 *** is disabling shared libraries support. We urge you to upgrade GNU
9926 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9927 *** your PATH or compiler configuration so that the native linker is
9928 *** used, and then restart.
9930 _LT_EOF
9933 # For security reasons, it is highly recommended that you always
9934 # use absolute paths for naming shared libraries, and exclude the
9935 # DT_RUNPATH tag from executables and libraries. But doing so
9936 # requires that you compile everything twice, which is a pain.
9937 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9938 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9939 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9940 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9941 else
9942 ld_shlibs=no
9945 esac
9948 sunos4*)
9949 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9950 wlarc=
9951 hardcode_direct=yes
9952 hardcode_shlibpath_var=no
9956 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9957 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9958 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9959 else
9960 ld_shlibs=no
9963 esac
9965 if test "$ld_shlibs" = no; then
9966 runpath_var=
9967 hardcode_libdir_flag_spec=
9968 export_dynamic_flag_spec=
9969 whole_archive_flag_spec=
9971 else
9972 # PORTME fill in a description of your system's linker (not GNU ld)
9973 case $host_os in
9974 aix3*)
9975 allow_undefined_flag=unsupported
9976 always_export_symbols=yes
9977 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'
9978 # Note: this linker hardcodes the directories in LIBPATH if there
9979 # are no directories specified by -L.
9980 hardcode_minus_L=yes
9981 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9982 # Neither direct hardcoding nor static linking is supported with a
9983 # broken collect2.
9984 hardcode_direct=unsupported
9988 aix[4-9]*)
9989 if test "$host_cpu" = ia64; then
9990 # On IA64, the linker does run time linking by default, so we don't
9991 # have to do anything special.
9992 aix_use_runtimelinking=no
9993 exp_sym_flag='-Bexport'
9994 no_entry_flag=""
9995 else
9996 # If we're using GNU nm, then we don't want the "-C" option.
9997 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9998 # Also, AIX nm treats weak defined symbols like other global
9999 # defined symbols, whereas GNU nm marks them as "W".
10000 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10001 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'
10002 else
10003 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'
10005 aix_use_runtimelinking=no
10007 # Test if we are trying to use run time linking or normal
10008 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10009 # need to do runtime linking.
10010 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10011 for ld_flag in $LDFLAGS; do
10012 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10013 aix_use_runtimelinking=yes
10014 break
10016 done
10018 esac
10020 exp_sym_flag='-bexport'
10021 no_entry_flag='-bnoentry'
10024 # When large executables or shared objects are built, AIX ld can
10025 # have problems creating the table of contents. If linking a library
10026 # or program results in "error TOC overflow" add -mminimal-toc to
10027 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10028 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10030 archive_cmds=''
10031 hardcode_direct=yes
10032 hardcode_direct_absolute=yes
10033 hardcode_libdir_separator=':'
10034 link_all_deplibs=yes
10035 file_list_spec='${wl}-f,'
10037 if test "$GCC" = yes; then
10038 case $host_os in aix4.[012]|aix4.[012].*)
10039 # We only want to do this on AIX 4.2 and lower, the check
10040 # below for broken collect2 doesn't work under 4.3+
10041 collect2name=`${CC} -print-prog-name=collect2`
10042 if test -f "$collect2name" &&
10043 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10044 then
10045 # We have reworked collect2
10047 else
10048 # We have old collect2
10049 hardcode_direct=unsupported
10050 # It fails to find uninstalled libraries when the uninstalled
10051 # path is not listed in the libpath. Setting hardcode_minus_L
10052 # to unsupported forces relinking
10053 hardcode_minus_L=yes
10054 hardcode_libdir_flag_spec='-L$libdir'
10055 hardcode_libdir_separator=
10058 esac
10059 shared_flag='-shared'
10060 if test "$aix_use_runtimelinking" = yes; then
10061 shared_flag="$shared_flag "'${wl}-G'
10063 else
10064 # not using gcc
10065 if test "$host_cpu" = ia64; then
10066 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10067 # chokes on -Wl,-G. The following line is correct:
10068 shared_flag='-G'
10069 else
10070 if test "$aix_use_runtimelinking" = yes; then
10071 shared_flag='${wl}-G'
10072 else
10073 shared_flag='${wl}-bM:SRE'
10078 export_dynamic_flag_spec='${wl}-bexpall'
10079 # It seems that -bexpall does not export symbols beginning with
10080 # underscore (_), so it is better to generate a list of symbols to export.
10081 always_export_symbols=yes
10082 if test "$aix_use_runtimelinking" = yes; then
10083 # Warning - without using the other runtime loading flags (-brtl),
10084 # -berok will link without error, but may produce a broken library.
10085 allow_undefined_flag='-berok'
10086 # Determine the default libpath from the value encoded in an
10087 # empty executable.
10088 if test x$gcc_no_link = xyes; then
10089 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10092 /* end confdefs.h. */
10095 main ()
10099 return 0;
10101 _ACEOF
10102 if ac_fn_c_try_link "$LINENO"; then :
10104 lt_aix_libpath_sed='
10105 /Import File Strings/,/^$/ {
10106 /^0/ {
10107 s/^0 *\(.*\)$/\1/
10111 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10112 # Check for a 64-bit object if we didn't find anything.
10113 if test -z "$aix_libpath"; then
10114 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10117 rm -f core conftest.err conftest.$ac_objext \
10118 conftest$ac_exeext conftest.$ac_ext
10119 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10121 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10122 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"
10123 else
10124 if test "$host_cpu" = ia64; then
10125 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10126 allow_undefined_flag="-z nodefs"
10127 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"
10128 else
10129 # Determine the default libpath from the value encoded in an
10130 # empty executable.
10131 if test x$gcc_no_link = xyes; then
10132 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10135 /* end confdefs.h. */
10138 main ()
10142 return 0;
10144 _ACEOF
10145 if ac_fn_c_try_link "$LINENO"; then :
10147 lt_aix_libpath_sed='
10148 /Import File Strings/,/^$/ {
10149 /^0/ {
10150 s/^0 *\(.*\)$/\1/
10154 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10155 # Check for a 64-bit object if we didn't find anything.
10156 if test -z "$aix_libpath"; then
10157 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10160 rm -f core conftest.err conftest.$ac_objext \
10161 conftest$ac_exeext conftest.$ac_ext
10162 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10164 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10165 # Warning - without using the other run time loading flags,
10166 # -berok will link without error, but may produce a broken library.
10167 no_undefined_flag=' ${wl}-bernotok'
10168 allow_undefined_flag=' ${wl}-berok'
10169 if test "$with_gnu_ld" = yes; then
10170 # We only use this code for GNU lds that support --whole-archive.
10171 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10172 else
10173 # Exported symbols can be pulled into shared objects from archives
10174 whole_archive_flag_spec='$convenience'
10176 archive_cmds_need_lc=yes
10177 # This is similar to how AIX traditionally builds its shared libraries.
10178 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'
10183 amigaos*)
10184 case $host_cpu in
10185 powerpc)
10186 # see comment about AmigaOS4 .so support
10187 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10188 archive_expsym_cmds=''
10190 m68k)
10191 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)'
10192 hardcode_libdir_flag_spec='-L$libdir'
10193 hardcode_minus_L=yes
10195 esac
10198 bsdi[45]*)
10199 export_dynamic_flag_spec=-rdynamic
10202 cygwin* | mingw* | pw32* | cegcc*)
10203 # When not using gcc, we currently assume that we are using
10204 # Microsoft Visual C++.
10205 # hardcode_libdir_flag_spec is actually meaningless, as there is
10206 # no search path for DLLs.
10207 hardcode_libdir_flag_spec=' '
10208 allow_undefined_flag=unsupported
10209 # Tell ltmain to make .lib files, not .a files.
10210 libext=lib
10211 # Tell ltmain to make .dll files, not .so files.
10212 shrext_cmds=".dll"
10213 # FIXME: Setting linknames here is a bad hack.
10214 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10215 # The linker will automatically build a .lib file if we build a DLL.
10216 old_archive_from_new_cmds='true'
10217 # FIXME: Should let the user specify the lib program.
10218 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10219 fix_srcfile_path='`cygpath -w "$srcfile"`'
10220 enable_shared_with_static_runtimes=yes
10223 darwin* | rhapsody*)
10226 archive_cmds_need_lc=no
10227 hardcode_direct=no
10228 hardcode_automatic=yes
10229 hardcode_shlibpath_var=unsupported
10230 if test "$lt_cv_ld_force_load" = "yes"; then
10231 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\"`'
10232 else
10233 whole_archive_flag_spec=''
10235 link_all_deplibs=yes
10236 allow_undefined_flag="$_lt_dar_allow_undefined"
10237 case $cc_basename in
10238 ifort*) _lt_dar_can_shared=yes ;;
10239 *) _lt_dar_can_shared=$GCC ;;
10240 esac
10241 if test "$_lt_dar_can_shared" = "yes"; then
10242 output_verbose_link_cmd=func_echo_all
10243 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10244 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10245 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}"
10246 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}"
10248 else
10249 ld_shlibs=no
10254 dgux*)
10255 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10256 hardcode_libdir_flag_spec='-L$libdir'
10257 hardcode_shlibpath_var=no
10260 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10261 # support. Future versions do this automatically, but an explicit c++rt0.o
10262 # does not break anything, and helps significantly (at the cost of a little
10263 # extra space).
10264 freebsd2.2*)
10265 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10266 hardcode_libdir_flag_spec='-R$libdir'
10267 hardcode_direct=yes
10268 hardcode_shlibpath_var=no
10271 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10272 freebsd2.*)
10273 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10274 hardcode_direct=yes
10275 hardcode_minus_L=yes
10276 hardcode_shlibpath_var=no
10279 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10280 freebsd* | dragonfly*)
10281 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10282 hardcode_libdir_flag_spec='-R$libdir'
10283 hardcode_direct=yes
10284 hardcode_shlibpath_var=no
10287 hpux9*)
10288 if test "$GCC" = yes; then
10289 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'
10290 else
10291 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'
10293 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10294 hardcode_libdir_separator=:
10295 hardcode_direct=yes
10297 # hardcode_minus_L: Not really in the search PATH,
10298 # but as the default location of the library.
10299 hardcode_minus_L=yes
10300 export_dynamic_flag_spec='${wl}-E'
10303 hpux10*)
10304 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10305 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10306 else
10307 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10309 if test "$with_gnu_ld" = no; then
10310 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10311 hardcode_libdir_flag_spec_ld='+b $libdir'
10312 hardcode_libdir_separator=:
10313 hardcode_direct=yes
10314 hardcode_direct_absolute=yes
10315 export_dynamic_flag_spec='${wl}-E'
10316 # hardcode_minus_L: Not really in the search PATH,
10317 # but as the default location of the library.
10318 hardcode_minus_L=yes
10322 hpux11*)
10323 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10324 case $host_cpu in
10325 hppa*64*)
10326 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10328 ia64*)
10329 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10332 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10334 esac
10335 else
10336 case $host_cpu in
10337 hppa*64*)
10338 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10340 ia64*)
10341 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10345 # Older versions of the 11.00 compiler do not understand -b yet
10346 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10348 $as_echo_n "checking if $CC understands -b... " >&6; }
10349 if ${lt_cv_prog_compiler__b+:} false; then :
10350 $as_echo_n "(cached) " >&6
10351 else
10352 lt_cv_prog_compiler__b=no
10353 save_LDFLAGS="$LDFLAGS"
10354 LDFLAGS="$LDFLAGS -b"
10355 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10356 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10357 # The linker can only warn and ignore the option if not recognized
10358 # So say no if there are warnings
10359 if test -s conftest.err; then
10360 # Append any errors to the config.log.
10361 cat conftest.err 1>&5
10362 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10363 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10364 if diff conftest.exp conftest.er2 >/dev/null; then
10365 lt_cv_prog_compiler__b=yes
10367 else
10368 lt_cv_prog_compiler__b=yes
10371 $RM -r conftest*
10372 LDFLAGS="$save_LDFLAGS"
10375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10376 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10378 if test x"$lt_cv_prog_compiler__b" = xyes; then
10379 archive_cmds='$CC -b ${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'
10385 esac
10387 if test "$with_gnu_ld" = no; then
10388 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10389 hardcode_libdir_separator=:
10391 case $host_cpu in
10392 hppa*64*|ia64*)
10393 hardcode_direct=no
10394 hardcode_shlibpath_var=no
10397 hardcode_direct=yes
10398 hardcode_direct_absolute=yes
10399 export_dynamic_flag_spec='${wl}-E'
10401 # hardcode_minus_L: Not really in the search PATH,
10402 # but as the default location of the library.
10403 hardcode_minus_L=yes
10405 esac
10409 irix5* | irix6* | nonstopux*)
10410 if test "$GCC" = yes; then
10411 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'
10412 # Try to use the -exported_symbol ld option, if it does not
10413 # work, assume that -exports_file does not work either and
10414 # implicitly export all symbols.
10415 save_LDFLAGS="$LDFLAGS"
10416 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10417 if test x$gcc_no_link = xyes; then
10418 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10421 /* end confdefs.h. */
10422 int foo(void) {}
10423 _ACEOF
10424 if ac_fn_c_try_link "$LINENO"; then :
10425 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'
10428 rm -f core conftest.err conftest.$ac_objext \
10429 conftest$ac_exeext conftest.$ac_ext
10430 LDFLAGS="$save_LDFLAGS"
10431 else
10432 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'
10433 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'
10435 archive_cmds_need_lc='no'
10436 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10437 hardcode_libdir_separator=:
10438 inherit_rpath=yes
10439 link_all_deplibs=yes
10442 netbsd*)
10443 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10444 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10445 else
10446 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10448 hardcode_libdir_flag_spec='-R$libdir'
10449 hardcode_direct=yes
10450 hardcode_shlibpath_var=no
10453 newsos6)
10454 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10455 hardcode_direct=yes
10456 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10457 hardcode_libdir_separator=:
10458 hardcode_shlibpath_var=no
10461 *nto* | *qnx*)
10464 openbsd*)
10465 if test -f /usr/libexec/ld.so; then
10466 hardcode_direct=yes
10467 hardcode_shlibpath_var=no
10468 hardcode_direct_absolute=yes
10469 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10470 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10471 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10472 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10473 export_dynamic_flag_spec='${wl}-E'
10474 else
10475 case $host_os in
10476 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10477 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10478 hardcode_libdir_flag_spec='-R$libdir'
10481 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10482 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10484 esac
10486 else
10487 ld_shlibs=no
10491 os2*)
10492 hardcode_libdir_flag_spec='-L$libdir'
10493 hardcode_minus_L=yes
10494 allow_undefined_flag=unsupported
10495 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'
10496 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10499 osf3*)
10500 if test "$GCC" = yes; then
10501 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10502 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'
10503 else
10504 allow_undefined_flag=' -expect_unresolved \*'
10505 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'
10507 archive_cmds_need_lc='no'
10508 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10509 hardcode_libdir_separator=:
10512 osf4* | osf5*) # as osf3* with the addition of -msym flag
10513 if test "$GCC" = yes; then
10514 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10515 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'
10516 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10517 else
10518 allow_undefined_flag=' -expect_unresolved \*'
10519 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'
10520 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~
10521 $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'
10523 # Both c and cxx compiler support -rpath directly
10524 hardcode_libdir_flag_spec='-rpath $libdir'
10526 archive_cmds_need_lc='no'
10527 hardcode_libdir_separator=:
10530 solaris*)
10531 no_undefined_flag=' -z defs'
10532 if test "$GCC" = yes; then
10533 wlarc='${wl}'
10534 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10535 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10536 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10537 else
10538 case `$CC -V 2>&1` in
10539 *"Compilers 5.0"*)
10540 wlarc=''
10541 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10542 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10543 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10546 wlarc='${wl}'
10547 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10548 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10549 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10551 esac
10553 hardcode_libdir_flag_spec='-R$libdir'
10554 hardcode_shlibpath_var=no
10555 case $host_os in
10556 solaris2.[0-5] | solaris2.[0-5].*) ;;
10558 # The compiler driver will combine and reorder linker options,
10559 # but understands `-z linker_flag'. GCC discards it without `$wl',
10560 # but is careful enough not to reorder.
10561 # Supported since Solaris 2.6 (maybe 2.5.1?)
10562 if test "$GCC" = yes; then
10563 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10564 else
10565 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10568 esac
10569 link_all_deplibs=yes
10572 sunos4*)
10573 if test "x$host_vendor" = xsequent; then
10574 # Use $CC to link under sequent, because it throws in some extra .o
10575 # files that make .init and .fini sections work.
10576 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10577 else
10578 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10580 hardcode_libdir_flag_spec='-L$libdir'
10581 hardcode_direct=yes
10582 hardcode_minus_L=yes
10583 hardcode_shlibpath_var=no
10586 sysv4)
10587 case $host_vendor in
10588 sni)
10589 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10590 hardcode_direct=yes # is this really true???
10592 siemens)
10593 ## LD is ld it makes a PLAMLIB
10594 ## CC just makes a GrossModule.
10595 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10596 reload_cmds='$CC -r -o $output$reload_objs'
10597 hardcode_direct=no
10599 motorola)
10600 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10601 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10603 esac
10604 runpath_var='LD_RUN_PATH'
10605 hardcode_shlibpath_var=no
10608 sysv4.3*)
10609 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10610 hardcode_shlibpath_var=no
10611 export_dynamic_flag_spec='-Bexport'
10614 sysv4*MP*)
10615 if test -d /usr/nec; then
10616 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10617 hardcode_shlibpath_var=no
10618 runpath_var=LD_RUN_PATH
10619 hardcode_runpath_var=yes
10620 ld_shlibs=yes
10624 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10625 no_undefined_flag='${wl}-z,text'
10626 archive_cmds_need_lc=no
10627 hardcode_shlibpath_var=no
10628 runpath_var='LD_RUN_PATH'
10630 if test "$GCC" = yes; then
10631 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10632 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10633 else
10634 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10635 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10639 sysv5* | sco3.2v5* | sco5v6*)
10640 # Note: We can NOT use -z defs as we might desire, because we do not
10641 # link with -lc, and that would cause any symbols used from libc to
10642 # always be unresolved, which means just about no library would
10643 # ever link correctly. If we're not using GNU ld we use -z text
10644 # though, which does catch some bad symbols but isn't as heavy-handed
10645 # as -z defs.
10646 no_undefined_flag='${wl}-z,text'
10647 allow_undefined_flag='${wl}-z,nodefs'
10648 archive_cmds_need_lc=no
10649 hardcode_shlibpath_var=no
10650 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10651 hardcode_libdir_separator=':'
10652 link_all_deplibs=yes
10653 export_dynamic_flag_spec='${wl}-Bexport'
10654 runpath_var='LD_RUN_PATH'
10656 if test "$GCC" = yes; then
10657 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10658 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10659 else
10660 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10661 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10665 uts4*)
10666 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10667 hardcode_libdir_flag_spec='-L$libdir'
10668 hardcode_shlibpath_var=no
10672 ld_shlibs=no
10674 esac
10676 if test x$host_vendor = xsni; then
10677 case $host in
10678 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10679 export_dynamic_flag_spec='${wl}-Blargedynsym'
10681 esac
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10686 $as_echo "$ld_shlibs" >&6; }
10687 test "$ld_shlibs" = no && can_build_shared=no
10689 with_gnu_ld=$with_gnu_ld
10706 # Do we need to explicitly link libc?
10708 case "x$archive_cmds_need_lc" in
10709 x|xyes)
10710 # Assume -lc should be added
10711 archive_cmds_need_lc=yes
10713 if test "$enable_shared" = yes && test "$GCC" = yes; then
10714 case $archive_cmds in
10715 *'~'*)
10716 # FIXME: we may have to deal with multi-command sequences.
10718 '$CC '*)
10719 # Test whether the compiler implicitly links with -lc since on some
10720 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10721 # to ld, don't add -lc before -lgcc.
10722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10723 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10724 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10725 $as_echo_n "(cached) " >&6
10726 else
10727 $RM conftest*
10728 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10730 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10731 (eval $ac_compile) 2>&5
10732 ac_status=$?
10733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10734 test $ac_status = 0; } 2>conftest.err; then
10735 soname=conftest
10736 lib=conftest
10737 libobjs=conftest.$ac_objext
10738 deplibs=
10739 wl=$lt_prog_compiler_wl
10740 pic_flag=$lt_prog_compiler_pic
10741 compiler_flags=-v
10742 linker_flags=-v
10743 verstring=
10744 output_objdir=.
10745 libname=conftest
10746 lt_save_allow_undefined_flag=$allow_undefined_flag
10747 allow_undefined_flag=
10748 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10749 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10750 ac_status=$?
10751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10752 test $ac_status = 0; }
10753 then
10754 lt_cv_archive_cmds_need_lc=no
10755 else
10756 lt_cv_archive_cmds_need_lc=yes
10758 allow_undefined_flag=$lt_save_allow_undefined_flag
10759 else
10760 cat conftest.err 1>&5
10762 $RM conftest*
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10766 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10767 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10769 esac
10772 esac
10930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10931 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10933 if test "$GCC" = yes; then
10934 case $host_os in
10935 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10936 *) lt_awk_arg="/^libraries:/" ;;
10937 esac
10938 case $host_os in
10939 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10940 *) lt_sed_strip_eq="s,=/,/,g" ;;
10941 esac
10942 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10943 case $lt_search_path_spec in
10944 *\;*)
10945 # if the path contains ";" then we assume it to be the separator
10946 # otherwise default to the standard path separator (i.e. ":") - it is
10947 # assumed that no part of a normal pathname contains ";" but that should
10948 # okay in the real world where ";" in dirpaths is itself problematic.
10949 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10952 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10954 esac
10955 # Ok, now we have the path, separated by spaces, we can step through it
10956 # and add multilib dir if necessary.
10957 lt_tmp_lt_search_path_spec=
10958 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10959 for lt_sys_path in $lt_search_path_spec; do
10960 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10961 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10962 else
10963 test -d "$lt_sys_path" && \
10964 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10966 done
10967 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10968 BEGIN {RS=" "; FS="/|\n";} {
10969 lt_foo="";
10970 lt_count=0;
10971 for (lt_i = NF; lt_i > 0; lt_i--) {
10972 if ($lt_i != "" && $lt_i != ".") {
10973 if ($lt_i == "..") {
10974 lt_count++;
10975 } else {
10976 if (lt_count == 0) {
10977 lt_foo="/" $lt_i lt_foo;
10978 } else {
10979 lt_count--;
10984 if (lt_foo != "") { lt_freq[lt_foo]++; }
10985 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10987 # AWK program above erroneously prepends '/' to C:/dos/paths
10988 # for these hosts.
10989 case $host_os in
10990 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10991 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10992 esac
10993 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10994 else
10995 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10997 library_names_spec=
10998 libname_spec='lib$name'
10999 soname_spec=
11000 shrext_cmds=".so"
11001 postinstall_cmds=
11002 postuninstall_cmds=
11003 finish_cmds=
11004 finish_eval=
11005 shlibpath_var=
11006 shlibpath_overrides_runpath=unknown
11007 version_type=none
11008 dynamic_linker="$host_os ld.so"
11009 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11010 need_lib_prefix=unknown
11011 hardcode_into_libs=no
11013 # when you set need_version to no, make sure it does not cause -set_version
11014 # flags to be left without arguments
11015 need_version=unknown
11017 case $host_os in
11018 aix3*)
11019 version_type=linux
11020 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11021 shlibpath_var=LIBPATH
11023 # AIX 3 has no versioning support, so we append a major version to the name.
11024 soname_spec='${libname}${release}${shared_ext}$major'
11027 aix[4-9]*)
11028 version_type=linux
11029 need_lib_prefix=no
11030 need_version=no
11031 hardcode_into_libs=yes
11032 if test "$host_cpu" = ia64; then
11033 # AIX 5 supports IA64
11034 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11035 shlibpath_var=LD_LIBRARY_PATH
11036 else
11037 # With GCC up to 2.95.x, collect2 would create an import file
11038 # for dependence libraries. The import file would start with
11039 # the line `#! .'. This would cause the generated library to
11040 # depend on `.', always an invalid library. This was fixed in
11041 # development snapshots of GCC prior to 3.0.
11042 case $host_os in
11043 aix4 | aix4.[01] | aix4.[01].*)
11044 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11045 echo ' yes '
11046 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11048 else
11049 can_build_shared=no
11052 esac
11053 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11054 # soname into executable. Probably we can add versioning support to
11055 # collect2, so additional links can be useful in future.
11056 if test "$aix_use_runtimelinking" = yes; then
11057 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11058 # instead of lib<name>.a to let people know that these are not
11059 # typical AIX shared libraries.
11060 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11061 else
11062 # We preserve .a as extension for shared libraries through AIX4.2
11063 # and later when we are not doing run time linking.
11064 library_names_spec='${libname}${release}.a $libname.a'
11065 soname_spec='${libname}${release}${shared_ext}$major'
11067 shlibpath_var=LIBPATH
11071 amigaos*)
11072 case $host_cpu in
11073 powerpc)
11074 # Since July 2007 AmigaOS4 officially supports .so libraries.
11075 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11076 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11078 m68k)
11079 library_names_spec='$libname.ixlibrary $libname.a'
11080 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11081 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'
11083 esac
11086 beos*)
11087 library_names_spec='${libname}${shared_ext}'
11088 dynamic_linker="$host_os ld.so"
11089 shlibpath_var=LIBRARY_PATH
11092 bsdi[45]*)
11093 version_type=linux
11094 need_version=no
11095 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11096 soname_spec='${libname}${release}${shared_ext}$major'
11097 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11098 shlibpath_var=LD_LIBRARY_PATH
11099 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11100 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11101 # the default ld.so.conf also contains /usr/contrib/lib and
11102 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11103 # libtool to hard-code these into programs
11106 cygwin* | mingw* | pw32* | cegcc*)
11107 version_type=windows
11108 shrext_cmds=".dll"
11109 need_version=no
11110 need_lib_prefix=no
11112 case $GCC,$host_os in
11113 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11114 library_names_spec='$libname.dll.a'
11115 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11116 postinstall_cmds='base_file=`basename \${file}`~
11117 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11118 dldir=$destdir/`dirname \$dlpath`~
11119 test -d \$dldir || mkdir -p \$dldir~
11120 $install_prog $dir/$dlname \$dldir/$dlname~
11121 chmod a+x \$dldir/$dlname~
11122 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11123 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11125 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11126 dlpath=$dir/\$dldll~
11127 $RM \$dlpath'
11128 shlibpath_overrides_runpath=yes
11130 case $host_os in
11131 cygwin*)
11132 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11133 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11135 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11137 mingw* | cegcc*)
11138 # MinGW DLLs use traditional 'lib' prefix
11139 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11141 pw32*)
11142 # pw32 DLLs use 'pw' prefix rather than 'lib'
11143 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11145 esac
11149 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11151 esac
11152 dynamic_linker='Win32 ld.exe'
11153 # FIXME: first we should search . and the directory the executable is in
11154 shlibpath_var=PATH
11157 darwin* | rhapsody*)
11158 dynamic_linker="$host_os dyld"
11159 version_type=darwin
11160 need_lib_prefix=no
11161 need_version=no
11162 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11163 soname_spec='${libname}${release}${major}$shared_ext'
11164 shlibpath_overrides_runpath=yes
11165 shlibpath_var=DYLD_LIBRARY_PATH
11166 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11168 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11169 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11172 dgux*)
11173 version_type=linux
11174 need_lib_prefix=no
11175 need_version=no
11176 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11177 soname_spec='${libname}${release}${shared_ext}$major'
11178 shlibpath_var=LD_LIBRARY_PATH
11181 freebsd* | dragonfly*)
11182 # DragonFly does not have aout. When/if they implement a new
11183 # versioning mechanism, adjust this.
11184 if test -x /usr/bin/objformat; then
11185 objformat=`/usr/bin/objformat`
11186 else
11187 case $host_os in
11188 freebsd[23].*) objformat=aout ;;
11189 *) objformat=elf ;;
11190 esac
11192 version_type=freebsd-$objformat
11193 case $version_type in
11194 freebsd-elf*)
11195 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11196 need_version=no
11197 need_lib_prefix=no
11199 freebsd-*)
11200 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11201 need_version=yes
11203 esac
11204 shlibpath_var=LD_LIBRARY_PATH
11205 case $host_os in
11206 freebsd2.*)
11207 shlibpath_overrides_runpath=yes
11209 freebsd3.[01]* | freebsdelf3.[01]*)
11210 shlibpath_overrides_runpath=yes
11211 hardcode_into_libs=yes
11213 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11214 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11215 shlibpath_overrides_runpath=no
11216 hardcode_into_libs=yes
11218 *) # from 4.6 on, and DragonFly
11219 shlibpath_overrides_runpath=yes
11220 hardcode_into_libs=yes
11222 esac
11225 gnu*)
11226 version_type=linux
11227 need_lib_prefix=no
11228 need_version=no
11229 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11230 soname_spec='${libname}${release}${shared_ext}$major'
11231 shlibpath_var=LD_LIBRARY_PATH
11232 hardcode_into_libs=yes
11235 haiku*)
11236 version_type=linux
11237 need_lib_prefix=no
11238 need_version=no
11239 dynamic_linker="$host_os runtime_loader"
11240 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11241 soname_spec='${libname}${release}${shared_ext}$major'
11242 shlibpath_var=LIBRARY_PATH
11243 shlibpath_overrides_runpath=yes
11244 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11245 hardcode_into_libs=yes
11248 hpux9* | hpux10* | hpux11*)
11249 # Give a soname corresponding to the major version so that dld.sl refuses to
11250 # link against other versions.
11251 version_type=sunos
11252 need_lib_prefix=no
11253 need_version=no
11254 case $host_cpu in
11255 ia64*)
11256 shrext_cmds='.so'
11257 hardcode_into_libs=yes
11258 dynamic_linker="$host_os dld.so"
11259 shlibpath_var=LD_LIBRARY_PATH
11260 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11261 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11262 soname_spec='${libname}${release}${shared_ext}$major'
11263 if test "X$HPUX_IA64_MODE" = X32; then
11264 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11265 else
11266 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11268 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11270 hppa*64*)
11271 shrext_cmds='.sl'
11272 hardcode_into_libs=yes
11273 dynamic_linker="$host_os dld.sl"
11274 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11275 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11276 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11277 soname_spec='${libname}${release}${shared_ext}$major'
11278 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11279 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11282 shrext_cmds='.sl'
11283 dynamic_linker="$host_os dld.sl"
11284 shlibpath_var=SHLIB_PATH
11285 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11286 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11287 soname_spec='${libname}${release}${shared_ext}$major'
11289 esac
11290 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11291 postinstall_cmds='chmod 555 $lib'
11292 # or fails outright, so override atomically:
11293 install_override_mode=555
11296 interix[3-9]*)
11297 version_type=linux
11298 need_lib_prefix=no
11299 need_version=no
11300 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11301 soname_spec='${libname}${release}${shared_ext}$major'
11302 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11303 shlibpath_var=LD_LIBRARY_PATH
11304 shlibpath_overrides_runpath=no
11305 hardcode_into_libs=yes
11308 irix5* | irix6* | nonstopux*)
11309 case $host_os in
11310 nonstopux*) version_type=nonstopux ;;
11312 if test "$lt_cv_prog_gnu_ld" = yes; then
11313 version_type=linux
11314 else
11315 version_type=irix
11316 fi ;;
11317 esac
11318 need_lib_prefix=no
11319 need_version=no
11320 soname_spec='${libname}${release}${shared_ext}$major'
11321 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11322 case $host_os in
11323 irix5* | nonstopux*)
11324 libsuff= shlibsuff=
11327 case $LD in # libtool.m4 will add one of these switches to LD
11328 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11329 libsuff= shlibsuff= libmagic=32-bit;;
11330 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11331 libsuff=32 shlibsuff=N32 libmagic=N32;;
11332 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11333 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11334 *) libsuff= shlibsuff= libmagic=never-match;;
11335 esac
11337 esac
11338 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11339 shlibpath_overrides_runpath=no
11340 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11341 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11342 hardcode_into_libs=yes
11345 # No shared lib support for Linux oldld, aout, or coff.
11346 linux*oldld* | linux*aout* | linux*coff*)
11347 dynamic_linker=no
11350 # This must be Linux ELF.
11352 # uclinux* changes (here and below) have been submitted to the libtool
11353 # project, but have not yet been accepted: they are GCC-local changes
11354 # for the time being. (See
11355 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
11356 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
11357 version_type=linux
11358 need_lib_prefix=no
11359 need_version=no
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'
11362 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11363 shlibpath_var=LD_LIBRARY_PATH
11364 shlibpath_overrides_runpath=no
11366 # Some binutils ld are patched to set DT_RUNPATH
11367 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11368 $as_echo_n "(cached) " >&6
11369 else
11370 lt_cv_shlibpath_overrides_runpath=no
11371 save_LDFLAGS=$LDFLAGS
11372 save_libdir=$libdir
11373 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11374 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11375 if test x$gcc_no_link = xyes; then
11376 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11379 /* end confdefs.h. */
11382 main ()
11386 return 0;
11388 _ACEOF
11389 if ac_fn_c_try_link "$LINENO"; then :
11390 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11391 lt_cv_shlibpath_overrides_runpath=yes
11394 rm -f core conftest.err conftest.$ac_objext \
11395 conftest$ac_exeext conftest.$ac_ext
11396 LDFLAGS=$save_LDFLAGS
11397 libdir=$save_libdir
11401 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11403 # This implies no fast_install, which is unacceptable.
11404 # Some rework will be needed to allow for fast_install
11405 # before this can be enabled.
11406 hardcode_into_libs=yes
11408 # Append ld.so.conf contents to the search path
11409 if test -f /etc/ld.so.conf; then
11410 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' ' '`
11411 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11414 # We used to test for /lib/ld.so.1 and disable shared libraries on
11415 # powerpc, because MkLinux only supported shared libraries with the
11416 # GNU dynamic linker. Since this was broken with cross compilers,
11417 # most powerpc-linux boxes support dynamic linking these days and
11418 # people can always --disable-shared, the test was removed, and we
11419 # assume the GNU/Linux dynamic linker is in use.
11420 dynamic_linker='GNU/Linux ld.so'
11423 netbsd*)
11424 version_type=sunos
11425 need_lib_prefix=no
11426 need_version=no
11427 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11428 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11429 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11430 dynamic_linker='NetBSD (a.out) ld.so'
11431 else
11432 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11433 soname_spec='${libname}${release}${shared_ext}$major'
11434 dynamic_linker='NetBSD ld.elf_so'
11436 shlibpath_var=LD_LIBRARY_PATH
11437 shlibpath_overrides_runpath=yes
11438 hardcode_into_libs=yes
11441 newsos6)
11442 version_type=linux
11443 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11444 shlibpath_var=LD_LIBRARY_PATH
11445 shlibpath_overrides_runpath=yes
11448 *nto* | *qnx*)
11449 version_type=qnx
11450 need_lib_prefix=no
11451 need_version=no
11452 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11453 soname_spec='${libname}${release}${shared_ext}$major'
11454 shlibpath_var=LD_LIBRARY_PATH
11455 shlibpath_overrides_runpath=no
11456 hardcode_into_libs=yes
11457 dynamic_linker='ldqnx.so'
11460 openbsd*)
11461 version_type=sunos
11462 sys_lib_dlsearch_path_spec="/usr/lib"
11463 need_lib_prefix=no
11464 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11465 case $host_os in
11466 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11467 *) need_version=no ;;
11468 esac
11469 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11470 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11471 shlibpath_var=LD_LIBRARY_PATH
11472 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11473 case $host_os in
11474 openbsd2.[89] | openbsd2.[89].*)
11475 shlibpath_overrides_runpath=no
11478 shlibpath_overrides_runpath=yes
11480 esac
11481 else
11482 shlibpath_overrides_runpath=yes
11486 os2*)
11487 libname_spec='$name'
11488 shrext_cmds=".dll"
11489 need_lib_prefix=no
11490 library_names_spec='$libname${shared_ext} $libname.a'
11491 dynamic_linker='OS/2 ld.exe'
11492 shlibpath_var=LIBPATH
11495 osf3* | osf4* | osf5*)
11496 version_type=osf
11497 need_lib_prefix=no
11498 need_version=no
11499 soname_spec='${libname}${release}${shared_ext}$major'
11500 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11501 shlibpath_var=LD_LIBRARY_PATH
11502 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11503 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11506 rdos*)
11507 dynamic_linker=no
11510 solaris*)
11511 version_type=linux
11512 need_lib_prefix=no
11513 need_version=no
11514 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11515 soname_spec='${libname}${release}${shared_ext}$major'
11516 shlibpath_var=LD_LIBRARY_PATH
11517 shlibpath_overrides_runpath=yes
11518 hardcode_into_libs=yes
11519 # ldd complains unless libraries are executable
11520 postinstall_cmds='chmod +x $lib'
11523 sunos4*)
11524 version_type=sunos
11525 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11526 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11527 shlibpath_var=LD_LIBRARY_PATH
11528 shlibpath_overrides_runpath=yes
11529 if test "$with_gnu_ld" = yes; then
11530 need_lib_prefix=no
11532 need_version=yes
11535 sysv4 | sysv4.3*)
11536 version_type=linux
11537 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11538 soname_spec='${libname}${release}${shared_ext}$major'
11539 shlibpath_var=LD_LIBRARY_PATH
11540 case $host_vendor in
11541 sni)
11542 shlibpath_overrides_runpath=no
11543 need_lib_prefix=no
11544 runpath_var=LD_RUN_PATH
11546 siemens)
11547 need_lib_prefix=no
11549 motorola)
11550 need_lib_prefix=no
11551 need_version=no
11552 shlibpath_overrides_runpath=no
11553 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11555 esac
11558 sysv4*MP*)
11559 if test -d /usr/nec ;then
11560 version_type=linux
11561 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11562 soname_spec='$libname${shared_ext}.$major'
11563 shlibpath_var=LD_LIBRARY_PATH
11567 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11568 version_type=freebsd-elf
11569 need_lib_prefix=no
11570 need_version=no
11571 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11572 soname_spec='${libname}${release}${shared_ext}$major'
11573 shlibpath_var=LD_LIBRARY_PATH
11574 shlibpath_overrides_runpath=yes
11575 hardcode_into_libs=yes
11576 if test "$with_gnu_ld" = yes; then
11577 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11578 else
11579 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11580 case $host_os in
11581 sco3.2v5*)
11582 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11584 esac
11586 sys_lib_dlsearch_path_spec='/usr/lib'
11589 tpf*)
11590 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11591 version_type=linux
11592 need_lib_prefix=no
11593 need_version=no
11594 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11595 shlibpath_var=LD_LIBRARY_PATH
11596 shlibpath_overrides_runpath=no
11597 hardcode_into_libs=yes
11600 uts4*)
11601 version_type=linux
11602 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11603 soname_spec='${libname}${release}${shared_ext}$major'
11604 shlibpath_var=LD_LIBRARY_PATH
11608 dynamic_linker=no
11610 esac
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11612 $as_echo "$dynamic_linker" >&6; }
11613 test "$dynamic_linker" = no && can_build_shared=no
11615 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11616 if test "$GCC" = yes; then
11617 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11620 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11621 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11623 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11624 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11719 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11720 hardcode_action=
11721 if test -n "$hardcode_libdir_flag_spec" ||
11722 test -n "$runpath_var" ||
11723 test "X$hardcode_automatic" = "Xyes" ; then
11725 # We can hardcode non-existent directories.
11726 if test "$hardcode_direct" != no &&
11727 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11728 # have to relink, otherwise we might link with an installed library
11729 # when we should be linking with a yet-to-be-installed one
11730 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11731 test "$hardcode_minus_L" != no; then
11732 # Linking always hardcodes the temporary library directory.
11733 hardcode_action=relink
11734 else
11735 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11736 hardcode_action=immediate
11738 else
11739 # We cannot hardcode anything, or else we can only hardcode existing
11740 # directories.
11741 hardcode_action=unsupported
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11744 $as_echo "$hardcode_action" >&6; }
11746 if test "$hardcode_action" = relink ||
11747 test "$inherit_rpath" = yes; then
11748 # Fast installation is not supported
11749 enable_fast_install=no
11750 elif test "$shlibpath_overrides_runpath" = yes ||
11751 test "$enable_shared" = no; then
11752 # Fast installation is not necessary
11753 enable_fast_install=needless
11761 if test "x$enable_dlopen" != xyes; then
11762 enable_dlopen=unknown
11763 enable_dlopen_self=unknown
11764 enable_dlopen_self_static=unknown
11765 else
11766 lt_cv_dlopen=no
11767 lt_cv_dlopen_libs=
11769 case $host_os in
11770 beos*)
11771 lt_cv_dlopen="load_add_on"
11772 lt_cv_dlopen_libs=
11773 lt_cv_dlopen_self=yes
11776 mingw* | pw32* | cegcc*)
11777 lt_cv_dlopen="LoadLibrary"
11778 lt_cv_dlopen_libs=
11781 cygwin*)
11782 lt_cv_dlopen="dlopen"
11783 lt_cv_dlopen_libs=
11786 darwin*)
11787 # if libdl is installed we need to link against it
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11789 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11790 if ${ac_cv_lib_dl_dlopen+:} false; then :
11791 $as_echo_n "(cached) " >&6
11792 else
11793 ac_check_lib_save_LIBS=$LIBS
11794 LIBS="-ldl $LIBS"
11795 if test x$gcc_no_link = xyes; then
11796 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11799 /* end confdefs.h. */
11801 /* Override any GCC internal prototype to avoid an error.
11802 Use char because int might match the return type of a GCC
11803 builtin and then its argument prototype would still apply. */
11804 #ifdef __cplusplus
11805 extern "C"
11806 #endif
11807 char dlopen ();
11809 main ()
11811 return dlopen ();
11813 return 0;
11815 _ACEOF
11816 if ac_fn_c_try_link "$LINENO"; then :
11817 ac_cv_lib_dl_dlopen=yes
11818 else
11819 ac_cv_lib_dl_dlopen=no
11821 rm -f core conftest.err conftest.$ac_objext \
11822 conftest$ac_exeext conftest.$ac_ext
11823 LIBS=$ac_check_lib_save_LIBS
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11826 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11827 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11828 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11829 else
11831 lt_cv_dlopen="dyld"
11832 lt_cv_dlopen_libs=
11833 lt_cv_dlopen_self=yes
11840 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11841 if test "x$ac_cv_func_shl_load" = xyes; then :
11842 lt_cv_dlopen="shl_load"
11843 else
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11845 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11846 if ${ac_cv_lib_dld_shl_load+:} false; then :
11847 $as_echo_n "(cached) " >&6
11848 else
11849 ac_check_lib_save_LIBS=$LIBS
11850 LIBS="-ldld $LIBS"
11851 if test x$gcc_no_link = xyes; then
11852 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11855 /* end confdefs.h. */
11857 /* Override any GCC internal prototype to avoid an error.
11858 Use char because int might match the return type of a GCC
11859 builtin and then its argument prototype would still apply. */
11860 #ifdef __cplusplus
11861 extern "C"
11862 #endif
11863 char shl_load ();
11865 main ()
11867 return shl_load ();
11869 return 0;
11871 _ACEOF
11872 if ac_fn_c_try_link "$LINENO"; then :
11873 ac_cv_lib_dld_shl_load=yes
11874 else
11875 ac_cv_lib_dld_shl_load=no
11877 rm -f core conftest.err conftest.$ac_objext \
11878 conftest$ac_exeext conftest.$ac_ext
11879 LIBS=$ac_check_lib_save_LIBS
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11882 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11883 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11884 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11885 else
11886 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11887 if test "x$ac_cv_func_dlopen" = xyes; then :
11888 lt_cv_dlopen="dlopen"
11889 else
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11891 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11892 if ${ac_cv_lib_dl_dlopen+:} false; then :
11893 $as_echo_n "(cached) " >&6
11894 else
11895 ac_check_lib_save_LIBS=$LIBS
11896 LIBS="-ldl $LIBS"
11897 if test x$gcc_no_link = xyes; then
11898 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11901 /* end confdefs.h. */
11903 /* Override any GCC internal prototype to avoid an error.
11904 Use char because int might match the return type of a GCC
11905 builtin and then its argument prototype would still apply. */
11906 #ifdef __cplusplus
11907 extern "C"
11908 #endif
11909 char dlopen ();
11911 main ()
11913 return dlopen ();
11915 return 0;
11917 _ACEOF
11918 if ac_fn_c_try_link "$LINENO"; then :
11919 ac_cv_lib_dl_dlopen=yes
11920 else
11921 ac_cv_lib_dl_dlopen=no
11923 rm -f core conftest.err conftest.$ac_objext \
11924 conftest$ac_exeext conftest.$ac_ext
11925 LIBS=$ac_check_lib_save_LIBS
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11928 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11929 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11930 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11931 else
11932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11933 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11934 if ${ac_cv_lib_svld_dlopen+:} false; then :
11935 $as_echo_n "(cached) " >&6
11936 else
11937 ac_check_lib_save_LIBS=$LIBS
11938 LIBS="-lsvld $LIBS"
11939 if test x$gcc_no_link = xyes; then
11940 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11943 /* end confdefs.h. */
11945 /* Override any GCC internal prototype to avoid an error.
11946 Use char because int might match the return type of a GCC
11947 builtin and then its argument prototype would still apply. */
11948 #ifdef __cplusplus
11949 extern "C"
11950 #endif
11951 char dlopen ();
11953 main ()
11955 return dlopen ();
11957 return 0;
11959 _ACEOF
11960 if ac_fn_c_try_link "$LINENO"; then :
11961 ac_cv_lib_svld_dlopen=yes
11962 else
11963 ac_cv_lib_svld_dlopen=no
11965 rm -f core conftest.err conftest.$ac_objext \
11966 conftest$ac_exeext conftest.$ac_ext
11967 LIBS=$ac_check_lib_save_LIBS
11969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11970 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11971 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11972 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11973 else
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11975 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11976 if ${ac_cv_lib_dld_dld_link+:} false; then :
11977 $as_echo_n "(cached) " >&6
11978 else
11979 ac_check_lib_save_LIBS=$LIBS
11980 LIBS="-ldld $LIBS"
11981 if test x$gcc_no_link = xyes; then
11982 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11985 /* end confdefs.h. */
11987 /* Override any GCC internal prototype to avoid an error.
11988 Use char because int might match the return type of a GCC
11989 builtin and then its argument prototype would still apply. */
11990 #ifdef __cplusplus
11991 extern "C"
11992 #endif
11993 char dld_link ();
11995 main ()
11997 return dld_link ();
11999 return 0;
12001 _ACEOF
12002 if ac_fn_c_try_link "$LINENO"; then :
12003 ac_cv_lib_dld_dld_link=yes
12004 else
12005 ac_cv_lib_dld_dld_link=no
12007 rm -f core conftest.err conftest.$ac_objext \
12008 conftest$ac_exeext conftest.$ac_ext
12009 LIBS=$ac_check_lib_save_LIBS
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12012 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12013 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12014 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12033 esac
12035 if test "x$lt_cv_dlopen" != xno; then
12036 enable_dlopen=yes
12037 else
12038 enable_dlopen=no
12041 case $lt_cv_dlopen in
12042 dlopen)
12043 save_CPPFLAGS="$CPPFLAGS"
12044 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12046 save_LDFLAGS="$LDFLAGS"
12047 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12049 save_LIBS="$LIBS"
12050 LIBS="$lt_cv_dlopen_libs $LIBS"
12052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12053 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12054 if ${lt_cv_dlopen_self+:} false; then :
12055 $as_echo_n "(cached) " >&6
12056 else
12057 if test "$cross_compiling" = yes; then :
12058 lt_cv_dlopen_self=cross
12059 else
12060 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12061 lt_status=$lt_dlunknown
12062 cat > conftest.$ac_ext <<_LT_EOF
12063 #line 12063 "configure"
12064 #include "confdefs.h"
12066 #if HAVE_DLFCN_H
12067 #include <dlfcn.h>
12068 #endif
12070 #include <stdio.h>
12072 #ifdef RTLD_GLOBAL
12073 # define LT_DLGLOBAL RTLD_GLOBAL
12074 #else
12075 # ifdef DL_GLOBAL
12076 # define LT_DLGLOBAL DL_GLOBAL
12077 # else
12078 # define LT_DLGLOBAL 0
12079 # endif
12080 #endif
12082 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12083 find out it does not work in some platform. */
12084 #ifndef LT_DLLAZY_OR_NOW
12085 # ifdef RTLD_LAZY
12086 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12087 # else
12088 # ifdef DL_LAZY
12089 # define LT_DLLAZY_OR_NOW DL_LAZY
12090 # else
12091 # ifdef RTLD_NOW
12092 # define LT_DLLAZY_OR_NOW RTLD_NOW
12093 # else
12094 # ifdef DL_NOW
12095 # define LT_DLLAZY_OR_NOW DL_NOW
12096 # else
12097 # define LT_DLLAZY_OR_NOW 0
12098 # endif
12099 # endif
12100 # endif
12101 # endif
12102 #endif
12104 /* When -fvisbility=hidden is used, assume the code has been annotated
12105 correspondingly for the symbols needed. */
12106 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12107 void fnord () __attribute__((visibility("default")));
12108 #endif
12110 void fnord () { int i=42; }
12111 int main ()
12113 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12114 int status = $lt_dlunknown;
12116 if (self)
12118 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12119 else
12121 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12122 else puts (dlerror ());
12124 /* dlclose (self); */
12126 else
12127 puts (dlerror ());
12129 return status;
12131 _LT_EOF
12132 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12133 (eval $ac_link) 2>&5
12134 ac_status=$?
12135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12136 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12137 (./conftest; exit; ) >&5 2>/dev/null
12138 lt_status=$?
12139 case x$lt_status in
12140 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12141 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12142 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12143 esac
12144 else :
12145 # compilation failed
12146 lt_cv_dlopen_self=no
12149 rm -fr conftest*
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12154 $as_echo "$lt_cv_dlopen_self" >&6; }
12156 if test "x$lt_cv_dlopen_self" = xyes; then
12157 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12159 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12160 if ${lt_cv_dlopen_self_static+:} false; then :
12161 $as_echo_n "(cached) " >&6
12162 else
12163 if test "$cross_compiling" = yes; then :
12164 lt_cv_dlopen_self_static=cross
12165 else
12166 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12167 lt_status=$lt_dlunknown
12168 cat > conftest.$ac_ext <<_LT_EOF
12169 #line 12169 "configure"
12170 #include "confdefs.h"
12172 #if HAVE_DLFCN_H
12173 #include <dlfcn.h>
12174 #endif
12176 #include <stdio.h>
12178 #ifdef RTLD_GLOBAL
12179 # define LT_DLGLOBAL RTLD_GLOBAL
12180 #else
12181 # ifdef DL_GLOBAL
12182 # define LT_DLGLOBAL DL_GLOBAL
12183 # else
12184 # define LT_DLGLOBAL 0
12185 # endif
12186 #endif
12188 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12189 find out it does not work in some platform. */
12190 #ifndef LT_DLLAZY_OR_NOW
12191 # ifdef RTLD_LAZY
12192 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12193 # else
12194 # ifdef DL_LAZY
12195 # define LT_DLLAZY_OR_NOW DL_LAZY
12196 # else
12197 # ifdef RTLD_NOW
12198 # define LT_DLLAZY_OR_NOW RTLD_NOW
12199 # else
12200 # ifdef DL_NOW
12201 # define LT_DLLAZY_OR_NOW DL_NOW
12202 # else
12203 # define LT_DLLAZY_OR_NOW 0
12204 # endif
12205 # endif
12206 # endif
12207 # endif
12208 #endif
12210 /* When -fvisbility=hidden is used, assume the code has been annotated
12211 correspondingly for the symbols needed. */
12212 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12213 void fnord () __attribute__((visibility("default")));
12214 #endif
12216 void fnord () { int i=42; }
12217 int main ()
12219 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12220 int status = $lt_dlunknown;
12222 if (self)
12224 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12225 else
12227 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12228 else puts (dlerror ());
12230 /* dlclose (self); */
12232 else
12233 puts (dlerror ());
12235 return status;
12237 _LT_EOF
12238 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12239 (eval $ac_link) 2>&5
12240 ac_status=$?
12241 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12242 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12243 (./conftest; exit; ) >&5 2>/dev/null
12244 lt_status=$?
12245 case x$lt_status in
12246 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12247 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12248 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12249 esac
12250 else :
12251 # compilation failed
12252 lt_cv_dlopen_self_static=no
12255 rm -fr conftest*
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12260 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12263 CPPFLAGS="$save_CPPFLAGS"
12264 LDFLAGS="$save_LDFLAGS"
12265 LIBS="$save_LIBS"
12267 esac
12269 case $lt_cv_dlopen_self in
12270 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12271 *) enable_dlopen_self=unknown ;;
12272 esac
12274 case $lt_cv_dlopen_self_static in
12275 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12276 *) enable_dlopen_self_static=unknown ;;
12277 esac
12296 striplib=
12297 old_striplib=
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12299 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12300 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12301 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12302 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12304 $as_echo "yes" >&6; }
12305 else
12306 # FIXME - insert some real tests, host_os isn't really good enough
12307 case $host_os in
12308 darwin*)
12309 if test -n "$STRIP" ; then
12310 striplib="$STRIP -x"
12311 old_striplib="$STRIP -S"
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12313 $as_echo "yes" >&6; }
12314 else
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12316 $as_echo "no" >&6; }
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12321 $as_echo "no" >&6; }
12323 esac
12337 # Report which library types will actually be built
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12339 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12341 $as_echo "$can_build_shared" >&6; }
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12344 $as_echo_n "checking whether to build shared libraries... " >&6; }
12345 test "$can_build_shared" = "no" && enable_shared=no
12347 # On AIX, shared libraries and static libraries use the same namespace, and
12348 # are all built from PIC.
12349 case $host_os in
12350 aix3*)
12351 test "$enable_shared" = yes && enable_static=no
12352 if test -n "$RANLIB"; then
12353 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12354 postinstall_cmds='$RANLIB $lib'
12358 aix[4-9]*)
12359 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12360 test "$enable_shared" = yes && enable_static=no
12363 esac
12364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12365 $as_echo "$enable_shared" >&6; }
12367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12368 $as_echo_n "checking whether to build static libraries... " >&6; }
12369 # Make sure either enable_shared or enable_static is yes.
12370 test "$enable_shared" = yes || enable_static=yes
12371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12372 $as_echo "$enable_static" >&6; }
12378 ac_ext=c
12379 ac_cpp='$CPP $CPPFLAGS'
12380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12384 CC="$lt_save_CC"
12386 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12387 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12388 (test "X$CXX" != "Xg++"))) ; then
12389 ac_ext=cpp
12390 ac_cpp='$CXXCPP $CPPFLAGS'
12391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12395 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12396 if test -z "$CXXCPP"; then
12397 if ${ac_cv_prog_CXXCPP+:} false; then :
12398 $as_echo_n "(cached) " >&6
12399 else
12400 # Double quotes because CXXCPP needs to be expanded
12401 for CXXCPP in "$CXX -E" "/lib/cpp"
12403 ac_preproc_ok=false
12404 for ac_cxx_preproc_warn_flag in '' yes
12406 # Use a header file that comes with gcc, so configuring glibc
12407 # with a fresh cross-compiler works.
12408 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12409 # <limits.h> exists even on freestanding compilers.
12410 # On the NeXT, cc -E runs the code through the compiler's parser,
12411 # not just through cpp. "Syntax error" is here to catch this case.
12412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12413 /* end confdefs.h. */
12414 #ifdef __STDC__
12415 # include <limits.h>
12416 #else
12417 # include <assert.h>
12418 #endif
12419 Syntax error
12420 _ACEOF
12421 if ac_fn_cxx_try_cpp "$LINENO"; then :
12423 else
12424 # Broken: fails on valid input.
12425 continue
12427 rm -f conftest.err conftest.i conftest.$ac_ext
12429 # OK, works on sane cases. Now check whether nonexistent headers
12430 # can be detected and how.
12431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12432 /* end confdefs.h. */
12433 #include <ac_nonexistent.h>
12434 _ACEOF
12435 if ac_fn_cxx_try_cpp "$LINENO"; then :
12436 # Broken: success on invalid input.
12437 continue
12438 else
12439 # Passes both tests.
12440 ac_preproc_ok=:
12441 break
12443 rm -f conftest.err conftest.i conftest.$ac_ext
12445 done
12446 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12447 rm -f conftest.i conftest.err conftest.$ac_ext
12448 if $ac_preproc_ok; then :
12449 break
12452 done
12453 ac_cv_prog_CXXCPP=$CXXCPP
12456 CXXCPP=$ac_cv_prog_CXXCPP
12457 else
12458 ac_cv_prog_CXXCPP=$CXXCPP
12460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12461 $as_echo "$CXXCPP" >&6; }
12462 ac_preproc_ok=false
12463 for ac_cxx_preproc_warn_flag in '' yes
12465 # Use a header file that comes with gcc, so configuring glibc
12466 # with a fresh cross-compiler works.
12467 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12468 # <limits.h> exists even on freestanding compilers.
12469 # On the NeXT, cc -E runs the code through the compiler's parser,
12470 # not just through cpp. "Syntax error" is here to catch this case.
12471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12472 /* end confdefs.h. */
12473 #ifdef __STDC__
12474 # include <limits.h>
12475 #else
12476 # include <assert.h>
12477 #endif
12478 Syntax error
12479 _ACEOF
12480 if ac_fn_cxx_try_cpp "$LINENO"; then :
12482 else
12483 # Broken: fails on valid input.
12484 continue
12486 rm -f conftest.err conftest.i conftest.$ac_ext
12488 # OK, works on sane cases. Now check whether nonexistent headers
12489 # can be detected and how.
12490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12491 /* end confdefs.h. */
12492 #include <ac_nonexistent.h>
12493 _ACEOF
12494 if ac_fn_cxx_try_cpp "$LINENO"; then :
12495 # Broken: success on invalid input.
12496 continue
12497 else
12498 # Passes both tests.
12499 ac_preproc_ok=:
12500 break
12502 rm -f conftest.err conftest.i conftest.$ac_ext
12504 done
12505 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12506 rm -f conftest.i conftest.err conftest.$ac_ext
12507 if $ac_preproc_ok; then :
12509 else
12510 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12511 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12512 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12513 See \`config.log' for more details" "$LINENO" 5; }
12516 ac_ext=c
12517 ac_cpp='$CPP $CPPFLAGS'
12518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12522 else
12523 _lt_caught_CXX_error=yes
12526 ac_ext=cpp
12527 ac_cpp='$CXXCPP $CPPFLAGS'
12528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12532 archive_cmds_need_lc_CXX=no
12533 allow_undefined_flag_CXX=
12534 always_export_symbols_CXX=no
12535 archive_expsym_cmds_CXX=
12536 compiler_needs_object_CXX=no
12537 export_dynamic_flag_spec_CXX=
12538 hardcode_direct_CXX=no
12539 hardcode_direct_absolute_CXX=no
12540 hardcode_libdir_flag_spec_CXX=
12541 hardcode_libdir_flag_spec_ld_CXX=
12542 hardcode_libdir_separator_CXX=
12543 hardcode_minus_L_CXX=no
12544 hardcode_shlibpath_var_CXX=unsupported
12545 hardcode_automatic_CXX=no
12546 inherit_rpath_CXX=no
12547 module_cmds_CXX=
12548 module_expsym_cmds_CXX=
12549 link_all_deplibs_CXX=unknown
12550 old_archive_cmds_CXX=$old_archive_cmds
12551 reload_flag_CXX=$reload_flag
12552 reload_cmds_CXX=$reload_cmds
12553 no_undefined_flag_CXX=
12554 whole_archive_flag_spec_CXX=
12555 enable_shared_with_static_runtimes_CXX=no
12557 # Source file extension for C++ test sources.
12558 ac_ext=cpp
12560 # Object file extension for compiled C++ test sources.
12561 objext=o
12562 objext_CXX=$objext
12564 # No sense in running all these tests if we already determined that
12565 # the CXX compiler isn't working. Some variables (like enable_shared)
12566 # are currently assumed to apply to all compilers on this platform,
12567 # and will be corrupted by setting them based on a non-working compiler.
12568 if test "$_lt_caught_CXX_error" != yes; then
12569 # Code to be used in simple compile tests
12570 lt_simple_compile_test_code="int some_variable = 0;"
12572 # Code to be used in simple link tests
12573 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12575 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12582 # If no C compiler was specified, use CC.
12583 LTCC=${LTCC-"$CC"}
12585 # If no C compiler flags were specified, use CFLAGS.
12586 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12588 # Allow CC to be a program name with arguments.
12589 compiler=$CC
12592 # save warnings/boilerplate of simple test code
12593 ac_outfile=conftest.$ac_objext
12594 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12595 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12596 _lt_compiler_boilerplate=`cat conftest.err`
12597 $RM conftest*
12599 ac_outfile=conftest.$ac_objext
12600 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12601 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12602 _lt_linker_boilerplate=`cat conftest.err`
12603 $RM -r conftest*
12606 # Allow CC to be a program name with arguments.
12607 lt_save_CC=$CC
12608 lt_save_LD=$LD
12609 lt_save_GCC=$GCC
12610 GCC=$GXX
12611 lt_save_with_gnu_ld=$with_gnu_ld
12612 lt_save_path_LD=$lt_cv_path_LD
12613 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12614 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12615 else
12616 $as_unset lt_cv_prog_gnu_ld
12618 if test -n "${lt_cv_path_LDCXX+set}"; then
12619 lt_cv_path_LD=$lt_cv_path_LDCXX
12620 else
12621 $as_unset lt_cv_path_LD
12623 test -z "${LDCXX+set}" || LD=$LDCXX
12624 CC=${CXX-"c++"}
12625 compiler=$CC
12626 compiler_CXX=$CC
12627 for cc_temp in $compiler""; do
12628 case $cc_temp in
12629 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12630 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12631 \-*) ;;
12632 *) break;;
12633 esac
12634 done
12635 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12638 if test -n "$compiler"; then
12639 # We don't want -fno-exception when compiling C++ code, so set the
12640 # no_builtin_flag separately
12641 if test "$GXX" = yes; then
12642 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12643 else
12644 lt_prog_compiler_no_builtin_flag_CXX=
12647 if test "$GXX" = yes; then
12648 # Set up default GNU C++ configuration
12652 # Check whether --with-gnu-ld was given.
12653 if test "${with_gnu_ld+set}" = set; then :
12654 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12655 else
12656 with_gnu_ld=no
12659 ac_prog=ld
12660 if test "$GCC" = yes; then
12661 # Check if gcc -print-prog-name=ld gives a path.
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12663 $as_echo_n "checking for ld used by $CC... " >&6; }
12664 case $host in
12665 *-*-mingw*)
12666 # gcc leaves a trailing carriage return which upsets mingw
12667 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12669 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12670 esac
12671 case $ac_prog in
12672 # Accept absolute paths.
12673 [\\/]* | ?:[\\/]*)
12674 re_direlt='/[^/][^/]*/\.\./'
12675 # Canonicalize the pathname of ld
12676 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12677 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12678 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12679 done
12680 test -z "$LD" && LD="$ac_prog"
12683 # If it fails, then pretend we aren't using GCC.
12684 ac_prog=ld
12687 # If it is relative, then search for the first ld in PATH.
12688 with_gnu_ld=unknown
12690 esac
12691 elif test "$with_gnu_ld" = yes; then
12692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12693 $as_echo_n "checking for GNU ld... " >&6; }
12694 else
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12696 $as_echo_n "checking for non-GNU ld... " >&6; }
12698 if ${lt_cv_path_LD+:} false; then :
12699 $as_echo_n "(cached) " >&6
12700 else
12701 if test -z "$LD"; then
12702 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12703 for ac_dir in $PATH; do
12704 IFS="$lt_save_ifs"
12705 test -z "$ac_dir" && ac_dir=.
12706 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12707 lt_cv_path_LD="$ac_dir/$ac_prog"
12708 # Check to see if the program is GNU ld. I'd rather use --version,
12709 # but apparently some variants of GNU ld only accept -v.
12710 # Break only if it was the GNU/non-GNU ld that we prefer.
12711 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12712 *GNU* | *'with BFD'*)
12713 test "$with_gnu_ld" != no && break
12716 test "$with_gnu_ld" != yes && break
12718 esac
12720 done
12721 IFS="$lt_save_ifs"
12722 else
12723 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12727 LD="$lt_cv_path_LD"
12728 if test -n "$LD"; then
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12730 $as_echo "$LD" >&6; }
12731 else
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12733 $as_echo "no" >&6; }
12735 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12737 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12738 if ${lt_cv_prog_gnu_ld+:} false; then :
12739 $as_echo_n "(cached) " >&6
12740 else
12741 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12742 case `$LD -v 2>&1 </dev/null` in
12743 *GNU* | *'with BFD'*)
12744 lt_cv_prog_gnu_ld=yes
12747 lt_cv_prog_gnu_ld=no
12749 esac
12751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12752 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12753 with_gnu_ld=$lt_cv_prog_gnu_ld
12761 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12762 # archiving commands below assume that GNU ld is being used.
12763 if test "$with_gnu_ld" = yes; then
12764 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12765 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'
12767 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12768 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12770 # If archive_cmds runs LD, not CC, wlarc should be empty
12771 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12772 # investigate it a little bit more. (MM)
12773 wlarc='${wl}'
12775 # ancient GNU ld didn't support --whole-archive et. al.
12776 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12777 $GREP 'no-whole-archive' > /dev/null; then
12778 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12779 else
12780 whole_archive_flag_spec_CXX=
12782 else
12783 with_gnu_ld=no
12784 wlarc=
12786 # A generic and very simple default shared library creation
12787 # command for GNU C++ for the case where it uses the native
12788 # linker, instead of GNU ld. If possible, this setting should
12789 # overridden to take advantage of the native linker features on
12790 # the platform it is being used on.
12791 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12794 # Commands to make compiler produce verbose output that lists
12795 # what "hidden" libraries, object files and flags are used when
12796 # linking a shared library.
12797 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12799 else
12800 GXX=no
12801 with_gnu_ld=no
12802 wlarc=
12805 # PORTME: fill in a description of your system's C++ link characteristics
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12807 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12808 ld_shlibs_CXX=yes
12809 case $host_os in
12810 aix3*)
12811 # FIXME: insert proper C++ library support
12812 ld_shlibs_CXX=no
12814 aix[4-9]*)
12815 if test "$host_cpu" = ia64; then
12816 # On IA64, the linker does run time linking by default, so we don't
12817 # have to do anything special.
12818 aix_use_runtimelinking=no
12819 exp_sym_flag='-Bexport'
12820 no_entry_flag=""
12821 else
12822 aix_use_runtimelinking=no
12824 # Test if we are trying to use run time linking or normal
12825 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12826 # need to do runtime linking.
12827 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12828 for ld_flag in $LDFLAGS; do
12829 case $ld_flag in
12830 *-brtl*)
12831 aix_use_runtimelinking=yes
12832 break
12834 esac
12835 done
12837 esac
12839 exp_sym_flag='-bexport'
12840 no_entry_flag='-bnoentry'
12843 # When large executables or shared objects are built, AIX ld can
12844 # have problems creating the table of contents. If linking a library
12845 # or program results in "error TOC overflow" add -mminimal-toc to
12846 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12847 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12849 archive_cmds_CXX=''
12850 hardcode_direct_CXX=yes
12851 hardcode_direct_absolute_CXX=yes
12852 hardcode_libdir_separator_CXX=':'
12853 link_all_deplibs_CXX=yes
12854 file_list_spec_CXX='${wl}-f,'
12856 if test "$GXX" = yes; then
12857 case $host_os in aix4.[012]|aix4.[012].*)
12858 # We only want to do this on AIX 4.2 and lower, the check
12859 # below for broken collect2 doesn't work under 4.3+
12860 collect2name=`${CC} -print-prog-name=collect2`
12861 if test -f "$collect2name" &&
12862 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12863 then
12864 # We have reworked collect2
12866 else
12867 # We have old collect2
12868 hardcode_direct_CXX=unsupported
12869 # It fails to find uninstalled libraries when the uninstalled
12870 # path is not listed in the libpath. Setting hardcode_minus_L
12871 # to unsupported forces relinking
12872 hardcode_minus_L_CXX=yes
12873 hardcode_libdir_flag_spec_CXX='-L$libdir'
12874 hardcode_libdir_separator_CXX=
12876 esac
12877 shared_flag='-shared'
12878 if test "$aix_use_runtimelinking" = yes; then
12879 shared_flag="$shared_flag "'${wl}-G'
12881 else
12882 # not using gcc
12883 if test "$host_cpu" = ia64; then
12884 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12885 # chokes on -Wl,-G. The following line is correct:
12886 shared_flag='-G'
12887 else
12888 if test "$aix_use_runtimelinking" = yes; then
12889 shared_flag='${wl}-G'
12890 else
12891 shared_flag='${wl}-bM:SRE'
12896 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12897 # It seems that -bexpall does not export symbols beginning with
12898 # underscore (_), so it is better to generate a list of symbols to
12899 # export.
12900 always_export_symbols_CXX=yes
12901 if test "$aix_use_runtimelinking" = yes; then
12902 # Warning - without using the other runtime loading flags (-brtl),
12903 # -berok will link without error, but may produce a broken library.
12904 allow_undefined_flag_CXX='-berok'
12905 # Determine the default libpath from the value encoded in an empty
12906 # executable.
12907 if test x$gcc_no_link = xyes; then
12908 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12911 /* end confdefs.h. */
12914 main ()
12918 return 0;
12920 _ACEOF
12921 if ac_fn_cxx_try_link "$LINENO"; then :
12923 lt_aix_libpath_sed='
12924 /Import File Strings/,/^$/ {
12925 /^0/ {
12926 s/^0 *\(.*\)$/\1/
12930 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12931 # Check for a 64-bit object if we didn't find anything.
12932 if test -z "$aix_libpath"; then
12933 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12936 rm -f core conftest.err conftest.$ac_objext \
12937 conftest$ac_exeext conftest.$ac_ext
12938 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12940 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12942 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"
12943 else
12944 if test "$host_cpu" = ia64; then
12945 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12946 allow_undefined_flag_CXX="-z nodefs"
12947 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"
12948 else
12949 # Determine the default libpath from the value encoded in an
12950 # empty executable.
12951 if test x$gcc_no_link = xyes; then
12952 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12955 /* end confdefs.h. */
12958 main ()
12962 return 0;
12964 _ACEOF
12965 if ac_fn_cxx_try_link "$LINENO"; then :
12967 lt_aix_libpath_sed='
12968 /Import File Strings/,/^$/ {
12969 /^0/ {
12970 s/^0 *\(.*\)$/\1/
12974 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12975 # Check for a 64-bit object if we didn't find anything.
12976 if test -z "$aix_libpath"; then
12977 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12980 rm -f core conftest.err conftest.$ac_objext \
12981 conftest$ac_exeext conftest.$ac_ext
12982 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12984 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12985 # Warning - without using the other run time loading flags,
12986 # -berok will link without error, but may produce a broken library.
12987 no_undefined_flag_CXX=' ${wl}-bernotok'
12988 allow_undefined_flag_CXX=' ${wl}-berok'
12989 if test "$with_gnu_ld" = yes; then
12990 # We only use this code for GNU lds that support --whole-archive.
12991 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12992 else
12993 # Exported symbols can be pulled into shared objects from archives
12994 whole_archive_flag_spec_CXX='$convenience'
12996 archive_cmds_need_lc_CXX=yes
12997 # This is similar to how AIX traditionally builds its shared
12998 # libraries.
12999 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'
13004 beos*)
13005 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13006 allow_undefined_flag_CXX=unsupported
13007 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13008 # support --undefined. This deserves some investigation. FIXME
13009 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13010 else
13011 ld_shlibs_CXX=no
13015 chorus*)
13016 case $cc_basename in
13018 # FIXME: insert proper C++ library support
13019 ld_shlibs_CXX=no
13021 esac
13024 cygwin* | mingw* | pw32* | cegcc*)
13025 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13026 # as there is no search path for DLLs.
13027 hardcode_libdir_flag_spec_CXX='-L$libdir'
13028 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13029 allow_undefined_flag_CXX=unsupported
13030 always_export_symbols_CXX=no
13031 enable_shared_with_static_runtimes_CXX=yes
13033 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13034 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'
13035 # If the export-symbols file already is a .def file (1st line
13036 # is EXPORTS), use it as is; otherwise, prepend...
13037 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13038 cp $export_symbols $output_objdir/$soname.def;
13039 else
13040 echo EXPORTS > $output_objdir/$soname.def;
13041 cat $export_symbols >> $output_objdir/$soname.def;
13043 $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'
13044 else
13045 ld_shlibs_CXX=no
13048 darwin* | rhapsody*)
13051 archive_cmds_need_lc_CXX=no
13052 hardcode_direct_CXX=no
13053 hardcode_automatic_CXX=yes
13054 hardcode_shlibpath_var_CXX=unsupported
13055 if test "$lt_cv_ld_force_load" = "yes"; then
13056 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\"`'
13057 else
13058 whole_archive_flag_spec_CXX=''
13060 link_all_deplibs_CXX=yes
13061 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13062 case $cc_basename in
13063 ifort*) _lt_dar_can_shared=yes ;;
13064 *) _lt_dar_can_shared=$GCC ;;
13065 esac
13066 if test "$_lt_dar_can_shared" = "yes"; then
13067 output_verbose_link_cmd=func_echo_all
13068 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}"
13069 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13070 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}"
13071 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}"
13072 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13073 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}"
13074 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}"
13077 else
13078 ld_shlibs_CXX=no
13083 dgux*)
13084 case $cc_basename in
13085 ec++*)
13086 # FIXME: insert proper C++ library support
13087 ld_shlibs_CXX=no
13089 ghcx*)
13090 # Green Hills C++ Compiler
13091 # FIXME: insert proper C++ library support
13092 ld_shlibs_CXX=no
13095 # FIXME: insert proper C++ library support
13096 ld_shlibs_CXX=no
13098 esac
13101 freebsd2.*)
13102 # C++ shared libraries reported to be fairly broken before
13103 # switch to ELF
13104 ld_shlibs_CXX=no
13107 freebsd-elf*)
13108 archive_cmds_need_lc_CXX=no
13111 freebsd* | dragonfly*)
13112 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13113 # conventions
13114 ld_shlibs_CXX=yes
13117 gnu*)
13120 haiku*)
13121 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13122 link_all_deplibs_CXX=yes
13125 hpux9*)
13126 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13127 hardcode_libdir_separator_CXX=:
13128 export_dynamic_flag_spec_CXX='${wl}-E'
13129 hardcode_direct_CXX=yes
13130 hardcode_minus_L_CXX=yes # Not in the search PATH,
13131 # but as the default
13132 # location of the library.
13134 case $cc_basename in
13135 CC*)
13136 # FIXME: insert proper C++ library support
13137 ld_shlibs_CXX=no
13139 aCC*)
13140 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'
13141 # Commands to make compiler produce verbose output that lists
13142 # what "hidden" libraries, object files and flags are used when
13143 # linking a shared library.
13145 # There doesn't appear to be a way to prevent this compiler from
13146 # explicitly linking system object files so we need to strip them
13147 # from the output so that they don't get included in the library
13148 # dependencies.
13149 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"'
13152 if test "$GXX" = yes; then
13153 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'
13154 else
13155 # FIXME: insert proper C++ library support
13156 ld_shlibs_CXX=no
13159 esac
13162 hpux10*|hpux11*)
13163 if test $with_gnu_ld = no; then
13164 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13165 hardcode_libdir_separator_CXX=:
13167 case $host_cpu in
13168 hppa*64*|ia64*)
13171 export_dynamic_flag_spec_CXX='${wl}-E'
13173 esac
13175 case $host_cpu in
13176 hppa*64*|ia64*)
13177 hardcode_direct_CXX=no
13178 hardcode_shlibpath_var_CXX=no
13181 hardcode_direct_CXX=yes
13182 hardcode_direct_absolute_CXX=yes
13183 hardcode_minus_L_CXX=yes # Not in the search PATH,
13184 # but as the default
13185 # location of the library.
13187 esac
13189 case $cc_basename in
13190 CC*)
13191 # FIXME: insert proper C++ library support
13192 ld_shlibs_CXX=no
13194 aCC*)
13195 case $host_cpu in
13196 hppa*64*)
13197 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13199 ia64*)
13200 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13203 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13205 esac
13206 # Commands to make compiler produce verbose output that lists
13207 # what "hidden" libraries, object files and flags are used when
13208 # linking a shared library.
13210 # There doesn't appear to be a way to prevent this compiler from
13211 # explicitly linking system object files so we need to strip them
13212 # from the output so that they don't get included in the library
13213 # dependencies.
13214 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"'
13217 if test "$GXX" = yes; then
13218 if test $with_gnu_ld = no; then
13219 case $host_cpu in
13220 hppa*64*)
13221 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13223 ia64*)
13224 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13227 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'
13229 esac
13231 else
13232 # FIXME: insert proper C++ library support
13233 ld_shlibs_CXX=no
13236 esac
13239 interix[3-9]*)
13240 hardcode_direct_CXX=no
13241 hardcode_shlibpath_var_CXX=no
13242 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13243 export_dynamic_flag_spec_CXX='${wl}-E'
13244 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13245 # Instead, shared libraries are loaded at an image base (0x10000000 by
13246 # default) and relocated if they conflict, which is a slow very memory
13247 # consuming and fragmenting process. To avoid this, we pick a random,
13248 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13249 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13250 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'
13251 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'
13253 irix5* | irix6*)
13254 case $cc_basename in
13255 CC*)
13256 # SGI C++
13257 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'
13259 # Archives containing C++ object files must be created using
13260 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13261 # necessary to make sure instantiated templates are included
13262 # in the archive.
13263 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13266 if test "$GXX" = yes; then
13267 if test "$with_gnu_ld" = no; then
13268 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'
13269 else
13270 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'
13273 link_all_deplibs_CXX=yes
13275 esac
13276 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13277 hardcode_libdir_separator_CXX=:
13278 inherit_rpath_CXX=yes
13281 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13282 case $cc_basename in
13283 KCC*)
13284 # Kuck and Associates, Inc. (KAI) C++ Compiler
13286 # KCC will only create a shared library if the output file
13287 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13288 # to its proper name (with version) after linking.
13289 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'
13290 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'
13291 # Commands to make compiler produce verbose output that lists
13292 # what "hidden" libraries, object files and flags are used when
13293 # linking a shared library.
13295 # There doesn't appear to be a way to prevent this compiler from
13296 # explicitly linking system object files so we need to strip them
13297 # from the output so that they don't get included in the library
13298 # dependencies.
13299 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"'
13301 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13302 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13304 # Archives containing C++ object files must be created using
13305 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13306 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13308 icpc* | ecpc* )
13309 # Intel C++
13310 with_gnu_ld=yes
13311 # version 8.0 and above of icpc choke on multiply defined symbols
13312 # if we add $predep_objects and $postdep_objects, however 7.1 and
13313 # earlier do not add the objects themselves.
13314 case `$CC -V 2>&1` in
13315 *"Version 7."*)
13316 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13317 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'
13319 *) # Version 8.0 or newer
13320 tmp_idyn=
13321 case $host_cpu in
13322 ia64*) tmp_idyn=' -i_dynamic';;
13323 esac
13324 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13325 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'
13327 esac
13328 archive_cmds_need_lc_CXX=no
13329 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13330 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13331 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13333 pgCC* | pgcpp*)
13334 # Portland Group C++ compiler
13335 case `$CC -V` in
13336 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13337 prelink_cmds_CXX='tpldir=Template.dir~
13338 rm -rf $tpldir~
13339 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13340 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13341 old_archive_cmds_CXX='tpldir=Template.dir~
13342 rm -rf $tpldir~
13343 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13344 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13345 $RANLIB $oldlib'
13346 archive_cmds_CXX='tpldir=Template.dir~
13347 rm -rf $tpldir~
13348 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13349 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13350 archive_expsym_cmds_CXX='tpldir=Template.dir~
13351 rm -rf $tpldir~
13352 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13353 $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'
13355 *) # Version 6 and above use weak symbols
13356 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13357 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'
13359 esac
13361 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13362 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13363 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'
13365 cxx*)
13366 # Compaq C++
13367 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13368 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'
13370 runpath_var=LD_RUN_PATH
13371 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13372 hardcode_libdir_separator_CXX=:
13374 # Commands to make compiler produce verbose output that lists
13375 # what "hidden" libraries, object files and flags are used when
13376 # linking a shared library.
13378 # There doesn't appear to be a way to prevent this compiler from
13379 # explicitly linking system object files so we need to strip them
13380 # from the output so that they don't get included in the library
13381 # dependencies.
13382 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'
13384 xl* | mpixl* | bgxl*)
13385 # IBM XL 8.0 on PPC, with GNU ld
13386 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13387 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13388 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13389 if test "x$supports_anon_versioning" = xyes; then
13390 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13391 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13392 echo "local: *; };" >> $output_objdir/$libname.ver~
13393 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13397 case `$CC -V 2>&1 | sed 5q` in
13398 *Sun\ C*)
13399 # Sun C++ 5.9
13400 no_undefined_flag_CXX=' -zdefs'
13401 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13402 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'
13403 hardcode_libdir_flag_spec_CXX='-R$libdir'
13404 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'
13405 compiler_needs_object_CXX=yes
13407 # Not sure whether something based on
13408 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13409 # would be better.
13410 output_verbose_link_cmd='func_echo_all'
13412 # Archives containing C++ object files must be created using
13413 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13414 # necessary to make sure instantiated templates are included
13415 # in the archive.
13416 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13418 esac
13420 esac
13423 lynxos*)
13424 # FIXME: insert proper C++ library support
13425 ld_shlibs_CXX=no
13428 m88k*)
13429 # FIXME: insert proper C++ library support
13430 ld_shlibs_CXX=no
13433 mvs*)
13434 case $cc_basename in
13435 cxx*)
13436 # FIXME: insert proper C++ library support
13437 ld_shlibs_CXX=no
13440 # FIXME: insert proper C++ library support
13441 ld_shlibs_CXX=no
13443 esac
13446 netbsd*)
13447 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13448 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13449 wlarc=
13450 hardcode_libdir_flag_spec_CXX='-R$libdir'
13451 hardcode_direct_CXX=yes
13452 hardcode_shlibpath_var_CXX=no
13454 # Workaround some broken pre-1.5 toolchains
13455 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13458 *nto* | *qnx*)
13459 ld_shlibs_CXX=yes
13462 openbsd2*)
13463 # C++ shared libraries are fairly broken
13464 ld_shlibs_CXX=no
13467 openbsd*)
13468 if test -f /usr/libexec/ld.so; then
13469 hardcode_direct_CXX=yes
13470 hardcode_shlibpath_var_CXX=no
13471 hardcode_direct_absolute_CXX=yes
13472 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13473 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13474 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13475 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13476 export_dynamic_flag_spec_CXX='${wl}-E'
13477 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13479 output_verbose_link_cmd=func_echo_all
13480 else
13481 ld_shlibs_CXX=no
13485 osf3* | osf4* | osf5*)
13486 case $cc_basename in
13487 KCC*)
13488 # Kuck and Associates, Inc. (KAI) C++ Compiler
13490 # KCC will only create a shared library if the output file
13491 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13492 # to its proper name (with version) after linking.
13493 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'
13495 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13496 hardcode_libdir_separator_CXX=:
13498 # Archives containing C++ object files must be created using
13499 # the KAI C++ compiler.
13500 case $host in
13501 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13502 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13503 esac
13505 RCC*)
13506 # Rational C++ 2.4.1
13507 # FIXME: insert proper C++ library support
13508 ld_shlibs_CXX=no
13510 cxx*)
13511 case $host in
13512 osf3*)
13513 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13514 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'
13515 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13518 allow_undefined_flag_CXX=' -expect_unresolved \*'
13519 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'
13520 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13521 echo "-hidden">> $lib.exp~
13522 $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~
13523 $RM $lib.exp'
13524 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13526 esac
13528 hardcode_libdir_separator_CXX=:
13530 # Commands to make compiler produce verbose output that lists
13531 # what "hidden" libraries, object files and flags are used when
13532 # linking a shared library.
13534 # There doesn't appear to be a way to prevent this compiler from
13535 # explicitly linking system object files so we need to strip them
13536 # from the output so that they don't get included in the library
13537 # dependencies.
13538 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"'
13541 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13542 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13543 case $host in
13544 osf3*)
13545 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'
13548 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'
13550 esac
13552 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13553 hardcode_libdir_separator_CXX=:
13555 # Commands to make compiler produce verbose output that lists
13556 # what "hidden" libraries, object files and flags are used when
13557 # linking a shared library.
13558 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13560 else
13561 # FIXME: insert proper C++ library support
13562 ld_shlibs_CXX=no
13565 esac
13568 psos*)
13569 # FIXME: insert proper C++ library support
13570 ld_shlibs_CXX=no
13573 sunos4*)
13574 case $cc_basename in
13575 CC*)
13576 # Sun C++ 4.x
13577 # FIXME: insert proper C++ library support
13578 ld_shlibs_CXX=no
13580 lcc*)
13581 # Lucid
13582 # FIXME: insert proper C++ library support
13583 ld_shlibs_CXX=no
13586 # FIXME: insert proper C++ library support
13587 ld_shlibs_CXX=no
13589 esac
13592 solaris*)
13593 case $cc_basename in
13594 CC*)
13595 # Sun C++ 4.2, 5.x and Centerline C++
13596 archive_cmds_need_lc_CXX=yes
13597 no_undefined_flag_CXX=' -zdefs'
13598 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13599 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13600 $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'
13602 hardcode_libdir_flag_spec_CXX='-R$libdir'
13603 hardcode_shlibpath_var_CXX=no
13604 case $host_os in
13605 solaris2.[0-5] | solaris2.[0-5].*) ;;
13607 # The compiler driver will combine and reorder linker options,
13608 # but understands `-z linker_flag'.
13609 # Supported since Solaris 2.6 (maybe 2.5.1?)
13610 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13612 esac
13613 link_all_deplibs_CXX=yes
13615 output_verbose_link_cmd='func_echo_all'
13617 # Archives containing C++ object files must be created using
13618 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13619 # necessary to make sure instantiated templates are included
13620 # in the archive.
13621 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13623 gcx*)
13624 # Green Hills C++ Compiler
13625 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13627 # The C++ compiler must be used to create the archive.
13628 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13631 # GNU C++ compiler with Solaris linker
13632 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13633 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13634 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13635 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13636 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13637 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13639 # Commands to make compiler produce verbose output that lists
13640 # what "hidden" libraries, object files and flags are used when
13641 # linking a shared library.
13642 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13643 else
13644 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13645 # platform.
13646 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13647 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13648 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13650 # Commands to make compiler produce verbose output that lists
13651 # what "hidden" libraries, object files and flags are used when
13652 # linking a shared library.
13653 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13656 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13657 case $host_os in
13658 solaris2.[0-5] | solaris2.[0-5].*) ;;
13660 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13662 esac
13665 esac
13668 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13669 no_undefined_flag_CXX='${wl}-z,text'
13670 archive_cmds_need_lc_CXX=no
13671 hardcode_shlibpath_var_CXX=no
13672 runpath_var='LD_RUN_PATH'
13674 case $cc_basename in
13675 CC*)
13676 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13677 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13680 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13681 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13683 esac
13686 sysv5* | sco3.2v5* | sco5v6*)
13687 # Note: We can NOT use -z defs as we might desire, because we do not
13688 # link with -lc, and that would cause any symbols used from libc to
13689 # always be unresolved, which means just about no library would
13690 # ever link correctly. If we're not using GNU ld we use -z text
13691 # though, which does catch some bad symbols but isn't as heavy-handed
13692 # as -z defs.
13693 no_undefined_flag_CXX='${wl}-z,text'
13694 allow_undefined_flag_CXX='${wl}-z,nodefs'
13695 archive_cmds_need_lc_CXX=no
13696 hardcode_shlibpath_var_CXX=no
13697 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13698 hardcode_libdir_separator_CXX=':'
13699 link_all_deplibs_CXX=yes
13700 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13701 runpath_var='LD_RUN_PATH'
13703 case $cc_basename in
13704 CC*)
13705 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13706 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13707 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13708 '"$old_archive_cmds_CXX"
13709 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13710 '"$reload_cmds_CXX"
13713 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13714 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13716 esac
13719 tandem*)
13720 case $cc_basename in
13721 NCC*)
13722 # NonStop-UX NCC 3.20
13723 # FIXME: insert proper C++ library support
13724 ld_shlibs_CXX=no
13727 # FIXME: insert proper C++ library support
13728 ld_shlibs_CXX=no
13730 esac
13733 vxworks*)
13734 # FIXME: insert proper C++ library support
13735 ld_shlibs_CXX=no
13739 # FIXME: insert proper C++ library support
13740 ld_shlibs_CXX=no
13742 esac
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13745 $as_echo "$ld_shlibs_CXX" >&6; }
13746 test "$ld_shlibs_CXX" = no && can_build_shared=no
13748 GCC_CXX="$GXX"
13749 LD_CXX="$LD"
13751 ## CAVEAT EMPTOR:
13752 ## There is no encapsulation within the following macros, do not change
13753 ## the running order or otherwise move them around unless you know exactly
13754 ## what you are doing...
13755 # Dependencies to place before and after the object being linked:
13756 predep_objects_CXX=
13757 postdep_objects_CXX=
13758 predeps_CXX=
13759 postdeps_CXX=
13760 compiler_lib_search_path_CXX=
13762 cat > conftest.$ac_ext <<_LT_EOF
13763 class Foo
13765 public:
13766 Foo (void) { a = 0; }
13767 private:
13768 int a;
13770 _LT_EOF
13772 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13773 (eval $ac_compile) 2>&5
13774 ac_status=$?
13775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13776 test $ac_status = 0; }; then
13777 # Parse the compiler output and extract the necessary
13778 # objects, libraries and library flags.
13780 # Sentinel used to keep track of whether or not we are before
13781 # the conftest object file.
13782 pre_test_object_deps_done=no
13784 for p in `eval "$output_verbose_link_cmd"`; do
13785 case $p in
13787 -L* | -R* | -l*)
13788 # Some compilers place space between "-{L,R}" and the path.
13789 # Remove the space.
13790 if test $p = "-L" ||
13791 test $p = "-R"; then
13792 prev=$p
13793 continue
13794 else
13795 prev=
13798 if test "$pre_test_object_deps_done" = no; then
13799 case $p in
13800 -L* | -R*)
13801 # Internal compiler library paths should come after those
13802 # provided the user. The postdeps already come after the
13803 # user supplied libs so there is no need to process them.
13804 if test -z "$compiler_lib_search_path_CXX"; then
13805 compiler_lib_search_path_CXX="${prev}${p}"
13806 else
13807 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13810 # The "-l" case would never come before the object being
13811 # linked, so don't bother handling this case.
13812 esac
13813 else
13814 if test -z "$postdeps_CXX"; then
13815 postdeps_CXX="${prev}${p}"
13816 else
13817 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13822 *.$objext)
13823 # This assumes that the test object file only shows up
13824 # once in the compiler output.
13825 if test "$p" = "conftest.$objext"; then
13826 pre_test_object_deps_done=yes
13827 continue
13830 if test "$pre_test_object_deps_done" = no; then
13831 if test -z "$predep_objects_CXX"; then
13832 predep_objects_CXX="$p"
13833 else
13834 predep_objects_CXX="$predep_objects_CXX $p"
13836 else
13837 if test -z "$postdep_objects_CXX"; then
13838 postdep_objects_CXX="$p"
13839 else
13840 postdep_objects_CXX="$postdep_objects_CXX $p"
13845 *) ;; # Ignore the rest.
13847 esac
13848 done
13850 # Clean up.
13851 rm -f a.out a.exe
13852 else
13853 echo "libtool.m4: error: problem compiling CXX test program"
13856 $RM -f confest.$objext
13858 # PORTME: override above test on systems where it is broken
13859 case $host_os in
13860 interix[3-9]*)
13861 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13862 # hack all around it, let's just trust "g++" to DTRT.
13863 predep_objects_CXX=
13864 postdep_objects_CXX=
13865 postdeps_CXX=
13868 linux*)
13869 case `$CC -V 2>&1 | sed 5q` in
13870 *Sun\ C*)
13871 # Sun C++ 5.9
13873 # The more standards-conforming stlport4 library is
13874 # incompatible with the Cstd library. Avoid specifying
13875 # it if it's in CXXFLAGS. Ignore libCrun as
13876 # -library=stlport4 depends on it.
13877 case " $CXX $CXXFLAGS " in
13878 *" -library=stlport4 "*)
13879 solaris_use_stlport4=yes
13881 esac
13883 if test "$solaris_use_stlport4" != yes; then
13884 postdeps_CXX='-library=Cstd -library=Crun'
13887 esac
13890 solaris*)
13891 case $cc_basename in
13892 CC*)
13893 # The more standards-conforming stlport4 library is
13894 # incompatible with the Cstd library. Avoid specifying
13895 # it if it's in CXXFLAGS. Ignore libCrun as
13896 # -library=stlport4 depends on it.
13897 case " $CXX $CXXFLAGS " in
13898 *" -library=stlport4 "*)
13899 solaris_use_stlport4=yes
13901 esac
13903 # Adding this requires a known-good setup of shared libraries for
13904 # Sun compiler versions before 5.6, else PIC objects from an old
13905 # archive will be linked into the output, leading to subtle bugs.
13906 if test "$solaris_use_stlport4" != yes; then
13907 postdeps_CXX='-library=Cstd -library=Crun'
13910 esac
13912 esac
13915 case " $postdeps_CXX " in
13916 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13917 esac
13918 compiler_lib_search_dirs_CXX=
13919 if test -n "${compiler_lib_search_path_CXX}"; then
13920 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13953 lt_prog_compiler_wl_CXX=
13954 lt_prog_compiler_pic_CXX=
13955 lt_prog_compiler_static_CXX=
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13958 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13960 # C++ specific cases for pic, static, wl, etc.
13961 if test "$GXX" = yes; then
13962 lt_prog_compiler_wl_CXX='-Wl,'
13963 lt_prog_compiler_static_CXX='-static'
13965 case $host_os in
13966 aix*)
13967 # All AIX code is PIC.
13968 if test "$host_cpu" = ia64; then
13969 # AIX 5 now supports IA64 processor
13970 lt_prog_compiler_static_CXX='-Bstatic'
13972 lt_prog_compiler_pic_CXX='-fPIC'
13975 amigaos*)
13976 case $host_cpu in
13977 powerpc)
13978 # see comment about AmigaOS4 .so support
13979 lt_prog_compiler_pic_CXX='-fPIC'
13981 m68k)
13982 # FIXME: we need at least 68020 code to build shared libraries, but
13983 # adding the `-m68020' flag to GCC prevents building anything better,
13984 # like `-m68040'.
13985 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13987 esac
13990 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13991 # PIC is the default for these OSes.
13993 mingw* | cygwin* | os2* | pw32* | cegcc*)
13994 # This hack is so that the source file can tell whether it is being
13995 # built for inclusion in a dll (and should export symbols for example).
13996 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13997 # (--disable-auto-import) libraries
13998 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14000 darwin* | rhapsody*)
14001 # PIC is the default on this platform
14002 # Common symbols not allowed in MH_DYLIB files
14003 lt_prog_compiler_pic_CXX='-fno-common'
14005 *djgpp*)
14006 # DJGPP does not support shared libraries at all
14007 lt_prog_compiler_pic_CXX=
14009 haiku*)
14010 # PIC is the default for Haiku.
14011 # The "-static" flag exists, but is broken.
14012 lt_prog_compiler_static_CXX=
14014 interix[3-9]*)
14015 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14016 # Instead, we relocate shared libraries at runtime.
14018 sysv4*MP*)
14019 if test -d /usr/nec; then
14020 lt_prog_compiler_pic_CXX=-Kconform_pic
14023 hpux*)
14024 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14025 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14026 # sets the default TLS model and affects inlining.
14027 case $host_cpu in
14028 hppa*64*)
14031 lt_prog_compiler_pic_CXX='-fPIC'
14033 esac
14035 *qnx* | *nto*)
14036 # QNX uses GNU C++, but need to define -shared option too, otherwise
14037 # it will coredump.
14038 lt_prog_compiler_pic_CXX='-fPIC -shared'
14041 lt_prog_compiler_pic_CXX='-fPIC'
14043 esac
14044 else
14045 case $host_os in
14046 aix[4-9]*)
14047 # All AIX code is PIC.
14048 if test "$host_cpu" = ia64; then
14049 # AIX 5 now supports IA64 processor
14050 lt_prog_compiler_static_CXX='-Bstatic'
14051 else
14052 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14055 chorus*)
14056 case $cc_basename in
14057 cxch68*)
14058 # Green Hills C++ Compiler
14059 # _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"
14061 esac
14063 dgux*)
14064 case $cc_basename in
14065 ec++*)
14066 lt_prog_compiler_pic_CXX='-KPIC'
14068 ghcx*)
14069 # Green Hills C++ Compiler
14070 lt_prog_compiler_pic_CXX='-pic'
14074 esac
14076 freebsd* | dragonfly*)
14077 # FreeBSD uses GNU C++
14079 hpux9* | hpux10* | hpux11*)
14080 case $cc_basename in
14081 CC*)
14082 lt_prog_compiler_wl_CXX='-Wl,'
14083 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14084 if test "$host_cpu" != ia64; then
14085 lt_prog_compiler_pic_CXX='+Z'
14088 aCC*)
14089 lt_prog_compiler_wl_CXX='-Wl,'
14090 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14091 case $host_cpu in
14092 hppa*64*|ia64*)
14093 # +Z the default
14096 lt_prog_compiler_pic_CXX='+Z'
14098 esac
14102 esac
14104 interix*)
14105 # This is c89, which is MS Visual C++ (no shared libs)
14106 # Anyone wants to do a port?
14108 irix5* | irix6* | nonstopux*)
14109 case $cc_basename in
14110 CC*)
14111 lt_prog_compiler_wl_CXX='-Wl,'
14112 lt_prog_compiler_static_CXX='-non_shared'
14113 # CC pic flag -KPIC is the default.
14117 esac
14119 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14120 case $cc_basename in
14121 KCC*)
14122 # KAI C++ Compiler
14123 lt_prog_compiler_wl_CXX='--backend -Wl,'
14124 lt_prog_compiler_pic_CXX='-fPIC'
14126 ecpc* )
14127 # old Intel C++ for x86_64 which still supported -KPIC.
14128 lt_prog_compiler_wl_CXX='-Wl,'
14129 lt_prog_compiler_pic_CXX='-KPIC'
14130 lt_prog_compiler_static_CXX='-static'
14132 icpc* )
14133 # Intel C++, used to be incompatible with GCC.
14134 # ICC 10 doesn't accept -KPIC any more.
14135 lt_prog_compiler_wl_CXX='-Wl,'
14136 lt_prog_compiler_pic_CXX='-fPIC'
14137 lt_prog_compiler_static_CXX='-static'
14139 pgCC* | pgcpp*)
14140 # Portland Group C++ compiler
14141 lt_prog_compiler_wl_CXX='-Wl,'
14142 lt_prog_compiler_pic_CXX='-fpic'
14143 lt_prog_compiler_static_CXX='-Bstatic'
14145 cxx*)
14146 # Compaq C++
14147 # Make sure the PIC flag is empty. It appears that all Alpha
14148 # Linux and Compaq Tru64 Unix objects are PIC.
14149 lt_prog_compiler_pic_CXX=
14150 lt_prog_compiler_static_CXX='-non_shared'
14152 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14153 # IBM XL 8.0, 9.0 on PPC and BlueGene
14154 lt_prog_compiler_wl_CXX='-Wl,'
14155 lt_prog_compiler_pic_CXX='-qpic'
14156 lt_prog_compiler_static_CXX='-qstaticlink'
14159 case `$CC -V 2>&1 | sed 5q` in
14160 *Sun\ C*)
14161 # Sun C++ 5.9
14162 lt_prog_compiler_pic_CXX='-KPIC'
14163 lt_prog_compiler_static_CXX='-Bstatic'
14164 lt_prog_compiler_wl_CXX='-Qoption ld '
14166 esac
14168 esac
14170 lynxos*)
14172 m88k*)
14174 mvs*)
14175 case $cc_basename in
14176 cxx*)
14177 lt_prog_compiler_pic_CXX='-W c,exportall'
14181 esac
14183 netbsd*)
14185 *qnx* | *nto*)
14186 # QNX uses GNU C++, but need to define -shared option too, otherwise
14187 # it will coredump.
14188 lt_prog_compiler_pic_CXX='-fPIC -shared'
14190 osf3* | osf4* | osf5*)
14191 case $cc_basename in
14192 KCC*)
14193 lt_prog_compiler_wl_CXX='--backend -Wl,'
14195 RCC*)
14196 # Rational C++ 2.4.1
14197 lt_prog_compiler_pic_CXX='-pic'
14199 cxx*)
14200 # Digital/Compaq C++
14201 lt_prog_compiler_wl_CXX='-Wl,'
14202 # Make sure the PIC flag is empty. It appears that all Alpha
14203 # Linux and Compaq Tru64 Unix objects are PIC.
14204 lt_prog_compiler_pic_CXX=
14205 lt_prog_compiler_static_CXX='-non_shared'
14209 esac
14211 psos*)
14213 solaris*)
14214 case $cc_basename in
14215 CC*)
14216 # Sun C++ 4.2, 5.x and Centerline C++
14217 lt_prog_compiler_pic_CXX='-KPIC'
14218 lt_prog_compiler_static_CXX='-Bstatic'
14219 lt_prog_compiler_wl_CXX='-Qoption ld '
14221 gcx*)
14222 # Green Hills C++ Compiler
14223 lt_prog_compiler_pic_CXX='-PIC'
14227 esac
14229 sunos4*)
14230 case $cc_basename in
14231 CC*)
14232 # Sun C++ 4.x
14233 lt_prog_compiler_pic_CXX='-pic'
14234 lt_prog_compiler_static_CXX='-Bstatic'
14236 lcc*)
14237 # Lucid
14238 lt_prog_compiler_pic_CXX='-pic'
14242 esac
14244 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14245 case $cc_basename in
14246 CC*)
14247 lt_prog_compiler_wl_CXX='-Wl,'
14248 lt_prog_compiler_pic_CXX='-KPIC'
14249 lt_prog_compiler_static_CXX='-Bstatic'
14251 esac
14253 tandem*)
14254 case $cc_basename in
14255 NCC*)
14256 # NonStop-UX NCC 3.20
14257 lt_prog_compiler_pic_CXX='-KPIC'
14261 esac
14263 vxworks*)
14266 lt_prog_compiler_can_build_shared_CXX=no
14268 esac
14271 case $host_os in
14272 # For platforms which do not support PIC, -DPIC is meaningless:
14273 *djgpp*)
14274 lt_prog_compiler_pic_CXX=
14277 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14279 esac
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14281 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14286 # Check to make sure the PIC flag actually works.
14288 if test -n "$lt_prog_compiler_pic_CXX"; then
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14290 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14291 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14292 $as_echo_n "(cached) " >&6
14293 else
14294 lt_cv_prog_compiler_pic_works_CXX=no
14295 ac_outfile=conftest.$ac_objext
14296 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14297 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14298 # Insert the option either (1) after the last *FLAGS variable, or
14299 # (2) before a word containing "conftest.", or (3) at the end.
14300 # Note that $ac_compile itself does not contain backslashes and begins
14301 # with a dollar sign (not a hyphen), so the echo should work correctly.
14302 # The option is referenced via a variable to avoid confusing sed.
14303 lt_compile=`echo "$ac_compile" | $SED \
14304 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14305 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14306 -e 's:$: $lt_compiler_flag:'`
14307 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14308 (eval "$lt_compile" 2>conftest.err)
14309 ac_status=$?
14310 cat conftest.err >&5
14311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14312 if (exit $ac_status) && test -s "$ac_outfile"; then
14313 # The compiler can only warn and ignore the option if not recognized
14314 # So say no if there are warnings other than the usual output.
14315 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14316 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14317 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14318 lt_cv_prog_compiler_pic_works_CXX=yes
14321 $RM conftest*
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14325 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14327 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14328 case $lt_prog_compiler_pic_CXX in
14329 "" | " "*) ;;
14330 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14331 esac
14332 else
14333 lt_prog_compiler_pic_CXX=
14334 lt_prog_compiler_can_build_shared_CXX=no
14342 # Check to make sure the static flag actually works.
14344 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14346 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14347 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14348 $as_echo_n "(cached) " >&6
14349 else
14350 lt_cv_prog_compiler_static_works_CXX=no
14351 save_LDFLAGS="$LDFLAGS"
14352 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14353 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14354 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14355 # The linker can only warn and ignore the option if not recognized
14356 # So say no if there are warnings
14357 if test -s conftest.err; then
14358 # Append any errors to the config.log.
14359 cat conftest.err 1>&5
14360 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14361 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14362 if diff conftest.exp conftest.er2 >/dev/null; then
14363 lt_cv_prog_compiler_static_works_CXX=yes
14365 else
14366 lt_cv_prog_compiler_static_works_CXX=yes
14369 $RM -r conftest*
14370 LDFLAGS="$save_LDFLAGS"
14373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14374 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14376 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14378 else
14379 lt_prog_compiler_static_CXX=
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14386 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14387 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14388 $as_echo_n "(cached) " >&6
14389 else
14390 lt_cv_prog_compiler_c_o_CXX=no
14391 $RM -r conftest 2>/dev/null
14392 mkdir conftest
14393 cd conftest
14394 mkdir out
14395 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14397 lt_compiler_flag="-o out/conftest2.$ac_objext"
14398 # Insert the option either (1) after the last *FLAGS variable, or
14399 # (2) before a word containing "conftest.", or (3) at the end.
14400 # Note that $ac_compile itself does not contain backslashes and begins
14401 # with a dollar sign (not a hyphen), so the echo should work correctly.
14402 lt_compile=`echo "$ac_compile" | $SED \
14403 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14404 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14405 -e 's:$: $lt_compiler_flag:'`
14406 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14407 (eval "$lt_compile" 2>out/conftest.err)
14408 ac_status=$?
14409 cat out/conftest.err >&5
14410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14411 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14412 then
14413 # The compiler can only warn and ignore the option if not recognized
14414 # So say no if there are warnings
14415 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14416 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14417 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14418 lt_cv_prog_compiler_c_o_CXX=yes
14421 chmod u+w . 2>&5
14422 $RM conftest*
14423 # SGI C++ compiler will create directory out/ii_files/ for
14424 # template instantiation
14425 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14426 $RM out/* && rmdir out
14427 cd ..
14428 $RM -r conftest
14429 $RM conftest*
14432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14433 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14438 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14439 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14440 $as_echo_n "(cached) " >&6
14441 else
14442 lt_cv_prog_compiler_c_o_CXX=no
14443 $RM -r conftest 2>/dev/null
14444 mkdir conftest
14445 cd conftest
14446 mkdir out
14447 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14449 lt_compiler_flag="-o out/conftest2.$ac_objext"
14450 # Insert the option either (1) after the last *FLAGS variable, or
14451 # (2) before a word containing "conftest.", or (3) at the end.
14452 # Note that $ac_compile itself does not contain backslashes and begins
14453 # with a dollar sign (not a hyphen), so the echo should work correctly.
14454 lt_compile=`echo "$ac_compile" | $SED \
14455 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14456 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14457 -e 's:$: $lt_compiler_flag:'`
14458 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14459 (eval "$lt_compile" 2>out/conftest.err)
14460 ac_status=$?
14461 cat out/conftest.err >&5
14462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14463 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14464 then
14465 # The compiler can only warn and ignore the option if not recognized
14466 # So say no if there are warnings
14467 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14468 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14469 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14470 lt_cv_prog_compiler_c_o_CXX=yes
14473 chmod u+w . 2>&5
14474 $RM conftest*
14475 # SGI C++ compiler will create directory out/ii_files/ for
14476 # template instantiation
14477 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14478 $RM out/* && rmdir out
14479 cd ..
14480 $RM -r conftest
14481 $RM conftest*
14484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14485 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14490 hard_links="nottested"
14491 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14492 # do not overwrite the value of need_locks provided by the user
14493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14494 $as_echo_n "checking if we can lock with hard links... " >&6; }
14495 hard_links=yes
14496 $RM conftest*
14497 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14498 touch conftest.a
14499 ln conftest.a conftest.b 2>&5 || hard_links=no
14500 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14502 $as_echo "$hard_links" >&6; }
14503 if test "$hard_links" = no; then
14504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14505 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14506 need_locks=warn
14508 else
14509 need_locks=no
14514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14515 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14517 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14518 case $host_os in
14519 aix[4-9]*)
14520 # If we're using GNU nm, then we don't want the "-C" option.
14521 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14522 # Also, AIX nm treats weak defined symbols like other global defined
14523 # symbols, whereas GNU nm marks them as "W".
14524 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14525 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'
14526 else
14527 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'
14530 pw32*)
14531 export_symbols_cmds_CXX="$ltdll_cmds"
14533 cygwin* | mingw* | cegcc*)
14534 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'
14537 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14539 esac
14540 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14543 $as_echo "$ld_shlibs_CXX" >&6; }
14544 test "$ld_shlibs_CXX" = no && can_build_shared=no
14546 with_gnu_ld_CXX=$with_gnu_ld
14554 # Do we need to explicitly link libc?
14556 case "x$archive_cmds_need_lc_CXX" in
14557 x|xyes)
14558 # Assume -lc should be added
14559 archive_cmds_need_lc_CXX=yes
14561 if test "$enable_shared" = yes && test "$GCC" = yes; then
14562 case $archive_cmds_CXX in
14563 *'~'*)
14564 # FIXME: we may have to deal with multi-command sequences.
14566 '$CC '*)
14567 # Test whether the compiler implicitly links with -lc since on some
14568 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14569 # to ld, don't add -lc before -lgcc.
14570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14571 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14572 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14573 $as_echo_n "(cached) " >&6
14574 else
14575 $RM conftest*
14576 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14578 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14579 (eval $ac_compile) 2>&5
14580 ac_status=$?
14581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14582 test $ac_status = 0; } 2>conftest.err; then
14583 soname=conftest
14584 lib=conftest
14585 libobjs=conftest.$ac_objext
14586 deplibs=
14587 wl=$lt_prog_compiler_wl_CXX
14588 pic_flag=$lt_prog_compiler_pic_CXX
14589 compiler_flags=-v
14590 linker_flags=-v
14591 verstring=
14592 output_objdir=.
14593 libname=conftest
14594 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14595 allow_undefined_flag_CXX=
14596 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14597 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14598 ac_status=$?
14599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14600 test $ac_status = 0; }
14601 then
14602 lt_cv_archive_cmds_need_lc_CXX=no
14603 else
14604 lt_cv_archive_cmds_need_lc_CXX=yes
14606 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14607 else
14608 cat conftest.err 1>&5
14610 $RM conftest*
14613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14614 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14615 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14617 esac
14620 esac
14685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14686 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14688 library_names_spec=
14689 libname_spec='lib$name'
14690 soname_spec=
14691 shrext_cmds=".so"
14692 postinstall_cmds=
14693 postuninstall_cmds=
14694 finish_cmds=
14695 finish_eval=
14696 shlibpath_var=
14697 shlibpath_overrides_runpath=unknown
14698 version_type=none
14699 dynamic_linker="$host_os ld.so"
14700 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14701 need_lib_prefix=unknown
14702 hardcode_into_libs=no
14704 # when you set need_version to no, make sure it does not cause -set_version
14705 # flags to be left without arguments
14706 need_version=unknown
14708 case $host_os in
14709 aix3*)
14710 version_type=linux
14711 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14712 shlibpath_var=LIBPATH
14714 # AIX 3 has no versioning support, so we append a major version to the name.
14715 soname_spec='${libname}${release}${shared_ext}$major'
14718 aix[4-9]*)
14719 version_type=linux
14720 need_lib_prefix=no
14721 need_version=no
14722 hardcode_into_libs=yes
14723 if test "$host_cpu" = ia64; then
14724 # AIX 5 supports IA64
14725 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14726 shlibpath_var=LD_LIBRARY_PATH
14727 else
14728 # With GCC up to 2.95.x, collect2 would create an import file
14729 # for dependence libraries. The import file would start with
14730 # the line `#! .'. This would cause the generated library to
14731 # depend on `.', always an invalid library. This was fixed in
14732 # development snapshots of GCC prior to 3.0.
14733 case $host_os in
14734 aix4 | aix4.[01] | aix4.[01].*)
14735 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14736 echo ' yes '
14737 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14739 else
14740 can_build_shared=no
14743 esac
14744 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14745 # soname into executable. Probably we can add versioning support to
14746 # collect2, so additional links can be useful in future.
14747 if test "$aix_use_runtimelinking" = yes; then
14748 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14749 # instead of lib<name>.a to let people know that these are not
14750 # typical AIX shared libraries.
14751 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14752 else
14753 # We preserve .a as extension for shared libraries through AIX4.2
14754 # and later when we are not doing run time linking.
14755 library_names_spec='${libname}${release}.a $libname.a'
14756 soname_spec='${libname}${release}${shared_ext}$major'
14758 shlibpath_var=LIBPATH
14762 amigaos*)
14763 case $host_cpu in
14764 powerpc)
14765 # Since July 2007 AmigaOS4 officially supports .so libraries.
14766 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14767 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14769 m68k)
14770 library_names_spec='$libname.ixlibrary $libname.a'
14771 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14772 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'
14774 esac
14777 beos*)
14778 library_names_spec='${libname}${shared_ext}'
14779 dynamic_linker="$host_os ld.so"
14780 shlibpath_var=LIBRARY_PATH
14783 bsdi[45]*)
14784 version_type=linux
14785 need_version=no
14786 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14787 soname_spec='${libname}${release}${shared_ext}$major'
14788 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14789 shlibpath_var=LD_LIBRARY_PATH
14790 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14791 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14792 # the default ld.so.conf also contains /usr/contrib/lib and
14793 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14794 # libtool to hard-code these into programs
14797 cygwin* | mingw* | pw32* | cegcc*)
14798 version_type=windows
14799 shrext_cmds=".dll"
14800 need_version=no
14801 need_lib_prefix=no
14803 case $GCC,$host_os in
14804 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14805 library_names_spec='$libname.dll.a'
14806 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14807 postinstall_cmds='base_file=`basename \${file}`~
14808 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14809 dldir=$destdir/`dirname \$dlpath`~
14810 test -d \$dldir || mkdir -p \$dldir~
14811 $install_prog $dir/$dlname \$dldir/$dlname~
14812 chmod a+x \$dldir/$dlname~
14813 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14814 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14816 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14817 dlpath=$dir/\$dldll~
14818 $RM \$dlpath'
14819 shlibpath_overrides_runpath=yes
14821 case $host_os in
14822 cygwin*)
14823 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14824 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14827 mingw* | cegcc*)
14828 # MinGW DLLs use traditional 'lib' prefix
14829 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14831 pw32*)
14832 # pw32 DLLs use 'pw' prefix rather than 'lib'
14833 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14835 esac
14839 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14841 esac
14842 dynamic_linker='Win32 ld.exe'
14843 # FIXME: first we should search . and the directory the executable is in
14844 shlibpath_var=PATH
14847 darwin* | rhapsody*)
14848 dynamic_linker="$host_os dyld"
14849 version_type=darwin
14850 need_lib_prefix=no
14851 need_version=no
14852 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14853 soname_spec='${libname}${release}${major}$shared_ext'
14854 shlibpath_overrides_runpath=yes
14855 shlibpath_var=DYLD_LIBRARY_PATH
14856 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14858 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14861 dgux*)
14862 version_type=linux
14863 need_lib_prefix=no
14864 need_version=no
14865 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14866 soname_spec='${libname}${release}${shared_ext}$major'
14867 shlibpath_var=LD_LIBRARY_PATH
14870 freebsd* | dragonfly*)
14871 # DragonFly does not have aout. When/if they implement a new
14872 # versioning mechanism, adjust this.
14873 if test -x /usr/bin/objformat; then
14874 objformat=`/usr/bin/objformat`
14875 else
14876 case $host_os in
14877 freebsd[23].*) objformat=aout ;;
14878 *) objformat=elf ;;
14879 esac
14881 version_type=freebsd-$objformat
14882 case $version_type in
14883 freebsd-elf*)
14884 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14885 need_version=no
14886 need_lib_prefix=no
14888 freebsd-*)
14889 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14890 need_version=yes
14892 esac
14893 shlibpath_var=LD_LIBRARY_PATH
14894 case $host_os in
14895 freebsd2.*)
14896 shlibpath_overrides_runpath=yes
14898 freebsd3.[01]* | freebsdelf3.[01]*)
14899 shlibpath_overrides_runpath=yes
14900 hardcode_into_libs=yes
14902 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14903 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14904 shlibpath_overrides_runpath=no
14905 hardcode_into_libs=yes
14907 *) # from 4.6 on, and DragonFly
14908 shlibpath_overrides_runpath=yes
14909 hardcode_into_libs=yes
14911 esac
14914 gnu*)
14915 version_type=linux
14916 need_lib_prefix=no
14917 need_version=no
14918 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14919 soname_spec='${libname}${release}${shared_ext}$major'
14920 shlibpath_var=LD_LIBRARY_PATH
14921 hardcode_into_libs=yes
14924 haiku*)
14925 version_type=linux
14926 need_lib_prefix=no
14927 need_version=no
14928 dynamic_linker="$host_os runtime_loader"
14929 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14930 soname_spec='${libname}${release}${shared_ext}$major'
14931 shlibpath_var=LIBRARY_PATH
14932 shlibpath_overrides_runpath=yes
14933 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14934 hardcode_into_libs=yes
14937 hpux9* | hpux10* | hpux11*)
14938 # Give a soname corresponding to the major version so that dld.sl refuses to
14939 # link against other versions.
14940 version_type=sunos
14941 need_lib_prefix=no
14942 need_version=no
14943 case $host_cpu in
14944 ia64*)
14945 shrext_cmds='.so'
14946 hardcode_into_libs=yes
14947 dynamic_linker="$host_os dld.so"
14948 shlibpath_var=LD_LIBRARY_PATH
14949 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14950 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14951 soname_spec='${libname}${release}${shared_ext}$major'
14952 if test "X$HPUX_IA64_MODE" = X32; then
14953 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14954 else
14955 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14957 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14959 hppa*64*)
14960 shrext_cmds='.sl'
14961 hardcode_into_libs=yes
14962 dynamic_linker="$host_os dld.sl"
14963 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14964 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14965 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14966 soname_spec='${libname}${release}${shared_ext}$major'
14967 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14968 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14971 shrext_cmds='.sl'
14972 dynamic_linker="$host_os dld.sl"
14973 shlibpath_var=SHLIB_PATH
14974 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14975 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14976 soname_spec='${libname}${release}${shared_ext}$major'
14978 esac
14979 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14980 postinstall_cmds='chmod 555 $lib'
14981 # or fails outright, so override atomically:
14982 install_override_mode=555
14985 interix[3-9]*)
14986 version_type=linux
14987 need_lib_prefix=no
14988 need_version=no
14989 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14990 soname_spec='${libname}${release}${shared_ext}$major'
14991 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14992 shlibpath_var=LD_LIBRARY_PATH
14993 shlibpath_overrides_runpath=no
14994 hardcode_into_libs=yes
14997 irix5* | irix6* | nonstopux*)
14998 case $host_os in
14999 nonstopux*) version_type=nonstopux ;;
15001 if test "$lt_cv_prog_gnu_ld" = yes; then
15002 version_type=linux
15003 else
15004 version_type=irix
15005 fi ;;
15006 esac
15007 need_lib_prefix=no
15008 need_version=no
15009 soname_spec='${libname}${release}${shared_ext}$major'
15010 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15011 case $host_os in
15012 irix5* | nonstopux*)
15013 libsuff= shlibsuff=
15016 case $LD in # libtool.m4 will add one of these switches to LD
15017 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15018 libsuff= shlibsuff= libmagic=32-bit;;
15019 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15020 libsuff=32 shlibsuff=N32 libmagic=N32;;
15021 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15022 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15023 *) libsuff= shlibsuff= libmagic=never-match;;
15024 esac
15026 esac
15027 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15028 shlibpath_overrides_runpath=no
15029 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15030 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15031 hardcode_into_libs=yes
15034 # No shared lib support for Linux oldld, aout, or coff.
15035 linux*oldld* | linux*aout* | linux*coff*)
15036 dynamic_linker=no
15039 # This must be Linux ELF.
15041 # uclinux* changes (here and below) have been submitted to the libtool
15042 # project, but have not yet been accepted: they are GCC-local changes
15043 # for the time being. (See
15044 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15045 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
15046 version_type=linux
15047 need_lib_prefix=no
15048 need_version=no
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'
15051 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15052 shlibpath_var=LD_LIBRARY_PATH
15053 shlibpath_overrides_runpath=no
15055 # Some binutils ld are patched to set DT_RUNPATH
15056 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15057 $as_echo_n "(cached) " >&6
15058 else
15059 lt_cv_shlibpath_overrides_runpath=no
15060 save_LDFLAGS=$LDFLAGS
15061 save_libdir=$libdir
15062 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15063 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15064 if test x$gcc_no_link = xyes; then
15065 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15068 /* end confdefs.h. */
15071 main ()
15075 return 0;
15077 _ACEOF
15078 if ac_fn_cxx_try_link "$LINENO"; then :
15079 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15080 lt_cv_shlibpath_overrides_runpath=yes
15083 rm -f core conftest.err conftest.$ac_objext \
15084 conftest$ac_exeext conftest.$ac_ext
15085 LDFLAGS=$save_LDFLAGS
15086 libdir=$save_libdir
15090 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15092 # This implies no fast_install, which is unacceptable.
15093 # Some rework will be needed to allow for fast_install
15094 # before this can be enabled.
15095 hardcode_into_libs=yes
15097 # Append ld.so.conf contents to the search path
15098 if test -f /etc/ld.so.conf; then
15099 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' ' '`
15100 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15103 # We used to test for /lib/ld.so.1 and disable shared libraries on
15104 # powerpc, because MkLinux only supported shared libraries with the
15105 # GNU dynamic linker. Since this was broken with cross compilers,
15106 # most powerpc-linux boxes support dynamic linking these days and
15107 # people can always --disable-shared, the test was removed, and we
15108 # assume the GNU/Linux dynamic linker is in use.
15109 dynamic_linker='GNU/Linux ld.so'
15112 netbsd*)
15113 version_type=sunos
15114 need_lib_prefix=no
15115 need_version=no
15116 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15117 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15118 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15119 dynamic_linker='NetBSD (a.out) ld.so'
15120 else
15121 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15122 soname_spec='${libname}${release}${shared_ext}$major'
15123 dynamic_linker='NetBSD ld.elf_so'
15125 shlibpath_var=LD_LIBRARY_PATH
15126 shlibpath_overrides_runpath=yes
15127 hardcode_into_libs=yes
15130 newsos6)
15131 version_type=linux
15132 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15133 shlibpath_var=LD_LIBRARY_PATH
15134 shlibpath_overrides_runpath=yes
15137 *nto* | *qnx*)
15138 version_type=qnx
15139 need_lib_prefix=no
15140 need_version=no
15141 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15142 soname_spec='${libname}${release}${shared_ext}$major'
15143 shlibpath_var=LD_LIBRARY_PATH
15144 shlibpath_overrides_runpath=no
15145 hardcode_into_libs=yes
15146 dynamic_linker='ldqnx.so'
15149 openbsd*)
15150 version_type=sunos
15151 sys_lib_dlsearch_path_spec="/usr/lib"
15152 need_lib_prefix=no
15153 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15154 case $host_os in
15155 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15156 *) need_version=no ;;
15157 esac
15158 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15159 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15160 shlibpath_var=LD_LIBRARY_PATH
15161 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15162 case $host_os in
15163 openbsd2.[89] | openbsd2.[89].*)
15164 shlibpath_overrides_runpath=no
15167 shlibpath_overrides_runpath=yes
15169 esac
15170 else
15171 shlibpath_overrides_runpath=yes
15175 os2*)
15176 libname_spec='$name'
15177 shrext_cmds=".dll"
15178 need_lib_prefix=no
15179 library_names_spec='$libname${shared_ext} $libname.a'
15180 dynamic_linker='OS/2 ld.exe'
15181 shlibpath_var=LIBPATH
15184 osf3* | osf4* | osf5*)
15185 version_type=osf
15186 need_lib_prefix=no
15187 need_version=no
15188 soname_spec='${libname}${release}${shared_ext}$major'
15189 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15190 shlibpath_var=LD_LIBRARY_PATH
15191 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15192 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15195 rdos*)
15196 dynamic_linker=no
15199 solaris*)
15200 version_type=linux
15201 need_lib_prefix=no
15202 need_version=no
15203 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15204 soname_spec='${libname}${release}${shared_ext}$major'
15205 shlibpath_var=LD_LIBRARY_PATH
15206 shlibpath_overrides_runpath=yes
15207 hardcode_into_libs=yes
15208 # ldd complains unless libraries are executable
15209 postinstall_cmds='chmod +x $lib'
15212 sunos4*)
15213 version_type=sunos
15214 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15215 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15216 shlibpath_var=LD_LIBRARY_PATH
15217 shlibpath_overrides_runpath=yes
15218 if test "$with_gnu_ld" = yes; then
15219 need_lib_prefix=no
15221 need_version=yes
15224 sysv4 | sysv4.3*)
15225 version_type=linux
15226 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15227 soname_spec='${libname}${release}${shared_ext}$major'
15228 shlibpath_var=LD_LIBRARY_PATH
15229 case $host_vendor in
15230 sni)
15231 shlibpath_overrides_runpath=no
15232 need_lib_prefix=no
15233 runpath_var=LD_RUN_PATH
15235 siemens)
15236 need_lib_prefix=no
15238 motorola)
15239 need_lib_prefix=no
15240 need_version=no
15241 shlibpath_overrides_runpath=no
15242 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15244 esac
15247 sysv4*MP*)
15248 if test -d /usr/nec ;then
15249 version_type=linux
15250 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15251 soname_spec='$libname${shared_ext}.$major'
15252 shlibpath_var=LD_LIBRARY_PATH
15256 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15257 version_type=freebsd-elf
15258 need_lib_prefix=no
15259 need_version=no
15260 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15261 soname_spec='${libname}${release}${shared_ext}$major'
15262 shlibpath_var=LD_LIBRARY_PATH
15263 shlibpath_overrides_runpath=yes
15264 hardcode_into_libs=yes
15265 if test "$with_gnu_ld" = yes; then
15266 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15267 else
15268 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15269 case $host_os in
15270 sco3.2v5*)
15271 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15273 esac
15275 sys_lib_dlsearch_path_spec='/usr/lib'
15278 tpf*)
15279 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15280 version_type=linux
15281 need_lib_prefix=no
15282 need_version=no
15283 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15284 shlibpath_var=LD_LIBRARY_PATH
15285 shlibpath_overrides_runpath=no
15286 hardcode_into_libs=yes
15289 uts4*)
15290 version_type=linux
15291 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15292 soname_spec='${libname}${release}${shared_ext}$major'
15293 shlibpath_var=LD_LIBRARY_PATH
15297 dynamic_linker=no
15299 esac
15300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15301 $as_echo "$dynamic_linker" >&6; }
15302 test "$dynamic_linker" = no && can_build_shared=no
15304 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15305 if test "$GCC" = yes; then
15306 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15309 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15310 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15312 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15313 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15354 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15355 hardcode_action_CXX=
15356 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15357 test -n "$runpath_var_CXX" ||
15358 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15360 # We can hardcode non-existent directories.
15361 if test "$hardcode_direct_CXX" != no &&
15362 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15363 # have to relink, otherwise we might link with an installed library
15364 # when we should be linking with a yet-to-be-installed one
15365 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15366 test "$hardcode_minus_L_CXX" != no; then
15367 # Linking always hardcodes the temporary library directory.
15368 hardcode_action_CXX=relink
15369 else
15370 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15371 hardcode_action_CXX=immediate
15373 else
15374 # We cannot hardcode anything, or else we can only hardcode existing
15375 # directories.
15376 hardcode_action_CXX=unsupported
15378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15379 $as_echo "$hardcode_action_CXX" >&6; }
15381 if test "$hardcode_action_CXX" = relink ||
15382 test "$inherit_rpath_CXX" = yes; then
15383 # Fast installation is not supported
15384 enable_fast_install=no
15385 elif test "$shlibpath_overrides_runpath" = yes ||
15386 test "$enable_shared" = no; then
15387 # Fast installation is not necessary
15388 enable_fast_install=needless
15397 fi # test -n "$compiler"
15399 CC=$lt_save_CC
15400 LDCXX=$LD
15401 LD=$lt_save_LD
15402 GCC=$lt_save_GCC
15403 with_gnu_ld=$lt_save_with_gnu_ld
15404 lt_cv_path_LDCXX=$lt_cv_path_LD
15405 lt_cv_path_LD=$lt_save_path_LD
15406 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15407 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15408 fi # test "$_lt_caught_CXX_error" != yes
15410 ac_ext=c
15411 ac_cpp='$CPP $CPPFLAGS'
15412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15428 ac_config_commands="$ac_config_commands libtool"
15433 # Only expand once:
15439 case $host in
15440 *-cygwin* | *-mingw*)
15441 # 'host' will be top-level target in the case of a target lib,
15442 # we must compare to with_cross_host to decide if this is a native
15443 # or cross-compiler and select where to install dlls appropriately.
15444 if test -n "$with_cross_host" &&
15445 test x"$with_cross_host" != x"no"; then
15446 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
15447 else
15448 lt_host_flags='-no-undefined -bindir "$(bindir)"';
15452 lt_host_flags=
15454 esac
15461 if test "$enable_vtable_verify" = yes; then
15462 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15463 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15467 # libtool variables for C++ shared and position-independent compiles.
15469 # Use glibcxx_lt_pic_flag to designate the automake variable
15470 # used to encapsulate the default libtool approach to creating objects
15471 # with position-independent code. Default: -prefer-pic.
15473 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15474 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15476 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15477 # creating position-independent objects. This varies with the target
15478 # hardware and operating system, but is often: -DPIC -fPIC.
15479 if test "$enable_shared" = yes; then
15480 glibcxx_lt_pic_flag="-prefer-pic"
15481 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15482 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15484 else
15485 glibcxx_lt_pic_flag=
15486 glibcxx_compiler_pic_flag=
15487 glibcxx_compiler_shared_flag=
15493 # Override the libtool's pic_flag and pic_mode.
15494 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15495 # NB: this impacts --with-pic and --without-pic.
15496 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15497 pic_mode='default'
15499 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15500 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15502 # Possibly disable most of the library.
15503 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15504 ## than just ignoring the results. Faster /and/ more correct, win win.
15506 # Check whether --enable-hosted-libstdcxx was given.
15507 if test "${enable_hosted_libstdcxx+set}" = set; then :
15508 enableval=$enable_hosted_libstdcxx;
15509 else
15510 case "$host" in
15511 arm*-*-symbianelf*)
15512 enable_hosted_libstdcxx=no
15515 enable_hosted_libstdcxx=yes
15517 esac
15520 if test "$enable_hosted_libstdcxx" = no; then
15521 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15522 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15523 is_hosted=no
15524 hosted_define=0
15525 enable_abi_check=no
15526 enable_libstdcxx_pch=no
15527 else
15528 is_hosted=yes
15529 hosted_define=1
15533 cat >>confdefs.h <<_ACEOF
15534 #define _GLIBCXX_HOSTED $hosted_define
15535 _ACEOF
15539 # Enable descriptive messages to standard output on termination.
15541 # Check whether --enable-libstdcxx-verbose was given.
15542 if test "${enable_libstdcxx_verbose+set}" = set; then :
15543 enableval=$enable_libstdcxx_verbose;
15544 else
15545 enable_libstdcxx_verbose=yes
15548 if test x"$enable_libstdcxx_verbose" = xyes; then
15549 verbose_define=1
15550 else
15551 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15552 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15553 verbose_define=0
15556 cat >>confdefs.h <<_ACEOF
15557 #define _GLIBCXX_VERBOSE $verbose_define
15558 _ACEOF
15562 # Enable compiler support that doesn't require linking.
15564 # Check whether --enable-libstdcxx-pch was given.
15565 if test "${enable_libstdcxx_pch+set}" = set; then :
15566 enableval=$enable_libstdcxx_pch;
15567 case "$enableval" in
15568 yes|no) ;;
15569 *) as_fn_error $? "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15570 esac
15572 else
15573 enable_libstdcxx_pch=$is_hosted
15577 if test $enable_libstdcxx_pch = yes; then
15578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15579 $as_echo_n "checking for compiler with PCH support... " >&6; }
15580 if ${glibcxx_cv_prog_CXX_pch+:} false; then :
15581 $as_echo_n "(cached) " >&6
15582 else
15583 ac_save_CXXFLAGS="$CXXFLAGS"
15584 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15586 ac_ext=cpp
15587 ac_cpp='$CXXCPP $CPPFLAGS'
15588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15592 echo '#include <math.h>' > conftest.h
15593 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15594 -o conftest.h.gch 1>&5 2>&1 &&
15595 echo '#error "pch failed"' > conftest.h &&
15596 echo '#include "conftest.h"' > conftest.cc &&
15597 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15598 then
15599 glibcxx_cv_prog_CXX_pch=yes
15600 else
15601 glibcxx_cv_prog_CXX_pch=no
15603 rm -f conftest*
15604 CXXFLAGS=$ac_save_CXXFLAGS
15605 ac_ext=c
15606 ac_cpp='$CPP $CPPFLAGS'
15607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15614 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15615 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15619 $as_echo_n "checking for enabled PCH... " >&6; }
15620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15621 $as_echo "$enable_libstdcxx_pch" >&6; }
15624 if test $enable_libstdcxx_pch = yes; then
15625 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15626 else
15627 glibcxx_PCHFLAGS=""
15632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15633 $as_echo_n "checking for thread model used by GCC... " >&6; }
15634 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15636 $as_echo "$target_thread_file" >&6; }
15638 case $target_thread_file in
15639 aix) thread_header=config/rs6000/gthr-aix.h ;;
15640 dce) thread_header=config/pa/gthr-dce.h ;;
15641 gcn) thread_header=config/gcn/gthr-gcn.h ;;
15642 lynx) thread_header=config/gthr-lynx.h ;;
15643 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15644 posix) thread_header=gthr-posix.h ;;
15645 rtems) thread_header=config/gthr-rtems.h ;;
15646 single) thread_header=gthr-single.h ;;
15647 tpf) thread_header=config/s390/gthr-tpf.h ;;
15648 vxworks) thread_header=config/gthr-vxworks.h ;;
15649 win32) thread_header=config/i386/gthr-win32.h ;;
15650 esac
15656 ac_ext=cpp
15657 ac_cpp='$CXXCPP $CPPFLAGS'
15658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15662 old_CXXFLAGS="$CXXFLAGS"
15664 # Do link tests if possible, instead asm tests, limited to some platforms
15665 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15666 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15667 atomic_builtins_link_tests=no
15668 if test x$gcc_no_link != xyes; then
15669 # Can do link tests. Limit to some tested platforms
15670 case "$host" in
15671 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15672 atomic_builtins_link_tests=yes
15674 esac
15677 if test x$atomic_builtins_link_tests = xyes; then
15679 # Do link tests.
15681 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15684 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15685 if ${glibcxx_cv_atomic_bool+:} false; then :
15686 $as_echo_n "(cached) " >&6
15687 else
15689 if test x$gcc_no_link = xyes; then
15690 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15693 /* end confdefs.h. */
15696 main ()
15698 typedef bool atomic_type;
15699 atomic_type c1;
15700 atomic_type c2;
15701 atomic_type c3(0);
15702 // N.B. __atomic_fetch_add is not supported for bool.
15703 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15704 __ATOMIC_RELAXED);
15705 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15706 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15709 return 0;
15711 _ACEOF
15712 if ac_fn_cxx_try_link "$LINENO"; then :
15713 glibcxx_cv_atomic_bool=yes
15714 else
15715 glibcxx_cv_atomic_bool=no
15717 rm -f core conftest.err conftest.$ac_objext \
15718 conftest$ac_exeext conftest.$ac_ext
15722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15723 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15726 $as_echo_n "checking for atomic builtins for short... " >&6; }
15727 if ${glibcxx_cv_atomic_short+:} false; then :
15728 $as_echo_n "(cached) " >&6
15729 else
15731 if test x$gcc_no_link = xyes; then
15732 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15735 /* end confdefs.h. */
15738 main ()
15740 typedef short atomic_type;
15741 atomic_type c1;
15742 atomic_type c2;
15743 atomic_type c3(0);
15744 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15745 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15746 __ATOMIC_RELAXED);
15747 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15748 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15751 return 0;
15753 _ACEOF
15754 if ac_fn_cxx_try_link "$LINENO"; then :
15755 glibcxx_cv_atomic_short=yes
15756 else
15757 glibcxx_cv_atomic_short=no
15759 rm -f core conftest.err conftest.$ac_objext \
15760 conftest$ac_exeext conftest.$ac_ext
15764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15765 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15768 $as_echo_n "checking for atomic builtins for int... " >&6; }
15769 if ${glibcxx_cv_atomic_int+:} false; then :
15770 $as_echo_n "(cached) " >&6
15771 else
15773 if test x$gcc_no_link = xyes; then
15774 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15777 /* end confdefs.h. */
15780 main ()
15782 typedef int atomic_type;
15783 atomic_type c1;
15784 atomic_type c2;
15785 atomic_type c3(0);
15786 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15787 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15788 __ATOMIC_RELAXED);
15789 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15790 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15793 return 0;
15795 _ACEOF
15796 if ac_fn_cxx_try_link "$LINENO"; then :
15797 glibcxx_cv_atomic_int=yes
15798 else
15799 glibcxx_cv_atomic_int=no
15801 rm -f core conftest.err conftest.$ac_objext \
15802 conftest$ac_exeext conftest.$ac_ext
15806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15807 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15810 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15811 if ${glibcxx_cv_atomic_long_long+:} false; then :
15812 $as_echo_n "(cached) " >&6
15813 else
15815 if test x$gcc_no_link = xyes; then
15816 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15819 /* end confdefs.h. */
15822 main ()
15824 typedef long long atomic_type;
15825 atomic_type c1;
15826 atomic_type c2;
15827 atomic_type c3(0);
15828 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15829 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15830 __ATOMIC_RELAXED);
15831 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15832 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15835 return 0;
15837 _ACEOF
15838 if ac_fn_cxx_try_link "$LINENO"; then :
15839 glibcxx_cv_atomic_long_long=yes
15840 else
15841 glibcxx_cv_atomic_long_long=no
15843 rm -f core conftest.err conftest.$ac_objext \
15844 conftest$ac_exeext conftest.$ac_ext
15848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15849 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15851 else
15853 # Do asm tests.
15855 # Compile unoptimized.
15856 CXXFLAGS='-O0 -S'
15858 # Fake what AC_TRY_COMPILE does.
15860 cat > conftest.$ac_ext << EOF
15861 #line 15861 "configure"
15862 int main()
15864 typedef bool atomic_type;
15865 atomic_type c1;
15866 atomic_type c2;
15867 atomic_type c3(0);
15868 // N.B. __atomic_fetch_add is not supported for bool.
15869 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15870 __ATOMIC_RELAXED);
15871 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15872 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15874 return 0;
15878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15879 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15880 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15881 (eval $ac_compile) 2>&5
15882 ac_status=$?
15883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15884 test $ac_status = 0; }; then
15885 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15886 glibcxx_cv_atomic_bool=no
15887 else
15888 glibcxx_cv_atomic_bool=yes
15891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15892 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15893 rm -f conftest*
15895 cat > conftest.$ac_ext << EOF
15896 #line 15896 "configure"
15897 int main()
15899 typedef short atomic_type;
15900 atomic_type c1;
15901 atomic_type c2;
15902 atomic_type c3(0);
15903 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15904 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15905 __ATOMIC_RELAXED);
15906 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15907 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15909 return 0;
15913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15914 $as_echo_n "checking for atomic builtins for short... " >&6; }
15915 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15916 (eval $ac_compile) 2>&5
15917 ac_status=$?
15918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15919 test $ac_status = 0; }; then
15920 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15921 glibcxx_cv_atomic_short=no
15922 else
15923 glibcxx_cv_atomic_short=yes
15926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15927 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15928 rm -f conftest*
15930 cat > conftest.$ac_ext << EOF
15931 #line 15931 "configure"
15932 int main()
15934 // NB: _Atomic_word not necessarily int.
15935 typedef int atomic_type;
15936 atomic_type c1;
15937 atomic_type c2;
15938 atomic_type c3(0);
15939 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15940 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15941 __ATOMIC_RELAXED);
15942 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15943 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15945 return 0;
15949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15950 $as_echo_n "checking for atomic builtins for int... " >&6; }
15951 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15952 (eval $ac_compile) 2>&5
15953 ac_status=$?
15954 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15955 test $ac_status = 0; }; then
15956 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15957 glibcxx_cv_atomic_int=no
15958 else
15959 glibcxx_cv_atomic_int=yes
15962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15963 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15964 rm -f conftest*
15966 cat > conftest.$ac_ext << EOF
15967 #line 15967 "configure"
15968 int main()
15970 typedef long long atomic_type;
15971 atomic_type c1;
15972 atomic_type c2;
15973 atomic_type c3(0);
15974 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15975 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15976 __ATOMIC_RELAXED);
15977 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15978 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15980 return 0;
15984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15985 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15986 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15987 (eval $ac_compile) 2>&5
15988 ac_status=$?
15989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15990 test $ac_status = 0; }; then
15991 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15992 glibcxx_cv_atomic_long_long=no
15993 else
15994 glibcxx_cv_atomic_long_long=yes
15997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15998 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15999 rm -f conftest*
16003 CXXFLAGS="$old_CXXFLAGS"
16004 ac_ext=c
16005 ac_cpp='$CPP $CPPFLAGS'
16006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16011 # Set atomicity_dir to builtins if all but the long long test above passes,
16012 # or if the builtins were already chosen (e.g. by configure.host).
16013 if { test "$glibcxx_cv_atomic_bool" = yes \
16014 && test "$glibcxx_cv_atomic_short" = yes \
16015 && test "$glibcxx_cv_atomic_int" = yes; } \
16016 || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
16018 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
16020 atomicity_dir=cpu/generic/atomicity_builtins
16023 # If still generic, set to mutex.
16024 if test $atomicity_dir = "cpu/generic" ; then
16025 atomicity_dir=cpu/generic/atomicity_mutex
16026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
16027 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
16028 if test "x$target_thread_file" = xsingle; then
16029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
16030 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
16031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
16032 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
16033 else
16034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
16035 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
16036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
16037 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
16045 # Check whether --with-libstdcxx-lock-policy was given.
16046 if test "${with_libstdcxx_lock_policy+set}" = set; then :
16047 withval=$with_libstdcxx_lock_policy; libstdcxx_atomic_lock_policy=$withval
16048 else
16049 libstdcxx_atomic_lock_policy=auto
16053 case "$libstdcxx_atomic_lock_policy" in
16054 atomic|mutex|auto) ;;
16055 *) as_fn_error $? "Invalid argument for --with-libstdcxx-lock-policy" "$LINENO" 5 ;;
16056 esac
16057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lock policy for shared_ptr reference counts" >&5
16058 $as_echo_n "checking for lock policy for shared_ptr reference counts... " >&6; }
16060 if test x"$libstdcxx_atomic_lock_policy" = x"auto"; then
16062 ac_ext=cpp
16063 ac_cpp='$CXXCPP $CPPFLAGS'
16064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16068 ac_save_CXXFLAGS="$CXXFLAGS"
16070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16071 /* end confdefs.h. */
16073 #if ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
16074 # error "No 2-byte compare-and-swap"
16075 #elif ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
16076 # error "No 4-byte compare-and-swap"
16077 #endif
16080 main ()
16084 return 0;
16086 _ACEOF
16087 if ac_fn_cxx_try_compile "$LINENO"; then :
16088 libstdcxx_atomic_lock_policy=atomic
16089 else
16090 libstdcxx_atomic_lock_policy=mutex
16092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16093 ac_ext=c
16094 ac_cpp='$CPP $CPPFLAGS'
16095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16099 CXXFLAGS="$ac_save_CXXFLAGS"
16102 if test x"$libstdcxx_atomic_lock_policy" = x"atomic"; then
16103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: atomic" >&5
16104 $as_echo "atomic" >&6; }
16106 $as_echo "#define HAVE_ATOMIC_LOCK_POLICY 1" >>confdefs.h
16108 else
16109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mutex" >&5
16110 $as_echo "mutex" >&6; }
16116 # Fake what AC_TRY_COMPILE does, without linking as this is
16117 # unnecessary for this test.
16119 cat > conftest.$ac_ext << EOF
16120 #line 16120 "configure"
16121 int main()
16123 _Decimal32 d1;
16124 _Decimal64 d2;
16125 _Decimal128 d3;
16126 return 0;
16130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
16131 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
16132 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16133 (eval $ac_compile) 2>&5
16134 ac_status=$?
16135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16136 test $ac_status = 0; }; then
16138 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
16140 enable_dfp=yes
16141 else
16142 enable_dfp=no
16144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
16145 $as_echo "$enable_dfp" >&6; }
16146 rm -f conftest*
16151 ac_ext=cpp
16152 ac_cpp='$CXXCPP $CPPFLAGS'
16153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16158 # Fake what AC_TRY_COMPILE does, without linking as this is
16159 # unnecessary for this test.
16161 cat > conftest.$ac_ext << EOF
16162 #line 16162 "configure"
16163 template<typename T1, typename T2>
16164 struct same
16165 { typedef T2 type; };
16167 template<typename T>
16168 struct same<T, T>;
16170 int main()
16172 typename same<long, __int128>::type i1;
16173 typename same<long long, __int128>::type i2;
16177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
16178 $as_echo_n "checking for __int128... " >&6; }
16179 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16180 (eval $ac_compile) 2>&5
16181 ac_status=$?
16182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16183 test $ac_status = 0; }; then
16185 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
16187 enable_int128=yes
16188 else
16189 enable_int128=no
16191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
16192 $as_echo "$enable_int128" >&6; }
16193 rm -f conftest*
16195 cat > conftest.$ac_ext << EOF
16196 #line 16196 "configure"
16197 template<typename T1, typename T2>
16198 struct same
16199 { typedef T2 type; };
16201 template<typename T>
16202 struct same<T, T>;
16204 int main()
16206 typename same<double, __float128>::type f1;
16207 typename same<long double, __float128>::type f2;
16211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
16212 $as_echo_n "checking for __float128... " >&6; }
16213 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16214 (eval $ac_compile) 2>&5
16215 ac_status=$?
16216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16217 test $ac_status = 0; }; then
16218 enable_float128=yes
16219 else
16220 enable_float128=no
16222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
16223 $as_echo "$enable_float128" >&6; }
16225 rm -f conftest*
16227 ac_ext=c
16228 ac_cpp='$CPP $CPPFLAGS'
16229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16234 if test "$enable_float128" = yes; then
16235 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
16238 # Checks for compiler support that doesn't require linking.
16240 # All these tests are for C++; save the language and the compiler flags.
16241 # The CXXFLAGS thing is suspicious, but based on similar bits previously
16242 # found in GLIBCXX_CONFIGURE.
16244 ac_ext=cpp
16245 ac_cpp='$CXXCPP $CPPFLAGS'
16246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16250 ac_test_CXXFLAGS="${CXXFLAGS+set}"
16251 ac_save_CXXFLAGS="$CXXFLAGS"
16253 # Check for -ffunction-sections -fdata-sections
16254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
16255 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
16256 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
16257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16258 /* end confdefs.h. */
16259 int foo; void bar() { };
16261 main ()
16265 return 0;
16267 _ACEOF
16268 if ac_fn_cxx_try_compile "$LINENO"; then :
16269 ac_fdsections=yes
16270 else
16271 ac_fdsections=no
16273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16274 if test "$ac_test_CXXFLAGS" = set; then
16275 CXXFLAGS="$ac_save_CXXFLAGS"
16276 else
16277 # this is the suspicious part
16278 CXXFLAGS=''
16280 if test x"$ac_fdsections" = x"yes"; then
16281 SECTION_FLAGS='-ffunction-sections -fdata-sections'
16283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
16284 $as_echo "$ac_fdsections" >&6; }
16286 ac_ext=c
16287 ac_cpp='$CPP $CPPFLAGS'
16288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16295 # Enable all the variable C++ runtime options that don't require linking.
16297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
16298 $as_echo_n "checking for underlying I/O to use... " >&6; }
16299 # Check whether --enable-cstdio was given.
16300 if test "${enable_cstdio+set}" = set; then :
16301 enableval=$enable_cstdio;
16302 case "$enableval" in
16303 stdio) ;;
16304 *) as_fn_error $? "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
16305 esac
16307 else
16308 enable_cstdio=stdio
16313 # Now that libio has been removed, you can have any color you want as long
16314 # as it's black. This is one big no-op until other packages are added, but
16315 # showing the framework never hurts.
16316 case ${enable_cstdio} in
16317 stdio)
16318 CSTDIO_H=config/io/c_io_stdio.h
16319 BASIC_FILE_H=config/io/basic_file_stdio.h
16320 BASIC_FILE_CC=config/io/basic_file_stdio.cc
16321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
16322 $as_echo "stdio" >&6; }
16324 esac
16331 # Check whether --enable-clocale was given.
16332 if test "${enable_clocale+set}" = set; then :
16333 enableval=$enable_clocale;
16334 case "$enableval" in
16335 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
16336 *) as_fn_error $? "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
16337 esac
16339 else
16340 enable_clocale=auto
16345 # Deal with gettext issues. Default to not using it (=no) until we detect
16346 # support for it later. Let the user turn it off via --e/d, but let that
16347 # default to on for easier handling.
16348 USE_NLS=no
16349 # Check whether --enable-nls was given.
16350 if test "${enable_nls+set}" = set; then :
16351 enableval=$enable_nls;
16352 else
16353 enable_nls=yes
16357 # Either a known package, or "auto"
16358 if test $enable_clocale = no || test $enable_clocale = yes; then
16359 enable_clocale=auto
16361 enable_clocale_flag=$enable_clocale
16363 # Probe for locale model to use if none specified.
16364 # Default to "generic".
16365 if test $enable_clocale_flag = auto; then
16366 case ${target_os} in
16367 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16368 enable_clocale_flag=gnu
16370 darwin*)
16371 enable_clocale_flag=darwin
16373 dragonfly* | freebsd*)
16374 enable_clocale_flag=dragonfly
16376 openbsd*)
16377 enable_clocale_flag=newlib
16380 if test x"$with_newlib" = x"yes"; then
16381 enable_clocale_flag=newlib
16382 else
16383 enable_clocale_flag=generic
16386 esac
16389 # Sanity check model, and test for special functionality.
16390 if test $enable_clocale_flag = gnu; then
16391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16392 /* end confdefs.h. */
16394 #include <features.h>
16395 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
16396 _GLIBCXX_ok
16397 #endif
16399 _ACEOF
16400 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16401 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
16402 enable_clocale_flag=gnu
16403 else
16404 enable_clocale_flag=generic
16406 rm -f conftest*
16409 # Set it to scream when it hurts.
16410 ac_save_CFLAGS="$CFLAGS"
16411 CFLAGS="-Wimplicit-function-declaration -Werror"
16413 # Use strxfrm_l if available.
16414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16415 /* end confdefs.h. */
16416 #define _GNU_SOURCE 1
16417 #include <string.h>
16418 #include <locale.h>
16420 main ()
16422 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
16424 return 0;
16426 _ACEOF
16427 if ac_fn_c_try_compile "$LINENO"; then :
16429 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
16432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16434 # Use strerror_l if available.
16435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16436 /* end confdefs.h. */
16437 #define _GNU_SOURCE 1
16438 #include <string.h>
16439 #include <locale.h>
16441 main ()
16443 __locale_t loc; strerror_l(5, loc);
16445 return 0;
16447 _ACEOF
16448 if ac_fn_c_try_compile "$LINENO"; then :
16450 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
16453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16455 CFLAGS="$ac_save_CFLAGS"
16458 # Perhaps use strerror_r if available, and strerror_l isn't.
16459 ac_save_CFLAGS="$CFLAGS"
16460 CFLAGS="-Wimplicit-function-declaration -Werror"
16461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16462 /* end confdefs.h. */
16463 #define _GNU_SOURCE 1
16464 #include <string.h>
16465 #include <locale.h>
16467 main ()
16469 char s[128]; strerror_r(5, s, 128);
16471 return 0;
16473 _ACEOF
16474 if ac_fn_c_try_compile "$LINENO"; then :
16476 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16480 CFLAGS="$ac_save_CFLAGS"
16482 # Set configure bits for specified locale package
16483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
16484 $as_echo_n "checking for C locale to use... " >&6; }
16485 case ${enable_clocale_flag} in
16486 generic)
16487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
16488 $as_echo "generic" >&6; }
16490 CLOCALE_H=config/locale/generic/c_locale.h
16491 CLOCALE_CC=config/locale/generic/c_locale.cc
16492 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16493 CCOLLATE_CC=config/locale/generic/collate_members.cc
16494 CCTYPE_CC=config/locale/generic/ctype_members.cc
16495 CMESSAGES_H=config/locale/generic/messages_members.h
16496 CMESSAGES_CC=config/locale/generic/messages_members.cc
16497 CMONEY_CC=config/locale/generic/monetary_members.cc
16498 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16499 CTIME_H=config/locale/generic/time_members.h
16500 CTIME_CC=config/locale/generic/time_members.cc
16501 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16503 darwin)
16504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
16505 $as_echo "darwin" >&6; }
16507 CLOCALE_H=config/locale/generic/c_locale.h
16508 CLOCALE_CC=config/locale/generic/c_locale.cc
16509 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16510 CCOLLATE_CC=config/locale/generic/collate_members.cc
16511 CCTYPE_CC=config/locale/darwin/ctype_members.cc
16512 CMESSAGES_H=config/locale/generic/messages_members.h
16513 CMESSAGES_CC=config/locale/generic/messages_members.cc
16514 CMONEY_CC=config/locale/generic/monetary_members.cc
16515 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16516 CTIME_H=config/locale/generic/time_members.h
16517 CTIME_CC=config/locale/generic/time_members.cc
16518 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16521 dragonfly)
16522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
16523 $as_echo "dragonfly or freebsd" >&6; }
16525 CLOCALE_H=config/locale/dragonfly/c_locale.h
16526 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16527 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16528 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16529 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16530 CMESSAGES_H=config/locale/generic/messages_members.h
16531 CMESSAGES_CC=config/locale/generic/messages_members.cc
16532 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16533 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16534 CTIME_H=config/locale/dragonfly/time_members.h
16535 CTIME_CC=config/locale/dragonfly/time_members.cc
16536 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16539 gnu)
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16541 $as_echo "gnu" >&6; }
16543 # Declare intention to use gettext, and add support for specific
16544 # languages.
16545 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16546 ALL_LINGUAS="de fr"
16548 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16549 # Extract the first word of "msgfmt", so it can be a program name with args.
16550 set dummy msgfmt; ac_word=$2
16551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16552 $as_echo_n "checking for $ac_word... " >&6; }
16553 if ${ac_cv_prog_check_msgfmt+:} false; then :
16554 $as_echo_n "(cached) " >&6
16555 else
16556 if test -n "$check_msgfmt"; then
16557 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16558 else
16559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16560 for as_dir in $PATH
16562 IFS=$as_save_IFS
16563 test -z "$as_dir" && as_dir=.
16564 for ac_exec_ext in '' $ac_executable_extensions; do
16565 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16566 ac_cv_prog_check_msgfmt="yes"
16567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16568 break 2
16570 done
16571 done
16572 IFS=$as_save_IFS
16574 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16577 check_msgfmt=$ac_cv_prog_check_msgfmt
16578 if test -n "$check_msgfmt"; then
16579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16580 $as_echo "$check_msgfmt" >&6; }
16581 else
16582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16583 $as_echo "no" >&6; }
16587 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16588 USE_NLS=yes
16590 # Export the build objects.
16591 for ling in $ALL_LINGUAS; do \
16592 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16593 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16594 done
16598 CLOCALE_H=config/locale/gnu/c_locale.h
16599 CLOCALE_CC=config/locale/gnu/c_locale.cc
16600 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16601 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16602 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16603 CMESSAGES_H=config/locale/gnu/messages_members.h
16604 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16605 CMONEY_CC=config/locale/gnu/monetary_members.cc
16606 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16607 CTIME_H=config/locale/gnu/time_members.h
16608 CTIME_CC=config/locale/gnu/time_members.cc
16609 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16611 ieee_1003.1-2001)
16612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16613 $as_echo "IEEE 1003.1" >&6; }
16615 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16616 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16617 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16618 CCOLLATE_CC=config/locale/generic/collate_members.cc
16619 CCTYPE_CC=config/locale/generic/ctype_members.cc
16620 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16621 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16622 CMONEY_CC=config/locale/generic/monetary_members.cc
16623 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16624 CTIME_H=config/locale/generic/time_members.h
16625 CTIME_CC=config/locale/generic/time_members.cc
16626 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16628 newlib)
16629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16630 $as_echo "newlib" >&6; }
16632 CLOCALE_H=config/locale/generic/c_locale.h
16633 CLOCALE_CC=config/locale/generic/c_locale.cc
16634 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16635 CCOLLATE_CC=config/locale/generic/collate_members.cc
16636 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16637 CMESSAGES_H=config/locale/generic/messages_members.h
16638 CMESSAGES_CC=config/locale/generic/messages_members.cc
16639 CMONEY_CC=config/locale/generic/monetary_members.cc
16640 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16641 CTIME_H=config/locale/generic/time_members.h
16642 CTIME_CC=config/locale/generic/time_members.cc
16643 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16645 esac
16647 # This is where the testsuite looks for locale catalogs, using the
16648 # -DLOCALEDIR define during testsuite compilation.
16649 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16652 # A standalone libintl (e.g., GNU libintl) may be in use.
16653 if test $USE_NLS = yes; then
16654 for ac_header in libintl.h
16655 do :
16656 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16657 if test "x$ac_cv_header_libintl_h" = xyes; then :
16658 cat >>confdefs.h <<_ACEOF
16659 #define HAVE_LIBINTL_H 1
16660 _ACEOF
16662 else
16663 USE_NLS=no
16666 done
16668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16669 $as_echo_n "checking for library containing gettext... " >&6; }
16670 if ${ac_cv_search_gettext+:} false; then :
16671 $as_echo_n "(cached) " >&6
16672 else
16673 ac_func_search_save_LIBS=$LIBS
16674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16675 /* end confdefs.h. */
16677 /* Override any GCC internal prototype to avoid an error.
16678 Use char because int might match the return type of a GCC
16679 builtin and then its argument prototype would still apply. */
16680 #ifdef __cplusplus
16681 extern "C"
16682 #endif
16683 char gettext ();
16685 main ()
16687 return gettext ();
16689 return 0;
16691 _ACEOF
16692 for ac_lib in '' intl; do
16693 if test -z "$ac_lib"; then
16694 ac_res="none required"
16695 else
16696 ac_res=-l$ac_lib
16697 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16699 if test x$gcc_no_link = xyes; then
16700 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16702 if ac_fn_c_try_link "$LINENO"; then :
16703 ac_cv_search_gettext=$ac_res
16705 rm -f core conftest.err conftest.$ac_objext \
16706 conftest$ac_exeext
16707 if ${ac_cv_search_gettext+:} false; then :
16708 break
16710 done
16711 if ${ac_cv_search_gettext+:} false; then :
16713 else
16714 ac_cv_search_gettext=no
16716 rm conftest.$ac_ext
16717 LIBS=$ac_func_search_save_LIBS
16719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16720 $as_echo "$ac_cv_search_gettext" >&6; }
16721 ac_res=$ac_cv_search_gettext
16722 if test "$ac_res" != no; then :
16723 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16725 else
16726 USE_NLS=no
16730 if test $USE_NLS = yes; then
16732 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16752 $as_echo_n "checking for std::allocator base class... " >&6; }
16753 # Check whether --enable-libstdcxx-allocator was given.
16754 if test "${enable_libstdcxx_allocator+set}" = set; then :
16755 enableval=$enable_libstdcxx_allocator;
16756 case "$enableval" in
16757 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16758 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16759 esac
16761 else
16762 enable_libstdcxx_allocator=auto
16767 # If they didn't use this option switch, or if they specified --enable
16768 # with no specific model, we'll have to look for one. If they
16769 # specified --disable (???), do likewise.
16770 if test $enable_libstdcxx_allocator = no ||
16771 test $enable_libstdcxx_allocator = yes;
16772 then
16773 enable_libstdcxx_allocator=auto
16776 # Either a known package, or "auto". Auto implies the default choice
16777 # for a particular platform.
16778 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16780 # Probe for host-specific support if no specific model is specified.
16781 # Default to "new".
16782 if test $enable_libstdcxx_allocator_flag = auto; then
16783 case ${target_os} in
16784 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16785 enable_libstdcxx_allocator_flag=new
16788 enable_libstdcxx_allocator_flag=new
16790 esac
16792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16793 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16796 # Set configure bits for specified locale package
16797 case ${enable_libstdcxx_allocator_flag} in
16798 bitmap)
16799 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16800 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16802 malloc)
16803 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16804 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16807 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16808 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16810 new)
16811 ALLOCATOR_H=config/allocator/new_allocator_base.h
16812 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16814 pool)
16815 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16816 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16818 esac
16825 # Check whether --enable-cheaders was given.
16826 if test "${enable_cheaders+set}" = set; then :
16827 enableval=$enable_cheaders;
16828 case "$enableval" in
16829 c|c_std|c_global) ;;
16830 *) as_fn_error $? "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16831 esac
16833 else
16834 enable_cheaders=$c_model
16838 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16839 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16841 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16843 # Allow overrides to configure.host here.
16844 if test $enable_cheaders = c_global; then
16845 c_compatibility=yes
16854 # Check whether --enable-long-long was given.
16855 if test "${enable_long_long+set}" = set; then :
16856 enableval=$enable_long_long;
16857 case "$enableval" in
16858 yes|no) ;;
16859 *) as_fn_error $? "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16860 esac
16862 else
16863 enable_long_long=yes
16867 if test $enable_long_long = yes; then
16869 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16873 $as_echo_n "checking for enabled long long specializations... " >&6; }
16874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16875 $as_echo "$enable_long_long" >&6; }
16878 # Check whether --enable-wchar_t was given.
16879 if test "${enable_wchar_t+set}" = set; then :
16880 enableval=$enable_wchar_t;
16881 case "$enableval" in
16882 yes|no) ;;
16883 *) as_fn_error $? "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16884 esac
16886 else
16887 enable_wchar_t=yes
16892 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16893 for ac_header in wchar.h
16894 do :
16895 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16896 if test "x$ac_cv_header_wchar_h" = xyes; then :
16897 cat >>confdefs.h <<_ACEOF
16898 #define HAVE_WCHAR_H 1
16899 _ACEOF
16900 ac_has_wchar_h=yes
16901 else
16902 ac_has_wchar_h=no
16905 done
16907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16908 $as_echo_n "checking for mbstate_t... " >&6; }
16909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16910 /* end confdefs.h. */
16911 #include <wchar.h>
16913 main ()
16915 mbstate_t teststate;
16917 return 0;
16919 _ACEOF
16920 if ac_fn_c_try_compile "$LINENO"; then :
16921 have_mbstate_t=yes
16922 else
16923 have_mbstate_t=no
16925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16927 $as_echo "$have_mbstate_t" >&6; }
16928 if test x"$have_mbstate_t" = xyes; then
16930 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16934 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16935 # ac_has_wchar_h.
16936 for ac_header in wctype.h
16937 do :
16938 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16939 if test "x$ac_cv_header_wctype_h" = xyes; then :
16940 cat >>confdefs.h <<_ACEOF
16941 #define HAVE_WCTYPE_H 1
16942 _ACEOF
16943 ac_has_wctype_h=yes
16944 else
16945 ac_has_wctype_h=no
16948 done
16951 if test x"$enable_wchar_t" = x"yes"; then
16954 ac_ext=cpp
16955 ac_cpp='$CXXCPP $CPPFLAGS'
16956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16961 if test x"$ac_has_wchar_h" = xyes &&
16962 test x"$ac_has_wctype_h" = xyes; then
16963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16964 /* end confdefs.h. */
16965 #include <wchar.h>
16966 #include <stddef.h>
16967 wint_t i;
16968 long l = WEOF;
16969 long j = WCHAR_MIN;
16970 long k = WCHAR_MAX;
16971 namespace test
16973 using ::btowc;
16974 using ::fgetwc;
16975 using ::fgetws;
16976 using ::fputwc;
16977 using ::fputws;
16978 using ::fwide;
16979 using ::fwprintf;
16980 using ::fwscanf;
16981 using ::getwc;
16982 using ::getwchar;
16983 using ::mbrlen;
16984 using ::mbrtowc;
16985 using ::mbsinit;
16986 using ::mbsrtowcs;
16987 using ::putwc;
16988 using ::putwchar;
16989 using ::swprintf;
16990 using ::swscanf;
16991 using ::ungetwc;
16992 using ::vfwprintf;
16993 using ::vswprintf;
16994 using ::vwprintf;
16995 using ::wcrtomb;
16996 using ::wcscat;
16997 using ::wcschr;
16998 using ::wcscmp;
16999 using ::wcscoll;
17000 using ::wcscpy;
17001 using ::wcscspn;
17002 using ::wcsftime;
17003 using ::wcslen;
17004 using ::wcsncat;
17005 using ::wcsncmp;
17006 using ::wcsncpy;
17007 using ::wcspbrk;
17008 using ::wcsrchr;
17009 using ::wcsrtombs;
17010 using ::wcsspn;
17011 using ::wcsstr;
17012 using ::wcstod;
17013 using ::wcstok;
17014 using ::wcstol;
17015 using ::wcstoul;
17016 using ::wcsxfrm;
17017 using ::wctob;
17018 using ::wmemchr;
17019 using ::wmemcmp;
17020 using ::wmemcpy;
17021 using ::wmemmove;
17022 using ::wmemset;
17023 using ::wprintf;
17024 using ::wscanf;
17028 main ()
17032 return 0;
17034 _ACEOF
17035 if ac_fn_cxx_try_compile "$LINENO"; then :
17037 else
17038 enable_wchar_t=no
17040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17041 else
17042 enable_wchar_t=no
17045 ac_ext=c
17046 ac_cpp='$CPP $CPPFLAGS'
17047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17053 if test x"$enable_wchar_t" = x"yes"; then
17055 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
17059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
17060 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
17061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
17062 $as_echo "$enable_wchar_t" >&6; }
17066 # Check whether --enable-c99 was given.
17067 if test "${enable_c99+set}" = set; then :
17068 enableval=$enable_c99;
17069 case "$enableval" in
17070 yes|no) ;;
17071 *) as_fn_error $? "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
17072 esac
17074 else
17075 enable_c99=yes
17080 if test x"$enable_c99" = x"yes"; then
17082 ac_ext=cpp
17083 ac_cpp='$CXXCPP $CPPFLAGS'
17084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17089 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
17090 # undefined may cause fake C99 facilities, like pre-standard snprintf,
17091 # to be spuriously enabled.
17092 ac_save_CXXFLAGS="$CXXFLAGS"
17093 CXXFLAGS="$CXXFLAGS -std=c++98"
17094 ac_save_LIBS="$LIBS"
17095 ac_save_gcc_no_link="$gcc_no_link"
17097 if test x$gcc_no_link != xyes; then
17098 # Use -fno-exceptions to that the C driver can link these tests without
17099 # hitting undefined references to personality routines.
17100 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17102 $as_echo_n "checking for sin in -lm... " >&6; }
17103 if ${ac_cv_lib_m_sin+:} false; then :
17104 $as_echo_n "(cached) " >&6
17105 else
17106 ac_check_lib_save_LIBS=$LIBS
17107 LIBS="-lm $LIBS"
17108 if test x$gcc_no_link = xyes; then
17109 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17112 /* end confdefs.h. */
17114 /* Override any GCC internal prototype to avoid an error.
17115 Use char because int might match the return type of a GCC
17116 builtin and then its argument prototype would still apply. */
17117 #ifdef __cplusplus
17118 extern "C"
17119 #endif
17120 char sin ();
17122 main ()
17124 return sin ();
17126 return 0;
17128 _ACEOF
17129 if ac_fn_cxx_try_link "$LINENO"; then :
17130 ac_cv_lib_m_sin=yes
17131 else
17132 ac_cv_lib_m_sin=no
17134 rm -f core conftest.err conftest.$ac_objext \
17135 conftest$ac_exeext conftest.$ac_ext
17136 LIBS=$ac_check_lib_save_LIBS
17138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17139 $as_echo "$ac_cv_lib_m_sin" >&6; }
17140 if test "x$ac_cv_lib_m_sin" = xyes; then :
17141 LIBS="$LIBS -lm"
17142 else
17144 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17145 gcc_no_link=yes
17151 # Check for the existence of <math.h> functions used if C99 is enabled.
17152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
17153 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
17154 if ${glibcxx_cv_c99_math_cxx98+:} false; then :
17155 $as_echo_n "(cached) " >&6
17156 else
17158 if test x$gcc_no_link = xyes; then
17159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17160 /* end confdefs.h. */
17161 #include <math.h>
17162 volatile double d1, d2;
17163 volatile int i;
17165 main ()
17167 i = fpclassify(d1);
17168 i = isfinite(d1);
17169 i = isinf(d1);
17170 i = isnan(d1);
17171 i = isnormal(d1);
17172 i = signbit(d1);
17173 i = isgreater(d1, d2);
17174 i = isgreaterequal(d1, d2);
17175 i = isless(d1, d2);
17176 i = islessequal(d1, d2);
17177 i = islessgreater(d1, d2);
17178 i = islessgreater(d1, d2);
17179 i = isunordered(d1, d2);
17182 return 0;
17184 _ACEOF
17185 if ac_fn_cxx_try_compile "$LINENO"; then :
17186 glibcxx_cv_c99_math_cxx98=yes
17187 else
17188 glibcxx_cv_c99_math_cxx98=no
17190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17191 else
17192 if test x$gcc_no_link = xyes; then
17193 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17196 /* end confdefs.h. */
17197 #include <math.h>
17198 volatile double d1, d2;
17199 volatile int i;
17201 main ()
17203 i = fpclassify(d1);
17204 i = isfinite(d1);
17205 i = isinf(d1);
17206 i = isnan(d1);
17207 i = isnormal(d1);
17208 i = signbit(d1);
17209 i = isgreater(d1, d2);
17210 i = isgreaterequal(d1, d2);
17211 i = isless(d1, d2);
17212 i = islessequal(d1, d2);
17213 i = islessgreater(d1, d2);
17214 i = islessgreater(d1, d2);
17215 i = isunordered(d1, d2);
17218 return 0;
17220 _ACEOF
17221 if ac_fn_cxx_try_link "$LINENO"; then :
17222 glibcxx_cv_c99_math_cxx98=yes
17223 else
17224 glibcxx_cv_c99_math_cxx98=no
17226 rm -f core conftest.err conftest.$ac_objext \
17227 conftest$ac_exeext conftest.$ac_ext
17232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
17233 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
17234 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
17236 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
17240 # Check for the existence of <complex.h> complex math functions.
17241 # This is necessary even though libstdc++ uses the builtin versions
17242 # of these functions, because if the builtin cannot be used, a reference
17243 # to the library function is emitted.
17244 for ac_header in tgmath.h
17245 do :
17246 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17247 if test "x$ac_cv_header_tgmath_h" = xyes; then :
17248 cat >>confdefs.h <<_ACEOF
17249 #define HAVE_TGMATH_H 1
17250 _ACEOF
17251 ac_has_tgmath_h=yes
17252 else
17253 ac_has_tgmath_h=no
17256 done
17258 for ac_header in complex.h
17259 do :
17260 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17261 if test "x$ac_cv_header_complex_h" = xyes; then :
17262 cat >>confdefs.h <<_ACEOF
17263 #define HAVE_COMPLEX_H 1
17264 _ACEOF
17265 ac_has_complex_h=yes
17266 else
17267 ac_has_complex_h=no
17270 done
17272 if test x"$ac_has_complex_h" = x"yes"; then
17273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
17274 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
17275 if ${glibcxx_cv_c99_complex_cxx98+:} false; then :
17276 $as_echo_n "(cached) " >&6
17277 else
17279 if test x$gcc_no_link = xyes; then
17280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17281 /* end confdefs.h. */
17282 #include <complex.h>
17283 typedef __complex__ float float_type;
17284 typedef __complex__ double double_type;
17285 typedef __complex__ long double ld_type;
17286 volatile float_type tmpf;
17287 volatile double_type tmpd;
17288 volatile ld_type tmpld;
17289 volatile float f;
17290 volatile double d;
17291 volatile long double ld;
17293 main ()
17295 f = cabsf(tmpf);
17296 f = cargf(tmpf);
17297 tmpf = ccosf(tmpf);
17298 tmpf = ccoshf(tmpf);
17299 tmpf = cexpf(tmpf);
17300 tmpf = clogf(tmpf);
17301 tmpf = csinf(tmpf);
17302 tmpf = csinhf(tmpf);
17303 tmpf = csqrtf(tmpf);
17304 tmpf = ctanf(tmpf);
17305 tmpf = ctanhf(tmpf);
17306 tmpf = cpowf(tmpf, tmpf);
17307 tmpf = cprojf(tmpf);
17308 d = cabs(tmpd);
17309 d = carg(tmpd);
17310 tmpd = ccos(tmpd);
17311 tmpd = ccosh(tmpd);
17312 tmpd = cexp(tmpd);
17313 tmpd = clog(tmpd);
17314 tmpd = csin(tmpd);
17315 tmpd = csinh(tmpd);
17316 tmpd = csqrt(tmpd);
17317 tmpd = ctan(tmpd);
17318 tmpd = ctanh(tmpd);
17319 tmpd = cpow(tmpd, tmpd);
17320 tmpd = cproj(tmpd);
17321 ld = cabsl(tmpld);
17322 ld = cargl(tmpld);
17323 tmpld = ccosl(tmpld);
17324 tmpld = ccoshl(tmpld);
17325 tmpld = cexpl(tmpld);
17326 tmpld = clogl(tmpld);
17327 tmpld = csinl(tmpld);
17328 tmpld = csinhl(tmpld);
17329 tmpld = csqrtl(tmpld);
17330 tmpld = ctanl(tmpld);
17331 tmpld = ctanhl(tmpld);
17332 tmpld = cpowl(tmpld, tmpld);
17333 tmpld = cprojl(tmpld);
17336 return 0;
17338 _ACEOF
17339 if ac_fn_cxx_try_compile "$LINENO"; then :
17340 glibcxx_cv_c99_complex_cxx98=yes
17341 else
17342 glibcxx_cv_c99_complex_cxx98=no
17344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17345 else
17346 if test x$gcc_no_link = xyes; then
17347 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17350 /* end confdefs.h. */
17351 #include <complex.h>
17352 typedef __complex__ float float_type;
17353 typedef __complex__ double double_type;
17354 typedef __complex__ long double ld_type;
17355 volatile float_type tmpf;
17356 volatile double_type tmpd;
17357 volatile ld_type tmpld;
17358 volatile float f;
17359 volatile double d;
17360 volatile long double ld;
17362 main ()
17364 f = cabsf(tmpf);
17365 f = cargf(tmpf);
17366 tmpf = ccosf(tmpf);
17367 tmpf = ccoshf(tmpf);
17368 tmpf = cexpf(tmpf);
17369 tmpf = clogf(tmpf);
17370 tmpf = csinf(tmpf);
17371 tmpf = csinhf(tmpf);
17372 tmpf = csqrtf(tmpf);
17373 tmpf = ctanf(tmpf);
17374 tmpf = ctanhf(tmpf);
17375 tmpf = cpowf(tmpf, tmpf);
17376 tmpf = cprojf(tmpf);
17377 d = cabs(tmpd);
17378 d = carg(tmpd);
17379 tmpd = ccos(tmpd);
17380 tmpd = ccosh(tmpd);
17381 tmpd = cexp(tmpd);
17382 tmpd = clog(tmpd);
17383 tmpd = csin(tmpd);
17384 tmpd = csinh(tmpd);
17385 tmpd = csqrt(tmpd);
17386 tmpd = ctan(tmpd);
17387 tmpd = ctanh(tmpd);
17388 tmpd = cpow(tmpd, tmpd);
17389 tmpd = cproj(tmpd);
17390 ld = cabsl(tmpld);
17391 ld = cargl(tmpld);
17392 tmpld = ccosl(tmpld);
17393 tmpld = ccoshl(tmpld);
17394 tmpld = cexpl(tmpld);
17395 tmpld = clogl(tmpld);
17396 tmpld = csinl(tmpld);
17397 tmpld = csinhl(tmpld);
17398 tmpld = csqrtl(tmpld);
17399 tmpld = ctanl(tmpld);
17400 tmpld = ctanhl(tmpld);
17401 tmpld = cpowl(tmpld, tmpld);
17402 tmpld = cprojl(tmpld);
17405 return 0;
17407 _ACEOF
17408 if ac_fn_cxx_try_link "$LINENO"; then :
17409 glibcxx_cv_c99_complex_cxx98=yes
17410 else
17411 glibcxx_cv_c99_complex_cxx98=no
17413 rm -f core conftest.err conftest.$ac_objext \
17414 conftest$ac_exeext conftest.$ac_ext
17420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
17421 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
17422 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
17424 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
17428 # Check for the existence in <stdio.h> of vscanf, et. al.
17429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
17430 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
17431 if ${glibcxx_cv_c99_stdio_cxx98+:} false; then :
17432 $as_echo_n "(cached) " >&6
17433 else
17435 if test x$gcc_no_link = xyes; then
17436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17437 /* end confdefs.h. */
17438 #include <stdio.h>
17439 #include <stdarg.h>
17440 void foo(char* fmt, ...)
17442 va_list args; va_start(args, fmt);
17443 vfscanf(stderr, "%i", args);
17444 vscanf("%i", args);
17445 vsnprintf(fmt, 0, "%i", args);
17446 vsscanf(fmt, "%i", args);
17447 snprintf(fmt, 0, "%i");
17450 main ()
17454 return 0;
17456 _ACEOF
17457 if ac_fn_cxx_try_compile "$LINENO"; then :
17458 glibcxx_cv_c99_stdio_cxx98=yes
17459 else
17460 glibcxx_cv_c99_stdio_cxx98=no
17462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17463 else
17464 if test x$gcc_no_link = xyes; then
17465 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17468 /* end confdefs.h. */
17469 #include <stdio.h>
17470 #include <stdarg.h>
17471 void foo(char* fmt, ...)
17473 va_list args; va_start(args, fmt);
17474 vfscanf(stderr, "%i", args);
17475 vscanf("%i", args);
17476 vsnprintf(fmt, 0, "%i", args);
17477 vsscanf(fmt, "%i", args);
17478 snprintf(fmt, 0, "%i");
17481 main ()
17485 return 0;
17487 _ACEOF
17488 if ac_fn_cxx_try_link "$LINENO"; then :
17489 glibcxx_cv_c99_stdio_cxx98=yes
17490 else
17491 glibcxx_cv_c99_stdio_cxx98=no
17493 rm -f core conftest.err conftest.$ac_objext \
17494 conftest$ac_exeext conftest.$ac_ext
17499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
17500 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
17501 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
17503 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
17507 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
17509 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
17510 if ${glibcxx_cv_c99_stdlib_cxx98+:} false; then :
17511 $as_echo_n "(cached) " >&6
17512 else
17514 if test x$gcc_no_link = xyes; then
17515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17516 /* end confdefs.h. */
17517 #include <stdlib.h>
17518 volatile float f;
17519 volatile long double ld;
17520 volatile unsigned long long ll;
17521 lldiv_t mydivt;
17523 main ()
17525 char* tmp;
17526 f = strtof("gnu", &tmp);
17527 ld = strtold("gnu", &tmp);
17528 ll = strtoll("gnu", &tmp, 10);
17529 ll = strtoull("gnu", &tmp, 10);
17530 ll = llabs(10);
17531 mydivt = lldiv(10,1);
17532 ll = mydivt.quot;
17533 ll = mydivt.rem;
17534 ll = atoll("10");
17535 _Exit(0);
17538 return 0;
17540 _ACEOF
17541 if ac_fn_cxx_try_compile "$LINENO"; then :
17542 glibcxx_cv_c99_stdlib_cxx98=yes
17543 else
17544 glibcxx_cv_c99_stdlib_cxx98=no
17546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17547 else
17548 if test x$gcc_no_link = xyes; then
17549 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17552 /* end confdefs.h. */
17553 #include <stdlib.h>
17554 volatile float f;
17555 volatile long double ld;
17556 volatile unsigned long long ll;
17557 lldiv_t mydivt;
17559 main ()
17561 char* tmp;
17562 f = strtof("gnu", &tmp);
17563 ld = strtold("gnu", &tmp);
17564 ll = strtoll("gnu", &tmp, 10);
17565 ll = strtoull("gnu", &tmp, 10);
17566 ll = llabs(10);
17567 mydivt = lldiv(10,1);
17568 ll = mydivt.quot;
17569 ll = mydivt.rem;
17570 ll = atoll("10");
17571 _Exit(0);
17574 return 0;
17576 _ACEOF
17577 if ac_fn_cxx_try_link "$LINENO"; then :
17578 glibcxx_cv_c99_stdlib_cxx98=yes
17579 else
17580 glibcxx_cv_c99_stdlib_cxx98=no
17582 rm -f core conftest.err conftest.$ac_objext \
17583 conftest$ac_exeext conftest.$ac_ext
17588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17589 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17590 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17592 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17596 # Check for the existence in <wchar.h> of wcstold, etc.
17597 if test x"$ac_has_wchar_h" = xyes &&
17598 test x"$ac_has_wctype_h" = xyes; then
17599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17600 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17601 if ${glibcxx_cv_c99_wchar_cxx98+:} false; then :
17602 $as_echo_n "(cached) " >&6
17603 else
17605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17606 /* end confdefs.h. */
17607 #include <wchar.h>
17608 namespace test
17610 using ::wcstold;
17611 using ::wcstoll;
17612 using ::wcstoull;
17616 main ()
17620 return 0;
17622 _ACEOF
17623 if ac_fn_cxx_try_compile "$LINENO"; then :
17624 glibcxx_cv_c99_wchar_cxx98=yes
17625 else
17626 glibcxx_cv_c99_wchar_cxx98=no
17628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17633 # Checks for wide character functions that may not be present.
17634 # Injection of these is wrapped with guard macros.
17635 # NB: only put functions here, instead of immediately above, if
17636 # absolutely necessary.
17637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17638 /* end confdefs.h. */
17639 #include <wchar.h>
17640 namespace test { using ::vfwscanf; }
17642 main ()
17646 return 0;
17648 _ACEOF
17649 if ac_fn_cxx_try_compile "$LINENO"; then :
17651 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17657 /* end confdefs.h. */
17658 #include <wchar.h>
17659 namespace test { using ::vswscanf; }
17661 main ()
17665 return 0;
17667 _ACEOF
17668 if ac_fn_cxx_try_compile "$LINENO"; then :
17670 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17676 /* end confdefs.h. */
17677 #include <wchar.h>
17678 namespace test { using ::vwscanf; }
17680 main ()
17684 return 0;
17686 _ACEOF
17687 if ac_fn_cxx_try_compile "$LINENO"; then :
17689 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17695 /* end confdefs.h. */
17696 #include <wchar.h>
17697 namespace test { using ::wcstof; }
17699 main ()
17703 return 0;
17705 _ACEOF
17706 if ac_fn_cxx_try_compile "$LINENO"; then :
17708 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17714 /* end confdefs.h. */
17715 #include <wctype.h>
17717 main ()
17719 wint_t t; int i = iswblank(t);
17721 return 0;
17723 _ACEOF
17724 if ac_fn_cxx_try_compile "$LINENO"; then :
17726 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17732 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17733 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17735 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17740 # Option parsed, now set things appropriately.
17741 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17742 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17743 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17744 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17745 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17746 enable_c99=no;
17747 else
17749 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17753 gcc_no_link="$ac_save_gcc_no_link"
17754 LIBS="$ac_save_LIBS"
17755 CXXFLAGS="$ac_save_CXXFLAGS"
17756 ac_ext=c
17757 ac_cpp='$CPP $CPPFLAGS'
17758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17764 ac_ext=cpp
17765 ac_cpp='$CXXCPP $CPPFLAGS'
17766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17771 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17772 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17773 ac_save_CXXFLAGS="$CXXFLAGS"
17774 CXXFLAGS="$CXXFLAGS -std=c++11"
17775 ac_save_LIBS="$LIBS"
17776 ac_save_gcc_no_link="$gcc_no_link"
17778 if test x$gcc_no_link != xyes; then
17779 # Use -fno-exceptions to that the C driver can link these tests without
17780 # hitting undefined references to personality routines.
17781 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17783 $as_echo_n "checking for sin in -lm... " >&6; }
17784 if ${ac_cv_lib_m_sin+:} false; then :
17785 $as_echo_n "(cached) " >&6
17786 else
17787 ac_check_lib_save_LIBS=$LIBS
17788 LIBS="-lm $LIBS"
17789 if test x$gcc_no_link = xyes; then
17790 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17793 /* end confdefs.h. */
17795 /* Override any GCC internal prototype to avoid an error.
17796 Use char because int might match the return type of a GCC
17797 builtin and then its argument prototype would still apply. */
17798 #ifdef __cplusplus
17799 extern "C"
17800 #endif
17801 char sin ();
17803 main ()
17805 return sin ();
17807 return 0;
17809 _ACEOF
17810 if ac_fn_cxx_try_link "$LINENO"; then :
17811 ac_cv_lib_m_sin=yes
17812 else
17813 ac_cv_lib_m_sin=no
17815 rm -f core conftest.err conftest.$ac_objext \
17816 conftest$ac_exeext conftest.$ac_ext
17817 LIBS=$ac_check_lib_save_LIBS
17819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17820 $as_echo "$ac_cv_lib_m_sin" >&6; }
17821 if test "x$ac_cv_lib_m_sin" = xyes; then :
17822 LIBS="$LIBS -lm"
17823 else
17825 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17826 gcc_no_link=yes
17832 # Check for the existence of <math.h> functions used if C99 is enabled.
17833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17834 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17835 if ${glibcxx_cv_c99_math_cxx11+:} false; then :
17836 $as_echo_n "(cached) " >&6
17837 else
17839 if test x$gcc_no_link = xyes; then
17840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17841 /* end confdefs.h. */
17842 #include <math.h>
17843 volatile double d1, d2;
17844 volatile int i;
17846 main ()
17848 i = fpclassify(d1);
17849 i = isfinite(d1);
17850 i = isinf(d1);
17851 i = isnan(d1);
17852 i = isnormal(d1);
17853 i = signbit(d1);
17854 i = isgreater(d1, d2);
17855 i = isgreaterequal(d1, d2);
17856 i = isless(d1, d2);
17857 i = islessequal(d1, d2);
17858 i = islessgreater(d1, d2);
17859 i = islessgreater(d1, d2);
17860 i = isunordered(d1, d2);
17863 return 0;
17865 _ACEOF
17866 if ac_fn_cxx_try_compile "$LINENO"; then :
17867 glibcxx_cv_c99_math_cxx11=yes
17868 else
17869 glibcxx_cv_c99_math_cxx11=no
17871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17872 else
17873 if test x$gcc_no_link = xyes; then
17874 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17877 /* end confdefs.h. */
17878 #include <math.h>
17879 volatile double d1, d2;
17880 volatile int i;
17882 main ()
17884 i = fpclassify(d1);
17885 i = isfinite(d1);
17886 i = isinf(d1);
17887 i = isnan(d1);
17888 i = isnormal(d1);
17889 i = signbit(d1);
17890 i = isgreater(d1, d2);
17891 i = isgreaterequal(d1, d2);
17892 i = isless(d1, d2);
17893 i = islessequal(d1, d2);
17894 i = islessgreater(d1, d2);
17895 i = islessgreater(d1, d2);
17896 i = isunordered(d1, d2);
17899 return 0;
17901 _ACEOF
17902 if ac_fn_cxx_try_link "$LINENO"; then :
17903 glibcxx_cv_c99_math_cxx11=yes
17904 else
17905 glibcxx_cv_c99_math_cxx11=no
17907 rm -f core conftest.err conftest.$ac_objext \
17908 conftest$ac_exeext conftest.$ac_ext
17913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
17914 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
17915 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
17917 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
17921 # Check for the existence of <complex.h> complex math functions.
17922 # This is necessary even though libstdc++ uses the builtin versions
17923 # of these functions, because if the builtin cannot be used, a reference
17924 # to the library function is emitted.
17925 for ac_header in tgmath.h
17926 do :
17927 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17928 if test "x$ac_cv_header_tgmath_h" = xyes; then :
17929 cat >>confdefs.h <<_ACEOF
17930 #define HAVE_TGMATH_H 1
17931 _ACEOF
17932 ac_has_tgmath_h=yes
17933 else
17934 ac_has_tgmath_h=no
17937 done
17939 for ac_header in complex.h
17940 do :
17941 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17942 if test "x$ac_cv_header_complex_h" = xyes; then :
17943 cat >>confdefs.h <<_ACEOF
17944 #define HAVE_COMPLEX_H 1
17945 _ACEOF
17946 ac_has_complex_h=yes
17947 else
17948 ac_has_complex_h=no
17951 done
17953 if test x"$ac_has_complex_h" = x"yes"; then
17954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
17955 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
17956 if ${glibcxx_cv_c99_complex_cxx11+:} false; then :
17957 $as_echo_n "(cached) " >&6
17958 else
17960 if test x$gcc_no_link = xyes; then
17961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17962 /* end confdefs.h. */
17963 #include <complex.h>
17964 typedef __complex__ float float_type;
17965 typedef __complex__ double double_type;
17966 typedef __complex__ long double ld_type;
17967 volatile float_type tmpf;
17968 volatile double_type tmpd;
17969 volatile ld_type tmpld;
17970 volatile float f;
17971 volatile double d;
17972 volatile long double ld;
17974 main ()
17976 f = cabsf(tmpf);
17977 f = cargf(tmpf);
17978 tmpf = ccosf(tmpf);
17979 tmpf = ccoshf(tmpf);
17980 tmpf = cexpf(tmpf);
17981 tmpf = clogf(tmpf);
17982 tmpf = csinf(tmpf);
17983 tmpf = csinhf(tmpf);
17984 tmpf = csqrtf(tmpf);
17985 tmpf = ctanf(tmpf);
17986 tmpf = ctanhf(tmpf);
17987 tmpf = cpowf(tmpf, tmpf);
17988 tmpf = cprojf(tmpf);
17989 d = cabs(tmpd);
17990 d = carg(tmpd);
17991 tmpd = ccos(tmpd);
17992 tmpd = ccosh(tmpd);
17993 tmpd = cexp(tmpd);
17994 tmpd = clog(tmpd);
17995 tmpd = csin(tmpd);
17996 tmpd = csinh(tmpd);
17997 tmpd = csqrt(tmpd);
17998 tmpd = ctan(tmpd);
17999 tmpd = ctanh(tmpd);
18000 tmpd = cpow(tmpd, tmpd);
18001 tmpd = cproj(tmpd);
18002 ld = cabsl(tmpld);
18003 ld = cargl(tmpld);
18004 tmpld = ccosl(tmpld);
18005 tmpld = ccoshl(tmpld);
18006 tmpld = cexpl(tmpld);
18007 tmpld = clogl(tmpld);
18008 tmpld = csinl(tmpld);
18009 tmpld = csinhl(tmpld);
18010 tmpld = csqrtl(tmpld);
18011 tmpld = ctanl(tmpld);
18012 tmpld = ctanhl(tmpld);
18013 tmpld = cpowl(tmpld, tmpld);
18014 tmpld = cprojl(tmpld);
18017 return 0;
18019 _ACEOF
18020 if ac_fn_cxx_try_compile "$LINENO"; then :
18021 glibcxx_cv_c99_complex_cxx11=yes
18022 else
18023 glibcxx_cv_c99_complex_cxx11=no
18025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18026 else
18027 if test x$gcc_no_link = xyes; then
18028 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18031 /* end confdefs.h. */
18032 #include <complex.h>
18033 typedef __complex__ float float_type;
18034 typedef __complex__ double double_type;
18035 typedef __complex__ long double ld_type;
18036 volatile float_type tmpf;
18037 volatile double_type tmpd;
18038 volatile ld_type tmpld;
18039 volatile float f;
18040 volatile double d;
18041 volatile long double ld;
18043 main ()
18045 f = cabsf(tmpf);
18046 f = cargf(tmpf);
18047 tmpf = ccosf(tmpf);
18048 tmpf = ccoshf(tmpf);
18049 tmpf = cexpf(tmpf);
18050 tmpf = clogf(tmpf);
18051 tmpf = csinf(tmpf);
18052 tmpf = csinhf(tmpf);
18053 tmpf = csqrtf(tmpf);
18054 tmpf = ctanf(tmpf);
18055 tmpf = ctanhf(tmpf);
18056 tmpf = cpowf(tmpf, tmpf);
18057 tmpf = cprojf(tmpf);
18058 d = cabs(tmpd);
18059 d = carg(tmpd);
18060 tmpd = ccos(tmpd);
18061 tmpd = ccosh(tmpd);
18062 tmpd = cexp(tmpd);
18063 tmpd = clog(tmpd);
18064 tmpd = csin(tmpd);
18065 tmpd = csinh(tmpd);
18066 tmpd = csqrt(tmpd);
18067 tmpd = ctan(tmpd);
18068 tmpd = ctanh(tmpd);
18069 tmpd = cpow(tmpd, tmpd);
18070 tmpd = cproj(tmpd);
18071 ld = cabsl(tmpld);
18072 ld = cargl(tmpld);
18073 tmpld = ccosl(tmpld);
18074 tmpld = ccoshl(tmpld);
18075 tmpld = cexpl(tmpld);
18076 tmpld = clogl(tmpld);
18077 tmpld = csinl(tmpld);
18078 tmpld = csinhl(tmpld);
18079 tmpld = csqrtl(tmpld);
18080 tmpld = ctanl(tmpld);
18081 tmpld = ctanhl(tmpld);
18082 tmpld = cpowl(tmpld, tmpld);
18083 tmpld = cprojl(tmpld);
18086 return 0;
18088 _ACEOF
18089 if ac_fn_cxx_try_link "$LINENO"; then :
18090 glibcxx_cv_c99_complex_cxx11=yes
18091 else
18092 glibcxx_cv_c99_complex_cxx11=no
18094 rm -f core conftest.err conftest.$ac_objext \
18095 conftest$ac_exeext conftest.$ac_ext
18101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
18102 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
18103 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
18105 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
18109 # Check for the existence in <stdio.h> of vscanf, et. al.
18110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
18111 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
18112 if ${glibcxx_cv_c99_stdio_cxx11+:} false; then :
18113 $as_echo_n "(cached) " >&6
18114 else
18116 if test x$gcc_no_link = xyes; then
18117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18118 /* end confdefs.h. */
18119 #include <stdio.h>
18120 #include <stdarg.h>
18121 void foo(char* fmt, ...)
18123 va_list args; va_start(args, fmt);
18124 vfscanf(stderr, "%i", args);
18125 vscanf("%i", args);
18126 vsnprintf(fmt, 0, "%i", args);
18127 vsscanf(fmt, "%i", args);
18128 snprintf(fmt, 0, "%i");
18131 main ()
18135 return 0;
18137 _ACEOF
18138 if ac_fn_cxx_try_compile "$LINENO"; then :
18139 glibcxx_cv_c99_stdio_cxx11=yes
18140 else
18141 glibcxx_cv_c99_stdio_cxx11=no
18143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18144 else
18145 if test x$gcc_no_link = xyes; then
18146 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18149 /* end confdefs.h. */
18150 #include <stdio.h>
18151 #include <stdarg.h>
18152 void foo(char* fmt, ...)
18154 va_list args; va_start(args, fmt);
18155 vfscanf(stderr, "%i", args);
18156 vscanf("%i", args);
18157 vsnprintf(fmt, 0, "%i", args);
18158 vsscanf(fmt, "%i", args);
18159 snprintf(fmt, 0, "%i");
18162 main ()
18166 return 0;
18168 _ACEOF
18169 if ac_fn_cxx_try_link "$LINENO"; then :
18170 glibcxx_cv_c99_stdio_cxx11=yes
18171 else
18172 glibcxx_cv_c99_stdio_cxx11=no
18174 rm -f core conftest.err conftest.$ac_objext \
18175 conftest$ac_exeext conftest.$ac_ext
18180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
18181 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
18182 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
18184 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
18188 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
18189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
18190 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
18191 if ${glibcxx_cv_c99_stdlib_cxx11+:} false; then :
18192 $as_echo_n "(cached) " >&6
18193 else
18195 if test x$gcc_no_link = xyes; then
18196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18197 /* end confdefs.h. */
18198 #include <stdlib.h>
18199 volatile float f;
18200 volatile long double ld;
18201 volatile unsigned long long ll;
18202 lldiv_t mydivt;
18204 main ()
18206 char* tmp;
18207 f = strtof("gnu", &tmp);
18208 ld = strtold("gnu", &tmp);
18209 ll = strtoll("gnu", &tmp, 10);
18210 ll = strtoull("gnu", &tmp, 10);
18211 ll = llabs(10);
18212 mydivt = lldiv(10,1);
18213 ll = mydivt.quot;
18214 ll = mydivt.rem;
18215 ll = atoll("10");
18216 _Exit(0);
18219 return 0;
18221 _ACEOF
18222 if ac_fn_cxx_try_compile "$LINENO"; then :
18223 glibcxx_cv_c99_stdlib_cxx11=yes
18224 else
18225 glibcxx_cv_c99_stdlib_cxx11=no
18227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18228 else
18229 if test x$gcc_no_link = xyes; then
18230 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18233 /* end confdefs.h. */
18234 #include <stdlib.h>
18235 volatile float f;
18236 volatile long double ld;
18237 volatile unsigned long long ll;
18238 lldiv_t mydivt;
18240 main ()
18242 char* tmp;
18243 f = strtof("gnu", &tmp);
18244 ld = strtold("gnu", &tmp);
18245 ll = strtoll("gnu", &tmp, 10);
18246 ll = strtoull("gnu", &tmp, 10);
18247 ll = llabs(10);
18248 mydivt = lldiv(10,1);
18249 ll = mydivt.quot;
18250 ll = mydivt.rem;
18251 ll = atoll("10");
18252 _Exit(0);
18255 return 0;
18257 _ACEOF
18258 if ac_fn_cxx_try_link "$LINENO"; then :
18259 glibcxx_cv_c99_stdlib_cxx11=yes
18260 else
18261 glibcxx_cv_c99_stdlib_cxx11=no
18263 rm -f core conftest.err conftest.$ac_objext \
18264 conftest$ac_exeext conftest.$ac_ext
18269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
18270 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
18271 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
18273 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
18277 # Check for the existence in <wchar.h> of wcstold, etc.
18278 if test x"$ac_has_wchar_h" = xyes &&
18279 test x"$ac_has_wctype_h" = xyes; then
18280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
18281 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
18282 if ${glibcxx_cv_c99_wchar_cxx11+:} false; then :
18283 $as_echo_n "(cached) " >&6
18284 else
18286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18287 /* end confdefs.h. */
18288 #include <wchar.h>
18289 namespace test
18291 using ::wcstold;
18292 using ::wcstoll;
18293 using ::wcstoull;
18297 main ()
18301 return 0;
18303 _ACEOF
18304 if ac_fn_cxx_try_compile "$LINENO"; then :
18305 glibcxx_cv_c99_wchar_cxx11=yes
18306 else
18307 glibcxx_cv_c99_wchar_cxx11=no
18309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18314 # Checks for wide character functions that may not be present.
18315 # Injection of these is wrapped with guard macros.
18316 # NB: only put functions here, instead of immediately above, if
18317 # absolutely necessary.
18318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18319 /* end confdefs.h. */
18320 #include <wchar.h>
18321 namespace test { using ::vfwscanf; }
18323 main ()
18327 return 0;
18329 _ACEOF
18330 if ac_fn_cxx_try_compile "$LINENO"; then :
18332 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
18335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18338 /* end confdefs.h. */
18339 #include <wchar.h>
18340 namespace test { using ::vswscanf; }
18342 main ()
18346 return 0;
18348 _ACEOF
18349 if ac_fn_cxx_try_compile "$LINENO"; then :
18351 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
18354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18357 /* end confdefs.h. */
18358 #include <wchar.h>
18359 namespace test { using ::vwscanf; }
18361 main ()
18365 return 0;
18367 _ACEOF
18368 if ac_fn_cxx_try_compile "$LINENO"; then :
18370 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
18373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18376 /* end confdefs.h. */
18377 #include <wchar.h>
18378 namespace test { using ::wcstof; }
18380 main ()
18384 return 0;
18386 _ACEOF
18387 if ac_fn_cxx_try_compile "$LINENO"; then :
18389 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
18392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18395 /* end confdefs.h. */
18396 #include <wctype.h>
18398 main ()
18400 wint_t t; int i = iswblank(t);
18402 return 0;
18404 _ACEOF
18405 if ac_fn_cxx_try_compile "$LINENO"; then :
18407 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
18410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
18413 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
18414 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
18416 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
18421 gcc_no_link="$ac_save_gcc_no_link"
18422 LIBS="$ac_save_LIBS"
18423 CXXFLAGS="$ac_save_CXXFLAGS"
18424 ac_ext=c
18425 ac_cpp='$CPP $CPPFLAGS'
18426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
18433 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
18434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
18435 $as_echo "$enable_c99" >&6; }
18438 # Check whether --enable-concept-checks was given.
18439 if test "${enable_concept_checks+set}" = set; then :
18440 enableval=$enable_concept_checks;
18441 case "$enableval" in
18442 yes|no) ;;
18443 *) as_fn_error $? "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
18444 esac
18446 else
18447 enable_concept_checks=no
18451 if test $enable_concept_checks = yes; then
18453 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
18458 # Check whether --enable-libstdcxx-debug-flags was given.
18459 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
18460 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
18461 xno | x) enable_libstdcxx_debug_flags= ;;
18462 x-*) ;;
18463 *) as_fn_error $? "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18464 esac
18465 else
18466 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"
18471 # Option parsed, now set things appropriately
18472 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
18475 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
18476 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
18479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
18480 $as_echo_n "checking for additional debug build... " >&6; }
18481 skip_debug_build=
18482 # Check whether --enable-libstdcxx-debug was given.
18483 if test "${enable_libstdcxx_debug+set}" = set; then :
18484 enableval=$enable_libstdcxx_debug;
18485 case "$enableval" in
18486 yes|no) ;;
18487 *) as_fn_error $? "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
18488 esac
18490 else
18491 enable_libstdcxx_debug=no
18495 if test x$enable_libstdcxx_debug = xyes; then
18496 if test -f $toplevel_builddir/../stage_final \
18497 && test -f $toplevel_builddir/../stage_current; then
18498 stage_final=`cat $toplevel_builddir/../stage_final`
18499 stage_current=`cat $toplevel_builddir/../stage_current`
18500 if test x$stage_current != x$stage_final ; then
18501 skip_debug_build=" (skipped for bootstrap stage $stage_current)"
18502 enable_libstdcxx_debug=no
18506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug$skip_debug_build" >&5
18507 $as_echo "$enable_libstdcxx_debug$skip_debug_build" >&6; }
18512 enable_parallel=no;
18514 # See if configured libgomp/omp.h exists. (libgomp may be in
18515 # noconfigdirs but not explicitly disabled.)
18516 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
18517 enable_parallel=yes;
18518 else
18519 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
18520 $as_echo "$as_me: target-libgomp not built" >&6;}
18523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
18524 $as_echo_n "checking for parallel mode support... " >&6; }
18525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
18526 $as_echo "$enable_parallel" >&6; }
18528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
18529 $as_echo_n "checking for extra compiler flags for building... " >&6; }
18530 # Check whether --enable-cxx-flags was given.
18531 if test "${enable_cxx_flags+set}" = set; then :
18532 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
18533 xno | x) enable_cxx_flags= ;;
18534 x-*) ;;
18535 *) as_fn_error $? "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18536 esac
18537 else
18538 enable_cxx_flags=
18543 # Run through flags (either default or command-line) and set anything
18544 # extra (e.g., #defines) that must accompany particular g++ options.
18545 if test -n "$enable_cxx_flags"; then
18546 for f in $enable_cxx_flags; do
18547 case "$f" in
18548 -fhonor-std) ;;
18549 -*) ;;
18550 *) # and we're trying to pass /what/ exactly?
18551 as_fn_error $? "compiler flags start with a -" "$LINENO" 5 ;;
18552 esac
18553 done
18556 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18558 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18562 # Check whether --enable-fully-dynamic-string was given.
18563 if test "${enable_fully_dynamic_string+set}" = set; then :
18564 enableval=$enable_fully_dynamic_string;
18565 case "$enableval" in
18566 yes|no) ;;
18567 *) as_fn_error $? "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
18568 esac
18570 else
18571 enable_fully_dynamic_string=no
18575 if test $enable_fully_dynamic_string = yes; then
18576 enable_fully_dynamic_string_def=1
18577 else
18578 enable_fully_dynamic_string_def=0
18581 cat >>confdefs.h <<_ACEOF
18582 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18583 _ACEOF
18588 # Check whether --enable-extern-template was given.
18589 if test "${enable_extern_template+set}" = set; then :
18590 enableval=$enable_extern_template;
18591 case "$enableval" in
18592 yes|no) ;;
18593 *) as_fn_error $? "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18594 esac
18596 else
18597 enable_extern_template=yes
18602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18603 $as_echo_n "checking for extern template support... " >&6; }
18604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18605 $as_echo "$enable_extern_template" >&6; }
18611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18612 $as_echo_n "checking for custom python install directory... " >&6; }
18614 # Check whether --with-python-dir was given.
18615 if test "${with_python_dir+set}" = set; then :
18616 withval=$with_python_dir; with_python_dir=$withval
18617 else
18618 with_python_dir="no"
18621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18622 $as_echo "${with_python_dir}" >&6; }
18624 # Needed for installing Python modules during make install.
18625 python_mod_dir="${with_python_dir}"
18630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18631 $as_echo_n "checking for -Werror... " >&6; }
18632 # Check whether --enable-werror was given.
18633 if test "${enable_werror+set}" = set; then :
18634 enableval=$enable_werror;
18635 case "$enableval" in
18636 yes|no) ;;
18637 *) as_fn_error $? "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18638 esac
18640 else
18641 enable_werror=no
18645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18646 $as_echo "$enable_werror" >&6; }
18651 # Check whether --enable-vtable-verify was given.
18652 if test "${enable_vtable_verify+set}" = set; then :
18653 enableval=$enable_vtable_verify;
18654 case "$enableval" in
18655 yes|no) ;;
18656 *) as_fn_error $? "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18657 esac
18659 else
18660 enable_vtable_verify=no
18665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18666 $as_echo_n "checking for vtable verify support... " >&6; }
18667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18668 $as_echo "$enable_vtable_verify" >&6; }
18670 vtv_cygmin=no
18671 if test $enable_vtable_verify = yes; then
18672 case ${target_os} in
18673 cygwin*|mingw32*)
18674 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18675 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18676 vtv_cygmin=yes
18678 darwin*)
18679 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18680 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18682 solaris2*)
18683 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18684 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18687 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18688 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18690 esac
18691 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18692 else
18693 VTV_CXXFLAGS=
18694 VTV_PCH_CXXFLAGS=
18695 VTV_CXXLINKFLAGS=
18701 if test x$vtv_cygmin = xyes; then
18702 VTV_CYGMIN_TRUE=
18703 VTV_CYGMIN_FALSE='#'
18704 else
18705 VTV_CYGMIN_TRUE='#'
18706 VTV_CYGMIN_FALSE=
18712 # Checks for operating systems support that doesn't require linking.
18716 ac_ext=cpp
18717 ac_cpp='$CXXCPP $CPPFLAGS'
18718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18722 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18723 # and we don't need a declaration for C++14 anyway.
18724 ac_save_CXXFLAGS="$CXXFLAGS"
18725 CXXFLAGS="$CXXFLAGS -std=gnu++11"
18727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18728 $as_echo_n "checking for gets declaration... " >&6; }
18729 if ${glibcxx_cv_gets+:} false; then :
18730 $as_echo_n "(cached) " >&6
18731 else
18733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18734 /* end confdefs.h. */
18735 #include <stdio.h>
18736 namespace test
18738 using ::gets;
18741 _ACEOF
18742 if ac_fn_cxx_try_compile "$LINENO"; then :
18743 glibcxx_cv_gets=yes
18744 else
18745 glibcxx_cv_gets=no
18748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18752 if test $glibcxx_cv_gets = yes; then
18754 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18758 $as_echo "$glibcxx_cv_gets" >&6; }
18760 CXXFLAGS="$ac_save_CXXFLAGS"
18761 ac_ext=c
18762 ac_cpp='$CPP $CPPFLAGS'
18763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18771 ac_ext=cpp
18772 ac_cpp='$CXXCPP $CPPFLAGS'
18773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18777 ac_save_CXXFLAGS="$CXXFLAGS"
18778 CXXFLAGS="$CXXFLAGS -std=c++11"
18780 case "$host" in
18781 *-*-solaris2.*)
18782 # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18783 # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18785 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18786 if ${glibcxx_cv_math11_fp_overload+:} false; then :
18787 $as_echo_n "(cached) " >&6
18788 else
18790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18791 /* end confdefs.h. */
18792 #include <math.h>
18793 #undef isfinite
18794 namespace std {
18795 inline bool isfinite(float __x)
18796 { return __builtin_isfinite(__x); }
18799 _ACEOF
18800 if ac_fn_cxx_try_compile "$LINENO"; then :
18801 glibcxx_cv_math11_fp_overload=no
18802 else
18803 glibcxx_cv_math11_fp_overload=yes
18806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18810 # autoheader cannot handle indented templates.
18813 if test $glibcxx_cv_math11_fp_overload = yes; then
18814 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
18817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
18818 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
18820 # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
18821 # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
18822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
18823 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
18824 if ${glibcxx_cv_math11_int_overload+:} false; then :
18825 $as_echo_n "(cached) " >&6
18826 else
18828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18829 /* end confdefs.h. */
18830 #include <math.h>
18831 namespace std {
18832 template<typename _Tp>
18833 struct __is_integer;
18834 template<>
18835 struct __is_integer<int>
18837 enum { __value = 1 };
18840 namespace __gnu_cxx {
18841 template<bool, typename>
18842 struct __enable_if;
18843 template<typename _Tp>
18844 struct __enable_if<true, _Tp>
18845 { typedef _Tp __type; };
18847 namespace std {
18848 template<typename _Tp>
18849 constexpr typename __gnu_cxx::__enable_if
18850 <__is_integer<_Tp>::__value, double>::__type
18851 log2(_Tp __x)
18852 { return __builtin_log2(__x); }
18855 main (void)
18857 int i = 1000;
18858 return std::log2(i);
18861 _ACEOF
18862 if ac_fn_cxx_try_compile "$LINENO"; then :
18863 glibcxx_cv_math11_int_overload=no
18864 else
18865 glibcxx_cv_math11_int_overload=yes
18868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18872 # autoheader cannot handle indented templates.
18875 if test $glibcxx_cv_math11_int_overload = yes; then
18876 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
18879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
18880 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
18883 # If <math.h> defines the obsolete isinf(double) and isnan(double)
18884 # functions (instead of or as well as the C99 generic macros) then we
18885 # can't define std::isinf(double) and std::isnan(double) in <cmath>
18886 # and must use the ones from <math.h> instead.
18887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
18888 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
18889 if ${glibcxx_cv_obsolete_isinf+:} false; then :
18890 $as_echo_n "(cached) " >&6
18891 else
18893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18894 /* end confdefs.h. */
18895 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18896 #include <math.h>
18897 #undef isinf
18898 namespace std {
18899 using ::isinf;
18900 bool isinf(float);
18901 bool isinf(long double);
18903 using std::isinf;
18904 bool b = isinf(0.0);
18906 _ACEOF
18907 if ac_fn_cxx_try_compile "$LINENO"; then :
18908 glibcxx_cv_obsolete_isinf=yes
18909 else
18910 glibcxx_cv_obsolete_isinf=no
18913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
18917 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
18918 if test $glibcxx_cv_obsolete_isinf = yes; then
18920 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
18924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
18925 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
18926 if ${glibcxx_cv_obsolete_isnan+:} false; then :
18927 $as_echo_n "(cached) " >&6
18928 else
18930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18931 /* end confdefs.h. */
18932 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18933 #include <math.h>
18934 #undef isnan
18935 namespace std {
18936 using ::isnan;
18937 bool isnan(float);
18938 bool isnan(long double);
18940 using std::isnan;
18941 bool b = isnan(0.0);
18943 _ACEOF
18944 if ac_fn_cxx_try_compile "$LINENO"; then :
18945 glibcxx_cv_obsolete_isnan=yes
18946 else
18947 glibcxx_cv_obsolete_isnan=no
18950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
18954 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
18955 if test $glibcxx_cv_obsolete_isnan = yes; then
18957 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
18961 esac
18963 CXXFLAGS="$ac_save_CXXFLAGS"
18964 ac_ext=c
18965 ac_cpp='$CPP $CPPFLAGS'
18966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
18974 $as_echo_n "checking for EOWNERDEAD... " >&6; }
18975 if ${glibcxx_cv_system_error1+:} false; then :
18976 $as_echo_n "(cached) " >&6
18977 else
18979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18980 /* end confdefs.h. */
18981 #include <errno.h>
18983 main ()
18985 int i = EOWNERDEAD;
18987 return 0;
18989 _ACEOF
18990 if ac_fn_c_try_compile "$LINENO"; then :
18991 glibcxx_cv_system_error1=yes
18992 else
18993 glibcxx_cv_system_error1=no
18995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
19000 $as_echo "$glibcxx_cv_system_error1" >&6; }
19001 if test x"$glibcxx_cv_system_error1" = x"yes"; then
19003 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
19006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
19007 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
19008 if ${glibcxx_cv_system_error2+:} false; then :
19009 $as_echo_n "(cached) " >&6
19010 else
19012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19013 /* end confdefs.h. */
19014 #include <errno.h>
19016 main ()
19018 int i = ENOTRECOVERABLE;
19020 return 0;
19022 _ACEOF
19023 if ac_fn_c_try_compile "$LINENO"; then :
19024 glibcxx_cv_system_error2=yes
19025 else
19026 glibcxx_cv_system_error2=no
19028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
19033 $as_echo "$glibcxx_cv_system_error2" >&6; }
19034 if test x"$glibcxx_cv_system_error2" = x"yes"; then
19036 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
19039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
19040 $as_echo_n "checking for ENOLINK... " >&6; }
19041 if ${glibcxx_cv_system_error3+:} false; then :
19042 $as_echo_n "(cached) " >&6
19043 else
19045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19046 /* end confdefs.h. */
19047 #include <errno.h>
19049 main ()
19051 int i = ENOLINK;
19053 return 0;
19055 _ACEOF
19056 if ac_fn_c_try_compile "$LINENO"; then :
19057 glibcxx_cv_system_error3=yes
19058 else
19059 glibcxx_cv_system_error3=no
19061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
19066 $as_echo "$glibcxx_cv_system_error3" >&6; }
19067 if test x"$glibcxx_cv_system_error3" = x"yes"; then
19069 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
19072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
19073 $as_echo_n "checking for EPROTO... " >&6; }
19074 if ${glibcxx_cv_system_error4+:} false; then :
19075 $as_echo_n "(cached) " >&6
19076 else
19078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19079 /* end confdefs.h. */
19080 #include <errno.h>
19082 main ()
19084 int i = EPROTO;
19086 return 0;
19088 _ACEOF
19089 if ac_fn_c_try_compile "$LINENO"; then :
19090 glibcxx_cv_system_error4=yes
19091 else
19092 glibcxx_cv_system_error4=no
19094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
19099 $as_echo "$glibcxx_cv_system_error4" >&6; }
19100 if test x"$glibcxx_cv_system_error4" = x"yes"; then
19102 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
19105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
19106 $as_echo_n "checking for ENODATA... " >&6; }
19107 if ${glibcxx_cv_system_error5+:} false; then :
19108 $as_echo_n "(cached) " >&6
19109 else
19111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19112 /* end confdefs.h. */
19113 #include <errno.h>
19115 main ()
19117 int i = ENODATA;
19119 return 0;
19121 _ACEOF
19122 if ac_fn_c_try_compile "$LINENO"; then :
19123 glibcxx_cv_system_error5=yes
19124 else
19125 glibcxx_cv_system_error5=no
19127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
19132 $as_echo "$glibcxx_cv_system_error5" >&6; }
19133 if test x"$glibcxx_cv_system_error5" = x"yes"; then
19135 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
19138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
19139 $as_echo_n "checking for ENOSR... " >&6; }
19140 if ${glibcxx_cv_system_error6+:} false; then :
19141 $as_echo_n "(cached) " >&6
19142 else
19144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19145 /* end confdefs.h. */
19146 #include <errno.h>
19148 main ()
19150 int i = ENOSR;
19152 return 0;
19154 _ACEOF
19155 if ac_fn_c_try_compile "$LINENO"; then :
19156 glibcxx_cv_system_error6=yes
19157 else
19158 glibcxx_cv_system_error6=no
19160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
19165 $as_echo "$glibcxx_cv_system_error6" >&6; }
19166 if test x"$glibcxx_cv_system_error6" = x"yes"; then
19168 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
19171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
19172 $as_echo_n "checking for ENOSTR... " >&6; }
19173 if ${glibcxx_cv_system_error7+:} false; then :
19174 $as_echo_n "(cached) " >&6
19175 else
19177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19178 /* end confdefs.h. */
19179 #include <errno.h>
19181 main ()
19183 int i = ENOSTR;
19185 return 0;
19187 _ACEOF
19188 if ac_fn_c_try_compile "$LINENO"; then :
19189 glibcxx_cv_system_error7=yes
19190 else
19191 glibcxx_cv_system_error7=no
19193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
19198 $as_echo "$glibcxx_cv_system_error7" >&6; }
19199 if test x"$glibcxx_cv_system_error7" = x"yes"; then
19201 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
19204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
19205 $as_echo_n "checking for ETIME... " >&6; }
19206 if ${glibcxx_cv_system_error8+:} false; then :
19207 $as_echo_n "(cached) " >&6
19208 else
19210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19211 /* end confdefs.h. */
19212 #include <errno.h>
19214 main ()
19216 int i = ETIME;
19218 return 0;
19220 _ACEOF
19221 if ac_fn_c_try_compile "$LINENO"; then :
19222 glibcxx_cv_system_error8=yes
19223 else
19224 glibcxx_cv_system_error8=no
19226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
19231 $as_echo "$glibcxx_cv_system_error8" >&6; }
19232 if test x"$glibcxx_cv_system_error8" = x"yes"; then
19234 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
19237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
19238 $as_echo_n "checking for EBADMSG... " >&6; }
19239 if ${glibcxx_cv_system_error9+:} false; then :
19240 $as_echo_n "(cached) " >&6
19241 else
19243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19244 /* end confdefs.h. */
19245 #include <errno.h>
19247 main ()
19249 int i = EBADMSG;
19251 return 0;
19253 _ACEOF
19254 if ac_fn_c_try_compile "$LINENO"; then :
19255 glibcxx_cv_system_error9=yes
19256 else
19257 glibcxx_cv_system_error9=no
19259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
19264 $as_echo "$glibcxx_cv_system_error9" >&6; }
19265 if test x"$glibcxx_cv_system_error9" = x"yes"; then
19267 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
19270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
19271 $as_echo_n "checking for ECANCELED... " >&6; }
19272 if ${glibcxx_cv_system_error10+:} false; then :
19273 $as_echo_n "(cached) " >&6
19274 else
19276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19277 /* end confdefs.h. */
19278 #include <errno.h>
19280 main ()
19282 int i = ECANCELED;
19284 return 0;
19286 _ACEOF
19287 if ac_fn_c_try_compile "$LINENO"; then :
19288 glibcxx_cv_system_error10=yes
19289 else
19290 glibcxx_cv_system_error10=no
19292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
19297 $as_echo "$glibcxx_cv_system_error10" >&6; }
19298 if test x"$glibcxx_cv_system_error10" = x"yes"; then
19300 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
19303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
19304 $as_echo_n "checking for EOVERFLOW... " >&6; }
19305 if ${glibcxx_cv_system_error11+:} false; then :
19306 $as_echo_n "(cached) " >&6
19307 else
19309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19310 /* end confdefs.h. */
19311 #include <errno.h>
19313 main ()
19315 int i = EOVERFLOW;
19317 return 0;
19319 _ACEOF
19320 if ac_fn_c_try_compile "$LINENO"; then :
19321 glibcxx_cv_system_error11=yes
19322 else
19323 glibcxx_cv_system_error11=no
19325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
19330 $as_echo "$glibcxx_cv_system_error11" >&6; }
19331 if test x"$glibcxx_cv_system_error11" = x"yes"; then
19333 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
19336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
19337 $as_echo_n "checking for ENOTSUP... " >&6; }
19338 if ${glibcxx_cv_system_error12+:} false; then :
19339 $as_echo_n "(cached) " >&6
19340 else
19342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19343 /* end confdefs.h. */
19344 #include <errno.h>
19346 main ()
19348 int i = ENOTSUP;
19350 return 0;
19352 _ACEOF
19353 if ac_fn_c_try_compile "$LINENO"; then :
19354 glibcxx_cv_system_error12=yes
19355 else
19356 glibcxx_cv_system_error12=no
19358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
19363 $as_echo "$glibcxx_cv_system_error12" >&6; }
19364 if test x"$glibcxx_cv_system_error12" = x"yes"; then
19366 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
19369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
19370 $as_echo_n "checking for EIDRM... " >&6; }
19371 if ${glibcxx_cv_system_error13+:} false; then :
19372 $as_echo_n "(cached) " >&6
19373 else
19375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19376 /* end confdefs.h. */
19377 #include <errno.h>
19379 main ()
19381 int i = EIDRM;
19383 return 0;
19385 _ACEOF
19386 if ac_fn_c_try_compile "$LINENO"; then :
19387 glibcxx_cv_system_error13=yes
19388 else
19389 glibcxx_cv_system_error13=no
19391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
19396 $as_echo "$glibcxx_cv_system_error13" >&6; }
19397 if test x"$glibcxx_cv_system_error13" = x"yes"; then
19399 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
19402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
19403 $as_echo_n "checking for ETXTBSY... " >&6; }
19404 if ${glibcxx_cv_system_error14+:} false; then :
19405 $as_echo_n "(cached) " >&6
19406 else
19408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19409 /* end confdefs.h. */
19410 #include <errno.h>
19412 main ()
19414 int i = ETXTBSY;
19416 return 0;
19418 _ACEOF
19419 if ac_fn_c_try_compile "$LINENO"; then :
19420 glibcxx_cv_system_error14=yes
19421 else
19422 glibcxx_cv_system_error14=no
19424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
19429 $as_echo "$glibcxx_cv_system_error14" >&6; }
19430 if test x"$glibcxx_cv_system_error14" = x"yes"; then
19432 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
19435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
19436 $as_echo_n "checking for ECHILD... " >&6; }
19437 if ${glibcxx_cv_system_error15+:} false; then :
19438 $as_echo_n "(cached) " >&6
19439 else
19441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19442 /* end confdefs.h. */
19443 #include <errno.h>
19445 main ()
19447 int i = ECHILD;
19449 return 0;
19451 _ACEOF
19452 if ac_fn_c_try_compile "$LINENO"; then :
19453 glibcxx_cv_system_error15=yes
19454 else
19455 glibcxx_cv_system_error15=no
19457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
19462 $as_echo "$glibcxx_cv_system_error15" >&6; }
19463 if test x"$glibcxx_cv_system_error15" = x"yes"; then
19465 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
19468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
19469 $as_echo_n "checking for ENOSPC... " >&6; }
19470 if ${glibcxx_cv_system_error16+:} false; then :
19471 $as_echo_n "(cached) " >&6
19472 else
19474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19475 /* end confdefs.h. */
19476 #include <errno.h>
19478 main ()
19480 int i = ENOSPC;
19482 return 0;
19484 _ACEOF
19485 if ac_fn_c_try_compile "$LINENO"; then :
19486 glibcxx_cv_system_error16=yes
19487 else
19488 glibcxx_cv_system_error16=no
19490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
19495 $as_echo "$glibcxx_cv_system_error16" >&6; }
19496 if test x"$glibcxx_cv_system_error16" = x"yes"; then
19498 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
19501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
19502 $as_echo_n "checking for EPERM... " >&6; }
19503 if ${glibcxx_cv_system_error17+:} false; then :
19504 $as_echo_n "(cached) " >&6
19505 else
19507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19508 /* end confdefs.h. */
19509 #include <errno.h>
19511 main ()
19513 int i = EPERM;
19515 return 0;
19517 _ACEOF
19518 if ac_fn_c_try_compile "$LINENO"; then :
19519 glibcxx_cv_system_error17=yes
19520 else
19521 glibcxx_cv_system_error17=no
19523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
19528 $as_echo "$glibcxx_cv_system_error17" >&6; }
19529 if test x"$glibcxx_cv_system_error17" = x"yes"; then
19531 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
19534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
19535 $as_echo_n "checking for ETIMEDOUT... " >&6; }
19536 if ${glibcxx_cv_system_error18+:} false; then :
19537 $as_echo_n "(cached) " >&6
19538 else
19540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19541 /* end confdefs.h. */
19542 #include <errno.h>
19544 main ()
19546 int i = ETIMEDOUT;
19548 return 0;
19550 _ACEOF
19551 if ac_fn_c_try_compile "$LINENO"; then :
19552 glibcxx_cv_system_error18=yes
19553 else
19554 glibcxx_cv_system_error18=no
19556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
19561 $as_echo "$glibcxx_cv_system_error18" >&6; }
19562 if test x"$glibcxx_cv_system_error18" = x"yes"; then
19564 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
19567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
19568 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
19569 if ${glibcxx_cv_system_error19+:} false; then :
19570 $as_echo_n "(cached) " >&6
19571 else
19573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19574 /* end confdefs.h. */
19575 #include <errno.h>
19577 main ()
19579 int i = EWOULDBLOCK;
19581 return 0;
19583 _ACEOF
19584 if ac_fn_c_try_compile "$LINENO"; then :
19585 glibcxx_cv_system_error19=yes
19586 else
19587 glibcxx_cv_system_error19=no
19589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
19594 $as_echo "$glibcxx_cv_system_error19" >&6; }
19595 if test x"$glibcxx_cv_system_error19" = x"yes"; then
19597 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
19604 # Test uchar.h.
19605 for ac_header in uchar.h
19606 do :
19607 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19608 if test "x$ac_cv_header_uchar_h" = xyes; then :
19609 cat >>confdefs.h <<_ACEOF
19610 #define HAVE_UCHAR_H 1
19611 _ACEOF
19612 ac_has_uchar_h=yes
19613 else
19614 ac_has_uchar_h=no
19617 done
19621 ac_ext=cpp
19622 ac_cpp='$CXXCPP $CPPFLAGS'
19623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19627 ac_save_CXXFLAGS="$CXXFLAGS"
19628 CXXFLAGS="$CXXFLAGS -std=c++11"
19630 if test x"$ac_has_uchar_h" = x"yes"; then
19631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19632 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19634 /* end confdefs.h. */
19635 #include <uchar.h>
19636 #ifdef __STDC_UTF_16__
19637 long i = __STDC_UTF_16__;
19638 #endif
19639 #ifdef __STDC_UTF_32__
19640 long j = __STDC_UTF_32__;
19641 #endif
19642 namespace test
19644 using ::c16rtomb;
19645 using ::c32rtomb;
19646 using ::mbrtoc16;
19647 using ::mbrtoc32;
19651 main ()
19655 return 0;
19657 _ACEOF
19658 if ac_fn_cxx_try_compile "$LINENO"; then :
19659 ac_c11_uchar_cxx11=yes
19660 else
19661 ac_c11_uchar_cxx11=no
19663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19664 else
19665 ac_c11_uchar_cxx11=no
19667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19668 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19669 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19671 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19675 CXXFLAGS="$ac_save_CXXFLAGS"
19676 ac_ext=c
19677 ac_cpp='$CPP $CPPFLAGS'
19678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19684 # For the streamoff typedef.
19688 ac_ext=cpp
19689 ac_cpp='$CXXCPP $CPPFLAGS'
19690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
19696 $as_echo_n "checking for int64_t... " >&6; }
19697 if ${glibcxx_cv_INT64_T+:} false; then :
19698 $as_echo_n "(cached) " >&6
19699 else
19701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19702 /* end confdefs.h. */
19703 #include <stdint.h>
19705 main ()
19707 int64_t var;
19709 return 0;
19711 _ACEOF
19712 if ac_fn_cxx_try_compile "$LINENO"; then :
19713 glibcxx_cv_INT64_T=yes
19714 else
19715 glibcxx_cv_INT64_T=no
19717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19722 if test $glibcxx_cv_INT64_T = yes; then
19724 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
19726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
19727 $as_echo "$glibcxx_cv_INT64_T" >&6; }
19729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
19730 $as_echo_n "checking for int64_t as long... " >&6; }
19731 if ${glibcxx_cv_int64_t_long+:} false; then :
19732 $as_echo_n "(cached) " >&6
19733 else
19735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19736 /* end confdefs.h. */
19737 #include <stdint.h>
19738 template<typename, typename> struct same { enum { value = -1 }; };
19739 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19740 int array[same<int64_t, long>::value];
19742 main ()
19746 return 0;
19748 _ACEOF
19749 if ac_fn_cxx_try_compile "$LINENO"; then :
19750 glibcxx_cv_int64_t_long=yes
19751 else
19752 glibcxx_cv_int64_t_long=no
19754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19759 if test $glibcxx_cv_int64_t_long = yes; then
19761 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
19763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
19764 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
19767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
19768 $as_echo_n "checking for int64_t as long long... " >&6; }
19769 if ${glibcxx_cv_int64_t_long_long+:} false; then :
19770 $as_echo_n "(cached) " >&6
19771 else
19773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19774 /* end confdefs.h. */
19775 #include <stdint.h>
19776 template<typename, typename> struct same { enum { value = -1 }; };
19777 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19778 int array[same<int64_t, long long>::value];
19780 main ()
19784 return 0;
19786 _ACEOF
19787 if ac_fn_cxx_try_compile "$LINENO"; then :
19788 glibcxx_cv_int64_t_long_long=yes
19789 else
19790 glibcxx_cv_int64_t_long_long=no
19792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19797 if test $glibcxx_cv_int64_t_long_long = yes; then
19799 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
19801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
19802 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
19806 ac_ext=c
19807 ac_cpp='$CPP $CPPFLAGS'
19808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19814 # For LFS support.
19817 ac_ext=cpp
19818 ac_cpp='$CXXCPP $CPPFLAGS'
19819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19823 ac_save_CXXFLAGS="$CXXFLAGS"
19824 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19826 $as_echo_n "checking for LFS support... " >&6; }
19827 if ${glibcxx_cv_LFS+:} false; then :
19828 $as_echo_n "(cached) " >&6
19829 else
19831 if test x$gcc_no_link = xyes; then
19832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19833 /* end confdefs.h. */
19834 #include <unistd.h>
19835 #include <stdio.h>
19836 #include <sys/stat.h>
19839 main ()
19841 FILE* fp;
19842 fopen64("t", "w");
19843 fseeko64(fp, 0, SEEK_CUR);
19844 ftello64(fp);
19845 lseek64(1, 0, SEEK_CUR);
19846 struct stat64 buf;
19847 fstat64(1, &buf);
19849 return 0;
19851 _ACEOF
19852 if ac_fn_cxx_try_compile "$LINENO"; then :
19853 glibcxx_cv_LFS=yes
19854 else
19855 glibcxx_cv_LFS=no
19857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19858 else
19859 if test x$gcc_no_link = xyes; then
19860 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19863 /* end confdefs.h. */
19864 #include <unistd.h>
19865 #include <stdio.h>
19866 #include <sys/stat.h>
19869 main ()
19871 FILE* fp;
19872 fopen64("t", "w");
19873 fseeko64(fp, 0, SEEK_CUR);
19874 ftello64(fp);
19875 lseek64(1, 0, SEEK_CUR);
19876 struct stat64 buf;
19877 fstat64(1, &buf);
19879 return 0;
19881 _ACEOF
19882 if ac_fn_cxx_try_link "$LINENO"; then :
19883 glibcxx_cv_LFS=yes
19884 else
19885 glibcxx_cv_LFS=no
19887 rm -f core conftest.err conftest.$ac_objext \
19888 conftest$ac_exeext conftest.$ac_ext
19893 if test $glibcxx_cv_LFS = yes; then
19895 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19899 $as_echo "$glibcxx_cv_LFS" >&6; }
19900 CXXFLAGS="$ac_save_CXXFLAGS"
19901 ac_ext=c
19902 ac_cpp='$CPP $CPPFLAGS'
19903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19909 # For showmanyc_helper().
19910 for ac_header in sys/ioctl.h sys/filio.h
19911 do :
19912 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19913 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19914 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19915 cat >>confdefs.h <<_ACEOF
19916 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19917 _ACEOF
19921 done
19926 ac_ext=cpp
19927 ac_cpp='$CXXCPP $CPPFLAGS'
19928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19932 ac_save_CXXFLAGS="$CXXFLAGS"
19933 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19936 $as_echo_n "checking for poll... " >&6; }
19937 if ${glibcxx_cv_POLL+:} false; then :
19938 $as_echo_n "(cached) " >&6
19939 else
19941 if test x$gcc_no_link = xyes; then
19942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19943 /* end confdefs.h. */
19944 #include <poll.h>
19946 main ()
19948 struct pollfd pfd[1];
19949 pfd[0].events = POLLIN;
19950 poll(pfd, 1, 0);
19952 return 0;
19954 _ACEOF
19955 if ac_fn_cxx_try_compile "$LINENO"; then :
19956 glibcxx_cv_POLL=yes
19957 else
19958 glibcxx_cv_POLL=no
19960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19961 else
19962 if test x$gcc_no_link = xyes; then
19963 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19966 /* end confdefs.h. */
19967 #include <poll.h>
19969 main ()
19971 struct pollfd pfd[1];
19972 pfd[0].events = POLLIN;
19973 poll(pfd, 1, 0);
19975 return 0;
19977 _ACEOF
19978 if ac_fn_cxx_try_link "$LINENO"; then :
19979 glibcxx_cv_POLL=yes
19980 else
19981 glibcxx_cv_POLL=no
19983 rm -f core conftest.err conftest.$ac_objext \
19984 conftest$ac_exeext conftest.$ac_ext
19989 if test $glibcxx_cv_POLL = yes; then
19991 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19995 $as_echo "$glibcxx_cv_POLL" >&6; }
19997 CXXFLAGS="$ac_save_CXXFLAGS"
19998 ac_ext=c
19999 ac_cpp='$CPP $CPPFLAGS'
20000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20008 ac_ext=cpp
20009 ac_cpp='$CXXCPP $CPPFLAGS'
20010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20014 ac_save_CXXFLAGS="$CXXFLAGS"
20015 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
20018 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
20019 if ${glibcxx_cv_S_ISREG+:} false; then :
20020 $as_echo_n "(cached) " >&6
20021 else
20023 if test x$gcc_no_link = xyes; then
20024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20025 /* end confdefs.h. */
20026 #include <sys/stat.h>
20028 main ()
20030 struct stat buffer;
20031 fstat(0, &buffer);
20032 S_ISREG(buffer.st_mode);
20034 return 0;
20036 _ACEOF
20037 if ac_fn_cxx_try_compile "$LINENO"; then :
20038 glibcxx_cv_S_ISREG=yes
20039 else
20040 glibcxx_cv_S_ISREG=no
20042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20043 else
20044 if test x$gcc_no_link = xyes; then
20045 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20048 /* end confdefs.h. */
20049 #include <sys/stat.h>
20051 main ()
20053 struct stat buffer;
20054 fstat(0, &buffer);
20055 S_ISREG(buffer.st_mode);
20057 return 0;
20059 _ACEOF
20060 if ac_fn_cxx_try_link "$LINENO"; then :
20061 glibcxx_cv_S_ISREG=yes
20062 else
20063 glibcxx_cv_S_ISREG=no
20065 rm -f core conftest.err conftest.$ac_objext \
20066 conftest$ac_exeext conftest.$ac_ext
20071 if ${glibcxx_cv_S_IFREG+:} false; then :
20072 $as_echo_n "(cached) " >&6
20073 else
20075 if test x$gcc_no_link = xyes; then
20076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20077 /* end confdefs.h. */
20078 #include <sys/stat.h>
20080 main ()
20082 struct stat buffer;
20083 fstat(0, &buffer);
20084 S_IFREG & buffer.st_mode;
20086 return 0;
20088 _ACEOF
20089 if ac_fn_cxx_try_compile "$LINENO"; then :
20090 glibcxx_cv_S_IFREG=yes
20091 else
20092 glibcxx_cv_S_IFREG=no
20094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20095 else
20096 if test x$gcc_no_link = xyes; then
20097 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20100 /* end confdefs.h. */
20101 #include <sys/stat.h>
20103 main ()
20105 struct stat buffer;
20106 fstat(0, &buffer);
20107 S_IFREG & buffer.st_mode;
20109 return 0;
20111 _ACEOF
20112 if ac_fn_cxx_try_link "$LINENO"; then :
20113 glibcxx_cv_S_IFREG=yes
20114 else
20115 glibcxx_cv_S_IFREG=no
20117 rm -f core conftest.err conftest.$ac_objext \
20118 conftest$ac_exeext conftest.$ac_ext
20123 res=no
20124 if test $glibcxx_cv_S_ISREG = yes; then
20126 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
20128 res=S_ISREG
20129 elif test $glibcxx_cv_S_IFREG = yes; then
20131 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
20133 res=S_IFREG
20135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
20136 $as_echo "$res" >&6; }
20138 CXXFLAGS="$ac_save_CXXFLAGS"
20139 ac_ext=c
20140 ac_cpp='$CPP $CPPFLAGS'
20141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20147 # For xsputn_2().
20148 for ac_header in sys/uio.h
20149 do :
20150 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
20151 if test "x$ac_cv_header_sys_uio_h" = xyes; then :
20152 cat >>confdefs.h <<_ACEOF
20153 #define HAVE_SYS_UIO_H 1
20154 _ACEOF
20158 done
20163 ac_ext=cpp
20164 ac_cpp='$CXXCPP $CPPFLAGS'
20165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20169 ac_save_CXXFLAGS="$CXXFLAGS"
20170 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
20173 $as_echo_n "checking for writev... " >&6; }
20174 if ${glibcxx_cv_WRITEV+:} false; then :
20175 $as_echo_n "(cached) " >&6
20176 else
20178 if test x$gcc_no_link = xyes; then
20179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20180 /* end confdefs.h. */
20181 #include <sys/uio.h>
20183 main ()
20185 struct iovec iov[2];
20186 writev(0, iov, 0);
20188 return 0;
20190 _ACEOF
20191 if ac_fn_cxx_try_compile "$LINENO"; then :
20192 glibcxx_cv_WRITEV=yes
20193 else
20194 glibcxx_cv_WRITEV=no
20196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20197 else
20198 if test x$gcc_no_link = xyes; then
20199 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20202 /* end confdefs.h. */
20203 #include <sys/uio.h>
20205 main ()
20207 struct iovec iov[2];
20208 writev(0, iov, 0);
20210 return 0;
20212 _ACEOF
20213 if ac_fn_cxx_try_link "$LINENO"; then :
20214 glibcxx_cv_WRITEV=yes
20215 else
20216 glibcxx_cv_WRITEV=no
20218 rm -f core conftest.err conftest.$ac_objext \
20219 conftest$ac_exeext conftest.$ac_ext
20224 if test $glibcxx_cv_WRITEV = yes; then
20226 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
20229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
20230 $as_echo "$glibcxx_cv_WRITEV" >&6; }
20232 CXXFLAGS="$ac_save_CXXFLAGS"
20233 ac_ext=c
20234 ac_cpp='$CPP $CPPFLAGS'
20235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20241 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
20242 # so that the check is done with the C compiler (not C++).
20243 # Checking with C++ can break a canadian cross build if either
20244 # file does not exist in C but does in C++.
20245 for ac_header in fenv.h complex.h
20246 do :
20247 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20248 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20249 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20250 cat >>confdefs.h <<_ACEOF
20251 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20252 _ACEOF
20256 done
20259 # For C99 support to TR1.
20263 ac_ext=cpp
20264 ac_cpp='$CXXCPP $CPPFLAGS'
20265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20270 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
20271 # undefined and fake C99 facilities may be spuriously enabled.
20272 ac_save_CXXFLAGS="$CXXFLAGS"
20273 CXXFLAGS="$CXXFLAGS -std=c++98"
20275 # Check for the existence of <complex.h> complex math functions used
20276 # by tr1/complex.
20277 for ac_header in complex.h
20278 do :
20279 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
20280 if test "x$ac_cv_header_complex_h" = xyes; then :
20281 cat >>confdefs.h <<_ACEOF
20282 #define HAVE_COMPLEX_H 1
20283 _ACEOF
20284 ac_has_complex_h=yes
20285 else
20286 ac_has_complex_h=no
20289 done
20291 ac_c99_complex_tr1=no;
20292 if test x"$ac_has_complex_h" = x"yes"; then
20293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
20294 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
20295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20296 /* end confdefs.h. */
20297 #include <complex.h>
20299 main ()
20301 typedef __complex__ float float_type; float_type tmpf;
20302 cacosf(tmpf);
20303 casinf(tmpf);
20304 catanf(tmpf);
20305 cacoshf(tmpf);
20306 casinhf(tmpf);
20307 catanhf(tmpf);
20308 typedef __complex__ double double_type; double_type tmpd;
20309 cacos(tmpd);
20310 casin(tmpd);
20311 catan(tmpd);
20312 cacosh(tmpd);
20313 casinh(tmpd);
20314 catanh(tmpd);
20315 typedef __complex__ long double ld_type; ld_type tmpld;
20316 cacosl(tmpld);
20317 casinl(tmpld);
20318 catanl(tmpld);
20319 cacoshl(tmpld);
20320 casinhl(tmpld);
20321 catanhl(tmpld);
20324 return 0;
20326 _ACEOF
20327 if ac_fn_cxx_try_compile "$LINENO"; then :
20328 ac_c99_complex_tr1=yes
20329 else
20330 ac_c99_complex_tr1=no
20332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
20335 $as_echo "$ac_c99_complex_tr1" >&6; }
20336 if test x"$ac_c99_complex_tr1" = x"yes"; then
20338 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
20342 # Check for the existence of <ctype.h> functions.
20343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
20344 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
20345 if ${glibcxx_cv_c99_ctype_tr1+:} false; then :
20346 $as_echo_n "(cached) " >&6
20347 else
20349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20350 /* end confdefs.h. */
20351 #include <ctype.h>
20353 main ()
20355 int ch;
20356 int ret;
20357 ret = isblank(ch);
20360 return 0;
20362 _ACEOF
20363 if ac_fn_cxx_try_compile "$LINENO"; then :
20364 glibcxx_cv_c99_ctype_tr1=yes
20365 else
20366 glibcxx_cv_c99_ctype_tr1=no
20368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
20373 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
20374 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
20376 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
20380 # Check for the existence of <fenv.h> functions.
20381 for ac_header in fenv.h
20382 do :
20383 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
20384 if test "x$ac_cv_header_fenv_h" = xyes; then :
20385 cat >>confdefs.h <<_ACEOF
20386 #define HAVE_FENV_H 1
20387 _ACEOF
20388 ac_has_fenv_h=yes
20389 else
20390 ac_has_fenv_h=no
20393 done
20395 ac_c99_fenv_tr1=no;
20396 if test x"$ac_has_fenv_h" = x"yes"; then
20397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
20398 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
20399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20400 /* end confdefs.h. */
20401 #include <fenv.h>
20403 main ()
20405 int except, mode;
20406 fexcept_t* pflag;
20407 fenv_t* penv;
20408 int ret;
20409 ret = feclearexcept(except);
20410 ret = fegetexceptflag(pflag, except);
20411 ret = feraiseexcept(except);
20412 ret = fesetexceptflag(pflag, except);
20413 ret = fetestexcept(except);
20414 ret = fegetround();
20415 ret = fesetround(mode);
20416 ret = fegetenv(penv);
20417 ret = feholdexcept(penv);
20418 ret = fesetenv(penv);
20419 ret = feupdateenv(penv);
20422 return 0;
20424 _ACEOF
20425 if ac_fn_cxx_try_compile "$LINENO"; then :
20426 ac_c99_fenv_tr1=yes
20427 else
20428 ac_c99_fenv_tr1=no
20430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
20433 $as_echo "$ac_c99_fenv_tr1" >&6; }
20434 if test x"$ac_c99_fenv_tr1" = x"yes"; then
20436 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
20440 # Check for the existence of <stdint.h> types.
20441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
20442 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
20443 if ${glibcxx_cv_c99_stdint_tr1+:} false; then :
20444 $as_echo_n "(cached) " >&6
20445 else
20447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20448 /* end confdefs.h. */
20449 #define __STDC_LIMIT_MACROS
20450 #define __STDC_CONSTANT_MACROS
20451 #include <stdint.h>
20453 main ()
20455 typedef int8_t my_int8_t;
20456 my_int8_t i8 = INT8_MIN;
20457 i8 = INT8_MAX;
20458 typedef int16_t my_int16_t;
20459 my_int16_t i16 = INT16_MIN;
20460 i16 = INT16_MAX;
20461 typedef int32_t my_int32_t;
20462 my_int32_t i32 = INT32_MIN;
20463 i32 = INT32_MAX;
20464 typedef int64_t my_int64_t;
20465 my_int64_t i64 = INT64_MIN;
20466 i64 = INT64_MAX;
20467 typedef int_fast8_t my_int_fast8_t;
20468 my_int_fast8_t if8 = INT_FAST8_MIN;
20469 if8 = INT_FAST8_MAX;
20470 typedef int_fast16_t my_int_fast16_t;
20471 my_int_fast16_t if16 = INT_FAST16_MIN;
20472 if16 = INT_FAST16_MAX;
20473 typedef int_fast32_t my_int_fast32_t;
20474 my_int_fast32_t if32 = INT_FAST32_MIN;
20475 if32 = INT_FAST32_MAX;
20476 typedef int_fast64_t my_int_fast64_t;
20477 my_int_fast64_t if64 = INT_FAST64_MIN;
20478 if64 = INT_FAST64_MAX;
20479 typedef int_least8_t my_int_least8_t;
20480 my_int_least8_t il8 = INT_LEAST8_MIN;
20481 il8 = INT_LEAST8_MAX;
20482 typedef int_least16_t my_int_least16_t;
20483 my_int_least16_t il16 = INT_LEAST16_MIN;
20484 il16 = INT_LEAST16_MAX;
20485 typedef int_least32_t my_int_least32_t;
20486 my_int_least32_t il32 = INT_LEAST32_MIN;
20487 il32 = INT_LEAST32_MAX;
20488 typedef int_least64_t my_int_least64_t;
20489 my_int_least64_t il64 = INT_LEAST64_MIN;
20490 il64 = INT_LEAST64_MAX;
20491 typedef intmax_t my_intmax_t;
20492 my_intmax_t im = INTMAX_MAX;
20493 im = INTMAX_MIN;
20494 typedef intptr_t my_intptr_t;
20495 my_intptr_t ip = INTPTR_MAX;
20496 ip = INTPTR_MIN;
20497 typedef uint8_t my_uint8_t;
20498 my_uint8_t ui8 = UINT8_MAX;
20499 ui8 = UINT8_MAX;
20500 typedef uint16_t my_uint16_t;
20501 my_uint16_t ui16 = UINT16_MAX;
20502 ui16 = UINT16_MAX;
20503 typedef uint32_t my_uint32_t;
20504 my_uint32_t ui32 = UINT32_MAX;
20505 ui32 = UINT32_MAX;
20506 typedef uint64_t my_uint64_t;
20507 my_uint64_t ui64 = UINT64_MAX;
20508 ui64 = UINT64_MAX;
20509 typedef uint_fast8_t my_uint_fast8_t;
20510 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
20511 uif8 = UINT_FAST8_MAX;
20512 typedef uint_fast16_t my_uint_fast16_t;
20513 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
20514 uif16 = UINT_FAST16_MAX;
20515 typedef uint_fast32_t my_uint_fast32_t;
20516 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
20517 uif32 = UINT_FAST32_MAX;
20518 typedef uint_fast64_t my_uint_fast64_t;
20519 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
20520 uif64 = UINT_FAST64_MAX;
20521 typedef uint_least8_t my_uint_least8_t;
20522 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
20523 uil8 = UINT_LEAST8_MAX;
20524 typedef uint_least16_t my_uint_least16_t;
20525 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
20526 uil16 = UINT_LEAST16_MAX;
20527 typedef uint_least32_t my_uint_least32_t;
20528 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
20529 uil32 = UINT_LEAST32_MAX;
20530 typedef uint_least64_t my_uint_least64_t;
20531 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
20532 uil64 = UINT_LEAST64_MAX;
20533 typedef uintmax_t my_uintmax_t;
20534 my_uintmax_t uim = UINTMAX_MAX;
20535 uim = UINTMAX_MAX;
20536 typedef uintptr_t my_uintptr_t;
20537 my_uintptr_t uip = UINTPTR_MAX;
20538 uip = UINTPTR_MAX;
20541 return 0;
20543 _ACEOF
20544 if ac_fn_cxx_try_compile "$LINENO"; then :
20545 glibcxx_cv_c99_stdint_tr1=yes
20546 else
20547 glibcxx_cv_c99_stdint_tr1=no
20549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
20554 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
20555 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20557 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
20561 # Check for the existence of <math.h> functions.
20562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
20563 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
20564 if ${glibcxx_cv_c99_math_tr1+:} false; then :
20565 $as_echo_n "(cached) " >&6
20566 else
20568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20569 /* end confdefs.h. */
20570 #include <math.h>
20572 main ()
20574 typedef double_t my_double_t;
20575 typedef float_t my_float_t;
20576 acosh(0.0);
20577 acoshf(0.0f);
20578 acoshl(0.0l);
20579 asinh(0.0);
20580 asinhf(0.0f);
20581 asinhl(0.0l);
20582 atanh(0.0);
20583 atanhf(0.0f);
20584 atanhl(0.0l);
20585 cbrt(0.0);
20586 cbrtf(0.0f);
20587 cbrtl(0.0l);
20588 copysign(0.0, 0.0);
20589 copysignf(0.0f, 0.0f);
20590 copysignl(0.0l, 0.0l);
20591 erf(0.0);
20592 erff(0.0f);
20593 erfl(0.0l);
20594 erfc(0.0);
20595 erfcf(0.0f);
20596 erfcl(0.0l);
20597 exp2(0.0);
20598 exp2f(0.0f);
20599 exp2l(0.0l);
20600 expm1(0.0);
20601 expm1f(0.0f);
20602 expm1l(0.0l);
20603 fdim(0.0, 0.0);
20604 fdimf(0.0f, 0.0f);
20605 fdiml(0.0l, 0.0l);
20606 fma(0.0, 0.0, 0.0);
20607 fmaf(0.0f, 0.0f, 0.0f);
20608 fmal(0.0l, 0.0l, 0.0l);
20609 fmax(0.0, 0.0);
20610 fmaxf(0.0f, 0.0f);
20611 fmaxl(0.0l, 0.0l);
20612 fmin(0.0, 0.0);
20613 fminf(0.0f, 0.0f);
20614 fminl(0.0l, 0.0l);
20615 hypot(0.0, 0.0);
20616 hypotf(0.0f, 0.0f);
20617 hypotl(0.0l, 0.0l);
20618 ilogb(0.0);
20619 ilogbf(0.0f);
20620 ilogbl(0.0l);
20621 lgamma(0.0);
20622 lgammaf(0.0f);
20623 lgammal(0.0l);
20624 #ifndef __APPLE__ /* see below */
20625 llrint(0.0);
20626 llrintf(0.0f);
20627 llrintl(0.0l);
20628 llround(0.0);
20629 llroundf(0.0f);
20630 llroundl(0.0l);
20631 #endif
20632 log1p(0.0);
20633 log1pf(0.0f);
20634 log1pl(0.0l);
20635 log2(0.0);
20636 log2f(0.0f);
20637 log2l(0.0l);
20638 logb(0.0);
20639 logbf(0.0f);
20640 logbl(0.0l);
20641 lrint(0.0);
20642 lrintf(0.0f);
20643 lrintl(0.0l);
20644 lround(0.0);
20645 lroundf(0.0f);
20646 lroundl(0.0l);
20647 nan(0);
20648 nanf(0);
20649 nanl(0);
20650 nearbyint(0.0);
20651 nearbyintf(0.0f);
20652 nearbyintl(0.0l);
20653 nextafter(0.0, 0.0);
20654 nextafterf(0.0f, 0.0f);
20655 nextafterl(0.0l, 0.0l);
20656 nexttoward(0.0, 0.0);
20657 nexttowardf(0.0f, 0.0f);
20658 nexttowardl(0.0l, 0.0l);
20659 remainder(0.0, 0.0);
20660 remainderf(0.0f, 0.0f);
20661 remainderl(0.0l, 0.0l);
20662 remquo(0.0, 0.0, 0);
20663 remquof(0.0f, 0.0f, 0);
20664 remquol(0.0l, 0.0l, 0);
20665 rint(0.0);
20666 rintf(0.0f);
20667 rintl(0.0l);
20668 round(0.0);
20669 roundf(0.0f);
20670 roundl(0.0l);
20671 scalbln(0.0, 0l);
20672 scalblnf(0.0f, 0l);
20673 scalblnl(0.0l, 0l);
20674 scalbn(0.0, 0);
20675 scalbnf(0.0f, 0);
20676 scalbnl(0.0l, 0);
20677 tgamma(0.0);
20678 tgammaf(0.0f);
20679 tgammal(0.0l);
20680 trunc(0.0);
20681 truncf(0.0f);
20682 truncl(0.0l);
20685 return 0;
20687 _ACEOF
20688 if ac_fn_cxx_try_compile "$LINENO"; then :
20689 glibcxx_cv_c99_math_tr1=yes
20690 else
20691 glibcxx_cv_c99_math_tr1=no
20693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20698 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20699 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20701 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20704 case "${target_os}" in
20705 darwin*)
20706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20707 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20708 if ${glibcxx_cv_c99_math_llround+:} false; then :
20709 $as_echo_n "(cached) " >&6
20710 else
20712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20713 /* end confdefs.h. */
20714 #include <math.h>
20716 main ()
20718 llrint(0.0);
20719 llrintf(0.0f);
20720 llrintl(0.0l);
20721 llround(0.0);
20722 llroundf(0.0f);
20723 llroundl(0.0l);
20726 return 0;
20728 _ACEOF
20729 if ac_fn_cxx_try_compile "$LINENO"; then :
20730 glibcxx_cv_c99_math_llround=yes
20731 else
20732 glibcxx_cv_c99_math_llround=no
20734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20739 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20741 esac
20742 if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20744 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20749 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20750 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20751 ac_c99_inttypes_tr1=no;
20752 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20754 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20756 /* end confdefs.h. */
20757 #include <inttypes.h>
20759 main ()
20761 intmax_t i, numer, denom, base;
20762 const char* s;
20763 char** endptr;
20764 intmax_t ret = imaxabs(i);
20765 imaxdiv_t dret = imaxdiv(numer, denom);
20766 ret = strtoimax(s, endptr, base);
20767 uintmax_t uret = strtoumax(s, endptr, base);
20770 return 0;
20772 _ACEOF
20773 if ac_fn_cxx_try_compile "$LINENO"; then :
20774 ac_c99_inttypes_tr1=yes
20775 else
20776 ac_c99_inttypes_tr1=no
20778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20781 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20782 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20784 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20788 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20789 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20790 ac_c99_inttypes_wchar_t_tr1=no;
20791 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20793 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20795 /* end confdefs.h. */
20796 #include <inttypes.h>
20798 main ()
20800 intmax_t base;
20801 const wchar_t* s;
20802 wchar_t** endptr;
20803 intmax_t ret = wcstoimax(s, endptr, base);
20804 uintmax_t uret = wcstoumax(s, endptr, base);
20807 return 0;
20809 _ACEOF
20810 if ac_fn_cxx_try_compile "$LINENO"; then :
20811 ac_c99_inttypes_wchar_t_tr1=yes
20812 else
20813 ac_c99_inttypes_wchar_t_tr1=no
20815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20818 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20819 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20821 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20825 # Check for the existence of the <stdbool.h> header.
20826 for ac_header in stdbool.h
20827 do :
20828 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20829 if test "x$ac_cv_header_stdbool_h" = xyes; then :
20830 cat >>confdefs.h <<_ACEOF
20831 #define HAVE_STDBOOL_H 1
20832 _ACEOF
20836 done
20839 # Check for the existence of the <stdalign.h> header.
20840 for ac_header in stdalign.h
20841 do :
20842 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20843 if test "x$ac_cv_header_stdalign_h" = xyes; then :
20844 cat >>confdefs.h <<_ACEOF
20845 #define HAVE_STDALIGN_H 1
20846 _ACEOF
20850 done
20853 CXXFLAGS="$ac_save_CXXFLAGS"
20854 ac_ext=c
20855 ac_cpp='$CPP $CPPFLAGS'
20856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20862 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20866 $as_echo_n "checking for the value of EOF... " >&6; }
20867 if ${glibcxx_cv_stdio_eof+:} false; then :
20868 $as_echo_n "(cached) " >&6
20869 else
20871 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20873 else
20874 as_fn_error $? "computing EOF failed" "$LINENO" 5
20879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20880 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20882 cat >>confdefs.h <<_ACEOF
20883 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20884 _ACEOF
20887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20888 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20889 if ${glibcxx_cv_stdio_seek_cur+:} false; then :
20890 $as_echo_n "(cached) " >&6
20891 else
20893 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20895 else
20896 as_fn_error $? "computing SEEK_CUR failed" "$LINENO" 5
20901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20902 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20904 cat >>confdefs.h <<_ACEOF
20905 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20906 _ACEOF
20909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20910 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20911 if ${glibcxx_cv_stdio_seek_end+:} false; then :
20912 $as_echo_n "(cached) " >&6
20913 else
20915 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20917 else
20918 as_fn_error $? "computing SEEK_END failed" "$LINENO" 5
20923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20924 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20926 cat >>confdefs.h <<_ACEOF
20927 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20928 _ACEOF
20932 # For gettimeofday support.
20935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20936 $as_echo_n "checking for gettimeofday... " >&6; }
20939 ac_ext=cpp
20940 ac_cpp='$CXXCPP $CPPFLAGS'
20941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20945 ac_save_CXXFLAGS="$CXXFLAGS"
20946 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20948 ac_has_gettimeofday=no;
20949 for ac_header in sys/time.h
20950 do :
20951 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20952 if test "x$ac_cv_header_sys_time_h" = xyes; then :
20953 cat >>confdefs.h <<_ACEOF
20954 #define HAVE_SYS_TIME_H 1
20955 _ACEOF
20956 ac_has_sys_time_h=yes
20957 else
20958 ac_has_sys_time_h=no
20961 done
20963 if test x"$ac_has_sys_time_h" = x"yes"; then
20964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20965 $as_echo_n "checking for gettimeofday... " >&6; }
20966 if test x$gcc_no_link = xyes; then
20967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20968 /* end confdefs.h. */
20969 #include <sys/time.h>
20971 main ()
20973 timeval tv; gettimeofday(&tv, 0);
20975 return 0;
20977 _ACEOF
20978 if ac_fn_cxx_try_compile "$LINENO"; then :
20979 ac_has_gettimeofday=yes
20980 else
20981 ac_has_gettimeofday=no
20983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20984 else
20985 if test x$gcc_no_link = xyes; then
20986 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20989 /* end confdefs.h. */
20990 #include <sys/time.h>
20992 main ()
20994 timeval tv; gettimeofday(&tv, 0);
20996 return 0;
20998 _ACEOF
20999 if ac_fn_cxx_try_link "$LINENO"; then :
21000 ac_has_gettimeofday=yes
21001 else
21002 ac_has_gettimeofday=no
21004 rm -f core conftest.err conftest.$ac_objext \
21005 conftest$ac_exeext conftest.$ac_ext
21008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
21009 $as_echo "$ac_has_gettimeofday" >&6; }
21012 if test x"$ac_has_gettimeofday" = x"yes"; then
21014 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
21018 CXXFLAGS="$ac_save_CXXFLAGS"
21019 ac_ext=c
21020 ac_cpp='$CPP $CPPFLAGS'
21021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21027 # For clock_gettime, nanosleep and sched_yield support.
21030 # Check whether --enable-libstdcxx-time was given.
21031 if test "${enable_libstdcxx_time+set}" = set; then :
21032 enableval=$enable_libstdcxx_time;
21033 case "$enableval" in
21034 yes|no|rt) ;;
21035 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
21036 esac
21038 else
21039 enable_libstdcxx_time=auto
21045 ac_ext=cpp
21046 ac_cpp='$CXXCPP $CPPFLAGS'
21047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21051 ac_save_CXXFLAGS="$CXXFLAGS"
21052 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21053 ac_save_LIBS="$LIBS"
21055 ac_has_clock_monotonic=no
21056 ac_has_clock_realtime=no
21057 ac_has_nanosleep=no
21058 ac_has_sched_yield=no
21060 if test x"$enable_libstdcxx_time" = x"auto"; then
21062 case "${target_os}" in
21063 cygwin*)
21064 ac_has_nanosleep=yes
21066 darwin*)
21067 ac_has_nanosleep=yes
21068 ac_has_sched_yield=yes
21070 # VxWorks has nanosleep as soon as the kernel is configured with
21071 # INCLUDE_POSIX_TIMERS, which is normally/most-often the case.
21072 vxworks*)
21073 ac_has_nanosleep=yes
21075 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
21076 # Don't use link test for freestanding library, in case gcc_no_link=yes
21077 if test x"$is_hosted" = xyes; then
21078 # Versions of glibc before 2.17 needed -lrt for clock_gettime.
21079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
21080 $as_echo_n "checking for library containing clock_gettime... " >&6; }
21081 if ${ac_cv_search_clock_gettime+:} false; then :
21082 $as_echo_n "(cached) " >&6
21083 else
21084 ac_func_search_save_LIBS=$LIBS
21085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21086 /* end confdefs.h. */
21088 /* Override any GCC internal prototype to avoid an error.
21089 Use char because int might match the return type of a GCC
21090 builtin and then its argument prototype would still apply. */
21091 #ifdef __cplusplus
21092 extern "C"
21093 #endif
21094 char clock_gettime ();
21096 main ()
21098 return clock_gettime ();
21100 return 0;
21102 _ACEOF
21103 for ac_lib in '' rt; do
21104 if test -z "$ac_lib"; then
21105 ac_res="none required"
21106 else
21107 ac_res=-l$ac_lib
21108 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21110 if test x$gcc_no_link = xyes; then
21111 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21113 if ac_fn_cxx_try_link "$LINENO"; then :
21114 ac_cv_search_clock_gettime=$ac_res
21116 rm -f core conftest.err conftest.$ac_objext \
21117 conftest$ac_exeext
21118 if ${ac_cv_search_clock_gettime+:} false; then :
21119 break
21121 done
21122 if ${ac_cv_search_clock_gettime+:} false; then :
21124 else
21125 ac_cv_search_clock_gettime=no
21127 rm conftest.$ac_ext
21128 LIBS=$ac_func_search_save_LIBS
21130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
21131 $as_echo "$ac_cv_search_clock_gettime" >&6; }
21132 ac_res=$ac_cv_search_clock_gettime
21133 if test "$ac_res" != no; then :
21134 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21138 if test x"$ac_cv_search_clock_gettime" = x"none required"; then
21139 ac_has_clock_monotonic=yes
21140 ac_has_clock_realtime=yes
21143 ac_has_nanosleep=yes
21144 ac_has_sched_yield=yes
21146 freebsd*|netbsd*|dragonfly*|rtems*)
21147 ac_has_clock_monotonic=yes
21148 ac_has_clock_realtime=yes
21149 ac_has_nanosleep=yes
21150 ac_has_sched_yield=yes
21152 openbsd*)
21153 ac_has_clock_monotonic=yes
21154 ac_has_clock_realtime=yes
21155 ac_has_nanosleep=yes
21157 solaris*)
21158 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
21159 ac_has_clock_monotonic=yes
21160 ac_has_clock_realtime=yes
21161 ac_has_nanosleep=yes
21162 ac_has_sched_yield=yes
21164 uclinux*)
21165 ac_has_nanosleep=yes
21166 ac_has_sched_yield=yes
21167 esac
21169 elif test x"$enable_libstdcxx_time" != x"no"; then
21171 if test x"$enable_libstdcxx_time" = x"rt"; then
21172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
21173 $as_echo_n "checking for library containing clock_gettime... " >&6; }
21174 if ${ac_cv_search_clock_gettime+:} false; then :
21175 $as_echo_n "(cached) " >&6
21176 else
21177 ac_func_search_save_LIBS=$LIBS
21178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21179 /* end confdefs.h. */
21181 /* Override any GCC internal prototype to avoid an error.
21182 Use char because int might match the return type of a GCC
21183 builtin and then its argument prototype would still apply. */
21184 #ifdef __cplusplus
21185 extern "C"
21186 #endif
21187 char clock_gettime ();
21189 main ()
21191 return clock_gettime ();
21193 return 0;
21195 _ACEOF
21196 for ac_lib in '' rt posix4; do
21197 if test -z "$ac_lib"; then
21198 ac_res="none required"
21199 else
21200 ac_res=-l$ac_lib
21201 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21203 if test x$gcc_no_link = xyes; then
21204 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21206 if ac_fn_cxx_try_link "$LINENO"; then :
21207 ac_cv_search_clock_gettime=$ac_res
21209 rm -f core conftest.err conftest.$ac_objext \
21210 conftest$ac_exeext
21211 if ${ac_cv_search_clock_gettime+:} false; then :
21212 break
21214 done
21215 if ${ac_cv_search_clock_gettime+:} false; then :
21217 else
21218 ac_cv_search_clock_gettime=no
21220 rm conftest.$ac_ext
21221 LIBS=$ac_func_search_save_LIBS
21223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
21224 $as_echo "$ac_cv_search_clock_gettime" >&6; }
21225 ac_res=$ac_cv_search_clock_gettime
21226 if test "$ac_res" != no; then :
21227 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
21232 $as_echo_n "checking for library containing nanosleep... " >&6; }
21233 if ${ac_cv_search_nanosleep+:} false; then :
21234 $as_echo_n "(cached) " >&6
21235 else
21236 ac_func_search_save_LIBS=$LIBS
21237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21238 /* end confdefs.h. */
21240 /* Override any GCC internal prototype to avoid an error.
21241 Use char because int might match the return type of a GCC
21242 builtin and then its argument prototype would still apply. */
21243 #ifdef __cplusplus
21244 extern "C"
21245 #endif
21246 char nanosleep ();
21248 main ()
21250 return nanosleep ();
21252 return 0;
21254 _ACEOF
21255 for ac_lib in '' rt posix4; do
21256 if test -z "$ac_lib"; then
21257 ac_res="none required"
21258 else
21259 ac_res=-l$ac_lib
21260 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21262 if test x$gcc_no_link = xyes; then
21263 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21265 if ac_fn_cxx_try_link "$LINENO"; then :
21266 ac_cv_search_nanosleep=$ac_res
21268 rm -f core conftest.err conftest.$ac_objext \
21269 conftest$ac_exeext
21270 if ${ac_cv_search_nanosleep+:} false; then :
21271 break
21273 done
21274 if ${ac_cv_search_nanosleep+:} false; then :
21276 else
21277 ac_cv_search_nanosleep=no
21279 rm conftest.$ac_ext
21280 LIBS=$ac_func_search_save_LIBS
21282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
21283 $as_echo "$ac_cv_search_nanosleep" >&6; }
21284 ac_res=$ac_cv_search_nanosleep
21285 if test "$ac_res" != no; then :
21286 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21290 else
21291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
21292 $as_echo_n "checking for library containing clock_gettime... " >&6; }
21293 if ${ac_cv_search_clock_gettime+:} false; then :
21294 $as_echo_n "(cached) " >&6
21295 else
21296 ac_func_search_save_LIBS=$LIBS
21297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21298 /* end confdefs.h. */
21300 /* Override any GCC internal prototype to avoid an error.
21301 Use char because int might match the return type of a GCC
21302 builtin and then its argument prototype would still apply. */
21303 #ifdef __cplusplus
21304 extern "C"
21305 #endif
21306 char clock_gettime ();
21308 main ()
21310 return clock_gettime ();
21312 return 0;
21314 _ACEOF
21315 for ac_lib in '' posix4; do
21316 if test -z "$ac_lib"; then
21317 ac_res="none required"
21318 else
21319 ac_res=-l$ac_lib
21320 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21322 if test x$gcc_no_link = xyes; then
21323 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21325 if ac_fn_cxx_try_link "$LINENO"; then :
21326 ac_cv_search_clock_gettime=$ac_res
21328 rm -f core conftest.err conftest.$ac_objext \
21329 conftest$ac_exeext
21330 if ${ac_cv_search_clock_gettime+:} false; then :
21331 break
21333 done
21334 if ${ac_cv_search_clock_gettime+:} false; then :
21336 else
21337 ac_cv_search_clock_gettime=no
21339 rm conftest.$ac_ext
21340 LIBS=$ac_func_search_save_LIBS
21342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
21343 $as_echo "$ac_cv_search_clock_gettime" >&6; }
21344 ac_res=$ac_cv_search_clock_gettime
21345 if test "$ac_res" != no; then :
21346 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
21351 $as_echo_n "checking for library containing nanosleep... " >&6; }
21352 if ${ac_cv_search_nanosleep+:} false; then :
21353 $as_echo_n "(cached) " >&6
21354 else
21355 ac_func_search_save_LIBS=$LIBS
21356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21357 /* end confdefs.h. */
21359 /* Override any GCC internal prototype to avoid an error.
21360 Use char because int might match the return type of a GCC
21361 builtin and then its argument prototype would still apply. */
21362 #ifdef __cplusplus
21363 extern "C"
21364 #endif
21365 char nanosleep ();
21367 main ()
21369 return nanosleep ();
21371 return 0;
21373 _ACEOF
21374 for ac_lib in '' posix4; do
21375 if test -z "$ac_lib"; then
21376 ac_res="none required"
21377 else
21378 ac_res=-l$ac_lib
21379 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21381 if test x$gcc_no_link = xyes; then
21382 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21384 if ac_fn_cxx_try_link "$LINENO"; then :
21385 ac_cv_search_nanosleep=$ac_res
21387 rm -f core conftest.err conftest.$ac_objext \
21388 conftest$ac_exeext
21389 if ${ac_cv_search_nanosleep+:} false; then :
21390 break
21392 done
21393 if ${ac_cv_search_nanosleep+:} false; then :
21395 else
21396 ac_cv_search_nanosleep=no
21398 rm conftest.$ac_ext
21399 LIBS=$ac_func_search_save_LIBS
21401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
21402 $as_echo "$ac_cv_search_nanosleep" >&6; }
21403 ac_res=$ac_cv_search_nanosleep
21404 if test "$ac_res" != no; then :
21405 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21411 case "$ac_cv_search_clock_gettime" in
21412 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
21414 esac
21415 case "$ac_cv_search_nanosleep" in
21416 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
21418 esac
21420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
21421 $as_echo_n "checking for library containing sched_yield... " >&6; }
21422 if ${ac_cv_search_sched_yield+:} false; then :
21423 $as_echo_n "(cached) " >&6
21424 else
21425 ac_func_search_save_LIBS=$LIBS
21426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21427 /* end confdefs.h. */
21429 /* Override any GCC internal prototype to avoid an error.
21430 Use char because int might match the return type of a GCC
21431 builtin and then its argument prototype would still apply. */
21432 #ifdef __cplusplus
21433 extern "C"
21434 #endif
21435 char sched_yield ();
21437 main ()
21439 return sched_yield ();
21441 return 0;
21443 _ACEOF
21444 for ac_lib in '' rt posix4; do
21445 if test -z "$ac_lib"; then
21446 ac_res="none required"
21447 else
21448 ac_res=-l$ac_lib
21449 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21451 if test x$gcc_no_link = xyes; then
21452 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21454 if ac_fn_cxx_try_link "$LINENO"; then :
21455 ac_cv_search_sched_yield=$ac_res
21457 rm -f core conftest.err conftest.$ac_objext \
21458 conftest$ac_exeext
21459 if ${ac_cv_search_sched_yield+:} false; then :
21460 break
21462 done
21463 if ${ac_cv_search_sched_yield+:} false; then :
21465 else
21466 ac_cv_search_sched_yield=no
21468 rm conftest.$ac_ext
21469 LIBS=$ac_func_search_save_LIBS
21471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
21472 $as_echo "$ac_cv_search_sched_yield" >&6; }
21473 ac_res=$ac_cv_search_sched_yield
21474 if test "$ac_res" != no; then :
21475 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21480 case "$ac_cv_search_sched_yield" in
21481 -lposix4*)
21482 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
21483 ac_has_sched_yield=yes
21485 -lrt*)
21486 if test x"$enable_libstdcxx_time" = x"rt"; then
21487 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
21488 ac_has_sched_yield=yes
21492 ac_has_sched_yield=yes
21494 esac
21496 for ac_header in unistd.h
21497 do :
21498 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21499 if test "x$ac_cv_header_unistd_h" = xyes; then :
21500 cat >>confdefs.h <<_ACEOF
21501 #define HAVE_UNISTD_H 1
21502 _ACEOF
21503 ac_has_unistd_h=yes
21504 else
21505 ac_has_unistd_h=no
21508 done
21511 if test x"$ac_has_unistd_h" = x"yes"; then
21512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
21513 $as_echo_n "checking for monotonic clock... " >&6; }
21514 if test x$gcc_no_link = xyes; then
21515 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21518 /* end confdefs.h. */
21519 #include <unistd.h>
21520 #include <time.h>
21523 main ()
21525 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21526 timespec tp;
21527 #endif
21528 clock_gettime(CLOCK_MONOTONIC, &tp);
21531 return 0;
21533 _ACEOF
21534 if ac_fn_cxx_try_link "$LINENO"; then :
21535 ac_has_clock_monotonic=yes
21536 else
21537 ac_has_clock_monotonic=no
21539 rm -f core conftest.err conftest.$ac_objext \
21540 conftest$ac_exeext conftest.$ac_ext
21542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
21543 $as_echo "$ac_has_clock_monotonic" >&6; }
21545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
21546 $as_echo_n "checking for realtime clock... " >&6; }
21547 if test x$gcc_no_link = xyes; then
21548 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21551 /* end confdefs.h. */
21552 #include <unistd.h>
21553 #include <time.h>
21556 main ()
21558 #if _POSIX_TIMERS > 0
21559 timespec tp;
21560 #endif
21561 clock_gettime(CLOCK_REALTIME, &tp);
21564 return 0;
21566 _ACEOF
21567 if ac_fn_cxx_try_link "$LINENO"; then :
21568 ac_has_clock_realtime=yes
21569 else
21570 ac_has_clock_realtime=no
21572 rm -f core conftest.err conftest.$ac_objext \
21573 conftest$ac_exeext conftest.$ac_ext
21575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
21576 $as_echo "$ac_has_clock_realtime" >&6; }
21578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
21579 $as_echo_n "checking for nanosleep... " >&6; }
21580 if test x$gcc_no_link = xyes; then
21581 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21584 /* end confdefs.h. */
21585 #include <unistd.h>
21586 #include <time.h>
21589 main ()
21591 #if _POSIX_TIMERS > 0
21592 timespec tp;
21593 #endif
21594 nanosleep(&tp, 0);
21597 return 0;
21599 _ACEOF
21600 if ac_fn_cxx_try_link "$LINENO"; then :
21601 ac_has_nanosleep=yes
21602 else
21603 ac_has_nanosleep=no
21605 rm -f core conftest.err conftest.$ac_objext \
21606 conftest$ac_exeext conftest.$ac_ext
21608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
21609 $as_echo "$ac_has_nanosleep" >&6; }
21613 if test x"$ac_has_clock_monotonic" != x"yes"; then
21614 case ${target_os} in
21615 linux* | uclinux*)
21616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
21617 $as_echo_n "checking for clock_gettime syscall... " >&6; }
21618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21619 /* end confdefs.h. */
21620 #include <unistd.h>
21621 #include <time.h>
21622 #include <sys/syscall.h>
21625 main ()
21627 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21628 timespec tp;
21629 #endif
21630 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
21631 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
21634 return 0;
21636 _ACEOF
21637 if ac_fn_cxx_try_compile "$LINENO"; then :
21638 ac_has_clock_monotonic_syscall=yes
21639 else
21640 ac_has_clock_monotonic_syscall=no
21642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
21644 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
21645 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
21647 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
21649 ac_has_clock_monotonic=yes
21650 ac_has_clock_realtime=yes
21651 fi;;
21652 esac
21655 if test x"$ac_has_clock_monotonic" = x"yes"; then
21657 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21661 if test x"$ac_has_clock_realtime" = x"yes"; then
21663 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21667 if test x"$ac_has_sched_yield" = x"yes"; then
21669 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21673 if test x"$ac_has_nanosleep" = x"yes"; then
21675 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21677 else
21678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21679 $as_echo_n "checking for sleep... " >&6; }
21680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21681 /* end confdefs.h. */
21682 #include <unistd.h>
21684 main ()
21686 sleep(1)
21688 return 0;
21690 _ACEOF
21691 if ac_fn_cxx_try_compile "$LINENO"; then :
21692 ac_has_sleep=yes
21693 else
21694 ac_has_sleep=no
21696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21697 if test x"$ac_has_sleep" = x"yes"; then
21699 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21703 $as_echo "$ac_has_sleep" >&6; }
21704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21705 $as_echo_n "checking for usleep... " >&6; }
21706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21707 /* end confdefs.h. */
21708 #include <unistd.h>
21710 main ()
21712 sleep(1);
21713 usleep(100);
21715 return 0;
21717 _ACEOF
21718 if ac_fn_cxx_try_compile "$LINENO"; then :
21719 ac_has_usleep=yes
21720 else
21721 ac_has_usleep=no
21723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21724 if test x"$ac_has_usleep" = x"yes"; then
21726 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21730 $as_echo "$ac_has_usleep" >&6; }
21733 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21735 $as_echo_n "checking for Sleep... " >&6; }
21736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21737 /* end confdefs.h. */
21738 #include <windows.h>
21740 main ()
21742 Sleep(1)
21744 return 0;
21746 _ACEOF
21747 if ac_fn_cxx_try_compile "$LINENO"; then :
21748 ac_has_win32_sleep=yes
21749 else
21750 ac_has_win32_sleep=no
21752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21753 if test x"$ac_has_win32_sleep" = x"yes"; then
21755 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21759 $as_echo "$ac_has_win32_sleep" >&6; }
21764 CXXFLAGS="$ac_save_CXXFLAGS"
21765 LIBS="$ac_save_LIBS"
21766 ac_ext=c
21767 ac_cpp='$CPP $CPPFLAGS'
21768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21774 # Check for tmpnam which is obsolescent in POSIX.1-2008
21776 ac_ext=cpp
21777 ac_cpp='$CXXCPP $CPPFLAGS'
21778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21782 ac_save_CXXFLAGS="$CXXFLAGS"
21783 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21785 $as_echo_n "checking for tmpnam... " >&6; }
21786 if ${glibcxx_cv_TMPNAM+:} false; then :
21787 $as_echo_n "(cached) " >&6
21788 else
21789 if test x$gcc_no_link = xyes; then
21790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21791 /* end confdefs.h. */
21792 #include <stdio.h>
21794 main ()
21796 char *tmp = tmpnam(NULL);
21798 return 0;
21800 _ACEOF
21801 if ac_fn_cxx_try_compile "$LINENO"; then :
21802 glibcxx_cv_TMPNAM=yes
21803 else
21804 glibcxx_cv_TMPNAM=no
21806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21807 else
21808 if test x$gcc_no_link = xyes; then
21809 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21812 /* end confdefs.h. */
21813 #include <stdio.h>
21815 main ()
21817 char *tmp = tmpnam(NULL);
21819 return 0;
21821 _ACEOF
21822 if ac_fn_cxx_try_link "$LINENO"; then :
21823 glibcxx_cv_TMPNAM=yes
21824 else
21825 glibcxx_cv_TMPNAM=no
21827 rm -f core conftest.err conftest.$ac_objext \
21828 conftest$ac_exeext conftest.$ac_ext
21833 if test $glibcxx_cv_TMPNAM = yes; then
21835 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21839 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21840 CXXFLAGS="$ac_save_CXXFLAGS"
21841 ac_ext=c
21842 ac_cpp='$CPP $CPPFLAGS'
21843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21849 # For pthread_cond_clockwait
21853 ac_ext=cpp
21854 ac_cpp='$CXXCPP $CPPFLAGS'
21855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21859 ac_save_CXXFLAGS="$CXXFLAGS"
21860 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21861 ac_save_LIBS="$LIBS"
21862 LIBS="$LIBS -lpthread"
21864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_clockwait" >&5
21865 $as_echo_n "checking for pthread_cond_clockwait... " >&6; }
21866 if ${glibcxx_cv_PTHREAD_COND_CLOCKWAIT+:} false; then :
21867 $as_echo_n "(cached) " >&6
21868 else
21870 if test x$gcc_no_link = xyes; then
21871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21872 /* end confdefs.h. */
21873 #include <pthread.h>
21875 main ()
21877 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21879 return 0;
21881 _ACEOF
21882 if ac_fn_cxx_try_compile "$LINENO"; then :
21883 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21884 else
21885 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21888 else
21889 if test x$gcc_no_link = xyes; then
21890 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21893 /* end confdefs.h. */
21894 #include <pthread.h>
21896 main ()
21898 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21900 return 0;
21902 _ACEOF
21903 if ac_fn_cxx_try_link "$LINENO"; then :
21904 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21905 else
21906 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21908 rm -f core conftest.err conftest.$ac_objext \
21909 conftest$ac_exeext conftest.$ac_ext
21914 if test $glibcxx_cv_PTHREAD_COND_CLOCKWAIT = yes; then
21916 $as_echo "#define _GLIBCXX_USE_PTHREAD_COND_CLOCKWAIT 1" >>confdefs.h
21919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&5
21920 $as_echo "$glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&6; }
21922 CXXFLAGS="$ac_save_CXXFLAGS"
21923 LIBS="$ac_save_LIBS"
21924 ac_ext=c
21925 ac_cpp='$CPP $CPPFLAGS'
21926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21932 # For pthread_mutex_clocklock
21936 ac_ext=cpp
21937 ac_cpp='$CXXCPP $CPPFLAGS'
21938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21942 ac_save_CXXFLAGS="$CXXFLAGS"
21943 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21944 ac_save_LIBS="$LIBS"
21945 LIBS="$LIBS -lpthread"
21947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_clocklock" >&5
21948 $as_echo_n "checking for pthread_mutex_clocklock... " >&6; }
21949 if ${glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK+:} false; then :
21950 $as_echo_n "(cached) " >&6
21951 else
21953 if test x$gcc_no_link = xyes; then
21954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21955 /* end confdefs.h. */
21956 #include <pthread.h>
21958 main ()
21960 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21962 return 0;
21964 _ACEOF
21965 if ac_fn_cxx_try_compile "$LINENO"; then :
21966 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21967 else
21968 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21971 else
21972 if test x$gcc_no_link = xyes; then
21973 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21976 /* end confdefs.h. */
21977 #include <pthread.h>
21979 main ()
21981 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21983 return 0;
21985 _ACEOF
21986 if ac_fn_cxx_try_link "$LINENO"; then :
21987 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21988 else
21989 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21991 rm -f core conftest.err conftest.$ac_objext \
21992 conftest$ac_exeext conftest.$ac_ext
21997 if test $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK = yes; then
21999 $as_echo "#define _GLIBCXX_USE_PTHREAD_MUTEX_CLOCKLOCK 1" >>confdefs.h
22002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&5
22003 $as_echo "$glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&6; }
22005 CXXFLAGS="$ac_save_CXXFLAGS"
22006 LIBS="$ac_save_LIBS"
22007 ac_ext=c
22008 ac_cpp='$CPP $CPPFLAGS'
22009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22015 # For pthread_rwlock_clockrdlock and pthread_rwlock_clockwrlock
22019 ac_ext=cpp
22020 ac_cpp='$CXXCPP $CPPFLAGS'
22021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22025 ac_save_CXXFLAGS="$CXXFLAGS"
22026 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22027 ac_save_LIBS="$LIBS"
22028 LIBS="$LIBS -lpthread"
22030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock" >&5
22031 $as_echo_n "checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock... " >&6; }
22032 if ${glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK+:} false; then :
22033 $as_echo_n "(cached) " >&6
22034 else
22036 if test x$gcc_no_link = xyes; then
22037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22038 /* end confdefs.h. */
22039 #include <pthread.h>
22041 main ()
22043 pthread_rwlock_t rwl; struct timespec ts;
22044 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
22045 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
22047 return 0;
22049 _ACEOF
22050 if ac_fn_cxx_try_compile "$LINENO"; then :
22051 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
22052 else
22053 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
22055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22056 else
22057 if test x$gcc_no_link = xyes; then
22058 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22061 /* end confdefs.h. */
22062 #include <pthread.h>
22064 main ()
22066 pthread_rwlock_t rwl; struct timespec ts;
22067 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
22068 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
22070 return 0;
22072 _ACEOF
22073 if ac_fn_cxx_try_link "$LINENO"; then :
22074 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
22075 else
22076 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
22078 rm -f core conftest.err conftest.$ac_objext \
22079 conftest$ac_exeext conftest.$ac_ext
22084 if test $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK = yes; then
22086 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_CLOCKLOCK 1" >>confdefs.h
22089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&5
22090 $as_echo "$glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&6; }
22092 CXXFLAGS="$ac_save_CXXFLAGS"
22093 LIBS="$ac_save_LIBS"
22094 ac_ext=c
22095 ac_cpp='$CPP $CPPFLAGS'
22096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22103 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
22104 if test "x$ac_cv_header_locale_h" = xyes; then :
22106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
22107 $as_echo_n "checking for LC_MESSAGES... " >&6; }
22108 if ${ac_cv_val_LC_MESSAGES+:} false; then :
22109 $as_echo_n "(cached) " >&6
22110 else
22111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22112 /* end confdefs.h. */
22113 #include <locale.h>
22115 main ()
22117 return LC_MESSAGES
22119 return 0;
22121 _ACEOF
22122 if ac_fn_c_try_compile "$LINENO"; then :
22123 ac_cv_val_LC_MESSAGES=yes
22124 else
22125 ac_cv_val_LC_MESSAGES=no
22127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
22130 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
22131 if test $ac_cv_val_LC_MESSAGES = yes; then
22133 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
22142 # For hardware_concurrency
22143 for ac_header in sys/sysinfo.h
22144 do :
22145 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
22146 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
22147 cat >>confdefs.h <<_ACEOF
22148 #define HAVE_SYS_SYSINFO_H 1
22149 _ACEOF
22153 done
22158 ac_ext=cpp
22159 ac_cpp='$CXXCPP $CPPFLAGS'
22160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22164 ac_save_CXXFLAGS="$CXXFLAGS"
22165 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
22168 $as_echo_n "checking for get_nprocs... " >&6; }
22169 if ${glibcxx_cv_GET_NPROCS+:} false; then :
22170 $as_echo_n "(cached) " >&6
22171 else
22173 if test x$gcc_no_link = xyes; then
22174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22175 /* end confdefs.h. */
22176 #include <sys/sysinfo.h>
22178 main ()
22180 int n = get_nprocs();
22182 return 0;
22184 _ACEOF
22185 if ac_fn_cxx_try_compile "$LINENO"; then :
22186 glibcxx_cv_GET_NPROCS=yes
22187 else
22188 glibcxx_cv_GET_NPROCS=no
22190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22191 else
22192 if test x$gcc_no_link = xyes; then
22193 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22196 /* end confdefs.h. */
22197 #include <sys/sysinfo.h>
22199 main ()
22201 int n = get_nprocs();
22203 return 0;
22205 _ACEOF
22206 if ac_fn_cxx_try_link "$LINENO"; then :
22207 glibcxx_cv_GET_NPROCS=yes
22208 else
22209 glibcxx_cv_GET_NPROCS=no
22211 rm -f core conftest.err conftest.$ac_objext \
22212 conftest$ac_exeext conftest.$ac_ext
22217 if test $glibcxx_cv_GET_NPROCS = yes; then
22219 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
22222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
22223 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
22225 CXXFLAGS="$ac_save_CXXFLAGS"
22226 ac_ext=c
22227 ac_cpp='$CPP $CPPFLAGS'
22228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22233 for ac_header in unistd.h
22234 do :
22235 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
22236 if test "x$ac_cv_header_unistd_h" = xyes; then :
22237 cat >>confdefs.h <<_ACEOF
22238 #define HAVE_UNISTD_H 1
22239 _ACEOF
22243 done
22248 ac_ext=cpp
22249 ac_cpp='$CXXCPP $CPPFLAGS'
22250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22254 ac_save_CXXFLAGS="$CXXFLAGS"
22255 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
22258 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
22259 if ${glibcxx_cv_SC_NPROCESSORS_ONLN+:} false; then :
22260 $as_echo_n "(cached) " >&6
22261 else
22263 if test x$gcc_no_link = xyes; then
22264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22265 /* end confdefs.h. */
22266 #include <unistd.h>
22268 main ()
22270 int n = sysconf(_SC_NPROCESSORS_ONLN);
22272 return 0;
22274 _ACEOF
22275 if ac_fn_cxx_try_compile "$LINENO"; then :
22276 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
22277 else
22278 glibcxx_cv_SC_NPROCESSORS_ONLN=no
22280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22281 else
22282 if test x$gcc_no_link = xyes; then
22283 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22286 /* end confdefs.h. */
22287 #include <unistd.h>
22289 main ()
22291 int n = sysconf(_SC_NPROCESSORS_ONLN);
22293 return 0;
22295 _ACEOF
22296 if ac_fn_cxx_try_link "$LINENO"; then :
22297 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
22298 else
22299 glibcxx_cv_SC_NPROCESSORS_ONLN=no
22301 rm -f core conftest.err conftest.$ac_objext \
22302 conftest$ac_exeext conftest.$ac_ext
22307 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
22309 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
22312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
22313 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
22315 CXXFLAGS="$ac_save_CXXFLAGS"
22316 ac_ext=c
22317 ac_cpp='$CPP $CPPFLAGS'
22318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22326 ac_ext=cpp
22327 ac_cpp='$CXXCPP $CPPFLAGS'
22328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22332 ac_save_CXXFLAGS="$CXXFLAGS"
22333 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
22336 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
22337 if ${glibcxx_cv_SC_NPROC_ONLN+:} false; then :
22338 $as_echo_n "(cached) " >&6
22339 else
22341 if test x$gcc_no_link = xyes; then
22342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22343 /* end confdefs.h. */
22344 #include <unistd.h>
22346 main ()
22348 int n = sysconf(_SC_NPROC_ONLN);
22350 return 0;
22352 _ACEOF
22353 if ac_fn_cxx_try_compile "$LINENO"; then :
22354 glibcxx_cv_SC_NPROC_ONLN=yes
22355 else
22356 glibcxx_cv_SC_NPROC_ONLN=no
22358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22359 else
22360 if test x$gcc_no_link = xyes; then
22361 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22364 /* end confdefs.h. */
22365 #include <unistd.h>
22367 main ()
22369 int n = sysconf(_SC_NPROC_ONLN);
22371 return 0;
22373 _ACEOF
22374 if ac_fn_cxx_try_link "$LINENO"; then :
22375 glibcxx_cv_SC_NPROC_ONLN=yes
22376 else
22377 glibcxx_cv_SC_NPROC_ONLN=no
22379 rm -f core conftest.err conftest.$ac_objext \
22380 conftest$ac_exeext conftest.$ac_ext
22385 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
22387 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
22390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
22391 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
22393 CXXFLAGS="$ac_save_CXXFLAGS"
22394 ac_ext=c
22395 ac_cpp='$CPP $CPPFLAGS'
22396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22404 ac_ext=cpp
22405 ac_cpp='$CXXCPP $CPPFLAGS'
22406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22410 ac_save_CXXFLAGS="$CXXFLAGS"
22411 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
22414 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
22415 if ${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+:} false; then :
22416 $as_echo_n "(cached) " >&6
22417 else
22419 if test x$gcc_no_link = xyes; then
22420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22421 /* end confdefs.h. */
22422 #include <pthread.h>
22424 main ()
22426 int n = pthread_num_processors_np();
22428 return 0;
22430 _ACEOF
22431 if ac_fn_cxx_try_compile "$LINENO"; then :
22432 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
22433 else
22434 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
22436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22437 else
22438 if test x$gcc_no_link = xyes; then
22439 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22442 /* end confdefs.h. */
22443 #include <pthread.h>
22445 main ()
22447 int n = pthread_num_processors_np();
22449 return 0;
22451 _ACEOF
22452 if ac_fn_cxx_try_link "$LINENO"; then :
22453 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
22454 else
22455 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
22457 rm -f core conftest.err conftest.$ac_objext \
22458 conftest$ac_exeext conftest.$ac_ext
22463 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
22465 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
22468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
22469 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
22471 CXXFLAGS="$ac_save_CXXFLAGS"
22472 ac_ext=c
22473 ac_cpp='$CPP $CPPFLAGS'
22474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22482 ac_ext=cpp
22483 ac_cpp='$CXXCPP $CPPFLAGS'
22484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22488 ac_save_CXXFLAGS="$CXXFLAGS"
22489 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
22492 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
22493 if ${glibcxx_cv_SYSCTL_HW_NCPU+:} false; then :
22494 $as_echo_n "(cached) " >&6
22495 else
22497 if test x$gcc_no_link = xyes; then
22498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22499 /* end confdefs.h. */
22501 #include <stddef.h>
22502 #include <sys/sysctl.h>
22505 main ()
22508 int count;
22509 size_t size = sizeof(count);
22510 int mib[] = { CTL_HW, HW_NCPU };
22511 sysctl(mib, 2, &count, &size, NULL, 0);
22514 return 0;
22516 _ACEOF
22517 if ac_fn_cxx_try_compile "$LINENO"; then :
22518 glibcxx_cv_SYSCTL_HW_NCPU=yes
22519 else
22520 glibcxx_cv_SYSCTL_HW_NCPU=no
22522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22523 else
22524 if test x$gcc_no_link = xyes; then
22525 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22528 /* end confdefs.h. */
22530 #include <stddef.h>
22531 #include <sys/sysctl.h>
22534 main ()
22537 int count;
22538 size_t size = sizeof(count);
22539 int mib[] = { CTL_HW, HW_NCPU };
22540 sysctl(mib, 2, &count, &size, NULL, 0);
22543 return 0;
22545 _ACEOF
22546 if ac_fn_cxx_try_link "$LINENO"; then :
22547 glibcxx_cv_SYSCTL_HW_NCPU=yes
22548 else
22549 glibcxx_cv_SYSCTL_HW_NCPU=no
22551 rm -f core conftest.err conftest.$ac_objext \
22552 conftest$ac_exeext conftest.$ac_ext
22557 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
22559 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
22562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
22563 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
22565 CXXFLAGS="$ac_save_CXXFLAGS"
22566 ac_ext=c
22567 ac_cpp='$CPP $CPPFLAGS'
22568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
22575 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
22576 # Note that this test has to be run with the C language.
22577 # Otherwise, sdt.h will try to include some headers from
22578 # libstdc++ itself.
22580 ac_ext=c
22581 ac_cpp='$CPP $CPPFLAGS'
22582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22586 if ${glibcxx_cv_sys_sdt_h+:} false; then :
22587 $as_echo_n "(cached) " >&6
22588 else
22590 # Because we have to run the test in C, we use grep rather
22591 # than the compiler to check for the bug. The bug is that
22592 # were strings without trailing whitespace, causing g++
22593 # to look for operator"". The pattern searches for the fixed
22594 # output.
22595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22596 /* end confdefs.h. */
22598 #include <sys/sdt.h>
22599 int f() { STAP_PROBE(hi, bob); }
22601 _ACEOF
22602 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22603 $EGREP " \",\" " >/dev/null 2>&1; then :
22604 glibcxx_cv_sys_sdt_h=yes
22605 else
22606 glibcxx_cv_sys_sdt_h=no
22608 rm -f conftest*
22613 ac_ext=c
22614 ac_cpp='$CPP $CPPFLAGS'
22615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22619 if test $glibcxx_cv_sys_sdt_h = yes; then
22621 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
22624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
22625 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
22628 # Check for available headers.
22629 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
22630 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
22631 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
22632 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
22633 wchar.h wctype.h linux/types.h
22634 do :
22635 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22636 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
22637 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
22638 cat >>confdefs.h <<_ACEOF
22639 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22640 _ACEOF
22644 done
22647 for ac_header in linux/random.h
22648 do :
22649 ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
22650 # include <linux/types.h>
22651 #endif
22654 if test "x$ac_cv_header_linux_random_h" = xyes; then :
22655 cat >>confdefs.h <<_ACEOF
22656 #define HAVE_LINUX_RANDOM_H 1
22657 _ACEOF
22661 done
22664 # Only do link tests if native. Else, hardcode.
22665 if $GLIBCXX_IS_NATIVE; then
22667 # We can do more elaborate tests that assume a working linker.
22668 CANADIAN=no
22672 # Check whether --with-gnu-ld was given.
22673 if test "${with_gnu_ld+set}" = set; then :
22674 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
22675 else
22676 with_gnu_ld=no
22679 ac_prog=ld
22680 if test "$GCC" = yes; then
22681 # Check if gcc -print-prog-name=ld gives a path.
22682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
22683 $as_echo_n "checking for ld used by $CC... " >&6; }
22684 case $host in
22685 *-*-mingw*)
22686 # gcc leaves a trailing carriage return which upsets mingw
22687 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
22689 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
22690 esac
22691 case $ac_prog in
22692 # Accept absolute paths.
22693 [\\/]* | ?:[\\/]*)
22694 re_direlt='/[^/][^/]*/\.\./'
22695 # Canonicalize the pathname of ld
22696 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
22697 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
22698 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
22699 done
22700 test -z "$LD" && LD="$ac_prog"
22703 # If it fails, then pretend we aren't using GCC.
22704 ac_prog=ld
22707 # If it is relative, then search for the first ld in PATH.
22708 with_gnu_ld=unknown
22710 esac
22711 elif test "$with_gnu_ld" = yes; then
22712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
22713 $as_echo_n "checking for GNU ld... " >&6; }
22714 else
22715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
22716 $as_echo_n "checking for non-GNU ld... " >&6; }
22718 if ${lt_cv_path_LD+:} false; then :
22719 $as_echo_n "(cached) " >&6
22720 else
22721 if test -z "$LD"; then
22722 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
22723 for ac_dir in $PATH; do
22724 IFS="$lt_save_ifs"
22725 test -z "$ac_dir" && ac_dir=.
22726 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
22727 lt_cv_path_LD="$ac_dir/$ac_prog"
22728 # Check to see if the program is GNU ld. I'd rather use --version,
22729 # but apparently some variants of GNU ld only accept -v.
22730 # Break only if it was the GNU/non-GNU ld that we prefer.
22731 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
22732 *GNU* | *'with BFD'*)
22733 test "$with_gnu_ld" != no && break
22736 test "$with_gnu_ld" != yes && break
22738 esac
22740 done
22741 IFS="$lt_save_ifs"
22742 else
22743 lt_cv_path_LD="$LD" # Let the user override the test with a path.
22747 LD="$lt_cv_path_LD"
22748 if test -n "$LD"; then
22749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
22750 $as_echo "$LD" >&6; }
22751 else
22752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22753 $as_echo "no" >&6; }
22755 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
22756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
22757 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
22758 if ${lt_cv_prog_gnu_ld+:} false; then :
22759 $as_echo_n "(cached) " >&6
22760 else
22761 # I'd rather use --version here, but apparently some GNU lds only accept -v.
22762 case `$LD -v 2>&1 </dev/null` in
22763 *GNU* | *'with BFD'*)
22764 lt_cv_prog_gnu_ld=yes
22767 lt_cv_prog_gnu_ld=no
22769 esac
22771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
22772 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
22773 with_gnu_ld=$lt_cv_prog_gnu_ld
22781 # If we're not using GNU ld, then there's no point in even trying these
22782 # tests. Check for that first. We should have already tested for gld
22783 # by now (in libtool), but require it now just to be safe...
22784 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
22785 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
22789 # The name set by libtool depends on the version of libtool. Shame on us
22790 # for depending on an impl detail, but c'est la vie. Older versions used
22791 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
22792 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
22793 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
22794 # set (hence we're using an older libtool), then set it.
22795 if test x${with_gnu_ld+set} != xset; then
22796 if test x${ac_cv_prog_gnu_ld+set} != xset; then
22797 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
22798 with_gnu_ld=no
22799 else
22800 with_gnu_ld=$ac_cv_prog_gnu_ld
22804 # Start by getting the version number. I think the libtool test already
22805 # does some of this, but throws away the result.
22806 glibcxx_ld_is_gold=no
22807 if test x"$with_gnu_ld" = x"yes"; then
22808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
22809 $as_echo_n "checking for ld version... " >&6; }
22811 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
22812 glibcxx_ld_is_gold=yes
22814 ldver=`$LD --version 2>/dev/null |
22815 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
22817 glibcxx_gnu_ld_version=`echo $ldver | \
22818 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
22819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
22820 $as_echo "$glibcxx_gnu_ld_version" >&6; }
22823 # Set --gc-sections.
22824 glibcxx_have_gc_sections=no
22825 if test "$glibcxx_ld_is_gold" = "yes"; then
22826 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
22827 glibcxx_have_gc_sections=yes
22829 else
22830 glibcxx_gcsections_min_ld=21602
22831 if test x"$with_gnu_ld" = x"yes" &&
22832 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
22833 glibcxx_have_gc_sections=yes
22836 if test "$glibcxx_have_gc_sections" = "yes"; then
22837 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
22838 # NB: This flag only works reliably after 2.16.1. Configure tests
22839 # for this are difficult, so hard wire a value that should work.
22841 ac_test_CFLAGS="${CFLAGS+set}"
22842 ac_save_CFLAGS="$CFLAGS"
22843 CFLAGS='-Wl,--gc-sections'
22845 # Check for -Wl,--gc-sections
22846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22847 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22848 if test x$gcc_no_link = xyes; then
22849 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22852 /* end confdefs.h. */
22853 int one(void) { return 1; }
22854 int two(void) { return 2; }
22857 main ()
22859 two();
22861 return 0;
22863 _ACEOF
22864 if ac_fn_c_try_link "$LINENO"; then :
22865 ac_gcsections=yes
22866 else
22867 ac_gcsections=no
22869 rm -f core conftest.err conftest.$ac_objext \
22870 conftest$ac_exeext conftest.$ac_ext
22871 if test "$ac_gcsections" = "yes"; then
22872 rm -f conftest.c
22873 touch conftest.c
22874 if $CC -c conftest.c; then
22875 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22876 grep "Warning: gc-sections option ignored" > /dev/null; then
22877 ac_gcsections=no
22880 rm -f conftest.c conftest.o conftest
22882 if test "$ac_gcsections" = "yes"; then
22883 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22886 $as_echo "$ac_gcsections" >&6; }
22888 if test "$ac_test_CFLAGS" = set; then
22889 CFLAGS="$ac_save_CFLAGS"
22890 else
22891 # this is the suspicious part
22892 CFLAGS=''
22896 # Set -z,relro.
22897 # Note this is only for shared objects.
22898 ac_ld_relro=no
22899 if test x"$with_gnu_ld" = x"yes"; then
22900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22901 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22902 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22903 if test -n "$cxx_z_relo"; then
22904 OPT_LDFLAGS="-Wl,-z,relro"
22905 ac_ld_relro=yes
22907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22908 $as_echo "$ac_ld_relro" >&6; }
22911 # Set linker optimization flags.
22912 if test x"$with_gnu_ld" = x"yes"; then
22913 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22920 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22921 ac_save_CXXFLAGS="$CXXFLAGS"
22922 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22925 $as_echo_n "checking for sin in -lm... " >&6; }
22926 if ${ac_cv_lib_m_sin+:} false; then :
22927 $as_echo_n "(cached) " >&6
22928 else
22929 ac_check_lib_save_LIBS=$LIBS
22930 LIBS="-lm $LIBS"
22931 if test x$gcc_no_link = xyes; then
22932 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22935 /* end confdefs.h. */
22937 /* Override any GCC internal prototype to avoid an error.
22938 Use char because int might match the return type of a GCC
22939 builtin and then its argument prototype would still apply. */
22940 #ifdef __cplusplus
22941 extern "C"
22942 #endif
22943 char sin ();
22945 main ()
22947 return sin ();
22949 return 0;
22951 _ACEOF
22952 if ac_fn_c_try_link "$LINENO"; then :
22953 ac_cv_lib_m_sin=yes
22954 else
22955 ac_cv_lib_m_sin=no
22957 rm -f core conftest.err conftest.$ac_objext \
22958 conftest$ac_exeext conftest.$ac_ext
22959 LIBS=$ac_check_lib_save_LIBS
22961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22962 $as_echo "$ac_cv_lib_m_sin" >&6; }
22963 if test "x$ac_cv_lib_m_sin" = xyes; then :
22964 libm="-lm"
22967 ac_save_LIBS="$LIBS"
22968 LIBS="$LIBS $libm"
22972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22973 $as_echo_n "checking for isinf declaration... " >&6; }
22974 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22975 if ${glibcxx_cv_func_isinf_use+:} false; then :
22976 $as_echo_n "(cached) " >&6
22977 else
22980 ac_ext=cpp
22981 ac_cpp='$CXXCPP $CPPFLAGS'
22982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22987 /* end confdefs.h. */
22988 #include <math.h>
22989 #ifdef HAVE_IEEEFP_H
22990 #include <ieeefp.h>
22991 #endif
22994 main ()
22996 isinf(0);
22998 return 0;
23000 _ACEOF
23001 if ac_fn_cxx_try_compile "$LINENO"; then :
23002 glibcxx_cv_func_isinf_use=yes
23003 else
23004 glibcxx_cv_func_isinf_use=no
23006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23007 ac_ext=c
23008 ac_cpp='$CPP $CPPFLAGS'
23009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
23018 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
23020 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
23021 for ac_func in isinf
23022 do :
23023 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
23024 if test "x$ac_cv_func_isinf" = xyes; then :
23025 cat >>confdefs.h <<_ACEOF
23026 #define HAVE_ISINF 1
23027 _ACEOF
23030 done
23032 else
23034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
23035 $as_echo_n "checking for _isinf declaration... " >&6; }
23036 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
23037 if ${glibcxx_cv_func__isinf_use+:} false; then :
23038 $as_echo_n "(cached) " >&6
23039 else
23042 ac_ext=cpp
23043 ac_cpp='$CXXCPP $CPPFLAGS'
23044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23049 /* end confdefs.h. */
23050 #include <math.h>
23051 #ifdef HAVE_IEEEFP_H
23052 #include <ieeefp.h>
23053 #endif
23056 main ()
23058 _isinf(0);
23060 return 0;
23062 _ACEOF
23063 if ac_fn_cxx_try_compile "$LINENO"; then :
23064 glibcxx_cv_func__isinf_use=yes
23065 else
23066 glibcxx_cv_func__isinf_use=no
23068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23069 ac_ext=c
23070 ac_cpp='$CPP $CPPFLAGS'
23071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
23080 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
23082 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
23083 for ac_func in _isinf
23084 do :
23085 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
23086 if test "x$ac_cv_func__isinf" = xyes; then :
23087 cat >>confdefs.h <<_ACEOF
23088 #define HAVE__ISINF 1
23089 _ACEOF
23092 done
23101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
23102 $as_echo_n "checking for isnan declaration... " >&6; }
23103 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
23104 if ${glibcxx_cv_func_isnan_use+:} false; then :
23105 $as_echo_n "(cached) " >&6
23106 else
23109 ac_ext=cpp
23110 ac_cpp='$CXXCPP $CPPFLAGS'
23111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23116 /* end confdefs.h. */
23117 #include <math.h>
23118 #ifdef HAVE_IEEEFP_H
23119 #include <ieeefp.h>
23120 #endif
23123 main ()
23125 isnan(0);
23127 return 0;
23129 _ACEOF
23130 if ac_fn_cxx_try_compile "$LINENO"; then :
23131 glibcxx_cv_func_isnan_use=yes
23132 else
23133 glibcxx_cv_func_isnan_use=no
23135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23136 ac_ext=c
23137 ac_cpp='$CPP $CPPFLAGS'
23138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
23147 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
23149 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
23150 for ac_func in isnan
23151 do :
23152 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
23153 if test "x$ac_cv_func_isnan" = xyes; then :
23154 cat >>confdefs.h <<_ACEOF
23155 #define HAVE_ISNAN 1
23156 _ACEOF
23159 done
23161 else
23163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
23164 $as_echo_n "checking for _isnan declaration... " >&6; }
23165 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
23166 if ${glibcxx_cv_func__isnan_use+:} false; then :
23167 $as_echo_n "(cached) " >&6
23168 else
23171 ac_ext=cpp
23172 ac_cpp='$CXXCPP $CPPFLAGS'
23173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23178 /* end confdefs.h. */
23179 #include <math.h>
23180 #ifdef HAVE_IEEEFP_H
23181 #include <ieeefp.h>
23182 #endif
23185 main ()
23187 _isnan(0);
23189 return 0;
23191 _ACEOF
23192 if ac_fn_cxx_try_compile "$LINENO"; then :
23193 glibcxx_cv_func__isnan_use=yes
23194 else
23195 glibcxx_cv_func__isnan_use=no
23197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23198 ac_ext=c
23199 ac_cpp='$CPP $CPPFLAGS'
23200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
23209 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
23211 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
23212 for ac_func in _isnan
23213 do :
23214 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
23215 if test "x$ac_cv_func__isnan" = xyes; then :
23216 cat >>confdefs.h <<_ACEOF
23217 #define HAVE__ISNAN 1
23218 _ACEOF
23221 done
23230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
23231 $as_echo_n "checking for finite declaration... " >&6; }
23232 if test x${glibcxx_cv_func_finite_use+set} != xset; then
23233 if ${glibcxx_cv_func_finite_use+:} false; then :
23234 $as_echo_n "(cached) " >&6
23235 else
23238 ac_ext=cpp
23239 ac_cpp='$CXXCPP $CPPFLAGS'
23240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23245 /* end confdefs.h. */
23246 #include <math.h>
23247 #ifdef HAVE_IEEEFP_H
23248 #include <ieeefp.h>
23249 #endif
23252 main ()
23254 finite(0);
23256 return 0;
23258 _ACEOF
23259 if ac_fn_cxx_try_compile "$LINENO"; then :
23260 glibcxx_cv_func_finite_use=yes
23261 else
23262 glibcxx_cv_func_finite_use=no
23264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23265 ac_ext=c
23266 ac_cpp='$CPP $CPPFLAGS'
23267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
23276 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
23278 if test x$glibcxx_cv_func_finite_use = x"yes"; then
23279 for ac_func in finite
23280 do :
23281 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
23282 if test "x$ac_cv_func_finite" = xyes; then :
23283 cat >>confdefs.h <<_ACEOF
23284 #define HAVE_FINITE 1
23285 _ACEOF
23288 done
23290 else
23292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
23293 $as_echo_n "checking for _finite declaration... " >&6; }
23294 if test x${glibcxx_cv_func__finite_use+set} != xset; then
23295 if ${glibcxx_cv_func__finite_use+:} false; then :
23296 $as_echo_n "(cached) " >&6
23297 else
23300 ac_ext=cpp
23301 ac_cpp='$CXXCPP $CPPFLAGS'
23302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23307 /* end confdefs.h. */
23308 #include <math.h>
23309 #ifdef HAVE_IEEEFP_H
23310 #include <ieeefp.h>
23311 #endif
23314 main ()
23316 _finite(0);
23318 return 0;
23320 _ACEOF
23321 if ac_fn_cxx_try_compile "$LINENO"; then :
23322 glibcxx_cv_func__finite_use=yes
23323 else
23324 glibcxx_cv_func__finite_use=no
23326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23327 ac_ext=c
23328 ac_cpp='$CPP $CPPFLAGS'
23329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
23338 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
23340 if test x$glibcxx_cv_func__finite_use = x"yes"; then
23341 for ac_func in _finite
23342 do :
23343 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
23344 if test "x$ac_cv_func__finite" = xyes; then :
23345 cat >>confdefs.h <<_ACEOF
23346 #define HAVE__FINITE 1
23347 _ACEOF
23350 done
23359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
23360 $as_echo_n "checking for sincos declaration... " >&6; }
23361 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
23362 if ${glibcxx_cv_func_sincos_use+:} false; then :
23363 $as_echo_n "(cached) " >&6
23364 else
23367 ac_ext=cpp
23368 ac_cpp='$CXXCPP $CPPFLAGS'
23369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23374 /* end confdefs.h. */
23375 #include <math.h>
23377 main ()
23379 sincos(0, 0, 0);
23381 return 0;
23383 _ACEOF
23384 if ac_fn_cxx_try_compile "$LINENO"; then :
23385 glibcxx_cv_func_sincos_use=yes
23386 else
23387 glibcxx_cv_func_sincos_use=no
23389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23390 ac_ext=c
23391 ac_cpp='$CPP $CPPFLAGS'
23392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
23401 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
23403 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
23404 for ac_func in sincos
23405 do :
23406 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
23407 if test "x$ac_cv_func_sincos" = xyes; then :
23408 cat >>confdefs.h <<_ACEOF
23409 #define HAVE_SINCOS 1
23410 _ACEOF
23413 done
23415 else
23417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
23418 $as_echo_n "checking for _sincos declaration... " >&6; }
23419 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
23420 if ${glibcxx_cv_func__sincos_use+:} false; then :
23421 $as_echo_n "(cached) " >&6
23422 else
23425 ac_ext=cpp
23426 ac_cpp='$CXXCPP $CPPFLAGS'
23427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23432 /* end confdefs.h. */
23433 #include <math.h>
23435 main ()
23437 _sincos(0, 0, 0);
23439 return 0;
23441 _ACEOF
23442 if ac_fn_cxx_try_compile "$LINENO"; then :
23443 glibcxx_cv_func__sincos_use=yes
23444 else
23445 glibcxx_cv_func__sincos_use=no
23447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23448 ac_ext=c
23449 ac_cpp='$CPP $CPPFLAGS'
23450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
23459 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
23461 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
23462 for ac_func in _sincos
23463 do :
23464 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
23465 if test "x$ac_cv_func__sincos" = xyes; then :
23466 cat >>confdefs.h <<_ACEOF
23467 #define HAVE__SINCOS 1
23468 _ACEOF
23471 done
23480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
23481 $as_echo_n "checking for fpclass declaration... " >&6; }
23482 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
23483 if ${glibcxx_cv_func_fpclass_use+:} false; then :
23484 $as_echo_n "(cached) " >&6
23485 else
23488 ac_ext=cpp
23489 ac_cpp='$CXXCPP $CPPFLAGS'
23490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23495 /* end confdefs.h. */
23496 #include <math.h>
23497 #ifdef HAVE_IEEEFP_H
23498 #include <ieeefp.h>
23499 #endif
23502 main ()
23504 fpclass(0);
23506 return 0;
23508 _ACEOF
23509 if ac_fn_cxx_try_compile "$LINENO"; then :
23510 glibcxx_cv_func_fpclass_use=yes
23511 else
23512 glibcxx_cv_func_fpclass_use=no
23514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23515 ac_ext=c
23516 ac_cpp='$CPP $CPPFLAGS'
23517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
23526 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
23528 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
23529 for ac_func in fpclass
23530 do :
23531 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
23532 if test "x$ac_cv_func_fpclass" = xyes; then :
23533 cat >>confdefs.h <<_ACEOF
23534 #define HAVE_FPCLASS 1
23535 _ACEOF
23538 done
23540 else
23542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
23543 $as_echo_n "checking for _fpclass declaration... " >&6; }
23544 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
23545 if ${glibcxx_cv_func__fpclass_use+:} false; then :
23546 $as_echo_n "(cached) " >&6
23547 else
23550 ac_ext=cpp
23551 ac_cpp='$CXXCPP $CPPFLAGS'
23552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23557 /* end confdefs.h. */
23558 #include <math.h>
23559 #ifdef HAVE_IEEEFP_H
23560 #include <ieeefp.h>
23561 #endif
23564 main ()
23566 _fpclass(0);
23568 return 0;
23570 _ACEOF
23571 if ac_fn_cxx_try_compile "$LINENO"; then :
23572 glibcxx_cv_func__fpclass_use=yes
23573 else
23574 glibcxx_cv_func__fpclass_use=no
23576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23577 ac_ext=c
23578 ac_cpp='$CPP $CPPFLAGS'
23579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
23588 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
23590 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
23591 for ac_func in _fpclass
23592 do :
23593 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
23594 if test "x$ac_cv_func__fpclass" = xyes; then :
23595 cat >>confdefs.h <<_ACEOF
23596 #define HAVE__FPCLASS 1
23597 _ACEOF
23600 done
23609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
23610 $as_echo_n "checking for qfpclass declaration... " >&6; }
23611 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
23612 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
23613 $as_echo_n "(cached) " >&6
23614 else
23617 ac_ext=cpp
23618 ac_cpp='$CXXCPP $CPPFLAGS'
23619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23624 /* end confdefs.h. */
23625 #include <math.h>
23626 #ifdef HAVE_IEEEFP_H
23627 #include <ieeefp.h>
23628 #endif
23631 main ()
23633 qfpclass(0);
23635 return 0;
23637 _ACEOF
23638 if ac_fn_cxx_try_compile "$LINENO"; then :
23639 glibcxx_cv_func_qfpclass_use=yes
23640 else
23641 glibcxx_cv_func_qfpclass_use=no
23643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23644 ac_ext=c
23645 ac_cpp='$CPP $CPPFLAGS'
23646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
23655 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
23657 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
23658 for ac_func in qfpclass
23659 do :
23660 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
23661 if test "x$ac_cv_func_qfpclass" = xyes; then :
23662 cat >>confdefs.h <<_ACEOF
23663 #define HAVE_QFPCLASS 1
23664 _ACEOF
23667 done
23669 else
23671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
23672 $as_echo_n "checking for _qfpclass declaration... " >&6; }
23673 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
23674 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
23675 $as_echo_n "(cached) " >&6
23676 else
23679 ac_ext=cpp
23680 ac_cpp='$CXXCPP $CPPFLAGS'
23681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23686 /* end confdefs.h. */
23687 #include <math.h>
23688 #ifdef HAVE_IEEEFP_H
23689 #include <ieeefp.h>
23690 #endif
23693 main ()
23695 _qfpclass(0);
23697 return 0;
23699 _ACEOF
23700 if ac_fn_cxx_try_compile "$LINENO"; then :
23701 glibcxx_cv_func__qfpclass_use=yes
23702 else
23703 glibcxx_cv_func__qfpclass_use=no
23705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23706 ac_ext=c
23707 ac_cpp='$CPP $CPPFLAGS'
23708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
23717 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
23719 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
23720 for ac_func in _qfpclass
23721 do :
23722 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
23723 if test "x$ac_cv_func__qfpclass" = xyes; then :
23724 cat >>confdefs.h <<_ACEOF
23725 #define HAVE__QFPCLASS 1
23726 _ACEOF
23729 done
23738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
23739 $as_echo_n "checking for hypot declaration... " >&6; }
23740 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
23741 if ${glibcxx_cv_func_hypot_use+:} false; then :
23742 $as_echo_n "(cached) " >&6
23743 else
23746 ac_ext=cpp
23747 ac_cpp='$CXXCPP $CPPFLAGS'
23748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23753 /* end confdefs.h. */
23754 #include <math.h>
23756 main ()
23758 hypot(0, 0);
23760 return 0;
23762 _ACEOF
23763 if ac_fn_cxx_try_compile "$LINENO"; then :
23764 glibcxx_cv_func_hypot_use=yes
23765 else
23766 glibcxx_cv_func_hypot_use=no
23768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23769 ac_ext=c
23770 ac_cpp='$CPP $CPPFLAGS'
23771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
23780 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
23782 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
23783 for ac_func in hypot
23784 do :
23785 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
23786 if test "x$ac_cv_func_hypot" = xyes; then :
23787 cat >>confdefs.h <<_ACEOF
23788 #define HAVE_HYPOT 1
23789 _ACEOF
23792 done
23794 else
23796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
23797 $as_echo_n "checking for _hypot declaration... " >&6; }
23798 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
23799 if ${glibcxx_cv_func__hypot_use+:} false; then :
23800 $as_echo_n "(cached) " >&6
23801 else
23804 ac_ext=cpp
23805 ac_cpp='$CXXCPP $CPPFLAGS'
23806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23811 /* end confdefs.h. */
23812 #include <math.h>
23814 main ()
23816 _hypot(0, 0);
23818 return 0;
23820 _ACEOF
23821 if ac_fn_cxx_try_compile "$LINENO"; then :
23822 glibcxx_cv_func__hypot_use=yes
23823 else
23824 glibcxx_cv_func__hypot_use=no
23826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23827 ac_ext=c
23828 ac_cpp='$CPP $CPPFLAGS'
23829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23838 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23840 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23841 for ac_func in _hypot
23842 do :
23843 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23844 if test "x$ac_cv_func__hypot" = xyes; then :
23845 cat >>confdefs.h <<_ACEOF
23846 #define HAVE__HYPOT 1
23847 _ACEOF
23850 done
23859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23860 $as_echo_n "checking for float trig functions... " >&6; }
23861 if ${glibcxx_cv_func_float_trig_use+:} false; then :
23862 $as_echo_n "(cached) " >&6
23863 else
23866 ac_ext=cpp
23867 ac_cpp='$CXXCPP $CPPFLAGS'
23868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23873 /* end confdefs.h. */
23874 #include <math.h>
23876 main ()
23878 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23880 return 0;
23882 _ACEOF
23883 if ac_fn_cxx_try_compile "$LINENO"; then :
23884 glibcxx_cv_func_float_trig_use=yes
23885 else
23886 glibcxx_cv_func_float_trig_use=no
23888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23889 ac_ext=c
23890 ac_cpp='$CPP $CPPFLAGS'
23891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23898 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23899 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23900 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23901 do :
23902 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23903 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23904 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23905 cat >>confdefs.h <<_ACEOF
23906 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23907 _ACEOF
23910 done
23912 else
23913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23914 $as_echo_n "checking for _float trig functions... " >&6; }
23915 if ${glibcxx_cv_func__float_trig_use+:} false; then :
23916 $as_echo_n "(cached) " >&6
23917 else
23920 ac_ext=cpp
23921 ac_cpp='$CXXCPP $CPPFLAGS'
23922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23927 /* end confdefs.h. */
23928 #include <math.h>
23930 main ()
23932 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23934 return 0;
23936 _ACEOF
23937 if ac_fn_cxx_try_compile "$LINENO"; then :
23938 glibcxx_cv_func__float_trig_use=yes
23939 else
23940 glibcxx_cv_func__float_trig_use=no
23942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23943 ac_ext=c
23944 ac_cpp='$CPP $CPPFLAGS'
23945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23952 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23953 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23954 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23955 do :
23956 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23957 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23958 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23959 cat >>confdefs.h <<_ACEOF
23960 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23961 _ACEOF
23964 done
23973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23974 $as_echo_n "checking for float round functions... " >&6; }
23975 if ${glibcxx_cv_func_float_round_use+:} false; then :
23976 $as_echo_n "(cached) " >&6
23977 else
23980 ac_ext=cpp
23981 ac_cpp='$CXXCPP $CPPFLAGS'
23982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23987 /* end confdefs.h. */
23988 #include <math.h>
23990 main ()
23992 ceilf (0); floorf (0);
23994 return 0;
23996 _ACEOF
23997 if ac_fn_cxx_try_compile "$LINENO"; then :
23998 glibcxx_cv_func_float_round_use=yes
23999 else
24000 glibcxx_cv_func_float_round_use=no
24002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24003 ac_ext=c
24004 ac_cpp='$CPP $CPPFLAGS'
24005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
24012 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
24013 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
24014 for ac_func in ceilf floorf
24015 do :
24016 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24017 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24018 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
24019 cat >>confdefs.h <<_ACEOF
24020 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24021 _ACEOF
24024 done
24026 else
24027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
24028 $as_echo_n "checking for _float round functions... " >&6; }
24029 if ${glibcxx_cv_func__float_round_use+:} false; then :
24030 $as_echo_n "(cached) " >&6
24031 else
24034 ac_ext=cpp
24035 ac_cpp='$CXXCPP $CPPFLAGS'
24036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24041 /* end confdefs.h. */
24042 #include <math.h>
24044 main ()
24046 _ceilf (0); _floorf (0);
24048 return 0;
24050 _ACEOF
24051 if ac_fn_cxx_try_compile "$LINENO"; then :
24052 glibcxx_cv_func__float_round_use=yes
24053 else
24054 glibcxx_cv_func__float_round_use=no
24056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24057 ac_ext=c
24058 ac_cpp='$CPP $CPPFLAGS'
24059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
24066 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
24067 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
24068 for ac_func in _ceilf _floorf
24069 do :
24070 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24071 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24072 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
24073 cat >>confdefs.h <<_ACEOF
24074 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24075 _ACEOF
24078 done
24088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
24089 $as_echo_n "checking for expf declaration... " >&6; }
24090 if test x${glibcxx_cv_func_expf_use+set} != xset; then
24091 if ${glibcxx_cv_func_expf_use+:} false; then :
24092 $as_echo_n "(cached) " >&6
24093 else
24096 ac_ext=cpp
24097 ac_cpp='$CXXCPP $CPPFLAGS'
24098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24103 /* end confdefs.h. */
24104 #include <math.h>
24105 #ifdef HAVE_IEEEFP_H
24106 #include <ieeefp.h>
24107 #endif
24110 main ()
24112 expf(0);
24114 return 0;
24116 _ACEOF
24117 if ac_fn_cxx_try_compile "$LINENO"; then :
24118 glibcxx_cv_func_expf_use=yes
24119 else
24120 glibcxx_cv_func_expf_use=no
24122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24123 ac_ext=c
24124 ac_cpp='$CPP $CPPFLAGS'
24125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
24134 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
24136 if test x$glibcxx_cv_func_expf_use = x"yes"; then
24137 for ac_func in expf
24138 do :
24139 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
24140 if test "x$ac_cv_func_expf" = xyes; then :
24141 cat >>confdefs.h <<_ACEOF
24142 #define HAVE_EXPF 1
24143 _ACEOF
24146 done
24148 else
24150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
24151 $as_echo_n "checking for _expf declaration... " >&6; }
24152 if test x${glibcxx_cv_func__expf_use+set} != xset; then
24153 if ${glibcxx_cv_func__expf_use+:} false; then :
24154 $as_echo_n "(cached) " >&6
24155 else
24158 ac_ext=cpp
24159 ac_cpp='$CXXCPP $CPPFLAGS'
24160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24165 /* end confdefs.h. */
24166 #include <math.h>
24167 #ifdef HAVE_IEEEFP_H
24168 #include <ieeefp.h>
24169 #endif
24172 main ()
24174 _expf(0);
24176 return 0;
24178 _ACEOF
24179 if ac_fn_cxx_try_compile "$LINENO"; then :
24180 glibcxx_cv_func__expf_use=yes
24181 else
24182 glibcxx_cv_func__expf_use=no
24184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24185 ac_ext=c
24186 ac_cpp='$CPP $CPPFLAGS'
24187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
24196 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
24198 if test x$glibcxx_cv_func__expf_use = x"yes"; then
24199 for ac_func in _expf
24200 do :
24201 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
24202 if test "x$ac_cv_func__expf" = xyes; then :
24203 cat >>confdefs.h <<_ACEOF
24204 #define HAVE__EXPF 1
24205 _ACEOF
24208 done
24217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
24218 $as_echo_n "checking for isnanf declaration... " >&6; }
24219 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
24220 if ${glibcxx_cv_func_isnanf_use+:} false; then :
24221 $as_echo_n "(cached) " >&6
24222 else
24225 ac_ext=cpp
24226 ac_cpp='$CXXCPP $CPPFLAGS'
24227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24232 /* end confdefs.h. */
24233 #include <math.h>
24234 #ifdef HAVE_IEEEFP_H
24235 #include <ieeefp.h>
24236 #endif
24239 main ()
24241 isnanf(0);
24243 return 0;
24245 _ACEOF
24246 if ac_fn_cxx_try_compile "$LINENO"; then :
24247 glibcxx_cv_func_isnanf_use=yes
24248 else
24249 glibcxx_cv_func_isnanf_use=no
24251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24252 ac_ext=c
24253 ac_cpp='$CPP $CPPFLAGS'
24254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
24263 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
24265 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
24266 for ac_func in isnanf
24267 do :
24268 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
24269 if test "x$ac_cv_func_isnanf" = xyes; then :
24270 cat >>confdefs.h <<_ACEOF
24271 #define HAVE_ISNANF 1
24272 _ACEOF
24275 done
24277 else
24279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
24280 $as_echo_n "checking for _isnanf declaration... " >&6; }
24281 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
24282 if ${glibcxx_cv_func__isnanf_use+:} false; then :
24283 $as_echo_n "(cached) " >&6
24284 else
24287 ac_ext=cpp
24288 ac_cpp='$CXXCPP $CPPFLAGS'
24289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24294 /* end confdefs.h. */
24295 #include <math.h>
24296 #ifdef HAVE_IEEEFP_H
24297 #include <ieeefp.h>
24298 #endif
24301 main ()
24303 _isnanf(0);
24305 return 0;
24307 _ACEOF
24308 if ac_fn_cxx_try_compile "$LINENO"; then :
24309 glibcxx_cv_func__isnanf_use=yes
24310 else
24311 glibcxx_cv_func__isnanf_use=no
24313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24314 ac_ext=c
24315 ac_cpp='$CPP $CPPFLAGS'
24316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
24325 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
24327 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
24328 for ac_func in _isnanf
24329 do :
24330 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
24331 if test "x$ac_cv_func__isnanf" = xyes; then :
24332 cat >>confdefs.h <<_ACEOF
24333 #define HAVE__ISNANF 1
24334 _ACEOF
24337 done
24346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
24347 $as_echo_n "checking for isinff declaration... " >&6; }
24348 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
24349 if ${glibcxx_cv_func_isinff_use+:} false; then :
24350 $as_echo_n "(cached) " >&6
24351 else
24354 ac_ext=cpp
24355 ac_cpp='$CXXCPP $CPPFLAGS'
24356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24361 /* end confdefs.h. */
24362 #include <math.h>
24363 #ifdef HAVE_IEEEFP_H
24364 #include <ieeefp.h>
24365 #endif
24368 main ()
24370 isinff(0);
24372 return 0;
24374 _ACEOF
24375 if ac_fn_cxx_try_compile "$LINENO"; then :
24376 glibcxx_cv_func_isinff_use=yes
24377 else
24378 glibcxx_cv_func_isinff_use=no
24380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24381 ac_ext=c
24382 ac_cpp='$CPP $CPPFLAGS'
24383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
24392 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
24394 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
24395 for ac_func in isinff
24396 do :
24397 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
24398 if test "x$ac_cv_func_isinff" = xyes; then :
24399 cat >>confdefs.h <<_ACEOF
24400 #define HAVE_ISINFF 1
24401 _ACEOF
24404 done
24406 else
24408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
24409 $as_echo_n "checking for _isinff declaration... " >&6; }
24410 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
24411 if ${glibcxx_cv_func__isinff_use+:} false; then :
24412 $as_echo_n "(cached) " >&6
24413 else
24416 ac_ext=cpp
24417 ac_cpp='$CXXCPP $CPPFLAGS'
24418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24423 /* end confdefs.h. */
24424 #include <math.h>
24425 #ifdef HAVE_IEEEFP_H
24426 #include <ieeefp.h>
24427 #endif
24430 main ()
24432 _isinff(0);
24434 return 0;
24436 _ACEOF
24437 if ac_fn_cxx_try_compile "$LINENO"; then :
24438 glibcxx_cv_func__isinff_use=yes
24439 else
24440 glibcxx_cv_func__isinff_use=no
24442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24443 ac_ext=c
24444 ac_cpp='$CPP $CPPFLAGS'
24445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
24454 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
24456 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
24457 for ac_func in _isinff
24458 do :
24459 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
24460 if test "x$ac_cv_func__isinff" = xyes; then :
24461 cat >>confdefs.h <<_ACEOF
24462 #define HAVE__ISINFF 1
24463 _ACEOF
24466 done
24475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
24476 $as_echo_n "checking for atan2f declaration... " >&6; }
24477 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
24478 if ${glibcxx_cv_func_atan2f_use+:} false; then :
24479 $as_echo_n "(cached) " >&6
24480 else
24483 ac_ext=cpp
24484 ac_cpp='$CXXCPP $CPPFLAGS'
24485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24490 /* end confdefs.h. */
24491 #include <math.h>
24493 main ()
24495 atan2f(0, 0);
24497 return 0;
24499 _ACEOF
24500 if ac_fn_cxx_try_compile "$LINENO"; then :
24501 glibcxx_cv_func_atan2f_use=yes
24502 else
24503 glibcxx_cv_func_atan2f_use=no
24505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24506 ac_ext=c
24507 ac_cpp='$CPP $CPPFLAGS'
24508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
24517 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
24519 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
24520 for ac_func in atan2f
24521 do :
24522 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
24523 if test "x$ac_cv_func_atan2f" = xyes; then :
24524 cat >>confdefs.h <<_ACEOF
24525 #define HAVE_ATAN2F 1
24526 _ACEOF
24529 done
24531 else
24533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
24534 $as_echo_n "checking for _atan2f declaration... " >&6; }
24535 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
24536 if ${glibcxx_cv_func__atan2f_use+:} false; then :
24537 $as_echo_n "(cached) " >&6
24538 else
24541 ac_ext=cpp
24542 ac_cpp='$CXXCPP $CPPFLAGS'
24543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24548 /* end confdefs.h. */
24549 #include <math.h>
24551 main ()
24553 _atan2f(0, 0);
24555 return 0;
24557 _ACEOF
24558 if ac_fn_cxx_try_compile "$LINENO"; then :
24559 glibcxx_cv_func__atan2f_use=yes
24560 else
24561 glibcxx_cv_func__atan2f_use=no
24563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24564 ac_ext=c
24565 ac_cpp='$CPP $CPPFLAGS'
24566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
24575 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
24577 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
24578 for ac_func in _atan2f
24579 do :
24580 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
24581 if test "x$ac_cv_func__atan2f" = xyes; then :
24582 cat >>confdefs.h <<_ACEOF
24583 #define HAVE__ATAN2F 1
24584 _ACEOF
24587 done
24596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
24597 $as_echo_n "checking for fabsf declaration... " >&6; }
24598 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
24599 if ${glibcxx_cv_func_fabsf_use+:} false; then :
24600 $as_echo_n "(cached) " >&6
24601 else
24604 ac_ext=cpp
24605 ac_cpp='$CXXCPP $CPPFLAGS'
24606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24611 /* end confdefs.h. */
24612 #include <math.h>
24613 #ifdef HAVE_IEEEFP_H
24614 #include <ieeefp.h>
24615 #endif
24618 main ()
24620 fabsf(0);
24622 return 0;
24624 _ACEOF
24625 if ac_fn_cxx_try_compile "$LINENO"; then :
24626 glibcxx_cv_func_fabsf_use=yes
24627 else
24628 glibcxx_cv_func_fabsf_use=no
24630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24631 ac_ext=c
24632 ac_cpp='$CPP $CPPFLAGS'
24633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
24642 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
24644 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
24645 for ac_func in fabsf
24646 do :
24647 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
24648 if test "x$ac_cv_func_fabsf" = xyes; then :
24649 cat >>confdefs.h <<_ACEOF
24650 #define HAVE_FABSF 1
24651 _ACEOF
24654 done
24656 else
24658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
24659 $as_echo_n "checking for _fabsf declaration... " >&6; }
24660 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
24661 if ${glibcxx_cv_func__fabsf_use+:} false; then :
24662 $as_echo_n "(cached) " >&6
24663 else
24666 ac_ext=cpp
24667 ac_cpp='$CXXCPP $CPPFLAGS'
24668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24673 /* end confdefs.h. */
24674 #include <math.h>
24675 #ifdef HAVE_IEEEFP_H
24676 #include <ieeefp.h>
24677 #endif
24680 main ()
24682 _fabsf(0);
24684 return 0;
24686 _ACEOF
24687 if ac_fn_cxx_try_compile "$LINENO"; then :
24688 glibcxx_cv_func__fabsf_use=yes
24689 else
24690 glibcxx_cv_func__fabsf_use=no
24692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24693 ac_ext=c
24694 ac_cpp='$CPP $CPPFLAGS'
24695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
24704 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
24706 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24707 for ac_func in _fabsf
24708 do :
24709 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
24710 if test "x$ac_cv_func__fabsf" = xyes; then :
24711 cat >>confdefs.h <<_ACEOF
24712 #define HAVE__FABSF 1
24713 _ACEOF
24716 done
24725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
24726 $as_echo_n "checking for fmodf declaration... " >&6; }
24727 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24728 if ${glibcxx_cv_func_fmodf_use+:} false; then :
24729 $as_echo_n "(cached) " >&6
24730 else
24733 ac_ext=cpp
24734 ac_cpp='$CXXCPP $CPPFLAGS'
24735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24740 /* end confdefs.h. */
24741 #include <math.h>
24743 main ()
24745 fmodf(0, 0);
24747 return 0;
24749 _ACEOF
24750 if ac_fn_cxx_try_compile "$LINENO"; then :
24751 glibcxx_cv_func_fmodf_use=yes
24752 else
24753 glibcxx_cv_func_fmodf_use=no
24755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24756 ac_ext=c
24757 ac_cpp='$CPP $CPPFLAGS'
24758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
24767 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
24769 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24770 for ac_func in fmodf
24771 do :
24772 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
24773 if test "x$ac_cv_func_fmodf" = xyes; then :
24774 cat >>confdefs.h <<_ACEOF
24775 #define HAVE_FMODF 1
24776 _ACEOF
24779 done
24781 else
24783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
24784 $as_echo_n "checking for _fmodf declaration... " >&6; }
24785 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24786 if ${glibcxx_cv_func__fmodf_use+:} false; then :
24787 $as_echo_n "(cached) " >&6
24788 else
24791 ac_ext=cpp
24792 ac_cpp='$CXXCPP $CPPFLAGS'
24793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24798 /* end confdefs.h. */
24799 #include <math.h>
24801 main ()
24803 _fmodf(0, 0);
24805 return 0;
24807 _ACEOF
24808 if ac_fn_cxx_try_compile "$LINENO"; then :
24809 glibcxx_cv_func__fmodf_use=yes
24810 else
24811 glibcxx_cv_func__fmodf_use=no
24813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24814 ac_ext=c
24815 ac_cpp='$CPP $CPPFLAGS'
24816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
24825 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
24827 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24828 for ac_func in _fmodf
24829 do :
24830 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
24831 if test "x$ac_cv_func__fmodf" = xyes; then :
24832 cat >>confdefs.h <<_ACEOF
24833 #define HAVE__FMODF 1
24834 _ACEOF
24837 done
24846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24847 $as_echo_n "checking for frexpf declaration... " >&6; }
24848 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24849 if ${glibcxx_cv_func_frexpf_use+:} false; then :
24850 $as_echo_n "(cached) " >&6
24851 else
24854 ac_ext=cpp
24855 ac_cpp='$CXXCPP $CPPFLAGS'
24856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24861 /* end confdefs.h. */
24862 #include <math.h>
24864 main ()
24866 frexpf(0, 0);
24868 return 0;
24870 _ACEOF
24871 if ac_fn_cxx_try_compile "$LINENO"; then :
24872 glibcxx_cv_func_frexpf_use=yes
24873 else
24874 glibcxx_cv_func_frexpf_use=no
24876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24877 ac_ext=c
24878 ac_cpp='$CPP $CPPFLAGS'
24879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24888 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24890 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24891 for ac_func in frexpf
24892 do :
24893 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24894 if test "x$ac_cv_func_frexpf" = xyes; then :
24895 cat >>confdefs.h <<_ACEOF
24896 #define HAVE_FREXPF 1
24897 _ACEOF
24900 done
24902 else
24904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24905 $as_echo_n "checking for _frexpf declaration... " >&6; }
24906 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24907 if ${glibcxx_cv_func__frexpf_use+:} false; then :
24908 $as_echo_n "(cached) " >&6
24909 else
24912 ac_ext=cpp
24913 ac_cpp='$CXXCPP $CPPFLAGS'
24914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24919 /* end confdefs.h. */
24920 #include <math.h>
24922 main ()
24924 _frexpf(0, 0);
24926 return 0;
24928 _ACEOF
24929 if ac_fn_cxx_try_compile "$LINENO"; then :
24930 glibcxx_cv_func__frexpf_use=yes
24931 else
24932 glibcxx_cv_func__frexpf_use=no
24934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24935 ac_ext=c
24936 ac_cpp='$CPP $CPPFLAGS'
24937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24946 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24948 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24949 for ac_func in _frexpf
24950 do :
24951 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24952 if test "x$ac_cv_func__frexpf" = xyes; then :
24953 cat >>confdefs.h <<_ACEOF
24954 #define HAVE__FREXPF 1
24955 _ACEOF
24958 done
24967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24968 $as_echo_n "checking for hypotf declaration... " >&6; }
24969 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24970 if ${glibcxx_cv_func_hypotf_use+:} false; then :
24971 $as_echo_n "(cached) " >&6
24972 else
24975 ac_ext=cpp
24976 ac_cpp='$CXXCPP $CPPFLAGS'
24977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24982 /* end confdefs.h. */
24983 #include <math.h>
24985 main ()
24987 hypotf(0, 0);
24989 return 0;
24991 _ACEOF
24992 if ac_fn_cxx_try_compile "$LINENO"; then :
24993 glibcxx_cv_func_hypotf_use=yes
24994 else
24995 glibcxx_cv_func_hypotf_use=no
24997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24998 ac_ext=c
24999 ac_cpp='$CPP $CPPFLAGS'
25000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
25009 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
25011 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
25012 for ac_func in hypotf
25013 do :
25014 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
25015 if test "x$ac_cv_func_hypotf" = xyes; then :
25016 cat >>confdefs.h <<_ACEOF
25017 #define HAVE_HYPOTF 1
25018 _ACEOF
25021 done
25023 else
25025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
25026 $as_echo_n "checking for _hypotf declaration... " >&6; }
25027 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
25028 if ${glibcxx_cv_func__hypotf_use+:} false; then :
25029 $as_echo_n "(cached) " >&6
25030 else
25033 ac_ext=cpp
25034 ac_cpp='$CXXCPP $CPPFLAGS'
25035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25040 /* end confdefs.h. */
25041 #include <math.h>
25043 main ()
25045 _hypotf(0, 0);
25047 return 0;
25049 _ACEOF
25050 if ac_fn_cxx_try_compile "$LINENO"; then :
25051 glibcxx_cv_func__hypotf_use=yes
25052 else
25053 glibcxx_cv_func__hypotf_use=no
25055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25056 ac_ext=c
25057 ac_cpp='$CPP $CPPFLAGS'
25058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
25067 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
25069 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
25070 for ac_func in _hypotf
25071 do :
25072 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
25073 if test "x$ac_cv_func__hypotf" = xyes; then :
25074 cat >>confdefs.h <<_ACEOF
25075 #define HAVE__HYPOTF 1
25076 _ACEOF
25079 done
25088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
25089 $as_echo_n "checking for ldexpf declaration... " >&6; }
25090 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
25091 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
25092 $as_echo_n "(cached) " >&6
25093 else
25096 ac_ext=cpp
25097 ac_cpp='$CXXCPP $CPPFLAGS'
25098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25103 /* end confdefs.h. */
25104 #include <math.h>
25106 main ()
25108 ldexpf(0, 0);
25110 return 0;
25112 _ACEOF
25113 if ac_fn_cxx_try_compile "$LINENO"; then :
25114 glibcxx_cv_func_ldexpf_use=yes
25115 else
25116 glibcxx_cv_func_ldexpf_use=no
25118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25119 ac_ext=c
25120 ac_cpp='$CPP $CPPFLAGS'
25121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
25130 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
25132 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
25133 for ac_func in ldexpf
25134 do :
25135 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
25136 if test "x$ac_cv_func_ldexpf" = xyes; then :
25137 cat >>confdefs.h <<_ACEOF
25138 #define HAVE_LDEXPF 1
25139 _ACEOF
25142 done
25144 else
25146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
25147 $as_echo_n "checking for _ldexpf declaration... " >&6; }
25148 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
25149 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
25150 $as_echo_n "(cached) " >&6
25151 else
25154 ac_ext=cpp
25155 ac_cpp='$CXXCPP $CPPFLAGS'
25156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25161 /* end confdefs.h. */
25162 #include <math.h>
25164 main ()
25166 _ldexpf(0, 0);
25168 return 0;
25170 _ACEOF
25171 if ac_fn_cxx_try_compile "$LINENO"; then :
25172 glibcxx_cv_func__ldexpf_use=yes
25173 else
25174 glibcxx_cv_func__ldexpf_use=no
25176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25177 ac_ext=c
25178 ac_cpp='$CPP $CPPFLAGS'
25179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
25188 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
25190 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
25191 for ac_func in _ldexpf
25192 do :
25193 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
25194 if test "x$ac_cv_func__ldexpf" = xyes; then :
25195 cat >>confdefs.h <<_ACEOF
25196 #define HAVE__LDEXPF 1
25197 _ACEOF
25200 done
25209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
25210 $as_echo_n "checking for logf declaration... " >&6; }
25211 if test x${glibcxx_cv_func_logf_use+set} != xset; then
25212 if ${glibcxx_cv_func_logf_use+:} false; then :
25213 $as_echo_n "(cached) " >&6
25214 else
25217 ac_ext=cpp
25218 ac_cpp='$CXXCPP $CPPFLAGS'
25219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25224 /* end confdefs.h. */
25225 #include <math.h>
25226 #ifdef HAVE_IEEEFP_H
25227 #include <ieeefp.h>
25228 #endif
25231 main ()
25233 logf(0);
25235 return 0;
25237 _ACEOF
25238 if ac_fn_cxx_try_compile "$LINENO"; then :
25239 glibcxx_cv_func_logf_use=yes
25240 else
25241 glibcxx_cv_func_logf_use=no
25243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25244 ac_ext=c
25245 ac_cpp='$CPP $CPPFLAGS'
25246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
25255 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
25257 if test x$glibcxx_cv_func_logf_use = x"yes"; then
25258 for ac_func in logf
25259 do :
25260 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
25261 if test "x$ac_cv_func_logf" = xyes; then :
25262 cat >>confdefs.h <<_ACEOF
25263 #define HAVE_LOGF 1
25264 _ACEOF
25267 done
25269 else
25271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
25272 $as_echo_n "checking for _logf declaration... " >&6; }
25273 if test x${glibcxx_cv_func__logf_use+set} != xset; then
25274 if ${glibcxx_cv_func__logf_use+:} false; then :
25275 $as_echo_n "(cached) " >&6
25276 else
25279 ac_ext=cpp
25280 ac_cpp='$CXXCPP $CPPFLAGS'
25281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25286 /* end confdefs.h. */
25287 #include <math.h>
25288 #ifdef HAVE_IEEEFP_H
25289 #include <ieeefp.h>
25290 #endif
25293 main ()
25295 _logf(0);
25297 return 0;
25299 _ACEOF
25300 if ac_fn_cxx_try_compile "$LINENO"; then :
25301 glibcxx_cv_func__logf_use=yes
25302 else
25303 glibcxx_cv_func__logf_use=no
25305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25306 ac_ext=c
25307 ac_cpp='$CPP $CPPFLAGS'
25308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
25317 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
25319 if test x$glibcxx_cv_func__logf_use = x"yes"; then
25320 for ac_func in _logf
25321 do :
25322 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
25323 if test "x$ac_cv_func__logf" = xyes; then :
25324 cat >>confdefs.h <<_ACEOF
25325 #define HAVE__LOGF 1
25326 _ACEOF
25329 done
25338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
25339 $as_echo_n "checking for log10f declaration... " >&6; }
25340 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
25341 if ${glibcxx_cv_func_log10f_use+:} false; then :
25342 $as_echo_n "(cached) " >&6
25343 else
25346 ac_ext=cpp
25347 ac_cpp='$CXXCPP $CPPFLAGS'
25348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25353 /* end confdefs.h. */
25354 #include <math.h>
25355 #ifdef HAVE_IEEEFP_H
25356 #include <ieeefp.h>
25357 #endif
25360 main ()
25362 log10f(0);
25364 return 0;
25366 _ACEOF
25367 if ac_fn_cxx_try_compile "$LINENO"; then :
25368 glibcxx_cv_func_log10f_use=yes
25369 else
25370 glibcxx_cv_func_log10f_use=no
25372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25373 ac_ext=c
25374 ac_cpp='$CPP $CPPFLAGS'
25375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
25384 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
25386 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
25387 for ac_func in log10f
25388 do :
25389 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
25390 if test "x$ac_cv_func_log10f" = xyes; then :
25391 cat >>confdefs.h <<_ACEOF
25392 #define HAVE_LOG10F 1
25393 _ACEOF
25396 done
25398 else
25400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
25401 $as_echo_n "checking for _log10f declaration... " >&6; }
25402 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
25403 if ${glibcxx_cv_func__log10f_use+:} false; then :
25404 $as_echo_n "(cached) " >&6
25405 else
25408 ac_ext=cpp
25409 ac_cpp='$CXXCPP $CPPFLAGS'
25410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25415 /* end confdefs.h. */
25416 #include <math.h>
25417 #ifdef HAVE_IEEEFP_H
25418 #include <ieeefp.h>
25419 #endif
25422 main ()
25424 _log10f(0);
25426 return 0;
25428 _ACEOF
25429 if ac_fn_cxx_try_compile "$LINENO"; then :
25430 glibcxx_cv_func__log10f_use=yes
25431 else
25432 glibcxx_cv_func__log10f_use=no
25434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25435 ac_ext=c
25436 ac_cpp='$CPP $CPPFLAGS'
25437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
25446 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
25448 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
25449 for ac_func in _log10f
25450 do :
25451 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
25452 if test "x$ac_cv_func__log10f" = xyes; then :
25453 cat >>confdefs.h <<_ACEOF
25454 #define HAVE__LOG10F 1
25455 _ACEOF
25458 done
25467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
25468 $as_echo_n "checking for modff declaration... " >&6; }
25469 if test x${glibcxx_cv_func_modff_use+set} != xset; then
25470 if ${glibcxx_cv_func_modff_use+:} false; then :
25471 $as_echo_n "(cached) " >&6
25472 else
25475 ac_ext=cpp
25476 ac_cpp='$CXXCPP $CPPFLAGS'
25477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25482 /* end confdefs.h. */
25483 #include <math.h>
25485 main ()
25487 modff(0, 0);
25489 return 0;
25491 _ACEOF
25492 if ac_fn_cxx_try_compile "$LINENO"; then :
25493 glibcxx_cv_func_modff_use=yes
25494 else
25495 glibcxx_cv_func_modff_use=no
25497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25498 ac_ext=c
25499 ac_cpp='$CPP $CPPFLAGS'
25500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
25509 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
25511 if test x$glibcxx_cv_func_modff_use = x"yes"; then
25512 for ac_func in modff
25513 do :
25514 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
25515 if test "x$ac_cv_func_modff" = xyes; then :
25516 cat >>confdefs.h <<_ACEOF
25517 #define HAVE_MODFF 1
25518 _ACEOF
25521 done
25523 else
25525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
25526 $as_echo_n "checking for _modff declaration... " >&6; }
25527 if test x${glibcxx_cv_func__modff_use+set} != xset; then
25528 if ${glibcxx_cv_func__modff_use+:} false; then :
25529 $as_echo_n "(cached) " >&6
25530 else
25533 ac_ext=cpp
25534 ac_cpp='$CXXCPP $CPPFLAGS'
25535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25540 /* end confdefs.h. */
25541 #include <math.h>
25543 main ()
25545 _modff(0, 0);
25547 return 0;
25549 _ACEOF
25550 if ac_fn_cxx_try_compile "$LINENO"; then :
25551 glibcxx_cv_func__modff_use=yes
25552 else
25553 glibcxx_cv_func__modff_use=no
25555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25556 ac_ext=c
25557 ac_cpp='$CPP $CPPFLAGS'
25558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
25567 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
25569 if test x$glibcxx_cv_func__modff_use = x"yes"; then
25570 for ac_func in _modff
25571 do :
25572 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
25573 if test "x$ac_cv_func__modff" = xyes; then :
25574 cat >>confdefs.h <<_ACEOF
25575 #define HAVE__MODFF 1
25576 _ACEOF
25579 done
25588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
25589 $as_echo_n "checking for modf declaration... " >&6; }
25590 if test x${glibcxx_cv_func_modf_use+set} != xset; then
25591 if ${glibcxx_cv_func_modf_use+:} false; then :
25592 $as_echo_n "(cached) " >&6
25593 else
25596 ac_ext=cpp
25597 ac_cpp='$CXXCPP $CPPFLAGS'
25598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25603 /* end confdefs.h. */
25604 #include <math.h>
25606 main ()
25608 modf(0, 0);
25610 return 0;
25612 _ACEOF
25613 if ac_fn_cxx_try_compile "$LINENO"; then :
25614 glibcxx_cv_func_modf_use=yes
25615 else
25616 glibcxx_cv_func_modf_use=no
25618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25619 ac_ext=c
25620 ac_cpp='$CPP $CPPFLAGS'
25621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
25630 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
25632 if test x$glibcxx_cv_func_modf_use = x"yes"; then
25633 for ac_func in modf
25634 do :
25635 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
25636 if test "x$ac_cv_func_modf" = xyes; then :
25637 cat >>confdefs.h <<_ACEOF
25638 #define HAVE_MODF 1
25639 _ACEOF
25642 done
25644 else
25646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
25647 $as_echo_n "checking for _modf declaration... " >&6; }
25648 if test x${glibcxx_cv_func__modf_use+set} != xset; then
25649 if ${glibcxx_cv_func__modf_use+:} false; then :
25650 $as_echo_n "(cached) " >&6
25651 else
25654 ac_ext=cpp
25655 ac_cpp='$CXXCPP $CPPFLAGS'
25656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25661 /* end confdefs.h. */
25662 #include <math.h>
25664 main ()
25666 _modf(0, 0);
25668 return 0;
25670 _ACEOF
25671 if ac_fn_cxx_try_compile "$LINENO"; then :
25672 glibcxx_cv_func__modf_use=yes
25673 else
25674 glibcxx_cv_func__modf_use=no
25676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25677 ac_ext=c
25678 ac_cpp='$CPP $CPPFLAGS'
25679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
25688 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
25690 if test x$glibcxx_cv_func__modf_use = x"yes"; then
25691 for ac_func in _modf
25692 do :
25693 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
25694 if test "x$ac_cv_func__modf" = xyes; then :
25695 cat >>confdefs.h <<_ACEOF
25696 #define HAVE__MODF 1
25697 _ACEOF
25700 done
25709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
25710 $as_echo_n "checking for powf declaration... " >&6; }
25711 if test x${glibcxx_cv_func_powf_use+set} != xset; then
25712 if ${glibcxx_cv_func_powf_use+:} false; then :
25713 $as_echo_n "(cached) " >&6
25714 else
25717 ac_ext=cpp
25718 ac_cpp='$CXXCPP $CPPFLAGS'
25719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25724 /* end confdefs.h. */
25725 #include <math.h>
25727 main ()
25729 powf(0, 0);
25731 return 0;
25733 _ACEOF
25734 if ac_fn_cxx_try_compile "$LINENO"; then :
25735 glibcxx_cv_func_powf_use=yes
25736 else
25737 glibcxx_cv_func_powf_use=no
25739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25740 ac_ext=c
25741 ac_cpp='$CPP $CPPFLAGS'
25742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
25751 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
25753 if test x$glibcxx_cv_func_powf_use = x"yes"; then
25754 for ac_func in powf
25755 do :
25756 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
25757 if test "x$ac_cv_func_powf" = xyes; then :
25758 cat >>confdefs.h <<_ACEOF
25759 #define HAVE_POWF 1
25760 _ACEOF
25763 done
25765 else
25767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
25768 $as_echo_n "checking for _powf declaration... " >&6; }
25769 if test x${glibcxx_cv_func__powf_use+set} != xset; then
25770 if ${glibcxx_cv_func__powf_use+:} false; then :
25771 $as_echo_n "(cached) " >&6
25772 else
25775 ac_ext=cpp
25776 ac_cpp='$CXXCPP $CPPFLAGS'
25777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25782 /* end confdefs.h. */
25783 #include <math.h>
25785 main ()
25787 _powf(0, 0);
25789 return 0;
25791 _ACEOF
25792 if ac_fn_cxx_try_compile "$LINENO"; then :
25793 glibcxx_cv_func__powf_use=yes
25794 else
25795 glibcxx_cv_func__powf_use=no
25797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25798 ac_ext=c
25799 ac_cpp='$CPP $CPPFLAGS'
25800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
25809 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
25811 if test x$glibcxx_cv_func__powf_use = x"yes"; then
25812 for ac_func in _powf
25813 do :
25814 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
25815 if test "x$ac_cv_func__powf" = xyes; then :
25816 cat >>confdefs.h <<_ACEOF
25817 #define HAVE__POWF 1
25818 _ACEOF
25821 done
25830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
25831 $as_echo_n "checking for sqrtf declaration... " >&6; }
25832 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
25833 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
25834 $as_echo_n "(cached) " >&6
25835 else
25838 ac_ext=cpp
25839 ac_cpp='$CXXCPP $CPPFLAGS'
25840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25845 /* end confdefs.h. */
25846 #include <math.h>
25847 #ifdef HAVE_IEEEFP_H
25848 #include <ieeefp.h>
25849 #endif
25852 main ()
25854 sqrtf(0);
25856 return 0;
25858 _ACEOF
25859 if ac_fn_cxx_try_compile "$LINENO"; then :
25860 glibcxx_cv_func_sqrtf_use=yes
25861 else
25862 glibcxx_cv_func_sqrtf_use=no
25864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25865 ac_ext=c
25866 ac_cpp='$CPP $CPPFLAGS'
25867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25876 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25878 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25879 for ac_func in sqrtf
25880 do :
25881 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25882 if test "x$ac_cv_func_sqrtf" = xyes; then :
25883 cat >>confdefs.h <<_ACEOF
25884 #define HAVE_SQRTF 1
25885 _ACEOF
25888 done
25890 else
25892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25893 $as_echo_n "checking for _sqrtf declaration... " >&6; }
25894 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25895 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
25896 $as_echo_n "(cached) " >&6
25897 else
25900 ac_ext=cpp
25901 ac_cpp='$CXXCPP $CPPFLAGS'
25902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25907 /* end confdefs.h. */
25908 #include <math.h>
25909 #ifdef HAVE_IEEEFP_H
25910 #include <ieeefp.h>
25911 #endif
25914 main ()
25916 _sqrtf(0);
25918 return 0;
25920 _ACEOF
25921 if ac_fn_cxx_try_compile "$LINENO"; then :
25922 glibcxx_cv_func__sqrtf_use=yes
25923 else
25924 glibcxx_cv_func__sqrtf_use=no
25926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25927 ac_ext=c
25928 ac_cpp='$CPP $CPPFLAGS'
25929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25938 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25940 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25941 for ac_func in _sqrtf
25942 do :
25943 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25944 if test "x$ac_cv_func__sqrtf" = xyes; then :
25945 cat >>confdefs.h <<_ACEOF
25946 #define HAVE__SQRTF 1
25947 _ACEOF
25950 done
25959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25960 $as_echo_n "checking for sincosf declaration... " >&6; }
25961 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25962 if ${glibcxx_cv_func_sincosf_use+:} false; then :
25963 $as_echo_n "(cached) " >&6
25964 else
25967 ac_ext=cpp
25968 ac_cpp='$CXXCPP $CPPFLAGS'
25969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25974 /* end confdefs.h. */
25975 #include <math.h>
25977 main ()
25979 sincosf(0, 0, 0);
25981 return 0;
25983 _ACEOF
25984 if ac_fn_cxx_try_compile "$LINENO"; then :
25985 glibcxx_cv_func_sincosf_use=yes
25986 else
25987 glibcxx_cv_func_sincosf_use=no
25989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25990 ac_ext=c
25991 ac_cpp='$CPP $CPPFLAGS'
25992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
26001 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
26003 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
26004 for ac_func in sincosf
26005 do :
26006 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
26007 if test "x$ac_cv_func_sincosf" = xyes; then :
26008 cat >>confdefs.h <<_ACEOF
26009 #define HAVE_SINCOSF 1
26010 _ACEOF
26013 done
26015 else
26017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
26018 $as_echo_n "checking for _sincosf declaration... " >&6; }
26019 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
26020 if ${glibcxx_cv_func__sincosf_use+:} false; then :
26021 $as_echo_n "(cached) " >&6
26022 else
26025 ac_ext=cpp
26026 ac_cpp='$CXXCPP $CPPFLAGS'
26027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26032 /* end confdefs.h. */
26033 #include <math.h>
26035 main ()
26037 _sincosf(0, 0, 0);
26039 return 0;
26041 _ACEOF
26042 if ac_fn_cxx_try_compile "$LINENO"; then :
26043 glibcxx_cv_func__sincosf_use=yes
26044 else
26045 glibcxx_cv_func__sincosf_use=no
26047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26048 ac_ext=c
26049 ac_cpp='$CPP $CPPFLAGS'
26050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
26059 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
26061 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
26062 for ac_func in _sincosf
26063 do :
26064 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
26065 if test "x$ac_cv_func__sincosf" = xyes; then :
26066 cat >>confdefs.h <<_ACEOF
26067 #define HAVE__SINCOSF 1
26068 _ACEOF
26071 done
26080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
26081 $as_echo_n "checking for finitef declaration... " >&6; }
26082 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
26083 if ${glibcxx_cv_func_finitef_use+:} false; then :
26084 $as_echo_n "(cached) " >&6
26085 else
26088 ac_ext=cpp
26089 ac_cpp='$CXXCPP $CPPFLAGS'
26090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26095 /* end confdefs.h. */
26096 #include <math.h>
26097 #ifdef HAVE_IEEEFP_H
26098 #include <ieeefp.h>
26099 #endif
26102 main ()
26104 finitef(0);
26106 return 0;
26108 _ACEOF
26109 if ac_fn_cxx_try_compile "$LINENO"; then :
26110 glibcxx_cv_func_finitef_use=yes
26111 else
26112 glibcxx_cv_func_finitef_use=no
26114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26115 ac_ext=c
26116 ac_cpp='$CPP $CPPFLAGS'
26117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
26126 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
26128 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
26129 for ac_func in finitef
26130 do :
26131 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
26132 if test "x$ac_cv_func_finitef" = xyes; then :
26133 cat >>confdefs.h <<_ACEOF
26134 #define HAVE_FINITEF 1
26135 _ACEOF
26138 done
26140 else
26142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
26143 $as_echo_n "checking for _finitef declaration... " >&6; }
26144 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
26145 if ${glibcxx_cv_func__finitef_use+:} false; then :
26146 $as_echo_n "(cached) " >&6
26147 else
26150 ac_ext=cpp
26151 ac_cpp='$CXXCPP $CPPFLAGS'
26152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26157 /* end confdefs.h. */
26158 #include <math.h>
26159 #ifdef HAVE_IEEEFP_H
26160 #include <ieeefp.h>
26161 #endif
26164 main ()
26166 _finitef(0);
26168 return 0;
26170 _ACEOF
26171 if ac_fn_cxx_try_compile "$LINENO"; then :
26172 glibcxx_cv_func__finitef_use=yes
26173 else
26174 glibcxx_cv_func__finitef_use=no
26176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26177 ac_ext=c
26178 ac_cpp='$CPP $CPPFLAGS'
26179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
26188 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
26190 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
26191 for ac_func in _finitef
26192 do :
26193 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
26194 if test "x$ac_cv_func__finitef" = xyes; then :
26195 cat >>confdefs.h <<_ACEOF
26196 #define HAVE__FINITEF 1
26197 _ACEOF
26200 done
26209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
26210 $as_echo_n "checking for long double trig functions... " >&6; }
26211 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
26212 $as_echo_n "(cached) " >&6
26213 else
26216 ac_ext=cpp
26217 ac_cpp='$CXXCPP $CPPFLAGS'
26218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26223 /* end confdefs.h. */
26224 #include <math.h>
26226 main ()
26228 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
26230 return 0;
26232 _ACEOF
26233 if ac_fn_cxx_try_compile "$LINENO"; then :
26234 glibcxx_cv_func_long_double_trig_use=yes
26235 else
26236 glibcxx_cv_func_long_double_trig_use=no
26238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26239 ac_ext=c
26240 ac_cpp='$CPP $CPPFLAGS'
26241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
26248 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
26249 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
26250 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
26251 do :
26252 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26253 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26254 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26255 cat >>confdefs.h <<_ACEOF
26256 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26257 _ACEOF
26260 done
26262 else
26263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
26264 $as_echo_n "checking for _long double trig functions... " >&6; }
26265 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
26266 $as_echo_n "(cached) " >&6
26267 else
26270 ac_ext=cpp
26271 ac_cpp='$CXXCPP $CPPFLAGS'
26272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26277 /* end confdefs.h. */
26278 #include <math.h>
26280 main ()
26282 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
26284 return 0;
26286 _ACEOF
26287 if ac_fn_cxx_try_compile "$LINENO"; then :
26288 glibcxx_cv_func__long_double_trig_use=yes
26289 else
26290 glibcxx_cv_func__long_double_trig_use=no
26292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26293 ac_ext=c
26294 ac_cpp='$CPP $CPPFLAGS'
26295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
26302 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
26303 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
26304 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
26305 do :
26306 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26307 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26308 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26309 cat >>confdefs.h <<_ACEOF
26310 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26311 _ACEOF
26314 done
26323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
26324 $as_echo_n "checking for long double round functions... " >&6; }
26325 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
26326 $as_echo_n "(cached) " >&6
26327 else
26330 ac_ext=cpp
26331 ac_cpp='$CXXCPP $CPPFLAGS'
26332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26337 /* end confdefs.h. */
26338 #include <math.h>
26340 main ()
26342 ceill (0); floorl (0);
26344 return 0;
26346 _ACEOF
26347 if ac_fn_cxx_try_compile "$LINENO"; then :
26348 glibcxx_cv_func_long_double_round_use=yes
26349 else
26350 glibcxx_cv_func_long_double_round_use=no
26352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26353 ac_ext=c
26354 ac_cpp='$CPP $CPPFLAGS'
26355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
26362 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
26363 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
26364 for ac_func in ceill floorl
26365 do :
26366 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26367 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26368 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26369 cat >>confdefs.h <<_ACEOF
26370 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26371 _ACEOF
26374 done
26376 else
26377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
26378 $as_echo_n "checking for _long double round functions... " >&6; }
26379 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
26380 $as_echo_n "(cached) " >&6
26381 else
26384 ac_ext=cpp
26385 ac_cpp='$CXXCPP $CPPFLAGS'
26386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26391 /* end confdefs.h. */
26392 #include <math.h>
26394 main ()
26396 _ceill (0); _floorl (0);
26398 return 0;
26400 _ACEOF
26401 if ac_fn_cxx_try_compile "$LINENO"; then :
26402 glibcxx_cv_func__long_double_round_use=yes
26403 else
26404 glibcxx_cv_func__long_double_round_use=no
26406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26407 ac_ext=c
26408 ac_cpp='$CPP $CPPFLAGS'
26409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
26416 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
26417 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
26418 for ac_func in _ceill _floorl
26419 do :
26420 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26421 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26422 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26423 cat >>confdefs.h <<_ACEOF
26424 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26425 _ACEOF
26428 done
26438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
26439 $as_echo_n "checking for isnanl declaration... " >&6; }
26440 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
26441 if ${glibcxx_cv_func_isnanl_use+:} false; then :
26442 $as_echo_n "(cached) " >&6
26443 else
26446 ac_ext=cpp
26447 ac_cpp='$CXXCPP $CPPFLAGS'
26448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26453 /* end confdefs.h. */
26454 #include <math.h>
26455 #ifdef HAVE_IEEEFP_H
26456 #include <ieeefp.h>
26457 #endif
26460 main ()
26462 isnanl(0);
26464 return 0;
26466 _ACEOF
26467 if ac_fn_cxx_try_compile "$LINENO"; then :
26468 glibcxx_cv_func_isnanl_use=yes
26469 else
26470 glibcxx_cv_func_isnanl_use=no
26472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26473 ac_ext=c
26474 ac_cpp='$CPP $CPPFLAGS'
26475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
26484 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
26486 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
26487 for ac_func in isnanl
26488 do :
26489 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
26490 if test "x$ac_cv_func_isnanl" = xyes; then :
26491 cat >>confdefs.h <<_ACEOF
26492 #define HAVE_ISNANL 1
26493 _ACEOF
26496 done
26498 else
26500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
26501 $as_echo_n "checking for _isnanl declaration... " >&6; }
26502 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
26503 if ${glibcxx_cv_func__isnanl_use+:} false; then :
26504 $as_echo_n "(cached) " >&6
26505 else
26508 ac_ext=cpp
26509 ac_cpp='$CXXCPP $CPPFLAGS'
26510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26515 /* end confdefs.h. */
26516 #include <math.h>
26517 #ifdef HAVE_IEEEFP_H
26518 #include <ieeefp.h>
26519 #endif
26522 main ()
26524 _isnanl(0);
26526 return 0;
26528 _ACEOF
26529 if ac_fn_cxx_try_compile "$LINENO"; then :
26530 glibcxx_cv_func__isnanl_use=yes
26531 else
26532 glibcxx_cv_func__isnanl_use=no
26534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26535 ac_ext=c
26536 ac_cpp='$CPP $CPPFLAGS'
26537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
26546 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
26548 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
26549 for ac_func in _isnanl
26550 do :
26551 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
26552 if test "x$ac_cv_func__isnanl" = xyes; then :
26553 cat >>confdefs.h <<_ACEOF
26554 #define HAVE__ISNANL 1
26555 _ACEOF
26558 done
26567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
26568 $as_echo_n "checking for isinfl declaration... " >&6; }
26569 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
26570 if ${glibcxx_cv_func_isinfl_use+:} false; then :
26571 $as_echo_n "(cached) " >&6
26572 else
26575 ac_ext=cpp
26576 ac_cpp='$CXXCPP $CPPFLAGS'
26577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26582 /* end confdefs.h. */
26583 #include <math.h>
26584 #ifdef HAVE_IEEEFP_H
26585 #include <ieeefp.h>
26586 #endif
26589 main ()
26591 isinfl(0);
26593 return 0;
26595 _ACEOF
26596 if ac_fn_cxx_try_compile "$LINENO"; then :
26597 glibcxx_cv_func_isinfl_use=yes
26598 else
26599 glibcxx_cv_func_isinfl_use=no
26601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26602 ac_ext=c
26603 ac_cpp='$CPP $CPPFLAGS'
26604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
26613 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
26615 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
26616 for ac_func in isinfl
26617 do :
26618 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
26619 if test "x$ac_cv_func_isinfl" = xyes; then :
26620 cat >>confdefs.h <<_ACEOF
26621 #define HAVE_ISINFL 1
26622 _ACEOF
26625 done
26627 else
26629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
26630 $as_echo_n "checking for _isinfl declaration... " >&6; }
26631 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
26632 if ${glibcxx_cv_func__isinfl_use+:} false; then :
26633 $as_echo_n "(cached) " >&6
26634 else
26637 ac_ext=cpp
26638 ac_cpp='$CXXCPP $CPPFLAGS'
26639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26644 /* end confdefs.h. */
26645 #include <math.h>
26646 #ifdef HAVE_IEEEFP_H
26647 #include <ieeefp.h>
26648 #endif
26651 main ()
26653 _isinfl(0);
26655 return 0;
26657 _ACEOF
26658 if ac_fn_cxx_try_compile "$LINENO"; then :
26659 glibcxx_cv_func__isinfl_use=yes
26660 else
26661 glibcxx_cv_func__isinfl_use=no
26663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26664 ac_ext=c
26665 ac_cpp='$CPP $CPPFLAGS'
26666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
26675 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
26677 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
26678 for ac_func in _isinfl
26679 do :
26680 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
26681 if test "x$ac_cv_func__isinfl" = xyes; then :
26682 cat >>confdefs.h <<_ACEOF
26683 #define HAVE__ISINFL 1
26684 _ACEOF
26687 done
26696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
26697 $as_echo_n "checking for atan2l declaration... " >&6; }
26698 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
26699 if ${glibcxx_cv_func_atan2l_use+:} false; then :
26700 $as_echo_n "(cached) " >&6
26701 else
26704 ac_ext=cpp
26705 ac_cpp='$CXXCPP $CPPFLAGS'
26706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26711 /* end confdefs.h. */
26712 #include <math.h>
26714 main ()
26716 atan2l(0, 0);
26718 return 0;
26720 _ACEOF
26721 if ac_fn_cxx_try_compile "$LINENO"; then :
26722 glibcxx_cv_func_atan2l_use=yes
26723 else
26724 glibcxx_cv_func_atan2l_use=no
26726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26727 ac_ext=c
26728 ac_cpp='$CPP $CPPFLAGS'
26729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
26738 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
26740 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
26741 for ac_func in atan2l
26742 do :
26743 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
26744 if test "x$ac_cv_func_atan2l" = xyes; then :
26745 cat >>confdefs.h <<_ACEOF
26746 #define HAVE_ATAN2L 1
26747 _ACEOF
26750 done
26752 else
26754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
26755 $as_echo_n "checking for _atan2l declaration... " >&6; }
26756 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
26757 if ${glibcxx_cv_func__atan2l_use+:} false; then :
26758 $as_echo_n "(cached) " >&6
26759 else
26762 ac_ext=cpp
26763 ac_cpp='$CXXCPP $CPPFLAGS'
26764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26769 /* end confdefs.h. */
26770 #include <math.h>
26772 main ()
26774 _atan2l(0, 0);
26776 return 0;
26778 _ACEOF
26779 if ac_fn_cxx_try_compile "$LINENO"; then :
26780 glibcxx_cv_func__atan2l_use=yes
26781 else
26782 glibcxx_cv_func__atan2l_use=no
26784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26785 ac_ext=c
26786 ac_cpp='$CPP $CPPFLAGS'
26787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
26796 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
26798 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
26799 for ac_func in _atan2l
26800 do :
26801 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
26802 if test "x$ac_cv_func__atan2l" = xyes; then :
26803 cat >>confdefs.h <<_ACEOF
26804 #define HAVE__ATAN2L 1
26805 _ACEOF
26808 done
26817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
26818 $as_echo_n "checking for expl declaration... " >&6; }
26819 if test x${glibcxx_cv_func_expl_use+set} != xset; then
26820 if ${glibcxx_cv_func_expl_use+:} false; then :
26821 $as_echo_n "(cached) " >&6
26822 else
26825 ac_ext=cpp
26826 ac_cpp='$CXXCPP $CPPFLAGS'
26827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26832 /* end confdefs.h. */
26833 #include <math.h>
26834 #ifdef HAVE_IEEEFP_H
26835 #include <ieeefp.h>
26836 #endif
26839 main ()
26841 expl(0);
26843 return 0;
26845 _ACEOF
26846 if ac_fn_cxx_try_compile "$LINENO"; then :
26847 glibcxx_cv_func_expl_use=yes
26848 else
26849 glibcxx_cv_func_expl_use=no
26851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26852 ac_ext=c
26853 ac_cpp='$CPP $CPPFLAGS'
26854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26863 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26865 if test x$glibcxx_cv_func_expl_use = x"yes"; then
26866 for ac_func in expl
26867 do :
26868 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26869 if test "x$ac_cv_func_expl" = xyes; then :
26870 cat >>confdefs.h <<_ACEOF
26871 #define HAVE_EXPL 1
26872 _ACEOF
26875 done
26877 else
26879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26880 $as_echo_n "checking for _expl declaration... " >&6; }
26881 if test x${glibcxx_cv_func__expl_use+set} != xset; then
26882 if ${glibcxx_cv_func__expl_use+:} false; then :
26883 $as_echo_n "(cached) " >&6
26884 else
26887 ac_ext=cpp
26888 ac_cpp='$CXXCPP $CPPFLAGS'
26889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26894 /* end confdefs.h. */
26895 #include <math.h>
26896 #ifdef HAVE_IEEEFP_H
26897 #include <ieeefp.h>
26898 #endif
26901 main ()
26903 _expl(0);
26905 return 0;
26907 _ACEOF
26908 if ac_fn_cxx_try_compile "$LINENO"; then :
26909 glibcxx_cv_func__expl_use=yes
26910 else
26911 glibcxx_cv_func__expl_use=no
26913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26914 ac_ext=c
26915 ac_cpp='$CPP $CPPFLAGS'
26916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26925 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26927 if test x$glibcxx_cv_func__expl_use = x"yes"; then
26928 for ac_func in _expl
26929 do :
26930 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26931 if test "x$ac_cv_func__expl" = xyes; then :
26932 cat >>confdefs.h <<_ACEOF
26933 #define HAVE__EXPL 1
26934 _ACEOF
26937 done
26946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26947 $as_echo_n "checking for fabsl declaration... " >&6; }
26948 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26949 if ${glibcxx_cv_func_fabsl_use+:} false; then :
26950 $as_echo_n "(cached) " >&6
26951 else
26954 ac_ext=cpp
26955 ac_cpp='$CXXCPP $CPPFLAGS'
26956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26961 /* end confdefs.h. */
26962 #include <math.h>
26963 #ifdef HAVE_IEEEFP_H
26964 #include <ieeefp.h>
26965 #endif
26968 main ()
26970 fabsl(0);
26972 return 0;
26974 _ACEOF
26975 if ac_fn_cxx_try_compile "$LINENO"; then :
26976 glibcxx_cv_func_fabsl_use=yes
26977 else
26978 glibcxx_cv_func_fabsl_use=no
26980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26981 ac_ext=c
26982 ac_cpp='$CPP $CPPFLAGS'
26983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26992 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26994 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26995 for ac_func in fabsl
26996 do :
26997 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26998 if test "x$ac_cv_func_fabsl" = xyes; then :
26999 cat >>confdefs.h <<_ACEOF
27000 #define HAVE_FABSL 1
27001 _ACEOF
27004 done
27006 else
27008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
27009 $as_echo_n "checking for _fabsl declaration... " >&6; }
27010 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
27011 if ${glibcxx_cv_func__fabsl_use+:} false; then :
27012 $as_echo_n "(cached) " >&6
27013 else
27016 ac_ext=cpp
27017 ac_cpp='$CXXCPP $CPPFLAGS'
27018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27023 /* end confdefs.h. */
27024 #include <math.h>
27025 #ifdef HAVE_IEEEFP_H
27026 #include <ieeefp.h>
27027 #endif
27030 main ()
27032 _fabsl(0);
27034 return 0;
27036 _ACEOF
27037 if ac_fn_cxx_try_compile "$LINENO"; then :
27038 glibcxx_cv_func__fabsl_use=yes
27039 else
27040 glibcxx_cv_func__fabsl_use=no
27042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27043 ac_ext=c
27044 ac_cpp='$CPP $CPPFLAGS'
27045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
27054 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
27056 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
27057 for ac_func in _fabsl
27058 do :
27059 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
27060 if test "x$ac_cv_func__fabsl" = xyes; then :
27061 cat >>confdefs.h <<_ACEOF
27062 #define HAVE__FABSL 1
27063 _ACEOF
27066 done
27075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
27076 $as_echo_n "checking for fmodl declaration... " >&6; }
27077 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
27078 if ${glibcxx_cv_func_fmodl_use+:} false; then :
27079 $as_echo_n "(cached) " >&6
27080 else
27083 ac_ext=cpp
27084 ac_cpp='$CXXCPP $CPPFLAGS'
27085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27090 /* end confdefs.h. */
27091 #include <math.h>
27093 main ()
27095 fmodl(0, 0);
27097 return 0;
27099 _ACEOF
27100 if ac_fn_cxx_try_compile "$LINENO"; then :
27101 glibcxx_cv_func_fmodl_use=yes
27102 else
27103 glibcxx_cv_func_fmodl_use=no
27105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27106 ac_ext=c
27107 ac_cpp='$CPP $CPPFLAGS'
27108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
27117 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
27119 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
27120 for ac_func in fmodl
27121 do :
27122 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
27123 if test "x$ac_cv_func_fmodl" = xyes; then :
27124 cat >>confdefs.h <<_ACEOF
27125 #define HAVE_FMODL 1
27126 _ACEOF
27129 done
27131 else
27133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
27134 $as_echo_n "checking for _fmodl declaration... " >&6; }
27135 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
27136 if ${glibcxx_cv_func__fmodl_use+:} false; then :
27137 $as_echo_n "(cached) " >&6
27138 else
27141 ac_ext=cpp
27142 ac_cpp='$CXXCPP $CPPFLAGS'
27143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27148 /* end confdefs.h. */
27149 #include <math.h>
27151 main ()
27153 _fmodl(0, 0);
27155 return 0;
27157 _ACEOF
27158 if ac_fn_cxx_try_compile "$LINENO"; then :
27159 glibcxx_cv_func__fmodl_use=yes
27160 else
27161 glibcxx_cv_func__fmodl_use=no
27163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27164 ac_ext=c
27165 ac_cpp='$CPP $CPPFLAGS'
27166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
27175 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
27177 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
27178 for ac_func in _fmodl
27179 do :
27180 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
27181 if test "x$ac_cv_func__fmodl" = xyes; then :
27182 cat >>confdefs.h <<_ACEOF
27183 #define HAVE__FMODL 1
27184 _ACEOF
27187 done
27196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
27197 $as_echo_n "checking for frexpl declaration... " >&6; }
27198 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
27199 if ${glibcxx_cv_func_frexpl_use+:} false; then :
27200 $as_echo_n "(cached) " >&6
27201 else
27204 ac_ext=cpp
27205 ac_cpp='$CXXCPP $CPPFLAGS'
27206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27211 /* end confdefs.h. */
27212 #include <math.h>
27214 main ()
27216 frexpl(0, 0);
27218 return 0;
27220 _ACEOF
27221 if ac_fn_cxx_try_compile "$LINENO"; then :
27222 glibcxx_cv_func_frexpl_use=yes
27223 else
27224 glibcxx_cv_func_frexpl_use=no
27226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27227 ac_ext=c
27228 ac_cpp='$CPP $CPPFLAGS'
27229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
27238 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
27240 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
27241 for ac_func in frexpl
27242 do :
27243 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
27244 if test "x$ac_cv_func_frexpl" = xyes; then :
27245 cat >>confdefs.h <<_ACEOF
27246 #define HAVE_FREXPL 1
27247 _ACEOF
27250 done
27252 else
27254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
27255 $as_echo_n "checking for _frexpl declaration... " >&6; }
27256 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
27257 if ${glibcxx_cv_func__frexpl_use+:} false; then :
27258 $as_echo_n "(cached) " >&6
27259 else
27262 ac_ext=cpp
27263 ac_cpp='$CXXCPP $CPPFLAGS'
27264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27269 /* end confdefs.h. */
27270 #include <math.h>
27272 main ()
27274 _frexpl(0, 0);
27276 return 0;
27278 _ACEOF
27279 if ac_fn_cxx_try_compile "$LINENO"; then :
27280 glibcxx_cv_func__frexpl_use=yes
27281 else
27282 glibcxx_cv_func__frexpl_use=no
27284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27285 ac_ext=c
27286 ac_cpp='$CPP $CPPFLAGS'
27287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
27296 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
27298 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
27299 for ac_func in _frexpl
27300 do :
27301 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
27302 if test "x$ac_cv_func__frexpl" = xyes; then :
27303 cat >>confdefs.h <<_ACEOF
27304 #define HAVE__FREXPL 1
27305 _ACEOF
27308 done
27317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
27318 $as_echo_n "checking for hypotl declaration... " >&6; }
27319 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
27320 if ${glibcxx_cv_func_hypotl_use+:} false; then :
27321 $as_echo_n "(cached) " >&6
27322 else
27325 ac_ext=cpp
27326 ac_cpp='$CXXCPP $CPPFLAGS'
27327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27332 /* end confdefs.h. */
27333 #include <math.h>
27335 main ()
27337 hypotl(0, 0);
27339 return 0;
27341 _ACEOF
27342 if ac_fn_cxx_try_compile "$LINENO"; then :
27343 glibcxx_cv_func_hypotl_use=yes
27344 else
27345 glibcxx_cv_func_hypotl_use=no
27347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27348 ac_ext=c
27349 ac_cpp='$CPP $CPPFLAGS'
27350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
27359 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
27361 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
27362 for ac_func in hypotl
27363 do :
27364 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
27365 if test "x$ac_cv_func_hypotl" = xyes; then :
27366 cat >>confdefs.h <<_ACEOF
27367 #define HAVE_HYPOTL 1
27368 _ACEOF
27371 done
27373 else
27375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
27376 $as_echo_n "checking for _hypotl declaration... " >&6; }
27377 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
27378 if ${glibcxx_cv_func__hypotl_use+:} false; then :
27379 $as_echo_n "(cached) " >&6
27380 else
27383 ac_ext=cpp
27384 ac_cpp='$CXXCPP $CPPFLAGS'
27385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27390 /* end confdefs.h. */
27391 #include <math.h>
27393 main ()
27395 _hypotl(0, 0);
27397 return 0;
27399 _ACEOF
27400 if ac_fn_cxx_try_compile "$LINENO"; then :
27401 glibcxx_cv_func__hypotl_use=yes
27402 else
27403 glibcxx_cv_func__hypotl_use=no
27405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27406 ac_ext=c
27407 ac_cpp='$CPP $CPPFLAGS'
27408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
27417 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
27419 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
27420 for ac_func in _hypotl
27421 do :
27422 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
27423 if test "x$ac_cv_func__hypotl" = xyes; then :
27424 cat >>confdefs.h <<_ACEOF
27425 #define HAVE__HYPOTL 1
27426 _ACEOF
27429 done
27438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
27439 $as_echo_n "checking for ldexpl declaration... " >&6; }
27440 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
27441 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
27442 $as_echo_n "(cached) " >&6
27443 else
27446 ac_ext=cpp
27447 ac_cpp='$CXXCPP $CPPFLAGS'
27448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27453 /* end confdefs.h. */
27454 #include <math.h>
27456 main ()
27458 ldexpl(0, 0);
27460 return 0;
27462 _ACEOF
27463 if ac_fn_cxx_try_compile "$LINENO"; then :
27464 glibcxx_cv_func_ldexpl_use=yes
27465 else
27466 glibcxx_cv_func_ldexpl_use=no
27468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27469 ac_ext=c
27470 ac_cpp='$CPP $CPPFLAGS'
27471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
27480 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
27482 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
27483 for ac_func in ldexpl
27484 do :
27485 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
27486 if test "x$ac_cv_func_ldexpl" = xyes; then :
27487 cat >>confdefs.h <<_ACEOF
27488 #define HAVE_LDEXPL 1
27489 _ACEOF
27492 done
27494 else
27496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
27497 $as_echo_n "checking for _ldexpl declaration... " >&6; }
27498 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
27499 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
27500 $as_echo_n "(cached) " >&6
27501 else
27504 ac_ext=cpp
27505 ac_cpp='$CXXCPP $CPPFLAGS'
27506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27511 /* end confdefs.h. */
27512 #include <math.h>
27514 main ()
27516 _ldexpl(0, 0);
27518 return 0;
27520 _ACEOF
27521 if ac_fn_cxx_try_compile "$LINENO"; then :
27522 glibcxx_cv_func__ldexpl_use=yes
27523 else
27524 glibcxx_cv_func__ldexpl_use=no
27526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27527 ac_ext=c
27528 ac_cpp='$CPP $CPPFLAGS'
27529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
27538 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
27540 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
27541 for ac_func in _ldexpl
27542 do :
27543 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
27544 if test "x$ac_cv_func__ldexpl" = xyes; then :
27545 cat >>confdefs.h <<_ACEOF
27546 #define HAVE__LDEXPL 1
27547 _ACEOF
27550 done
27559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
27560 $as_echo_n "checking for logl declaration... " >&6; }
27561 if test x${glibcxx_cv_func_logl_use+set} != xset; then
27562 if ${glibcxx_cv_func_logl_use+:} false; then :
27563 $as_echo_n "(cached) " >&6
27564 else
27567 ac_ext=cpp
27568 ac_cpp='$CXXCPP $CPPFLAGS'
27569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27574 /* end confdefs.h. */
27575 #include <math.h>
27576 #ifdef HAVE_IEEEFP_H
27577 #include <ieeefp.h>
27578 #endif
27581 main ()
27583 logl(0);
27585 return 0;
27587 _ACEOF
27588 if ac_fn_cxx_try_compile "$LINENO"; then :
27589 glibcxx_cv_func_logl_use=yes
27590 else
27591 glibcxx_cv_func_logl_use=no
27593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27594 ac_ext=c
27595 ac_cpp='$CPP $CPPFLAGS'
27596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
27605 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
27607 if test x$glibcxx_cv_func_logl_use = x"yes"; then
27608 for ac_func in logl
27609 do :
27610 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
27611 if test "x$ac_cv_func_logl" = xyes; then :
27612 cat >>confdefs.h <<_ACEOF
27613 #define HAVE_LOGL 1
27614 _ACEOF
27617 done
27619 else
27621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
27622 $as_echo_n "checking for _logl declaration... " >&6; }
27623 if test x${glibcxx_cv_func__logl_use+set} != xset; then
27624 if ${glibcxx_cv_func__logl_use+:} false; then :
27625 $as_echo_n "(cached) " >&6
27626 else
27629 ac_ext=cpp
27630 ac_cpp='$CXXCPP $CPPFLAGS'
27631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27636 /* end confdefs.h. */
27637 #include <math.h>
27638 #ifdef HAVE_IEEEFP_H
27639 #include <ieeefp.h>
27640 #endif
27643 main ()
27645 _logl(0);
27647 return 0;
27649 _ACEOF
27650 if ac_fn_cxx_try_compile "$LINENO"; then :
27651 glibcxx_cv_func__logl_use=yes
27652 else
27653 glibcxx_cv_func__logl_use=no
27655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27656 ac_ext=c
27657 ac_cpp='$CPP $CPPFLAGS'
27658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
27667 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
27669 if test x$glibcxx_cv_func__logl_use = x"yes"; then
27670 for ac_func in _logl
27671 do :
27672 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
27673 if test "x$ac_cv_func__logl" = xyes; then :
27674 cat >>confdefs.h <<_ACEOF
27675 #define HAVE__LOGL 1
27676 _ACEOF
27679 done
27688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
27689 $as_echo_n "checking for log10l declaration... " >&6; }
27690 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
27691 if ${glibcxx_cv_func_log10l_use+:} false; then :
27692 $as_echo_n "(cached) " >&6
27693 else
27696 ac_ext=cpp
27697 ac_cpp='$CXXCPP $CPPFLAGS'
27698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27703 /* end confdefs.h. */
27704 #include <math.h>
27705 #ifdef HAVE_IEEEFP_H
27706 #include <ieeefp.h>
27707 #endif
27710 main ()
27712 log10l(0);
27714 return 0;
27716 _ACEOF
27717 if ac_fn_cxx_try_compile "$LINENO"; then :
27718 glibcxx_cv_func_log10l_use=yes
27719 else
27720 glibcxx_cv_func_log10l_use=no
27722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27723 ac_ext=c
27724 ac_cpp='$CPP $CPPFLAGS'
27725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
27734 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
27736 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
27737 for ac_func in log10l
27738 do :
27739 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
27740 if test "x$ac_cv_func_log10l" = xyes; then :
27741 cat >>confdefs.h <<_ACEOF
27742 #define HAVE_LOG10L 1
27743 _ACEOF
27746 done
27748 else
27750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
27751 $as_echo_n "checking for _log10l declaration... " >&6; }
27752 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
27753 if ${glibcxx_cv_func__log10l_use+:} false; then :
27754 $as_echo_n "(cached) " >&6
27755 else
27758 ac_ext=cpp
27759 ac_cpp='$CXXCPP $CPPFLAGS'
27760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27765 /* end confdefs.h. */
27766 #include <math.h>
27767 #ifdef HAVE_IEEEFP_H
27768 #include <ieeefp.h>
27769 #endif
27772 main ()
27774 _log10l(0);
27776 return 0;
27778 _ACEOF
27779 if ac_fn_cxx_try_compile "$LINENO"; then :
27780 glibcxx_cv_func__log10l_use=yes
27781 else
27782 glibcxx_cv_func__log10l_use=no
27784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27785 ac_ext=c
27786 ac_cpp='$CPP $CPPFLAGS'
27787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
27796 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
27798 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
27799 for ac_func in _log10l
27800 do :
27801 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
27802 if test "x$ac_cv_func__log10l" = xyes; then :
27803 cat >>confdefs.h <<_ACEOF
27804 #define HAVE__LOG10L 1
27805 _ACEOF
27808 done
27817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
27818 $as_echo_n "checking for modfl declaration... " >&6; }
27819 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
27820 if ${glibcxx_cv_func_modfl_use+:} false; then :
27821 $as_echo_n "(cached) " >&6
27822 else
27825 ac_ext=cpp
27826 ac_cpp='$CXXCPP $CPPFLAGS'
27827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27832 /* end confdefs.h. */
27833 #include <math.h>
27835 main ()
27837 modfl(0, 0);
27839 return 0;
27841 _ACEOF
27842 if ac_fn_cxx_try_compile "$LINENO"; then :
27843 glibcxx_cv_func_modfl_use=yes
27844 else
27845 glibcxx_cv_func_modfl_use=no
27847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27848 ac_ext=c
27849 ac_cpp='$CPP $CPPFLAGS'
27850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27859 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27861 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27862 for ac_func in modfl
27863 do :
27864 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27865 if test "x$ac_cv_func_modfl" = xyes; then :
27866 cat >>confdefs.h <<_ACEOF
27867 #define HAVE_MODFL 1
27868 _ACEOF
27871 done
27873 else
27875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27876 $as_echo_n "checking for _modfl declaration... " >&6; }
27877 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27878 if ${glibcxx_cv_func__modfl_use+:} false; then :
27879 $as_echo_n "(cached) " >&6
27880 else
27883 ac_ext=cpp
27884 ac_cpp='$CXXCPP $CPPFLAGS'
27885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27890 /* end confdefs.h. */
27891 #include <math.h>
27893 main ()
27895 _modfl(0, 0);
27897 return 0;
27899 _ACEOF
27900 if ac_fn_cxx_try_compile "$LINENO"; then :
27901 glibcxx_cv_func__modfl_use=yes
27902 else
27903 glibcxx_cv_func__modfl_use=no
27905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27906 ac_ext=c
27907 ac_cpp='$CPP $CPPFLAGS'
27908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27917 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27919 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27920 for ac_func in _modfl
27921 do :
27922 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27923 if test "x$ac_cv_func__modfl" = xyes; then :
27924 cat >>confdefs.h <<_ACEOF
27925 #define HAVE__MODFL 1
27926 _ACEOF
27929 done
27938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27939 $as_echo_n "checking for powl declaration... " >&6; }
27940 if test x${glibcxx_cv_func_powl_use+set} != xset; then
27941 if ${glibcxx_cv_func_powl_use+:} false; then :
27942 $as_echo_n "(cached) " >&6
27943 else
27946 ac_ext=cpp
27947 ac_cpp='$CXXCPP $CPPFLAGS'
27948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27953 /* end confdefs.h. */
27954 #include <math.h>
27956 main ()
27958 powl(0, 0);
27960 return 0;
27962 _ACEOF
27963 if ac_fn_cxx_try_compile "$LINENO"; then :
27964 glibcxx_cv_func_powl_use=yes
27965 else
27966 glibcxx_cv_func_powl_use=no
27968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27969 ac_ext=c
27970 ac_cpp='$CPP $CPPFLAGS'
27971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27980 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27982 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27983 for ac_func in powl
27984 do :
27985 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27986 if test "x$ac_cv_func_powl" = xyes; then :
27987 cat >>confdefs.h <<_ACEOF
27988 #define HAVE_POWL 1
27989 _ACEOF
27992 done
27994 else
27996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27997 $as_echo_n "checking for _powl declaration... " >&6; }
27998 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27999 if ${glibcxx_cv_func__powl_use+:} false; then :
28000 $as_echo_n "(cached) " >&6
28001 else
28004 ac_ext=cpp
28005 ac_cpp='$CXXCPP $CPPFLAGS'
28006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28011 /* end confdefs.h. */
28012 #include <math.h>
28014 main ()
28016 _powl(0, 0);
28018 return 0;
28020 _ACEOF
28021 if ac_fn_cxx_try_compile "$LINENO"; then :
28022 glibcxx_cv_func__powl_use=yes
28023 else
28024 glibcxx_cv_func__powl_use=no
28026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28027 ac_ext=c
28028 ac_cpp='$CPP $CPPFLAGS'
28029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
28038 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
28040 if test x$glibcxx_cv_func__powl_use = x"yes"; then
28041 for ac_func in _powl
28042 do :
28043 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
28044 if test "x$ac_cv_func__powl" = xyes; then :
28045 cat >>confdefs.h <<_ACEOF
28046 #define HAVE__POWL 1
28047 _ACEOF
28050 done
28059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
28060 $as_echo_n "checking for sqrtl declaration... " >&6; }
28061 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
28062 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
28063 $as_echo_n "(cached) " >&6
28064 else
28067 ac_ext=cpp
28068 ac_cpp='$CXXCPP $CPPFLAGS'
28069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28074 /* end confdefs.h. */
28075 #include <math.h>
28076 #ifdef HAVE_IEEEFP_H
28077 #include <ieeefp.h>
28078 #endif
28081 main ()
28083 sqrtl(0);
28085 return 0;
28087 _ACEOF
28088 if ac_fn_cxx_try_compile "$LINENO"; then :
28089 glibcxx_cv_func_sqrtl_use=yes
28090 else
28091 glibcxx_cv_func_sqrtl_use=no
28093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28094 ac_ext=c
28095 ac_cpp='$CPP $CPPFLAGS'
28096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
28105 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
28107 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
28108 for ac_func in sqrtl
28109 do :
28110 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
28111 if test "x$ac_cv_func_sqrtl" = xyes; then :
28112 cat >>confdefs.h <<_ACEOF
28113 #define HAVE_SQRTL 1
28114 _ACEOF
28117 done
28119 else
28121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
28122 $as_echo_n "checking for _sqrtl declaration... " >&6; }
28123 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
28124 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
28125 $as_echo_n "(cached) " >&6
28126 else
28129 ac_ext=cpp
28130 ac_cpp='$CXXCPP $CPPFLAGS'
28131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28136 /* end confdefs.h. */
28137 #include <math.h>
28138 #ifdef HAVE_IEEEFP_H
28139 #include <ieeefp.h>
28140 #endif
28143 main ()
28145 _sqrtl(0);
28147 return 0;
28149 _ACEOF
28150 if ac_fn_cxx_try_compile "$LINENO"; then :
28151 glibcxx_cv_func__sqrtl_use=yes
28152 else
28153 glibcxx_cv_func__sqrtl_use=no
28155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28156 ac_ext=c
28157 ac_cpp='$CPP $CPPFLAGS'
28158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
28167 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
28169 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
28170 for ac_func in _sqrtl
28171 do :
28172 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
28173 if test "x$ac_cv_func__sqrtl" = xyes; then :
28174 cat >>confdefs.h <<_ACEOF
28175 #define HAVE__SQRTL 1
28176 _ACEOF
28179 done
28188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
28189 $as_echo_n "checking for sincosl declaration... " >&6; }
28190 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
28191 if ${glibcxx_cv_func_sincosl_use+:} false; then :
28192 $as_echo_n "(cached) " >&6
28193 else
28196 ac_ext=cpp
28197 ac_cpp='$CXXCPP $CPPFLAGS'
28198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28203 /* end confdefs.h. */
28204 #include <math.h>
28206 main ()
28208 sincosl(0, 0, 0);
28210 return 0;
28212 _ACEOF
28213 if ac_fn_cxx_try_compile "$LINENO"; then :
28214 glibcxx_cv_func_sincosl_use=yes
28215 else
28216 glibcxx_cv_func_sincosl_use=no
28218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28219 ac_ext=c
28220 ac_cpp='$CPP $CPPFLAGS'
28221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
28230 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
28232 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
28233 for ac_func in sincosl
28234 do :
28235 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
28236 if test "x$ac_cv_func_sincosl" = xyes; then :
28237 cat >>confdefs.h <<_ACEOF
28238 #define HAVE_SINCOSL 1
28239 _ACEOF
28242 done
28244 else
28246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
28247 $as_echo_n "checking for _sincosl declaration... " >&6; }
28248 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
28249 if ${glibcxx_cv_func__sincosl_use+:} false; then :
28250 $as_echo_n "(cached) " >&6
28251 else
28254 ac_ext=cpp
28255 ac_cpp='$CXXCPP $CPPFLAGS'
28256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28261 /* end confdefs.h. */
28262 #include <math.h>
28264 main ()
28266 _sincosl(0, 0, 0);
28268 return 0;
28270 _ACEOF
28271 if ac_fn_cxx_try_compile "$LINENO"; then :
28272 glibcxx_cv_func__sincosl_use=yes
28273 else
28274 glibcxx_cv_func__sincosl_use=no
28276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28277 ac_ext=c
28278 ac_cpp='$CPP $CPPFLAGS'
28279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
28288 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
28290 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
28291 for ac_func in _sincosl
28292 do :
28293 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
28294 if test "x$ac_cv_func__sincosl" = xyes; then :
28295 cat >>confdefs.h <<_ACEOF
28296 #define HAVE__SINCOSL 1
28297 _ACEOF
28300 done
28309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
28310 $as_echo_n "checking for finitel declaration... " >&6; }
28311 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
28312 if ${glibcxx_cv_func_finitel_use+:} false; then :
28313 $as_echo_n "(cached) " >&6
28314 else
28317 ac_ext=cpp
28318 ac_cpp='$CXXCPP $CPPFLAGS'
28319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28324 /* end confdefs.h. */
28325 #include <math.h>
28326 #ifdef HAVE_IEEEFP_H
28327 #include <ieeefp.h>
28328 #endif
28331 main ()
28333 finitel(0);
28335 return 0;
28337 _ACEOF
28338 if ac_fn_cxx_try_compile "$LINENO"; then :
28339 glibcxx_cv_func_finitel_use=yes
28340 else
28341 glibcxx_cv_func_finitel_use=no
28343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28344 ac_ext=c
28345 ac_cpp='$CPP $CPPFLAGS'
28346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
28355 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
28357 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
28358 for ac_func in finitel
28359 do :
28360 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
28361 if test "x$ac_cv_func_finitel" = xyes; then :
28362 cat >>confdefs.h <<_ACEOF
28363 #define HAVE_FINITEL 1
28364 _ACEOF
28367 done
28369 else
28371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
28372 $as_echo_n "checking for _finitel declaration... " >&6; }
28373 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
28374 if ${glibcxx_cv_func__finitel_use+:} false; then :
28375 $as_echo_n "(cached) " >&6
28376 else
28379 ac_ext=cpp
28380 ac_cpp='$CXXCPP $CPPFLAGS'
28381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28386 /* end confdefs.h. */
28387 #include <math.h>
28388 #ifdef HAVE_IEEEFP_H
28389 #include <ieeefp.h>
28390 #endif
28393 main ()
28395 _finitel(0);
28397 return 0;
28399 _ACEOF
28400 if ac_fn_cxx_try_compile "$LINENO"; then :
28401 glibcxx_cv_func__finitel_use=yes
28402 else
28403 glibcxx_cv_func__finitel_use=no
28405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28406 ac_ext=c
28407 ac_cpp='$CPP $CPPFLAGS'
28408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
28417 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
28419 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
28420 for ac_func in _finitel
28421 do :
28422 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
28423 if test "x$ac_cv_func__finitel" = xyes; then :
28424 cat >>confdefs.h <<_ACEOF
28425 #define HAVE__FINITEL 1
28426 _ACEOF
28429 done
28437 LIBS="$ac_save_LIBS"
28438 CXXFLAGS="$ac_save_CXXFLAGS"
28441 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28442 ac_save_CXXFLAGS="$CXXFLAGS"
28443 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
28447 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
28448 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
28449 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
28450 $as_echo_n "(cached) " >&6
28451 else
28454 ac_ext=cpp
28455 ac_cpp='$CXXCPP $CPPFLAGS'
28456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28461 /* end confdefs.h. */
28462 #include <stdlib.h>
28464 main ()
28466 at_quick_exit(0);
28468 return 0;
28470 _ACEOF
28471 if ac_fn_cxx_try_compile "$LINENO"; then :
28472 glibcxx_cv_func_at_quick_exit_use=yes
28473 else
28474 glibcxx_cv_func_at_quick_exit_use=no
28476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28477 ac_ext=c
28478 ac_cpp='$CPP $CPPFLAGS'
28479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
28488 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
28489 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
28490 for ac_func in at_quick_exit
28491 do :
28492 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
28493 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
28494 cat >>confdefs.h <<_ACEOF
28495 #define HAVE_AT_QUICK_EXIT 1
28496 _ACEOF
28499 done
28504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
28505 $as_echo_n "checking for quick_exit declaration... " >&6; }
28506 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
28507 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
28508 $as_echo_n "(cached) " >&6
28509 else
28512 ac_ext=cpp
28513 ac_cpp='$CXXCPP $CPPFLAGS'
28514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28519 /* end confdefs.h. */
28520 #include <stdlib.h>
28522 main ()
28524 quick_exit(0);
28526 return 0;
28528 _ACEOF
28529 if ac_fn_cxx_try_compile "$LINENO"; then :
28530 glibcxx_cv_func_quick_exit_use=yes
28531 else
28532 glibcxx_cv_func_quick_exit_use=no
28534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28535 ac_ext=c
28536 ac_cpp='$CPP $CPPFLAGS'
28537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
28546 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
28547 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
28548 for ac_func in quick_exit
28549 do :
28550 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
28551 if test "x$ac_cv_func_quick_exit" = xyes; then :
28552 cat >>confdefs.h <<_ACEOF
28553 #define HAVE_QUICK_EXIT 1
28554 _ACEOF
28557 done
28562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
28563 $as_echo_n "checking for strtold declaration... " >&6; }
28564 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
28565 if ${glibcxx_cv_func_strtold_use+:} false; then :
28566 $as_echo_n "(cached) " >&6
28567 else
28570 ac_ext=cpp
28571 ac_cpp='$CXXCPP $CPPFLAGS'
28572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28577 /* end confdefs.h. */
28578 #include <stdlib.h>
28580 main ()
28582 strtold(0, 0);
28584 return 0;
28586 _ACEOF
28587 if ac_fn_cxx_try_compile "$LINENO"; then :
28588 glibcxx_cv_func_strtold_use=yes
28589 else
28590 glibcxx_cv_func_strtold_use=no
28592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28593 ac_ext=c
28594 ac_cpp='$CPP $CPPFLAGS'
28595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
28604 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
28605 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28606 for ac_func in strtold
28607 do :
28608 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
28609 if test "x$ac_cv_func_strtold" = xyes; then :
28610 cat >>confdefs.h <<_ACEOF
28611 #define HAVE_STRTOLD 1
28612 _ACEOF
28615 done
28622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
28623 $as_echo_n "checking for strtof declaration... " >&6; }
28624 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
28625 if ${glibcxx_cv_func_strtof_use+:} false; then :
28626 $as_echo_n "(cached) " >&6
28627 else
28630 ac_ext=cpp
28631 ac_cpp='$CXXCPP $CPPFLAGS'
28632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28637 /* end confdefs.h. */
28638 #include <stdlib.h>
28640 main ()
28642 strtof(0, 0);
28644 return 0;
28646 _ACEOF
28647 if ac_fn_cxx_try_compile "$LINENO"; then :
28648 glibcxx_cv_func_strtof_use=yes
28649 else
28650 glibcxx_cv_func_strtof_use=no
28652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28653 ac_ext=c
28654 ac_cpp='$CPP $CPPFLAGS'
28655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
28664 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
28665 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
28666 for ac_func in strtof
28667 do :
28668 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
28669 if test "x$ac_cv_func_strtof" = xyes; then :
28670 cat >>confdefs.h <<_ACEOF
28671 #define HAVE_STRTOF 1
28672 _ACEOF
28675 done
28682 CXXFLAGS="$ac_save_CXXFLAGS"
28685 # For /dev/random and /dev/urandom for std::random_device.
28688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device" >&5
28689 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device... " >&6; }
28690 if ${glibcxx_cv_dev_random+:} false; then :
28691 $as_echo_n "(cached) " >&6
28692 else
28694 if test -r /dev/random && test -r /dev/urandom; then
28695 ## For MSys environment the test above is detected as false-positive
28696 ## on mingw-targets. So disable it explicitly for them.
28697 case ${target_os} in
28698 *mingw*) glibcxx_cv_dev_random=no ;;
28699 *) glibcxx_cv_dev_random=yes ;;
28700 esac
28701 else
28702 glibcxx_cv_dev_random=no;
28707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dev_random" >&5
28708 $as_echo "$glibcxx_cv_dev_random" >&6; }
28710 if test x"$glibcxx_cv_dev_random" = x"yes"; then
28712 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
28715 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
28721 # For TLS support.
28724 # Check whether --enable-tls was given.
28725 if test "${enable_tls+set}" = set; then :
28726 enableval=$enable_tls;
28727 case "$enableval" in
28728 yes|no) ;;
28729 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
28730 esac
28732 else
28733 enable_tls=yes
28737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
28738 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
28739 if ${gcc_cv_have_tls+:} false; then :
28740 $as_echo_n "(cached) " >&6
28741 else
28743 if test "$cross_compiling" = yes; then :
28744 if test x$gcc_no_link = xyes; then
28745 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28748 /* end confdefs.h. */
28749 __thread int a; int b; int main() { return a = b; }
28750 _ACEOF
28751 if ac_fn_c_try_link "$LINENO"; then :
28752 chktls_save_LDFLAGS="$LDFLAGS"
28753 case $host in
28754 *-*-linux* | -*-uclinuxfdpic*)
28755 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
28757 esac
28758 chktls_save_CFLAGS="$CFLAGS"
28759 CFLAGS="-fPIC $CFLAGS"
28760 if test x$gcc_no_link = xyes; then
28761 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28764 /* end confdefs.h. */
28765 int f() { return 0; }
28766 _ACEOF
28767 if ac_fn_c_try_link "$LINENO"; then :
28768 if test x$gcc_no_link = xyes; then
28769 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28772 /* end confdefs.h. */
28773 __thread int a; int b; int f() { return a = b; }
28774 _ACEOF
28775 if ac_fn_c_try_link "$LINENO"; then :
28776 gcc_cv_have_tls=yes
28777 else
28778 gcc_cv_have_tls=no
28780 rm -f core conftest.err conftest.$ac_objext \
28781 conftest$ac_exeext conftest.$ac_ext
28782 else
28783 gcc_cv_have_tls=yes
28785 rm -f core conftest.err conftest.$ac_objext \
28786 conftest$ac_exeext conftest.$ac_ext
28787 CFLAGS="$chktls_save_CFLAGS"
28788 LDFLAGS="$chktls_save_LDFLAGS"
28789 else
28790 gcc_cv_have_tls=no
28792 rm -f core conftest.err conftest.$ac_objext \
28793 conftest$ac_exeext conftest.$ac_ext
28796 else
28797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28798 /* end confdefs.h. */
28799 __thread int a; int b; int main() { return a = b; }
28800 _ACEOF
28801 if ac_fn_c_try_run "$LINENO"; then :
28802 chktls_save_LDFLAGS="$LDFLAGS"
28803 LDFLAGS="-static $LDFLAGS"
28804 if test x$gcc_no_link = xyes; then
28805 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28808 /* end confdefs.h. */
28809 int main() { return 0; }
28810 _ACEOF
28811 if ac_fn_c_try_link "$LINENO"; then :
28812 if test "$cross_compiling" = yes; then :
28813 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28814 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28815 as_fn_error $? "cannot run test program while cross compiling
28816 See \`config.log' for more details" "$LINENO" 5; }
28817 else
28818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28819 /* end confdefs.h. */
28820 __thread int a; int b; int main() { return a = b; }
28821 _ACEOF
28822 if ac_fn_c_try_run "$LINENO"; then :
28823 gcc_cv_have_tls=yes
28824 else
28825 gcc_cv_have_tls=no
28827 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28828 conftest.$ac_objext conftest.beam conftest.$ac_ext
28831 else
28832 gcc_cv_have_tls=yes
28834 rm -f core conftest.err conftest.$ac_objext \
28835 conftest$ac_exeext conftest.$ac_ext
28836 LDFLAGS="$chktls_save_LDFLAGS"
28837 if test $gcc_cv_have_tls = yes; then
28838 chktls_save_CFLAGS="$CFLAGS"
28839 thread_CFLAGS=failed
28840 for flag in '' '-pthread' '-lpthread'; do
28841 CFLAGS="$flag $chktls_save_CFLAGS"
28842 if test x$gcc_no_link = xyes; then
28843 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28846 /* end confdefs.h. */
28847 #include <pthread.h>
28848 void *g(void *d) { return NULL; }
28850 main ()
28852 pthread_t t; pthread_create(&t,NULL,g,NULL);
28854 return 0;
28856 _ACEOF
28857 if ac_fn_c_try_link "$LINENO"; then :
28858 thread_CFLAGS="$flag"
28860 rm -f core conftest.err conftest.$ac_objext \
28861 conftest$ac_exeext conftest.$ac_ext
28862 if test "X$thread_CFLAGS" != Xfailed; then
28863 break
28865 done
28866 CFLAGS="$chktls_save_CFLAGS"
28867 if test "X$thread_CFLAGS" != Xfailed; then
28868 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28869 if test "$cross_compiling" = yes; then :
28870 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28871 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28872 as_fn_error $? "cannot run test program while cross compiling
28873 See \`config.log' for more details" "$LINENO" 5; }
28874 else
28875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28876 /* end confdefs.h. */
28877 #include <pthread.h>
28878 __thread int a;
28879 static int *volatile a_in_other_thread;
28880 static void *
28881 thread_func (void *arg)
28883 a_in_other_thread = &a;
28884 return (void *)0;
28887 main ()
28889 pthread_t thread;
28890 void *thread_retval;
28891 int *volatile a_in_main_thread;
28892 a_in_main_thread = &a;
28893 if (pthread_create (&thread, (pthread_attr_t *)0,
28894 thread_func, (void *)0))
28895 return 0;
28896 if (pthread_join (thread, &thread_retval))
28897 return 0;
28898 return (a_in_other_thread == a_in_main_thread);
28900 return 0;
28902 _ACEOF
28903 if ac_fn_c_try_run "$LINENO"; then :
28904 gcc_cv_have_tls=yes
28905 else
28906 gcc_cv_have_tls=no
28908 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28909 conftest.$ac_objext conftest.beam conftest.$ac_ext
28912 CFLAGS="$chktls_save_CFLAGS"
28915 else
28916 gcc_cv_have_tls=no
28918 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28919 conftest.$ac_objext conftest.beam conftest.$ac_ext
28923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28924 $as_echo "$gcc_cv_have_tls" >&6; }
28925 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28927 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28931 for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28932 do :
28933 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28934 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28935 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28936 cat >>confdefs.h <<_ACEOF
28937 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28938 _ACEOF
28941 done
28943 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28944 do :
28945 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28946 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28947 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28948 cat >>confdefs.h <<_ACEOF
28949 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28950 _ACEOF
28953 done
28955 for ac_func in _wfopen
28956 do :
28957 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
28958 if test "x$ac_cv_func__wfopen" = xyes; then :
28959 cat >>confdefs.h <<_ACEOF
28960 #define HAVE__WFOPEN 1
28961 _ACEOF
28964 done
28967 # C11 functions for C++17 library
28968 for ac_func in timespec_get
28969 do :
28970 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
28971 if test "x$ac_cv_func_timespec_get" = xyes; then :
28972 cat >>confdefs.h <<_ACEOF
28973 #define HAVE_TIMESPEC_GET 1
28974 _ACEOF
28977 done
28980 # For Networking TS.
28981 for ac_func in sockatmark
28982 do :
28983 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
28984 if test "x$ac_cv_func_sockatmark" = xyes; then :
28985 cat >>confdefs.h <<_ACEOF
28986 #define HAVE_SOCKATMARK 1
28987 _ACEOF
28990 done
28993 # For iconv support.
28995 if test "X$prefix" = "XNONE"; then
28996 acl_final_prefix="$ac_default_prefix"
28997 else
28998 acl_final_prefix="$prefix"
29000 if test "X$exec_prefix" = "XNONE"; then
29001 acl_final_exec_prefix='${prefix}'
29002 else
29003 acl_final_exec_prefix="$exec_prefix"
29005 acl_save_prefix="$prefix"
29006 prefix="$acl_final_prefix"
29007 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
29008 prefix="$acl_save_prefix"
29011 # Check whether --with-gnu-ld was given.
29012 if test "${with_gnu_ld+set}" = set; then :
29013 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
29014 else
29015 with_gnu_ld=no
29018 # Prepare PATH_SEPARATOR.
29019 # The user is always right.
29020 if test "${PATH_SEPARATOR+set}" != set; then
29021 echo "#! /bin/sh" >conf$$.sh
29022 echo "exit 0" >>conf$$.sh
29023 chmod +x conf$$.sh
29024 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
29025 PATH_SEPARATOR=';'
29026 else
29027 PATH_SEPARATOR=:
29029 rm -f conf$$.sh
29031 ac_prog=ld
29032 if test "$GCC" = yes; then
29033 # Check if gcc -print-prog-name=ld gives a path.
29034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
29035 $as_echo_n "checking for ld used by GCC... " >&6; }
29036 case $host in
29037 *-*-mingw*)
29038 # gcc leaves a trailing carriage return which upsets mingw
29039 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
29041 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
29042 esac
29043 case $ac_prog in
29044 # Accept absolute paths.
29045 [\\/]* | [A-Za-z]:[\\/]*)
29046 re_direlt='/[^/][^/]*/\.\./'
29047 # Canonicalize the path of ld
29048 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
29049 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
29050 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
29051 done
29052 test -z "$LD" && LD="$ac_prog"
29055 # If it fails, then pretend we aren't using GCC.
29056 ac_prog=ld
29059 # If it is relative, then search for the first ld in PATH.
29060 with_gnu_ld=unknown
29062 esac
29063 elif test "$with_gnu_ld" = yes; then
29064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
29065 $as_echo_n "checking for GNU ld... " >&6; }
29066 else
29067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
29068 $as_echo_n "checking for non-GNU ld... " >&6; }
29070 if ${acl_cv_path_LD+:} false; then :
29071 $as_echo_n "(cached) " >&6
29072 else
29073 if test -z "$LD"; then
29074 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
29075 for ac_dir in $PATH; do
29076 test -z "$ac_dir" && ac_dir=.
29077 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
29078 acl_cv_path_LD="$ac_dir/$ac_prog"
29079 # Check to see if the program is GNU ld. I'd rather use --version,
29080 # but apparently some GNU ld's only accept -v.
29081 # Break only if it was the GNU/non-GNU ld that we prefer.
29082 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
29083 test "$with_gnu_ld" != no && break
29084 else
29085 test "$with_gnu_ld" != yes && break
29088 done
29089 IFS="$ac_save_ifs"
29090 else
29091 acl_cv_path_LD="$LD" # Let the user override the test with a path.
29095 LD="$acl_cv_path_LD"
29096 if test -n "$LD"; then
29097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
29098 $as_echo "$LD" >&6; }
29099 else
29100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29101 $as_echo "no" >&6; }
29103 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
29104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
29105 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
29106 if ${acl_cv_prog_gnu_ld+:} false; then :
29107 $as_echo_n "(cached) " >&6
29108 else
29109 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
29110 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
29111 acl_cv_prog_gnu_ld=yes
29112 else
29113 acl_cv_prog_gnu_ld=no
29116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
29117 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
29118 with_gnu_ld=$acl_cv_prog_gnu_ld
29122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
29123 $as_echo_n "checking for shared library run path origin... " >&6; }
29124 if ${acl_cv_rpath+:} false; then :
29125 $as_echo_n "(cached) " >&6
29126 else
29128 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
29129 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
29130 . ./conftest.sh
29131 rm -f ./conftest.sh
29132 acl_cv_rpath=done
29135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
29136 $as_echo "$acl_cv_rpath" >&6; }
29137 wl="$acl_cv_wl"
29138 libext="$acl_cv_libext"
29139 shlibext="$acl_cv_shlibext"
29140 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
29141 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
29142 hardcode_direct="$acl_cv_hardcode_direct"
29143 hardcode_minus_L="$acl_cv_hardcode_minus_L"
29144 # Check whether --enable-rpath was given.
29145 if test "${enable_rpath+set}" = set; then :
29146 enableval=$enable_rpath; :
29147 else
29148 enable_rpath=yes
29158 use_additional=yes
29160 acl_save_prefix="$prefix"
29161 prefix="$acl_final_prefix"
29162 acl_save_exec_prefix="$exec_prefix"
29163 exec_prefix="$acl_final_exec_prefix"
29165 eval additional_includedir=\"$includedir\"
29166 eval additional_libdir=\"$libdir\"
29168 exec_prefix="$acl_save_exec_prefix"
29169 prefix="$acl_save_prefix"
29172 # Check whether --with-libiconv-prefix was given.
29173 if test "${with_libiconv_prefix+set}" = set; then :
29174 withval=$with_libiconv_prefix;
29175 if test "X$withval" = "Xno"; then
29176 use_additional=no
29177 else
29178 if test "X$withval" = "X"; then
29180 acl_save_prefix="$prefix"
29181 prefix="$acl_final_prefix"
29182 acl_save_exec_prefix="$exec_prefix"
29183 exec_prefix="$acl_final_exec_prefix"
29185 eval additional_includedir=\"$includedir\"
29186 eval additional_libdir=\"$libdir\"
29188 exec_prefix="$acl_save_exec_prefix"
29189 prefix="$acl_save_prefix"
29191 else
29192 additional_includedir="$withval/include"
29193 additional_libdir="$withval/lib"
29200 # Check whether --with-libiconv-type was given.
29201 if test "${with_libiconv_type+set}" = set; then :
29202 withval=$with_libiconv_type; with_libiconv_type=$withval
29203 else
29204 with_libiconv_type=auto
29207 lib_type=`eval echo \$with_libiconv_type`
29209 LIBICONV=
29210 LTLIBICONV=
29211 INCICONV=
29212 rpathdirs=
29213 ltrpathdirs=
29214 names_already_handled=
29215 names_next_round='iconv '
29216 while test -n "$names_next_round"; do
29217 names_this_round="$names_next_round"
29218 names_next_round=
29219 for name in $names_this_round; do
29220 already_handled=
29221 for n in $names_already_handled; do
29222 if test "$n" = "$name"; then
29223 already_handled=yes
29224 break
29226 done
29227 if test -z "$already_handled"; then
29228 names_already_handled="$names_already_handled $name"
29229 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
29230 eval value=\"\$HAVE_LIB$uppername\"
29231 if test -n "$value"; then
29232 if test "$value" = yes; then
29233 eval value=\"\$LIB$uppername\"
29234 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
29235 eval value=\"\$LTLIB$uppername\"
29236 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
29237 else
29240 else
29241 found_dir=
29242 found_la=
29243 found_so=
29244 found_a=
29245 if test $use_additional = yes; then
29246 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x$lib_type != xstatic; then
29247 found_dir="$additional_libdir"
29248 found_so="$additional_libdir/lib$name.$shlibext"
29249 if test -f "$additional_libdir/lib$name.la"; then
29250 found_la="$additional_libdir/lib$name.la"
29252 elif test x$lib_type != xshared; then
29253 if test -f "$additional_libdir/lib$name.$libext"; then
29254 found_dir="$additional_libdir"
29255 found_a="$additional_libdir/lib$name.$libext"
29256 if test -f "$additional_libdir/lib$name.la"; then
29257 found_la="$additional_libdir/lib$name.la"
29262 if test "X$found_dir" = "X"; then
29263 for x in $LDFLAGS $LTLIBICONV; do
29265 acl_save_prefix="$prefix"
29266 prefix="$acl_final_prefix"
29267 acl_save_exec_prefix="$exec_prefix"
29268 exec_prefix="$acl_final_exec_prefix"
29269 eval x=\"$x\"
29270 exec_prefix="$acl_save_exec_prefix"
29271 prefix="$acl_save_prefix"
29273 case "$x" in
29274 -L*)
29275 dir=`echo "X$x" | sed -e 's/^X-L//'`
29276 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x$lib_type != xstatic; then
29277 found_dir="$dir"
29278 found_so="$dir/lib$name.$shlibext"
29279 if test -f "$dir/lib$name.la"; then
29280 found_la="$dir/lib$name.la"
29282 elif test x$lib_type != xshared; then
29283 if test -f "$dir/lib$name.$libext"; then
29284 found_dir="$dir"
29285 found_a="$dir/lib$name.$libext"
29286 if test -f "$dir/lib$name.la"; then
29287 found_la="$dir/lib$name.la"
29292 esac
29293 if test "X$found_dir" != "X"; then
29294 break
29296 done
29298 if test "X$found_dir" != "X"; then
29299 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
29300 if test "X$found_so" != "X"; then
29301 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
29302 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29303 else
29304 haveit=
29305 for x in $ltrpathdirs; do
29306 if test "X$x" = "X$found_dir"; then
29307 haveit=yes
29308 break
29310 done
29311 if test -z "$haveit"; then
29312 ltrpathdirs="$ltrpathdirs $found_dir"
29314 if test "$hardcode_direct" = yes; then
29315 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29316 else
29317 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
29318 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29319 haveit=
29320 for x in $rpathdirs; do
29321 if test "X$x" = "X$found_dir"; then
29322 haveit=yes
29323 break
29325 done
29326 if test -z "$haveit"; then
29327 rpathdirs="$rpathdirs $found_dir"
29329 else
29330 haveit=
29331 for x in $LDFLAGS $LIBICONV; do
29333 acl_save_prefix="$prefix"
29334 prefix="$acl_final_prefix"
29335 acl_save_exec_prefix="$exec_prefix"
29336 exec_prefix="$acl_final_exec_prefix"
29337 eval x=\"$x\"
29338 exec_prefix="$acl_save_exec_prefix"
29339 prefix="$acl_save_prefix"
29341 if test "X$x" = "X-L$found_dir"; then
29342 haveit=yes
29343 break
29345 done
29346 if test -z "$haveit"; then
29347 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
29349 if test "$hardcode_minus_L" != no; then
29350 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29351 else
29352 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
29357 else
29358 if test "X$found_a" != "X"; then
29359 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
29360 else
29361 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
29364 additional_includedir=
29365 case "$found_dir" in
29366 */lib | */lib/)
29367 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
29368 additional_includedir="$basedir/include"
29370 esac
29371 if test "X$additional_includedir" != "X"; then
29372 if test "X$additional_includedir" != "X/usr/include"; then
29373 haveit=
29374 if test "X$additional_includedir" = "X/usr/local/include"; then
29375 if test -n "$GCC"; then
29376 case $host_os in
29377 linux*) haveit=yes;;
29378 esac
29381 if test -z "$haveit"; then
29382 for x in $CPPFLAGS $INCICONV; do
29384 acl_save_prefix="$prefix"
29385 prefix="$acl_final_prefix"
29386 acl_save_exec_prefix="$exec_prefix"
29387 exec_prefix="$acl_final_exec_prefix"
29388 eval x=\"$x\"
29389 exec_prefix="$acl_save_exec_prefix"
29390 prefix="$acl_save_prefix"
29392 if test "X$x" = "X-I$additional_includedir"; then
29393 haveit=yes
29394 break
29396 done
29397 if test -z "$haveit"; then
29398 if test -d "$additional_includedir"; then
29399 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
29405 if test -n "$found_la"; then
29406 save_libdir="$libdir"
29407 case "$found_la" in
29408 */* | *\\*) . "$found_la" ;;
29409 *) . "./$found_la" ;;
29410 esac
29411 libdir="$save_libdir"
29412 for dep in $dependency_libs; do
29413 case "$dep" in
29414 -L*)
29415 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
29416 if test "X$additional_libdir" != "X/usr/lib"; then
29417 haveit=
29418 if test "X$additional_libdir" = "X/usr/local/lib"; then
29419 if test -n "$GCC"; then
29420 case $host_os in
29421 linux*) haveit=yes;;
29422 esac
29425 if test -z "$haveit"; then
29426 haveit=
29427 for x in $LDFLAGS $LIBICONV; do
29429 acl_save_prefix="$prefix"
29430 prefix="$acl_final_prefix"
29431 acl_save_exec_prefix="$exec_prefix"
29432 exec_prefix="$acl_final_exec_prefix"
29433 eval x=\"$x\"
29434 exec_prefix="$acl_save_exec_prefix"
29435 prefix="$acl_save_prefix"
29437 if test "X$x" = "X-L$additional_libdir"; then
29438 haveit=yes
29439 break
29441 done
29442 if test -z "$haveit"; then
29443 if test -d "$additional_libdir"; then
29444 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
29447 haveit=
29448 for x in $LDFLAGS $LTLIBICONV; do
29450 acl_save_prefix="$prefix"
29451 prefix="$acl_final_prefix"
29452 acl_save_exec_prefix="$exec_prefix"
29453 exec_prefix="$acl_final_exec_prefix"
29454 eval x=\"$x\"
29455 exec_prefix="$acl_save_exec_prefix"
29456 prefix="$acl_save_prefix"
29458 if test "X$x" = "X-L$additional_libdir"; then
29459 haveit=yes
29460 break
29462 done
29463 if test -z "$haveit"; then
29464 if test -d "$additional_libdir"; then
29465 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
29471 -R*)
29472 dir=`echo "X$dep" | sed -e 's/^X-R//'`
29473 if test "$enable_rpath" != no; then
29474 haveit=
29475 for x in $rpathdirs; do
29476 if test "X$x" = "X$dir"; then
29477 haveit=yes
29478 break
29480 done
29481 if test -z "$haveit"; then
29482 rpathdirs="$rpathdirs $dir"
29484 haveit=
29485 for x in $ltrpathdirs; do
29486 if test "X$x" = "X$dir"; then
29487 haveit=yes
29488 break
29490 done
29491 if test -z "$haveit"; then
29492 ltrpathdirs="$ltrpathdirs $dir"
29496 -l*)
29497 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
29499 *.la)
29500 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
29503 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
29504 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
29506 esac
29507 done
29509 else
29510 if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then
29511 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
29512 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
29513 else
29514 LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext"
29515 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext"
29520 done
29521 done
29522 if test "X$rpathdirs" != "X"; then
29523 if test -n "$hardcode_libdir_separator"; then
29524 alldirs=
29525 for found_dir in $rpathdirs; do
29526 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
29527 done
29528 acl_save_libdir="$libdir"
29529 libdir="$alldirs"
29530 eval flag=\"$hardcode_libdir_flag_spec\"
29531 libdir="$acl_save_libdir"
29532 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
29533 else
29534 for found_dir in $rpathdirs; do
29535 acl_save_libdir="$libdir"
29536 libdir="$found_dir"
29537 eval flag=\"$hardcode_libdir_flag_spec\"
29538 libdir="$acl_save_libdir"
29539 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
29540 done
29543 if test "X$ltrpathdirs" != "X"; then
29544 for found_dir in $ltrpathdirs; do
29545 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
29546 done
29555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
29556 $as_echo_n "checking for iconv... " >&6; }
29557 if ${am_cv_func_iconv+:} false; then :
29558 $as_echo_n "(cached) " >&6
29559 else
29561 am_cv_func_iconv="no, consider installing GNU libiconv"
29562 am_cv_lib_iconv=no
29563 am_save_CPPFLAGS="$CPPFLAGS"
29564 CPPFLAGS="$CPPFLAGS $INCICONV"
29565 if test x$gcc_no_link = xyes; then
29566 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29569 /* end confdefs.h. */
29570 #include <stdlib.h>
29571 #include <iconv.h>
29573 main ()
29575 iconv_t cd = iconv_open("","");
29576 iconv(cd,NULL,NULL,NULL,NULL);
29577 iconv_close(cd);
29579 return 0;
29581 _ACEOF
29582 if ac_fn_c_try_link "$LINENO"; then :
29583 am_cv_func_iconv=yes
29585 rm -f core conftest.err conftest.$ac_objext \
29586 conftest$ac_exeext conftest.$ac_ext
29587 CPPFLAGS="$am_save_CPPFLAGS"
29589 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
29590 for _libs in .libs _libs; do
29591 am_save_CPPFLAGS="$CPPFLAGS"
29592 am_save_LIBS="$LIBS"
29593 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
29594 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
29595 if test x$gcc_no_link = xyes; then
29596 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29599 /* end confdefs.h. */
29600 #include <stdlib.h>
29601 #include <iconv.h>
29603 main ()
29605 iconv_t cd = iconv_open("","");
29606 iconv(cd,NULL,NULL,NULL,NULL);
29607 iconv_close(cd);
29609 return 0;
29611 _ACEOF
29612 if ac_fn_c_try_link "$LINENO"; then :
29613 INCICONV="-I../libiconv/include"
29614 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
29615 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
29616 am_cv_lib_iconv=yes
29617 am_cv_func_iconv=yes
29619 rm -f core conftest.err conftest.$ac_objext \
29620 conftest$ac_exeext conftest.$ac_ext
29621 CPPFLAGS="$am_save_CPPFLAGS"
29622 LIBS="$am_save_LIBS"
29623 if test "$am_cv_func_iconv" = "yes"; then
29624 break
29626 done
29629 if test "$am_cv_func_iconv" != yes; then
29630 am_save_CPPFLAGS="$CPPFLAGS"
29631 am_save_LIBS="$LIBS"
29632 CPPFLAGS="$CPPFLAGS $INCICONV"
29633 LIBS="$LIBS $LIBICONV"
29634 if test x$gcc_no_link = xyes; then
29635 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29638 /* end confdefs.h. */
29639 #include <stdlib.h>
29640 #include <iconv.h>
29642 main ()
29644 iconv_t cd = iconv_open("","");
29645 iconv(cd,NULL,NULL,NULL,NULL);
29646 iconv_close(cd);
29648 return 0;
29650 _ACEOF
29651 if ac_fn_c_try_link "$LINENO"; then :
29652 am_cv_lib_iconv=yes
29653 am_cv_func_iconv=yes
29655 rm -f core conftest.err conftest.$ac_objext \
29656 conftest$ac_exeext conftest.$ac_ext
29657 CPPFLAGS="$am_save_CPPFLAGS"
29658 LIBS="$am_save_LIBS"
29662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
29663 $as_echo "$am_cv_func_iconv" >&6; }
29664 if test "$am_cv_func_iconv" = yes; then
29666 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29669 if test "$am_cv_lib_iconv" = yes; then
29671 for element in $INCICONV; do
29672 haveit=
29673 for x in $CPPFLAGS; do
29675 acl_save_prefix="$prefix"
29676 prefix="$acl_final_prefix"
29677 acl_save_exec_prefix="$exec_prefix"
29678 exec_prefix="$acl_final_exec_prefix"
29679 eval x=\"$x\"
29680 exec_prefix="$acl_save_exec_prefix"
29681 prefix="$acl_save_prefix"
29683 if test "X$x" = "X$element"; then
29684 haveit=yes
29685 break
29687 done
29688 if test -z "$haveit"; then
29689 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
29691 done
29693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
29694 $as_echo_n "checking how to link with libiconv... " >&6; }
29695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
29696 $as_echo "$LIBICONV" >&6; }
29697 else
29698 LIBICONV=
29699 LTLIBICONV=
29704 if test "$am_cv_func_iconv" = yes; then
29705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
29706 $as_echo_n "checking for iconv declaration... " >&6; }
29707 if ${am_cv_proto_iconv+:} false; then :
29708 $as_echo_n "(cached) " >&6
29709 else
29711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29712 /* end confdefs.h. */
29714 #include <stdlib.h>
29715 #include <iconv.h>
29716 extern
29717 #ifdef __cplusplus
29719 #endif
29720 #if defined(__STDC__) || defined(__cplusplus)
29721 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29722 #else
29723 size_t iconv();
29724 #endif
29727 main ()
29731 return 0;
29733 _ACEOF
29734 if ac_fn_c_try_compile "$LINENO"; then :
29735 am_cv_proto_iconv_arg1=""
29736 else
29737 am_cv_proto_iconv_arg1="const"
29739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29740 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);"
29743 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
29744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
29745 }$am_cv_proto_iconv" >&5
29746 $as_echo "${ac_t:-
29747 }$am_cv_proto_iconv" >&6; }
29749 cat >>confdefs.h <<_ACEOF
29750 #define ICONV_CONST $am_cv_proto_iconv_arg1
29751 _ACEOF
29756 else
29758 # This lets us hard-code the functionality we know we'll have in the cross
29759 # target environment. "Let" is a sugar-coated word placed on an especially
29760 # dull and tedious hack, actually.
29762 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
29763 # that involve linking, can't be used:
29764 # "cannot open sim-crt0.o"
29765 # "cannot open crt0.o"
29766 # etc. All this is because there currently exists no unified, consistent
29767 # way for top level CC information to be passed down to target directories:
29768 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
29769 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
29770 # crosses can be removed.
29772 # If Canadian cross, then don't pick up tools from the build directory.
29773 # Used only in GLIBCXX_EXPORT_INCLUDES.
29774 if test -n "$with_cross_host" &&
29775 test x"$build_alias" != x"$with_cross_host" &&
29776 test x"$build" != x"$target";
29777 then
29778 CANADIAN=yes
29779 else
29780 CANADIAN=no
29783 # Construct crosses by hand, eliminating bits that need ld...
29784 # GLIBCXX_CHECK_MATH_SUPPORT
29786 # First, test for "known" system libraries. We may be using newlib even
29787 # on a hosted environment.
29788 if test "x${with_newlib}" = "xyes"; then
29789 os_include_dir="os/newlib"
29790 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
29793 # GLIBCXX_CHECK_STDLIB_SUPPORT
29794 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
29797 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29799 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29801 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29803 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29805 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29807 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29809 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29811 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29813 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29815 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29817 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29819 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29821 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29823 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29825 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29827 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29829 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29831 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29833 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29835 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29837 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29839 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29842 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29844 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
29846 else
29848 # Base decisions on target environment.
29849 case "${host}" in
29850 arm*-*-symbianelf*)
29851 # This is a freestanding configuration; there is nothing to do here.
29854 avr*-*-*)
29855 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29857 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29859 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29861 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29863 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29865 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29867 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29869 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29871 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29873 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29875 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29877 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29879 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29881 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29883 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29885 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29887 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29889 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29891 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29893 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29895 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29897 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29899 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29903 mips*-sde-elf*)
29904 # These definitions are for the SDE C library rather than newlib.
29905 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29908 # All these tests are for C++; save the language and the compiler flags.
29909 # The CXXFLAGS thing is suspicious, but based on similar bits previously
29910 # found in GLIBCXX_CONFIGURE.
29912 ac_ext=cpp
29913 ac_cpp='$CXXCPP $CPPFLAGS'
29914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29918 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29919 ac_save_CXXFLAGS="$CXXFLAGS"
29921 # Check for -ffunction-sections -fdata-sections
29922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29923 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29924 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29926 /* end confdefs.h. */
29927 int foo; void bar() { };
29929 main ()
29933 return 0;
29935 _ACEOF
29936 if ac_fn_cxx_try_compile "$LINENO"; then :
29937 ac_fdsections=yes
29938 else
29939 ac_fdsections=no
29941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29942 if test "$ac_test_CXXFLAGS" = set; then
29943 CXXFLAGS="$ac_save_CXXFLAGS"
29944 else
29945 # this is the suspicious part
29946 CXXFLAGS=''
29948 if test x"$ac_fdsections" = x"yes"; then
29949 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29952 $as_echo "$ac_fdsections" >&6; }
29954 ac_ext=c
29955 ac_cpp='$CPP $CPPFLAGS'
29956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29963 # If we're not using GNU ld, then there's no point in even trying these
29964 # tests. Check for that first. We should have already tested for gld
29965 # by now (in libtool), but require it now just to be safe...
29966 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29967 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29971 # The name set by libtool depends on the version of libtool. Shame on us
29972 # for depending on an impl detail, but c'est la vie. Older versions used
29973 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29974 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29975 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
29976 # set (hence we're using an older libtool), then set it.
29977 if test x${with_gnu_ld+set} != xset; then
29978 if test x${ac_cv_prog_gnu_ld+set} != xset; then
29979 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
29980 with_gnu_ld=no
29981 else
29982 with_gnu_ld=$ac_cv_prog_gnu_ld
29986 # Start by getting the version number. I think the libtool test already
29987 # does some of this, but throws away the result.
29988 glibcxx_ld_is_gold=no
29989 if test x"$with_gnu_ld" = x"yes"; then
29990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29991 $as_echo_n "checking for ld version... " >&6; }
29993 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29994 glibcxx_ld_is_gold=yes
29996 ldver=`$LD --version 2>/dev/null |
29997 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
29999 glibcxx_gnu_ld_version=`echo $ldver | \
30000 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
30001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
30002 $as_echo "$glibcxx_gnu_ld_version" >&6; }
30005 # Set --gc-sections.
30006 glibcxx_have_gc_sections=no
30007 if test "$glibcxx_ld_is_gold" = "yes"; then
30008 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
30009 glibcxx_have_gc_sections=yes
30011 else
30012 glibcxx_gcsections_min_ld=21602
30013 if test x"$with_gnu_ld" = x"yes" &&
30014 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
30015 glibcxx_have_gc_sections=yes
30018 if test "$glibcxx_have_gc_sections" = "yes"; then
30019 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
30020 # NB: This flag only works reliably after 2.16.1. Configure tests
30021 # for this are difficult, so hard wire a value that should work.
30023 ac_test_CFLAGS="${CFLAGS+set}"
30024 ac_save_CFLAGS="$CFLAGS"
30025 CFLAGS='-Wl,--gc-sections'
30027 # Check for -Wl,--gc-sections
30028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
30029 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
30030 if test x$gcc_no_link = xyes; then
30031 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30034 /* end confdefs.h. */
30035 int one(void) { return 1; }
30036 int two(void) { return 2; }
30039 main ()
30041 two();
30043 return 0;
30045 _ACEOF
30046 if ac_fn_c_try_link "$LINENO"; then :
30047 ac_gcsections=yes
30048 else
30049 ac_gcsections=no
30051 rm -f core conftest.err conftest.$ac_objext \
30052 conftest$ac_exeext conftest.$ac_ext
30053 if test "$ac_gcsections" = "yes"; then
30054 rm -f conftest.c
30055 touch conftest.c
30056 if $CC -c conftest.c; then
30057 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
30058 grep "Warning: gc-sections option ignored" > /dev/null; then
30059 ac_gcsections=no
30062 rm -f conftest.c conftest.o conftest
30064 if test "$ac_gcsections" = "yes"; then
30065 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
30067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
30068 $as_echo "$ac_gcsections" >&6; }
30070 if test "$ac_test_CFLAGS" = set; then
30071 CFLAGS="$ac_save_CFLAGS"
30072 else
30073 # this is the suspicious part
30074 CFLAGS=''
30078 # Set -z,relro.
30079 # Note this is only for shared objects.
30080 ac_ld_relro=no
30081 if test x"$with_gnu_ld" = x"yes"; then
30082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
30083 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
30084 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
30085 if test -n "$cxx_z_relo"; then
30086 OPT_LDFLAGS="-Wl,-z,relro"
30087 ac_ld_relro=yes
30089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
30090 $as_echo "$ac_ld_relro" >&6; }
30093 # Set linker optimization flags.
30094 if test x"$with_gnu_ld" = x"yes"; then
30095 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
30102 ac_test_CXXFLAGS="${CXXFLAGS+set}"
30103 ac_save_CXXFLAGS="$CXXFLAGS"
30104 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
30106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
30107 $as_echo_n "checking for sin in -lm... " >&6; }
30108 if ${ac_cv_lib_m_sin+:} false; then :
30109 $as_echo_n "(cached) " >&6
30110 else
30111 ac_check_lib_save_LIBS=$LIBS
30112 LIBS="-lm $LIBS"
30113 if test x$gcc_no_link = xyes; then
30114 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30117 /* end confdefs.h. */
30119 /* Override any GCC internal prototype to avoid an error.
30120 Use char because int might match the return type of a GCC
30121 builtin and then its argument prototype would still apply. */
30122 #ifdef __cplusplus
30123 extern "C"
30124 #endif
30125 char sin ();
30127 main ()
30129 return sin ();
30131 return 0;
30133 _ACEOF
30134 if ac_fn_c_try_link "$LINENO"; then :
30135 ac_cv_lib_m_sin=yes
30136 else
30137 ac_cv_lib_m_sin=no
30139 rm -f core conftest.err conftest.$ac_objext \
30140 conftest$ac_exeext conftest.$ac_ext
30141 LIBS=$ac_check_lib_save_LIBS
30143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
30144 $as_echo "$ac_cv_lib_m_sin" >&6; }
30145 if test "x$ac_cv_lib_m_sin" = xyes; then :
30146 libm="-lm"
30149 ac_save_LIBS="$LIBS"
30150 LIBS="$LIBS $libm"
30154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
30155 $as_echo_n "checking for isinf declaration... " >&6; }
30156 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
30157 if ${glibcxx_cv_func_isinf_use+:} false; then :
30158 $as_echo_n "(cached) " >&6
30159 else
30162 ac_ext=cpp
30163 ac_cpp='$CXXCPP $CPPFLAGS'
30164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30169 /* end confdefs.h. */
30170 #include <math.h>
30171 #ifdef HAVE_IEEEFP_H
30172 #include <ieeefp.h>
30173 #endif
30176 main ()
30178 isinf(0);
30180 return 0;
30182 _ACEOF
30183 if ac_fn_cxx_try_compile "$LINENO"; then :
30184 glibcxx_cv_func_isinf_use=yes
30185 else
30186 glibcxx_cv_func_isinf_use=no
30188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30189 ac_ext=c
30190 ac_cpp='$CPP $CPPFLAGS'
30191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
30200 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
30202 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
30203 for ac_func in isinf
30204 do :
30205 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
30206 if test "x$ac_cv_func_isinf" = xyes; then :
30207 cat >>confdefs.h <<_ACEOF
30208 #define HAVE_ISINF 1
30209 _ACEOF
30212 done
30214 else
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
30283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
30284 $as_echo_n "checking for isnan declaration... " >&6; }
30285 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
30286 if ${glibcxx_cv_func_isnan_use+:} false; then :
30287 $as_echo_n "(cached) " >&6
30288 else
30291 ac_ext=cpp
30292 ac_cpp='$CXXCPP $CPPFLAGS'
30293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30298 /* end confdefs.h. */
30299 #include <math.h>
30300 #ifdef HAVE_IEEEFP_H
30301 #include <ieeefp.h>
30302 #endif
30305 main ()
30307 isnan(0);
30309 return 0;
30311 _ACEOF
30312 if ac_fn_cxx_try_compile "$LINENO"; then :
30313 glibcxx_cv_func_isnan_use=yes
30314 else
30315 glibcxx_cv_func_isnan_use=no
30317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30318 ac_ext=c
30319 ac_cpp='$CPP $CPPFLAGS'
30320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
30329 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
30331 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
30332 for ac_func in isnan
30333 do :
30334 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
30335 if test "x$ac_cv_func_isnan" = xyes; then :
30336 cat >>confdefs.h <<_ACEOF
30337 #define HAVE_ISNAN 1
30338 _ACEOF
30341 done
30343 else
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
30412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
30413 $as_echo_n "checking for finite declaration... " >&6; }
30414 if test x${glibcxx_cv_func_finite_use+set} != xset; then
30415 if ${glibcxx_cv_func_finite_use+:} false; then :
30416 $as_echo_n "(cached) " >&6
30417 else
30420 ac_ext=cpp
30421 ac_cpp='$CXXCPP $CPPFLAGS'
30422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30427 /* end confdefs.h. */
30428 #include <math.h>
30429 #ifdef HAVE_IEEEFP_H
30430 #include <ieeefp.h>
30431 #endif
30434 main ()
30436 finite(0);
30438 return 0;
30440 _ACEOF
30441 if ac_fn_cxx_try_compile "$LINENO"; then :
30442 glibcxx_cv_func_finite_use=yes
30443 else
30444 glibcxx_cv_func_finite_use=no
30446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30447 ac_ext=c
30448 ac_cpp='$CPP $CPPFLAGS'
30449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
30458 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
30460 if test x$glibcxx_cv_func_finite_use = x"yes"; then
30461 for ac_func in finite
30462 do :
30463 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
30464 if test "x$ac_cv_func_finite" = xyes; then :
30465 cat >>confdefs.h <<_ACEOF
30466 #define HAVE_FINITE 1
30467 _ACEOF
30470 done
30472 else
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
30541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
30542 $as_echo_n "checking for sincos declaration... " >&6; }
30543 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
30544 if ${glibcxx_cv_func_sincos_use+:} false; then :
30545 $as_echo_n "(cached) " >&6
30546 else
30549 ac_ext=cpp
30550 ac_cpp='$CXXCPP $CPPFLAGS'
30551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30556 /* end confdefs.h. */
30557 #include <math.h>
30559 main ()
30561 sincos(0, 0, 0);
30563 return 0;
30565 _ACEOF
30566 if ac_fn_cxx_try_compile "$LINENO"; then :
30567 glibcxx_cv_func_sincos_use=yes
30568 else
30569 glibcxx_cv_func_sincos_use=no
30571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30572 ac_ext=c
30573 ac_cpp='$CPP $CPPFLAGS'
30574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
30583 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
30585 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
30586 for ac_func in sincos
30587 do :
30588 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
30589 if test "x$ac_cv_func_sincos" = xyes; then :
30590 cat >>confdefs.h <<_ACEOF
30591 #define HAVE_SINCOS 1
30592 _ACEOF
30595 done
30597 else
30599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
30600 $as_echo_n "checking for _sincos declaration... " >&6; }
30601 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
30602 if ${glibcxx_cv_func__sincos_use+:} false; then :
30603 $as_echo_n "(cached) " >&6
30604 else
30607 ac_ext=cpp
30608 ac_cpp='$CXXCPP $CPPFLAGS'
30609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30614 /* end confdefs.h. */
30615 #include <math.h>
30617 main ()
30619 _sincos(0, 0, 0);
30621 return 0;
30623 _ACEOF
30624 if ac_fn_cxx_try_compile "$LINENO"; then :
30625 glibcxx_cv_func__sincos_use=yes
30626 else
30627 glibcxx_cv_func__sincos_use=no
30629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30630 ac_ext=c
30631 ac_cpp='$CPP $CPPFLAGS'
30632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
30641 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
30643 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
30644 for ac_func in _sincos
30645 do :
30646 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
30647 if test "x$ac_cv_func__sincos" = xyes; then :
30648 cat >>confdefs.h <<_ACEOF
30649 #define HAVE__SINCOS 1
30650 _ACEOF
30653 done
30662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
30663 $as_echo_n "checking for fpclass declaration... " >&6; }
30664 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
30665 if ${glibcxx_cv_func_fpclass_use+:} false; then :
30666 $as_echo_n "(cached) " >&6
30667 else
30670 ac_ext=cpp
30671 ac_cpp='$CXXCPP $CPPFLAGS'
30672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30677 /* end confdefs.h. */
30678 #include <math.h>
30679 #ifdef HAVE_IEEEFP_H
30680 #include <ieeefp.h>
30681 #endif
30684 main ()
30686 fpclass(0);
30688 return 0;
30690 _ACEOF
30691 if ac_fn_cxx_try_compile "$LINENO"; then :
30692 glibcxx_cv_func_fpclass_use=yes
30693 else
30694 glibcxx_cv_func_fpclass_use=no
30696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30697 ac_ext=c
30698 ac_cpp='$CPP $CPPFLAGS'
30699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
30708 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
30710 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
30711 for ac_func in fpclass
30712 do :
30713 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
30714 if test "x$ac_cv_func_fpclass" = xyes; then :
30715 cat >>confdefs.h <<_ACEOF
30716 #define HAVE_FPCLASS 1
30717 _ACEOF
30720 done
30722 else
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
30791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
30792 $as_echo_n "checking for qfpclass declaration... " >&6; }
30793 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
30794 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
30795 $as_echo_n "(cached) " >&6
30796 else
30799 ac_ext=cpp
30800 ac_cpp='$CXXCPP $CPPFLAGS'
30801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30806 /* end confdefs.h. */
30807 #include <math.h>
30808 #ifdef HAVE_IEEEFP_H
30809 #include <ieeefp.h>
30810 #endif
30813 main ()
30815 qfpclass(0);
30817 return 0;
30819 _ACEOF
30820 if ac_fn_cxx_try_compile "$LINENO"; then :
30821 glibcxx_cv_func_qfpclass_use=yes
30822 else
30823 glibcxx_cv_func_qfpclass_use=no
30825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30826 ac_ext=c
30827 ac_cpp='$CPP $CPPFLAGS'
30828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
30837 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
30839 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
30840 for ac_func in qfpclass
30841 do :
30842 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
30843 if test "x$ac_cv_func_qfpclass" = xyes; then :
30844 cat >>confdefs.h <<_ACEOF
30845 #define HAVE_QFPCLASS 1
30846 _ACEOF
30849 done
30851 else
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
30920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30921 $as_echo_n "checking for hypot declaration... " >&6; }
30922 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30923 if ${glibcxx_cv_func_hypot_use+:} false; then :
30924 $as_echo_n "(cached) " >&6
30925 else
30928 ac_ext=cpp
30929 ac_cpp='$CXXCPP $CPPFLAGS'
30930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30935 /* end confdefs.h. */
30936 #include <math.h>
30938 main ()
30940 hypot(0, 0);
30942 return 0;
30944 _ACEOF
30945 if ac_fn_cxx_try_compile "$LINENO"; then :
30946 glibcxx_cv_func_hypot_use=yes
30947 else
30948 glibcxx_cv_func_hypot_use=no
30950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30951 ac_ext=c
30952 ac_cpp='$CPP $CPPFLAGS'
30953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30962 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30964 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30965 for ac_func in hypot
30966 do :
30967 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30968 if test "x$ac_cv_func_hypot" = xyes; then :
30969 cat >>confdefs.h <<_ACEOF
30970 #define HAVE_HYPOT 1
30971 _ACEOF
30974 done
30976 else
30978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30979 $as_echo_n "checking for _hypot declaration... " >&6; }
30980 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30981 if ${glibcxx_cv_func__hypot_use+:} false; then :
30982 $as_echo_n "(cached) " >&6
30983 else
30986 ac_ext=cpp
30987 ac_cpp='$CXXCPP $CPPFLAGS'
30988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30993 /* end confdefs.h. */
30994 #include <math.h>
30996 main ()
30998 _hypot(0, 0);
31000 return 0;
31002 _ACEOF
31003 if ac_fn_cxx_try_compile "$LINENO"; then :
31004 glibcxx_cv_func__hypot_use=yes
31005 else
31006 glibcxx_cv_func__hypot_use=no
31008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31009 ac_ext=c
31010 ac_cpp='$CPP $CPPFLAGS'
31011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
31020 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
31022 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
31023 for ac_func in _hypot
31024 do :
31025 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
31026 if test "x$ac_cv_func__hypot" = xyes; then :
31027 cat >>confdefs.h <<_ACEOF
31028 #define HAVE__HYPOT 1
31029 _ACEOF
31032 done
31041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
31042 $as_echo_n "checking for float trig functions... " >&6; }
31043 if ${glibcxx_cv_func_float_trig_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 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
31062 return 0;
31064 _ACEOF
31065 if ac_fn_cxx_try_compile "$LINENO"; then :
31066 glibcxx_cv_func_float_trig_use=yes
31067 else
31068 glibcxx_cv_func_float_trig_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
31079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
31080 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
31081 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
31082 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
31083 do :
31084 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31085 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31086 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
31087 cat >>confdefs.h <<_ACEOF
31088 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31089 _ACEOF
31092 done
31094 else
31095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
31096 $as_echo_n "checking for _float trig functions... " >&6; }
31097 if ${glibcxx_cv_func__float_trig_use+:} false; then :
31098 $as_echo_n "(cached) " >&6
31099 else
31102 ac_ext=cpp
31103 ac_cpp='$CXXCPP $CPPFLAGS'
31104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31109 /* end confdefs.h. */
31110 #include <math.h>
31112 main ()
31114 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
31116 return 0;
31118 _ACEOF
31119 if ac_fn_cxx_try_compile "$LINENO"; then :
31120 glibcxx_cv_func__float_trig_use=yes
31121 else
31122 glibcxx_cv_func__float_trig_use=no
31124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31125 ac_ext=c
31126 ac_cpp='$CPP $CPPFLAGS'
31127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
31134 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
31135 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
31136 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
31137 do :
31138 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31139 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31140 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
31141 cat >>confdefs.h <<_ACEOF
31142 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31143 _ACEOF
31146 done
31155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
31156 $as_echo_n "checking for float round functions... " >&6; }
31157 if ${glibcxx_cv_func_float_round_use+:} false; then :
31158 $as_echo_n "(cached) " >&6
31159 else
31162 ac_ext=cpp
31163 ac_cpp='$CXXCPP $CPPFLAGS'
31164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31169 /* end confdefs.h. */
31170 #include <math.h>
31172 main ()
31174 ceilf (0); floorf (0);
31176 return 0;
31178 _ACEOF
31179 if ac_fn_cxx_try_compile "$LINENO"; then :
31180 glibcxx_cv_func_float_round_use=yes
31181 else
31182 glibcxx_cv_func_float_round_use=no
31184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31185 ac_ext=c
31186 ac_cpp='$CPP $CPPFLAGS'
31187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
31194 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
31195 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
31196 for ac_func in ceilf floorf
31197 do :
31198 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31199 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31200 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
31201 cat >>confdefs.h <<_ACEOF
31202 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31203 _ACEOF
31206 done
31208 else
31209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
31210 $as_echo_n "checking for _float round functions... " >&6; }
31211 if ${glibcxx_cv_func__float_round_use+:} false; then :
31212 $as_echo_n "(cached) " >&6
31213 else
31216 ac_ext=cpp
31217 ac_cpp='$CXXCPP $CPPFLAGS'
31218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31223 /* end confdefs.h. */
31224 #include <math.h>
31226 main ()
31228 _ceilf (0); _floorf (0);
31230 return 0;
31232 _ACEOF
31233 if ac_fn_cxx_try_compile "$LINENO"; then :
31234 glibcxx_cv_func__float_round_use=yes
31235 else
31236 glibcxx_cv_func__float_round_use=no
31238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31239 ac_ext=c
31240 ac_cpp='$CPP $CPPFLAGS'
31241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
31248 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
31249 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
31250 for ac_func in _ceilf _floorf
31251 do :
31252 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31253 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31254 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
31255 cat >>confdefs.h <<_ACEOF
31256 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31257 _ACEOF
31260 done
31270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
31271 $as_echo_n "checking for expf declaration... " >&6; }
31272 if test x${glibcxx_cv_func_expf_use+set} != xset; then
31273 if ${glibcxx_cv_func_expf_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>
31287 #ifdef HAVE_IEEEFP_H
31288 #include <ieeefp.h>
31289 #endif
31292 main ()
31294 expf(0);
31296 return 0;
31298 _ACEOF
31299 if ac_fn_cxx_try_compile "$LINENO"; then :
31300 glibcxx_cv_func_expf_use=yes
31301 else
31302 glibcxx_cv_func_expf_use=no
31304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31305 ac_ext=c
31306 ac_cpp='$CPP $CPPFLAGS'
31307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
31316 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
31318 if test x$glibcxx_cv_func_expf_use = x"yes"; then
31319 for ac_func in expf
31320 do :
31321 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
31322 if test "x$ac_cv_func_expf" = xyes; then :
31323 cat >>confdefs.h <<_ACEOF
31324 #define HAVE_EXPF 1
31325 _ACEOF
31328 done
31330 else
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
31399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
31400 $as_echo_n "checking for isnanf declaration... " >&6; }
31401 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
31402 if ${glibcxx_cv_func_isnanf_use+:} false; then :
31403 $as_echo_n "(cached) " >&6
31404 else
31407 ac_ext=cpp
31408 ac_cpp='$CXXCPP $CPPFLAGS'
31409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31414 /* end confdefs.h. */
31415 #include <math.h>
31416 #ifdef HAVE_IEEEFP_H
31417 #include <ieeefp.h>
31418 #endif
31421 main ()
31423 isnanf(0);
31425 return 0;
31427 _ACEOF
31428 if ac_fn_cxx_try_compile "$LINENO"; then :
31429 glibcxx_cv_func_isnanf_use=yes
31430 else
31431 glibcxx_cv_func_isnanf_use=no
31433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31434 ac_ext=c
31435 ac_cpp='$CPP $CPPFLAGS'
31436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
31445 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
31447 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
31448 for ac_func in isnanf
31449 do :
31450 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
31451 if test "x$ac_cv_func_isnanf" = xyes; then :
31452 cat >>confdefs.h <<_ACEOF
31453 #define HAVE_ISNANF 1
31454 _ACEOF
31457 done
31459 else
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
31528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
31529 $as_echo_n "checking for isinff declaration... " >&6; }
31530 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
31531 if ${glibcxx_cv_func_isinff_use+:} false; then :
31532 $as_echo_n "(cached) " >&6
31533 else
31536 ac_ext=cpp
31537 ac_cpp='$CXXCPP $CPPFLAGS'
31538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31543 /* end confdefs.h. */
31544 #include <math.h>
31545 #ifdef HAVE_IEEEFP_H
31546 #include <ieeefp.h>
31547 #endif
31550 main ()
31552 isinff(0);
31554 return 0;
31556 _ACEOF
31557 if ac_fn_cxx_try_compile "$LINENO"; then :
31558 glibcxx_cv_func_isinff_use=yes
31559 else
31560 glibcxx_cv_func_isinff_use=no
31562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31563 ac_ext=c
31564 ac_cpp='$CPP $CPPFLAGS'
31565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
31574 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
31576 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
31577 for ac_func in isinff
31578 do :
31579 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
31580 if test "x$ac_cv_func_isinff" = xyes; then :
31581 cat >>confdefs.h <<_ACEOF
31582 #define HAVE_ISINFF 1
31583 _ACEOF
31586 done
31588 else
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
31657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
31658 $as_echo_n "checking for atan2f declaration... " >&6; }
31659 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
31660 if ${glibcxx_cv_func_atan2f_use+:} false; then :
31661 $as_echo_n "(cached) " >&6
31662 else
31665 ac_ext=cpp
31666 ac_cpp='$CXXCPP $CPPFLAGS'
31667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31672 /* end confdefs.h. */
31673 #include <math.h>
31675 main ()
31677 atan2f(0, 0);
31679 return 0;
31681 _ACEOF
31682 if ac_fn_cxx_try_compile "$LINENO"; then :
31683 glibcxx_cv_func_atan2f_use=yes
31684 else
31685 glibcxx_cv_func_atan2f_use=no
31687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31688 ac_ext=c
31689 ac_cpp='$CPP $CPPFLAGS'
31690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
31699 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
31701 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
31702 for ac_func in atan2f
31703 do :
31704 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
31705 if test "x$ac_cv_func_atan2f" = xyes; then :
31706 cat >>confdefs.h <<_ACEOF
31707 #define HAVE_ATAN2F 1
31708 _ACEOF
31711 done
31713 else
31715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
31716 $as_echo_n "checking for _atan2f declaration... " >&6; }
31717 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
31718 if ${glibcxx_cv_func__atan2f_use+:} false; then :
31719 $as_echo_n "(cached) " >&6
31720 else
31723 ac_ext=cpp
31724 ac_cpp='$CXXCPP $CPPFLAGS'
31725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31730 /* end confdefs.h. */
31731 #include <math.h>
31733 main ()
31735 _atan2f(0, 0);
31737 return 0;
31739 _ACEOF
31740 if ac_fn_cxx_try_compile "$LINENO"; then :
31741 glibcxx_cv_func__atan2f_use=yes
31742 else
31743 glibcxx_cv_func__atan2f_use=no
31745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31746 ac_ext=c
31747 ac_cpp='$CPP $CPPFLAGS'
31748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
31757 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
31759 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
31760 for ac_func in _atan2f
31761 do :
31762 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
31763 if test "x$ac_cv_func__atan2f" = xyes; then :
31764 cat >>confdefs.h <<_ACEOF
31765 #define HAVE__ATAN2F 1
31766 _ACEOF
31769 done
31778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
31779 $as_echo_n "checking for fabsf declaration... " >&6; }
31780 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
31781 if ${glibcxx_cv_func_fabsf_use+:} false; then :
31782 $as_echo_n "(cached) " >&6
31783 else
31786 ac_ext=cpp
31787 ac_cpp='$CXXCPP $CPPFLAGS'
31788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31793 /* end confdefs.h. */
31794 #include <math.h>
31795 #ifdef HAVE_IEEEFP_H
31796 #include <ieeefp.h>
31797 #endif
31800 main ()
31802 fabsf(0);
31804 return 0;
31806 _ACEOF
31807 if ac_fn_cxx_try_compile "$LINENO"; then :
31808 glibcxx_cv_func_fabsf_use=yes
31809 else
31810 glibcxx_cv_func_fabsf_use=no
31812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31813 ac_ext=c
31814 ac_cpp='$CPP $CPPFLAGS'
31815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
31824 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
31826 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
31827 for ac_func in fabsf
31828 do :
31829 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
31830 if test "x$ac_cv_func_fabsf" = xyes; then :
31831 cat >>confdefs.h <<_ACEOF
31832 #define HAVE_FABSF 1
31833 _ACEOF
31836 done
31838 else
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
31907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31908 $as_echo_n "checking for fmodf declaration... " >&6; }
31909 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31910 if ${glibcxx_cv_func_fmodf_use+:} false; then :
31911 $as_echo_n "(cached) " >&6
31912 else
31915 ac_ext=cpp
31916 ac_cpp='$CXXCPP $CPPFLAGS'
31917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31922 /* end confdefs.h. */
31923 #include <math.h>
31925 main ()
31927 fmodf(0, 0);
31929 return 0;
31931 _ACEOF
31932 if ac_fn_cxx_try_compile "$LINENO"; then :
31933 glibcxx_cv_func_fmodf_use=yes
31934 else
31935 glibcxx_cv_func_fmodf_use=no
31937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31938 ac_ext=c
31939 ac_cpp='$CPP $CPPFLAGS'
31940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31949 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31951 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31952 for ac_func in fmodf
31953 do :
31954 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31955 if test "x$ac_cv_func_fmodf" = xyes; then :
31956 cat >>confdefs.h <<_ACEOF
31957 #define HAVE_FMODF 1
31958 _ACEOF
31961 done
31963 else
31965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31966 $as_echo_n "checking for _fmodf declaration... " >&6; }
31967 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31968 if ${glibcxx_cv_func__fmodf_use+:} false; then :
31969 $as_echo_n "(cached) " >&6
31970 else
31973 ac_ext=cpp
31974 ac_cpp='$CXXCPP $CPPFLAGS'
31975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31980 /* end confdefs.h. */
31981 #include <math.h>
31983 main ()
31985 _fmodf(0, 0);
31987 return 0;
31989 _ACEOF
31990 if ac_fn_cxx_try_compile "$LINENO"; then :
31991 glibcxx_cv_func__fmodf_use=yes
31992 else
31993 glibcxx_cv_func__fmodf_use=no
31995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31996 ac_ext=c
31997 ac_cpp='$CPP $CPPFLAGS'
31998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
32007 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
32009 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
32010 for ac_func in _fmodf
32011 do :
32012 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
32013 if test "x$ac_cv_func__fmodf" = xyes; then :
32014 cat >>confdefs.h <<_ACEOF
32015 #define HAVE__FMODF 1
32016 _ACEOF
32019 done
32028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
32029 $as_echo_n "checking for frexpf declaration... " >&6; }
32030 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
32031 if ${glibcxx_cv_func_frexpf_use+:} false; then :
32032 $as_echo_n "(cached) " >&6
32033 else
32036 ac_ext=cpp
32037 ac_cpp='$CXXCPP $CPPFLAGS'
32038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32043 /* end confdefs.h. */
32044 #include <math.h>
32046 main ()
32048 frexpf(0, 0);
32050 return 0;
32052 _ACEOF
32053 if ac_fn_cxx_try_compile "$LINENO"; then :
32054 glibcxx_cv_func_frexpf_use=yes
32055 else
32056 glibcxx_cv_func_frexpf_use=no
32058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32059 ac_ext=c
32060 ac_cpp='$CPP $CPPFLAGS'
32061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
32070 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
32072 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
32073 for ac_func in frexpf
32074 do :
32075 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
32076 if test "x$ac_cv_func_frexpf" = xyes; then :
32077 cat >>confdefs.h <<_ACEOF
32078 #define HAVE_FREXPF 1
32079 _ACEOF
32082 done
32084 else
32086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
32087 $as_echo_n "checking for _frexpf declaration... " >&6; }
32088 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
32089 if ${glibcxx_cv_func__frexpf_use+:} false; then :
32090 $as_echo_n "(cached) " >&6
32091 else
32094 ac_ext=cpp
32095 ac_cpp='$CXXCPP $CPPFLAGS'
32096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32101 /* end confdefs.h. */
32102 #include <math.h>
32104 main ()
32106 _frexpf(0, 0);
32108 return 0;
32110 _ACEOF
32111 if ac_fn_cxx_try_compile "$LINENO"; then :
32112 glibcxx_cv_func__frexpf_use=yes
32113 else
32114 glibcxx_cv_func__frexpf_use=no
32116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32117 ac_ext=c
32118 ac_cpp='$CPP $CPPFLAGS'
32119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
32128 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
32130 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
32131 for ac_func in _frexpf
32132 do :
32133 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
32134 if test "x$ac_cv_func__frexpf" = xyes; then :
32135 cat >>confdefs.h <<_ACEOF
32136 #define HAVE__FREXPF 1
32137 _ACEOF
32140 done
32149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
32150 $as_echo_n "checking for hypotf declaration... " >&6; }
32151 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
32152 if ${glibcxx_cv_func_hypotf_use+:} false; then :
32153 $as_echo_n "(cached) " >&6
32154 else
32157 ac_ext=cpp
32158 ac_cpp='$CXXCPP $CPPFLAGS'
32159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32164 /* end confdefs.h. */
32165 #include <math.h>
32167 main ()
32169 hypotf(0, 0);
32171 return 0;
32173 _ACEOF
32174 if ac_fn_cxx_try_compile "$LINENO"; then :
32175 glibcxx_cv_func_hypotf_use=yes
32176 else
32177 glibcxx_cv_func_hypotf_use=no
32179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32180 ac_ext=c
32181 ac_cpp='$CPP $CPPFLAGS'
32182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
32191 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
32193 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
32194 for ac_func in hypotf
32195 do :
32196 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
32197 if test "x$ac_cv_func_hypotf" = xyes; then :
32198 cat >>confdefs.h <<_ACEOF
32199 #define HAVE_HYPOTF 1
32200 _ACEOF
32203 done
32205 else
32207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
32208 $as_echo_n "checking for _hypotf declaration... " >&6; }
32209 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
32210 if ${glibcxx_cv_func__hypotf_use+:} false; then :
32211 $as_echo_n "(cached) " >&6
32212 else
32215 ac_ext=cpp
32216 ac_cpp='$CXXCPP $CPPFLAGS'
32217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32222 /* end confdefs.h. */
32223 #include <math.h>
32225 main ()
32227 _hypotf(0, 0);
32229 return 0;
32231 _ACEOF
32232 if ac_fn_cxx_try_compile "$LINENO"; then :
32233 glibcxx_cv_func__hypotf_use=yes
32234 else
32235 glibcxx_cv_func__hypotf_use=no
32237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32238 ac_ext=c
32239 ac_cpp='$CPP $CPPFLAGS'
32240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
32249 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
32251 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
32252 for ac_func in _hypotf
32253 do :
32254 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
32255 if test "x$ac_cv_func__hypotf" = xyes; then :
32256 cat >>confdefs.h <<_ACEOF
32257 #define HAVE__HYPOTF 1
32258 _ACEOF
32261 done
32270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
32271 $as_echo_n "checking for ldexpf declaration... " >&6; }
32272 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
32273 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
32274 $as_echo_n "(cached) " >&6
32275 else
32278 ac_ext=cpp
32279 ac_cpp='$CXXCPP $CPPFLAGS'
32280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32285 /* end confdefs.h. */
32286 #include <math.h>
32288 main ()
32290 ldexpf(0, 0);
32292 return 0;
32294 _ACEOF
32295 if ac_fn_cxx_try_compile "$LINENO"; then :
32296 glibcxx_cv_func_ldexpf_use=yes
32297 else
32298 glibcxx_cv_func_ldexpf_use=no
32300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32301 ac_ext=c
32302 ac_cpp='$CPP $CPPFLAGS'
32303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
32312 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
32314 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
32315 for ac_func in ldexpf
32316 do :
32317 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
32318 if test "x$ac_cv_func_ldexpf" = xyes; then :
32319 cat >>confdefs.h <<_ACEOF
32320 #define HAVE_LDEXPF 1
32321 _ACEOF
32324 done
32326 else
32328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
32329 $as_echo_n "checking for _ldexpf declaration... " >&6; }
32330 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
32331 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
32332 $as_echo_n "(cached) " >&6
32333 else
32336 ac_ext=cpp
32337 ac_cpp='$CXXCPP $CPPFLAGS'
32338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32343 /* end confdefs.h. */
32344 #include <math.h>
32346 main ()
32348 _ldexpf(0, 0);
32350 return 0;
32352 _ACEOF
32353 if ac_fn_cxx_try_compile "$LINENO"; then :
32354 glibcxx_cv_func__ldexpf_use=yes
32355 else
32356 glibcxx_cv_func__ldexpf_use=no
32358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32359 ac_ext=c
32360 ac_cpp='$CPP $CPPFLAGS'
32361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
32370 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
32372 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
32373 for ac_func in _ldexpf
32374 do :
32375 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
32376 if test "x$ac_cv_func__ldexpf" = xyes; then :
32377 cat >>confdefs.h <<_ACEOF
32378 #define HAVE__LDEXPF 1
32379 _ACEOF
32382 done
32391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
32392 $as_echo_n "checking for logf declaration... " >&6; }
32393 if test x${glibcxx_cv_func_logf_use+set} != xset; then
32394 if ${glibcxx_cv_func_logf_use+:} false; then :
32395 $as_echo_n "(cached) " >&6
32396 else
32399 ac_ext=cpp
32400 ac_cpp='$CXXCPP $CPPFLAGS'
32401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32406 /* end confdefs.h. */
32407 #include <math.h>
32408 #ifdef HAVE_IEEEFP_H
32409 #include <ieeefp.h>
32410 #endif
32413 main ()
32415 logf(0);
32417 return 0;
32419 _ACEOF
32420 if ac_fn_cxx_try_compile "$LINENO"; then :
32421 glibcxx_cv_func_logf_use=yes
32422 else
32423 glibcxx_cv_func_logf_use=no
32425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32426 ac_ext=c
32427 ac_cpp='$CPP $CPPFLAGS'
32428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
32437 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
32439 if test x$glibcxx_cv_func_logf_use = x"yes"; then
32440 for ac_func in logf
32441 do :
32442 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
32443 if test "x$ac_cv_func_logf" = xyes; then :
32444 cat >>confdefs.h <<_ACEOF
32445 #define HAVE_LOGF 1
32446 _ACEOF
32449 done
32451 else
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
32520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
32521 $as_echo_n "checking for log10f declaration... " >&6; }
32522 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
32523 if ${glibcxx_cv_func_log10f_use+:} false; then :
32524 $as_echo_n "(cached) " >&6
32525 else
32528 ac_ext=cpp
32529 ac_cpp='$CXXCPP $CPPFLAGS'
32530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32535 /* end confdefs.h. */
32536 #include <math.h>
32537 #ifdef HAVE_IEEEFP_H
32538 #include <ieeefp.h>
32539 #endif
32542 main ()
32544 log10f(0);
32546 return 0;
32548 _ACEOF
32549 if ac_fn_cxx_try_compile "$LINENO"; then :
32550 glibcxx_cv_func_log10f_use=yes
32551 else
32552 glibcxx_cv_func_log10f_use=no
32554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32555 ac_ext=c
32556 ac_cpp='$CPP $CPPFLAGS'
32557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
32566 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
32568 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
32569 for ac_func in log10f
32570 do :
32571 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
32572 if test "x$ac_cv_func_log10f" = xyes; then :
32573 cat >>confdefs.h <<_ACEOF
32574 #define HAVE_LOG10F 1
32575 _ACEOF
32578 done
32580 else
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
32649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
32650 $as_echo_n "checking for modff declaration... " >&6; }
32651 if test x${glibcxx_cv_func_modff_use+set} != xset; then
32652 if ${glibcxx_cv_func_modff_use+:} false; then :
32653 $as_echo_n "(cached) " >&6
32654 else
32657 ac_ext=cpp
32658 ac_cpp='$CXXCPP $CPPFLAGS'
32659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32664 /* end confdefs.h. */
32665 #include <math.h>
32667 main ()
32669 modff(0, 0);
32671 return 0;
32673 _ACEOF
32674 if ac_fn_cxx_try_compile "$LINENO"; then :
32675 glibcxx_cv_func_modff_use=yes
32676 else
32677 glibcxx_cv_func_modff_use=no
32679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32680 ac_ext=c
32681 ac_cpp='$CPP $CPPFLAGS'
32682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
32691 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
32693 if test x$glibcxx_cv_func_modff_use = x"yes"; then
32694 for ac_func in modff
32695 do :
32696 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
32697 if test "x$ac_cv_func_modff" = xyes; then :
32698 cat >>confdefs.h <<_ACEOF
32699 #define HAVE_MODFF 1
32700 _ACEOF
32703 done
32705 else
32707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
32708 $as_echo_n "checking for _modff declaration... " >&6; }
32709 if test x${glibcxx_cv_func__modff_use+set} != xset; then
32710 if ${glibcxx_cv_func__modff_use+:} false; then :
32711 $as_echo_n "(cached) " >&6
32712 else
32715 ac_ext=cpp
32716 ac_cpp='$CXXCPP $CPPFLAGS'
32717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32722 /* end confdefs.h. */
32723 #include <math.h>
32725 main ()
32727 _modff(0, 0);
32729 return 0;
32731 _ACEOF
32732 if ac_fn_cxx_try_compile "$LINENO"; then :
32733 glibcxx_cv_func__modff_use=yes
32734 else
32735 glibcxx_cv_func__modff_use=no
32737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32738 ac_ext=c
32739 ac_cpp='$CPP $CPPFLAGS'
32740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
32749 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
32751 if test x$glibcxx_cv_func__modff_use = x"yes"; then
32752 for ac_func in _modff
32753 do :
32754 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
32755 if test "x$ac_cv_func__modff" = xyes; then :
32756 cat >>confdefs.h <<_ACEOF
32757 #define HAVE__MODFF 1
32758 _ACEOF
32761 done
32770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
32771 $as_echo_n "checking for modf declaration... " >&6; }
32772 if test x${glibcxx_cv_func_modf_use+set} != xset; then
32773 if ${glibcxx_cv_func_modf_use+:} false; then :
32774 $as_echo_n "(cached) " >&6
32775 else
32778 ac_ext=cpp
32779 ac_cpp='$CXXCPP $CPPFLAGS'
32780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32785 /* end confdefs.h. */
32786 #include <math.h>
32788 main ()
32790 modf(0, 0);
32792 return 0;
32794 _ACEOF
32795 if ac_fn_cxx_try_compile "$LINENO"; then :
32796 glibcxx_cv_func_modf_use=yes
32797 else
32798 glibcxx_cv_func_modf_use=no
32800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32801 ac_ext=c
32802 ac_cpp='$CPP $CPPFLAGS'
32803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
32812 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
32814 if test x$glibcxx_cv_func_modf_use = x"yes"; then
32815 for ac_func in modf
32816 do :
32817 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
32818 if test "x$ac_cv_func_modf" = xyes; then :
32819 cat >>confdefs.h <<_ACEOF
32820 #define HAVE_MODF 1
32821 _ACEOF
32824 done
32826 else
32828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
32829 $as_echo_n "checking for _modf declaration... " >&6; }
32830 if test x${glibcxx_cv_func__modf_use+set} != xset; then
32831 if ${glibcxx_cv_func__modf_use+:} false; then :
32832 $as_echo_n "(cached) " >&6
32833 else
32836 ac_ext=cpp
32837 ac_cpp='$CXXCPP $CPPFLAGS'
32838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32843 /* end confdefs.h. */
32844 #include <math.h>
32846 main ()
32848 _modf(0, 0);
32850 return 0;
32852 _ACEOF
32853 if ac_fn_cxx_try_compile "$LINENO"; then :
32854 glibcxx_cv_func__modf_use=yes
32855 else
32856 glibcxx_cv_func__modf_use=no
32858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32859 ac_ext=c
32860 ac_cpp='$CPP $CPPFLAGS'
32861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
32870 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
32872 if test x$glibcxx_cv_func__modf_use = x"yes"; then
32873 for ac_func in _modf
32874 do :
32875 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
32876 if test "x$ac_cv_func__modf" = xyes; then :
32877 cat >>confdefs.h <<_ACEOF
32878 #define HAVE__MODF 1
32879 _ACEOF
32882 done
32891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32892 $as_echo_n "checking for powf declaration... " >&6; }
32893 if test x${glibcxx_cv_func_powf_use+set} != xset; then
32894 if ${glibcxx_cv_func_powf_use+:} false; then :
32895 $as_echo_n "(cached) " >&6
32896 else
32899 ac_ext=cpp
32900 ac_cpp='$CXXCPP $CPPFLAGS'
32901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32906 /* end confdefs.h. */
32907 #include <math.h>
32909 main ()
32911 powf(0, 0);
32913 return 0;
32915 _ACEOF
32916 if ac_fn_cxx_try_compile "$LINENO"; then :
32917 glibcxx_cv_func_powf_use=yes
32918 else
32919 glibcxx_cv_func_powf_use=no
32921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32922 ac_ext=c
32923 ac_cpp='$CPP $CPPFLAGS'
32924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32933 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
32935 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32936 for ac_func in powf
32937 do :
32938 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32939 if test "x$ac_cv_func_powf" = xyes; then :
32940 cat >>confdefs.h <<_ACEOF
32941 #define HAVE_POWF 1
32942 _ACEOF
32945 done
32947 else
32949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32950 $as_echo_n "checking for _powf declaration... " >&6; }
32951 if test x${glibcxx_cv_func__powf_use+set} != xset; then
32952 if ${glibcxx_cv_func__powf_use+:} false; then :
32953 $as_echo_n "(cached) " >&6
32954 else
32957 ac_ext=cpp
32958 ac_cpp='$CXXCPP $CPPFLAGS'
32959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32964 /* end confdefs.h. */
32965 #include <math.h>
32967 main ()
32969 _powf(0, 0);
32971 return 0;
32973 _ACEOF
32974 if ac_fn_cxx_try_compile "$LINENO"; then :
32975 glibcxx_cv_func__powf_use=yes
32976 else
32977 glibcxx_cv_func__powf_use=no
32979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32980 ac_ext=c
32981 ac_cpp='$CPP $CPPFLAGS'
32982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32991 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
32993 if test x$glibcxx_cv_func__powf_use = x"yes"; then
32994 for ac_func in _powf
32995 do :
32996 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32997 if test "x$ac_cv_func__powf" = xyes; then :
32998 cat >>confdefs.h <<_ACEOF
32999 #define HAVE__POWF 1
33000 _ACEOF
33003 done
33012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
33013 $as_echo_n "checking for sqrtf declaration... " >&6; }
33014 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
33015 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
33016 $as_echo_n "(cached) " >&6
33017 else
33020 ac_ext=cpp
33021 ac_cpp='$CXXCPP $CPPFLAGS'
33022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33027 /* end confdefs.h. */
33028 #include <math.h>
33029 #ifdef HAVE_IEEEFP_H
33030 #include <ieeefp.h>
33031 #endif
33034 main ()
33036 sqrtf(0);
33038 return 0;
33040 _ACEOF
33041 if ac_fn_cxx_try_compile "$LINENO"; then :
33042 glibcxx_cv_func_sqrtf_use=yes
33043 else
33044 glibcxx_cv_func_sqrtf_use=no
33046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33047 ac_ext=c
33048 ac_cpp='$CPP $CPPFLAGS'
33049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
33058 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
33060 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
33061 for ac_func in sqrtf
33062 do :
33063 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
33064 if test "x$ac_cv_func_sqrtf" = xyes; then :
33065 cat >>confdefs.h <<_ACEOF
33066 #define HAVE_SQRTF 1
33067 _ACEOF
33070 done
33072 else
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
33141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
33142 $as_echo_n "checking for sincosf declaration... " >&6; }
33143 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
33144 if ${glibcxx_cv_func_sincosf_use+:} false; then :
33145 $as_echo_n "(cached) " >&6
33146 else
33149 ac_ext=cpp
33150 ac_cpp='$CXXCPP $CPPFLAGS'
33151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33156 /* end confdefs.h. */
33157 #include <math.h>
33159 main ()
33161 sincosf(0, 0, 0);
33163 return 0;
33165 _ACEOF
33166 if ac_fn_cxx_try_compile "$LINENO"; then :
33167 glibcxx_cv_func_sincosf_use=yes
33168 else
33169 glibcxx_cv_func_sincosf_use=no
33171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33172 ac_ext=c
33173 ac_cpp='$CPP $CPPFLAGS'
33174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
33183 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
33185 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
33186 for ac_func in sincosf
33187 do :
33188 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
33189 if test "x$ac_cv_func_sincosf" = xyes; then :
33190 cat >>confdefs.h <<_ACEOF
33191 #define HAVE_SINCOSF 1
33192 _ACEOF
33195 done
33197 else
33199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
33200 $as_echo_n "checking for _sincosf declaration... " >&6; }
33201 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
33202 if ${glibcxx_cv_func__sincosf_use+:} false; then :
33203 $as_echo_n "(cached) " >&6
33204 else
33207 ac_ext=cpp
33208 ac_cpp='$CXXCPP $CPPFLAGS'
33209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33214 /* end confdefs.h. */
33215 #include <math.h>
33217 main ()
33219 _sincosf(0, 0, 0);
33221 return 0;
33223 _ACEOF
33224 if ac_fn_cxx_try_compile "$LINENO"; then :
33225 glibcxx_cv_func__sincosf_use=yes
33226 else
33227 glibcxx_cv_func__sincosf_use=no
33229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33230 ac_ext=c
33231 ac_cpp='$CPP $CPPFLAGS'
33232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
33241 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
33243 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
33244 for ac_func in _sincosf
33245 do :
33246 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
33247 if test "x$ac_cv_func__sincosf" = xyes; then :
33248 cat >>confdefs.h <<_ACEOF
33249 #define HAVE__SINCOSF 1
33250 _ACEOF
33253 done
33262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
33263 $as_echo_n "checking for finitef declaration... " >&6; }
33264 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
33265 if ${glibcxx_cv_func_finitef_use+:} false; then :
33266 $as_echo_n "(cached) " >&6
33267 else
33270 ac_ext=cpp
33271 ac_cpp='$CXXCPP $CPPFLAGS'
33272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33277 /* end confdefs.h. */
33278 #include <math.h>
33279 #ifdef HAVE_IEEEFP_H
33280 #include <ieeefp.h>
33281 #endif
33284 main ()
33286 finitef(0);
33288 return 0;
33290 _ACEOF
33291 if ac_fn_cxx_try_compile "$LINENO"; then :
33292 glibcxx_cv_func_finitef_use=yes
33293 else
33294 glibcxx_cv_func_finitef_use=no
33296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33297 ac_ext=c
33298 ac_cpp='$CPP $CPPFLAGS'
33299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
33308 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
33310 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
33311 for ac_func in finitef
33312 do :
33313 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
33314 if test "x$ac_cv_func_finitef" = xyes; then :
33315 cat >>confdefs.h <<_ACEOF
33316 #define HAVE_FINITEF 1
33317 _ACEOF
33320 done
33322 else
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
33391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
33392 $as_echo_n "checking for long double trig functions... " >&6; }
33393 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
33394 $as_echo_n "(cached) " >&6
33395 else
33398 ac_ext=cpp
33399 ac_cpp='$CXXCPP $CPPFLAGS'
33400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33405 /* end confdefs.h. */
33406 #include <math.h>
33408 main ()
33410 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
33412 return 0;
33414 _ACEOF
33415 if ac_fn_cxx_try_compile "$LINENO"; then :
33416 glibcxx_cv_func_long_double_trig_use=yes
33417 else
33418 glibcxx_cv_func_long_double_trig_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
33429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
33430 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
33431 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
33432 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
33433 do :
33434 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33435 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33436 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33437 cat >>confdefs.h <<_ACEOF
33438 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33439 _ACEOF
33442 done
33444 else
33445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
33446 $as_echo_n "checking for _long double trig functions... " >&6; }
33447 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
33448 $as_echo_n "(cached) " >&6
33449 else
33452 ac_ext=cpp
33453 ac_cpp='$CXXCPP $CPPFLAGS'
33454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33459 /* end confdefs.h. */
33460 #include <math.h>
33462 main ()
33464 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
33466 return 0;
33468 _ACEOF
33469 if ac_fn_cxx_try_compile "$LINENO"; then :
33470 glibcxx_cv_func__long_double_trig_use=yes
33471 else
33472 glibcxx_cv_func__long_double_trig_use=no
33474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33475 ac_ext=c
33476 ac_cpp='$CPP $CPPFLAGS'
33477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
33484 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
33485 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
33486 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
33487 do :
33488 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33489 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33490 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33491 cat >>confdefs.h <<_ACEOF
33492 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33493 _ACEOF
33496 done
33505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
33506 $as_echo_n "checking for long double round functions... " >&6; }
33507 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
33508 $as_echo_n "(cached) " >&6
33509 else
33512 ac_ext=cpp
33513 ac_cpp='$CXXCPP $CPPFLAGS'
33514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33519 /* end confdefs.h. */
33520 #include <math.h>
33522 main ()
33524 ceill (0); floorl (0);
33526 return 0;
33528 _ACEOF
33529 if ac_fn_cxx_try_compile "$LINENO"; then :
33530 glibcxx_cv_func_long_double_round_use=yes
33531 else
33532 glibcxx_cv_func_long_double_round_use=no
33534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33535 ac_ext=c
33536 ac_cpp='$CPP $CPPFLAGS'
33537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
33544 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
33545 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
33546 for ac_func in ceill floorl
33547 do :
33548 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33549 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33550 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33551 cat >>confdefs.h <<_ACEOF
33552 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33553 _ACEOF
33556 done
33558 else
33559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
33560 $as_echo_n "checking for _long double round functions... " >&6; }
33561 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
33562 $as_echo_n "(cached) " >&6
33563 else
33566 ac_ext=cpp
33567 ac_cpp='$CXXCPP $CPPFLAGS'
33568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33573 /* end confdefs.h. */
33574 #include <math.h>
33576 main ()
33578 _ceill (0); _floorl (0);
33580 return 0;
33582 _ACEOF
33583 if ac_fn_cxx_try_compile "$LINENO"; then :
33584 glibcxx_cv_func__long_double_round_use=yes
33585 else
33586 glibcxx_cv_func__long_double_round_use=no
33588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33589 ac_ext=c
33590 ac_cpp='$CPP $CPPFLAGS'
33591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
33598 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
33599 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
33600 for ac_func in _ceill _floorl
33601 do :
33602 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33603 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33604 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33605 cat >>confdefs.h <<_ACEOF
33606 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33607 _ACEOF
33610 done
33620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
33621 $as_echo_n "checking for isnanl declaration... " >&6; }
33622 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
33623 if ${glibcxx_cv_func_isnanl_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>
33637 #ifdef HAVE_IEEEFP_H
33638 #include <ieeefp.h>
33639 #endif
33642 main ()
33644 isnanl(0);
33646 return 0;
33648 _ACEOF
33649 if ac_fn_cxx_try_compile "$LINENO"; then :
33650 glibcxx_cv_func_isnanl_use=yes
33651 else
33652 glibcxx_cv_func_isnanl_use=no
33654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33655 ac_ext=c
33656 ac_cpp='$CPP $CPPFLAGS'
33657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
33666 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
33668 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
33669 for ac_func in isnanl
33670 do :
33671 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
33672 if test "x$ac_cv_func_isnanl" = xyes; then :
33673 cat >>confdefs.h <<_ACEOF
33674 #define HAVE_ISNANL 1
33675 _ACEOF
33678 done
33680 else
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
33749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
33750 $as_echo_n "checking for isinfl declaration... " >&6; }
33751 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
33752 if ${glibcxx_cv_func_isinfl_use+:} false; then :
33753 $as_echo_n "(cached) " >&6
33754 else
33757 ac_ext=cpp
33758 ac_cpp='$CXXCPP $CPPFLAGS'
33759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33764 /* end confdefs.h. */
33765 #include <math.h>
33766 #ifdef HAVE_IEEEFP_H
33767 #include <ieeefp.h>
33768 #endif
33771 main ()
33773 isinfl(0);
33775 return 0;
33777 _ACEOF
33778 if ac_fn_cxx_try_compile "$LINENO"; then :
33779 glibcxx_cv_func_isinfl_use=yes
33780 else
33781 glibcxx_cv_func_isinfl_use=no
33783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33784 ac_ext=c
33785 ac_cpp='$CPP $CPPFLAGS'
33786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
33795 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
33797 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
33798 for ac_func in isinfl
33799 do :
33800 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
33801 if test "x$ac_cv_func_isinfl" = xyes; then :
33802 cat >>confdefs.h <<_ACEOF
33803 #define HAVE_ISINFL 1
33804 _ACEOF
33807 done
33809 else
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
33878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33879 $as_echo_n "checking for atan2l declaration... " >&6; }
33880 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33881 if ${glibcxx_cv_func_atan2l_use+:} false; then :
33882 $as_echo_n "(cached) " >&6
33883 else
33886 ac_ext=cpp
33887 ac_cpp='$CXXCPP $CPPFLAGS'
33888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33893 /* end confdefs.h. */
33894 #include <math.h>
33896 main ()
33898 atan2l(0, 0);
33900 return 0;
33902 _ACEOF
33903 if ac_fn_cxx_try_compile "$LINENO"; then :
33904 glibcxx_cv_func_atan2l_use=yes
33905 else
33906 glibcxx_cv_func_atan2l_use=no
33908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33909 ac_ext=c
33910 ac_cpp='$CPP $CPPFLAGS'
33911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33920 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33922 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33923 for ac_func in atan2l
33924 do :
33925 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33926 if test "x$ac_cv_func_atan2l" = xyes; then :
33927 cat >>confdefs.h <<_ACEOF
33928 #define HAVE_ATAN2L 1
33929 _ACEOF
33932 done
33934 else
33936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33937 $as_echo_n "checking for _atan2l declaration... " >&6; }
33938 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33939 if ${glibcxx_cv_func__atan2l_use+:} false; then :
33940 $as_echo_n "(cached) " >&6
33941 else
33944 ac_ext=cpp
33945 ac_cpp='$CXXCPP $CPPFLAGS'
33946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33951 /* end confdefs.h. */
33952 #include <math.h>
33954 main ()
33956 _atan2l(0, 0);
33958 return 0;
33960 _ACEOF
33961 if ac_fn_cxx_try_compile "$LINENO"; then :
33962 glibcxx_cv_func__atan2l_use=yes
33963 else
33964 glibcxx_cv_func__atan2l_use=no
33966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33967 ac_ext=c
33968 ac_cpp='$CPP $CPPFLAGS'
33969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33978 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33980 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33981 for ac_func in _atan2l
33982 do :
33983 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33984 if test "x$ac_cv_func__atan2l" = xyes; then :
33985 cat >>confdefs.h <<_ACEOF
33986 #define HAVE__ATAN2L 1
33987 _ACEOF
33990 done
33999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
34000 $as_echo_n "checking for expl declaration... " >&6; }
34001 if test x${glibcxx_cv_func_expl_use+set} != xset; then
34002 if ${glibcxx_cv_func_expl_use+:} false; then :
34003 $as_echo_n "(cached) " >&6
34004 else
34007 ac_ext=cpp
34008 ac_cpp='$CXXCPP $CPPFLAGS'
34009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34014 /* end confdefs.h. */
34015 #include <math.h>
34016 #ifdef HAVE_IEEEFP_H
34017 #include <ieeefp.h>
34018 #endif
34021 main ()
34023 expl(0);
34025 return 0;
34027 _ACEOF
34028 if ac_fn_cxx_try_compile "$LINENO"; then :
34029 glibcxx_cv_func_expl_use=yes
34030 else
34031 glibcxx_cv_func_expl_use=no
34033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34034 ac_ext=c
34035 ac_cpp='$CPP $CPPFLAGS'
34036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
34045 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
34047 if test x$glibcxx_cv_func_expl_use = x"yes"; then
34048 for ac_func in expl
34049 do :
34050 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
34051 if test "x$ac_cv_func_expl" = xyes; then :
34052 cat >>confdefs.h <<_ACEOF
34053 #define HAVE_EXPL 1
34054 _ACEOF
34057 done
34059 else
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
34128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
34129 $as_echo_n "checking for fabsl declaration... " >&6; }
34130 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
34131 if ${glibcxx_cv_func_fabsl_use+:} false; then :
34132 $as_echo_n "(cached) " >&6
34133 else
34136 ac_ext=cpp
34137 ac_cpp='$CXXCPP $CPPFLAGS'
34138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34143 /* end confdefs.h. */
34144 #include <math.h>
34145 #ifdef HAVE_IEEEFP_H
34146 #include <ieeefp.h>
34147 #endif
34150 main ()
34152 fabsl(0);
34154 return 0;
34156 _ACEOF
34157 if ac_fn_cxx_try_compile "$LINENO"; then :
34158 glibcxx_cv_func_fabsl_use=yes
34159 else
34160 glibcxx_cv_func_fabsl_use=no
34162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34163 ac_ext=c
34164 ac_cpp='$CPP $CPPFLAGS'
34165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
34174 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
34176 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
34177 for ac_func in fabsl
34178 do :
34179 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
34180 if test "x$ac_cv_func_fabsl" = xyes; then :
34181 cat >>confdefs.h <<_ACEOF
34182 #define HAVE_FABSL 1
34183 _ACEOF
34186 done
34188 else
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
34257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
34258 $as_echo_n "checking for fmodl declaration... " >&6; }
34259 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
34260 if ${glibcxx_cv_func_fmodl_use+:} false; then :
34261 $as_echo_n "(cached) " >&6
34262 else
34265 ac_ext=cpp
34266 ac_cpp='$CXXCPP $CPPFLAGS'
34267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34272 /* end confdefs.h. */
34273 #include <math.h>
34275 main ()
34277 fmodl(0, 0);
34279 return 0;
34281 _ACEOF
34282 if ac_fn_cxx_try_compile "$LINENO"; then :
34283 glibcxx_cv_func_fmodl_use=yes
34284 else
34285 glibcxx_cv_func_fmodl_use=no
34287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34288 ac_ext=c
34289 ac_cpp='$CPP $CPPFLAGS'
34290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
34299 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
34301 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
34302 for ac_func in fmodl
34303 do :
34304 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
34305 if test "x$ac_cv_func_fmodl" = xyes; then :
34306 cat >>confdefs.h <<_ACEOF
34307 #define HAVE_FMODL 1
34308 _ACEOF
34311 done
34313 else
34315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
34316 $as_echo_n "checking for _fmodl declaration... " >&6; }
34317 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
34318 if ${glibcxx_cv_func__fmodl_use+:} false; then :
34319 $as_echo_n "(cached) " >&6
34320 else
34323 ac_ext=cpp
34324 ac_cpp='$CXXCPP $CPPFLAGS'
34325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34330 /* end confdefs.h. */
34331 #include <math.h>
34333 main ()
34335 _fmodl(0, 0);
34337 return 0;
34339 _ACEOF
34340 if ac_fn_cxx_try_compile "$LINENO"; then :
34341 glibcxx_cv_func__fmodl_use=yes
34342 else
34343 glibcxx_cv_func__fmodl_use=no
34345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34346 ac_ext=c
34347 ac_cpp='$CPP $CPPFLAGS'
34348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
34357 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
34359 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
34360 for ac_func in _fmodl
34361 do :
34362 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
34363 if test "x$ac_cv_func__fmodl" = xyes; then :
34364 cat >>confdefs.h <<_ACEOF
34365 #define HAVE__FMODL 1
34366 _ACEOF
34369 done
34378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
34379 $as_echo_n "checking for frexpl declaration... " >&6; }
34380 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
34381 if ${glibcxx_cv_func_frexpl_use+:} false; then :
34382 $as_echo_n "(cached) " >&6
34383 else
34386 ac_ext=cpp
34387 ac_cpp='$CXXCPP $CPPFLAGS'
34388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34393 /* end confdefs.h. */
34394 #include <math.h>
34396 main ()
34398 frexpl(0, 0);
34400 return 0;
34402 _ACEOF
34403 if ac_fn_cxx_try_compile "$LINENO"; then :
34404 glibcxx_cv_func_frexpl_use=yes
34405 else
34406 glibcxx_cv_func_frexpl_use=no
34408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34409 ac_ext=c
34410 ac_cpp='$CPP $CPPFLAGS'
34411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
34420 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
34422 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
34423 for ac_func in frexpl
34424 do :
34425 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
34426 if test "x$ac_cv_func_frexpl" = xyes; then :
34427 cat >>confdefs.h <<_ACEOF
34428 #define HAVE_FREXPL 1
34429 _ACEOF
34432 done
34434 else
34436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
34437 $as_echo_n "checking for _frexpl declaration... " >&6; }
34438 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
34439 if ${glibcxx_cv_func__frexpl_use+:} false; then :
34440 $as_echo_n "(cached) " >&6
34441 else
34444 ac_ext=cpp
34445 ac_cpp='$CXXCPP $CPPFLAGS'
34446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34451 /* end confdefs.h. */
34452 #include <math.h>
34454 main ()
34456 _frexpl(0, 0);
34458 return 0;
34460 _ACEOF
34461 if ac_fn_cxx_try_compile "$LINENO"; then :
34462 glibcxx_cv_func__frexpl_use=yes
34463 else
34464 glibcxx_cv_func__frexpl_use=no
34466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34467 ac_ext=c
34468 ac_cpp='$CPP $CPPFLAGS'
34469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
34478 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
34480 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
34481 for ac_func in _frexpl
34482 do :
34483 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
34484 if test "x$ac_cv_func__frexpl" = xyes; then :
34485 cat >>confdefs.h <<_ACEOF
34486 #define HAVE__FREXPL 1
34487 _ACEOF
34490 done
34499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
34500 $as_echo_n "checking for hypotl declaration... " >&6; }
34501 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
34502 if ${glibcxx_cv_func_hypotl_use+:} false; then :
34503 $as_echo_n "(cached) " >&6
34504 else
34507 ac_ext=cpp
34508 ac_cpp='$CXXCPP $CPPFLAGS'
34509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34514 /* end confdefs.h. */
34515 #include <math.h>
34517 main ()
34519 hypotl(0, 0);
34521 return 0;
34523 _ACEOF
34524 if ac_fn_cxx_try_compile "$LINENO"; then :
34525 glibcxx_cv_func_hypotl_use=yes
34526 else
34527 glibcxx_cv_func_hypotl_use=no
34529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34530 ac_ext=c
34531 ac_cpp='$CPP $CPPFLAGS'
34532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
34541 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
34543 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
34544 for ac_func in hypotl
34545 do :
34546 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
34547 if test "x$ac_cv_func_hypotl" = xyes; then :
34548 cat >>confdefs.h <<_ACEOF
34549 #define HAVE_HYPOTL 1
34550 _ACEOF
34553 done
34555 else
34557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
34558 $as_echo_n "checking for _hypotl declaration... " >&6; }
34559 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
34560 if ${glibcxx_cv_func__hypotl_use+:} false; then :
34561 $as_echo_n "(cached) " >&6
34562 else
34565 ac_ext=cpp
34566 ac_cpp='$CXXCPP $CPPFLAGS'
34567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34572 /* end confdefs.h. */
34573 #include <math.h>
34575 main ()
34577 _hypotl(0, 0);
34579 return 0;
34581 _ACEOF
34582 if ac_fn_cxx_try_compile "$LINENO"; then :
34583 glibcxx_cv_func__hypotl_use=yes
34584 else
34585 glibcxx_cv_func__hypotl_use=no
34587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34588 ac_ext=c
34589 ac_cpp='$CPP $CPPFLAGS'
34590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
34599 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
34601 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
34602 for ac_func in _hypotl
34603 do :
34604 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
34605 if test "x$ac_cv_func__hypotl" = xyes; then :
34606 cat >>confdefs.h <<_ACEOF
34607 #define HAVE__HYPOTL 1
34608 _ACEOF
34611 done
34620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
34621 $as_echo_n "checking for ldexpl declaration... " >&6; }
34622 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
34623 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
34624 $as_echo_n "(cached) " >&6
34625 else
34628 ac_ext=cpp
34629 ac_cpp='$CXXCPP $CPPFLAGS'
34630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34635 /* end confdefs.h. */
34636 #include <math.h>
34638 main ()
34640 ldexpl(0, 0);
34642 return 0;
34644 _ACEOF
34645 if ac_fn_cxx_try_compile "$LINENO"; then :
34646 glibcxx_cv_func_ldexpl_use=yes
34647 else
34648 glibcxx_cv_func_ldexpl_use=no
34650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34651 ac_ext=c
34652 ac_cpp='$CPP $CPPFLAGS'
34653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
34662 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
34664 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
34665 for ac_func in ldexpl
34666 do :
34667 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
34668 if test "x$ac_cv_func_ldexpl" = xyes; then :
34669 cat >>confdefs.h <<_ACEOF
34670 #define HAVE_LDEXPL 1
34671 _ACEOF
34674 done
34676 else
34678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
34679 $as_echo_n "checking for _ldexpl declaration... " >&6; }
34680 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
34681 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
34682 $as_echo_n "(cached) " >&6
34683 else
34686 ac_ext=cpp
34687 ac_cpp='$CXXCPP $CPPFLAGS'
34688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34693 /* end confdefs.h. */
34694 #include <math.h>
34696 main ()
34698 _ldexpl(0, 0);
34700 return 0;
34702 _ACEOF
34703 if ac_fn_cxx_try_compile "$LINENO"; then :
34704 glibcxx_cv_func__ldexpl_use=yes
34705 else
34706 glibcxx_cv_func__ldexpl_use=no
34708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34709 ac_ext=c
34710 ac_cpp='$CPP $CPPFLAGS'
34711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
34720 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
34722 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
34723 for ac_func in _ldexpl
34724 do :
34725 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
34726 if test "x$ac_cv_func__ldexpl" = xyes; then :
34727 cat >>confdefs.h <<_ACEOF
34728 #define HAVE__LDEXPL 1
34729 _ACEOF
34732 done
34741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
34742 $as_echo_n "checking for logl declaration... " >&6; }
34743 if test x${glibcxx_cv_func_logl_use+set} != xset; then
34744 if ${glibcxx_cv_func_logl_use+:} false; then :
34745 $as_echo_n "(cached) " >&6
34746 else
34749 ac_ext=cpp
34750 ac_cpp='$CXXCPP $CPPFLAGS'
34751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34756 /* end confdefs.h. */
34757 #include <math.h>
34758 #ifdef HAVE_IEEEFP_H
34759 #include <ieeefp.h>
34760 #endif
34763 main ()
34765 logl(0);
34767 return 0;
34769 _ACEOF
34770 if ac_fn_cxx_try_compile "$LINENO"; then :
34771 glibcxx_cv_func_logl_use=yes
34772 else
34773 glibcxx_cv_func_logl_use=no
34775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34776 ac_ext=c
34777 ac_cpp='$CPP $CPPFLAGS'
34778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
34787 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
34789 if test x$glibcxx_cv_func_logl_use = x"yes"; then
34790 for ac_func in logl
34791 do :
34792 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
34793 if test "x$ac_cv_func_logl" = xyes; then :
34794 cat >>confdefs.h <<_ACEOF
34795 #define HAVE_LOGL 1
34796 _ACEOF
34799 done
34801 else
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
34870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
34871 $as_echo_n "checking for log10l declaration... " >&6; }
34872 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
34873 if ${glibcxx_cv_func_log10l_use+:} false; then :
34874 $as_echo_n "(cached) " >&6
34875 else
34878 ac_ext=cpp
34879 ac_cpp='$CXXCPP $CPPFLAGS'
34880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34885 /* end confdefs.h. */
34886 #include <math.h>
34887 #ifdef HAVE_IEEEFP_H
34888 #include <ieeefp.h>
34889 #endif
34892 main ()
34894 log10l(0);
34896 return 0;
34898 _ACEOF
34899 if ac_fn_cxx_try_compile "$LINENO"; then :
34900 glibcxx_cv_func_log10l_use=yes
34901 else
34902 glibcxx_cv_func_log10l_use=no
34904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34905 ac_ext=c
34906 ac_cpp='$CPP $CPPFLAGS'
34907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34916 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34918 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34919 for ac_func in log10l
34920 do :
34921 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34922 if test "x$ac_cv_func_log10l" = xyes; then :
34923 cat >>confdefs.h <<_ACEOF
34924 #define HAVE_LOG10L 1
34925 _ACEOF
34928 done
34930 else
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
34999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
35000 $as_echo_n "checking for modfl declaration... " >&6; }
35001 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
35002 if ${glibcxx_cv_func_modfl_use+:} false; then :
35003 $as_echo_n "(cached) " >&6
35004 else
35007 ac_ext=cpp
35008 ac_cpp='$CXXCPP $CPPFLAGS'
35009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35014 /* end confdefs.h. */
35015 #include <math.h>
35017 main ()
35019 modfl(0, 0);
35021 return 0;
35023 _ACEOF
35024 if ac_fn_cxx_try_compile "$LINENO"; then :
35025 glibcxx_cv_func_modfl_use=yes
35026 else
35027 glibcxx_cv_func_modfl_use=no
35029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35030 ac_ext=c
35031 ac_cpp='$CPP $CPPFLAGS'
35032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
35041 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
35043 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
35044 for ac_func in modfl
35045 do :
35046 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
35047 if test "x$ac_cv_func_modfl" = xyes; then :
35048 cat >>confdefs.h <<_ACEOF
35049 #define HAVE_MODFL 1
35050 _ACEOF
35053 done
35055 else
35057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
35058 $as_echo_n "checking for _modfl declaration... " >&6; }
35059 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
35060 if ${glibcxx_cv_func__modfl_use+:} false; then :
35061 $as_echo_n "(cached) " >&6
35062 else
35065 ac_ext=cpp
35066 ac_cpp='$CXXCPP $CPPFLAGS'
35067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35072 /* end confdefs.h. */
35073 #include <math.h>
35075 main ()
35077 _modfl(0, 0);
35079 return 0;
35081 _ACEOF
35082 if ac_fn_cxx_try_compile "$LINENO"; then :
35083 glibcxx_cv_func__modfl_use=yes
35084 else
35085 glibcxx_cv_func__modfl_use=no
35087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35088 ac_ext=c
35089 ac_cpp='$CPP $CPPFLAGS'
35090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
35099 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
35101 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
35102 for ac_func in _modfl
35103 do :
35104 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
35105 if test "x$ac_cv_func__modfl" = xyes; then :
35106 cat >>confdefs.h <<_ACEOF
35107 #define HAVE__MODFL 1
35108 _ACEOF
35111 done
35120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
35121 $as_echo_n "checking for powl declaration... " >&6; }
35122 if test x${glibcxx_cv_func_powl_use+set} != xset; then
35123 if ${glibcxx_cv_func_powl_use+:} false; then :
35124 $as_echo_n "(cached) " >&6
35125 else
35128 ac_ext=cpp
35129 ac_cpp='$CXXCPP $CPPFLAGS'
35130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35135 /* end confdefs.h. */
35136 #include <math.h>
35138 main ()
35140 powl(0, 0);
35142 return 0;
35144 _ACEOF
35145 if ac_fn_cxx_try_compile "$LINENO"; then :
35146 glibcxx_cv_func_powl_use=yes
35147 else
35148 glibcxx_cv_func_powl_use=no
35150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35151 ac_ext=c
35152 ac_cpp='$CPP $CPPFLAGS'
35153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
35162 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
35164 if test x$glibcxx_cv_func_powl_use = x"yes"; then
35165 for ac_func in powl
35166 do :
35167 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
35168 if test "x$ac_cv_func_powl" = xyes; then :
35169 cat >>confdefs.h <<_ACEOF
35170 #define HAVE_POWL 1
35171 _ACEOF
35174 done
35176 else
35178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
35179 $as_echo_n "checking for _powl declaration... " >&6; }
35180 if test x${glibcxx_cv_func__powl_use+set} != xset; then
35181 if ${glibcxx_cv_func__powl_use+:} false; then :
35182 $as_echo_n "(cached) " >&6
35183 else
35186 ac_ext=cpp
35187 ac_cpp='$CXXCPP $CPPFLAGS'
35188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35193 /* end confdefs.h. */
35194 #include <math.h>
35196 main ()
35198 _powl(0, 0);
35200 return 0;
35202 _ACEOF
35203 if ac_fn_cxx_try_compile "$LINENO"; then :
35204 glibcxx_cv_func__powl_use=yes
35205 else
35206 glibcxx_cv_func__powl_use=no
35208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35209 ac_ext=c
35210 ac_cpp='$CPP $CPPFLAGS'
35211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
35220 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
35222 if test x$glibcxx_cv_func__powl_use = x"yes"; then
35223 for ac_func in _powl
35224 do :
35225 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
35226 if test "x$ac_cv_func__powl" = xyes; then :
35227 cat >>confdefs.h <<_ACEOF
35228 #define HAVE__POWL 1
35229 _ACEOF
35232 done
35241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
35242 $as_echo_n "checking for sqrtl declaration... " >&6; }
35243 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
35244 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
35245 $as_echo_n "(cached) " >&6
35246 else
35249 ac_ext=cpp
35250 ac_cpp='$CXXCPP $CPPFLAGS'
35251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35256 /* end confdefs.h. */
35257 #include <math.h>
35258 #ifdef HAVE_IEEEFP_H
35259 #include <ieeefp.h>
35260 #endif
35263 main ()
35265 sqrtl(0);
35267 return 0;
35269 _ACEOF
35270 if ac_fn_cxx_try_compile "$LINENO"; then :
35271 glibcxx_cv_func_sqrtl_use=yes
35272 else
35273 glibcxx_cv_func_sqrtl_use=no
35275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35276 ac_ext=c
35277 ac_cpp='$CPP $CPPFLAGS'
35278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
35287 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
35289 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
35290 for ac_func in sqrtl
35291 do :
35292 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
35293 if test "x$ac_cv_func_sqrtl" = xyes; then :
35294 cat >>confdefs.h <<_ACEOF
35295 #define HAVE_SQRTL 1
35296 _ACEOF
35299 done
35301 else
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
35370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
35371 $as_echo_n "checking for sincosl declaration... " >&6; }
35372 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
35373 if ${glibcxx_cv_func_sincosl_use+:} false; then :
35374 $as_echo_n "(cached) " >&6
35375 else
35378 ac_ext=cpp
35379 ac_cpp='$CXXCPP $CPPFLAGS'
35380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35385 /* end confdefs.h. */
35386 #include <math.h>
35388 main ()
35390 sincosl(0, 0, 0);
35392 return 0;
35394 _ACEOF
35395 if ac_fn_cxx_try_compile "$LINENO"; then :
35396 glibcxx_cv_func_sincosl_use=yes
35397 else
35398 glibcxx_cv_func_sincosl_use=no
35400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35401 ac_ext=c
35402 ac_cpp='$CPP $CPPFLAGS'
35403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
35412 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
35414 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
35415 for ac_func in sincosl
35416 do :
35417 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
35418 if test "x$ac_cv_func_sincosl" = xyes; then :
35419 cat >>confdefs.h <<_ACEOF
35420 #define HAVE_SINCOSL 1
35421 _ACEOF
35424 done
35426 else
35428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
35429 $as_echo_n "checking for _sincosl declaration... " >&6; }
35430 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
35431 if ${glibcxx_cv_func__sincosl_use+:} false; then :
35432 $as_echo_n "(cached) " >&6
35433 else
35436 ac_ext=cpp
35437 ac_cpp='$CXXCPP $CPPFLAGS'
35438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35443 /* end confdefs.h. */
35444 #include <math.h>
35446 main ()
35448 _sincosl(0, 0, 0);
35450 return 0;
35452 _ACEOF
35453 if ac_fn_cxx_try_compile "$LINENO"; then :
35454 glibcxx_cv_func__sincosl_use=yes
35455 else
35456 glibcxx_cv_func__sincosl_use=no
35458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35459 ac_ext=c
35460 ac_cpp='$CPP $CPPFLAGS'
35461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
35470 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
35472 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
35473 for ac_func in _sincosl
35474 do :
35475 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
35476 if test "x$ac_cv_func__sincosl" = xyes; then :
35477 cat >>confdefs.h <<_ACEOF
35478 #define HAVE__SINCOSL 1
35479 _ACEOF
35482 done
35491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
35492 $as_echo_n "checking for finitel declaration... " >&6; }
35493 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
35494 if ${glibcxx_cv_func_finitel_use+:} false; then :
35495 $as_echo_n "(cached) " >&6
35496 else
35499 ac_ext=cpp
35500 ac_cpp='$CXXCPP $CPPFLAGS'
35501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35506 /* end confdefs.h. */
35507 #include <math.h>
35508 #ifdef HAVE_IEEEFP_H
35509 #include <ieeefp.h>
35510 #endif
35513 main ()
35515 finitel(0);
35517 return 0;
35519 _ACEOF
35520 if ac_fn_cxx_try_compile "$LINENO"; then :
35521 glibcxx_cv_func_finitel_use=yes
35522 else
35523 glibcxx_cv_func_finitel_use=no
35525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35526 ac_ext=c
35527 ac_cpp='$CPP $CPPFLAGS'
35528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
35537 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
35539 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
35540 for ac_func in finitel
35541 do :
35542 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
35543 if test "x$ac_cv_func_finitel" = xyes; then :
35544 cat >>confdefs.h <<_ACEOF
35545 #define HAVE_FINITEL 1
35546 _ACEOF
35549 done
35551 else
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
35619 LIBS="$ac_save_LIBS"
35620 CXXFLAGS="$ac_save_CXXFLAGS"
35623 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35624 ac_save_CXXFLAGS="$CXXFLAGS"
35625 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
35629 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
35630 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
35631 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
35632 $as_echo_n "(cached) " >&6
35633 else
35636 ac_ext=cpp
35637 ac_cpp='$CXXCPP $CPPFLAGS'
35638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35643 /* end confdefs.h. */
35644 #include <stdlib.h>
35646 main ()
35648 at_quick_exit(0);
35650 return 0;
35652 _ACEOF
35653 if ac_fn_cxx_try_compile "$LINENO"; then :
35654 glibcxx_cv_func_at_quick_exit_use=yes
35655 else
35656 glibcxx_cv_func_at_quick_exit_use=no
35658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35659 ac_ext=c
35660 ac_cpp='$CPP $CPPFLAGS'
35661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
35670 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
35671 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
35672 for ac_func in at_quick_exit
35673 do :
35674 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
35675 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
35676 cat >>confdefs.h <<_ACEOF
35677 #define HAVE_AT_QUICK_EXIT 1
35678 _ACEOF
35681 done
35686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
35687 $as_echo_n "checking for quick_exit declaration... " >&6; }
35688 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
35689 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
35690 $as_echo_n "(cached) " >&6
35691 else
35694 ac_ext=cpp
35695 ac_cpp='$CXXCPP $CPPFLAGS'
35696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35701 /* end confdefs.h. */
35702 #include <stdlib.h>
35704 main ()
35706 quick_exit(0);
35708 return 0;
35710 _ACEOF
35711 if ac_fn_cxx_try_compile "$LINENO"; then :
35712 glibcxx_cv_func_quick_exit_use=yes
35713 else
35714 glibcxx_cv_func_quick_exit_use=no
35716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35717 ac_ext=c
35718 ac_cpp='$CPP $CPPFLAGS'
35719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
35728 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
35729 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
35730 for ac_func in quick_exit
35731 do :
35732 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
35733 if test "x$ac_cv_func_quick_exit" = xyes; then :
35734 cat >>confdefs.h <<_ACEOF
35735 #define HAVE_QUICK_EXIT 1
35736 _ACEOF
35739 done
35744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
35745 $as_echo_n "checking for strtold declaration... " >&6; }
35746 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
35747 if ${glibcxx_cv_func_strtold_use+:} false; then :
35748 $as_echo_n "(cached) " >&6
35749 else
35752 ac_ext=cpp
35753 ac_cpp='$CXXCPP $CPPFLAGS'
35754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35759 /* end confdefs.h. */
35760 #include <stdlib.h>
35762 main ()
35764 strtold(0, 0);
35766 return 0;
35768 _ACEOF
35769 if ac_fn_cxx_try_compile "$LINENO"; then :
35770 glibcxx_cv_func_strtold_use=yes
35771 else
35772 glibcxx_cv_func_strtold_use=no
35774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35775 ac_ext=c
35776 ac_cpp='$CPP $CPPFLAGS'
35777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
35786 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
35787 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
35788 for ac_func in strtold
35789 do :
35790 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
35791 if test "x$ac_cv_func_strtold" = xyes; then :
35792 cat >>confdefs.h <<_ACEOF
35793 #define HAVE_STRTOLD 1
35794 _ACEOF
35797 done
35804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
35805 $as_echo_n "checking for strtof declaration... " >&6; }
35806 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
35807 if ${glibcxx_cv_func_strtof_use+:} false; then :
35808 $as_echo_n "(cached) " >&6
35809 else
35812 ac_ext=cpp
35813 ac_cpp='$CXXCPP $CPPFLAGS'
35814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35819 /* end confdefs.h. */
35820 #include <stdlib.h>
35822 main ()
35824 strtof(0, 0);
35826 return 0;
35828 _ACEOF
35829 if ac_fn_cxx_try_compile "$LINENO"; then :
35830 glibcxx_cv_func_strtof_use=yes
35831 else
35832 glibcxx_cv_func_strtof_use=no
35834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35835 ac_ext=c
35836 ac_cpp='$CPP $CPPFLAGS'
35837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
35846 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
35847 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
35848 for ac_func in strtof
35849 do :
35850 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
35851 if test "x$ac_cv_func_strtof" = xyes; then :
35852 cat >>confdefs.h <<_ACEOF
35853 #define HAVE_STRTOF 1
35854 _ACEOF
35857 done
35864 CXXFLAGS="$ac_save_CXXFLAGS"
35867 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
35869 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
35871 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
35873 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
35876 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35878 $as_echo "#define HAVE_MODF 1" >>confdefs.h
35880 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35884 *-aix*)
35886 # If we're not using GNU ld, then there's no point in even trying these
35887 # tests. Check for that first. We should have already tested for gld
35888 # by now (in libtool), but require it now just to be safe...
35889 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35890 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35894 # The name set by libtool depends on the version of libtool. Shame on us
35895 # for depending on an impl detail, but c'est la vie. Older versions used
35896 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35897 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35898 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
35899 # set (hence we're using an older libtool), then set it.
35900 if test x${with_gnu_ld+set} != xset; then
35901 if test x${ac_cv_prog_gnu_ld+set} != xset; then
35902 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
35903 with_gnu_ld=no
35904 else
35905 with_gnu_ld=$ac_cv_prog_gnu_ld
35909 # Start by getting the version number. I think the libtool test already
35910 # does some of this, but throws away the result.
35911 glibcxx_ld_is_gold=no
35912 if test x"$with_gnu_ld" = x"yes"; then
35913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35914 $as_echo_n "checking for ld version... " >&6; }
35916 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35917 glibcxx_ld_is_gold=yes
35919 ldver=`$LD --version 2>/dev/null |
35920 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
35922 glibcxx_gnu_ld_version=`echo $ldver | \
35923 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35925 $as_echo "$glibcxx_gnu_ld_version" >&6; }
35928 # Set --gc-sections.
35929 glibcxx_have_gc_sections=no
35930 if test "$glibcxx_ld_is_gold" = "yes"; then
35931 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35932 glibcxx_have_gc_sections=yes
35934 else
35935 glibcxx_gcsections_min_ld=21602
35936 if test x"$with_gnu_ld" = x"yes" &&
35937 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35938 glibcxx_have_gc_sections=yes
35941 if test "$glibcxx_have_gc_sections" = "yes"; then
35942 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
35943 # NB: This flag only works reliably after 2.16.1. Configure tests
35944 # for this are difficult, so hard wire a value that should work.
35946 ac_test_CFLAGS="${CFLAGS+set}"
35947 ac_save_CFLAGS="$CFLAGS"
35948 CFLAGS='-Wl,--gc-sections'
35950 # Check for -Wl,--gc-sections
35951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35952 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35953 if test x$gcc_no_link = xyes; then
35954 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35957 /* end confdefs.h. */
35958 int one(void) { return 1; }
35959 int two(void) { return 2; }
35962 main ()
35964 two();
35966 return 0;
35968 _ACEOF
35969 if ac_fn_c_try_link "$LINENO"; then :
35970 ac_gcsections=yes
35971 else
35972 ac_gcsections=no
35974 rm -f core conftest.err conftest.$ac_objext \
35975 conftest$ac_exeext conftest.$ac_ext
35976 if test "$ac_gcsections" = "yes"; then
35977 rm -f conftest.c
35978 touch conftest.c
35979 if $CC -c conftest.c; then
35980 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35981 grep "Warning: gc-sections option ignored" > /dev/null; then
35982 ac_gcsections=no
35985 rm -f conftest.c conftest.o conftest
35987 if test "$ac_gcsections" = "yes"; then
35988 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35991 $as_echo "$ac_gcsections" >&6; }
35993 if test "$ac_test_CFLAGS" = set; then
35994 CFLAGS="$ac_save_CFLAGS"
35995 else
35996 # this is the suspicious part
35997 CFLAGS=''
36001 # Set -z,relro.
36002 # Note this is only for shared objects.
36003 ac_ld_relro=no
36004 if test x"$with_gnu_ld" = x"yes"; then
36005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
36006 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
36007 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
36008 if test -n "$cxx_z_relo"; then
36009 OPT_LDFLAGS="-Wl,-z,relro"
36010 ac_ld_relro=yes
36012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
36013 $as_echo "$ac_ld_relro" >&6; }
36016 # Set linker optimization flags.
36017 if test x"$with_gnu_ld" = x"yes"; then
36018 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
36025 ac_test_CXXFLAGS="${CXXFLAGS+set}"
36026 ac_save_CXXFLAGS="$CXXFLAGS"
36027 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
36029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
36030 $as_echo_n "checking for sin in -lm... " >&6; }
36031 if ${ac_cv_lib_m_sin+:} false; then :
36032 $as_echo_n "(cached) " >&6
36033 else
36034 ac_check_lib_save_LIBS=$LIBS
36035 LIBS="-lm $LIBS"
36036 if test x$gcc_no_link = xyes; then
36037 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
36039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36040 /* end confdefs.h. */
36042 /* Override any GCC internal prototype to avoid an error.
36043 Use char because int might match the return type of a GCC
36044 builtin and then its argument prototype would still apply. */
36045 #ifdef __cplusplus
36046 extern "C"
36047 #endif
36048 char sin ();
36050 main ()
36052 return sin ();
36054 return 0;
36056 _ACEOF
36057 if ac_fn_c_try_link "$LINENO"; then :
36058 ac_cv_lib_m_sin=yes
36059 else
36060 ac_cv_lib_m_sin=no
36062 rm -f core conftest.err conftest.$ac_objext \
36063 conftest$ac_exeext conftest.$ac_ext
36064 LIBS=$ac_check_lib_save_LIBS
36066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
36067 $as_echo "$ac_cv_lib_m_sin" >&6; }
36068 if test "x$ac_cv_lib_m_sin" = xyes; then :
36069 libm="-lm"
36072 ac_save_LIBS="$LIBS"
36073 LIBS="$LIBS $libm"
36077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
36078 $as_echo_n "checking for isinf declaration... " >&6; }
36079 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
36080 if ${glibcxx_cv_func_isinf_use+:} false; then :
36081 $as_echo_n "(cached) " >&6
36082 else
36085 ac_ext=cpp
36086 ac_cpp='$CXXCPP $CPPFLAGS'
36087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36092 /* end confdefs.h. */
36093 #include <math.h>
36094 #ifdef HAVE_IEEEFP_H
36095 #include <ieeefp.h>
36096 #endif
36099 main ()
36101 isinf(0);
36103 return 0;
36105 _ACEOF
36106 if ac_fn_cxx_try_compile "$LINENO"; then :
36107 glibcxx_cv_func_isinf_use=yes
36108 else
36109 glibcxx_cv_func_isinf_use=no
36111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36112 ac_ext=c
36113 ac_cpp='$CPP $CPPFLAGS'
36114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
36123 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
36125 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
36126 for ac_func in isinf
36127 do :
36128 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
36129 if test "x$ac_cv_func_isinf" = xyes; then :
36130 cat >>confdefs.h <<_ACEOF
36131 #define HAVE_ISINF 1
36132 _ACEOF
36135 done
36137 else
36139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
36140 $as_echo_n "checking for _isinf declaration... " >&6; }
36141 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
36142 if ${glibcxx_cv_func__isinf_use+:} false; then :
36143 $as_echo_n "(cached) " >&6
36144 else
36147 ac_ext=cpp
36148 ac_cpp='$CXXCPP $CPPFLAGS'
36149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36154 /* end confdefs.h. */
36155 #include <math.h>
36156 #ifdef HAVE_IEEEFP_H
36157 #include <ieeefp.h>
36158 #endif
36161 main ()
36163 _isinf(0);
36165 return 0;
36167 _ACEOF
36168 if ac_fn_cxx_try_compile "$LINENO"; then :
36169 glibcxx_cv_func__isinf_use=yes
36170 else
36171 glibcxx_cv_func__isinf_use=no
36173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36174 ac_ext=c
36175 ac_cpp='$CPP $CPPFLAGS'
36176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
36185 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
36187 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
36188 for ac_func in _isinf
36189 do :
36190 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
36191 if test "x$ac_cv_func__isinf" = xyes; then :
36192 cat >>confdefs.h <<_ACEOF
36193 #define HAVE__ISINF 1
36194 _ACEOF
36197 done
36206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
36207 $as_echo_n "checking for isnan declaration... " >&6; }
36208 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
36209 if ${glibcxx_cv_func_isnan_use+:} false; then :
36210 $as_echo_n "(cached) " >&6
36211 else
36214 ac_ext=cpp
36215 ac_cpp='$CXXCPP $CPPFLAGS'
36216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36221 /* end confdefs.h. */
36222 #include <math.h>
36223 #ifdef HAVE_IEEEFP_H
36224 #include <ieeefp.h>
36225 #endif
36228 main ()
36230 isnan(0);
36232 return 0;
36234 _ACEOF
36235 if ac_fn_cxx_try_compile "$LINENO"; then :
36236 glibcxx_cv_func_isnan_use=yes
36237 else
36238 glibcxx_cv_func_isnan_use=no
36240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36241 ac_ext=c
36242 ac_cpp='$CPP $CPPFLAGS'
36243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
36252 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
36254 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
36255 for ac_func in isnan
36256 do :
36257 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
36258 if test "x$ac_cv_func_isnan" = xyes; then :
36259 cat >>confdefs.h <<_ACEOF
36260 #define HAVE_ISNAN 1
36261 _ACEOF
36264 done
36266 else
36268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
36269 $as_echo_n "checking for _isnan declaration... " >&6; }
36270 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
36271 if ${glibcxx_cv_func__isnan_use+:} false; then :
36272 $as_echo_n "(cached) " >&6
36273 else
36276 ac_ext=cpp
36277 ac_cpp='$CXXCPP $CPPFLAGS'
36278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36283 /* end confdefs.h. */
36284 #include <math.h>
36285 #ifdef HAVE_IEEEFP_H
36286 #include <ieeefp.h>
36287 #endif
36290 main ()
36292 _isnan(0);
36294 return 0;
36296 _ACEOF
36297 if ac_fn_cxx_try_compile "$LINENO"; then :
36298 glibcxx_cv_func__isnan_use=yes
36299 else
36300 glibcxx_cv_func__isnan_use=no
36302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36303 ac_ext=c
36304 ac_cpp='$CPP $CPPFLAGS'
36305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
36314 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
36316 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
36317 for ac_func in _isnan
36318 do :
36319 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
36320 if test "x$ac_cv_func__isnan" = xyes; then :
36321 cat >>confdefs.h <<_ACEOF
36322 #define HAVE__ISNAN 1
36323 _ACEOF
36326 done
36335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
36336 $as_echo_n "checking for finite declaration... " >&6; }
36337 if test x${glibcxx_cv_func_finite_use+set} != xset; then
36338 if ${glibcxx_cv_func_finite_use+:} false; then :
36339 $as_echo_n "(cached) " >&6
36340 else
36343 ac_ext=cpp
36344 ac_cpp='$CXXCPP $CPPFLAGS'
36345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36350 /* end confdefs.h. */
36351 #include <math.h>
36352 #ifdef HAVE_IEEEFP_H
36353 #include <ieeefp.h>
36354 #endif
36357 main ()
36359 finite(0);
36361 return 0;
36363 _ACEOF
36364 if ac_fn_cxx_try_compile "$LINENO"; then :
36365 glibcxx_cv_func_finite_use=yes
36366 else
36367 glibcxx_cv_func_finite_use=no
36369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36370 ac_ext=c
36371 ac_cpp='$CPP $CPPFLAGS'
36372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
36381 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
36383 if test x$glibcxx_cv_func_finite_use = x"yes"; then
36384 for ac_func in finite
36385 do :
36386 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
36387 if test "x$ac_cv_func_finite" = xyes; then :
36388 cat >>confdefs.h <<_ACEOF
36389 #define HAVE_FINITE 1
36390 _ACEOF
36393 done
36395 else
36397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
36398 $as_echo_n "checking for _finite declaration... " >&6; }
36399 if test x${glibcxx_cv_func__finite_use+set} != xset; then
36400 if ${glibcxx_cv_func__finite_use+:} false; then :
36401 $as_echo_n "(cached) " >&6
36402 else
36405 ac_ext=cpp
36406 ac_cpp='$CXXCPP $CPPFLAGS'
36407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36412 /* end confdefs.h. */
36413 #include <math.h>
36414 #ifdef HAVE_IEEEFP_H
36415 #include <ieeefp.h>
36416 #endif
36419 main ()
36421 _finite(0);
36423 return 0;
36425 _ACEOF
36426 if ac_fn_cxx_try_compile "$LINENO"; then :
36427 glibcxx_cv_func__finite_use=yes
36428 else
36429 glibcxx_cv_func__finite_use=no
36431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36432 ac_ext=c
36433 ac_cpp='$CPP $CPPFLAGS'
36434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
36443 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
36445 if test x$glibcxx_cv_func__finite_use = x"yes"; then
36446 for ac_func in _finite
36447 do :
36448 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
36449 if test "x$ac_cv_func__finite" = xyes; then :
36450 cat >>confdefs.h <<_ACEOF
36451 #define HAVE__FINITE 1
36452 _ACEOF
36455 done
36464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
36465 $as_echo_n "checking for sincos declaration... " >&6; }
36466 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
36467 if ${glibcxx_cv_func_sincos_use+:} false; then :
36468 $as_echo_n "(cached) " >&6
36469 else
36472 ac_ext=cpp
36473 ac_cpp='$CXXCPP $CPPFLAGS'
36474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36479 /* end confdefs.h. */
36480 #include <math.h>
36482 main ()
36484 sincos(0, 0, 0);
36486 return 0;
36488 _ACEOF
36489 if ac_fn_cxx_try_compile "$LINENO"; then :
36490 glibcxx_cv_func_sincos_use=yes
36491 else
36492 glibcxx_cv_func_sincos_use=no
36494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36495 ac_ext=c
36496 ac_cpp='$CPP $CPPFLAGS'
36497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
36506 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
36508 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
36509 for ac_func in sincos
36510 do :
36511 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
36512 if test "x$ac_cv_func_sincos" = xyes; then :
36513 cat >>confdefs.h <<_ACEOF
36514 #define HAVE_SINCOS 1
36515 _ACEOF
36518 done
36520 else
36522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
36523 $as_echo_n "checking for _sincos declaration... " >&6; }
36524 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
36525 if ${glibcxx_cv_func__sincos_use+:} false; then :
36526 $as_echo_n "(cached) " >&6
36527 else
36530 ac_ext=cpp
36531 ac_cpp='$CXXCPP $CPPFLAGS'
36532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36537 /* end confdefs.h. */
36538 #include <math.h>
36540 main ()
36542 _sincos(0, 0, 0);
36544 return 0;
36546 _ACEOF
36547 if ac_fn_cxx_try_compile "$LINENO"; then :
36548 glibcxx_cv_func__sincos_use=yes
36549 else
36550 glibcxx_cv_func__sincos_use=no
36552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36553 ac_ext=c
36554 ac_cpp='$CPP $CPPFLAGS'
36555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
36564 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
36566 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
36567 for ac_func in _sincos
36568 do :
36569 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
36570 if test "x$ac_cv_func__sincos" = xyes; then :
36571 cat >>confdefs.h <<_ACEOF
36572 #define HAVE__SINCOS 1
36573 _ACEOF
36576 done
36585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
36586 $as_echo_n "checking for fpclass declaration... " >&6; }
36587 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
36588 if ${glibcxx_cv_func_fpclass_use+:} false; then :
36589 $as_echo_n "(cached) " >&6
36590 else
36593 ac_ext=cpp
36594 ac_cpp='$CXXCPP $CPPFLAGS'
36595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36600 /* end confdefs.h. */
36601 #include <math.h>
36602 #ifdef HAVE_IEEEFP_H
36603 #include <ieeefp.h>
36604 #endif
36607 main ()
36609 fpclass(0);
36611 return 0;
36613 _ACEOF
36614 if ac_fn_cxx_try_compile "$LINENO"; then :
36615 glibcxx_cv_func_fpclass_use=yes
36616 else
36617 glibcxx_cv_func_fpclass_use=no
36619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36620 ac_ext=c
36621 ac_cpp='$CPP $CPPFLAGS'
36622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
36631 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
36633 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
36634 for ac_func in fpclass
36635 do :
36636 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
36637 if test "x$ac_cv_func_fpclass" = xyes; then :
36638 cat >>confdefs.h <<_ACEOF
36639 #define HAVE_FPCLASS 1
36640 _ACEOF
36643 done
36645 else
36647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
36648 $as_echo_n "checking for _fpclass declaration... " >&6; }
36649 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
36650 if ${glibcxx_cv_func__fpclass_use+:} false; then :
36651 $as_echo_n "(cached) " >&6
36652 else
36655 ac_ext=cpp
36656 ac_cpp='$CXXCPP $CPPFLAGS'
36657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36662 /* end confdefs.h. */
36663 #include <math.h>
36664 #ifdef HAVE_IEEEFP_H
36665 #include <ieeefp.h>
36666 #endif
36669 main ()
36671 _fpclass(0);
36673 return 0;
36675 _ACEOF
36676 if ac_fn_cxx_try_compile "$LINENO"; then :
36677 glibcxx_cv_func__fpclass_use=yes
36678 else
36679 glibcxx_cv_func__fpclass_use=no
36681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36682 ac_ext=c
36683 ac_cpp='$CPP $CPPFLAGS'
36684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
36693 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
36695 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
36696 for ac_func in _fpclass
36697 do :
36698 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
36699 if test "x$ac_cv_func__fpclass" = xyes; then :
36700 cat >>confdefs.h <<_ACEOF
36701 #define HAVE__FPCLASS 1
36702 _ACEOF
36705 done
36714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
36715 $as_echo_n "checking for qfpclass declaration... " >&6; }
36716 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
36717 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
36718 $as_echo_n "(cached) " >&6
36719 else
36722 ac_ext=cpp
36723 ac_cpp='$CXXCPP $CPPFLAGS'
36724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36729 /* end confdefs.h. */
36730 #include <math.h>
36731 #ifdef HAVE_IEEEFP_H
36732 #include <ieeefp.h>
36733 #endif
36736 main ()
36738 qfpclass(0);
36740 return 0;
36742 _ACEOF
36743 if ac_fn_cxx_try_compile "$LINENO"; then :
36744 glibcxx_cv_func_qfpclass_use=yes
36745 else
36746 glibcxx_cv_func_qfpclass_use=no
36748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36749 ac_ext=c
36750 ac_cpp='$CPP $CPPFLAGS'
36751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
36760 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
36762 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
36763 for ac_func in qfpclass
36764 do :
36765 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
36766 if test "x$ac_cv_func_qfpclass" = xyes; then :
36767 cat >>confdefs.h <<_ACEOF
36768 #define HAVE_QFPCLASS 1
36769 _ACEOF
36772 done
36774 else
36776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
36777 $as_echo_n "checking for _qfpclass declaration... " >&6; }
36778 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
36779 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
36780 $as_echo_n "(cached) " >&6
36781 else
36784 ac_ext=cpp
36785 ac_cpp='$CXXCPP $CPPFLAGS'
36786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36791 /* end confdefs.h. */
36792 #include <math.h>
36793 #ifdef HAVE_IEEEFP_H
36794 #include <ieeefp.h>
36795 #endif
36798 main ()
36800 _qfpclass(0);
36802 return 0;
36804 _ACEOF
36805 if ac_fn_cxx_try_compile "$LINENO"; then :
36806 glibcxx_cv_func__qfpclass_use=yes
36807 else
36808 glibcxx_cv_func__qfpclass_use=no
36810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36811 ac_ext=c
36812 ac_cpp='$CPP $CPPFLAGS'
36813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36822 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36824 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36825 for ac_func in _qfpclass
36826 do :
36827 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36828 if test "x$ac_cv_func__qfpclass" = xyes; then :
36829 cat >>confdefs.h <<_ACEOF
36830 #define HAVE__QFPCLASS 1
36831 _ACEOF
36834 done
36843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36844 $as_echo_n "checking for hypot declaration... " >&6; }
36845 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36846 if ${glibcxx_cv_func_hypot_use+:} false; then :
36847 $as_echo_n "(cached) " >&6
36848 else
36851 ac_ext=cpp
36852 ac_cpp='$CXXCPP $CPPFLAGS'
36853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36858 /* end confdefs.h. */
36859 #include <math.h>
36861 main ()
36863 hypot(0, 0);
36865 return 0;
36867 _ACEOF
36868 if ac_fn_cxx_try_compile "$LINENO"; then :
36869 glibcxx_cv_func_hypot_use=yes
36870 else
36871 glibcxx_cv_func_hypot_use=no
36873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36874 ac_ext=c
36875 ac_cpp='$CPP $CPPFLAGS'
36876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36885 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36887 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36888 for ac_func in hypot
36889 do :
36890 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36891 if test "x$ac_cv_func_hypot" = xyes; then :
36892 cat >>confdefs.h <<_ACEOF
36893 #define HAVE_HYPOT 1
36894 _ACEOF
36897 done
36899 else
36901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36902 $as_echo_n "checking for _hypot declaration... " >&6; }
36903 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36904 if ${glibcxx_cv_func__hypot_use+:} false; then :
36905 $as_echo_n "(cached) " >&6
36906 else
36909 ac_ext=cpp
36910 ac_cpp='$CXXCPP $CPPFLAGS'
36911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36916 /* end confdefs.h. */
36917 #include <math.h>
36919 main ()
36921 _hypot(0, 0);
36923 return 0;
36925 _ACEOF
36926 if ac_fn_cxx_try_compile "$LINENO"; then :
36927 glibcxx_cv_func__hypot_use=yes
36928 else
36929 glibcxx_cv_func__hypot_use=no
36931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36932 ac_ext=c
36933 ac_cpp='$CPP $CPPFLAGS'
36934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36943 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36945 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36946 for ac_func in _hypot
36947 do :
36948 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36949 if test "x$ac_cv_func__hypot" = xyes; then :
36950 cat >>confdefs.h <<_ACEOF
36951 #define HAVE__HYPOT 1
36952 _ACEOF
36955 done
36964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36965 $as_echo_n "checking for float trig functions... " >&6; }
36966 if ${glibcxx_cv_func_float_trig_use+:} false; then :
36967 $as_echo_n "(cached) " >&6
36968 else
36971 ac_ext=cpp
36972 ac_cpp='$CXXCPP $CPPFLAGS'
36973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36978 /* end confdefs.h. */
36979 #include <math.h>
36981 main ()
36983 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36985 return 0;
36987 _ACEOF
36988 if ac_fn_cxx_try_compile "$LINENO"; then :
36989 glibcxx_cv_func_float_trig_use=yes
36990 else
36991 glibcxx_cv_func_float_trig_use=no
36993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36994 ac_ext=c
36995 ac_cpp='$CPP $CPPFLAGS'
36996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
37003 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
37004 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
37005 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
37006 do :
37007 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37008 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37009 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
37010 cat >>confdefs.h <<_ACEOF
37011 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37012 _ACEOF
37015 done
37017 else
37018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
37019 $as_echo_n "checking for _float trig functions... " >&6; }
37020 if ${glibcxx_cv_func__float_trig_use+:} false; then :
37021 $as_echo_n "(cached) " >&6
37022 else
37025 ac_ext=cpp
37026 ac_cpp='$CXXCPP $CPPFLAGS'
37027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37032 /* end confdefs.h. */
37033 #include <math.h>
37035 main ()
37037 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
37039 return 0;
37041 _ACEOF
37042 if ac_fn_cxx_try_compile "$LINENO"; then :
37043 glibcxx_cv_func__float_trig_use=yes
37044 else
37045 glibcxx_cv_func__float_trig_use=no
37047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37048 ac_ext=c
37049 ac_cpp='$CPP $CPPFLAGS'
37050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
37057 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
37058 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
37059 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
37060 do :
37061 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37062 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37063 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
37064 cat >>confdefs.h <<_ACEOF
37065 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37066 _ACEOF
37069 done
37078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
37079 $as_echo_n "checking for float round functions... " >&6; }
37080 if ${glibcxx_cv_func_float_round_use+:} false; then :
37081 $as_echo_n "(cached) " >&6
37082 else
37085 ac_ext=cpp
37086 ac_cpp='$CXXCPP $CPPFLAGS'
37087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37092 /* end confdefs.h. */
37093 #include <math.h>
37095 main ()
37097 ceilf (0); floorf (0);
37099 return 0;
37101 _ACEOF
37102 if ac_fn_cxx_try_compile "$LINENO"; then :
37103 glibcxx_cv_func_float_round_use=yes
37104 else
37105 glibcxx_cv_func_float_round_use=no
37107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37108 ac_ext=c
37109 ac_cpp='$CPP $CPPFLAGS'
37110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
37117 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
37118 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
37119 for ac_func in ceilf floorf
37120 do :
37121 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37122 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37123 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
37124 cat >>confdefs.h <<_ACEOF
37125 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37126 _ACEOF
37129 done
37131 else
37132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
37133 $as_echo_n "checking for _float round functions... " >&6; }
37134 if ${glibcxx_cv_func__float_round_use+:} false; then :
37135 $as_echo_n "(cached) " >&6
37136 else
37139 ac_ext=cpp
37140 ac_cpp='$CXXCPP $CPPFLAGS'
37141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37146 /* end confdefs.h. */
37147 #include <math.h>
37149 main ()
37151 _ceilf (0); _floorf (0);
37153 return 0;
37155 _ACEOF
37156 if ac_fn_cxx_try_compile "$LINENO"; then :
37157 glibcxx_cv_func__float_round_use=yes
37158 else
37159 glibcxx_cv_func__float_round_use=no
37161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37162 ac_ext=c
37163 ac_cpp='$CPP $CPPFLAGS'
37164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
37171 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
37172 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
37173 for ac_func in _ceilf _floorf
37174 do :
37175 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37176 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37177 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
37178 cat >>confdefs.h <<_ACEOF
37179 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37180 _ACEOF
37183 done
37193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
37194 $as_echo_n "checking for expf declaration... " >&6; }
37195 if test x${glibcxx_cv_func_expf_use+set} != xset; then
37196 if ${glibcxx_cv_func_expf_use+:} false; then :
37197 $as_echo_n "(cached) " >&6
37198 else
37201 ac_ext=cpp
37202 ac_cpp='$CXXCPP $CPPFLAGS'
37203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37208 /* end confdefs.h. */
37209 #include <math.h>
37210 #ifdef HAVE_IEEEFP_H
37211 #include <ieeefp.h>
37212 #endif
37215 main ()
37217 expf(0);
37219 return 0;
37221 _ACEOF
37222 if ac_fn_cxx_try_compile "$LINENO"; then :
37223 glibcxx_cv_func_expf_use=yes
37224 else
37225 glibcxx_cv_func_expf_use=no
37227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37228 ac_ext=c
37229 ac_cpp='$CPP $CPPFLAGS'
37230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
37239 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
37241 if test x$glibcxx_cv_func_expf_use = x"yes"; then
37242 for ac_func in expf
37243 do :
37244 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
37245 if test "x$ac_cv_func_expf" = xyes; then :
37246 cat >>confdefs.h <<_ACEOF
37247 #define HAVE_EXPF 1
37248 _ACEOF
37251 done
37253 else
37255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
37256 $as_echo_n "checking for _expf declaration... " >&6; }
37257 if test x${glibcxx_cv_func__expf_use+set} != xset; then
37258 if ${glibcxx_cv_func__expf_use+:} false; then :
37259 $as_echo_n "(cached) " >&6
37260 else
37263 ac_ext=cpp
37264 ac_cpp='$CXXCPP $CPPFLAGS'
37265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37270 /* end confdefs.h. */
37271 #include <math.h>
37272 #ifdef HAVE_IEEEFP_H
37273 #include <ieeefp.h>
37274 #endif
37277 main ()
37279 _expf(0);
37281 return 0;
37283 _ACEOF
37284 if ac_fn_cxx_try_compile "$LINENO"; then :
37285 glibcxx_cv_func__expf_use=yes
37286 else
37287 glibcxx_cv_func__expf_use=no
37289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37290 ac_ext=c
37291 ac_cpp='$CPP $CPPFLAGS'
37292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
37301 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
37303 if test x$glibcxx_cv_func__expf_use = x"yes"; then
37304 for ac_func in _expf
37305 do :
37306 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
37307 if test "x$ac_cv_func__expf" = xyes; then :
37308 cat >>confdefs.h <<_ACEOF
37309 #define HAVE__EXPF 1
37310 _ACEOF
37313 done
37322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
37323 $as_echo_n "checking for isnanf declaration... " >&6; }
37324 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
37325 if ${glibcxx_cv_func_isnanf_use+:} false; then :
37326 $as_echo_n "(cached) " >&6
37327 else
37330 ac_ext=cpp
37331 ac_cpp='$CXXCPP $CPPFLAGS'
37332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37337 /* end confdefs.h. */
37338 #include <math.h>
37339 #ifdef HAVE_IEEEFP_H
37340 #include <ieeefp.h>
37341 #endif
37344 main ()
37346 isnanf(0);
37348 return 0;
37350 _ACEOF
37351 if ac_fn_cxx_try_compile "$LINENO"; then :
37352 glibcxx_cv_func_isnanf_use=yes
37353 else
37354 glibcxx_cv_func_isnanf_use=no
37356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37357 ac_ext=c
37358 ac_cpp='$CPP $CPPFLAGS'
37359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
37368 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
37370 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
37371 for ac_func in isnanf
37372 do :
37373 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
37374 if test "x$ac_cv_func_isnanf" = xyes; then :
37375 cat >>confdefs.h <<_ACEOF
37376 #define HAVE_ISNANF 1
37377 _ACEOF
37380 done
37382 else
37384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
37385 $as_echo_n "checking for _isnanf declaration... " >&6; }
37386 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
37387 if ${glibcxx_cv_func__isnanf_use+:} false; then :
37388 $as_echo_n "(cached) " >&6
37389 else
37392 ac_ext=cpp
37393 ac_cpp='$CXXCPP $CPPFLAGS'
37394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37399 /* end confdefs.h. */
37400 #include <math.h>
37401 #ifdef HAVE_IEEEFP_H
37402 #include <ieeefp.h>
37403 #endif
37406 main ()
37408 _isnanf(0);
37410 return 0;
37412 _ACEOF
37413 if ac_fn_cxx_try_compile "$LINENO"; then :
37414 glibcxx_cv_func__isnanf_use=yes
37415 else
37416 glibcxx_cv_func__isnanf_use=no
37418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37419 ac_ext=c
37420 ac_cpp='$CPP $CPPFLAGS'
37421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
37430 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
37432 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
37433 for ac_func in _isnanf
37434 do :
37435 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
37436 if test "x$ac_cv_func__isnanf" = xyes; then :
37437 cat >>confdefs.h <<_ACEOF
37438 #define HAVE__ISNANF 1
37439 _ACEOF
37442 done
37451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
37452 $as_echo_n "checking for isinff declaration... " >&6; }
37453 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
37454 if ${glibcxx_cv_func_isinff_use+:} false; then :
37455 $as_echo_n "(cached) " >&6
37456 else
37459 ac_ext=cpp
37460 ac_cpp='$CXXCPP $CPPFLAGS'
37461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37466 /* end confdefs.h. */
37467 #include <math.h>
37468 #ifdef HAVE_IEEEFP_H
37469 #include <ieeefp.h>
37470 #endif
37473 main ()
37475 isinff(0);
37477 return 0;
37479 _ACEOF
37480 if ac_fn_cxx_try_compile "$LINENO"; then :
37481 glibcxx_cv_func_isinff_use=yes
37482 else
37483 glibcxx_cv_func_isinff_use=no
37485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37486 ac_ext=c
37487 ac_cpp='$CPP $CPPFLAGS'
37488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
37497 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
37499 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
37500 for ac_func in isinff
37501 do :
37502 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
37503 if test "x$ac_cv_func_isinff" = xyes; then :
37504 cat >>confdefs.h <<_ACEOF
37505 #define HAVE_ISINFF 1
37506 _ACEOF
37509 done
37511 else
37513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
37514 $as_echo_n "checking for _isinff declaration... " >&6; }
37515 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
37516 if ${glibcxx_cv_func__isinff_use+:} false; then :
37517 $as_echo_n "(cached) " >&6
37518 else
37521 ac_ext=cpp
37522 ac_cpp='$CXXCPP $CPPFLAGS'
37523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37528 /* end confdefs.h. */
37529 #include <math.h>
37530 #ifdef HAVE_IEEEFP_H
37531 #include <ieeefp.h>
37532 #endif
37535 main ()
37537 _isinff(0);
37539 return 0;
37541 _ACEOF
37542 if ac_fn_cxx_try_compile "$LINENO"; then :
37543 glibcxx_cv_func__isinff_use=yes
37544 else
37545 glibcxx_cv_func__isinff_use=no
37547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37548 ac_ext=c
37549 ac_cpp='$CPP $CPPFLAGS'
37550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
37559 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
37561 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
37562 for ac_func in _isinff
37563 do :
37564 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
37565 if test "x$ac_cv_func__isinff" = xyes; then :
37566 cat >>confdefs.h <<_ACEOF
37567 #define HAVE__ISINFF 1
37568 _ACEOF
37571 done
37580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
37581 $as_echo_n "checking for atan2f declaration... " >&6; }
37582 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
37583 if ${glibcxx_cv_func_atan2f_use+:} false; then :
37584 $as_echo_n "(cached) " >&6
37585 else
37588 ac_ext=cpp
37589 ac_cpp='$CXXCPP $CPPFLAGS'
37590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37595 /* end confdefs.h. */
37596 #include <math.h>
37598 main ()
37600 atan2f(0, 0);
37602 return 0;
37604 _ACEOF
37605 if ac_fn_cxx_try_compile "$LINENO"; then :
37606 glibcxx_cv_func_atan2f_use=yes
37607 else
37608 glibcxx_cv_func_atan2f_use=no
37610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37611 ac_ext=c
37612 ac_cpp='$CPP $CPPFLAGS'
37613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
37622 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
37624 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
37625 for ac_func in atan2f
37626 do :
37627 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
37628 if test "x$ac_cv_func_atan2f" = xyes; then :
37629 cat >>confdefs.h <<_ACEOF
37630 #define HAVE_ATAN2F 1
37631 _ACEOF
37634 done
37636 else
37638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
37639 $as_echo_n "checking for _atan2f declaration... " >&6; }
37640 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
37641 if ${glibcxx_cv_func__atan2f_use+:} false; then :
37642 $as_echo_n "(cached) " >&6
37643 else
37646 ac_ext=cpp
37647 ac_cpp='$CXXCPP $CPPFLAGS'
37648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37653 /* end confdefs.h. */
37654 #include <math.h>
37656 main ()
37658 _atan2f(0, 0);
37660 return 0;
37662 _ACEOF
37663 if ac_fn_cxx_try_compile "$LINENO"; then :
37664 glibcxx_cv_func__atan2f_use=yes
37665 else
37666 glibcxx_cv_func__atan2f_use=no
37668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37669 ac_ext=c
37670 ac_cpp='$CPP $CPPFLAGS'
37671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
37680 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
37682 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
37683 for ac_func in _atan2f
37684 do :
37685 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
37686 if test "x$ac_cv_func__atan2f" = xyes; then :
37687 cat >>confdefs.h <<_ACEOF
37688 #define HAVE__ATAN2F 1
37689 _ACEOF
37692 done
37701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
37702 $as_echo_n "checking for fabsf declaration... " >&6; }
37703 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
37704 if ${glibcxx_cv_func_fabsf_use+:} false; then :
37705 $as_echo_n "(cached) " >&6
37706 else
37709 ac_ext=cpp
37710 ac_cpp='$CXXCPP $CPPFLAGS'
37711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37716 /* end confdefs.h. */
37717 #include <math.h>
37718 #ifdef HAVE_IEEEFP_H
37719 #include <ieeefp.h>
37720 #endif
37723 main ()
37725 fabsf(0);
37727 return 0;
37729 _ACEOF
37730 if ac_fn_cxx_try_compile "$LINENO"; then :
37731 glibcxx_cv_func_fabsf_use=yes
37732 else
37733 glibcxx_cv_func_fabsf_use=no
37735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37736 ac_ext=c
37737 ac_cpp='$CPP $CPPFLAGS'
37738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
37747 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
37749 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
37750 for ac_func in fabsf
37751 do :
37752 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
37753 if test "x$ac_cv_func_fabsf" = xyes; then :
37754 cat >>confdefs.h <<_ACEOF
37755 #define HAVE_FABSF 1
37756 _ACEOF
37759 done
37761 else
37763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
37764 $as_echo_n "checking for _fabsf declaration... " >&6; }
37765 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
37766 if ${glibcxx_cv_func__fabsf_use+:} false; then :
37767 $as_echo_n "(cached) " >&6
37768 else
37771 ac_ext=cpp
37772 ac_cpp='$CXXCPP $CPPFLAGS'
37773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37778 /* end confdefs.h. */
37779 #include <math.h>
37780 #ifdef HAVE_IEEEFP_H
37781 #include <ieeefp.h>
37782 #endif
37785 main ()
37787 _fabsf(0);
37789 return 0;
37791 _ACEOF
37792 if ac_fn_cxx_try_compile "$LINENO"; then :
37793 glibcxx_cv_func__fabsf_use=yes
37794 else
37795 glibcxx_cv_func__fabsf_use=no
37797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37798 ac_ext=c
37799 ac_cpp='$CPP $CPPFLAGS'
37800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37809 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37811 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37812 for ac_func in _fabsf
37813 do :
37814 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37815 if test "x$ac_cv_func__fabsf" = xyes; then :
37816 cat >>confdefs.h <<_ACEOF
37817 #define HAVE__FABSF 1
37818 _ACEOF
37821 done
37830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37831 $as_echo_n "checking for fmodf declaration... " >&6; }
37832 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37833 if ${glibcxx_cv_func_fmodf_use+:} false; then :
37834 $as_echo_n "(cached) " >&6
37835 else
37838 ac_ext=cpp
37839 ac_cpp='$CXXCPP $CPPFLAGS'
37840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37845 /* end confdefs.h. */
37846 #include <math.h>
37848 main ()
37850 fmodf(0, 0);
37852 return 0;
37854 _ACEOF
37855 if ac_fn_cxx_try_compile "$LINENO"; then :
37856 glibcxx_cv_func_fmodf_use=yes
37857 else
37858 glibcxx_cv_func_fmodf_use=no
37860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37861 ac_ext=c
37862 ac_cpp='$CPP $CPPFLAGS'
37863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37872 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37874 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37875 for ac_func in fmodf
37876 do :
37877 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37878 if test "x$ac_cv_func_fmodf" = xyes; then :
37879 cat >>confdefs.h <<_ACEOF
37880 #define HAVE_FMODF 1
37881 _ACEOF
37884 done
37886 else
37888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37889 $as_echo_n "checking for _fmodf declaration... " >&6; }
37890 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37891 if ${glibcxx_cv_func__fmodf_use+:} false; then :
37892 $as_echo_n "(cached) " >&6
37893 else
37896 ac_ext=cpp
37897 ac_cpp='$CXXCPP $CPPFLAGS'
37898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37903 /* end confdefs.h. */
37904 #include <math.h>
37906 main ()
37908 _fmodf(0, 0);
37910 return 0;
37912 _ACEOF
37913 if ac_fn_cxx_try_compile "$LINENO"; then :
37914 glibcxx_cv_func__fmodf_use=yes
37915 else
37916 glibcxx_cv_func__fmodf_use=no
37918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37919 ac_ext=c
37920 ac_cpp='$CPP $CPPFLAGS'
37921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37930 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37932 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37933 for ac_func in _fmodf
37934 do :
37935 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37936 if test "x$ac_cv_func__fmodf" = xyes; then :
37937 cat >>confdefs.h <<_ACEOF
37938 #define HAVE__FMODF 1
37939 _ACEOF
37942 done
37951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37952 $as_echo_n "checking for frexpf declaration... " >&6; }
37953 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37954 if ${glibcxx_cv_func_frexpf_use+:} false; then :
37955 $as_echo_n "(cached) " >&6
37956 else
37959 ac_ext=cpp
37960 ac_cpp='$CXXCPP $CPPFLAGS'
37961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37966 /* end confdefs.h. */
37967 #include <math.h>
37969 main ()
37971 frexpf(0, 0);
37973 return 0;
37975 _ACEOF
37976 if ac_fn_cxx_try_compile "$LINENO"; then :
37977 glibcxx_cv_func_frexpf_use=yes
37978 else
37979 glibcxx_cv_func_frexpf_use=no
37981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37982 ac_ext=c
37983 ac_cpp='$CPP $CPPFLAGS'
37984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37993 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37995 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37996 for ac_func in frexpf
37997 do :
37998 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37999 if test "x$ac_cv_func_frexpf" = xyes; then :
38000 cat >>confdefs.h <<_ACEOF
38001 #define HAVE_FREXPF 1
38002 _ACEOF
38005 done
38007 else
38009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
38010 $as_echo_n "checking for _frexpf declaration... " >&6; }
38011 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
38012 if ${glibcxx_cv_func__frexpf_use+:} false; then :
38013 $as_echo_n "(cached) " >&6
38014 else
38017 ac_ext=cpp
38018 ac_cpp='$CXXCPP $CPPFLAGS'
38019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38024 /* end confdefs.h. */
38025 #include <math.h>
38027 main ()
38029 _frexpf(0, 0);
38031 return 0;
38033 _ACEOF
38034 if ac_fn_cxx_try_compile "$LINENO"; then :
38035 glibcxx_cv_func__frexpf_use=yes
38036 else
38037 glibcxx_cv_func__frexpf_use=no
38039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38040 ac_ext=c
38041 ac_cpp='$CPP $CPPFLAGS'
38042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
38051 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
38053 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
38054 for ac_func in _frexpf
38055 do :
38056 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
38057 if test "x$ac_cv_func__frexpf" = xyes; then :
38058 cat >>confdefs.h <<_ACEOF
38059 #define HAVE__FREXPF 1
38060 _ACEOF
38063 done
38072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
38073 $as_echo_n "checking for hypotf declaration... " >&6; }
38074 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
38075 if ${glibcxx_cv_func_hypotf_use+:} false; then :
38076 $as_echo_n "(cached) " >&6
38077 else
38080 ac_ext=cpp
38081 ac_cpp='$CXXCPP $CPPFLAGS'
38082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38087 /* end confdefs.h. */
38088 #include <math.h>
38090 main ()
38092 hypotf(0, 0);
38094 return 0;
38096 _ACEOF
38097 if ac_fn_cxx_try_compile "$LINENO"; then :
38098 glibcxx_cv_func_hypotf_use=yes
38099 else
38100 glibcxx_cv_func_hypotf_use=no
38102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38103 ac_ext=c
38104 ac_cpp='$CPP $CPPFLAGS'
38105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
38114 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
38116 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
38117 for ac_func in hypotf
38118 do :
38119 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
38120 if test "x$ac_cv_func_hypotf" = xyes; then :
38121 cat >>confdefs.h <<_ACEOF
38122 #define HAVE_HYPOTF 1
38123 _ACEOF
38126 done
38128 else
38130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
38131 $as_echo_n "checking for _hypotf declaration... " >&6; }
38132 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
38133 if ${glibcxx_cv_func__hypotf_use+:} false; then :
38134 $as_echo_n "(cached) " >&6
38135 else
38138 ac_ext=cpp
38139 ac_cpp='$CXXCPP $CPPFLAGS'
38140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38145 /* end confdefs.h. */
38146 #include <math.h>
38148 main ()
38150 _hypotf(0, 0);
38152 return 0;
38154 _ACEOF
38155 if ac_fn_cxx_try_compile "$LINENO"; then :
38156 glibcxx_cv_func__hypotf_use=yes
38157 else
38158 glibcxx_cv_func__hypotf_use=no
38160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38161 ac_ext=c
38162 ac_cpp='$CPP $CPPFLAGS'
38163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
38172 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
38174 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
38175 for ac_func in _hypotf
38176 do :
38177 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
38178 if test "x$ac_cv_func__hypotf" = xyes; then :
38179 cat >>confdefs.h <<_ACEOF
38180 #define HAVE__HYPOTF 1
38181 _ACEOF
38184 done
38193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
38194 $as_echo_n "checking for ldexpf declaration... " >&6; }
38195 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
38196 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
38197 $as_echo_n "(cached) " >&6
38198 else
38201 ac_ext=cpp
38202 ac_cpp='$CXXCPP $CPPFLAGS'
38203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38208 /* end confdefs.h. */
38209 #include <math.h>
38211 main ()
38213 ldexpf(0, 0);
38215 return 0;
38217 _ACEOF
38218 if ac_fn_cxx_try_compile "$LINENO"; then :
38219 glibcxx_cv_func_ldexpf_use=yes
38220 else
38221 glibcxx_cv_func_ldexpf_use=no
38223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38224 ac_ext=c
38225 ac_cpp='$CPP $CPPFLAGS'
38226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
38235 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
38237 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
38238 for ac_func in ldexpf
38239 do :
38240 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
38241 if test "x$ac_cv_func_ldexpf" = xyes; then :
38242 cat >>confdefs.h <<_ACEOF
38243 #define HAVE_LDEXPF 1
38244 _ACEOF
38247 done
38249 else
38251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
38252 $as_echo_n "checking for _ldexpf declaration... " >&6; }
38253 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
38254 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
38255 $as_echo_n "(cached) " >&6
38256 else
38259 ac_ext=cpp
38260 ac_cpp='$CXXCPP $CPPFLAGS'
38261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38266 /* end confdefs.h. */
38267 #include <math.h>
38269 main ()
38271 _ldexpf(0, 0);
38273 return 0;
38275 _ACEOF
38276 if ac_fn_cxx_try_compile "$LINENO"; then :
38277 glibcxx_cv_func__ldexpf_use=yes
38278 else
38279 glibcxx_cv_func__ldexpf_use=no
38281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38282 ac_ext=c
38283 ac_cpp='$CPP $CPPFLAGS'
38284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
38293 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
38295 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
38296 for ac_func in _ldexpf
38297 do :
38298 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
38299 if test "x$ac_cv_func__ldexpf" = xyes; then :
38300 cat >>confdefs.h <<_ACEOF
38301 #define HAVE__LDEXPF 1
38302 _ACEOF
38305 done
38314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
38315 $as_echo_n "checking for logf declaration... " >&6; }
38316 if test x${glibcxx_cv_func_logf_use+set} != xset; then
38317 if ${glibcxx_cv_func_logf_use+:} false; then :
38318 $as_echo_n "(cached) " >&6
38319 else
38322 ac_ext=cpp
38323 ac_cpp='$CXXCPP $CPPFLAGS'
38324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38329 /* end confdefs.h. */
38330 #include <math.h>
38331 #ifdef HAVE_IEEEFP_H
38332 #include <ieeefp.h>
38333 #endif
38336 main ()
38338 logf(0);
38340 return 0;
38342 _ACEOF
38343 if ac_fn_cxx_try_compile "$LINENO"; then :
38344 glibcxx_cv_func_logf_use=yes
38345 else
38346 glibcxx_cv_func_logf_use=no
38348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38349 ac_ext=c
38350 ac_cpp='$CPP $CPPFLAGS'
38351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
38360 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
38362 if test x$glibcxx_cv_func_logf_use = x"yes"; then
38363 for ac_func in logf
38364 do :
38365 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
38366 if test "x$ac_cv_func_logf" = xyes; then :
38367 cat >>confdefs.h <<_ACEOF
38368 #define HAVE_LOGF 1
38369 _ACEOF
38372 done
38374 else
38376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
38377 $as_echo_n "checking for _logf declaration... " >&6; }
38378 if test x${glibcxx_cv_func__logf_use+set} != xset; then
38379 if ${glibcxx_cv_func__logf_use+:} false; then :
38380 $as_echo_n "(cached) " >&6
38381 else
38384 ac_ext=cpp
38385 ac_cpp='$CXXCPP $CPPFLAGS'
38386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38391 /* end confdefs.h. */
38392 #include <math.h>
38393 #ifdef HAVE_IEEEFP_H
38394 #include <ieeefp.h>
38395 #endif
38398 main ()
38400 _logf(0);
38402 return 0;
38404 _ACEOF
38405 if ac_fn_cxx_try_compile "$LINENO"; then :
38406 glibcxx_cv_func__logf_use=yes
38407 else
38408 glibcxx_cv_func__logf_use=no
38410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38411 ac_ext=c
38412 ac_cpp='$CPP $CPPFLAGS'
38413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
38422 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
38424 if test x$glibcxx_cv_func__logf_use = x"yes"; then
38425 for ac_func in _logf
38426 do :
38427 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
38428 if test "x$ac_cv_func__logf" = xyes; then :
38429 cat >>confdefs.h <<_ACEOF
38430 #define HAVE__LOGF 1
38431 _ACEOF
38434 done
38443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
38444 $as_echo_n "checking for log10f declaration... " >&6; }
38445 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
38446 if ${glibcxx_cv_func_log10f_use+:} false; then :
38447 $as_echo_n "(cached) " >&6
38448 else
38451 ac_ext=cpp
38452 ac_cpp='$CXXCPP $CPPFLAGS'
38453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38458 /* end confdefs.h. */
38459 #include <math.h>
38460 #ifdef HAVE_IEEEFP_H
38461 #include <ieeefp.h>
38462 #endif
38465 main ()
38467 log10f(0);
38469 return 0;
38471 _ACEOF
38472 if ac_fn_cxx_try_compile "$LINENO"; then :
38473 glibcxx_cv_func_log10f_use=yes
38474 else
38475 glibcxx_cv_func_log10f_use=no
38477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38478 ac_ext=c
38479 ac_cpp='$CPP $CPPFLAGS'
38480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
38489 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
38491 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
38492 for ac_func in log10f
38493 do :
38494 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
38495 if test "x$ac_cv_func_log10f" = xyes; then :
38496 cat >>confdefs.h <<_ACEOF
38497 #define HAVE_LOG10F 1
38498 _ACEOF
38501 done
38503 else
38505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
38506 $as_echo_n "checking for _log10f declaration... " >&6; }
38507 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
38508 if ${glibcxx_cv_func__log10f_use+:} false; then :
38509 $as_echo_n "(cached) " >&6
38510 else
38513 ac_ext=cpp
38514 ac_cpp='$CXXCPP $CPPFLAGS'
38515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38520 /* end confdefs.h. */
38521 #include <math.h>
38522 #ifdef HAVE_IEEEFP_H
38523 #include <ieeefp.h>
38524 #endif
38527 main ()
38529 _log10f(0);
38531 return 0;
38533 _ACEOF
38534 if ac_fn_cxx_try_compile "$LINENO"; then :
38535 glibcxx_cv_func__log10f_use=yes
38536 else
38537 glibcxx_cv_func__log10f_use=no
38539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38540 ac_ext=c
38541 ac_cpp='$CPP $CPPFLAGS'
38542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
38551 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
38553 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
38554 for ac_func in _log10f
38555 do :
38556 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
38557 if test "x$ac_cv_func__log10f" = xyes; then :
38558 cat >>confdefs.h <<_ACEOF
38559 #define HAVE__LOG10F 1
38560 _ACEOF
38563 done
38572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
38573 $as_echo_n "checking for modff declaration... " >&6; }
38574 if test x${glibcxx_cv_func_modff_use+set} != xset; then
38575 if ${glibcxx_cv_func_modff_use+:} false; then :
38576 $as_echo_n "(cached) " >&6
38577 else
38580 ac_ext=cpp
38581 ac_cpp='$CXXCPP $CPPFLAGS'
38582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38587 /* end confdefs.h. */
38588 #include <math.h>
38590 main ()
38592 modff(0, 0);
38594 return 0;
38596 _ACEOF
38597 if ac_fn_cxx_try_compile "$LINENO"; then :
38598 glibcxx_cv_func_modff_use=yes
38599 else
38600 glibcxx_cv_func_modff_use=no
38602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38603 ac_ext=c
38604 ac_cpp='$CPP $CPPFLAGS'
38605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
38614 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
38616 if test x$glibcxx_cv_func_modff_use = x"yes"; then
38617 for ac_func in modff
38618 do :
38619 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
38620 if test "x$ac_cv_func_modff" = xyes; then :
38621 cat >>confdefs.h <<_ACEOF
38622 #define HAVE_MODFF 1
38623 _ACEOF
38626 done
38628 else
38630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
38631 $as_echo_n "checking for _modff declaration... " >&6; }
38632 if test x${glibcxx_cv_func__modff_use+set} != xset; then
38633 if ${glibcxx_cv_func__modff_use+:} false; then :
38634 $as_echo_n "(cached) " >&6
38635 else
38638 ac_ext=cpp
38639 ac_cpp='$CXXCPP $CPPFLAGS'
38640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38645 /* end confdefs.h. */
38646 #include <math.h>
38648 main ()
38650 _modff(0, 0);
38652 return 0;
38654 _ACEOF
38655 if ac_fn_cxx_try_compile "$LINENO"; then :
38656 glibcxx_cv_func__modff_use=yes
38657 else
38658 glibcxx_cv_func__modff_use=no
38660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38661 ac_ext=c
38662 ac_cpp='$CPP $CPPFLAGS'
38663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
38672 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
38674 if test x$glibcxx_cv_func__modff_use = x"yes"; then
38675 for ac_func in _modff
38676 do :
38677 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
38678 if test "x$ac_cv_func__modff" = xyes; then :
38679 cat >>confdefs.h <<_ACEOF
38680 #define HAVE__MODFF 1
38681 _ACEOF
38684 done
38693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
38694 $as_echo_n "checking for modf declaration... " >&6; }
38695 if test x${glibcxx_cv_func_modf_use+set} != xset; then
38696 if ${glibcxx_cv_func_modf_use+:} false; then :
38697 $as_echo_n "(cached) " >&6
38698 else
38701 ac_ext=cpp
38702 ac_cpp='$CXXCPP $CPPFLAGS'
38703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38708 /* end confdefs.h. */
38709 #include <math.h>
38711 main ()
38713 modf(0, 0);
38715 return 0;
38717 _ACEOF
38718 if ac_fn_cxx_try_compile "$LINENO"; then :
38719 glibcxx_cv_func_modf_use=yes
38720 else
38721 glibcxx_cv_func_modf_use=no
38723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38724 ac_ext=c
38725 ac_cpp='$CPP $CPPFLAGS'
38726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
38735 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
38737 if test x$glibcxx_cv_func_modf_use = x"yes"; then
38738 for ac_func in modf
38739 do :
38740 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
38741 if test "x$ac_cv_func_modf" = xyes; then :
38742 cat >>confdefs.h <<_ACEOF
38743 #define HAVE_MODF 1
38744 _ACEOF
38747 done
38749 else
38751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
38752 $as_echo_n "checking for _modf declaration... " >&6; }
38753 if test x${glibcxx_cv_func__modf_use+set} != xset; then
38754 if ${glibcxx_cv_func__modf_use+:} false; then :
38755 $as_echo_n "(cached) " >&6
38756 else
38759 ac_ext=cpp
38760 ac_cpp='$CXXCPP $CPPFLAGS'
38761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38766 /* end confdefs.h. */
38767 #include <math.h>
38769 main ()
38771 _modf(0, 0);
38773 return 0;
38775 _ACEOF
38776 if ac_fn_cxx_try_compile "$LINENO"; then :
38777 glibcxx_cv_func__modf_use=yes
38778 else
38779 glibcxx_cv_func__modf_use=no
38781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38782 ac_ext=c
38783 ac_cpp='$CPP $CPPFLAGS'
38784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
38793 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
38795 if test x$glibcxx_cv_func__modf_use = x"yes"; then
38796 for ac_func in _modf
38797 do :
38798 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
38799 if test "x$ac_cv_func__modf" = xyes; then :
38800 cat >>confdefs.h <<_ACEOF
38801 #define HAVE__MODF 1
38802 _ACEOF
38805 done
38814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38815 $as_echo_n "checking for powf declaration... " >&6; }
38816 if test x${glibcxx_cv_func_powf_use+set} != xset; then
38817 if ${glibcxx_cv_func_powf_use+:} false; then :
38818 $as_echo_n "(cached) " >&6
38819 else
38822 ac_ext=cpp
38823 ac_cpp='$CXXCPP $CPPFLAGS'
38824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38829 /* end confdefs.h. */
38830 #include <math.h>
38832 main ()
38834 powf(0, 0);
38836 return 0;
38838 _ACEOF
38839 if ac_fn_cxx_try_compile "$LINENO"; then :
38840 glibcxx_cv_func_powf_use=yes
38841 else
38842 glibcxx_cv_func_powf_use=no
38844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38845 ac_ext=c
38846 ac_cpp='$CPP $CPPFLAGS'
38847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38856 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
38858 if test x$glibcxx_cv_func_powf_use = x"yes"; then
38859 for ac_func in powf
38860 do :
38861 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38862 if test "x$ac_cv_func_powf" = xyes; then :
38863 cat >>confdefs.h <<_ACEOF
38864 #define HAVE_POWF 1
38865 _ACEOF
38868 done
38870 else
38872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38873 $as_echo_n "checking for _powf declaration... " >&6; }
38874 if test x${glibcxx_cv_func__powf_use+set} != xset; then
38875 if ${glibcxx_cv_func__powf_use+:} false; then :
38876 $as_echo_n "(cached) " >&6
38877 else
38880 ac_ext=cpp
38881 ac_cpp='$CXXCPP $CPPFLAGS'
38882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38887 /* end confdefs.h. */
38888 #include <math.h>
38890 main ()
38892 _powf(0, 0);
38894 return 0;
38896 _ACEOF
38897 if ac_fn_cxx_try_compile "$LINENO"; then :
38898 glibcxx_cv_func__powf_use=yes
38899 else
38900 glibcxx_cv_func__powf_use=no
38902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38903 ac_ext=c
38904 ac_cpp='$CPP $CPPFLAGS'
38905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38914 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
38916 if test x$glibcxx_cv_func__powf_use = x"yes"; then
38917 for ac_func in _powf
38918 do :
38919 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38920 if test "x$ac_cv_func__powf" = xyes; then :
38921 cat >>confdefs.h <<_ACEOF
38922 #define HAVE__POWF 1
38923 _ACEOF
38926 done
38935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38936 $as_echo_n "checking for sqrtf declaration... " >&6; }
38937 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38938 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
38939 $as_echo_n "(cached) " >&6
38940 else
38943 ac_ext=cpp
38944 ac_cpp='$CXXCPP $CPPFLAGS'
38945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38950 /* end confdefs.h. */
38951 #include <math.h>
38952 #ifdef HAVE_IEEEFP_H
38953 #include <ieeefp.h>
38954 #endif
38957 main ()
38959 sqrtf(0);
38961 return 0;
38963 _ACEOF
38964 if ac_fn_cxx_try_compile "$LINENO"; then :
38965 glibcxx_cv_func_sqrtf_use=yes
38966 else
38967 glibcxx_cv_func_sqrtf_use=no
38969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38970 ac_ext=c
38971 ac_cpp='$CPP $CPPFLAGS'
38972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38981 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38983 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38984 for ac_func in sqrtf
38985 do :
38986 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38987 if test "x$ac_cv_func_sqrtf" = xyes; then :
38988 cat >>confdefs.h <<_ACEOF
38989 #define HAVE_SQRTF 1
38990 _ACEOF
38993 done
38995 else
38997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38998 $as_echo_n "checking for _sqrtf declaration... " >&6; }
38999 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
39000 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
39001 $as_echo_n "(cached) " >&6
39002 else
39005 ac_ext=cpp
39006 ac_cpp='$CXXCPP $CPPFLAGS'
39007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39012 /* end confdefs.h. */
39013 #include <math.h>
39014 #ifdef HAVE_IEEEFP_H
39015 #include <ieeefp.h>
39016 #endif
39019 main ()
39021 _sqrtf(0);
39023 return 0;
39025 _ACEOF
39026 if ac_fn_cxx_try_compile "$LINENO"; then :
39027 glibcxx_cv_func__sqrtf_use=yes
39028 else
39029 glibcxx_cv_func__sqrtf_use=no
39031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39032 ac_ext=c
39033 ac_cpp='$CPP $CPPFLAGS'
39034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
39043 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
39045 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
39046 for ac_func in _sqrtf
39047 do :
39048 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
39049 if test "x$ac_cv_func__sqrtf" = xyes; then :
39050 cat >>confdefs.h <<_ACEOF
39051 #define HAVE__SQRTF 1
39052 _ACEOF
39055 done
39064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
39065 $as_echo_n "checking for sincosf declaration... " >&6; }
39066 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
39067 if ${glibcxx_cv_func_sincosf_use+:} false; then :
39068 $as_echo_n "(cached) " >&6
39069 else
39072 ac_ext=cpp
39073 ac_cpp='$CXXCPP $CPPFLAGS'
39074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39079 /* end confdefs.h. */
39080 #include <math.h>
39082 main ()
39084 sincosf(0, 0, 0);
39086 return 0;
39088 _ACEOF
39089 if ac_fn_cxx_try_compile "$LINENO"; then :
39090 glibcxx_cv_func_sincosf_use=yes
39091 else
39092 glibcxx_cv_func_sincosf_use=no
39094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39095 ac_ext=c
39096 ac_cpp='$CPP $CPPFLAGS'
39097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
39106 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
39108 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
39109 for ac_func in sincosf
39110 do :
39111 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
39112 if test "x$ac_cv_func_sincosf" = xyes; then :
39113 cat >>confdefs.h <<_ACEOF
39114 #define HAVE_SINCOSF 1
39115 _ACEOF
39118 done
39120 else
39122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
39123 $as_echo_n "checking for _sincosf declaration... " >&6; }
39124 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
39125 if ${glibcxx_cv_func__sincosf_use+:} false; then :
39126 $as_echo_n "(cached) " >&6
39127 else
39130 ac_ext=cpp
39131 ac_cpp='$CXXCPP $CPPFLAGS'
39132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39137 /* end confdefs.h. */
39138 #include <math.h>
39140 main ()
39142 _sincosf(0, 0, 0);
39144 return 0;
39146 _ACEOF
39147 if ac_fn_cxx_try_compile "$LINENO"; then :
39148 glibcxx_cv_func__sincosf_use=yes
39149 else
39150 glibcxx_cv_func__sincosf_use=no
39152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39153 ac_ext=c
39154 ac_cpp='$CPP $CPPFLAGS'
39155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
39164 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
39166 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
39167 for ac_func in _sincosf
39168 do :
39169 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
39170 if test "x$ac_cv_func__sincosf" = xyes; then :
39171 cat >>confdefs.h <<_ACEOF
39172 #define HAVE__SINCOSF 1
39173 _ACEOF
39176 done
39185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
39186 $as_echo_n "checking for finitef declaration... " >&6; }
39187 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
39188 if ${glibcxx_cv_func_finitef_use+:} false; then :
39189 $as_echo_n "(cached) " >&6
39190 else
39193 ac_ext=cpp
39194 ac_cpp='$CXXCPP $CPPFLAGS'
39195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39200 /* end confdefs.h. */
39201 #include <math.h>
39202 #ifdef HAVE_IEEEFP_H
39203 #include <ieeefp.h>
39204 #endif
39207 main ()
39209 finitef(0);
39211 return 0;
39213 _ACEOF
39214 if ac_fn_cxx_try_compile "$LINENO"; then :
39215 glibcxx_cv_func_finitef_use=yes
39216 else
39217 glibcxx_cv_func_finitef_use=no
39219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39220 ac_ext=c
39221 ac_cpp='$CPP $CPPFLAGS'
39222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
39231 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
39233 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
39234 for ac_func in finitef
39235 do :
39236 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
39237 if test "x$ac_cv_func_finitef" = xyes; then :
39238 cat >>confdefs.h <<_ACEOF
39239 #define HAVE_FINITEF 1
39240 _ACEOF
39243 done
39245 else
39247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
39248 $as_echo_n "checking for _finitef declaration... " >&6; }
39249 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
39250 if ${glibcxx_cv_func__finitef_use+:} false; then :
39251 $as_echo_n "(cached) " >&6
39252 else
39255 ac_ext=cpp
39256 ac_cpp='$CXXCPP $CPPFLAGS'
39257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39262 /* end confdefs.h. */
39263 #include <math.h>
39264 #ifdef HAVE_IEEEFP_H
39265 #include <ieeefp.h>
39266 #endif
39269 main ()
39271 _finitef(0);
39273 return 0;
39275 _ACEOF
39276 if ac_fn_cxx_try_compile "$LINENO"; then :
39277 glibcxx_cv_func__finitef_use=yes
39278 else
39279 glibcxx_cv_func__finitef_use=no
39281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39282 ac_ext=c
39283 ac_cpp='$CPP $CPPFLAGS'
39284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
39293 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
39295 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
39296 for ac_func in _finitef
39297 do :
39298 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
39299 if test "x$ac_cv_func__finitef" = xyes; then :
39300 cat >>confdefs.h <<_ACEOF
39301 #define HAVE__FINITEF 1
39302 _ACEOF
39305 done
39314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
39315 $as_echo_n "checking for long double trig functions... " >&6; }
39316 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
39317 $as_echo_n "(cached) " >&6
39318 else
39321 ac_ext=cpp
39322 ac_cpp='$CXXCPP $CPPFLAGS'
39323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39328 /* end confdefs.h. */
39329 #include <math.h>
39331 main ()
39333 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
39335 return 0;
39337 _ACEOF
39338 if ac_fn_cxx_try_compile "$LINENO"; then :
39339 glibcxx_cv_func_long_double_trig_use=yes
39340 else
39341 glibcxx_cv_func_long_double_trig_use=no
39343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39344 ac_ext=c
39345 ac_cpp='$CPP $CPPFLAGS'
39346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
39353 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
39354 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
39355 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
39356 do :
39357 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39358 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39359 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
39360 cat >>confdefs.h <<_ACEOF
39361 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39362 _ACEOF
39365 done
39367 else
39368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
39369 $as_echo_n "checking for _long double trig functions... " >&6; }
39370 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
39371 $as_echo_n "(cached) " >&6
39372 else
39375 ac_ext=cpp
39376 ac_cpp='$CXXCPP $CPPFLAGS'
39377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39382 /* end confdefs.h. */
39383 #include <math.h>
39385 main ()
39387 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
39389 return 0;
39391 _ACEOF
39392 if ac_fn_cxx_try_compile "$LINENO"; then :
39393 glibcxx_cv_func__long_double_trig_use=yes
39394 else
39395 glibcxx_cv_func__long_double_trig_use=no
39397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39398 ac_ext=c
39399 ac_cpp='$CPP $CPPFLAGS'
39400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
39407 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
39408 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
39409 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
39410 do :
39411 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39412 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39413 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
39414 cat >>confdefs.h <<_ACEOF
39415 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39416 _ACEOF
39419 done
39428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
39429 $as_echo_n "checking for long double round functions... " >&6; }
39430 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
39431 $as_echo_n "(cached) " >&6
39432 else
39435 ac_ext=cpp
39436 ac_cpp='$CXXCPP $CPPFLAGS'
39437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39442 /* end confdefs.h. */
39443 #include <math.h>
39445 main ()
39447 ceill (0); floorl (0);
39449 return 0;
39451 _ACEOF
39452 if ac_fn_cxx_try_compile "$LINENO"; then :
39453 glibcxx_cv_func_long_double_round_use=yes
39454 else
39455 glibcxx_cv_func_long_double_round_use=no
39457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39458 ac_ext=c
39459 ac_cpp='$CPP $CPPFLAGS'
39460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
39467 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
39468 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
39469 for ac_func in ceill floorl
39470 do :
39471 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39472 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39473 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
39474 cat >>confdefs.h <<_ACEOF
39475 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39476 _ACEOF
39479 done
39481 else
39482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
39483 $as_echo_n "checking for _long double round functions... " >&6; }
39484 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
39485 $as_echo_n "(cached) " >&6
39486 else
39489 ac_ext=cpp
39490 ac_cpp='$CXXCPP $CPPFLAGS'
39491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39496 /* end confdefs.h. */
39497 #include <math.h>
39499 main ()
39501 _ceill (0); _floorl (0);
39503 return 0;
39505 _ACEOF
39506 if ac_fn_cxx_try_compile "$LINENO"; then :
39507 glibcxx_cv_func__long_double_round_use=yes
39508 else
39509 glibcxx_cv_func__long_double_round_use=no
39511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39512 ac_ext=c
39513 ac_cpp='$CPP $CPPFLAGS'
39514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
39521 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
39522 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
39523 for ac_func in _ceill _floorl
39524 do :
39525 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39526 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39527 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
39528 cat >>confdefs.h <<_ACEOF
39529 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39530 _ACEOF
39533 done
39543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
39544 $as_echo_n "checking for isnanl declaration... " >&6; }
39545 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
39546 if ${glibcxx_cv_func_isnanl_use+:} false; then :
39547 $as_echo_n "(cached) " >&6
39548 else
39551 ac_ext=cpp
39552 ac_cpp='$CXXCPP $CPPFLAGS'
39553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39558 /* end confdefs.h. */
39559 #include <math.h>
39560 #ifdef HAVE_IEEEFP_H
39561 #include <ieeefp.h>
39562 #endif
39565 main ()
39567 isnanl(0);
39569 return 0;
39571 _ACEOF
39572 if ac_fn_cxx_try_compile "$LINENO"; then :
39573 glibcxx_cv_func_isnanl_use=yes
39574 else
39575 glibcxx_cv_func_isnanl_use=no
39577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39578 ac_ext=c
39579 ac_cpp='$CPP $CPPFLAGS'
39580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
39589 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
39591 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
39592 for ac_func in isnanl
39593 do :
39594 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
39595 if test "x$ac_cv_func_isnanl" = xyes; then :
39596 cat >>confdefs.h <<_ACEOF
39597 #define HAVE_ISNANL 1
39598 _ACEOF
39601 done
39603 else
39605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
39606 $as_echo_n "checking for _isnanl declaration... " >&6; }
39607 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
39608 if ${glibcxx_cv_func__isnanl_use+:} false; then :
39609 $as_echo_n "(cached) " >&6
39610 else
39613 ac_ext=cpp
39614 ac_cpp='$CXXCPP $CPPFLAGS'
39615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39620 /* end confdefs.h. */
39621 #include <math.h>
39622 #ifdef HAVE_IEEEFP_H
39623 #include <ieeefp.h>
39624 #endif
39627 main ()
39629 _isnanl(0);
39631 return 0;
39633 _ACEOF
39634 if ac_fn_cxx_try_compile "$LINENO"; then :
39635 glibcxx_cv_func__isnanl_use=yes
39636 else
39637 glibcxx_cv_func__isnanl_use=no
39639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39640 ac_ext=c
39641 ac_cpp='$CPP $CPPFLAGS'
39642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
39651 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
39653 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
39654 for ac_func in _isnanl
39655 do :
39656 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
39657 if test "x$ac_cv_func__isnanl" = xyes; then :
39658 cat >>confdefs.h <<_ACEOF
39659 #define HAVE__ISNANL 1
39660 _ACEOF
39663 done
39672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
39673 $as_echo_n "checking for isinfl declaration... " >&6; }
39674 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
39675 if ${glibcxx_cv_func_isinfl_use+:} false; then :
39676 $as_echo_n "(cached) " >&6
39677 else
39680 ac_ext=cpp
39681 ac_cpp='$CXXCPP $CPPFLAGS'
39682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39687 /* end confdefs.h. */
39688 #include <math.h>
39689 #ifdef HAVE_IEEEFP_H
39690 #include <ieeefp.h>
39691 #endif
39694 main ()
39696 isinfl(0);
39698 return 0;
39700 _ACEOF
39701 if ac_fn_cxx_try_compile "$LINENO"; then :
39702 glibcxx_cv_func_isinfl_use=yes
39703 else
39704 glibcxx_cv_func_isinfl_use=no
39706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39707 ac_ext=c
39708 ac_cpp='$CPP $CPPFLAGS'
39709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
39718 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
39720 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
39721 for ac_func in isinfl
39722 do :
39723 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
39724 if test "x$ac_cv_func_isinfl" = xyes; then :
39725 cat >>confdefs.h <<_ACEOF
39726 #define HAVE_ISINFL 1
39727 _ACEOF
39730 done
39732 else
39734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
39735 $as_echo_n "checking for _isinfl declaration... " >&6; }
39736 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
39737 if ${glibcxx_cv_func__isinfl_use+:} false; then :
39738 $as_echo_n "(cached) " >&6
39739 else
39742 ac_ext=cpp
39743 ac_cpp='$CXXCPP $CPPFLAGS'
39744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39749 /* end confdefs.h. */
39750 #include <math.h>
39751 #ifdef HAVE_IEEEFP_H
39752 #include <ieeefp.h>
39753 #endif
39756 main ()
39758 _isinfl(0);
39760 return 0;
39762 _ACEOF
39763 if ac_fn_cxx_try_compile "$LINENO"; then :
39764 glibcxx_cv_func__isinfl_use=yes
39765 else
39766 glibcxx_cv_func__isinfl_use=no
39768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39769 ac_ext=c
39770 ac_cpp='$CPP $CPPFLAGS'
39771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
39780 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
39782 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
39783 for ac_func in _isinfl
39784 do :
39785 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
39786 if test "x$ac_cv_func__isinfl" = xyes; then :
39787 cat >>confdefs.h <<_ACEOF
39788 #define HAVE__ISINFL 1
39789 _ACEOF
39792 done
39801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
39802 $as_echo_n "checking for atan2l declaration... " >&6; }
39803 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
39804 if ${glibcxx_cv_func_atan2l_use+:} false; then :
39805 $as_echo_n "(cached) " >&6
39806 else
39809 ac_ext=cpp
39810 ac_cpp='$CXXCPP $CPPFLAGS'
39811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39816 /* end confdefs.h. */
39817 #include <math.h>
39819 main ()
39821 atan2l(0, 0);
39823 return 0;
39825 _ACEOF
39826 if ac_fn_cxx_try_compile "$LINENO"; then :
39827 glibcxx_cv_func_atan2l_use=yes
39828 else
39829 glibcxx_cv_func_atan2l_use=no
39831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39832 ac_ext=c
39833 ac_cpp='$CPP $CPPFLAGS'
39834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39843 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39845 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39846 for ac_func in atan2l
39847 do :
39848 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39849 if test "x$ac_cv_func_atan2l" = xyes; then :
39850 cat >>confdefs.h <<_ACEOF
39851 #define HAVE_ATAN2L 1
39852 _ACEOF
39855 done
39857 else
39859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39860 $as_echo_n "checking for _atan2l declaration... " >&6; }
39861 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39862 if ${glibcxx_cv_func__atan2l_use+:} false; then :
39863 $as_echo_n "(cached) " >&6
39864 else
39867 ac_ext=cpp
39868 ac_cpp='$CXXCPP $CPPFLAGS'
39869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39874 /* end confdefs.h. */
39875 #include <math.h>
39877 main ()
39879 _atan2l(0, 0);
39881 return 0;
39883 _ACEOF
39884 if ac_fn_cxx_try_compile "$LINENO"; then :
39885 glibcxx_cv_func__atan2l_use=yes
39886 else
39887 glibcxx_cv_func__atan2l_use=no
39889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39890 ac_ext=c
39891 ac_cpp='$CPP $CPPFLAGS'
39892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39901 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39903 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39904 for ac_func in _atan2l
39905 do :
39906 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39907 if test "x$ac_cv_func__atan2l" = xyes; then :
39908 cat >>confdefs.h <<_ACEOF
39909 #define HAVE__ATAN2L 1
39910 _ACEOF
39913 done
39922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39923 $as_echo_n "checking for expl declaration... " >&6; }
39924 if test x${glibcxx_cv_func_expl_use+set} != xset; then
39925 if ${glibcxx_cv_func_expl_use+:} false; then :
39926 $as_echo_n "(cached) " >&6
39927 else
39930 ac_ext=cpp
39931 ac_cpp='$CXXCPP $CPPFLAGS'
39932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39937 /* end confdefs.h. */
39938 #include <math.h>
39939 #ifdef HAVE_IEEEFP_H
39940 #include <ieeefp.h>
39941 #endif
39944 main ()
39946 expl(0);
39948 return 0;
39950 _ACEOF
39951 if ac_fn_cxx_try_compile "$LINENO"; then :
39952 glibcxx_cv_func_expl_use=yes
39953 else
39954 glibcxx_cv_func_expl_use=no
39956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39957 ac_ext=c
39958 ac_cpp='$CPP $CPPFLAGS'
39959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39968 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
39970 if test x$glibcxx_cv_func_expl_use = x"yes"; then
39971 for ac_func in expl
39972 do :
39973 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39974 if test "x$ac_cv_func_expl" = xyes; then :
39975 cat >>confdefs.h <<_ACEOF
39976 #define HAVE_EXPL 1
39977 _ACEOF
39980 done
39982 else
39984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39985 $as_echo_n "checking for _expl declaration... " >&6; }
39986 if test x${glibcxx_cv_func__expl_use+set} != xset; then
39987 if ${glibcxx_cv_func__expl_use+:} false; then :
39988 $as_echo_n "(cached) " >&6
39989 else
39992 ac_ext=cpp
39993 ac_cpp='$CXXCPP $CPPFLAGS'
39994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39999 /* end confdefs.h. */
40000 #include <math.h>
40001 #ifdef HAVE_IEEEFP_H
40002 #include <ieeefp.h>
40003 #endif
40006 main ()
40008 _expl(0);
40010 return 0;
40012 _ACEOF
40013 if ac_fn_cxx_try_compile "$LINENO"; then :
40014 glibcxx_cv_func__expl_use=yes
40015 else
40016 glibcxx_cv_func__expl_use=no
40018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40019 ac_ext=c
40020 ac_cpp='$CPP $CPPFLAGS'
40021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
40030 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
40032 if test x$glibcxx_cv_func__expl_use = x"yes"; then
40033 for ac_func in _expl
40034 do :
40035 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
40036 if test "x$ac_cv_func__expl" = xyes; then :
40037 cat >>confdefs.h <<_ACEOF
40038 #define HAVE__EXPL 1
40039 _ACEOF
40042 done
40051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
40052 $as_echo_n "checking for fabsl declaration... " >&6; }
40053 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
40054 if ${glibcxx_cv_func_fabsl_use+:} false; then :
40055 $as_echo_n "(cached) " >&6
40056 else
40059 ac_ext=cpp
40060 ac_cpp='$CXXCPP $CPPFLAGS'
40061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40066 /* end confdefs.h. */
40067 #include <math.h>
40068 #ifdef HAVE_IEEEFP_H
40069 #include <ieeefp.h>
40070 #endif
40073 main ()
40075 fabsl(0);
40077 return 0;
40079 _ACEOF
40080 if ac_fn_cxx_try_compile "$LINENO"; then :
40081 glibcxx_cv_func_fabsl_use=yes
40082 else
40083 glibcxx_cv_func_fabsl_use=no
40085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40086 ac_ext=c
40087 ac_cpp='$CPP $CPPFLAGS'
40088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
40097 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
40099 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
40100 for ac_func in fabsl
40101 do :
40102 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
40103 if test "x$ac_cv_func_fabsl" = xyes; then :
40104 cat >>confdefs.h <<_ACEOF
40105 #define HAVE_FABSL 1
40106 _ACEOF
40109 done
40111 else
40113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
40114 $as_echo_n "checking for _fabsl declaration... " >&6; }
40115 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
40116 if ${glibcxx_cv_func__fabsl_use+:} false; then :
40117 $as_echo_n "(cached) " >&6
40118 else
40121 ac_ext=cpp
40122 ac_cpp='$CXXCPP $CPPFLAGS'
40123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40128 /* end confdefs.h. */
40129 #include <math.h>
40130 #ifdef HAVE_IEEEFP_H
40131 #include <ieeefp.h>
40132 #endif
40135 main ()
40137 _fabsl(0);
40139 return 0;
40141 _ACEOF
40142 if ac_fn_cxx_try_compile "$LINENO"; then :
40143 glibcxx_cv_func__fabsl_use=yes
40144 else
40145 glibcxx_cv_func__fabsl_use=no
40147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40148 ac_ext=c
40149 ac_cpp='$CPP $CPPFLAGS'
40150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
40159 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
40161 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
40162 for ac_func in _fabsl
40163 do :
40164 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
40165 if test "x$ac_cv_func__fabsl" = xyes; then :
40166 cat >>confdefs.h <<_ACEOF
40167 #define HAVE__FABSL 1
40168 _ACEOF
40171 done
40180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
40181 $as_echo_n "checking for fmodl declaration... " >&6; }
40182 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
40183 if ${glibcxx_cv_func_fmodl_use+:} false; then :
40184 $as_echo_n "(cached) " >&6
40185 else
40188 ac_ext=cpp
40189 ac_cpp='$CXXCPP $CPPFLAGS'
40190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40195 /* end confdefs.h. */
40196 #include <math.h>
40198 main ()
40200 fmodl(0, 0);
40202 return 0;
40204 _ACEOF
40205 if ac_fn_cxx_try_compile "$LINENO"; then :
40206 glibcxx_cv_func_fmodl_use=yes
40207 else
40208 glibcxx_cv_func_fmodl_use=no
40210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40211 ac_ext=c
40212 ac_cpp='$CPP $CPPFLAGS'
40213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
40222 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
40224 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
40225 for ac_func in fmodl
40226 do :
40227 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
40228 if test "x$ac_cv_func_fmodl" = xyes; then :
40229 cat >>confdefs.h <<_ACEOF
40230 #define HAVE_FMODL 1
40231 _ACEOF
40234 done
40236 else
40238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
40239 $as_echo_n "checking for _fmodl declaration... " >&6; }
40240 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
40241 if ${glibcxx_cv_func__fmodl_use+:} false; then :
40242 $as_echo_n "(cached) " >&6
40243 else
40246 ac_ext=cpp
40247 ac_cpp='$CXXCPP $CPPFLAGS'
40248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40253 /* end confdefs.h. */
40254 #include <math.h>
40256 main ()
40258 _fmodl(0, 0);
40260 return 0;
40262 _ACEOF
40263 if ac_fn_cxx_try_compile "$LINENO"; then :
40264 glibcxx_cv_func__fmodl_use=yes
40265 else
40266 glibcxx_cv_func__fmodl_use=no
40268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40269 ac_ext=c
40270 ac_cpp='$CPP $CPPFLAGS'
40271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
40280 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
40282 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
40283 for ac_func in _fmodl
40284 do :
40285 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
40286 if test "x$ac_cv_func__fmodl" = xyes; then :
40287 cat >>confdefs.h <<_ACEOF
40288 #define HAVE__FMODL 1
40289 _ACEOF
40292 done
40301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
40302 $as_echo_n "checking for frexpl declaration... " >&6; }
40303 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
40304 if ${glibcxx_cv_func_frexpl_use+:} false; then :
40305 $as_echo_n "(cached) " >&6
40306 else
40309 ac_ext=cpp
40310 ac_cpp='$CXXCPP $CPPFLAGS'
40311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40316 /* end confdefs.h. */
40317 #include <math.h>
40319 main ()
40321 frexpl(0, 0);
40323 return 0;
40325 _ACEOF
40326 if ac_fn_cxx_try_compile "$LINENO"; then :
40327 glibcxx_cv_func_frexpl_use=yes
40328 else
40329 glibcxx_cv_func_frexpl_use=no
40331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40332 ac_ext=c
40333 ac_cpp='$CPP $CPPFLAGS'
40334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
40343 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
40345 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
40346 for ac_func in frexpl
40347 do :
40348 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
40349 if test "x$ac_cv_func_frexpl" = xyes; then :
40350 cat >>confdefs.h <<_ACEOF
40351 #define HAVE_FREXPL 1
40352 _ACEOF
40355 done
40357 else
40359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
40360 $as_echo_n "checking for _frexpl declaration... " >&6; }
40361 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
40362 if ${glibcxx_cv_func__frexpl_use+:} false; then :
40363 $as_echo_n "(cached) " >&6
40364 else
40367 ac_ext=cpp
40368 ac_cpp='$CXXCPP $CPPFLAGS'
40369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40374 /* end confdefs.h. */
40375 #include <math.h>
40377 main ()
40379 _frexpl(0, 0);
40381 return 0;
40383 _ACEOF
40384 if ac_fn_cxx_try_compile "$LINENO"; then :
40385 glibcxx_cv_func__frexpl_use=yes
40386 else
40387 glibcxx_cv_func__frexpl_use=no
40389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40390 ac_ext=c
40391 ac_cpp='$CPP $CPPFLAGS'
40392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
40401 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
40403 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
40404 for ac_func in _frexpl
40405 do :
40406 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
40407 if test "x$ac_cv_func__frexpl" = xyes; then :
40408 cat >>confdefs.h <<_ACEOF
40409 #define HAVE__FREXPL 1
40410 _ACEOF
40413 done
40422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
40423 $as_echo_n "checking for hypotl declaration... " >&6; }
40424 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
40425 if ${glibcxx_cv_func_hypotl_use+:} false; then :
40426 $as_echo_n "(cached) " >&6
40427 else
40430 ac_ext=cpp
40431 ac_cpp='$CXXCPP $CPPFLAGS'
40432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40437 /* end confdefs.h. */
40438 #include <math.h>
40440 main ()
40442 hypotl(0, 0);
40444 return 0;
40446 _ACEOF
40447 if ac_fn_cxx_try_compile "$LINENO"; then :
40448 glibcxx_cv_func_hypotl_use=yes
40449 else
40450 glibcxx_cv_func_hypotl_use=no
40452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40453 ac_ext=c
40454 ac_cpp='$CPP $CPPFLAGS'
40455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
40464 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
40466 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
40467 for ac_func in hypotl
40468 do :
40469 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
40470 if test "x$ac_cv_func_hypotl" = xyes; then :
40471 cat >>confdefs.h <<_ACEOF
40472 #define HAVE_HYPOTL 1
40473 _ACEOF
40476 done
40478 else
40480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
40481 $as_echo_n "checking for _hypotl declaration... " >&6; }
40482 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
40483 if ${glibcxx_cv_func__hypotl_use+:} false; then :
40484 $as_echo_n "(cached) " >&6
40485 else
40488 ac_ext=cpp
40489 ac_cpp='$CXXCPP $CPPFLAGS'
40490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40495 /* end confdefs.h. */
40496 #include <math.h>
40498 main ()
40500 _hypotl(0, 0);
40502 return 0;
40504 _ACEOF
40505 if ac_fn_cxx_try_compile "$LINENO"; then :
40506 glibcxx_cv_func__hypotl_use=yes
40507 else
40508 glibcxx_cv_func__hypotl_use=no
40510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40511 ac_ext=c
40512 ac_cpp='$CPP $CPPFLAGS'
40513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
40522 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
40524 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
40525 for ac_func in _hypotl
40526 do :
40527 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
40528 if test "x$ac_cv_func__hypotl" = xyes; then :
40529 cat >>confdefs.h <<_ACEOF
40530 #define HAVE__HYPOTL 1
40531 _ACEOF
40534 done
40543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
40544 $as_echo_n "checking for ldexpl declaration... " >&6; }
40545 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
40546 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
40547 $as_echo_n "(cached) " >&6
40548 else
40551 ac_ext=cpp
40552 ac_cpp='$CXXCPP $CPPFLAGS'
40553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40558 /* end confdefs.h. */
40559 #include <math.h>
40561 main ()
40563 ldexpl(0, 0);
40565 return 0;
40567 _ACEOF
40568 if ac_fn_cxx_try_compile "$LINENO"; then :
40569 glibcxx_cv_func_ldexpl_use=yes
40570 else
40571 glibcxx_cv_func_ldexpl_use=no
40573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40574 ac_ext=c
40575 ac_cpp='$CPP $CPPFLAGS'
40576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
40585 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
40587 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
40588 for ac_func in ldexpl
40589 do :
40590 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
40591 if test "x$ac_cv_func_ldexpl" = xyes; then :
40592 cat >>confdefs.h <<_ACEOF
40593 #define HAVE_LDEXPL 1
40594 _ACEOF
40597 done
40599 else
40601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
40602 $as_echo_n "checking for _ldexpl declaration... " >&6; }
40603 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
40604 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
40605 $as_echo_n "(cached) " >&6
40606 else
40609 ac_ext=cpp
40610 ac_cpp='$CXXCPP $CPPFLAGS'
40611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40616 /* end confdefs.h. */
40617 #include <math.h>
40619 main ()
40621 _ldexpl(0, 0);
40623 return 0;
40625 _ACEOF
40626 if ac_fn_cxx_try_compile "$LINENO"; then :
40627 glibcxx_cv_func__ldexpl_use=yes
40628 else
40629 glibcxx_cv_func__ldexpl_use=no
40631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40632 ac_ext=c
40633 ac_cpp='$CPP $CPPFLAGS'
40634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
40643 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
40645 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
40646 for ac_func in _ldexpl
40647 do :
40648 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
40649 if test "x$ac_cv_func__ldexpl" = xyes; then :
40650 cat >>confdefs.h <<_ACEOF
40651 #define HAVE__LDEXPL 1
40652 _ACEOF
40655 done
40664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
40665 $as_echo_n "checking for logl declaration... " >&6; }
40666 if test x${glibcxx_cv_func_logl_use+set} != xset; then
40667 if ${glibcxx_cv_func_logl_use+:} false; then :
40668 $as_echo_n "(cached) " >&6
40669 else
40672 ac_ext=cpp
40673 ac_cpp='$CXXCPP $CPPFLAGS'
40674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40679 /* end confdefs.h. */
40680 #include <math.h>
40681 #ifdef HAVE_IEEEFP_H
40682 #include <ieeefp.h>
40683 #endif
40686 main ()
40688 logl(0);
40690 return 0;
40692 _ACEOF
40693 if ac_fn_cxx_try_compile "$LINENO"; then :
40694 glibcxx_cv_func_logl_use=yes
40695 else
40696 glibcxx_cv_func_logl_use=no
40698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40699 ac_ext=c
40700 ac_cpp='$CPP $CPPFLAGS'
40701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
40710 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
40712 if test x$glibcxx_cv_func_logl_use = x"yes"; then
40713 for ac_func in logl
40714 do :
40715 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
40716 if test "x$ac_cv_func_logl" = xyes; then :
40717 cat >>confdefs.h <<_ACEOF
40718 #define HAVE_LOGL 1
40719 _ACEOF
40722 done
40724 else
40726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
40727 $as_echo_n "checking for _logl declaration... " >&6; }
40728 if test x${glibcxx_cv_func__logl_use+set} != xset; then
40729 if ${glibcxx_cv_func__logl_use+:} false; then :
40730 $as_echo_n "(cached) " >&6
40731 else
40734 ac_ext=cpp
40735 ac_cpp='$CXXCPP $CPPFLAGS'
40736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40741 /* end confdefs.h. */
40742 #include <math.h>
40743 #ifdef HAVE_IEEEFP_H
40744 #include <ieeefp.h>
40745 #endif
40748 main ()
40750 _logl(0);
40752 return 0;
40754 _ACEOF
40755 if ac_fn_cxx_try_compile "$LINENO"; then :
40756 glibcxx_cv_func__logl_use=yes
40757 else
40758 glibcxx_cv_func__logl_use=no
40760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40761 ac_ext=c
40762 ac_cpp='$CPP $CPPFLAGS'
40763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
40772 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
40774 if test x$glibcxx_cv_func__logl_use = x"yes"; then
40775 for ac_func in _logl
40776 do :
40777 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
40778 if test "x$ac_cv_func__logl" = xyes; then :
40779 cat >>confdefs.h <<_ACEOF
40780 #define HAVE__LOGL 1
40781 _ACEOF
40784 done
40793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
40794 $as_echo_n "checking for log10l declaration... " >&6; }
40795 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
40796 if ${glibcxx_cv_func_log10l_use+:} false; then :
40797 $as_echo_n "(cached) " >&6
40798 else
40801 ac_ext=cpp
40802 ac_cpp='$CXXCPP $CPPFLAGS'
40803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40808 /* end confdefs.h. */
40809 #include <math.h>
40810 #ifdef HAVE_IEEEFP_H
40811 #include <ieeefp.h>
40812 #endif
40815 main ()
40817 log10l(0);
40819 return 0;
40821 _ACEOF
40822 if ac_fn_cxx_try_compile "$LINENO"; then :
40823 glibcxx_cv_func_log10l_use=yes
40824 else
40825 glibcxx_cv_func_log10l_use=no
40827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40828 ac_ext=c
40829 ac_cpp='$CPP $CPPFLAGS'
40830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40839 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40841 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40842 for ac_func in log10l
40843 do :
40844 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40845 if test "x$ac_cv_func_log10l" = xyes; then :
40846 cat >>confdefs.h <<_ACEOF
40847 #define HAVE_LOG10L 1
40848 _ACEOF
40851 done
40853 else
40855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40856 $as_echo_n "checking for _log10l declaration... " >&6; }
40857 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40858 if ${glibcxx_cv_func__log10l_use+:} false; then :
40859 $as_echo_n "(cached) " >&6
40860 else
40863 ac_ext=cpp
40864 ac_cpp='$CXXCPP $CPPFLAGS'
40865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40870 /* end confdefs.h. */
40871 #include <math.h>
40872 #ifdef HAVE_IEEEFP_H
40873 #include <ieeefp.h>
40874 #endif
40877 main ()
40879 _log10l(0);
40881 return 0;
40883 _ACEOF
40884 if ac_fn_cxx_try_compile "$LINENO"; then :
40885 glibcxx_cv_func__log10l_use=yes
40886 else
40887 glibcxx_cv_func__log10l_use=no
40889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40890 ac_ext=c
40891 ac_cpp='$CPP $CPPFLAGS'
40892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40901 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40903 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40904 for ac_func in _log10l
40905 do :
40906 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40907 if test "x$ac_cv_func__log10l" = xyes; then :
40908 cat >>confdefs.h <<_ACEOF
40909 #define HAVE__LOG10L 1
40910 _ACEOF
40913 done
40922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40923 $as_echo_n "checking for modfl declaration... " >&6; }
40924 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40925 if ${glibcxx_cv_func_modfl_use+:} false; then :
40926 $as_echo_n "(cached) " >&6
40927 else
40930 ac_ext=cpp
40931 ac_cpp='$CXXCPP $CPPFLAGS'
40932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40937 /* end confdefs.h. */
40938 #include <math.h>
40940 main ()
40942 modfl(0, 0);
40944 return 0;
40946 _ACEOF
40947 if ac_fn_cxx_try_compile "$LINENO"; then :
40948 glibcxx_cv_func_modfl_use=yes
40949 else
40950 glibcxx_cv_func_modfl_use=no
40952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40953 ac_ext=c
40954 ac_cpp='$CPP $CPPFLAGS'
40955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40964 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40966 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40967 for ac_func in modfl
40968 do :
40969 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40970 if test "x$ac_cv_func_modfl" = xyes; then :
40971 cat >>confdefs.h <<_ACEOF
40972 #define HAVE_MODFL 1
40973 _ACEOF
40976 done
40978 else
40980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40981 $as_echo_n "checking for _modfl declaration... " >&6; }
40982 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40983 if ${glibcxx_cv_func__modfl_use+:} false; then :
40984 $as_echo_n "(cached) " >&6
40985 else
40988 ac_ext=cpp
40989 ac_cpp='$CXXCPP $CPPFLAGS'
40990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40995 /* end confdefs.h. */
40996 #include <math.h>
40998 main ()
41000 _modfl(0, 0);
41002 return 0;
41004 _ACEOF
41005 if ac_fn_cxx_try_compile "$LINENO"; then :
41006 glibcxx_cv_func__modfl_use=yes
41007 else
41008 glibcxx_cv_func__modfl_use=no
41010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41011 ac_ext=c
41012 ac_cpp='$CPP $CPPFLAGS'
41013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
41022 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
41024 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
41025 for ac_func in _modfl
41026 do :
41027 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
41028 if test "x$ac_cv_func__modfl" = xyes; then :
41029 cat >>confdefs.h <<_ACEOF
41030 #define HAVE__MODFL 1
41031 _ACEOF
41034 done
41043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
41044 $as_echo_n "checking for powl declaration... " >&6; }
41045 if test x${glibcxx_cv_func_powl_use+set} != xset; then
41046 if ${glibcxx_cv_func_powl_use+:} false; then :
41047 $as_echo_n "(cached) " >&6
41048 else
41051 ac_ext=cpp
41052 ac_cpp='$CXXCPP $CPPFLAGS'
41053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41058 /* end confdefs.h. */
41059 #include <math.h>
41061 main ()
41063 powl(0, 0);
41065 return 0;
41067 _ACEOF
41068 if ac_fn_cxx_try_compile "$LINENO"; then :
41069 glibcxx_cv_func_powl_use=yes
41070 else
41071 glibcxx_cv_func_powl_use=no
41073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41074 ac_ext=c
41075 ac_cpp='$CPP $CPPFLAGS'
41076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
41085 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
41087 if test x$glibcxx_cv_func_powl_use = x"yes"; then
41088 for ac_func in powl
41089 do :
41090 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
41091 if test "x$ac_cv_func_powl" = xyes; then :
41092 cat >>confdefs.h <<_ACEOF
41093 #define HAVE_POWL 1
41094 _ACEOF
41097 done
41099 else
41101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
41102 $as_echo_n "checking for _powl declaration... " >&6; }
41103 if test x${glibcxx_cv_func__powl_use+set} != xset; then
41104 if ${glibcxx_cv_func__powl_use+:} false; then :
41105 $as_echo_n "(cached) " >&6
41106 else
41109 ac_ext=cpp
41110 ac_cpp='$CXXCPP $CPPFLAGS'
41111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41116 /* end confdefs.h. */
41117 #include <math.h>
41119 main ()
41121 _powl(0, 0);
41123 return 0;
41125 _ACEOF
41126 if ac_fn_cxx_try_compile "$LINENO"; then :
41127 glibcxx_cv_func__powl_use=yes
41128 else
41129 glibcxx_cv_func__powl_use=no
41131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41132 ac_ext=c
41133 ac_cpp='$CPP $CPPFLAGS'
41134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
41143 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
41145 if test x$glibcxx_cv_func__powl_use = x"yes"; then
41146 for ac_func in _powl
41147 do :
41148 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
41149 if test "x$ac_cv_func__powl" = xyes; then :
41150 cat >>confdefs.h <<_ACEOF
41151 #define HAVE__POWL 1
41152 _ACEOF
41155 done
41164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
41165 $as_echo_n "checking for sqrtl declaration... " >&6; }
41166 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
41167 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
41168 $as_echo_n "(cached) " >&6
41169 else
41172 ac_ext=cpp
41173 ac_cpp='$CXXCPP $CPPFLAGS'
41174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41179 /* end confdefs.h. */
41180 #include <math.h>
41181 #ifdef HAVE_IEEEFP_H
41182 #include <ieeefp.h>
41183 #endif
41186 main ()
41188 sqrtl(0);
41190 return 0;
41192 _ACEOF
41193 if ac_fn_cxx_try_compile "$LINENO"; then :
41194 glibcxx_cv_func_sqrtl_use=yes
41195 else
41196 glibcxx_cv_func_sqrtl_use=no
41198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41199 ac_ext=c
41200 ac_cpp='$CPP $CPPFLAGS'
41201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
41210 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
41212 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
41213 for ac_func in sqrtl
41214 do :
41215 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
41216 if test "x$ac_cv_func_sqrtl" = xyes; then :
41217 cat >>confdefs.h <<_ACEOF
41218 #define HAVE_SQRTL 1
41219 _ACEOF
41222 done
41224 else
41226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
41227 $as_echo_n "checking for _sqrtl declaration... " >&6; }
41228 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
41229 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
41230 $as_echo_n "(cached) " >&6
41231 else
41234 ac_ext=cpp
41235 ac_cpp='$CXXCPP $CPPFLAGS'
41236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41241 /* end confdefs.h. */
41242 #include <math.h>
41243 #ifdef HAVE_IEEEFP_H
41244 #include <ieeefp.h>
41245 #endif
41248 main ()
41250 _sqrtl(0);
41252 return 0;
41254 _ACEOF
41255 if ac_fn_cxx_try_compile "$LINENO"; then :
41256 glibcxx_cv_func__sqrtl_use=yes
41257 else
41258 glibcxx_cv_func__sqrtl_use=no
41260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41261 ac_ext=c
41262 ac_cpp='$CPP $CPPFLAGS'
41263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
41272 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
41274 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
41275 for ac_func in _sqrtl
41276 do :
41277 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
41278 if test "x$ac_cv_func__sqrtl" = xyes; then :
41279 cat >>confdefs.h <<_ACEOF
41280 #define HAVE__SQRTL 1
41281 _ACEOF
41284 done
41293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
41294 $as_echo_n "checking for sincosl declaration... " >&6; }
41295 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
41296 if ${glibcxx_cv_func_sincosl_use+:} false; then :
41297 $as_echo_n "(cached) " >&6
41298 else
41301 ac_ext=cpp
41302 ac_cpp='$CXXCPP $CPPFLAGS'
41303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41308 /* end confdefs.h. */
41309 #include <math.h>
41311 main ()
41313 sincosl(0, 0, 0);
41315 return 0;
41317 _ACEOF
41318 if ac_fn_cxx_try_compile "$LINENO"; then :
41319 glibcxx_cv_func_sincosl_use=yes
41320 else
41321 glibcxx_cv_func_sincosl_use=no
41323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41324 ac_ext=c
41325 ac_cpp='$CPP $CPPFLAGS'
41326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
41335 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
41337 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
41338 for ac_func in sincosl
41339 do :
41340 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
41341 if test "x$ac_cv_func_sincosl" = xyes; then :
41342 cat >>confdefs.h <<_ACEOF
41343 #define HAVE_SINCOSL 1
41344 _ACEOF
41347 done
41349 else
41351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
41352 $as_echo_n "checking for _sincosl declaration... " >&6; }
41353 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
41354 if ${glibcxx_cv_func__sincosl_use+:} false; then :
41355 $as_echo_n "(cached) " >&6
41356 else
41359 ac_ext=cpp
41360 ac_cpp='$CXXCPP $CPPFLAGS'
41361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41366 /* end confdefs.h. */
41367 #include <math.h>
41369 main ()
41371 _sincosl(0, 0, 0);
41373 return 0;
41375 _ACEOF
41376 if ac_fn_cxx_try_compile "$LINENO"; then :
41377 glibcxx_cv_func__sincosl_use=yes
41378 else
41379 glibcxx_cv_func__sincosl_use=no
41381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41382 ac_ext=c
41383 ac_cpp='$CPP $CPPFLAGS'
41384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
41393 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
41395 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
41396 for ac_func in _sincosl
41397 do :
41398 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
41399 if test "x$ac_cv_func__sincosl" = xyes; then :
41400 cat >>confdefs.h <<_ACEOF
41401 #define HAVE__SINCOSL 1
41402 _ACEOF
41405 done
41414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
41415 $as_echo_n "checking for finitel declaration... " >&6; }
41416 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
41417 if ${glibcxx_cv_func_finitel_use+:} false; then :
41418 $as_echo_n "(cached) " >&6
41419 else
41422 ac_ext=cpp
41423 ac_cpp='$CXXCPP $CPPFLAGS'
41424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41429 /* end confdefs.h. */
41430 #include <math.h>
41431 #ifdef HAVE_IEEEFP_H
41432 #include <ieeefp.h>
41433 #endif
41436 main ()
41438 finitel(0);
41440 return 0;
41442 _ACEOF
41443 if ac_fn_cxx_try_compile "$LINENO"; then :
41444 glibcxx_cv_func_finitel_use=yes
41445 else
41446 glibcxx_cv_func_finitel_use=no
41448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41449 ac_ext=c
41450 ac_cpp='$CPP $CPPFLAGS'
41451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
41460 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
41462 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
41463 for ac_func in finitel
41464 do :
41465 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
41466 if test "x$ac_cv_func_finitel" = xyes; then :
41467 cat >>confdefs.h <<_ACEOF
41468 #define HAVE_FINITEL 1
41469 _ACEOF
41472 done
41474 else
41476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
41477 $as_echo_n "checking for _finitel declaration... " >&6; }
41478 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
41479 if ${glibcxx_cv_func__finitel_use+:} false; then :
41480 $as_echo_n "(cached) " >&6
41481 else
41484 ac_ext=cpp
41485 ac_cpp='$CXXCPP $CPPFLAGS'
41486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41491 /* end confdefs.h. */
41492 #include <math.h>
41493 #ifdef HAVE_IEEEFP_H
41494 #include <ieeefp.h>
41495 #endif
41498 main ()
41500 _finitel(0);
41502 return 0;
41504 _ACEOF
41505 if ac_fn_cxx_try_compile "$LINENO"; then :
41506 glibcxx_cv_func__finitel_use=yes
41507 else
41508 glibcxx_cv_func__finitel_use=no
41510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41511 ac_ext=c
41512 ac_cpp='$CPP $CPPFLAGS'
41513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
41522 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
41524 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
41525 for ac_func in _finitel
41526 do :
41527 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
41528 if test "x$ac_cv_func__finitel" = xyes; then :
41529 cat >>confdefs.h <<_ACEOF
41530 #define HAVE__FINITEL 1
41531 _ACEOF
41534 done
41542 LIBS="$ac_save_LIBS"
41543 CXXFLAGS="$ac_save_CXXFLAGS"
41546 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41547 ac_save_CXXFLAGS="$CXXFLAGS"
41548 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
41552 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
41553 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
41554 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
41555 $as_echo_n "(cached) " >&6
41556 else
41559 ac_ext=cpp
41560 ac_cpp='$CXXCPP $CPPFLAGS'
41561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41566 /* end confdefs.h. */
41567 #include <stdlib.h>
41569 main ()
41571 at_quick_exit(0);
41573 return 0;
41575 _ACEOF
41576 if ac_fn_cxx_try_compile "$LINENO"; then :
41577 glibcxx_cv_func_at_quick_exit_use=yes
41578 else
41579 glibcxx_cv_func_at_quick_exit_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_at_quick_exit_use" >&5
41593 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
41594 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
41595 for ac_func in at_quick_exit
41596 do :
41597 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
41598 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
41599 cat >>confdefs.h <<_ACEOF
41600 #define HAVE_AT_QUICK_EXIT 1
41601 _ACEOF
41604 done
41609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
41610 $as_echo_n "checking for quick_exit declaration... " >&6; }
41611 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
41612 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
41613 $as_echo_n "(cached) " >&6
41614 else
41617 ac_ext=cpp
41618 ac_cpp='$CXXCPP $CPPFLAGS'
41619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41624 /* end confdefs.h. */
41625 #include <stdlib.h>
41627 main ()
41629 quick_exit(0);
41631 return 0;
41633 _ACEOF
41634 if ac_fn_cxx_try_compile "$LINENO"; then :
41635 glibcxx_cv_func_quick_exit_use=yes
41636 else
41637 glibcxx_cv_func_quick_exit_use=no
41639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41640 ac_ext=c
41641 ac_cpp='$CPP $CPPFLAGS'
41642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
41651 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
41652 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
41653 for ac_func in quick_exit
41654 do :
41655 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
41656 if test "x$ac_cv_func_quick_exit" = xyes; then :
41657 cat >>confdefs.h <<_ACEOF
41658 #define HAVE_QUICK_EXIT 1
41659 _ACEOF
41662 done
41667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
41668 $as_echo_n "checking for strtold declaration... " >&6; }
41669 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
41670 if ${glibcxx_cv_func_strtold_use+:} false; then :
41671 $as_echo_n "(cached) " >&6
41672 else
41675 ac_ext=cpp
41676 ac_cpp='$CXXCPP $CPPFLAGS'
41677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41682 /* end confdefs.h. */
41683 #include <stdlib.h>
41685 main ()
41687 strtold(0, 0);
41689 return 0;
41691 _ACEOF
41692 if ac_fn_cxx_try_compile "$LINENO"; then :
41693 glibcxx_cv_func_strtold_use=yes
41694 else
41695 glibcxx_cv_func_strtold_use=no
41697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41698 ac_ext=c
41699 ac_cpp='$CPP $CPPFLAGS'
41700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
41709 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
41710 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
41711 for ac_func in strtold
41712 do :
41713 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
41714 if test "x$ac_cv_func_strtold" = xyes; then :
41715 cat >>confdefs.h <<_ACEOF
41716 #define HAVE_STRTOLD 1
41717 _ACEOF
41720 done
41727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
41728 $as_echo_n "checking for strtof declaration... " >&6; }
41729 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
41730 if ${glibcxx_cv_func_strtof_use+:} false; then :
41731 $as_echo_n "(cached) " >&6
41732 else
41735 ac_ext=cpp
41736 ac_cpp='$CXXCPP $CPPFLAGS'
41737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41742 /* end confdefs.h. */
41743 #include <stdlib.h>
41745 main ()
41747 strtof(0, 0);
41749 return 0;
41751 _ACEOF
41752 if ac_fn_cxx_try_compile "$LINENO"; then :
41753 glibcxx_cv_func_strtof_use=yes
41754 else
41755 glibcxx_cv_func_strtof_use=no
41757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41758 ac_ext=c
41759 ac_cpp='$CPP $CPPFLAGS'
41760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
41769 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
41770 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
41771 for ac_func in strtof
41772 do :
41773 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
41774 if test "x$ac_cv_func_strtof" = xyes; then :
41775 cat >>confdefs.h <<_ACEOF
41776 #define HAVE_STRTOF 1
41777 _ACEOF
41780 done
41787 CXXFLAGS="$ac_save_CXXFLAGS"
41789 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
41791 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
41793 # We don't yet support AIX's TLS ABI.
41794 #GCC_CHECK_TLS
41800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
41801 $as_echo_n "checking for iconv... " >&6; }
41802 if ${am_cv_func_iconv+:} false; then :
41803 $as_echo_n "(cached) " >&6
41804 else
41806 am_cv_func_iconv="no, consider installing GNU libiconv"
41807 am_cv_lib_iconv=no
41808 am_save_CPPFLAGS="$CPPFLAGS"
41809 CPPFLAGS="$CPPFLAGS $INCICONV"
41810 if test x$gcc_no_link = xyes; then
41811 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41814 /* end confdefs.h. */
41815 #include <stdlib.h>
41816 #include <iconv.h>
41818 main ()
41820 iconv_t cd = iconv_open("","");
41821 iconv(cd,NULL,NULL,NULL,NULL);
41822 iconv_close(cd);
41824 return 0;
41826 _ACEOF
41827 if ac_fn_c_try_link "$LINENO"; then :
41828 am_cv_func_iconv=yes
41830 rm -f core conftest.err conftest.$ac_objext \
41831 conftest$ac_exeext conftest.$ac_ext
41832 CPPFLAGS="$am_save_CPPFLAGS"
41834 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41835 for _libs in .libs _libs; do
41836 am_save_CPPFLAGS="$CPPFLAGS"
41837 am_save_LIBS="$LIBS"
41838 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41839 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41840 if test x$gcc_no_link = xyes; then
41841 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41844 /* end confdefs.h. */
41845 #include <stdlib.h>
41846 #include <iconv.h>
41848 main ()
41850 iconv_t cd = iconv_open("","");
41851 iconv(cd,NULL,NULL,NULL,NULL);
41852 iconv_close(cd);
41854 return 0;
41856 _ACEOF
41857 if ac_fn_c_try_link "$LINENO"; then :
41858 INCICONV="-I../libiconv/include"
41859 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41860 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41861 am_cv_lib_iconv=yes
41862 am_cv_func_iconv=yes
41864 rm -f core conftest.err conftest.$ac_objext \
41865 conftest$ac_exeext conftest.$ac_ext
41866 CPPFLAGS="$am_save_CPPFLAGS"
41867 LIBS="$am_save_LIBS"
41868 if test "$am_cv_func_iconv" = "yes"; then
41869 break
41871 done
41874 if test "$am_cv_func_iconv" != yes; then
41875 am_save_CPPFLAGS="$CPPFLAGS"
41876 am_save_LIBS="$LIBS"
41877 CPPFLAGS="$CPPFLAGS $INCICONV"
41878 LIBS="$LIBS $LIBICONV"
41879 if test x$gcc_no_link = xyes; then
41880 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41883 /* end confdefs.h. */
41884 #include <stdlib.h>
41885 #include <iconv.h>
41887 main ()
41889 iconv_t cd = iconv_open("","");
41890 iconv(cd,NULL,NULL,NULL,NULL);
41891 iconv_close(cd);
41893 return 0;
41895 _ACEOF
41896 if ac_fn_c_try_link "$LINENO"; then :
41897 am_cv_lib_iconv=yes
41898 am_cv_func_iconv=yes
41900 rm -f core conftest.err conftest.$ac_objext \
41901 conftest$ac_exeext conftest.$ac_ext
41902 CPPFLAGS="$am_save_CPPFLAGS"
41903 LIBS="$am_save_LIBS"
41907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41908 $as_echo "$am_cv_func_iconv" >&6; }
41909 if test "$am_cv_func_iconv" = yes; then
41911 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
41914 if test "$am_cv_lib_iconv" = yes; then
41916 for element in $INCICONV; do
41917 haveit=
41918 for x in $CPPFLAGS; do
41920 acl_save_prefix="$prefix"
41921 prefix="$acl_final_prefix"
41922 acl_save_exec_prefix="$exec_prefix"
41923 exec_prefix="$acl_final_exec_prefix"
41924 eval x=\"$x\"
41925 exec_prefix="$acl_save_exec_prefix"
41926 prefix="$acl_save_prefix"
41928 if test "X$x" = "X$element"; then
41929 haveit=yes
41930 break
41932 done
41933 if test -z "$haveit"; then
41934 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41936 done
41938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41939 $as_echo_n "checking how to link with libiconv... " >&6; }
41940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41941 $as_echo "$LIBICONV" >&6; }
41942 else
41943 LIBICONV=
41944 LTLIBICONV=
41949 if test "$am_cv_func_iconv" = yes; then
41950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41951 $as_echo_n "checking for iconv declaration... " >&6; }
41952 if ${am_cv_proto_iconv+:} false; then :
41953 $as_echo_n "(cached) " >&6
41954 else
41956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41957 /* end confdefs.h. */
41959 #include <stdlib.h>
41960 #include <iconv.h>
41961 extern
41962 #ifdef __cplusplus
41964 #endif
41965 #if defined(__STDC__) || defined(__cplusplus)
41966 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41967 #else
41968 size_t iconv();
41969 #endif
41972 main ()
41976 return 0;
41978 _ACEOF
41979 if ac_fn_c_try_compile "$LINENO"; then :
41980 am_cv_proto_iconv_arg1=""
41981 else
41982 am_cv_proto_iconv_arg1="const"
41984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41985 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);"
41988 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41990 }$am_cv_proto_iconv" >&5
41991 $as_echo "${ac_t:-
41992 }$am_cv_proto_iconv" >&6; }
41994 cat >>confdefs.h <<_ACEOF
41995 #define ICONV_CONST $am_cv_proto_iconv_arg1
41996 _ACEOF
42002 *-darwin*)
42003 # Darwin versions vary, but the linker should work in a cross environment,
42004 # so we just check for all the features here.
42005 # Check for available headers.
42007 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
42009 ac_test_CXXFLAGS="${CXXFLAGS+set}"
42010 ac_save_CXXFLAGS="$CXXFLAGS"
42011 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
42013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
42014 $as_echo_n "checking for sin in -lm... " >&6; }
42015 if ${ac_cv_lib_m_sin+:} false; then :
42016 $as_echo_n "(cached) " >&6
42017 else
42018 ac_check_lib_save_LIBS=$LIBS
42019 LIBS="-lm $LIBS"
42020 if test x$gcc_no_link = xyes; then
42021 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
42023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42024 /* end confdefs.h. */
42026 /* Override any GCC internal prototype to avoid an error.
42027 Use char because int might match the return type of a GCC
42028 builtin and then its argument prototype would still apply. */
42029 #ifdef __cplusplus
42030 extern "C"
42031 #endif
42032 char sin ();
42034 main ()
42036 return sin ();
42038 return 0;
42040 _ACEOF
42041 if ac_fn_c_try_link "$LINENO"; then :
42042 ac_cv_lib_m_sin=yes
42043 else
42044 ac_cv_lib_m_sin=no
42046 rm -f core conftest.err conftest.$ac_objext \
42047 conftest$ac_exeext conftest.$ac_ext
42048 LIBS=$ac_check_lib_save_LIBS
42050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
42051 $as_echo "$ac_cv_lib_m_sin" >&6; }
42052 if test "x$ac_cv_lib_m_sin" = xyes; then :
42053 libm="-lm"
42056 ac_save_LIBS="$LIBS"
42057 LIBS="$LIBS $libm"
42061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
42062 $as_echo_n "checking for isinf declaration... " >&6; }
42063 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
42064 if ${glibcxx_cv_func_isinf_use+:} false; then :
42065 $as_echo_n "(cached) " >&6
42066 else
42069 ac_ext=cpp
42070 ac_cpp='$CXXCPP $CPPFLAGS'
42071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42076 /* end confdefs.h. */
42077 #include <math.h>
42078 #ifdef HAVE_IEEEFP_H
42079 #include <ieeefp.h>
42080 #endif
42083 main ()
42085 isinf(0);
42087 return 0;
42089 _ACEOF
42090 if ac_fn_cxx_try_compile "$LINENO"; then :
42091 glibcxx_cv_func_isinf_use=yes
42092 else
42093 glibcxx_cv_func_isinf_use=no
42095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42096 ac_ext=c
42097 ac_cpp='$CPP $CPPFLAGS'
42098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
42107 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
42109 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
42110 for ac_func in isinf
42111 do :
42112 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
42113 if test "x$ac_cv_func_isinf" = xyes; then :
42114 cat >>confdefs.h <<_ACEOF
42115 #define HAVE_ISINF 1
42116 _ACEOF
42119 done
42121 else
42123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
42124 $as_echo_n "checking for _isinf declaration... " >&6; }
42125 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
42126 if ${glibcxx_cv_func__isinf_use+:} false; then :
42127 $as_echo_n "(cached) " >&6
42128 else
42131 ac_ext=cpp
42132 ac_cpp='$CXXCPP $CPPFLAGS'
42133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42138 /* end confdefs.h. */
42139 #include <math.h>
42140 #ifdef HAVE_IEEEFP_H
42141 #include <ieeefp.h>
42142 #endif
42145 main ()
42147 _isinf(0);
42149 return 0;
42151 _ACEOF
42152 if ac_fn_cxx_try_compile "$LINENO"; then :
42153 glibcxx_cv_func__isinf_use=yes
42154 else
42155 glibcxx_cv_func__isinf_use=no
42157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42158 ac_ext=c
42159 ac_cpp='$CPP $CPPFLAGS'
42160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
42169 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
42171 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
42172 for ac_func in _isinf
42173 do :
42174 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
42175 if test "x$ac_cv_func__isinf" = xyes; then :
42176 cat >>confdefs.h <<_ACEOF
42177 #define HAVE__ISINF 1
42178 _ACEOF
42181 done
42190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
42191 $as_echo_n "checking for isnan declaration... " >&6; }
42192 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
42193 if ${glibcxx_cv_func_isnan_use+:} false; then :
42194 $as_echo_n "(cached) " >&6
42195 else
42198 ac_ext=cpp
42199 ac_cpp='$CXXCPP $CPPFLAGS'
42200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42205 /* end confdefs.h. */
42206 #include <math.h>
42207 #ifdef HAVE_IEEEFP_H
42208 #include <ieeefp.h>
42209 #endif
42212 main ()
42214 isnan(0);
42216 return 0;
42218 _ACEOF
42219 if ac_fn_cxx_try_compile "$LINENO"; then :
42220 glibcxx_cv_func_isnan_use=yes
42221 else
42222 glibcxx_cv_func_isnan_use=no
42224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42225 ac_ext=c
42226 ac_cpp='$CPP $CPPFLAGS'
42227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
42236 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
42238 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
42239 for ac_func in isnan
42240 do :
42241 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
42242 if test "x$ac_cv_func_isnan" = xyes; then :
42243 cat >>confdefs.h <<_ACEOF
42244 #define HAVE_ISNAN 1
42245 _ACEOF
42248 done
42250 else
42252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
42253 $as_echo_n "checking for _isnan declaration... " >&6; }
42254 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
42255 if ${glibcxx_cv_func__isnan_use+:} false; then :
42256 $as_echo_n "(cached) " >&6
42257 else
42260 ac_ext=cpp
42261 ac_cpp='$CXXCPP $CPPFLAGS'
42262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42267 /* end confdefs.h. */
42268 #include <math.h>
42269 #ifdef HAVE_IEEEFP_H
42270 #include <ieeefp.h>
42271 #endif
42274 main ()
42276 _isnan(0);
42278 return 0;
42280 _ACEOF
42281 if ac_fn_cxx_try_compile "$LINENO"; then :
42282 glibcxx_cv_func__isnan_use=yes
42283 else
42284 glibcxx_cv_func__isnan_use=no
42286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42287 ac_ext=c
42288 ac_cpp='$CPP $CPPFLAGS'
42289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
42298 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
42300 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
42301 for ac_func in _isnan
42302 do :
42303 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
42304 if test "x$ac_cv_func__isnan" = xyes; then :
42305 cat >>confdefs.h <<_ACEOF
42306 #define HAVE__ISNAN 1
42307 _ACEOF
42310 done
42319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
42320 $as_echo_n "checking for finite declaration... " >&6; }
42321 if test x${glibcxx_cv_func_finite_use+set} != xset; then
42322 if ${glibcxx_cv_func_finite_use+:} false; then :
42323 $as_echo_n "(cached) " >&6
42324 else
42327 ac_ext=cpp
42328 ac_cpp='$CXXCPP $CPPFLAGS'
42329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42334 /* end confdefs.h. */
42335 #include <math.h>
42336 #ifdef HAVE_IEEEFP_H
42337 #include <ieeefp.h>
42338 #endif
42341 main ()
42343 finite(0);
42345 return 0;
42347 _ACEOF
42348 if ac_fn_cxx_try_compile "$LINENO"; then :
42349 glibcxx_cv_func_finite_use=yes
42350 else
42351 glibcxx_cv_func_finite_use=no
42353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42354 ac_ext=c
42355 ac_cpp='$CPP $CPPFLAGS'
42356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
42365 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
42367 if test x$glibcxx_cv_func_finite_use = x"yes"; then
42368 for ac_func in finite
42369 do :
42370 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
42371 if test "x$ac_cv_func_finite" = xyes; then :
42372 cat >>confdefs.h <<_ACEOF
42373 #define HAVE_FINITE 1
42374 _ACEOF
42377 done
42379 else
42381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
42382 $as_echo_n "checking for _finite declaration... " >&6; }
42383 if test x${glibcxx_cv_func__finite_use+set} != xset; then
42384 if ${glibcxx_cv_func__finite_use+:} false; then :
42385 $as_echo_n "(cached) " >&6
42386 else
42389 ac_ext=cpp
42390 ac_cpp='$CXXCPP $CPPFLAGS'
42391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42396 /* end confdefs.h. */
42397 #include <math.h>
42398 #ifdef HAVE_IEEEFP_H
42399 #include <ieeefp.h>
42400 #endif
42403 main ()
42405 _finite(0);
42407 return 0;
42409 _ACEOF
42410 if ac_fn_cxx_try_compile "$LINENO"; then :
42411 glibcxx_cv_func__finite_use=yes
42412 else
42413 glibcxx_cv_func__finite_use=no
42415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42416 ac_ext=c
42417 ac_cpp='$CPP $CPPFLAGS'
42418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
42427 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
42429 if test x$glibcxx_cv_func__finite_use = x"yes"; then
42430 for ac_func in _finite
42431 do :
42432 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
42433 if test "x$ac_cv_func__finite" = xyes; then :
42434 cat >>confdefs.h <<_ACEOF
42435 #define HAVE__FINITE 1
42436 _ACEOF
42439 done
42448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
42449 $as_echo_n "checking for sincos declaration... " >&6; }
42450 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
42451 if ${glibcxx_cv_func_sincos_use+:} false; then :
42452 $as_echo_n "(cached) " >&6
42453 else
42456 ac_ext=cpp
42457 ac_cpp='$CXXCPP $CPPFLAGS'
42458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42463 /* end confdefs.h. */
42464 #include <math.h>
42466 main ()
42468 sincos(0, 0, 0);
42470 return 0;
42472 _ACEOF
42473 if ac_fn_cxx_try_compile "$LINENO"; then :
42474 glibcxx_cv_func_sincos_use=yes
42475 else
42476 glibcxx_cv_func_sincos_use=no
42478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42479 ac_ext=c
42480 ac_cpp='$CPP $CPPFLAGS'
42481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
42490 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
42492 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
42493 for ac_func in sincos
42494 do :
42495 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
42496 if test "x$ac_cv_func_sincos" = xyes; then :
42497 cat >>confdefs.h <<_ACEOF
42498 #define HAVE_SINCOS 1
42499 _ACEOF
42502 done
42504 else
42506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
42507 $as_echo_n "checking for _sincos declaration... " >&6; }
42508 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
42509 if ${glibcxx_cv_func__sincos_use+:} false; then :
42510 $as_echo_n "(cached) " >&6
42511 else
42514 ac_ext=cpp
42515 ac_cpp='$CXXCPP $CPPFLAGS'
42516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42521 /* end confdefs.h. */
42522 #include <math.h>
42524 main ()
42526 _sincos(0, 0, 0);
42528 return 0;
42530 _ACEOF
42531 if ac_fn_cxx_try_compile "$LINENO"; then :
42532 glibcxx_cv_func__sincos_use=yes
42533 else
42534 glibcxx_cv_func__sincos_use=no
42536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42537 ac_ext=c
42538 ac_cpp='$CPP $CPPFLAGS'
42539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
42548 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
42550 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
42551 for ac_func in _sincos
42552 do :
42553 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
42554 if test "x$ac_cv_func__sincos" = xyes; then :
42555 cat >>confdefs.h <<_ACEOF
42556 #define HAVE__SINCOS 1
42557 _ACEOF
42560 done
42569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
42570 $as_echo_n "checking for fpclass declaration... " >&6; }
42571 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
42572 if ${glibcxx_cv_func_fpclass_use+:} false; then :
42573 $as_echo_n "(cached) " >&6
42574 else
42577 ac_ext=cpp
42578 ac_cpp='$CXXCPP $CPPFLAGS'
42579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42584 /* end confdefs.h. */
42585 #include <math.h>
42586 #ifdef HAVE_IEEEFP_H
42587 #include <ieeefp.h>
42588 #endif
42591 main ()
42593 fpclass(0);
42595 return 0;
42597 _ACEOF
42598 if ac_fn_cxx_try_compile "$LINENO"; then :
42599 glibcxx_cv_func_fpclass_use=yes
42600 else
42601 glibcxx_cv_func_fpclass_use=no
42603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42604 ac_ext=c
42605 ac_cpp='$CPP $CPPFLAGS'
42606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
42615 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
42617 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
42618 for ac_func in fpclass
42619 do :
42620 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
42621 if test "x$ac_cv_func_fpclass" = xyes; then :
42622 cat >>confdefs.h <<_ACEOF
42623 #define HAVE_FPCLASS 1
42624 _ACEOF
42627 done
42629 else
42631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
42632 $as_echo_n "checking for _fpclass declaration... " >&6; }
42633 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
42634 if ${glibcxx_cv_func__fpclass_use+:} false; then :
42635 $as_echo_n "(cached) " >&6
42636 else
42639 ac_ext=cpp
42640 ac_cpp='$CXXCPP $CPPFLAGS'
42641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42646 /* end confdefs.h. */
42647 #include <math.h>
42648 #ifdef HAVE_IEEEFP_H
42649 #include <ieeefp.h>
42650 #endif
42653 main ()
42655 _fpclass(0);
42657 return 0;
42659 _ACEOF
42660 if ac_fn_cxx_try_compile "$LINENO"; then :
42661 glibcxx_cv_func__fpclass_use=yes
42662 else
42663 glibcxx_cv_func__fpclass_use=no
42665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42666 ac_ext=c
42667 ac_cpp='$CPP $CPPFLAGS'
42668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
42677 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
42679 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
42680 for ac_func in _fpclass
42681 do :
42682 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
42683 if test "x$ac_cv_func__fpclass" = xyes; then :
42684 cat >>confdefs.h <<_ACEOF
42685 #define HAVE__FPCLASS 1
42686 _ACEOF
42689 done
42698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42699 $as_echo_n "checking for qfpclass declaration... " >&6; }
42700 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42701 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
42702 $as_echo_n "(cached) " >&6
42703 else
42706 ac_ext=cpp
42707 ac_cpp='$CXXCPP $CPPFLAGS'
42708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42713 /* end confdefs.h. */
42714 #include <math.h>
42715 #ifdef HAVE_IEEEFP_H
42716 #include <ieeefp.h>
42717 #endif
42720 main ()
42722 qfpclass(0);
42724 return 0;
42726 _ACEOF
42727 if ac_fn_cxx_try_compile "$LINENO"; then :
42728 glibcxx_cv_func_qfpclass_use=yes
42729 else
42730 glibcxx_cv_func_qfpclass_use=no
42732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42733 ac_ext=c
42734 ac_cpp='$CPP $CPPFLAGS'
42735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42744 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42746 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42747 for ac_func in qfpclass
42748 do :
42749 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42750 if test "x$ac_cv_func_qfpclass" = xyes; then :
42751 cat >>confdefs.h <<_ACEOF
42752 #define HAVE_QFPCLASS 1
42753 _ACEOF
42756 done
42758 else
42760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42761 $as_echo_n "checking for _qfpclass declaration... " >&6; }
42762 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42763 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
42764 $as_echo_n "(cached) " >&6
42765 else
42768 ac_ext=cpp
42769 ac_cpp='$CXXCPP $CPPFLAGS'
42770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42775 /* end confdefs.h. */
42776 #include <math.h>
42777 #ifdef HAVE_IEEEFP_H
42778 #include <ieeefp.h>
42779 #endif
42782 main ()
42784 _qfpclass(0);
42786 return 0;
42788 _ACEOF
42789 if ac_fn_cxx_try_compile "$LINENO"; then :
42790 glibcxx_cv_func__qfpclass_use=yes
42791 else
42792 glibcxx_cv_func__qfpclass_use=no
42794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42795 ac_ext=c
42796 ac_cpp='$CPP $CPPFLAGS'
42797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42806 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42808 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42809 for ac_func in _qfpclass
42810 do :
42811 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42812 if test "x$ac_cv_func__qfpclass" = xyes; then :
42813 cat >>confdefs.h <<_ACEOF
42814 #define HAVE__QFPCLASS 1
42815 _ACEOF
42818 done
42827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42828 $as_echo_n "checking for hypot declaration... " >&6; }
42829 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42830 if ${glibcxx_cv_func_hypot_use+:} false; then :
42831 $as_echo_n "(cached) " >&6
42832 else
42835 ac_ext=cpp
42836 ac_cpp='$CXXCPP $CPPFLAGS'
42837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42842 /* end confdefs.h. */
42843 #include <math.h>
42845 main ()
42847 hypot(0, 0);
42849 return 0;
42851 _ACEOF
42852 if ac_fn_cxx_try_compile "$LINENO"; then :
42853 glibcxx_cv_func_hypot_use=yes
42854 else
42855 glibcxx_cv_func_hypot_use=no
42857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42858 ac_ext=c
42859 ac_cpp='$CPP $CPPFLAGS'
42860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42869 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42871 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42872 for ac_func in hypot
42873 do :
42874 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42875 if test "x$ac_cv_func_hypot" = xyes; then :
42876 cat >>confdefs.h <<_ACEOF
42877 #define HAVE_HYPOT 1
42878 _ACEOF
42881 done
42883 else
42885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42886 $as_echo_n "checking for _hypot declaration... " >&6; }
42887 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42888 if ${glibcxx_cv_func__hypot_use+:} false; then :
42889 $as_echo_n "(cached) " >&6
42890 else
42893 ac_ext=cpp
42894 ac_cpp='$CXXCPP $CPPFLAGS'
42895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42900 /* end confdefs.h. */
42901 #include <math.h>
42903 main ()
42905 _hypot(0, 0);
42907 return 0;
42909 _ACEOF
42910 if ac_fn_cxx_try_compile "$LINENO"; then :
42911 glibcxx_cv_func__hypot_use=yes
42912 else
42913 glibcxx_cv_func__hypot_use=no
42915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42916 ac_ext=c
42917 ac_cpp='$CPP $CPPFLAGS'
42918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42927 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42929 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42930 for ac_func in _hypot
42931 do :
42932 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42933 if test "x$ac_cv_func__hypot" = xyes; then :
42934 cat >>confdefs.h <<_ACEOF
42935 #define HAVE__HYPOT 1
42936 _ACEOF
42939 done
42948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42949 $as_echo_n "checking for float trig functions... " >&6; }
42950 if ${glibcxx_cv_func_float_trig_use+:} false; then :
42951 $as_echo_n "(cached) " >&6
42952 else
42955 ac_ext=cpp
42956 ac_cpp='$CXXCPP $CPPFLAGS'
42957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42962 /* end confdefs.h. */
42963 #include <math.h>
42965 main ()
42967 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42969 return 0;
42971 _ACEOF
42972 if ac_fn_cxx_try_compile "$LINENO"; then :
42973 glibcxx_cv_func_float_trig_use=yes
42974 else
42975 glibcxx_cv_func_float_trig_use=no
42977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42978 ac_ext=c
42979 ac_cpp='$CPP $CPPFLAGS'
42980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42987 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42988 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42989 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42990 do :
42991 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42992 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42993 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42994 cat >>confdefs.h <<_ACEOF
42995 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42996 _ACEOF
42999 done
43001 else
43002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
43003 $as_echo_n "checking for _float trig functions... " >&6; }
43004 if ${glibcxx_cv_func__float_trig_use+:} false; then :
43005 $as_echo_n "(cached) " >&6
43006 else
43009 ac_ext=cpp
43010 ac_cpp='$CXXCPP $CPPFLAGS'
43011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43016 /* end confdefs.h. */
43017 #include <math.h>
43019 main ()
43021 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
43023 return 0;
43025 _ACEOF
43026 if ac_fn_cxx_try_compile "$LINENO"; then :
43027 glibcxx_cv_func__float_trig_use=yes
43028 else
43029 glibcxx_cv_func__float_trig_use=no
43031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43032 ac_ext=c
43033 ac_cpp='$CPP $CPPFLAGS'
43034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
43041 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
43042 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
43043 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
43044 do :
43045 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43046 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43047 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
43048 cat >>confdefs.h <<_ACEOF
43049 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43050 _ACEOF
43053 done
43062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
43063 $as_echo_n "checking for float round functions... " >&6; }
43064 if ${glibcxx_cv_func_float_round_use+:} false; then :
43065 $as_echo_n "(cached) " >&6
43066 else
43069 ac_ext=cpp
43070 ac_cpp='$CXXCPP $CPPFLAGS'
43071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43076 /* end confdefs.h. */
43077 #include <math.h>
43079 main ()
43081 ceilf (0); floorf (0);
43083 return 0;
43085 _ACEOF
43086 if ac_fn_cxx_try_compile "$LINENO"; then :
43087 glibcxx_cv_func_float_round_use=yes
43088 else
43089 glibcxx_cv_func_float_round_use=no
43091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43092 ac_ext=c
43093 ac_cpp='$CPP $CPPFLAGS'
43094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
43101 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
43102 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
43103 for ac_func in ceilf floorf
43104 do :
43105 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43106 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43107 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
43108 cat >>confdefs.h <<_ACEOF
43109 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43110 _ACEOF
43113 done
43115 else
43116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
43117 $as_echo_n "checking for _float round functions... " >&6; }
43118 if ${glibcxx_cv_func__float_round_use+:} false; then :
43119 $as_echo_n "(cached) " >&6
43120 else
43123 ac_ext=cpp
43124 ac_cpp='$CXXCPP $CPPFLAGS'
43125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43130 /* end confdefs.h. */
43131 #include <math.h>
43133 main ()
43135 _ceilf (0); _floorf (0);
43137 return 0;
43139 _ACEOF
43140 if ac_fn_cxx_try_compile "$LINENO"; then :
43141 glibcxx_cv_func__float_round_use=yes
43142 else
43143 glibcxx_cv_func__float_round_use=no
43145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43146 ac_ext=c
43147 ac_cpp='$CPP $CPPFLAGS'
43148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
43155 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
43156 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
43157 for ac_func in _ceilf _floorf
43158 do :
43159 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43160 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43161 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
43162 cat >>confdefs.h <<_ACEOF
43163 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43164 _ACEOF
43167 done
43177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
43178 $as_echo_n "checking for expf declaration... " >&6; }
43179 if test x${glibcxx_cv_func_expf_use+set} != xset; then
43180 if ${glibcxx_cv_func_expf_use+:} false; then :
43181 $as_echo_n "(cached) " >&6
43182 else
43185 ac_ext=cpp
43186 ac_cpp='$CXXCPP $CPPFLAGS'
43187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43192 /* end confdefs.h. */
43193 #include <math.h>
43194 #ifdef HAVE_IEEEFP_H
43195 #include <ieeefp.h>
43196 #endif
43199 main ()
43201 expf(0);
43203 return 0;
43205 _ACEOF
43206 if ac_fn_cxx_try_compile "$LINENO"; then :
43207 glibcxx_cv_func_expf_use=yes
43208 else
43209 glibcxx_cv_func_expf_use=no
43211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43212 ac_ext=c
43213 ac_cpp='$CPP $CPPFLAGS'
43214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
43223 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
43225 if test x$glibcxx_cv_func_expf_use = x"yes"; then
43226 for ac_func in expf
43227 do :
43228 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
43229 if test "x$ac_cv_func_expf" = xyes; then :
43230 cat >>confdefs.h <<_ACEOF
43231 #define HAVE_EXPF 1
43232 _ACEOF
43235 done
43237 else
43239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
43240 $as_echo_n "checking for _expf declaration... " >&6; }
43241 if test x${glibcxx_cv_func__expf_use+set} != xset; then
43242 if ${glibcxx_cv_func__expf_use+:} false; then :
43243 $as_echo_n "(cached) " >&6
43244 else
43247 ac_ext=cpp
43248 ac_cpp='$CXXCPP $CPPFLAGS'
43249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43254 /* end confdefs.h. */
43255 #include <math.h>
43256 #ifdef HAVE_IEEEFP_H
43257 #include <ieeefp.h>
43258 #endif
43261 main ()
43263 _expf(0);
43265 return 0;
43267 _ACEOF
43268 if ac_fn_cxx_try_compile "$LINENO"; then :
43269 glibcxx_cv_func__expf_use=yes
43270 else
43271 glibcxx_cv_func__expf_use=no
43273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43274 ac_ext=c
43275 ac_cpp='$CPP $CPPFLAGS'
43276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
43285 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
43287 if test x$glibcxx_cv_func__expf_use = x"yes"; then
43288 for ac_func in _expf
43289 do :
43290 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
43291 if test "x$ac_cv_func__expf" = xyes; then :
43292 cat >>confdefs.h <<_ACEOF
43293 #define HAVE__EXPF 1
43294 _ACEOF
43297 done
43306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
43307 $as_echo_n "checking for isnanf declaration... " >&6; }
43308 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
43309 if ${glibcxx_cv_func_isnanf_use+:} false; then :
43310 $as_echo_n "(cached) " >&6
43311 else
43314 ac_ext=cpp
43315 ac_cpp='$CXXCPP $CPPFLAGS'
43316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43321 /* end confdefs.h. */
43322 #include <math.h>
43323 #ifdef HAVE_IEEEFP_H
43324 #include <ieeefp.h>
43325 #endif
43328 main ()
43330 isnanf(0);
43332 return 0;
43334 _ACEOF
43335 if ac_fn_cxx_try_compile "$LINENO"; then :
43336 glibcxx_cv_func_isnanf_use=yes
43337 else
43338 glibcxx_cv_func_isnanf_use=no
43340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43341 ac_ext=c
43342 ac_cpp='$CPP $CPPFLAGS'
43343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
43352 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
43354 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
43355 for ac_func in isnanf
43356 do :
43357 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
43358 if test "x$ac_cv_func_isnanf" = xyes; then :
43359 cat >>confdefs.h <<_ACEOF
43360 #define HAVE_ISNANF 1
43361 _ACEOF
43364 done
43366 else
43368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
43369 $as_echo_n "checking for _isnanf declaration... " >&6; }
43370 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
43371 if ${glibcxx_cv_func__isnanf_use+:} false; then :
43372 $as_echo_n "(cached) " >&6
43373 else
43376 ac_ext=cpp
43377 ac_cpp='$CXXCPP $CPPFLAGS'
43378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43383 /* end confdefs.h. */
43384 #include <math.h>
43385 #ifdef HAVE_IEEEFP_H
43386 #include <ieeefp.h>
43387 #endif
43390 main ()
43392 _isnanf(0);
43394 return 0;
43396 _ACEOF
43397 if ac_fn_cxx_try_compile "$LINENO"; then :
43398 glibcxx_cv_func__isnanf_use=yes
43399 else
43400 glibcxx_cv_func__isnanf_use=no
43402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43403 ac_ext=c
43404 ac_cpp='$CPP $CPPFLAGS'
43405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
43414 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
43416 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
43417 for ac_func in _isnanf
43418 do :
43419 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
43420 if test "x$ac_cv_func__isnanf" = xyes; then :
43421 cat >>confdefs.h <<_ACEOF
43422 #define HAVE__ISNANF 1
43423 _ACEOF
43426 done
43435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
43436 $as_echo_n "checking for isinff declaration... " >&6; }
43437 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
43438 if ${glibcxx_cv_func_isinff_use+:} false; then :
43439 $as_echo_n "(cached) " >&6
43440 else
43443 ac_ext=cpp
43444 ac_cpp='$CXXCPP $CPPFLAGS'
43445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43450 /* end confdefs.h. */
43451 #include <math.h>
43452 #ifdef HAVE_IEEEFP_H
43453 #include <ieeefp.h>
43454 #endif
43457 main ()
43459 isinff(0);
43461 return 0;
43463 _ACEOF
43464 if ac_fn_cxx_try_compile "$LINENO"; then :
43465 glibcxx_cv_func_isinff_use=yes
43466 else
43467 glibcxx_cv_func_isinff_use=no
43469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43470 ac_ext=c
43471 ac_cpp='$CPP $CPPFLAGS'
43472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
43481 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
43483 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
43484 for ac_func in isinff
43485 do :
43486 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
43487 if test "x$ac_cv_func_isinff" = xyes; then :
43488 cat >>confdefs.h <<_ACEOF
43489 #define HAVE_ISINFF 1
43490 _ACEOF
43493 done
43495 else
43497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
43498 $as_echo_n "checking for _isinff declaration... " >&6; }
43499 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
43500 if ${glibcxx_cv_func__isinff_use+:} false; then :
43501 $as_echo_n "(cached) " >&6
43502 else
43505 ac_ext=cpp
43506 ac_cpp='$CXXCPP $CPPFLAGS'
43507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43512 /* end confdefs.h. */
43513 #include <math.h>
43514 #ifdef HAVE_IEEEFP_H
43515 #include <ieeefp.h>
43516 #endif
43519 main ()
43521 _isinff(0);
43523 return 0;
43525 _ACEOF
43526 if ac_fn_cxx_try_compile "$LINENO"; then :
43527 glibcxx_cv_func__isinff_use=yes
43528 else
43529 glibcxx_cv_func__isinff_use=no
43531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43532 ac_ext=c
43533 ac_cpp='$CPP $CPPFLAGS'
43534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
43543 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
43545 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
43546 for ac_func in _isinff
43547 do :
43548 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
43549 if test "x$ac_cv_func__isinff" = xyes; then :
43550 cat >>confdefs.h <<_ACEOF
43551 #define HAVE__ISINFF 1
43552 _ACEOF
43555 done
43564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
43565 $as_echo_n "checking for atan2f declaration... " >&6; }
43566 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
43567 if ${glibcxx_cv_func_atan2f_use+:} false; then :
43568 $as_echo_n "(cached) " >&6
43569 else
43572 ac_ext=cpp
43573 ac_cpp='$CXXCPP $CPPFLAGS'
43574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43579 /* end confdefs.h. */
43580 #include <math.h>
43582 main ()
43584 atan2f(0, 0);
43586 return 0;
43588 _ACEOF
43589 if ac_fn_cxx_try_compile "$LINENO"; then :
43590 glibcxx_cv_func_atan2f_use=yes
43591 else
43592 glibcxx_cv_func_atan2f_use=no
43594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43595 ac_ext=c
43596 ac_cpp='$CPP $CPPFLAGS'
43597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
43606 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
43608 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
43609 for ac_func in atan2f
43610 do :
43611 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
43612 if test "x$ac_cv_func_atan2f" = xyes; then :
43613 cat >>confdefs.h <<_ACEOF
43614 #define HAVE_ATAN2F 1
43615 _ACEOF
43618 done
43620 else
43622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
43623 $as_echo_n "checking for _atan2f declaration... " >&6; }
43624 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
43625 if ${glibcxx_cv_func__atan2f_use+:} false; then :
43626 $as_echo_n "(cached) " >&6
43627 else
43630 ac_ext=cpp
43631 ac_cpp='$CXXCPP $CPPFLAGS'
43632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43637 /* end confdefs.h. */
43638 #include <math.h>
43640 main ()
43642 _atan2f(0, 0);
43644 return 0;
43646 _ACEOF
43647 if ac_fn_cxx_try_compile "$LINENO"; then :
43648 glibcxx_cv_func__atan2f_use=yes
43649 else
43650 glibcxx_cv_func__atan2f_use=no
43652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43653 ac_ext=c
43654 ac_cpp='$CPP $CPPFLAGS'
43655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
43664 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
43666 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
43667 for ac_func in _atan2f
43668 do :
43669 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
43670 if test "x$ac_cv_func__atan2f" = xyes; then :
43671 cat >>confdefs.h <<_ACEOF
43672 #define HAVE__ATAN2F 1
43673 _ACEOF
43676 done
43685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43686 $as_echo_n "checking for fabsf declaration... " >&6; }
43687 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43688 if ${glibcxx_cv_func_fabsf_use+:} false; then :
43689 $as_echo_n "(cached) " >&6
43690 else
43693 ac_ext=cpp
43694 ac_cpp='$CXXCPP $CPPFLAGS'
43695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43700 /* end confdefs.h. */
43701 #include <math.h>
43702 #ifdef HAVE_IEEEFP_H
43703 #include <ieeefp.h>
43704 #endif
43707 main ()
43709 fabsf(0);
43711 return 0;
43713 _ACEOF
43714 if ac_fn_cxx_try_compile "$LINENO"; then :
43715 glibcxx_cv_func_fabsf_use=yes
43716 else
43717 glibcxx_cv_func_fabsf_use=no
43719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43720 ac_ext=c
43721 ac_cpp='$CPP $CPPFLAGS'
43722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43731 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43733 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43734 for ac_func in fabsf
43735 do :
43736 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43737 if test "x$ac_cv_func_fabsf" = xyes; then :
43738 cat >>confdefs.h <<_ACEOF
43739 #define HAVE_FABSF 1
43740 _ACEOF
43743 done
43745 else
43747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43748 $as_echo_n "checking for _fabsf declaration... " >&6; }
43749 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43750 if ${glibcxx_cv_func__fabsf_use+:} false; then :
43751 $as_echo_n "(cached) " >&6
43752 else
43755 ac_ext=cpp
43756 ac_cpp='$CXXCPP $CPPFLAGS'
43757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43762 /* end confdefs.h. */
43763 #include <math.h>
43764 #ifdef HAVE_IEEEFP_H
43765 #include <ieeefp.h>
43766 #endif
43769 main ()
43771 _fabsf(0);
43773 return 0;
43775 _ACEOF
43776 if ac_fn_cxx_try_compile "$LINENO"; then :
43777 glibcxx_cv_func__fabsf_use=yes
43778 else
43779 glibcxx_cv_func__fabsf_use=no
43781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43782 ac_ext=c
43783 ac_cpp='$CPP $CPPFLAGS'
43784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43793 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43795 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43796 for ac_func in _fabsf
43797 do :
43798 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43799 if test "x$ac_cv_func__fabsf" = xyes; then :
43800 cat >>confdefs.h <<_ACEOF
43801 #define HAVE__FABSF 1
43802 _ACEOF
43805 done
43814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43815 $as_echo_n "checking for fmodf declaration... " >&6; }
43816 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43817 if ${glibcxx_cv_func_fmodf_use+:} false; then :
43818 $as_echo_n "(cached) " >&6
43819 else
43822 ac_ext=cpp
43823 ac_cpp='$CXXCPP $CPPFLAGS'
43824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43829 /* end confdefs.h. */
43830 #include <math.h>
43832 main ()
43834 fmodf(0, 0);
43836 return 0;
43838 _ACEOF
43839 if ac_fn_cxx_try_compile "$LINENO"; then :
43840 glibcxx_cv_func_fmodf_use=yes
43841 else
43842 glibcxx_cv_func_fmodf_use=no
43844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43845 ac_ext=c
43846 ac_cpp='$CPP $CPPFLAGS'
43847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43856 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43858 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43859 for ac_func in fmodf
43860 do :
43861 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43862 if test "x$ac_cv_func_fmodf" = xyes; then :
43863 cat >>confdefs.h <<_ACEOF
43864 #define HAVE_FMODF 1
43865 _ACEOF
43868 done
43870 else
43872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43873 $as_echo_n "checking for _fmodf declaration... " >&6; }
43874 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43875 if ${glibcxx_cv_func__fmodf_use+:} false; then :
43876 $as_echo_n "(cached) " >&6
43877 else
43880 ac_ext=cpp
43881 ac_cpp='$CXXCPP $CPPFLAGS'
43882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43887 /* end confdefs.h. */
43888 #include <math.h>
43890 main ()
43892 _fmodf(0, 0);
43894 return 0;
43896 _ACEOF
43897 if ac_fn_cxx_try_compile "$LINENO"; then :
43898 glibcxx_cv_func__fmodf_use=yes
43899 else
43900 glibcxx_cv_func__fmodf_use=no
43902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43903 ac_ext=c
43904 ac_cpp='$CPP $CPPFLAGS'
43905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43914 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43916 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43917 for ac_func in _fmodf
43918 do :
43919 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43920 if test "x$ac_cv_func__fmodf" = xyes; then :
43921 cat >>confdefs.h <<_ACEOF
43922 #define HAVE__FMODF 1
43923 _ACEOF
43926 done
43935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43936 $as_echo_n "checking for frexpf declaration... " >&6; }
43937 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43938 if ${glibcxx_cv_func_frexpf_use+:} false; then :
43939 $as_echo_n "(cached) " >&6
43940 else
43943 ac_ext=cpp
43944 ac_cpp='$CXXCPP $CPPFLAGS'
43945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43950 /* end confdefs.h. */
43951 #include <math.h>
43953 main ()
43955 frexpf(0, 0);
43957 return 0;
43959 _ACEOF
43960 if ac_fn_cxx_try_compile "$LINENO"; then :
43961 glibcxx_cv_func_frexpf_use=yes
43962 else
43963 glibcxx_cv_func_frexpf_use=no
43965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43966 ac_ext=c
43967 ac_cpp='$CPP $CPPFLAGS'
43968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43977 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43979 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43980 for ac_func in frexpf
43981 do :
43982 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43983 if test "x$ac_cv_func_frexpf" = xyes; then :
43984 cat >>confdefs.h <<_ACEOF
43985 #define HAVE_FREXPF 1
43986 _ACEOF
43989 done
43991 else
43993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43994 $as_echo_n "checking for _frexpf declaration... " >&6; }
43995 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43996 if ${glibcxx_cv_func__frexpf_use+:} false; then :
43997 $as_echo_n "(cached) " >&6
43998 else
44001 ac_ext=cpp
44002 ac_cpp='$CXXCPP $CPPFLAGS'
44003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44008 /* end confdefs.h. */
44009 #include <math.h>
44011 main ()
44013 _frexpf(0, 0);
44015 return 0;
44017 _ACEOF
44018 if ac_fn_cxx_try_compile "$LINENO"; then :
44019 glibcxx_cv_func__frexpf_use=yes
44020 else
44021 glibcxx_cv_func__frexpf_use=no
44023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44024 ac_ext=c
44025 ac_cpp='$CPP $CPPFLAGS'
44026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
44035 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
44037 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
44038 for ac_func in _frexpf
44039 do :
44040 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
44041 if test "x$ac_cv_func__frexpf" = xyes; then :
44042 cat >>confdefs.h <<_ACEOF
44043 #define HAVE__FREXPF 1
44044 _ACEOF
44047 done
44056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
44057 $as_echo_n "checking for hypotf declaration... " >&6; }
44058 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
44059 if ${glibcxx_cv_func_hypotf_use+:} false; then :
44060 $as_echo_n "(cached) " >&6
44061 else
44064 ac_ext=cpp
44065 ac_cpp='$CXXCPP $CPPFLAGS'
44066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44071 /* end confdefs.h. */
44072 #include <math.h>
44074 main ()
44076 hypotf(0, 0);
44078 return 0;
44080 _ACEOF
44081 if ac_fn_cxx_try_compile "$LINENO"; then :
44082 glibcxx_cv_func_hypotf_use=yes
44083 else
44084 glibcxx_cv_func_hypotf_use=no
44086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44087 ac_ext=c
44088 ac_cpp='$CPP $CPPFLAGS'
44089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
44098 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
44100 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
44101 for ac_func in hypotf
44102 do :
44103 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
44104 if test "x$ac_cv_func_hypotf" = xyes; then :
44105 cat >>confdefs.h <<_ACEOF
44106 #define HAVE_HYPOTF 1
44107 _ACEOF
44110 done
44112 else
44114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
44115 $as_echo_n "checking for _hypotf declaration... " >&6; }
44116 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
44117 if ${glibcxx_cv_func__hypotf_use+:} false; then :
44118 $as_echo_n "(cached) " >&6
44119 else
44122 ac_ext=cpp
44123 ac_cpp='$CXXCPP $CPPFLAGS'
44124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44129 /* end confdefs.h. */
44130 #include <math.h>
44132 main ()
44134 _hypotf(0, 0);
44136 return 0;
44138 _ACEOF
44139 if ac_fn_cxx_try_compile "$LINENO"; then :
44140 glibcxx_cv_func__hypotf_use=yes
44141 else
44142 glibcxx_cv_func__hypotf_use=no
44144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44145 ac_ext=c
44146 ac_cpp='$CPP $CPPFLAGS'
44147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
44156 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
44158 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
44159 for ac_func in _hypotf
44160 do :
44161 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
44162 if test "x$ac_cv_func__hypotf" = xyes; then :
44163 cat >>confdefs.h <<_ACEOF
44164 #define HAVE__HYPOTF 1
44165 _ACEOF
44168 done
44177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
44178 $as_echo_n "checking for ldexpf declaration... " >&6; }
44179 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
44180 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
44181 $as_echo_n "(cached) " >&6
44182 else
44185 ac_ext=cpp
44186 ac_cpp='$CXXCPP $CPPFLAGS'
44187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44192 /* end confdefs.h. */
44193 #include <math.h>
44195 main ()
44197 ldexpf(0, 0);
44199 return 0;
44201 _ACEOF
44202 if ac_fn_cxx_try_compile "$LINENO"; then :
44203 glibcxx_cv_func_ldexpf_use=yes
44204 else
44205 glibcxx_cv_func_ldexpf_use=no
44207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44208 ac_ext=c
44209 ac_cpp='$CPP $CPPFLAGS'
44210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
44219 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
44221 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
44222 for ac_func in ldexpf
44223 do :
44224 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
44225 if test "x$ac_cv_func_ldexpf" = xyes; then :
44226 cat >>confdefs.h <<_ACEOF
44227 #define HAVE_LDEXPF 1
44228 _ACEOF
44231 done
44233 else
44235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
44236 $as_echo_n "checking for _ldexpf declaration... " >&6; }
44237 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
44238 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
44239 $as_echo_n "(cached) " >&6
44240 else
44243 ac_ext=cpp
44244 ac_cpp='$CXXCPP $CPPFLAGS'
44245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44250 /* end confdefs.h. */
44251 #include <math.h>
44253 main ()
44255 _ldexpf(0, 0);
44257 return 0;
44259 _ACEOF
44260 if ac_fn_cxx_try_compile "$LINENO"; then :
44261 glibcxx_cv_func__ldexpf_use=yes
44262 else
44263 glibcxx_cv_func__ldexpf_use=no
44265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44266 ac_ext=c
44267 ac_cpp='$CPP $CPPFLAGS'
44268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
44277 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
44279 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
44280 for ac_func in _ldexpf
44281 do :
44282 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
44283 if test "x$ac_cv_func__ldexpf" = xyes; then :
44284 cat >>confdefs.h <<_ACEOF
44285 #define HAVE__LDEXPF 1
44286 _ACEOF
44289 done
44298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
44299 $as_echo_n "checking for logf declaration... " >&6; }
44300 if test x${glibcxx_cv_func_logf_use+set} != xset; then
44301 if ${glibcxx_cv_func_logf_use+:} false; then :
44302 $as_echo_n "(cached) " >&6
44303 else
44306 ac_ext=cpp
44307 ac_cpp='$CXXCPP $CPPFLAGS'
44308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44313 /* end confdefs.h. */
44314 #include <math.h>
44315 #ifdef HAVE_IEEEFP_H
44316 #include <ieeefp.h>
44317 #endif
44320 main ()
44322 logf(0);
44324 return 0;
44326 _ACEOF
44327 if ac_fn_cxx_try_compile "$LINENO"; then :
44328 glibcxx_cv_func_logf_use=yes
44329 else
44330 glibcxx_cv_func_logf_use=no
44332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44333 ac_ext=c
44334 ac_cpp='$CPP $CPPFLAGS'
44335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
44344 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
44346 if test x$glibcxx_cv_func_logf_use = x"yes"; then
44347 for ac_func in logf
44348 do :
44349 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
44350 if test "x$ac_cv_func_logf" = xyes; then :
44351 cat >>confdefs.h <<_ACEOF
44352 #define HAVE_LOGF 1
44353 _ACEOF
44356 done
44358 else
44360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
44361 $as_echo_n "checking for _logf declaration... " >&6; }
44362 if test x${glibcxx_cv_func__logf_use+set} != xset; then
44363 if ${glibcxx_cv_func__logf_use+:} false; then :
44364 $as_echo_n "(cached) " >&6
44365 else
44368 ac_ext=cpp
44369 ac_cpp='$CXXCPP $CPPFLAGS'
44370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44375 /* end confdefs.h. */
44376 #include <math.h>
44377 #ifdef HAVE_IEEEFP_H
44378 #include <ieeefp.h>
44379 #endif
44382 main ()
44384 _logf(0);
44386 return 0;
44388 _ACEOF
44389 if ac_fn_cxx_try_compile "$LINENO"; then :
44390 glibcxx_cv_func__logf_use=yes
44391 else
44392 glibcxx_cv_func__logf_use=no
44394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44395 ac_ext=c
44396 ac_cpp='$CPP $CPPFLAGS'
44397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
44406 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
44408 if test x$glibcxx_cv_func__logf_use = x"yes"; then
44409 for ac_func in _logf
44410 do :
44411 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
44412 if test "x$ac_cv_func__logf" = xyes; then :
44413 cat >>confdefs.h <<_ACEOF
44414 #define HAVE__LOGF 1
44415 _ACEOF
44418 done
44427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
44428 $as_echo_n "checking for log10f declaration... " >&6; }
44429 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
44430 if ${glibcxx_cv_func_log10f_use+:} false; then :
44431 $as_echo_n "(cached) " >&6
44432 else
44435 ac_ext=cpp
44436 ac_cpp='$CXXCPP $CPPFLAGS'
44437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44442 /* end confdefs.h. */
44443 #include <math.h>
44444 #ifdef HAVE_IEEEFP_H
44445 #include <ieeefp.h>
44446 #endif
44449 main ()
44451 log10f(0);
44453 return 0;
44455 _ACEOF
44456 if ac_fn_cxx_try_compile "$LINENO"; then :
44457 glibcxx_cv_func_log10f_use=yes
44458 else
44459 glibcxx_cv_func_log10f_use=no
44461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44462 ac_ext=c
44463 ac_cpp='$CPP $CPPFLAGS'
44464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
44473 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
44475 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
44476 for ac_func in log10f
44477 do :
44478 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
44479 if test "x$ac_cv_func_log10f" = xyes; then :
44480 cat >>confdefs.h <<_ACEOF
44481 #define HAVE_LOG10F 1
44482 _ACEOF
44485 done
44487 else
44489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
44490 $as_echo_n "checking for _log10f declaration... " >&6; }
44491 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
44492 if ${glibcxx_cv_func__log10f_use+:} false; then :
44493 $as_echo_n "(cached) " >&6
44494 else
44497 ac_ext=cpp
44498 ac_cpp='$CXXCPP $CPPFLAGS'
44499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44504 /* end confdefs.h. */
44505 #include <math.h>
44506 #ifdef HAVE_IEEEFP_H
44507 #include <ieeefp.h>
44508 #endif
44511 main ()
44513 _log10f(0);
44515 return 0;
44517 _ACEOF
44518 if ac_fn_cxx_try_compile "$LINENO"; then :
44519 glibcxx_cv_func__log10f_use=yes
44520 else
44521 glibcxx_cv_func__log10f_use=no
44523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44524 ac_ext=c
44525 ac_cpp='$CPP $CPPFLAGS'
44526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
44535 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
44537 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
44538 for ac_func in _log10f
44539 do :
44540 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
44541 if test "x$ac_cv_func__log10f" = xyes; then :
44542 cat >>confdefs.h <<_ACEOF
44543 #define HAVE__LOG10F 1
44544 _ACEOF
44547 done
44556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
44557 $as_echo_n "checking for modff declaration... " >&6; }
44558 if test x${glibcxx_cv_func_modff_use+set} != xset; then
44559 if ${glibcxx_cv_func_modff_use+:} false; then :
44560 $as_echo_n "(cached) " >&6
44561 else
44564 ac_ext=cpp
44565 ac_cpp='$CXXCPP $CPPFLAGS'
44566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44571 /* end confdefs.h. */
44572 #include <math.h>
44574 main ()
44576 modff(0, 0);
44578 return 0;
44580 _ACEOF
44581 if ac_fn_cxx_try_compile "$LINENO"; then :
44582 glibcxx_cv_func_modff_use=yes
44583 else
44584 glibcxx_cv_func_modff_use=no
44586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44587 ac_ext=c
44588 ac_cpp='$CPP $CPPFLAGS'
44589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
44598 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
44600 if test x$glibcxx_cv_func_modff_use = x"yes"; then
44601 for ac_func in modff
44602 do :
44603 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
44604 if test "x$ac_cv_func_modff" = xyes; then :
44605 cat >>confdefs.h <<_ACEOF
44606 #define HAVE_MODFF 1
44607 _ACEOF
44610 done
44612 else
44614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
44615 $as_echo_n "checking for _modff declaration... " >&6; }
44616 if test x${glibcxx_cv_func__modff_use+set} != xset; then
44617 if ${glibcxx_cv_func__modff_use+:} false; then :
44618 $as_echo_n "(cached) " >&6
44619 else
44622 ac_ext=cpp
44623 ac_cpp='$CXXCPP $CPPFLAGS'
44624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44629 /* end confdefs.h. */
44630 #include <math.h>
44632 main ()
44634 _modff(0, 0);
44636 return 0;
44638 _ACEOF
44639 if ac_fn_cxx_try_compile "$LINENO"; then :
44640 glibcxx_cv_func__modff_use=yes
44641 else
44642 glibcxx_cv_func__modff_use=no
44644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44645 ac_ext=c
44646 ac_cpp='$CPP $CPPFLAGS'
44647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
44656 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
44658 if test x$glibcxx_cv_func__modff_use = x"yes"; then
44659 for ac_func in _modff
44660 do :
44661 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
44662 if test "x$ac_cv_func__modff" = xyes; then :
44663 cat >>confdefs.h <<_ACEOF
44664 #define HAVE__MODFF 1
44665 _ACEOF
44668 done
44677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
44678 $as_echo_n "checking for modf declaration... " >&6; }
44679 if test x${glibcxx_cv_func_modf_use+set} != xset; then
44680 if ${glibcxx_cv_func_modf_use+:} false; then :
44681 $as_echo_n "(cached) " >&6
44682 else
44685 ac_ext=cpp
44686 ac_cpp='$CXXCPP $CPPFLAGS'
44687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44692 /* end confdefs.h. */
44693 #include <math.h>
44695 main ()
44697 modf(0, 0);
44699 return 0;
44701 _ACEOF
44702 if ac_fn_cxx_try_compile "$LINENO"; then :
44703 glibcxx_cv_func_modf_use=yes
44704 else
44705 glibcxx_cv_func_modf_use=no
44707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44708 ac_ext=c
44709 ac_cpp='$CPP $CPPFLAGS'
44710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44719 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
44721 if test x$glibcxx_cv_func_modf_use = x"yes"; then
44722 for ac_func in modf
44723 do :
44724 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44725 if test "x$ac_cv_func_modf" = xyes; then :
44726 cat >>confdefs.h <<_ACEOF
44727 #define HAVE_MODF 1
44728 _ACEOF
44731 done
44733 else
44735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44736 $as_echo_n "checking for _modf declaration... " >&6; }
44737 if test x${glibcxx_cv_func__modf_use+set} != xset; then
44738 if ${glibcxx_cv_func__modf_use+:} false; then :
44739 $as_echo_n "(cached) " >&6
44740 else
44743 ac_ext=cpp
44744 ac_cpp='$CXXCPP $CPPFLAGS'
44745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44750 /* end confdefs.h. */
44751 #include <math.h>
44753 main ()
44755 _modf(0, 0);
44757 return 0;
44759 _ACEOF
44760 if ac_fn_cxx_try_compile "$LINENO"; then :
44761 glibcxx_cv_func__modf_use=yes
44762 else
44763 glibcxx_cv_func__modf_use=no
44765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44766 ac_ext=c
44767 ac_cpp='$CPP $CPPFLAGS'
44768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44777 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
44779 if test x$glibcxx_cv_func__modf_use = x"yes"; then
44780 for ac_func in _modf
44781 do :
44782 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44783 if test "x$ac_cv_func__modf" = xyes; then :
44784 cat >>confdefs.h <<_ACEOF
44785 #define HAVE__MODF 1
44786 _ACEOF
44789 done
44798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44799 $as_echo_n "checking for powf declaration... " >&6; }
44800 if test x${glibcxx_cv_func_powf_use+set} != xset; then
44801 if ${glibcxx_cv_func_powf_use+:} false; then :
44802 $as_echo_n "(cached) " >&6
44803 else
44806 ac_ext=cpp
44807 ac_cpp='$CXXCPP $CPPFLAGS'
44808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44813 /* end confdefs.h. */
44814 #include <math.h>
44816 main ()
44818 powf(0, 0);
44820 return 0;
44822 _ACEOF
44823 if ac_fn_cxx_try_compile "$LINENO"; then :
44824 glibcxx_cv_func_powf_use=yes
44825 else
44826 glibcxx_cv_func_powf_use=no
44828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44829 ac_ext=c
44830 ac_cpp='$CPP $CPPFLAGS'
44831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44840 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
44842 if test x$glibcxx_cv_func_powf_use = x"yes"; then
44843 for ac_func in powf
44844 do :
44845 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44846 if test "x$ac_cv_func_powf" = xyes; then :
44847 cat >>confdefs.h <<_ACEOF
44848 #define HAVE_POWF 1
44849 _ACEOF
44852 done
44854 else
44856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44857 $as_echo_n "checking for _powf declaration... " >&6; }
44858 if test x${glibcxx_cv_func__powf_use+set} != xset; then
44859 if ${glibcxx_cv_func__powf_use+:} false; then :
44860 $as_echo_n "(cached) " >&6
44861 else
44864 ac_ext=cpp
44865 ac_cpp='$CXXCPP $CPPFLAGS'
44866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44871 /* end confdefs.h. */
44872 #include <math.h>
44874 main ()
44876 _powf(0, 0);
44878 return 0;
44880 _ACEOF
44881 if ac_fn_cxx_try_compile "$LINENO"; then :
44882 glibcxx_cv_func__powf_use=yes
44883 else
44884 glibcxx_cv_func__powf_use=no
44886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44887 ac_ext=c
44888 ac_cpp='$CPP $CPPFLAGS'
44889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44898 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44900 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44901 for ac_func in _powf
44902 do :
44903 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44904 if test "x$ac_cv_func__powf" = xyes; then :
44905 cat >>confdefs.h <<_ACEOF
44906 #define HAVE__POWF 1
44907 _ACEOF
44910 done
44919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44920 $as_echo_n "checking for sqrtf declaration... " >&6; }
44921 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44922 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
44923 $as_echo_n "(cached) " >&6
44924 else
44927 ac_ext=cpp
44928 ac_cpp='$CXXCPP $CPPFLAGS'
44929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44934 /* end confdefs.h. */
44935 #include <math.h>
44936 #ifdef HAVE_IEEEFP_H
44937 #include <ieeefp.h>
44938 #endif
44941 main ()
44943 sqrtf(0);
44945 return 0;
44947 _ACEOF
44948 if ac_fn_cxx_try_compile "$LINENO"; then :
44949 glibcxx_cv_func_sqrtf_use=yes
44950 else
44951 glibcxx_cv_func_sqrtf_use=no
44953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44954 ac_ext=c
44955 ac_cpp='$CPP $CPPFLAGS'
44956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44965 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44967 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44968 for ac_func in sqrtf
44969 do :
44970 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44971 if test "x$ac_cv_func_sqrtf" = xyes; then :
44972 cat >>confdefs.h <<_ACEOF
44973 #define HAVE_SQRTF 1
44974 _ACEOF
44977 done
44979 else
44981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44982 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44983 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44984 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
44985 $as_echo_n "(cached) " >&6
44986 else
44989 ac_ext=cpp
44990 ac_cpp='$CXXCPP $CPPFLAGS'
44991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44996 /* end confdefs.h. */
44997 #include <math.h>
44998 #ifdef HAVE_IEEEFP_H
44999 #include <ieeefp.h>
45000 #endif
45003 main ()
45005 _sqrtf(0);
45007 return 0;
45009 _ACEOF
45010 if ac_fn_cxx_try_compile "$LINENO"; then :
45011 glibcxx_cv_func__sqrtf_use=yes
45012 else
45013 glibcxx_cv_func__sqrtf_use=no
45015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45016 ac_ext=c
45017 ac_cpp='$CPP $CPPFLAGS'
45018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
45027 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
45029 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
45030 for ac_func in _sqrtf
45031 do :
45032 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
45033 if test "x$ac_cv_func__sqrtf" = xyes; then :
45034 cat >>confdefs.h <<_ACEOF
45035 #define HAVE__SQRTF 1
45036 _ACEOF
45039 done
45048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
45049 $as_echo_n "checking for sincosf declaration... " >&6; }
45050 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
45051 if ${glibcxx_cv_func_sincosf_use+:} false; then :
45052 $as_echo_n "(cached) " >&6
45053 else
45056 ac_ext=cpp
45057 ac_cpp='$CXXCPP $CPPFLAGS'
45058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45063 /* end confdefs.h. */
45064 #include <math.h>
45066 main ()
45068 sincosf(0, 0, 0);
45070 return 0;
45072 _ACEOF
45073 if ac_fn_cxx_try_compile "$LINENO"; then :
45074 glibcxx_cv_func_sincosf_use=yes
45075 else
45076 glibcxx_cv_func_sincosf_use=no
45078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45079 ac_ext=c
45080 ac_cpp='$CPP $CPPFLAGS'
45081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
45090 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
45092 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
45093 for ac_func in sincosf
45094 do :
45095 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
45096 if test "x$ac_cv_func_sincosf" = xyes; then :
45097 cat >>confdefs.h <<_ACEOF
45098 #define HAVE_SINCOSF 1
45099 _ACEOF
45102 done
45104 else
45106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
45107 $as_echo_n "checking for _sincosf declaration... " >&6; }
45108 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
45109 if ${glibcxx_cv_func__sincosf_use+:} false; then :
45110 $as_echo_n "(cached) " >&6
45111 else
45114 ac_ext=cpp
45115 ac_cpp='$CXXCPP $CPPFLAGS'
45116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45121 /* end confdefs.h. */
45122 #include <math.h>
45124 main ()
45126 _sincosf(0, 0, 0);
45128 return 0;
45130 _ACEOF
45131 if ac_fn_cxx_try_compile "$LINENO"; then :
45132 glibcxx_cv_func__sincosf_use=yes
45133 else
45134 glibcxx_cv_func__sincosf_use=no
45136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45137 ac_ext=c
45138 ac_cpp='$CPP $CPPFLAGS'
45139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
45148 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
45150 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
45151 for ac_func in _sincosf
45152 do :
45153 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
45154 if test "x$ac_cv_func__sincosf" = xyes; then :
45155 cat >>confdefs.h <<_ACEOF
45156 #define HAVE__SINCOSF 1
45157 _ACEOF
45160 done
45169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
45170 $as_echo_n "checking for finitef declaration... " >&6; }
45171 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
45172 if ${glibcxx_cv_func_finitef_use+:} false; then :
45173 $as_echo_n "(cached) " >&6
45174 else
45177 ac_ext=cpp
45178 ac_cpp='$CXXCPP $CPPFLAGS'
45179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45184 /* end confdefs.h. */
45185 #include <math.h>
45186 #ifdef HAVE_IEEEFP_H
45187 #include <ieeefp.h>
45188 #endif
45191 main ()
45193 finitef(0);
45195 return 0;
45197 _ACEOF
45198 if ac_fn_cxx_try_compile "$LINENO"; then :
45199 glibcxx_cv_func_finitef_use=yes
45200 else
45201 glibcxx_cv_func_finitef_use=no
45203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45204 ac_ext=c
45205 ac_cpp='$CPP $CPPFLAGS'
45206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
45215 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
45217 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
45218 for ac_func in finitef
45219 do :
45220 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
45221 if test "x$ac_cv_func_finitef" = xyes; then :
45222 cat >>confdefs.h <<_ACEOF
45223 #define HAVE_FINITEF 1
45224 _ACEOF
45227 done
45229 else
45231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
45232 $as_echo_n "checking for _finitef declaration... " >&6; }
45233 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
45234 if ${glibcxx_cv_func__finitef_use+:} false; then :
45235 $as_echo_n "(cached) " >&6
45236 else
45239 ac_ext=cpp
45240 ac_cpp='$CXXCPP $CPPFLAGS'
45241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45246 /* end confdefs.h. */
45247 #include <math.h>
45248 #ifdef HAVE_IEEEFP_H
45249 #include <ieeefp.h>
45250 #endif
45253 main ()
45255 _finitef(0);
45257 return 0;
45259 _ACEOF
45260 if ac_fn_cxx_try_compile "$LINENO"; then :
45261 glibcxx_cv_func__finitef_use=yes
45262 else
45263 glibcxx_cv_func__finitef_use=no
45265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45266 ac_ext=c
45267 ac_cpp='$CPP $CPPFLAGS'
45268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
45277 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
45279 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
45280 for ac_func in _finitef
45281 do :
45282 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
45283 if test "x$ac_cv_func__finitef" = xyes; then :
45284 cat >>confdefs.h <<_ACEOF
45285 #define HAVE__FINITEF 1
45286 _ACEOF
45289 done
45298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
45299 $as_echo_n "checking for long double trig functions... " >&6; }
45300 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
45301 $as_echo_n "(cached) " >&6
45302 else
45305 ac_ext=cpp
45306 ac_cpp='$CXXCPP $CPPFLAGS'
45307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45312 /* end confdefs.h. */
45313 #include <math.h>
45315 main ()
45317 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
45319 return 0;
45321 _ACEOF
45322 if ac_fn_cxx_try_compile "$LINENO"; then :
45323 glibcxx_cv_func_long_double_trig_use=yes
45324 else
45325 glibcxx_cv_func_long_double_trig_use=no
45327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45328 ac_ext=c
45329 ac_cpp='$CPP $CPPFLAGS'
45330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
45337 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
45338 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
45339 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
45340 do :
45341 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45342 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45343 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45344 cat >>confdefs.h <<_ACEOF
45345 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45346 _ACEOF
45349 done
45351 else
45352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
45353 $as_echo_n "checking for _long double trig functions... " >&6; }
45354 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
45355 $as_echo_n "(cached) " >&6
45356 else
45359 ac_ext=cpp
45360 ac_cpp='$CXXCPP $CPPFLAGS'
45361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45366 /* end confdefs.h. */
45367 #include <math.h>
45369 main ()
45371 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
45373 return 0;
45375 _ACEOF
45376 if ac_fn_cxx_try_compile "$LINENO"; then :
45377 glibcxx_cv_func__long_double_trig_use=yes
45378 else
45379 glibcxx_cv_func__long_double_trig_use=no
45381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45382 ac_ext=c
45383 ac_cpp='$CPP $CPPFLAGS'
45384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
45391 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
45392 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
45393 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
45394 do :
45395 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45396 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45397 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45398 cat >>confdefs.h <<_ACEOF
45399 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45400 _ACEOF
45403 done
45412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
45413 $as_echo_n "checking for long double round functions... " >&6; }
45414 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
45415 $as_echo_n "(cached) " >&6
45416 else
45419 ac_ext=cpp
45420 ac_cpp='$CXXCPP $CPPFLAGS'
45421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45426 /* end confdefs.h. */
45427 #include <math.h>
45429 main ()
45431 ceill (0); floorl (0);
45433 return 0;
45435 _ACEOF
45436 if ac_fn_cxx_try_compile "$LINENO"; then :
45437 glibcxx_cv_func_long_double_round_use=yes
45438 else
45439 glibcxx_cv_func_long_double_round_use=no
45441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45442 ac_ext=c
45443 ac_cpp='$CPP $CPPFLAGS'
45444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
45451 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
45452 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
45453 for ac_func in ceill floorl
45454 do :
45455 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45456 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45457 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45458 cat >>confdefs.h <<_ACEOF
45459 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45460 _ACEOF
45463 done
45465 else
45466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
45467 $as_echo_n "checking for _long double round functions... " >&6; }
45468 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
45469 $as_echo_n "(cached) " >&6
45470 else
45473 ac_ext=cpp
45474 ac_cpp='$CXXCPP $CPPFLAGS'
45475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45480 /* end confdefs.h. */
45481 #include <math.h>
45483 main ()
45485 _ceill (0); _floorl (0);
45487 return 0;
45489 _ACEOF
45490 if ac_fn_cxx_try_compile "$LINENO"; then :
45491 glibcxx_cv_func__long_double_round_use=yes
45492 else
45493 glibcxx_cv_func__long_double_round_use=no
45495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45496 ac_ext=c
45497 ac_cpp='$CPP $CPPFLAGS'
45498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
45505 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
45506 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
45507 for ac_func in _ceill _floorl
45508 do :
45509 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45510 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45511 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45512 cat >>confdefs.h <<_ACEOF
45513 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45514 _ACEOF
45517 done
45527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
45528 $as_echo_n "checking for isnanl declaration... " >&6; }
45529 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
45530 if ${glibcxx_cv_func_isnanl_use+:} false; then :
45531 $as_echo_n "(cached) " >&6
45532 else
45535 ac_ext=cpp
45536 ac_cpp='$CXXCPP $CPPFLAGS'
45537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45542 /* end confdefs.h. */
45543 #include <math.h>
45544 #ifdef HAVE_IEEEFP_H
45545 #include <ieeefp.h>
45546 #endif
45549 main ()
45551 isnanl(0);
45553 return 0;
45555 _ACEOF
45556 if ac_fn_cxx_try_compile "$LINENO"; then :
45557 glibcxx_cv_func_isnanl_use=yes
45558 else
45559 glibcxx_cv_func_isnanl_use=no
45561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45562 ac_ext=c
45563 ac_cpp='$CPP $CPPFLAGS'
45564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
45573 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
45575 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
45576 for ac_func in isnanl
45577 do :
45578 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
45579 if test "x$ac_cv_func_isnanl" = xyes; then :
45580 cat >>confdefs.h <<_ACEOF
45581 #define HAVE_ISNANL 1
45582 _ACEOF
45585 done
45587 else
45589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
45590 $as_echo_n "checking for _isnanl declaration... " >&6; }
45591 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
45592 if ${glibcxx_cv_func__isnanl_use+:} false; then :
45593 $as_echo_n "(cached) " >&6
45594 else
45597 ac_ext=cpp
45598 ac_cpp='$CXXCPP $CPPFLAGS'
45599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45604 /* end confdefs.h. */
45605 #include <math.h>
45606 #ifdef HAVE_IEEEFP_H
45607 #include <ieeefp.h>
45608 #endif
45611 main ()
45613 _isnanl(0);
45615 return 0;
45617 _ACEOF
45618 if ac_fn_cxx_try_compile "$LINENO"; then :
45619 glibcxx_cv_func__isnanl_use=yes
45620 else
45621 glibcxx_cv_func__isnanl_use=no
45623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45624 ac_ext=c
45625 ac_cpp='$CPP $CPPFLAGS'
45626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
45635 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
45637 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
45638 for ac_func in _isnanl
45639 do :
45640 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
45641 if test "x$ac_cv_func__isnanl" = xyes; then :
45642 cat >>confdefs.h <<_ACEOF
45643 #define HAVE__ISNANL 1
45644 _ACEOF
45647 done
45656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
45657 $as_echo_n "checking for isinfl declaration... " >&6; }
45658 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
45659 if ${glibcxx_cv_func_isinfl_use+:} false; then :
45660 $as_echo_n "(cached) " >&6
45661 else
45664 ac_ext=cpp
45665 ac_cpp='$CXXCPP $CPPFLAGS'
45666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45671 /* end confdefs.h. */
45672 #include <math.h>
45673 #ifdef HAVE_IEEEFP_H
45674 #include <ieeefp.h>
45675 #endif
45678 main ()
45680 isinfl(0);
45682 return 0;
45684 _ACEOF
45685 if ac_fn_cxx_try_compile "$LINENO"; then :
45686 glibcxx_cv_func_isinfl_use=yes
45687 else
45688 glibcxx_cv_func_isinfl_use=no
45690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45691 ac_ext=c
45692 ac_cpp='$CPP $CPPFLAGS'
45693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45702 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45704 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45705 for ac_func in isinfl
45706 do :
45707 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45708 if test "x$ac_cv_func_isinfl" = xyes; then :
45709 cat >>confdefs.h <<_ACEOF
45710 #define HAVE_ISINFL 1
45711 _ACEOF
45714 done
45716 else
45718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45719 $as_echo_n "checking for _isinfl declaration... " >&6; }
45720 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45721 if ${glibcxx_cv_func__isinfl_use+:} false; then :
45722 $as_echo_n "(cached) " >&6
45723 else
45726 ac_ext=cpp
45727 ac_cpp='$CXXCPP $CPPFLAGS'
45728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45733 /* end confdefs.h. */
45734 #include <math.h>
45735 #ifdef HAVE_IEEEFP_H
45736 #include <ieeefp.h>
45737 #endif
45740 main ()
45742 _isinfl(0);
45744 return 0;
45746 _ACEOF
45747 if ac_fn_cxx_try_compile "$LINENO"; then :
45748 glibcxx_cv_func__isinfl_use=yes
45749 else
45750 glibcxx_cv_func__isinfl_use=no
45752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45753 ac_ext=c
45754 ac_cpp='$CPP $CPPFLAGS'
45755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45764 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45766 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45767 for ac_func in _isinfl
45768 do :
45769 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45770 if test "x$ac_cv_func__isinfl" = xyes; then :
45771 cat >>confdefs.h <<_ACEOF
45772 #define HAVE__ISINFL 1
45773 _ACEOF
45776 done
45785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45786 $as_echo_n "checking for atan2l declaration... " >&6; }
45787 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45788 if ${glibcxx_cv_func_atan2l_use+:} false; then :
45789 $as_echo_n "(cached) " >&6
45790 else
45793 ac_ext=cpp
45794 ac_cpp='$CXXCPP $CPPFLAGS'
45795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45800 /* end confdefs.h. */
45801 #include <math.h>
45803 main ()
45805 atan2l(0, 0);
45807 return 0;
45809 _ACEOF
45810 if ac_fn_cxx_try_compile "$LINENO"; then :
45811 glibcxx_cv_func_atan2l_use=yes
45812 else
45813 glibcxx_cv_func_atan2l_use=no
45815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45816 ac_ext=c
45817 ac_cpp='$CPP $CPPFLAGS'
45818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45827 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45829 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45830 for ac_func in atan2l
45831 do :
45832 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45833 if test "x$ac_cv_func_atan2l" = xyes; then :
45834 cat >>confdefs.h <<_ACEOF
45835 #define HAVE_ATAN2L 1
45836 _ACEOF
45839 done
45841 else
45843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45844 $as_echo_n "checking for _atan2l declaration... " >&6; }
45845 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45846 if ${glibcxx_cv_func__atan2l_use+:} false; then :
45847 $as_echo_n "(cached) " >&6
45848 else
45851 ac_ext=cpp
45852 ac_cpp='$CXXCPP $CPPFLAGS'
45853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45858 /* end confdefs.h. */
45859 #include <math.h>
45861 main ()
45863 _atan2l(0, 0);
45865 return 0;
45867 _ACEOF
45868 if ac_fn_cxx_try_compile "$LINENO"; then :
45869 glibcxx_cv_func__atan2l_use=yes
45870 else
45871 glibcxx_cv_func__atan2l_use=no
45873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45874 ac_ext=c
45875 ac_cpp='$CPP $CPPFLAGS'
45876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45885 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45887 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45888 for ac_func in _atan2l
45889 do :
45890 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45891 if test "x$ac_cv_func__atan2l" = xyes; then :
45892 cat >>confdefs.h <<_ACEOF
45893 #define HAVE__ATAN2L 1
45894 _ACEOF
45897 done
45906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45907 $as_echo_n "checking for expl declaration... " >&6; }
45908 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45909 if ${glibcxx_cv_func_expl_use+:} false; then :
45910 $as_echo_n "(cached) " >&6
45911 else
45914 ac_ext=cpp
45915 ac_cpp='$CXXCPP $CPPFLAGS'
45916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45921 /* end confdefs.h. */
45922 #include <math.h>
45923 #ifdef HAVE_IEEEFP_H
45924 #include <ieeefp.h>
45925 #endif
45928 main ()
45930 expl(0);
45932 return 0;
45934 _ACEOF
45935 if ac_fn_cxx_try_compile "$LINENO"; then :
45936 glibcxx_cv_func_expl_use=yes
45937 else
45938 glibcxx_cv_func_expl_use=no
45940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45941 ac_ext=c
45942 ac_cpp='$CPP $CPPFLAGS'
45943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45952 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45954 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45955 for ac_func in expl
45956 do :
45957 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45958 if test "x$ac_cv_func_expl" = xyes; then :
45959 cat >>confdefs.h <<_ACEOF
45960 #define HAVE_EXPL 1
45961 _ACEOF
45964 done
45966 else
45968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45969 $as_echo_n "checking for _expl declaration... " >&6; }
45970 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45971 if ${glibcxx_cv_func__expl_use+:} false; then :
45972 $as_echo_n "(cached) " >&6
45973 else
45976 ac_ext=cpp
45977 ac_cpp='$CXXCPP $CPPFLAGS'
45978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45983 /* end confdefs.h. */
45984 #include <math.h>
45985 #ifdef HAVE_IEEEFP_H
45986 #include <ieeefp.h>
45987 #endif
45990 main ()
45992 _expl(0);
45994 return 0;
45996 _ACEOF
45997 if ac_fn_cxx_try_compile "$LINENO"; then :
45998 glibcxx_cv_func__expl_use=yes
45999 else
46000 glibcxx_cv_func__expl_use=no
46002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46003 ac_ext=c
46004 ac_cpp='$CPP $CPPFLAGS'
46005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
46014 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
46016 if test x$glibcxx_cv_func__expl_use = x"yes"; then
46017 for ac_func in _expl
46018 do :
46019 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
46020 if test "x$ac_cv_func__expl" = xyes; then :
46021 cat >>confdefs.h <<_ACEOF
46022 #define HAVE__EXPL 1
46023 _ACEOF
46026 done
46035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
46036 $as_echo_n "checking for fabsl declaration... " >&6; }
46037 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
46038 if ${glibcxx_cv_func_fabsl_use+:} false; then :
46039 $as_echo_n "(cached) " >&6
46040 else
46043 ac_ext=cpp
46044 ac_cpp='$CXXCPP $CPPFLAGS'
46045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46050 /* end confdefs.h. */
46051 #include <math.h>
46052 #ifdef HAVE_IEEEFP_H
46053 #include <ieeefp.h>
46054 #endif
46057 main ()
46059 fabsl(0);
46061 return 0;
46063 _ACEOF
46064 if ac_fn_cxx_try_compile "$LINENO"; then :
46065 glibcxx_cv_func_fabsl_use=yes
46066 else
46067 glibcxx_cv_func_fabsl_use=no
46069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46070 ac_ext=c
46071 ac_cpp='$CPP $CPPFLAGS'
46072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
46081 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
46083 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
46084 for ac_func in fabsl
46085 do :
46086 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
46087 if test "x$ac_cv_func_fabsl" = xyes; then :
46088 cat >>confdefs.h <<_ACEOF
46089 #define HAVE_FABSL 1
46090 _ACEOF
46093 done
46095 else
46097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
46098 $as_echo_n "checking for _fabsl declaration... " >&6; }
46099 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
46100 if ${glibcxx_cv_func__fabsl_use+:} false; then :
46101 $as_echo_n "(cached) " >&6
46102 else
46105 ac_ext=cpp
46106 ac_cpp='$CXXCPP $CPPFLAGS'
46107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46112 /* end confdefs.h. */
46113 #include <math.h>
46114 #ifdef HAVE_IEEEFP_H
46115 #include <ieeefp.h>
46116 #endif
46119 main ()
46121 _fabsl(0);
46123 return 0;
46125 _ACEOF
46126 if ac_fn_cxx_try_compile "$LINENO"; then :
46127 glibcxx_cv_func__fabsl_use=yes
46128 else
46129 glibcxx_cv_func__fabsl_use=no
46131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46132 ac_ext=c
46133 ac_cpp='$CPP $CPPFLAGS'
46134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
46143 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
46145 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
46146 for ac_func in _fabsl
46147 do :
46148 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
46149 if test "x$ac_cv_func__fabsl" = xyes; then :
46150 cat >>confdefs.h <<_ACEOF
46151 #define HAVE__FABSL 1
46152 _ACEOF
46155 done
46164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
46165 $as_echo_n "checking for fmodl declaration... " >&6; }
46166 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
46167 if ${glibcxx_cv_func_fmodl_use+:} false; then :
46168 $as_echo_n "(cached) " >&6
46169 else
46172 ac_ext=cpp
46173 ac_cpp='$CXXCPP $CPPFLAGS'
46174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46179 /* end confdefs.h. */
46180 #include <math.h>
46182 main ()
46184 fmodl(0, 0);
46186 return 0;
46188 _ACEOF
46189 if ac_fn_cxx_try_compile "$LINENO"; then :
46190 glibcxx_cv_func_fmodl_use=yes
46191 else
46192 glibcxx_cv_func_fmodl_use=no
46194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46195 ac_ext=c
46196 ac_cpp='$CPP $CPPFLAGS'
46197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
46206 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
46208 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
46209 for ac_func in fmodl
46210 do :
46211 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
46212 if test "x$ac_cv_func_fmodl" = xyes; then :
46213 cat >>confdefs.h <<_ACEOF
46214 #define HAVE_FMODL 1
46215 _ACEOF
46218 done
46220 else
46222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
46223 $as_echo_n "checking for _fmodl declaration... " >&6; }
46224 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
46225 if ${glibcxx_cv_func__fmodl_use+:} false; then :
46226 $as_echo_n "(cached) " >&6
46227 else
46230 ac_ext=cpp
46231 ac_cpp='$CXXCPP $CPPFLAGS'
46232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46237 /* end confdefs.h. */
46238 #include <math.h>
46240 main ()
46242 _fmodl(0, 0);
46244 return 0;
46246 _ACEOF
46247 if ac_fn_cxx_try_compile "$LINENO"; then :
46248 glibcxx_cv_func__fmodl_use=yes
46249 else
46250 glibcxx_cv_func__fmodl_use=no
46252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46253 ac_ext=c
46254 ac_cpp='$CPP $CPPFLAGS'
46255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
46264 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
46266 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
46267 for ac_func in _fmodl
46268 do :
46269 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
46270 if test "x$ac_cv_func__fmodl" = xyes; then :
46271 cat >>confdefs.h <<_ACEOF
46272 #define HAVE__FMODL 1
46273 _ACEOF
46276 done
46285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
46286 $as_echo_n "checking for frexpl declaration... " >&6; }
46287 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
46288 if ${glibcxx_cv_func_frexpl_use+:} false; then :
46289 $as_echo_n "(cached) " >&6
46290 else
46293 ac_ext=cpp
46294 ac_cpp='$CXXCPP $CPPFLAGS'
46295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46300 /* end confdefs.h. */
46301 #include <math.h>
46303 main ()
46305 frexpl(0, 0);
46307 return 0;
46309 _ACEOF
46310 if ac_fn_cxx_try_compile "$LINENO"; then :
46311 glibcxx_cv_func_frexpl_use=yes
46312 else
46313 glibcxx_cv_func_frexpl_use=no
46315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46316 ac_ext=c
46317 ac_cpp='$CPP $CPPFLAGS'
46318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
46327 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
46329 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
46330 for ac_func in frexpl
46331 do :
46332 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
46333 if test "x$ac_cv_func_frexpl" = xyes; then :
46334 cat >>confdefs.h <<_ACEOF
46335 #define HAVE_FREXPL 1
46336 _ACEOF
46339 done
46341 else
46343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
46344 $as_echo_n "checking for _frexpl declaration... " >&6; }
46345 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
46346 if ${glibcxx_cv_func__frexpl_use+:} false; then :
46347 $as_echo_n "(cached) " >&6
46348 else
46351 ac_ext=cpp
46352 ac_cpp='$CXXCPP $CPPFLAGS'
46353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46358 /* end confdefs.h. */
46359 #include <math.h>
46361 main ()
46363 _frexpl(0, 0);
46365 return 0;
46367 _ACEOF
46368 if ac_fn_cxx_try_compile "$LINENO"; then :
46369 glibcxx_cv_func__frexpl_use=yes
46370 else
46371 glibcxx_cv_func__frexpl_use=no
46373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46374 ac_ext=c
46375 ac_cpp='$CPP $CPPFLAGS'
46376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
46385 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
46387 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
46388 for ac_func in _frexpl
46389 do :
46390 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
46391 if test "x$ac_cv_func__frexpl" = xyes; then :
46392 cat >>confdefs.h <<_ACEOF
46393 #define HAVE__FREXPL 1
46394 _ACEOF
46397 done
46406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
46407 $as_echo_n "checking for hypotl declaration... " >&6; }
46408 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
46409 if ${glibcxx_cv_func_hypotl_use+:} false; then :
46410 $as_echo_n "(cached) " >&6
46411 else
46414 ac_ext=cpp
46415 ac_cpp='$CXXCPP $CPPFLAGS'
46416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46421 /* end confdefs.h. */
46422 #include <math.h>
46424 main ()
46426 hypotl(0, 0);
46428 return 0;
46430 _ACEOF
46431 if ac_fn_cxx_try_compile "$LINENO"; then :
46432 glibcxx_cv_func_hypotl_use=yes
46433 else
46434 glibcxx_cv_func_hypotl_use=no
46436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46437 ac_ext=c
46438 ac_cpp='$CPP $CPPFLAGS'
46439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
46448 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
46450 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
46451 for ac_func in hypotl
46452 do :
46453 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
46454 if test "x$ac_cv_func_hypotl" = xyes; then :
46455 cat >>confdefs.h <<_ACEOF
46456 #define HAVE_HYPOTL 1
46457 _ACEOF
46460 done
46462 else
46464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
46465 $as_echo_n "checking for _hypotl declaration... " >&6; }
46466 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
46467 if ${glibcxx_cv_func__hypotl_use+:} false; then :
46468 $as_echo_n "(cached) " >&6
46469 else
46472 ac_ext=cpp
46473 ac_cpp='$CXXCPP $CPPFLAGS'
46474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46479 /* end confdefs.h. */
46480 #include <math.h>
46482 main ()
46484 _hypotl(0, 0);
46486 return 0;
46488 _ACEOF
46489 if ac_fn_cxx_try_compile "$LINENO"; then :
46490 glibcxx_cv_func__hypotl_use=yes
46491 else
46492 glibcxx_cv_func__hypotl_use=no
46494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46495 ac_ext=c
46496 ac_cpp='$CPP $CPPFLAGS'
46497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
46506 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
46508 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
46509 for ac_func in _hypotl
46510 do :
46511 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
46512 if test "x$ac_cv_func__hypotl" = xyes; then :
46513 cat >>confdefs.h <<_ACEOF
46514 #define HAVE__HYPOTL 1
46515 _ACEOF
46518 done
46527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
46528 $as_echo_n "checking for ldexpl declaration... " >&6; }
46529 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
46530 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
46531 $as_echo_n "(cached) " >&6
46532 else
46535 ac_ext=cpp
46536 ac_cpp='$CXXCPP $CPPFLAGS'
46537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46542 /* end confdefs.h. */
46543 #include <math.h>
46545 main ()
46547 ldexpl(0, 0);
46549 return 0;
46551 _ACEOF
46552 if ac_fn_cxx_try_compile "$LINENO"; then :
46553 glibcxx_cv_func_ldexpl_use=yes
46554 else
46555 glibcxx_cv_func_ldexpl_use=no
46557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46558 ac_ext=c
46559 ac_cpp='$CPP $CPPFLAGS'
46560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
46569 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
46571 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
46572 for ac_func in ldexpl
46573 do :
46574 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
46575 if test "x$ac_cv_func_ldexpl" = xyes; then :
46576 cat >>confdefs.h <<_ACEOF
46577 #define HAVE_LDEXPL 1
46578 _ACEOF
46581 done
46583 else
46585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
46586 $as_echo_n "checking for _ldexpl declaration... " >&6; }
46587 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
46588 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
46589 $as_echo_n "(cached) " >&6
46590 else
46593 ac_ext=cpp
46594 ac_cpp='$CXXCPP $CPPFLAGS'
46595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46600 /* end confdefs.h. */
46601 #include <math.h>
46603 main ()
46605 _ldexpl(0, 0);
46607 return 0;
46609 _ACEOF
46610 if ac_fn_cxx_try_compile "$LINENO"; then :
46611 glibcxx_cv_func__ldexpl_use=yes
46612 else
46613 glibcxx_cv_func__ldexpl_use=no
46615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46616 ac_ext=c
46617 ac_cpp='$CPP $CPPFLAGS'
46618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
46627 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
46629 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
46630 for ac_func in _ldexpl
46631 do :
46632 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
46633 if test "x$ac_cv_func__ldexpl" = xyes; then :
46634 cat >>confdefs.h <<_ACEOF
46635 #define HAVE__LDEXPL 1
46636 _ACEOF
46639 done
46648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
46649 $as_echo_n "checking for logl declaration... " >&6; }
46650 if test x${glibcxx_cv_func_logl_use+set} != xset; then
46651 if ${glibcxx_cv_func_logl_use+:} false; then :
46652 $as_echo_n "(cached) " >&6
46653 else
46656 ac_ext=cpp
46657 ac_cpp='$CXXCPP $CPPFLAGS'
46658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46663 /* end confdefs.h. */
46664 #include <math.h>
46665 #ifdef HAVE_IEEEFP_H
46666 #include <ieeefp.h>
46667 #endif
46670 main ()
46672 logl(0);
46674 return 0;
46676 _ACEOF
46677 if ac_fn_cxx_try_compile "$LINENO"; then :
46678 glibcxx_cv_func_logl_use=yes
46679 else
46680 glibcxx_cv_func_logl_use=no
46682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46683 ac_ext=c
46684 ac_cpp='$CPP $CPPFLAGS'
46685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46694 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
46696 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46697 for ac_func in logl
46698 do :
46699 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46700 if test "x$ac_cv_func_logl" = xyes; then :
46701 cat >>confdefs.h <<_ACEOF
46702 #define HAVE_LOGL 1
46703 _ACEOF
46706 done
46708 else
46710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46711 $as_echo_n "checking for _logl declaration... " >&6; }
46712 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46713 if ${glibcxx_cv_func__logl_use+:} false; then :
46714 $as_echo_n "(cached) " >&6
46715 else
46718 ac_ext=cpp
46719 ac_cpp='$CXXCPP $CPPFLAGS'
46720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46725 /* end confdefs.h. */
46726 #include <math.h>
46727 #ifdef HAVE_IEEEFP_H
46728 #include <ieeefp.h>
46729 #endif
46732 main ()
46734 _logl(0);
46736 return 0;
46738 _ACEOF
46739 if ac_fn_cxx_try_compile "$LINENO"; then :
46740 glibcxx_cv_func__logl_use=yes
46741 else
46742 glibcxx_cv_func__logl_use=no
46744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46745 ac_ext=c
46746 ac_cpp='$CPP $CPPFLAGS'
46747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46756 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
46758 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46759 for ac_func in _logl
46760 do :
46761 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46762 if test "x$ac_cv_func__logl" = xyes; then :
46763 cat >>confdefs.h <<_ACEOF
46764 #define HAVE__LOGL 1
46765 _ACEOF
46768 done
46777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46778 $as_echo_n "checking for log10l declaration... " >&6; }
46779 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46780 if ${glibcxx_cv_func_log10l_use+:} false; then :
46781 $as_echo_n "(cached) " >&6
46782 else
46785 ac_ext=cpp
46786 ac_cpp='$CXXCPP $CPPFLAGS'
46787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46792 /* end confdefs.h. */
46793 #include <math.h>
46794 #ifdef HAVE_IEEEFP_H
46795 #include <ieeefp.h>
46796 #endif
46799 main ()
46801 log10l(0);
46803 return 0;
46805 _ACEOF
46806 if ac_fn_cxx_try_compile "$LINENO"; then :
46807 glibcxx_cv_func_log10l_use=yes
46808 else
46809 glibcxx_cv_func_log10l_use=no
46811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46812 ac_ext=c
46813 ac_cpp='$CPP $CPPFLAGS'
46814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46823 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46825 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46826 for ac_func in log10l
46827 do :
46828 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46829 if test "x$ac_cv_func_log10l" = xyes; then :
46830 cat >>confdefs.h <<_ACEOF
46831 #define HAVE_LOG10L 1
46832 _ACEOF
46835 done
46837 else
46839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46840 $as_echo_n "checking for _log10l declaration... " >&6; }
46841 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46842 if ${glibcxx_cv_func__log10l_use+:} false; then :
46843 $as_echo_n "(cached) " >&6
46844 else
46847 ac_ext=cpp
46848 ac_cpp='$CXXCPP $CPPFLAGS'
46849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46854 /* end confdefs.h. */
46855 #include <math.h>
46856 #ifdef HAVE_IEEEFP_H
46857 #include <ieeefp.h>
46858 #endif
46861 main ()
46863 _log10l(0);
46865 return 0;
46867 _ACEOF
46868 if ac_fn_cxx_try_compile "$LINENO"; then :
46869 glibcxx_cv_func__log10l_use=yes
46870 else
46871 glibcxx_cv_func__log10l_use=no
46873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46874 ac_ext=c
46875 ac_cpp='$CPP $CPPFLAGS'
46876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46885 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46887 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46888 for ac_func in _log10l
46889 do :
46890 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46891 if test "x$ac_cv_func__log10l" = xyes; then :
46892 cat >>confdefs.h <<_ACEOF
46893 #define HAVE__LOG10L 1
46894 _ACEOF
46897 done
46906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46907 $as_echo_n "checking for modfl declaration... " >&6; }
46908 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46909 if ${glibcxx_cv_func_modfl_use+:} false; then :
46910 $as_echo_n "(cached) " >&6
46911 else
46914 ac_ext=cpp
46915 ac_cpp='$CXXCPP $CPPFLAGS'
46916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46921 /* end confdefs.h. */
46922 #include <math.h>
46924 main ()
46926 modfl(0, 0);
46928 return 0;
46930 _ACEOF
46931 if ac_fn_cxx_try_compile "$LINENO"; then :
46932 glibcxx_cv_func_modfl_use=yes
46933 else
46934 glibcxx_cv_func_modfl_use=no
46936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46937 ac_ext=c
46938 ac_cpp='$CPP $CPPFLAGS'
46939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46948 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46950 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46951 for ac_func in modfl
46952 do :
46953 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46954 if test "x$ac_cv_func_modfl" = xyes; then :
46955 cat >>confdefs.h <<_ACEOF
46956 #define HAVE_MODFL 1
46957 _ACEOF
46960 done
46962 else
46964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46965 $as_echo_n "checking for _modfl declaration... " >&6; }
46966 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46967 if ${glibcxx_cv_func__modfl_use+:} false; then :
46968 $as_echo_n "(cached) " >&6
46969 else
46972 ac_ext=cpp
46973 ac_cpp='$CXXCPP $CPPFLAGS'
46974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46979 /* end confdefs.h. */
46980 #include <math.h>
46982 main ()
46984 _modfl(0, 0);
46986 return 0;
46988 _ACEOF
46989 if ac_fn_cxx_try_compile "$LINENO"; then :
46990 glibcxx_cv_func__modfl_use=yes
46991 else
46992 glibcxx_cv_func__modfl_use=no
46994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46995 ac_ext=c
46996 ac_cpp='$CPP $CPPFLAGS'
46997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
47006 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
47008 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
47009 for ac_func in _modfl
47010 do :
47011 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
47012 if test "x$ac_cv_func__modfl" = xyes; then :
47013 cat >>confdefs.h <<_ACEOF
47014 #define HAVE__MODFL 1
47015 _ACEOF
47018 done
47027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
47028 $as_echo_n "checking for powl declaration... " >&6; }
47029 if test x${glibcxx_cv_func_powl_use+set} != xset; then
47030 if ${glibcxx_cv_func_powl_use+:} false; then :
47031 $as_echo_n "(cached) " >&6
47032 else
47035 ac_ext=cpp
47036 ac_cpp='$CXXCPP $CPPFLAGS'
47037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47042 /* end confdefs.h. */
47043 #include <math.h>
47045 main ()
47047 powl(0, 0);
47049 return 0;
47051 _ACEOF
47052 if ac_fn_cxx_try_compile "$LINENO"; then :
47053 glibcxx_cv_func_powl_use=yes
47054 else
47055 glibcxx_cv_func_powl_use=no
47057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47058 ac_ext=c
47059 ac_cpp='$CPP $CPPFLAGS'
47060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
47069 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
47071 if test x$glibcxx_cv_func_powl_use = x"yes"; then
47072 for ac_func in powl
47073 do :
47074 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
47075 if test "x$ac_cv_func_powl" = xyes; then :
47076 cat >>confdefs.h <<_ACEOF
47077 #define HAVE_POWL 1
47078 _ACEOF
47081 done
47083 else
47085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
47086 $as_echo_n "checking for _powl declaration... " >&6; }
47087 if test x${glibcxx_cv_func__powl_use+set} != xset; then
47088 if ${glibcxx_cv_func__powl_use+:} false; then :
47089 $as_echo_n "(cached) " >&6
47090 else
47093 ac_ext=cpp
47094 ac_cpp='$CXXCPP $CPPFLAGS'
47095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47100 /* end confdefs.h. */
47101 #include <math.h>
47103 main ()
47105 _powl(0, 0);
47107 return 0;
47109 _ACEOF
47110 if ac_fn_cxx_try_compile "$LINENO"; then :
47111 glibcxx_cv_func__powl_use=yes
47112 else
47113 glibcxx_cv_func__powl_use=no
47115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47116 ac_ext=c
47117 ac_cpp='$CPP $CPPFLAGS'
47118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
47127 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
47129 if test x$glibcxx_cv_func__powl_use = x"yes"; then
47130 for ac_func in _powl
47131 do :
47132 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
47133 if test "x$ac_cv_func__powl" = xyes; then :
47134 cat >>confdefs.h <<_ACEOF
47135 #define HAVE__POWL 1
47136 _ACEOF
47139 done
47148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
47149 $as_echo_n "checking for sqrtl declaration... " >&6; }
47150 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
47151 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
47152 $as_echo_n "(cached) " >&6
47153 else
47156 ac_ext=cpp
47157 ac_cpp='$CXXCPP $CPPFLAGS'
47158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47163 /* end confdefs.h. */
47164 #include <math.h>
47165 #ifdef HAVE_IEEEFP_H
47166 #include <ieeefp.h>
47167 #endif
47170 main ()
47172 sqrtl(0);
47174 return 0;
47176 _ACEOF
47177 if ac_fn_cxx_try_compile "$LINENO"; then :
47178 glibcxx_cv_func_sqrtl_use=yes
47179 else
47180 glibcxx_cv_func_sqrtl_use=no
47182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47183 ac_ext=c
47184 ac_cpp='$CPP $CPPFLAGS'
47185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
47194 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
47196 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
47197 for ac_func in sqrtl
47198 do :
47199 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
47200 if test "x$ac_cv_func_sqrtl" = xyes; then :
47201 cat >>confdefs.h <<_ACEOF
47202 #define HAVE_SQRTL 1
47203 _ACEOF
47206 done
47208 else
47210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
47211 $as_echo_n "checking for _sqrtl declaration... " >&6; }
47212 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
47213 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
47214 $as_echo_n "(cached) " >&6
47215 else
47218 ac_ext=cpp
47219 ac_cpp='$CXXCPP $CPPFLAGS'
47220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47225 /* end confdefs.h. */
47226 #include <math.h>
47227 #ifdef HAVE_IEEEFP_H
47228 #include <ieeefp.h>
47229 #endif
47232 main ()
47234 _sqrtl(0);
47236 return 0;
47238 _ACEOF
47239 if ac_fn_cxx_try_compile "$LINENO"; then :
47240 glibcxx_cv_func__sqrtl_use=yes
47241 else
47242 glibcxx_cv_func__sqrtl_use=no
47244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47245 ac_ext=c
47246 ac_cpp='$CPP $CPPFLAGS'
47247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
47256 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
47258 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
47259 for ac_func in _sqrtl
47260 do :
47261 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
47262 if test "x$ac_cv_func__sqrtl" = xyes; then :
47263 cat >>confdefs.h <<_ACEOF
47264 #define HAVE__SQRTL 1
47265 _ACEOF
47268 done
47277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
47278 $as_echo_n "checking for sincosl declaration... " >&6; }
47279 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
47280 if ${glibcxx_cv_func_sincosl_use+:} false; then :
47281 $as_echo_n "(cached) " >&6
47282 else
47285 ac_ext=cpp
47286 ac_cpp='$CXXCPP $CPPFLAGS'
47287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47292 /* end confdefs.h. */
47293 #include <math.h>
47295 main ()
47297 sincosl(0, 0, 0);
47299 return 0;
47301 _ACEOF
47302 if ac_fn_cxx_try_compile "$LINENO"; then :
47303 glibcxx_cv_func_sincosl_use=yes
47304 else
47305 glibcxx_cv_func_sincosl_use=no
47307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47308 ac_ext=c
47309 ac_cpp='$CPP $CPPFLAGS'
47310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
47319 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
47321 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
47322 for ac_func in sincosl
47323 do :
47324 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
47325 if test "x$ac_cv_func_sincosl" = xyes; then :
47326 cat >>confdefs.h <<_ACEOF
47327 #define HAVE_SINCOSL 1
47328 _ACEOF
47331 done
47333 else
47335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
47336 $as_echo_n "checking for _sincosl declaration... " >&6; }
47337 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
47338 if ${glibcxx_cv_func__sincosl_use+:} false; then :
47339 $as_echo_n "(cached) " >&6
47340 else
47343 ac_ext=cpp
47344 ac_cpp='$CXXCPP $CPPFLAGS'
47345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47350 /* end confdefs.h. */
47351 #include <math.h>
47353 main ()
47355 _sincosl(0, 0, 0);
47357 return 0;
47359 _ACEOF
47360 if ac_fn_cxx_try_compile "$LINENO"; then :
47361 glibcxx_cv_func__sincosl_use=yes
47362 else
47363 glibcxx_cv_func__sincosl_use=no
47365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47366 ac_ext=c
47367 ac_cpp='$CPP $CPPFLAGS'
47368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
47377 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
47379 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
47380 for ac_func in _sincosl
47381 do :
47382 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
47383 if test "x$ac_cv_func__sincosl" = xyes; then :
47384 cat >>confdefs.h <<_ACEOF
47385 #define HAVE__SINCOSL 1
47386 _ACEOF
47389 done
47398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
47399 $as_echo_n "checking for finitel declaration... " >&6; }
47400 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
47401 if ${glibcxx_cv_func_finitel_use+:} false; then :
47402 $as_echo_n "(cached) " >&6
47403 else
47406 ac_ext=cpp
47407 ac_cpp='$CXXCPP $CPPFLAGS'
47408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47413 /* end confdefs.h. */
47414 #include <math.h>
47415 #ifdef HAVE_IEEEFP_H
47416 #include <ieeefp.h>
47417 #endif
47420 main ()
47422 finitel(0);
47424 return 0;
47426 _ACEOF
47427 if ac_fn_cxx_try_compile "$LINENO"; then :
47428 glibcxx_cv_func_finitel_use=yes
47429 else
47430 glibcxx_cv_func_finitel_use=no
47432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47433 ac_ext=c
47434 ac_cpp='$CPP $CPPFLAGS'
47435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
47444 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
47446 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
47447 for ac_func in finitel
47448 do :
47449 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
47450 if test "x$ac_cv_func_finitel" = xyes; then :
47451 cat >>confdefs.h <<_ACEOF
47452 #define HAVE_FINITEL 1
47453 _ACEOF
47456 done
47458 else
47460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
47461 $as_echo_n "checking for _finitel declaration... " >&6; }
47462 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
47463 if ${glibcxx_cv_func__finitel_use+:} false; then :
47464 $as_echo_n "(cached) " >&6
47465 else
47468 ac_ext=cpp
47469 ac_cpp='$CXXCPP $CPPFLAGS'
47470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47475 /* end confdefs.h. */
47476 #include <math.h>
47477 #ifdef HAVE_IEEEFP_H
47478 #include <ieeefp.h>
47479 #endif
47482 main ()
47484 _finitel(0);
47486 return 0;
47488 _ACEOF
47489 if ac_fn_cxx_try_compile "$LINENO"; then :
47490 glibcxx_cv_func__finitel_use=yes
47491 else
47492 glibcxx_cv_func__finitel_use=no
47494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47495 ac_ext=c
47496 ac_cpp='$CPP $CPPFLAGS'
47497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
47506 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
47508 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
47509 for ac_func in _finitel
47510 do :
47511 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
47512 if test "x$ac_cv_func__finitel" = xyes; then :
47513 cat >>confdefs.h <<_ACEOF
47514 #define HAVE__FINITEL 1
47515 _ACEOF
47518 done
47526 LIBS="$ac_save_LIBS"
47527 CXXFLAGS="$ac_save_CXXFLAGS"
47530 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47531 ac_save_CXXFLAGS="$CXXFLAGS"
47532 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
47536 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
47537 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
47538 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
47539 $as_echo_n "(cached) " >&6
47540 else
47543 ac_ext=cpp
47544 ac_cpp='$CXXCPP $CPPFLAGS'
47545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47550 /* end confdefs.h. */
47551 #include <stdlib.h>
47553 main ()
47555 at_quick_exit(0);
47557 return 0;
47559 _ACEOF
47560 if ac_fn_cxx_try_compile "$LINENO"; then :
47561 glibcxx_cv_func_at_quick_exit_use=yes
47562 else
47563 glibcxx_cv_func_at_quick_exit_use=no
47565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47566 ac_ext=c
47567 ac_cpp='$CPP $CPPFLAGS'
47568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
47577 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
47578 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
47579 for ac_func in at_quick_exit
47580 do :
47581 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
47582 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
47583 cat >>confdefs.h <<_ACEOF
47584 #define HAVE_AT_QUICK_EXIT 1
47585 _ACEOF
47588 done
47593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
47594 $as_echo_n "checking for quick_exit declaration... " >&6; }
47595 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
47596 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
47597 $as_echo_n "(cached) " >&6
47598 else
47601 ac_ext=cpp
47602 ac_cpp='$CXXCPP $CPPFLAGS'
47603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47608 /* end confdefs.h. */
47609 #include <stdlib.h>
47611 main ()
47613 quick_exit(0);
47615 return 0;
47617 _ACEOF
47618 if ac_fn_cxx_try_compile "$LINENO"; then :
47619 glibcxx_cv_func_quick_exit_use=yes
47620 else
47621 glibcxx_cv_func_quick_exit_use=no
47623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47624 ac_ext=c
47625 ac_cpp='$CPP $CPPFLAGS'
47626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
47635 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
47636 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
47637 for ac_func in quick_exit
47638 do :
47639 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
47640 if test "x$ac_cv_func_quick_exit" = xyes; then :
47641 cat >>confdefs.h <<_ACEOF
47642 #define HAVE_QUICK_EXIT 1
47643 _ACEOF
47646 done
47651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
47652 $as_echo_n "checking for strtold declaration... " >&6; }
47653 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
47654 if ${glibcxx_cv_func_strtold_use+:} false; then :
47655 $as_echo_n "(cached) " >&6
47656 else
47659 ac_ext=cpp
47660 ac_cpp='$CXXCPP $CPPFLAGS'
47661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47666 /* end confdefs.h. */
47667 #include <stdlib.h>
47669 main ()
47671 strtold(0, 0);
47673 return 0;
47675 _ACEOF
47676 if ac_fn_cxx_try_compile "$LINENO"; then :
47677 glibcxx_cv_func_strtold_use=yes
47678 else
47679 glibcxx_cv_func_strtold_use=no
47681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47682 ac_ext=c
47683 ac_cpp='$CPP $CPPFLAGS'
47684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47693 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47694 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47695 for ac_func in strtold
47696 do :
47697 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47698 if test "x$ac_cv_func_strtold" = xyes; then :
47699 cat >>confdefs.h <<_ACEOF
47700 #define HAVE_STRTOLD 1
47701 _ACEOF
47704 done
47711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47712 $as_echo_n "checking for strtof declaration... " >&6; }
47713 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47714 if ${glibcxx_cv_func_strtof_use+:} false; then :
47715 $as_echo_n "(cached) " >&6
47716 else
47719 ac_ext=cpp
47720 ac_cpp='$CXXCPP $CPPFLAGS'
47721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47726 /* end confdefs.h. */
47727 #include <stdlib.h>
47729 main ()
47731 strtof(0, 0);
47733 return 0;
47735 _ACEOF
47736 if ac_fn_cxx_try_compile "$LINENO"; then :
47737 glibcxx_cv_func_strtof_use=yes
47738 else
47739 glibcxx_cv_func_strtof_use=no
47741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47742 ac_ext=c
47743 ac_cpp='$CPP $CPPFLAGS'
47744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47753 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47754 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47755 for ac_func in strtof
47756 do :
47757 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47758 if test "x$ac_cv_func_strtof" = xyes; then :
47759 cat >>confdefs.h <<_ACEOF
47760 #define HAVE_STRTOF 1
47761 _ACEOF
47764 done
47771 CXXFLAGS="$ac_save_CXXFLAGS"
47775 *djgpp)
47776 # GLIBCXX_CHECK_MATH_SUPPORT
47777 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47779 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47781 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47783 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
47785 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47789 *-freebsd*)
47790 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47793 # If we're not using GNU ld, then there's no point in even trying these
47794 # tests. Check for that first. We should have already tested for gld
47795 # by now (in libtool), but require it now just to be safe...
47796 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47797 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47801 # The name set by libtool depends on the version of libtool. Shame on us
47802 # for depending on an impl detail, but c'est la vie. Older versions used
47803 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47804 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47805 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
47806 # set (hence we're using an older libtool), then set it.
47807 if test x${with_gnu_ld+set} != xset; then
47808 if test x${ac_cv_prog_gnu_ld+set} != xset; then
47809 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
47810 with_gnu_ld=no
47811 else
47812 with_gnu_ld=$ac_cv_prog_gnu_ld
47816 # Start by getting the version number. I think the libtool test already
47817 # does some of this, but throws away the result.
47818 glibcxx_ld_is_gold=no
47819 if test x"$with_gnu_ld" = x"yes"; then
47820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47821 $as_echo_n "checking for ld version... " >&6; }
47823 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47824 glibcxx_ld_is_gold=yes
47826 ldver=`$LD --version 2>/dev/null |
47827 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47829 glibcxx_gnu_ld_version=`echo $ldver | \
47830 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47832 $as_echo "$glibcxx_gnu_ld_version" >&6; }
47835 # Set --gc-sections.
47836 glibcxx_have_gc_sections=no
47837 if test "$glibcxx_ld_is_gold" = "yes"; then
47838 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47839 glibcxx_have_gc_sections=yes
47841 else
47842 glibcxx_gcsections_min_ld=21602
47843 if test x"$with_gnu_ld" = x"yes" &&
47844 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47845 glibcxx_have_gc_sections=yes
47848 if test "$glibcxx_have_gc_sections" = "yes"; then
47849 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
47850 # NB: This flag only works reliably after 2.16.1. Configure tests
47851 # for this are difficult, so hard wire a value that should work.
47853 ac_test_CFLAGS="${CFLAGS+set}"
47854 ac_save_CFLAGS="$CFLAGS"
47855 CFLAGS='-Wl,--gc-sections'
47857 # Check for -Wl,--gc-sections
47858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47859 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47860 if test x$gcc_no_link = xyes; then
47861 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47864 /* end confdefs.h. */
47865 int one(void) { return 1; }
47866 int two(void) { return 2; }
47869 main ()
47871 two();
47873 return 0;
47875 _ACEOF
47876 if ac_fn_c_try_link "$LINENO"; then :
47877 ac_gcsections=yes
47878 else
47879 ac_gcsections=no
47881 rm -f core conftest.err conftest.$ac_objext \
47882 conftest$ac_exeext conftest.$ac_ext
47883 if test "$ac_gcsections" = "yes"; then
47884 rm -f conftest.c
47885 touch conftest.c
47886 if $CC -c conftest.c; then
47887 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
47888 grep "Warning: gc-sections option ignored" > /dev/null; then
47889 ac_gcsections=no
47892 rm -f conftest.c conftest.o conftest
47894 if test "$ac_gcsections" = "yes"; then
47895 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
47898 $as_echo "$ac_gcsections" >&6; }
47900 if test "$ac_test_CFLAGS" = set; then
47901 CFLAGS="$ac_save_CFLAGS"
47902 else
47903 # this is the suspicious part
47904 CFLAGS=''
47908 # Set -z,relro.
47909 # Note this is only for shared objects.
47910 ac_ld_relro=no
47911 if test x"$with_gnu_ld" = x"yes"; then
47912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
47913 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
47914 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
47915 if test -n "$cxx_z_relo"; then
47916 OPT_LDFLAGS="-Wl,-z,relro"
47917 ac_ld_relro=yes
47919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
47920 $as_echo "$ac_ld_relro" >&6; }
47923 # Set linker optimization flags.
47924 if test x"$with_gnu_ld" = x"yes"; then
47925 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
47931 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
47933 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
47935 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47937 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47939 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47941 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
47943 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47945 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47947 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
47950 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
47952 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
47954 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
47956 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
47958 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
47960 $as_echo "#define HAVE_COSF 1" >>confdefs.h
47962 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
47964 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
47966 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
47968 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
47970 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
47972 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47974 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
47976 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
47978 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
47980 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
47982 $as_echo "#define HAVE_POWF 1" >>confdefs.h
47984 $as_echo "#define HAVE_SINF 1" >>confdefs.h
47986 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
47988 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
47990 $as_echo "#define HAVE_TANF 1" >>confdefs.h
47992 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
47994 if test x"long_double_math_on_this_cpu" = x"yes"; then
47995 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
47997 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
47999 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
48002 for ac_func in __cxa_thread_atexit
48003 do :
48004 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
48005 if test "x$ac_cv_func___cxa_thread_atexit" = xyes; then :
48006 cat >>confdefs.h <<_ACEOF
48007 #define HAVE___CXA_THREAD_ATEXIT 1
48008 _ACEOF
48011 done
48013 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
48014 do :
48015 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48016 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48017 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
48018 cat >>confdefs.h <<_ACEOF
48019 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48020 _ACEOF
48023 done
48025 for ac_func in timespec_get
48026 do :
48027 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
48028 if test "x$ac_cv_func_timespec_get" = xyes; then :
48029 cat >>confdefs.h <<_ACEOF
48030 #define HAVE_TIMESPEC_GET 1
48031 _ACEOF
48034 done
48036 for ac_func in sockatmark
48037 do :
48038 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
48039 if test "x$ac_cv_func_sockatmark" = xyes; then :
48040 cat >>confdefs.h <<_ACEOF
48041 #define HAVE_SOCKATMARK 1
48042 _ACEOF
48045 done
48049 *-fuchsia*)
48050 SECTION_FLAGS='-ffunction-sections -fdata-sections'
48054 *-hpux*)
48055 SECTION_FLAGS='-ffunction-sections -fdata-sections'
48058 # If we're not using GNU ld, then there's no point in even trying these
48059 # tests. Check for that first. We should have already tested for gld
48060 # by now (in libtool), but require it now just to be safe...
48061 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
48062 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
48066 # The name set by libtool depends on the version of libtool. Shame on us
48067 # for depending on an impl detail, but c'est la vie. Older versions used
48068 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
48069 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
48070 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
48071 # set (hence we're using an older libtool), then set it.
48072 if test x${with_gnu_ld+set} != xset; then
48073 if test x${ac_cv_prog_gnu_ld+set} != xset; then
48074 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
48075 with_gnu_ld=no
48076 else
48077 with_gnu_ld=$ac_cv_prog_gnu_ld
48081 # Start by getting the version number. I think the libtool test already
48082 # does some of this, but throws away the result.
48083 glibcxx_ld_is_gold=no
48084 if test x"$with_gnu_ld" = x"yes"; then
48085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
48086 $as_echo_n "checking for ld version... " >&6; }
48088 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
48089 glibcxx_ld_is_gold=yes
48091 ldver=`$LD --version 2>/dev/null |
48092 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
48094 glibcxx_gnu_ld_version=`echo $ldver | \
48095 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
48096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
48097 $as_echo "$glibcxx_gnu_ld_version" >&6; }
48100 # Set --gc-sections.
48101 glibcxx_have_gc_sections=no
48102 if test "$glibcxx_ld_is_gold" = "yes"; then
48103 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
48104 glibcxx_have_gc_sections=yes
48106 else
48107 glibcxx_gcsections_min_ld=21602
48108 if test x"$with_gnu_ld" = x"yes" &&
48109 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
48110 glibcxx_have_gc_sections=yes
48113 if test "$glibcxx_have_gc_sections" = "yes"; then
48114 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
48115 # NB: This flag only works reliably after 2.16.1. Configure tests
48116 # for this are difficult, so hard wire a value that should work.
48118 ac_test_CFLAGS="${CFLAGS+set}"
48119 ac_save_CFLAGS="$CFLAGS"
48120 CFLAGS='-Wl,--gc-sections'
48122 # Check for -Wl,--gc-sections
48123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
48124 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
48125 if test x$gcc_no_link = xyes; then
48126 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48129 /* end confdefs.h. */
48130 int one(void) { return 1; }
48131 int two(void) { return 2; }
48134 main ()
48136 two();
48138 return 0;
48140 _ACEOF
48141 if ac_fn_c_try_link "$LINENO"; then :
48142 ac_gcsections=yes
48143 else
48144 ac_gcsections=no
48146 rm -f core conftest.err conftest.$ac_objext \
48147 conftest$ac_exeext conftest.$ac_ext
48148 if test "$ac_gcsections" = "yes"; then
48149 rm -f conftest.c
48150 touch conftest.c
48151 if $CC -c conftest.c; then
48152 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
48153 grep "Warning: gc-sections option ignored" > /dev/null; then
48154 ac_gcsections=no
48157 rm -f conftest.c conftest.o conftest
48159 if test "$ac_gcsections" = "yes"; then
48160 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
48162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
48163 $as_echo "$ac_gcsections" >&6; }
48165 if test "$ac_test_CFLAGS" = set; then
48166 CFLAGS="$ac_save_CFLAGS"
48167 else
48168 # this is the suspicious part
48169 CFLAGS=''
48173 # Set -z,relro.
48174 # Note this is only for shared objects.
48175 ac_ld_relro=no
48176 if test x"$with_gnu_ld" = x"yes"; then
48177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
48178 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
48179 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
48180 if test -n "$cxx_z_relo"; then
48181 OPT_LDFLAGS="-Wl,-z,relro"
48182 ac_ld_relro=yes
48184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
48185 $as_echo "$ac_ld_relro" >&6; }
48188 # Set linker optimization flags.
48189 if test x"$with_gnu_ld" = x"yes"; then
48190 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
48197 # GLIBCXX_CHECK_MATH_SUPPORT
48198 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
48200 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
48202 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
48204 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
48206 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
48208 $as_echo "#define HAVE_COSF 1" >>confdefs.h
48210 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
48212 $as_echo "#define HAVE_SINF 1" >>confdefs.h
48214 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
48216 $as_echo "#define HAVE_TANF 1" >>confdefs.h
48218 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
48220 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
48222 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
48224 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
48226 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
48228 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
48230 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
48232 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
48234 $as_echo "#define HAVE_MODF 1" >>confdefs.h
48236 $as_echo "#define HAVE_POWF 1" >>confdefs.h
48238 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
48241 # GLIBCXX_CHECK_STDLIB_SUPPORT
48242 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
48247 # Check whether --enable-tls was given.
48248 if test "${enable_tls+set}" = set; then :
48249 enableval=$enable_tls;
48250 case "$enableval" in
48251 yes|no) ;;
48252 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
48253 esac
48255 else
48256 enable_tls=yes
48260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
48261 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
48262 if ${gcc_cv_have_tls+:} false; then :
48263 $as_echo_n "(cached) " >&6
48264 else
48266 if test "$cross_compiling" = yes; then :
48267 if test x$gcc_no_link = xyes; then
48268 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48271 /* end confdefs.h. */
48272 __thread int a; int b; int main() { return a = b; }
48273 _ACEOF
48274 if ac_fn_c_try_link "$LINENO"; then :
48275 chktls_save_LDFLAGS="$LDFLAGS"
48276 case $host in
48277 *-*-linux* | -*-uclinuxfdpic*)
48278 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
48280 esac
48281 chktls_save_CFLAGS="$CFLAGS"
48282 CFLAGS="-fPIC $CFLAGS"
48283 if test x$gcc_no_link = xyes; then
48284 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48287 /* end confdefs.h. */
48288 int f() { return 0; }
48289 _ACEOF
48290 if ac_fn_c_try_link "$LINENO"; then :
48291 if test x$gcc_no_link = xyes; then
48292 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48295 /* end confdefs.h. */
48296 __thread int a; int b; int f() { return a = b; }
48297 _ACEOF
48298 if ac_fn_c_try_link "$LINENO"; then :
48299 gcc_cv_have_tls=yes
48300 else
48301 gcc_cv_have_tls=no
48303 rm -f core conftest.err conftest.$ac_objext \
48304 conftest$ac_exeext conftest.$ac_ext
48305 else
48306 gcc_cv_have_tls=yes
48308 rm -f core conftest.err conftest.$ac_objext \
48309 conftest$ac_exeext conftest.$ac_ext
48310 CFLAGS="$chktls_save_CFLAGS"
48311 LDFLAGS="$chktls_save_LDFLAGS"
48312 else
48313 gcc_cv_have_tls=no
48315 rm -f core conftest.err conftest.$ac_objext \
48316 conftest$ac_exeext conftest.$ac_ext
48319 else
48320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48321 /* end confdefs.h. */
48322 __thread int a; int b; int main() { return a = b; }
48323 _ACEOF
48324 if ac_fn_c_try_run "$LINENO"; then :
48325 chktls_save_LDFLAGS="$LDFLAGS"
48326 LDFLAGS="-static $LDFLAGS"
48327 if test x$gcc_no_link = xyes; then
48328 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48331 /* end confdefs.h. */
48332 int main() { return 0; }
48333 _ACEOF
48334 if ac_fn_c_try_link "$LINENO"; then :
48335 if test "$cross_compiling" = yes; then :
48336 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
48337 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
48338 as_fn_error $? "cannot run test program while cross compiling
48339 See \`config.log' for more details" "$LINENO" 5; }
48340 else
48341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48342 /* end confdefs.h. */
48343 __thread int a; int b; int main() { return a = b; }
48344 _ACEOF
48345 if ac_fn_c_try_run "$LINENO"; then :
48346 gcc_cv_have_tls=yes
48347 else
48348 gcc_cv_have_tls=no
48350 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
48351 conftest.$ac_objext conftest.beam conftest.$ac_ext
48354 else
48355 gcc_cv_have_tls=yes
48357 rm -f core conftest.err conftest.$ac_objext \
48358 conftest$ac_exeext conftest.$ac_ext
48359 LDFLAGS="$chktls_save_LDFLAGS"
48360 if test $gcc_cv_have_tls = yes; then
48361 chktls_save_CFLAGS="$CFLAGS"
48362 thread_CFLAGS=failed
48363 for flag in '' '-pthread' '-lpthread'; do
48364 CFLAGS="$flag $chktls_save_CFLAGS"
48365 if test x$gcc_no_link = xyes; then
48366 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48369 /* end confdefs.h. */
48370 #include <pthread.h>
48371 void *g(void *d) { return NULL; }
48373 main ()
48375 pthread_t t; pthread_create(&t,NULL,g,NULL);
48377 return 0;
48379 _ACEOF
48380 if ac_fn_c_try_link "$LINENO"; then :
48381 thread_CFLAGS="$flag"
48383 rm -f core conftest.err conftest.$ac_objext \
48384 conftest$ac_exeext conftest.$ac_ext
48385 if test "X$thread_CFLAGS" != Xfailed; then
48386 break
48388 done
48389 CFLAGS="$chktls_save_CFLAGS"
48390 if test "X$thread_CFLAGS" != Xfailed; then
48391 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
48392 if test "$cross_compiling" = yes; then :
48393 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
48394 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
48395 as_fn_error $? "cannot run test program while cross compiling
48396 See \`config.log' for more details" "$LINENO" 5; }
48397 else
48398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48399 /* end confdefs.h. */
48400 #include <pthread.h>
48401 __thread int a;
48402 static int *volatile a_in_other_thread;
48403 static void *
48404 thread_func (void *arg)
48406 a_in_other_thread = &a;
48407 return (void *)0;
48410 main ()
48412 pthread_t thread;
48413 void *thread_retval;
48414 int *volatile a_in_main_thread;
48415 a_in_main_thread = &a;
48416 if (pthread_create (&thread, (pthread_attr_t *)0,
48417 thread_func, (void *)0))
48418 return 0;
48419 if (pthread_join (thread, &thread_retval))
48420 return 0;
48421 return (a_in_other_thread == a_in_main_thread);
48423 return 0;
48425 _ACEOF
48426 if ac_fn_c_try_run "$LINENO"; then :
48427 gcc_cv_have_tls=yes
48428 else
48429 gcc_cv_have_tls=no
48431 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
48432 conftest.$ac_objext conftest.beam conftest.$ac_ext
48435 CFLAGS="$chktls_save_CFLAGS"
48438 else
48439 gcc_cv_have_tls=no
48441 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
48442 conftest.$ac_objext conftest.beam conftest.$ac_ext
48446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
48447 $as_echo "$gcc_cv_have_tls" >&6; }
48448 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
48450 $as_echo "#define HAVE_TLS 1" >>confdefs.h
48453 case "$target" in
48454 *-hpux10*)
48455 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
48457 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
48459 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
48461 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
48463 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
48466 esac
48468 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
48470 # All these tests are for C++; save the language and the compiler flags.
48471 # The CXXFLAGS thing is suspicious, but based on similar bits previously
48472 # found in GLIBCXX_CONFIGURE.
48474 ac_ext=cpp
48475 ac_cpp='$CXXCPP $CPPFLAGS'
48476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48480 ac_test_CXXFLAGS="${CXXFLAGS+set}"
48481 ac_save_CXXFLAGS="$CXXFLAGS"
48483 # Check for -ffunction-sections -fdata-sections
48484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
48485 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
48486 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
48487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48488 /* end confdefs.h. */
48489 int foo; void bar() { };
48491 main ()
48495 return 0;
48497 _ACEOF
48498 if ac_fn_cxx_try_compile "$LINENO"; then :
48499 ac_fdsections=yes
48500 else
48501 ac_fdsections=no
48503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48504 if test "$ac_test_CXXFLAGS" = set; then
48505 CXXFLAGS="$ac_save_CXXFLAGS"
48506 else
48507 # this is the suspicious part
48508 CXXFLAGS=''
48510 if test x"$ac_fdsections" = x"yes"; then
48511 SECTION_FLAGS='-ffunction-sections -fdata-sections'
48513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
48514 $as_echo "$ac_fdsections" >&6; }
48516 ac_ext=c
48517 ac_cpp='$CPP $CPPFLAGS'
48518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48525 # If we're not using GNU ld, then there's no point in even trying these
48526 # tests. Check for that first. We should have already tested for gld
48527 # by now (in libtool), but require it now just to be safe...
48528 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
48529 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
48533 # The name set by libtool depends on the version of libtool. Shame on us
48534 # for depending on an impl detail, but c'est la vie. Older versions used
48535 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
48536 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
48537 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
48538 # set (hence we're using an older libtool), then set it.
48539 if test x${with_gnu_ld+set} != xset; then
48540 if test x${ac_cv_prog_gnu_ld+set} != xset; then
48541 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
48542 with_gnu_ld=no
48543 else
48544 with_gnu_ld=$ac_cv_prog_gnu_ld
48548 # Start by getting the version number. I think the libtool test already
48549 # does some of this, but throws away the result.
48550 glibcxx_ld_is_gold=no
48551 if test x"$with_gnu_ld" = x"yes"; then
48552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
48553 $as_echo_n "checking for ld version... " >&6; }
48555 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
48556 glibcxx_ld_is_gold=yes
48558 ldver=`$LD --version 2>/dev/null |
48559 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
48561 glibcxx_gnu_ld_version=`echo $ldver | \
48562 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
48563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
48564 $as_echo "$glibcxx_gnu_ld_version" >&6; }
48567 # Set --gc-sections.
48568 glibcxx_have_gc_sections=no
48569 if test "$glibcxx_ld_is_gold" = "yes"; then
48570 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
48571 glibcxx_have_gc_sections=yes
48573 else
48574 glibcxx_gcsections_min_ld=21602
48575 if test x"$with_gnu_ld" = x"yes" &&
48576 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
48577 glibcxx_have_gc_sections=yes
48580 if test "$glibcxx_have_gc_sections" = "yes"; then
48581 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
48582 # NB: This flag only works reliably after 2.16.1. Configure tests
48583 # for this are difficult, so hard wire a value that should work.
48585 ac_test_CFLAGS="${CFLAGS+set}"
48586 ac_save_CFLAGS="$CFLAGS"
48587 CFLAGS='-Wl,--gc-sections'
48589 # Check for -Wl,--gc-sections
48590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
48591 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
48592 if test x$gcc_no_link = xyes; then
48593 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48596 /* end confdefs.h. */
48597 int one(void) { return 1; }
48598 int two(void) { return 2; }
48601 main ()
48603 two();
48605 return 0;
48607 _ACEOF
48608 if ac_fn_c_try_link "$LINENO"; then :
48609 ac_gcsections=yes
48610 else
48611 ac_gcsections=no
48613 rm -f core conftest.err conftest.$ac_objext \
48614 conftest$ac_exeext conftest.$ac_ext
48615 if test "$ac_gcsections" = "yes"; then
48616 rm -f conftest.c
48617 touch conftest.c
48618 if $CC -c conftest.c; then
48619 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
48620 grep "Warning: gc-sections option ignored" > /dev/null; then
48621 ac_gcsections=no
48624 rm -f conftest.c conftest.o conftest
48626 if test "$ac_gcsections" = "yes"; then
48627 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
48629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
48630 $as_echo "$ac_gcsections" >&6; }
48632 if test "$ac_test_CFLAGS" = set; then
48633 CFLAGS="$ac_save_CFLAGS"
48634 else
48635 # this is the suspicious part
48636 CFLAGS=''
48640 # Set -z,relro.
48641 # Note this is only for shared objects.
48642 ac_ld_relro=no
48643 if test x"$with_gnu_ld" = x"yes"; then
48644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
48645 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
48646 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
48647 if test -n "$cxx_z_relo"; then
48648 OPT_LDFLAGS="-Wl,-z,relro"
48649 ac_ld_relro=yes
48651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
48652 $as_echo "$ac_ld_relro" >&6; }
48655 # Set linker optimization flags.
48656 if test x"$with_gnu_ld" = x"yes"; then
48657 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
48664 ac_test_CXXFLAGS="${CXXFLAGS+set}"
48665 ac_save_CXXFLAGS="$CXXFLAGS"
48666 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
48668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
48669 $as_echo_n "checking for sin in -lm... " >&6; }
48670 if ${ac_cv_lib_m_sin+:} false; then :
48671 $as_echo_n "(cached) " >&6
48672 else
48673 ac_check_lib_save_LIBS=$LIBS
48674 LIBS="-lm $LIBS"
48675 if test x$gcc_no_link = xyes; then
48676 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48679 /* end confdefs.h. */
48681 /* Override any GCC internal prototype to avoid an error.
48682 Use char because int might match the return type of a GCC
48683 builtin and then its argument prototype would still apply. */
48684 #ifdef __cplusplus
48685 extern "C"
48686 #endif
48687 char sin ();
48689 main ()
48691 return sin ();
48693 return 0;
48695 _ACEOF
48696 if ac_fn_c_try_link "$LINENO"; then :
48697 ac_cv_lib_m_sin=yes
48698 else
48699 ac_cv_lib_m_sin=no
48701 rm -f core conftest.err conftest.$ac_objext \
48702 conftest$ac_exeext conftest.$ac_ext
48703 LIBS=$ac_check_lib_save_LIBS
48705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
48706 $as_echo "$ac_cv_lib_m_sin" >&6; }
48707 if test "x$ac_cv_lib_m_sin" = xyes; then :
48708 libm="-lm"
48711 ac_save_LIBS="$LIBS"
48712 LIBS="$LIBS $libm"
48716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
48717 $as_echo_n "checking for isinf declaration... " >&6; }
48718 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
48719 if ${glibcxx_cv_func_isinf_use+:} false; then :
48720 $as_echo_n "(cached) " >&6
48721 else
48724 ac_ext=cpp
48725 ac_cpp='$CXXCPP $CPPFLAGS'
48726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48731 /* end confdefs.h. */
48732 #include <math.h>
48733 #ifdef HAVE_IEEEFP_H
48734 #include <ieeefp.h>
48735 #endif
48738 main ()
48740 isinf(0);
48742 return 0;
48744 _ACEOF
48745 if ac_fn_cxx_try_compile "$LINENO"; then :
48746 glibcxx_cv_func_isinf_use=yes
48747 else
48748 glibcxx_cv_func_isinf_use=no
48750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48751 ac_ext=c
48752 ac_cpp='$CPP $CPPFLAGS'
48753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
48762 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
48764 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
48765 for ac_func in isinf
48766 do :
48767 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
48768 if test "x$ac_cv_func_isinf" = xyes; then :
48769 cat >>confdefs.h <<_ACEOF
48770 #define HAVE_ISINF 1
48771 _ACEOF
48774 done
48776 else
48778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
48779 $as_echo_n "checking for _isinf declaration... " >&6; }
48780 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
48781 if ${glibcxx_cv_func__isinf_use+:} false; then :
48782 $as_echo_n "(cached) " >&6
48783 else
48786 ac_ext=cpp
48787 ac_cpp='$CXXCPP $CPPFLAGS'
48788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48793 /* end confdefs.h. */
48794 #include <math.h>
48795 #ifdef HAVE_IEEEFP_H
48796 #include <ieeefp.h>
48797 #endif
48800 main ()
48802 _isinf(0);
48804 return 0;
48806 _ACEOF
48807 if ac_fn_cxx_try_compile "$LINENO"; then :
48808 glibcxx_cv_func__isinf_use=yes
48809 else
48810 glibcxx_cv_func__isinf_use=no
48812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48813 ac_ext=c
48814 ac_cpp='$CPP $CPPFLAGS'
48815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
48824 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
48826 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
48827 for ac_func in _isinf
48828 do :
48829 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
48830 if test "x$ac_cv_func__isinf" = xyes; then :
48831 cat >>confdefs.h <<_ACEOF
48832 #define HAVE__ISINF 1
48833 _ACEOF
48836 done
48845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
48846 $as_echo_n "checking for isnan declaration... " >&6; }
48847 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
48848 if ${glibcxx_cv_func_isnan_use+:} false; then :
48849 $as_echo_n "(cached) " >&6
48850 else
48853 ac_ext=cpp
48854 ac_cpp='$CXXCPP $CPPFLAGS'
48855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48860 /* end confdefs.h. */
48861 #include <math.h>
48862 #ifdef HAVE_IEEEFP_H
48863 #include <ieeefp.h>
48864 #endif
48867 main ()
48869 isnan(0);
48871 return 0;
48873 _ACEOF
48874 if ac_fn_cxx_try_compile "$LINENO"; then :
48875 glibcxx_cv_func_isnan_use=yes
48876 else
48877 glibcxx_cv_func_isnan_use=no
48879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48880 ac_ext=c
48881 ac_cpp='$CPP $CPPFLAGS'
48882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
48891 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
48893 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
48894 for ac_func in isnan
48895 do :
48896 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
48897 if test "x$ac_cv_func_isnan" = xyes; then :
48898 cat >>confdefs.h <<_ACEOF
48899 #define HAVE_ISNAN 1
48900 _ACEOF
48903 done
48905 else
48907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
48908 $as_echo_n "checking for _isnan declaration... " >&6; }
48909 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
48910 if ${glibcxx_cv_func__isnan_use+:} false; then :
48911 $as_echo_n "(cached) " >&6
48912 else
48915 ac_ext=cpp
48916 ac_cpp='$CXXCPP $CPPFLAGS'
48917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48922 /* end confdefs.h. */
48923 #include <math.h>
48924 #ifdef HAVE_IEEEFP_H
48925 #include <ieeefp.h>
48926 #endif
48929 main ()
48931 _isnan(0);
48933 return 0;
48935 _ACEOF
48936 if ac_fn_cxx_try_compile "$LINENO"; then :
48937 glibcxx_cv_func__isnan_use=yes
48938 else
48939 glibcxx_cv_func__isnan_use=no
48941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48942 ac_ext=c
48943 ac_cpp='$CPP $CPPFLAGS'
48944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
48953 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
48955 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
48956 for ac_func in _isnan
48957 do :
48958 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
48959 if test "x$ac_cv_func__isnan" = xyes; then :
48960 cat >>confdefs.h <<_ACEOF
48961 #define HAVE__ISNAN 1
48962 _ACEOF
48965 done
48974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
48975 $as_echo_n "checking for finite declaration... " >&6; }
48976 if test x${glibcxx_cv_func_finite_use+set} != xset; then
48977 if ${glibcxx_cv_func_finite_use+:} false; then :
48978 $as_echo_n "(cached) " >&6
48979 else
48982 ac_ext=cpp
48983 ac_cpp='$CXXCPP $CPPFLAGS'
48984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48989 /* end confdefs.h. */
48990 #include <math.h>
48991 #ifdef HAVE_IEEEFP_H
48992 #include <ieeefp.h>
48993 #endif
48996 main ()
48998 finite(0);
49000 return 0;
49002 _ACEOF
49003 if ac_fn_cxx_try_compile "$LINENO"; then :
49004 glibcxx_cv_func_finite_use=yes
49005 else
49006 glibcxx_cv_func_finite_use=no
49008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49009 ac_ext=c
49010 ac_cpp='$CPP $CPPFLAGS'
49011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
49020 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
49022 if test x$glibcxx_cv_func_finite_use = x"yes"; then
49023 for ac_func in finite
49024 do :
49025 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
49026 if test "x$ac_cv_func_finite" = xyes; then :
49027 cat >>confdefs.h <<_ACEOF
49028 #define HAVE_FINITE 1
49029 _ACEOF
49032 done
49034 else
49036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
49037 $as_echo_n "checking for _finite declaration... " >&6; }
49038 if test x${glibcxx_cv_func__finite_use+set} != xset; then
49039 if ${glibcxx_cv_func__finite_use+:} false; then :
49040 $as_echo_n "(cached) " >&6
49041 else
49044 ac_ext=cpp
49045 ac_cpp='$CXXCPP $CPPFLAGS'
49046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49051 /* end confdefs.h. */
49052 #include <math.h>
49053 #ifdef HAVE_IEEEFP_H
49054 #include <ieeefp.h>
49055 #endif
49058 main ()
49060 _finite(0);
49062 return 0;
49064 _ACEOF
49065 if ac_fn_cxx_try_compile "$LINENO"; then :
49066 glibcxx_cv_func__finite_use=yes
49067 else
49068 glibcxx_cv_func__finite_use=no
49070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49071 ac_ext=c
49072 ac_cpp='$CPP $CPPFLAGS'
49073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
49082 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
49084 if test x$glibcxx_cv_func__finite_use = x"yes"; then
49085 for ac_func in _finite
49086 do :
49087 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
49088 if test "x$ac_cv_func__finite" = xyes; then :
49089 cat >>confdefs.h <<_ACEOF
49090 #define HAVE__FINITE 1
49091 _ACEOF
49094 done
49103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
49104 $as_echo_n "checking for sincos declaration... " >&6; }
49105 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
49106 if ${glibcxx_cv_func_sincos_use+:} false; then :
49107 $as_echo_n "(cached) " >&6
49108 else
49111 ac_ext=cpp
49112 ac_cpp='$CXXCPP $CPPFLAGS'
49113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49118 /* end confdefs.h. */
49119 #include <math.h>
49121 main ()
49123 sincos(0, 0, 0);
49125 return 0;
49127 _ACEOF
49128 if ac_fn_cxx_try_compile "$LINENO"; then :
49129 glibcxx_cv_func_sincos_use=yes
49130 else
49131 glibcxx_cv_func_sincos_use=no
49133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49134 ac_ext=c
49135 ac_cpp='$CPP $CPPFLAGS'
49136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
49145 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
49147 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
49148 for ac_func in sincos
49149 do :
49150 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
49151 if test "x$ac_cv_func_sincos" = xyes; then :
49152 cat >>confdefs.h <<_ACEOF
49153 #define HAVE_SINCOS 1
49154 _ACEOF
49157 done
49159 else
49161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
49162 $as_echo_n "checking for _sincos declaration... " >&6; }
49163 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
49164 if ${glibcxx_cv_func__sincos_use+:} false; then :
49165 $as_echo_n "(cached) " >&6
49166 else
49169 ac_ext=cpp
49170 ac_cpp='$CXXCPP $CPPFLAGS'
49171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49176 /* end confdefs.h. */
49177 #include <math.h>
49179 main ()
49181 _sincos(0, 0, 0);
49183 return 0;
49185 _ACEOF
49186 if ac_fn_cxx_try_compile "$LINENO"; then :
49187 glibcxx_cv_func__sincos_use=yes
49188 else
49189 glibcxx_cv_func__sincos_use=no
49191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49192 ac_ext=c
49193 ac_cpp='$CPP $CPPFLAGS'
49194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
49203 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
49205 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
49206 for ac_func in _sincos
49207 do :
49208 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
49209 if test "x$ac_cv_func__sincos" = xyes; then :
49210 cat >>confdefs.h <<_ACEOF
49211 #define HAVE__SINCOS 1
49212 _ACEOF
49215 done
49224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
49225 $as_echo_n "checking for fpclass declaration... " >&6; }
49226 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
49227 if ${glibcxx_cv_func_fpclass_use+:} false; then :
49228 $as_echo_n "(cached) " >&6
49229 else
49232 ac_ext=cpp
49233 ac_cpp='$CXXCPP $CPPFLAGS'
49234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49239 /* end confdefs.h. */
49240 #include <math.h>
49241 #ifdef HAVE_IEEEFP_H
49242 #include <ieeefp.h>
49243 #endif
49246 main ()
49248 fpclass(0);
49250 return 0;
49252 _ACEOF
49253 if ac_fn_cxx_try_compile "$LINENO"; then :
49254 glibcxx_cv_func_fpclass_use=yes
49255 else
49256 glibcxx_cv_func_fpclass_use=no
49258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49259 ac_ext=c
49260 ac_cpp='$CPP $CPPFLAGS'
49261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
49270 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
49272 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
49273 for ac_func in fpclass
49274 do :
49275 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
49276 if test "x$ac_cv_func_fpclass" = xyes; then :
49277 cat >>confdefs.h <<_ACEOF
49278 #define HAVE_FPCLASS 1
49279 _ACEOF
49282 done
49284 else
49286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
49287 $as_echo_n "checking for _fpclass declaration... " >&6; }
49288 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
49289 if ${glibcxx_cv_func__fpclass_use+:} false; then :
49290 $as_echo_n "(cached) " >&6
49291 else
49294 ac_ext=cpp
49295 ac_cpp='$CXXCPP $CPPFLAGS'
49296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49301 /* end confdefs.h. */
49302 #include <math.h>
49303 #ifdef HAVE_IEEEFP_H
49304 #include <ieeefp.h>
49305 #endif
49308 main ()
49310 _fpclass(0);
49312 return 0;
49314 _ACEOF
49315 if ac_fn_cxx_try_compile "$LINENO"; then :
49316 glibcxx_cv_func__fpclass_use=yes
49317 else
49318 glibcxx_cv_func__fpclass_use=no
49320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49321 ac_ext=c
49322 ac_cpp='$CPP $CPPFLAGS'
49323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
49332 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
49334 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
49335 for ac_func in _fpclass
49336 do :
49337 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
49338 if test "x$ac_cv_func__fpclass" = xyes; then :
49339 cat >>confdefs.h <<_ACEOF
49340 #define HAVE__FPCLASS 1
49341 _ACEOF
49344 done
49353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
49354 $as_echo_n "checking for qfpclass declaration... " >&6; }
49355 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
49356 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
49357 $as_echo_n "(cached) " >&6
49358 else
49361 ac_ext=cpp
49362 ac_cpp='$CXXCPP $CPPFLAGS'
49363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49368 /* end confdefs.h. */
49369 #include <math.h>
49370 #ifdef HAVE_IEEEFP_H
49371 #include <ieeefp.h>
49372 #endif
49375 main ()
49377 qfpclass(0);
49379 return 0;
49381 _ACEOF
49382 if ac_fn_cxx_try_compile "$LINENO"; then :
49383 glibcxx_cv_func_qfpclass_use=yes
49384 else
49385 glibcxx_cv_func_qfpclass_use=no
49387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49388 ac_ext=c
49389 ac_cpp='$CPP $CPPFLAGS'
49390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
49399 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
49401 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
49402 for ac_func in qfpclass
49403 do :
49404 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
49405 if test "x$ac_cv_func_qfpclass" = xyes; then :
49406 cat >>confdefs.h <<_ACEOF
49407 #define HAVE_QFPCLASS 1
49408 _ACEOF
49411 done
49413 else
49415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
49416 $as_echo_n "checking for _qfpclass declaration... " >&6; }
49417 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
49418 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
49419 $as_echo_n "(cached) " >&6
49420 else
49423 ac_ext=cpp
49424 ac_cpp='$CXXCPP $CPPFLAGS'
49425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49430 /* end confdefs.h. */
49431 #include <math.h>
49432 #ifdef HAVE_IEEEFP_H
49433 #include <ieeefp.h>
49434 #endif
49437 main ()
49439 _qfpclass(0);
49441 return 0;
49443 _ACEOF
49444 if ac_fn_cxx_try_compile "$LINENO"; then :
49445 glibcxx_cv_func__qfpclass_use=yes
49446 else
49447 glibcxx_cv_func__qfpclass_use=no
49449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49450 ac_ext=c
49451 ac_cpp='$CPP $CPPFLAGS'
49452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
49461 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
49463 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
49464 for ac_func in _qfpclass
49465 do :
49466 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
49467 if test "x$ac_cv_func__qfpclass" = xyes; then :
49468 cat >>confdefs.h <<_ACEOF
49469 #define HAVE__QFPCLASS 1
49470 _ACEOF
49473 done
49482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
49483 $as_echo_n "checking for hypot declaration... " >&6; }
49484 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
49485 if ${glibcxx_cv_func_hypot_use+:} false; then :
49486 $as_echo_n "(cached) " >&6
49487 else
49490 ac_ext=cpp
49491 ac_cpp='$CXXCPP $CPPFLAGS'
49492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49497 /* end confdefs.h. */
49498 #include <math.h>
49500 main ()
49502 hypot(0, 0);
49504 return 0;
49506 _ACEOF
49507 if ac_fn_cxx_try_compile "$LINENO"; then :
49508 glibcxx_cv_func_hypot_use=yes
49509 else
49510 glibcxx_cv_func_hypot_use=no
49512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49513 ac_ext=c
49514 ac_cpp='$CPP $CPPFLAGS'
49515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
49524 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
49526 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
49527 for ac_func in hypot
49528 do :
49529 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
49530 if test "x$ac_cv_func_hypot" = xyes; then :
49531 cat >>confdefs.h <<_ACEOF
49532 #define HAVE_HYPOT 1
49533 _ACEOF
49536 done
49538 else
49540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
49541 $as_echo_n "checking for _hypot declaration... " >&6; }
49542 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
49543 if ${glibcxx_cv_func__hypot_use+:} false; then :
49544 $as_echo_n "(cached) " >&6
49545 else
49548 ac_ext=cpp
49549 ac_cpp='$CXXCPP $CPPFLAGS'
49550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49555 /* end confdefs.h. */
49556 #include <math.h>
49558 main ()
49560 _hypot(0, 0);
49562 return 0;
49564 _ACEOF
49565 if ac_fn_cxx_try_compile "$LINENO"; then :
49566 glibcxx_cv_func__hypot_use=yes
49567 else
49568 glibcxx_cv_func__hypot_use=no
49570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49571 ac_ext=c
49572 ac_cpp='$CPP $CPPFLAGS'
49573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
49582 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
49584 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
49585 for ac_func in _hypot
49586 do :
49587 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
49588 if test "x$ac_cv_func__hypot" = xyes; then :
49589 cat >>confdefs.h <<_ACEOF
49590 #define HAVE__HYPOT 1
49591 _ACEOF
49594 done
49603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
49604 $as_echo_n "checking for float trig functions... " >&6; }
49605 if ${glibcxx_cv_func_float_trig_use+:} false; then :
49606 $as_echo_n "(cached) " >&6
49607 else
49610 ac_ext=cpp
49611 ac_cpp='$CXXCPP $CPPFLAGS'
49612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49617 /* end confdefs.h. */
49618 #include <math.h>
49620 main ()
49622 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
49624 return 0;
49626 _ACEOF
49627 if ac_fn_cxx_try_compile "$LINENO"; then :
49628 glibcxx_cv_func_float_trig_use=yes
49629 else
49630 glibcxx_cv_func_float_trig_use=no
49632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49633 ac_ext=c
49634 ac_cpp='$CPP $CPPFLAGS'
49635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
49642 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
49643 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
49644 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
49645 do :
49646 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49647 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49648 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49649 cat >>confdefs.h <<_ACEOF
49650 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49651 _ACEOF
49654 done
49656 else
49657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
49658 $as_echo_n "checking for _float trig functions... " >&6; }
49659 if ${glibcxx_cv_func__float_trig_use+:} false; then :
49660 $as_echo_n "(cached) " >&6
49661 else
49664 ac_ext=cpp
49665 ac_cpp='$CXXCPP $CPPFLAGS'
49666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49671 /* end confdefs.h. */
49672 #include <math.h>
49674 main ()
49676 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
49678 return 0;
49680 _ACEOF
49681 if ac_fn_cxx_try_compile "$LINENO"; then :
49682 glibcxx_cv_func__float_trig_use=yes
49683 else
49684 glibcxx_cv_func__float_trig_use=no
49686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49687 ac_ext=c
49688 ac_cpp='$CPP $CPPFLAGS'
49689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
49696 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
49697 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
49698 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
49699 do :
49700 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49701 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49702 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49703 cat >>confdefs.h <<_ACEOF
49704 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49705 _ACEOF
49708 done
49717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
49718 $as_echo_n "checking for float round functions... " >&6; }
49719 if ${glibcxx_cv_func_float_round_use+:} false; then :
49720 $as_echo_n "(cached) " >&6
49721 else
49724 ac_ext=cpp
49725 ac_cpp='$CXXCPP $CPPFLAGS'
49726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49731 /* end confdefs.h. */
49732 #include <math.h>
49734 main ()
49736 ceilf (0); floorf (0);
49738 return 0;
49740 _ACEOF
49741 if ac_fn_cxx_try_compile "$LINENO"; then :
49742 glibcxx_cv_func_float_round_use=yes
49743 else
49744 glibcxx_cv_func_float_round_use=no
49746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49747 ac_ext=c
49748 ac_cpp='$CPP $CPPFLAGS'
49749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
49756 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
49757 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
49758 for ac_func in ceilf floorf
49759 do :
49760 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49761 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49762 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49763 cat >>confdefs.h <<_ACEOF
49764 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49765 _ACEOF
49768 done
49770 else
49771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
49772 $as_echo_n "checking for _float round functions... " >&6; }
49773 if ${glibcxx_cv_func__float_round_use+:} false; then :
49774 $as_echo_n "(cached) " >&6
49775 else
49778 ac_ext=cpp
49779 ac_cpp='$CXXCPP $CPPFLAGS'
49780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49785 /* end confdefs.h. */
49786 #include <math.h>
49788 main ()
49790 _ceilf (0); _floorf (0);
49792 return 0;
49794 _ACEOF
49795 if ac_fn_cxx_try_compile "$LINENO"; then :
49796 glibcxx_cv_func__float_round_use=yes
49797 else
49798 glibcxx_cv_func__float_round_use=no
49800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49801 ac_ext=c
49802 ac_cpp='$CPP $CPPFLAGS'
49803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
49810 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
49811 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
49812 for ac_func in _ceilf _floorf
49813 do :
49814 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49815 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49816 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49817 cat >>confdefs.h <<_ACEOF
49818 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49819 _ACEOF
49822 done
49832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
49833 $as_echo_n "checking for expf declaration... " >&6; }
49834 if test x${glibcxx_cv_func_expf_use+set} != xset; then
49835 if ${glibcxx_cv_func_expf_use+:} false; then :
49836 $as_echo_n "(cached) " >&6
49837 else
49840 ac_ext=cpp
49841 ac_cpp='$CXXCPP $CPPFLAGS'
49842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49847 /* end confdefs.h. */
49848 #include <math.h>
49849 #ifdef HAVE_IEEEFP_H
49850 #include <ieeefp.h>
49851 #endif
49854 main ()
49856 expf(0);
49858 return 0;
49860 _ACEOF
49861 if ac_fn_cxx_try_compile "$LINENO"; then :
49862 glibcxx_cv_func_expf_use=yes
49863 else
49864 glibcxx_cv_func_expf_use=no
49866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49867 ac_ext=c
49868 ac_cpp='$CPP $CPPFLAGS'
49869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
49878 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
49880 if test x$glibcxx_cv_func_expf_use = x"yes"; then
49881 for ac_func in expf
49882 do :
49883 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
49884 if test "x$ac_cv_func_expf" = xyes; then :
49885 cat >>confdefs.h <<_ACEOF
49886 #define HAVE_EXPF 1
49887 _ACEOF
49890 done
49892 else
49894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
49895 $as_echo_n "checking for _expf declaration... " >&6; }
49896 if test x${glibcxx_cv_func__expf_use+set} != xset; then
49897 if ${glibcxx_cv_func__expf_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>
49911 #ifdef HAVE_IEEEFP_H
49912 #include <ieeefp.h>
49913 #endif
49916 main ()
49918 _expf(0);
49920 return 0;
49922 _ACEOF
49923 if ac_fn_cxx_try_compile "$LINENO"; then :
49924 glibcxx_cv_func__expf_use=yes
49925 else
49926 glibcxx_cv_func__expf_use=no
49928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49929 ac_ext=c
49930 ac_cpp='$CPP $CPPFLAGS'
49931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
49940 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
49942 if test x$glibcxx_cv_func__expf_use = x"yes"; then
49943 for ac_func in _expf
49944 do :
49945 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
49946 if test "x$ac_cv_func__expf" = xyes; then :
49947 cat >>confdefs.h <<_ACEOF
49948 #define HAVE__EXPF 1
49949 _ACEOF
49952 done
49961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
49962 $as_echo_n "checking for isnanf declaration... " >&6; }
49963 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
49964 if ${glibcxx_cv_func_isnanf_use+:} false; then :
49965 $as_echo_n "(cached) " >&6
49966 else
49969 ac_ext=cpp
49970 ac_cpp='$CXXCPP $CPPFLAGS'
49971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49976 /* end confdefs.h. */
49977 #include <math.h>
49978 #ifdef HAVE_IEEEFP_H
49979 #include <ieeefp.h>
49980 #endif
49983 main ()
49985 isnanf(0);
49987 return 0;
49989 _ACEOF
49990 if ac_fn_cxx_try_compile "$LINENO"; then :
49991 glibcxx_cv_func_isnanf_use=yes
49992 else
49993 glibcxx_cv_func_isnanf_use=no
49995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49996 ac_ext=c
49997 ac_cpp='$CPP $CPPFLAGS'
49998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
50007 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
50009 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
50010 for ac_func in isnanf
50011 do :
50012 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
50013 if test "x$ac_cv_func_isnanf" = xyes; then :
50014 cat >>confdefs.h <<_ACEOF
50015 #define HAVE_ISNANF 1
50016 _ACEOF
50019 done
50021 else
50023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
50024 $as_echo_n "checking for _isnanf declaration... " >&6; }
50025 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
50026 if ${glibcxx_cv_func__isnanf_use+:} false; then :
50027 $as_echo_n "(cached) " >&6
50028 else
50031 ac_ext=cpp
50032 ac_cpp='$CXXCPP $CPPFLAGS'
50033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50038 /* end confdefs.h. */
50039 #include <math.h>
50040 #ifdef HAVE_IEEEFP_H
50041 #include <ieeefp.h>
50042 #endif
50045 main ()
50047 _isnanf(0);
50049 return 0;
50051 _ACEOF
50052 if ac_fn_cxx_try_compile "$LINENO"; then :
50053 glibcxx_cv_func__isnanf_use=yes
50054 else
50055 glibcxx_cv_func__isnanf_use=no
50057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50058 ac_ext=c
50059 ac_cpp='$CPP $CPPFLAGS'
50060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
50069 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
50071 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
50072 for ac_func in _isnanf
50073 do :
50074 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
50075 if test "x$ac_cv_func__isnanf" = xyes; then :
50076 cat >>confdefs.h <<_ACEOF
50077 #define HAVE__ISNANF 1
50078 _ACEOF
50081 done
50090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
50091 $as_echo_n "checking for isinff declaration... " >&6; }
50092 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
50093 if ${glibcxx_cv_func_isinff_use+:} false; then :
50094 $as_echo_n "(cached) " >&6
50095 else
50098 ac_ext=cpp
50099 ac_cpp='$CXXCPP $CPPFLAGS'
50100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50105 /* end confdefs.h. */
50106 #include <math.h>
50107 #ifdef HAVE_IEEEFP_H
50108 #include <ieeefp.h>
50109 #endif
50112 main ()
50114 isinff(0);
50116 return 0;
50118 _ACEOF
50119 if ac_fn_cxx_try_compile "$LINENO"; then :
50120 glibcxx_cv_func_isinff_use=yes
50121 else
50122 glibcxx_cv_func_isinff_use=no
50124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50125 ac_ext=c
50126 ac_cpp='$CPP $CPPFLAGS'
50127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
50136 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
50138 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
50139 for ac_func in isinff
50140 do :
50141 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
50142 if test "x$ac_cv_func_isinff" = xyes; then :
50143 cat >>confdefs.h <<_ACEOF
50144 #define HAVE_ISINFF 1
50145 _ACEOF
50148 done
50150 else
50152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
50153 $as_echo_n "checking for _isinff declaration... " >&6; }
50154 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
50155 if ${glibcxx_cv_func__isinff_use+:} false; then :
50156 $as_echo_n "(cached) " >&6
50157 else
50160 ac_ext=cpp
50161 ac_cpp='$CXXCPP $CPPFLAGS'
50162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50167 /* end confdefs.h. */
50168 #include <math.h>
50169 #ifdef HAVE_IEEEFP_H
50170 #include <ieeefp.h>
50171 #endif
50174 main ()
50176 _isinff(0);
50178 return 0;
50180 _ACEOF
50181 if ac_fn_cxx_try_compile "$LINENO"; then :
50182 glibcxx_cv_func__isinff_use=yes
50183 else
50184 glibcxx_cv_func__isinff_use=no
50186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50187 ac_ext=c
50188 ac_cpp='$CPP $CPPFLAGS'
50189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
50198 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
50200 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
50201 for ac_func in _isinff
50202 do :
50203 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
50204 if test "x$ac_cv_func__isinff" = xyes; then :
50205 cat >>confdefs.h <<_ACEOF
50206 #define HAVE__ISINFF 1
50207 _ACEOF
50210 done
50219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
50220 $as_echo_n "checking for atan2f declaration... " >&6; }
50221 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
50222 if ${glibcxx_cv_func_atan2f_use+:} false; then :
50223 $as_echo_n "(cached) " >&6
50224 else
50227 ac_ext=cpp
50228 ac_cpp='$CXXCPP $CPPFLAGS'
50229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50234 /* end confdefs.h. */
50235 #include <math.h>
50237 main ()
50239 atan2f(0, 0);
50241 return 0;
50243 _ACEOF
50244 if ac_fn_cxx_try_compile "$LINENO"; then :
50245 glibcxx_cv_func_atan2f_use=yes
50246 else
50247 glibcxx_cv_func_atan2f_use=no
50249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50250 ac_ext=c
50251 ac_cpp='$CPP $CPPFLAGS'
50252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
50261 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
50263 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
50264 for ac_func in atan2f
50265 do :
50266 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
50267 if test "x$ac_cv_func_atan2f" = xyes; then :
50268 cat >>confdefs.h <<_ACEOF
50269 #define HAVE_ATAN2F 1
50270 _ACEOF
50273 done
50275 else
50277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
50278 $as_echo_n "checking for _atan2f declaration... " >&6; }
50279 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
50280 if ${glibcxx_cv_func__atan2f_use+:} false; then :
50281 $as_echo_n "(cached) " >&6
50282 else
50285 ac_ext=cpp
50286 ac_cpp='$CXXCPP $CPPFLAGS'
50287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50292 /* end confdefs.h. */
50293 #include <math.h>
50295 main ()
50297 _atan2f(0, 0);
50299 return 0;
50301 _ACEOF
50302 if ac_fn_cxx_try_compile "$LINENO"; then :
50303 glibcxx_cv_func__atan2f_use=yes
50304 else
50305 glibcxx_cv_func__atan2f_use=no
50307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50308 ac_ext=c
50309 ac_cpp='$CPP $CPPFLAGS'
50310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
50319 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
50321 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
50322 for ac_func in _atan2f
50323 do :
50324 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
50325 if test "x$ac_cv_func__atan2f" = xyes; then :
50326 cat >>confdefs.h <<_ACEOF
50327 #define HAVE__ATAN2F 1
50328 _ACEOF
50331 done
50340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
50341 $as_echo_n "checking for fabsf declaration... " >&6; }
50342 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
50343 if ${glibcxx_cv_func_fabsf_use+:} false; then :
50344 $as_echo_n "(cached) " >&6
50345 else
50348 ac_ext=cpp
50349 ac_cpp='$CXXCPP $CPPFLAGS'
50350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50355 /* end confdefs.h. */
50356 #include <math.h>
50357 #ifdef HAVE_IEEEFP_H
50358 #include <ieeefp.h>
50359 #endif
50362 main ()
50364 fabsf(0);
50366 return 0;
50368 _ACEOF
50369 if ac_fn_cxx_try_compile "$LINENO"; then :
50370 glibcxx_cv_func_fabsf_use=yes
50371 else
50372 glibcxx_cv_func_fabsf_use=no
50374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50375 ac_ext=c
50376 ac_cpp='$CPP $CPPFLAGS'
50377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
50386 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
50388 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
50389 for ac_func in fabsf
50390 do :
50391 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
50392 if test "x$ac_cv_func_fabsf" = xyes; then :
50393 cat >>confdefs.h <<_ACEOF
50394 #define HAVE_FABSF 1
50395 _ACEOF
50398 done
50400 else
50402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
50403 $as_echo_n "checking for _fabsf declaration... " >&6; }
50404 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
50405 if ${glibcxx_cv_func__fabsf_use+:} false; then :
50406 $as_echo_n "(cached) " >&6
50407 else
50410 ac_ext=cpp
50411 ac_cpp='$CXXCPP $CPPFLAGS'
50412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50417 /* end confdefs.h. */
50418 #include <math.h>
50419 #ifdef HAVE_IEEEFP_H
50420 #include <ieeefp.h>
50421 #endif
50424 main ()
50426 _fabsf(0);
50428 return 0;
50430 _ACEOF
50431 if ac_fn_cxx_try_compile "$LINENO"; then :
50432 glibcxx_cv_func__fabsf_use=yes
50433 else
50434 glibcxx_cv_func__fabsf_use=no
50436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50437 ac_ext=c
50438 ac_cpp='$CPP $CPPFLAGS'
50439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
50448 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
50450 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
50451 for ac_func in _fabsf
50452 do :
50453 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
50454 if test "x$ac_cv_func__fabsf" = xyes; then :
50455 cat >>confdefs.h <<_ACEOF
50456 #define HAVE__FABSF 1
50457 _ACEOF
50460 done
50469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
50470 $as_echo_n "checking for fmodf declaration... " >&6; }
50471 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
50472 if ${glibcxx_cv_func_fmodf_use+:} false; then :
50473 $as_echo_n "(cached) " >&6
50474 else
50477 ac_ext=cpp
50478 ac_cpp='$CXXCPP $CPPFLAGS'
50479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50484 /* end confdefs.h. */
50485 #include <math.h>
50487 main ()
50489 fmodf(0, 0);
50491 return 0;
50493 _ACEOF
50494 if ac_fn_cxx_try_compile "$LINENO"; then :
50495 glibcxx_cv_func_fmodf_use=yes
50496 else
50497 glibcxx_cv_func_fmodf_use=no
50499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50500 ac_ext=c
50501 ac_cpp='$CPP $CPPFLAGS'
50502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
50511 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
50513 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
50514 for ac_func in fmodf
50515 do :
50516 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
50517 if test "x$ac_cv_func_fmodf" = xyes; then :
50518 cat >>confdefs.h <<_ACEOF
50519 #define HAVE_FMODF 1
50520 _ACEOF
50523 done
50525 else
50527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
50528 $as_echo_n "checking for _fmodf declaration... " >&6; }
50529 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
50530 if ${glibcxx_cv_func__fmodf_use+:} false; then :
50531 $as_echo_n "(cached) " >&6
50532 else
50535 ac_ext=cpp
50536 ac_cpp='$CXXCPP $CPPFLAGS'
50537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50542 /* end confdefs.h. */
50543 #include <math.h>
50545 main ()
50547 _fmodf(0, 0);
50549 return 0;
50551 _ACEOF
50552 if ac_fn_cxx_try_compile "$LINENO"; then :
50553 glibcxx_cv_func__fmodf_use=yes
50554 else
50555 glibcxx_cv_func__fmodf_use=no
50557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50558 ac_ext=c
50559 ac_cpp='$CPP $CPPFLAGS'
50560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
50569 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
50571 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
50572 for ac_func in _fmodf
50573 do :
50574 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
50575 if test "x$ac_cv_func__fmodf" = xyes; then :
50576 cat >>confdefs.h <<_ACEOF
50577 #define HAVE__FMODF 1
50578 _ACEOF
50581 done
50590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
50591 $as_echo_n "checking for frexpf declaration... " >&6; }
50592 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
50593 if ${glibcxx_cv_func_frexpf_use+:} false; then :
50594 $as_echo_n "(cached) " >&6
50595 else
50598 ac_ext=cpp
50599 ac_cpp='$CXXCPP $CPPFLAGS'
50600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50605 /* end confdefs.h. */
50606 #include <math.h>
50608 main ()
50610 frexpf(0, 0);
50612 return 0;
50614 _ACEOF
50615 if ac_fn_cxx_try_compile "$LINENO"; then :
50616 glibcxx_cv_func_frexpf_use=yes
50617 else
50618 glibcxx_cv_func_frexpf_use=no
50620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50621 ac_ext=c
50622 ac_cpp='$CPP $CPPFLAGS'
50623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
50632 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
50634 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
50635 for ac_func in frexpf
50636 do :
50637 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
50638 if test "x$ac_cv_func_frexpf" = xyes; then :
50639 cat >>confdefs.h <<_ACEOF
50640 #define HAVE_FREXPF 1
50641 _ACEOF
50644 done
50646 else
50648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
50649 $as_echo_n "checking for _frexpf declaration... " >&6; }
50650 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
50651 if ${glibcxx_cv_func__frexpf_use+:} false; then :
50652 $as_echo_n "(cached) " >&6
50653 else
50656 ac_ext=cpp
50657 ac_cpp='$CXXCPP $CPPFLAGS'
50658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50663 /* end confdefs.h. */
50664 #include <math.h>
50666 main ()
50668 _frexpf(0, 0);
50670 return 0;
50672 _ACEOF
50673 if ac_fn_cxx_try_compile "$LINENO"; then :
50674 glibcxx_cv_func__frexpf_use=yes
50675 else
50676 glibcxx_cv_func__frexpf_use=no
50678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50679 ac_ext=c
50680 ac_cpp='$CPP $CPPFLAGS'
50681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
50690 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
50692 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
50693 for ac_func in _frexpf
50694 do :
50695 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
50696 if test "x$ac_cv_func__frexpf" = xyes; then :
50697 cat >>confdefs.h <<_ACEOF
50698 #define HAVE__FREXPF 1
50699 _ACEOF
50702 done
50711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
50712 $as_echo_n "checking for hypotf declaration... " >&6; }
50713 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
50714 if ${glibcxx_cv_func_hypotf_use+:} false; then :
50715 $as_echo_n "(cached) " >&6
50716 else
50719 ac_ext=cpp
50720 ac_cpp='$CXXCPP $CPPFLAGS'
50721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50726 /* end confdefs.h. */
50727 #include <math.h>
50729 main ()
50731 hypotf(0, 0);
50733 return 0;
50735 _ACEOF
50736 if ac_fn_cxx_try_compile "$LINENO"; then :
50737 glibcxx_cv_func_hypotf_use=yes
50738 else
50739 glibcxx_cv_func_hypotf_use=no
50741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50742 ac_ext=c
50743 ac_cpp='$CPP $CPPFLAGS'
50744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
50753 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
50755 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
50756 for ac_func in hypotf
50757 do :
50758 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
50759 if test "x$ac_cv_func_hypotf" = xyes; then :
50760 cat >>confdefs.h <<_ACEOF
50761 #define HAVE_HYPOTF 1
50762 _ACEOF
50765 done
50767 else
50769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
50770 $as_echo_n "checking for _hypotf declaration... " >&6; }
50771 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
50772 if ${glibcxx_cv_func__hypotf_use+:} false; then :
50773 $as_echo_n "(cached) " >&6
50774 else
50777 ac_ext=cpp
50778 ac_cpp='$CXXCPP $CPPFLAGS'
50779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50784 /* end confdefs.h. */
50785 #include <math.h>
50787 main ()
50789 _hypotf(0, 0);
50791 return 0;
50793 _ACEOF
50794 if ac_fn_cxx_try_compile "$LINENO"; then :
50795 glibcxx_cv_func__hypotf_use=yes
50796 else
50797 glibcxx_cv_func__hypotf_use=no
50799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50800 ac_ext=c
50801 ac_cpp='$CPP $CPPFLAGS'
50802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
50811 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
50813 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
50814 for ac_func in _hypotf
50815 do :
50816 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
50817 if test "x$ac_cv_func__hypotf" = xyes; then :
50818 cat >>confdefs.h <<_ACEOF
50819 #define HAVE__HYPOTF 1
50820 _ACEOF
50823 done
50832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
50833 $as_echo_n "checking for ldexpf declaration... " >&6; }
50834 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
50835 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
50836 $as_echo_n "(cached) " >&6
50837 else
50840 ac_ext=cpp
50841 ac_cpp='$CXXCPP $CPPFLAGS'
50842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50847 /* end confdefs.h. */
50848 #include <math.h>
50850 main ()
50852 ldexpf(0, 0);
50854 return 0;
50856 _ACEOF
50857 if ac_fn_cxx_try_compile "$LINENO"; then :
50858 glibcxx_cv_func_ldexpf_use=yes
50859 else
50860 glibcxx_cv_func_ldexpf_use=no
50862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50863 ac_ext=c
50864 ac_cpp='$CPP $CPPFLAGS'
50865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
50874 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
50876 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
50877 for ac_func in ldexpf
50878 do :
50879 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
50880 if test "x$ac_cv_func_ldexpf" = xyes; then :
50881 cat >>confdefs.h <<_ACEOF
50882 #define HAVE_LDEXPF 1
50883 _ACEOF
50886 done
50888 else
50890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
50891 $as_echo_n "checking for _ldexpf declaration... " >&6; }
50892 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
50893 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
50894 $as_echo_n "(cached) " >&6
50895 else
50898 ac_ext=cpp
50899 ac_cpp='$CXXCPP $CPPFLAGS'
50900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50905 /* end confdefs.h. */
50906 #include <math.h>
50908 main ()
50910 _ldexpf(0, 0);
50912 return 0;
50914 _ACEOF
50915 if ac_fn_cxx_try_compile "$LINENO"; then :
50916 glibcxx_cv_func__ldexpf_use=yes
50917 else
50918 glibcxx_cv_func__ldexpf_use=no
50920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50921 ac_ext=c
50922 ac_cpp='$CPP $CPPFLAGS'
50923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
50932 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
50934 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
50935 for ac_func in _ldexpf
50936 do :
50937 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
50938 if test "x$ac_cv_func__ldexpf" = xyes; then :
50939 cat >>confdefs.h <<_ACEOF
50940 #define HAVE__LDEXPF 1
50941 _ACEOF
50944 done
50953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
50954 $as_echo_n "checking for logf declaration... " >&6; }
50955 if test x${glibcxx_cv_func_logf_use+set} != xset; then
50956 if ${glibcxx_cv_func_logf_use+:} false; then :
50957 $as_echo_n "(cached) " >&6
50958 else
50961 ac_ext=cpp
50962 ac_cpp='$CXXCPP $CPPFLAGS'
50963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50968 /* end confdefs.h. */
50969 #include <math.h>
50970 #ifdef HAVE_IEEEFP_H
50971 #include <ieeefp.h>
50972 #endif
50975 main ()
50977 logf(0);
50979 return 0;
50981 _ACEOF
50982 if ac_fn_cxx_try_compile "$LINENO"; then :
50983 glibcxx_cv_func_logf_use=yes
50984 else
50985 glibcxx_cv_func_logf_use=no
50987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50988 ac_ext=c
50989 ac_cpp='$CPP $CPPFLAGS'
50990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
50999 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
51001 if test x$glibcxx_cv_func_logf_use = x"yes"; then
51002 for ac_func in logf
51003 do :
51004 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
51005 if test "x$ac_cv_func_logf" = xyes; then :
51006 cat >>confdefs.h <<_ACEOF
51007 #define HAVE_LOGF 1
51008 _ACEOF
51011 done
51013 else
51015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
51016 $as_echo_n "checking for _logf declaration... " >&6; }
51017 if test x${glibcxx_cv_func__logf_use+set} != xset; then
51018 if ${glibcxx_cv_func__logf_use+:} false; then :
51019 $as_echo_n "(cached) " >&6
51020 else
51023 ac_ext=cpp
51024 ac_cpp='$CXXCPP $CPPFLAGS'
51025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51030 /* end confdefs.h. */
51031 #include <math.h>
51032 #ifdef HAVE_IEEEFP_H
51033 #include <ieeefp.h>
51034 #endif
51037 main ()
51039 _logf(0);
51041 return 0;
51043 _ACEOF
51044 if ac_fn_cxx_try_compile "$LINENO"; then :
51045 glibcxx_cv_func__logf_use=yes
51046 else
51047 glibcxx_cv_func__logf_use=no
51049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51050 ac_ext=c
51051 ac_cpp='$CPP $CPPFLAGS'
51052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
51061 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
51063 if test x$glibcxx_cv_func__logf_use = x"yes"; then
51064 for ac_func in _logf
51065 do :
51066 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
51067 if test "x$ac_cv_func__logf" = xyes; then :
51068 cat >>confdefs.h <<_ACEOF
51069 #define HAVE__LOGF 1
51070 _ACEOF
51073 done
51082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
51083 $as_echo_n "checking for log10f declaration... " >&6; }
51084 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
51085 if ${glibcxx_cv_func_log10f_use+:} false; then :
51086 $as_echo_n "(cached) " >&6
51087 else
51090 ac_ext=cpp
51091 ac_cpp='$CXXCPP $CPPFLAGS'
51092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51097 /* end confdefs.h. */
51098 #include <math.h>
51099 #ifdef HAVE_IEEEFP_H
51100 #include <ieeefp.h>
51101 #endif
51104 main ()
51106 log10f(0);
51108 return 0;
51110 _ACEOF
51111 if ac_fn_cxx_try_compile "$LINENO"; then :
51112 glibcxx_cv_func_log10f_use=yes
51113 else
51114 glibcxx_cv_func_log10f_use=no
51116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51117 ac_ext=c
51118 ac_cpp='$CPP $CPPFLAGS'
51119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
51128 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
51130 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
51131 for ac_func in log10f
51132 do :
51133 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
51134 if test "x$ac_cv_func_log10f" = xyes; then :
51135 cat >>confdefs.h <<_ACEOF
51136 #define HAVE_LOG10F 1
51137 _ACEOF
51140 done
51142 else
51144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
51145 $as_echo_n "checking for _log10f declaration... " >&6; }
51146 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
51147 if ${glibcxx_cv_func__log10f_use+:} false; then :
51148 $as_echo_n "(cached) " >&6
51149 else
51152 ac_ext=cpp
51153 ac_cpp='$CXXCPP $CPPFLAGS'
51154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51159 /* end confdefs.h. */
51160 #include <math.h>
51161 #ifdef HAVE_IEEEFP_H
51162 #include <ieeefp.h>
51163 #endif
51166 main ()
51168 _log10f(0);
51170 return 0;
51172 _ACEOF
51173 if ac_fn_cxx_try_compile "$LINENO"; then :
51174 glibcxx_cv_func__log10f_use=yes
51175 else
51176 glibcxx_cv_func__log10f_use=no
51178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51179 ac_ext=c
51180 ac_cpp='$CPP $CPPFLAGS'
51181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
51190 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
51192 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
51193 for ac_func in _log10f
51194 do :
51195 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
51196 if test "x$ac_cv_func__log10f" = xyes; then :
51197 cat >>confdefs.h <<_ACEOF
51198 #define HAVE__LOG10F 1
51199 _ACEOF
51202 done
51211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
51212 $as_echo_n "checking for modff declaration... " >&6; }
51213 if test x${glibcxx_cv_func_modff_use+set} != xset; then
51214 if ${glibcxx_cv_func_modff_use+:} false; then :
51215 $as_echo_n "(cached) " >&6
51216 else
51219 ac_ext=cpp
51220 ac_cpp='$CXXCPP $CPPFLAGS'
51221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51226 /* end confdefs.h. */
51227 #include <math.h>
51229 main ()
51231 modff(0, 0);
51233 return 0;
51235 _ACEOF
51236 if ac_fn_cxx_try_compile "$LINENO"; then :
51237 glibcxx_cv_func_modff_use=yes
51238 else
51239 glibcxx_cv_func_modff_use=no
51241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51242 ac_ext=c
51243 ac_cpp='$CPP $CPPFLAGS'
51244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
51253 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
51255 if test x$glibcxx_cv_func_modff_use = x"yes"; then
51256 for ac_func in modff
51257 do :
51258 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
51259 if test "x$ac_cv_func_modff" = xyes; then :
51260 cat >>confdefs.h <<_ACEOF
51261 #define HAVE_MODFF 1
51262 _ACEOF
51265 done
51267 else
51269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
51270 $as_echo_n "checking for _modff declaration... " >&6; }
51271 if test x${glibcxx_cv_func__modff_use+set} != xset; then
51272 if ${glibcxx_cv_func__modff_use+:} false; then :
51273 $as_echo_n "(cached) " >&6
51274 else
51277 ac_ext=cpp
51278 ac_cpp='$CXXCPP $CPPFLAGS'
51279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51284 /* end confdefs.h. */
51285 #include <math.h>
51287 main ()
51289 _modff(0, 0);
51291 return 0;
51293 _ACEOF
51294 if ac_fn_cxx_try_compile "$LINENO"; then :
51295 glibcxx_cv_func__modff_use=yes
51296 else
51297 glibcxx_cv_func__modff_use=no
51299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51300 ac_ext=c
51301 ac_cpp='$CPP $CPPFLAGS'
51302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
51311 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
51313 if test x$glibcxx_cv_func__modff_use = x"yes"; then
51314 for ac_func in _modff
51315 do :
51316 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
51317 if test "x$ac_cv_func__modff" = xyes; then :
51318 cat >>confdefs.h <<_ACEOF
51319 #define HAVE__MODFF 1
51320 _ACEOF
51323 done
51332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
51333 $as_echo_n "checking for modf declaration... " >&6; }
51334 if test x${glibcxx_cv_func_modf_use+set} != xset; then
51335 if ${glibcxx_cv_func_modf_use+:} false; then :
51336 $as_echo_n "(cached) " >&6
51337 else
51340 ac_ext=cpp
51341 ac_cpp='$CXXCPP $CPPFLAGS'
51342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51347 /* end confdefs.h. */
51348 #include <math.h>
51350 main ()
51352 modf(0, 0);
51354 return 0;
51356 _ACEOF
51357 if ac_fn_cxx_try_compile "$LINENO"; then :
51358 glibcxx_cv_func_modf_use=yes
51359 else
51360 glibcxx_cv_func_modf_use=no
51362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51363 ac_ext=c
51364 ac_cpp='$CPP $CPPFLAGS'
51365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
51374 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
51376 if test x$glibcxx_cv_func_modf_use = x"yes"; then
51377 for ac_func in modf
51378 do :
51379 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
51380 if test "x$ac_cv_func_modf" = xyes; then :
51381 cat >>confdefs.h <<_ACEOF
51382 #define HAVE_MODF 1
51383 _ACEOF
51386 done
51388 else
51390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
51391 $as_echo_n "checking for _modf declaration... " >&6; }
51392 if test x${glibcxx_cv_func__modf_use+set} != xset; then
51393 if ${glibcxx_cv_func__modf_use+:} false; then :
51394 $as_echo_n "(cached) " >&6
51395 else
51398 ac_ext=cpp
51399 ac_cpp='$CXXCPP $CPPFLAGS'
51400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51405 /* end confdefs.h. */
51406 #include <math.h>
51408 main ()
51410 _modf(0, 0);
51412 return 0;
51414 _ACEOF
51415 if ac_fn_cxx_try_compile "$LINENO"; then :
51416 glibcxx_cv_func__modf_use=yes
51417 else
51418 glibcxx_cv_func__modf_use=no
51420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51421 ac_ext=c
51422 ac_cpp='$CPP $CPPFLAGS'
51423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
51432 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
51434 if test x$glibcxx_cv_func__modf_use = x"yes"; then
51435 for ac_func in _modf
51436 do :
51437 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
51438 if test "x$ac_cv_func__modf" = xyes; then :
51439 cat >>confdefs.h <<_ACEOF
51440 #define HAVE__MODF 1
51441 _ACEOF
51444 done
51453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
51454 $as_echo_n "checking for powf declaration... " >&6; }
51455 if test x${glibcxx_cv_func_powf_use+set} != xset; then
51456 if ${glibcxx_cv_func_powf_use+:} false; then :
51457 $as_echo_n "(cached) " >&6
51458 else
51461 ac_ext=cpp
51462 ac_cpp='$CXXCPP $CPPFLAGS'
51463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51468 /* end confdefs.h. */
51469 #include <math.h>
51471 main ()
51473 powf(0, 0);
51475 return 0;
51477 _ACEOF
51478 if ac_fn_cxx_try_compile "$LINENO"; then :
51479 glibcxx_cv_func_powf_use=yes
51480 else
51481 glibcxx_cv_func_powf_use=no
51483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51484 ac_ext=c
51485 ac_cpp='$CPP $CPPFLAGS'
51486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
51495 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
51497 if test x$glibcxx_cv_func_powf_use = x"yes"; then
51498 for ac_func in powf
51499 do :
51500 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
51501 if test "x$ac_cv_func_powf" = xyes; then :
51502 cat >>confdefs.h <<_ACEOF
51503 #define HAVE_POWF 1
51504 _ACEOF
51507 done
51509 else
51511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
51512 $as_echo_n "checking for _powf declaration... " >&6; }
51513 if test x${glibcxx_cv_func__powf_use+set} != xset; then
51514 if ${glibcxx_cv_func__powf_use+:} false; then :
51515 $as_echo_n "(cached) " >&6
51516 else
51519 ac_ext=cpp
51520 ac_cpp='$CXXCPP $CPPFLAGS'
51521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51526 /* end confdefs.h. */
51527 #include <math.h>
51529 main ()
51531 _powf(0, 0);
51533 return 0;
51535 _ACEOF
51536 if ac_fn_cxx_try_compile "$LINENO"; then :
51537 glibcxx_cv_func__powf_use=yes
51538 else
51539 glibcxx_cv_func__powf_use=no
51541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51542 ac_ext=c
51543 ac_cpp='$CPP $CPPFLAGS'
51544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
51553 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
51555 if test x$glibcxx_cv_func__powf_use = x"yes"; then
51556 for ac_func in _powf
51557 do :
51558 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
51559 if test "x$ac_cv_func__powf" = xyes; then :
51560 cat >>confdefs.h <<_ACEOF
51561 #define HAVE__POWF 1
51562 _ACEOF
51565 done
51574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
51575 $as_echo_n "checking for sqrtf declaration... " >&6; }
51576 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
51577 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
51578 $as_echo_n "(cached) " >&6
51579 else
51582 ac_ext=cpp
51583 ac_cpp='$CXXCPP $CPPFLAGS'
51584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51589 /* end confdefs.h. */
51590 #include <math.h>
51591 #ifdef HAVE_IEEEFP_H
51592 #include <ieeefp.h>
51593 #endif
51596 main ()
51598 sqrtf(0);
51600 return 0;
51602 _ACEOF
51603 if ac_fn_cxx_try_compile "$LINENO"; then :
51604 glibcxx_cv_func_sqrtf_use=yes
51605 else
51606 glibcxx_cv_func_sqrtf_use=no
51608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51609 ac_ext=c
51610 ac_cpp='$CPP $CPPFLAGS'
51611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
51620 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
51622 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
51623 for ac_func in sqrtf
51624 do :
51625 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
51626 if test "x$ac_cv_func_sqrtf" = xyes; then :
51627 cat >>confdefs.h <<_ACEOF
51628 #define HAVE_SQRTF 1
51629 _ACEOF
51632 done
51634 else
51636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
51637 $as_echo_n "checking for _sqrtf declaration... " >&6; }
51638 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
51639 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
51640 $as_echo_n "(cached) " >&6
51641 else
51644 ac_ext=cpp
51645 ac_cpp='$CXXCPP $CPPFLAGS'
51646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51651 /* end confdefs.h. */
51652 #include <math.h>
51653 #ifdef HAVE_IEEEFP_H
51654 #include <ieeefp.h>
51655 #endif
51658 main ()
51660 _sqrtf(0);
51662 return 0;
51664 _ACEOF
51665 if ac_fn_cxx_try_compile "$LINENO"; then :
51666 glibcxx_cv_func__sqrtf_use=yes
51667 else
51668 glibcxx_cv_func__sqrtf_use=no
51670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51671 ac_ext=c
51672 ac_cpp='$CPP $CPPFLAGS'
51673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
51682 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
51684 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
51685 for ac_func in _sqrtf
51686 do :
51687 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
51688 if test "x$ac_cv_func__sqrtf" = xyes; then :
51689 cat >>confdefs.h <<_ACEOF
51690 #define HAVE__SQRTF 1
51691 _ACEOF
51694 done
51703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
51704 $as_echo_n "checking for sincosf declaration... " >&6; }
51705 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
51706 if ${glibcxx_cv_func_sincosf_use+:} false; then :
51707 $as_echo_n "(cached) " >&6
51708 else
51711 ac_ext=cpp
51712 ac_cpp='$CXXCPP $CPPFLAGS'
51713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51718 /* end confdefs.h. */
51719 #include <math.h>
51721 main ()
51723 sincosf(0, 0, 0);
51725 return 0;
51727 _ACEOF
51728 if ac_fn_cxx_try_compile "$LINENO"; then :
51729 glibcxx_cv_func_sincosf_use=yes
51730 else
51731 glibcxx_cv_func_sincosf_use=no
51733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51734 ac_ext=c
51735 ac_cpp='$CPP $CPPFLAGS'
51736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
51745 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
51747 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
51748 for ac_func in sincosf
51749 do :
51750 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
51751 if test "x$ac_cv_func_sincosf" = xyes; then :
51752 cat >>confdefs.h <<_ACEOF
51753 #define HAVE_SINCOSF 1
51754 _ACEOF
51757 done
51759 else
51761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
51762 $as_echo_n "checking for _sincosf declaration... " >&6; }
51763 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
51764 if ${glibcxx_cv_func__sincosf_use+:} false; then :
51765 $as_echo_n "(cached) " >&6
51766 else
51769 ac_ext=cpp
51770 ac_cpp='$CXXCPP $CPPFLAGS'
51771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51776 /* end confdefs.h. */
51777 #include <math.h>
51779 main ()
51781 _sincosf(0, 0, 0);
51783 return 0;
51785 _ACEOF
51786 if ac_fn_cxx_try_compile "$LINENO"; then :
51787 glibcxx_cv_func__sincosf_use=yes
51788 else
51789 glibcxx_cv_func__sincosf_use=no
51791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51792 ac_ext=c
51793 ac_cpp='$CPP $CPPFLAGS'
51794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
51803 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
51805 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
51806 for ac_func in _sincosf
51807 do :
51808 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
51809 if test "x$ac_cv_func__sincosf" = xyes; then :
51810 cat >>confdefs.h <<_ACEOF
51811 #define HAVE__SINCOSF 1
51812 _ACEOF
51815 done
51824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
51825 $as_echo_n "checking for finitef declaration... " >&6; }
51826 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
51827 if ${glibcxx_cv_func_finitef_use+:} false; then :
51828 $as_echo_n "(cached) " >&6
51829 else
51832 ac_ext=cpp
51833 ac_cpp='$CXXCPP $CPPFLAGS'
51834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51839 /* end confdefs.h. */
51840 #include <math.h>
51841 #ifdef HAVE_IEEEFP_H
51842 #include <ieeefp.h>
51843 #endif
51846 main ()
51848 finitef(0);
51850 return 0;
51852 _ACEOF
51853 if ac_fn_cxx_try_compile "$LINENO"; then :
51854 glibcxx_cv_func_finitef_use=yes
51855 else
51856 glibcxx_cv_func_finitef_use=no
51858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51859 ac_ext=c
51860 ac_cpp='$CPP $CPPFLAGS'
51861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
51870 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
51872 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
51873 for ac_func in finitef
51874 do :
51875 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
51876 if test "x$ac_cv_func_finitef" = xyes; then :
51877 cat >>confdefs.h <<_ACEOF
51878 #define HAVE_FINITEF 1
51879 _ACEOF
51882 done
51884 else
51886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
51887 $as_echo_n "checking for _finitef declaration... " >&6; }
51888 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
51889 if ${glibcxx_cv_func__finitef_use+:} false; then :
51890 $as_echo_n "(cached) " >&6
51891 else
51894 ac_ext=cpp
51895 ac_cpp='$CXXCPP $CPPFLAGS'
51896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51901 /* end confdefs.h. */
51902 #include <math.h>
51903 #ifdef HAVE_IEEEFP_H
51904 #include <ieeefp.h>
51905 #endif
51908 main ()
51910 _finitef(0);
51912 return 0;
51914 _ACEOF
51915 if ac_fn_cxx_try_compile "$LINENO"; then :
51916 glibcxx_cv_func__finitef_use=yes
51917 else
51918 glibcxx_cv_func__finitef_use=no
51920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51921 ac_ext=c
51922 ac_cpp='$CPP $CPPFLAGS'
51923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
51932 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
51934 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
51935 for ac_func in _finitef
51936 do :
51937 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
51938 if test "x$ac_cv_func__finitef" = xyes; then :
51939 cat >>confdefs.h <<_ACEOF
51940 #define HAVE__FINITEF 1
51941 _ACEOF
51944 done
51953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
51954 $as_echo_n "checking for long double trig functions... " >&6; }
51955 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
51956 $as_echo_n "(cached) " >&6
51957 else
51960 ac_ext=cpp
51961 ac_cpp='$CXXCPP $CPPFLAGS'
51962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51967 /* end confdefs.h. */
51968 #include <math.h>
51970 main ()
51972 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
51974 return 0;
51976 _ACEOF
51977 if ac_fn_cxx_try_compile "$LINENO"; then :
51978 glibcxx_cv_func_long_double_trig_use=yes
51979 else
51980 glibcxx_cv_func_long_double_trig_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
51991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
51992 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
51993 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
51994 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
51995 do :
51996 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51997 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51998 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51999 cat >>confdefs.h <<_ACEOF
52000 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52001 _ACEOF
52004 done
52006 else
52007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
52008 $as_echo_n "checking for _long double trig functions... " >&6; }
52009 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
52010 $as_echo_n "(cached) " >&6
52011 else
52014 ac_ext=cpp
52015 ac_cpp='$CXXCPP $CPPFLAGS'
52016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52021 /* end confdefs.h. */
52022 #include <math.h>
52024 main ()
52026 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
52028 return 0;
52030 _ACEOF
52031 if ac_fn_cxx_try_compile "$LINENO"; then :
52032 glibcxx_cv_func__long_double_trig_use=yes
52033 else
52034 glibcxx_cv_func__long_double_trig_use=no
52036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52037 ac_ext=c
52038 ac_cpp='$CPP $CPPFLAGS'
52039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
52046 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
52047 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
52048 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
52049 do :
52050 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52051 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52052 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
52053 cat >>confdefs.h <<_ACEOF
52054 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52055 _ACEOF
52058 done
52067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
52068 $as_echo_n "checking for long double round functions... " >&6; }
52069 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
52070 $as_echo_n "(cached) " >&6
52071 else
52074 ac_ext=cpp
52075 ac_cpp='$CXXCPP $CPPFLAGS'
52076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52081 /* end confdefs.h. */
52082 #include <math.h>
52084 main ()
52086 ceill (0); floorl (0);
52088 return 0;
52090 _ACEOF
52091 if ac_fn_cxx_try_compile "$LINENO"; then :
52092 glibcxx_cv_func_long_double_round_use=yes
52093 else
52094 glibcxx_cv_func_long_double_round_use=no
52096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52097 ac_ext=c
52098 ac_cpp='$CPP $CPPFLAGS'
52099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
52106 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
52107 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
52108 for ac_func in ceill floorl
52109 do :
52110 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52111 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52112 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
52113 cat >>confdefs.h <<_ACEOF
52114 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52115 _ACEOF
52118 done
52120 else
52121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
52122 $as_echo_n "checking for _long double round functions... " >&6; }
52123 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
52124 $as_echo_n "(cached) " >&6
52125 else
52128 ac_ext=cpp
52129 ac_cpp='$CXXCPP $CPPFLAGS'
52130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52135 /* end confdefs.h. */
52136 #include <math.h>
52138 main ()
52140 _ceill (0); _floorl (0);
52142 return 0;
52144 _ACEOF
52145 if ac_fn_cxx_try_compile "$LINENO"; then :
52146 glibcxx_cv_func__long_double_round_use=yes
52147 else
52148 glibcxx_cv_func__long_double_round_use=no
52150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52151 ac_ext=c
52152 ac_cpp='$CPP $CPPFLAGS'
52153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
52160 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
52161 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
52162 for ac_func in _ceill _floorl
52163 do :
52164 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52165 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52166 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
52167 cat >>confdefs.h <<_ACEOF
52168 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52169 _ACEOF
52172 done
52182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
52183 $as_echo_n "checking for isnanl declaration... " >&6; }
52184 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
52185 if ${glibcxx_cv_func_isnanl_use+:} false; then :
52186 $as_echo_n "(cached) " >&6
52187 else
52190 ac_ext=cpp
52191 ac_cpp='$CXXCPP $CPPFLAGS'
52192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52197 /* end confdefs.h. */
52198 #include <math.h>
52199 #ifdef HAVE_IEEEFP_H
52200 #include <ieeefp.h>
52201 #endif
52204 main ()
52206 isnanl(0);
52208 return 0;
52210 _ACEOF
52211 if ac_fn_cxx_try_compile "$LINENO"; then :
52212 glibcxx_cv_func_isnanl_use=yes
52213 else
52214 glibcxx_cv_func_isnanl_use=no
52216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52217 ac_ext=c
52218 ac_cpp='$CPP $CPPFLAGS'
52219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
52228 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
52230 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
52231 for ac_func in isnanl
52232 do :
52233 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
52234 if test "x$ac_cv_func_isnanl" = xyes; then :
52235 cat >>confdefs.h <<_ACEOF
52236 #define HAVE_ISNANL 1
52237 _ACEOF
52240 done
52242 else
52244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
52245 $as_echo_n "checking for _isnanl declaration... " >&6; }
52246 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
52247 if ${glibcxx_cv_func__isnanl_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>
52261 #ifdef HAVE_IEEEFP_H
52262 #include <ieeefp.h>
52263 #endif
52266 main ()
52268 _isnanl(0);
52270 return 0;
52272 _ACEOF
52273 if ac_fn_cxx_try_compile "$LINENO"; then :
52274 glibcxx_cv_func__isnanl_use=yes
52275 else
52276 glibcxx_cv_func__isnanl_use=no
52278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52279 ac_ext=c
52280 ac_cpp='$CPP $CPPFLAGS'
52281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
52290 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
52292 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
52293 for ac_func in _isnanl
52294 do :
52295 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
52296 if test "x$ac_cv_func__isnanl" = xyes; then :
52297 cat >>confdefs.h <<_ACEOF
52298 #define HAVE__ISNANL 1
52299 _ACEOF
52302 done
52311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
52312 $as_echo_n "checking for isinfl declaration... " >&6; }
52313 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
52314 if ${glibcxx_cv_func_isinfl_use+:} false; then :
52315 $as_echo_n "(cached) " >&6
52316 else
52319 ac_ext=cpp
52320 ac_cpp='$CXXCPP $CPPFLAGS'
52321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52326 /* end confdefs.h. */
52327 #include <math.h>
52328 #ifdef HAVE_IEEEFP_H
52329 #include <ieeefp.h>
52330 #endif
52333 main ()
52335 isinfl(0);
52337 return 0;
52339 _ACEOF
52340 if ac_fn_cxx_try_compile "$LINENO"; then :
52341 glibcxx_cv_func_isinfl_use=yes
52342 else
52343 glibcxx_cv_func_isinfl_use=no
52345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52346 ac_ext=c
52347 ac_cpp='$CPP $CPPFLAGS'
52348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
52357 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
52359 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
52360 for ac_func in isinfl
52361 do :
52362 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
52363 if test "x$ac_cv_func_isinfl" = xyes; then :
52364 cat >>confdefs.h <<_ACEOF
52365 #define HAVE_ISINFL 1
52366 _ACEOF
52369 done
52371 else
52373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
52374 $as_echo_n "checking for _isinfl declaration... " >&6; }
52375 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
52376 if ${glibcxx_cv_func__isinfl_use+:} false; then :
52377 $as_echo_n "(cached) " >&6
52378 else
52381 ac_ext=cpp
52382 ac_cpp='$CXXCPP $CPPFLAGS'
52383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52388 /* end confdefs.h. */
52389 #include <math.h>
52390 #ifdef HAVE_IEEEFP_H
52391 #include <ieeefp.h>
52392 #endif
52395 main ()
52397 _isinfl(0);
52399 return 0;
52401 _ACEOF
52402 if ac_fn_cxx_try_compile "$LINENO"; then :
52403 glibcxx_cv_func__isinfl_use=yes
52404 else
52405 glibcxx_cv_func__isinfl_use=no
52407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52408 ac_ext=c
52409 ac_cpp='$CPP $CPPFLAGS'
52410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
52419 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
52421 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
52422 for ac_func in _isinfl
52423 do :
52424 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
52425 if test "x$ac_cv_func__isinfl" = xyes; then :
52426 cat >>confdefs.h <<_ACEOF
52427 #define HAVE__ISINFL 1
52428 _ACEOF
52431 done
52440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
52441 $as_echo_n "checking for atan2l declaration... " >&6; }
52442 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
52443 if ${glibcxx_cv_func_atan2l_use+:} false; then :
52444 $as_echo_n "(cached) " >&6
52445 else
52448 ac_ext=cpp
52449 ac_cpp='$CXXCPP $CPPFLAGS'
52450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52455 /* end confdefs.h. */
52456 #include <math.h>
52458 main ()
52460 atan2l(0, 0);
52462 return 0;
52464 _ACEOF
52465 if ac_fn_cxx_try_compile "$LINENO"; then :
52466 glibcxx_cv_func_atan2l_use=yes
52467 else
52468 glibcxx_cv_func_atan2l_use=no
52470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52471 ac_ext=c
52472 ac_cpp='$CPP $CPPFLAGS'
52473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
52482 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
52484 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
52485 for ac_func in atan2l
52486 do :
52487 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
52488 if test "x$ac_cv_func_atan2l" = xyes; then :
52489 cat >>confdefs.h <<_ACEOF
52490 #define HAVE_ATAN2L 1
52491 _ACEOF
52494 done
52496 else
52498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
52499 $as_echo_n "checking for _atan2l declaration... " >&6; }
52500 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
52501 if ${glibcxx_cv_func__atan2l_use+:} false; then :
52502 $as_echo_n "(cached) " >&6
52503 else
52506 ac_ext=cpp
52507 ac_cpp='$CXXCPP $CPPFLAGS'
52508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52513 /* end confdefs.h. */
52514 #include <math.h>
52516 main ()
52518 _atan2l(0, 0);
52520 return 0;
52522 _ACEOF
52523 if ac_fn_cxx_try_compile "$LINENO"; then :
52524 glibcxx_cv_func__atan2l_use=yes
52525 else
52526 glibcxx_cv_func__atan2l_use=no
52528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52529 ac_ext=c
52530 ac_cpp='$CPP $CPPFLAGS'
52531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
52540 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
52542 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
52543 for ac_func in _atan2l
52544 do :
52545 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
52546 if test "x$ac_cv_func__atan2l" = xyes; then :
52547 cat >>confdefs.h <<_ACEOF
52548 #define HAVE__ATAN2L 1
52549 _ACEOF
52552 done
52561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
52562 $as_echo_n "checking for expl declaration... " >&6; }
52563 if test x${glibcxx_cv_func_expl_use+set} != xset; then
52564 if ${glibcxx_cv_func_expl_use+:} false; then :
52565 $as_echo_n "(cached) " >&6
52566 else
52569 ac_ext=cpp
52570 ac_cpp='$CXXCPP $CPPFLAGS'
52571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52576 /* end confdefs.h. */
52577 #include <math.h>
52578 #ifdef HAVE_IEEEFP_H
52579 #include <ieeefp.h>
52580 #endif
52583 main ()
52585 expl(0);
52587 return 0;
52589 _ACEOF
52590 if ac_fn_cxx_try_compile "$LINENO"; then :
52591 glibcxx_cv_func_expl_use=yes
52592 else
52593 glibcxx_cv_func_expl_use=no
52595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52596 ac_ext=c
52597 ac_cpp='$CPP $CPPFLAGS'
52598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
52607 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
52609 if test x$glibcxx_cv_func_expl_use = x"yes"; then
52610 for ac_func in expl
52611 do :
52612 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
52613 if test "x$ac_cv_func_expl" = xyes; then :
52614 cat >>confdefs.h <<_ACEOF
52615 #define HAVE_EXPL 1
52616 _ACEOF
52619 done
52621 else
52623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
52624 $as_echo_n "checking for _expl declaration... " >&6; }
52625 if test x${glibcxx_cv_func__expl_use+set} != xset; then
52626 if ${glibcxx_cv_func__expl_use+:} false; then :
52627 $as_echo_n "(cached) " >&6
52628 else
52631 ac_ext=cpp
52632 ac_cpp='$CXXCPP $CPPFLAGS'
52633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52638 /* end confdefs.h. */
52639 #include <math.h>
52640 #ifdef HAVE_IEEEFP_H
52641 #include <ieeefp.h>
52642 #endif
52645 main ()
52647 _expl(0);
52649 return 0;
52651 _ACEOF
52652 if ac_fn_cxx_try_compile "$LINENO"; then :
52653 glibcxx_cv_func__expl_use=yes
52654 else
52655 glibcxx_cv_func__expl_use=no
52657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52658 ac_ext=c
52659 ac_cpp='$CPP $CPPFLAGS'
52660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
52669 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
52671 if test x$glibcxx_cv_func__expl_use = x"yes"; then
52672 for ac_func in _expl
52673 do :
52674 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
52675 if test "x$ac_cv_func__expl" = xyes; then :
52676 cat >>confdefs.h <<_ACEOF
52677 #define HAVE__EXPL 1
52678 _ACEOF
52681 done
52690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
52691 $as_echo_n "checking for fabsl declaration... " >&6; }
52692 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
52693 if ${glibcxx_cv_func_fabsl_use+:} false; then :
52694 $as_echo_n "(cached) " >&6
52695 else
52698 ac_ext=cpp
52699 ac_cpp='$CXXCPP $CPPFLAGS'
52700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52705 /* end confdefs.h. */
52706 #include <math.h>
52707 #ifdef HAVE_IEEEFP_H
52708 #include <ieeefp.h>
52709 #endif
52712 main ()
52714 fabsl(0);
52716 return 0;
52718 _ACEOF
52719 if ac_fn_cxx_try_compile "$LINENO"; then :
52720 glibcxx_cv_func_fabsl_use=yes
52721 else
52722 glibcxx_cv_func_fabsl_use=no
52724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52725 ac_ext=c
52726 ac_cpp='$CPP $CPPFLAGS'
52727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
52736 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
52738 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
52739 for ac_func in fabsl
52740 do :
52741 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
52742 if test "x$ac_cv_func_fabsl" = xyes; then :
52743 cat >>confdefs.h <<_ACEOF
52744 #define HAVE_FABSL 1
52745 _ACEOF
52748 done
52750 else
52752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
52753 $as_echo_n "checking for _fabsl declaration... " >&6; }
52754 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
52755 if ${glibcxx_cv_func__fabsl_use+:} false; then :
52756 $as_echo_n "(cached) " >&6
52757 else
52760 ac_ext=cpp
52761 ac_cpp='$CXXCPP $CPPFLAGS'
52762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52767 /* end confdefs.h. */
52768 #include <math.h>
52769 #ifdef HAVE_IEEEFP_H
52770 #include <ieeefp.h>
52771 #endif
52774 main ()
52776 _fabsl(0);
52778 return 0;
52780 _ACEOF
52781 if ac_fn_cxx_try_compile "$LINENO"; then :
52782 glibcxx_cv_func__fabsl_use=yes
52783 else
52784 glibcxx_cv_func__fabsl_use=no
52786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52787 ac_ext=c
52788 ac_cpp='$CPP $CPPFLAGS'
52789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
52798 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
52800 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
52801 for ac_func in _fabsl
52802 do :
52803 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
52804 if test "x$ac_cv_func__fabsl" = xyes; then :
52805 cat >>confdefs.h <<_ACEOF
52806 #define HAVE__FABSL 1
52807 _ACEOF
52810 done
52819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
52820 $as_echo_n "checking for fmodl declaration... " >&6; }
52821 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
52822 if ${glibcxx_cv_func_fmodl_use+:} false; then :
52823 $as_echo_n "(cached) " >&6
52824 else
52827 ac_ext=cpp
52828 ac_cpp='$CXXCPP $CPPFLAGS'
52829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52834 /* end confdefs.h. */
52835 #include <math.h>
52837 main ()
52839 fmodl(0, 0);
52841 return 0;
52843 _ACEOF
52844 if ac_fn_cxx_try_compile "$LINENO"; then :
52845 glibcxx_cv_func_fmodl_use=yes
52846 else
52847 glibcxx_cv_func_fmodl_use=no
52849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52850 ac_ext=c
52851 ac_cpp='$CPP $CPPFLAGS'
52852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
52861 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
52863 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
52864 for ac_func in fmodl
52865 do :
52866 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
52867 if test "x$ac_cv_func_fmodl" = xyes; then :
52868 cat >>confdefs.h <<_ACEOF
52869 #define HAVE_FMODL 1
52870 _ACEOF
52873 done
52875 else
52877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
52878 $as_echo_n "checking for _fmodl declaration... " >&6; }
52879 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
52880 if ${glibcxx_cv_func__fmodl_use+:} false; then :
52881 $as_echo_n "(cached) " >&6
52882 else
52885 ac_ext=cpp
52886 ac_cpp='$CXXCPP $CPPFLAGS'
52887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52892 /* end confdefs.h. */
52893 #include <math.h>
52895 main ()
52897 _fmodl(0, 0);
52899 return 0;
52901 _ACEOF
52902 if ac_fn_cxx_try_compile "$LINENO"; then :
52903 glibcxx_cv_func__fmodl_use=yes
52904 else
52905 glibcxx_cv_func__fmodl_use=no
52907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52908 ac_ext=c
52909 ac_cpp='$CPP $CPPFLAGS'
52910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
52919 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
52921 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
52922 for ac_func in _fmodl
52923 do :
52924 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
52925 if test "x$ac_cv_func__fmodl" = xyes; then :
52926 cat >>confdefs.h <<_ACEOF
52927 #define HAVE__FMODL 1
52928 _ACEOF
52931 done
52940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
52941 $as_echo_n "checking for frexpl declaration... " >&6; }
52942 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
52943 if ${glibcxx_cv_func_frexpl_use+:} false; then :
52944 $as_echo_n "(cached) " >&6
52945 else
52948 ac_ext=cpp
52949 ac_cpp='$CXXCPP $CPPFLAGS'
52950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52955 /* end confdefs.h. */
52956 #include <math.h>
52958 main ()
52960 frexpl(0, 0);
52962 return 0;
52964 _ACEOF
52965 if ac_fn_cxx_try_compile "$LINENO"; then :
52966 glibcxx_cv_func_frexpl_use=yes
52967 else
52968 glibcxx_cv_func_frexpl_use=no
52970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52971 ac_ext=c
52972 ac_cpp='$CPP $CPPFLAGS'
52973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
52982 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
52984 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
52985 for ac_func in frexpl
52986 do :
52987 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
52988 if test "x$ac_cv_func_frexpl" = xyes; then :
52989 cat >>confdefs.h <<_ACEOF
52990 #define HAVE_FREXPL 1
52991 _ACEOF
52994 done
52996 else
52998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
52999 $as_echo_n "checking for _frexpl declaration... " >&6; }
53000 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
53001 if ${glibcxx_cv_func__frexpl_use+:} false; then :
53002 $as_echo_n "(cached) " >&6
53003 else
53006 ac_ext=cpp
53007 ac_cpp='$CXXCPP $CPPFLAGS'
53008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53013 /* end confdefs.h. */
53014 #include <math.h>
53016 main ()
53018 _frexpl(0, 0);
53020 return 0;
53022 _ACEOF
53023 if ac_fn_cxx_try_compile "$LINENO"; then :
53024 glibcxx_cv_func__frexpl_use=yes
53025 else
53026 glibcxx_cv_func__frexpl_use=no
53028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53029 ac_ext=c
53030 ac_cpp='$CPP $CPPFLAGS'
53031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
53040 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
53042 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
53043 for ac_func in _frexpl
53044 do :
53045 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
53046 if test "x$ac_cv_func__frexpl" = xyes; then :
53047 cat >>confdefs.h <<_ACEOF
53048 #define HAVE__FREXPL 1
53049 _ACEOF
53052 done
53061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
53062 $as_echo_n "checking for hypotl declaration... " >&6; }
53063 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
53064 if ${glibcxx_cv_func_hypotl_use+:} false; then :
53065 $as_echo_n "(cached) " >&6
53066 else
53069 ac_ext=cpp
53070 ac_cpp='$CXXCPP $CPPFLAGS'
53071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53076 /* end confdefs.h. */
53077 #include <math.h>
53079 main ()
53081 hypotl(0, 0);
53083 return 0;
53085 _ACEOF
53086 if ac_fn_cxx_try_compile "$LINENO"; then :
53087 glibcxx_cv_func_hypotl_use=yes
53088 else
53089 glibcxx_cv_func_hypotl_use=no
53091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53092 ac_ext=c
53093 ac_cpp='$CPP $CPPFLAGS'
53094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
53103 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
53105 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
53106 for ac_func in hypotl
53107 do :
53108 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
53109 if test "x$ac_cv_func_hypotl" = xyes; then :
53110 cat >>confdefs.h <<_ACEOF
53111 #define HAVE_HYPOTL 1
53112 _ACEOF
53115 done
53117 else
53119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
53120 $as_echo_n "checking for _hypotl declaration... " >&6; }
53121 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
53122 if ${glibcxx_cv_func__hypotl_use+:} false; then :
53123 $as_echo_n "(cached) " >&6
53124 else
53127 ac_ext=cpp
53128 ac_cpp='$CXXCPP $CPPFLAGS'
53129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53134 /* end confdefs.h. */
53135 #include <math.h>
53137 main ()
53139 _hypotl(0, 0);
53141 return 0;
53143 _ACEOF
53144 if ac_fn_cxx_try_compile "$LINENO"; then :
53145 glibcxx_cv_func__hypotl_use=yes
53146 else
53147 glibcxx_cv_func__hypotl_use=no
53149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53150 ac_ext=c
53151 ac_cpp='$CPP $CPPFLAGS'
53152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
53161 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
53163 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
53164 for ac_func in _hypotl
53165 do :
53166 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
53167 if test "x$ac_cv_func__hypotl" = xyes; then :
53168 cat >>confdefs.h <<_ACEOF
53169 #define HAVE__HYPOTL 1
53170 _ACEOF
53173 done
53182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
53183 $as_echo_n "checking for ldexpl declaration... " >&6; }
53184 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
53185 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
53186 $as_echo_n "(cached) " >&6
53187 else
53190 ac_ext=cpp
53191 ac_cpp='$CXXCPP $CPPFLAGS'
53192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53197 /* end confdefs.h. */
53198 #include <math.h>
53200 main ()
53202 ldexpl(0, 0);
53204 return 0;
53206 _ACEOF
53207 if ac_fn_cxx_try_compile "$LINENO"; then :
53208 glibcxx_cv_func_ldexpl_use=yes
53209 else
53210 glibcxx_cv_func_ldexpl_use=no
53212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53213 ac_ext=c
53214 ac_cpp='$CPP $CPPFLAGS'
53215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
53224 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
53226 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
53227 for ac_func in ldexpl
53228 do :
53229 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
53230 if test "x$ac_cv_func_ldexpl" = xyes; then :
53231 cat >>confdefs.h <<_ACEOF
53232 #define HAVE_LDEXPL 1
53233 _ACEOF
53236 done
53238 else
53240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
53241 $as_echo_n "checking for _ldexpl declaration... " >&6; }
53242 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
53243 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
53244 $as_echo_n "(cached) " >&6
53245 else
53248 ac_ext=cpp
53249 ac_cpp='$CXXCPP $CPPFLAGS'
53250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53255 /* end confdefs.h. */
53256 #include <math.h>
53258 main ()
53260 _ldexpl(0, 0);
53262 return 0;
53264 _ACEOF
53265 if ac_fn_cxx_try_compile "$LINENO"; then :
53266 glibcxx_cv_func__ldexpl_use=yes
53267 else
53268 glibcxx_cv_func__ldexpl_use=no
53270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53271 ac_ext=c
53272 ac_cpp='$CPP $CPPFLAGS'
53273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
53282 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
53284 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
53285 for ac_func in _ldexpl
53286 do :
53287 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
53288 if test "x$ac_cv_func__ldexpl" = xyes; then :
53289 cat >>confdefs.h <<_ACEOF
53290 #define HAVE__LDEXPL 1
53291 _ACEOF
53294 done
53303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
53304 $as_echo_n "checking for logl declaration... " >&6; }
53305 if test x${glibcxx_cv_func_logl_use+set} != xset; then
53306 if ${glibcxx_cv_func_logl_use+:} false; then :
53307 $as_echo_n "(cached) " >&6
53308 else
53311 ac_ext=cpp
53312 ac_cpp='$CXXCPP $CPPFLAGS'
53313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53318 /* end confdefs.h. */
53319 #include <math.h>
53320 #ifdef HAVE_IEEEFP_H
53321 #include <ieeefp.h>
53322 #endif
53325 main ()
53327 logl(0);
53329 return 0;
53331 _ACEOF
53332 if ac_fn_cxx_try_compile "$LINENO"; then :
53333 glibcxx_cv_func_logl_use=yes
53334 else
53335 glibcxx_cv_func_logl_use=no
53337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53338 ac_ext=c
53339 ac_cpp='$CPP $CPPFLAGS'
53340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
53349 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
53351 if test x$glibcxx_cv_func_logl_use = x"yes"; then
53352 for ac_func in logl
53353 do :
53354 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
53355 if test "x$ac_cv_func_logl" = xyes; then :
53356 cat >>confdefs.h <<_ACEOF
53357 #define HAVE_LOGL 1
53358 _ACEOF
53361 done
53363 else
53365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
53366 $as_echo_n "checking for _logl declaration... " >&6; }
53367 if test x${glibcxx_cv_func__logl_use+set} != xset; then
53368 if ${glibcxx_cv_func__logl_use+:} false; then :
53369 $as_echo_n "(cached) " >&6
53370 else
53373 ac_ext=cpp
53374 ac_cpp='$CXXCPP $CPPFLAGS'
53375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53380 /* end confdefs.h. */
53381 #include <math.h>
53382 #ifdef HAVE_IEEEFP_H
53383 #include <ieeefp.h>
53384 #endif
53387 main ()
53389 _logl(0);
53391 return 0;
53393 _ACEOF
53394 if ac_fn_cxx_try_compile "$LINENO"; then :
53395 glibcxx_cv_func__logl_use=yes
53396 else
53397 glibcxx_cv_func__logl_use=no
53399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53400 ac_ext=c
53401 ac_cpp='$CPP $CPPFLAGS'
53402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
53411 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
53413 if test x$glibcxx_cv_func__logl_use = x"yes"; then
53414 for ac_func in _logl
53415 do :
53416 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
53417 if test "x$ac_cv_func__logl" = xyes; then :
53418 cat >>confdefs.h <<_ACEOF
53419 #define HAVE__LOGL 1
53420 _ACEOF
53423 done
53432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
53433 $as_echo_n "checking for log10l declaration... " >&6; }
53434 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
53435 if ${glibcxx_cv_func_log10l_use+:} false; then :
53436 $as_echo_n "(cached) " >&6
53437 else
53440 ac_ext=cpp
53441 ac_cpp='$CXXCPP $CPPFLAGS'
53442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53447 /* end confdefs.h. */
53448 #include <math.h>
53449 #ifdef HAVE_IEEEFP_H
53450 #include <ieeefp.h>
53451 #endif
53454 main ()
53456 log10l(0);
53458 return 0;
53460 _ACEOF
53461 if ac_fn_cxx_try_compile "$LINENO"; then :
53462 glibcxx_cv_func_log10l_use=yes
53463 else
53464 glibcxx_cv_func_log10l_use=no
53466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53467 ac_ext=c
53468 ac_cpp='$CPP $CPPFLAGS'
53469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
53478 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
53480 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
53481 for ac_func in log10l
53482 do :
53483 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
53484 if test "x$ac_cv_func_log10l" = xyes; then :
53485 cat >>confdefs.h <<_ACEOF
53486 #define HAVE_LOG10L 1
53487 _ACEOF
53490 done
53492 else
53494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
53495 $as_echo_n "checking for _log10l declaration... " >&6; }
53496 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
53497 if ${glibcxx_cv_func__log10l_use+:} false; then :
53498 $as_echo_n "(cached) " >&6
53499 else
53502 ac_ext=cpp
53503 ac_cpp='$CXXCPP $CPPFLAGS'
53504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53509 /* end confdefs.h. */
53510 #include <math.h>
53511 #ifdef HAVE_IEEEFP_H
53512 #include <ieeefp.h>
53513 #endif
53516 main ()
53518 _log10l(0);
53520 return 0;
53522 _ACEOF
53523 if ac_fn_cxx_try_compile "$LINENO"; then :
53524 glibcxx_cv_func__log10l_use=yes
53525 else
53526 glibcxx_cv_func__log10l_use=no
53528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53529 ac_ext=c
53530 ac_cpp='$CPP $CPPFLAGS'
53531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
53540 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
53542 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
53543 for ac_func in _log10l
53544 do :
53545 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
53546 if test "x$ac_cv_func__log10l" = xyes; then :
53547 cat >>confdefs.h <<_ACEOF
53548 #define HAVE__LOG10L 1
53549 _ACEOF
53552 done
53561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
53562 $as_echo_n "checking for modfl declaration... " >&6; }
53563 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
53564 if ${glibcxx_cv_func_modfl_use+:} false; then :
53565 $as_echo_n "(cached) " >&6
53566 else
53569 ac_ext=cpp
53570 ac_cpp='$CXXCPP $CPPFLAGS'
53571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53576 /* end confdefs.h. */
53577 #include <math.h>
53579 main ()
53581 modfl(0, 0);
53583 return 0;
53585 _ACEOF
53586 if ac_fn_cxx_try_compile "$LINENO"; then :
53587 glibcxx_cv_func_modfl_use=yes
53588 else
53589 glibcxx_cv_func_modfl_use=no
53591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53592 ac_ext=c
53593 ac_cpp='$CPP $CPPFLAGS'
53594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
53603 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
53605 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
53606 for ac_func in modfl
53607 do :
53608 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
53609 if test "x$ac_cv_func_modfl" = xyes; then :
53610 cat >>confdefs.h <<_ACEOF
53611 #define HAVE_MODFL 1
53612 _ACEOF
53615 done
53617 else
53619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
53620 $as_echo_n "checking for _modfl declaration... " >&6; }
53621 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
53622 if ${glibcxx_cv_func__modfl_use+:} false; then :
53623 $as_echo_n "(cached) " >&6
53624 else
53627 ac_ext=cpp
53628 ac_cpp='$CXXCPP $CPPFLAGS'
53629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53634 /* end confdefs.h. */
53635 #include <math.h>
53637 main ()
53639 _modfl(0, 0);
53641 return 0;
53643 _ACEOF
53644 if ac_fn_cxx_try_compile "$LINENO"; then :
53645 glibcxx_cv_func__modfl_use=yes
53646 else
53647 glibcxx_cv_func__modfl_use=no
53649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53650 ac_ext=c
53651 ac_cpp='$CPP $CPPFLAGS'
53652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
53661 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
53663 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
53664 for ac_func in _modfl
53665 do :
53666 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
53667 if test "x$ac_cv_func__modfl" = xyes; then :
53668 cat >>confdefs.h <<_ACEOF
53669 #define HAVE__MODFL 1
53670 _ACEOF
53673 done
53682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
53683 $as_echo_n "checking for powl declaration... " >&6; }
53684 if test x${glibcxx_cv_func_powl_use+set} != xset; then
53685 if ${glibcxx_cv_func_powl_use+:} false; then :
53686 $as_echo_n "(cached) " >&6
53687 else
53690 ac_ext=cpp
53691 ac_cpp='$CXXCPP $CPPFLAGS'
53692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53697 /* end confdefs.h. */
53698 #include <math.h>
53700 main ()
53702 powl(0, 0);
53704 return 0;
53706 _ACEOF
53707 if ac_fn_cxx_try_compile "$LINENO"; then :
53708 glibcxx_cv_func_powl_use=yes
53709 else
53710 glibcxx_cv_func_powl_use=no
53712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53713 ac_ext=c
53714 ac_cpp='$CPP $CPPFLAGS'
53715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
53724 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
53726 if test x$glibcxx_cv_func_powl_use = x"yes"; then
53727 for ac_func in powl
53728 do :
53729 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
53730 if test "x$ac_cv_func_powl" = xyes; then :
53731 cat >>confdefs.h <<_ACEOF
53732 #define HAVE_POWL 1
53733 _ACEOF
53736 done
53738 else
53740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
53741 $as_echo_n "checking for _powl declaration... " >&6; }
53742 if test x${glibcxx_cv_func__powl_use+set} != xset; then
53743 if ${glibcxx_cv_func__powl_use+:} false; then :
53744 $as_echo_n "(cached) " >&6
53745 else
53748 ac_ext=cpp
53749 ac_cpp='$CXXCPP $CPPFLAGS'
53750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53755 /* end confdefs.h. */
53756 #include <math.h>
53758 main ()
53760 _powl(0, 0);
53762 return 0;
53764 _ACEOF
53765 if ac_fn_cxx_try_compile "$LINENO"; then :
53766 glibcxx_cv_func__powl_use=yes
53767 else
53768 glibcxx_cv_func__powl_use=no
53770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53771 ac_ext=c
53772 ac_cpp='$CPP $CPPFLAGS'
53773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
53782 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
53784 if test x$glibcxx_cv_func__powl_use = x"yes"; then
53785 for ac_func in _powl
53786 do :
53787 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
53788 if test "x$ac_cv_func__powl" = xyes; then :
53789 cat >>confdefs.h <<_ACEOF
53790 #define HAVE__POWL 1
53791 _ACEOF
53794 done
53803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
53804 $as_echo_n "checking for sqrtl declaration... " >&6; }
53805 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
53806 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
53807 $as_echo_n "(cached) " >&6
53808 else
53811 ac_ext=cpp
53812 ac_cpp='$CXXCPP $CPPFLAGS'
53813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53818 /* end confdefs.h. */
53819 #include <math.h>
53820 #ifdef HAVE_IEEEFP_H
53821 #include <ieeefp.h>
53822 #endif
53825 main ()
53827 sqrtl(0);
53829 return 0;
53831 _ACEOF
53832 if ac_fn_cxx_try_compile "$LINENO"; then :
53833 glibcxx_cv_func_sqrtl_use=yes
53834 else
53835 glibcxx_cv_func_sqrtl_use=no
53837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53838 ac_ext=c
53839 ac_cpp='$CPP $CPPFLAGS'
53840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
53849 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
53851 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
53852 for ac_func in sqrtl
53853 do :
53854 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
53855 if test "x$ac_cv_func_sqrtl" = xyes; then :
53856 cat >>confdefs.h <<_ACEOF
53857 #define HAVE_SQRTL 1
53858 _ACEOF
53861 done
53863 else
53865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
53866 $as_echo_n "checking for _sqrtl declaration... " >&6; }
53867 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
53868 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
53869 $as_echo_n "(cached) " >&6
53870 else
53873 ac_ext=cpp
53874 ac_cpp='$CXXCPP $CPPFLAGS'
53875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53880 /* end confdefs.h. */
53881 #include <math.h>
53882 #ifdef HAVE_IEEEFP_H
53883 #include <ieeefp.h>
53884 #endif
53887 main ()
53889 _sqrtl(0);
53891 return 0;
53893 _ACEOF
53894 if ac_fn_cxx_try_compile "$LINENO"; then :
53895 glibcxx_cv_func__sqrtl_use=yes
53896 else
53897 glibcxx_cv_func__sqrtl_use=no
53899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53900 ac_ext=c
53901 ac_cpp='$CPP $CPPFLAGS'
53902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
53911 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
53913 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
53914 for ac_func in _sqrtl
53915 do :
53916 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
53917 if test "x$ac_cv_func__sqrtl" = xyes; then :
53918 cat >>confdefs.h <<_ACEOF
53919 #define HAVE__SQRTL 1
53920 _ACEOF
53923 done
53932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
53933 $as_echo_n "checking for sincosl declaration... " >&6; }
53934 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
53935 if ${glibcxx_cv_func_sincosl_use+:} false; then :
53936 $as_echo_n "(cached) " >&6
53937 else
53940 ac_ext=cpp
53941 ac_cpp='$CXXCPP $CPPFLAGS'
53942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53947 /* end confdefs.h. */
53948 #include <math.h>
53950 main ()
53952 sincosl(0, 0, 0);
53954 return 0;
53956 _ACEOF
53957 if ac_fn_cxx_try_compile "$LINENO"; then :
53958 glibcxx_cv_func_sincosl_use=yes
53959 else
53960 glibcxx_cv_func_sincosl_use=no
53962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53963 ac_ext=c
53964 ac_cpp='$CPP $CPPFLAGS'
53965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
53974 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
53976 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
53977 for ac_func in sincosl
53978 do :
53979 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
53980 if test "x$ac_cv_func_sincosl" = xyes; then :
53981 cat >>confdefs.h <<_ACEOF
53982 #define HAVE_SINCOSL 1
53983 _ACEOF
53986 done
53988 else
53990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
53991 $as_echo_n "checking for _sincosl declaration... " >&6; }
53992 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
53993 if ${glibcxx_cv_func__sincosl_use+:} false; then :
53994 $as_echo_n "(cached) " >&6
53995 else
53998 ac_ext=cpp
53999 ac_cpp='$CXXCPP $CPPFLAGS'
54000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54005 /* end confdefs.h. */
54006 #include <math.h>
54008 main ()
54010 _sincosl(0, 0, 0);
54012 return 0;
54014 _ACEOF
54015 if ac_fn_cxx_try_compile "$LINENO"; then :
54016 glibcxx_cv_func__sincosl_use=yes
54017 else
54018 glibcxx_cv_func__sincosl_use=no
54020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54021 ac_ext=c
54022 ac_cpp='$CPP $CPPFLAGS'
54023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
54032 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
54034 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
54035 for ac_func in _sincosl
54036 do :
54037 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
54038 if test "x$ac_cv_func__sincosl" = xyes; then :
54039 cat >>confdefs.h <<_ACEOF
54040 #define HAVE__SINCOSL 1
54041 _ACEOF
54044 done
54053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
54054 $as_echo_n "checking for finitel declaration... " >&6; }
54055 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
54056 if ${glibcxx_cv_func_finitel_use+:} false; then :
54057 $as_echo_n "(cached) " >&6
54058 else
54061 ac_ext=cpp
54062 ac_cpp='$CXXCPP $CPPFLAGS'
54063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54068 /* end confdefs.h. */
54069 #include <math.h>
54070 #ifdef HAVE_IEEEFP_H
54071 #include <ieeefp.h>
54072 #endif
54075 main ()
54077 finitel(0);
54079 return 0;
54081 _ACEOF
54082 if ac_fn_cxx_try_compile "$LINENO"; then :
54083 glibcxx_cv_func_finitel_use=yes
54084 else
54085 glibcxx_cv_func_finitel_use=no
54087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54088 ac_ext=c
54089 ac_cpp='$CPP $CPPFLAGS'
54090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
54099 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
54101 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
54102 for ac_func in finitel
54103 do :
54104 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
54105 if test "x$ac_cv_func_finitel" = xyes; then :
54106 cat >>confdefs.h <<_ACEOF
54107 #define HAVE_FINITEL 1
54108 _ACEOF
54111 done
54113 else
54115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
54116 $as_echo_n "checking for _finitel declaration... " >&6; }
54117 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
54118 if ${glibcxx_cv_func__finitel_use+:} false; then :
54119 $as_echo_n "(cached) " >&6
54120 else
54123 ac_ext=cpp
54124 ac_cpp='$CXXCPP $CPPFLAGS'
54125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54130 /* end confdefs.h. */
54131 #include <math.h>
54132 #ifdef HAVE_IEEEFP_H
54133 #include <ieeefp.h>
54134 #endif
54137 main ()
54139 _finitel(0);
54141 return 0;
54143 _ACEOF
54144 if ac_fn_cxx_try_compile "$LINENO"; then :
54145 glibcxx_cv_func__finitel_use=yes
54146 else
54147 glibcxx_cv_func__finitel_use=no
54149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54150 ac_ext=c
54151 ac_cpp='$CPP $CPPFLAGS'
54152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
54161 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
54163 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
54164 for ac_func in _finitel
54165 do :
54166 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
54167 if test "x$ac_cv_func__finitel" = xyes; then :
54168 cat >>confdefs.h <<_ACEOF
54169 #define HAVE__FINITEL 1
54170 _ACEOF
54173 done
54181 LIBS="$ac_save_LIBS"
54182 CXXFLAGS="$ac_save_CXXFLAGS"
54185 ac_test_CXXFLAGS="${CXXFLAGS+set}"
54186 ac_save_CXXFLAGS="$CXXFLAGS"
54187 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
54191 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
54192 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
54193 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
54194 $as_echo_n "(cached) " >&6
54195 else
54198 ac_ext=cpp
54199 ac_cpp='$CXXCPP $CPPFLAGS'
54200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54205 /* end confdefs.h. */
54206 #include <stdlib.h>
54208 main ()
54210 at_quick_exit(0);
54212 return 0;
54214 _ACEOF
54215 if ac_fn_cxx_try_compile "$LINENO"; then :
54216 glibcxx_cv_func_at_quick_exit_use=yes
54217 else
54218 glibcxx_cv_func_at_quick_exit_use=no
54220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54221 ac_ext=c
54222 ac_cpp='$CPP $CPPFLAGS'
54223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
54232 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
54233 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
54234 for ac_func in at_quick_exit
54235 do :
54236 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
54237 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
54238 cat >>confdefs.h <<_ACEOF
54239 #define HAVE_AT_QUICK_EXIT 1
54240 _ACEOF
54243 done
54248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
54249 $as_echo_n "checking for quick_exit declaration... " >&6; }
54250 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
54251 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
54252 $as_echo_n "(cached) " >&6
54253 else
54256 ac_ext=cpp
54257 ac_cpp='$CXXCPP $CPPFLAGS'
54258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54263 /* end confdefs.h. */
54264 #include <stdlib.h>
54266 main ()
54268 quick_exit(0);
54270 return 0;
54272 _ACEOF
54273 if ac_fn_cxx_try_compile "$LINENO"; then :
54274 glibcxx_cv_func_quick_exit_use=yes
54275 else
54276 glibcxx_cv_func_quick_exit_use=no
54278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54279 ac_ext=c
54280 ac_cpp='$CPP $CPPFLAGS'
54281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
54290 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
54291 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
54292 for ac_func in quick_exit
54293 do :
54294 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
54295 if test "x$ac_cv_func_quick_exit" = xyes; then :
54296 cat >>confdefs.h <<_ACEOF
54297 #define HAVE_QUICK_EXIT 1
54298 _ACEOF
54301 done
54306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
54307 $as_echo_n "checking for strtold declaration... " >&6; }
54308 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
54309 if ${glibcxx_cv_func_strtold_use+:} false; then :
54310 $as_echo_n "(cached) " >&6
54311 else
54314 ac_ext=cpp
54315 ac_cpp='$CXXCPP $CPPFLAGS'
54316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54321 /* end confdefs.h. */
54322 #include <stdlib.h>
54324 main ()
54326 strtold(0, 0);
54328 return 0;
54330 _ACEOF
54331 if ac_fn_cxx_try_compile "$LINENO"; then :
54332 glibcxx_cv_func_strtold_use=yes
54333 else
54334 glibcxx_cv_func_strtold_use=no
54336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54337 ac_ext=c
54338 ac_cpp='$CPP $CPPFLAGS'
54339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
54348 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
54349 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
54350 for ac_func in strtold
54351 do :
54352 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
54353 if test "x$ac_cv_func_strtold" = xyes; then :
54354 cat >>confdefs.h <<_ACEOF
54355 #define HAVE_STRTOLD 1
54356 _ACEOF
54359 done
54366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
54367 $as_echo_n "checking for strtof declaration... " >&6; }
54368 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
54369 if ${glibcxx_cv_func_strtof_use+:} false; then :
54370 $as_echo_n "(cached) " >&6
54371 else
54374 ac_ext=cpp
54375 ac_cpp='$CXXCPP $CPPFLAGS'
54376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54381 /* end confdefs.h. */
54382 #include <stdlib.h>
54384 main ()
54386 strtof(0, 0);
54388 return 0;
54390 _ACEOF
54391 if ac_fn_cxx_try_compile "$LINENO"; then :
54392 glibcxx_cv_func_strtof_use=yes
54393 else
54394 glibcxx_cv_func_strtof_use=no
54396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54397 ac_ext=c
54398 ac_cpp='$CPP $CPPFLAGS'
54399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
54408 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
54409 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
54410 for ac_func in strtof
54411 do :
54412 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
54413 if test "x$ac_cv_func_strtof" = xyes; then :
54414 cat >>confdefs.h <<_ACEOF
54415 #define HAVE_STRTOF 1
54416 _ACEOF
54419 done
54426 CXXFLAGS="$ac_save_CXXFLAGS"
54428 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
54430 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
54434 # Check whether --enable-tls was given.
54435 if test "${enable_tls+set}" = set; then :
54436 enableval=$enable_tls;
54437 case "$enableval" in
54438 yes|no) ;;
54439 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
54440 esac
54442 else
54443 enable_tls=yes
54447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
54448 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
54449 if ${gcc_cv_have_tls+:} false; then :
54450 $as_echo_n "(cached) " >&6
54451 else
54453 if test "$cross_compiling" = yes; then :
54454 if test x$gcc_no_link = xyes; then
54455 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54458 /* end confdefs.h. */
54459 __thread int a; int b; int main() { return a = b; }
54460 _ACEOF
54461 if ac_fn_c_try_link "$LINENO"; then :
54462 chktls_save_LDFLAGS="$LDFLAGS"
54463 case $host in
54464 *-*-linux* | -*-uclinuxfdpic*)
54465 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
54467 esac
54468 chktls_save_CFLAGS="$CFLAGS"
54469 CFLAGS="-fPIC $CFLAGS"
54470 if test x$gcc_no_link = xyes; then
54471 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54474 /* end confdefs.h. */
54475 int f() { return 0; }
54476 _ACEOF
54477 if ac_fn_c_try_link "$LINENO"; then :
54478 if test x$gcc_no_link = xyes; then
54479 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54482 /* end confdefs.h. */
54483 __thread int a; int b; int f() { return a = b; }
54484 _ACEOF
54485 if ac_fn_c_try_link "$LINENO"; then :
54486 gcc_cv_have_tls=yes
54487 else
54488 gcc_cv_have_tls=no
54490 rm -f core conftest.err conftest.$ac_objext \
54491 conftest$ac_exeext conftest.$ac_ext
54492 else
54493 gcc_cv_have_tls=yes
54495 rm -f core conftest.err conftest.$ac_objext \
54496 conftest$ac_exeext conftest.$ac_ext
54497 CFLAGS="$chktls_save_CFLAGS"
54498 LDFLAGS="$chktls_save_LDFLAGS"
54499 else
54500 gcc_cv_have_tls=no
54502 rm -f core conftest.err conftest.$ac_objext \
54503 conftest$ac_exeext conftest.$ac_ext
54506 else
54507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54508 /* end confdefs.h. */
54509 __thread int a; int b; int main() { return a = b; }
54510 _ACEOF
54511 if ac_fn_c_try_run "$LINENO"; then :
54512 chktls_save_LDFLAGS="$LDFLAGS"
54513 LDFLAGS="-static $LDFLAGS"
54514 if test x$gcc_no_link = xyes; then
54515 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54518 /* end confdefs.h. */
54519 int main() { return 0; }
54520 _ACEOF
54521 if ac_fn_c_try_link "$LINENO"; then :
54522 if test "$cross_compiling" = yes; then :
54523 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
54524 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
54525 as_fn_error $? "cannot run test program while cross compiling
54526 See \`config.log' for more details" "$LINENO" 5; }
54527 else
54528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54529 /* end confdefs.h. */
54530 __thread int a; int b; int main() { return a = b; }
54531 _ACEOF
54532 if ac_fn_c_try_run "$LINENO"; then :
54533 gcc_cv_have_tls=yes
54534 else
54535 gcc_cv_have_tls=no
54537 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54538 conftest.$ac_objext conftest.beam conftest.$ac_ext
54541 else
54542 gcc_cv_have_tls=yes
54544 rm -f core conftest.err conftest.$ac_objext \
54545 conftest$ac_exeext conftest.$ac_ext
54546 LDFLAGS="$chktls_save_LDFLAGS"
54547 if test $gcc_cv_have_tls = yes; then
54548 chktls_save_CFLAGS="$CFLAGS"
54549 thread_CFLAGS=failed
54550 for flag in '' '-pthread' '-lpthread'; do
54551 CFLAGS="$flag $chktls_save_CFLAGS"
54552 if test x$gcc_no_link = xyes; then
54553 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54556 /* end confdefs.h. */
54557 #include <pthread.h>
54558 void *g(void *d) { return NULL; }
54560 main ()
54562 pthread_t t; pthread_create(&t,NULL,g,NULL);
54564 return 0;
54566 _ACEOF
54567 if ac_fn_c_try_link "$LINENO"; then :
54568 thread_CFLAGS="$flag"
54570 rm -f core conftest.err conftest.$ac_objext \
54571 conftest$ac_exeext conftest.$ac_ext
54572 if test "X$thread_CFLAGS" != Xfailed; then
54573 break
54575 done
54576 CFLAGS="$chktls_save_CFLAGS"
54577 if test "X$thread_CFLAGS" != Xfailed; then
54578 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
54579 if test "$cross_compiling" = yes; then :
54580 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
54581 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
54582 as_fn_error $? "cannot run test program while cross compiling
54583 See \`config.log' for more details" "$LINENO" 5; }
54584 else
54585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54586 /* end confdefs.h. */
54587 #include <pthread.h>
54588 __thread int a;
54589 static int *volatile a_in_other_thread;
54590 static void *
54591 thread_func (void *arg)
54593 a_in_other_thread = &a;
54594 return (void *)0;
54597 main ()
54599 pthread_t thread;
54600 void *thread_retval;
54601 int *volatile a_in_main_thread;
54602 a_in_main_thread = &a;
54603 if (pthread_create (&thread, (pthread_attr_t *)0,
54604 thread_func, (void *)0))
54605 return 0;
54606 if (pthread_join (thread, &thread_retval))
54607 return 0;
54608 return (a_in_other_thread == a_in_main_thread);
54610 return 0;
54612 _ACEOF
54613 if ac_fn_c_try_run "$LINENO"; then :
54614 gcc_cv_have_tls=yes
54615 else
54616 gcc_cv_have_tls=no
54618 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54619 conftest.$ac_objext conftest.beam conftest.$ac_ext
54622 CFLAGS="$chktls_save_CFLAGS"
54625 else
54626 gcc_cv_have_tls=no
54628 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54629 conftest.$ac_objext conftest.beam conftest.$ac_ext
54633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
54634 $as_echo "$gcc_cv_have_tls" >&6; }
54635 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
54637 $as_echo "#define HAVE_TLS 1" >>confdefs.h
54640 for ac_func in __cxa_thread_atexit_impl
54641 do :
54642 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
54643 if test "x$ac_cv_func___cxa_thread_atexit_impl" = xyes; then :
54644 cat >>confdefs.h <<_ACEOF
54645 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
54646 _ACEOF
54649 done
54651 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
54652 do :
54653 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54654 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54655 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
54656 cat >>confdefs.h <<_ACEOF
54657 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54658 _ACEOF
54661 done
54663 for ac_func in timespec_get
54664 do :
54665 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
54666 if test "x$ac_cv_func_timespec_get" = xyes; then :
54667 cat >>confdefs.h <<_ACEOF
54668 #define HAVE_TIMESPEC_GET 1
54669 _ACEOF
54672 done
54674 for ac_func in sockatmark
54675 do :
54676 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
54677 if test "x$ac_cv_func_sockatmark" = xyes; then :
54678 cat >>confdefs.h <<_ACEOF
54679 #define HAVE_SOCKATMARK 1
54680 _ACEOF
54683 done
54690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
54691 $as_echo_n "checking for iconv... " >&6; }
54692 if ${am_cv_func_iconv+:} false; then :
54693 $as_echo_n "(cached) " >&6
54694 else
54696 am_cv_func_iconv="no, consider installing GNU libiconv"
54697 am_cv_lib_iconv=no
54698 am_save_CPPFLAGS="$CPPFLAGS"
54699 CPPFLAGS="$CPPFLAGS $INCICONV"
54700 if test x$gcc_no_link = xyes; then
54701 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54704 /* end confdefs.h. */
54705 #include <stdlib.h>
54706 #include <iconv.h>
54708 main ()
54710 iconv_t cd = iconv_open("","");
54711 iconv(cd,NULL,NULL,NULL,NULL);
54712 iconv_close(cd);
54714 return 0;
54716 _ACEOF
54717 if ac_fn_c_try_link "$LINENO"; then :
54718 am_cv_func_iconv=yes
54720 rm -f core conftest.err conftest.$ac_objext \
54721 conftest$ac_exeext conftest.$ac_ext
54722 CPPFLAGS="$am_save_CPPFLAGS"
54724 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
54725 for _libs in .libs _libs; do
54726 am_save_CPPFLAGS="$CPPFLAGS"
54727 am_save_LIBS="$LIBS"
54728 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
54729 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
54730 if test x$gcc_no_link = xyes; then
54731 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54734 /* end confdefs.h. */
54735 #include <stdlib.h>
54736 #include <iconv.h>
54738 main ()
54740 iconv_t cd = iconv_open("","");
54741 iconv(cd,NULL,NULL,NULL,NULL);
54742 iconv_close(cd);
54744 return 0;
54746 _ACEOF
54747 if ac_fn_c_try_link "$LINENO"; then :
54748 INCICONV="-I../libiconv/include"
54749 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
54750 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
54751 am_cv_lib_iconv=yes
54752 am_cv_func_iconv=yes
54754 rm -f core conftest.err conftest.$ac_objext \
54755 conftest$ac_exeext conftest.$ac_ext
54756 CPPFLAGS="$am_save_CPPFLAGS"
54757 LIBS="$am_save_LIBS"
54758 if test "$am_cv_func_iconv" = "yes"; then
54759 break
54761 done
54764 if test "$am_cv_func_iconv" != yes; then
54765 am_save_CPPFLAGS="$CPPFLAGS"
54766 am_save_LIBS="$LIBS"
54767 CPPFLAGS="$CPPFLAGS $INCICONV"
54768 LIBS="$LIBS $LIBICONV"
54769 if test x$gcc_no_link = xyes; then
54770 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54773 /* end confdefs.h. */
54774 #include <stdlib.h>
54775 #include <iconv.h>
54777 main ()
54779 iconv_t cd = iconv_open("","");
54780 iconv(cd,NULL,NULL,NULL,NULL);
54781 iconv_close(cd);
54783 return 0;
54785 _ACEOF
54786 if ac_fn_c_try_link "$LINENO"; then :
54787 am_cv_lib_iconv=yes
54788 am_cv_func_iconv=yes
54790 rm -f core conftest.err conftest.$ac_objext \
54791 conftest$ac_exeext conftest.$ac_ext
54792 CPPFLAGS="$am_save_CPPFLAGS"
54793 LIBS="$am_save_LIBS"
54797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
54798 $as_echo "$am_cv_func_iconv" >&6; }
54799 if test "$am_cv_func_iconv" = yes; then
54801 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
54804 if test "$am_cv_lib_iconv" = yes; then
54806 for element in $INCICONV; do
54807 haveit=
54808 for x in $CPPFLAGS; do
54810 acl_save_prefix="$prefix"
54811 prefix="$acl_final_prefix"
54812 acl_save_exec_prefix="$exec_prefix"
54813 exec_prefix="$acl_final_exec_prefix"
54814 eval x=\"$x\"
54815 exec_prefix="$acl_save_exec_prefix"
54816 prefix="$acl_save_prefix"
54818 if test "X$x" = "X$element"; then
54819 haveit=yes
54820 break
54822 done
54823 if test -z "$haveit"; then
54824 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
54826 done
54828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
54829 $as_echo_n "checking how to link with libiconv... " >&6; }
54830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
54831 $as_echo "$LIBICONV" >&6; }
54832 else
54833 LIBICONV=
54834 LTLIBICONV=
54839 if test "$am_cv_func_iconv" = yes; then
54840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
54841 $as_echo_n "checking for iconv declaration... " >&6; }
54842 if ${am_cv_proto_iconv+:} false; then :
54843 $as_echo_n "(cached) " >&6
54844 else
54846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54847 /* end confdefs.h. */
54849 #include <stdlib.h>
54850 #include <iconv.h>
54851 extern
54852 #ifdef __cplusplus
54854 #endif
54855 #if defined(__STDC__) || defined(__cplusplus)
54856 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
54857 #else
54858 size_t iconv();
54859 #endif
54862 main ()
54866 return 0;
54868 _ACEOF
54869 if ac_fn_c_try_compile "$LINENO"; then :
54870 am_cv_proto_iconv_arg1=""
54871 else
54872 am_cv_proto_iconv_arg1="const"
54874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54875 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);"
54878 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
54879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
54880 }$am_cv_proto_iconv" >&5
54881 $as_echo "${ac_t:-
54882 }$am_cv_proto_iconv" >&6; }
54884 cat >>confdefs.h <<_ACEOF
54885 #define ICONV_CONST $am_cv_proto_iconv_arg1
54886 _ACEOF
54891 *-mingw32*)
54893 # If we're not using GNU ld, then there's no point in even trying these
54894 # tests. Check for that first. We should have already tested for gld
54895 # by now (in libtool), but require it now just to be safe...
54896 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54897 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54901 # The name set by libtool depends on the version of libtool. Shame on us
54902 # for depending on an impl detail, but c'est la vie. Older versions used
54903 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54904 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54905 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
54906 # set (hence we're using an older libtool), then set it.
54907 if test x${with_gnu_ld+set} != xset; then
54908 if test x${ac_cv_prog_gnu_ld+set} != xset; then
54909 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
54910 with_gnu_ld=no
54911 else
54912 with_gnu_ld=$ac_cv_prog_gnu_ld
54916 # Start by getting the version number. I think the libtool test already
54917 # does some of this, but throws away the result.
54918 glibcxx_ld_is_gold=no
54919 if test x"$with_gnu_ld" = x"yes"; then
54920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
54921 $as_echo_n "checking for ld version... " >&6; }
54923 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
54924 glibcxx_ld_is_gold=yes
54926 ldver=`$LD --version 2>/dev/null |
54927 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
54929 glibcxx_gnu_ld_version=`echo $ldver | \
54930 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
54932 $as_echo "$glibcxx_gnu_ld_version" >&6; }
54935 # Set --gc-sections.
54936 glibcxx_have_gc_sections=no
54937 if test "$glibcxx_ld_is_gold" = "yes"; then
54938 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
54939 glibcxx_have_gc_sections=yes
54941 else
54942 glibcxx_gcsections_min_ld=21602
54943 if test x"$with_gnu_ld" = x"yes" &&
54944 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
54945 glibcxx_have_gc_sections=yes
54948 if test "$glibcxx_have_gc_sections" = "yes"; then
54949 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
54950 # NB: This flag only works reliably after 2.16.1. Configure tests
54951 # for this are difficult, so hard wire a value that should work.
54953 ac_test_CFLAGS="${CFLAGS+set}"
54954 ac_save_CFLAGS="$CFLAGS"
54955 CFLAGS='-Wl,--gc-sections'
54957 # Check for -Wl,--gc-sections
54958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
54959 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
54960 if test x$gcc_no_link = xyes; then
54961 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54964 /* end confdefs.h. */
54965 int one(void) { return 1; }
54966 int two(void) { return 2; }
54969 main ()
54971 two();
54973 return 0;
54975 _ACEOF
54976 if ac_fn_c_try_link "$LINENO"; then :
54977 ac_gcsections=yes
54978 else
54979 ac_gcsections=no
54981 rm -f core conftest.err conftest.$ac_objext \
54982 conftest$ac_exeext conftest.$ac_ext
54983 if test "$ac_gcsections" = "yes"; then
54984 rm -f conftest.c
54985 touch conftest.c
54986 if $CC -c conftest.c; then
54987 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
54988 grep "Warning: gc-sections option ignored" > /dev/null; then
54989 ac_gcsections=no
54992 rm -f conftest.c conftest.o conftest
54994 if test "$ac_gcsections" = "yes"; then
54995 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
54998 $as_echo "$ac_gcsections" >&6; }
55000 if test "$ac_test_CFLAGS" = set; then
55001 CFLAGS="$ac_save_CFLAGS"
55002 else
55003 # this is the suspicious part
55004 CFLAGS=''
55008 # Set -z,relro.
55009 # Note this is only for shared objects.
55010 ac_ld_relro=no
55011 if test x"$with_gnu_ld" = x"yes"; then
55012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
55013 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
55014 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
55015 if test -n "$cxx_z_relo"; then
55016 OPT_LDFLAGS="-Wl,-z,relro"
55017 ac_ld_relro=yes
55019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
55020 $as_echo "$ac_ld_relro" >&6; }
55023 # Set linker optimization flags.
55024 if test x"$with_gnu_ld" = x"yes"; then
55025 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
55032 ac_test_CXXFLAGS="${CXXFLAGS+set}"
55033 ac_save_CXXFLAGS="$CXXFLAGS"
55034 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
55036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
55037 $as_echo_n "checking for sin in -lm... " >&6; }
55038 if ${ac_cv_lib_m_sin+:} false; then :
55039 $as_echo_n "(cached) " >&6
55040 else
55041 ac_check_lib_save_LIBS=$LIBS
55042 LIBS="-lm $LIBS"
55043 if test x$gcc_no_link = xyes; then
55044 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
55046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55047 /* end confdefs.h. */
55049 /* Override any GCC internal prototype to avoid an error.
55050 Use char because int might match the return type of a GCC
55051 builtin and then its argument prototype would still apply. */
55052 #ifdef __cplusplus
55053 extern "C"
55054 #endif
55055 char sin ();
55057 main ()
55059 return sin ();
55061 return 0;
55063 _ACEOF
55064 if ac_fn_c_try_link "$LINENO"; then :
55065 ac_cv_lib_m_sin=yes
55066 else
55067 ac_cv_lib_m_sin=no
55069 rm -f core conftest.err conftest.$ac_objext \
55070 conftest$ac_exeext conftest.$ac_ext
55071 LIBS=$ac_check_lib_save_LIBS
55073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
55074 $as_echo "$ac_cv_lib_m_sin" >&6; }
55075 if test "x$ac_cv_lib_m_sin" = xyes; then :
55076 libm="-lm"
55079 ac_save_LIBS="$LIBS"
55080 LIBS="$LIBS $libm"
55084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
55085 $as_echo_n "checking for isinf declaration... " >&6; }
55086 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
55087 if ${glibcxx_cv_func_isinf_use+:} false; then :
55088 $as_echo_n "(cached) " >&6
55089 else
55092 ac_ext=cpp
55093 ac_cpp='$CXXCPP $CPPFLAGS'
55094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55099 /* end confdefs.h. */
55100 #include <math.h>
55101 #ifdef HAVE_IEEEFP_H
55102 #include <ieeefp.h>
55103 #endif
55106 main ()
55108 isinf(0);
55110 return 0;
55112 _ACEOF
55113 if ac_fn_cxx_try_compile "$LINENO"; then :
55114 glibcxx_cv_func_isinf_use=yes
55115 else
55116 glibcxx_cv_func_isinf_use=no
55118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55119 ac_ext=c
55120 ac_cpp='$CPP $CPPFLAGS'
55121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
55130 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
55132 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
55133 for ac_func in isinf
55134 do :
55135 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
55136 if test "x$ac_cv_func_isinf" = xyes; then :
55137 cat >>confdefs.h <<_ACEOF
55138 #define HAVE_ISINF 1
55139 _ACEOF
55142 done
55144 else
55146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
55147 $as_echo_n "checking for _isinf declaration... " >&6; }
55148 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
55149 if ${glibcxx_cv_func__isinf_use+:} false; then :
55150 $as_echo_n "(cached) " >&6
55151 else
55154 ac_ext=cpp
55155 ac_cpp='$CXXCPP $CPPFLAGS'
55156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55161 /* end confdefs.h. */
55162 #include <math.h>
55163 #ifdef HAVE_IEEEFP_H
55164 #include <ieeefp.h>
55165 #endif
55168 main ()
55170 _isinf(0);
55172 return 0;
55174 _ACEOF
55175 if ac_fn_cxx_try_compile "$LINENO"; then :
55176 glibcxx_cv_func__isinf_use=yes
55177 else
55178 glibcxx_cv_func__isinf_use=no
55180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55181 ac_ext=c
55182 ac_cpp='$CPP $CPPFLAGS'
55183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
55192 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
55194 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
55195 for ac_func in _isinf
55196 do :
55197 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
55198 if test "x$ac_cv_func__isinf" = xyes; then :
55199 cat >>confdefs.h <<_ACEOF
55200 #define HAVE__ISINF 1
55201 _ACEOF
55204 done
55213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
55214 $as_echo_n "checking for isnan declaration... " >&6; }
55215 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
55216 if ${glibcxx_cv_func_isnan_use+:} false; then :
55217 $as_echo_n "(cached) " >&6
55218 else
55221 ac_ext=cpp
55222 ac_cpp='$CXXCPP $CPPFLAGS'
55223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55228 /* end confdefs.h. */
55229 #include <math.h>
55230 #ifdef HAVE_IEEEFP_H
55231 #include <ieeefp.h>
55232 #endif
55235 main ()
55237 isnan(0);
55239 return 0;
55241 _ACEOF
55242 if ac_fn_cxx_try_compile "$LINENO"; then :
55243 glibcxx_cv_func_isnan_use=yes
55244 else
55245 glibcxx_cv_func_isnan_use=no
55247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55248 ac_ext=c
55249 ac_cpp='$CPP $CPPFLAGS'
55250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
55259 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
55261 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
55262 for ac_func in isnan
55263 do :
55264 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
55265 if test "x$ac_cv_func_isnan" = xyes; then :
55266 cat >>confdefs.h <<_ACEOF
55267 #define HAVE_ISNAN 1
55268 _ACEOF
55271 done
55273 else
55275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
55276 $as_echo_n "checking for _isnan declaration... " >&6; }
55277 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
55278 if ${glibcxx_cv_func__isnan_use+:} false; then :
55279 $as_echo_n "(cached) " >&6
55280 else
55283 ac_ext=cpp
55284 ac_cpp='$CXXCPP $CPPFLAGS'
55285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55290 /* end confdefs.h. */
55291 #include <math.h>
55292 #ifdef HAVE_IEEEFP_H
55293 #include <ieeefp.h>
55294 #endif
55297 main ()
55299 _isnan(0);
55301 return 0;
55303 _ACEOF
55304 if ac_fn_cxx_try_compile "$LINENO"; then :
55305 glibcxx_cv_func__isnan_use=yes
55306 else
55307 glibcxx_cv_func__isnan_use=no
55309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55310 ac_ext=c
55311 ac_cpp='$CPP $CPPFLAGS'
55312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
55321 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
55323 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
55324 for ac_func in _isnan
55325 do :
55326 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
55327 if test "x$ac_cv_func__isnan" = xyes; then :
55328 cat >>confdefs.h <<_ACEOF
55329 #define HAVE__ISNAN 1
55330 _ACEOF
55333 done
55342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
55343 $as_echo_n "checking for finite declaration... " >&6; }
55344 if test x${glibcxx_cv_func_finite_use+set} != xset; then
55345 if ${glibcxx_cv_func_finite_use+:} false; then :
55346 $as_echo_n "(cached) " >&6
55347 else
55350 ac_ext=cpp
55351 ac_cpp='$CXXCPP $CPPFLAGS'
55352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55357 /* end confdefs.h. */
55358 #include <math.h>
55359 #ifdef HAVE_IEEEFP_H
55360 #include <ieeefp.h>
55361 #endif
55364 main ()
55366 finite(0);
55368 return 0;
55370 _ACEOF
55371 if ac_fn_cxx_try_compile "$LINENO"; then :
55372 glibcxx_cv_func_finite_use=yes
55373 else
55374 glibcxx_cv_func_finite_use=no
55376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55377 ac_ext=c
55378 ac_cpp='$CPP $CPPFLAGS'
55379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
55388 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
55390 if test x$glibcxx_cv_func_finite_use = x"yes"; then
55391 for ac_func in finite
55392 do :
55393 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
55394 if test "x$ac_cv_func_finite" = xyes; then :
55395 cat >>confdefs.h <<_ACEOF
55396 #define HAVE_FINITE 1
55397 _ACEOF
55400 done
55402 else
55404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
55405 $as_echo_n "checking for _finite declaration... " >&6; }
55406 if test x${glibcxx_cv_func__finite_use+set} != xset; then
55407 if ${glibcxx_cv_func__finite_use+:} false; then :
55408 $as_echo_n "(cached) " >&6
55409 else
55412 ac_ext=cpp
55413 ac_cpp='$CXXCPP $CPPFLAGS'
55414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55419 /* end confdefs.h. */
55420 #include <math.h>
55421 #ifdef HAVE_IEEEFP_H
55422 #include <ieeefp.h>
55423 #endif
55426 main ()
55428 _finite(0);
55430 return 0;
55432 _ACEOF
55433 if ac_fn_cxx_try_compile "$LINENO"; then :
55434 glibcxx_cv_func__finite_use=yes
55435 else
55436 glibcxx_cv_func__finite_use=no
55438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55439 ac_ext=c
55440 ac_cpp='$CPP $CPPFLAGS'
55441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
55450 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
55452 if test x$glibcxx_cv_func__finite_use = x"yes"; then
55453 for ac_func in _finite
55454 do :
55455 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
55456 if test "x$ac_cv_func__finite" = xyes; then :
55457 cat >>confdefs.h <<_ACEOF
55458 #define HAVE__FINITE 1
55459 _ACEOF
55462 done
55471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
55472 $as_echo_n "checking for sincos declaration... " >&6; }
55473 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
55474 if ${glibcxx_cv_func_sincos_use+:} false; then :
55475 $as_echo_n "(cached) " >&6
55476 else
55479 ac_ext=cpp
55480 ac_cpp='$CXXCPP $CPPFLAGS'
55481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55486 /* end confdefs.h. */
55487 #include <math.h>
55489 main ()
55491 sincos(0, 0, 0);
55493 return 0;
55495 _ACEOF
55496 if ac_fn_cxx_try_compile "$LINENO"; then :
55497 glibcxx_cv_func_sincos_use=yes
55498 else
55499 glibcxx_cv_func_sincos_use=no
55501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55502 ac_ext=c
55503 ac_cpp='$CPP $CPPFLAGS'
55504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
55513 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
55515 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
55516 for ac_func in sincos
55517 do :
55518 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
55519 if test "x$ac_cv_func_sincos" = xyes; then :
55520 cat >>confdefs.h <<_ACEOF
55521 #define HAVE_SINCOS 1
55522 _ACEOF
55525 done
55527 else
55529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
55530 $as_echo_n "checking for _sincos declaration... " >&6; }
55531 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
55532 if ${glibcxx_cv_func__sincos_use+:} false; then :
55533 $as_echo_n "(cached) " >&6
55534 else
55537 ac_ext=cpp
55538 ac_cpp='$CXXCPP $CPPFLAGS'
55539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55544 /* end confdefs.h. */
55545 #include <math.h>
55547 main ()
55549 _sincos(0, 0, 0);
55551 return 0;
55553 _ACEOF
55554 if ac_fn_cxx_try_compile "$LINENO"; then :
55555 glibcxx_cv_func__sincos_use=yes
55556 else
55557 glibcxx_cv_func__sincos_use=no
55559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55560 ac_ext=c
55561 ac_cpp='$CPP $CPPFLAGS'
55562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
55571 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
55573 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
55574 for ac_func in _sincos
55575 do :
55576 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
55577 if test "x$ac_cv_func__sincos" = xyes; then :
55578 cat >>confdefs.h <<_ACEOF
55579 #define HAVE__SINCOS 1
55580 _ACEOF
55583 done
55592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
55593 $as_echo_n "checking for fpclass declaration... " >&6; }
55594 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
55595 if ${glibcxx_cv_func_fpclass_use+:} false; then :
55596 $as_echo_n "(cached) " >&6
55597 else
55600 ac_ext=cpp
55601 ac_cpp='$CXXCPP $CPPFLAGS'
55602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55607 /* end confdefs.h. */
55608 #include <math.h>
55609 #ifdef HAVE_IEEEFP_H
55610 #include <ieeefp.h>
55611 #endif
55614 main ()
55616 fpclass(0);
55618 return 0;
55620 _ACEOF
55621 if ac_fn_cxx_try_compile "$LINENO"; then :
55622 glibcxx_cv_func_fpclass_use=yes
55623 else
55624 glibcxx_cv_func_fpclass_use=no
55626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55627 ac_ext=c
55628 ac_cpp='$CPP $CPPFLAGS'
55629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
55638 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
55640 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55641 for ac_func in fpclass
55642 do :
55643 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
55644 if test "x$ac_cv_func_fpclass" = xyes; then :
55645 cat >>confdefs.h <<_ACEOF
55646 #define HAVE_FPCLASS 1
55647 _ACEOF
55650 done
55652 else
55654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
55655 $as_echo_n "checking for _fpclass declaration... " >&6; }
55656 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55657 if ${glibcxx_cv_func__fpclass_use+:} false; then :
55658 $as_echo_n "(cached) " >&6
55659 else
55662 ac_ext=cpp
55663 ac_cpp='$CXXCPP $CPPFLAGS'
55664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55669 /* end confdefs.h. */
55670 #include <math.h>
55671 #ifdef HAVE_IEEEFP_H
55672 #include <ieeefp.h>
55673 #endif
55676 main ()
55678 _fpclass(0);
55680 return 0;
55682 _ACEOF
55683 if ac_fn_cxx_try_compile "$LINENO"; then :
55684 glibcxx_cv_func__fpclass_use=yes
55685 else
55686 glibcxx_cv_func__fpclass_use=no
55688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55689 ac_ext=c
55690 ac_cpp='$CPP $CPPFLAGS'
55691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
55700 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
55702 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55703 for ac_func in _fpclass
55704 do :
55705 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
55706 if test "x$ac_cv_func__fpclass" = xyes; then :
55707 cat >>confdefs.h <<_ACEOF
55708 #define HAVE__FPCLASS 1
55709 _ACEOF
55712 done
55721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
55722 $as_echo_n "checking for qfpclass declaration... " >&6; }
55723 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55724 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
55725 $as_echo_n "(cached) " >&6
55726 else
55729 ac_ext=cpp
55730 ac_cpp='$CXXCPP $CPPFLAGS'
55731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55736 /* end confdefs.h. */
55737 #include <math.h>
55738 #ifdef HAVE_IEEEFP_H
55739 #include <ieeefp.h>
55740 #endif
55743 main ()
55745 qfpclass(0);
55747 return 0;
55749 _ACEOF
55750 if ac_fn_cxx_try_compile "$LINENO"; then :
55751 glibcxx_cv_func_qfpclass_use=yes
55752 else
55753 glibcxx_cv_func_qfpclass_use=no
55755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55756 ac_ext=c
55757 ac_cpp='$CPP $CPPFLAGS'
55758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
55767 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
55769 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
55770 for ac_func in qfpclass
55771 do :
55772 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
55773 if test "x$ac_cv_func_qfpclass" = xyes; then :
55774 cat >>confdefs.h <<_ACEOF
55775 #define HAVE_QFPCLASS 1
55776 _ACEOF
55779 done
55781 else
55783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
55784 $as_echo_n "checking for _qfpclass declaration... " >&6; }
55785 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
55786 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
55787 $as_echo_n "(cached) " >&6
55788 else
55791 ac_ext=cpp
55792 ac_cpp='$CXXCPP $CPPFLAGS'
55793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55798 /* end confdefs.h. */
55799 #include <math.h>
55800 #ifdef HAVE_IEEEFP_H
55801 #include <ieeefp.h>
55802 #endif
55805 main ()
55807 _qfpclass(0);
55809 return 0;
55811 _ACEOF
55812 if ac_fn_cxx_try_compile "$LINENO"; then :
55813 glibcxx_cv_func__qfpclass_use=yes
55814 else
55815 glibcxx_cv_func__qfpclass_use=no
55817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55818 ac_ext=c
55819 ac_cpp='$CPP $CPPFLAGS'
55820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
55829 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
55831 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
55832 for ac_func in _qfpclass
55833 do :
55834 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
55835 if test "x$ac_cv_func__qfpclass" = xyes; then :
55836 cat >>confdefs.h <<_ACEOF
55837 #define HAVE__QFPCLASS 1
55838 _ACEOF
55841 done
55850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
55851 $as_echo_n "checking for hypot declaration... " >&6; }
55852 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
55853 if ${glibcxx_cv_func_hypot_use+:} false; then :
55854 $as_echo_n "(cached) " >&6
55855 else
55858 ac_ext=cpp
55859 ac_cpp='$CXXCPP $CPPFLAGS'
55860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55865 /* end confdefs.h. */
55866 #include <math.h>
55868 main ()
55870 hypot(0, 0);
55872 return 0;
55874 _ACEOF
55875 if ac_fn_cxx_try_compile "$LINENO"; then :
55876 glibcxx_cv_func_hypot_use=yes
55877 else
55878 glibcxx_cv_func_hypot_use=no
55880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55881 ac_ext=c
55882 ac_cpp='$CPP $CPPFLAGS'
55883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
55892 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
55894 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
55895 for ac_func in hypot
55896 do :
55897 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
55898 if test "x$ac_cv_func_hypot" = xyes; then :
55899 cat >>confdefs.h <<_ACEOF
55900 #define HAVE_HYPOT 1
55901 _ACEOF
55904 done
55906 else
55908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
55909 $as_echo_n "checking for _hypot declaration... " >&6; }
55910 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
55911 if ${glibcxx_cv_func__hypot_use+:} false; then :
55912 $as_echo_n "(cached) " >&6
55913 else
55916 ac_ext=cpp
55917 ac_cpp='$CXXCPP $CPPFLAGS'
55918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55923 /* end confdefs.h. */
55924 #include <math.h>
55926 main ()
55928 _hypot(0, 0);
55930 return 0;
55932 _ACEOF
55933 if ac_fn_cxx_try_compile "$LINENO"; then :
55934 glibcxx_cv_func__hypot_use=yes
55935 else
55936 glibcxx_cv_func__hypot_use=no
55938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55939 ac_ext=c
55940 ac_cpp='$CPP $CPPFLAGS'
55941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
55950 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
55952 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
55953 for ac_func in _hypot
55954 do :
55955 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
55956 if test "x$ac_cv_func__hypot" = xyes; then :
55957 cat >>confdefs.h <<_ACEOF
55958 #define HAVE__HYPOT 1
55959 _ACEOF
55962 done
55971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
55972 $as_echo_n "checking for float trig functions... " >&6; }
55973 if ${glibcxx_cv_func_float_trig_use+:} false; then :
55974 $as_echo_n "(cached) " >&6
55975 else
55978 ac_ext=cpp
55979 ac_cpp='$CXXCPP $CPPFLAGS'
55980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55985 /* end confdefs.h. */
55986 #include <math.h>
55988 main ()
55990 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
55992 return 0;
55994 _ACEOF
55995 if ac_fn_cxx_try_compile "$LINENO"; then :
55996 glibcxx_cv_func_float_trig_use=yes
55997 else
55998 glibcxx_cv_func_float_trig_use=no
56000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56001 ac_ext=c
56002 ac_cpp='$CPP $CPPFLAGS'
56003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
56010 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
56011 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
56012 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
56013 do :
56014 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56015 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56016 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
56017 cat >>confdefs.h <<_ACEOF
56018 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56019 _ACEOF
56022 done
56024 else
56025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
56026 $as_echo_n "checking for _float trig functions... " >&6; }
56027 if ${glibcxx_cv_func__float_trig_use+:} false; then :
56028 $as_echo_n "(cached) " >&6
56029 else
56032 ac_ext=cpp
56033 ac_cpp='$CXXCPP $CPPFLAGS'
56034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56039 /* end confdefs.h. */
56040 #include <math.h>
56042 main ()
56044 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
56046 return 0;
56048 _ACEOF
56049 if ac_fn_cxx_try_compile "$LINENO"; then :
56050 glibcxx_cv_func__float_trig_use=yes
56051 else
56052 glibcxx_cv_func__float_trig_use=no
56054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56055 ac_ext=c
56056 ac_cpp='$CPP $CPPFLAGS'
56057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
56064 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
56065 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
56066 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
56067 do :
56068 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56069 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56070 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
56071 cat >>confdefs.h <<_ACEOF
56072 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56073 _ACEOF
56076 done
56085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
56086 $as_echo_n "checking for float round functions... " >&6; }
56087 if ${glibcxx_cv_func_float_round_use+:} false; then :
56088 $as_echo_n "(cached) " >&6
56089 else
56092 ac_ext=cpp
56093 ac_cpp='$CXXCPP $CPPFLAGS'
56094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56099 /* end confdefs.h. */
56100 #include <math.h>
56102 main ()
56104 ceilf (0); floorf (0);
56106 return 0;
56108 _ACEOF
56109 if ac_fn_cxx_try_compile "$LINENO"; then :
56110 glibcxx_cv_func_float_round_use=yes
56111 else
56112 glibcxx_cv_func_float_round_use=no
56114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56115 ac_ext=c
56116 ac_cpp='$CPP $CPPFLAGS'
56117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
56124 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
56125 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
56126 for ac_func in ceilf floorf
56127 do :
56128 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56129 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56130 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
56131 cat >>confdefs.h <<_ACEOF
56132 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56133 _ACEOF
56136 done
56138 else
56139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
56140 $as_echo_n "checking for _float round functions... " >&6; }
56141 if ${glibcxx_cv_func__float_round_use+:} false; then :
56142 $as_echo_n "(cached) " >&6
56143 else
56146 ac_ext=cpp
56147 ac_cpp='$CXXCPP $CPPFLAGS'
56148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56153 /* end confdefs.h. */
56154 #include <math.h>
56156 main ()
56158 _ceilf (0); _floorf (0);
56160 return 0;
56162 _ACEOF
56163 if ac_fn_cxx_try_compile "$LINENO"; then :
56164 glibcxx_cv_func__float_round_use=yes
56165 else
56166 glibcxx_cv_func__float_round_use=no
56168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56169 ac_ext=c
56170 ac_cpp='$CPP $CPPFLAGS'
56171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
56178 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
56179 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
56180 for ac_func in _ceilf _floorf
56181 do :
56182 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56183 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56184 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
56185 cat >>confdefs.h <<_ACEOF
56186 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56187 _ACEOF
56190 done
56200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
56201 $as_echo_n "checking for expf declaration... " >&6; }
56202 if test x${glibcxx_cv_func_expf_use+set} != xset; then
56203 if ${glibcxx_cv_func_expf_use+:} false; then :
56204 $as_echo_n "(cached) " >&6
56205 else
56208 ac_ext=cpp
56209 ac_cpp='$CXXCPP $CPPFLAGS'
56210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56215 /* end confdefs.h. */
56216 #include <math.h>
56217 #ifdef HAVE_IEEEFP_H
56218 #include <ieeefp.h>
56219 #endif
56222 main ()
56224 expf(0);
56226 return 0;
56228 _ACEOF
56229 if ac_fn_cxx_try_compile "$LINENO"; then :
56230 glibcxx_cv_func_expf_use=yes
56231 else
56232 glibcxx_cv_func_expf_use=no
56234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56235 ac_ext=c
56236 ac_cpp='$CPP $CPPFLAGS'
56237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
56246 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
56248 if test x$glibcxx_cv_func_expf_use = x"yes"; then
56249 for ac_func in expf
56250 do :
56251 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
56252 if test "x$ac_cv_func_expf" = xyes; then :
56253 cat >>confdefs.h <<_ACEOF
56254 #define HAVE_EXPF 1
56255 _ACEOF
56258 done
56260 else
56262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
56263 $as_echo_n "checking for _expf declaration... " >&6; }
56264 if test x${glibcxx_cv_func__expf_use+set} != xset; then
56265 if ${glibcxx_cv_func__expf_use+:} false; then :
56266 $as_echo_n "(cached) " >&6
56267 else
56270 ac_ext=cpp
56271 ac_cpp='$CXXCPP $CPPFLAGS'
56272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56277 /* end confdefs.h. */
56278 #include <math.h>
56279 #ifdef HAVE_IEEEFP_H
56280 #include <ieeefp.h>
56281 #endif
56284 main ()
56286 _expf(0);
56288 return 0;
56290 _ACEOF
56291 if ac_fn_cxx_try_compile "$LINENO"; then :
56292 glibcxx_cv_func__expf_use=yes
56293 else
56294 glibcxx_cv_func__expf_use=no
56296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56297 ac_ext=c
56298 ac_cpp='$CPP $CPPFLAGS'
56299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
56308 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
56310 if test x$glibcxx_cv_func__expf_use = x"yes"; then
56311 for ac_func in _expf
56312 do :
56313 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
56314 if test "x$ac_cv_func__expf" = xyes; then :
56315 cat >>confdefs.h <<_ACEOF
56316 #define HAVE__EXPF 1
56317 _ACEOF
56320 done
56329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
56330 $as_echo_n "checking for isnanf declaration... " >&6; }
56331 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
56332 if ${glibcxx_cv_func_isnanf_use+:} false; then :
56333 $as_echo_n "(cached) " >&6
56334 else
56337 ac_ext=cpp
56338 ac_cpp='$CXXCPP $CPPFLAGS'
56339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56344 /* end confdefs.h. */
56345 #include <math.h>
56346 #ifdef HAVE_IEEEFP_H
56347 #include <ieeefp.h>
56348 #endif
56351 main ()
56353 isnanf(0);
56355 return 0;
56357 _ACEOF
56358 if ac_fn_cxx_try_compile "$LINENO"; then :
56359 glibcxx_cv_func_isnanf_use=yes
56360 else
56361 glibcxx_cv_func_isnanf_use=no
56363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56364 ac_ext=c
56365 ac_cpp='$CPP $CPPFLAGS'
56366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
56375 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
56377 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
56378 for ac_func in isnanf
56379 do :
56380 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
56381 if test "x$ac_cv_func_isnanf" = xyes; then :
56382 cat >>confdefs.h <<_ACEOF
56383 #define HAVE_ISNANF 1
56384 _ACEOF
56387 done
56389 else
56391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
56392 $as_echo_n "checking for _isnanf declaration... " >&6; }
56393 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
56394 if ${glibcxx_cv_func__isnanf_use+:} false; then :
56395 $as_echo_n "(cached) " >&6
56396 else
56399 ac_ext=cpp
56400 ac_cpp='$CXXCPP $CPPFLAGS'
56401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56406 /* end confdefs.h. */
56407 #include <math.h>
56408 #ifdef HAVE_IEEEFP_H
56409 #include <ieeefp.h>
56410 #endif
56413 main ()
56415 _isnanf(0);
56417 return 0;
56419 _ACEOF
56420 if ac_fn_cxx_try_compile "$LINENO"; then :
56421 glibcxx_cv_func__isnanf_use=yes
56422 else
56423 glibcxx_cv_func__isnanf_use=no
56425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56426 ac_ext=c
56427 ac_cpp='$CPP $CPPFLAGS'
56428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
56437 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
56439 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
56440 for ac_func in _isnanf
56441 do :
56442 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
56443 if test "x$ac_cv_func__isnanf" = xyes; then :
56444 cat >>confdefs.h <<_ACEOF
56445 #define HAVE__ISNANF 1
56446 _ACEOF
56449 done
56458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
56459 $as_echo_n "checking for isinff declaration... " >&6; }
56460 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
56461 if ${glibcxx_cv_func_isinff_use+:} false; then :
56462 $as_echo_n "(cached) " >&6
56463 else
56466 ac_ext=cpp
56467 ac_cpp='$CXXCPP $CPPFLAGS'
56468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56473 /* end confdefs.h. */
56474 #include <math.h>
56475 #ifdef HAVE_IEEEFP_H
56476 #include <ieeefp.h>
56477 #endif
56480 main ()
56482 isinff(0);
56484 return 0;
56486 _ACEOF
56487 if ac_fn_cxx_try_compile "$LINENO"; then :
56488 glibcxx_cv_func_isinff_use=yes
56489 else
56490 glibcxx_cv_func_isinff_use=no
56492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56493 ac_ext=c
56494 ac_cpp='$CPP $CPPFLAGS'
56495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
56504 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
56506 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
56507 for ac_func in isinff
56508 do :
56509 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
56510 if test "x$ac_cv_func_isinff" = xyes; then :
56511 cat >>confdefs.h <<_ACEOF
56512 #define HAVE_ISINFF 1
56513 _ACEOF
56516 done
56518 else
56520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
56521 $as_echo_n "checking for _isinff declaration... " >&6; }
56522 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
56523 if ${glibcxx_cv_func__isinff_use+:} false; then :
56524 $as_echo_n "(cached) " >&6
56525 else
56528 ac_ext=cpp
56529 ac_cpp='$CXXCPP $CPPFLAGS'
56530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56535 /* end confdefs.h. */
56536 #include <math.h>
56537 #ifdef HAVE_IEEEFP_H
56538 #include <ieeefp.h>
56539 #endif
56542 main ()
56544 _isinff(0);
56546 return 0;
56548 _ACEOF
56549 if ac_fn_cxx_try_compile "$LINENO"; then :
56550 glibcxx_cv_func__isinff_use=yes
56551 else
56552 glibcxx_cv_func__isinff_use=no
56554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56555 ac_ext=c
56556 ac_cpp='$CPP $CPPFLAGS'
56557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
56566 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
56568 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
56569 for ac_func in _isinff
56570 do :
56571 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
56572 if test "x$ac_cv_func__isinff" = xyes; then :
56573 cat >>confdefs.h <<_ACEOF
56574 #define HAVE__ISINFF 1
56575 _ACEOF
56578 done
56587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
56588 $as_echo_n "checking for atan2f declaration... " >&6; }
56589 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
56590 if ${glibcxx_cv_func_atan2f_use+:} false; then :
56591 $as_echo_n "(cached) " >&6
56592 else
56595 ac_ext=cpp
56596 ac_cpp='$CXXCPP $CPPFLAGS'
56597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56602 /* end confdefs.h. */
56603 #include <math.h>
56605 main ()
56607 atan2f(0, 0);
56609 return 0;
56611 _ACEOF
56612 if ac_fn_cxx_try_compile "$LINENO"; then :
56613 glibcxx_cv_func_atan2f_use=yes
56614 else
56615 glibcxx_cv_func_atan2f_use=no
56617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56618 ac_ext=c
56619 ac_cpp='$CPP $CPPFLAGS'
56620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
56629 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
56631 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
56632 for ac_func in atan2f
56633 do :
56634 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
56635 if test "x$ac_cv_func_atan2f" = xyes; then :
56636 cat >>confdefs.h <<_ACEOF
56637 #define HAVE_ATAN2F 1
56638 _ACEOF
56641 done
56643 else
56645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
56646 $as_echo_n "checking for _atan2f declaration... " >&6; }
56647 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
56648 if ${glibcxx_cv_func__atan2f_use+:} false; then :
56649 $as_echo_n "(cached) " >&6
56650 else
56653 ac_ext=cpp
56654 ac_cpp='$CXXCPP $CPPFLAGS'
56655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56660 /* end confdefs.h. */
56661 #include <math.h>
56663 main ()
56665 _atan2f(0, 0);
56667 return 0;
56669 _ACEOF
56670 if ac_fn_cxx_try_compile "$LINENO"; then :
56671 glibcxx_cv_func__atan2f_use=yes
56672 else
56673 glibcxx_cv_func__atan2f_use=no
56675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56676 ac_ext=c
56677 ac_cpp='$CPP $CPPFLAGS'
56678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
56687 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
56689 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
56690 for ac_func in _atan2f
56691 do :
56692 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
56693 if test "x$ac_cv_func__atan2f" = xyes; then :
56694 cat >>confdefs.h <<_ACEOF
56695 #define HAVE__ATAN2F 1
56696 _ACEOF
56699 done
56708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
56709 $as_echo_n "checking for fabsf declaration... " >&6; }
56710 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
56711 if ${glibcxx_cv_func_fabsf_use+:} false; then :
56712 $as_echo_n "(cached) " >&6
56713 else
56716 ac_ext=cpp
56717 ac_cpp='$CXXCPP $CPPFLAGS'
56718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56723 /* end confdefs.h. */
56724 #include <math.h>
56725 #ifdef HAVE_IEEEFP_H
56726 #include <ieeefp.h>
56727 #endif
56730 main ()
56732 fabsf(0);
56734 return 0;
56736 _ACEOF
56737 if ac_fn_cxx_try_compile "$LINENO"; then :
56738 glibcxx_cv_func_fabsf_use=yes
56739 else
56740 glibcxx_cv_func_fabsf_use=no
56742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56743 ac_ext=c
56744 ac_cpp='$CPP $CPPFLAGS'
56745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
56754 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
56756 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
56757 for ac_func in fabsf
56758 do :
56759 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
56760 if test "x$ac_cv_func_fabsf" = xyes; then :
56761 cat >>confdefs.h <<_ACEOF
56762 #define HAVE_FABSF 1
56763 _ACEOF
56766 done
56768 else
56770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
56771 $as_echo_n "checking for _fabsf declaration... " >&6; }
56772 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
56773 if ${glibcxx_cv_func__fabsf_use+:} false; then :
56774 $as_echo_n "(cached) " >&6
56775 else
56778 ac_ext=cpp
56779 ac_cpp='$CXXCPP $CPPFLAGS'
56780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56785 /* end confdefs.h. */
56786 #include <math.h>
56787 #ifdef HAVE_IEEEFP_H
56788 #include <ieeefp.h>
56789 #endif
56792 main ()
56794 _fabsf(0);
56796 return 0;
56798 _ACEOF
56799 if ac_fn_cxx_try_compile "$LINENO"; then :
56800 glibcxx_cv_func__fabsf_use=yes
56801 else
56802 glibcxx_cv_func__fabsf_use=no
56804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56805 ac_ext=c
56806 ac_cpp='$CPP $CPPFLAGS'
56807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
56816 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
56818 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
56819 for ac_func in _fabsf
56820 do :
56821 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
56822 if test "x$ac_cv_func__fabsf" = xyes; then :
56823 cat >>confdefs.h <<_ACEOF
56824 #define HAVE__FABSF 1
56825 _ACEOF
56828 done
56837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
56838 $as_echo_n "checking for fmodf declaration... " >&6; }
56839 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
56840 if ${glibcxx_cv_func_fmodf_use+:} false; then :
56841 $as_echo_n "(cached) " >&6
56842 else
56845 ac_ext=cpp
56846 ac_cpp='$CXXCPP $CPPFLAGS'
56847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56852 /* end confdefs.h. */
56853 #include <math.h>
56855 main ()
56857 fmodf(0, 0);
56859 return 0;
56861 _ACEOF
56862 if ac_fn_cxx_try_compile "$LINENO"; then :
56863 glibcxx_cv_func_fmodf_use=yes
56864 else
56865 glibcxx_cv_func_fmodf_use=no
56867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56868 ac_ext=c
56869 ac_cpp='$CPP $CPPFLAGS'
56870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
56879 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
56881 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
56882 for ac_func in fmodf
56883 do :
56884 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
56885 if test "x$ac_cv_func_fmodf" = xyes; then :
56886 cat >>confdefs.h <<_ACEOF
56887 #define HAVE_FMODF 1
56888 _ACEOF
56891 done
56893 else
56895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
56896 $as_echo_n "checking for _fmodf declaration... " >&6; }
56897 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
56898 if ${glibcxx_cv_func__fmodf_use+:} false; then :
56899 $as_echo_n "(cached) " >&6
56900 else
56903 ac_ext=cpp
56904 ac_cpp='$CXXCPP $CPPFLAGS'
56905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56910 /* end confdefs.h. */
56911 #include <math.h>
56913 main ()
56915 _fmodf(0, 0);
56917 return 0;
56919 _ACEOF
56920 if ac_fn_cxx_try_compile "$LINENO"; then :
56921 glibcxx_cv_func__fmodf_use=yes
56922 else
56923 glibcxx_cv_func__fmodf_use=no
56925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56926 ac_ext=c
56927 ac_cpp='$CPP $CPPFLAGS'
56928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
56937 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
56939 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
56940 for ac_func in _fmodf
56941 do :
56942 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
56943 if test "x$ac_cv_func__fmodf" = xyes; then :
56944 cat >>confdefs.h <<_ACEOF
56945 #define HAVE__FMODF 1
56946 _ACEOF
56949 done
56958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
56959 $as_echo_n "checking for frexpf declaration... " >&6; }
56960 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
56961 if ${glibcxx_cv_func_frexpf_use+:} false; then :
56962 $as_echo_n "(cached) " >&6
56963 else
56966 ac_ext=cpp
56967 ac_cpp='$CXXCPP $CPPFLAGS'
56968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56973 /* end confdefs.h. */
56974 #include <math.h>
56976 main ()
56978 frexpf(0, 0);
56980 return 0;
56982 _ACEOF
56983 if ac_fn_cxx_try_compile "$LINENO"; then :
56984 glibcxx_cv_func_frexpf_use=yes
56985 else
56986 glibcxx_cv_func_frexpf_use=no
56988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56989 ac_ext=c
56990 ac_cpp='$CPP $CPPFLAGS'
56991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
57000 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
57002 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
57003 for ac_func in frexpf
57004 do :
57005 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
57006 if test "x$ac_cv_func_frexpf" = xyes; then :
57007 cat >>confdefs.h <<_ACEOF
57008 #define HAVE_FREXPF 1
57009 _ACEOF
57012 done
57014 else
57016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
57017 $as_echo_n "checking for _frexpf declaration... " >&6; }
57018 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
57019 if ${glibcxx_cv_func__frexpf_use+:} false; then :
57020 $as_echo_n "(cached) " >&6
57021 else
57024 ac_ext=cpp
57025 ac_cpp='$CXXCPP $CPPFLAGS'
57026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57031 /* end confdefs.h. */
57032 #include <math.h>
57034 main ()
57036 _frexpf(0, 0);
57038 return 0;
57040 _ACEOF
57041 if ac_fn_cxx_try_compile "$LINENO"; then :
57042 glibcxx_cv_func__frexpf_use=yes
57043 else
57044 glibcxx_cv_func__frexpf_use=no
57046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57047 ac_ext=c
57048 ac_cpp='$CPP $CPPFLAGS'
57049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
57058 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
57060 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
57061 for ac_func in _frexpf
57062 do :
57063 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
57064 if test "x$ac_cv_func__frexpf" = xyes; then :
57065 cat >>confdefs.h <<_ACEOF
57066 #define HAVE__FREXPF 1
57067 _ACEOF
57070 done
57079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
57080 $as_echo_n "checking for hypotf declaration... " >&6; }
57081 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
57082 if ${glibcxx_cv_func_hypotf_use+:} false; then :
57083 $as_echo_n "(cached) " >&6
57084 else
57087 ac_ext=cpp
57088 ac_cpp='$CXXCPP $CPPFLAGS'
57089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57094 /* end confdefs.h. */
57095 #include <math.h>
57097 main ()
57099 hypotf(0, 0);
57101 return 0;
57103 _ACEOF
57104 if ac_fn_cxx_try_compile "$LINENO"; then :
57105 glibcxx_cv_func_hypotf_use=yes
57106 else
57107 glibcxx_cv_func_hypotf_use=no
57109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57110 ac_ext=c
57111 ac_cpp='$CPP $CPPFLAGS'
57112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
57121 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
57123 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
57124 for ac_func in hypotf
57125 do :
57126 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
57127 if test "x$ac_cv_func_hypotf" = xyes; then :
57128 cat >>confdefs.h <<_ACEOF
57129 #define HAVE_HYPOTF 1
57130 _ACEOF
57133 done
57135 else
57137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
57138 $as_echo_n "checking for _hypotf declaration... " >&6; }
57139 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
57140 if ${glibcxx_cv_func__hypotf_use+:} false; then :
57141 $as_echo_n "(cached) " >&6
57142 else
57145 ac_ext=cpp
57146 ac_cpp='$CXXCPP $CPPFLAGS'
57147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57152 /* end confdefs.h. */
57153 #include <math.h>
57155 main ()
57157 _hypotf(0, 0);
57159 return 0;
57161 _ACEOF
57162 if ac_fn_cxx_try_compile "$LINENO"; then :
57163 glibcxx_cv_func__hypotf_use=yes
57164 else
57165 glibcxx_cv_func__hypotf_use=no
57167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57168 ac_ext=c
57169 ac_cpp='$CPP $CPPFLAGS'
57170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
57179 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
57181 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
57182 for ac_func in _hypotf
57183 do :
57184 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
57185 if test "x$ac_cv_func__hypotf" = xyes; then :
57186 cat >>confdefs.h <<_ACEOF
57187 #define HAVE__HYPOTF 1
57188 _ACEOF
57191 done
57200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
57201 $as_echo_n "checking for ldexpf declaration... " >&6; }
57202 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
57203 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
57204 $as_echo_n "(cached) " >&6
57205 else
57208 ac_ext=cpp
57209 ac_cpp='$CXXCPP $CPPFLAGS'
57210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57215 /* end confdefs.h. */
57216 #include <math.h>
57218 main ()
57220 ldexpf(0, 0);
57222 return 0;
57224 _ACEOF
57225 if ac_fn_cxx_try_compile "$LINENO"; then :
57226 glibcxx_cv_func_ldexpf_use=yes
57227 else
57228 glibcxx_cv_func_ldexpf_use=no
57230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57231 ac_ext=c
57232 ac_cpp='$CPP $CPPFLAGS'
57233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
57242 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
57244 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
57245 for ac_func in ldexpf
57246 do :
57247 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
57248 if test "x$ac_cv_func_ldexpf" = xyes; then :
57249 cat >>confdefs.h <<_ACEOF
57250 #define HAVE_LDEXPF 1
57251 _ACEOF
57254 done
57256 else
57258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
57259 $as_echo_n "checking for _ldexpf declaration... " >&6; }
57260 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
57261 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
57262 $as_echo_n "(cached) " >&6
57263 else
57266 ac_ext=cpp
57267 ac_cpp='$CXXCPP $CPPFLAGS'
57268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57273 /* end confdefs.h. */
57274 #include <math.h>
57276 main ()
57278 _ldexpf(0, 0);
57280 return 0;
57282 _ACEOF
57283 if ac_fn_cxx_try_compile "$LINENO"; then :
57284 glibcxx_cv_func__ldexpf_use=yes
57285 else
57286 glibcxx_cv_func__ldexpf_use=no
57288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57289 ac_ext=c
57290 ac_cpp='$CPP $CPPFLAGS'
57291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
57300 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
57302 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
57303 for ac_func in _ldexpf
57304 do :
57305 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
57306 if test "x$ac_cv_func__ldexpf" = xyes; then :
57307 cat >>confdefs.h <<_ACEOF
57308 #define HAVE__LDEXPF 1
57309 _ACEOF
57312 done
57321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
57322 $as_echo_n "checking for logf declaration... " >&6; }
57323 if test x${glibcxx_cv_func_logf_use+set} != xset; then
57324 if ${glibcxx_cv_func_logf_use+:} false; then :
57325 $as_echo_n "(cached) " >&6
57326 else
57329 ac_ext=cpp
57330 ac_cpp='$CXXCPP $CPPFLAGS'
57331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57336 /* end confdefs.h. */
57337 #include <math.h>
57338 #ifdef HAVE_IEEEFP_H
57339 #include <ieeefp.h>
57340 #endif
57343 main ()
57345 logf(0);
57347 return 0;
57349 _ACEOF
57350 if ac_fn_cxx_try_compile "$LINENO"; then :
57351 glibcxx_cv_func_logf_use=yes
57352 else
57353 glibcxx_cv_func_logf_use=no
57355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57356 ac_ext=c
57357 ac_cpp='$CPP $CPPFLAGS'
57358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
57367 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
57369 if test x$glibcxx_cv_func_logf_use = x"yes"; then
57370 for ac_func in logf
57371 do :
57372 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
57373 if test "x$ac_cv_func_logf" = xyes; then :
57374 cat >>confdefs.h <<_ACEOF
57375 #define HAVE_LOGF 1
57376 _ACEOF
57379 done
57381 else
57383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
57384 $as_echo_n "checking for _logf declaration... " >&6; }
57385 if test x${glibcxx_cv_func__logf_use+set} != xset; then
57386 if ${glibcxx_cv_func__logf_use+:} false; then :
57387 $as_echo_n "(cached) " >&6
57388 else
57391 ac_ext=cpp
57392 ac_cpp='$CXXCPP $CPPFLAGS'
57393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57398 /* end confdefs.h. */
57399 #include <math.h>
57400 #ifdef HAVE_IEEEFP_H
57401 #include <ieeefp.h>
57402 #endif
57405 main ()
57407 _logf(0);
57409 return 0;
57411 _ACEOF
57412 if ac_fn_cxx_try_compile "$LINENO"; then :
57413 glibcxx_cv_func__logf_use=yes
57414 else
57415 glibcxx_cv_func__logf_use=no
57417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57418 ac_ext=c
57419 ac_cpp='$CPP $CPPFLAGS'
57420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
57429 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
57431 if test x$glibcxx_cv_func__logf_use = x"yes"; then
57432 for ac_func in _logf
57433 do :
57434 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
57435 if test "x$ac_cv_func__logf" = xyes; then :
57436 cat >>confdefs.h <<_ACEOF
57437 #define HAVE__LOGF 1
57438 _ACEOF
57441 done
57450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
57451 $as_echo_n "checking for log10f declaration... " >&6; }
57452 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
57453 if ${glibcxx_cv_func_log10f_use+:} false; then :
57454 $as_echo_n "(cached) " >&6
57455 else
57458 ac_ext=cpp
57459 ac_cpp='$CXXCPP $CPPFLAGS'
57460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57465 /* end confdefs.h. */
57466 #include <math.h>
57467 #ifdef HAVE_IEEEFP_H
57468 #include <ieeefp.h>
57469 #endif
57472 main ()
57474 log10f(0);
57476 return 0;
57478 _ACEOF
57479 if ac_fn_cxx_try_compile "$LINENO"; then :
57480 glibcxx_cv_func_log10f_use=yes
57481 else
57482 glibcxx_cv_func_log10f_use=no
57484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57485 ac_ext=c
57486 ac_cpp='$CPP $CPPFLAGS'
57487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
57496 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
57498 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
57499 for ac_func in log10f
57500 do :
57501 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
57502 if test "x$ac_cv_func_log10f" = xyes; then :
57503 cat >>confdefs.h <<_ACEOF
57504 #define HAVE_LOG10F 1
57505 _ACEOF
57508 done
57510 else
57512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
57513 $as_echo_n "checking for _log10f declaration... " >&6; }
57514 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
57515 if ${glibcxx_cv_func__log10f_use+:} false; then :
57516 $as_echo_n "(cached) " >&6
57517 else
57520 ac_ext=cpp
57521 ac_cpp='$CXXCPP $CPPFLAGS'
57522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57527 /* end confdefs.h. */
57528 #include <math.h>
57529 #ifdef HAVE_IEEEFP_H
57530 #include <ieeefp.h>
57531 #endif
57534 main ()
57536 _log10f(0);
57538 return 0;
57540 _ACEOF
57541 if ac_fn_cxx_try_compile "$LINENO"; then :
57542 glibcxx_cv_func__log10f_use=yes
57543 else
57544 glibcxx_cv_func__log10f_use=no
57546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57547 ac_ext=c
57548 ac_cpp='$CPP $CPPFLAGS'
57549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
57558 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
57560 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
57561 for ac_func in _log10f
57562 do :
57563 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
57564 if test "x$ac_cv_func__log10f" = xyes; then :
57565 cat >>confdefs.h <<_ACEOF
57566 #define HAVE__LOG10F 1
57567 _ACEOF
57570 done
57579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
57580 $as_echo_n "checking for modff declaration... " >&6; }
57581 if test x${glibcxx_cv_func_modff_use+set} != xset; then
57582 if ${glibcxx_cv_func_modff_use+:} false; then :
57583 $as_echo_n "(cached) " >&6
57584 else
57587 ac_ext=cpp
57588 ac_cpp='$CXXCPP $CPPFLAGS'
57589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57594 /* end confdefs.h. */
57595 #include <math.h>
57597 main ()
57599 modff(0, 0);
57601 return 0;
57603 _ACEOF
57604 if ac_fn_cxx_try_compile "$LINENO"; then :
57605 glibcxx_cv_func_modff_use=yes
57606 else
57607 glibcxx_cv_func_modff_use=no
57609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57610 ac_ext=c
57611 ac_cpp='$CPP $CPPFLAGS'
57612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
57621 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
57623 if test x$glibcxx_cv_func_modff_use = x"yes"; then
57624 for ac_func in modff
57625 do :
57626 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
57627 if test "x$ac_cv_func_modff" = xyes; then :
57628 cat >>confdefs.h <<_ACEOF
57629 #define HAVE_MODFF 1
57630 _ACEOF
57633 done
57635 else
57637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
57638 $as_echo_n "checking for _modff declaration... " >&6; }
57639 if test x${glibcxx_cv_func__modff_use+set} != xset; then
57640 if ${glibcxx_cv_func__modff_use+:} false; then :
57641 $as_echo_n "(cached) " >&6
57642 else
57645 ac_ext=cpp
57646 ac_cpp='$CXXCPP $CPPFLAGS'
57647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57652 /* end confdefs.h. */
57653 #include <math.h>
57655 main ()
57657 _modff(0, 0);
57659 return 0;
57661 _ACEOF
57662 if ac_fn_cxx_try_compile "$LINENO"; then :
57663 glibcxx_cv_func__modff_use=yes
57664 else
57665 glibcxx_cv_func__modff_use=no
57667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57668 ac_ext=c
57669 ac_cpp='$CPP $CPPFLAGS'
57670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
57679 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
57681 if test x$glibcxx_cv_func__modff_use = x"yes"; then
57682 for ac_func in _modff
57683 do :
57684 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
57685 if test "x$ac_cv_func__modff" = xyes; then :
57686 cat >>confdefs.h <<_ACEOF
57687 #define HAVE__MODFF 1
57688 _ACEOF
57691 done
57700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
57701 $as_echo_n "checking for modf declaration... " >&6; }
57702 if test x${glibcxx_cv_func_modf_use+set} != xset; then
57703 if ${glibcxx_cv_func_modf_use+:} false; then :
57704 $as_echo_n "(cached) " >&6
57705 else
57708 ac_ext=cpp
57709 ac_cpp='$CXXCPP $CPPFLAGS'
57710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57715 /* end confdefs.h. */
57716 #include <math.h>
57718 main ()
57720 modf(0, 0);
57722 return 0;
57724 _ACEOF
57725 if ac_fn_cxx_try_compile "$LINENO"; then :
57726 glibcxx_cv_func_modf_use=yes
57727 else
57728 glibcxx_cv_func_modf_use=no
57730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57731 ac_ext=c
57732 ac_cpp='$CPP $CPPFLAGS'
57733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
57742 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
57744 if test x$glibcxx_cv_func_modf_use = x"yes"; then
57745 for ac_func in modf
57746 do :
57747 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
57748 if test "x$ac_cv_func_modf" = xyes; then :
57749 cat >>confdefs.h <<_ACEOF
57750 #define HAVE_MODF 1
57751 _ACEOF
57754 done
57756 else
57758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
57759 $as_echo_n "checking for _modf declaration... " >&6; }
57760 if test x${glibcxx_cv_func__modf_use+set} != xset; then
57761 if ${glibcxx_cv_func__modf_use+:} false; then :
57762 $as_echo_n "(cached) " >&6
57763 else
57766 ac_ext=cpp
57767 ac_cpp='$CXXCPP $CPPFLAGS'
57768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57773 /* end confdefs.h. */
57774 #include <math.h>
57776 main ()
57778 _modf(0, 0);
57780 return 0;
57782 _ACEOF
57783 if ac_fn_cxx_try_compile "$LINENO"; then :
57784 glibcxx_cv_func__modf_use=yes
57785 else
57786 glibcxx_cv_func__modf_use=no
57788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57789 ac_ext=c
57790 ac_cpp='$CPP $CPPFLAGS'
57791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
57800 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
57802 if test x$glibcxx_cv_func__modf_use = x"yes"; then
57803 for ac_func in _modf
57804 do :
57805 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
57806 if test "x$ac_cv_func__modf" = xyes; then :
57807 cat >>confdefs.h <<_ACEOF
57808 #define HAVE__MODF 1
57809 _ACEOF
57812 done
57821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
57822 $as_echo_n "checking for powf declaration... " >&6; }
57823 if test x${glibcxx_cv_func_powf_use+set} != xset; then
57824 if ${glibcxx_cv_func_powf_use+:} false; then :
57825 $as_echo_n "(cached) " >&6
57826 else
57829 ac_ext=cpp
57830 ac_cpp='$CXXCPP $CPPFLAGS'
57831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57836 /* end confdefs.h. */
57837 #include <math.h>
57839 main ()
57841 powf(0, 0);
57843 return 0;
57845 _ACEOF
57846 if ac_fn_cxx_try_compile "$LINENO"; then :
57847 glibcxx_cv_func_powf_use=yes
57848 else
57849 glibcxx_cv_func_powf_use=no
57851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57852 ac_ext=c
57853 ac_cpp='$CPP $CPPFLAGS'
57854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
57863 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
57865 if test x$glibcxx_cv_func_powf_use = x"yes"; then
57866 for ac_func in powf
57867 do :
57868 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
57869 if test "x$ac_cv_func_powf" = xyes; then :
57870 cat >>confdefs.h <<_ACEOF
57871 #define HAVE_POWF 1
57872 _ACEOF
57875 done
57877 else
57879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
57880 $as_echo_n "checking for _powf declaration... " >&6; }
57881 if test x${glibcxx_cv_func__powf_use+set} != xset; then
57882 if ${glibcxx_cv_func__powf_use+:} false; then :
57883 $as_echo_n "(cached) " >&6
57884 else
57887 ac_ext=cpp
57888 ac_cpp='$CXXCPP $CPPFLAGS'
57889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57894 /* end confdefs.h. */
57895 #include <math.h>
57897 main ()
57899 _powf(0, 0);
57901 return 0;
57903 _ACEOF
57904 if ac_fn_cxx_try_compile "$LINENO"; then :
57905 glibcxx_cv_func__powf_use=yes
57906 else
57907 glibcxx_cv_func__powf_use=no
57909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57910 ac_ext=c
57911 ac_cpp='$CPP $CPPFLAGS'
57912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
57921 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
57923 if test x$glibcxx_cv_func__powf_use = x"yes"; then
57924 for ac_func in _powf
57925 do :
57926 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
57927 if test "x$ac_cv_func__powf" = xyes; then :
57928 cat >>confdefs.h <<_ACEOF
57929 #define HAVE__POWF 1
57930 _ACEOF
57933 done
57942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
57943 $as_echo_n "checking for sqrtf declaration... " >&6; }
57944 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
57945 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
57946 $as_echo_n "(cached) " >&6
57947 else
57950 ac_ext=cpp
57951 ac_cpp='$CXXCPP $CPPFLAGS'
57952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57957 /* end confdefs.h. */
57958 #include <math.h>
57959 #ifdef HAVE_IEEEFP_H
57960 #include <ieeefp.h>
57961 #endif
57964 main ()
57966 sqrtf(0);
57968 return 0;
57970 _ACEOF
57971 if ac_fn_cxx_try_compile "$LINENO"; then :
57972 glibcxx_cv_func_sqrtf_use=yes
57973 else
57974 glibcxx_cv_func_sqrtf_use=no
57976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57977 ac_ext=c
57978 ac_cpp='$CPP $CPPFLAGS'
57979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
57988 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
57990 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
57991 for ac_func in sqrtf
57992 do :
57993 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
57994 if test "x$ac_cv_func_sqrtf" = xyes; then :
57995 cat >>confdefs.h <<_ACEOF
57996 #define HAVE_SQRTF 1
57997 _ACEOF
58000 done
58002 else
58004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
58005 $as_echo_n "checking for _sqrtf declaration... " >&6; }
58006 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
58007 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
58008 $as_echo_n "(cached) " >&6
58009 else
58012 ac_ext=cpp
58013 ac_cpp='$CXXCPP $CPPFLAGS'
58014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58019 /* end confdefs.h. */
58020 #include <math.h>
58021 #ifdef HAVE_IEEEFP_H
58022 #include <ieeefp.h>
58023 #endif
58026 main ()
58028 _sqrtf(0);
58030 return 0;
58032 _ACEOF
58033 if ac_fn_cxx_try_compile "$LINENO"; then :
58034 glibcxx_cv_func__sqrtf_use=yes
58035 else
58036 glibcxx_cv_func__sqrtf_use=no
58038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58039 ac_ext=c
58040 ac_cpp='$CPP $CPPFLAGS'
58041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
58050 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
58052 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
58053 for ac_func in _sqrtf
58054 do :
58055 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
58056 if test "x$ac_cv_func__sqrtf" = xyes; then :
58057 cat >>confdefs.h <<_ACEOF
58058 #define HAVE__SQRTF 1
58059 _ACEOF
58062 done
58071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
58072 $as_echo_n "checking for sincosf declaration... " >&6; }
58073 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
58074 if ${glibcxx_cv_func_sincosf_use+:} false; then :
58075 $as_echo_n "(cached) " >&6
58076 else
58079 ac_ext=cpp
58080 ac_cpp='$CXXCPP $CPPFLAGS'
58081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58086 /* end confdefs.h. */
58087 #include <math.h>
58089 main ()
58091 sincosf(0, 0, 0);
58093 return 0;
58095 _ACEOF
58096 if ac_fn_cxx_try_compile "$LINENO"; then :
58097 glibcxx_cv_func_sincosf_use=yes
58098 else
58099 glibcxx_cv_func_sincosf_use=no
58101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58102 ac_ext=c
58103 ac_cpp='$CPP $CPPFLAGS'
58104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
58113 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
58115 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
58116 for ac_func in sincosf
58117 do :
58118 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
58119 if test "x$ac_cv_func_sincosf" = xyes; then :
58120 cat >>confdefs.h <<_ACEOF
58121 #define HAVE_SINCOSF 1
58122 _ACEOF
58125 done
58127 else
58129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
58130 $as_echo_n "checking for _sincosf declaration... " >&6; }
58131 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
58132 if ${glibcxx_cv_func__sincosf_use+:} false; then :
58133 $as_echo_n "(cached) " >&6
58134 else
58137 ac_ext=cpp
58138 ac_cpp='$CXXCPP $CPPFLAGS'
58139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58144 /* end confdefs.h. */
58145 #include <math.h>
58147 main ()
58149 _sincosf(0, 0, 0);
58151 return 0;
58153 _ACEOF
58154 if ac_fn_cxx_try_compile "$LINENO"; then :
58155 glibcxx_cv_func__sincosf_use=yes
58156 else
58157 glibcxx_cv_func__sincosf_use=no
58159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58160 ac_ext=c
58161 ac_cpp='$CPP $CPPFLAGS'
58162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
58171 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
58173 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
58174 for ac_func in _sincosf
58175 do :
58176 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
58177 if test "x$ac_cv_func__sincosf" = xyes; then :
58178 cat >>confdefs.h <<_ACEOF
58179 #define HAVE__SINCOSF 1
58180 _ACEOF
58183 done
58192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
58193 $as_echo_n "checking for finitef declaration... " >&6; }
58194 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
58195 if ${glibcxx_cv_func_finitef_use+:} false; then :
58196 $as_echo_n "(cached) " >&6
58197 else
58200 ac_ext=cpp
58201 ac_cpp='$CXXCPP $CPPFLAGS'
58202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58207 /* end confdefs.h. */
58208 #include <math.h>
58209 #ifdef HAVE_IEEEFP_H
58210 #include <ieeefp.h>
58211 #endif
58214 main ()
58216 finitef(0);
58218 return 0;
58220 _ACEOF
58221 if ac_fn_cxx_try_compile "$LINENO"; then :
58222 glibcxx_cv_func_finitef_use=yes
58223 else
58224 glibcxx_cv_func_finitef_use=no
58226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58227 ac_ext=c
58228 ac_cpp='$CPP $CPPFLAGS'
58229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
58238 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
58240 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
58241 for ac_func in finitef
58242 do :
58243 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
58244 if test "x$ac_cv_func_finitef" = xyes; then :
58245 cat >>confdefs.h <<_ACEOF
58246 #define HAVE_FINITEF 1
58247 _ACEOF
58250 done
58252 else
58254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
58255 $as_echo_n "checking for _finitef declaration... " >&6; }
58256 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
58257 if ${glibcxx_cv_func__finitef_use+:} false; then :
58258 $as_echo_n "(cached) " >&6
58259 else
58262 ac_ext=cpp
58263 ac_cpp='$CXXCPP $CPPFLAGS'
58264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58269 /* end confdefs.h. */
58270 #include <math.h>
58271 #ifdef HAVE_IEEEFP_H
58272 #include <ieeefp.h>
58273 #endif
58276 main ()
58278 _finitef(0);
58280 return 0;
58282 _ACEOF
58283 if ac_fn_cxx_try_compile "$LINENO"; then :
58284 glibcxx_cv_func__finitef_use=yes
58285 else
58286 glibcxx_cv_func__finitef_use=no
58288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58289 ac_ext=c
58290 ac_cpp='$CPP $CPPFLAGS'
58291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
58300 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
58302 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
58303 for ac_func in _finitef
58304 do :
58305 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
58306 if test "x$ac_cv_func__finitef" = xyes; then :
58307 cat >>confdefs.h <<_ACEOF
58308 #define HAVE__FINITEF 1
58309 _ACEOF
58312 done
58321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
58322 $as_echo_n "checking for long double trig functions... " >&6; }
58323 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
58324 $as_echo_n "(cached) " >&6
58325 else
58328 ac_ext=cpp
58329 ac_cpp='$CXXCPP $CPPFLAGS'
58330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58335 /* end confdefs.h. */
58336 #include <math.h>
58338 main ()
58340 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
58342 return 0;
58344 _ACEOF
58345 if ac_fn_cxx_try_compile "$LINENO"; then :
58346 glibcxx_cv_func_long_double_trig_use=yes
58347 else
58348 glibcxx_cv_func_long_double_trig_use=no
58350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58351 ac_ext=c
58352 ac_cpp='$CPP $CPPFLAGS'
58353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
58360 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
58361 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
58362 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
58363 do :
58364 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58365 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58366 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58367 cat >>confdefs.h <<_ACEOF
58368 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58369 _ACEOF
58372 done
58374 else
58375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
58376 $as_echo_n "checking for _long double trig functions... " >&6; }
58377 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
58378 $as_echo_n "(cached) " >&6
58379 else
58382 ac_ext=cpp
58383 ac_cpp='$CXXCPP $CPPFLAGS'
58384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58389 /* end confdefs.h. */
58390 #include <math.h>
58392 main ()
58394 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
58396 return 0;
58398 _ACEOF
58399 if ac_fn_cxx_try_compile "$LINENO"; then :
58400 glibcxx_cv_func__long_double_trig_use=yes
58401 else
58402 glibcxx_cv_func__long_double_trig_use=no
58404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58405 ac_ext=c
58406 ac_cpp='$CPP $CPPFLAGS'
58407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
58414 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
58415 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
58416 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
58417 do :
58418 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58419 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58420 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58421 cat >>confdefs.h <<_ACEOF
58422 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58423 _ACEOF
58426 done
58435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
58436 $as_echo_n "checking for long double round functions... " >&6; }
58437 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
58438 $as_echo_n "(cached) " >&6
58439 else
58442 ac_ext=cpp
58443 ac_cpp='$CXXCPP $CPPFLAGS'
58444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58449 /* end confdefs.h. */
58450 #include <math.h>
58452 main ()
58454 ceill (0); floorl (0);
58456 return 0;
58458 _ACEOF
58459 if ac_fn_cxx_try_compile "$LINENO"; then :
58460 glibcxx_cv_func_long_double_round_use=yes
58461 else
58462 glibcxx_cv_func_long_double_round_use=no
58464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58465 ac_ext=c
58466 ac_cpp='$CPP $CPPFLAGS'
58467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
58474 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
58475 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
58476 for ac_func in ceill floorl
58477 do :
58478 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58479 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58480 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58481 cat >>confdefs.h <<_ACEOF
58482 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58483 _ACEOF
58486 done
58488 else
58489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
58490 $as_echo_n "checking for _long double round functions... " >&6; }
58491 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
58492 $as_echo_n "(cached) " >&6
58493 else
58496 ac_ext=cpp
58497 ac_cpp='$CXXCPP $CPPFLAGS'
58498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58503 /* end confdefs.h. */
58504 #include <math.h>
58506 main ()
58508 _ceill (0); _floorl (0);
58510 return 0;
58512 _ACEOF
58513 if ac_fn_cxx_try_compile "$LINENO"; then :
58514 glibcxx_cv_func__long_double_round_use=yes
58515 else
58516 glibcxx_cv_func__long_double_round_use=no
58518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58519 ac_ext=c
58520 ac_cpp='$CPP $CPPFLAGS'
58521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
58528 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
58529 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
58530 for ac_func in _ceill _floorl
58531 do :
58532 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58533 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58534 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58535 cat >>confdefs.h <<_ACEOF
58536 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58537 _ACEOF
58540 done
58550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
58551 $as_echo_n "checking for isnanl declaration... " >&6; }
58552 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
58553 if ${glibcxx_cv_func_isnanl_use+:} false; then :
58554 $as_echo_n "(cached) " >&6
58555 else
58558 ac_ext=cpp
58559 ac_cpp='$CXXCPP $CPPFLAGS'
58560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58565 /* end confdefs.h. */
58566 #include <math.h>
58567 #ifdef HAVE_IEEEFP_H
58568 #include <ieeefp.h>
58569 #endif
58572 main ()
58574 isnanl(0);
58576 return 0;
58578 _ACEOF
58579 if ac_fn_cxx_try_compile "$LINENO"; then :
58580 glibcxx_cv_func_isnanl_use=yes
58581 else
58582 glibcxx_cv_func_isnanl_use=no
58584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58585 ac_ext=c
58586 ac_cpp='$CPP $CPPFLAGS'
58587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
58596 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
58598 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
58599 for ac_func in isnanl
58600 do :
58601 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
58602 if test "x$ac_cv_func_isnanl" = xyes; then :
58603 cat >>confdefs.h <<_ACEOF
58604 #define HAVE_ISNANL 1
58605 _ACEOF
58608 done
58610 else
58612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
58613 $as_echo_n "checking for _isnanl declaration... " >&6; }
58614 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
58615 if ${glibcxx_cv_func__isnanl_use+:} false; then :
58616 $as_echo_n "(cached) " >&6
58617 else
58620 ac_ext=cpp
58621 ac_cpp='$CXXCPP $CPPFLAGS'
58622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58627 /* end confdefs.h. */
58628 #include <math.h>
58629 #ifdef HAVE_IEEEFP_H
58630 #include <ieeefp.h>
58631 #endif
58634 main ()
58636 _isnanl(0);
58638 return 0;
58640 _ACEOF
58641 if ac_fn_cxx_try_compile "$LINENO"; then :
58642 glibcxx_cv_func__isnanl_use=yes
58643 else
58644 glibcxx_cv_func__isnanl_use=no
58646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58647 ac_ext=c
58648 ac_cpp='$CPP $CPPFLAGS'
58649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
58658 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
58660 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
58661 for ac_func in _isnanl
58662 do :
58663 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
58664 if test "x$ac_cv_func__isnanl" = xyes; then :
58665 cat >>confdefs.h <<_ACEOF
58666 #define HAVE__ISNANL 1
58667 _ACEOF
58670 done
58679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
58680 $as_echo_n "checking for isinfl declaration... " >&6; }
58681 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
58682 if ${glibcxx_cv_func_isinfl_use+:} false; then :
58683 $as_echo_n "(cached) " >&6
58684 else
58687 ac_ext=cpp
58688 ac_cpp='$CXXCPP $CPPFLAGS'
58689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58694 /* end confdefs.h. */
58695 #include <math.h>
58696 #ifdef HAVE_IEEEFP_H
58697 #include <ieeefp.h>
58698 #endif
58701 main ()
58703 isinfl(0);
58705 return 0;
58707 _ACEOF
58708 if ac_fn_cxx_try_compile "$LINENO"; then :
58709 glibcxx_cv_func_isinfl_use=yes
58710 else
58711 glibcxx_cv_func_isinfl_use=no
58713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58714 ac_ext=c
58715 ac_cpp='$CPP $CPPFLAGS'
58716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
58725 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
58727 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
58728 for ac_func in isinfl
58729 do :
58730 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
58731 if test "x$ac_cv_func_isinfl" = xyes; then :
58732 cat >>confdefs.h <<_ACEOF
58733 #define HAVE_ISINFL 1
58734 _ACEOF
58737 done
58739 else
58741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
58742 $as_echo_n "checking for _isinfl declaration... " >&6; }
58743 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
58744 if ${glibcxx_cv_func__isinfl_use+:} false; then :
58745 $as_echo_n "(cached) " >&6
58746 else
58749 ac_ext=cpp
58750 ac_cpp='$CXXCPP $CPPFLAGS'
58751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58756 /* end confdefs.h. */
58757 #include <math.h>
58758 #ifdef HAVE_IEEEFP_H
58759 #include <ieeefp.h>
58760 #endif
58763 main ()
58765 _isinfl(0);
58767 return 0;
58769 _ACEOF
58770 if ac_fn_cxx_try_compile "$LINENO"; then :
58771 glibcxx_cv_func__isinfl_use=yes
58772 else
58773 glibcxx_cv_func__isinfl_use=no
58775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58776 ac_ext=c
58777 ac_cpp='$CPP $CPPFLAGS'
58778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
58787 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
58789 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
58790 for ac_func in _isinfl
58791 do :
58792 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
58793 if test "x$ac_cv_func__isinfl" = xyes; then :
58794 cat >>confdefs.h <<_ACEOF
58795 #define HAVE__ISINFL 1
58796 _ACEOF
58799 done
58808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
58809 $as_echo_n "checking for atan2l declaration... " >&6; }
58810 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
58811 if ${glibcxx_cv_func_atan2l_use+:} false; then :
58812 $as_echo_n "(cached) " >&6
58813 else
58816 ac_ext=cpp
58817 ac_cpp='$CXXCPP $CPPFLAGS'
58818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58823 /* end confdefs.h. */
58824 #include <math.h>
58826 main ()
58828 atan2l(0, 0);
58830 return 0;
58832 _ACEOF
58833 if ac_fn_cxx_try_compile "$LINENO"; then :
58834 glibcxx_cv_func_atan2l_use=yes
58835 else
58836 glibcxx_cv_func_atan2l_use=no
58838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58839 ac_ext=c
58840 ac_cpp='$CPP $CPPFLAGS'
58841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
58850 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
58852 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
58853 for ac_func in atan2l
58854 do :
58855 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
58856 if test "x$ac_cv_func_atan2l" = xyes; then :
58857 cat >>confdefs.h <<_ACEOF
58858 #define HAVE_ATAN2L 1
58859 _ACEOF
58862 done
58864 else
58866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
58867 $as_echo_n "checking for _atan2l declaration... " >&6; }
58868 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
58869 if ${glibcxx_cv_func__atan2l_use+:} false; then :
58870 $as_echo_n "(cached) " >&6
58871 else
58874 ac_ext=cpp
58875 ac_cpp='$CXXCPP $CPPFLAGS'
58876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58881 /* end confdefs.h. */
58882 #include <math.h>
58884 main ()
58886 _atan2l(0, 0);
58888 return 0;
58890 _ACEOF
58891 if ac_fn_cxx_try_compile "$LINENO"; then :
58892 glibcxx_cv_func__atan2l_use=yes
58893 else
58894 glibcxx_cv_func__atan2l_use=no
58896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58897 ac_ext=c
58898 ac_cpp='$CPP $CPPFLAGS'
58899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
58908 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
58910 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
58911 for ac_func in _atan2l
58912 do :
58913 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
58914 if test "x$ac_cv_func__atan2l" = xyes; then :
58915 cat >>confdefs.h <<_ACEOF
58916 #define HAVE__ATAN2L 1
58917 _ACEOF
58920 done
58929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
58930 $as_echo_n "checking for expl declaration... " >&6; }
58931 if test x${glibcxx_cv_func_expl_use+set} != xset; then
58932 if ${glibcxx_cv_func_expl_use+:} false; then :
58933 $as_echo_n "(cached) " >&6
58934 else
58937 ac_ext=cpp
58938 ac_cpp='$CXXCPP $CPPFLAGS'
58939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58944 /* end confdefs.h. */
58945 #include <math.h>
58946 #ifdef HAVE_IEEEFP_H
58947 #include <ieeefp.h>
58948 #endif
58951 main ()
58953 expl(0);
58955 return 0;
58957 _ACEOF
58958 if ac_fn_cxx_try_compile "$LINENO"; then :
58959 glibcxx_cv_func_expl_use=yes
58960 else
58961 glibcxx_cv_func_expl_use=no
58963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58964 ac_ext=c
58965 ac_cpp='$CPP $CPPFLAGS'
58966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
58975 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
58977 if test x$glibcxx_cv_func_expl_use = x"yes"; then
58978 for ac_func in expl
58979 do :
58980 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
58981 if test "x$ac_cv_func_expl" = xyes; then :
58982 cat >>confdefs.h <<_ACEOF
58983 #define HAVE_EXPL 1
58984 _ACEOF
58987 done
58989 else
58991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
58992 $as_echo_n "checking for _expl declaration... " >&6; }
58993 if test x${glibcxx_cv_func__expl_use+set} != xset; then
58994 if ${glibcxx_cv_func__expl_use+:} false; then :
58995 $as_echo_n "(cached) " >&6
58996 else
58999 ac_ext=cpp
59000 ac_cpp='$CXXCPP $CPPFLAGS'
59001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59006 /* end confdefs.h. */
59007 #include <math.h>
59008 #ifdef HAVE_IEEEFP_H
59009 #include <ieeefp.h>
59010 #endif
59013 main ()
59015 _expl(0);
59017 return 0;
59019 _ACEOF
59020 if ac_fn_cxx_try_compile "$LINENO"; then :
59021 glibcxx_cv_func__expl_use=yes
59022 else
59023 glibcxx_cv_func__expl_use=no
59025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59026 ac_ext=c
59027 ac_cpp='$CPP $CPPFLAGS'
59028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
59037 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
59039 if test x$glibcxx_cv_func__expl_use = x"yes"; then
59040 for ac_func in _expl
59041 do :
59042 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
59043 if test "x$ac_cv_func__expl" = xyes; then :
59044 cat >>confdefs.h <<_ACEOF
59045 #define HAVE__EXPL 1
59046 _ACEOF
59049 done
59058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
59059 $as_echo_n "checking for fabsl declaration... " >&6; }
59060 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
59061 if ${glibcxx_cv_func_fabsl_use+:} false; then :
59062 $as_echo_n "(cached) " >&6
59063 else
59066 ac_ext=cpp
59067 ac_cpp='$CXXCPP $CPPFLAGS'
59068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59073 /* end confdefs.h. */
59074 #include <math.h>
59075 #ifdef HAVE_IEEEFP_H
59076 #include <ieeefp.h>
59077 #endif
59080 main ()
59082 fabsl(0);
59084 return 0;
59086 _ACEOF
59087 if ac_fn_cxx_try_compile "$LINENO"; then :
59088 glibcxx_cv_func_fabsl_use=yes
59089 else
59090 glibcxx_cv_func_fabsl_use=no
59092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59093 ac_ext=c
59094 ac_cpp='$CPP $CPPFLAGS'
59095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
59104 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
59106 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
59107 for ac_func in fabsl
59108 do :
59109 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
59110 if test "x$ac_cv_func_fabsl" = xyes; then :
59111 cat >>confdefs.h <<_ACEOF
59112 #define HAVE_FABSL 1
59113 _ACEOF
59116 done
59118 else
59120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
59121 $as_echo_n "checking for _fabsl declaration... " >&6; }
59122 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
59123 if ${glibcxx_cv_func__fabsl_use+:} false; then :
59124 $as_echo_n "(cached) " >&6
59125 else
59128 ac_ext=cpp
59129 ac_cpp='$CXXCPP $CPPFLAGS'
59130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59135 /* end confdefs.h. */
59136 #include <math.h>
59137 #ifdef HAVE_IEEEFP_H
59138 #include <ieeefp.h>
59139 #endif
59142 main ()
59144 _fabsl(0);
59146 return 0;
59148 _ACEOF
59149 if ac_fn_cxx_try_compile "$LINENO"; then :
59150 glibcxx_cv_func__fabsl_use=yes
59151 else
59152 glibcxx_cv_func__fabsl_use=no
59154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59155 ac_ext=c
59156 ac_cpp='$CPP $CPPFLAGS'
59157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
59166 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
59168 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
59169 for ac_func in _fabsl
59170 do :
59171 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
59172 if test "x$ac_cv_func__fabsl" = xyes; then :
59173 cat >>confdefs.h <<_ACEOF
59174 #define HAVE__FABSL 1
59175 _ACEOF
59178 done
59187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
59188 $as_echo_n "checking for fmodl declaration... " >&6; }
59189 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
59190 if ${glibcxx_cv_func_fmodl_use+:} false; then :
59191 $as_echo_n "(cached) " >&6
59192 else
59195 ac_ext=cpp
59196 ac_cpp='$CXXCPP $CPPFLAGS'
59197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59202 /* end confdefs.h. */
59203 #include <math.h>
59205 main ()
59207 fmodl(0, 0);
59209 return 0;
59211 _ACEOF
59212 if ac_fn_cxx_try_compile "$LINENO"; then :
59213 glibcxx_cv_func_fmodl_use=yes
59214 else
59215 glibcxx_cv_func_fmodl_use=no
59217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59218 ac_ext=c
59219 ac_cpp='$CPP $CPPFLAGS'
59220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
59229 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
59231 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
59232 for ac_func in fmodl
59233 do :
59234 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
59235 if test "x$ac_cv_func_fmodl" = xyes; then :
59236 cat >>confdefs.h <<_ACEOF
59237 #define HAVE_FMODL 1
59238 _ACEOF
59241 done
59243 else
59245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
59246 $as_echo_n "checking for _fmodl declaration... " >&6; }
59247 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
59248 if ${glibcxx_cv_func__fmodl_use+:} false; then :
59249 $as_echo_n "(cached) " >&6
59250 else
59253 ac_ext=cpp
59254 ac_cpp='$CXXCPP $CPPFLAGS'
59255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59260 /* end confdefs.h. */
59261 #include <math.h>
59263 main ()
59265 _fmodl(0, 0);
59267 return 0;
59269 _ACEOF
59270 if ac_fn_cxx_try_compile "$LINENO"; then :
59271 glibcxx_cv_func__fmodl_use=yes
59272 else
59273 glibcxx_cv_func__fmodl_use=no
59275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59276 ac_ext=c
59277 ac_cpp='$CPP $CPPFLAGS'
59278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
59287 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
59289 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
59290 for ac_func in _fmodl
59291 do :
59292 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
59293 if test "x$ac_cv_func__fmodl" = xyes; then :
59294 cat >>confdefs.h <<_ACEOF
59295 #define HAVE__FMODL 1
59296 _ACEOF
59299 done
59308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
59309 $as_echo_n "checking for frexpl declaration... " >&6; }
59310 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
59311 if ${glibcxx_cv_func_frexpl_use+:} false; then :
59312 $as_echo_n "(cached) " >&6
59313 else
59316 ac_ext=cpp
59317 ac_cpp='$CXXCPP $CPPFLAGS'
59318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59323 /* end confdefs.h. */
59324 #include <math.h>
59326 main ()
59328 frexpl(0, 0);
59330 return 0;
59332 _ACEOF
59333 if ac_fn_cxx_try_compile "$LINENO"; then :
59334 glibcxx_cv_func_frexpl_use=yes
59335 else
59336 glibcxx_cv_func_frexpl_use=no
59338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59339 ac_ext=c
59340 ac_cpp='$CPP $CPPFLAGS'
59341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
59350 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
59352 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
59353 for ac_func in frexpl
59354 do :
59355 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
59356 if test "x$ac_cv_func_frexpl" = xyes; then :
59357 cat >>confdefs.h <<_ACEOF
59358 #define HAVE_FREXPL 1
59359 _ACEOF
59362 done
59364 else
59366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
59367 $as_echo_n "checking for _frexpl declaration... " >&6; }
59368 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
59369 if ${glibcxx_cv_func__frexpl_use+:} false; then :
59370 $as_echo_n "(cached) " >&6
59371 else
59374 ac_ext=cpp
59375 ac_cpp='$CXXCPP $CPPFLAGS'
59376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59381 /* end confdefs.h. */
59382 #include <math.h>
59384 main ()
59386 _frexpl(0, 0);
59388 return 0;
59390 _ACEOF
59391 if ac_fn_cxx_try_compile "$LINENO"; then :
59392 glibcxx_cv_func__frexpl_use=yes
59393 else
59394 glibcxx_cv_func__frexpl_use=no
59396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59397 ac_ext=c
59398 ac_cpp='$CPP $CPPFLAGS'
59399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
59408 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
59410 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
59411 for ac_func in _frexpl
59412 do :
59413 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
59414 if test "x$ac_cv_func__frexpl" = xyes; then :
59415 cat >>confdefs.h <<_ACEOF
59416 #define HAVE__FREXPL 1
59417 _ACEOF
59420 done
59429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
59430 $as_echo_n "checking for hypotl declaration... " >&6; }
59431 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
59432 if ${glibcxx_cv_func_hypotl_use+:} false; then :
59433 $as_echo_n "(cached) " >&6
59434 else
59437 ac_ext=cpp
59438 ac_cpp='$CXXCPP $CPPFLAGS'
59439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59444 /* end confdefs.h. */
59445 #include <math.h>
59447 main ()
59449 hypotl(0, 0);
59451 return 0;
59453 _ACEOF
59454 if ac_fn_cxx_try_compile "$LINENO"; then :
59455 glibcxx_cv_func_hypotl_use=yes
59456 else
59457 glibcxx_cv_func_hypotl_use=no
59459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59460 ac_ext=c
59461 ac_cpp='$CPP $CPPFLAGS'
59462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
59471 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
59473 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
59474 for ac_func in hypotl
59475 do :
59476 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
59477 if test "x$ac_cv_func_hypotl" = xyes; then :
59478 cat >>confdefs.h <<_ACEOF
59479 #define HAVE_HYPOTL 1
59480 _ACEOF
59483 done
59485 else
59487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
59488 $as_echo_n "checking for _hypotl declaration... " >&6; }
59489 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
59490 if ${glibcxx_cv_func__hypotl_use+:} false; then :
59491 $as_echo_n "(cached) " >&6
59492 else
59495 ac_ext=cpp
59496 ac_cpp='$CXXCPP $CPPFLAGS'
59497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59502 /* end confdefs.h. */
59503 #include <math.h>
59505 main ()
59507 _hypotl(0, 0);
59509 return 0;
59511 _ACEOF
59512 if ac_fn_cxx_try_compile "$LINENO"; then :
59513 glibcxx_cv_func__hypotl_use=yes
59514 else
59515 glibcxx_cv_func__hypotl_use=no
59517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59518 ac_ext=c
59519 ac_cpp='$CPP $CPPFLAGS'
59520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
59529 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
59531 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
59532 for ac_func in _hypotl
59533 do :
59534 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
59535 if test "x$ac_cv_func__hypotl" = xyes; then :
59536 cat >>confdefs.h <<_ACEOF
59537 #define HAVE__HYPOTL 1
59538 _ACEOF
59541 done
59550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
59551 $as_echo_n "checking for ldexpl declaration... " >&6; }
59552 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
59553 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
59554 $as_echo_n "(cached) " >&6
59555 else
59558 ac_ext=cpp
59559 ac_cpp='$CXXCPP $CPPFLAGS'
59560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59565 /* end confdefs.h. */
59566 #include <math.h>
59568 main ()
59570 ldexpl(0, 0);
59572 return 0;
59574 _ACEOF
59575 if ac_fn_cxx_try_compile "$LINENO"; then :
59576 glibcxx_cv_func_ldexpl_use=yes
59577 else
59578 glibcxx_cv_func_ldexpl_use=no
59580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59581 ac_ext=c
59582 ac_cpp='$CPP $CPPFLAGS'
59583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
59592 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
59594 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
59595 for ac_func in ldexpl
59596 do :
59597 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
59598 if test "x$ac_cv_func_ldexpl" = xyes; then :
59599 cat >>confdefs.h <<_ACEOF
59600 #define HAVE_LDEXPL 1
59601 _ACEOF
59604 done
59606 else
59608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
59609 $as_echo_n "checking for _ldexpl declaration... " >&6; }
59610 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
59611 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
59612 $as_echo_n "(cached) " >&6
59613 else
59616 ac_ext=cpp
59617 ac_cpp='$CXXCPP $CPPFLAGS'
59618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59623 /* end confdefs.h. */
59624 #include <math.h>
59626 main ()
59628 _ldexpl(0, 0);
59630 return 0;
59632 _ACEOF
59633 if ac_fn_cxx_try_compile "$LINENO"; then :
59634 glibcxx_cv_func__ldexpl_use=yes
59635 else
59636 glibcxx_cv_func__ldexpl_use=no
59638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59639 ac_ext=c
59640 ac_cpp='$CPP $CPPFLAGS'
59641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
59650 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
59652 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
59653 for ac_func in _ldexpl
59654 do :
59655 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
59656 if test "x$ac_cv_func__ldexpl" = xyes; then :
59657 cat >>confdefs.h <<_ACEOF
59658 #define HAVE__LDEXPL 1
59659 _ACEOF
59662 done
59671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
59672 $as_echo_n "checking for logl declaration... " >&6; }
59673 if test x${glibcxx_cv_func_logl_use+set} != xset; then
59674 if ${glibcxx_cv_func_logl_use+:} false; then :
59675 $as_echo_n "(cached) " >&6
59676 else
59679 ac_ext=cpp
59680 ac_cpp='$CXXCPP $CPPFLAGS'
59681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59686 /* end confdefs.h. */
59687 #include <math.h>
59688 #ifdef HAVE_IEEEFP_H
59689 #include <ieeefp.h>
59690 #endif
59693 main ()
59695 logl(0);
59697 return 0;
59699 _ACEOF
59700 if ac_fn_cxx_try_compile "$LINENO"; then :
59701 glibcxx_cv_func_logl_use=yes
59702 else
59703 glibcxx_cv_func_logl_use=no
59705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59706 ac_ext=c
59707 ac_cpp='$CPP $CPPFLAGS'
59708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
59717 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
59719 if test x$glibcxx_cv_func_logl_use = x"yes"; then
59720 for ac_func in logl
59721 do :
59722 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
59723 if test "x$ac_cv_func_logl" = xyes; then :
59724 cat >>confdefs.h <<_ACEOF
59725 #define HAVE_LOGL 1
59726 _ACEOF
59729 done
59731 else
59733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
59734 $as_echo_n "checking for _logl declaration... " >&6; }
59735 if test x${glibcxx_cv_func__logl_use+set} != xset; then
59736 if ${glibcxx_cv_func__logl_use+:} false; then :
59737 $as_echo_n "(cached) " >&6
59738 else
59741 ac_ext=cpp
59742 ac_cpp='$CXXCPP $CPPFLAGS'
59743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59748 /* end confdefs.h. */
59749 #include <math.h>
59750 #ifdef HAVE_IEEEFP_H
59751 #include <ieeefp.h>
59752 #endif
59755 main ()
59757 _logl(0);
59759 return 0;
59761 _ACEOF
59762 if ac_fn_cxx_try_compile "$LINENO"; then :
59763 glibcxx_cv_func__logl_use=yes
59764 else
59765 glibcxx_cv_func__logl_use=no
59767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59768 ac_ext=c
59769 ac_cpp='$CPP $CPPFLAGS'
59770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
59779 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
59781 if test x$glibcxx_cv_func__logl_use = x"yes"; then
59782 for ac_func in _logl
59783 do :
59784 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
59785 if test "x$ac_cv_func__logl" = xyes; then :
59786 cat >>confdefs.h <<_ACEOF
59787 #define HAVE__LOGL 1
59788 _ACEOF
59791 done
59800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
59801 $as_echo_n "checking for log10l declaration... " >&6; }
59802 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
59803 if ${glibcxx_cv_func_log10l_use+:} false; then :
59804 $as_echo_n "(cached) " >&6
59805 else
59808 ac_ext=cpp
59809 ac_cpp='$CXXCPP $CPPFLAGS'
59810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59815 /* end confdefs.h. */
59816 #include <math.h>
59817 #ifdef HAVE_IEEEFP_H
59818 #include <ieeefp.h>
59819 #endif
59822 main ()
59824 log10l(0);
59826 return 0;
59828 _ACEOF
59829 if ac_fn_cxx_try_compile "$LINENO"; then :
59830 glibcxx_cv_func_log10l_use=yes
59831 else
59832 glibcxx_cv_func_log10l_use=no
59834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59835 ac_ext=c
59836 ac_cpp='$CPP $CPPFLAGS'
59837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
59846 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
59848 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
59849 for ac_func in log10l
59850 do :
59851 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
59852 if test "x$ac_cv_func_log10l" = xyes; then :
59853 cat >>confdefs.h <<_ACEOF
59854 #define HAVE_LOG10L 1
59855 _ACEOF
59858 done
59860 else
59862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
59863 $as_echo_n "checking for _log10l declaration... " >&6; }
59864 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
59865 if ${glibcxx_cv_func__log10l_use+:} false; then :
59866 $as_echo_n "(cached) " >&6
59867 else
59870 ac_ext=cpp
59871 ac_cpp='$CXXCPP $CPPFLAGS'
59872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59877 /* end confdefs.h. */
59878 #include <math.h>
59879 #ifdef HAVE_IEEEFP_H
59880 #include <ieeefp.h>
59881 #endif
59884 main ()
59886 _log10l(0);
59888 return 0;
59890 _ACEOF
59891 if ac_fn_cxx_try_compile "$LINENO"; then :
59892 glibcxx_cv_func__log10l_use=yes
59893 else
59894 glibcxx_cv_func__log10l_use=no
59896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59897 ac_ext=c
59898 ac_cpp='$CPP $CPPFLAGS'
59899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
59908 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
59910 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
59911 for ac_func in _log10l
59912 do :
59913 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
59914 if test "x$ac_cv_func__log10l" = xyes; then :
59915 cat >>confdefs.h <<_ACEOF
59916 #define HAVE__LOG10L 1
59917 _ACEOF
59920 done
59929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
59930 $as_echo_n "checking for modfl declaration... " >&6; }
59931 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
59932 if ${glibcxx_cv_func_modfl_use+:} false; then :
59933 $as_echo_n "(cached) " >&6
59934 else
59937 ac_ext=cpp
59938 ac_cpp='$CXXCPP $CPPFLAGS'
59939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59944 /* end confdefs.h. */
59945 #include <math.h>
59947 main ()
59949 modfl(0, 0);
59951 return 0;
59953 _ACEOF
59954 if ac_fn_cxx_try_compile "$LINENO"; then :
59955 glibcxx_cv_func_modfl_use=yes
59956 else
59957 glibcxx_cv_func_modfl_use=no
59959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59960 ac_ext=c
59961 ac_cpp='$CPP $CPPFLAGS'
59962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
59971 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
59973 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
59974 for ac_func in modfl
59975 do :
59976 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
59977 if test "x$ac_cv_func_modfl" = xyes; then :
59978 cat >>confdefs.h <<_ACEOF
59979 #define HAVE_MODFL 1
59980 _ACEOF
59983 done
59985 else
59987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
59988 $as_echo_n "checking for _modfl declaration... " >&6; }
59989 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
59990 if ${glibcxx_cv_func__modfl_use+:} false; then :
59991 $as_echo_n "(cached) " >&6
59992 else
59995 ac_ext=cpp
59996 ac_cpp='$CXXCPP $CPPFLAGS'
59997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60002 /* end confdefs.h. */
60003 #include <math.h>
60005 main ()
60007 _modfl(0, 0);
60009 return 0;
60011 _ACEOF
60012 if ac_fn_cxx_try_compile "$LINENO"; then :
60013 glibcxx_cv_func__modfl_use=yes
60014 else
60015 glibcxx_cv_func__modfl_use=no
60017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60018 ac_ext=c
60019 ac_cpp='$CPP $CPPFLAGS'
60020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
60029 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
60031 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
60032 for ac_func in _modfl
60033 do :
60034 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
60035 if test "x$ac_cv_func__modfl" = xyes; then :
60036 cat >>confdefs.h <<_ACEOF
60037 #define HAVE__MODFL 1
60038 _ACEOF
60041 done
60050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
60051 $as_echo_n "checking for powl declaration... " >&6; }
60052 if test x${glibcxx_cv_func_powl_use+set} != xset; then
60053 if ${glibcxx_cv_func_powl_use+:} false; then :
60054 $as_echo_n "(cached) " >&6
60055 else
60058 ac_ext=cpp
60059 ac_cpp='$CXXCPP $CPPFLAGS'
60060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60065 /* end confdefs.h. */
60066 #include <math.h>
60068 main ()
60070 powl(0, 0);
60072 return 0;
60074 _ACEOF
60075 if ac_fn_cxx_try_compile "$LINENO"; then :
60076 glibcxx_cv_func_powl_use=yes
60077 else
60078 glibcxx_cv_func_powl_use=no
60080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60081 ac_ext=c
60082 ac_cpp='$CPP $CPPFLAGS'
60083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
60092 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
60094 if test x$glibcxx_cv_func_powl_use = x"yes"; then
60095 for ac_func in powl
60096 do :
60097 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
60098 if test "x$ac_cv_func_powl" = xyes; then :
60099 cat >>confdefs.h <<_ACEOF
60100 #define HAVE_POWL 1
60101 _ACEOF
60104 done
60106 else
60108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
60109 $as_echo_n "checking for _powl declaration... " >&6; }
60110 if test x${glibcxx_cv_func__powl_use+set} != xset; then
60111 if ${glibcxx_cv_func__powl_use+:} false; then :
60112 $as_echo_n "(cached) " >&6
60113 else
60116 ac_ext=cpp
60117 ac_cpp='$CXXCPP $CPPFLAGS'
60118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60123 /* end confdefs.h. */
60124 #include <math.h>
60126 main ()
60128 _powl(0, 0);
60130 return 0;
60132 _ACEOF
60133 if ac_fn_cxx_try_compile "$LINENO"; then :
60134 glibcxx_cv_func__powl_use=yes
60135 else
60136 glibcxx_cv_func__powl_use=no
60138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60139 ac_ext=c
60140 ac_cpp='$CPP $CPPFLAGS'
60141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
60150 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
60152 if test x$glibcxx_cv_func__powl_use = x"yes"; then
60153 for ac_func in _powl
60154 do :
60155 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
60156 if test "x$ac_cv_func__powl" = xyes; then :
60157 cat >>confdefs.h <<_ACEOF
60158 #define HAVE__POWL 1
60159 _ACEOF
60162 done
60171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
60172 $as_echo_n "checking for sqrtl declaration... " >&6; }
60173 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
60174 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
60175 $as_echo_n "(cached) " >&6
60176 else
60179 ac_ext=cpp
60180 ac_cpp='$CXXCPP $CPPFLAGS'
60181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60186 /* end confdefs.h. */
60187 #include <math.h>
60188 #ifdef HAVE_IEEEFP_H
60189 #include <ieeefp.h>
60190 #endif
60193 main ()
60195 sqrtl(0);
60197 return 0;
60199 _ACEOF
60200 if ac_fn_cxx_try_compile "$LINENO"; then :
60201 glibcxx_cv_func_sqrtl_use=yes
60202 else
60203 glibcxx_cv_func_sqrtl_use=no
60205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60206 ac_ext=c
60207 ac_cpp='$CPP $CPPFLAGS'
60208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
60217 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
60219 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
60220 for ac_func in sqrtl
60221 do :
60222 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
60223 if test "x$ac_cv_func_sqrtl" = xyes; then :
60224 cat >>confdefs.h <<_ACEOF
60225 #define HAVE_SQRTL 1
60226 _ACEOF
60229 done
60231 else
60233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
60234 $as_echo_n "checking for _sqrtl declaration... " >&6; }
60235 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
60236 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
60237 $as_echo_n "(cached) " >&6
60238 else
60241 ac_ext=cpp
60242 ac_cpp='$CXXCPP $CPPFLAGS'
60243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60248 /* end confdefs.h. */
60249 #include <math.h>
60250 #ifdef HAVE_IEEEFP_H
60251 #include <ieeefp.h>
60252 #endif
60255 main ()
60257 _sqrtl(0);
60259 return 0;
60261 _ACEOF
60262 if ac_fn_cxx_try_compile "$LINENO"; then :
60263 glibcxx_cv_func__sqrtl_use=yes
60264 else
60265 glibcxx_cv_func__sqrtl_use=no
60267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60268 ac_ext=c
60269 ac_cpp='$CPP $CPPFLAGS'
60270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
60279 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
60281 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
60282 for ac_func in _sqrtl
60283 do :
60284 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
60285 if test "x$ac_cv_func__sqrtl" = xyes; then :
60286 cat >>confdefs.h <<_ACEOF
60287 #define HAVE__SQRTL 1
60288 _ACEOF
60291 done
60300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
60301 $as_echo_n "checking for sincosl declaration... " >&6; }
60302 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
60303 if ${glibcxx_cv_func_sincosl_use+:} false; then :
60304 $as_echo_n "(cached) " >&6
60305 else
60308 ac_ext=cpp
60309 ac_cpp='$CXXCPP $CPPFLAGS'
60310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60315 /* end confdefs.h. */
60316 #include <math.h>
60318 main ()
60320 sincosl(0, 0, 0);
60322 return 0;
60324 _ACEOF
60325 if ac_fn_cxx_try_compile "$LINENO"; then :
60326 glibcxx_cv_func_sincosl_use=yes
60327 else
60328 glibcxx_cv_func_sincosl_use=no
60330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60331 ac_ext=c
60332 ac_cpp='$CPP $CPPFLAGS'
60333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
60342 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
60344 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
60345 for ac_func in sincosl
60346 do :
60347 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
60348 if test "x$ac_cv_func_sincosl" = xyes; then :
60349 cat >>confdefs.h <<_ACEOF
60350 #define HAVE_SINCOSL 1
60351 _ACEOF
60354 done
60356 else
60358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
60359 $as_echo_n "checking for _sincosl declaration... " >&6; }
60360 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
60361 if ${glibcxx_cv_func__sincosl_use+:} false; then :
60362 $as_echo_n "(cached) " >&6
60363 else
60366 ac_ext=cpp
60367 ac_cpp='$CXXCPP $CPPFLAGS'
60368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60373 /* end confdefs.h. */
60374 #include <math.h>
60376 main ()
60378 _sincosl(0, 0, 0);
60380 return 0;
60382 _ACEOF
60383 if ac_fn_cxx_try_compile "$LINENO"; then :
60384 glibcxx_cv_func__sincosl_use=yes
60385 else
60386 glibcxx_cv_func__sincosl_use=no
60388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60389 ac_ext=c
60390 ac_cpp='$CPP $CPPFLAGS'
60391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
60400 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
60402 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
60403 for ac_func in _sincosl
60404 do :
60405 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
60406 if test "x$ac_cv_func__sincosl" = xyes; then :
60407 cat >>confdefs.h <<_ACEOF
60408 #define HAVE__SINCOSL 1
60409 _ACEOF
60412 done
60421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
60422 $as_echo_n "checking for finitel declaration... " >&6; }
60423 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
60424 if ${glibcxx_cv_func_finitel_use+:} false; then :
60425 $as_echo_n "(cached) " >&6
60426 else
60429 ac_ext=cpp
60430 ac_cpp='$CXXCPP $CPPFLAGS'
60431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60436 /* end confdefs.h. */
60437 #include <math.h>
60438 #ifdef HAVE_IEEEFP_H
60439 #include <ieeefp.h>
60440 #endif
60443 main ()
60445 finitel(0);
60447 return 0;
60449 _ACEOF
60450 if ac_fn_cxx_try_compile "$LINENO"; then :
60451 glibcxx_cv_func_finitel_use=yes
60452 else
60453 glibcxx_cv_func_finitel_use=no
60455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60456 ac_ext=c
60457 ac_cpp='$CPP $CPPFLAGS'
60458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
60467 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
60469 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
60470 for ac_func in finitel
60471 do :
60472 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
60473 if test "x$ac_cv_func_finitel" = xyes; then :
60474 cat >>confdefs.h <<_ACEOF
60475 #define HAVE_FINITEL 1
60476 _ACEOF
60479 done
60481 else
60483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
60484 $as_echo_n "checking for _finitel declaration... " >&6; }
60485 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
60486 if ${glibcxx_cv_func__finitel_use+:} false; then :
60487 $as_echo_n "(cached) " >&6
60488 else
60491 ac_ext=cpp
60492 ac_cpp='$CXXCPP $CPPFLAGS'
60493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60498 /* end confdefs.h. */
60499 #include <math.h>
60500 #ifdef HAVE_IEEEFP_H
60501 #include <ieeefp.h>
60502 #endif
60505 main ()
60507 _finitel(0);
60509 return 0;
60511 _ACEOF
60512 if ac_fn_cxx_try_compile "$LINENO"; then :
60513 glibcxx_cv_func__finitel_use=yes
60514 else
60515 glibcxx_cv_func__finitel_use=no
60517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60518 ac_ext=c
60519 ac_cpp='$CPP $CPPFLAGS'
60520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
60529 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
60531 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
60532 for ac_func in _finitel
60533 do :
60534 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
60535 if test "x$ac_cv_func__finitel" = xyes; then :
60536 cat >>confdefs.h <<_ACEOF
60537 #define HAVE__FINITEL 1
60538 _ACEOF
60541 done
60549 LIBS="$ac_save_LIBS"
60550 CXXFLAGS="$ac_save_CXXFLAGS"
60553 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60554 ac_save_CXXFLAGS="$CXXFLAGS"
60555 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
60559 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
60560 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
60561 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
60562 $as_echo_n "(cached) " >&6
60563 else
60566 ac_ext=cpp
60567 ac_cpp='$CXXCPP $CPPFLAGS'
60568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60573 /* end confdefs.h. */
60574 #include <stdlib.h>
60576 main ()
60578 at_quick_exit(0);
60580 return 0;
60582 _ACEOF
60583 if ac_fn_cxx_try_compile "$LINENO"; then :
60584 glibcxx_cv_func_at_quick_exit_use=yes
60585 else
60586 glibcxx_cv_func_at_quick_exit_use=no
60588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60589 ac_ext=c
60590 ac_cpp='$CPP $CPPFLAGS'
60591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
60600 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
60601 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
60602 for ac_func in at_quick_exit
60603 do :
60604 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
60605 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
60606 cat >>confdefs.h <<_ACEOF
60607 #define HAVE_AT_QUICK_EXIT 1
60608 _ACEOF
60611 done
60616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
60617 $as_echo_n "checking for quick_exit declaration... " >&6; }
60618 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
60619 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
60620 $as_echo_n "(cached) " >&6
60621 else
60624 ac_ext=cpp
60625 ac_cpp='$CXXCPP $CPPFLAGS'
60626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60631 /* end confdefs.h. */
60632 #include <stdlib.h>
60634 main ()
60636 quick_exit(0);
60638 return 0;
60640 _ACEOF
60641 if ac_fn_cxx_try_compile "$LINENO"; then :
60642 glibcxx_cv_func_quick_exit_use=yes
60643 else
60644 glibcxx_cv_func_quick_exit_use=no
60646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60647 ac_ext=c
60648 ac_cpp='$CPP $CPPFLAGS'
60649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
60658 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
60659 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
60660 for ac_func in quick_exit
60661 do :
60662 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
60663 if test "x$ac_cv_func_quick_exit" = xyes; then :
60664 cat >>confdefs.h <<_ACEOF
60665 #define HAVE_QUICK_EXIT 1
60666 _ACEOF
60669 done
60674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
60675 $as_echo_n "checking for strtold declaration... " >&6; }
60676 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
60677 if ${glibcxx_cv_func_strtold_use+:} false; then :
60678 $as_echo_n "(cached) " >&6
60679 else
60682 ac_ext=cpp
60683 ac_cpp='$CXXCPP $CPPFLAGS'
60684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60689 /* end confdefs.h. */
60690 #include <stdlib.h>
60692 main ()
60694 strtold(0, 0);
60696 return 0;
60698 _ACEOF
60699 if ac_fn_cxx_try_compile "$LINENO"; then :
60700 glibcxx_cv_func_strtold_use=yes
60701 else
60702 glibcxx_cv_func_strtold_use=no
60704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60705 ac_ext=c
60706 ac_cpp='$CPP $CPPFLAGS'
60707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
60716 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
60717 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
60718 for ac_func in strtold
60719 do :
60720 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
60721 if test "x$ac_cv_func_strtold" = xyes; then :
60722 cat >>confdefs.h <<_ACEOF
60723 #define HAVE_STRTOLD 1
60724 _ACEOF
60727 done
60734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
60735 $as_echo_n "checking for strtof declaration... " >&6; }
60736 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
60737 if ${glibcxx_cv_func_strtof_use+:} false; then :
60738 $as_echo_n "(cached) " >&6
60739 else
60742 ac_ext=cpp
60743 ac_cpp='$CXXCPP $CPPFLAGS'
60744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60749 /* end confdefs.h. */
60750 #include <stdlib.h>
60752 main ()
60754 strtof(0, 0);
60756 return 0;
60758 _ACEOF
60759 if ac_fn_cxx_try_compile "$LINENO"; then :
60760 glibcxx_cv_func_strtof_use=yes
60761 else
60762 glibcxx_cv_func_strtof_use=no
60764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60765 ac_ext=c
60766 ac_cpp='$CPP $CPPFLAGS'
60767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
60776 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
60777 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
60778 for ac_func in strtof
60779 do :
60780 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
60781 if test "x$ac_cv_func_strtof" = xyes; then :
60782 cat >>confdefs.h <<_ACEOF
60783 #define HAVE_STRTOF 1
60784 _ACEOF
60787 done
60794 CXXFLAGS="$ac_save_CXXFLAGS"
60796 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60797 do :
60798 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60799 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60800 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60801 cat >>confdefs.h <<_ACEOF
60802 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60803 _ACEOF
60806 done
60808 for ac_func in _wfopen
60809 do :
60810 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
60811 if test "x$ac_cv_func__wfopen" = xyes; then :
60812 cat >>confdefs.h <<_ACEOF
60813 #define HAVE__WFOPEN 1
60814 _ACEOF
60817 done
60820 *-netbsd* | *-openbsd*)
60821 SECTION_FLAGS='-ffunction-sections -fdata-sections'
60824 # If we're not using GNU ld, then there's no point in even trying these
60825 # tests. Check for that first. We should have already tested for gld
60826 # by now (in libtool), but require it now just to be safe...
60827 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60828 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60832 # The name set by libtool depends on the version of libtool. Shame on us
60833 # for depending on an impl detail, but c'est la vie. Older versions used
60834 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60835 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60836 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60837 # set (hence we're using an older libtool), then set it.
60838 if test x${with_gnu_ld+set} != xset; then
60839 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60840 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60841 with_gnu_ld=no
60842 else
60843 with_gnu_ld=$ac_cv_prog_gnu_ld
60847 # Start by getting the version number. I think the libtool test already
60848 # does some of this, but throws away the result.
60849 glibcxx_ld_is_gold=no
60850 if test x"$with_gnu_ld" = x"yes"; then
60851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60852 $as_echo_n "checking for ld version... " >&6; }
60854 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60855 glibcxx_ld_is_gold=yes
60857 ldver=`$LD --version 2>/dev/null |
60858 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60860 glibcxx_gnu_ld_version=`echo $ldver | \
60861 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60863 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60866 # Set --gc-sections.
60867 glibcxx_have_gc_sections=no
60868 if test "$glibcxx_ld_is_gold" = "yes"; then
60869 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60870 glibcxx_have_gc_sections=yes
60872 else
60873 glibcxx_gcsections_min_ld=21602
60874 if test x"$with_gnu_ld" = x"yes" &&
60875 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60876 glibcxx_have_gc_sections=yes
60879 if test "$glibcxx_have_gc_sections" = "yes"; then
60880 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60881 # NB: This flag only works reliably after 2.16.1. Configure tests
60882 # for this are difficult, so hard wire a value that should work.
60884 ac_test_CFLAGS="${CFLAGS+set}"
60885 ac_save_CFLAGS="$CFLAGS"
60886 CFLAGS='-Wl,--gc-sections'
60888 # Check for -Wl,--gc-sections
60889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60890 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60891 if test x$gcc_no_link = xyes; then
60892 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60895 /* end confdefs.h. */
60896 int one(void) { return 1; }
60897 int two(void) { return 2; }
60900 main ()
60902 two();
60904 return 0;
60906 _ACEOF
60907 if ac_fn_c_try_link "$LINENO"; then :
60908 ac_gcsections=yes
60909 else
60910 ac_gcsections=no
60912 rm -f core conftest.err conftest.$ac_objext \
60913 conftest$ac_exeext conftest.$ac_ext
60914 if test "$ac_gcsections" = "yes"; then
60915 rm -f conftest.c
60916 touch conftest.c
60917 if $CC -c conftest.c; then
60918 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60919 grep "Warning: gc-sections option ignored" > /dev/null; then
60920 ac_gcsections=no
60923 rm -f conftest.c conftest.o conftest
60925 if test "$ac_gcsections" = "yes"; then
60926 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60929 $as_echo "$ac_gcsections" >&6; }
60931 if test "$ac_test_CFLAGS" = set; then
60932 CFLAGS="$ac_save_CFLAGS"
60933 else
60934 # this is the suspicious part
60935 CFLAGS=''
60939 # Set -z,relro.
60940 # Note this is only for shared objects.
60941 ac_ld_relro=no
60942 if test x"$with_gnu_ld" = x"yes"; then
60943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60944 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60945 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60946 if test -n "$cxx_z_relo"; then
60947 OPT_LDFLAGS="-Wl,-z,relro"
60948 ac_ld_relro=yes
60950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60951 $as_echo "$ac_ld_relro" >&6; }
60954 # Set linker optimization flags.
60955 if test x"$with_gnu_ld" = x"yes"; then
60956 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60962 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
60964 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
60966 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
60968 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
60970 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
60972 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
60974 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
60976 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
60978 if test x"long_double_math_on_this_cpu" = x"yes"; then
60979 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
60981 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
60983 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
60986 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60987 do :
60988 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60989 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60990 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60991 cat >>confdefs.h <<_ACEOF
60992 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60993 _ACEOF
60996 done
60998 for ac_func in timespec_get
60999 do :
61000 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
61001 if test "x$ac_cv_func_timespec_get" = xyes; then :
61002 cat >>confdefs.h <<_ACEOF
61003 #define HAVE_TIMESPEC_GET 1
61004 _ACEOF
61007 done
61009 for ac_func in sockatmark
61010 do :
61011 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
61012 if test "x$ac_cv_func_sockatmark" = xyes; then :
61013 cat >>confdefs.h <<_ACEOF
61014 #define HAVE_SOCKATMARK 1
61015 _ACEOF
61018 done
61021 *-qnx6.1* | *-qnx6.2*)
61022 SECTION_FLAGS='-ffunction-sections -fdata-sections'
61025 # If we're not using GNU ld, then there's no point in even trying these
61026 # tests. Check for that first. We should have already tested for gld
61027 # by now (in libtool), but require it now just to be safe...
61028 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
61029 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
61033 # The name set by libtool depends on the version of libtool. Shame on us
61034 # for depending on an impl detail, but c'est la vie. Older versions used
61035 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
61036 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
61037 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
61038 # set (hence we're using an older libtool), then set it.
61039 if test x${with_gnu_ld+set} != xset; then
61040 if test x${ac_cv_prog_gnu_ld+set} != xset; then
61041 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
61042 with_gnu_ld=no
61043 else
61044 with_gnu_ld=$ac_cv_prog_gnu_ld
61048 # Start by getting the version number. I think the libtool test already
61049 # does some of this, but throws away the result.
61050 glibcxx_ld_is_gold=no
61051 if test x"$with_gnu_ld" = x"yes"; then
61052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
61053 $as_echo_n "checking for ld version... " >&6; }
61055 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
61056 glibcxx_ld_is_gold=yes
61058 ldver=`$LD --version 2>/dev/null |
61059 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
61061 glibcxx_gnu_ld_version=`echo $ldver | \
61062 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
61063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
61064 $as_echo "$glibcxx_gnu_ld_version" >&6; }
61067 # Set --gc-sections.
61068 glibcxx_have_gc_sections=no
61069 if test "$glibcxx_ld_is_gold" = "yes"; then
61070 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
61071 glibcxx_have_gc_sections=yes
61073 else
61074 glibcxx_gcsections_min_ld=21602
61075 if test x"$with_gnu_ld" = x"yes" &&
61076 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
61077 glibcxx_have_gc_sections=yes
61080 if test "$glibcxx_have_gc_sections" = "yes"; then
61081 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
61082 # NB: This flag only works reliably after 2.16.1. Configure tests
61083 # for this are difficult, so hard wire a value that should work.
61085 ac_test_CFLAGS="${CFLAGS+set}"
61086 ac_save_CFLAGS="$CFLAGS"
61087 CFLAGS='-Wl,--gc-sections'
61089 # Check for -Wl,--gc-sections
61090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
61091 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
61092 if test x$gcc_no_link = xyes; then
61093 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
61095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61096 /* end confdefs.h. */
61097 int one(void) { return 1; }
61098 int two(void) { return 2; }
61101 main ()
61103 two();
61105 return 0;
61107 _ACEOF
61108 if ac_fn_c_try_link "$LINENO"; then :
61109 ac_gcsections=yes
61110 else
61111 ac_gcsections=no
61113 rm -f core conftest.err conftest.$ac_objext \
61114 conftest$ac_exeext conftest.$ac_ext
61115 if test "$ac_gcsections" = "yes"; then
61116 rm -f conftest.c
61117 touch conftest.c
61118 if $CC -c conftest.c; then
61119 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
61120 grep "Warning: gc-sections option ignored" > /dev/null; then
61121 ac_gcsections=no
61124 rm -f conftest.c conftest.o conftest
61126 if test "$ac_gcsections" = "yes"; then
61127 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
61129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
61130 $as_echo "$ac_gcsections" >&6; }
61132 if test "$ac_test_CFLAGS" = set; then
61133 CFLAGS="$ac_save_CFLAGS"
61134 else
61135 # this is the suspicious part
61136 CFLAGS=''
61140 # Set -z,relro.
61141 # Note this is only for shared objects.
61142 ac_ld_relro=no
61143 if test x"$with_gnu_ld" = x"yes"; then
61144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
61145 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
61146 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
61147 if test -n "$cxx_z_relo"; then
61148 OPT_LDFLAGS="-Wl,-z,relro"
61149 ac_ld_relro=yes
61151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
61152 $as_echo "$ac_ld_relro" >&6; }
61155 # Set linker optimization flags.
61156 if test x"$with_gnu_ld" = x"yes"; then
61157 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
61163 $as_echo "#define HAVE_COSF 1" >>confdefs.h
61165 $as_echo "#define HAVE_COSL 1" >>confdefs.h
61167 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
61169 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
61171 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
61173 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
61175 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
61177 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
61179 $as_echo "#define HAVE_SINF 1" >>confdefs.h
61181 $as_echo "#define HAVE_SINL 1" >>confdefs.h
61183 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
61185 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
61188 *-rtems*)
61190 # All these tests are for C++; save the language and the compiler flags.
61191 # The CXXFLAGS thing is suspicious, but based on similar bits previously
61192 # found in GLIBCXX_CONFIGURE.
61194 ac_ext=cpp
61195 ac_cpp='$CXXCPP $CPPFLAGS'
61196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61200 ac_test_CXXFLAGS="${CXXFLAGS+set}"
61201 ac_save_CXXFLAGS="$CXXFLAGS"
61203 # Check for -ffunction-sections -fdata-sections
61204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
61205 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
61206 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
61207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61208 /* end confdefs.h. */
61209 int foo; void bar() { };
61211 main ()
61215 return 0;
61217 _ACEOF
61218 if ac_fn_cxx_try_compile "$LINENO"; then :
61219 ac_fdsections=yes
61220 else
61221 ac_fdsections=no
61223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61224 if test "$ac_test_CXXFLAGS" = set; then
61225 CXXFLAGS="$ac_save_CXXFLAGS"
61226 else
61227 # this is the suspicious part
61228 CXXFLAGS=''
61230 if test x"$ac_fdsections" = x"yes"; then
61231 SECTION_FLAGS='-ffunction-sections -fdata-sections'
61233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
61234 $as_echo "$ac_fdsections" >&6; }
61236 ac_ext=c
61237 ac_cpp='$CPP $CPPFLAGS'
61238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61245 # If we're not using GNU ld, then there's no point in even trying these
61246 # tests. Check for that first. We should have already tested for gld
61247 # by now (in libtool), but require it now just to be safe...
61248 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
61249 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
61253 # The name set by libtool depends on the version of libtool. Shame on us
61254 # for depending on an impl detail, but c'est la vie. Older versions used
61255 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
61256 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
61257 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
61258 # set (hence we're using an older libtool), then set it.
61259 if test x${with_gnu_ld+set} != xset; then
61260 if test x${ac_cv_prog_gnu_ld+set} != xset; then
61261 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
61262 with_gnu_ld=no
61263 else
61264 with_gnu_ld=$ac_cv_prog_gnu_ld
61268 # Start by getting the version number. I think the libtool test already
61269 # does some of this, but throws away the result.
61270 glibcxx_ld_is_gold=no
61271 if test x"$with_gnu_ld" = x"yes"; then
61272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
61273 $as_echo_n "checking for ld version... " >&6; }
61275 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
61276 glibcxx_ld_is_gold=yes
61278 ldver=`$LD --version 2>/dev/null |
61279 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
61281 glibcxx_gnu_ld_version=`echo $ldver | \
61282 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
61283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
61284 $as_echo "$glibcxx_gnu_ld_version" >&6; }
61287 # Set --gc-sections.
61288 glibcxx_have_gc_sections=no
61289 if test "$glibcxx_ld_is_gold" = "yes"; then
61290 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
61291 glibcxx_have_gc_sections=yes
61293 else
61294 glibcxx_gcsections_min_ld=21602
61295 if test x"$with_gnu_ld" = x"yes" &&
61296 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
61297 glibcxx_have_gc_sections=yes
61300 if test "$glibcxx_have_gc_sections" = "yes"; then
61301 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
61302 # NB: This flag only works reliably after 2.16.1. Configure tests
61303 # for this are difficult, so hard wire a value that should work.
61305 ac_test_CFLAGS="${CFLAGS+set}"
61306 ac_save_CFLAGS="$CFLAGS"
61307 CFLAGS='-Wl,--gc-sections'
61309 # Check for -Wl,--gc-sections
61310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
61311 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
61312 if test x$gcc_no_link = xyes; then
61313 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
61315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61316 /* end confdefs.h. */
61317 int one(void) { return 1; }
61318 int two(void) { return 2; }
61321 main ()
61323 two();
61325 return 0;
61327 _ACEOF
61328 if ac_fn_c_try_link "$LINENO"; then :
61329 ac_gcsections=yes
61330 else
61331 ac_gcsections=no
61333 rm -f core conftest.err conftest.$ac_objext \
61334 conftest$ac_exeext conftest.$ac_ext
61335 if test "$ac_gcsections" = "yes"; then
61336 rm -f conftest.c
61337 touch conftest.c
61338 if $CC -c conftest.c; then
61339 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
61340 grep "Warning: gc-sections option ignored" > /dev/null; then
61341 ac_gcsections=no
61344 rm -f conftest.c conftest.o conftest
61346 if test "$ac_gcsections" = "yes"; then
61347 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
61349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
61350 $as_echo "$ac_gcsections" >&6; }
61352 if test "$ac_test_CFLAGS" = set; then
61353 CFLAGS="$ac_save_CFLAGS"
61354 else
61355 # this is the suspicious part
61356 CFLAGS=''
61360 # Set -z,relro.
61361 # Note this is only for shared objects.
61362 ac_ld_relro=no
61363 if test x"$with_gnu_ld" = x"yes"; then
61364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
61365 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
61366 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
61367 if test -n "$cxx_z_relo"; then
61368 OPT_LDFLAGS="-Wl,-z,relro"
61369 ac_ld_relro=yes
61371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
61372 $as_echo "$ac_ld_relro" >&6; }
61375 # Set linker optimization flags.
61376 if test x"$with_gnu_ld" = x"yes"; then
61377 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
61384 ac_test_CXXFLAGS="${CXXFLAGS+set}"
61385 ac_save_CXXFLAGS="$CXXFLAGS"
61386 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
61388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
61389 $as_echo_n "checking for sin in -lm... " >&6; }
61390 if ${ac_cv_lib_m_sin+:} false; then :
61391 $as_echo_n "(cached) " >&6
61392 else
61393 ac_check_lib_save_LIBS=$LIBS
61394 LIBS="-lm $LIBS"
61395 if test x$gcc_no_link = xyes; then
61396 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
61398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61399 /* end confdefs.h. */
61401 /* Override any GCC internal prototype to avoid an error.
61402 Use char because int might match the return type of a GCC
61403 builtin and then its argument prototype would still apply. */
61404 #ifdef __cplusplus
61405 extern "C"
61406 #endif
61407 char sin ();
61409 main ()
61411 return sin ();
61413 return 0;
61415 _ACEOF
61416 if ac_fn_c_try_link "$LINENO"; then :
61417 ac_cv_lib_m_sin=yes
61418 else
61419 ac_cv_lib_m_sin=no
61421 rm -f core conftest.err conftest.$ac_objext \
61422 conftest$ac_exeext conftest.$ac_ext
61423 LIBS=$ac_check_lib_save_LIBS
61425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
61426 $as_echo "$ac_cv_lib_m_sin" >&6; }
61427 if test "x$ac_cv_lib_m_sin" = xyes; then :
61428 libm="-lm"
61431 ac_save_LIBS="$LIBS"
61432 LIBS="$LIBS $libm"
61436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
61437 $as_echo_n "checking for isinf declaration... " >&6; }
61438 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
61439 if ${glibcxx_cv_func_isinf_use+:} false; then :
61440 $as_echo_n "(cached) " >&6
61441 else
61444 ac_ext=cpp
61445 ac_cpp='$CXXCPP $CPPFLAGS'
61446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61451 /* end confdefs.h. */
61452 #include <math.h>
61453 #ifdef HAVE_IEEEFP_H
61454 #include <ieeefp.h>
61455 #endif
61458 main ()
61460 isinf(0);
61462 return 0;
61464 _ACEOF
61465 if ac_fn_cxx_try_compile "$LINENO"; then :
61466 glibcxx_cv_func_isinf_use=yes
61467 else
61468 glibcxx_cv_func_isinf_use=no
61470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61471 ac_ext=c
61472 ac_cpp='$CPP $CPPFLAGS'
61473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
61482 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
61484 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
61485 for ac_func in isinf
61486 do :
61487 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
61488 if test "x$ac_cv_func_isinf" = xyes; then :
61489 cat >>confdefs.h <<_ACEOF
61490 #define HAVE_ISINF 1
61491 _ACEOF
61494 done
61496 else
61498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
61499 $as_echo_n "checking for _isinf declaration... " >&6; }
61500 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
61501 if ${glibcxx_cv_func__isinf_use+:} false; then :
61502 $as_echo_n "(cached) " >&6
61503 else
61506 ac_ext=cpp
61507 ac_cpp='$CXXCPP $CPPFLAGS'
61508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61513 /* end confdefs.h. */
61514 #include <math.h>
61515 #ifdef HAVE_IEEEFP_H
61516 #include <ieeefp.h>
61517 #endif
61520 main ()
61522 _isinf(0);
61524 return 0;
61526 _ACEOF
61527 if ac_fn_cxx_try_compile "$LINENO"; then :
61528 glibcxx_cv_func__isinf_use=yes
61529 else
61530 glibcxx_cv_func__isinf_use=no
61532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61533 ac_ext=c
61534 ac_cpp='$CPP $CPPFLAGS'
61535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
61544 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
61546 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
61547 for ac_func in _isinf
61548 do :
61549 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
61550 if test "x$ac_cv_func__isinf" = xyes; then :
61551 cat >>confdefs.h <<_ACEOF
61552 #define HAVE__ISINF 1
61553 _ACEOF
61556 done
61565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
61566 $as_echo_n "checking for isnan declaration... " >&6; }
61567 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
61568 if ${glibcxx_cv_func_isnan_use+:} false; then :
61569 $as_echo_n "(cached) " >&6
61570 else
61573 ac_ext=cpp
61574 ac_cpp='$CXXCPP $CPPFLAGS'
61575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61580 /* end confdefs.h. */
61581 #include <math.h>
61582 #ifdef HAVE_IEEEFP_H
61583 #include <ieeefp.h>
61584 #endif
61587 main ()
61589 isnan(0);
61591 return 0;
61593 _ACEOF
61594 if ac_fn_cxx_try_compile "$LINENO"; then :
61595 glibcxx_cv_func_isnan_use=yes
61596 else
61597 glibcxx_cv_func_isnan_use=no
61599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61600 ac_ext=c
61601 ac_cpp='$CPP $CPPFLAGS'
61602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
61611 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
61613 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
61614 for ac_func in isnan
61615 do :
61616 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
61617 if test "x$ac_cv_func_isnan" = xyes; then :
61618 cat >>confdefs.h <<_ACEOF
61619 #define HAVE_ISNAN 1
61620 _ACEOF
61623 done
61625 else
61627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
61628 $as_echo_n "checking for _isnan declaration... " >&6; }
61629 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
61630 if ${glibcxx_cv_func__isnan_use+:} false; then :
61631 $as_echo_n "(cached) " >&6
61632 else
61635 ac_ext=cpp
61636 ac_cpp='$CXXCPP $CPPFLAGS'
61637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61642 /* end confdefs.h. */
61643 #include <math.h>
61644 #ifdef HAVE_IEEEFP_H
61645 #include <ieeefp.h>
61646 #endif
61649 main ()
61651 _isnan(0);
61653 return 0;
61655 _ACEOF
61656 if ac_fn_cxx_try_compile "$LINENO"; then :
61657 glibcxx_cv_func__isnan_use=yes
61658 else
61659 glibcxx_cv_func__isnan_use=no
61661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61662 ac_ext=c
61663 ac_cpp='$CPP $CPPFLAGS'
61664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
61673 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
61675 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
61676 for ac_func in _isnan
61677 do :
61678 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
61679 if test "x$ac_cv_func__isnan" = xyes; then :
61680 cat >>confdefs.h <<_ACEOF
61681 #define HAVE__ISNAN 1
61682 _ACEOF
61685 done
61694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
61695 $as_echo_n "checking for finite declaration... " >&6; }
61696 if test x${glibcxx_cv_func_finite_use+set} != xset; then
61697 if ${glibcxx_cv_func_finite_use+:} false; then :
61698 $as_echo_n "(cached) " >&6
61699 else
61702 ac_ext=cpp
61703 ac_cpp='$CXXCPP $CPPFLAGS'
61704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61709 /* end confdefs.h. */
61710 #include <math.h>
61711 #ifdef HAVE_IEEEFP_H
61712 #include <ieeefp.h>
61713 #endif
61716 main ()
61718 finite(0);
61720 return 0;
61722 _ACEOF
61723 if ac_fn_cxx_try_compile "$LINENO"; then :
61724 glibcxx_cv_func_finite_use=yes
61725 else
61726 glibcxx_cv_func_finite_use=no
61728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61729 ac_ext=c
61730 ac_cpp='$CPP $CPPFLAGS'
61731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
61740 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
61742 if test x$glibcxx_cv_func_finite_use = x"yes"; then
61743 for ac_func in finite
61744 do :
61745 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
61746 if test "x$ac_cv_func_finite" = xyes; then :
61747 cat >>confdefs.h <<_ACEOF
61748 #define HAVE_FINITE 1
61749 _ACEOF
61752 done
61754 else
61756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
61757 $as_echo_n "checking for _finite declaration... " >&6; }
61758 if test x${glibcxx_cv_func__finite_use+set} != xset; then
61759 if ${glibcxx_cv_func__finite_use+:} false; then :
61760 $as_echo_n "(cached) " >&6
61761 else
61764 ac_ext=cpp
61765 ac_cpp='$CXXCPP $CPPFLAGS'
61766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61771 /* end confdefs.h. */
61772 #include <math.h>
61773 #ifdef HAVE_IEEEFP_H
61774 #include <ieeefp.h>
61775 #endif
61778 main ()
61780 _finite(0);
61782 return 0;
61784 _ACEOF
61785 if ac_fn_cxx_try_compile "$LINENO"; then :
61786 glibcxx_cv_func__finite_use=yes
61787 else
61788 glibcxx_cv_func__finite_use=no
61790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61791 ac_ext=c
61792 ac_cpp='$CPP $CPPFLAGS'
61793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
61802 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
61804 if test x$glibcxx_cv_func__finite_use = x"yes"; then
61805 for ac_func in _finite
61806 do :
61807 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
61808 if test "x$ac_cv_func__finite" = xyes; then :
61809 cat >>confdefs.h <<_ACEOF
61810 #define HAVE__FINITE 1
61811 _ACEOF
61814 done
61823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
61824 $as_echo_n "checking for sincos declaration... " >&6; }
61825 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
61826 if ${glibcxx_cv_func_sincos_use+:} false; then :
61827 $as_echo_n "(cached) " >&6
61828 else
61831 ac_ext=cpp
61832 ac_cpp='$CXXCPP $CPPFLAGS'
61833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61838 /* end confdefs.h. */
61839 #include <math.h>
61841 main ()
61843 sincos(0, 0, 0);
61845 return 0;
61847 _ACEOF
61848 if ac_fn_cxx_try_compile "$LINENO"; then :
61849 glibcxx_cv_func_sincos_use=yes
61850 else
61851 glibcxx_cv_func_sincos_use=no
61853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61854 ac_ext=c
61855 ac_cpp='$CPP $CPPFLAGS'
61856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
61865 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
61867 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
61868 for ac_func in sincos
61869 do :
61870 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
61871 if test "x$ac_cv_func_sincos" = xyes; then :
61872 cat >>confdefs.h <<_ACEOF
61873 #define HAVE_SINCOS 1
61874 _ACEOF
61877 done
61879 else
61881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
61882 $as_echo_n "checking for _sincos declaration... " >&6; }
61883 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
61884 if ${glibcxx_cv_func__sincos_use+:} false; then :
61885 $as_echo_n "(cached) " >&6
61886 else
61889 ac_ext=cpp
61890 ac_cpp='$CXXCPP $CPPFLAGS'
61891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61896 /* end confdefs.h. */
61897 #include <math.h>
61899 main ()
61901 _sincos(0, 0, 0);
61903 return 0;
61905 _ACEOF
61906 if ac_fn_cxx_try_compile "$LINENO"; then :
61907 glibcxx_cv_func__sincos_use=yes
61908 else
61909 glibcxx_cv_func__sincos_use=no
61911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61912 ac_ext=c
61913 ac_cpp='$CPP $CPPFLAGS'
61914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
61923 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
61925 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
61926 for ac_func in _sincos
61927 do :
61928 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
61929 if test "x$ac_cv_func__sincos" = xyes; then :
61930 cat >>confdefs.h <<_ACEOF
61931 #define HAVE__SINCOS 1
61932 _ACEOF
61935 done
61944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
61945 $as_echo_n "checking for fpclass declaration... " >&6; }
61946 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
61947 if ${glibcxx_cv_func_fpclass_use+:} false; then :
61948 $as_echo_n "(cached) " >&6
61949 else
61952 ac_ext=cpp
61953 ac_cpp='$CXXCPP $CPPFLAGS'
61954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61959 /* end confdefs.h. */
61960 #include <math.h>
61961 #ifdef HAVE_IEEEFP_H
61962 #include <ieeefp.h>
61963 #endif
61966 main ()
61968 fpclass(0);
61970 return 0;
61972 _ACEOF
61973 if ac_fn_cxx_try_compile "$LINENO"; then :
61974 glibcxx_cv_func_fpclass_use=yes
61975 else
61976 glibcxx_cv_func_fpclass_use=no
61978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61979 ac_ext=c
61980 ac_cpp='$CPP $CPPFLAGS'
61981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
61990 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
61992 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
61993 for ac_func in fpclass
61994 do :
61995 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
61996 if test "x$ac_cv_func_fpclass" = xyes; then :
61997 cat >>confdefs.h <<_ACEOF
61998 #define HAVE_FPCLASS 1
61999 _ACEOF
62002 done
62004 else
62006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
62007 $as_echo_n "checking for _fpclass declaration... " >&6; }
62008 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
62009 if ${glibcxx_cv_func__fpclass_use+:} false; then :
62010 $as_echo_n "(cached) " >&6
62011 else
62014 ac_ext=cpp
62015 ac_cpp='$CXXCPP $CPPFLAGS'
62016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62021 /* end confdefs.h. */
62022 #include <math.h>
62023 #ifdef HAVE_IEEEFP_H
62024 #include <ieeefp.h>
62025 #endif
62028 main ()
62030 _fpclass(0);
62032 return 0;
62034 _ACEOF
62035 if ac_fn_cxx_try_compile "$LINENO"; then :
62036 glibcxx_cv_func__fpclass_use=yes
62037 else
62038 glibcxx_cv_func__fpclass_use=no
62040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62041 ac_ext=c
62042 ac_cpp='$CPP $CPPFLAGS'
62043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
62052 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
62054 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
62055 for ac_func in _fpclass
62056 do :
62057 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
62058 if test "x$ac_cv_func__fpclass" = xyes; then :
62059 cat >>confdefs.h <<_ACEOF
62060 #define HAVE__FPCLASS 1
62061 _ACEOF
62064 done
62073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
62074 $as_echo_n "checking for qfpclass declaration... " >&6; }
62075 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
62076 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
62077 $as_echo_n "(cached) " >&6
62078 else
62081 ac_ext=cpp
62082 ac_cpp='$CXXCPP $CPPFLAGS'
62083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62088 /* end confdefs.h. */
62089 #include <math.h>
62090 #ifdef HAVE_IEEEFP_H
62091 #include <ieeefp.h>
62092 #endif
62095 main ()
62097 qfpclass(0);
62099 return 0;
62101 _ACEOF
62102 if ac_fn_cxx_try_compile "$LINENO"; then :
62103 glibcxx_cv_func_qfpclass_use=yes
62104 else
62105 glibcxx_cv_func_qfpclass_use=no
62107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62108 ac_ext=c
62109 ac_cpp='$CPP $CPPFLAGS'
62110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
62119 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
62121 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
62122 for ac_func in qfpclass
62123 do :
62124 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
62125 if test "x$ac_cv_func_qfpclass" = xyes; then :
62126 cat >>confdefs.h <<_ACEOF
62127 #define HAVE_QFPCLASS 1
62128 _ACEOF
62131 done
62133 else
62135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
62136 $as_echo_n "checking for _qfpclass declaration... " >&6; }
62137 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
62138 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
62139 $as_echo_n "(cached) " >&6
62140 else
62143 ac_ext=cpp
62144 ac_cpp='$CXXCPP $CPPFLAGS'
62145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62150 /* end confdefs.h. */
62151 #include <math.h>
62152 #ifdef HAVE_IEEEFP_H
62153 #include <ieeefp.h>
62154 #endif
62157 main ()
62159 _qfpclass(0);
62161 return 0;
62163 _ACEOF
62164 if ac_fn_cxx_try_compile "$LINENO"; then :
62165 glibcxx_cv_func__qfpclass_use=yes
62166 else
62167 glibcxx_cv_func__qfpclass_use=no
62169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62170 ac_ext=c
62171 ac_cpp='$CPP $CPPFLAGS'
62172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
62181 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
62183 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
62184 for ac_func in _qfpclass
62185 do :
62186 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
62187 if test "x$ac_cv_func__qfpclass" = xyes; then :
62188 cat >>confdefs.h <<_ACEOF
62189 #define HAVE__QFPCLASS 1
62190 _ACEOF
62193 done
62202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
62203 $as_echo_n "checking for hypot declaration... " >&6; }
62204 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
62205 if ${glibcxx_cv_func_hypot_use+:} false; then :
62206 $as_echo_n "(cached) " >&6
62207 else
62210 ac_ext=cpp
62211 ac_cpp='$CXXCPP $CPPFLAGS'
62212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62217 /* end confdefs.h. */
62218 #include <math.h>
62220 main ()
62222 hypot(0, 0);
62224 return 0;
62226 _ACEOF
62227 if ac_fn_cxx_try_compile "$LINENO"; then :
62228 glibcxx_cv_func_hypot_use=yes
62229 else
62230 glibcxx_cv_func_hypot_use=no
62232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62233 ac_ext=c
62234 ac_cpp='$CPP $CPPFLAGS'
62235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
62244 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
62246 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
62247 for ac_func in hypot
62248 do :
62249 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
62250 if test "x$ac_cv_func_hypot" = xyes; then :
62251 cat >>confdefs.h <<_ACEOF
62252 #define HAVE_HYPOT 1
62253 _ACEOF
62256 done
62258 else
62260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
62261 $as_echo_n "checking for _hypot declaration... " >&6; }
62262 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
62263 if ${glibcxx_cv_func__hypot_use+:} false; then :
62264 $as_echo_n "(cached) " >&6
62265 else
62268 ac_ext=cpp
62269 ac_cpp='$CXXCPP $CPPFLAGS'
62270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62275 /* end confdefs.h. */
62276 #include <math.h>
62278 main ()
62280 _hypot(0, 0);
62282 return 0;
62284 _ACEOF
62285 if ac_fn_cxx_try_compile "$LINENO"; then :
62286 glibcxx_cv_func__hypot_use=yes
62287 else
62288 glibcxx_cv_func__hypot_use=no
62290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62291 ac_ext=c
62292 ac_cpp='$CPP $CPPFLAGS'
62293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
62302 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
62304 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
62305 for ac_func in _hypot
62306 do :
62307 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
62308 if test "x$ac_cv_func__hypot" = xyes; then :
62309 cat >>confdefs.h <<_ACEOF
62310 #define HAVE__HYPOT 1
62311 _ACEOF
62314 done
62323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
62324 $as_echo_n "checking for float trig functions... " >&6; }
62325 if ${glibcxx_cv_func_float_trig_use+:} false; then :
62326 $as_echo_n "(cached) " >&6
62327 else
62330 ac_ext=cpp
62331 ac_cpp='$CXXCPP $CPPFLAGS'
62332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62337 /* end confdefs.h. */
62338 #include <math.h>
62340 main ()
62342 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
62344 return 0;
62346 _ACEOF
62347 if ac_fn_cxx_try_compile "$LINENO"; then :
62348 glibcxx_cv_func_float_trig_use=yes
62349 else
62350 glibcxx_cv_func_float_trig_use=no
62352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62353 ac_ext=c
62354 ac_cpp='$CPP $CPPFLAGS'
62355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
62362 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
62363 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
62364 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
62365 do :
62366 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62367 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62368 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62369 cat >>confdefs.h <<_ACEOF
62370 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62371 _ACEOF
62374 done
62376 else
62377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
62378 $as_echo_n "checking for _float trig functions... " >&6; }
62379 if ${glibcxx_cv_func__float_trig_use+:} false; then :
62380 $as_echo_n "(cached) " >&6
62381 else
62384 ac_ext=cpp
62385 ac_cpp='$CXXCPP $CPPFLAGS'
62386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62391 /* end confdefs.h. */
62392 #include <math.h>
62394 main ()
62396 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
62398 return 0;
62400 _ACEOF
62401 if ac_fn_cxx_try_compile "$LINENO"; then :
62402 glibcxx_cv_func__float_trig_use=yes
62403 else
62404 glibcxx_cv_func__float_trig_use=no
62406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62407 ac_ext=c
62408 ac_cpp='$CPP $CPPFLAGS'
62409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
62416 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
62417 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
62418 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
62419 do :
62420 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62421 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62422 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62423 cat >>confdefs.h <<_ACEOF
62424 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62425 _ACEOF
62428 done
62437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
62438 $as_echo_n "checking for float round functions... " >&6; }
62439 if ${glibcxx_cv_func_float_round_use+:} false; then :
62440 $as_echo_n "(cached) " >&6
62441 else
62444 ac_ext=cpp
62445 ac_cpp='$CXXCPP $CPPFLAGS'
62446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62451 /* end confdefs.h. */
62452 #include <math.h>
62454 main ()
62456 ceilf (0); floorf (0);
62458 return 0;
62460 _ACEOF
62461 if ac_fn_cxx_try_compile "$LINENO"; then :
62462 glibcxx_cv_func_float_round_use=yes
62463 else
62464 glibcxx_cv_func_float_round_use=no
62466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62467 ac_ext=c
62468 ac_cpp='$CPP $CPPFLAGS'
62469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
62476 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
62477 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
62478 for ac_func in ceilf floorf
62479 do :
62480 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62481 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62482 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62483 cat >>confdefs.h <<_ACEOF
62484 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62485 _ACEOF
62488 done
62490 else
62491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
62492 $as_echo_n "checking for _float round functions... " >&6; }
62493 if ${glibcxx_cv_func__float_round_use+:} false; then :
62494 $as_echo_n "(cached) " >&6
62495 else
62498 ac_ext=cpp
62499 ac_cpp='$CXXCPP $CPPFLAGS'
62500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62505 /* end confdefs.h. */
62506 #include <math.h>
62508 main ()
62510 _ceilf (0); _floorf (0);
62512 return 0;
62514 _ACEOF
62515 if ac_fn_cxx_try_compile "$LINENO"; then :
62516 glibcxx_cv_func__float_round_use=yes
62517 else
62518 glibcxx_cv_func__float_round_use=no
62520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62521 ac_ext=c
62522 ac_cpp='$CPP $CPPFLAGS'
62523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
62530 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
62531 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
62532 for ac_func in _ceilf _floorf
62533 do :
62534 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62535 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62536 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62537 cat >>confdefs.h <<_ACEOF
62538 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62539 _ACEOF
62542 done
62552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
62553 $as_echo_n "checking for expf declaration... " >&6; }
62554 if test x${glibcxx_cv_func_expf_use+set} != xset; then
62555 if ${glibcxx_cv_func_expf_use+:} false; then :
62556 $as_echo_n "(cached) " >&6
62557 else
62560 ac_ext=cpp
62561 ac_cpp='$CXXCPP $CPPFLAGS'
62562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62567 /* end confdefs.h. */
62568 #include <math.h>
62569 #ifdef HAVE_IEEEFP_H
62570 #include <ieeefp.h>
62571 #endif
62574 main ()
62576 expf(0);
62578 return 0;
62580 _ACEOF
62581 if ac_fn_cxx_try_compile "$LINENO"; then :
62582 glibcxx_cv_func_expf_use=yes
62583 else
62584 glibcxx_cv_func_expf_use=no
62586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62587 ac_ext=c
62588 ac_cpp='$CPP $CPPFLAGS'
62589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
62598 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
62600 if test x$glibcxx_cv_func_expf_use = x"yes"; then
62601 for ac_func in expf
62602 do :
62603 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
62604 if test "x$ac_cv_func_expf" = xyes; then :
62605 cat >>confdefs.h <<_ACEOF
62606 #define HAVE_EXPF 1
62607 _ACEOF
62610 done
62612 else
62614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
62615 $as_echo_n "checking for _expf declaration... " >&6; }
62616 if test x${glibcxx_cv_func__expf_use+set} != xset; then
62617 if ${glibcxx_cv_func__expf_use+:} false; then :
62618 $as_echo_n "(cached) " >&6
62619 else
62622 ac_ext=cpp
62623 ac_cpp='$CXXCPP $CPPFLAGS'
62624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62629 /* end confdefs.h. */
62630 #include <math.h>
62631 #ifdef HAVE_IEEEFP_H
62632 #include <ieeefp.h>
62633 #endif
62636 main ()
62638 _expf(0);
62640 return 0;
62642 _ACEOF
62643 if ac_fn_cxx_try_compile "$LINENO"; then :
62644 glibcxx_cv_func__expf_use=yes
62645 else
62646 glibcxx_cv_func__expf_use=no
62648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62649 ac_ext=c
62650 ac_cpp='$CPP $CPPFLAGS'
62651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
62660 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
62662 if test x$glibcxx_cv_func__expf_use = x"yes"; then
62663 for ac_func in _expf
62664 do :
62665 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
62666 if test "x$ac_cv_func__expf" = xyes; then :
62667 cat >>confdefs.h <<_ACEOF
62668 #define HAVE__EXPF 1
62669 _ACEOF
62672 done
62681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
62682 $as_echo_n "checking for isnanf declaration... " >&6; }
62683 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
62684 if ${glibcxx_cv_func_isnanf_use+:} false; then :
62685 $as_echo_n "(cached) " >&6
62686 else
62689 ac_ext=cpp
62690 ac_cpp='$CXXCPP $CPPFLAGS'
62691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62696 /* end confdefs.h. */
62697 #include <math.h>
62698 #ifdef HAVE_IEEEFP_H
62699 #include <ieeefp.h>
62700 #endif
62703 main ()
62705 isnanf(0);
62707 return 0;
62709 _ACEOF
62710 if ac_fn_cxx_try_compile "$LINENO"; then :
62711 glibcxx_cv_func_isnanf_use=yes
62712 else
62713 glibcxx_cv_func_isnanf_use=no
62715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62716 ac_ext=c
62717 ac_cpp='$CPP $CPPFLAGS'
62718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
62727 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
62729 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
62730 for ac_func in isnanf
62731 do :
62732 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
62733 if test "x$ac_cv_func_isnanf" = xyes; then :
62734 cat >>confdefs.h <<_ACEOF
62735 #define HAVE_ISNANF 1
62736 _ACEOF
62739 done
62741 else
62743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
62744 $as_echo_n "checking for _isnanf declaration... " >&6; }
62745 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
62746 if ${glibcxx_cv_func__isnanf_use+:} false; then :
62747 $as_echo_n "(cached) " >&6
62748 else
62751 ac_ext=cpp
62752 ac_cpp='$CXXCPP $CPPFLAGS'
62753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62758 /* end confdefs.h. */
62759 #include <math.h>
62760 #ifdef HAVE_IEEEFP_H
62761 #include <ieeefp.h>
62762 #endif
62765 main ()
62767 _isnanf(0);
62769 return 0;
62771 _ACEOF
62772 if ac_fn_cxx_try_compile "$LINENO"; then :
62773 glibcxx_cv_func__isnanf_use=yes
62774 else
62775 glibcxx_cv_func__isnanf_use=no
62777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62778 ac_ext=c
62779 ac_cpp='$CPP $CPPFLAGS'
62780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
62789 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
62791 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
62792 for ac_func in _isnanf
62793 do :
62794 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
62795 if test "x$ac_cv_func__isnanf" = xyes; then :
62796 cat >>confdefs.h <<_ACEOF
62797 #define HAVE__ISNANF 1
62798 _ACEOF
62801 done
62810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
62811 $as_echo_n "checking for isinff declaration... " >&6; }
62812 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
62813 if ${glibcxx_cv_func_isinff_use+:} false; then :
62814 $as_echo_n "(cached) " >&6
62815 else
62818 ac_ext=cpp
62819 ac_cpp='$CXXCPP $CPPFLAGS'
62820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62825 /* end confdefs.h. */
62826 #include <math.h>
62827 #ifdef HAVE_IEEEFP_H
62828 #include <ieeefp.h>
62829 #endif
62832 main ()
62834 isinff(0);
62836 return 0;
62838 _ACEOF
62839 if ac_fn_cxx_try_compile "$LINENO"; then :
62840 glibcxx_cv_func_isinff_use=yes
62841 else
62842 glibcxx_cv_func_isinff_use=no
62844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62845 ac_ext=c
62846 ac_cpp='$CPP $CPPFLAGS'
62847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
62856 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
62858 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
62859 for ac_func in isinff
62860 do :
62861 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
62862 if test "x$ac_cv_func_isinff" = xyes; then :
62863 cat >>confdefs.h <<_ACEOF
62864 #define HAVE_ISINFF 1
62865 _ACEOF
62868 done
62870 else
62872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
62873 $as_echo_n "checking for _isinff declaration... " >&6; }
62874 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
62875 if ${glibcxx_cv_func__isinff_use+:} false; then :
62876 $as_echo_n "(cached) " >&6
62877 else
62880 ac_ext=cpp
62881 ac_cpp='$CXXCPP $CPPFLAGS'
62882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62887 /* end confdefs.h. */
62888 #include <math.h>
62889 #ifdef HAVE_IEEEFP_H
62890 #include <ieeefp.h>
62891 #endif
62894 main ()
62896 _isinff(0);
62898 return 0;
62900 _ACEOF
62901 if ac_fn_cxx_try_compile "$LINENO"; then :
62902 glibcxx_cv_func__isinff_use=yes
62903 else
62904 glibcxx_cv_func__isinff_use=no
62906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62907 ac_ext=c
62908 ac_cpp='$CPP $CPPFLAGS'
62909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
62918 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
62920 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
62921 for ac_func in _isinff
62922 do :
62923 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
62924 if test "x$ac_cv_func__isinff" = xyes; then :
62925 cat >>confdefs.h <<_ACEOF
62926 #define HAVE__ISINFF 1
62927 _ACEOF
62930 done
62939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
62940 $as_echo_n "checking for atan2f declaration... " >&6; }
62941 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
62942 if ${glibcxx_cv_func_atan2f_use+:} false; then :
62943 $as_echo_n "(cached) " >&6
62944 else
62947 ac_ext=cpp
62948 ac_cpp='$CXXCPP $CPPFLAGS'
62949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62954 /* end confdefs.h. */
62955 #include <math.h>
62957 main ()
62959 atan2f(0, 0);
62961 return 0;
62963 _ACEOF
62964 if ac_fn_cxx_try_compile "$LINENO"; then :
62965 glibcxx_cv_func_atan2f_use=yes
62966 else
62967 glibcxx_cv_func_atan2f_use=no
62969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62970 ac_ext=c
62971 ac_cpp='$CPP $CPPFLAGS'
62972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
62981 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
62983 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
62984 for ac_func in atan2f
62985 do :
62986 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
62987 if test "x$ac_cv_func_atan2f" = xyes; then :
62988 cat >>confdefs.h <<_ACEOF
62989 #define HAVE_ATAN2F 1
62990 _ACEOF
62993 done
62995 else
62997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
62998 $as_echo_n "checking for _atan2f declaration... " >&6; }
62999 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
63000 if ${glibcxx_cv_func__atan2f_use+:} false; then :
63001 $as_echo_n "(cached) " >&6
63002 else
63005 ac_ext=cpp
63006 ac_cpp='$CXXCPP $CPPFLAGS'
63007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63012 /* end confdefs.h. */
63013 #include <math.h>
63015 main ()
63017 _atan2f(0, 0);
63019 return 0;
63021 _ACEOF
63022 if ac_fn_cxx_try_compile "$LINENO"; then :
63023 glibcxx_cv_func__atan2f_use=yes
63024 else
63025 glibcxx_cv_func__atan2f_use=no
63027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63028 ac_ext=c
63029 ac_cpp='$CPP $CPPFLAGS'
63030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
63039 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
63041 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
63042 for ac_func in _atan2f
63043 do :
63044 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
63045 if test "x$ac_cv_func__atan2f" = xyes; then :
63046 cat >>confdefs.h <<_ACEOF
63047 #define HAVE__ATAN2F 1
63048 _ACEOF
63051 done
63060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
63061 $as_echo_n "checking for fabsf declaration... " >&6; }
63062 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
63063 if ${glibcxx_cv_func_fabsf_use+:} false; then :
63064 $as_echo_n "(cached) " >&6
63065 else
63068 ac_ext=cpp
63069 ac_cpp='$CXXCPP $CPPFLAGS'
63070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63075 /* end confdefs.h. */
63076 #include <math.h>
63077 #ifdef HAVE_IEEEFP_H
63078 #include <ieeefp.h>
63079 #endif
63082 main ()
63084 fabsf(0);
63086 return 0;
63088 _ACEOF
63089 if ac_fn_cxx_try_compile "$LINENO"; then :
63090 glibcxx_cv_func_fabsf_use=yes
63091 else
63092 glibcxx_cv_func_fabsf_use=no
63094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63095 ac_ext=c
63096 ac_cpp='$CPP $CPPFLAGS'
63097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
63106 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
63108 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
63109 for ac_func in fabsf
63110 do :
63111 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
63112 if test "x$ac_cv_func_fabsf" = xyes; then :
63113 cat >>confdefs.h <<_ACEOF
63114 #define HAVE_FABSF 1
63115 _ACEOF
63118 done
63120 else
63122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
63123 $as_echo_n "checking for _fabsf declaration... " >&6; }
63124 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
63125 if ${glibcxx_cv_func__fabsf_use+:} false; then :
63126 $as_echo_n "(cached) " >&6
63127 else
63130 ac_ext=cpp
63131 ac_cpp='$CXXCPP $CPPFLAGS'
63132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63137 /* end confdefs.h. */
63138 #include <math.h>
63139 #ifdef HAVE_IEEEFP_H
63140 #include <ieeefp.h>
63141 #endif
63144 main ()
63146 _fabsf(0);
63148 return 0;
63150 _ACEOF
63151 if ac_fn_cxx_try_compile "$LINENO"; then :
63152 glibcxx_cv_func__fabsf_use=yes
63153 else
63154 glibcxx_cv_func__fabsf_use=no
63156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63157 ac_ext=c
63158 ac_cpp='$CPP $CPPFLAGS'
63159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
63168 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
63170 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
63171 for ac_func in _fabsf
63172 do :
63173 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
63174 if test "x$ac_cv_func__fabsf" = xyes; then :
63175 cat >>confdefs.h <<_ACEOF
63176 #define HAVE__FABSF 1
63177 _ACEOF
63180 done
63189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
63190 $as_echo_n "checking for fmodf declaration... " >&6; }
63191 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
63192 if ${glibcxx_cv_func_fmodf_use+:} false; then :
63193 $as_echo_n "(cached) " >&6
63194 else
63197 ac_ext=cpp
63198 ac_cpp='$CXXCPP $CPPFLAGS'
63199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63204 /* end confdefs.h. */
63205 #include <math.h>
63207 main ()
63209 fmodf(0, 0);
63211 return 0;
63213 _ACEOF
63214 if ac_fn_cxx_try_compile "$LINENO"; then :
63215 glibcxx_cv_func_fmodf_use=yes
63216 else
63217 glibcxx_cv_func_fmodf_use=no
63219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63220 ac_ext=c
63221 ac_cpp='$CPP $CPPFLAGS'
63222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
63231 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
63233 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
63234 for ac_func in fmodf
63235 do :
63236 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
63237 if test "x$ac_cv_func_fmodf" = xyes; then :
63238 cat >>confdefs.h <<_ACEOF
63239 #define HAVE_FMODF 1
63240 _ACEOF
63243 done
63245 else
63247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
63248 $as_echo_n "checking for _fmodf declaration... " >&6; }
63249 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
63250 if ${glibcxx_cv_func__fmodf_use+:} false; then :
63251 $as_echo_n "(cached) " >&6
63252 else
63255 ac_ext=cpp
63256 ac_cpp='$CXXCPP $CPPFLAGS'
63257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63262 /* end confdefs.h. */
63263 #include <math.h>
63265 main ()
63267 _fmodf(0, 0);
63269 return 0;
63271 _ACEOF
63272 if ac_fn_cxx_try_compile "$LINENO"; then :
63273 glibcxx_cv_func__fmodf_use=yes
63274 else
63275 glibcxx_cv_func__fmodf_use=no
63277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63278 ac_ext=c
63279 ac_cpp='$CPP $CPPFLAGS'
63280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
63289 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
63291 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
63292 for ac_func in _fmodf
63293 do :
63294 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
63295 if test "x$ac_cv_func__fmodf" = xyes; then :
63296 cat >>confdefs.h <<_ACEOF
63297 #define HAVE__FMODF 1
63298 _ACEOF
63301 done
63310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
63311 $as_echo_n "checking for frexpf declaration... " >&6; }
63312 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
63313 if ${glibcxx_cv_func_frexpf_use+:} false; then :
63314 $as_echo_n "(cached) " >&6
63315 else
63318 ac_ext=cpp
63319 ac_cpp='$CXXCPP $CPPFLAGS'
63320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63325 /* end confdefs.h. */
63326 #include <math.h>
63328 main ()
63330 frexpf(0, 0);
63332 return 0;
63334 _ACEOF
63335 if ac_fn_cxx_try_compile "$LINENO"; then :
63336 glibcxx_cv_func_frexpf_use=yes
63337 else
63338 glibcxx_cv_func_frexpf_use=no
63340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63341 ac_ext=c
63342 ac_cpp='$CPP $CPPFLAGS'
63343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
63352 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
63354 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
63355 for ac_func in frexpf
63356 do :
63357 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
63358 if test "x$ac_cv_func_frexpf" = xyes; then :
63359 cat >>confdefs.h <<_ACEOF
63360 #define HAVE_FREXPF 1
63361 _ACEOF
63364 done
63366 else
63368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
63369 $as_echo_n "checking for _frexpf declaration... " >&6; }
63370 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
63371 if ${glibcxx_cv_func__frexpf_use+:} false; then :
63372 $as_echo_n "(cached) " >&6
63373 else
63376 ac_ext=cpp
63377 ac_cpp='$CXXCPP $CPPFLAGS'
63378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63383 /* end confdefs.h. */
63384 #include <math.h>
63386 main ()
63388 _frexpf(0, 0);
63390 return 0;
63392 _ACEOF
63393 if ac_fn_cxx_try_compile "$LINENO"; then :
63394 glibcxx_cv_func__frexpf_use=yes
63395 else
63396 glibcxx_cv_func__frexpf_use=no
63398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63399 ac_ext=c
63400 ac_cpp='$CPP $CPPFLAGS'
63401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
63410 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
63412 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
63413 for ac_func in _frexpf
63414 do :
63415 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
63416 if test "x$ac_cv_func__frexpf" = xyes; then :
63417 cat >>confdefs.h <<_ACEOF
63418 #define HAVE__FREXPF 1
63419 _ACEOF
63422 done
63431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
63432 $as_echo_n "checking for hypotf declaration... " >&6; }
63433 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
63434 if ${glibcxx_cv_func_hypotf_use+:} false; then :
63435 $as_echo_n "(cached) " >&6
63436 else
63439 ac_ext=cpp
63440 ac_cpp='$CXXCPP $CPPFLAGS'
63441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63446 /* end confdefs.h. */
63447 #include <math.h>
63449 main ()
63451 hypotf(0, 0);
63453 return 0;
63455 _ACEOF
63456 if ac_fn_cxx_try_compile "$LINENO"; then :
63457 glibcxx_cv_func_hypotf_use=yes
63458 else
63459 glibcxx_cv_func_hypotf_use=no
63461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63462 ac_ext=c
63463 ac_cpp='$CPP $CPPFLAGS'
63464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
63473 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
63475 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
63476 for ac_func in hypotf
63477 do :
63478 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
63479 if test "x$ac_cv_func_hypotf" = xyes; then :
63480 cat >>confdefs.h <<_ACEOF
63481 #define HAVE_HYPOTF 1
63482 _ACEOF
63485 done
63487 else
63489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
63490 $as_echo_n "checking for _hypotf declaration... " >&6; }
63491 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
63492 if ${glibcxx_cv_func__hypotf_use+:} false; then :
63493 $as_echo_n "(cached) " >&6
63494 else
63497 ac_ext=cpp
63498 ac_cpp='$CXXCPP $CPPFLAGS'
63499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63504 /* end confdefs.h. */
63505 #include <math.h>
63507 main ()
63509 _hypotf(0, 0);
63511 return 0;
63513 _ACEOF
63514 if ac_fn_cxx_try_compile "$LINENO"; then :
63515 glibcxx_cv_func__hypotf_use=yes
63516 else
63517 glibcxx_cv_func__hypotf_use=no
63519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63520 ac_ext=c
63521 ac_cpp='$CPP $CPPFLAGS'
63522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
63531 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
63533 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
63534 for ac_func in _hypotf
63535 do :
63536 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
63537 if test "x$ac_cv_func__hypotf" = xyes; then :
63538 cat >>confdefs.h <<_ACEOF
63539 #define HAVE__HYPOTF 1
63540 _ACEOF
63543 done
63552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
63553 $as_echo_n "checking for ldexpf declaration... " >&6; }
63554 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
63555 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
63556 $as_echo_n "(cached) " >&6
63557 else
63560 ac_ext=cpp
63561 ac_cpp='$CXXCPP $CPPFLAGS'
63562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63567 /* end confdefs.h. */
63568 #include <math.h>
63570 main ()
63572 ldexpf(0, 0);
63574 return 0;
63576 _ACEOF
63577 if ac_fn_cxx_try_compile "$LINENO"; then :
63578 glibcxx_cv_func_ldexpf_use=yes
63579 else
63580 glibcxx_cv_func_ldexpf_use=no
63582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63583 ac_ext=c
63584 ac_cpp='$CPP $CPPFLAGS'
63585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
63594 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
63596 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
63597 for ac_func in ldexpf
63598 do :
63599 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
63600 if test "x$ac_cv_func_ldexpf" = xyes; then :
63601 cat >>confdefs.h <<_ACEOF
63602 #define HAVE_LDEXPF 1
63603 _ACEOF
63606 done
63608 else
63610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
63611 $as_echo_n "checking for _ldexpf declaration... " >&6; }
63612 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
63613 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
63614 $as_echo_n "(cached) " >&6
63615 else
63618 ac_ext=cpp
63619 ac_cpp='$CXXCPP $CPPFLAGS'
63620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63625 /* end confdefs.h. */
63626 #include <math.h>
63628 main ()
63630 _ldexpf(0, 0);
63632 return 0;
63634 _ACEOF
63635 if ac_fn_cxx_try_compile "$LINENO"; then :
63636 glibcxx_cv_func__ldexpf_use=yes
63637 else
63638 glibcxx_cv_func__ldexpf_use=no
63640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63641 ac_ext=c
63642 ac_cpp='$CPP $CPPFLAGS'
63643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
63652 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
63654 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
63655 for ac_func in _ldexpf
63656 do :
63657 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
63658 if test "x$ac_cv_func__ldexpf" = xyes; then :
63659 cat >>confdefs.h <<_ACEOF
63660 #define HAVE__LDEXPF 1
63661 _ACEOF
63664 done
63673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
63674 $as_echo_n "checking for logf declaration... " >&6; }
63675 if test x${glibcxx_cv_func_logf_use+set} != xset; then
63676 if ${glibcxx_cv_func_logf_use+:} false; then :
63677 $as_echo_n "(cached) " >&6
63678 else
63681 ac_ext=cpp
63682 ac_cpp='$CXXCPP $CPPFLAGS'
63683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63688 /* end confdefs.h. */
63689 #include <math.h>
63690 #ifdef HAVE_IEEEFP_H
63691 #include <ieeefp.h>
63692 #endif
63695 main ()
63697 logf(0);
63699 return 0;
63701 _ACEOF
63702 if ac_fn_cxx_try_compile "$LINENO"; then :
63703 glibcxx_cv_func_logf_use=yes
63704 else
63705 glibcxx_cv_func_logf_use=no
63707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63708 ac_ext=c
63709 ac_cpp='$CPP $CPPFLAGS'
63710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
63719 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
63721 if test x$glibcxx_cv_func_logf_use = x"yes"; then
63722 for ac_func in logf
63723 do :
63724 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
63725 if test "x$ac_cv_func_logf" = xyes; then :
63726 cat >>confdefs.h <<_ACEOF
63727 #define HAVE_LOGF 1
63728 _ACEOF
63731 done
63733 else
63735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
63736 $as_echo_n "checking for _logf declaration... " >&6; }
63737 if test x${glibcxx_cv_func__logf_use+set} != xset; then
63738 if ${glibcxx_cv_func__logf_use+:} false; then :
63739 $as_echo_n "(cached) " >&6
63740 else
63743 ac_ext=cpp
63744 ac_cpp='$CXXCPP $CPPFLAGS'
63745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63750 /* end confdefs.h. */
63751 #include <math.h>
63752 #ifdef HAVE_IEEEFP_H
63753 #include <ieeefp.h>
63754 #endif
63757 main ()
63759 _logf(0);
63761 return 0;
63763 _ACEOF
63764 if ac_fn_cxx_try_compile "$LINENO"; then :
63765 glibcxx_cv_func__logf_use=yes
63766 else
63767 glibcxx_cv_func__logf_use=no
63769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63770 ac_ext=c
63771 ac_cpp='$CPP $CPPFLAGS'
63772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
63781 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
63783 if test x$glibcxx_cv_func__logf_use = x"yes"; then
63784 for ac_func in _logf
63785 do :
63786 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
63787 if test "x$ac_cv_func__logf" = xyes; then :
63788 cat >>confdefs.h <<_ACEOF
63789 #define HAVE__LOGF 1
63790 _ACEOF
63793 done
63802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
63803 $as_echo_n "checking for log10f declaration... " >&6; }
63804 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
63805 if ${glibcxx_cv_func_log10f_use+:} false; then :
63806 $as_echo_n "(cached) " >&6
63807 else
63810 ac_ext=cpp
63811 ac_cpp='$CXXCPP $CPPFLAGS'
63812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63817 /* end confdefs.h. */
63818 #include <math.h>
63819 #ifdef HAVE_IEEEFP_H
63820 #include <ieeefp.h>
63821 #endif
63824 main ()
63826 log10f(0);
63828 return 0;
63830 _ACEOF
63831 if ac_fn_cxx_try_compile "$LINENO"; then :
63832 glibcxx_cv_func_log10f_use=yes
63833 else
63834 glibcxx_cv_func_log10f_use=no
63836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63837 ac_ext=c
63838 ac_cpp='$CPP $CPPFLAGS'
63839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
63848 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
63850 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
63851 for ac_func in log10f
63852 do :
63853 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
63854 if test "x$ac_cv_func_log10f" = xyes; then :
63855 cat >>confdefs.h <<_ACEOF
63856 #define HAVE_LOG10F 1
63857 _ACEOF
63860 done
63862 else
63864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
63865 $as_echo_n "checking for _log10f declaration... " >&6; }
63866 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
63867 if ${glibcxx_cv_func__log10f_use+:} false; then :
63868 $as_echo_n "(cached) " >&6
63869 else
63872 ac_ext=cpp
63873 ac_cpp='$CXXCPP $CPPFLAGS'
63874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63879 /* end confdefs.h. */
63880 #include <math.h>
63881 #ifdef HAVE_IEEEFP_H
63882 #include <ieeefp.h>
63883 #endif
63886 main ()
63888 _log10f(0);
63890 return 0;
63892 _ACEOF
63893 if ac_fn_cxx_try_compile "$LINENO"; then :
63894 glibcxx_cv_func__log10f_use=yes
63895 else
63896 glibcxx_cv_func__log10f_use=no
63898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63899 ac_ext=c
63900 ac_cpp='$CPP $CPPFLAGS'
63901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
63910 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
63912 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
63913 for ac_func in _log10f
63914 do :
63915 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
63916 if test "x$ac_cv_func__log10f" = xyes; then :
63917 cat >>confdefs.h <<_ACEOF
63918 #define HAVE__LOG10F 1
63919 _ACEOF
63922 done
63931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
63932 $as_echo_n "checking for modff declaration... " >&6; }
63933 if test x${glibcxx_cv_func_modff_use+set} != xset; then
63934 if ${glibcxx_cv_func_modff_use+:} false; then :
63935 $as_echo_n "(cached) " >&6
63936 else
63939 ac_ext=cpp
63940 ac_cpp='$CXXCPP $CPPFLAGS'
63941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63946 /* end confdefs.h. */
63947 #include <math.h>
63949 main ()
63951 modff(0, 0);
63953 return 0;
63955 _ACEOF
63956 if ac_fn_cxx_try_compile "$LINENO"; then :
63957 glibcxx_cv_func_modff_use=yes
63958 else
63959 glibcxx_cv_func_modff_use=no
63961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63962 ac_ext=c
63963 ac_cpp='$CPP $CPPFLAGS'
63964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
63973 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
63975 if test x$glibcxx_cv_func_modff_use = x"yes"; then
63976 for ac_func in modff
63977 do :
63978 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
63979 if test "x$ac_cv_func_modff" = xyes; then :
63980 cat >>confdefs.h <<_ACEOF
63981 #define HAVE_MODFF 1
63982 _ACEOF
63985 done
63987 else
63989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
63990 $as_echo_n "checking for _modff declaration... " >&6; }
63991 if test x${glibcxx_cv_func__modff_use+set} != xset; then
63992 if ${glibcxx_cv_func__modff_use+:} false; then :
63993 $as_echo_n "(cached) " >&6
63994 else
63997 ac_ext=cpp
63998 ac_cpp='$CXXCPP $CPPFLAGS'
63999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64004 /* end confdefs.h. */
64005 #include <math.h>
64007 main ()
64009 _modff(0, 0);
64011 return 0;
64013 _ACEOF
64014 if ac_fn_cxx_try_compile "$LINENO"; then :
64015 glibcxx_cv_func__modff_use=yes
64016 else
64017 glibcxx_cv_func__modff_use=no
64019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64020 ac_ext=c
64021 ac_cpp='$CPP $CPPFLAGS'
64022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
64031 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
64033 if test x$glibcxx_cv_func__modff_use = x"yes"; then
64034 for ac_func in _modff
64035 do :
64036 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
64037 if test "x$ac_cv_func__modff" = xyes; then :
64038 cat >>confdefs.h <<_ACEOF
64039 #define HAVE__MODFF 1
64040 _ACEOF
64043 done
64052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
64053 $as_echo_n "checking for modf declaration... " >&6; }
64054 if test x${glibcxx_cv_func_modf_use+set} != xset; then
64055 if ${glibcxx_cv_func_modf_use+:} false; then :
64056 $as_echo_n "(cached) " >&6
64057 else
64060 ac_ext=cpp
64061 ac_cpp='$CXXCPP $CPPFLAGS'
64062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64067 /* end confdefs.h. */
64068 #include <math.h>
64070 main ()
64072 modf(0, 0);
64074 return 0;
64076 _ACEOF
64077 if ac_fn_cxx_try_compile "$LINENO"; then :
64078 glibcxx_cv_func_modf_use=yes
64079 else
64080 glibcxx_cv_func_modf_use=no
64082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64083 ac_ext=c
64084 ac_cpp='$CPP $CPPFLAGS'
64085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
64094 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
64096 if test x$glibcxx_cv_func_modf_use = x"yes"; then
64097 for ac_func in modf
64098 do :
64099 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
64100 if test "x$ac_cv_func_modf" = xyes; then :
64101 cat >>confdefs.h <<_ACEOF
64102 #define HAVE_MODF 1
64103 _ACEOF
64106 done
64108 else
64110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
64111 $as_echo_n "checking for _modf declaration... " >&6; }
64112 if test x${glibcxx_cv_func__modf_use+set} != xset; then
64113 if ${glibcxx_cv_func__modf_use+:} false; then :
64114 $as_echo_n "(cached) " >&6
64115 else
64118 ac_ext=cpp
64119 ac_cpp='$CXXCPP $CPPFLAGS'
64120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64125 /* end confdefs.h. */
64126 #include <math.h>
64128 main ()
64130 _modf(0, 0);
64132 return 0;
64134 _ACEOF
64135 if ac_fn_cxx_try_compile "$LINENO"; then :
64136 glibcxx_cv_func__modf_use=yes
64137 else
64138 glibcxx_cv_func__modf_use=no
64140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64141 ac_ext=c
64142 ac_cpp='$CPP $CPPFLAGS'
64143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
64152 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
64154 if test x$glibcxx_cv_func__modf_use = x"yes"; then
64155 for ac_func in _modf
64156 do :
64157 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
64158 if test "x$ac_cv_func__modf" = xyes; then :
64159 cat >>confdefs.h <<_ACEOF
64160 #define HAVE__MODF 1
64161 _ACEOF
64164 done
64173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
64174 $as_echo_n "checking for powf declaration... " >&6; }
64175 if test x${glibcxx_cv_func_powf_use+set} != xset; then
64176 if ${glibcxx_cv_func_powf_use+:} false; then :
64177 $as_echo_n "(cached) " >&6
64178 else
64181 ac_ext=cpp
64182 ac_cpp='$CXXCPP $CPPFLAGS'
64183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64188 /* end confdefs.h. */
64189 #include <math.h>
64191 main ()
64193 powf(0, 0);
64195 return 0;
64197 _ACEOF
64198 if ac_fn_cxx_try_compile "$LINENO"; then :
64199 glibcxx_cv_func_powf_use=yes
64200 else
64201 glibcxx_cv_func_powf_use=no
64203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64204 ac_ext=c
64205 ac_cpp='$CPP $CPPFLAGS'
64206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
64215 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
64217 if test x$glibcxx_cv_func_powf_use = x"yes"; then
64218 for ac_func in powf
64219 do :
64220 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
64221 if test "x$ac_cv_func_powf" = xyes; then :
64222 cat >>confdefs.h <<_ACEOF
64223 #define HAVE_POWF 1
64224 _ACEOF
64227 done
64229 else
64231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
64232 $as_echo_n "checking for _powf declaration... " >&6; }
64233 if test x${glibcxx_cv_func__powf_use+set} != xset; then
64234 if ${glibcxx_cv_func__powf_use+:} false; then :
64235 $as_echo_n "(cached) " >&6
64236 else
64239 ac_ext=cpp
64240 ac_cpp='$CXXCPP $CPPFLAGS'
64241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64246 /* end confdefs.h. */
64247 #include <math.h>
64249 main ()
64251 _powf(0, 0);
64253 return 0;
64255 _ACEOF
64256 if ac_fn_cxx_try_compile "$LINENO"; then :
64257 glibcxx_cv_func__powf_use=yes
64258 else
64259 glibcxx_cv_func__powf_use=no
64261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64262 ac_ext=c
64263 ac_cpp='$CPP $CPPFLAGS'
64264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
64273 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
64275 if test x$glibcxx_cv_func__powf_use = x"yes"; then
64276 for ac_func in _powf
64277 do :
64278 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
64279 if test "x$ac_cv_func__powf" = xyes; then :
64280 cat >>confdefs.h <<_ACEOF
64281 #define HAVE__POWF 1
64282 _ACEOF
64285 done
64294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
64295 $as_echo_n "checking for sqrtf declaration... " >&6; }
64296 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
64297 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
64298 $as_echo_n "(cached) " >&6
64299 else
64302 ac_ext=cpp
64303 ac_cpp='$CXXCPP $CPPFLAGS'
64304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64309 /* end confdefs.h. */
64310 #include <math.h>
64311 #ifdef HAVE_IEEEFP_H
64312 #include <ieeefp.h>
64313 #endif
64316 main ()
64318 sqrtf(0);
64320 return 0;
64322 _ACEOF
64323 if ac_fn_cxx_try_compile "$LINENO"; then :
64324 glibcxx_cv_func_sqrtf_use=yes
64325 else
64326 glibcxx_cv_func_sqrtf_use=no
64328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64329 ac_ext=c
64330 ac_cpp='$CPP $CPPFLAGS'
64331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
64340 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
64342 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
64343 for ac_func in sqrtf
64344 do :
64345 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
64346 if test "x$ac_cv_func_sqrtf" = xyes; then :
64347 cat >>confdefs.h <<_ACEOF
64348 #define HAVE_SQRTF 1
64349 _ACEOF
64352 done
64354 else
64356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
64357 $as_echo_n "checking for _sqrtf declaration... " >&6; }
64358 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
64359 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
64360 $as_echo_n "(cached) " >&6
64361 else
64364 ac_ext=cpp
64365 ac_cpp='$CXXCPP $CPPFLAGS'
64366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64371 /* end confdefs.h. */
64372 #include <math.h>
64373 #ifdef HAVE_IEEEFP_H
64374 #include <ieeefp.h>
64375 #endif
64378 main ()
64380 _sqrtf(0);
64382 return 0;
64384 _ACEOF
64385 if ac_fn_cxx_try_compile "$LINENO"; then :
64386 glibcxx_cv_func__sqrtf_use=yes
64387 else
64388 glibcxx_cv_func__sqrtf_use=no
64390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64391 ac_ext=c
64392 ac_cpp='$CPP $CPPFLAGS'
64393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
64402 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
64404 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
64405 for ac_func in _sqrtf
64406 do :
64407 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
64408 if test "x$ac_cv_func__sqrtf" = xyes; then :
64409 cat >>confdefs.h <<_ACEOF
64410 #define HAVE__SQRTF 1
64411 _ACEOF
64414 done
64423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
64424 $as_echo_n "checking for sincosf declaration... " >&6; }
64425 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
64426 if ${glibcxx_cv_func_sincosf_use+:} false; then :
64427 $as_echo_n "(cached) " >&6
64428 else
64431 ac_ext=cpp
64432 ac_cpp='$CXXCPP $CPPFLAGS'
64433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64438 /* end confdefs.h. */
64439 #include <math.h>
64441 main ()
64443 sincosf(0, 0, 0);
64445 return 0;
64447 _ACEOF
64448 if ac_fn_cxx_try_compile "$LINENO"; then :
64449 glibcxx_cv_func_sincosf_use=yes
64450 else
64451 glibcxx_cv_func_sincosf_use=no
64453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64454 ac_ext=c
64455 ac_cpp='$CPP $CPPFLAGS'
64456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
64465 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
64467 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
64468 for ac_func in sincosf
64469 do :
64470 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
64471 if test "x$ac_cv_func_sincosf" = xyes; then :
64472 cat >>confdefs.h <<_ACEOF
64473 #define HAVE_SINCOSF 1
64474 _ACEOF
64477 done
64479 else
64481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
64482 $as_echo_n "checking for _sincosf declaration... " >&6; }
64483 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
64484 if ${glibcxx_cv_func__sincosf_use+:} false; then :
64485 $as_echo_n "(cached) " >&6
64486 else
64489 ac_ext=cpp
64490 ac_cpp='$CXXCPP $CPPFLAGS'
64491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64496 /* end confdefs.h. */
64497 #include <math.h>
64499 main ()
64501 _sincosf(0, 0, 0);
64503 return 0;
64505 _ACEOF
64506 if ac_fn_cxx_try_compile "$LINENO"; then :
64507 glibcxx_cv_func__sincosf_use=yes
64508 else
64509 glibcxx_cv_func__sincosf_use=no
64511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64512 ac_ext=c
64513 ac_cpp='$CPP $CPPFLAGS'
64514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
64523 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
64525 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
64526 for ac_func in _sincosf
64527 do :
64528 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
64529 if test "x$ac_cv_func__sincosf" = xyes; then :
64530 cat >>confdefs.h <<_ACEOF
64531 #define HAVE__SINCOSF 1
64532 _ACEOF
64535 done
64544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
64545 $as_echo_n "checking for finitef declaration... " >&6; }
64546 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
64547 if ${glibcxx_cv_func_finitef_use+:} false; then :
64548 $as_echo_n "(cached) " >&6
64549 else
64552 ac_ext=cpp
64553 ac_cpp='$CXXCPP $CPPFLAGS'
64554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64559 /* end confdefs.h. */
64560 #include <math.h>
64561 #ifdef HAVE_IEEEFP_H
64562 #include <ieeefp.h>
64563 #endif
64566 main ()
64568 finitef(0);
64570 return 0;
64572 _ACEOF
64573 if ac_fn_cxx_try_compile "$LINENO"; then :
64574 glibcxx_cv_func_finitef_use=yes
64575 else
64576 glibcxx_cv_func_finitef_use=no
64578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64579 ac_ext=c
64580 ac_cpp='$CPP $CPPFLAGS'
64581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
64590 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
64592 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
64593 for ac_func in finitef
64594 do :
64595 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
64596 if test "x$ac_cv_func_finitef" = xyes; then :
64597 cat >>confdefs.h <<_ACEOF
64598 #define HAVE_FINITEF 1
64599 _ACEOF
64602 done
64604 else
64606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
64607 $as_echo_n "checking for _finitef declaration... " >&6; }
64608 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
64609 if ${glibcxx_cv_func__finitef_use+:} false; then :
64610 $as_echo_n "(cached) " >&6
64611 else
64614 ac_ext=cpp
64615 ac_cpp='$CXXCPP $CPPFLAGS'
64616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64621 /* end confdefs.h. */
64622 #include <math.h>
64623 #ifdef HAVE_IEEEFP_H
64624 #include <ieeefp.h>
64625 #endif
64628 main ()
64630 _finitef(0);
64632 return 0;
64634 _ACEOF
64635 if ac_fn_cxx_try_compile "$LINENO"; then :
64636 glibcxx_cv_func__finitef_use=yes
64637 else
64638 glibcxx_cv_func__finitef_use=no
64640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64641 ac_ext=c
64642 ac_cpp='$CPP $CPPFLAGS'
64643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
64652 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
64654 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
64655 for ac_func in _finitef
64656 do :
64657 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
64658 if test "x$ac_cv_func__finitef" = xyes; then :
64659 cat >>confdefs.h <<_ACEOF
64660 #define HAVE__FINITEF 1
64661 _ACEOF
64664 done
64673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
64674 $as_echo_n "checking for long double trig functions... " >&6; }
64675 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
64676 $as_echo_n "(cached) " >&6
64677 else
64680 ac_ext=cpp
64681 ac_cpp='$CXXCPP $CPPFLAGS'
64682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64687 /* end confdefs.h. */
64688 #include <math.h>
64690 main ()
64692 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
64694 return 0;
64696 _ACEOF
64697 if ac_fn_cxx_try_compile "$LINENO"; then :
64698 glibcxx_cv_func_long_double_trig_use=yes
64699 else
64700 glibcxx_cv_func_long_double_trig_use=no
64702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64703 ac_ext=c
64704 ac_cpp='$CPP $CPPFLAGS'
64705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
64712 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
64713 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
64714 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
64715 do :
64716 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64717 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64718 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64719 cat >>confdefs.h <<_ACEOF
64720 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64721 _ACEOF
64724 done
64726 else
64727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
64728 $as_echo_n "checking for _long double trig functions... " >&6; }
64729 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
64730 $as_echo_n "(cached) " >&6
64731 else
64734 ac_ext=cpp
64735 ac_cpp='$CXXCPP $CPPFLAGS'
64736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64741 /* end confdefs.h. */
64742 #include <math.h>
64744 main ()
64746 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
64748 return 0;
64750 _ACEOF
64751 if ac_fn_cxx_try_compile "$LINENO"; then :
64752 glibcxx_cv_func__long_double_trig_use=yes
64753 else
64754 glibcxx_cv_func__long_double_trig_use=no
64756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64757 ac_ext=c
64758 ac_cpp='$CPP $CPPFLAGS'
64759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
64766 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
64767 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
64768 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
64769 do :
64770 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64771 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64772 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64773 cat >>confdefs.h <<_ACEOF
64774 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64775 _ACEOF
64778 done
64787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
64788 $as_echo_n "checking for long double round functions... " >&6; }
64789 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
64790 $as_echo_n "(cached) " >&6
64791 else
64794 ac_ext=cpp
64795 ac_cpp='$CXXCPP $CPPFLAGS'
64796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64801 /* end confdefs.h. */
64802 #include <math.h>
64804 main ()
64806 ceill (0); floorl (0);
64808 return 0;
64810 _ACEOF
64811 if ac_fn_cxx_try_compile "$LINENO"; then :
64812 glibcxx_cv_func_long_double_round_use=yes
64813 else
64814 glibcxx_cv_func_long_double_round_use=no
64816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64817 ac_ext=c
64818 ac_cpp='$CPP $CPPFLAGS'
64819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
64826 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
64827 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
64828 for ac_func in ceill floorl
64829 do :
64830 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64831 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64832 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64833 cat >>confdefs.h <<_ACEOF
64834 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64835 _ACEOF
64838 done
64840 else
64841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
64842 $as_echo_n "checking for _long double round functions... " >&6; }
64843 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
64844 $as_echo_n "(cached) " >&6
64845 else
64848 ac_ext=cpp
64849 ac_cpp='$CXXCPP $CPPFLAGS'
64850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64855 /* end confdefs.h. */
64856 #include <math.h>
64858 main ()
64860 _ceill (0); _floorl (0);
64862 return 0;
64864 _ACEOF
64865 if ac_fn_cxx_try_compile "$LINENO"; then :
64866 glibcxx_cv_func__long_double_round_use=yes
64867 else
64868 glibcxx_cv_func__long_double_round_use=no
64870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64871 ac_ext=c
64872 ac_cpp='$CPP $CPPFLAGS'
64873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
64880 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
64881 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
64882 for ac_func in _ceill _floorl
64883 do :
64884 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64885 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64886 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64887 cat >>confdefs.h <<_ACEOF
64888 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64889 _ACEOF
64892 done
64902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
64903 $as_echo_n "checking for isnanl declaration... " >&6; }
64904 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
64905 if ${glibcxx_cv_func_isnanl_use+:} false; then :
64906 $as_echo_n "(cached) " >&6
64907 else
64910 ac_ext=cpp
64911 ac_cpp='$CXXCPP $CPPFLAGS'
64912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64917 /* end confdefs.h. */
64918 #include <math.h>
64919 #ifdef HAVE_IEEEFP_H
64920 #include <ieeefp.h>
64921 #endif
64924 main ()
64926 isnanl(0);
64928 return 0;
64930 _ACEOF
64931 if ac_fn_cxx_try_compile "$LINENO"; then :
64932 glibcxx_cv_func_isnanl_use=yes
64933 else
64934 glibcxx_cv_func_isnanl_use=no
64936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64937 ac_ext=c
64938 ac_cpp='$CPP $CPPFLAGS'
64939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
64948 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
64950 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
64951 for ac_func in isnanl
64952 do :
64953 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
64954 if test "x$ac_cv_func_isnanl" = xyes; then :
64955 cat >>confdefs.h <<_ACEOF
64956 #define HAVE_ISNANL 1
64957 _ACEOF
64960 done
64962 else
64964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
64965 $as_echo_n "checking for _isnanl declaration... " >&6; }
64966 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
64967 if ${glibcxx_cv_func__isnanl_use+:} false; then :
64968 $as_echo_n "(cached) " >&6
64969 else
64972 ac_ext=cpp
64973 ac_cpp='$CXXCPP $CPPFLAGS'
64974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64979 /* end confdefs.h. */
64980 #include <math.h>
64981 #ifdef HAVE_IEEEFP_H
64982 #include <ieeefp.h>
64983 #endif
64986 main ()
64988 _isnanl(0);
64990 return 0;
64992 _ACEOF
64993 if ac_fn_cxx_try_compile "$LINENO"; then :
64994 glibcxx_cv_func__isnanl_use=yes
64995 else
64996 glibcxx_cv_func__isnanl_use=no
64998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64999 ac_ext=c
65000 ac_cpp='$CPP $CPPFLAGS'
65001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
65010 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
65012 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
65013 for ac_func in _isnanl
65014 do :
65015 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
65016 if test "x$ac_cv_func__isnanl" = xyes; then :
65017 cat >>confdefs.h <<_ACEOF
65018 #define HAVE__ISNANL 1
65019 _ACEOF
65022 done
65031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
65032 $as_echo_n "checking for isinfl declaration... " >&6; }
65033 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
65034 if ${glibcxx_cv_func_isinfl_use+:} false; then :
65035 $as_echo_n "(cached) " >&6
65036 else
65039 ac_ext=cpp
65040 ac_cpp='$CXXCPP $CPPFLAGS'
65041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65046 /* end confdefs.h. */
65047 #include <math.h>
65048 #ifdef HAVE_IEEEFP_H
65049 #include <ieeefp.h>
65050 #endif
65053 main ()
65055 isinfl(0);
65057 return 0;
65059 _ACEOF
65060 if ac_fn_cxx_try_compile "$LINENO"; then :
65061 glibcxx_cv_func_isinfl_use=yes
65062 else
65063 glibcxx_cv_func_isinfl_use=no
65065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65066 ac_ext=c
65067 ac_cpp='$CPP $CPPFLAGS'
65068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
65077 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
65079 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
65080 for ac_func in isinfl
65081 do :
65082 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
65083 if test "x$ac_cv_func_isinfl" = xyes; then :
65084 cat >>confdefs.h <<_ACEOF
65085 #define HAVE_ISINFL 1
65086 _ACEOF
65089 done
65091 else
65093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
65094 $as_echo_n "checking for _isinfl declaration... " >&6; }
65095 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
65096 if ${glibcxx_cv_func__isinfl_use+:} false; then :
65097 $as_echo_n "(cached) " >&6
65098 else
65101 ac_ext=cpp
65102 ac_cpp='$CXXCPP $CPPFLAGS'
65103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65108 /* end confdefs.h. */
65109 #include <math.h>
65110 #ifdef HAVE_IEEEFP_H
65111 #include <ieeefp.h>
65112 #endif
65115 main ()
65117 _isinfl(0);
65119 return 0;
65121 _ACEOF
65122 if ac_fn_cxx_try_compile "$LINENO"; then :
65123 glibcxx_cv_func__isinfl_use=yes
65124 else
65125 glibcxx_cv_func__isinfl_use=no
65127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65128 ac_ext=c
65129 ac_cpp='$CPP $CPPFLAGS'
65130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
65139 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
65141 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
65142 for ac_func in _isinfl
65143 do :
65144 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
65145 if test "x$ac_cv_func__isinfl" = xyes; then :
65146 cat >>confdefs.h <<_ACEOF
65147 #define HAVE__ISINFL 1
65148 _ACEOF
65151 done
65160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
65161 $as_echo_n "checking for atan2l declaration... " >&6; }
65162 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
65163 if ${glibcxx_cv_func_atan2l_use+:} false; then :
65164 $as_echo_n "(cached) " >&6
65165 else
65168 ac_ext=cpp
65169 ac_cpp='$CXXCPP $CPPFLAGS'
65170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65175 /* end confdefs.h. */
65176 #include <math.h>
65178 main ()
65180 atan2l(0, 0);
65182 return 0;
65184 _ACEOF
65185 if ac_fn_cxx_try_compile "$LINENO"; then :
65186 glibcxx_cv_func_atan2l_use=yes
65187 else
65188 glibcxx_cv_func_atan2l_use=no
65190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65191 ac_ext=c
65192 ac_cpp='$CPP $CPPFLAGS'
65193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
65202 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
65204 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
65205 for ac_func in atan2l
65206 do :
65207 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
65208 if test "x$ac_cv_func_atan2l" = xyes; then :
65209 cat >>confdefs.h <<_ACEOF
65210 #define HAVE_ATAN2L 1
65211 _ACEOF
65214 done
65216 else
65218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
65219 $as_echo_n "checking for _atan2l declaration... " >&6; }
65220 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
65221 if ${glibcxx_cv_func__atan2l_use+:} false; then :
65222 $as_echo_n "(cached) " >&6
65223 else
65226 ac_ext=cpp
65227 ac_cpp='$CXXCPP $CPPFLAGS'
65228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65233 /* end confdefs.h. */
65234 #include <math.h>
65236 main ()
65238 _atan2l(0, 0);
65240 return 0;
65242 _ACEOF
65243 if ac_fn_cxx_try_compile "$LINENO"; then :
65244 glibcxx_cv_func__atan2l_use=yes
65245 else
65246 glibcxx_cv_func__atan2l_use=no
65248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65249 ac_ext=c
65250 ac_cpp='$CPP $CPPFLAGS'
65251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
65260 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
65262 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
65263 for ac_func in _atan2l
65264 do :
65265 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
65266 if test "x$ac_cv_func__atan2l" = xyes; then :
65267 cat >>confdefs.h <<_ACEOF
65268 #define HAVE__ATAN2L 1
65269 _ACEOF
65272 done
65281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
65282 $as_echo_n "checking for expl declaration... " >&6; }
65283 if test x${glibcxx_cv_func_expl_use+set} != xset; then
65284 if ${glibcxx_cv_func_expl_use+:} false; then :
65285 $as_echo_n "(cached) " >&6
65286 else
65289 ac_ext=cpp
65290 ac_cpp='$CXXCPP $CPPFLAGS'
65291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65296 /* end confdefs.h. */
65297 #include <math.h>
65298 #ifdef HAVE_IEEEFP_H
65299 #include <ieeefp.h>
65300 #endif
65303 main ()
65305 expl(0);
65307 return 0;
65309 _ACEOF
65310 if ac_fn_cxx_try_compile "$LINENO"; then :
65311 glibcxx_cv_func_expl_use=yes
65312 else
65313 glibcxx_cv_func_expl_use=no
65315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65316 ac_ext=c
65317 ac_cpp='$CPP $CPPFLAGS'
65318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
65327 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
65329 if test x$glibcxx_cv_func_expl_use = x"yes"; then
65330 for ac_func in expl
65331 do :
65332 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
65333 if test "x$ac_cv_func_expl" = xyes; then :
65334 cat >>confdefs.h <<_ACEOF
65335 #define HAVE_EXPL 1
65336 _ACEOF
65339 done
65341 else
65343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
65344 $as_echo_n "checking for _expl declaration... " >&6; }
65345 if test x${glibcxx_cv_func__expl_use+set} != xset; then
65346 if ${glibcxx_cv_func__expl_use+:} false; then :
65347 $as_echo_n "(cached) " >&6
65348 else
65351 ac_ext=cpp
65352 ac_cpp='$CXXCPP $CPPFLAGS'
65353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65358 /* end confdefs.h. */
65359 #include <math.h>
65360 #ifdef HAVE_IEEEFP_H
65361 #include <ieeefp.h>
65362 #endif
65365 main ()
65367 _expl(0);
65369 return 0;
65371 _ACEOF
65372 if ac_fn_cxx_try_compile "$LINENO"; then :
65373 glibcxx_cv_func__expl_use=yes
65374 else
65375 glibcxx_cv_func__expl_use=no
65377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65378 ac_ext=c
65379 ac_cpp='$CPP $CPPFLAGS'
65380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
65389 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
65391 if test x$glibcxx_cv_func__expl_use = x"yes"; then
65392 for ac_func in _expl
65393 do :
65394 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
65395 if test "x$ac_cv_func__expl" = xyes; then :
65396 cat >>confdefs.h <<_ACEOF
65397 #define HAVE__EXPL 1
65398 _ACEOF
65401 done
65410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
65411 $as_echo_n "checking for fabsl declaration... " >&6; }
65412 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
65413 if ${glibcxx_cv_func_fabsl_use+:} false; then :
65414 $as_echo_n "(cached) " >&6
65415 else
65418 ac_ext=cpp
65419 ac_cpp='$CXXCPP $CPPFLAGS'
65420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65425 /* end confdefs.h. */
65426 #include <math.h>
65427 #ifdef HAVE_IEEEFP_H
65428 #include <ieeefp.h>
65429 #endif
65432 main ()
65434 fabsl(0);
65436 return 0;
65438 _ACEOF
65439 if ac_fn_cxx_try_compile "$LINENO"; then :
65440 glibcxx_cv_func_fabsl_use=yes
65441 else
65442 glibcxx_cv_func_fabsl_use=no
65444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65445 ac_ext=c
65446 ac_cpp='$CPP $CPPFLAGS'
65447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
65456 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
65458 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
65459 for ac_func in fabsl
65460 do :
65461 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
65462 if test "x$ac_cv_func_fabsl" = xyes; then :
65463 cat >>confdefs.h <<_ACEOF
65464 #define HAVE_FABSL 1
65465 _ACEOF
65468 done
65470 else
65472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
65473 $as_echo_n "checking for _fabsl declaration... " >&6; }
65474 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
65475 if ${glibcxx_cv_func__fabsl_use+:} false; then :
65476 $as_echo_n "(cached) " >&6
65477 else
65480 ac_ext=cpp
65481 ac_cpp='$CXXCPP $CPPFLAGS'
65482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65487 /* end confdefs.h. */
65488 #include <math.h>
65489 #ifdef HAVE_IEEEFP_H
65490 #include <ieeefp.h>
65491 #endif
65494 main ()
65496 _fabsl(0);
65498 return 0;
65500 _ACEOF
65501 if ac_fn_cxx_try_compile "$LINENO"; then :
65502 glibcxx_cv_func__fabsl_use=yes
65503 else
65504 glibcxx_cv_func__fabsl_use=no
65506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65507 ac_ext=c
65508 ac_cpp='$CPP $CPPFLAGS'
65509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
65518 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
65520 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
65521 for ac_func in _fabsl
65522 do :
65523 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
65524 if test "x$ac_cv_func__fabsl" = xyes; then :
65525 cat >>confdefs.h <<_ACEOF
65526 #define HAVE__FABSL 1
65527 _ACEOF
65530 done
65539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
65540 $as_echo_n "checking for fmodl declaration... " >&6; }
65541 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
65542 if ${glibcxx_cv_func_fmodl_use+:} false; then :
65543 $as_echo_n "(cached) " >&6
65544 else
65547 ac_ext=cpp
65548 ac_cpp='$CXXCPP $CPPFLAGS'
65549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65554 /* end confdefs.h. */
65555 #include <math.h>
65557 main ()
65559 fmodl(0, 0);
65561 return 0;
65563 _ACEOF
65564 if ac_fn_cxx_try_compile "$LINENO"; then :
65565 glibcxx_cv_func_fmodl_use=yes
65566 else
65567 glibcxx_cv_func_fmodl_use=no
65569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65570 ac_ext=c
65571 ac_cpp='$CPP $CPPFLAGS'
65572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
65581 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
65583 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
65584 for ac_func in fmodl
65585 do :
65586 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
65587 if test "x$ac_cv_func_fmodl" = xyes; then :
65588 cat >>confdefs.h <<_ACEOF
65589 #define HAVE_FMODL 1
65590 _ACEOF
65593 done
65595 else
65597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
65598 $as_echo_n "checking for _fmodl declaration... " >&6; }
65599 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
65600 if ${glibcxx_cv_func__fmodl_use+:} false; then :
65601 $as_echo_n "(cached) " >&6
65602 else
65605 ac_ext=cpp
65606 ac_cpp='$CXXCPP $CPPFLAGS'
65607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65612 /* end confdefs.h. */
65613 #include <math.h>
65615 main ()
65617 _fmodl(0, 0);
65619 return 0;
65621 _ACEOF
65622 if ac_fn_cxx_try_compile "$LINENO"; then :
65623 glibcxx_cv_func__fmodl_use=yes
65624 else
65625 glibcxx_cv_func__fmodl_use=no
65627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65628 ac_ext=c
65629 ac_cpp='$CPP $CPPFLAGS'
65630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
65639 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
65641 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
65642 for ac_func in _fmodl
65643 do :
65644 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
65645 if test "x$ac_cv_func__fmodl" = xyes; then :
65646 cat >>confdefs.h <<_ACEOF
65647 #define HAVE__FMODL 1
65648 _ACEOF
65651 done
65660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
65661 $as_echo_n "checking for frexpl declaration... " >&6; }
65662 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
65663 if ${glibcxx_cv_func_frexpl_use+:} false; then :
65664 $as_echo_n "(cached) " >&6
65665 else
65668 ac_ext=cpp
65669 ac_cpp='$CXXCPP $CPPFLAGS'
65670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65675 /* end confdefs.h. */
65676 #include <math.h>
65678 main ()
65680 frexpl(0, 0);
65682 return 0;
65684 _ACEOF
65685 if ac_fn_cxx_try_compile "$LINENO"; then :
65686 glibcxx_cv_func_frexpl_use=yes
65687 else
65688 glibcxx_cv_func_frexpl_use=no
65690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65691 ac_ext=c
65692 ac_cpp='$CPP $CPPFLAGS'
65693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
65702 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
65704 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
65705 for ac_func in frexpl
65706 do :
65707 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
65708 if test "x$ac_cv_func_frexpl" = xyes; then :
65709 cat >>confdefs.h <<_ACEOF
65710 #define HAVE_FREXPL 1
65711 _ACEOF
65714 done
65716 else
65718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
65719 $as_echo_n "checking for _frexpl declaration... " >&6; }
65720 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
65721 if ${glibcxx_cv_func__frexpl_use+:} false; then :
65722 $as_echo_n "(cached) " >&6
65723 else
65726 ac_ext=cpp
65727 ac_cpp='$CXXCPP $CPPFLAGS'
65728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65733 /* end confdefs.h. */
65734 #include <math.h>
65736 main ()
65738 _frexpl(0, 0);
65740 return 0;
65742 _ACEOF
65743 if ac_fn_cxx_try_compile "$LINENO"; then :
65744 glibcxx_cv_func__frexpl_use=yes
65745 else
65746 glibcxx_cv_func__frexpl_use=no
65748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65749 ac_ext=c
65750 ac_cpp='$CPP $CPPFLAGS'
65751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
65760 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
65762 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
65763 for ac_func in _frexpl
65764 do :
65765 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
65766 if test "x$ac_cv_func__frexpl" = xyes; then :
65767 cat >>confdefs.h <<_ACEOF
65768 #define HAVE__FREXPL 1
65769 _ACEOF
65772 done
65781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
65782 $as_echo_n "checking for hypotl declaration... " >&6; }
65783 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
65784 if ${glibcxx_cv_func_hypotl_use+:} false; then :
65785 $as_echo_n "(cached) " >&6
65786 else
65789 ac_ext=cpp
65790 ac_cpp='$CXXCPP $CPPFLAGS'
65791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65796 /* end confdefs.h. */
65797 #include <math.h>
65799 main ()
65801 hypotl(0, 0);
65803 return 0;
65805 _ACEOF
65806 if ac_fn_cxx_try_compile "$LINENO"; then :
65807 glibcxx_cv_func_hypotl_use=yes
65808 else
65809 glibcxx_cv_func_hypotl_use=no
65811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65812 ac_ext=c
65813 ac_cpp='$CPP $CPPFLAGS'
65814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
65823 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
65825 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
65826 for ac_func in hypotl
65827 do :
65828 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
65829 if test "x$ac_cv_func_hypotl" = xyes; then :
65830 cat >>confdefs.h <<_ACEOF
65831 #define HAVE_HYPOTL 1
65832 _ACEOF
65835 done
65837 else
65839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
65840 $as_echo_n "checking for _hypotl declaration... " >&6; }
65841 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
65842 if ${glibcxx_cv_func__hypotl_use+:} false; then :
65843 $as_echo_n "(cached) " >&6
65844 else
65847 ac_ext=cpp
65848 ac_cpp='$CXXCPP $CPPFLAGS'
65849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65854 /* end confdefs.h. */
65855 #include <math.h>
65857 main ()
65859 _hypotl(0, 0);
65861 return 0;
65863 _ACEOF
65864 if ac_fn_cxx_try_compile "$LINENO"; then :
65865 glibcxx_cv_func__hypotl_use=yes
65866 else
65867 glibcxx_cv_func__hypotl_use=no
65869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65870 ac_ext=c
65871 ac_cpp='$CPP $CPPFLAGS'
65872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
65881 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
65883 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
65884 for ac_func in _hypotl
65885 do :
65886 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
65887 if test "x$ac_cv_func__hypotl" = xyes; then :
65888 cat >>confdefs.h <<_ACEOF
65889 #define HAVE__HYPOTL 1
65890 _ACEOF
65893 done
65902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
65903 $as_echo_n "checking for ldexpl declaration... " >&6; }
65904 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
65905 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
65906 $as_echo_n "(cached) " >&6
65907 else
65910 ac_ext=cpp
65911 ac_cpp='$CXXCPP $CPPFLAGS'
65912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65917 /* end confdefs.h. */
65918 #include <math.h>
65920 main ()
65922 ldexpl(0, 0);
65924 return 0;
65926 _ACEOF
65927 if ac_fn_cxx_try_compile "$LINENO"; then :
65928 glibcxx_cv_func_ldexpl_use=yes
65929 else
65930 glibcxx_cv_func_ldexpl_use=no
65932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65933 ac_ext=c
65934 ac_cpp='$CPP $CPPFLAGS'
65935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
65944 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
65946 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
65947 for ac_func in ldexpl
65948 do :
65949 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
65950 if test "x$ac_cv_func_ldexpl" = xyes; then :
65951 cat >>confdefs.h <<_ACEOF
65952 #define HAVE_LDEXPL 1
65953 _ACEOF
65956 done
65958 else
65960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
65961 $as_echo_n "checking for _ldexpl declaration... " >&6; }
65962 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
65963 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
65964 $as_echo_n "(cached) " >&6
65965 else
65968 ac_ext=cpp
65969 ac_cpp='$CXXCPP $CPPFLAGS'
65970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65975 /* end confdefs.h. */
65976 #include <math.h>
65978 main ()
65980 _ldexpl(0, 0);
65982 return 0;
65984 _ACEOF
65985 if ac_fn_cxx_try_compile "$LINENO"; then :
65986 glibcxx_cv_func__ldexpl_use=yes
65987 else
65988 glibcxx_cv_func__ldexpl_use=no
65990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65991 ac_ext=c
65992 ac_cpp='$CPP $CPPFLAGS'
65993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
66002 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
66004 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
66005 for ac_func in _ldexpl
66006 do :
66007 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
66008 if test "x$ac_cv_func__ldexpl" = xyes; then :
66009 cat >>confdefs.h <<_ACEOF
66010 #define HAVE__LDEXPL 1
66011 _ACEOF
66014 done
66023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
66024 $as_echo_n "checking for logl declaration... " >&6; }
66025 if test x${glibcxx_cv_func_logl_use+set} != xset; then
66026 if ${glibcxx_cv_func_logl_use+:} false; then :
66027 $as_echo_n "(cached) " >&6
66028 else
66031 ac_ext=cpp
66032 ac_cpp='$CXXCPP $CPPFLAGS'
66033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66038 /* end confdefs.h. */
66039 #include <math.h>
66040 #ifdef HAVE_IEEEFP_H
66041 #include <ieeefp.h>
66042 #endif
66045 main ()
66047 logl(0);
66049 return 0;
66051 _ACEOF
66052 if ac_fn_cxx_try_compile "$LINENO"; then :
66053 glibcxx_cv_func_logl_use=yes
66054 else
66055 glibcxx_cv_func_logl_use=no
66057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66058 ac_ext=c
66059 ac_cpp='$CPP $CPPFLAGS'
66060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
66069 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
66071 if test x$glibcxx_cv_func_logl_use = x"yes"; then
66072 for ac_func in logl
66073 do :
66074 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
66075 if test "x$ac_cv_func_logl" = xyes; then :
66076 cat >>confdefs.h <<_ACEOF
66077 #define HAVE_LOGL 1
66078 _ACEOF
66081 done
66083 else
66085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
66086 $as_echo_n "checking for _logl declaration... " >&6; }
66087 if test x${glibcxx_cv_func__logl_use+set} != xset; then
66088 if ${glibcxx_cv_func__logl_use+:} false; then :
66089 $as_echo_n "(cached) " >&6
66090 else
66093 ac_ext=cpp
66094 ac_cpp='$CXXCPP $CPPFLAGS'
66095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66100 /* end confdefs.h. */
66101 #include <math.h>
66102 #ifdef HAVE_IEEEFP_H
66103 #include <ieeefp.h>
66104 #endif
66107 main ()
66109 _logl(0);
66111 return 0;
66113 _ACEOF
66114 if ac_fn_cxx_try_compile "$LINENO"; then :
66115 glibcxx_cv_func__logl_use=yes
66116 else
66117 glibcxx_cv_func__logl_use=no
66119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66120 ac_ext=c
66121 ac_cpp='$CPP $CPPFLAGS'
66122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
66131 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
66133 if test x$glibcxx_cv_func__logl_use = x"yes"; then
66134 for ac_func in _logl
66135 do :
66136 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
66137 if test "x$ac_cv_func__logl" = xyes; then :
66138 cat >>confdefs.h <<_ACEOF
66139 #define HAVE__LOGL 1
66140 _ACEOF
66143 done
66152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
66153 $as_echo_n "checking for log10l declaration... " >&6; }
66154 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
66155 if ${glibcxx_cv_func_log10l_use+:} false; then :
66156 $as_echo_n "(cached) " >&6
66157 else
66160 ac_ext=cpp
66161 ac_cpp='$CXXCPP $CPPFLAGS'
66162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66167 /* end confdefs.h. */
66168 #include <math.h>
66169 #ifdef HAVE_IEEEFP_H
66170 #include <ieeefp.h>
66171 #endif
66174 main ()
66176 log10l(0);
66178 return 0;
66180 _ACEOF
66181 if ac_fn_cxx_try_compile "$LINENO"; then :
66182 glibcxx_cv_func_log10l_use=yes
66183 else
66184 glibcxx_cv_func_log10l_use=no
66186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66187 ac_ext=c
66188 ac_cpp='$CPP $CPPFLAGS'
66189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
66198 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
66200 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
66201 for ac_func in log10l
66202 do :
66203 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
66204 if test "x$ac_cv_func_log10l" = xyes; then :
66205 cat >>confdefs.h <<_ACEOF
66206 #define HAVE_LOG10L 1
66207 _ACEOF
66210 done
66212 else
66214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
66215 $as_echo_n "checking for _log10l declaration... " >&6; }
66216 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
66217 if ${glibcxx_cv_func__log10l_use+:} false; then :
66218 $as_echo_n "(cached) " >&6
66219 else
66222 ac_ext=cpp
66223 ac_cpp='$CXXCPP $CPPFLAGS'
66224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66229 /* end confdefs.h. */
66230 #include <math.h>
66231 #ifdef HAVE_IEEEFP_H
66232 #include <ieeefp.h>
66233 #endif
66236 main ()
66238 _log10l(0);
66240 return 0;
66242 _ACEOF
66243 if ac_fn_cxx_try_compile "$LINENO"; then :
66244 glibcxx_cv_func__log10l_use=yes
66245 else
66246 glibcxx_cv_func__log10l_use=no
66248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66249 ac_ext=c
66250 ac_cpp='$CPP $CPPFLAGS'
66251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
66260 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
66262 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
66263 for ac_func in _log10l
66264 do :
66265 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
66266 if test "x$ac_cv_func__log10l" = xyes; then :
66267 cat >>confdefs.h <<_ACEOF
66268 #define HAVE__LOG10L 1
66269 _ACEOF
66272 done
66281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
66282 $as_echo_n "checking for modfl declaration... " >&6; }
66283 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
66284 if ${glibcxx_cv_func_modfl_use+:} false; then :
66285 $as_echo_n "(cached) " >&6
66286 else
66289 ac_ext=cpp
66290 ac_cpp='$CXXCPP $CPPFLAGS'
66291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66296 /* end confdefs.h. */
66297 #include <math.h>
66299 main ()
66301 modfl(0, 0);
66303 return 0;
66305 _ACEOF
66306 if ac_fn_cxx_try_compile "$LINENO"; then :
66307 glibcxx_cv_func_modfl_use=yes
66308 else
66309 glibcxx_cv_func_modfl_use=no
66311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66312 ac_ext=c
66313 ac_cpp='$CPP $CPPFLAGS'
66314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
66323 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
66325 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
66326 for ac_func in modfl
66327 do :
66328 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
66329 if test "x$ac_cv_func_modfl" = xyes; then :
66330 cat >>confdefs.h <<_ACEOF
66331 #define HAVE_MODFL 1
66332 _ACEOF
66335 done
66337 else
66339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
66340 $as_echo_n "checking for _modfl declaration... " >&6; }
66341 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
66342 if ${glibcxx_cv_func__modfl_use+:} false; then :
66343 $as_echo_n "(cached) " >&6
66344 else
66347 ac_ext=cpp
66348 ac_cpp='$CXXCPP $CPPFLAGS'
66349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66354 /* end confdefs.h. */
66355 #include <math.h>
66357 main ()
66359 _modfl(0, 0);
66361 return 0;
66363 _ACEOF
66364 if ac_fn_cxx_try_compile "$LINENO"; then :
66365 glibcxx_cv_func__modfl_use=yes
66366 else
66367 glibcxx_cv_func__modfl_use=no
66369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66370 ac_ext=c
66371 ac_cpp='$CPP $CPPFLAGS'
66372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
66381 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
66383 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
66384 for ac_func in _modfl
66385 do :
66386 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
66387 if test "x$ac_cv_func__modfl" = xyes; then :
66388 cat >>confdefs.h <<_ACEOF
66389 #define HAVE__MODFL 1
66390 _ACEOF
66393 done
66402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
66403 $as_echo_n "checking for powl declaration... " >&6; }
66404 if test x${glibcxx_cv_func_powl_use+set} != xset; then
66405 if ${glibcxx_cv_func_powl_use+:} false; then :
66406 $as_echo_n "(cached) " >&6
66407 else
66410 ac_ext=cpp
66411 ac_cpp='$CXXCPP $CPPFLAGS'
66412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66417 /* end confdefs.h. */
66418 #include <math.h>
66420 main ()
66422 powl(0, 0);
66424 return 0;
66426 _ACEOF
66427 if ac_fn_cxx_try_compile "$LINENO"; then :
66428 glibcxx_cv_func_powl_use=yes
66429 else
66430 glibcxx_cv_func_powl_use=no
66432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66433 ac_ext=c
66434 ac_cpp='$CPP $CPPFLAGS'
66435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
66444 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
66446 if test x$glibcxx_cv_func_powl_use = x"yes"; then
66447 for ac_func in powl
66448 do :
66449 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
66450 if test "x$ac_cv_func_powl" = xyes; then :
66451 cat >>confdefs.h <<_ACEOF
66452 #define HAVE_POWL 1
66453 _ACEOF
66456 done
66458 else
66460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
66461 $as_echo_n "checking for _powl declaration... " >&6; }
66462 if test x${glibcxx_cv_func__powl_use+set} != xset; then
66463 if ${glibcxx_cv_func__powl_use+:} false; then :
66464 $as_echo_n "(cached) " >&6
66465 else
66468 ac_ext=cpp
66469 ac_cpp='$CXXCPP $CPPFLAGS'
66470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66475 /* end confdefs.h. */
66476 #include <math.h>
66478 main ()
66480 _powl(0, 0);
66482 return 0;
66484 _ACEOF
66485 if ac_fn_cxx_try_compile "$LINENO"; then :
66486 glibcxx_cv_func__powl_use=yes
66487 else
66488 glibcxx_cv_func__powl_use=no
66490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66491 ac_ext=c
66492 ac_cpp='$CPP $CPPFLAGS'
66493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
66502 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
66504 if test x$glibcxx_cv_func__powl_use = x"yes"; then
66505 for ac_func in _powl
66506 do :
66507 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
66508 if test "x$ac_cv_func__powl" = xyes; then :
66509 cat >>confdefs.h <<_ACEOF
66510 #define HAVE__POWL 1
66511 _ACEOF
66514 done
66523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
66524 $as_echo_n "checking for sqrtl declaration... " >&6; }
66525 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
66526 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
66527 $as_echo_n "(cached) " >&6
66528 else
66531 ac_ext=cpp
66532 ac_cpp='$CXXCPP $CPPFLAGS'
66533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66538 /* end confdefs.h. */
66539 #include <math.h>
66540 #ifdef HAVE_IEEEFP_H
66541 #include <ieeefp.h>
66542 #endif
66545 main ()
66547 sqrtl(0);
66549 return 0;
66551 _ACEOF
66552 if ac_fn_cxx_try_compile "$LINENO"; then :
66553 glibcxx_cv_func_sqrtl_use=yes
66554 else
66555 glibcxx_cv_func_sqrtl_use=no
66557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66558 ac_ext=c
66559 ac_cpp='$CPP $CPPFLAGS'
66560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
66569 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
66571 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
66572 for ac_func in sqrtl
66573 do :
66574 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
66575 if test "x$ac_cv_func_sqrtl" = xyes; then :
66576 cat >>confdefs.h <<_ACEOF
66577 #define HAVE_SQRTL 1
66578 _ACEOF
66581 done
66583 else
66585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
66586 $as_echo_n "checking for _sqrtl declaration... " >&6; }
66587 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
66588 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
66589 $as_echo_n "(cached) " >&6
66590 else
66593 ac_ext=cpp
66594 ac_cpp='$CXXCPP $CPPFLAGS'
66595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66600 /* end confdefs.h. */
66601 #include <math.h>
66602 #ifdef HAVE_IEEEFP_H
66603 #include <ieeefp.h>
66604 #endif
66607 main ()
66609 _sqrtl(0);
66611 return 0;
66613 _ACEOF
66614 if ac_fn_cxx_try_compile "$LINENO"; then :
66615 glibcxx_cv_func__sqrtl_use=yes
66616 else
66617 glibcxx_cv_func__sqrtl_use=no
66619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66620 ac_ext=c
66621 ac_cpp='$CPP $CPPFLAGS'
66622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
66631 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
66633 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
66634 for ac_func in _sqrtl
66635 do :
66636 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
66637 if test "x$ac_cv_func__sqrtl" = xyes; then :
66638 cat >>confdefs.h <<_ACEOF
66639 #define HAVE__SQRTL 1
66640 _ACEOF
66643 done
66652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
66653 $as_echo_n "checking for sincosl declaration... " >&6; }
66654 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
66655 if ${glibcxx_cv_func_sincosl_use+:} false; then :
66656 $as_echo_n "(cached) " >&6
66657 else
66660 ac_ext=cpp
66661 ac_cpp='$CXXCPP $CPPFLAGS'
66662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66667 /* end confdefs.h. */
66668 #include <math.h>
66670 main ()
66672 sincosl(0, 0, 0);
66674 return 0;
66676 _ACEOF
66677 if ac_fn_cxx_try_compile "$LINENO"; then :
66678 glibcxx_cv_func_sincosl_use=yes
66679 else
66680 glibcxx_cv_func_sincosl_use=no
66682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66683 ac_ext=c
66684 ac_cpp='$CPP $CPPFLAGS'
66685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
66694 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
66696 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
66697 for ac_func in sincosl
66698 do :
66699 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
66700 if test "x$ac_cv_func_sincosl" = xyes; then :
66701 cat >>confdefs.h <<_ACEOF
66702 #define HAVE_SINCOSL 1
66703 _ACEOF
66706 done
66708 else
66710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
66711 $as_echo_n "checking for _sincosl declaration... " >&6; }
66712 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
66713 if ${glibcxx_cv_func__sincosl_use+:} false; then :
66714 $as_echo_n "(cached) " >&6
66715 else
66718 ac_ext=cpp
66719 ac_cpp='$CXXCPP $CPPFLAGS'
66720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66725 /* end confdefs.h. */
66726 #include <math.h>
66728 main ()
66730 _sincosl(0, 0, 0);
66732 return 0;
66734 _ACEOF
66735 if ac_fn_cxx_try_compile "$LINENO"; then :
66736 glibcxx_cv_func__sincosl_use=yes
66737 else
66738 glibcxx_cv_func__sincosl_use=no
66740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66741 ac_ext=c
66742 ac_cpp='$CPP $CPPFLAGS'
66743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
66752 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
66754 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
66755 for ac_func in _sincosl
66756 do :
66757 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
66758 if test "x$ac_cv_func__sincosl" = xyes; then :
66759 cat >>confdefs.h <<_ACEOF
66760 #define HAVE__SINCOSL 1
66761 _ACEOF
66764 done
66773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
66774 $as_echo_n "checking for finitel declaration... " >&6; }
66775 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
66776 if ${glibcxx_cv_func_finitel_use+:} false; then :
66777 $as_echo_n "(cached) " >&6
66778 else
66781 ac_ext=cpp
66782 ac_cpp='$CXXCPP $CPPFLAGS'
66783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66788 /* end confdefs.h. */
66789 #include <math.h>
66790 #ifdef HAVE_IEEEFP_H
66791 #include <ieeefp.h>
66792 #endif
66795 main ()
66797 finitel(0);
66799 return 0;
66801 _ACEOF
66802 if ac_fn_cxx_try_compile "$LINENO"; then :
66803 glibcxx_cv_func_finitel_use=yes
66804 else
66805 glibcxx_cv_func_finitel_use=no
66807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66808 ac_ext=c
66809 ac_cpp='$CPP $CPPFLAGS'
66810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
66819 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
66821 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
66822 for ac_func in finitel
66823 do :
66824 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
66825 if test "x$ac_cv_func_finitel" = xyes; then :
66826 cat >>confdefs.h <<_ACEOF
66827 #define HAVE_FINITEL 1
66828 _ACEOF
66831 done
66833 else
66835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
66836 $as_echo_n "checking for _finitel declaration... " >&6; }
66837 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
66838 if ${glibcxx_cv_func__finitel_use+:} false; then :
66839 $as_echo_n "(cached) " >&6
66840 else
66843 ac_ext=cpp
66844 ac_cpp='$CXXCPP $CPPFLAGS'
66845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66850 /* end confdefs.h. */
66851 #include <math.h>
66852 #ifdef HAVE_IEEEFP_H
66853 #include <ieeefp.h>
66854 #endif
66857 main ()
66859 _finitel(0);
66861 return 0;
66863 _ACEOF
66864 if ac_fn_cxx_try_compile "$LINENO"; then :
66865 glibcxx_cv_func__finitel_use=yes
66866 else
66867 glibcxx_cv_func__finitel_use=no
66869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66870 ac_ext=c
66871 ac_cpp='$CPP $CPPFLAGS'
66872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
66881 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
66883 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
66884 for ac_func in _finitel
66885 do :
66886 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
66887 if test "x$ac_cv_func__finitel" = xyes; then :
66888 cat >>confdefs.h <<_ACEOF
66889 #define HAVE__FINITEL 1
66890 _ACEOF
66893 done
66901 LIBS="$ac_save_LIBS"
66902 CXXFLAGS="$ac_save_CXXFLAGS"
66905 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66906 ac_save_CXXFLAGS="$CXXFLAGS"
66907 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
66911 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
66912 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
66913 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
66914 $as_echo_n "(cached) " >&6
66915 else
66918 ac_ext=cpp
66919 ac_cpp='$CXXCPP $CPPFLAGS'
66920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66925 /* end confdefs.h. */
66926 #include <stdlib.h>
66928 main ()
66930 at_quick_exit(0);
66932 return 0;
66934 _ACEOF
66935 if ac_fn_cxx_try_compile "$LINENO"; then :
66936 glibcxx_cv_func_at_quick_exit_use=yes
66937 else
66938 glibcxx_cv_func_at_quick_exit_use=no
66940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66941 ac_ext=c
66942 ac_cpp='$CPP $CPPFLAGS'
66943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
66952 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
66953 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
66954 for ac_func in at_quick_exit
66955 do :
66956 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
66957 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
66958 cat >>confdefs.h <<_ACEOF
66959 #define HAVE_AT_QUICK_EXIT 1
66960 _ACEOF
66963 done
66968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
66969 $as_echo_n "checking for quick_exit declaration... " >&6; }
66970 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
66971 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
66972 $as_echo_n "(cached) " >&6
66973 else
66976 ac_ext=cpp
66977 ac_cpp='$CXXCPP $CPPFLAGS'
66978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66983 /* end confdefs.h. */
66984 #include <stdlib.h>
66986 main ()
66988 quick_exit(0);
66990 return 0;
66992 _ACEOF
66993 if ac_fn_cxx_try_compile "$LINENO"; then :
66994 glibcxx_cv_func_quick_exit_use=yes
66995 else
66996 glibcxx_cv_func_quick_exit_use=no
66998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66999 ac_ext=c
67000 ac_cpp='$CPP $CPPFLAGS'
67001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
67010 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
67011 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
67012 for ac_func in quick_exit
67013 do :
67014 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
67015 if test "x$ac_cv_func_quick_exit" = xyes; then :
67016 cat >>confdefs.h <<_ACEOF
67017 #define HAVE_QUICK_EXIT 1
67018 _ACEOF
67021 done
67026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
67027 $as_echo_n "checking for strtold declaration... " >&6; }
67028 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
67029 if ${glibcxx_cv_func_strtold_use+:} false; then :
67030 $as_echo_n "(cached) " >&6
67031 else
67034 ac_ext=cpp
67035 ac_cpp='$CXXCPP $CPPFLAGS'
67036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67041 /* end confdefs.h. */
67042 #include <stdlib.h>
67044 main ()
67046 strtold(0, 0);
67048 return 0;
67050 _ACEOF
67051 if ac_fn_cxx_try_compile "$LINENO"; then :
67052 glibcxx_cv_func_strtold_use=yes
67053 else
67054 glibcxx_cv_func_strtold_use=no
67056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67057 ac_ext=c
67058 ac_cpp='$CPP $CPPFLAGS'
67059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
67068 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
67069 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
67070 for ac_func in strtold
67071 do :
67072 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
67073 if test "x$ac_cv_func_strtold" = xyes; then :
67074 cat >>confdefs.h <<_ACEOF
67075 #define HAVE_STRTOLD 1
67076 _ACEOF
67079 done
67086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
67087 $as_echo_n "checking for strtof declaration... " >&6; }
67088 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
67089 if ${glibcxx_cv_func_strtof_use+:} false; then :
67090 $as_echo_n "(cached) " >&6
67091 else
67094 ac_ext=cpp
67095 ac_cpp='$CXXCPP $CPPFLAGS'
67096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67101 /* end confdefs.h. */
67102 #include <stdlib.h>
67104 main ()
67106 strtof(0, 0);
67108 return 0;
67110 _ACEOF
67111 if ac_fn_cxx_try_compile "$LINENO"; then :
67112 glibcxx_cv_func_strtof_use=yes
67113 else
67114 glibcxx_cv_func_strtof_use=no
67116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67117 ac_ext=c
67118 ac_cpp='$CPP $CPPFLAGS'
67119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
67128 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
67129 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
67130 for ac_func in strtof
67131 do :
67132 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
67133 if test "x$ac_cv_func_strtof" = xyes; then :
67134 cat >>confdefs.h <<_ACEOF
67135 #define HAVE_STRTOF 1
67136 _ACEOF
67139 done
67146 CXXFLAGS="$ac_save_CXXFLAGS"
67149 *-tpf)
67150 SECTION_FLAGS='-ffunction-sections -fdata-sections'
67151 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
67153 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
67155 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
67157 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
67159 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
67161 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
67163 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
67165 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
67167 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
67169 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
67171 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
67173 if test x"long_double_math_on_this_cpu" = x"yes"; then
67174 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
67176 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
67178 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
67180 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
67184 *-*vms*)
67185 # Check for available headers.
67186 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
67188 ac_test_CXXFLAGS="${CXXFLAGS+set}"
67189 ac_save_CXXFLAGS="$CXXFLAGS"
67190 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
67192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
67193 $as_echo_n "checking for sin in -lm... " >&6; }
67194 if ${ac_cv_lib_m_sin+:} false; then :
67195 $as_echo_n "(cached) " >&6
67196 else
67197 ac_check_lib_save_LIBS=$LIBS
67198 LIBS="-lm $LIBS"
67199 if test x$gcc_no_link = xyes; then
67200 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
67202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67203 /* end confdefs.h. */
67205 /* Override any GCC internal prototype to avoid an error.
67206 Use char because int might match the return type of a GCC
67207 builtin and then its argument prototype would still apply. */
67208 #ifdef __cplusplus
67209 extern "C"
67210 #endif
67211 char sin ();
67213 main ()
67215 return sin ();
67217 return 0;
67219 _ACEOF
67220 if ac_fn_c_try_link "$LINENO"; then :
67221 ac_cv_lib_m_sin=yes
67222 else
67223 ac_cv_lib_m_sin=no
67225 rm -f core conftest.err conftest.$ac_objext \
67226 conftest$ac_exeext conftest.$ac_ext
67227 LIBS=$ac_check_lib_save_LIBS
67229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
67230 $as_echo "$ac_cv_lib_m_sin" >&6; }
67231 if test "x$ac_cv_lib_m_sin" = xyes; then :
67232 libm="-lm"
67235 ac_save_LIBS="$LIBS"
67236 LIBS="$LIBS $libm"
67240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
67241 $as_echo_n "checking for isinf declaration... " >&6; }
67242 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
67243 if ${glibcxx_cv_func_isinf_use+:} false; then :
67244 $as_echo_n "(cached) " >&6
67245 else
67248 ac_ext=cpp
67249 ac_cpp='$CXXCPP $CPPFLAGS'
67250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67255 /* end confdefs.h. */
67256 #include <math.h>
67257 #ifdef HAVE_IEEEFP_H
67258 #include <ieeefp.h>
67259 #endif
67262 main ()
67264 isinf(0);
67266 return 0;
67268 _ACEOF
67269 if ac_fn_cxx_try_compile "$LINENO"; then :
67270 glibcxx_cv_func_isinf_use=yes
67271 else
67272 glibcxx_cv_func_isinf_use=no
67274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67275 ac_ext=c
67276 ac_cpp='$CPP $CPPFLAGS'
67277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
67286 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
67288 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
67289 for ac_func in isinf
67290 do :
67291 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
67292 if test "x$ac_cv_func_isinf" = xyes; then :
67293 cat >>confdefs.h <<_ACEOF
67294 #define HAVE_ISINF 1
67295 _ACEOF
67298 done
67300 else
67302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
67303 $as_echo_n "checking for _isinf declaration... " >&6; }
67304 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
67305 if ${glibcxx_cv_func__isinf_use+:} false; then :
67306 $as_echo_n "(cached) " >&6
67307 else
67310 ac_ext=cpp
67311 ac_cpp='$CXXCPP $CPPFLAGS'
67312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67317 /* end confdefs.h. */
67318 #include <math.h>
67319 #ifdef HAVE_IEEEFP_H
67320 #include <ieeefp.h>
67321 #endif
67324 main ()
67326 _isinf(0);
67328 return 0;
67330 _ACEOF
67331 if ac_fn_cxx_try_compile "$LINENO"; then :
67332 glibcxx_cv_func__isinf_use=yes
67333 else
67334 glibcxx_cv_func__isinf_use=no
67336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67337 ac_ext=c
67338 ac_cpp='$CPP $CPPFLAGS'
67339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
67348 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
67350 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
67351 for ac_func in _isinf
67352 do :
67353 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
67354 if test "x$ac_cv_func__isinf" = xyes; then :
67355 cat >>confdefs.h <<_ACEOF
67356 #define HAVE__ISINF 1
67357 _ACEOF
67360 done
67369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
67370 $as_echo_n "checking for isnan declaration... " >&6; }
67371 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
67372 if ${glibcxx_cv_func_isnan_use+:} false; then :
67373 $as_echo_n "(cached) " >&6
67374 else
67377 ac_ext=cpp
67378 ac_cpp='$CXXCPP $CPPFLAGS'
67379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67384 /* end confdefs.h. */
67385 #include <math.h>
67386 #ifdef HAVE_IEEEFP_H
67387 #include <ieeefp.h>
67388 #endif
67391 main ()
67393 isnan(0);
67395 return 0;
67397 _ACEOF
67398 if ac_fn_cxx_try_compile "$LINENO"; then :
67399 glibcxx_cv_func_isnan_use=yes
67400 else
67401 glibcxx_cv_func_isnan_use=no
67403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67404 ac_ext=c
67405 ac_cpp='$CPP $CPPFLAGS'
67406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
67415 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
67417 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
67418 for ac_func in isnan
67419 do :
67420 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
67421 if test "x$ac_cv_func_isnan" = xyes; then :
67422 cat >>confdefs.h <<_ACEOF
67423 #define HAVE_ISNAN 1
67424 _ACEOF
67427 done
67429 else
67431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
67432 $as_echo_n "checking for _isnan declaration... " >&6; }
67433 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
67434 if ${glibcxx_cv_func__isnan_use+:} false; then :
67435 $as_echo_n "(cached) " >&6
67436 else
67439 ac_ext=cpp
67440 ac_cpp='$CXXCPP $CPPFLAGS'
67441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67446 /* end confdefs.h. */
67447 #include <math.h>
67448 #ifdef HAVE_IEEEFP_H
67449 #include <ieeefp.h>
67450 #endif
67453 main ()
67455 _isnan(0);
67457 return 0;
67459 _ACEOF
67460 if ac_fn_cxx_try_compile "$LINENO"; then :
67461 glibcxx_cv_func__isnan_use=yes
67462 else
67463 glibcxx_cv_func__isnan_use=no
67465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67466 ac_ext=c
67467 ac_cpp='$CPP $CPPFLAGS'
67468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
67477 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
67479 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
67480 for ac_func in _isnan
67481 do :
67482 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
67483 if test "x$ac_cv_func__isnan" = xyes; then :
67484 cat >>confdefs.h <<_ACEOF
67485 #define HAVE__ISNAN 1
67486 _ACEOF
67489 done
67498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
67499 $as_echo_n "checking for finite declaration... " >&6; }
67500 if test x${glibcxx_cv_func_finite_use+set} != xset; then
67501 if ${glibcxx_cv_func_finite_use+:} false; then :
67502 $as_echo_n "(cached) " >&6
67503 else
67506 ac_ext=cpp
67507 ac_cpp='$CXXCPP $CPPFLAGS'
67508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67513 /* end confdefs.h. */
67514 #include <math.h>
67515 #ifdef HAVE_IEEEFP_H
67516 #include <ieeefp.h>
67517 #endif
67520 main ()
67522 finite(0);
67524 return 0;
67526 _ACEOF
67527 if ac_fn_cxx_try_compile "$LINENO"; then :
67528 glibcxx_cv_func_finite_use=yes
67529 else
67530 glibcxx_cv_func_finite_use=no
67532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67533 ac_ext=c
67534 ac_cpp='$CPP $CPPFLAGS'
67535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
67544 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
67546 if test x$glibcxx_cv_func_finite_use = x"yes"; then
67547 for ac_func in finite
67548 do :
67549 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
67550 if test "x$ac_cv_func_finite" = xyes; then :
67551 cat >>confdefs.h <<_ACEOF
67552 #define HAVE_FINITE 1
67553 _ACEOF
67556 done
67558 else
67560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
67561 $as_echo_n "checking for _finite declaration... " >&6; }
67562 if test x${glibcxx_cv_func__finite_use+set} != xset; then
67563 if ${glibcxx_cv_func__finite_use+:} false; then :
67564 $as_echo_n "(cached) " >&6
67565 else
67568 ac_ext=cpp
67569 ac_cpp='$CXXCPP $CPPFLAGS'
67570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67575 /* end confdefs.h. */
67576 #include <math.h>
67577 #ifdef HAVE_IEEEFP_H
67578 #include <ieeefp.h>
67579 #endif
67582 main ()
67584 _finite(0);
67586 return 0;
67588 _ACEOF
67589 if ac_fn_cxx_try_compile "$LINENO"; then :
67590 glibcxx_cv_func__finite_use=yes
67591 else
67592 glibcxx_cv_func__finite_use=no
67594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67595 ac_ext=c
67596 ac_cpp='$CPP $CPPFLAGS'
67597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
67606 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
67608 if test x$glibcxx_cv_func__finite_use = x"yes"; then
67609 for ac_func in _finite
67610 do :
67611 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
67612 if test "x$ac_cv_func__finite" = xyes; then :
67613 cat >>confdefs.h <<_ACEOF
67614 #define HAVE__FINITE 1
67615 _ACEOF
67618 done
67627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
67628 $as_echo_n "checking for sincos declaration... " >&6; }
67629 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
67630 if ${glibcxx_cv_func_sincos_use+:} false; then :
67631 $as_echo_n "(cached) " >&6
67632 else
67635 ac_ext=cpp
67636 ac_cpp='$CXXCPP $CPPFLAGS'
67637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67642 /* end confdefs.h. */
67643 #include <math.h>
67645 main ()
67647 sincos(0, 0, 0);
67649 return 0;
67651 _ACEOF
67652 if ac_fn_cxx_try_compile "$LINENO"; then :
67653 glibcxx_cv_func_sincos_use=yes
67654 else
67655 glibcxx_cv_func_sincos_use=no
67657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67658 ac_ext=c
67659 ac_cpp='$CPP $CPPFLAGS'
67660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
67669 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
67671 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
67672 for ac_func in sincos
67673 do :
67674 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
67675 if test "x$ac_cv_func_sincos" = xyes; then :
67676 cat >>confdefs.h <<_ACEOF
67677 #define HAVE_SINCOS 1
67678 _ACEOF
67681 done
67683 else
67685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
67686 $as_echo_n "checking for _sincos declaration... " >&6; }
67687 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67688 if ${glibcxx_cv_func__sincos_use+:} false; then :
67689 $as_echo_n "(cached) " >&6
67690 else
67693 ac_ext=cpp
67694 ac_cpp='$CXXCPP $CPPFLAGS'
67695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67700 /* end confdefs.h. */
67701 #include <math.h>
67703 main ()
67705 _sincos(0, 0, 0);
67707 return 0;
67709 _ACEOF
67710 if ac_fn_cxx_try_compile "$LINENO"; then :
67711 glibcxx_cv_func__sincos_use=yes
67712 else
67713 glibcxx_cv_func__sincos_use=no
67715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67716 ac_ext=c
67717 ac_cpp='$CPP $CPPFLAGS'
67718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
67727 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
67729 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67730 for ac_func in _sincos
67731 do :
67732 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
67733 if test "x$ac_cv_func__sincos" = xyes; then :
67734 cat >>confdefs.h <<_ACEOF
67735 #define HAVE__SINCOS 1
67736 _ACEOF
67739 done
67748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
67749 $as_echo_n "checking for fpclass declaration... " >&6; }
67750 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67751 if ${glibcxx_cv_func_fpclass_use+:} false; then :
67752 $as_echo_n "(cached) " >&6
67753 else
67756 ac_ext=cpp
67757 ac_cpp='$CXXCPP $CPPFLAGS'
67758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67763 /* end confdefs.h. */
67764 #include <math.h>
67765 #ifdef HAVE_IEEEFP_H
67766 #include <ieeefp.h>
67767 #endif
67770 main ()
67772 fpclass(0);
67774 return 0;
67776 _ACEOF
67777 if ac_fn_cxx_try_compile "$LINENO"; then :
67778 glibcxx_cv_func_fpclass_use=yes
67779 else
67780 glibcxx_cv_func_fpclass_use=no
67782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67783 ac_ext=c
67784 ac_cpp='$CPP $CPPFLAGS'
67785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67794 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67796 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67797 for ac_func in fpclass
67798 do :
67799 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67800 if test "x$ac_cv_func_fpclass" = xyes; then :
67801 cat >>confdefs.h <<_ACEOF
67802 #define HAVE_FPCLASS 1
67803 _ACEOF
67806 done
67808 else
67810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67811 $as_echo_n "checking for _fpclass declaration... " >&6; }
67812 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67813 if ${glibcxx_cv_func__fpclass_use+:} false; then :
67814 $as_echo_n "(cached) " >&6
67815 else
67818 ac_ext=cpp
67819 ac_cpp='$CXXCPP $CPPFLAGS'
67820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67825 /* end confdefs.h. */
67826 #include <math.h>
67827 #ifdef HAVE_IEEEFP_H
67828 #include <ieeefp.h>
67829 #endif
67832 main ()
67834 _fpclass(0);
67836 return 0;
67838 _ACEOF
67839 if ac_fn_cxx_try_compile "$LINENO"; then :
67840 glibcxx_cv_func__fpclass_use=yes
67841 else
67842 glibcxx_cv_func__fpclass_use=no
67844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67845 ac_ext=c
67846 ac_cpp='$CPP $CPPFLAGS'
67847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67856 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67858 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67859 for ac_func in _fpclass
67860 do :
67861 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67862 if test "x$ac_cv_func__fpclass" = xyes; then :
67863 cat >>confdefs.h <<_ACEOF
67864 #define HAVE__FPCLASS 1
67865 _ACEOF
67868 done
67877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67878 $as_echo_n "checking for qfpclass declaration... " >&6; }
67879 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67880 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
67881 $as_echo_n "(cached) " >&6
67882 else
67885 ac_ext=cpp
67886 ac_cpp='$CXXCPP $CPPFLAGS'
67887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67892 /* end confdefs.h. */
67893 #include <math.h>
67894 #ifdef HAVE_IEEEFP_H
67895 #include <ieeefp.h>
67896 #endif
67899 main ()
67901 qfpclass(0);
67903 return 0;
67905 _ACEOF
67906 if ac_fn_cxx_try_compile "$LINENO"; then :
67907 glibcxx_cv_func_qfpclass_use=yes
67908 else
67909 glibcxx_cv_func_qfpclass_use=no
67911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67912 ac_ext=c
67913 ac_cpp='$CPP $CPPFLAGS'
67914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67923 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67925 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67926 for ac_func in qfpclass
67927 do :
67928 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67929 if test "x$ac_cv_func_qfpclass" = xyes; then :
67930 cat >>confdefs.h <<_ACEOF
67931 #define HAVE_QFPCLASS 1
67932 _ACEOF
67935 done
67937 else
67939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67940 $as_echo_n "checking for _qfpclass declaration... " >&6; }
67941 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67942 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
67943 $as_echo_n "(cached) " >&6
67944 else
67947 ac_ext=cpp
67948 ac_cpp='$CXXCPP $CPPFLAGS'
67949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67954 /* end confdefs.h. */
67955 #include <math.h>
67956 #ifdef HAVE_IEEEFP_H
67957 #include <ieeefp.h>
67958 #endif
67961 main ()
67963 _qfpclass(0);
67965 return 0;
67967 _ACEOF
67968 if ac_fn_cxx_try_compile "$LINENO"; then :
67969 glibcxx_cv_func__qfpclass_use=yes
67970 else
67971 glibcxx_cv_func__qfpclass_use=no
67973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67974 ac_ext=c
67975 ac_cpp='$CPP $CPPFLAGS'
67976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67985 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67987 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67988 for ac_func in _qfpclass
67989 do :
67990 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67991 if test "x$ac_cv_func__qfpclass" = xyes; then :
67992 cat >>confdefs.h <<_ACEOF
67993 #define HAVE__QFPCLASS 1
67994 _ACEOF
67997 done
68006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
68007 $as_echo_n "checking for hypot declaration... " >&6; }
68008 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
68009 if ${glibcxx_cv_func_hypot_use+:} false; then :
68010 $as_echo_n "(cached) " >&6
68011 else
68014 ac_ext=cpp
68015 ac_cpp='$CXXCPP $CPPFLAGS'
68016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68021 /* end confdefs.h. */
68022 #include <math.h>
68024 main ()
68026 hypot(0, 0);
68028 return 0;
68030 _ACEOF
68031 if ac_fn_cxx_try_compile "$LINENO"; then :
68032 glibcxx_cv_func_hypot_use=yes
68033 else
68034 glibcxx_cv_func_hypot_use=no
68036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68037 ac_ext=c
68038 ac_cpp='$CPP $CPPFLAGS'
68039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
68048 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
68050 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
68051 for ac_func in hypot
68052 do :
68053 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
68054 if test "x$ac_cv_func_hypot" = xyes; then :
68055 cat >>confdefs.h <<_ACEOF
68056 #define HAVE_HYPOT 1
68057 _ACEOF
68060 done
68062 else
68064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
68065 $as_echo_n "checking for _hypot declaration... " >&6; }
68066 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
68067 if ${glibcxx_cv_func__hypot_use+:} false; then :
68068 $as_echo_n "(cached) " >&6
68069 else
68072 ac_ext=cpp
68073 ac_cpp='$CXXCPP $CPPFLAGS'
68074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68079 /* end confdefs.h. */
68080 #include <math.h>
68082 main ()
68084 _hypot(0, 0);
68086 return 0;
68088 _ACEOF
68089 if ac_fn_cxx_try_compile "$LINENO"; then :
68090 glibcxx_cv_func__hypot_use=yes
68091 else
68092 glibcxx_cv_func__hypot_use=no
68094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68095 ac_ext=c
68096 ac_cpp='$CPP $CPPFLAGS'
68097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
68106 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
68108 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
68109 for ac_func in _hypot
68110 do :
68111 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
68112 if test "x$ac_cv_func__hypot" = xyes; then :
68113 cat >>confdefs.h <<_ACEOF
68114 #define HAVE__HYPOT 1
68115 _ACEOF
68118 done
68127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
68128 $as_echo_n "checking for float trig functions... " >&6; }
68129 if ${glibcxx_cv_func_float_trig_use+:} false; then :
68130 $as_echo_n "(cached) " >&6
68131 else
68134 ac_ext=cpp
68135 ac_cpp='$CXXCPP $CPPFLAGS'
68136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68141 /* end confdefs.h. */
68142 #include <math.h>
68144 main ()
68146 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
68148 return 0;
68150 _ACEOF
68151 if ac_fn_cxx_try_compile "$LINENO"; then :
68152 glibcxx_cv_func_float_trig_use=yes
68153 else
68154 glibcxx_cv_func_float_trig_use=no
68156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68157 ac_ext=c
68158 ac_cpp='$CPP $CPPFLAGS'
68159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
68166 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
68167 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
68168 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
68169 do :
68170 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68171 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68172 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68173 cat >>confdefs.h <<_ACEOF
68174 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68175 _ACEOF
68178 done
68180 else
68181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
68182 $as_echo_n "checking for _float trig functions... " >&6; }
68183 if ${glibcxx_cv_func__float_trig_use+:} false; then :
68184 $as_echo_n "(cached) " >&6
68185 else
68188 ac_ext=cpp
68189 ac_cpp='$CXXCPP $CPPFLAGS'
68190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68195 /* end confdefs.h. */
68196 #include <math.h>
68198 main ()
68200 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
68202 return 0;
68204 _ACEOF
68205 if ac_fn_cxx_try_compile "$LINENO"; then :
68206 glibcxx_cv_func__float_trig_use=yes
68207 else
68208 glibcxx_cv_func__float_trig_use=no
68210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68211 ac_ext=c
68212 ac_cpp='$CPP $CPPFLAGS'
68213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
68220 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
68221 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
68222 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
68223 do :
68224 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68225 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68226 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68227 cat >>confdefs.h <<_ACEOF
68228 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68229 _ACEOF
68232 done
68241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
68242 $as_echo_n "checking for float round functions... " >&6; }
68243 if ${glibcxx_cv_func_float_round_use+:} false; then :
68244 $as_echo_n "(cached) " >&6
68245 else
68248 ac_ext=cpp
68249 ac_cpp='$CXXCPP $CPPFLAGS'
68250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68255 /* end confdefs.h. */
68256 #include <math.h>
68258 main ()
68260 ceilf (0); floorf (0);
68262 return 0;
68264 _ACEOF
68265 if ac_fn_cxx_try_compile "$LINENO"; then :
68266 glibcxx_cv_func_float_round_use=yes
68267 else
68268 glibcxx_cv_func_float_round_use=no
68270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68271 ac_ext=c
68272 ac_cpp='$CPP $CPPFLAGS'
68273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
68280 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
68281 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
68282 for ac_func in ceilf floorf
68283 do :
68284 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68285 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68286 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68287 cat >>confdefs.h <<_ACEOF
68288 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68289 _ACEOF
68292 done
68294 else
68295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
68296 $as_echo_n "checking for _float round functions... " >&6; }
68297 if ${glibcxx_cv_func__float_round_use+:} false; then :
68298 $as_echo_n "(cached) " >&6
68299 else
68302 ac_ext=cpp
68303 ac_cpp='$CXXCPP $CPPFLAGS'
68304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68309 /* end confdefs.h. */
68310 #include <math.h>
68312 main ()
68314 _ceilf (0); _floorf (0);
68316 return 0;
68318 _ACEOF
68319 if ac_fn_cxx_try_compile "$LINENO"; then :
68320 glibcxx_cv_func__float_round_use=yes
68321 else
68322 glibcxx_cv_func__float_round_use=no
68324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68325 ac_ext=c
68326 ac_cpp='$CPP $CPPFLAGS'
68327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
68334 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
68335 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
68336 for ac_func in _ceilf _floorf
68337 do :
68338 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68339 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68340 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68341 cat >>confdefs.h <<_ACEOF
68342 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68343 _ACEOF
68346 done
68356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
68357 $as_echo_n "checking for expf declaration... " >&6; }
68358 if test x${glibcxx_cv_func_expf_use+set} != xset; then
68359 if ${glibcxx_cv_func_expf_use+:} false; then :
68360 $as_echo_n "(cached) " >&6
68361 else
68364 ac_ext=cpp
68365 ac_cpp='$CXXCPP $CPPFLAGS'
68366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68371 /* end confdefs.h. */
68372 #include <math.h>
68373 #ifdef HAVE_IEEEFP_H
68374 #include <ieeefp.h>
68375 #endif
68378 main ()
68380 expf(0);
68382 return 0;
68384 _ACEOF
68385 if ac_fn_cxx_try_compile "$LINENO"; then :
68386 glibcxx_cv_func_expf_use=yes
68387 else
68388 glibcxx_cv_func_expf_use=no
68390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68391 ac_ext=c
68392 ac_cpp='$CPP $CPPFLAGS'
68393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
68402 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
68404 if test x$glibcxx_cv_func_expf_use = x"yes"; then
68405 for ac_func in expf
68406 do :
68407 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
68408 if test "x$ac_cv_func_expf" = xyes; then :
68409 cat >>confdefs.h <<_ACEOF
68410 #define HAVE_EXPF 1
68411 _ACEOF
68414 done
68416 else
68418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
68419 $as_echo_n "checking for _expf declaration... " >&6; }
68420 if test x${glibcxx_cv_func__expf_use+set} != xset; then
68421 if ${glibcxx_cv_func__expf_use+:} false; then :
68422 $as_echo_n "(cached) " >&6
68423 else
68426 ac_ext=cpp
68427 ac_cpp='$CXXCPP $CPPFLAGS'
68428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68433 /* end confdefs.h. */
68434 #include <math.h>
68435 #ifdef HAVE_IEEEFP_H
68436 #include <ieeefp.h>
68437 #endif
68440 main ()
68442 _expf(0);
68444 return 0;
68446 _ACEOF
68447 if ac_fn_cxx_try_compile "$LINENO"; then :
68448 glibcxx_cv_func__expf_use=yes
68449 else
68450 glibcxx_cv_func__expf_use=no
68452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68453 ac_ext=c
68454 ac_cpp='$CPP $CPPFLAGS'
68455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
68464 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
68466 if test x$glibcxx_cv_func__expf_use = x"yes"; then
68467 for ac_func in _expf
68468 do :
68469 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
68470 if test "x$ac_cv_func__expf" = xyes; then :
68471 cat >>confdefs.h <<_ACEOF
68472 #define HAVE__EXPF 1
68473 _ACEOF
68476 done
68485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
68486 $as_echo_n "checking for isnanf declaration... " >&6; }
68487 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
68488 if ${glibcxx_cv_func_isnanf_use+:} false; then :
68489 $as_echo_n "(cached) " >&6
68490 else
68493 ac_ext=cpp
68494 ac_cpp='$CXXCPP $CPPFLAGS'
68495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68500 /* end confdefs.h. */
68501 #include <math.h>
68502 #ifdef HAVE_IEEEFP_H
68503 #include <ieeefp.h>
68504 #endif
68507 main ()
68509 isnanf(0);
68511 return 0;
68513 _ACEOF
68514 if ac_fn_cxx_try_compile "$LINENO"; then :
68515 glibcxx_cv_func_isnanf_use=yes
68516 else
68517 glibcxx_cv_func_isnanf_use=no
68519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68520 ac_ext=c
68521 ac_cpp='$CPP $CPPFLAGS'
68522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
68531 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
68533 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68534 for ac_func in isnanf
68535 do :
68536 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
68537 if test "x$ac_cv_func_isnanf" = xyes; then :
68538 cat >>confdefs.h <<_ACEOF
68539 #define HAVE_ISNANF 1
68540 _ACEOF
68543 done
68545 else
68547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
68548 $as_echo_n "checking for _isnanf declaration... " >&6; }
68549 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68550 if ${glibcxx_cv_func__isnanf_use+:} false; then :
68551 $as_echo_n "(cached) " >&6
68552 else
68555 ac_ext=cpp
68556 ac_cpp='$CXXCPP $CPPFLAGS'
68557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68562 /* end confdefs.h. */
68563 #include <math.h>
68564 #ifdef HAVE_IEEEFP_H
68565 #include <ieeefp.h>
68566 #endif
68569 main ()
68571 _isnanf(0);
68573 return 0;
68575 _ACEOF
68576 if ac_fn_cxx_try_compile "$LINENO"; then :
68577 glibcxx_cv_func__isnanf_use=yes
68578 else
68579 glibcxx_cv_func__isnanf_use=no
68581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68582 ac_ext=c
68583 ac_cpp='$CPP $CPPFLAGS'
68584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
68593 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
68595 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68596 for ac_func in _isnanf
68597 do :
68598 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
68599 if test "x$ac_cv_func__isnanf" = xyes; then :
68600 cat >>confdefs.h <<_ACEOF
68601 #define HAVE__ISNANF 1
68602 _ACEOF
68605 done
68614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
68615 $as_echo_n "checking for isinff declaration... " >&6; }
68616 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68617 if ${glibcxx_cv_func_isinff_use+:} false; then :
68618 $as_echo_n "(cached) " >&6
68619 else
68622 ac_ext=cpp
68623 ac_cpp='$CXXCPP $CPPFLAGS'
68624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68629 /* end confdefs.h. */
68630 #include <math.h>
68631 #ifdef HAVE_IEEEFP_H
68632 #include <ieeefp.h>
68633 #endif
68636 main ()
68638 isinff(0);
68640 return 0;
68642 _ACEOF
68643 if ac_fn_cxx_try_compile "$LINENO"; then :
68644 glibcxx_cv_func_isinff_use=yes
68645 else
68646 glibcxx_cv_func_isinff_use=no
68648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68649 ac_ext=c
68650 ac_cpp='$CPP $CPPFLAGS'
68651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
68660 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
68662 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68663 for ac_func in isinff
68664 do :
68665 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
68666 if test "x$ac_cv_func_isinff" = xyes; then :
68667 cat >>confdefs.h <<_ACEOF
68668 #define HAVE_ISINFF 1
68669 _ACEOF
68672 done
68674 else
68676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
68677 $as_echo_n "checking for _isinff declaration... " >&6; }
68678 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68679 if ${glibcxx_cv_func__isinff_use+:} false; then :
68680 $as_echo_n "(cached) " >&6
68681 else
68684 ac_ext=cpp
68685 ac_cpp='$CXXCPP $CPPFLAGS'
68686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68691 /* end confdefs.h. */
68692 #include <math.h>
68693 #ifdef HAVE_IEEEFP_H
68694 #include <ieeefp.h>
68695 #endif
68698 main ()
68700 _isinff(0);
68702 return 0;
68704 _ACEOF
68705 if ac_fn_cxx_try_compile "$LINENO"; then :
68706 glibcxx_cv_func__isinff_use=yes
68707 else
68708 glibcxx_cv_func__isinff_use=no
68710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68711 ac_ext=c
68712 ac_cpp='$CPP $CPPFLAGS'
68713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
68722 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
68724 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68725 for ac_func in _isinff
68726 do :
68727 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
68728 if test "x$ac_cv_func__isinff" = xyes; then :
68729 cat >>confdefs.h <<_ACEOF
68730 #define HAVE__ISINFF 1
68731 _ACEOF
68734 done
68743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
68744 $as_echo_n "checking for atan2f declaration... " >&6; }
68745 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68746 if ${glibcxx_cv_func_atan2f_use+:} false; then :
68747 $as_echo_n "(cached) " >&6
68748 else
68751 ac_ext=cpp
68752 ac_cpp='$CXXCPP $CPPFLAGS'
68753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68758 /* end confdefs.h. */
68759 #include <math.h>
68761 main ()
68763 atan2f(0, 0);
68765 return 0;
68767 _ACEOF
68768 if ac_fn_cxx_try_compile "$LINENO"; then :
68769 glibcxx_cv_func_atan2f_use=yes
68770 else
68771 glibcxx_cv_func_atan2f_use=no
68773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68774 ac_ext=c
68775 ac_cpp='$CPP $CPPFLAGS'
68776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68785 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68787 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68788 for ac_func in atan2f
68789 do :
68790 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68791 if test "x$ac_cv_func_atan2f" = xyes; then :
68792 cat >>confdefs.h <<_ACEOF
68793 #define HAVE_ATAN2F 1
68794 _ACEOF
68797 done
68799 else
68801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68802 $as_echo_n "checking for _atan2f declaration... " >&6; }
68803 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68804 if ${glibcxx_cv_func__atan2f_use+:} false; then :
68805 $as_echo_n "(cached) " >&6
68806 else
68809 ac_ext=cpp
68810 ac_cpp='$CXXCPP $CPPFLAGS'
68811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68816 /* end confdefs.h. */
68817 #include <math.h>
68819 main ()
68821 _atan2f(0, 0);
68823 return 0;
68825 _ACEOF
68826 if ac_fn_cxx_try_compile "$LINENO"; then :
68827 glibcxx_cv_func__atan2f_use=yes
68828 else
68829 glibcxx_cv_func__atan2f_use=no
68831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68832 ac_ext=c
68833 ac_cpp='$CPP $CPPFLAGS'
68834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68843 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68845 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68846 for ac_func in _atan2f
68847 do :
68848 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68849 if test "x$ac_cv_func__atan2f" = xyes; then :
68850 cat >>confdefs.h <<_ACEOF
68851 #define HAVE__ATAN2F 1
68852 _ACEOF
68855 done
68864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68865 $as_echo_n "checking for fabsf declaration... " >&6; }
68866 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68867 if ${glibcxx_cv_func_fabsf_use+:} false; then :
68868 $as_echo_n "(cached) " >&6
68869 else
68872 ac_ext=cpp
68873 ac_cpp='$CXXCPP $CPPFLAGS'
68874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68879 /* end confdefs.h. */
68880 #include <math.h>
68881 #ifdef HAVE_IEEEFP_H
68882 #include <ieeefp.h>
68883 #endif
68886 main ()
68888 fabsf(0);
68890 return 0;
68892 _ACEOF
68893 if ac_fn_cxx_try_compile "$LINENO"; then :
68894 glibcxx_cv_func_fabsf_use=yes
68895 else
68896 glibcxx_cv_func_fabsf_use=no
68898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68899 ac_ext=c
68900 ac_cpp='$CPP $CPPFLAGS'
68901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68910 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68912 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68913 for ac_func in fabsf
68914 do :
68915 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68916 if test "x$ac_cv_func_fabsf" = xyes; then :
68917 cat >>confdefs.h <<_ACEOF
68918 #define HAVE_FABSF 1
68919 _ACEOF
68922 done
68924 else
68926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68927 $as_echo_n "checking for _fabsf declaration... " >&6; }
68928 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68929 if ${glibcxx_cv_func__fabsf_use+:} false; then :
68930 $as_echo_n "(cached) " >&6
68931 else
68934 ac_ext=cpp
68935 ac_cpp='$CXXCPP $CPPFLAGS'
68936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68941 /* end confdefs.h. */
68942 #include <math.h>
68943 #ifdef HAVE_IEEEFP_H
68944 #include <ieeefp.h>
68945 #endif
68948 main ()
68950 _fabsf(0);
68952 return 0;
68954 _ACEOF
68955 if ac_fn_cxx_try_compile "$LINENO"; then :
68956 glibcxx_cv_func__fabsf_use=yes
68957 else
68958 glibcxx_cv_func__fabsf_use=no
68960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68961 ac_ext=c
68962 ac_cpp='$CPP $CPPFLAGS'
68963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68972 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68974 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68975 for ac_func in _fabsf
68976 do :
68977 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68978 if test "x$ac_cv_func__fabsf" = xyes; then :
68979 cat >>confdefs.h <<_ACEOF
68980 #define HAVE__FABSF 1
68981 _ACEOF
68984 done
68993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68994 $as_echo_n "checking for fmodf declaration... " >&6; }
68995 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68996 if ${glibcxx_cv_func_fmodf_use+:} false; then :
68997 $as_echo_n "(cached) " >&6
68998 else
69001 ac_ext=cpp
69002 ac_cpp='$CXXCPP $CPPFLAGS'
69003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69008 /* end confdefs.h. */
69009 #include <math.h>
69011 main ()
69013 fmodf(0, 0);
69015 return 0;
69017 _ACEOF
69018 if ac_fn_cxx_try_compile "$LINENO"; then :
69019 glibcxx_cv_func_fmodf_use=yes
69020 else
69021 glibcxx_cv_func_fmodf_use=no
69023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69024 ac_ext=c
69025 ac_cpp='$CPP $CPPFLAGS'
69026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
69035 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
69037 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
69038 for ac_func in fmodf
69039 do :
69040 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
69041 if test "x$ac_cv_func_fmodf" = xyes; then :
69042 cat >>confdefs.h <<_ACEOF
69043 #define HAVE_FMODF 1
69044 _ACEOF
69047 done
69049 else
69051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
69052 $as_echo_n "checking for _fmodf declaration... " >&6; }
69053 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
69054 if ${glibcxx_cv_func__fmodf_use+:} false; then :
69055 $as_echo_n "(cached) " >&6
69056 else
69059 ac_ext=cpp
69060 ac_cpp='$CXXCPP $CPPFLAGS'
69061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69066 /* end confdefs.h. */
69067 #include <math.h>
69069 main ()
69071 _fmodf(0, 0);
69073 return 0;
69075 _ACEOF
69076 if ac_fn_cxx_try_compile "$LINENO"; then :
69077 glibcxx_cv_func__fmodf_use=yes
69078 else
69079 glibcxx_cv_func__fmodf_use=no
69081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69082 ac_ext=c
69083 ac_cpp='$CPP $CPPFLAGS'
69084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
69093 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
69095 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
69096 for ac_func in _fmodf
69097 do :
69098 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
69099 if test "x$ac_cv_func__fmodf" = xyes; then :
69100 cat >>confdefs.h <<_ACEOF
69101 #define HAVE__FMODF 1
69102 _ACEOF
69105 done
69114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
69115 $as_echo_n "checking for frexpf declaration... " >&6; }
69116 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
69117 if ${glibcxx_cv_func_frexpf_use+:} false; then :
69118 $as_echo_n "(cached) " >&6
69119 else
69122 ac_ext=cpp
69123 ac_cpp='$CXXCPP $CPPFLAGS'
69124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69129 /* end confdefs.h. */
69130 #include <math.h>
69132 main ()
69134 frexpf(0, 0);
69136 return 0;
69138 _ACEOF
69139 if ac_fn_cxx_try_compile "$LINENO"; then :
69140 glibcxx_cv_func_frexpf_use=yes
69141 else
69142 glibcxx_cv_func_frexpf_use=no
69144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69145 ac_ext=c
69146 ac_cpp='$CPP $CPPFLAGS'
69147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
69156 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
69158 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
69159 for ac_func in frexpf
69160 do :
69161 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
69162 if test "x$ac_cv_func_frexpf" = xyes; then :
69163 cat >>confdefs.h <<_ACEOF
69164 #define HAVE_FREXPF 1
69165 _ACEOF
69168 done
69170 else
69172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
69173 $as_echo_n "checking for _frexpf declaration... " >&6; }
69174 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
69175 if ${glibcxx_cv_func__frexpf_use+:} false; then :
69176 $as_echo_n "(cached) " >&6
69177 else
69180 ac_ext=cpp
69181 ac_cpp='$CXXCPP $CPPFLAGS'
69182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69187 /* end confdefs.h. */
69188 #include <math.h>
69190 main ()
69192 _frexpf(0, 0);
69194 return 0;
69196 _ACEOF
69197 if ac_fn_cxx_try_compile "$LINENO"; then :
69198 glibcxx_cv_func__frexpf_use=yes
69199 else
69200 glibcxx_cv_func__frexpf_use=no
69202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69203 ac_ext=c
69204 ac_cpp='$CPP $CPPFLAGS'
69205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
69214 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
69216 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
69217 for ac_func in _frexpf
69218 do :
69219 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
69220 if test "x$ac_cv_func__frexpf" = xyes; then :
69221 cat >>confdefs.h <<_ACEOF
69222 #define HAVE__FREXPF 1
69223 _ACEOF
69226 done
69235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
69236 $as_echo_n "checking for hypotf declaration... " >&6; }
69237 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
69238 if ${glibcxx_cv_func_hypotf_use+:} false; then :
69239 $as_echo_n "(cached) " >&6
69240 else
69243 ac_ext=cpp
69244 ac_cpp='$CXXCPP $CPPFLAGS'
69245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69250 /* end confdefs.h. */
69251 #include <math.h>
69253 main ()
69255 hypotf(0, 0);
69257 return 0;
69259 _ACEOF
69260 if ac_fn_cxx_try_compile "$LINENO"; then :
69261 glibcxx_cv_func_hypotf_use=yes
69262 else
69263 glibcxx_cv_func_hypotf_use=no
69265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69266 ac_ext=c
69267 ac_cpp='$CPP $CPPFLAGS'
69268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
69277 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
69279 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
69280 for ac_func in hypotf
69281 do :
69282 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
69283 if test "x$ac_cv_func_hypotf" = xyes; then :
69284 cat >>confdefs.h <<_ACEOF
69285 #define HAVE_HYPOTF 1
69286 _ACEOF
69289 done
69291 else
69293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
69294 $as_echo_n "checking for _hypotf declaration... " >&6; }
69295 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
69296 if ${glibcxx_cv_func__hypotf_use+:} false; then :
69297 $as_echo_n "(cached) " >&6
69298 else
69301 ac_ext=cpp
69302 ac_cpp='$CXXCPP $CPPFLAGS'
69303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69308 /* end confdefs.h. */
69309 #include <math.h>
69311 main ()
69313 _hypotf(0, 0);
69315 return 0;
69317 _ACEOF
69318 if ac_fn_cxx_try_compile "$LINENO"; then :
69319 glibcxx_cv_func__hypotf_use=yes
69320 else
69321 glibcxx_cv_func__hypotf_use=no
69323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69324 ac_ext=c
69325 ac_cpp='$CPP $CPPFLAGS'
69326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
69335 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
69337 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
69338 for ac_func in _hypotf
69339 do :
69340 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
69341 if test "x$ac_cv_func__hypotf" = xyes; then :
69342 cat >>confdefs.h <<_ACEOF
69343 #define HAVE__HYPOTF 1
69344 _ACEOF
69347 done
69356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
69357 $as_echo_n "checking for ldexpf declaration... " >&6; }
69358 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
69359 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
69360 $as_echo_n "(cached) " >&6
69361 else
69364 ac_ext=cpp
69365 ac_cpp='$CXXCPP $CPPFLAGS'
69366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69371 /* end confdefs.h. */
69372 #include <math.h>
69374 main ()
69376 ldexpf(0, 0);
69378 return 0;
69380 _ACEOF
69381 if ac_fn_cxx_try_compile "$LINENO"; then :
69382 glibcxx_cv_func_ldexpf_use=yes
69383 else
69384 glibcxx_cv_func_ldexpf_use=no
69386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69387 ac_ext=c
69388 ac_cpp='$CPP $CPPFLAGS'
69389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
69398 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
69400 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
69401 for ac_func in ldexpf
69402 do :
69403 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
69404 if test "x$ac_cv_func_ldexpf" = xyes; then :
69405 cat >>confdefs.h <<_ACEOF
69406 #define HAVE_LDEXPF 1
69407 _ACEOF
69410 done
69412 else
69414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
69415 $as_echo_n "checking for _ldexpf declaration... " >&6; }
69416 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
69417 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
69418 $as_echo_n "(cached) " >&6
69419 else
69422 ac_ext=cpp
69423 ac_cpp='$CXXCPP $CPPFLAGS'
69424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69429 /* end confdefs.h. */
69430 #include <math.h>
69432 main ()
69434 _ldexpf(0, 0);
69436 return 0;
69438 _ACEOF
69439 if ac_fn_cxx_try_compile "$LINENO"; then :
69440 glibcxx_cv_func__ldexpf_use=yes
69441 else
69442 glibcxx_cv_func__ldexpf_use=no
69444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69445 ac_ext=c
69446 ac_cpp='$CPP $CPPFLAGS'
69447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
69456 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
69458 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
69459 for ac_func in _ldexpf
69460 do :
69461 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
69462 if test "x$ac_cv_func__ldexpf" = xyes; then :
69463 cat >>confdefs.h <<_ACEOF
69464 #define HAVE__LDEXPF 1
69465 _ACEOF
69468 done
69477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
69478 $as_echo_n "checking for logf declaration... " >&6; }
69479 if test x${glibcxx_cv_func_logf_use+set} != xset; then
69480 if ${glibcxx_cv_func_logf_use+:} false; then :
69481 $as_echo_n "(cached) " >&6
69482 else
69485 ac_ext=cpp
69486 ac_cpp='$CXXCPP $CPPFLAGS'
69487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69492 /* end confdefs.h. */
69493 #include <math.h>
69494 #ifdef HAVE_IEEEFP_H
69495 #include <ieeefp.h>
69496 #endif
69499 main ()
69501 logf(0);
69503 return 0;
69505 _ACEOF
69506 if ac_fn_cxx_try_compile "$LINENO"; then :
69507 glibcxx_cv_func_logf_use=yes
69508 else
69509 glibcxx_cv_func_logf_use=no
69511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69512 ac_ext=c
69513 ac_cpp='$CPP $CPPFLAGS'
69514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
69523 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
69525 if test x$glibcxx_cv_func_logf_use = x"yes"; then
69526 for ac_func in logf
69527 do :
69528 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
69529 if test "x$ac_cv_func_logf" = xyes; then :
69530 cat >>confdefs.h <<_ACEOF
69531 #define HAVE_LOGF 1
69532 _ACEOF
69535 done
69537 else
69539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
69540 $as_echo_n "checking for _logf declaration... " >&6; }
69541 if test x${glibcxx_cv_func__logf_use+set} != xset; then
69542 if ${glibcxx_cv_func__logf_use+:} false; then :
69543 $as_echo_n "(cached) " >&6
69544 else
69547 ac_ext=cpp
69548 ac_cpp='$CXXCPP $CPPFLAGS'
69549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69554 /* end confdefs.h. */
69555 #include <math.h>
69556 #ifdef HAVE_IEEEFP_H
69557 #include <ieeefp.h>
69558 #endif
69561 main ()
69563 _logf(0);
69565 return 0;
69567 _ACEOF
69568 if ac_fn_cxx_try_compile "$LINENO"; then :
69569 glibcxx_cv_func__logf_use=yes
69570 else
69571 glibcxx_cv_func__logf_use=no
69573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69574 ac_ext=c
69575 ac_cpp='$CPP $CPPFLAGS'
69576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
69585 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
69587 if test x$glibcxx_cv_func__logf_use = x"yes"; then
69588 for ac_func in _logf
69589 do :
69590 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
69591 if test "x$ac_cv_func__logf" = xyes; then :
69592 cat >>confdefs.h <<_ACEOF
69593 #define HAVE__LOGF 1
69594 _ACEOF
69597 done
69606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
69607 $as_echo_n "checking for log10f declaration... " >&6; }
69608 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
69609 if ${glibcxx_cv_func_log10f_use+:} false; then :
69610 $as_echo_n "(cached) " >&6
69611 else
69614 ac_ext=cpp
69615 ac_cpp='$CXXCPP $CPPFLAGS'
69616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69621 /* end confdefs.h. */
69622 #include <math.h>
69623 #ifdef HAVE_IEEEFP_H
69624 #include <ieeefp.h>
69625 #endif
69628 main ()
69630 log10f(0);
69632 return 0;
69634 _ACEOF
69635 if ac_fn_cxx_try_compile "$LINENO"; then :
69636 glibcxx_cv_func_log10f_use=yes
69637 else
69638 glibcxx_cv_func_log10f_use=no
69640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69641 ac_ext=c
69642 ac_cpp='$CPP $CPPFLAGS'
69643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
69652 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
69654 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69655 for ac_func in log10f
69656 do :
69657 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
69658 if test "x$ac_cv_func_log10f" = xyes; then :
69659 cat >>confdefs.h <<_ACEOF
69660 #define HAVE_LOG10F 1
69661 _ACEOF
69664 done
69666 else
69668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
69669 $as_echo_n "checking for _log10f declaration... " >&6; }
69670 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69671 if ${glibcxx_cv_func__log10f_use+:} false; then :
69672 $as_echo_n "(cached) " >&6
69673 else
69676 ac_ext=cpp
69677 ac_cpp='$CXXCPP $CPPFLAGS'
69678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69683 /* end confdefs.h. */
69684 #include <math.h>
69685 #ifdef HAVE_IEEEFP_H
69686 #include <ieeefp.h>
69687 #endif
69690 main ()
69692 _log10f(0);
69694 return 0;
69696 _ACEOF
69697 if ac_fn_cxx_try_compile "$LINENO"; then :
69698 glibcxx_cv_func__log10f_use=yes
69699 else
69700 glibcxx_cv_func__log10f_use=no
69702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69703 ac_ext=c
69704 ac_cpp='$CPP $CPPFLAGS'
69705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
69714 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
69716 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69717 for ac_func in _log10f
69718 do :
69719 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
69720 if test "x$ac_cv_func__log10f" = xyes; then :
69721 cat >>confdefs.h <<_ACEOF
69722 #define HAVE__LOG10F 1
69723 _ACEOF
69726 done
69735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69736 $as_echo_n "checking for modff declaration... " >&6; }
69737 if test x${glibcxx_cv_func_modff_use+set} != xset; then
69738 if ${glibcxx_cv_func_modff_use+:} false; then :
69739 $as_echo_n "(cached) " >&6
69740 else
69743 ac_ext=cpp
69744 ac_cpp='$CXXCPP $CPPFLAGS'
69745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69750 /* end confdefs.h. */
69751 #include <math.h>
69753 main ()
69755 modff(0, 0);
69757 return 0;
69759 _ACEOF
69760 if ac_fn_cxx_try_compile "$LINENO"; then :
69761 glibcxx_cv_func_modff_use=yes
69762 else
69763 glibcxx_cv_func_modff_use=no
69765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69766 ac_ext=c
69767 ac_cpp='$CPP $CPPFLAGS'
69768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69777 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
69779 if test x$glibcxx_cv_func_modff_use = x"yes"; then
69780 for ac_func in modff
69781 do :
69782 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69783 if test "x$ac_cv_func_modff" = xyes; then :
69784 cat >>confdefs.h <<_ACEOF
69785 #define HAVE_MODFF 1
69786 _ACEOF
69789 done
69791 else
69793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69794 $as_echo_n "checking for _modff declaration... " >&6; }
69795 if test x${glibcxx_cv_func__modff_use+set} != xset; then
69796 if ${glibcxx_cv_func__modff_use+:} false; then :
69797 $as_echo_n "(cached) " >&6
69798 else
69801 ac_ext=cpp
69802 ac_cpp='$CXXCPP $CPPFLAGS'
69803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69808 /* end confdefs.h. */
69809 #include <math.h>
69811 main ()
69813 _modff(0, 0);
69815 return 0;
69817 _ACEOF
69818 if ac_fn_cxx_try_compile "$LINENO"; then :
69819 glibcxx_cv_func__modff_use=yes
69820 else
69821 glibcxx_cv_func__modff_use=no
69823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69824 ac_ext=c
69825 ac_cpp='$CPP $CPPFLAGS'
69826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69835 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
69837 if test x$glibcxx_cv_func__modff_use = x"yes"; then
69838 for ac_func in _modff
69839 do :
69840 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69841 if test "x$ac_cv_func__modff" = xyes; then :
69842 cat >>confdefs.h <<_ACEOF
69843 #define HAVE__MODFF 1
69844 _ACEOF
69847 done
69856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69857 $as_echo_n "checking for modf declaration... " >&6; }
69858 if test x${glibcxx_cv_func_modf_use+set} != xset; then
69859 if ${glibcxx_cv_func_modf_use+:} false; then :
69860 $as_echo_n "(cached) " >&6
69861 else
69864 ac_ext=cpp
69865 ac_cpp='$CXXCPP $CPPFLAGS'
69866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69871 /* end confdefs.h. */
69872 #include <math.h>
69874 main ()
69876 modf(0, 0);
69878 return 0;
69880 _ACEOF
69881 if ac_fn_cxx_try_compile "$LINENO"; then :
69882 glibcxx_cv_func_modf_use=yes
69883 else
69884 glibcxx_cv_func_modf_use=no
69886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69887 ac_ext=c
69888 ac_cpp='$CPP $CPPFLAGS'
69889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69898 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
69900 if test x$glibcxx_cv_func_modf_use = x"yes"; then
69901 for ac_func in modf
69902 do :
69903 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69904 if test "x$ac_cv_func_modf" = xyes; then :
69905 cat >>confdefs.h <<_ACEOF
69906 #define HAVE_MODF 1
69907 _ACEOF
69910 done
69912 else
69914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69915 $as_echo_n "checking for _modf declaration... " >&6; }
69916 if test x${glibcxx_cv_func__modf_use+set} != xset; then
69917 if ${glibcxx_cv_func__modf_use+:} false; then :
69918 $as_echo_n "(cached) " >&6
69919 else
69922 ac_ext=cpp
69923 ac_cpp='$CXXCPP $CPPFLAGS'
69924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69929 /* end confdefs.h. */
69930 #include <math.h>
69932 main ()
69934 _modf(0, 0);
69936 return 0;
69938 _ACEOF
69939 if ac_fn_cxx_try_compile "$LINENO"; then :
69940 glibcxx_cv_func__modf_use=yes
69941 else
69942 glibcxx_cv_func__modf_use=no
69944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69945 ac_ext=c
69946 ac_cpp='$CPP $CPPFLAGS'
69947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69956 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69958 if test x$glibcxx_cv_func__modf_use = x"yes"; then
69959 for ac_func in _modf
69960 do :
69961 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69962 if test "x$ac_cv_func__modf" = xyes; then :
69963 cat >>confdefs.h <<_ACEOF
69964 #define HAVE__MODF 1
69965 _ACEOF
69968 done
69977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69978 $as_echo_n "checking for powf declaration... " >&6; }
69979 if test x${glibcxx_cv_func_powf_use+set} != xset; then
69980 if ${glibcxx_cv_func_powf_use+:} false; then :
69981 $as_echo_n "(cached) " >&6
69982 else
69985 ac_ext=cpp
69986 ac_cpp='$CXXCPP $CPPFLAGS'
69987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69992 /* end confdefs.h. */
69993 #include <math.h>
69995 main ()
69997 powf(0, 0);
69999 return 0;
70001 _ACEOF
70002 if ac_fn_cxx_try_compile "$LINENO"; then :
70003 glibcxx_cv_func_powf_use=yes
70004 else
70005 glibcxx_cv_func_powf_use=no
70007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70008 ac_ext=c
70009 ac_cpp='$CPP $CPPFLAGS'
70010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
70019 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
70021 if test x$glibcxx_cv_func_powf_use = x"yes"; then
70022 for ac_func in powf
70023 do :
70024 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
70025 if test "x$ac_cv_func_powf" = xyes; then :
70026 cat >>confdefs.h <<_ACEOF
70027 #define HAVE_POWF 1
70028 _ACEOF
70031 done
70033 else
70035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
70036 $as_echo_n "checking for _powf declaration... " >&6; }
70037 if test x${glibcxx_cv_func__powf_use+set} != xset; then
70038 if ${glibcxx_cv_func__powf_use+:} false; then :
70039 $as_echo_n "(cached) " >&6
70040 else
70043 ac_ext=cpp
70044 ac_cpp='$CXXCPP $CPPFLAGS'
70045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70050 /* end confdefs.h. */
70051 #include <math.h>
70053 main ()
70055 _powf(0, 0);
70057 return 0;
70059 _ACEOF
70060 if ac_fn_cxx_try_compile "$LINENO"; then :
70061 glibcxx_cv_func__powf_use=yes
70062 else
70063 glibcxx_cv_func__powf_use=no
70065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70066 ac_ext=c
70067 ac_cpp='$CPP $CPPFLAGS'
70068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
70077 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
70079 if test x$glibcxx_cv_func__powf_use = x"yes"; then
70080 for ac_func in _powf
70081 do :
70082 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
70083 if test "x$ac_cv_func__powf" = xyes; then :
70084 cat >>confdefs.h <<_ACEOF
70085 #define HAVE__POWF 1
70086 _ACEOF
70089 done
70098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
70099 $as_echo_n "checking for sqrtf declaration... " >&6; }
70100 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
70101 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
70102 $as_echo_n "(cached) " >&6
70103 else
70106 ac_ext=cpp
70107 ac_cpp='$CXXCPP $CPPFLAGS'
70108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70113 /* end confdefs.h. */
70114 #include <math.h>
70115 #ifdef HAVE_IEEEFP_H
70116 #include <ieeefp.h>
70117 #endif
70120 main ()
70122 sqrtf(0);
70124 return 0;
70126 _ACEOF
70127 if ac_fn_cxx_try_compile "$LINENO"; then :
70128 glibcxx_cv_func_sqrtf_use=yes
70129 else
70130 glibcxx_cv_func_sqrtf_use=no
70132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70133 ac_ext=c
70134 ac_cpp='$CPP $CPPFLAGS'
70135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
70144 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
70146 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
70147 for ac_func in sqrtf
70148 do :
70149 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
70150 if test "x$ac_cv_func_sqrtf" = xyes; then :
70151 cat >>confdefs.h <<_ACEOF
70152 #define HAVE_SQRTF 1
70153 _ACEOF
70156 done
70158 else
70160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
70161 $as_echo_n "checking for _sqrtf declaration... " >&6; }
70162 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
70163 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
70164 $as_echo_n "(cached) " >&6
70165 else
70168 ac_ext=cpp
70169 ac_cpp='$CXXCPP $CPPFLAGS'
70170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70175 /* end confdefs.h. */
70176 #include <math.h>
70177 #ifdef HAVE_IEEEFP_H
70178 #include <ieeefp.h>
70179 #endif
70182 main ()
70184 _sqrtf(0);
70186 return 0;
70188 _ACEOF
70189 if ac_fn_cxx_try_compile "$LINENO"; then :
70190 glibcxx_cv_func__sqrtf_use=yes
70191 else
70192 glibcxx_cv_func__sqrtf_use=no
70194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70195 ac_ext=c
70196 ac_cpp='$CPP $CPPFLAGS'
70197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
70206 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
70208 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
70209 for ac_func in _sqrtf
70210 do :
70211 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
70212 if test "x$ac_cv_func__sqrtf" = xyes; then :
70213 cat >>confdefs.h <<_ACEOF
70214 #define HAVE__SQRTF 1
70215 _ACEOF
70218 done
70227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
70228 $as_echo_n "checking for sincosf declaration... " >&6; }
70229 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
70230 if ${glibcxx_cv_func_sincosf_use+:} false; then :
70231 $as_echo_n "(cached) " >&6
70232 else
70235 ac_ext=cpp
70236 ac_cpp='$CXXCPP $CPPFLAGS'
70237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70242 /* end confdefs.h. */
70243 #include <math.h>
70245 main ()
70247 sincosf(0, 0, 0);
70249 return 0;
70251 _ACEOF
70252 if ac_fn_cxx_try_compile "$LINENO"; then :
70253 glibcxx_cv_func_sincosf_use=yes
70254 else
70255 glibcxx_cv_func_sincosf_use=no
70257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70258 ac_ext=c
70259 ac_cpp='$CPP $CPPFLAGS'
70260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
70269 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
70271 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
70272 for ac_func in sincosf
70273 do :
70274 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
70275 if test "x$ac_cv_func_sincosf" = xyes; then :
70276 cat >>confdefs.h <<_ACEOF
70277 #define HAVE_SINCOSF 1
70278 _ACEOF
70281 done
70283 else
70285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
70286 $as_echo_n "checking for _sincosf declaration... " >&6; }
70287 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
70288 if ${glibcxx_cv_func__sincosf_use+:} false; then :
70289 $as_echo_n "(cached) " >&6
70290 else
70293 ac_ext=cpp
70294 ac_cpp='$CXXCPP $CPPFLAGS'
70295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70300 /* end confdefs.h. */
70301 #include <math.h>
70303 main ()
70305 _sincosf(0, 0, 0);
70307 return 0;
70309 _ACEOF
70310 if ac_fn_cxx_try_compile "$LINENO"; then :
70311 glibcxx_cv_func__sincosf_use=yes
70312 else
70313 glibcxx_cv_func__sincosf_use=no
70315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70316 ac_ext=c
70317 ac_cpp='$CPP $CPPFLAGS'
70318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
70327 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
70329 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
70330 for ac_func in _sincosf
70331 do :
70332 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
70333 if test "x$ac_cv_func__sincosf" = xyes; then :
70334 cat >>confdefs.h <<_ACEOF
70335 #define HAVE__SINCOSF 1
70336 _ACEOF
70339 done
70348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
70349 $as_echo_n "checking for finitef declaration... " >&6; }
70350 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
70351 if ${glibcxx_cv_func_finitef_use+:} false; then :
70352 $as_echo_n "(cached) " >&6
70353 else
70356 ac_ext=cpp
70357 ac_cpp='$CXXCPP $CPPFLAGS'
70358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70363 /* end confdefs.h. */
70364 #include <math.h>
70365 #ifdef HAVE_IEEEFP_H
70366 #include <ieeefp.h>
70367 #endif
70370 main ()
70372 finitef(0);
70374 return 0;
70376 _ACEOF
70377 if ac_fn_cxx_try_compile "$LINENO"; then :
70378 glibcxx_cv_func_finitef_use=yes
70379 else
70380 glibcxx_cv_func_finitef_use=no
70382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70383 ac_ext=c
70384 ac_cpp='$CPP $CPPFLAGS'
70385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
70394 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
70396 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
70397 for ac_func in finitef
70398 do :
70399 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
70400 if test "x$ac_cv_func_finitef" = xyes; then :
70401 cat >>confdefs.h <<_ACEOF
70402 #define HAVE_FINITEF 1
70403 _ACEOF
70406 done
70408 else
70410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
70411 $as_echo_n "checking for _finitef declaration... " >&6; }
70412 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
70413 if ${glibcxx_cv_func__finitef_use+:} false; then :
70414 $as_echo_n "(cached) " >&6
70415 else
70418 ac_ext=cpp
70419 ac_cpp='$CXXCPP $CPPFLAGS'
70420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70425 /* end confdefs.h. */
70426 #include <math.h>
70427 #ifdef HAVE_IEEEFP_H
70428 #include <ieeefp.h>
70429 #endif
70432 main ()
70434 _finitef(0);
70436 return 0;
70438 _ACEOF
70439 if ac_fn_cxx_try_compile "$LINENO"; then :
70440 glibcxx_cv_func__finitef_use=yes
70441 else
70442 glibcxx_cv_func__finitef_use=no
70444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70445 ac_ext=c
70446 ac_cpp='$CPP $CPPFLAGS'
70447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
70456 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
70458 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
70459 for ac_func in _finitef
70460 do :
70461 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
70462 if test "x$ac_cv_func__finitef" = xyes; then :
70463 cat >>confdefs.h <<_ACEOF
70464 #define HAVE__FINITEF 1
70465 _ACEOF
70468 done
70477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
70478 $as_echo_n "checking for long double trig functions... " >&6; }
70479 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
70480 $as_echo_n "(cached) " >&6
70481 else
70484 ac_ext=cpp
70485 ac_cpp='$CXXCPP $CPPFLAGS'
70486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70491 /* end confdefs.h. */
70492 #include <math.h>
70494 main ()
70496 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
70498 return 0;
70500 _ACEOF
70501 if ac_fn_cxx_try_compile "$LINENO"; then :
70502 glibcxx_cv_func_long_double_trig_use=yes
70503 else
70504 glibcxx_cv_func_long_double_trig_use=no
70506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70507 ac_ext=c
70508 ac_cpp='$CPP $CPPFLAGS'
70509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
70516 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
70517 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
70518 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
70519 do :
70520 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70521 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70522 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70523 cat >>confdefs.h <<_ACEOF
70524 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70525 _ACEOF
70528 done
70530 else
70531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
70532 $as_echo_n "checking for _long double trig functions... " >&6; }
70533 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
70534 $as_echo_n "(cached) " >&6
70535 else
70538 ac_ext=cpp
70539 ac_cpp='$CXXCPP $CPPFLAGS'
70540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70545 /* end confdefs.h. */
70546 #include <math.h>
70548 main ()
70550 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
70552 return 0;
70554 _ACEOF
70555 if ac_fn_cxx_try_compile "$LINENO"; then :
70556 glibcxx_cv_func__long_double_trig_use=yes
70557 else
70558 glibcxx_cv_func__long_double_trig_use=no
70560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70561 ac_ext=c
70562 ac_cpp='$CPP $CPPFLAGS'
70563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
70570 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
70571 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70572 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
70573 do :
70574 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70575 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70576 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70577 cat >>confdefs.h <<_ACEOF
70578 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70579 _ACEOF
70582 done
70591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
70592 $as_echo_n "checking for long double round functions... " >&6; }
70593 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
70594 $as_echo_n "(cached) " >&6
70595 else
70598 ac_ext=cpp
70599 ac_cpp='$CXXCPP $CPPFLAGS'
70600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70605 /* end confdefs.h. */
70606 #include <math.h>
70608 main ()
70610 ceill (0); floorl (0);
70612 return 0;
70614 _ACEOF
70615 if ac_fn_cxx_try_compile "$LINENO"; then :
70616 glibcxx_cv_func_long_double_round_use=yes
70617 else
70618 glibcxx_cv_func_long_double_round_use=no
70620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70621 ac_ext=c
70622 ac_cpp='$CPP $CPPFLAGS'
70623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
70630 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
70631 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
70632 for ac_func in ceill floorl
70633 do :
70634 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70635 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70636 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70637 cat >>confdefs.h <<_ACEOF
70638 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70639 _ACEOF
70642 done
70644 else
70645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
70646 $as_echo_n "checking for _long double round functions... " >&6; }
70647 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
70648 $as_echo_n "(cached) " >&6
70649 else
70652 ac_ext=cpp
70653 ac_cpp='$CXXCPP $CPPFLAGS'
70654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70659 /* end confdefs.h. */
70660 #include <math.h>
70662 main ()
70664 _ceill (0); _floorl (0);
70666 return 0;
70668 _ACEOF
70669 if ac_fn_cxx_try_compile "$LINENO"; then :
70670 glibcxx_cv_func__long_double_round_use=yes
70671 else
70672 glibcxx_cv_func__long_double_round_use=no
70674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70675 ac_ext=c
70676 ac_cpp='$CPP $CPPFLAGS'
70677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
70684 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
70685 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70686 for ac_func in _ceill _floorl
70687 do :
70688 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70689 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70690 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70691 cat >>confdefs.h <<_ACEOF
70692 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70693 _ACEOF
70696 done
70706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
70707 $as_echo_n "checking for isnanl declaration... " >&6; }
70708 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70709 if ${glibcxx_cv_func_isnanl_use+:} false; then :
70710 $as_echo_n "(cached) " >&6
70711 else
70714 ac_ext=cpp
70715 ac_cpp='$CXXCPP $CPPFLAGS'
70716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70721 /* end confdefs.h. */
70722 #include <math.h>
70723 #ifdef HAVE_IEEEFP_H
70724 #include <ieeefp.h>
70725 #endif
70728 main ()
70730 isnanl(0);
70732 return 0;
70734 _ACEOF
70735 if ac_fn_cxx_try_compile "$LINENO"; then :
70736 glibcxx_cv_func_isnanl_use=yes
70737 else
70738 glibcxx_cv_func_isnanl_use=no
70740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70741 ac_ext=c
70742 ac_cpp='$CPP $CPPFLAGS'
70743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
70752 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
70754 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70755 for ac_func in isnanl
70756 do :
70757 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
70758 if test "x$ac_cv_func_isnanl" = xyes; then :
70759 cat >>confdefs.h <<_ACEOF
70760 #define HAVE_ISNANL 1
70761 _ACEOF
70764 done
70766 else
70768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70769 $as_echo_n "checking for _isnanl declaration... " >&6; }
70770 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70771 if ${glibcxx_cv_func__isnanl_use+:} false; then :
70772 $as_echo_n "(cached) " >&6
70773 else
70776 ac_ext=cpp
70777 ac_cpp='$CXXCPP $CPPFLAGS'
70778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70783 /* end confdefs.h. */
70784 #include <math.h>
70785 #ifdef HAVE_IEEEFP_H
70786 #include <ieeefp.h>
70787 #endif
70790 main ()
70792 _isnanl(0);
70794 return 0;
70796 _ACEOF
70797 if ac_fn_cxx_try_compile "$LINENO"; then :
70798 glibcxx_cv_func__isnanl_use=yes
70799 else
70800 glibcxx_cv_func__isnanl_use=no
70802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70803 ac_ext=c
70804 ac_cpp='$CPP $CPPFLAGS'
70805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70814 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70816 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70817 for ac_func in _isnanl
70818 do :
70819 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70820 if test "x$ac_cv_func__isnanl" = xyes; then :
70821 cat >>confdefs.h <<_ACEOF
70822 #define HAVE__ISNANL 1
70823 _ACEOF
70826 done
70835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70836 $as_echo_n "checking for isinfl declaration... " >&6; }
70837 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70838 if ${glibcxx_cv_func_isinfl_use+:} false; then :
70839 $as_echo_n "(cached) " >&6
70840 else
70843 ac_ext=cpp
70844 ac_cpp='$CXXCPP $CPPFLAGS'
70845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70850 /* end confdefs.h. */
70851 #include <math.h>
70852 #ifdef HAVE_IEEEFP_H
70853 #include <ieeefp.h>
70854 #endif
70857 main ()
70859 isinfl(0);
70861 return 0;
70863 _ACEOF
70864 if ac_fn_cxx_try_compile "$LINENO"; then :
70865 glibcxx_cv_func_isinfl_use=yes
70866 else
70867 glibcxx_cv_func_isinfl_use=no
70869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70870 ac_ext=c
70871 ac_cpp='$CPP $CPPFLAGS'
70872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70881 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70883 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70884 for ac_func in isinfl
70885 do :
70886 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70887 if test "x$ac_cv_func_isinfl" = xyes; then :
70888 cat >>confdefs.h <<_ACEOF
70889 #define HAVE_ISINFL 1
70890 _ACEOF
70893 done
70895 else
70897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70898 $as_echo_n "checking for _isinfl declaration... " >&6; }
70899 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70900 if ${glibcxx_cv_func__isinfl_use+:} false; then :
70901 $as_echo_n "(cached) " >&6
70902 else
70905 ac_ext=cpp
70906 ac_cpp='$CXXCPP $CPPFLAGS'
70907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70912 /* end confdefs.h. */
70913 #include <math.h>
70914 #ifdef HAVE_IEEEFP_H
70915 #include <ieeefp.h>
70916 #endif
70919 main ()
70921 _isinfl(0);
70923 return 0;
70925 _ACEOF
70926 if ac_fn_cxx_try_compile "$LINENO"; then :
70927 glibcxx_cv_func__isinfl_use=yes
70928 else
70929 glibcxx_cv_func__isinfl_use=no
70931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70932 ac_ext=c
70933 ac_cpp='$CPP $CPPFLAGS'
70934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70943 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70945 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70946 for ac_func in _isinfl
70947 do :
70948 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70949 if test "x$ac_cv_func__isinfl" = xyes; then :
70950 cat >>confdefs.h <<_ACEOF
70951 #define HAVE__ISINFL 1
70952 _ACEOF
70955 done
70964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70965 $as_echo_n "checking for atan2l declaration... " >&6; }
70966 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70967 if ${glibcxx_cv_func_atan2l_use+:} false; then :
70968 $as_echo_n "(cached) " >&6
70969 else
70972 ac_ext=cpp
70973 ac_cpp='$CXXCPP $CPPFLAGS'
70974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70979 /* end confdefs.h. */
70980 #include <math.h>
70982 main ()
70984 atan2l(0, 0);
70986 return 0;
70988 _ACEOF
70989 if ac_fn_cxx_try_compile "$LINENO"; then :
70990 glibcxx_cv_func_atan2l_use=yes
70991 else
70992 glibcxx_cv_func_atan2l_use=no
70994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70995 ac_ext=c
70996 ac_cpp='$CPP $CPPFLAGS'
70997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
71006 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
71008 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
71009 for ac_func in atan2l
71010 do :
71011 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
71012 if test "x$ac_cv_func_atan2l" = xyes; then :
71013 cat >>confdefs.h <<_ACEOF
71014 #define HAVE_ATAN2L 1
71015 _ACEOF
71018 done
71020 else
71022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
71023 $as_echo_n "checking for _atan2l declaration... " >&6; }
71024 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
71025 if ${glibcxx_cv_func__atan2l_use+:} false; then :
71026 $as_echo_n "(cached) " >&6
71027 else
71030 ac_ext=cpp
71031 ac_cpp='$CXXCPP $CPPFLAGS'
71032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71037 /* end confdefs.h. */
71038 #include <math.h>
71040 main ()
71042 _atan2l(0, 0);
71044 return 0;
71046 _ACEOF
71047 if ac_fn_cxx_try_compile "$LINENO"; then :
71048 glibcxx_cv_func__atan2l_use=yes
71049 else
71050 glibcxx_cv_func__atan2l_use=no
71052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71053 ac_ext=c
71054 ac_cpp='$CPP $CPPFLAGS'
71055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
71064 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
71066 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
71067 for ac_func in _atan2l
71068 do :
71069 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
71070 if test "x$ac_cv_func__atan2l" = xyes; then :
71071 cat >>confdefs.h <<_ACEOF
71072 #define HAVE__ATAN2L 1
71073 _ACEOF
71076 done
71085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
71086 $as_echo_n "checking for expl declaration... " >&6; }
71087 if test x${glibcxx_cv_func_expl_use+set} != xset; then
71088 if ${glibcxx_cv_func_expl_use+:} false; then :
71089 $as_echo_n "(cached) " >&6
71090 else
71093 ac_ext=cpp
71094 ac_cpp='$CXXCPP $CPPFLAGS'
71095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71100 /* end confdefs.h. */
71101 #include <math.h>
71102 #ifdef HAVE_IEEEFP_H
71103 #include <ieeefp.h>
71104 #endif
71107 main ()
71109 expl(0);
71111 return 0;
71113 _ACEOF
71114 if ac_fn_cxx_try_compile "$LINENO"; then :
71115 glibcxx_cv_func_expl_use=yes
71116 else
71117 glibcxx_cv_func_expl_use=no
71119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71120 ac_ext=c
71121 ac_cpp='$CPP $CPPFLAGS'
71122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
71131 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
71133 if test x$glibcxx_cv_func_expl_use = x"yes"; then
71134 for ac_func in expl
71135 do :
71136 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
71137 if test "x$ac_cv_func_expl" = xyes; then :
71138 cat >>confdefs.h <<_ACEOF
71139 #define HAVE_EXPL 1
71140 _ACEOF
71143 done
71145 else
71147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
71148 $as_echo_n "checking for _expl declaration... " >&6; }
71149 if test x${glibcxx_cv_func__expl_use+set} != xset; then
71150 if ${glibcxx_cv_func__expl_use+:} false; then :
71151 $as_echo_n "(cached) " >&6
71152 else
71155 ac_ext=cpp
71156 ac_cpp='$CXXCPP $CPPFLAGS'
71157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71162 /* end confdefs.h. */
71163 #include <math.h>
71164 #ifdef HAVE_IEEEFP_H
71165 #include <ieeefp.h>
71166 #endif
71169 main ()
71171 _expl(0);
71173 return 0;
71175 _ACEOF
71176 if ac_fn_cxx_try_compile "$LINENO"; then :
71177 glibcxx_cv_func__expl_use=yes
71178 else
71179 glibcxx_cv_func__expl_use=no
71181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71182 ac_ext=c
71183 ac_cpp='$CPP $CPPFLAGS'
71184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
71193 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
71195 if test x$glibcxx_cv_func__expl_use = x"yes"; then
71196 for ac_func in _expl
71197 do :
71198 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
71199 if test "x$ac_cv_func__expl" = xyes; then :
71200 cat >>confdefs.h <<_ACEOF
71201 #define HAVE__EXPL 1
71202 _ACEOF
71205 done
71214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
71215 $as_echo_n "checking for fabsl declaration... " >&6; }
71216 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
71217 if ${glibcxx_cv_func_fabsl_use+:} false; then :
71218 $as_echo_n "(cached) " >&6
71219 else
71222 ac_ext=cpp
71223 ac_cpp='$CXXCPP $CPPFLAGS'
71224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71229 /* end confdefs.h. */
71230 #include <math.h>
71231 #ifdef HAVE_IEEEFP_H
71232 #include <ieeefp.h>
71233 #endif
71236 main ()
71238 fabsl(0);
71240 return 0;
71242 _ACEOF
71243 if ac_fn_cxx_try_compile "$LINENO"; then :
71244 glibcxx_cv_func_fabsl_use=yes
71245 else
71246 glibcxx_cv_func_fabsl_use=no
71248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71249 ac_ext=c
71250 ac_cpp='$CPP $CPPFLAGS'
71251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
71260 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
71262 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
71263 for ac_func in fabsl
71264 do :
71265 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
71266 if test "x$ac_cv_func_fabsl" = xyes; then :
71267 cat >>confdefs.h <<_ACEOF
71268 #define HAVE_FABSL 1
71269 _ACEOF
71272 done
71274 else
71276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
71277 $as_echo_n "checking for _fabsl declaration... " >&6; }
71278 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
71279 if ${glibcxx_cv_func__fabsl_use+:} false; then :
71280 $as_echo_n "(cached) " >&6
71281 else
71284 ac_ext=cpp
71285 ac_cpp='$CXXCPP $CPPFLAGS'
71286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71291 /* end confdefs.h. */
71292 #include <math.h>
71293 #ifdef HAVE_IEEEFP_H
71294 #include <ieeefp.h>
71295 #endif
71298 main ()
71300 _fabsl(0);
71302 return 0;
71304 _ACEOF
71305 if ac_fn_cxx_try_compile "$LINENO"; then :
71306 glibcxx_cv_func__fabsl_use=yes
71307 else
71308 glibcxx_cv_func__fabsl_use=no
71310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71311 ac_ext=c
71312 ac_cpp='$CPP $CPPFLAGS'
71313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
71322 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
71324 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
71325 for ac_func in _fabsl
71326 do :
71327 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
71328 if test "x$ac_cv_func__fabsl" = xyes; then :
71329 cat >>confdefs.h <<_ACEOF
71330 #define HAVE__FABSL 1
71331 _ACEOF
71334 done
71343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
71344 $as_echo_n "checking for fmodl declaration... " >&6; }
71345 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
71346 if ${glibcxx_cv_func_fmodl_use+:} false; then :
71347 $as_echo_n "(cached) " >&6
71348 else
71351 ac_ext=cpp
71352 ac_cpp='$CXXCPP $CPPFLAGS'
71353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71358 /* end confdefs.h. */
71359 #include <math.h>
71361 main ()
71363 fmodl(0, 0);
71365 return 0;
71367 _ACEOF
71368 if ac_fn_cxx_try_compile "$LINENO"; then :
71369 glibcxx_cv_func_fmodl_use=yes
71370 else
71371 glibcxx_cv_func_fmodl_use=no
71373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71374 ac_ext=c
71375 ac_cpp='$CPP $CPPFLAGS'
71376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
71385 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
71387 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
71388 for ac_func in fmodl
71389 do :
71390 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
71391 if test "x$ac_cv_func_fmodl" = xyes; then :
71392 cat >>confdefs.h <<_ACEOF
71393 #define HAVE_FMODL 1
71394 _ACEOF
71397 done
71399 else
71401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
71402 $as_echo_n "checking for _fmodl declaration... " >&6; }
71403 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
71404 if ${glibcxx_cv_func__fmodl_use+:} false; then :
71405 $as_echo_n "(cached) " >&6
71406 else
71409 ac_ext=cpp
71410 ac_cpp='$CXXCPP $CPPFLAGS'
71411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71416 /* end confdefs.h. */
71417 #include <math.h>
71419 main ()
71421 _fmodl(0, 0);
71423 return 0;
71425 _ACEOF
71426 if ac_fn_cxx_try_compile "$LINENO"; then :
71427 glibcxx_cv_func__fmodl_use=yes
71428 else
71429 glibcxx_cv_func__fmodl_use=no
71431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71432 ac_ext=c
71433 ac_cpp='$CPP $CPPFLAGS'
71434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
71443 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
71445 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
71446 for ac_func in _fmodl
71447 do :
71448 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
71449 if test "x$ac_cv_func__fmodl" = xyes; then :
71450 cat >>confdefs.h <<_ACEOF
71451 #define HAVE__FMODL 1
71452 _ACEOF
71455 done
71464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
71465 $as_echo_n "checking for frexpl declaration... " >&6; }
71466 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
71467 if ${glibcxx_cv_func_frexpl_use+:} false; then :
71468 $as_echo_n "(cached) " >&6
71469 else
71472 ac_ext=cpp
71473 ac_cpp='$CXXCPP $CPPFLAGS'
71474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71479 /* end confdefs.h. */
71480 #include <math.h>
71482 main ()
71484 frexpl(0, 0);
71486 return 0;
71488 _ACEOF
71489 if ac_fn_cxx_try_compile "$LINENO"; then :
71490 glibcxx_cv_func_frexpl_use=yes
71491 else
71492 glibcxx_cv_func_frexpl_use=no
71494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71495 ac_ext=c
71496 ac_cpp='$CPP $CPPFLAGS'
71497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
71506 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
71508 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
71509 for ac_func in frexpl
71510 do :
71511 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
71512 if test "x$ac_cv_func_frexpl" = xyes; then :
71513 cat >>confdefs.h <<_ACEOF
71514 #define HAVE_FREXPL 1
71515 _ACEOF
71518 done
71520 else
71522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
71523 $as_echo_n "checking for _frexpl declaration... " >&6; }
71524 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
71525 if ${glibcxx_cv_func__frexpl_use+:} false; then :
71526 $as_echo_n "(cached) " >&6
71527 else
71530 ac_ext=cpp
71531 ac_cpp='$CXXCPP $CPPFLAGS'
71532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71537 /* end confdefs.h. */
71538 #include <math.h>
71540 main ()
71542 _frexpl(0, 0);
71544 return 0;
71546 _ACEOF
71547 if ac_fn_cxx_try_compile "$LINENO"; then :
71548 glibcxx_cv_func__frexpl_use=yes
71549 else
71550 glibcxx_cv_func__frexpl_use=no
71552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71553 ac_ext=c
71554 ac_cpp='$CPP $CPPFLAGS'
71555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
71564 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
71566 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
71567 for ac_func in _frexpl
71568 do :
71569 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
71570 if test "x$ac_cv_func__frexpl" = xyes; then :
71571 cat >>confdefs.h <<_ACEOF
71572 #define HAVE__FREXPL 1
71573 _ACEOF
71576 done
71585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
71586 $as_echo_n "checking for hypotl declaration... " >&6; }
71587 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
71588 if ${glibcxx_cv_func_hypotl_use+:} false; then :
71589 $as_echo_n "(cached) " >&6
71590 else
71593 ac_ext=cpp
71594 ac_cpp='$CXXCPP $CPPFLAGS'
71595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71600 /* end confdefs.h. */
71601 #include <math.h>
71603 main ()
71605 hypotl(0, 0);
71607 return 0;
71609 _ACEOF
71610 if ac_fn_cxx_try_compile "$LINENO"; then :
71611 glibcxx_cv_func_hypotl_use=yes
71612 else
71613 glibcxx_cv_func_hypotl_use=no
71615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71616 ac_ext=c
71617 ac_cpp='$CPP $CPPFLAGS'
71618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
71627 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
71629 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
71630 for ac_func in hypotl
71631 do :
71632 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
71633 if test "x$ac_cv_func_hypotl" = xyes; then :
71634 cat >>confdefs.h <<_ACEOF
71635 #define HAVE_HYPOTL 1
71636 _ACEOF
71639 done
71641 else
71643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
71644 $as_echo_n "checking for _hypotl declaration... " >&6; }
71645 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
71646 if ${glibcxx_cv_func__hypotl_use+:} false; then :
71647 $as_echo_n "(cached) " >&6
71648 else
71651 ac_ext=cpp
71652 ac_cpp='$CXXCPP $CPPFLAGS'
71653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71658 /* end confdefs.h. */
71659 #include <math.h>
71661 main ()
71663 _hypotl(0, 0);
71665 return 0;
71667 _ACEOF
71668 if ac_fn_cxx_try_compile "$LINENO"; then :
71669 glibcxx_cv_func__hypotl_use=yes
71670 else
71671 glibcxx_cv_func__hypotl_use=no
71673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71674 ac_ext=c
71675 ac_cpp='$CPP $CPPFLAGS'
71676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
71685 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
71687 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
71688 for ac_func in _hypotl
71689 do :
71690 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
71691 if test "x$ac_cv_func__hypotl" = xyes; then :
71692 cat >>confdefs.h <<_ACEOF
71693 #define HAVE__HYPOTL 1
71694 _ACEOF
71697 done
71706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
71707 $as_echo_n "checking for ldexpl declaration... " >&6; }
71708 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71709 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
71710 $as_echo_n "(cached) " >&6
71711 else
71714 ac_ext=cpp
71715 ac_cpp='$CXXCPP $CPPFLAGS'
71716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71721 /* end confdefs.h. */
71722 #include <math.h>
71724 main ()
71726 ldexpl(0, 0);
71728 return 0;
71730 _ACEOF
71731 if ac_fn_cxx_try_compile "$LINENO"; then :
71732 glibcxx_cv_func_ldexpl_use=yes
71733 else
71734 glibcxx_cv_func_ldexpl_use=no
71736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71737 ac_ext=c
71738 ac_cpp='$CPP $CPPFLAGS'
71739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
71748 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
71750 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71751 for ac_func in ldexpl
71752 do :
71753 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
71754 if test "x$ac_cv_func_ldexpl" = xyes; then :
71755 cat >>confdefs.h <<_ACEOF
71756 #define HAVE_LDEXPL 1
71757 _ACEOF
71760 done
71762 else
71764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71765 $as_echo_n "checking for _ldexpl declaration... " >&6; }
71766 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71767 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
71768 $as_echo_n "(cached) " >&6
71769 else
71772 ac_ext=cpp
71773 ac_cpp='$CXXCPP $CPPFLAGS'
71774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71779 /* end confdefs.h. */
71780 #include <math.h>
71782 main ()
71784 _ldexpl(0, 0);
71786 return 0;
71788 _ACEOF
71789 if ac_fn_cxx_try_compile "$LINENO"; then :
71790 glibcxx_cv_func__ldexpl_use=yes
71791 else
71792 glibcxx_cv_func__ldexpl_use=no
71794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71795 ac_ext=c
71796 ac_cpp='$CPP $CPPFLAGS'
71797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71806 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71808 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71809 for ac_func in _ldexpl
71810 do :
71811 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71812 if test "x$ac_cv_func__ldexpl" = xyes; then :
71813 cat >>confdefs.h <<_ACEOF
71814 #define HAVE__LDEXPL 1
71815 _ACEOF
71818 done
71827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71828 $as_echo_n "checking for logl declaration... " >&6; }
71829 if test x${glibcxx_cv_func_logl_use+set} != xset; then
71830 if ${glibcxx_cv_func_logl_use+:} false; then :
71831 $as_echo_n "(cached) " >&6
71832 else
71835 ac_ext=cpp
71836 ac_cpp='$CXXCPP $CPPFLAGS'
71837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71842 /* end confdefs.h. */
71843 #include <math.h>
71844 #ifdef HAVE_IEEEFP_H
71845 #include <ieeefp.h>
71846 #endif
71849 main ()
71851 logl(0);
71853 return 0;
71855 _ACEOF
71856 if ac_fn_cxx_try_compile "$LINENO"; then :
71857 glibcxx_cv_func_logl_use=yes
71858 else
71859 glibcxx_cv_func_logl_use=no
71861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71862 ac_ext=c
71863 ac_cpp='$CPP $CPPFLAGS'
71864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71873 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
71875 if test x$glibcxx_cv_func_logl_use = x"yes"; then
71876 for ac_func in logl
71877 do :
71878 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71879 if test "x$ac_cv_func_logl" = xyes; then :
71880 cat >>confdefs.h <<_ACEOF
71881 #define HAVE_LOGL 1
71882 _ACEOF
71885 done
71887 else
71889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71890 $as_echo_n "checking for _logl declaration... " >&6; }
71891 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71892 if ${glibcxx_cv_func__logl_use+:} false; then :
71893 $as_echo_n "(cached) " >&6
71894 else
71897 ac_ext=cpp
71898 ac_cpp='$CXXCPP $CPPFLAGS'
71899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71904 /* end confdefs.h. */
71905 #include <math.h>
71906 #ifdef HAVE_IEEEFP_H
71907 #include <ieeefp.h>
71908 #endif
71911 main ()
71913 _logl(0);
71915 return 0;
71917 _ACEOF
71918 if ac_fn_cxx_try_compile "$LINENO"; then :
71919 glibcxx_cv_func__logl_use=yes
71920 else
71921 glibcxx_cv_func__logl_use=no
71923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71924 ac_ext=c
71925 ac_cpp='$CPP $CPPFLAGS'
71926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71935 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
71937 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71938 for ac_func in _logl
71939 do :
71940 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71941 if test "x$ac_cv_func__logl" = xyes; then :
71942 cat >>confdefs.h <<_ACEOF
71943 #define HAVE__LOGL 1
71944 _ACEOF
71947 done
71956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71957 $as_echo_n "checking for log10l declaration... " >&6; }
71958 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71959 if ${glibcxx_cv_func_log10l_use+:} false; then :
71960 $as_echo_n "(cached) " >&6
71961 else
71964 ac_ext=cpp
71965 ac_cpp='$CXXCPP $CPPFLAGS'
71966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71971 /* end confdefs.h. */
71972 #include <math.h>
71973 #ifdef HAVE_IEEEFP_H
71974 #include <ieeefp.h>
71975 #endif
71978 main ()
71980 log10l(0);
71982 return 0;
71984 _ACEOF
71985 if ac_fn_cxx_try_compile "$LINENO"; then :
71986 glibcxx_cv_func_log10l_use=yes
71987 else
71988 glibcxx_cv_func_log10l_use=no
71990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71991 ac_ext=c
71992 ac_cpp='$CPP $CPPFLAGS'
71993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
72002 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
72004 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
72005 for ac_func in log10l
72006 do :
72007 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
72008 if test "x$ac_cv_func_log10l" = xyes; then :
72009 cat >>confdefs.h <<_ACEOF
72010 #define HAVE_LOG10L 1
72011 _ACEOF
72014 done
72016 else
72018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
72019 $as_echo_n "checking for _log10l declaration... " >&6; }
72020 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
72021 if ${glibcxx_cv_func__log10l_use+:} false; then :
72022 $as_echo_n "(cached) " >&6
72023 else
72026 ac_ext=cpp
72027 ac_cpp='$CXXCPP $CPPFLAGS'
72028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72033 /* end confdefs.h. */
72034 #include <math.h>
72035 #ifdef HAVE_IEEEFP_H
72036 #include <ieeefp.h>
72037 #endif
72040 main ()
72042 _log10l(0);
72044 return 0;
72046 _ACEOF
72047 if ac_fn_cxx_try_compile "$LINENO"; then :
72048 glibcxx_cv_func__log10l_use=yes
72049 else
72050 glibcxx_cv_func__log10l_use=no
72052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72053 ac_ext=c
72054 ac_cpp='$CPP $CPPFLAGS'
72055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
72064 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
72066 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
72067 for ac_func in _log10l
72068 do :
72069 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
72070 if test "x$ac_cv_func__log10l" = xyes; then :
72071 cat >>confdefs.h <<_ACEOF
72072 #define HAVE__LOG10L 1
72073 _ACEOF
72076 done
72085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
72086 $as_echo_n "checking for modfl declaration... " >&6; }
72087 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
72088 if ${glibcxx_cv_func_modfl_use+:} false; then :
72089 $as_echo_n "(cached) " >&6
72090 else
72093 ac_ext=cpp
72094 ac_cpp='$CXXCPP $CPPFLAGS'
72095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72100 /* end confdefs.h. */
72101 #include <math.h>
72103 main ()
72105 modfl(0, 0);
72107 return 0;
72109 _ACEOF
72110 if ac_fn_cxx_try_compile "$LINENO"; then :
72111 glibcxx_cv_func_modfl_use=yes
72112 else
72113 glibcxx_cv_func_modfl_use=no
72115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72116 ac_ext=c
72117 ac_cpp='$CPP $CPPFLAGS'
72118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
72127 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
72129 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
72130 for ac_func in modfl
72131 do :
72132 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
72133 if test "x$ac_cv_func_modfl" = xyes; then :
72134 cat >>confdefs.h <<_ACEOF
72135 #define HAVE_MODFL 1
72136 _ACEOF
72139 done
72141 else
72143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
72144 $as_echo_n "checking for _modfl declaration... " >&6; }
72145 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
72146 if ${glibcxx_cv_func__modfl_use+:} false; then :
72147 $as_echo_n "(cached) " >&6
72148 else
72151 ac_ext=cpp
72152 ac_cpp='$CXXCPP $CPPFLAGS'
72153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72158 /* end confdefs.h. */
72159 #include <math.h>
72161 main ()
72163 _modfl(0, 0);
72165 return 0;
72167 _ACEOF
72168 if ac_fn_cxx_try_compile "$LINENO"; then :
72169 glibcxx_cv_func__modfl_use=yes
72170 else
72171 glibcxx_cv_func__modfl_use=no
72173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72174 ac_ext=c
72175 ac_cpp='$CPP $CPPFLAGS'
72176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
72185 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
72187 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
72188 for ac_func in _modfl
72189 do :
72190 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
72191 if test "x$ac_cv_func__modfl" = xyes; then :
72192 cat >>confdefs.h <<_ACEOF
72193 #define HAVE__MODFL 1
72194 _ACEOF
72197 done
72206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
72207 $as_echo_n "checking for powl declaration... " >&6; }
72208 if test x${glibcxx_cv_func_powl_use+set} != xset; then
72209 if ${glibcxx_cv_func_powl_use+:} false; then :
72210 $as_echo_n "(cached) " >&6
72211 else
72214 ac_ext=cpp
72215 ac_cpp='$CXXCPP $CPPFLAGS'
72216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72221 /* end confdefs.h. */
72222 #include <math.h>
72224 main ()
72226 powl(0, 0);
72228 return 0;
72230 _ACEOF
72231 if ac_fn_cxx_try_compile "$LINENO"; then :
72232 glibcxx_cv_func_powl_use=yes
72233 else
72234 glibcxx_cv_func_powl_use=no
72236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72237 ac_ext=c
72238 ac_cpp='$CPP $CPPFLAGS'
72239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
72248 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
72250 if test x$glibcxx_cv_func_powl_use = x"yes"; then
72251 for ac_func in powl
72252 do :
72253 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
72254 if test "x$ac_cv_func_powl" = xyes; then :
72255 cat >>confdefs.h <<_ACEOF
72256 #define HAVE_POWL 1
72257 _ACEOF
72260 done
72262 else
72264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
72265 $as_echo_n "checking for _powl declaration... " >&6; }
72266 if test x${glibcxx_cv_func__powl_use+set} != xset; then
72267 if ${glibcxx_cv_func__powl_use+:} false; then :
72268 $as_echo_n "(cached) " >&6
72269 else
72272 ac_ext=cpp
72273 ac_cpp='$CXXCPP $CPPFLAGS'
72274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72279 /* end confdefs.h. */
72280 #include <math.h>
72282 main ()
72284 _powl(0, 0);
72286 return 0;
72288 _ACEOF
72289 if ac_fn_cxx_try_compile "$LINENO"; then :
72290 glibcxx_cv_func__powl_use=yes
72291 else
72292 glibcxx_cv_func__powl_use=no
72294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72295 ac_ext=c
72296 ac_cpp='$CPP $CPPFLAGS'
72297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
72306 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
72308 if test x$glibcxx_cv_func__powl_use = x"yes"; then
72309 for ac_func in _powl
72310 do :
72311 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
72312 if test "x$ac_cv_func__powl" = xyes; then :
72313 cat >>confdefs.h <<_ACEOF
72314 #define HAVE__POWL 1
72315 _ACEOF
72318 done
72327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
72328 $as_echo_n "checking for sqrtl declaration... " >&6; }
72329 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
72330 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
72331 $as_echo_n "(cached) " >&6
72332 else
72335 ac_ext=cpp
72336 ac_cpp='$CXXCPP $CPPFLAGS'
72337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72342 /* end confdefs.h. */
72343 #include <math.h>
72344 #ifdef HAVE_IEEEFP_H
72345 #include <ieeefp.h>
72346 #endif
72349 main ()
72351 sqrtl(0);
72353 return 0;
72355 _ACEOF
72356 if ac_fn_cxx_try_compile "$LINENO"; then :
72357 glibcxx_cv_func_sqrtl_use=yes
72358 else
72359 glibcxx_cv_func_sqrtl_use=no
72361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72362 ac_ext=c
72363 ac_cpp='$CPP $CPPFLAGS'
72364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
72373 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
72375 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
72376 for ac_func in sqrtl
72377 do :
72378 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
72379 if test "x$ac_cv_func_sqrtl" = xyes; then :
72380 cat >>confdefs.h <<_ACEOF
72381 #define HAVE_SQRTL 1
72382 _ACEOF
72385 done
72387 else
72389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
72390 $as_echo_n "checking for _sqrtl declaration... " >&6; }
72391 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
72392 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
72393 $as_echo_n "(cached) " >&6
72394 else
72397 ac_ext=cpp
72398 ac_cpp='$CXXCPP $CPPFLAGS'
72399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72404 /* end confdefs.h. */
72405 #include <math.h>
72406 #ifdef HAVE_IEEEFP_H
72407 #include <ieeefp.h>
72408 #endif
72411 main ()
72413 _sqrtl(0);
72415 return 0;
72417 _ACEOF
72418 if ac_fn_cxx_try_compile "$LINENO"; then :
72419 glibcxx_cv_func__sqrtl_use=yes
72420 else
72421 glibcxx_cv_func__sqrtl_use=no
72423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72424 ac_ext=c
72425 ac_cpp='$CPP $CPPFLAGS'
72426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
72435 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
72437 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
72438 for ac_func in _sqrtl
72439 do :
72440 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
72441 if test "x$ac_cv_func__sqrtl" = xyes; then :
72442 cat >>confdefs.h <<_ACEOF
72443 #define HAVE__SQRTL 1
72444 _ACEOF
72447 done
72456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
72457 $as_echo_n "checking for sincosl declaration... " >&6; }
72458 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
72459 if ${glibcxx_cv_func_sincosl_use+:} false; then :
72460 $as_echo_n "(cached) " >&6
72461 else
72464 ac_ext=cpp
72465 ac_cpp='$CXXCPP $CPPFLAGS'
72466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72471 /* end confdefs.h. */
72472 #include <math.h>
72474 main ()
72476 sincosl(0, 0, 0);
72478 return 0;
72480 _ACEOF
72481 if ac_fn_cxx_try_compile "$LINENO"; then :
72482 glibcxx_cv_func_sincosl_use=yes
72483 else
72484 glibcxx_cv_func_sincosl_use=no
72486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72487 ac_ext=c
72488 ac_cpp='$CPP $CPPFLAGS'
72489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
72498 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
72500 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
72501 for ac_func in sincosl
72502 do :
72503 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
72504 if test "x$ac_cv_func_sincosl" = xyes; then :
72505 cat >>confdefs.h <<_ACEOF
72506 #define HAVE_SINCOSL 1
72507 _ACEOF
72510 done
72512 else
72514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
72515 $as_echo_n "checking for _sincosl declaration... " >&6; }
72516 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
72517 if ${glibcxx_cv_func__sincosl_use+:} false; then :
72518 $as_echo_n "(cached) " >&6
72519 else
72522 ac_ext=cpp
72523 ac_cpp='$CXXCPP $CPPFLAGS'
72524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72529 /* end confdefs.h. */
72530 #include <math.h>
72532 main ()
72534 _sincosl(0, 0, 0);
72536 return 0;
72538 _ACEOF
72539 if ac_fn_cxx_try_compile "$LINENO"; then :
72540 glibcxx_cv_func__sincosl_use=yes
72541 else
72542 glibcxx_cv_func__sincosl_use=no
72544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72545 ac_ext=c
72546 ac_cpp='$CPP $CPPFLAGS'
72547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
72556 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
72558 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
72559 for ac_func in _sincosl
72560 do :
72561 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
72562 if test "x$ac_cv_func__sincosl" = xyes; then :
72563 cat >>confdefs.h <<_ACEOF
72564 #define HAVE__SINCOSL 1
72565 _ACEOF
72568 done
72577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
72578 $as_echo_n "checking for finitel declaration... " >&6; }
72579 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
72580 if ${glibcxx_cv_func_finitel_use+:} false; then :
72581 $as_echo_n "(cached) " >&6
72582 else
72585 ac_ext=cpp
72586 ac_cpp='$CXXCPP $CPPFLAGS'
72587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72592 /* end confdefs.h. */
72593 #include <math.h>
72594 #ifdef HAVE_IEEEFP_H
72595 #include <ieeefp.h>
72596 #endif
72599 main ()
72601 finitel(0);
72603 return 0;
72605 _ACEOF
72606 if ac_fn_cxx_try_compile "$LINENO"; then :
72607 glibcxx_cv_func_finitel_use=yes
72608 else
72609 glibcxx_cv_func_finitel_use=no
72611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72612 ac_ext=c
72613 ac_cpp='$CPP $CPPFLAGS'
72614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
72623 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
72625 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
72626 for ac_func in finitel
72627 do :
72628 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
72629 if test "x$ac_cv_func_finitel" = xyes; then :
72630 cat >>confdefs.h <<_ACEOF
72631 #define HAVE_FINITEL 1
72632 _ACEOF
72635 done
72637 else
72639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
72640 $as_echo_n "checking for _finitel declaration... " >&6; }
72641 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
72642 if ${glibcxx_cv_func__finitel_use+:} false; then :
72643 $as_echo_n "(cached) " >&6
72644 else
72647 ac_ext=cpp
72648 ac_cpp='$CXXCPP $CPPFLAGS'
72649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72654 /* end confdefs.h. */
72655 #include <math.h>
72656 #ifdef HAVE_IEEEFP_H
72657 #include <ieeefp.h>
72658 #endif
72661 main ()
72663 _finitel(0);
72665 return 0;
72667 _ACEOF
72668 if ac_fn_cxx_try_compile "$LINENO"; then :
72669 glibcxx_cv_func__finitel_use=yes
72670 else
72671 glibcxx_cv_func__finitel_use=no
72673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72674 ac_ext=c
72675 ac_cpp='$CPP $CPPFLAGS'
72676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
72685 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
72687 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
72688 for ac_func in _finitel
72689 do :
72690 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
72691 if test "x$ac_cv_func__finitel" = xyes; then :
72692 cat >>confdefs.h <<_ACEOF
72693 #define HAVE__FINITEL 1
72694 _ACEOF
72697 done
72705 LIBS="$ac_save_LIBS"
72706 CXXFLAGS="$ac_save_CXXFLAGS"
72709 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72710 ac_save_CXXFLAGS="$CXXFLAGS"
72711 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
72715 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
72716 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
72717 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
72718 $as_echo_n "(cached) " >&6
72719 else
72722 ac_ext=cpp
72723 ac_cpp='$CXXCPP $CPPFLAGS'
72724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72729 /* end confdefs.h. */
72730 #include <stdlib.h>
72732 main ()
72734 at_quick_exit(0);
72736 return 0;
72738 _ACEOF
72739 if ac_fn_cxx_try_compile "$LINENO"; then :
72740 glibcxx_cv_func_at_quick_exit_use=yes
72741 else
72742 glibcxx_cv_func_at_quick_exit_use=no
72744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72745 ac_ext=c
72746 ac_cpp='$CPP $CPPFLAGS'
72747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
72756 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
72757 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
72758 for ac_func in at_quick_exit
72759 do :
72760 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72761 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
72762 cat >>confdefs.h <<_ACEOF
72763 #define HAVE_AT_QUICK_EXIT 1
72764 _ACEOF
72767 done
72772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72773 $as_echo_n "checking for quick_exit declaration... " >&6; }
72774 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72775 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
72776 $as_echo_n "(cached) " >&6
72777 else
72780 ac_ext=cpp
72781 ac_cpp='$CXXCPP $CPPFLAGS'
72782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72787 /* end confdefs.h. */
72788 #include <stdlib.h>
72790 main ()
72792 quick_exit(0);
72794 return 0;
72796 _ACEOF
72797 if ac_fn_cxx_try_compile "$LINENO"; then :
72798 glibcxx_cv_func_quick_exit_use=yes
72799 else
72800 glibcxx_cv_func_quick_exit_use=no
72802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72803 ac_ext=c
72804 ac_cpp='$CPP $CPPFLAGS'
72805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72814 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72815 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72816 for ac_func in quick_exit
72817 do :
72818 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72819 if test "x$ac_cv_func_quick_exit" = xyes; then :
72820 cat >>confdefs.h <<_ACEOF
72821 #define HAVE_QUICK_EXIT 1
72822 _ACEOF
72825 done
72830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72831 $as_echo_n "checking for strtold declaration... " >&6; }
72832 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72833 if ${glibcxx_cv_func_strtold_use+:} false; then :
72834 $as_echo_n "(cached) " >&6
72835 else
72838 ac_ext=cpp
72839 ac_cpp='$CXXCPP $CPPFLAGS'
72840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72845 /* end confdefs.h. */
72846 #include <stdlib.h>
72848 main ()
72850 strtold(0, 0);
72852 return 0;
72854 _ACEOF
72855 if ac_fn_cxx_try_compile "$LINENO"; then :
72856 glibcxx_cv_func_strtold_use=yes
72857 else
72858 glibcxx_cv_func_strtold_use=no
72860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72861 ac_ext=c
72862 ac_cpp='$CPP $CPPFLAGS'
72863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72872 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72873 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72874 for ac_func in strtold
72875 do :
72876 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72877 if test "x$ac_cv_func_strtold" = xyes; then :
72878 cat >>confdefs.h <<_ACEOF
72879 #define HAVE_STRTOLD 1
72880 _ACEOF
72883 done
72890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72891 $as_echo_n "checking for strtof declaration... " >&6; }
72892 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72893 if ${glibcxx_cv_func_strtof_use+:} false; then :
72894 $as_echo_n "(cached) " >&6
72895 else
72898 ac_ext=cpp
72899 ac_cpp='$CXXCPP $CPPFLAGS'
72900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72905 /* end confdefs.h. */
72906 #include <stdlib.h>
72908 main ()
72910 strtof(0, 0);
72912 return 0;
72914 _ACEOF
72915 if ac_fn_cxx_try_compile "$LINENO"; then :
72916 glibcxx_cv_func_strtof_use=yes
72917 else
72918 glibcxx_cv_func_strtof_use=no
72920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72921 ac_ext=c
72922 ac_cpp='$CPP $CPPFLAGS'
72923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72932 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72933 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72934 for ac_func in strtof
72935 do :
72936 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72937 if test "x$ac_cv_func_strtof" = xyes; then :
72938 cat >>confdefs.h <<_ACEOF
72939 #define HAVE_STRTOF 1
72940 _ACEOF
72943 done
72950 CXXFLAGS="$ac_save_CXXFLAGS"
72953 *-vxworks)
72954 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
72956 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
72958 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
72960 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
72962 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
72964 $as_echo "#define HAVE_COSF 1" >>confdefs.h
72966 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
72968 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
72970 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
72972 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
72974 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
72976 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
72978 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
72980 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
72982 $as_echo "#define HAVE_POWF 1" >>confdefs.h
72984 $as_echo "#define HAVE_SINF 1" >>confdefs.h
72986 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
72988 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
72990 $as_echo "#define HAVE_TANF 1" >>confdefs.h
72992 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
72998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl declaration" >&5
72999 $as_echo_n "checking for acosl declaration... " >&6; }
73000 if ${glibcxx_cv_func_acosl_use+:} false; then :
73001 $as_echo_n "(cached) " >&6
73002 else
73005 ac_ext=c
73006 ac_cpp='$CPP $CPPFLAGS'
73007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73012 /* end confdefs.h. */
73014 #include <math.h>
73015 #ifdef HAVE_IEEEFP_H
73016 # include <ieeefp.h>
73017 #endif
73018 #undef acosl
73021 main ()
73024 void (*f)(void) = (void (*)(void))acosl;
73027 return 0;
73029 _ACEOF
73030 if ac_fn_c_try_compile "$LINENO"; then :
73031 glibcxx_cv_func_acosl_use=yes
73033 else
73034 glibcxx_cv_func_acosl_use=no
73036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_acosl_use" >&5
73039 $as_echo "$glibcxx_cv_func_acosl_use" >&6; }
73040 if test "x$glibcxx_cv_func_acosl_use" = xyes; then
73041 cat >>confdefs.h <<_ACEOF
73042 #define HAVE_ACOSL 1
73043 _ACEOF
73049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl declaration" >&5
73050 $as_echo_n "checking for asinl declaration... " >&6; }
73051 if ${glibcxx_cv_func_asinl_use+:} false; then :
73052 $as_echo_n "(cached) " >&6
73053 else
73056 ac_ext=c
73057 ac_cpp='$CPP $CPPFLAGS'
73058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73063 /* end confdefs.h. */
73065 #include <math.h>
73066 #ifdef HAVE_IEEEFP_H
73067 # include <ieeefp.h>
73068 #endif
73069 #undef asinl
73072 main ()
73075 void (*f)(void) = (void (*)(void))asinl;
73078 return 0;
73080 _ACEOF
73081 if ac_fn_c_try_compile "$LINENO"; then :
73082 glibcxx_cv_func_asinl_use=yes
73084 else
73085 glibcxx_cv_func_asinl_use=no
73087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_asinl_use" >&5
73090 $as_echo "$glibcxx_cv_func_asinl_use" >&6; }
73091 if test "x$glibcxx_cv_func_asinl_use" = xyes; then
73092 cat >>confdefs.h <<_ACEOF
73093 #define HAVE_ASINL 1
73094 _ACEOF
73100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
73101 $as_echo_n "checking for atan2l declaration... " >&6; }
73102 if ${glibcxx_cv_func_atan2l_use+:} false; then :
73103 $as_echo_n "(cached) " >&6
73104 else
73107 ac_ext=c
73108 ac_cpp='$CPP $CPPFLAGS'
73109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73114 /* end confdefs.h. */
73116 #include <math.h>
73117 #ifdef HAVE_IEEEFP_H
73118 # include <ieeefp.h>
73119 #endif
73120 #undef atan2l
73123 main ()
73126 void (*f)(void) = (void (*)(void))atan2l;
73129 return 0;
73131 _ACEOF
73132 if ac_fn_c_try_compile "$LINENO"; then :
73133 glibcxx_cv_func_atan2l_use=yes
73135 else
73136 glibcxx_cv_func_atan2l_use=no
73138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
73141 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
73142 if test "x$glibcxx_cv_func_atan2l_use" = xyes; then
73143 cat >>confdefs.h <<_ACEOF
73144 #define HAVE_ATAN2L 1
73145 _ACEOF
73151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl declaration" >&5
73152 $as_echo_n "checking for atanl declaration... " >&6; }
73153 if ${glibcxx_cv_func_atanl_use+:} false; then :
73154 $as_echo_n "(cached) " >&6
73155 else
73158 ac_ext=c
73159 ac_cpp='$CPP $CPPFLAGS'
73160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73165 /* end confdefs.h. */
73167 #include <math.h>
73168 #ifdef HAVE_IEEEFP_H
73169 # include <ieeefp.h>
73170 #endif
73171 #undef atanl
73174 main ()
73177 void (*f)(void) = (void (*)(void))atanl;
73180 return 0;
73182 _ACEOF
73183 if ac_fn_c_try_compile "$LINENO"; then :
73184 glibcxx_cv_func_atanl_use=yes
73186 else
73187 glibcxx_cv_func_atanl_use=no
73189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atanl_use" >&5
73192 $as_echo "$glibcxx_cv_func_atanl_use" >&6; }
73193 if test "x$glibcxx_cv_func_atanl_use" = xyes; then
73194 cat >>confdefs.h <<_ACEOF
73195 #define HAVE_ATANL 1
73196 _ACEOF
73202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill declaration" >&5
73203 $as_echo_n "checking for ceill declaration... " >&6; }
73204 if ${glibcxx_cv_func_ceill_use+:} false; then :
73205 $as_echo_n "(cached) " >&6
73206 else
73209 ac_ext=c
73210 ac_cpp='$CPP $CPPFLAGS'
73211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73216 /* end confdefs.h. */
73218 #include <math.h>
73219 #ifdef HAVE_IEEEFP_H
73220 # include <ieeefp.h>
73221 #endif
73222 #undef ceill
73225 main ()
73228 void (*f)(void) = (void (*)(void))ceill;
73231 return 0;
73233 _ACEOF
73234 if ac_fn_c_try_compile "$LINENO"; then :
73235 glibcxx_cv_func_ceill_use=yes
73237 else
73238 glibcxx_cv_func_ceill_use=no
73240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ceill_use" >&5
73243 $as_echo "$glibcxx_cv_func_ceill_use" >&6; }
73244 if test "x$glibcxx_cv_func_ceill_use" = xyes; then
73245 cat >>confdefs.h <<_ACEOF
73246 #define HAVE_CEILL 1
73247 _ACEOF
73253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl declaration" >&5
73254 $as_echo_n "checking for cosl declaration... " >&6; }
73255 if ${glibcxx_cv_func_cosl_use+:} false; then :
73256 $as_echo_n "(cached) " >&6
73257 else
73260 ac_ext=c
73261 ac_cpp='$CPP $CPPFLAGS'
73262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73267 /* end confdefs.h. */
73269 #include <math.h>
73270 #ifdef HAVE_IEEEFP_H
73271 # include <ieeefp.h>
73272 #endif
73273 #undef cosl
73276 main ()
73279 void (*f)(void) = (void (*)(void))cosl;
73282 return 0;
73284 _ACEOF
73285 if ac_fn_c_try_compile "$LINENO"; then :
73286 glibcxx_cv_func_cosl_use=yes
73288 else
73289 glibcxx_cv_func_cosl_use=no
73291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_cosl_use" >&5
73294 $as_echo "$glibcxx_cv_func_cosl_use" >&6; }
73295 if test "x$glibcxx_cv_func_cosl_use" = xyes; then
73296 cat >>confdefs.h <<_ACEOF
73297 #define HAVE_COSL 1
73298 _ACEOF
73304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl declaration" >&5
73305 $as_echo_n "checking for coshl declaration... " >&6; }
73306 if ${glibcxx_cv_func_coshl_use+:} false; then :
73307 $as_echo_n "(cached) " >&6
73308 else
73311 ac_ext=c
73312 ac_cpp='$CPP $CPPFLAGS'
73313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73318 /* end confdefs.h. */
73320 #include <math.h>
73321 #ifdef HAVE_IEEEFP_H
73322 # include <ieeefp.h>
73323 #endif
73324 #undef coshl
73327 main ()
73330 void (*f)(void) = (void (*)(void))coshl;
73333 return 0;
73335 _ACEOF
73336 if ac_fn_c_try_compile "$LINENO"; then :
73337 glibcxx_cv_func_coshl_use=yes
73339 else
73340 glibcxx_cv_func_coshl_use=no
73342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_coshl_use" >&5
73345 $as_echo "$glibcxx_cv_func_coshl_use" >&6; }
73346 if test "x$glibcxx_cv_func_coshl_use" = xyes; then
73347 cat >>confdefs.h <<_ACEOF
73348 #define HAVE_COSHL 1
73349 _ACEOF
73355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
73356 $as_echo_n "checking for expl declaration... " >&6; }
73357 if ${glibcxx_cv_func_expl_use+:} false; then :
73358 $as_echo_n "(cached) " >&6
73359 else
73362 ac_ext=c
73363 ac_cpp='$CPP $CPPFLAGS'
73364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73369 /* end confdefs.h. */
73371 #include <math.h>
73372 #ifdef HAVE_IEEEFP_H
73373 # include <ieeefp.h>
73374 #endif
73375 #undef expl
73378 main ()
73381 void (*f)(void) = (void (*)(void))expl;
73384 return 0;
73386 _ACEOF
73387 if ac_fn_c_try_compile "$LINENO"; then :
73388 glibcxx_cv_func_expl_use=yes
73390 else
73391 glibcxx_cv_func_expl_use=no
73393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
73396 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
73397 if test "x$glibcxx_cv_func_expl_use" = xyes; then
73398 cat >>confdefs.h <<_ACEOF
73399 #define HAVE_EXPL 1
73400 _ACEOF
73406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
73407 $as_echo_n "checking for fabsl declaration... " >&6; }
73408 if ${glibcxx_cv_func_fabsl_use+:} false; then :
73409 $as_echo_n "(cached) " >&6
73410 else
73413 ac_ext=c
73414 ac_cpp='$CPP $CPPFLAGS'
73415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73420 /* end confdefs.h. */
73422 #include <math.h>
73423 #ifdef HAVE_IEEEFP_H
73424 # include <ieeefp.h>
73425 #endif
73426 #undef fabsl
73429 main ()
73432 void (*f)(void) = (void (*)(void))fabsl;
73435 return 0;
73437 _ACEOF
73438 if ac_fn_c_try_compile "$LINENO"; then :
73439 glibcxx_cv_func_fabsl_use=yes
73441 else
73442 glibcxx_cv_func_fabsl_use=no
73444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
73447 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
73448 if test "x$glibcxx_cv_func_fabsl_use" = xyes; then
73449 cat >>confdefs.h <<_ACEOF
73450 #define HAVE_FABSL 1
73451 _ACEOF
73457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl declaration" >&5
73458 $as_echo_n "checking for floorl declaration... " >&6; }
73459 if ${glibcxx_cv_func_floorl_use+:} false; then :
73460 $as_echo_n "(cached) " >&6
73461 else
73464 ac_ext=c
73465 ac_cpp='$CPP $CPPFLAGS'
73466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73471 /* end confdefs.h. */
73473 #include <math.h>
73474 #ifdef HAVE_IEEEFP_H
73475 # include <ieeefp.h>
73476 #endif
73477 #undef floorl
73480 main ()
73483 void (*f)(void) = (void (*)(void))floorl;
73486 return 0;
73488 _ACEOF
73489 if ac_fn_c_try_compile "$LINENO"; then :
73490 glibcxx_cv_func_floorl_use=yes
73492 else
73493 glibcxx_cv_func_floorl_use=no
73495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_floorl_use" >&5
73498 $as_echo "$glibcxx_cv_func_floorl_use" >&6; }
73499 if test "x$glibcxx_cv_func_floorl_use" = xyes; then
73500 cat >>confdefs.h <<_ACEOF
73501 #define HAVE_FLOORL 1
73502 _ACEOF
73508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
73509 $as_echo_n "checking for fmodl declaration... " >&6; }
73510 if ${glibcxx_cv_func_fmodl_use+:} false; then :
73511 $as_echo_n "(cached) " >&6
73512 else
73515 ac_ext=c
73516 ac_cpp='$CPP $CPPFLAGS'
73517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73522 /* end confdefs.h. */
73524 #include <math.h>
73525 #ifdef HAVE_IEEEFP_H
73526 # include <ieeefp.h>
73527 #endif
73528 #undef fmodl
73531 main ()
73534 void (*f)(void) = (void (*)(void))fmodl;
73537 return 0;
73539 _ACEOF
73540 if ac_fn_c_try_compile "$LINENO"; then :
73541 glibcxx_cv_func_fmodl_use=yes
73543 else
73544 glibcxx_cv_func_fmodl_use=no
73546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
73549 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
73550 if test "x$glibcxx_cv_func_fmodl_use" = xyes; then
73551 cat >>confdefs.h <<_ACEOF
73552 #define HAVE_FMODL 1
73553 _ACEOF
73559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
73560 $as_echo_n "checking for frexpl declaration... " >&6; }
73561 if ${glibcxx_cv_func_frexpl_use+:} false; then :
73562 $as_echo_n "(cached) " >&6
73563 else
73566 ac_ext=c
73567 ac_cpp='$CPP $CPPFLAGS'
73568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73573 /* end confdefs.h. */
73575 #include <math.h>
73576 #ifdef HAVE_IEEEFP_H
73577 # include <ieeefp.h>
73578 #endif
73579 #undef frexpl
73582 main ()
73585 void (*f)(void) = (void (*)(void))frexpl;
73588 return 0;
73590 _ACEOF
73591 if ac_fn_c_try_compile "$LINENO"; then :
73592 glibcxx_cv_func_frexpl_use=yes
73594 else
73595 glibcxx_cv_func_frexpl_use=no
73597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
73600 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
73601 if test "x$glibcxx_cv_func_frexpl_use" = xyes; then
73602 cat >>confdefs.h <<_ACEOF
73603 #define HAVE_FREXPL 1
73604 _ACEOF
73610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
73611 $as_echo_n "checking for ldexpl declaration... " >&6; }
73612 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
73613 $as_echo_n "(cached) " >&6
73614 else
73617 ac_ext=c
73618 ac_cpp='$CPP $CPPFLAGS'
73619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73624 /* end confdefs.h. */
73626 #include <math.h>
73627 #ifdef HAVE_IEEEFP_H
73628 # include <ieeefp.h>
73629 #endif
73630 #undef ldexpl
73633 main ()
73636 void (*f)(void) = (void (*)(void))ldexpl;
73639 return 0;
73641 _ACEOF
73642 if ac_fn_c_try_compile "$LINENO"; then :
73643 glibcxx_cv_func_ldexpl_use=yes
73645 else
73646 glibcxx_cv_func_ldexpl_use=no
73648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
73651 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
73652 if test "x$glibcxx_cv_func_ldexpl_use" = xyes; then
73653 cat >>confdefs.h <<_ACEOF
73654 #define HAVE_LDEXPL 1
73655 _ACEOF
73661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
73662 $as_echo_n "checking for log10l declaration... " >&6; }
73663 if ${glibcxx_cv_func_log10l_use+:} false; then :
73664 $as_echo_n "(cached) " >&6
73665 else
73668 ac_ext=c
73669 ac_cpp='$CPP $CPPFLAGS'
73670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73675 /* end confdefs.h. */
73677 #include <math.h>
73678 #ifdef HAVE_IEEEFP_H
73679 # include <ieeefp.h>
73680 #endif
73681 #undef log10l
73684 main ()
73687 void (*f)(void) = (void (*)(void))log10l;
73690 return 0;
73692 _ACEOF
73693 if ac_fn_c_try_compile "$LINENO"; then :
73694 glibcxx_cv_func_log10l_use=yes
73696 else
73697 glibcxx_cv_func_log10l_use=no
73699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
73702 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
73703 if test "x$glibcxx_cv_func_log10l_use" = xyes; then
73704 cat >>confdefs.h <<_ACEOF
73705 #define HAVE_LOG10L 1
73706 _ACEOF
73712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
73713 $as_echo_n "checking for logl declaration... " >&6; }
73714 if ${glibcxx_cv_func_logl_use+:} false; then :
73715 $as_echo_n "(cached) " >&6
73716 else
73719 ac_ext=c
73720 ac_cpp='$CPP $CPPFLAGS'
73721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73726 /* end confdefs.h. */
73728 #include <math.h>
73729 #ifdef HAVE_IEEEFP_H
73730 # include <ieeefp.h>
73731 #endif
73732 #undef logl
73735 main ()
73738 void (*f)(void) = (void (*)(void))logl;
73741 return 0;
73743 _ACEOF
73744 if ac_fn_c_try_compile "$LINENO"; then :
73745 glibcxx_cv_func_logl_use=yes
73747 else
73748 glibcxx_cv_func_logl_use=no
73750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
73753 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
73754 if test "x$glibcxx_cv_func_logl_use" = xyes; then
73755 cat >>confdefs.h <<_ACEOF
73756 #define HAVE_LOGL 1
73757 _ACEOF
73763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
73764 $as_echo_n "checking for modfl declaration... " >&6; }
73765 if ${glibcxx_cv_func_modfl_use+:} false; then :
73766 $as_echo_n "(cached) " >&6
73767 else
73770 ac_ext=c
73771 ac_cpp='$CPP $CPPFLAGS'
73772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73777 /* end confdefs.h. */
73779 #include <math.h>
73780 #ifdef HAVE_IEEEFP_H
73781 # include <ieeefp.h>
73782 #endif
73783 #undef modfl
73786 main ()
73789 void (*f)(void) = (void (*)(void))modfl;
73792 return 0;
73794 _ACEOF
73795 if ac_fn_c_try_compile "$LINENO"; then :
73796 glibcxx_cv_func_modfl_use=yes
73798 else
73799 glibcxx_cv_func_modfl_use=no
73801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
73804 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
73805 if test "x$glibcxx_cv_func_modfl_use" = xyes; then
73806 cat >>confdefs.h <<_ACEOF
73807 #define HAVE_MODFL 1
73808 _ACEOF
73814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
73815 $as_echo_n "checking for powl declaration... " >&6; }
73816 if ${glibcxx_cv_func_powl_use+:} false; then :
73817 $as_echo_n "(cached) " >&6
73818 else
73821 ac_ext=c
73822 ac_cpp='$CPP $CPPFLAGS'
73823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73828 /* end confdefs.h. */
73830 #include <math.h>
73831 #ifdef HAVE_IEEEFP_H
73832 # include <ieeefp.h>
73833 #endif
73834 #undef powl
73837 main ()
73840 void (*f)(void) = (void (*)(void))powl;
73843 return 0;
73845 _ACEOF
73846 if ac_fn_c_try_compile "$LINENO"; then :
73847 glibcxx_cv_func_powl_use=yes
73849 else
73850 glibcxx_cv_func_powl_use=no
73852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
73855 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
73856 if test "x$glibcxx_cv_func_powl_use" = xyes; then
73857 cat >>confdefs.h <<_ACEOF
73858 #define HAVE_POWL 1
73859 _ACEOF
73865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl declaration" >&5
73866 $as_echo_n "checking for sinl declaration... " >&6; }
73867 if ${glibcxx_cv_func_sinl_use+:} false; then :
73868 $as_echo_n "(cached) " >&6
73869 else
73872 ac_ext=c
73873 ac_cpp='$CPP $CPPFLAGS'
73874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73879 /* end confdefs.h. */
73881 #include <math.h>
73882 #ifdef HAVE_IEEEFP_H
73883 # include <ieeefp.h>
73884 #endif
73885 #undef sinl
73888 main ()
73891 void (*f)(void) = (void (*)(void))sinl;
73894 return 0;
73896 _ACEOF
73897 if ac_fn_c_try_compile "$LINENO"; then :
73898 glibcxx_cv_func_sinl_use=yes
73900 else
73901 glibcxx_cv_func_sinl_use=no
73903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinl_use" >&5
73906 $as_echo "$glibcxx_cv_func_sinl_use" >&6; }
73907 if test "x$glibcxx_cv_func_sinl_use" = xyes; then
73908 cat >>confdefs.h <<_ACEOF
73909 #define HAVE_SINL 1
73910 _ACEOF
73916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl declaration" >&5
73917 $as_echo_n "checking for sinhl declaration... " >&6; }
73918 if ${glibcxx_cv_func_sinhl_use+:} false; then :
73919 $as_echo_n "(cached) " >&6
73920 else
73923 ac_ext=c
73924 ac_cpp='$CPP $CPPFLAGS'
73925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73930 /* end confdefs.h. */
73932 #include <math.h>
73933 #ifdef HAVE_IEEEFP_H
73934 # include <ieeefp.h>
73935 #endif
73936 #undef sinhl
73939 main ()
73942 void (*f)(void) = (void (*)(void))sinhl;
73945 return 0;
73947 _ACEOF
73948 if ac_fn_c_try_compile "$LINENO"; then :
73949 glibcxx_cv_func_sinhl_use=yes
73951 else
73952 glibcxx_cv_func_sinhl_use=no
73954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinhl_use" >&5
73957 $as_echo "$glibcxx_cv_func_sinhl_use" >&6; }
73958 if test "x$glibcxx_cv_func_sinhl_use" = xyes; then
73959 cat >>confdefs.h <<_ACEOF
73960 #define HAVE_SINHL 1
73961 _ACEOF
73967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
73968 $as_echo_n "checking for sqrtl declaration... " >&6; }
73969 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
73970 $as_echo_n "(cached) " >&6
73971 else
73974 ac_ext=c
73975 ac_cpp='$CPP $CPPFLAGS'
73976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73981 /* end confdefs.h. */
73983 #include <math.h>
73984 #ifdef HAVE_IEEEFP_H
73985 # include <ieeefp.h>
73986 #endif
73987 #undef sqrtl
73990 main ()
73993 void (*f)(void) = (void (*)(void))sqrtl;
73996 return 0;
73998 _ACEOF
73999 if ac_fn_c_try_compile "$LINENO"; then :
74000 glibcxx_cv_func_sqrtl_use=yes
74002 else
74003 glibcxx_cv_func_sqrtl_use=no
74005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
74008 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
74009 if test "x$glibcxx_cv_func_sqrtl_use" = xyes; then
74010 cat >>confdefs.h <<_ACEOF
74011 #define HAVE_SQRTL 1
74012 _ACEOF
74018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl declaration" >&5
74019 $as_echo_n "checking for tanl declaration... " >&6; }
74020 if ${glibcxx_cv_func_tanl_use+:} false; then :
74021 $as_echo_n "(cached) " >&6
74022 else
74025 ac_ext=c
74026 ac_cpp='$CPP $CPPFLAGS'
74027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74032 /* end confdefs.h. */
74034 #include <math.h>
74035 #ifdef HAVE_IEEEFP_H
74036 # include <ieeefp.h>
74037 #endif
74038 #undef tanl
74041 main ()
74044 void (*f)(void) = (void (*)(void))tanl;
74047 return 0;
74049 _ACEOF
74050 if ac_fn_c_try_compile "$LINENO"; then :
74051 glibcxx_cv_func_tanl_use=yes
74053 else
74054 glibcxx_cv_func_tanl_use=no
74056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanl_use" >&5
74059 $as_echo "$glibcxx_cv_func_tanl_use" >&6; }
74060 if test "x$glibcxx_cv_func_tanl_use" = xyes; then
74061 cat >>confdefs.h <<_ACEOF
74062 #define HAVE_TANL 1
74063 _ACEOF
74069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl declaration" >&5
74070 $as_echo_n "checking for tanhl declaration... " >&6; }
74071 if ${glibcxx_cv_func_tanhl_use+:} false; then :
74072 $as_echo_n "(cached) " >&6
74073 else
74076 ac_ext=c
74077 ac_cpp='$CPP $CPPFLAGS'
74078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74083 /* end confdefs.h. */
74085 #include <math.h>
74086 #ifdef HAVE_IEEEFP_H
74087 # include <ieeefp.h>
74088 #endif
74089 #undef tanhl
74092 main ()
74095 void (*f)(void) = (void (*)(void))tanhl;
74098 return 0;
74100 _ACEOF
74101 if ac_fn_c_try_compile "$LINENO"; then :
74102 glibcxx_cv_func_tanhl_use=yes
74104 else
74105 glibcxx_cv_func_tanhl_use=no
74107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanhl_use" >&5
74110 $as_echo "$glibcxx_cv_func_tanhl_use" >&6; }
74111 if test "x$glibcxx_cv_func_tanhl_use" = xyes; then
74112 cat >>confdefs.h <<_ACEOF
74113 #define HAVE_TANHL 1
74114 _ACEOF
74120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
74121 $as_echo_n "checking for hypotl declaration... " >&6; }
74122 if ${glibcxx_cv_func_hypotl_use+:} false; then :
74123 $as_echo_n "(cached) " >&6
74124 else
74127 ac_ext=c
74128 ac_cpp='$CPP $CPPFLAGS'
74129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74134 /* end confdefs.h. */
74136 #include <math.h>
74137 #ifdef HAVE_IEEEFP_H
74138 # include <ieeefp.h>
74139 #endif
74140 #undef hypotl
74143 main ()
74146 void (*f)(void) = (void (*)(void))hypotl;
74149 return 0;
74151 _ACEOF
74152 if ac_fn_c_try_compile "$LINENO"; then :
74153 glibcxx_cv_func_hypotl_use=yes
74155 else
74156 glibcxx_cv_func_hypotl_use=no
74158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
74161 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
74162 if test "x$glibcxx_cv_func_hypotl_use" = xyes; then
74163 cat >>confdefs.h <<_ACEOF
74164 #define HAVE_HYPOTL 1
74165 _ACEOF
74171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
74172 $as_echo_n "checking for ldexpf declaration... " >&6; }
74173 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
74174 $as_echo_n "(cached) " >&6
74175 else
74178 ac_ext=c
74179 ac_cpp='$CPP $CPPFLAGS'
74180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74185 /* end confdefs.h. */
74187 #include <math.h>
74188 #ifdef HAVE_IEEEFP_H
74189 # include <ieeefp.h>
74190 #endif
74191 #undef ldexpf
74194 main ()
74197 void (*f)(void) = (void (*)(void))ldexpf;
74200 return 0;
74202 _ACEOF
74203 if ac_fn_c_try_compile "$LINENO"; then :
74204 glibcxx_cv_func_ldexpf_use=yes
74206 else
74207 glibcxx_cv_func_ldexpf_use=no
74209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
74212 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
74213 if test "x$glibcxx_cv_func_ldexpf_use" = xyes; then
74214 cat >>confdefs.h <<_ACEOF
74215 #define HAVE_LDEXPF 1
74216 _ACEOF
74222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
74223 $as_echo_n "checking for modff declaration... " >&6; }
74224 if ${glibcxx_cv_func_modff_use+:} false; then :
74225 $as_echo_n "(cached) " >&6
74226 else
74229 ac_ext=c
74230 ac_cpp='$CPP $CPPFLAGS'
74231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74236 /* end confdefs.h. */
74238 #include <math.h>
74239 #ifdef HAVE_IEEEFP_H
74240 # include <ieeefp.h>
74241 #endif
74242 #undef modff
74245 main ()
74248 void (*f)(void) = (void (*)(void))modff;
74251 return 0;
74253 _ACEOF
74254 if ac_fn_c_try_compile "$LINENO"; then :
74255 glibcxx_cv_func_modff_use=yes
74257 else
74258 glibcxx_cv_func_modff_use=no
74260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
74263 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
74264 if test "x$glibcxx_cv_func_modff_use" = xyes; then
74265 cat >>confdefs.h <<_ACEOF
74266 #define HAVE_MODFF 1
74267 _ACEOF
74273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
74274 $as_echo_n "checking for hypotf declaration... " >&6; }
74275 if ${glibcxx_cv_func_hypotf_use+:} false; then :
74276 $as_echo_n "(cached) " >&6
74277 else
74280 ac_ext=c
74281 ac_cpp='$CPP $CPPFLAGS'
74282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74287 /* end confdefs.h. */
74289 #include <math.h>
74290 #ifdef HAVE_IEEEFP_H
74291 # include <ieeefp.h>
74292 #endif
74293 #undef hypotf
74296 main ()
74299 void (*f)(void) = (void (*)(void))hypotf;
74302 return 0;
74304 _ACEOF
74305 if ac_fn_c_try_compile "$LINENO"; then :
74306 glibcxx_cv_func_hypotf_use=yes
74308 else
74309 glibcxx_cv_func_hypotf_use=no
74311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
74314 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
74315 if test "x$glibcxx_cv_func_hypotf_use" = xyes; then
74316 cat >>confdefs.h <<_ACEOF
74317 #define HAVE_HYPOTF 1
74318 _ACEOF
74324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
74325 $as_echo_n "checking for frexpf declaration... " >&6; }
74326 if ${glibcxx_cv_func_frexpf_use+:} false; then :
74327 $as_echo_n "(cached) " >&6
74328 else
74331 ac_ext=c
74332 ac_cpp='$CPP $CPPFLAGS'
74333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74338 /* end confdefs.h. */
74340 #include <math.h>
74341 #ifdef HAVE_IEEEFP_H
74342 # include <ieeefp.h>
74343 #endif
74344 #undef frexpf
74347 main ()
74350 void (*f)(void) = (void (*)(void))frexpf;
74353 return 0;
74355 _ACEOF
74356 if ac_fn_c_try_compile "$LINENO"; then :
74357 glibcxx_cv_func_frexpf_use=yes
74359 else
74360 glibcxx_cv_func_frexpf_use=no
74362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
74365 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
74366 if test "x$glibcxx_cv_func_frexpf_use" = xyes; then
74367 cat >>confdefs.h <<_ACEOF
74368 #define HAVE_FREXPF 1
74369 _ACEOF
74377 as_fn_error $? "No support for this host/target combination." "$LINENO" 5
74379 esac
74383 # At some point, we should differentiate between architectures
74384 # like x86, which have long double versions, and alpha/powerpc/etc.,
74385 # which don't. For the time being, punt.
74386 if test x"long_double_math_on_this_cpu" = x"yes"; then
74387 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
74389 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
74391 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
74393 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
74395 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
74397 $as_echo "#define HAVE_COSL 1" >>confdefs.h
74399 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
74401 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
74403 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
74405 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
74407 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
74409 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
74411 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
74413 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
74415 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
74417 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
74419 $as_echo "#define HAVE_POWL 1" >>confdefs.h
74421 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
74423 $as_echo "#define HAVE_SINL 1" >>confdefs.h
74425 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
74427 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
74429 $as_echo "#define HAVE_TANL 1" >>confdefs.h
74431 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
74436 # Check for _Unwind_GetIPInfo.
74439 # Check whether --with-system-libunwind was given.
74440 if test "${with_system_libunwind+set}" = set; then :
74441 withval=$with_system_libunwind;
74444 # If system-libunwind was not specifically set, pick a default setting.
74445 if test x$with_system_libunwind = x; then
74446 case ${target} in
74447 ia64-*-hpux*) with_system_libunwind=yes ;;
74448 *) with_system_libunwind=no ;;
74449 esac
74451 # Based on system-libunwind and target, do we have ipinfo?
74452 if test x$with_system_libunwind = xyes; then
74453 case ${target} in
74454 ia64-*-*) have_unwind_getipinfo=no ;;
74455 *) have_unwind_getipinfo=yes ;;
74456 esac
74457 else
74458 # Darwin before version 9 does not have _Unwind_GetIPInfo.
74460 case ${target} in
74461 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
74462 *) have_unwind_getipinfo=yes ;;
74463 esac
74467 if test x$have_unwind_getipinfo = xyes; then
74469 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
74474 # Check whether --enable-linux-futex was given.
74475 if test "${enable_linux_futex+set}" = set; then :
74476 enableval=$enable_linux_futex;
74477 case "$enableval" in
74478 yes|no|default) ;;
74479 *) as_fn_error $? "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
74480 esac
74482 else
74483 enable_linux_futex=default
74487 case "$target" in
74488 *-linux* | *-uclinux*)
74489 case "$enable_linux_futex" in
74490 default)
74491 # If headers don't have gettid/futex syscalls definition, then
74492 # default to no, otherwise there will be compile time failures.
74493 # Otherwise, default to yes. If we don't detect we are
74494 # compiled/linked against NPTL and not cross-compiling, check
74495 # if programs are run by default against NPTL and if not, issue
74496 # a warning.
74497 enable_linux_futex=no
74498 if test x$gcc_no_link = xyes; then
74499 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74502 /* end confdefs.h. */
74503 #include <sys/syscall.h>
74504 #include <unistd.h>
74505 int lk;
74507 main ()
74509 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
74511 return 0;
74513 _ACEOF
74514 if ac_fn_c_try_link "$LINENO"; then :
74515 save_LIBS="$LIBS"
74516 LIBS="-lpthread $LIBS"
74517 if test x$gcc_no_link = xyes; then
74518 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74521 /* end confdefs.h. */
74522 #ifndef _GNU_SOURCE
74523 #define _GNU_SOURCE 1
74524 #endif
74525 #include <pthread.h>
74526 pthread_t th; void *status;
74528 main ()
74530 pthread_tryjoin_np (th, &status);
74532 return 0;
74534 _ACEOF
74535 if ac_fn_c_try_link "$LINENO"; then :
74536 enable_linux_futex=yes
74537 else
74538 if test x$cross_compiling = xno; then
74539 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
74540 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
74541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
74542 If so, please configure with --disable-linux-futex" >&5
74543 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
74544 If so, please configure with --disable-linux-futex" >&2;}
74547 enable_linux_futex=yes
74549 rm -f core conftest.err conftest.$ac_objext \
74550 conftest$ac_exeext conftest.$ac_ext
74551 LIBS="$save_LIBS"
74553 rm -f core conftest.err conftest.$ac_objext \
74554 conftest$ac_exeext conftest.$ac_ext
74556 yes)
74557 if test x$gcc_no_link = xyes; then
74558 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74561 /* end confdefs.h. */
74562 #include <sys/syscall.h>
74563 #include <unistd.h>
74564 int lk;
74566 main ()
74568 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
74570 return 0;
74572 _ACEOF
74573 if ac_fn_c_try_link "$LINENO"; then :
74575 else
74576 as_fn_error $? "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
74578 rm -f core conftest.err conftest.$ac_objext \
74579 conftest$ac_exeext conftest.$ac_ext
74581 esac
74584 enable_linux_futex=no
74586 esac
74587 if test x$enable_linux_futex = xyes; then
74589 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
74596 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
74598 acx_cv_header_stdint=stddef.h
74599 acx_cv_header_stdint_kind="(already complete)"
74600 for i in stdint.h $inttype_headers; do
74601 unset ac_cv_type_uintptr_t
74602 unset ac_cv_type_uintmax_t
74603 unset ac_cv_type_int_least32_t
74604 unset ac_cv_type_int_fast32_t
74605 unset ac_cv_type_uint64_t
74606 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
74607 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
74608 #include <$i>
74610 if test "x$ac_cv_type_uintmax_t" = xyes; then :
74611 acx_cv_header_stdint=$i
74612 else
74613 continue
74616 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
74617 #include <$i>
74619 if test "x$ac_cv_type_uintptr_t" = xyes; then :
74621 else
74622 acx_cv_header_stdint_kind="(mostly complete)"
74625 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
74626 #include <$i>
74628 if test "x$ac_cv_type_int_least32_t" = xyes; then :
74630 else
74631 acx_cv_header_stdint_kind="(mostly complete)"
74634 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
74635 #include <$i>
74637 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
74639 else
74640 acx_cv_header_stdint_kind="(mostly complete)"
74643 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
74644 #include <$i>
74646 if test "x$ac_cv_type_uint64_t" = xyes; then :
74648 else
74649 acx_cv_header_stdint_kind="(lacks uint64_t)"
74652 break
74653 done
74654 if test "$acx_cv_header_stdint" = stddef.h; then
74655 acx_cv_header_stdint_kind="(lacks uintmax_t)"
74656 for i in stdint.h $inttype_headers; do
74657 unset ac_cv_type_uintptr_t
74658 unset ac_cv_type_uint32_t
74659 unset ac_cv_type_uint64_t
74660 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
74661 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
74662 #include <$i>
74664 if test "x$ac_cv_type_uint32_t" = xyes; then :
74665 acx_cv_header_stdint=$i
74666 else
74667 continue
74670 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
74671 #include <$i>
74673 if test "x$ac_cv_type_uint64_t" = xyes; then :
74677 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
74678 #include <$i>
74680 if test "x$ac_cv_type_uintptr_t" = xyes; then :
74684 break
74685 done
74687 if test "$acx_cv_header_stdint" = stddef.h; then
74688 acx_cv_header_stdint_kind="(u_intXX_t style)"
74689 for i in sys/types.h $inttype_headers; do
74690 unset ac_cv_type_u_int32_t
74691 unset ac_cv_type_u_int64_t
74692 $as_echo_n "looking for u_intXX_t types in $i, " >&6
74693 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
74694 #include <$i>
74696 if test "x$ac_cv_type_u_int32_t" = xyes; then :
74697 acx_cv_header_stdint=$i
74698 else
74699 continue
74702 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
74703 #include <$i>
74705 if test "x$ac_cv_type_u_int64_t" = xyes; then :
74709 break
74710 done
74712 if test "$acx_cv_header_stdint" = stddef.h; then
74713 acx_cv_header_stdint_kind="(using manual detection)"
74716 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
74717 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
74718 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
74719 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
74720 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
74722 # ----------------- Summarize what we found so far
74724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
74725 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
74727 case `$as_basename -- include/gstdint.h ||
74728 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
74729 Xinclude/gstdint.h : 'X\(//\)$' \| \
74730 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
74731 $as_echo X/include/gstdint.h |
74732 sed '/^.*\/\([^/][^/]*\)\/*$/{
74733 s//\1/
74736 /^X\/\(\/\/\)$/{
74737 s//\1/
74740 /^X\/\(\/\).*/{
74741 s//\1/
74744 s/.*/./; q'` in
74745 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
74746 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
74747 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
74748 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
74749 *) ;;
74750 esac
74752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
74753 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
74755 # ----------------- done included file, check C basic types --------
74757 # Lacking an uintptr_t? Test size of void *
74758 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
74759 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
74760 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74761 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74762 # This bug is HP SR number 8606223364.
74763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
74764 $as_echo_n "checking size of void *... " >&6; }
74765 if ${ac_cv_sizeof_void_p+:} false; then :
74766 $as_echo_n "(cached) " >&6
74767 else
74768 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
74770 else
74771 if test "$ac_cv_type_void_p" = yes; then
74772 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74773 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74774 as_fn_error 77 "cannot compute sizeof (void *)
74775 See \`config.log' for more details" "$LINENO" 5; }
74776 else
74777 ac_cv_sizeof_void_p=0
74782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
74783 $as_echo "$ac_cv_sizeof_void_p" >&6; }
74787 cat >>confdefs.h <<_ACEOF
74788 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
74789 _ACEOF
74792 esac
74794 # Lacking an uint64_t? Test size of long
74795 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
74796 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
74797 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74798 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74799 # This bug is HP SR number 8606223364.
74800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
74801 $as_echo_n "checking size of long... " >&6; }
74802 if ${ac_cv_sizeof_long+:} false; then :
74803 $as_echo_n "(cached) " >&6
74804 else
74805 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
74807 else
74808 if test "$ac_cv_type_long" = yes; then
74809 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74810 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74811 as_fn_error 77 "cannot compute sizeof (long)
74812 See \`config.log' for more details" "$LINENO" 5; }
74813 else
74814 ac_cv_sizeof_long=0
74819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
74820 $as_echo "$ac_cv_sizeof_long" >&6; }
74824 cat >>confdefs.h <<_ACEOF
74825 #define SIZEOF_LONG $ac_cv_sizeof_long
74826 _ACEOF
74829 esac
74831 if test $acx_cv_header_stdint = stddef.h; then
74832 # Lacking a good header? Test size of everything and deduce all types.
74833 # The cast to long int works around a bug in the HP C Compiler
74834 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74835 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74836 # This bug is HP SR number 8606223364.
74837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
74838 $as_echo_n "checking size of int... " >&6; }
74839 if ${ac_cv_sizeof_int+:} false; then :
74840 $as_echo_n "(cached) " >&6
74841 else
74842 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
74844 else
74845 if test "$ac_cv_type_int" = yes; then
74846 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74847 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74848 as_fn_error 77 "cannot compute sizeof (int)
74849 See \`config.log' for more details" "$LINENO" 5; }
74850 else
74851 ac_cv_sizeof_int=0
74856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
74857 $as_echo "$ac_cv_sizeof_int" >&6; }
74861 cat >>confdefs.h <<_ACEOF
74862 #define SIZEOF_INT $ac_cv_sizeof_int
74863 _ACEOF
74866 # The cast to long int works around a bug in the HP C Compiler
74867 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74868 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74869 # This bug is HP SR number 8606223364.
74870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
74871 $as_echo_n "checking size of short... " >&6; }
74872 if ${ac_cv_sizeof_short+:} false; then :
74873 $as_echo_n "(cached) " >&6
74874 else
74875 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
74877 else
74878 if test "$ac_cv_type_short" = yes; then
74879 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74880 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74881 as_fn_error 77 "cannot compute sizeof (short)
74882 See \`config.log' for more details" "$LINENO" 5; }
74883 else
74884 ac_cv_sizeof_short=0
74889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
74890 $as_echo "$ac_cv_sizeof_short" >&6; }
74894 cat >>confdefs.h <<_ACEOF
74895 #define SIZEOF_SHORT $ac_cv_sizeof_short
74896 _ACEOF
74899 # The cast to long int works around a bug in the HP C Compiler
74900 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74901 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74902 # This bug is HP SR number 8606223364.
74903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
74904 $as_echo_n "checking size of char... " >&6; }
74905 if ${ac_cv_sizeof_char+:} false; then :
74906 $as_echo_n "(cached) " >&6
74907 else
74908 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
74910 else
74911 if test "$ac_cv_type_char" = yes; then
74912 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74913 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74914 as_fn_error 77 "cannot compute sizeof (char)
74915 See \`config.log' for more details" "$LINENO" 5; }
74916 else
74917 ac_cv_sizeof_char=0
74922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
74923 $as_echo "$ac_cv_sizeof_char" >&6; }
74927 cat >>confdefs.h <<_ACEOF
74928 #define SIZEOF_CHAR $ac_cv_sizeof_char
74929 _ACEOF
74933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
74934 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
74935 case "$ac_cv_sizeof_char" in
74936 1) acx_cv_type_int8_t=char ;;
74937 *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
74938 esac
74939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
74940 $as_echo "$acx_cv_type_int8_t" >&6; }
74942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
74943 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
74944 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
74945 2:*) acx_cv_type_int16_t=int ;;
74946 *:2) acx_cv_type_int16_t=short ;;
74947 *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
74948 esac
74949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
74950 $as_echo "$acx_cv_type_int16_t" >&6; }
74952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
74953 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
74954 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
74955 4:*) acx_cv_type_int32_t=int ;;
74956 *:4) acx_cv_type_int32_t=long ;;
74957 *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
74958 esac
74959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
74960 $as_echo "$acx_cv_type_int32_t" >&6; }
74963 # These tests are here to make the output prettier
74965 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
74966 case "$ac_cv_sizeof_long" in
74967 8) acx_cv_type_int64_t=long ;;
74968 esac
74969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
74970 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
74971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
74972 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
74975 # Now we can use the above types
74977 if test "$ac_cv_type_uintptr_t" != yes; then
74978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
74979 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
74980 case $ac_cv_sizeof_void_p in
74981 2) acx_cv_type_intptr_t=int16_t ;;
74982 4) acx_cv_type_intptr_t=int32_t ;;
74983 8) acx_cv_type_intptr_t=int64_t ;;
74984 *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
74985 esac
74986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
74987 $as_echo "$acx_cv_type_intptr_t" >&6; }
74990 # ----------------- done all checks, emit header -------------
74991 ac_config_commands="$ac_config_commands include/gstdint.h"
74997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
74998 $as_echo_n "checking for GNU c++filt... " >&6; }
74999 if ${ac_cv_path_CXXFILT+:} false; then :
75000 $as_echo_n "(cached) " >&6
75001 else
75002 if test -z "$CXXFILT"; then
75003 ac_path_CXXFILT_found=false
75004 # Loop through the user's path and test for each of PROGNAME-LIST
75005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
75006 for as_dir in $PATH
75008 IFS=$as_save_IFS
75009 test -z "$as_dir" && as_dir=.
75010 for ac_prog in c++filt gc++filt; do
75011 for ac_exec_ext in '' $ac_executable_extensions; do
75012 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
75013 as_fn_executable_p "$ac_path_CXXFILT" || continue
75014 # Check for GNU $ac_path_CXXFILT
75015 case `"$ac_path_CXXFILT" --version 2>&1` in
75016 *GNU*)
75017 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
75018 esac
75020 $ac_path_CXXFILT_found && break 3
75021 done
75022 done
75023 done
75024 IFS=$as_save_IFS
75025 if test -z "$ac_cv_path_CXXFILT"; then
75028 else
75029 ac_cv_path_CXXFILT=$CXXFILT
75033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
75034 $as_echo "$ac_cv_path_CXXFILT" >&6; }
75035 CXXFILT=$ac_cv_path_CXXFILT
75039 # Check whether --enable-symvers was given.
75040 if test "${enable_symvers+set}" = set; then :
75041 enableval=$enable_symvers;
75042 case "$enableval" in
75043 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
75044 *) as_fn_error $? "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
75045 esac
75047 else
75048 enable_symvers=yes
75053 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
75054 # don't know enough about $LD to do tricks...
75056 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
75057 # with extern "C++" in version scripts.
75060 # Turn a 'yes' into a suitable default.
75061 if test x$enable_symvers = xyes ; then
75062 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
75063 enable_symvers=no
75064 else
75065 if test $with_gnu_ld = yes ; then
75066 case ${target_os} in
75067 hpux*)
75068 enable_symvers=no ;;
75070 enable_symvers=gnu ;;
75071 esac
75072 else
75073 case ${target_os} in
75074 darwin*)
75075 enable_symvers=darwin ;;
75076 # Sun symbol versioning exists since Solaris 2.5.
75077 solaris2.[5-9]* | solaris2.1[0-9]*)
75078 # make_sunver.pl needs GNU c++filt to support extern "C++" in
75079 # version scripts, so disable symbol versioning if none can be
75080 # found.
75081 if test -z "$ac_cv_path_CXXFILT"; then
75082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
75083 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
75084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
75085 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
75086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
75087 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
75088 enable_symvers=no
75089 else
75090 enable_symvers=sun
75094 enable_symvers=no ;;
75095 esac
75100 # Check to see if 'darwin' or 'darwin-export' can win.
75101 if test x$enable_symvers = xdarwin-export ; then
75102 enable_symvers=darwin
75105 # Check if 'sun' was requested on non-Solaris 2 platforms.
75106 if test x$enable_symvers = xsun ; then
75107 case ${target_os} in
75108 solaris2*)
75109 # All fine.
75112 # Unlikely to work.
75113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
75114 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
75115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
75116 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
75117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
75118 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
75119 enable_symvers=no
75121 esac
75124 # Check to see if 'gnu' can win.
75125 if test $enable_symvers = gnu ||
75126 test $enable_symvers = gnu-versioned-namespace ||
75127 test $enable_symvers = sun; then
75128 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
75129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
75130 $as_echo_n "checking for shared libgcc... " >&6; }
75131 ac_save_CFLAGS="$CFLAGS"
75132 CFLAGS=' -lgcc_s'
75133 if test x$gcc_no_link = xyes; then
75134 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75137 /* end confdefs.h. */
75140 main ()
75142 return 0;
75144 return 0;
75146 _ACEOF
75147 if ac_fn_c_try_link "$LINENO"; then :
75148 glibcxx_shared_libgcc=yes
75149 else
75150 glibcxx_shared_libgcc=no
75152 rm -f core conftest.err conftest.$ac_objext \
75153 conftest$ac_exeext conftest.$ac_ext
75154 CFLAGS="$ac_save_CFLAGS"
75155 if test $glibcxx_shared_libgcc = no; then
75156 cat > conftest.c <<EOF
75157 int main (void) { return 0; }
75159 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
75160 -shared -shared-libgcc -o conftest.so \
75161 conftest.c -v 2>&1 >/dev/null \
75162 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
75163 rm -f conftest.c conftest.so
75164 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
75165 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
75166 if test x$gcc_no_link = xyes; then
75167 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75170 /* end confdefs.h. */
75173 main ()
75175 return 0;
75177 return 0;
75179 _ACEOF
75180 if ac_fn_c_try_link "$LINENO"; then :
75181 glibcxx_shared_libgcc=yes
75183 rm -f core conftest.err conftest.$ac_objext \
75184 conftest$ac_exeext conftest.$ac_ext
75185 CFLAGS="$ac_save_CFLAGS"
75188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
75189 $as_echo "$glibcxx_shared_libgcc" >&6; }
75191 # For GNU ld, we need at least this version. The format is described in
75192 # GLIBCXX_CHECK_LINKER_FEATURES above.
75193 glibcxx_min_gnu_ld_version=21400
75195 # If no shared libgcc, can't win.
75196 if test $glibcxx_shared_libgcc != yes; then
75197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
75198 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
75199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
75200 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
75201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
75202 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
75203 enable_symvers=no
75204 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
75205 : All interesting versions of Sun ld support sun style symbol versioning.
75206 elif test $with_gnu_ld != yes ; then
75207 # just fail for now
75208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
75209 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
75210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
75211 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
75212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
75213 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
75214 enable_symvers=no
75215 elif test $glibcxx_ld_is_gold = yes ; then
75216 : All versions of gold support symbol versioning.
75217 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
75218 # The right tools, the right setup, but too old. Fallbacks?
75219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
75220 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
75221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
75222 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
75223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
75224 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
75225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
75226 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
75227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
75228 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
75229 enable_symvers=no
75233 # For libtool versioning info, format is CURRENT:REVISION:AGE
75234 libtool_VERSION=6:28:0
75236 # Everything parsed; figure out what files and settings to use.
75237 case $enable_symvers in
75239 SYMVER_FILE=config/abi/pre/none.ver
75241 gnu)
75242 SYMVER_FILE=config/abi/pre/gnu.ver
75244 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
75247 gnu-versioned-namespace)
75248 libtool_VERSION=8:0:0
75249 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
75251 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
75254 darwin)
75255 SYMVER_FILE=config/abi/pre/gnu.ver
75257 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
75260 sun)
75261 SYMVER_FILE=config/abi/pre/gnu.ver
75263 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
75266 esac
75268 if test x$enable_symvers != xno ; then
75270 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
75274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
75275 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
75276 if ${glibcxx_cv_have_as_symver_directive+:} false; then :
75277 $as_echo_n "(cached) " >&6
75278 else
75280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75281 /* end confdefs.h. */
75282 void foo (void); __asm (".symver foo, bar@SYMVER");
75284 main ()
75288 return 0;
75290 _ACEOF
75291 if ac_fn_c_try_compile "$LINENO"; then :
75292 glibcxx_cv_have_as_symver_directive=yes
75293 else
75294 glibcxx_cv_have_as_symver_directive=no
75296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
75299 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
75300 if test $glibcxx_cv_have_as_symver_directive = yes; then
75302 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
75313 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
75314 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
75316 if test $enable_symvers != no ; then
75317 case ${target_os} in
75318 # The Solaris 2 runtime linker doesn't support the GNU extension of
75319 # binding the same symbol to different versions
75320 solaris2*)
75322 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
75325 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
75328 esac
75331 # Now, set up compatibility support, if any.
75332 # In addition, need this to deal with std::size_t mangling in
75333 # src/compatibility.cc. In a perfect world, could use
75334 # typeid(std::size_t).name()[0] to do direct substitution.
75335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
75336 $as_echo_n "checking for size_t as unsigned int... " >&6; }
75337 ac_save_CFLAGS="$CFLAGS"
75338 CFLAGS="-Werror"
75339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75340 /* end confdefs.h. */
75343 main ()
75345 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
75347 return 0;
75349 _ACEOF
75350 if ac_fn_c_try_compile "$LINENO"; then :
75351 glibcxx_size_t_is_i=yes
75352 else
75353 glibcxx_size_t_is_i=no
75355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75356 CFLAGS=$ac_save_CFLAGS
75357 if test "$glibcxx_size_t_is_i" = yes; then
75359 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
75362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
75363 $as_echo "$glibcxx_size_t_is_i" >&6; }
75365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
75366 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
75367 ac_save_CFLAGS="$CFLAGS"
75368 CFLAGS="-Werror"
75369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75370 /* end confdefs.h. */
75373 main ()
75375 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
75377 return 0;
75379 _ACEOF
75380 if ac_fn_c_try_compile "$LINENO"; then :
75381 glibcxx_ptrdiff_t_is_i=yes
75382 else
75383 glibcxx_ptrdiff_t_is_i=no
75385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75386 CFLAGS=$ac_save_CFLAGS
75387 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
75389 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
75392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
75393 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
75398 # Check whether --enable-libstdcxx-visibility was given.
75399 if test "${enable_libstdcxx_visibility+set}" = set; then :
75400 enableval=$enable_libstdcxx_visibility;
75401 case "$enableval" in
75402 yes|no) ;;
75403 *) as_fn_error $? "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
75404 esac
75406 else
75407 enable_libstdcxx_visibility=yes
75412 if test x$enable_libstdcxx_visibility = xyes ; then
75413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
75414 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
75415 if ${glibcxx_cv_have_attribute_visibility+:} false; then :
75416 $as_echo_n "(cached) " >&6
75417 else
75419 save_CFLAGS="$CFLAGS"
75420 CFLAGS="$CFLAGS -Werror"
75421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75422 /* end confdefs.h. */
75423 void __attribute__((visibility("hidden"))) foo(void) { }
75425 main ()
75429 return 0;
75431 _ACEOF
75432 if ac_fn_c_try_compile "$LINENO"; then :
75433 glibcxx_cv_have_attribute_visibility=yes
75434 else
75435 glibcxx_cv_have_attribute_visibility=no
75437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75438 CFLAGS="$save_CFLAGS"
75440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
75441 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
75442 if test $glibcxx_cv_have_attribute_visibility = no; then
75443 enable_libstdcxx_visibility=no
75448 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
75449 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
75453 # Check whether --enable-libstdcxx-dual-abi was given.
75454 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
75455 enableval=$enable_libstdcxx_dual_abi;
75456 case "$enableval" in
75457 yes|no) ;;
75458 *) as_fn_error $? "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
75459 esac
75461 else
75462 enable_libstdcxx_dual_abi=yes
75466 if test x$enable_symvers = xgnu-versioned-namespace; then
75467 # gnu-versioned-namespace is incompatible with the dual ABI.
75468 enable_libstdcxx_dual_abi="no"
75470 if test x"$enable_libstdcxx_dual_abi" != xyes; then
75471 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
75472 $as_echo "$as_me: dual ABI is disabled" >&6;}
75473 default_libstdcxx_abi="gcc4-compatible"
75478 if test x$enable_libstdcxx_dual_abi = xyes; then
75479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
75480 $as_echo_n "checking for default std::string ABI to use... " >&6; }
75482 # Check whether --with-default-libstdcxx-abi was given.
75483 if test "${with_default_libstdcxx_abi+set}" = set; then :
75484 withval=$with_default_libstdcxx_abi; case "$withval" in
75485 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
75486 new|cxx11) default_libstdcxx_abi="new" ;;
75487 c++*|gnu++*) as_fn_error $? "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
75488 *) as_fn_error $? "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
75489 esac
75491 else
75492 default_libstdcxx_abi="new"
75495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
75496 $as_echo "${default_libstdcxx_abi}" >&6; }
75498 if test $default_libstdcxx_abi = "new"; then
75499 glibcxx_cxx11_abi=1
75500 glibcxx_cxx98_abi=0
75501 else
75502 glibcxx_cxx11_abi=0
75503 glibcxx_cxx98_abi=1
75509 ac_ldbl_compat=no
75510 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
75511 case "$target" in
75512 powerpc*-*-linux* | \
75513 sparc*-*-linux* | \
75514 s390*-*-linux* | \
75515 alpha*-*-linux*)
75516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75517 /* end confdefs.h. */
75520 main ()
75523 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
75524 #error no need for long double compatibility
75525 #endif
75528 return 0;
75530 _ACEOF
75531 if ac_fn_c_try_compile "$LINENO"; then :
75532 ac_ldbl_compat=yes
75533 else
75534 ac_ldbl_compat=no
75536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75537 if test "$ac_ldbl_compat" = yes; then
75539 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
75541 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
75542 case "$target" in
75543 powerpc*-*-linux*)
75544 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute" ;;
75545 esac
75547 esac
75551 # Check if assembler supports disabling hardware capability support.
75553 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
75555 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
75556 # with a different meaning.
75557 case ${target_os} in
75558 solaris2*)
75559 ac_save_CFLAGS="$CFLAGS"
75560 CFLAGS="$CFLAGS -Wa,-nH"
75562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
75563 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
75564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75565 /* end confdefs.h. */
75568 main ()
75570 return 0;
75572 return 0;
75574 _ACEOF
75575 if ac_fn_c_try_compile "$LINENO"; then :
75576 ac_hwcap_flags=yes
75577 else
75578 ac_hwcap_flags=no
75580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75581 if test "$ac_hwcap_flags" = "yes"; then
75582 HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
75584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
75585 $as_echo "$ac_hwcap_flags" >&6; }
75587 CFLAGS="$ac_save_CFLAGS"
75589 esac
75594 # Check if assembler supports rdrand opcode.
75596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
75597 $as_echo_n "checking for rdrand support in assembler... " >&6; }
75598 if ${ac_cv_x86_rdrand+:} false; then :
75599 $as_echo_n "(cached) " >&6
75600 else
75602 ac_cv_x86_rdrand=no
75603 case "$target" in
75604 i?86-*-* | \
75605 x86_64-*-*)
75606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75607 /* end confdefs.h. */
75610 main ()
75612 asm("rdrand %eax");
75614 return 0;
75616 _ACEOF
75617 if ac_fn_c_try_compile "$LINENO"; then :
75618 ac_cv_x86_rdrand=yes
75619 else
75620 ac_cv_x86_rdrand=no
75622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75623 esac
75627 if test $ac_cv_x86_rdrand = yes; then
75629 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
75632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
75633 $as_echo "$ac_cv_x86_rdrand" >&6; }
75635 # Check if assembler supports rdseed opcode.
75637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdseed support in assembler" >&5
75638 $as_echo_n "checking for rdseed support in assembler... " >&6; }
75639 if ${ac_cv_x86_rdseed+:} false; then :
75640 $as_echo_n "(cached) " >&6
75641 else
75643 ac_cv_x86_rdseed=no
75644 case "$target" in
75645 i?86-*-* | \
75646 x86_64-*-*)
75647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75648 /* end confdefs.h. */
75651 main ()
75653 asm("rdseed %eax");
75655 return 0;
75657 _ACEOF
75658 if ac_fn_c_try_compile "$LINENO"; then :
75659 ac_cv_x86_rdseed=yes
75660 else
75661 ac_cv_x86_rdseed=no
75663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75664 esac
75668 if test $ac_cv_x86_rdseed = yes; then
75670 $as_echo "#define _GLIBCXX_X86_RDSEED 1" >>confdefs.h
75673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdseed" >&5
75674 $as_echo "$ac_cv_x86_rdseed" >&6; }
75677 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
75679 # Do checks for resource limit functions.
75682 ac_ext=cpp
75683 ac_cpp='$CXXCPP $CPPFLAGS'
75684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75688 setrlimit_have_headers=yes
75689 for ac_header in unistd.h sys/time.h sys/resource.h
75690 do :
75691 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
75692 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
75693 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
75694 cat >>confdefs.h <<_ACEOF
75695 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
75696 _ACEOF
75698 else
75699 setrlimit_have_headers=no
75702 done
75704 # If don't have the headers, then we can't run the tests now, and we
75705 # won't be seeing any of these during testsuite compilation.
75706 if test $setrlimit_have_headers = yes; then
75707 # Can't do these in a loop, else the resulting syntax is wrong.
75709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
75710 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
75711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75712 /* end confdefs.h. */
75713 #include <unistd.h>
75714 #include <sys/time.h>
75715 #include <sys/resource.h>
75718 main ()
75720 int f = RLIMIT_DATA ;
75722 return 0;
75724 _ACEOF
75725 if ac_fn_cxx_try_compile "$LINENO"; then :
75726 glibcxx_mresult=1
75727 else
75728 glibcxx_mresult=0
75730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75732 cat >>confdefs.h <<_ACEOF
75733 #define HAVE_LIMIT_DATA $glibcxx_mresult
75734 _ACEOF
75736 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75738 $as_echo "$res" >&6; }
75741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
75742 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
75743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75744 /* end confdefs.h. */
75745 #include <unistd.h>
75746 #include <sys/time.h>
75747 #include <sys/resource.h>
75750 main ()
75752 int f = RLIMIT_RSS ;
75754 return 0;
75756 _ACEOF
75757 if ac_fn_cxx_try_compile "$LINENO"; then :
75758 glibcxx_mresult=1
75759 else
75760 glibcxx_mresult=0
75762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75764 cat >>confdefs.h <<_ACEOF
75765 #define HAVE_LIMIT_RSS $glibcxx_mresult
75766 _ACEOF
75768 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75770 $as_echo "$res" >&6; }
75773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
75774 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
75775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75776 /* end confdefs.h. */
75777 #include <unistd.h>
75778 #include <sys/time.h>
75779 #include <sys/resource.h>
75782 main ()
75784 int f = RLIMIT_VMEM ;
75786 return 0;
75788 _ACEOF
75789 if ac_fn_cxx_try_compile "$LINENO"; then :
75790 glibcxx_mresult=1
75791 else
75792 glibcxx_mresult=0
75794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75796 cat >>confdefs.h <<_ACEOF
75797 #define HAVE_LIMIT_VMEM $glibcxx_mresult
75798 _ACEOF
75800 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75802 $as_echo "$res" >&6; }
75805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
75806 $as_echo_n "checking for RLIMIT_AS... " >&6; }
75807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75808 /* end confdefs.h. */
75809 #include <unistd.h>
75810 #include <sys/time.h>
75811 #include <sys/resource.h>
75814 main ()
75816 int f = RLIMIT_AS ;
75818 return 0;
75820 _ACEOF
75821 if ac_fn_cxx_try_compile "$LINENO"; then :
75822 glibcxx_mresult=1
75823 else
75824 glibcxx_mresult=0
75826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75828 cat >>confdefs.h <<_ACEOF
75829 #define HAVE_LIMIT_AS $glibcxx_mresult
75830 _ACEOF
75832 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75834 $as_echo "$res" >&6; }
75837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
75838 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
75839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75840 /* end confdefs.h. */
75841 #include <unistd.h>
75842 #include <sys/time.h>
75843 #include <sys/resource.h>
75846 main ()
75848 int f = RLIMIT_FSIZE ;
75850 return 0;
75852 _ACEOF
75853 if ac_fn_cxx_try_compile "$LINENO"; then :
75854 glibcxx_mresult=1
75855 else
75856 glibcxx_mresult=0
75858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75860 cat >>confdefs.h <<_ACEOF
75861 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
75862 _ACEOF
75864 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75866 $as_echo "$res" >&6; }
75869 # Check for rlimit, setrlimit.
75870 if ${glibcxx_cv_setrlimit+:} false; then :
75871 $as_echo_n "(cached) " >&6
75872 else
75874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75875 /* end confdefs.h. */
75876 #include <unistd.h>
75877 #include <sys/time.h>
75878 #include <sys/resource.h>
75881 main ()
75883 struct rlimit r;
75884 setrlimit(0, &r);
75886 return 0;
75888 _ACEOF
75889 if ac_fn_cxx_try_compile "$LINENO"; then :
75890 glibcxx_cv_setrlimit=yes
75891 else
75892 glibcxx_cv_setrlimit=no
75894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
75901 $as_echo_n "checking for testsuite resource limits support... " >&6; }
75902 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
75903 ac_res_limits=yes
75905 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
75907 else
75908 ac_res_limits=no
75910 ac_ext=c
75911 ac_cpp='$CPP $CPPFLAGS'
75912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
75917 $as_echo "$ac_res_limits" >&6; }
75920 if $GLIBCXX_IS_NATIVE ; then
75921 # Look for setenv, so that extended locale tests can be performed.
75923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
75924 $as_echo_n "checking for setenv declaration... " >&6; }
75925 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
75926 if ${glibcxx_cv_func_setenv_use+:} false; then :
75927 $as_echo_n "(cached) " >&6
75928 else
75931 ac_ext=cpp
75932 ac_cpp='$CXXCPP $CPPFLAGS'
75933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75938 /* end confdefs.h. */
75939 #include <stdlib.h>
75941 main ()
75943 setenv(0, 0, 0);
75945 return 0;
75947 _ACEOF
75948 if ac_fn_cxx_try_compile "$LINENO"; then :
75949 glibcxx_cv_func_setenv_use=yes
75950 else
75951 glibcxx_cv_func_setenv_use=no
75953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75954 ac_ext=c
75955 ac_cpp='$CPP $CPPFLAGS'
75956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
75965 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
75966 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
75967 for ac_func in setenv
75968 do :
75969 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
75970 if test "x$ac_cv_func_setenv" = xyes; then :
75971 cat >>confdefs.h <<_ACEOF
75972 #define HAVE_SETENV 1
75973 _ACEOF
75976 done
75982 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
75983 test $enable_symvers != no; then
75984 case "$host" in
75985 *-*-cygwin*)
75986 enable_abi_check=no ;;
75988 enable_abi_check=yes ;;
75989 esac
75990 else
75991 # Only build this as native, since automake does not understand
75992 # CXX_FOR_BUILD.
75993 enable_abi_check=no
75996 # Export file names for ABI checking.
75997 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
75999 baseline_subdir_switch="$abi_baseline_subdir_switch"
76003 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
76005 # Check whether --enable-libstdcxx-threads was given.
76006 if test "${enable_libstdcxx_threads+set}" = set; then :
76007 enableval=$enable_libstdcxx_threads;
76008 case "$enableval" in
76009 yes|no) ;;
76010 *) as_fn_error $? "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
76011 esac
76013 else
76014 enable_libstdcxx_threads=auto
76019 if test x$enable_libstdcxx_threads = xauto ||
76020 test x$enable_libstdcxx_threads = xyes; then
76023 ac_ext=cpp
76024 ac_cpp='$CXXCPP $CPPFLAGS'
76025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76030 ac_save_CXXFLAGS="$CXXFLAGS"
76031 CXXFLAGS="$CXXFLAGS -fno-exceptions \
76032 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
76034 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
76035 case $target_thread_file in
76036 posix)
76037 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
76038 esac
76040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
76041 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
76043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76044 /* end confdefs.h. */
76045 #include <unistd.h>
76047 main ()
76050 // In case of POSIX threads check _POSIX_TIMEOUTS.
76051 #if (defined(_PTHREADS) \
76052 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
76053 #error
76054 #endif
76057 return 0;
76059 _ACEOF
76060 if ac_fn_cxx_try_compile "$LINENO"; then :
76061 ac_gthread_use_mutex_timedlock=1
76062 else
76063 ac_gthread_use_mutex_timedlock=0
76065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76068 cat >>confdefs.h <<_ACEOF
76069 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
76070 _ACEOF
76073 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
76074 else res_mutex_timedlock=no ; fi
76075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
76076 $as_echo "$res_mutex_timedlock" >&6; }
76078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
76079 $as_echo_n "checking for gthreads library... " >&6; }
76081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76082 /* end confdefs.h. */
76083 #include "gthr.h"
76085 main ()
76088 #ifndef __GTHREADS_CXX0X
76089 #error
76090 #endif
76093 return 0;
76095 _ACEOF
76096 if ac_fn_cxx_try_compile "$LINENO"; then :
76097 ac_has_gthreads=yes
76098 else
76099 ac_has_gthreads=no
76101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76102 else
76103 ac_has_gthreads=no
76106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
76107 $as_echo "$ac_has_gthreads" >&6; }
76109 if test x"$ac_has_gthreads" = x"yes"; then
76111 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
76114 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
76115 # but only do so if we're using pthread in the gthread library.
76116 # On VxWorks for example, pthread_rwlock_t is defined in sys/types.h
76117 # but the pthread library is not there by default and the gthread library
76118 # does not use it.
76119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76120 /* end confdefs.h. */
76121 #include "gthr.h"
76123 main ()
76126 #if (!defined(_PTHREADS))
76127 #error
76128 #endif
76131 return 0;
76133 _ACEOF
76134 if ac_fn_cxx_try_compile "$LINENO"; then :
76135 ac_gthread_use_pthreads=yes
76136 else
76137 ac_gthread_use_pthreads=no
76139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76140 if test x"$ac_gthread_use_pthreads" = x"yes"; then
76141 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
76143 if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
76145 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
76152 CXXFLAGS="$ac_save_CXXFLAGS"
76153 ac_ext=c
76154 ac_cpp='$CPP $CPPFLAGS'
76155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76161 # For Filesystem TS.
76162 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
76163 do :
76164 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
76165 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
76166 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
76167 cat >>confdefs.h <<_ACEOF
76168 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
76169 _ACEOF
76173 done
76176 # Check whether --enable-libstdcxx-filesystem-ts was given.
76177 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
76178 enableval=$enable_libstdcxx_filesystem_ts;
76179 case "$enableval" in
76180 yes|no|auto) ;;
76181 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
76182 esac
76184 else
76185 enable_libstdcxx_filesystem_ts=auto
76190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
76191 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
76192 if test x"$ac_cv_header_dirent_h" != x"yes"; then
76193 enable_libstdcxx_filesystem_ts=no
76195 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
76196 case "${target_os}" in
76197 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
76198 enable_libstdcxx_filesystem_ts=yes
76200 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu | uclinux*)
76201 enable_libstdcxx_filesystem_ts=yes
76203 rtems*)
76204 enable_libstdcxx_filesystem_ts=yes
76206 solaris*)
76207 enable_libstdcxx_filesystem_ts=yes
76209 mingw*)
76210 enable_libstdcxx_filesystem_ts=yes
76213 enable_libstdcxx_filesystem_ts=no
76215 esac
76217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
76218 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
76221 if test $enable_libstdcxx_filesystem_ts = yes; then
76223 ac_ext=cpp
76224 ac_cpp='$CXXCPP $CPPFLAGS'
76225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76229 ac_save_CXXFLAGS="$CXXFLAGS"
76230 CXXFLAGS="$CXXFLAGS -fno-exceptions"
76231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
76232 $as_echo_n "checking for struct dirent.d_type... " >&6; }
76233 if ${glibcxx_cv_dirent_d_type+:} false; then :
76234 $as_echo_n "(cached) " >&6
76235 else
76236 if test x$gcc_no_link = xyes; then
76237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76238 /* end confdefs.h. */
76239 #include <dirent.h>
76241 main ()
76244 struct dirent d;
76245 if (sizeof d.d_type) return 0;
76248 return 0;
76250 _ACEOF
76251 if ac_fn_cxx_try_compile "$LINENO"; then :
76252 glibcxx_cv_dirent_d_type=yes
76253 else
76254 glibcxx_cv_dirent_d_type=no
76256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76257 else
76258 if test x$gcc_no_link = xyes; then
76259 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76262 /* end confdefs.h. */
76263 #include <dirent.h>
76265 main ()
76268 struct dirent d;
76269 if (sizeof d.d_type) return 0;
76272 return 0;
76274 _ACEOF
76275 if ac_fn_cxx_try_link "$LINENO"; then :
76276 glibcxx_cv_dirent_d_type=yes
76277 else
76278 glibcxx_cv_dirent_d_type=no
76280 rm -f core conftest.err conftest.$ac_objext \
76281 conftest$ac_exeext conftest.$ac_ext
76286 if test $glibcxx_cv_dirent_d_type = yes; then
76288 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
76291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
76292 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
76293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
76294 $as_echo_n "checking for realpath... " >&6; }
76295 if ${glibcxx_cv_realpath+:} false; then :
76296 $as_echo_n "(cached) " >&6
76297 else
76298 if test x$gcc_no_link = xyes; then
76299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76300 /* end confdefs.h. */
76302 #include <limits.h>
76303 #include <stdlib.h>
76304 #include <unistd.h>
76307 main ()
76310 #if _XOPEN_VERSION < 500
76311 #error
76312 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
76313 char *tmp = realpath((const char*)NULL, (char*)NULL);
76314 #else
76315 #error
76316 #endif
76319 return 0;
76321 _ACEOF
76322 if ac_fn_cxx_try_compile "$LINENO"; then :
76323 glibcxx_cv_realpath=yes
76324 else
76325 glibcxx_cv_realpath=no
76327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76328 else
76329 if test x$gcc_no_link = xyes; then
76330 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76333 /* end confdefs.h. */
76335 #include <limits.h>
76336 #include <stdlib.h>
76337 #include <unistd.h>
76340 main ()
76343 #if _XOPEN_VERSION < 500
76344 #error
76345 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
76346 char *tmp = realpath((const char*)NULL, (char*)NULL);
76347 #else
76348 #error
76349 #endif
76352 return 0;
76354 _ACEOF
76355 if ac_fn_cxx_try_link "$LINENO"; then :
76356 glibcxx_cv_realpath=yes
76357 else
76358 glibcxx_cv_realpath=no
76360 rm -f core conftest.err conftest.$ac_objext \
76361 conftest$ac_exeext conftest.$ac_ext
76366 if test $glibcxx_cv_realpath = yes; then
76368 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
76371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
76372 $as_echo "$glibcxx_cv_realpath" >&6; }
76373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
76374 $as_echo_n "checking for utimensat... " >&6; }
76375 if ${glibcxx_cv_utimensat+:} false; then :
76376 $as_echo_n "(cached) " >&6
76377 else
76378 if test x$gcc_no_link = xyes; then
76379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76380 /* end confdefs.h. */
76382 #include <fcntl.h>
76383 #include <sys/stat.h>
76386 main ()
76389 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
76390 int i = utimensat(AT_FDCWD, "path", ts, 0);
76393 return 0;
76395 _ACEOF
76396 if ac_fn_cxx_try_compile "$LINENO"; then :
76397 glibcxx_cv_utimensat=yes
76398 else
76399 glibcxx_cv_utimensat=no
76401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76402 else
76403 if test x$gcc_no_link = xyes; then
76404 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76407 /* end confdefs.h. */
76409 #include <fcntl.h>
76410 #include <sys/stat.h>
76413 main ()
76416 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
76417 int i = utimensat(AT_FDCWD, "path", ts, 0);
76420 return 0;
76422 _ACEOF
76423 if ac_fn_cxx_try_link "$LINENO"; then :
76424 glibcxx_cv_utimensat=yes
76425 else
76426 glibcxx_cv_utimensat=no
76428 rm -f core conftest.err conftest.$ac_objext \
76429 conftest$ac_exeext conftest.$ac_ext
76434 if test $glibcxx_cv_utimensat = yes; then
76436 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
76439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
76440 $as_echo "$glibcxx_cv_utimensat" >&6; }
76441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utime" >&5
76442 $as_echo_n "checking for utime... " >&6; }
76443 if ${glibcxx_cv_utime+:} false; then :
76444 $as_echo_n "(cached) " >&6
76445 else
76446 if test x$gcc_no_link = xyes; then
76447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76448 /* end confdefs.h. */
76450 #include <utime.h>
76453 main ()
76456 struct utimbuf t = { 1, 1 };
76457 int i = utime("path", &t);
76460 return 0;
76462 _ACEOF
76463 if ac_fn_cxx_try_compile "$LINENO"; then :
76464 glibcxx_cv_utime=yes
76465 else
76466 glibcxx_cv_utime=no
76468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76469 else
76470 if test x$gcc_no_link = xyes; then
76471 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76474 /* end confdefs.h. */
76476 #include <utime.h>
76479 main ()
76482 struct utimbuf t = { 1, 1 };
76483 int i = utime("path", &t);
76486 return 0;
76488 _ACEOF
76489 if ac_fn_cxx_try_link "$LINENO"; then :
76490 glibcxx_cv_utime=yes
76491 else
76492 glibcxx_cv_utime=no
76494 rm -f core conftest.err conftest.$ac_objext \
76495 conftest$ac_exeext conftest.$ac_ext
76500 if test $glibcxx_cv_utime = yes; then
76502 $as_echo "#define _GLIBCXX_USE_UTIME 1" >>confdefs.h
76505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utime" >&5
76506 $as_echo "$glibcxx_cv_utime" >&6; }
76507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lstat" >&5
76508 $as_echo_n "checking for lstat... " >&6; }
76509 if ${glibcxx_cv_lstat+:} false; then :
76510 $as_echo_n "(cached) " >&6
76511 else
76512 if test x$gcc_no_link = xyes; then
76513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76514 /* end confdefs.h. */
76515 #include <sys/stat.h>
76517 main ()
76520 struct stat st;
76521 int i = lstat("path", &st);
76524 return 0;
76526 _ACEOF
76527 if ac_fn_cxx_try_compile "$LINENO"; then :
76528 glibcxx_cv_lstat=yes
76529 else
76530 glibcxx_cv_lstat=no
76532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76533 else
76534 if test x$gcc_no_link = xyes; then
76535 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76538 /* end confdefs.h. */
76539 #include <sys/stat.h>
76541 main ()
76544 struct stat st;
76545 int i = lstat("path", &st);
76548 return 0;
76550 _ACEOF
76551 if ac_fn_cxx_try_link "$LINENO"; then :
76552 glibcxx_cv_lstat=yes
76553 else
76554 glibcxx_cv_lstat=no
76556 rm -f core conftest.err conftest.$ac_objext \
76557 conftest$ac_exeext conftest.$ac_ext
76562 if test $glibcxx_cv_lstat = yes; then
76564 $as_echo "#define _GLIBCXX_USE_LSTAT 1" >>confdefs.h
76567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_lstat" >&5
76568 $as_echo "$glibcxx_cv_lstat" >&6; }
76569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
76570 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
76571 if ${glibcxx_cv_st_mtim+:} false; then :
76572 $as_echo_n "(cached) " >&6
76573 else
76574 if test x$gcc_no_link = xyes; then
76575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76576 /* end confdefs.h. */
76577 #include <sys/stat.h>
76579 main ()
76582 struct stat st;
76583 return st.st_mtim.tv_nsec;
76586 return 0;
76588 _ACEOF
76589 if ac_fn_cxx_try_compile "$LINENO"; then :
76590 glibcxx_cv_st_mtim=yes
76591 else
76592 glibcxx_cv_st_mtim=no
76594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76595 else
76596 if test x$gcc_no_link = xyes; then
76597 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76600 /* end confdefs.h. */
76601 #include <sys/stat.h>
76603 main ()
76606 struct stat st;
76607 return st.st_mtim.tv_nsec;
76610 return 0;
76612 _ACEOF
76613 if ac_fn_cxx_try_link "$LINENO"; then :
76614 glibcxx_cv_st_mtim=yes
76615 else
76616 glibcxx_cv_st_mtim=no
76618 rm -f core conftest.err conftest.$ac_objext \
76619 conftest$ac_exeext conftest.$ac_ext
76624 if test $glibcxx_cv_st_mtim = yes; then
76626 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
76629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
76630 $as_echo "$glibcxx_cv_st_mtim" >&6; }
76631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
76632 $as_echo_n "checking for fchmod... " >&6; }
76633 if ${glibcxx_cv_fchmod+:} false; then :
76634 $as_echo_n "(cached) " >&6
76635 else
76636 if test x$gcc_no_link = xyes; then
76637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76638 /* end confdefs.h. */
76639 #include <sys/stat.h>
76641 main ()
76643 fchmod(1, S_IWUSR);
76645 return 0;
76647 _ACEOF
76648 if ac_fn_cxx_try_compile "$LINENO"; then :
76649 glibcxx_cv_fchmod=yes
76650 else
76651 glibcxx_cv_fchmod=no
76653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76654 else
76655 if test x$gcc_no_link = xyes; then
76656 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76659 /* end confdefs.h. */
76660 #include <sys/stat.h>
76662 main ()
76664 fchmod(1, S_IWUSR);
76666 return 0;
76668 _ACEOF
76669 if ac_fn_cxx_try_link "$LINENO"; then :
76670 glibcxx_cv_fchmod=yes
76671 else
76672 glibcxx_cv_fchmod=no
76674 rm -f core conftest.err conftest.$ac_objext \
76675 conftest$ac_exeext conftest.$ac_ext
76680 if test $glibcxx_cv_fchmod = yes; then
76682 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
76685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
76686 $as_echo "$glibcxx_cv_fchmod" >&6; }
76687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
76688 $as_echo_n "checking for fchmodat... " >&6; }
76689 if ${glibcxx_cv_fchmodat+:} false; then :
76690 $as_echo_n "(cached) " >&6
76691 else
76692 if test x$gcc_no_link = xyes; then
76693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76694 /* end confdefs.h. */
76696 #include <fcntl.h>
76697 #include <sys/stat.h>
76700 main ()
76702 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
76704 return 0;
76706 _ACEOF
76707 if ac_fn_cxx_try_compile "$LINENO"; then :
76708 glibcxx_cv_fchmodat=yes
76709 else
76710 glibcxx_cv_fchmodat=no
76712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76713 else
76714 if test x$gcc_no_link = xyes; then
76715 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76718 /* end confdefs.h. */
76720 #include <fcntl.h>
76721 #include <sys/stat.h>
76724 main ()
76726 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
76728 return 0;
76730 _ACEOF
76731 if ac_fn_cxx_try_link "$LINENO"; then :
76732 glibcxx_cv_fchmodat=yes
76733 else
76734 glibcxx_cv_fchmodat=no
76736 rm -f core conftest.err conftest.$ac_objext \
76737 conftest$ac_exeext conftest.$ac_ext
76742 if test $glibcxx_cv_fchmodat = yes; then
76744 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
76747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
76748 $as_echo "$glibcxx_cv_fchmodat" >&6; }
76749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
76750 $as_echo_n "checking for sendfile that can copy files... " >&6; }
76751 if ${glibcxx_cv_sendfile+:} false; then :
76752 $as_echo_n "(cached) " >&6
76753 else
76754 case "${target_os}" in
76755 gnu* | linux* | solaris* | uclinux*)
76756 if test x$gcc_no_link = xyes; then
76757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76758 /* end confdefs.h. */
76759 #include <sys/sendfile.h>
76761 main ()
76763 sendfile(1, 2, (off_t*)0, sizeof 1);
76765 return 0;
76767 _ACEOF
76768 if ac_fn_cxx_try_compile "$LINENO"; then :
76769 glibcxx_cv_sendfile=yes
76770 else
76771 glibcxx_cv_sendfile=no
76773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76774 else
76775 if test x$gcc_no_link = xyes; then
76776 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76779 /* end confdefs.h. */
76780 #include <sys/sendfile.h>
76782 main ()
76784 sendfile(1, 2, (off_t*)0, sizeof 1);
76786 return 0;
76788 _ACEOF
76789 if ac_fn_cxx_try_link "$LINENO"; then :
76790 glibcxx_cv_sendfile=yes
76791 else
76792 glibcxx_cv_sendfile=no
76794 rm -f core conftest.err conftest.$ac_objext \
76795 conftest$ac_exeext conftest.$ac_ext
76799 glibcxx_cv_sendfile=no
76801 esac
76805 if test $glibcxx_cv_sendfile = yes; then
76807 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
76810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
76811 $as_echo "$glibcxx_cv_sendfile" >&6; }
76812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
76813 $as_echo_n "checking for link... " >&6; }
76814 if ${glibcxx_cv_link+:} false; then :
76815 $as_echo_n "(cached) " >&6
76816 else
76817 if test x$gcc_no_link = xyes; then
76818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76819 /* end confdefs.h. */
76820 #include <unistd.h>
76822 main ()
76824 link("", "");
76826 return 0;
76828 _ACEOF
76829 if ac_fn_cxx_try_compile "$LINENO"; then :
76830 glibcxx_cv_link=yes
76831 else
76832 glibcxx_cv_link=no
76834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76835 else
76836 if test x$gcc_no_link = xyes; then
76837 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76840 /* end confdefs.h. */
76841 #include <unistd.h>
76843 main ()
76845 link("", "");
76847 return 0;
76849 _ACEOF
76850 if ac_fn_cxx_try_link "$LINENO"; then :
76851 glibcxx_cv_link=yes
76852 else
76853 glibcxx_cv_link=no
76855 rm -f core conftest.err conftest.$ac_objext \
76856 conftest$ac_exeext conftest.$ac_ext
76861 if test $glibcxx_cv_link = yes; then
76863 $as_echo "#define HAVE_LINK 1" >>confdefs.h
76866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_link" >&5
76867 $as_echo "$glibcxx_cv_link" >&6; }
76868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readlink" >&5
76869 $as_echo_n "checking for readlink... " >&6; }
76870 if ${glibcxx_cv_readlink+:} false; then :
76871 $as_echo_n "(cached) " >&6
76872 else
76873 if test x$gcc_no_link = xyes; then
76874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76875 /* end confdefs.h. */
76876 #include <unistd.h>
76878 main ()
76880 char buf[32]; readlink("", buf, sizeof(buf));
76882 return 0;
76884 _ACEOF
76885 if ac_fn_cxx_try_compile "$LINENO"; then :
76886 glibcxx_cv_readlink=yes
76887 else
76888 glibcxx_cv_readlink=no
76890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76891 else
76892 if test x$gcc_no_link = xyes; then
76893 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76896 /* end confdefs.h. */
76897 #include <unistd.h>
76899 main ()
76901 char buf[32]; readlink("", buf, sizeof(buf));
76903 return 0;
76905 _ACEOF
76906 if ac_fn_cxx_try_link "$LINENO"; then :
76907 glibcxx_cv_readlink=yes
76908 else
76909 glibcxx_cv_readlink=no
76911 rm -f core conftest.err conftest.$ac_objext \
76912 conftest$ac_exeext conftest.$ac_ext
76917 if test $glibcxx_cv_readlink = yes; then
76919 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
76922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_readlink" >&5
76923 $as_echo "$glibcxx_cv_readlink" >&6; }
76924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
76925 $as_echo_n "checking for symlink... " >&6; }
76926 if ${glibcxx_cv_symlink+:} false; then :
76927 $as_echo_n "(cached) " >&6
76928 else
76929 if test x$gcc_no_link = xyes; then
76930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76931 /* end confdefs.h. */
76932 #include <unistd.h>
76934 main ()
76936 symlink("", "");
76938 return 0;
76940 _ACEOF
76941 if ac_fn_cxx_try_compile "$LINENO"; then :
76942 glibcxx_cv_symlink=yes
76943 else
76944 glibcxx_cv_symlink=no
76946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76947 else
76948 if test x$gcc_no_link = xyes; then
76949 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76952 /* end confdefs.h. */
76953 #include <unistd.h>
76955 main ()
76957 symlink("", "");
76959 return 0;
76961 _ACEOF
76962 if ac_fn_cxx_try_link "$LINENO"; then :
76963 glibcxx_cv_symlink=yes
76964 else
76965 glibcxx_cv_symlink=no
76967 rm -f core conftest.err conftest.$ac_objext \
76968 conftest$ac_exeext conftest.$ac_ext
76973 if test $glibcxx_cv_symlink = yes; then
76975 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
76978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_symlink" >&5
76979 $as_echo "$glibcxx_cv_symlink" >&6; }
76980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncate" >&5
76981 $as_echo_n "checking for truncate... " >&6; }
76982 if ${glibcxx_cv_truncate+:} false; then :
76983 $as_echo_n "(cached) " >&6
76984 else
76985 if test x$gcc_no_link = xyes; then
76986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76987 /* end confdefs.h. */
76988 #include <unistd.h>
76990 main ()
76992 truncate("", 99);
76994 return 0;
76996 _ACEOF
76997 if ac_fn_cxx_try_compile "$LINENO"; then :
76998 glibcxx_cv_truncate=yes
76999 else
77000 glibcxx_cv_truncate=no
77002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77003 else
77004 if test x$gcc_no_link = xyes; then
77005 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77008 /* end confdefs.h. */
77009 #include <unistd.h>
77011 main ()
77013 truncate("", 99);
77015 return 0;
77017 _ACEOF
77018 if ac_fn_cxx_try_link "$LINENO"; then :
77019 glibcxx_cv_truncate=yes
77020 else
77021 glibcxx_cv_truncate=no
77023 rm -f core conftest.err conftest.$ac_objext \
77024 conftest$ac_exeext conftest.$ac_ext
77029 if test $glibcxx_cv_truncate = yes; then
77031 $as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
77034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_truncate" >&5
77035 $as_echo "$glibcxx_cv_truncate" >&6; }
77036 CXXFLAGS="$ac_save_CXXFLAGS"
77037 ac_ext=c
77038 ac_cpp='$CPP $CPPFLAGS'
77039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77046 # For Networking TS.
77047 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
77048 do :
77049 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
77050 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
77051 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
77052 cat >>confdefs.h <<_ACEOF
77053 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
77054 _ACEOF
77058 done
77061 # For Transactional Memory TS
77063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
77064 $as_echo_n "checking how size_t is mangled... " >&6; }
77065 if ${glibcxx_cv_size_t_mangling+:} false; then :
77066 $as_echo_n "(cached) " >&6
77067 else
77069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77070 /* end confdefs.h. */
77073 main ()
77075 extern __SIZE_TYPE__ x; extern unsigned long x;
77077 return 0;
77079 _ACEOF
77080 if ac_fn_c_try_compile "$LINENO"; then :
77081 glibcxx_cv_size_t_mangling=m
77082 else
77084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77085 /* end confdefs.h. */
77088 main ()
77090 extern __SIZE_TYPE__ x; extern unsigned int x;
77092 return 0;
77094 _ACEOF
77095 if ac_fn_c_try_compile "$LINENO"; then :
77096 glibcxx_cv_size_t_mangling=j
77097 else
77099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77100 /* end confdefs.h. */
77103 main ()
77105 extern __SIZE_TYPE__ x; extern unsigned long long x;
77107 return 0;
77109 _ACEOF
77110 if ac_fn_c_try_compile "$LINENO"; then :
77111 glibcxx_cv_size_t_mangling=y
77112 else
77114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77115 /* end confdefs.h. */
77118 main ()
77120 extern __SIZE_TYPE__ x; extern unsigned short x;
77122 return 0;
77124 _ACEOF
77125 if ac_fn_c_try_compile "$LINENO"; then :
77126 glibcxx_cv_size_t_mangling=t
77127 else
77129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77130 /* end confdefs.h. */
77133 main ()
77135 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
77137 return 0;
77139 _ACEOF
77140 if ac_fn_c_try_compile "$LINENO"; then :
77141 glibcxx_cv_size_t_mangling=u6uint20
77142 else
77143 glibcxx_cv_size_t_mangling=x
77145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
77161 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
77162 if test $glibcxx_cv_size_t_mangling = x; then
77163 as_fn_error $? "Unknown underlying type for size_t" "$LINENO" 5
77166 cat >>confdefs.h <<_ACEOF
77167 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
77168 _ACEOF
77172 # Check which release added std::exception_ptr for the target
77174 if test $enable_symvers != no; then
77175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
77176 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
77177 case ${target} in
77178 aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
77179 m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
77180 ac_exception_ptr_since_gcc46=yes
77183 # If the value of this macro changes then we will need to hardcode
77184 # yes/no here for additional targets based on the original value.
77185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77186 /* end confdefs.h. */
77189 main ()
77192 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
77193 # error atomic int not always lock free
77194 #endif
77197 return 0;
77199 _ACEOF
77200 if ac_fn_c_try_compile "$LINENO"; then :
77201 ac_exception_ptr_since_gcc46=yes
77202 else
77203 ac_exception_ptr_since_gcc46=no
77205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77207 esac
77208 if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
77210 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
77212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
77213 $as_echo "4.6.0" >&6; }
77214 else
77215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
77216 $as_echo "7.1.0" >&6; }
77221 # Define documentation rules conditionally.
77223 # See if makeinfo has been installed and is modern enough
77224 # that we can use it.
77226 # Extract the first word of "makeinfo", so it can be a program name with args.
77227 set dummy makeinfo; ac_word=$2
77228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77229 $as_echo_n "checking for $ac_word... " >&6; }
77230 if ${ac_cv_prog_MAKEINFO+:} false; then :
77231 $as_echo_n "(cached) " >&6
77232 else
77233 if test -n "$MAKEINFO"; then
77234 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
77235 else
77236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77237 for as_dir in $PATH
77239 IFS=$as_save_IFS
77240 test -z "$as_dir" && as_dir=.
77241 for ac_exec_ext in '' $ac_executable_extensions; do
77242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77243 ac_cv_prog_MAKEINFO="makeinfo"
77244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77245 break 2
77247 done
77248 done
77249 IFS=$as_save_IFS
77253 MAKEINFO=$ac_cv_prog_MAKEINFO
77254 if test -n "$MAKEINFO"; then
77255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
77256 $as_echo "$MAKEINFO" >&6; }
77257 else
77258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77259 $as_echo "no" >&6; }
77263 if test -n "$MAKEINFO"; then
77264 # Found it, now check the version.
77265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
77266 $as_echo_n "checking for modern makeinfo... " >&6; }
77267 if ${gcc_cv_prog_makeinfo_modern+:} false; then :
77268 $as_echo_n "(cached) " >&6
77269 else
77270 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
77271 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
77273 case $ac_prog_version in
77274 '') gcc_cv_prog_makeinfo_modern=no;;
77275 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
77276 *) gcc_cv_prog_makeinfo_modern=no;;
77277 esac
77280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
77281 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
77282 else
77283 gcc_cv_prog_makeinfo_modern=no
77285 if test $gcc_cv_prog_makeinfo_modern = no; then
77286 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
77289 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
77290 BUILD_INFO_TRUE=
77291 BUILD_INFO_FALSE='#'
77292 else
77293 BUILD_INFO_TRUE='#'
77294 BUILD_INFO_FALSE=
77298 # Check for doxygen
77299 # Extract the first word of "doxygen", so it can be a program name with args.
77300 set dummy doxygen; ac_word=$2
77301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77302 $as_echo_n "checking for $ac_word... " >&6; }
77303 if ${ac_cv_prog_DOXYGEN+:} false; then :
77304 $as_echo_n "(cached) " >&6
77305 else
77306 if test -n "$DOXYGEN"; then
77307 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
77308 else
77309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77310 for as_dir in $PATH
77312 IFS=$as_save_IFS
77313 test -z "$as_dir" && as_dir=.
77314 for ac_exec_ext in '' $ac_executable_extensions; do
77315 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77316 ac_cv_prog_DOXYGEN="yes"
77317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77318 break 2
77320 done
77321 done
77322 IFS=$as_save_IFS
77324 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
77327 DOXYGEN=$ac_cv_prog_DOXYGEN
77328 if test -n "$DOXYGEN"; then
77329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
77330 $as_echo "$DOXYGEN" >&6; }
77331 else
77332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77333 $as_echo "no" >&6; }
77337 # Extract the first word of "dot", so it can be a program name with args.
77338 set dummy dot; ac_word=$2
77339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77340 $as_echo_n "checking for $ac_word... " >&6; }
77341 if ${ac_cv_prog_DOT+:} false; then :
77342 $as_echo_n "(cached) " >&6
77343 else
77344 if test -n "$DOT"; then
77345 ac_cv_prog_DOT="$DOT" # Let the user override the test.
77346 else
77347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77348 for as_dir in $PATH
77350 IFS=$as_save_IFS
77351 test -z "$as_dir" && as_dir=.
77352 for ac_exec_ext in '' $ac_executable_extensions; do
77353 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77354 ac_cv_prog_DOT="yes"
77355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77356 break 2
77358 done
77359 done
77360 IFS=$as_save_IFS
77362 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
77365 DOT=$ac_cv_prog_DOT
77366 if test -n "$DOT"; then
77367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
77368 $as_echo "$DOT" >&6; }
77369 else
77370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77371 $as_echo "no" >&6; }
77376 # Check for docbook
77377 # Extract the first word of "xmlcatalog", so it can be a program name with args.
77378 set dummy xmlcatalog; ac_word=$2
77379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77380 $as_echo_n "checking for $ac_word... " >&6; }
77381 if ${ac_cv_prog_XMLCATALOG+:} false; then :
77382 $as_echo_n "(cached) " >&6
77383 else
77384 if test -n "$XMLCATALOG"; then
77385 ac_cv_prog_XMLCATALOG="$XMLCATALOG" # Let the user override the test.
77386 else
77387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77388 for as_dir in $PATH
77390 IFS=$as_save_IFS
77391 test -z "$as_dir" && as_dir=.
77392 for ac_exec_ext in '' $ac_executable_extensions; do
77393 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77394 ac_cv_prog_XMLCATALOG="yes"
77395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77396 break 2
77398 done
77399 done
77400 IFS=$as_save_IFS
77402 test -z "$ac_cv_prog_XMLCATALOG" && ac_cv_prog_XMLCATALOG="no"
77405 XMLCATALOG=$ac_cv_prog_XMLCATALOG
77406 if test -n "$XMLCATALOG"; then
77407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLCATALOG" >&5
77408 $as_echo "$XMLCATALOG" >&6; }
77409 else
77410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77411 $as_echo "no" >&6; }
77415 # Extract the first word of "xsltproc", so it can be a program name with args.
77416 set dummy xsltproc; ac_word=$2
77417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77418 $as_echo_n "checking for $ac_word... " >&6; }
77419 if ${ac_cv_prog_XSLTPROC+:} false; then :
77420 $as_echo_n "(cached) " >&6
77421 else
77422 if test -n "$XSLTPROC"; then
77423 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
77424 else
77425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77426 for as_dir in $PATH
77428 IFS=$as_save_IFS
77429 test -z "$as_dir" && as_dir=.
77430 for ac_exec_ext in '' $ac_executable_extensions; do
77431 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77432 ac_cv_prog_XSLTPROC="yes"
77433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77434 break 2
77436 done
77437 done
77438 IFS=$as_save_IFS
77440 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
77443 XSLTPROC=$ac_cv_prog_XSLTPROC
77444 if test -n "$XSLTPROC"; then
77445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
77446 $as_echo "$XSLTPROC" >&6; }
77447 else
77448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77449 $as_echo "no" >&6; }
77453 # Extract the first word of "xmllint", so it can be a program name with args.
77454 set dummy xmllint; 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_XMLLINT+:} false; then :
77458 $as_echo_n "(cached) " >&6
77459 else
77460 if test -n "$XMLLINT"; then
77461 ac_cv_prog_XMLLINT="$XMLLINT" # 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_XMLLINT="yes"
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
77478 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
77481 XMLLINT=$ac_cv_prog_XMLLINT
77482 if test -n "$XMLLINT"; then
77483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
77484 $as_echo "$XMLLINT" >&6; }
77485 else
77486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77487 $as_echo "no" >&6; }
77493 glibcxx_docbook_url=http://docbook.sourceforge.net/release/xsl-ns/current/
77495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
77496 $as_echo_n "checking for local stylesheet directory... " >&6; }
77497 glibcxx_local_stylesheets=no
77498 if test x${XMLCATALOG} = xyes && xsl_style_dir=`xmlcatalog "" $glibcxx_docbook_url 2>/dev/null`
77499 then
77500 XSL_STYLE_DIR=`echo $xsl_style_dir | sed -n 's;^file://;;p'`
77501 glibcxx_local_stylesheets=yes
77502 else
77503 for dir in \
77504 /usr/share/sgml/docbook/xsl-ns-stylesheets \
77505 /usr/share/xml/docbook/stylesheet/docbook-xsl-ns \
77506 /usr/share/xml/docbook/stylesheet/nwalsh5/current \
77507 /usr/share/xml/docbook/stylesheet/nwalsh/current
77509 if test -d $dir; then
77510 glibcxx_local_stylesheets=yes
77511 XSL_STYLE_DIR=$dir
77512 break
77514 done
77516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
77517 $as_echo "$glibcxx_local_stylesheets" >&6; }
77519 if test x"$glibcxx_local_stylesheets" = x"yes"; then
77521 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
77522 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
77524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
77525 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
77526 glibcxx_stylesheets=no
77527 if test x${XMLCATALOG} = xno || xmlcatalog "" $glibcxx_docbook_url/xhtml/docbook.xsl >/dev/null 2>&1; then
77528 if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude $glibcxx_docbook_url/xhtml/docbook.xsl - 2>/dev/null; then
77529 glibcxx_stylesheets=yes
77532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
77533 $as_echo "$glibcxx_stylesheets" >&6; }
77535 else
77536 glibcxx_stylesheets=no
77539 # Check for epub3 dependencies.
77540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
77541 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
77542 glibcxx_epub_stylesheets=no
77543 if test x"$glibcxx_local_stylesheets" = x"yes"; then
77544 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
77545 glibcxx_epub_stylesheets=yes
77548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
77549 $as_echo "$glibcxx_epub_stylesheets" >&6; }
77550 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
77551 BUILD_EPUB_TRUE=
77552 BUILD_EPUB_FALSE='#'
77553 else
77554 BUILD_EPUB_TRUE='#'
77555 BUILD_EPUB_FALSE=
77561 # Check for xml/html dependencies.
77562 if test $ac_cv_prog_DOXYGEN = "yes" &&
77563 test $ac_cv_prog_DOT = "yes" &&
77564 test $ac_cv_prog_XSLTPROC = "yes" &&
77565 test $ac_cv_prog_XMLLINT = "yes" &&
77566 test $glibcxx_stylesheets = "yes"; then
77567 BUILD_XML_TRUE=
77568 BUILD_XML_FALSE='#'
77569 else
77570 BUILD_XML_TRUE='#'
77571 BUILD_XML_FALSE=
77575 if test $ac_cv_prog_DOXYGEN = "yes" &&
77576 test $ac_cv_prog_DOT = "yes" &&
77577 test $ac_cv_prog_XSLTPROC = "yes" &&
77578 test $ac_cv_prog_XMLLINT = "yes" &&
77579 test $glibcxx_stylesheets = "yes"; then
77580 BUILD_HTML_TRUE=
77581 BUILD_HTML_FALSE='#'
77582 else
77583 BUILD_HTML_TRUE='#'
77584 BUILD_HTML_FALSE=
77588 # Check for man dependencies.
77589 if test $ac_cv_prog_DOXYGEN = "yes" &&
77590 test $ac_cv_prog_DOT = "yes"; then
77591 BUILD_MAN_TRUE=
77592 BUILD_MAN_FALSE='#'
77593 else
77594 BUILD_MAN_TRUE='#'
77595 BUILD_MAN_FALSE=
77599 # Check for pdf dependencies.
77600 # Extract the first word of "dblatex", so it can be a program name with args.
77601 set dummy dblatex; ac_word=$2
77602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77603 $as_echo_n "checking for $ac_word... " >&6; }
77604 if ${ac_cv_prog_DBLATEX+:} false; then :
77605 $as_echo_n "(cached) " >&6
77606 else
77607 if test -n "$DBLATEX"; then
77608 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
77609 else
77610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77611 for as_dir in $PATH
77613 IFS=$as_save_IFS
77614 test -z "$as_dir" && as_dir=.
77615 for ac_exec_ext in '' $ac_executable_extensions; do
77616 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77617 ac_cv_prog_DBLATEX="yes"
77618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77619 break 2
77621 done
77622 done
77623 IFS=$as_save_IFS
77625 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
77628 DBLATEX=$ac_cv_prog_DBLATEX
77629 if test -n "$DBLATEX"; then
77630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
77631 $as_echo "$DBLATEX" >&6; }
77632 else
77633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77634 $as_echo "no" >&6; }
77638 # Extract the first word of "pdflatex", so it can be a program name with args.
77639 set dummy pdflatex; ac_word=$2
77640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77641 $as_echo_n "checking for $ac_word... " >&6; }
77642 if ${ac_cv_prog_PDFLATEX+:} false; then :
77643 $as_echo_n "(cached) " >&6
77644 else
77645 if test -n "$PDFLATEX"; then
77646 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
77647 else
77648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77649 for as_dir in $PATH
77651 IFS=$as_save_IFS
77652 test -z "$as_dir" && as_dir=.
77653 for ac_exec_ext in '' $ac_executable_extensions; do
77654 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77655 ac_cv_prog_PDFLATEX="yes"
77656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77657 break 2
77659 done
77660 done
77661 IFS=$as_save_IFS
77663 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
77666 PDFLATEX=$ac_cv_prog_PDFLATEX
77667 if test -n "$PDFLATEX"; then
77668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
77669 $as_echo "$PDFLATEX" >&6; }
77670 else
77671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77672 $as_echo "no" >&6; }
77676 if test $ac_cv_prog_DOXYGEN = "yes" &&
77677 test $ac_cv_prog_DOT = "yes" &&
77678 test $ac_cv_prog_XSLTPROC = "yes" &&
77679 test $ac_cv_prog_XMLLINT = "yes" &&
77680 test $ac_cv_prog_DBLATEX = "yes" &&
77681 test $ac_cv_prog_PDFLATEX = "yes"; then
77682 BUILD_PDF_TRUE=
77683 BUILD_PDF_FALSE='#'
77684 else
77685 BUILD_PDF_TRUE='#'
77686 BUILD_PDF_FALSE=
77690 case "$build" in
77691 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
77692 * ) glibcxx_include_dir_notparallel=no ;;
77693 esac
77694 if test $glibcxx_include_dir_notparallel = "yes"; then
77695 INCLUDE_DIR_NOTPARALLEL_TRUE=
77696 INCLUDE_DIR_NOTPARALLEL_FALSE='#'
77697 else
77698 INCLUDE_DIR_NOTPARALLEL_TRUE='#'
77699 INCLUDE_DIR_NOTPARALLEL_FALSE=
77703 # Propagate the target-specific source directories through the build chain.
77704 ATOMICITY_SRCDIR=config/${atomicity_dir}
77705 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
77706 ATOMIC_FLAGS=${atomic_flags}
77707 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
77708 OS_INC_SRCDIR=config/${os_include_dir}
77709 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
77710 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
77711 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
77712 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
77723 # Conditionalize the makefile for this target machine.
77724 tmake_file_=
77725 for f in ${tmake_file}
77727 if test -f ${srcdir}/config/$f
77728 then
77729 tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
77731 done
77732 tmake_file="${tmake_file_}"
77735 # Add CET specific flags if Intel CET is enabled.
77736 # Check whether --enable-cet was given.
77737 if test "${enable_cet+set}" = set; then :
77738 enableval=$enable_cet;
77739 case "$enableval" in
77740 yes|no|auto) ;;
77741 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
77742 esac
77744 else
77745 enable_cet=auto
77749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
77750 $as_echo_n "checking for CET support... " >&6; }
77752 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
77753 case "$host" in
77754 i[34567]86-*-linux* | x86_64-*-linux*)
77755 case "$enable_cet" in
77756 auto)
77757 # Check if target supports multi-byte NOPs
77758 # and if assembler supports CET insn.
77759 cet_save_CFLAGS="$CFLAGS"
77760 CFLAGS="$CFLAGS -fcf-protection"
77761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77762 /* end confdefs.h. */
77765 main ()
77768 #if !defined(__SSE2__)
77769 #error target does not support multi-byte NOPs
77770 #else
77771 asm ("setssbsy");
77772 #endif
77775 return 0;
77777 _ACEOF
77778 if ac_fn_c_try_compile "$LINENO"; then :
77779 enable_cet=yes
77780 else
77781 enable_cet=no
77783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77784 CFLAGS="$cet_save_CFLAGS"
77786 yes)
77787 # Check if assembler supports CET.
77788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77789 /* end confdefs.h. */
77792 main ()
77794 asm ("setssbsy");
77796 return 0;
77798 _ACEOF
77799 if ac_fn_c_try_compile "$LINENO"; then :
77801 else
77802 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
77804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77806 esac
77809 enable_cet=no
77811 esac
77812 if test x$enable_cet = xyes; then
77813 CET_FLAGS="-fcf-protection -mshstk"
77814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
77815 $as_echo "yes" >&6; }
77816 else
77817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77818 $as_echo "no" >&6; }
77821 EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
77822 EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
77826 # Determine cross-compile flags and AM_CONDITIONALs.
77827 #AC_SUBST(GLIBCXX_IS_NATIVE)
77828 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
77829 if test $is_hosted = yes; then
77830 GLIBCXX_HOSTED_TRUE=
77831 GLIBCXX_HOSTED_FALSE='#'
77832 else
77833 GLIBCXX_HOSTED_TRUE='#'
77834 GLIBCXX_HOSTED_FALSE=
77838 if test $enable_libstdcxx_pch = yes; then
77839 GLIBCXX_BUILD_PCH_TRUE=
77840 GLIBCXX_BUILD_PCH_FALSE='#'
77841 else
77842 GLIBCXX_BUILD_PCH_TRUE='#'
77843 GLIBCXX_BUILD_PCH_FALSE=
77847 if test $enable_float128 = yes; then
77848 ENABLE_FLOAT128_TRUE=
77849 ENABLE_FLOAT128_FALSE='#'
77850 else
77851 ENABLE_FLOAT128_TRUE='#'
77852 ENABLE_FLOAT128_FALSE=
77856 if test $enable_libstdcxx_allocator_flag = new; then
77857 ENABLE_ALLOCATOR_NEW_TRUE=
77858 ENABLE_ALLOCATOR_NEW_FALSE='#'
77859 else
77860 ENABLE_ALLOCATOR_NEW_TRUE='#'
77861 ENABLE_ALLOCATOR_NEW_FALSE=
77865 if test $enable_cheaders = c; then
77866 GLIBCXX_C_HEADERS_C_TRUE=
77867 GLIBCXX_C_HEADERS_C_FALSE='#'
77868 else
77869 GLIBCXX_C_HEADERS_C_TRUE='#'
77870 GLIBCXX_C_HEADERS_C_FALSE=
77874 if test $enable_cheaders = c_std; then
77875 GLIBCXX_C_HEADERS_C_STD_TRUE=
77876 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
77877 else
77878 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
77879 GLIBCXX_C_HEADERS_C_STD_FALSE=
77883 if test $enable_cheaders = c_global; then
77884 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
77885 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
77886 else
77887 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
77888 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
77892 if test $c_compatibility = yes; then
77893 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
77894 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
77895 else
77896 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
77897 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
77901 if test $enable_libstdcxx_debug = yes; then
77902 GLIBCXX_BUILD_DEBUG_TRUE=
77903 GLIBCXX_BUILD_DEBUG_FALSE='#'
77904 else
77905 GLIBCXX_BUILD_DEBUG_TRUE='#'
77906 GLIBCXX_BUILD_DEBUG_FALSE=
77910 if test $enable_extern_template = yes; then
77911 ENABLE_EXTERN_TEMPLATE_TRUE=
77912 ENABLE_EXTERN_TEMPLATE_FALSE='#'
77913 else
77914 ENABLE_EXTERN_TEMPLATE_TRUE='#'
77915 ENABLE_EXTERN_TEMPLATE_FALSE=
77919 if test $python_mod_dir != no; then
77920 ENABLE_PYTHONDIR_TRUE=
77921 ENABLE_PYTHONDIR_FALSE='#'
77922 else
77923 ENABLE_PYTHONDIR_TRUE='#'
77924 ENABLE_PYTHONDIR_FALSE=
77928 if test $enable_werror = yes; then
77929 ENABLE_WERROR_TRUE=
77930 ENABLE_WERROR_FALSE='#'
77931 else
77932 ENABLE_WERROR_TRUE='#'
77933 ENABLE_WERROR_FALSE=
77937 if test $enable_vtable_verify = yes; then
77938 ENABLE_VTABLE_VERIFY_TRUE=
77939 ENABLE_VTABLE_VERIFY_FALSE='#'
77940 else
77941 ENABLE_VTABLE_VERIFY_TRUE='#'
77942 ENABLE_VTABLE_VERIFY_FALSE=
77946 if test $enable_symvers != no; then
77947 ENABLE_SYMVERS_TRUE=
77948 ENABLE_SYMVERS_FALSE='#'
77949 else
77950 ENABLE_SYMVERS_TRUE='#'
77951 ENABLE_SYMVERS_FALSE=
77955 if test $enable_symvers = gnu; then
77956 ENABLE_SYMVERS_GNU_TRUE=
77957 ENABLE_SYMVERS_GNU_FALSE='#'
77958 else
77959 ENABLE_SYMVERS_GNU_TRUE='#'
77960 ENABLE_SYMVERS_GNU_FALSE=
77964 if test $enable_symvers = gnu-versioned-namespace; then
77965 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
77966 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
77967 else
77968 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
77969 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
77973 if test $enable_symvers = darwin; then
77974 ENABLE_SYMVERS_DARWIN_TRUE=
77975 ENABLE_SYMVERS_DARWIN_FALSE='#'
77976 else
77977 ENABLE_SYMVERS_DARWIN_TRUE='#'
77978 ENABLE_SYMVERS_DARWIN_FALSE=
77982 if test $enable_symvers = sun; then
77983 ENABLE_SYMVERS_SUN_TRUE=
77984 ENABLE_SYMVERS_SUN_FALSE='#'
77985 else
77986 ENABLE_SYMVERS_SUN_TRUE='#'
77987 ENABLE_SYMVERS_SUN_FALSE=
77991 if test $enable_libstdcxx_visibility = yes; then
77992 ENABLE_VISIBILITY_TRUE=
77993 ENABLE_VISIBILITY_FALSE='#'
77994 else
77995 ENABLE_VISIBILITY_TRUE='#'
77996 ENABLE_VISIBILITY_FALSE=
78000 if test $enable_libstdcxx_dual_abi = yes; then
78001 ENABLE_DUAL_ABI_TRUE=
78002 ENABLE_DUAL_ABI_FALSE='#'
78003 else
78004 ENABLE_DUAL_ABI_TRUE='#'
78005 ENABLE_DUAL_ABI_FALSE=
78009 if test $glibcxx_cxx11_abi = 1; then
78010 ENABLE_CXX11_ABI_TRUE=
78011 ENABLE_CXX11_ABI_FALSE='#'
78012 else
78013 ENABLE_CXX11_ABI_TRUE='#'
78014 ENABLE_CXX11_ABI_FALSE=
78018 if test $ac_ldbl_compat = yes; then
78019 GLIBCXX_LDBL_COMPAT_TRUE=
78020 GLIBCXX_LDBL_COMPAT_FALSE='#'
78021 else
78022 GLIBCXX_LDBL_COMPAT_TRUE='#'
78023 GLIBCXX_LDBL_COMPAT_FALSE=
78027 if test $enable_libstdcxx_filesystem_ts = yes; then
78028 ENABLE_FILESYSTEM_TS_TRUE=
78029 ENABLE_FILESYSTEM_TS_FALSE='#'
78030 else
78031 ENABLE_FILESYSTEM_TS_TRUE='#'
78032 ENABLE_FILESYSTEM_TS_FALSE=
78038 cat >confcache <<\_ACEOF
78039 # This file is a shell script that caches the results of configure
78040 # tests run on this system so they can be shared between configure
78041 # scripts and configure runs, see configure's option --config-cache.
78042 # It is not useful on other systems. If it contains results you don't
78043 # want to keep, you may remove or edit it.
78045 # config.status only pays attention to the cache file if you give it
78046 # the --recheck option to rerun configure.
78048 # `ac_cv_env_foo' variables (set or unset) will be overridden when
78049 # loading this file, other *unset* `ac_cv_foo' will be assigned the
78050 # following values.
78052 _ACEOF
78054 # The following way of writing the cache mishandles newlines in values,
78055 # but we know of no workaround that is simple, portable, and efficient.
78056 # So, we kill variables containing newlines.
78057 # Ultrix sh set writes to stderr and can't be redirected directly,
78058 # and sets the high bit in the cache file unless we assign to the vars.
78060 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
78061 eval ac_val=\$$ac_var
78062 case $ac_val in #(
78063 *${as_nl}*)
78064 case $ac_var in #(
78065 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
78066 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
78067 esac
78068 case $ac_var in #(
78069 _ | IFS | as_nl) ;; #(
78070 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
78071 *) { eval $ac_var=; unset $ac_var;} ;;
78072 esac ;;
78073 esac
78074 done
78076 (set) 2>&1 |
78077 case $as_nl`(ac_space=' '; set) 2>&1` in #(
78078 *${as_nl}ac_space=\ *)
78079 # `set' does not quote correctly, so add quotes: double-quote
78080 # substitution turns \\\\ into \\, and sed turns \\ into \.
78081 sed -n \
78082 "s/'/'\\\\''/g;
78083 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
78084 ;; #(
78086 # `set' quotes correctly as required by POSIX, so do not add quotes.
78087 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
78089 esac |
78090 sort
78092 sed '
78093 /^ac_cv_env_/b end
78094 t clear
78095 :clear
78096 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
78097 t end
78098 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
78099 :end' >>confcache
78100 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
78101 if test -w "$cache_file"; then
78102 if test "x$cache_file" != "x/dev/null"; then
78103 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
78104 $as_echo "$as_me: updating cache $cache_file" >&6;}
78105 if test ! -f "$cache_file" || test -h "$cache_file"; then
78106 cat confcache >"$cache_file"
78107 else
78108 case $cache_file in #(
78109 */* | ?:*)
78110 mv -f confcache "$cache_file"$$ &&
78111 mv -f "$cache_file"$$ "$cache_file" ;; #(
78113 mv -f confcache "$cache_file" ;;
78114 esac
78117 else
78118 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
78119 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
78122 rm -f confcache
78124 if test ${multilib} = yes; then
78125 multilib_arg="--enable-multilib"
78126 else
78127 multilib_arg=
78130 # Export all the install information.
78132 glibcxx_toolexecdir=no
78133 glibcxx_toolexeclibdir=no
78134 glibcxx_prefixdir=$prefix
78136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
78137 $as_echo_n "checking for gxx-include-dir... " >&6; }
78139 # Check whether --with-gxx-include-dir was given.
78140 if test "${with_gxx_include_dir+set}" = set; then :
78141 withval=$with_gxx_include_dir; case "$withval" in
78142 yes) as_fn_error $? "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
78143 no) gxx_include_dir=no ;;
78144 *) gxx_include_dir=$withval ;;
78145 esac
78146 else
78147 gxx_include_dir=no
78150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
78151 $as_echo "$gxx_include_dir" >&6; }
78153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
78154 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
78155 # Check whether --enable-version-specific-runtime-libs was given.
78156 if test "${enable_version_specific_runtime_libs+set}" = set; then :
78157 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
78158 yes) version_specific_libs=yes ;;
78159 no) version_specific_libs=no ;;
78160 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
78161 esac
78162 else
78163 version_specific_libs=no
78166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
78167 $as_echo "$version_specific_libs" >&6; }
78170 # Check whether --with-toolexeclibdir was given.
78171 if test "${with_toolexeclibdir+set}" = set; then :
78172 withval=$with_toolexeclibdir; case ${with_toolexeclibdir} in
78176 with_toolexeclibdir=`echo $with_toolexeclibdir | sed 's,/$,,'`
78178 esac
78179 else
78180 with_toolexeclibdir=no
78185 # Default case for install directory for include files.
78186 if test $version_specific_libs = no && test $gxx_include_dir = no; then
78187 gxx_include_dir='include/c++/${gcc_version}'
78188 if test -n "$with_cross_host" &&
78189 test x"$with_cross_host" != x"no"; then
78190 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
78191 else
78192 gxx_include_dir='${prefix}/'"$gxx_include_dir"
78196 # Version-specific runtime libs processing.
78197 if test $version_specific_libs = yes; then
78198 # Need the gcc compiler version to know where to install libraries
78199 # and header files if --enable-version-specific-runtime-libs option
78200 # is selected. FIXME: these variables are misnamed, there are
78201 # no executables installed in _toolexecdir or _toolexeclibdir.
78202 if test x"$gxx_include_dir" = x"no"; then
78203 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
78205 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
78206 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
78209 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
78210 # Install a library built with a cross compiler in tooldir, not libdir.
78211 if test x"$glibcxx_toolexecdir" = x"no"; then
78212 if test -n "$with_cross_host" &&
78213 test x"$with_cross_host" != x"no"; then
78214 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
78215 case ${with_toolexeclibdir} in
78217 glibcxx_toolexeclibdir='${toolexecdir}/lib'
78220 glibcxx_toolexeclibdir=${with_toolexeclibdir}
78222 esac
78223 else
78224 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
78225 glibcxx_toolexeclibdir='${libdir}'
78227 multi_os_directory=`$CXX -print-multi-os-directory`
78228 case $multi_os_directory in
78229 .) ;; # Avoid trailing /.
78230 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
78231 esac
78234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
78235 $as_echo_n "checking for install location... " >&6; }
78236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
78237 $as_echo "$gxx_include_dir" >&6; }
78245 # Export all the include and flag information to Makefiles.
78247 # Used for every C++ compile we perform.
78248 GLIBCXX_INCLUDES="\
78249 -I$glibcxx_builddir/include/$host_alias \
78250 -I$glibcxx_builddir/include \
78251 -I$glibcxx_srcdir/libsupc++"
78253 # For Canadian crosses, pick this up too.
78254 if test $CANADIAN = yes; then
78255 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
78258 # Stuff in the actual top level. Currently only used by libsupc++ to
78259 # get unwind* headers from the libgcc dir.
78260 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
78261 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
78263 # Now, export this to all the little Makefiles....
78268 # Optimization flags that are probably a good idea for thrill-seekers. Just
78269 # uncomment the lines below and make, everything else is ready to go...
78270 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
78271 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
78274 WARN_FLAGS="-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2"
78278 # Determine what GCC version number to use in filesystem paths.
78280 get_gcc_base_ver="cat"
78282 # Check whether --with-gcc-major-version-only was given.
78283 if test "${with_gcc_major_version_only+set}" = set; then :
78284 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
78285 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
78293 ac_config_files="$ac_config_files Makefile"
78295 ac_config_files="$ac_config_files scripts/testsuite_flags"
78297 ac_config_files="$ac_config_files scripts/extract_symvers"
78299 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
78302 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
78303 # that multilib installs will end up installed in the correct place.
78304 # The testsuite needs it for multilib-aware ABI baseline files.
78305 # To work around this not being passed down from config-ml.in ->
78306 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
78307 # append it here. Only modify Makefiles that have just been created.
78309 # Also, get rid of this simulated-VPATH thing that automake does.
78310 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile src/c++17/Makefile src/filesystem/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
78313 ac_config_commands="$ac_config_commands generate-headers"
78316 cat >confcache <<\_ACEOF
78317 # This file is a shell script that caches the results of configure
78318 # tests run on this system so they can be shared between configure
78319 # scripts and configure runs, see configure's option --config-cache.
78320 # It is not useful on other systems. If it contains results you don't
78321 # want to keep, you may remove or edit it.
78323 # config.status only pays attention to the cache file if you give it
78324 # the --recheck option to rerun configure.
78326 # `ac_cv_env_foo' variables (set or unset) will be overridden when
78327 # loading this file, other *unset* `ac_cv_foo' will be assigned the
78328 # following values.
78330 _ACEOF
78332 # The following way of writing the cache mishandles newlines in values,
78333 # but we know of no workaround that is simple, portable, and efficient.
78334 # So, we kill variables containing newlines.
78335 # Ultrix sh set writes to stderr and can't be redirected directly,
78336 # and sets the high bit in the cache file unless we assign to the vars.
78338 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
78339 eval ac_val=\$$ac_var
78340 case $ac_val in #(
78341 *${as_nl}*)
78342 case $ac_var in #(
78343 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
78344 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
78345 esac
78346 case $ac_var in #(
78347 _ | IFS | as_nl) ;; #(
78348 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
78349 *) { eval $ac_var=; unset $ac_var;} ;;
78350 esac ;;
78351 esac
78352 done
78354 (set) 2>&1 |
78355 case $as_nl`(ac_space=' '; set) 2>&1` in #(
78356 *${as_nl}ac_space=\ *)
78357 # `set' does not quote correctly, so add quotes: double-quote
78358 # substitution turns \\\\ into \\, and sed turns \\ into \.
78359 sed -n \
78360 "s/'/'\\\\''/g;
78361 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
78362 ;; #(
78364 # `set' quotes correctly as required by POSIX, so do not add quotes.
78365 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
78367 esac |
78368 sort
78370 sed '
78371 /^ac_cv_env_/b end
78372 t clear
78373 :clear
78374 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
78375 t end
78376 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
78377 :end' >>confcache
78378 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
78379 if test -w "$cache_file"; then
78380 if test "x$cache_file" != "x/dev/null"; then
78381 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
78382 $as_echo "$as_me: updating cache $cache_file" >&6;}
78383 if test ! -f "$cache_file" || test -h "$cache_file"; then
78384 cat confcache >"$cache_file"
78385 else
78386 case $cache_file in #(
78387 */* | ?:*)
78388 mv -f confcache "$cache_file"$$ &&
78389 mv -f "$cache_file"$$ "$cache_file" ;; #(
78391 mv -f confcache "$cache_file" ;;
78392 esac
78395 else
78396 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
78397 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
78400 rm -f confcache
78402 test "x$prefix" = xNONE && prefix=$ac_default_prefix
78403 # Let make expand exec_prefix.
78404 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
78406 DEFS=-DHAVE_CONFIG_H
78408 ac_libobjs=
78409 ac_ltlibobjs=
78411 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
78412 # 1. Remove the extension, and $U if already installed.
78413 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
78414 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
78415 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
78416 # will be set to the directory where LIBOBJS objects are built.
78417 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
78418 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
78419 done
78420 LIBOBJS=$ac_libobjs
78422 LTLIBOBJS=$ac_ltlibobjs
78425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
78426 $as_echo_n "checking that generated files are newer than configure... " >&6; }
78427 if test -n "$am_sleep_pid"; then
78428 # Hide warnings about reused PIDs.
78429 wait $am_sleep_pid 2>/dev/null
78431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
78432 $as_echo "done" >&6; }
78433 if test -n "$EXEEXT"; then
78434 am__EXEEXT_TRUE=
78435 am__EXEEXT_FALSE='#'
78436 else
78437 am__EXEEXT_TRUE='#'
78438 am__EXEEXT_FALSE=
78441 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
78442 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
78443 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78445 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
78446 as_fn_error $? "conditional \"GLIBCXX_HOSTED\" was never defined.
78447 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78449 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
78450 as_fn_error $? "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
78451 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78453 if test -z "${ENABLE_FLOAT128_TRUE}" && test -z "${ENABLE_FLOAT128_FALSE}"; then
78454 as_fn_error $? "conditional \"ENABLE_FLOAT128\" was never defined.
78455 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78457 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
78458 as_fn_error $? "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
78459 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78461 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
78462 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
78463 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78465 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
78466 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
78467 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78469 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
78470 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
78471 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78473 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
78474 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
78475 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78477 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
78478 as_fn_error $? "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
78479 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78481 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
78482 as_fn_error $? "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
78483 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78485 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
78486 as_fn_error $? "conditional \"ENABLE_PYTHONDIR\" was never defined.
78487 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78489 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
78490 as_fn_error $? "conditional \"ENABLE_WERROR\" was never defined.
78491 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78493 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
78494 as_fn_error $? "conditional \"VTV_CYGMIN\" was never defined.
78495 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78497 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
78498 as_fn_error $? "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
78499 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78501 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
78502 as_fn_error $? "conditional \"ENABLE_SYMVERS\" was never defined.
78503 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78505 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
78506 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
78507 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78509 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
78510 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
78511 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78513 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
78514 as_fn_error $? "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
78515 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78517 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
78518 as_fn_error $? "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
78519 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78521 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
78522 as_fn_error $? "conditional \"ENABLE_VISIBILITY\" was never defined.
78523 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78525 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
78526 as_fn_error $? "conditional \"ENABLE_DUAL_ABI\" was never defined.
78527 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78529 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
78530 as_fn_error $? "conditional \"ENABLE_CXX11_ABI\" was never defined.
78531 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78533 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
78534 as_fn_error $? "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
78535 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78537 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
78538 as_fn_error $? "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
78539 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78541 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
78542 as_fn_error $? "conditional \"BUILD_INFO\" was never defined.
78543 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78545 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
78546 as_fn_error $? "conditional \"BUILD_EPUB\" was never defined.
78547 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78549 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
78550 as_fn_error $? "conditional \"BUILD_XML\" was never defined.
78551 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78553 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
78554 as_fn_error $? "conditional \"BUILD_HTML\" was never defined.
78555 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78557 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
78558 as_fn_error $? "conditional \"BUILD_MAN\" was never defined.
78559 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78561 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
78562 as_fn_error $? "conditional \"BUILD_PDF\" was never defined.
78563 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78565 if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
78566 as_fn_error $? "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
78567 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78570 : "${CONFIG_STATUS=./config.status}"
78571 ac_write_fail=0
78572 ac_clean_files_save=$ac_clean_files
78573 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
78574 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
78575 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
78576 as_write_fail=0
78577 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
78578 #! $SHELL
78579 # Generated by $as_me.
78580 # Run this file to recreate the current configuration.
78581 # Compiler output produced by configure, useful for debugging
78582 # configure, is in config.log if it exists.
78584 debug=false
78585 ac_cs_recheck=false
78586 ac_cs_silent=false
78588 SHELL=\${CONFIG_SHELL-$SHELL}
78589 export SHELL
78590 _ASEOF
78591 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
78592 ## -------------------- ##
78593 ## M4sh Initialization. ##
78594 ## -------------------- ##
78596 # Be more Bourne compatible
78597 DUALCASE=1; export DUALCASE # for MKS sh
78598 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
78599 emulate sh
78600 NULLCMD=:
78601 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
78602 # is contrary to our usage. Disable this feature.
78603 alias -g '${1+"$@"}'='"$@"'
78604 setopt NO_GLOB_SUBST
78605 else
78606 case `(set -o) 2>/dev/null` in #(
78607 *posix*) :
78608 set -o posix ;; #(
78609 *) :
78611 esac
78615 as_nl='
78617 export as_nl
78618 # Printing a long string crashes Solaris 7 /usr/bin/printf.
78619 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
78620 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
78621 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
78622 # Prefer a ksh shell builtin over an external printf program on Solaris,
78623 # but without wasting forks for bash or zsh.
78624 if test -z "$BASH_VERSION$ZSH_VERSION" \
78625 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
78626 as_echo='print -r --'
78627 as_echo_n='print -rn --'
78628 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
78629 as_echo='printf %s\n'
78630 as_echo_n='printf %s'
78631 else
78632 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
78633 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
78634 as_echo_n='/usr/ucb/echo -n'
78635 else
78636 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
78637 as_echo_n_body='eval
78638 arg=$1;
78639 case $arg in #(
78640 *"$as_nl"*)
78641 expr "X$arg" : "X\\(.*\\)$as_nl";
78642 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
78643 esac;
78644 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
78646 export as_echo_n_body
78647 as_echo_n='sh -c $as_echo_n_body as_echo'
78649 export as_echo_body
78650 as_echo='sh -c $as_echo_body as_echo'
78653 # The user is always right.
78654 if test "${PATH_SEPARATOR+set}" != set; then
78655 PATH_SEPARATOR=:
78656 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78657 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
78658 PATH_SEPARATOR=';'
78663 # IFS
78664 # We need space, tab and new line, in precisely that order. Quoting is
78665 # there to prevent editors from complaining about space-tab.
78666 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
78667 # splitting by setting IFS to empty value.)
78668 IFS=" "" $as_nl"
78670 # Find who we are. Look in the path if we contain no directory separator.
78671 as_myself=
78672 case $0 in #((
78673 *[\\/]* ) as_myself=$0 ;;
78674 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78675 for as_dir in $PATH
78677 IFS=$as_save_IFS
78678 test -z "$as_dir" && as_dir=.
78679 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
78680 done
78681 IFS=$as_save_IFS
78684 esac
78685 # We did not find ourselves, most probably we were run as `sh COMMAND'
78686 # in which case we are not to be found in the path.
78687 if test "x$as_myself" = x; then
78688 as_myself=$0
78690 if test ! -f "$as_myself"; then
78691 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
78692 exit 1
78695 # Unset variables that we do not need and which cause bugs (e.g. in
78696 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
78697 # suppresses any "Segmentation fault" message there. '((' could
78698 # trigger a bug in pdksh 5.2.14.
78699 for as_var in BASH_ENV ENV MAIL MAILPATH
78700 do eval test x\${$as_var+set} = xset \
78701 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
78702 done
78703 PS1='$ '
78704 PS2='> '
78705 PS4='+ '
78707 # NLS nuisances.
78708 LC_ALL=C
78709 export LC_ALL
78710 LANGUAGE=C
78711 export LANGUAGE
78713 # CDPATH.
78714 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
78717 # as_fn_error STATUS ERROR [LINENO LOG_FD]
78718 # ----------------------------------------
78719 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
78720 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
78721 # script with STATUS, using 1 if that was 0.
78722 as_fn_error ()
78724 as_status=$1; test $as_status -eq 0 && as_status=1
78725 if test "$4"; then
78726 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
78727 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
78729 $as_echo "$as_me: error: $2" >&2
78730 as_fn_exit $as_status
78731 } # as_fn_error
78734 # as_fn_set_status STATUS
78735 # -----------------------
78736 # Set $? to STATUS, without forking.
78737 as_fn_set_status ()
78739 return $1
78740 } # as_fn_set_status
78742 # as_fn_exit STATUS
78743 # -----------------
78744 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
78745 as_fn_exit ()
78747 set +e
78748 as_fn_set_status $1
78749 exit $1
78750 } # as_fn_exit
78752 # as_fn_unset VAR
78753 # ---------------
78754 # Portably unset VAR.
78755 as_fn_unset ()
78757 { eval $1=; unset $1;}
78759 as_unset=as_fn_unset
78760 # as_fn_append VAR VALUE
78761 # ----------------------
78762 # Append the text in VALUE to the end of the definition contained in VAR. Take
78763 # advantage of any shell optimizations that allow amortized linear growth over
78764 # repeated appends, instead of the typical quadratic growth present in naive
78765 # implementations.
78766 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
78767 eval 'as_fn_append ()
78769 eval $1+=\$2
78771 else
78772 as_fn_append ()
78774 eval $1=\$$1\$2
78776 fi # as_fn_append
78778 # as_fn_arith ARG...
78779 # ------------------
78780 # Perform arithmetic evaluation on the ARGs, and store the result in the
78781 # global $as_val. Take advantage of shells that can avoid forks. The arguments
78782 # must be portable across $(()) and expr.
78783 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
78784 eval 'as_fn_arith ()
78786 as_val=$(( $* ))
78788 else
78789 as_fn_arith ()
78791 as_val=`expr "$@" || test $? -eq 1`
78793 fi # as_fn_arith
78796 if expr a : '\(a\)' >/dev/null 2>&1 &&
78797 test "X`expr 00001 : '.*\(...\)'`" = X001; then
78798 as_expr=expr
78799 else
78800 as_expr=false
78803 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
78804 as_basename=basename
78805 else
78806 as_basename=false
78809 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
78810 as_dirname=dirname
78811 else
78812 as_dirname=false
78815 as_me=`$as_basename -- "$0" ||
78816 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
78817 X"$0" : 'X\(//\)$' \| \
78818 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
78819 $as_echo X/"$0" |
78820 sed '/^.*\/\([^/][^/]*\)\/*$/{
78821 s//\1/
78824 /^X\/\(\/\/\)$/{
78825 s//\1/
78828 /^X\/\(\/\).*/{
78829 s//\1/
78832 s/.*/./; q'`
78834 # Avoid depending upon Character Ranges.
78835 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
78836 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
78837 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
78838 as_cr_digits='0123456789'
78839 as_cr_alnum=$as_cr_Letters$as_cr_digits
78841 ECHO_C= ECHO_N= ECHO_T=
78842 case `echo -n x` in #(((((
78843 -n*)
78844 case `echo 'xy\c'` in
78845 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
78846 xy) ECHO_C='\c';;
78847 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
78848 ECHO_T=' ';;
78849 esac;;
78851 ECHO_N='-n';;
78852 esac
78854 rm -f conf$$ conf$$.exe conf$$.file
78855 if test -d conf$$.dir; then
78856 rm -f conf$$.dir/conf$$.file
78857 else
78858 rm -f conf$$.dir
78859 mkdir conf$$.dir 2>/dev/null
78861 if (echo >conf$$.file) 2>/dev/null; then
78862 if ln -s conf$$.file conf$$ 2>/dev/null; then
78863 as_ln_s='ln -s'
78864 # ... but there are two gotchas:
78865 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
78866 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
78867 # In both cases, we have to default to `cp -pR'.
78868 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
78869 as_ln_s='cp -pR'
78870 elif ln conf$$.file conf$$ 2>/dev/null; then
78871 as_ln_s=ln
78872 else
78873 as_ln_s='cp -pR'
78875 else
78876 as_ln_s='cp -pR'
78878 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
78879 rmdir conf$$.dir 2>/dev/null
78882 # as_fn_mkdir_p
78883 # -------------
78884 # Create "$as_dir" as a directory, including parents if necessary.
78885 as_fn_mkdir_p ()
78888 case $as_dir in #(
78889 -*) as_dir=./$as_dir;;
78890 esac
78891 test -d "$as_dir" || eval $as_mkdir_p || {
78892 as_dirs=
78893 while :; do
78894 case $as_dir in #(
78895 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
78896 *) as_qdir=$as_dir;;
78897 esac
78898 as_dirs="'$as_qdir' $as_dirs"
78899 as_dir=`$as_dirname -- "$as_dir" ||
78900 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
78901 X"$as_dir" : 'X\(//\)[^/]' \| \
78902 X"$as_dir" : 'X\(//\)$' \| \
78903 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
78904 $as_echo X"$as_dir" |
78905 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
78906 s//\1/
78909 /^X\(\/\/\)[^/].*/{
78910 s//\1/
78913 /^X\(\/\/\)$/{
78914 s//\1/
78917 /^X\(\/\).*/{
78918 s//\1/
78921 s/.*/./; q'`
78922 test -d "$as_dir" && break
78923 done
78924 test -z "$as_dirs" || eval "mkdir $as_dirs"
78925 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
78928 } # as_fn_mkdir_p
78929 if mkdir -p . 2>/dev/null; then
78930 as_mkdir_p='mkdir -p "$as_dir"'
78931 else
78932 test -d ./-p && rmdir ./-p
78933 as_mkdir_p=false
78937 # as_fn_executable_p FILE
78938 # -----------------------
78939 # Test if FILE is an executable regular file.
78940 as_fn_executable_p ()
78942 test -f "$1" && test -x "$1"
78943 } # as_fn_executable_p
78944 as_test_x='test -x'
78945 as_executable_p=as_fn_executable_p
78947 # Sed expression to map a string onto a valid CPP name.
78948 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
78950 # Sed expression to map a string onto a valid variable name.
78951 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
78954 exec 6>&1
78955 ## ----------------------------------- ##
78956 ## Main body of $CONFIG_STATUS script. ##
78957 ## ----------------------------------- ##
78958 _ASEOF
78959 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
78961 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78962 # Save the log message, to keep $0 and so on meaningful, and to
78963 # report actual input values of CONFIG_FILES etc. instead of their
78964 # values after options handling.
78965 ac_log="
78966 This file was extended by package-unused $as_me version-unused, which was
78967 generated by GNU Autoconf 2.69. Invocation command line was
78969 CONFIG_FILES = $CONFIG_FILES
78970 CONFIG_HEADERS = $CONFIG_HEADERS
78971 CONFIG_LINKS = $CONFIG_LINKS
78972 CONFIG_COMMANDS = $CONFIG_COMMANDS
78973 $ $0 $@
78975 on `(hostname || uname -n) 2>/dev/null | sed 1q`
78978 _ACEOF
78980 case $ac_config_files in *"
78981 "*) set x $ac_config_files; shift; ac_config_files=$*;;
78982 esac
78984 case $ac_config_headers in *"
78985 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
78986 esac
78989 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
78990 # Files that config.status was made for.
78991 config_files="$ac_config_files"
78992 config_headers="$ac_config_headers"
78993 config_commands="$ac_config_commands"
78995 _ACEOF
78997 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78998 ac_cs_usage="\
78999 \`$as_me' instantiates files and other configuration actions
79000 from templates according to the current configuration. Unless the files
79001 and actions are specified as TAGs, all are instantiated by default.
79003 Usage: $0 [OPTION]... [TAG]...
79005 -h, --help print this help, then exit
79006 -V, --version print version number and configuration settings, then exit
79007 --config print configuration, then exit
79008 -q, --quiet, --silent
79009 do not print progress messages
79010 -d, --debug don't remove temporary files
79011 --recheck update $as_me by reconfiguring in the same conditions
79012 --file=FILE[:TEMPLATE]
79013 instantiate the configuration file FILE
79014 --header=FILE[:TEMPLATE]
79015 instantiate the configuration header FILE
79017 Configuration files:
79018 $config_files
79020 Configuration headers:
79021 $config_headers
79023 Configuration commands:
79024 $config_commands
79026 Report bugs to the package provider."
79028 _ACEOF
79029 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79030 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
79031 ac_cs_version="\\
79032 package-unused config.status version-unused
79033 configured by $0, generated by GNU Autoconf 2.69,
79034 with options \\"\$ac_cs_config\\"
79036 Copyright (C) 2012 Free Software Foundation, Inc.
79037 This config.status script is free software; the Free Software Foundation
79038 gives unlimited permission to copy, distribute and modify it."
79040 ac_pwd='$ac_pwd'
79041 srcdir='$srcdir'
79042 INSTALL='$INSTALL'
79043 MKDIR_P='$MKDIR_P'
79044 AWK='$AWK'
79045 test -n "\$AWK" || AWK=awk
79046 _ACEOF
79048 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79049 # The default lists apply if the user does not specify any file.
79050 ac_need_defaults=:
79051 while test $# != 0
79053 case $1 in
79054 --*=?*)
79055 ac_option=`expr "X$1" : 'X\([^=]*\)='`
79056 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
79057 ac_shift=:
79059 --*=)
79060 ac_option=`expr "X$1" : 'X\([^=]*\)='`
79061 ac_optarg=
79062 ac_shift=:
79065 ac_option=$1
79066 ac_optarg=$2
79067 ac_shift=shift
79069 esac
79071 case $ac_option in
79072 # Handling of the options.
79073 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
79074 ac_cs_recheck=: ;;
79075 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
79076 $as_echo "$ac_cs_version"; exit ;;
79077 --config | --confi | --conf | --con | --co | --c )
79078 $as_echo "$ac_cs_config"; exit ;;
79079 --debug | --debu | --deb | --de | --d | -d )
79080 debug=: ;;
79081 --file | --fil | --fi | --f )
79082 $ac_shift
79083 case $ac_optarg in
79084 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
79085 '') as_fn_error $? "missing file argument" ;;
79086 esac
79087 as_fn_append CONFIG_FILES " '$ac_optarg'"
79088 ac_need_defaults=false;;
79089 --header | --heade | --head | --hea )
79090 $ac_shift
79091 case $ac_optarg in
79092 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
79093 esac
79094 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
79095 ac_need_defaults=false;;
79096 --he | --h)
79097 # Conflict between --help and --header
79098 as_fn_error $? "ambiguous option: \`$1'
79099 Try \`$0 --help' for more information.";;
79100 --help | --hel | -h )
79101 $as_echo "$ac_cs_usage"; exit ;;
79102 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
79103 | -silent | --silent | --silen | --sile | --sil | --si | --s)
79104 ac_cs_silent=: ;;
79106 # This is an error.
79107 -*) as_fn_error $? "unrecognized option: \`$1'
79108 Try \`$0 --help' for more information." ;;
79110 *) as_fn_append ac_config_targets " $1"
79111 ac_need_defaults=false ;;
79113 esac
79114 shift
79115 done
79117 ac_configure_extra_args=
79119 if $ac_cs_silent; then
79120 exec 6>/dev/null
79121 ac_configure_extra_args="$ac_configure_extra_args --silent"
79124 _ACEOF
79125 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79126 if \$ac_cs_recheck; then
79127 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
79128 shift
79129 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
79130 CONFIG_SHELL='$SHELL'
79131 export CONFIG_SHELL
79132 exec "\$@"
79135 _ACEOF
79136 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79137 exec 5>>config.log
79139 echo
79140 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
79141 ## Running $as_me. ##
79142 _ASBOX
79143 $as_echo "$ac_log"
79144 } >&5
79146 _ACEOF
79147 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79149 # INIT-COMMANDS
79152 srcdir="$srcdir"
79153 host="$host"
79154 target="$target"
79155 with_multisubdir="$with_multisubdir"
79156 with_multisrctop="$with_multisrctop"
79157 with_target_subdir="$with_target_subdir"
79158 ac_configure_args="${multilib_arg} ${ac_configure_args}"
79159 multi_basedir="$multi_basedir"
79160 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
79161 CC="$CC"
79162 CXX="$CXX"
79163 GFORTRAN="$GFORTRAN"
79164 GDC="$GDC"
79167 # The HP-UX ksh and POSIX shell print the target directory to stdout
79168 # if CDPATH is set.
79169 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
79171 sed_quote_subst='$sed_quote_subst'
79172 double_quote_subst='$double_quote_subst'
79173 delay_variable_subst='$delay_variable_subst'
79174 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
79175 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
79176 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
79177 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
79178 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
79179 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
79180 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
79181 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
79182 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
79183 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
79184 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
79185 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
79186 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
79187 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
79188 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
79189 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
79190 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
79191 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
79192 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
79193 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
79194 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
79195 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
79196 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
79197 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
79198 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
79199 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
79200 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
79201 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
79202 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
79203 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
79204 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
79205 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
79206 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
79207 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
79208 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
79209 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
79210 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
79211 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
79212 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
79213 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
79214 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
79215 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
79216 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
79217 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
79218 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
79219 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
79220 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
79221 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
79222 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"`'
79223 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
79224 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
79225 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
79226 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
79227 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
79228 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
79229 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
79230 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
79231 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
79232 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
79233 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
79234 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
79235 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
79236 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
79237 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
79238 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
79239 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
79240 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
79241 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
79242 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
79243 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
79244 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
79245 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
79246 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
79247 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
79248 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
79249 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
79250 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
79251 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
79252 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
79253 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
79254 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
79255 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
79256 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
79257 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
79258 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
79259 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
79260 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
79261 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
79262 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
79263 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
79264 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
79265 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
79266 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
79267 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
79268 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
79269 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
79270 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
79271 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
79272 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
79273 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
79274 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
79275 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
79276 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
79277 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
79278 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
79279 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
79280 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
79281 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
79282 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
79283 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
79284 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
79285 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
79286 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
79287 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
79288 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
79289 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
79290 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
79291 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
79292 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
79293 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
79294 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
79295 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
79296 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
79297 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
79298 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
79299 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
79300 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
79301 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
79302 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79303 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79304 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
79305 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
79306 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
79307 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
79308 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
79309 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
79310 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
79311 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
79312 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
79313 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
79314 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
79315 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
79316 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79317 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79318 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79319 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79320 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79321 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79322 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
79323 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
79324 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
79325 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
79326 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
79327 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
79328 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
79329 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
79330 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
79331 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
79332 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
79333 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
79334 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
79335 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
79336 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
79337 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79338 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
79339 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
79340 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
79341 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
79342 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
79343 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
79344 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
79345 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
79346 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
79347 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
79348 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
79350 LTCC='$LTCC'
79351 LTCFLAGS='$LTCFLAGS'
79352 compiler='$compiler_DEFAULT'
79354 # A function that is used when there is no print builtin or printf.
79355 func_fallback_echo ()
79357 eval 'cat <<_LTECHO_EOF
79359 _LTECHO_EOF'
79362 # Quote evaled strings.
79363 for var in SHELL \
79364 ECHO \
79365 SED \
79366 GREP \
79367 EGREP \
79368 FGREP \
79369 LD \
79370 NM \
79371 LN_S \
79372 lt_SP2NL \
79373 lt_NL2SP \
79374 reload_flag \
79375 OBJDUMP \
79376 deplibs_check_method \
79377 file_magic_cmd \
79378 AR \
79379 AR_FLAGS \
79380 STRIP \
79381 RANLIB \
79382 CC \
79383 CFLAGS \
79384 compiler \
79385 lt_cv_sys_global_symbol_pipe \
79386 lt_cv_sys_global_symbol_to_cdecl \
79387 lt_cv_sys_global_symbol_to_c_name_address \
79388 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
79389 lt_prog_compiler_no_builtin_flag \
79390 lt_prog_compiler_wl \
79391 lt_prog_compiler_pic \
79392 lt_prog_compiler_static \
79393 lt_cv_prog_compiler_c_o \
79394 need_locks \
79395 DSYMUTIL \
79396 NMEDIT \
79397 LIPO \
79398 OTOOL \
79399 OTOOL64 \
79400 shrext_cmds \
79401 export_dynamic_flag_spec \
79402 whole_archive_flag_spec \
79403 compiler_needs_object \
79404 with_gnu_ld \
79405 allow_undefined_flag \
79406 no_undefined_flag \
79407 hardcode_libdir_flag_spec \
79408 hardcode_libdir_flag_spec_ld \
79409 hardcode_libdir_separator \
79410 fix_srcfile_path \
79411 exclude_expsyms \
79412 include_expsyms \
79413 file_list_spec \
79414 variables_saved_for_relink \
79415 libname_spec \
79416 library_names_spec \
79417 soname_spec \
79418 install_override_mode \
79419 finish_eval \
79420 old_striplib \
79421 striplib \
79422 compiler_lib_search_dirs \
79423 predep_objects \
79424 postdep_objects \
79425 predeps \
79426 postdeps \
79427 compiler_lib_search_path \
79428 LD_CXX \
79429 reload_flag_CXX \
79430 compiler_CXX \
79431 lt_prog_compiler_no_builtin_flag_CXX \
79432 lt_prog_compiler_wl_CXX \
79433 lt_prog_compiler_pic_CXX \
79434 lt_prog_compiler_static_CXX \
79435 lt_cv_prog_compiler_c_o_CXX \
79436 export_dynamic_flag_spec_CXX \
79437 whole_archive_flag_spec_CXX \
79438 compiler_needs_object_CXX \
79439 with_gnu_ld_CXX \
79440 allow_undefined_flag_CXX \
79441 no_undefined_flag_CXX \
79442 hardcode_libdir_flag_spec_CXX \
79443 hardcode_libdir_flag_spec_ld_CXX \
79444 hardcode_libdir_separator_CXX \
79445 fix_srcfile_path_CXX \
79446 exclude_expsyms_CXX \
79447 include_expsyms_CXX \
79448 file_list_spec_CXX \
79449 compiler_lib_search_dirs_CXX \
79450 predep_objects_CXX \
79451 postdep_objects_CXX \
79452 predeps_CXX \
79453 postdeps_CXX \
79454 compiler_lib_search_path_CXX; do
79455 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
79456 *[\\\\\\\`\\"\\\$]*)
79457 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
79460 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
79462 esac
79463 done
79465 # Double-quote double-evaled strings.
79466 for var in reload_cmds \
79467 old_postinstall_cmds \
79468 old_postuninstall_cmds \
79469 old_archive_cmds \
79470 extract_expsyms_cmds \
79471 old_archive_from_new_cmds \
79472 old_archive_from_expsyms_cmds \
79473 archive_cmds \
79474 archive_expsym_cmds \
79475 module_cmds \
79476 module_expsym_cmds \
79477 export_symbols_cmds \
79478 prelink_cmds \
79479 postinstall_cmds \
79480 postuninstall_cmds \
79481 finish_cmds \
79482 sys_lib_search_path_spec \
79483 sys_lib_dlsearch_path_spec \
79484 reload_cmds_CXX \
79485 old_archive_cmds_CXX \
79486 old_archive_from_new_cmds_CXX \
79487 old_archive_from_expsyms_cmds_CXX \
79488 archive_cmds_CXX \
79489 archive_expsym_cmds_CXX \
79490 module_cmds_CXX \
79491 module_expsym_cmds_CXX \
79492 export_symbols_cmds_CXX \
79493 prelink_cmds_CXX; do
79494 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
79495 *[\\\\\\\`\\"\\\$]*)
79496 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
79499 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
79501 esac
79502 done
79504 ac_aux_dir='$ac_aux_dir'
79505 xsi_shell='$xsi_shell'
79506 lt_shell_append='$lt_shell_append'
79508 # See if we are running on zsh, and set the options which allow our
79509 # commands through without removal of \ escapes INIT.
79510 if test -n "\${ZSH_VERSION+set}" ; then
79511 setopt NO_GLOB_SUBST
79515 PACKAGE='$PACKAGE'
79516 VERSION='$VERSION'
79517 TIMESTAMP='$TIMESTAMP'
79518 RM='$RM'
79519 ofile='$ofile'
79526 GCC="$GCC"
79527 CC="$CC"
79528 acx_cv_header_stdint="$acx_cv_header_stdint"
79529 acx_cv_type_int8_t="$acx_cv_type_int8_t"
79530 acx_cv_type_int16_t="$acx_cv_type_int16_t"
79531 acx_cv_type_int32_t="$acx_cv_type_int32_t"
79532 acx_cv_type_int64_t="$acx_cv_type_int64_t"
79533 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
79534 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
79535 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
79536 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
79537 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
79538 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
79539 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
79540 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
79541 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
79544 _ACEOF
79546 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79548 # Handling of arguments.
79549 for ac_config_target in $ac_config_targets
79551 case $ac_config_target in
79552 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
79553 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
79554 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
79555 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
79556 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
79557 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
79558 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
79559 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
79560 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
79561 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
79562 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
79563 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
79564 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
79565 "src/c++17/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++17/Makefile" ;;
79566 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
79567 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
79568 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
79569 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
79570 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
79571 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
79573 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
79574 esac
79575 done
79578 # If the user did not use the arguments to specify the items to instantiate,
79579 # then the envvar interface is used. Set only those that are not.
79580 # We use the long form for the default assignment because of an extremely
79581 # bizarre bug on SunOS 4.1.3.
79582 if $ac_need_defaults; then
79583 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
79584 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
79585 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
79588 # Have a temporary directory for convenience. Make it in the build tree
79589 # simply because there is no reason against having it here, and in addition,
79590 # creating and moving files from /tmp can sometimes cause problems.
79591 # Hook for its removal unless debugging.
79592 # Note that there is a small window in which the directory will not be cleaned:
79593 # after its creation but before its name has been assigned to `$tmp'.
79594 $debug ||
79596 tmp= ac_tmp=
79597 trap 'exit_status=$?
79598 : "${ac_tmp:=$tmp}"
79599 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
79601 trap 'as_fn_exit 1' 1 2 13 15
79603 # Create a (secure) tmp directory for tmp files.
79606 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
79607 test -d "$tmp"
79608 } ||
79610 tmp=./conf$$-$RANDOM
79611 (umask 077 && mkdir "$tmp")
79612 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
79613 ac_tmp=$tmp
79615 # Set up the scripts for CONFIG_FILES section.
79616 # No need to generate them if there are no CONFIG_FILES.
79617 # This happens for instance with `./config.status config.h'.
79618 if test -n "$CONFIG_FILES"; then
79621 ac_cr=`echo X | tr X '\015'`
79622 # On cygwin, bash can eat \r inside `` if the user requested igncr.
79623 # But we know of no other shell where ac_cr would be empty at this
79624 # point, so we can use a bashism as a fallback.
79625 if test "x$ac_cr" = x; then
79626 eval ac_cr=\$\'\\r\'
79628 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
79629 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
79630 ac_cs_awk_cr='\\r'
79631 else
79632 ac_cs_awk_cr=$ac_cr
79635 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
79636 _ACEOF
79640 echo "cat >conf$$subs.awk <<_ACEOF" &&
79641 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
79642 echo "_ACEOF"
79643 } >conf$$subs.sh ||
79644 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
79645 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
79646 ac_delim='%!_!# '
79647 for ac_last_try in false false false false false :; do
79648 . ./conf$$subs.sh ||
79649 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
79651 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
79652 if test $ac_delim_n = $ac_delim_num; then
79653 break
79654 elif $ac_last_try; then
79655 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
79656 else
79657 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
79659 done
79660 rm -f conf$$subs.sh
79662 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79663 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
79664 _ACEOF
79665 sed -n '
79667 s/^/S["/; s/!.*/"]=/
79670 s/^[^!]*!//
79671 :repl
79672 t repl
79673 s/'"$ac_delim"'$//
79674 t delim
79677 s/\(.\{148\}\)..*/\1/
79678 t more1
79679 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
79682 b repl
79683 :more1
79684 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
79687 s/.\{148\}//
79688 t nl
79689 :delim
79691 s/\(.\{148\}\)..*/\1/
79692 t more2
79693 s/["\\]/\\&/g; s/^/"/; s/$/"/
79696 :more2
79697 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
79700 s/.\{148\}//
79701 t delim
79702 ' <conf$$subs.awk | sed '
79703 /^[^""]/{
79705 s/\n//
79707 ' >>$CONFIG_STATUS || ac_write_fail=1
79708 rm -f conf$$subs.awk
79709 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79710 _ACAWK
79711 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
79712 for (key in S) S_is_set[key] = 1
79713 FS = "\a"
79717 line = $ 0
79718 nfields = split(line, field, "@")
79719 substed = 0
79720 len = length(field[1])
79721 for (i = 2; i < nfields; i++) {
79722 key = field[i]
79723 keylen = length(key)
79724 if (S_is_set[key]) {
79725 value = S[key]
79726 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
79727 len += length(value) + length(field[++i])
79728 substed = 1
79729 } else
79730 len += 1 + keylen
79733 print line
79736 _ACAWK
79737 _ACEOF
79738 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79739 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
79740 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
79741 else
79743 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
79744 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
79745 _ACEOF
79747 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
79748 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
79749 # trailing colons and then remove the whole line if VPATH becomes empty
79750 # (actually we leave an empty line to preserve line numbers).
79751 if test "x$srcdir" = x.; then
79752 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
79754 s///
79755 s/^/:/
79756 s/[ ]*$/:/
79757 s/:\$(srcdir):/:/g
79758 s/:\${srcdir}:/:/g
79759 s/:@srcdir@:/:/g
79760 s/^:*//
79761 s/:*$//
79763 s/\(=[ ]*\).*/\1/
79765 s/\n//
79766 s/^[^=]*=[ ]*$//
79770 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79771 fi # test -n "$CONFIG_FILES"
79773 # Set up the scripts for CONFIG_HEADERS section.
79774 # No need to generate them if there are no CONFIG_HEADERS.
79775 # This happens for instance with `./config.status Makefile'.
79776 if test -n "$CONFIG_HEADERS"; then
79777 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
79778 BEGIN {
79779 _ACEOF
79781 # Transform confdefs.h into an awk script `defines.awk', embedded as
79782 # here-document in config.status, that substitutes the proper values into
79783 # config.h.in to produce config.h.
79785 # Create a delimiter string that does not exist in confdefs.h, to ease
79786 # handling of long lines.
79787 ac_delim='%!_!# '
79788 for ac_last_try in false false :; do
79789 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
79790 if test -z "$ac_tt"; then
79791 break
79792 elif $ac_last_try; then
79793 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
79794 else
79795 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
79797 done
79799 # For the awk script, D is an array of macro values keyed by name,
79800 # likewise P contains macro parameters if any. Preserve backslash
79801 # newline sequences.
79803 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
79804 sed -n '
79805 s/.\{148\}/&'"$ac_delim"'/g
79806 t rset
79807 :rset
79808 s/^[ ]*#[ ]*define[ ][ ]*/ /
79809 t def
79811 :def
79812 s/\\$//
79813 t bsnl
79814 s/["\\]/\\&/g
79815 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
79816 D["\1"]=" \3"/p
79817 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
79819 :bsnl
79820 s/["\\]/\\&/g
79821 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
79822 D["\1"]=" \3\\\\\\n"\\/p
79823 t cont
79824 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
79825 t cont
79827 :cont
79829 s/.\{148\}/&'"$ac_delim"'/g
79830 t clear
79831 :clear
79832 s/\\$//
79833 t bsnlc
79834 s/["\\]/\\&/g; s/^/"/; s/$/"/p
79836 :bsnlc
79837 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
79838 b cont
79839 ' <confdefs.h | sed '
79840 s/'"$ac_delim"'/"\\\
79841 "/g' >>$CONFIG_STATUS || ac_write_fail=1
79843 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79844 for (key in D) D_is_set[key] = 1
79845 FS = "\a"
79847 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
79848 line = \$ 0
79849 split(line, arg, " ")
79850 if (arg[1] == "#") {
79851 defundef = arg[2]
79852 mac1 = arg[3]
79853 } else {
79854 defundef = substr(arg[1], 2)
79855 mac1 = arg[2]
79857 split(mac1, mac2, "(") #)
79858 macro = mac2[1]
79859 prefix = substr(line, 1, index(line, defundef) - 1)
79860 if (D_is_set[macro]) {
79861 # Preserve the white space surrounding the "#".
79862 print prefix "define", macro P[macro] D[macro]
79863 next
79864 } else {
79865 # Replace #undef with comments. This is necessary, for example,
79866 # in the case of _POSIX_SOURCE, which is predefined and required
79867 # on some systems where configure will not decide to define it.
79868 if (defundef == "undef") {
79869 print "/*", prefix defundef, macro, "*/"
79870 next
79874 { print }
79875 _ACAWK
79876 _ACEOF
79877 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79878 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
79879 fi # test -n "$CONFIG_HEADERS"
79882 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
79883 shift
79884 for ac_tag
79886 case $ac_tag in
79887 :[FHLC]) ac_mode=$ac_tag; continue;;
79888 esac
79889 case $ac_mode$ac_tag in
79890 :[FHL]*:*);;
79891 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
79892 :[FH]-) ac_tag=-:-;;
79893 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
79894 esac
79895 ac_save_IFS=$IFS
79896 IFS=:
79897 set x $ac_tag
79898 IFS=$ac_save_IFS
79899 shift
79900 ac_file=$1
79901 shift
79903 case $ac_mode in
79904 :L) ac_source=$1;;
79905 :[FH])
79906 ac_file_inputs=
79907 for ac_f
79909 case $ac_f in
79910 -) ac_f="$ac_tmp/stdin";;
79911 *) # Look for the file first in the build tree, then in the source tree
79912 # (if the path is not absolute). The absolute path cannot be DOS-style,
79913 # because $ac_f cannot contain `:'.
79914 test -f "$ac_f" ||
79915 case $ac_f in
79916 [\\/$]*) false;;
79917 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
79918 esac ||
79919 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
79920 esac
79921 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
79922 as_fn_append ac_file_inputs " '$ac_f'"
79923 done
79925 # Let's still pretend it is `configure' which instantiates (i.e., don't
79926 # use $as_me), people would be surprised to read:
79927 # /* config.h. Generated by config.status. */
79928 configure_input='Generated from '`
79929 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
79930 `' by configure.'
79931 if test x"$ac_file" != x-; then
79932 configure_input="$ac_file. $configure_input"
79933 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
79934 $as_echo "$as_me: creating $ac_file" >&6;}
79936 # Neutralize special characters interpreted by sed in replacement strings.
79937 case $configure_input in #(
79938 *\&* | *\|* | *\\* )
79939 ac_sed_conf_input=`$as_echo "$configure_input" |
79940 sed 's/[\\\\&|]/\\\\&/g'`;; #(
79941 *) ac_sed_conf_input=$configure_input;;
79942 esac
79944 case $ac_tag in
79945 *:-:* | *:-) cat >"$ac_tmp/stdin" \
79946 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
79947 esac
79949 esac
79951 ac_dir=`$as_dirname -- "$ac_file" ||
79952 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
79953 X"$ac_file" : 'X\(//\)[^/]' \| \
79954 X"$ac_file" : 'X\(//\)$' \| \
79955 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
79956 $as_echo X"$ac_file" |
79957 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
79958 s//\1/
79961 /^X\(\/\/\)[^/].*/{
79962 s//\1/
79965 /^X\(\/\/\)$/{
79966 s//\1/
79969 /^X\(\/\).*/{
79970 s//\1/
79973 s/.*/./; q'`
79974 as_dir="$ac_dir"; as_fn_mkdir_p
79975 ac_builddir=.
79977 case "$ac_dir" in
79978 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
79980 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
79981 # A ".." for each directory in $ac_dir_suffix.
79982 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
79983 case $ac_top_builddir_sub in
79984 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
79985 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
79986 esac ;;
79987 esac
79988 ac_abs_top_builddir=$ac_pwd
79989 ac_abs_builddir=$ac_pwd$ac_dir_suffix
79990 # for backward compatibility:
79991 ac_top_builddir=$ac_top_build_prefix
79993 case $srcdir in
79994 .) # We are building in place.
79995 ac_srcdir=.
79996 ac_top_srcdir=$ac_top_builddir_sub
79997 ac_abs_top_srcdir=$ac_pwd ;;
79998 [\\/]* | ?:[\\/]* ) # Absolute name.
79999 ac_srcdir=$srcdir$ac_dir_suffix;
80000 ac_top_srcdir=$srcdir
80001 ac_abs_top_srcdir=$srcdir ;;
80002 *) # Relative name.
80003 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
80004 ac_top_srcdir=$ac_top_build_prefix$srcdir
80005 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
80006 esac
80007 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
80010 case $ac_mode in
80013 # CONFIG_FILE
80016 case $INSTALL in
80017 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
80018 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
80019 esac
80020 ac_MKDIR_P=$MKDIR_P
80021 case $MKDIR_P in
80022 [\\/$]* | ?:[\\/]* ) ;;
80023 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
80024 esac
80025 _ACEOF
80027 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80028 # If the template does not know about datarootdir, expand it.
80029 # FIXME: This hack should be removed a few years after 2.60.
80030 ac_datarootdir_hack=; ac_datarootdir_seen=
80031 ac_sed_dataroot='
80032 /datarootdir/ {
80036 /@datadir@/p
80037 /@docdir@/p
80038 /@infodir@/p
80039 /@localedir@/p
80040 /@mandir@/p'
80041 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
80042 *datarootdir*) ac_datarootdir_seen=yes;;
80043 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
80044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
80045 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
80046 _ACEOF
80047 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80048 ac_datarootdir_hack='
80049 s&@datadir@&$datadir&g
80050 s&@docdir@&$docdir&g
80051 s&@infodir@&$infodir&g
80052 s&@localedir@&$localedir&g
80053 s&@mandir@&$mandir&g
80054 s&\\\${datarootdir}&$datarootdir&g' ;;
80055 esac
80056 _ACEOF
80058 # Neutralize VPATH when `$srcdir' = `.'.
80059 # Shell code in configure.ac might set extrasub.
80060 # FIXME: do we really want to maintain this feature?
80061 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80062 ac_sed_extra="$ac_vpsub
80063 $extrasub
80064 _ACEOF
80065 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80067 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
80068 s|@configure_input@|$ac_sed_conf_input|;t t
80069 s&@top_builddir@&$ac_top_builddir_sub&;t t
80070 s&@top_build_prefix@&$ac_top_build_prefix&;t t
80071 s&@srcdir@&$ac_srcdir&;t t
80072 s&@abs_srcdir@&$ac_abs_srcdir&;t t
80073 s&@top_srcdir@&$ac_top_srcdir&;t t
80074 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
80075 s&@builddir@&$ac_builddir&;t t
80076 s&@abs_builddir@&$ac_abs_builddir&;t t
80077 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
80078 s&@INSTALL@&$ac_INSTALL&;t t
80079 s&@MKDIR_P@&$ac_MKDIR_P&;t t
80080 $ac_datarootdir_hack
80082 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
80083 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
80085 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
80086 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
80087 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
80088 "$ac_tmp/out"`; test -z "$ac_out"; } &&
80089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
80090 which seems to be undefined. Please make sure it is defined" >&5
80091 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
80092 which seems to be undefined. Please make sure it is defined" >&2;}
80094 rm -f "$ac_tmp/stdin"
80095 case $ac_file in
80096 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
80097 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
80098 esac \
80099 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
80103 # CONFIG_HEADER
80105 if test x"$ac_file" != x-; then
80107 $as_echo "/* $configure_input */" \
80108 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
80109 } >"$ac_tmp/config.h" \
80110 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
80111 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
80112 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
80113 $as_echo "$as_me: $ac_file is unchanged" >&6;}
80114 else
80115 rm -f "$ac_file"
80116 mv "$ac_tmp/config.h" "$ac_file" \
80117 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
80119 else
80120 $as_echo "/* $configure_input */" \
80121 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
80122 || as_fn_error $? "could not create -" "$LINENO" 5
80124 # Compute "$ac_file"'s index in $config_headers.
80125 _am_arg="$ac_file"
80126 _am_stamp_count=1
80127 for _am_header in $config_headers :; do
80128 case $_am_header in
80129 $_am_arg | $_am_arg:* )
80130 break ;;
80132 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
80133 esac
80134 done
80135 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
80136 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
80137 X"$_am_arg" : 'X\(//\)[^/]' \| \
80138 X"$_am_arg" : 'X\(//\)$' \| \
80139 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
80140 $as_echo X"$_am_arg" |
80141 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
80142 s//\1/
80145 /^X\(\/\/\)[^/].*/{
80146 s//\1/
80149 /^X\(\/\/\)$/{
80150 s//\1/
80153 /^X\(\/\).*/{
80154 s//\1/
80157 s/.*/./; q'`/stamp-h$_am_stamp_count
80160 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
80161 $as_echo "$as_me: executing $ac_file commands" >&6;}
80163 esac
80166 case $ac_file$ac_mode in
80167 "default-1":C)
80168 # Only add multilib support code if we just rebuilt the top-level
80169 # Makefile.
80170 case " $CONFIG_FILES " in
80171 *" Makefile "*)
80172 ac_file=Makefile . ${multi_basedir}/config-ml.in
80174 esac ;;
80175 "libtool":C)
80177 # See if we are running on zsh, and set the options which allow our
80178 # commands through without removal of \ escapes.
80179 if test -n "${ZSH_VERSION+set}" ; then
80180 setopt NO_GLOB_SUBST
80183 cfgfile="${ofile}T"
80184 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
80185 $RM "$cfgfile"
80187 cat <<_LT_EOF >> "$cfgfile"
80188 #! $SHELL
80190 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
80191 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
80192 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
80193 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
80195 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
80196 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
80197 # Written by Gordon Matzigkeit, 1996
80199 # This file is part of GNU Libtool.
80201 # GNU Libtool is free software; you can redistribute it and/or
80202 # modify it under the terms of the GNU General Public License as
80203 # published by the Free Software Foundation; either version 2 of
80204 # the License, or (at your option) any later version.
80206 # As a special exception to the GNU General Public License,
80207 # if you distribute this file as part of a program or library that
80208 # is built using GNU Libtool, you may include this file under the
80209 # same distribution terms that you use for the rest of that program.
80211 # GNU Libtool is distributed in the hope that it will be useful,
80212 # but WITHOUT ANY WARRANTY; without even the implied warranty of
80213 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
80214 # GNU General Public License for more details.
80216 # You should have received a copy of the GNU General Public License
80217 # along with GNU Libtool; see the file COPYING. If not, a copy
80218 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
80219 # obtained by writing to the Free Software Foundation, Inc.,
80220 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
80223 # The names of the tagged configurations supported by this script.
80224 available_tags="CXX "
80226 # ### BEGIN LIBTOOL CONFIG
80228 # Which release of libtool.m4 was used?
80229 macro_version=$macro_version
80230 macro_revision=$macro_revision
80232 # Whether or not to build shared libraries.
80233 build_libtool_libs=$enable_shared
80235 # Whether or not to build static libraries.
80236 build_old_libs=$enable_static
80238 # What type of objects to build.
80239 pic_mode=$pic_mode
80241 # Whether or not to optimize for fast installation.
80242 fast_install=$enable_fast_install
80244 # Shell to use when invoking shell scripts.
80245 SHELL=$lt_SHELL
80247 # An echo program that protects backslashes.
80248 ECHO=$lt_ECHO
80250 # The host system.
80251 host_alias=$host_alias
80252 host=$host
80253 host_os=$host_os
80255 # The build system.
80256 build_alias=$build_alias
80257 build=$build
80258 build_os=$build_os
80260 # A sed program that does not truncate output.
80261 SED=$lt_SED
80263 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
80264 Xsed="\$SED -e 1s/^X//"
80266 # A grep program that handles long lines.
80267 GREP=$lt_GREP
80269 # An ERE matcher.
80270 EGREP=$lt_EGREP
80272 # A literal string matcher.
80273 FGREP=$lt_FGREP
80275 # A BSD- or MS-compatible name lister.
80276 NM=$lt_NM
80278 # Whether we need soft or hard links.
80279 LN_S=$lt_LN_S
80281 # What is the maximum length of a command?
80282 max_cmd_len=$max_cmd_len
80284 # Object file suffix (normally "o").
80285 objext=$ac_objext
80287 # Executable file suffix (normally "").
80288 exeext=$exeext
80290 # whether the shell understands "unset".
80291 lt_unset=$lt_unset
80293 # turn spaces into newlines.
80294 SP2NL=$lt_lt_SP2NL
80296 # turn newlines into spaces.
80297 NL2SP=$lt_lt_NL2SP
80299 # An object symbol dumper.
80300 OBJDUMP=$lt_OBJDUMP
80302 # Method to check whether dependent libraries are shared objects.
80303 deplibs_check_method=$lt_deplibs_check_method
80305 # Command to use when deplibs_check_method == "file_magic".
80306 file_magic_cmd=$lt_file_magic_cmd
80308 # The archiver.
80309 AR=$lt_AR
80310 AR_FLAGS=$lt_AR_FLAGS
80312 # A symbol stripping program.
80313 STRIP=$lt_STRIP
80315 # Commands used to install an old-style archive.
80316 RANLIB=$lt_RANLIB
80317 old_postinstall_cmds=$lt_old_postinstall_cmds
80318 old_postuninstall_cmds=$lt_old_postuninstall_cmds
80320 # Whether to use a lock for old archive extraction.
80321 lock_old_archive_extraction=$lock_old_archive_extraction
80323 # A C compiler.
80324 LTCC=$lt_CC
80326 # LTCC compiler flags.
80327 LTCFLAGS=$lt_CFLAGS
80329 # Take the output of nm and produce a listing of raw symbols and C names.
80330 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
80332 # Transform the output of nm in a proper C declaration.
80333 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
80335 # Transform the output of nm in a C name address pair.
80336 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
80338 # Transform the output of nm in a C name address pair when lib prefix is needed.
80339 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
80341 # The name of the directory that contains temporary libtool files.
80342 objdir=$objdir
80344 # Used to examine libraries when file_magic_cmd begins with "file".
80345 MAGIC_CMD=$MAGIC_CMD
80347 # Must we lock files when doing compilation?
80348 need_locks=$lt_need_locks
80350 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
80351 DSYMUTIL=$lt_DSYMUTIL
80353 # Tool to change global to local symbols on Mac OS X.
80354 NMEDIT=$lt_NMEDIT
80356 # Tool to manipulate fat objects and archives on Mac OS X.
80357 LIPO=$lt_LIPO
80359 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
80360 OTOOL=$lt_OTOOL
80362 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
80363 OTOOL64=$lt_OTOOL64
80365 # Old archive suffix (normally "a").
80366 libext=$libext
80368 # Shared library suffix (normally ".so").
80369 shrext_cmds=$lt_shrext_cmds
80371 # The commands to extract the exported symbol list from a shared archive.
80372 extract_expsyms_cmds=$lt_extract_expsyms_cmds
80374 # Variables whose values should be saved in libtool wrapper scripts and
80375 # restored at link time.
80376 variables_saved_for_relink=$lt_variables_saved_for_relink
80378 # Do we need the "lib" prefix for modules?
80379 need_lib_prefix=$need_lib_prefix
80381 # Do we need a version for libraries?
80382 need_version=$need_version
80384 # Library versioning type.
80385 version_type=$version_type
80387 # Shared library runtime path variable.
80388 runpath_var=$runpath_var
80390 # Shared library path variable.
80391 shlibpath_var=$shlibpath_var
80393 # Is shlibpath searched before the hard-coded library search path?
80394 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
80396 # Format of library name prefix.
80397 libname_spec=$lt_libname_spec
80399 # List of archive names. First name is the real one, the rest are links.
80400 # The last name is the one that the linker finds with -lNAME
80401 library_names_spec=$lt_library_names_spec
80403 # The coded name of the library, if different from the real name.
80404 soname_spec=$lt_soname_spec
80406 # Permission mode override for installation of shared libraries.
80407 install_override_mode=$lt_install_override_mode
80409 # Command to use after installation of a shared archive.
80410 postinstall_cmds=$lt_postinstall_cmds
80412 # Command to use after uninstallation of a shared archive.
80413 postuninstall_cmds=$lt_postuninstall_cmds
80415 # Commands used to finish a libtool library installation in a directory.
80416 finish_cmds=$lt_finish_cmds
80418 # As "finish_cmds", except a single script fragment to be evaled but
80419 # not shown.
80420 finish_eval=$lt_finish_eval
80422 # Whether we should hardcode library paths into libraries.
80423 hardcode_into_libs=$hardcode_into_libs
80425 # Compile-time system search path for libraries.
80426 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
80428 # Run-time system search path for libraries.
80429 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
80431 # Whether dlopen is supported.
80432 dlopen_support=$enable_dlopen
80434 # Whether dlopen of programs is supported.
80435 dlopen_self=$enable_dlopen_self
80437 # Whether dlopen of statically linked programs is supported.
80438 dlopen_self_static=$enable_dlopen_self_static
80440 # Commands to strip libraries.
80441 old_striplib=$lt_old_striplib
80442 striplib=$lt_striplib
80445 # The linker used to build libraries.
80446 LD=$lt_LD
80448 # How to create reloadable object files.
80449 reload_flag=$lt_reload_flag
80450 reload_cmds=$lt_reload_cmds
80452 # Commands used to build an old-style archive.
80453 old_archive_cmds=$lt_old_archive_cmds
80455 # A language specific compiler.
80456 CC=$lt_compiler
80458 # Is the compiler the GNU compiler?
80459 with_gcc=$GCC
80461 # Compiler flag to turn off builtin functions.
80462 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
80464 # How to pass a linker flag through the compiler.
80465 wl=$lt_lt_prog_compiler_wl
80467 # Additional compiler flags for building library objects.
80468 pic_flag=$lt_lt_prog_compiler_pic
80470 # Compiler flag to prevent dynamic linking.
80471 link_static_flag=$lt_lt_prog_compiler_static
80473 # Does compiler simultaneously support -c and -o options?
80474 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
80476 # Whether or not to add -lc for building shared libraries.
80477 build_libtool_need_lc=$archive_cmds_need_lc
80479 # Whether or not to disallow shared libs when runtime libs are static.
80480 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
80482 # Compiler flag to allow reflexive dlopens.
80483 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
80485 # Compiler flag to generate shared objects directly from archives.
80486 whole_archive_flag_spec=$lt_whole_archive_flag_spec
80488 # Whether the compiler copes with passing no objects directly.
80489 compiler_needs_object=$lt_compiler_needs_object
80491 # Create an old-style archive from a shared archive.
80492 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
80494 # Create a temporary old-style archive to link instead of a shared archive.
80495 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
80497 # Commands used to build a shared archive.
80498 archive_cmds=$lt_archive_cmds
80499 archive_expsym_cmds=$lt_archive_expsym_cmds
80501 # Commands used to build a loadable module if different from building
80502 # a shared archive.
80503 module_cmds=$lt_module_cmds
80504 module_expsym_cmds=$lt_module_expsym_cmds
80506 # Whether we are building with GNU ld or not.
80507 with_gnu_ld=$lt_with_gnu_ld
80509 # Flag that allows shared libraries with undefined symbols to be built.
80510 allow_undefined_flag=$lt_allow_undefined_flag
80512 # Flag that enforces no undefined symbols.
80513 no_undefined_flag=$lt_no_undefined_flag
80515 # Flag to hardcode \$libdir into a binary during linking.
80516 # This must work even if \$libdir does not exist
80517 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
80519 # If ld is used when linking, flag to hardcode \$libdir into a binary
80520 # during linking. This must work even if \$libdir does not exist.
80521 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
80523 # Whether we need a single "-rpath" flag with a separated argument.
80524 hardcode_libdir_separator=$lt_hardcode_libdir_separator
80526 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80527 # DIR into the resulting binary.
80528 hardcode_direct=$hardcode_direct
80530 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80531 # DIR into the resulting binary and the resulting library dependency is
80532 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
80533 # library is relocated.
80534 hardcode_direct_absolute=$hardcode_direct_absolute
80536 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
80537 # into the resulting binary.
80538 hardcode_minus_L=$hardcode_minus_L
80540 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
80541 # into the resulting binary.
80542 hardcode_shlibpath_var=$hardcode_shlibpath_var
80544 # Set to "yes" if building a shared library automatically hardcodes DIR
80545 # into the library and all subsequent libraries and executables linked
80546 # against it.
80547 hardcode_automatic=$hardcode_automatic
80549 # Set to yes if linker adds runtime paths of dependent libraries
80550 # to runtime path list.
80551 inherit_rpath=$inherit_rpath
80553 # Whether libtool must link a program against all its dependency libraries.
80554 link_all_deplibs=$link_all_deplibs
80556 # Fix the shell variable \$srcfile for the compiler.
80557 fix_srcfile_path=$lt_fix_srcfile_path
80559 # Set to "yes" if exported symbols are required.
80560 always_export_symbols=$always_export_symbols
80562 # The commands to list exported symbols.
80563 export_symbols_cmds=$lt_export_symbols_cmds
80565 # Symbols that should not be listed in the preloaded symbols.
80566 exclude_expsyms=$lt_exclude_expsyms
80568 # Symbols that must always be exported.
80569 include_expsyms=$lt_include_expsyms
80571 # Commands necessary for linking programs (against libraries) with templates.
80572 prelink_cmds=$lt_prelink_cmds
80574 # Specify filename containing input files.
80575 file_list_spec=$lt_file_list_spec
80577 # How to hardcode a shared library path into an executable.
80578 hardcode_action=$hardcode_action
80580 # The directories searched by this compiler when creating a shared library.
80581 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
80583 # Dependencies to place before and after the objects being linked to
80584 # create a shared library.
80585 predep_objects=$lt_predep_objects
80586 postdep_objects=$lt_postdep_objects
80587 predeps=$lt_predeps
80588 postdeps=$lt_postdeps
80590 # The library search path used internally by the compiler when linking
80591 # a shared library.
80592 compiler_lib_search_path=$lt_compiler_lib_search_path
80594 # ### END LIBTOOL CONFIG
80596 _LT_EOF
80598 case $host_os in
80599 aix3*)
80600 cat <<\_LT_EOF >> "$cfgfile"
80601 # AIX sometimes has problems with the GCC collect2 program. For some
80602 # reason, if we set the COLLECT_NAMES environment variable, the problems
80603 # vanish in a puff of smoke.
80604 if test "X${COLLECT_NAMES+set}" != Xset; then
80605 COLLECT_NAMES=
80606 export COLLECT_NAMES
80608 _LT_EOF
80610 esac
80613 ltmain="$ac_aux_dir/ltmain.sh"
80616 # We use sed instead of cat because bash on DJGPP gets confused if
80617 # if finds mixed CR/LF and LF-only lines. Since sed operates in
80618 # text mode, it properly converts lines to CR/LF. This bash problem
80619 # is reportedly fixed, but why not run on old versions too?
80620 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
80621 || (rm -f "$cfgfile"; exit 1)
80623 case $xsi_shell in
80624 yes)
80625 cat << \_LT_EOF >> "$cfgfile"
80627 # func_dirname file append nondir_replacement
80628 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
80629 # otherwise set result to NONDIR_REPLACEMENT.
80630 func_dirname ()
80632 case ${1} in
80633 */*) func_dirname_result="${1%/*}${2}" ;;
80634 * ) func_dirname_result="${3}" ;;
80635 esac
80638 # func_basename file
80639 func_basename ()
80641 func_basename_result="${1##*/}"
80644 # func_dirname_and_basename file append nondir_replacement
80645 # perform func_basename and func_dirname in a single function
80646 # call:
80647 # dirname: Compute the dirname of FILE. If nonempty,
80648 # add APPEND to the result, otherwise set result
80649 # to NONDIR_REPLACEMENT.
80650 # value returned in "$func_dirname_result"
80651 # basename: Compute filename of FILE.
80652 # value retuned in "$func_basename_result"
80653 # Implementation must be kept synchronized with func_dirname
80654 # and func_basename. For efficiency, we do not delegate to
80655 # those functions but instead duplicate the functionality here.
80656 func_dirname_and_basename ()
80658 case ${1} in
80659 */*) func_dirname_result="${1%/*}${2}" ;;
80660 * ) func_dirname_result="${3}" ;;
80661 esac
80662 func_basename_result="${1##*/}"
80665 # func_stripname prefix suffix name
80666 # strip PREFIX and SUFFIX off of NAME.
80667 # PREFIX and SUFFIX must not contain globbing or regex special
80668 # characters, hashes, percent signs, but SUFFIX may contain a leading
80669 # dot (in which case that matches only a dot).
80670 func_stripname ()
80672 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
80673 # positional parameters, so assign one to ordinary parameter first.
80674 func_stripname_result=${3}
80675 func_stripname_result=${func_stripname_result#"${1}"}
80676 func_stripname_result=${func_stripname_result%"${2}"}
80679 # func_opt_split
80680 func_opt_split ()
80682 func_opt_split_opt=${1%%=*}
80683 func_opt_split_arg=${1#*=}
80686 # func_lo2o object
80687 func_lo2o ()
80689 case ${1} in
80690 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
80691 *) func_lo2o_result=${1} ;;
80692 esac
80695 # func_xform libobj-or-source
80696 func_xform ()
80698 func_xform_result=${1%.*}.lo
80701 # func_arith arithmetic-term...
80702 func_arith ()
80704 func_arith_result=$(( $* ))
80707 # func_len string
80708 # STRING may not start with a hyphen.
80709 func_len ()
80711 func_len_result=${#1}
80714 _LT_EOF
80716 *) # Bourne compatible functions.
80717 cat << \_LT_EOF >> "$cfgfile"
80719 # func_dirname file append nondir_replacement
80720 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
80721 # otherwise set result to NONDIR_REPLACEMENT.
80722 func_dirname ()
80724 # Extract subdirectory from the argument.
80725 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
80726 if test "X$func_dirname_result" = "X${1}"; then
80727 func_dirname_result="${3}"
80728 else
80729 func_dirname_result="$func_dirname_result${2}"
80733 # func_basename file
80734 func_basename ()
80736 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
80740 # func_stripname prefix suffix name
80741 # strip PREFIX and SUFFIX off of NAME.
80742 # PREFIX and SUFFIX must not contain globbing or regex special
80743 # characters, hashes, percent signs, but SUFFIX may contain a leading
80744 # dot (in which case that matches only a dot).
80745 # func_strip_suffix prefix name
80746 func_stripname ()
80748 case ${2} in
80749 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
80750 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
80751 esac
80754 # sed scripts:
80755 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
80756 my_sed_long_arg='1s/^-[^=]*=//'
80758 # func_opt_split
80759 func_opt_split ()
80761 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
80762 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
80765 # func_lo2o object
80766 func_lo2o ()
80768 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
80771 # func_xform libobj-or-source
80772 func_xform ()
80774 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
80777 # func_arith arithmetic-term...
80778 func_arith ()
80780 func_arith_result=`expr "$@"`
80783 # func_len string
80784 # STRING may not start with a hyphen.
80785 func_len ()
80787 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
80790 _LT_EOF
80791 esac
80793 case $lt_shell_append in
80794 yes)
80795 cat << \_LT_EOF >> "$cfgfile"
80797 # func_append var value
80798 # Append VALUE to the end of shell variable VAR.
80799 func_append ()
80801 eval "$1+=\$2"
80803 _LT_EOF
80806 cat << \_LT_EOF >> "$cfgfile"
80808 # func_append var value
80809 # Append VALUE to the end of shell variable VAR.
80810 func_append ()
80812 eval "$1=\$$1\$2"
80815 _LT_EOF
80817 esac
80820 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
80821 || (rm -f "$cfgfile"; exit 1)
80823 mv -f "$cfgfile" "$ofile" ||
80824 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
80825 chmod +x "$ofile"
80828 cat <<_LT_EOF >> "$ofile"
80830 # ### BEGIN LIBTOOL TAG CONFIG: CXX
80832 # The linker used to build libraries.
80833 LD=$lt_LD_CXX
80835 # How to create reloadable object files.
80836 reload_flag=$lt_reload_flag_CXX
80837 reload_cmds=$lt_reload_cmds_CXX
80839 # Commands used to build an old-style archive.
80840 old_archive_cmds=$lt_old_archive_cmds_CXX
80842 # A language specific compiler.
80843 CC=$lt_compiler_CXX
80845 # Is the compiler the GNU compiler?
80846 with_gcc=$GCC_CXX
80848 # Compiler flag to turn off builtin functions.
80849 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
80851 # How to pass a linker flag through the compiler.
80852 wl=$lt_lt_prog_compiler_wl_CXX
80854 # Additional compiler flags for building library objects.
80855 pic_flag=$lt_lt_prog_compiler_pic_CXX
80857 # Compiler flag to prevent dynamic linking.
80858 link_static_flag=$lt_lt_prog_compiler_static_CXX
80860 # Does compiler simultaneously support -c and -o options?
80861 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
80863 # Whether or not to add -lc for building shared libraries.
80864 build_libtool_need_lc=$archive_cmds_need_lc_CXX
80866 # Whether or not to disallow shared libs when runtime libs are static.
80867 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
80869 # Compiler flag to allow reflexive dlopens.
80870 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
80872 # Compiler flag to generate shared objects directly from archives.
80873 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
80875 # Whether the compiler copes with passing no objects directly.
80876 compiler_needs_object=$lt_compiler_needs_object_CXX
80878 # Create an old-style archive from a shared archive.
80879 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
80881 # Create a temporary old-style archive to link instead of a shared archive.
80882 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
80884 # Commands used to build a shared archive.
80885 archive_cmds=$lt_archive_cmds_CXX
80886 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
80888 # Commands used to build a loadable module if different from building
80889 # a shared archive.
80890 module_cmds=$lt_module_cmds_CXX
80891 module_expsym_cmds=$lt_module_expsym_cmds_CXX
80893 # Whether we are building with GNU ld or not.
80894 with_gnu_ld=$lt_with_gnu_ld_CXX
80896 # Flag that allows shared libraries with undefined symbols to be built.
80897 allow_undefined_flag=$lt_allow_undefined_flag_CXX
80899 # Flag that enforces no undefined symbols.
80900 no_undefined_flag=$lt_no_undefined_flag_CXX
80902 # Flag to hardcode \$libdir into a binary during linking.
80903 # This must work even if \$libdir does not exist
80904 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
80906 # If ld is used when linking, flag to hardcode \$libdir into a binary
80907 # during linking. This must work even if \$libdir does not exist.
80908 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
80910 # Whether we need a single "-rpath" flag with a separated argument.
80911 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
80913 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80914 # DIR into the resulting binary.
80915 hardcode_direct=$hardcode_direct_CXX
80917 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80918 # DIR into the resulting binary and the resulting library dependency is
80919 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
80920 # library is relocated.
80921 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
80923 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
80924 # into the resulting binary.
80925 hardcode_minus_L=$hardcode_minus_L_CXX
80927 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
80928 # into the resulting binary.
80929 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
80931 # Set to "yes" if building a shared library automatically hardcodes DIR
80932 # into the library and all subsequent libraries and executables linked
80933 # against it.
80934 hardcode_automatic=$hardcode_automatic_CXX
80936 # Set to yes if linker adds runtime paths of dependent libraries
80937 # to runtime path list.
80938 inherit_rpath=$inherit_rpath_CXX
80940 # Whether libtool must link a program against all its dependency libraries.
80941 link_all_deplibs=$link_all_deplibs_CXX
80943 # Fix the shell variable \$srcfile for the compiler.
80944 fix_srcfile_path=$lt_fix_srcfile_path_CXX
80946 # Set to "yes" if exported symbols are required.
80947 always_export_symbols=$always_export_symbols_CXX
80949 # The commands to list exported symbols.
80950 export_symbols_cmds=$lt_export_symbols_cmds_CXX
80952 # Symbols that should not be listed in the preloaded symbols.
80953 exclude_expsyms=$lt_exclude_expsyms_CXX
80955 # Symbols that must always be exported.
80956 include_expsyms=$lt_include_expsyms_CXX
80958 # Commands necessary for linking programs (against libraries) with templates.
80959 prelink_cmds=$lt_prelink_cmds_CXX
80961 # Specify filename containing input files.
80962 file_list_spec=$lt_file_list_spec_CXX
80964 # How to hardcode a shared library path into an executable.
80965 hardcode_action=$hardcode_action_CXX
80967 # The directories searched by this compiler when creating a shared library.
80968 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
80970 # Dependencies to place before and after the objects being linked to
80971 # create a shared library.
80972 predep_objects=$lt_predep_objects_CXX
80973 postdep_objects=$lt_postdep_objects_CXX
80974 predeps=$lt_predeps_CXX
80975 postdeps=$lt_postdeps_CXX
80977 # The library search path used internally by the compiler when linking
80978 # a shared library.
80979 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
80981 # ### END LIBTOOL TAG CONFIG: CXX
80982 _LT_EOF
80985 "include/gstdint.h":C)
80986 if test "$GCC" = yes; then
80987 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
80988 else
80989 echo "/* generated for $CC */" > tmp-stdint.h
80992 sed 's/^ *//' >> tmp-stdint.h <<EOF
80994 #ifndef GCC_GENERATED_STDINT_H
80995 #define GCC_GENERATED_STDINT_H 1
80997 #include <sys/types.h>
81000 if test "$acx_cv_header_stdint" != stdint.h; then
81001 echo "#include <stddef.h>" >> tmp-stdint.h
81003 if test "$acx_cv_header_stdint" != stddef.h; then
81004 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
81007 sed 's/^ *//' >> tmp-stdint.h <<EOF
81008 /* glibc uses these symbols as guards to prevent redefinitions. */
81009 #ifdef __int8_t_defined
81010 #define _INT8_T
81011 #define _INT16_T
81012 #define _INT32_T
81013 #endif
81014 #ifdef __uint32_t_defined
81015 #define _UINT32_T
81016 #endif
81020 # ----------------- done header, emit basic int types -------------
81021 if test "$acx_cv_header_stdint" = stddef.h; then
81022 sed 's/^ *//' >> tmp-stdint.h <<EOF
81024 #ifndef _UINT8_T
81025 #define _UINT8_T
81026 #ifndef __uint8_t_defined
81027 #define __uint8_t_defined
81028 #ifndef uint8_t
81029 typedef unsigned $acx_cv_type_int8_t uint8_t;
81030 #endif
81031 #endif
81032 #endif
81034 #ifndef _UINT16_T
81035 #define _UINT16_T
81036 #ifndef __uint16_t_defined
81037 #define __uint16_t_defined
81038 #ifndef uint16_t
81039 typedef unsigned $acx_cv_type_int16_t uint16_t;
81040 #endif
81041 #endif
81042 #endif
81044 #ifndef _UINT32_T
81045 #define _UINT32_T
81046 #ifndef __uint32_t_defined
81047 #define __uint32_t_defined
81048 #ifndef uint32_t
81049 typedef unsigned $acx_cv_type_int32_t uint32_t;
81050 #endif
81051 #endif
81052 #endif
81054 #ifndef _INT8_T
81055 #define _INT8_T
81056 #ifndef __int8_t_defined
81057 #define __int8_t_defined
81058 #ifndef int8_t
81059 typedef $acx_cv_type_int8_t int8_t;
81060 #endif
81061 #endif
81062 #endif
81064 #ifndef _INT16_T
81065 #define _INT16_T
81066 #ifndef __int16_t_defined
81067 #define __int16_t_defined
81068 #ifndef int16_t
81069 typedef $acx_cv_type_int16_t int16_t;
81070 #endif
81071 #endif
81072 #endif
81074 #ifndef _INT32_T
81075 #define _INT32_T
81076 #ifndef __int32_t_defined
81077 #define __int32_t_defined
81078 #ifndef int32_t
81079 typedef $acx_cv_type_int32_t int32_t;
81080 #endif
81081 #endif
81082 #endif
81084 elif test "$ac_cv_type_u_int32_t" = yes; then
81085 sed 's/^ *//' >> tmp-stdint.h <<EOF
81087 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
81088 #ifndef _INT8_T
81089 #define _INT8_T
81090 #endif
81091 #ifndef _INT16_T
81092 #define _INT16_T
81093 #endif
81094 #ifndef _INT32_T
81095 #define _INT32_T
81096 #endif
81098 #ifndef _UINT8_T
81099 #define _UINT8_T
81100 #ifndef __uint8_t_defined
81101 #define __uint8_t_defined
81102 #ifndef uint8_t
81103 typedef u_int8_t uint8_t;
81104 #endif
81105 #endif
81106 #endif
81108 #ifndef _UINT16_T
81109 #define _UINT16_T
81110 #ifndef __uint16_t_defined
81111 #define __uint16_t_defined
81112 #ifndef uint16_t
81113 typedef u_int16_t uint16_t;
81114 #endif
81115 #endif
81116 #endif
81118 #ifndef _UINT32_T
81119 #define _UINT32_T
81120 #ifndef __uint32_t_defined
81121 #define __uint32_t_defined
81122 #ifndef uint32_t
81123 typedef u_int32_t uint32_t;
81124 #endif
81125 #endif
81126 #endif
81128 else
81129 sed 's/^ *//' >> tmp-stdint.h <<EOF
81131 /* Some systems have guard macros to prevent redefinitions, define them. */
81132 #ifndef _INT8_T
81133 #define _INT8_T
81134 #endif
81135 #ifndef _INT16_T
81136 #define _INT16_T
81137 #endif
81138 #ifndef _INT32_T
81139 #define _INT32_T
81140 #endif
81141 #ifndef _UINT8_T
81142 #define _UINT8_T
81143 #endif
81144 #ifndef _UINT16_T
81145 #define _UINT16_T
81146 #endif
81147 #ifndef _UINT32_T
81148 #define _UINT32_T
81149 #endif
81153 # ------------- done basic int types, emit int64_t types ------------
81154 if test "$ac_cv_type_uint64_t" = yes; then
81155 sed 's/^ *//' >> tmp-stdint.h <<EOF
81157 /* system headers have good uint64_t and int64_t */
81158 #ifndef _INT64_T
81159 #define _INT64_T
81160 #endif
81161 #ifndef _UINT64_T
81162 #define _UINT64_T
81163 #endif
81165 elif test "$ac_cv_type_u_int64_t" = yes; then
81166 sed 's/^ *//' >> tmp-stdint.h <<EOF
81168 /* system headers have an u_int64_t (and int64_t) */
81169 #ifndef _INT64_T
81170 #define _INT64_T
81171 #endif
81172 #ifndef _UINT64_T
81173 #define _UINT64_T
81174 #ifndef __uint64_t_defined
81175 #define __uint64_t_defined
81176 #ifndef uint64_t
81177 typedef u_int64_t uint64_t;
81178 #endif
81179 #endif
81180 #endif
81182 elif test -n "$acx_cv_type_int64_t"; then
81183 sed 's/^ *//' >> tmp-stdint.h <<EOF
81185 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
81186 #ifndef _INT64_T
81187 #define _INT64_T
81188 #ifndef int64_t
81189 typedef $acx_cv_type_int64_t int64_t;
81190 #endif
81191 #endif
81192 #ifndef _UINT64_T
81193 #define _UINT64_T
81194 #ifndef __uint64_t_defined
81195 #define __uint64_t_defined
81196 #ifndef uint64_t
81197 typedef unsigned $acx_cv_type_int64_t uint64_t;
81198 #endif
81199 #endif
81200 #endif
81202 else
81203 sed 's/^ *//' >> tmp-stdint.h <<EOF
81205 /* some common heuristics for int64_t, using compiler-specific tests */
81206 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
81207 #ifndef _INT64_T
81208 #define _INT64_T
81209 #ifndef __int64_t_defined
81210 #ifndef int64_t
81211 typedef long long int64_t;
81212 #endif
81213 #endif
81214 #endif
81215 #ifndef _UINT64_T
81216 #define _UINT64_T
81217 #ifndef uint64_t
81218 typedef unsigned long long uint64_t;
81219 #endif
81220 #endif
81222 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
81223 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
81224 does not implement __extension__. But that compiler doesn't define
81225 __GNUC_MINOR__. */
81226 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
81227 # define __extension__
81228 # endif
81230 # ifndef _INT64_T
81231 # define _INT64_T
81232 # ifndef int64_t
81233 __extension__ typedef long long int64_t;
81234 # endif
81235 # endif
81236 # ifndef _UINT64_T
81237 # define _UINT64_T
81238 # ifndef uint64_t
81239 __extension__ typedef unsigned long long uint64_t;
81240 # endif
81241 # endif
81243 #elif !defined __STRICT_ANSI__
81244 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
81246 # ifndef _INT64_T
81247 # define _INT64_T
81248 # ifndef int64_t
81249 typedef __int64 int64_t;
81250 # endif
81251 # endif
81252 # ifndef _UINT64_T
81253 # define _UINT64_T
81254 # ifndef uint64_t
81255 typedef unsigned __int64 uint64_t;
81256 # endif
81257 # endif
81258 # endif /* compiler */
81260 #endif /* ANSI version */
81264 # ------------- done int64_t types, emit intptr types ------------
81265 if test "$ac_cv_type_uintptr_t" != yes; then
81266 sed 's/^ *//' >> tmp-stdint.h <<EOF
81268 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
81269 #ifndef __uintptr_t_defined
81270 #ifndef uintptr_t
81271 typedef u$acx_cv_type_intptr_t uintptr_t;
81272 #endif
81273 #endif
81274 #ifndef __intptr_t_defined
81275 #ifndef intptr_t
81276 typedef $acx_cv_type_intptr_t intptr_t;
81277 #endif
81278 #endif
81282 # ------------- done intptr types, emit int_least types ------------
81283 if test "$ac_cv_type_int_least32_t" != yes; then
81284 sed 's/^ *//' >> tmp-stdint.h <<EOF
81286 /* Define int_least types */
81287 typedef int8_t int_least8_t;
81288 typedef int16_t int_least16_t;
81289 typedef int32_t int_least32_t;
81290 #ifdef _INT64_T
81291 typedef int64_t int_least64_t;
81292 #endif
81294 typedef uint8_t uint_least8_t;
81295 typedef uint16_t uint_least16_t;
81296 typedef uint32_t uint_least32_t;
81297 #ifdef _UINT64_T
81298 typedef uint64_t uint_least64_t;
81299 #endif
81303 # ------------- done intptr types, emit int_fast types ------------
81304 if test "$ac_cv_type_int_fast32_t" != yes; then
81305 sed 's/^ *//' >> tmp-stdint.h <<EOF
81307 /* Define int_fast types. short is often slow */
81308 typedef int8_t int_fast8_t;
81309 typedef int int_fast16_t;
81310 typedef int32_t int_fast32_t;
81311 #ifdef _INT64_T
81312 typedef int64_t int_fast64_t;
81313 #endif
81315 typedef uint8_t uint_fast8_t;
81316 typedef unsigned int uint_fast16_t;
81317 typedef uint32_t uint_fast32_t;
81318 #ifdef _UINT64_T
81319 typedef uint64_t uint_fast64_t;
81320 #endif
81324 if test "$ac_cv_type_uintmax_t" != yes; then
81325 sed 's/^ *//' >> tmp-stdint.h <<EOF
81327 /* Define intmax based on what we found */
81328 #ifndef intmax_t
81329 #ifdef _INT64_T
81330 typedef int64_t intmax_t;
81331 #else
81332 typedef long intmax_t;
81333 #endif
81334 #endif
81335 #ifndef uintmax_t
81336 #ifdef _UINT64_T
81337 typedef uint64_t uintmax_t;
81338 #else
81339 typedef unsigned long uintmax_t;
81340 #endif
81341 #endif
81345 sed 's/^ *//' >> tmp-stdint.h <<EOF
81347 #endif /* GCC_GENERATED_STDINT_H */
81350 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
81351 rm -f tmp-stdint.h
81352 else
81353 mv -f tmp-stdint.h include/gstdint.h
81357 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
81358 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
81359 "include/Makefile":F) cat > vpsed$$ << \_EOF
81360 s!`test -f '$<' || echo '$(srcdir)/'`!!
81361 _EOF
81362 sed -f vpsed$$ $ac_file > tmp$$
81363 mv tmp$$ $ac_file
81364 rm vpsed$$
81365 echo 'MULTISUBDIR =' >> $ac_file
81366 ml_norecursion=yes
81367 . ${multi_basedir}/config-ml.in
81368 { ml_norecursion=; unset ml_norecursion;}
81370 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
81371 s!`test -f '$<' || echo '$(srcdir)/'`!!
81372 _EOF
81373 sed -f vpsed$$ $ac_file > tmp$$
81374 mv tmp$$ $ac_file
81375 rm vpsed$$
81376 echo 'MULTISUBDIR =' >> $ac_file
81377 ml_norecursion=yes
81378 . ${multi_basedir}/config-ml.in
81379 { ml_norecursion=; unset ml_norecursion;}
81381 "src/Makefile":F) cat > vpsed$$ << \_EOF
81382 s!`test -f '$<' || echo '$(srcdir)/'`!!
81383 _EOF
81384 sed -f vpsed$$ $ac_file > tmp$$
81385 mv tmp$$ $ac_file
81386 rm vpsed$$
81387 echo 'MULTISUBDIR =' >> $ac_file
81388 ml_norecursion=yes
81389 . ${multi_basedir}/config-ml.in
81390 { ml_norecursion=; unset ml_norecursion;}
81392 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
81393 s!`test -f '$<' || echo '$(srcdir)/'`!!
81394 _EOF
81395 sed -f vpsed$$ $ac_file > tmp$$
81396 mv tmp$$ $ac_file
81397 rm vpsed$$
81398 echo 'MULTISUBDIR =' >> $ac_file
81399 ml_norecursion=yes
81400 . ${multi_basedir}/config-ml.in
81401 { ml_norecursion=; unset ml_norecursion;}
81403 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
81404 s!`test -f '$<' || echo '$(srcdir)/'`!!
81405 _EOF
81406 sed -f vpsed$$ $ac_file > tmp$$
81407 mv tmp$$ $ac_file
81408 rm vpsed$$
81409 echo 'MULTISUBDIR =' >> $ac_file
81410 ml_norecursion=yes
81411 . ${multi_basedir}/config-ml.in
81412 { ml_norecursion=; unset ml_norecursion;}
81414 "src/c++17/Makefile":F) cat > vpsed$$ << \_EOF
81415 s!`test -f '$<' || echo '$(srcdir)/'`!!
81416 _EOF
81417 sed -f vpsed$$ $ac_file > tmp$$
81418 mv tmp$$ $ac_file
81419 rm vpsed$$
81420 echo 'MULTISUBDIR =' >> $ac_file
81421 ml_norecursion=yes
81422 . ${multi_basedir}/config-ml.in
81423 { ml_norecursion=; unset ml_norecursion;}
81425 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
81426 s!`test -f '$<' || echo '$(srcdir)/'`!!
81427 _EOF
81428 sed -f vpsed$$ $ac_file > tmp$$
81429 mv tmp$$ $ac_file
81430 rm vpsed$$
81431 echo 'MULTISUBDIR =' >> $ac_file
81432 ml_norecursion=yes
81433 . ${multi_basedir}/config-ml.in
81434 { ml_norecursion=; unset ml_norecursion;}
81436 "doc/Makefile":F) cat > vpsed$$ << \_EOF
81437 s!`test -f '$<' || echo '$(srcdir)/'`!!
81438 _EOF
81439 sed -f vpsed$$ $ac_file > tmp$$
81440 mv tmp$$ $ac_file
81441 rm vpsed$$
81442 echo 'MULTISUBDIR =' >> $ac_file
81443 ml_norecursion=yes
81444 . ${multi_basedir}/config-ml.in
81445 { ml_norecursion=; unset ml_norecursion;}
81447 "po/Makefile":F) cat > vpsed$$ << \_EOF
81448 s!`test -f '$<' || echo '$(srcdir)/'`!!
81449 _EOF
81450 sed -f vpsed$$ $ac_file > tmp$$
81451 mv tmp$$ $ac_file
81452 rm vpsed$$
81453 echo 'MULTISUBDIR =' >> $ac_file
81454 ml_norecursion=yes
81455 . ${multi_basedir}/config-ml.in
81456 { ml_norecursion=; unset ml_norecursion;}
81458 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
81459 s!`test -f '$<' || echo '$(srcdir)/'`!!
81460 _EOF
81461 sed -f vpsed$$ $ac_file > tmp$$
81462 mv tmp$$ $ac_file
81463 rm vpsed$$
81464 echo 'MULTISUBDIR =' >> $ac_file
81465 ml_norecursion=yes
81466 . ${multi_basedir}/config-ml.in
81467 { ml_norecursion=; unset ml_norecursion;}
81469 "python/Makefile":F) cat > vpsed$$ << \_EOF
81470 s!`test -f '$<' || echo '$(srcdir)/'`!!
81471 _EOF
81472 sed -f vpsed$$ $ac_file > tmp$$
81473 mv tmp$$ $ac_file
81474 rm vpsed$$
81475 echo 'MULTISUBDIR =' >> $ac_file
81476 ml_norecursion=yes
81477 . ${multi_basedir}/config-ml.in
81478 { ml_norecursion=; unset ml_norecursion;}
81480 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
81482 esac
81483 done # for ac_tag
81486 as_fn_exit 0
81487 _ACEOF
81488 ac_clean_files=$ac_clean_files_save
81490 test $ac_write_fail = 0 ||
81491 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
81494 # configure is writing to config.log, and then calls config.status.
81495 # config.status does its own redirection, appending to config.log.
81496 # Unfortunately, on DOS this fails, as config.log is still kept open
81497 # by configure, so config.status won't be able to write to it; its
81498 # output is simply discarded. So we exec the FD to /dev/null,
81499 # effectively closing config.log, so it can be properly (re)opened and
81500 # appended to by config.status. When coming back to configure, we
81501 # need to make the FD available again.
81502 if test "$no_create" != yes; then
81503 ac_cs_success=:
81504 ac_config_status_args=
81505 test "$silent" = yes &&
81506 ac_config_status_args="$ac_config_status_args --quiet"
81507 exec 5>/dev/null
81508 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
81509 exec 5>>config.log
81510 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
81511 # would make configure fail if this is the last instruction.
81512 $ac_cs_success || as_fn_exit 1
81514 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
81515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
81516 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}