ada: Fix oversight in latest change
[official-gcc.git] / libstdc++-v3 / configure
blob412c4bf0e857e680feeada1fcfff5255b67b259a
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 USE_STATIC_TZDATA_FALSE
679 USE_STATIC_TZDATA_TRUE
680 EH_POOL_FLAGS
681 ENABLE_BACKTRACE_FALSE
682 ENABLE_BACKTRACE_TRUE
683 BACKTRACE_SUPPORTS_THREADS
684 BACKTRACE_USES_MALLOC
685 BACKTRACE_SUPPORTED
686 BACKTRACE_CPPFLAGS
687 ALLOC_FILE
688 VIEW_FILE
689 FORMAT_FILE
690 ENABLE_FILESYSTEM_TS_FALSE
691 ENABLE_FILESYSTEM_TS_TRUE
692 baseline_subdir_switch
693 baseline_dir
694 HWCAP_CFLAGS
695 GLIBCXX_LDBL_ALT128_COMPAT_FALSE
696 GLIBCXX_LDBL_ALT128_COMPAT_TRUE
697 GLIBCXX_LDBL_COMPAT_FALSE
698 GLIBCXX_LDBL_COMPAT_TRUE
699 LONG_DOUBLE_ALT128_COMPAT_FLAGS
700 LONG_DOUBLE_128_FLAGS
701 LONG_DOUBLE_COMPAT_FLAGS
702 ENABLE_CXX11_ABI_FALSE
703 ENABLE_CXX11_ABI_TRUE
704 glibcxx_cxx98_abi
705 ENABLE_DUAL_ABI_FALSE
706 ENABLE_DUAL_ABI_TRUE
707 ENABLE_VISIBILITY_FALSE
708 ENABLE_VISIBILITY_TRUE
709 libtool_VERSION
710 ENABLE_SYMVERS_SUN_FALSE
711 ENABLE_SYMVERS_SUN_TRUE
712 ENABLE_SYMVERS_DARWIN_FALSE
713 ENABLE_SYMVERS_DARWIN_TRUE
714 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
715 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
716 ENABLE_SYMVERS_GNU_FALSE
717 ENABLE_SYMVERS_GNU_TRUE
718 ENABLE_SYMVERS_FALSE
719 ENABLE_SYMVERS_TRUE
720 port_specific_symbol_files
721 SYMVER_FILE
722 CXXFILT
723 LTLIBICONV
724 LIBICONV
725 OPT_LDFLAGS
726 SECTION_LDFLAGS
727 GLIBCXX_LIBS
728 ENABLE_VTABLE_VERIFY_FALSE
729 ENABLE_VTABLE_VERIFY_TRUE
730 VTV_CYGMIN_FALSE
731 VTV_CYGMIN_TRUE
732 VTV_CXXLINKFLAGS
733 VTV_PCH_CXXFLAGS
734 VTV_CXXFLAGS
735 ENABLE_WERROR_FALSE
736 ENABLE_WERROR_TRUE
737 ENABLE_PYTHONDIR_FALSE
738 ENABLE_PYTHONDIR_TRUE
739 python_mod_dir
740 ENABLE_EXTERN_TEMPLATE_FALSE
741 ENABLE_EXTERN_TEMPLATE_TRUE
742 EXTRA_CXX_FLAGS
743 GLIBCXX_BUILD_DEBUG_FALSE
744 GLIBCXX_BUILD_DEBUG_TRUE
745 DEBUG_FLAGS
746 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
747 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
748 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
749 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
750 GLIBCXX_C_HEADERS_C_STD_FALSE
751 GLIBCXX_C_HEADERS_C_STD_TRUE
752 GLIBCXX_C_HEADERS_C_FALSE
753 GLIBCXX_C_HEADERS_C_TRUE
754 C_INCLUDE_DIR
755 ALLOCATOR_NAME
756 ALLOCATOR_H
757 ENABLE_ALLOCATOR_NEW_FALSE
758 ENABLE_ALLOCATOR_NEW_TRUE
759 CLOCALE_INTERNAL_H
760 CLOCALE_CC
761 CTIME_CC
762 CTIME_H
763 CNUMERIC_CC
764 CMONEY_CC
765 CMESSAGES_CC
766 CCTYPE_CC
767 CCOLLATE_CC
768 CCODECVT_CC
769 CMESSAGES_H
770 CLOCALE_H
771 USE_NLS
772 glibcxx_localedir
773 glibcxx_POFILES
774 glibcxx_MOFILES
775 check_msgfmt
776 BASIC_FILE_CC
777 BASIC_FILE_H
778 CSTDIO_H
779 SECTION_FLAGS
780 ENABLE_FLOAT128_FALSE
781 ENABLE_FLOAT128_TRUE
782 thread_header
783 glibcxx_PCHFLAGS
784 GLIBCXX_BUILD_PCH_FALSE
785 GLIBCXX_BUILD_PCH_TRUE
786 FREESTANDING_FLAGS
787 GLIBCXX_HOSTED_FALSE
788 GLIBCXX_HOSTED_TRUE
789 glibcxx_compiler_shared_flag
790 glibcxx_compiler_pic_flag
791 glibcxx_lt_pic_flag
792 enable_static
793 enable_shared
794 lt_host_flags
795 CXXCPP
796 OTOOL64
797 OTOOL
798 LIPO
799 NMEDIT
800 DSYMUTIL
801 OBJDUMP
803 ac_ct_DUMPBIN
804 DUMPBIN
806 FGREP
808 LIBTOOL
809 EGREP
810 GREP
812 MAINT
813 MAINTAINER_MODE_FALSE
814 MAINTAINER_MODE_TRUE
815 RANLIB
818 LN_S
819 toplevel_srcdir
820 toplevel_builddir
821 glibcxx_srcdir
822 glibcxx_builddir
823 ac_ct_CXX
824 CXXFLAGS
826 OBJEXT
827 EXEEXT
828 ac_ct_CC
829 CPPFLAGS
830 LDFLAGS
831 CFLAGS
833 AM_BACKSLASH
834 AM_DEFAULT_VERBOSITY
835 AM_DEFAULT_V
836 AM_V
837 am__untar
838 am__tar
839 AMTAR
840 am__leading_dot
841 SET_MAKE
843 mkdir_p
844 MKDIR_P
845 INSTALL_STRIP_PROGRAM
846 STRIP
847 install_sh
848 MAKEINFO
849 AUTOHEADER
850 AUTOMAKE
851 AUTOCONF
852 ACLOCAL
853 VERSION
854 PACKAGE
855 CYGPATH_W
856 am__isrc
857 INSTALL_DATA
858 INSTALL_SCRIPT
859 INSTALL_PROGRAM
860 target_os
861 target_vendor
862 target_cpu
863 target
864 host_os
865 host_vendor
866 host_cpu
867 host
868 build_os
869 build_vendor
870 build_cpu
871 build
872 multi_basedir
873 target_alias
874 host_alias
875 build_alias
876 LIBS
877 ECHO_T
878 ECHO_N
879 ECHO_C
880 DEFS
881 mandir
882 localedir
883 libdir
884 psdir
885 pdfdir
886 dvidir
887 htmldir
888 infodir
889 docdir
890 oldincludedir
891 includedir
892 localstatedir
893 sharedstatedir
894 sysconfdir
895 datadir
896 datarootdir
897 libexecdir
898 sbindir
899 bindir
900 program_transform_name
901 prefix
902 exec_prefix
903 PACKAGE_URL
904 PACKAGE_BUGREPORT
905 PACKAGE_STRING
906 PACKAGE_VERSION
907 PACKAGE_TARNAME
908 PACKAGE_NAME
909 PATH_SEPARATOR
910 SHELL'
911 ac_subst_files=''
912 ac_user_opts='
913 enable_option_checking
914 enable_multilib
915 enable_silent_rules
916 enable_largefile
917 with_target_subdir
918 with_cross_host
919 with_newlib
920 enable_maintainer_mode
921 enable_shared
922 enable_static
923 with_pic
924 enable_fast_install
925 with_gnu_ld
926 enable_libtool_lock
927 enable_hosted_libstdcxx
928 enable_libstdcxx_hosted
929 enable_libstdcxx_verbose
930 enable_libstdcxx_pch
931 with_libstdcxx_lock_policy
932 enable_cstdio
933 enable_clocale
934 enable_nls
935 enable_libstdcxx_allocator
936 enable_cheaders_obsolete
937 enable_cheaders
938 enable_long_long
939 enable_wchar_t
940 enable_c99
941 enable_concept_checks
942 enable_libstdcxx_debug_flags
943 enable_libstdcxx_debug
944 enable_cxx_flags
945 enable_fully_dynamic_string
946 enable_extern_template
947 with_python_dir
948 enable_werror
949 enable_vtable_verify
950 enable_libstdcxx_time
951 enable_tls
952 enable_rpath
953 with_libiconv_prefix
954 with_libiconv_type
955 with_system_libunwind
956 enable_linux_futex
957 enable_symvers
958 enable_libstdcxx_visibility
959 enable_libstdcxx_dual_abi
960 with_default_libstdcxx_abi
961 enable_libstdcxx_threads
962 enable_libstdcxx_filesystem_ts
963 enable_libstdcxx_backtrace
964 enable_libstdcxx_static_eh_pool
965 with_libstdcxx_eh_pool_obj_count
966 with_libstdcxx_zoneinfo
967 enable_cet
968 with_gxx_include_dir
969 enable_version_specific_runtime_libs
970 with_toolexeclibdir
971 with_gcc_major_version_only
973 ac_precious_vars='build_alias
974 host_alias
975 target_alias
977 CFLAGS
978 LDFLAGS
979 LIBS
980 CPPFLAGS
982 CXXFLAGS
985 CXXCPP
986 CXXFILT'
989 # Initialize some variables set by options.
990 ac_init_help=
991 ac_init_version=false
992 ac_unrecognized_opts=
993 ac_unrecognized_sep=
994 # The variables have the same names as the options, with
995 # dashes changed to underlines.
996 cache_file=/dev/null
997 exec_prefix=NONE
998 no_create=
999 no_recursion=
1000 prefix=NONE
1001 program_prefix=NONE
1002 program_suffix=NONE
1003 program_transform_name=s,x,x,
1004 silent=
1005 site=
1006 srcdir=
1007 verbose=
1008 x_includes=NONE
1009 x_libraries=NONE
1011 # Installation directory options.
1012 # These are left unexpanded so users can "make install exec_prefix=/foo"
1013 # and all the variables that are supposed to be based on exec_prefix
1014 # by default will actually change.
1015 # Use braces instead of parens because sh, perl, etc. also accept them.
1016 # (The list follows the same order as the GNU Coding Standards.)
1017 bindir='${exec_prefix}/bin'
1018 sbindir='${exec_prefix}/sbin'
1019 libexecdir='${exec_prefix}/libexec'
1020 datarootdir='${prefix}/share'
1021 datadir='${datarootdir}'
1022 sysconfdir='${prefix}/etc'
1023 sharedstatedir='${prefix}/com'
1024 localstatedir='${prefix}/var'
1025 includedir='${prefix}/include'
1026 oldincludedir='/usr/include'
1027 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1028 infodir='${datarootdir}/info'
1029 htmldir='${docdir}'
1030 dvidir='${docdir}'
1031 pdfdir='${docdir}'
1032 psdir='${docdir}'
1033 libdir='${exec_prefix}/lib'
1034 localedir='${datarootdir}/locale'
1035 mandir='${datarootdir}/man'
1037 ac_prev=
1038 ac_dashdash=
1039 for ac_option
1041 # If the previous option needs an argument, assign it.
1042 if test -n "$ac_prev"; then
1043 eval $ac_prev=\$ac_option
1044 ac_prev=
1045 continue
1048 case $ac_option in
1049 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1050 *=) ac_optarg= ;;
1051 *) ac_optarg=yes ;;
1052 esac
1054 # Accept the important Cygnus configure options, so we can diagnose typos.
1056 case $ac_dashdash$ac_option in
1058 ac_dashdash=yes ;;
1060 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1061 ac_prev=bindir ;;
1062 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1063 bindir=$ac_optarg ;;
1065 -build | --build | --buil | --bui | --bu)
1066 ac_prev=build_alias ;;
1067 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1068 build_alias=$ac_optarg ;;
1070 -cache-file | --cache-file | --cache-fil | --cache-fi \
1071 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1072 ac_prev=cache_file ;;
1073 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1074 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1075 cache_file=$ac_optarg ;;
1077 --config-cache | -C)
1078 cache_file=config.cache ;;
1080 -datadir | --datadir | --datadi | --datad)
1081 ac_prev=datadir ;;
1082 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1083 datadir=$ac_optarg ;;
1085 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1086 | --dataroo | --dataro | --datar)
1087 ac_prev=datarootdir ;;
1088 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1089 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1090 datarootdir=$ac_optarg ;;
1092 -disable-* | --disable-*)
1093 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1094 # Reject names that are not valid shell variable names.
1095 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1096 as_fn_error $? "invalid feature name: $ac_useropt"
1097 ac_useropt_orig=$ac_useropt
1098 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1099 case $ac_user_opts in
1101 "enable_$ac_useropt"
1102 "*) ;;
1103 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1104 ac_unrecognized_sep=', ';;
1105 esac
1106 eval enable_$ac_useropt=no ;;
1108 -docdir | --docdir | --docdi | --doc | --do)
1109 ac_prev=docdir ;;
1110 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1111 docdir=$ac_optarg ;;
1113 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1114 ac_prev=dvidir ;;
1115 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1116 dvidir=$ac_optarg ;;
1118 -enable-* | --enable-*)
1119 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1120 # Reject names that are not valid shell variable names.
1121 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1122 as_fn_error $? "invalid feature name: $ac_useropt"
1123 ac_useropt_orig=$ac_useropt
1124 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1125 case $ac_user_opts in
1127 "enable_$ac_useropt"
1128 "*) ;;
1129 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1130 ac_unrecognized_sep=', ';;
1131 esac
1132 eval enable_$ac_useropt=\$ac_optarg ;;
1134 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1135 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1136 | --exec | --exe | --ex)
1137 ac_prev=exec_prefix ;;
1138 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1139 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1140 | --exec=* | --exe=* | --ex=*)
1141 exec_prefix=$ac_optarg ;;
1143 -gas | --gas | --ga | --g)
1144 # Obsolete; use --with-gas.
1145 with_gas=yes ;;
1147 -help | --help | --hel | --he | -h)
1148 ac_init_help=long ;;
1149 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1150 ac_init_help=recursive ;;
1151 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1152 ac_init_help=short ;;
1154 -host | --host | --hos | --ho)
1155 ac_prev=host_alias ;;
1156 -host=* | --host=* | --hos=* | --ho=*)
1157 host_alias=$ac_optarg ;;
1159 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1160 ac_prev=htmldir ;;
1161 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1162 | --ht=*)
1163 htmldir=$ac_optarg ;;
1165 -includedir | --includedir | --includedi | --included | --include \
1166 | --includ | --inclu | --incl | --inc)
1167 ac_prev=includedir ;;
1168 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1169 | --includ=* | --inclu=* | --incl=* | --inc=*)
1170 includedir=$ac_optarg ;;
1172 -infodir | --infodir | --infodi | --infod | --info | --inf)
1173 ac_prev=infodir ;;
1174 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1175 infodir=$ac_optarg ;;
1177 -libdir | --libdir | --libdi | --libd)
1178 ac_prev=libdir ;;
1179 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1180 libdir=$ac_optarg ;;
1182 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1183 | --libexe | --libex | --libe)
1184 ac_prev=libexecdir ;;
1185 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1186 | --libexe=* | --libex=* | --libe=*)
1187 libexecdir=$ac_optarg ;;
1189 -localedir | --localedir | --localedi | --localed | --locale)
1190 ac_prev=localedir ;;
1191 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1192 localedir=$ac_optarg ;;
1194 -localstatedir | --localstatedir | --localstatedi | --localstated \
1195 | --localstate | --localstat | --localsta | --localst | --locals)
1196 ac_prev=localstatedir ;;
1197 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1198 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1199 localstatedir=$ac_optarg ;;
1201 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1202 ac_prev=mandir ;;
1203 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1204 mandir=$ac_optarg ;;
1206 -nfp | --nfp | --nf)
1207 # Obsolete; use --without-fp.
1208 with_fp=no ;;
1210 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1211 | --no-cr | --no-c | -n)
1212 no_create=yes ;;
1214 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1215 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1216 no_recursion=yes ;;
1218 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1219 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1220 | --oldin | --oldi | --old | --ol | --o)
1221 ac_prev=oldincludedir ;;
1222 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1223 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1224 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1225 oldincludedir=$ac_optarg ;;
1227 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1228 ac_prev=prefix ;;
1229 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1230 prefix=$ac_optarg ;;
1232 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1233 | --program-pre | --program-pr | --program-p)
1234 ac_prev=program_prefix ;;
1235 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1236 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1237 program_prefix=$ac_optarg ;;
1239 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1240 | --program-suf | --program-su | --program-s)
1241 ac_prev=program_suffix ;;
1242 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1243 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1244 program_suffix=$ac_optarg ;;
1246 -program-transform-name | --program-transform-name \
1247 | --program-transform-nam | --program-transform-na \
1248 | --program-transform-n | --program-transform- \
1249 | --program-transform | --program-transfor \
1250 | --program-transfo | --program-transf \
1251 | --program-trans | --program-tran \
1252 | --progr-tra | --program-tr | --program-t)
1253 ac_prev=program_transform_name ;;
1254 -program-transform-name=* | --program-transform-name=* \
1255 | --program-transform-nam=* | --program-transform-na=* \
1256 | --program-transform-n=* | --program-transform-=* \
1257 | --program-transform=* | --program-transfor=* \
1258 | --program-transfo=* | --program-transf=* \
1259 | --program-trans=* | --program-tran=* \
1260 | --progr-tra=* | --program-tr=* | --program-t=*)
1261 program_transform_name=$ac_optarg ;;
1263 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1264 ac_prev=pdfdir ;;
1265 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1266 pdfdir=$ac_optarg ;;
1268 -psdir | --psdir | --psdi | --psd | --ps)
1269 ac_prev=psdir ;;
1270 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1271 psdir=$ac_optarg ;;
1273 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1274 | -silent | --silent | --silen | --sile | --sil)
1275 silent=yes ;;
1277 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1278 ac_prev=sbindir ;;
1279 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1280 | --sbi=* | --sb=*)
1281 sbindir=$ac_optarg ;;
1283 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1284 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1285 | --sharedst | --shareds | --shared | --share | --shar \
1286 | --sha | --sh)
1287 ac_prev=sharedstatedir ;;
1288 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1289 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1290 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1291 | --sha=* | --sh=*)
1292 sharedstatedir=$ac_optarg ;;
1294 -site | --site | --sit)
1295 ac_prev=site ;;
1296 -site=* | --site=* | --sit=*)
1297 site=$ac_optarg ;;
1299 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1300 ac_prev=srcdir ;;
1301 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1302 srcdir=$ac_optarg ;;
1304 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1305 | --syscon | --sysco | --sysc | --sys | --sy)
1306 ac_prev=sysconfdir ;;
1307 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1308 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1309 sysconfdir=$ac_optarg ;;
1311 -target | --target | --targe | --targ | --tar | --ta | --t)
1312 ac_prev=target_alias ;;
1313 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1314 target_alias=$ac_optarg ;;
1316 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1317 verbose=yes ;;
1319 -version | --version | --versio | --versi | --vers | -V)
1320 ac_init_version=: ;;
1322 -with-* | --with-*)
1323 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1324 # Reject names that are not valid shell variable names.
1325 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1326 as_fn_error $? "invalid package name: $ac_useropt"
1327 ac_useropt_orig=$ac_useropt
1328 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1329 case $ac_user_opts in
1331 "with_$ac_useropt"
1332 "*) ;;
1333 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1334 ac_unrecognized_sep=', ';;
1335 esac
1336 eval with_$ac_useropt=\$ac_optarg ;;
1338 -without-* | --without-*)
1339 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1340 # Reject names that are not valid shell variable names.
1341 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1342 as_fn_error $? "invalid package name: $ac_useropt"
1343 ac_useropt_orig=$ac_useropt
1344 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1345 case $ac_user_opts in
1347 "with_$ac_useropt"
1348 "*) ;;
1349 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1350 ac_unrecognized_sep=', ';;
1351 esac
1352 eval with_$ac_useropt=no ;;
1354 --x)
1355 # Obsolete; use --with-x.
1356 with_x=yes ;;
1358 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1359 | --x-incl | --x-inc | --x-in | --x-i)
1360 ac_prev=x_includes ;;
1361 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1362 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1363 x_includes=$ac_optarg ;;
1365 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1366 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1367 ac_prev=x_libraries ;;
1368 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1369 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1370 x_libraries=$ac_optarg ;;
1372 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1373 Try \`$0 --help' for more information"
1376 *=*)
1377 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1378 # Reject names that are not valid shell variable names.
1379 case $ac_envvar in #(
1380 '' | [0-9]* | *[!_$as_cr_alnum]* )
1381 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1382 esac
1383 eval $ac_envvar=\$ac_optarg
1384 export $ac_envvar ;;
1387 # FIXME: should be removed in autoconf 3.0.
1388 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1389 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1390 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1391 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1394 esac
1395 done
1397 if test -n "$ac_prev"; then
1398 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1399 as_fn_error $? "missing argument to $ac_option"
1402 if test -n "$ac_unrecognized_opts"; then
1403 case $enable_option_checking in
1404 no) ;;
1405 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1406 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1407 esac
1410 # Check all directory arguments for consistency.
1411 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1412 datadir sysconfdir sharedstatedir localstatedir includedir \
1413 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1414 libdir localedir mandir
1416 eval ac_val=\$$ac_var
1417 # Remove trailing slashes.
1418 case $ac_val in
1419 */ )
1420 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1421 eval $ac_var=\$ac_val;;
1422 esac
1423 # Be sure to have absolute directory names.
1424 case $ac_val in
1425 [\\/$]* | ?:[\\/]* ) continue;;
1426 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1427 esac
1428 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1429 done
1431 # There might be people who depend on the old broken behavior: `$host'
1432 # used to hold the argument of --host etc.
1433 # FIXME: To remove some day.
1434 build=$build_alias
1435 host=$host_alias
1436 target=$target_alias
1438 # FIXME: To remove some day.
1439 if test "x$host_alias" != x; then
1440 if test "x$build_alias" = x; then
1441 cross_compiling=maybe
1442 elif test "x$build_alias" != "x$host_alias"; then
1443 cross_compiling=yes
1447 ac_tool_prefix=
1448 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1450 test "$silent" = yes && exec 6>/dev/null
1453 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1454 ac_ls_di=`ls -di .` &&
1455 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1456 as_fn_error $? "working directory cannot be determined"
1457 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1458 as_fn_error $? "pwd does not report name of working directory"
1461 # Find the source files, if location was not specified.
1462 if test -z "$srcdir"; then
1463 ac_srcdir_defaulted=yes
1464 # Try the directory containing this script, then the parent directory.
1465 ac_confdir=`$as_dirname -- "$as_myself" ||
1466 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1467 X"$as_myself" : 'X\(//\)[^/]' \| \
1468 X"$as_myself" : 'X\(//\)$' \| \
1469 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1470 $as_echo X"$as_myself" |
1471 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1472 s//\1/
1475 /^X\(\/\/\)[^/].*/{
1476 s//\1/
1479 /^X\(\/\/\)$/{
1480 s//\1/
1483 /^X\(\/\).*/{
1484 s//\1/
1487 s/.*/./; q'`
1488 srcdir=$ac_confdir
1489 if test ! -r "$srcdir/$ac_unique_file"; then
1490 srcdir=..
1492 else
1493 ac_srcdir_defaulted=no
1495 if test ! -r "$srcdir/$ac_unique_file"; then
1496 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1497 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1499 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1500 ac_abs_confdir=`(
1501 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1502 pwd)`
1503 # When building in place, set srcdir=.
1504 if test "$ac_abs_confdir" = "$ac_pwd"; then
1505 srcdir=.
1507 # Remove unnecessary trailing slashes from srcdir.
1508 # Double slashes in file names in object file debugging info
1509 # mess up M-x gdb in Emacs.
1510 case $srcdir in
1511 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1512 esac
1513 for ac_var in $ac_precious_vars; do
1514 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1515 eval ac_env_${ac_var}_value=\$${ac_var}
1516 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1517 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1518 done
1521 # Report the --help message.
1523 if test "$ac_init_help" = "long"; then
1524 # Omit some internal or obsolete options to make the list less imposing.
1525 # This message is too long to be a string in the A/UX 3.1 sh.
1526 cat <<_ACEOF
1527 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1529 Usage: $0 [OPTION]... [VAR=VALUE]...
1531 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1532 VAR=VALUE. See below for descriptions of some of the useful variables.
1534 Defaults for the options are specified in brackets.
1536 Configuration:
1537 -h, --help display this help and exit
1538 --help=short display options specific to this package
1539 --help=recursive display the short help of all the included packages
1540 -V, --version display version information and exit
1541 -q, --quiet, --silent do not print \`checking ...' messages
1542 --cache-file=FILE cache test results in FILE [disabled]
1543 -C, --config-cache alias for \`--cache-file=config.cache'
1544 -n, --no-create do not create output files
1545 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1547 Installation directories:
1548 --prefix=PREFIX install architecture-independent files in PREFIX
1549 [$ac_default_prefix]
1550 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1551 [PREFIX]
1553 By default, \`make install' will install all the files in
1554 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1555 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1556 for instance \`--prefix=\$HOME'.
1558 For better control, use the options below.
1560 Fine tuning of the installation directories:
1561 --bindir=DIR user executables [EPREFIX/bin]
1562 --sbindir=DIR system admin executables [EPREFIX/sbin]
1563 --libexecdir=DIR program executables [EPREFIX/libexec]
1564 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1565 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1566 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1567 --libdir=DIR object code libraries [EPREFIX/lib]
1568 --includedir=DIR C header files [PREFIX/include]
1569 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1570 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1571 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1572 --infodir=DIR info documentation [DATAROOTDIR/info]
1573 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1574 --mandir=DIR man documentation [DATAROOTDIR/man]
1575 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1576 --htmldir=DIR html documentation [DOCDIR]
1577 --dvidir=DIR dvi documentation [DOCDIR]
1578 --pdfdir=DIR pdf documentation [DOCDIR]
1579 --psdir=DIR ps documentation [DOCDIR]
1580 _ACEOF
1582 cat <<\_ACEOF
1584 Program names:
1585 --program-prefix=PREFIX prepend PREFIX to installed program names
1586 --program-suffix=SUFFIX append SUFFIX to installed program names
1587 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1589 System types:
1590 --build=BUILD configure for building on BUILD [guessed]
1591 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1592 --target=TARGET configure for building compilers for TARGET [HOST]
1593 _ACEOF
1596 if test -n "$ac_init_help"; then
1597 case $ac_init_help in
1598 short | recursive ) echo "Configuration of package-unused version-unused:";;
1599 esac
1600 cat <<\_ACEOF
1602 Optional Features:
1603 --disable-option-checking ignore unrecognized --enable/--with options
1604 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1605 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1606 --enable-multilib build many library versions (default)
1607 --enable-silent-rules less verbose build output (undo: "make V=1")
1608 --disable-silent-rules verbose build output (undo: "make V=0")
1609 --disable-largefile omit support for large files
1610 --enable-maintainer-mode
1611 enable make rules and dependencies not useful (and
1612 sometimes confusing) to the casual installer
1613 --enable-shared[=PKGS] build shared libraries [default=yes]
1614 --enable-static[=PKGS] build static libraries [default=yes]
1615 --enable-fast-install[=PKGS]
1616 optimize for fast installation [default=yes]
1617 --disable-libtool-lock avoid locking (might break parallel builds)
1618 --disable-hosted-libstdcxx
1619 only build freestanding C++ runtime support
1620 --disable-libstdcxx-hosted
1621 alias for --disable-hosted-libstdcxx
1622 --disable-libstdcxx-verbose
1623 disable termination messages to standard error
1624 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1625 [default=$is_hosted]
1626 --enable-cstdio[=PACKAGE]
1627 use target-specific I/O package [default=stdio]
1628 --enable-clocale[=MODEL]
1629 use MODEL for target locale package [default=auto]
1630 --enable-nls use Native Language Support (default)
1631 --enable-libstdcxx-allocator[=KIND]
1632 use KIND for target std::allocator base
1633 [default=auto]
1634 --enable-cheaders-obsolete
1635 allow use of obsolete "C" headers for g++
1636 [default=no]
1637 --enable-cheaders[=KIND]
1638 construct "C" headers for g++ [default=$c_model]
1639 --enable-long-long enable template specializations for 'long long'
1640 [default=yes]
1641 --enable-wchar_t enable template specializations for 'wchar_t'
1642 [default=yes]
1643 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1644 --enable-concept-checks use Boost-derived template checks [default=no]
1645 --enable-libstdcxx-debug-flags=FLAGS
1646 pass compiler FLAGS when building debug library
1647 [default="-g3 -O0 -D_GLIBCXX_ASSERTIONS"]
1648 --enable-libstdcxx-debug
1649 build extra debug library [default=no]
1650 --enable-cxx-flags=FLAGS
1651 pass compiler FLAGS when building library [default=]
1652 --enable-fully-dynamic-string
1653 do not put empty strings in per-process static
1654 memory [default=no]
1655 --enable-extern-template
1656 enable extern template [default=yes]
1657 --enable-werror turns on -Werror [default=no]
1658 --enable-vtable-verify enable vtable verify [default=no]
1659 --enable-libstdcxx-time[=KIND]
1660 use KIND for check type [default=auto]
1661 --enable-tls Use thread-local storage [default=yes]
1662 --disable-rpath do not hardcode runtime library paths
1663 --enable-linux-futex use the Linux futex system call [default=default]
1664 --enable-symvers[=STYLE]
1665 enables symbol versioning of the shared library
1666 [default=yes]
1667 --enable-libstdcxx-visibility
1668 enables visibility safe usage [default=yes]
1669 --enable-libstdcxx-dual-abi
1670 support two versions of std::string [default=yes]
1671 --enable-libstdcxx-threads
1672 enable C++11 threads support [default=auto]
1673 --enable-libstdcxx-filesystem-ts
1674 turns on ISO/IEC TS 18822 support [default=auto]
1675 --enable-libstdcxx-backtrace
1676 turns on libbacktrace support [default=auto]
1677 --enable-libstdcxx-static-eh-pool
1678 use a fixed-size static buffer for allocating
1679 exceptions if malloc fails
1680 --enable-cet enable Intel CET in target libraries [default=auto]
1681 --enable-version-specific-runtime-libs
1682 Specify that runtime libraries should be installed
1683 in a compiler-specific directory
1685 Optional Packages:
1686 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1687 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1688 --with-target-subdir=SUBDIR
1689 configuring in a subdirectory
1690 --with-cross-host=HOST configuring with a cross compiler
1691 --with-newlib assume newlib as a system C library
1692 --with-pic try to use only PIC/non-PIC objects [default=use
1693 both]
1694 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1695 --with-libstdcxx-lock-policy={atomic,mutex,auto}
1696 synchronization policy for shared_ptr reference
1697 counting [default=auto]
1698 --with-python-dir the location to install Python modules. This path is
1699 relative starting from the prefix.
1700 --with-gnu-ld assume the C compiler uses GNU ld default=no
1701 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1702 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1703 --with-libiconv-type=TYPE type of library to search for (auto/static/shared)
1704 --with-system-libunwind use installed libunwind
1705 --with-default-libstdcxx-abi
1706 set the std::string ABI to use by default
1707 --with-libstdcxx-eh-pool-obj-count
1708 the number of exceptions that can be allocated from
1709 the pool if malloc fails
1710 --with-libstdcxx-zoneinfo
1711 the location to use for tzdata
1712 --with-gxx-include-dir=DIR
1713 installation directory for include files
1714 --with-toolexeclibdir=DIR
1715 install libraries built with a cross compiler within
1717 --with-gcc-major-version-only
1718 use only GCC major number in filesystem paths
1720 Some influential environment variables:
1721 CC C compiler command
1722 CFLAGS C compiler flags
1723 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1724 nonstandard directory <lib dir>
1725 LIBS libraries to pass to the linker, e.g. -l<library>
1726 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1727 you have headers in a nonstandard directory <include dir>
1728 CXX C++ compiler command
1729 CXXFLAGS C++ compiler flags
1730 CPP C preprocessor
1731 CXXCPP C++ preprocessor
1732 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1733 `c++filt', `gc++filt' on PATH.
1735 Use these variables to override the choices made by `configure' or to help
1736 it to find libraries and programs with nonstandard names/locations.
1738 Report bugs to the package provider.
1739 _ACEOF
1740 ac_status=$?
1743 if test "$ac_init_help" = "recursive"; then
1744 # If there are subdirs, report their specific --help.
1745 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1746 test -d "$ac_dir" ||
1747 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1748 continue
1749 ac_builddir=.
1751 case "$ac_dir" in
1752 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1754 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1755 # A ".." for each directory in $ac_dir_suffix.
1756 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1757 case $ac_top_builddir_sub in
1758 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1759 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1760 esac ;;
1761 esac
1762 ac_abs_top_builddir=$ac_pwd
1763 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1764 # for backward compatibility:
1765 ac_top_builddir=$ac_top_build_prefix
1767 case $srcdir in
1768 .) # We are building in place.
1769 ac_srcdir=.
1770 ac_top_srcdir=$ac_top_builddir_sub
1771 ac_abs_top_srcdir=$ac_pwd ;;
1772 [\\/]* | ?:[\\/]* ) # Absolute name.
1773 ac_srcdir=$srcdir$ac_dir_suffix;
1774 ac_top_srcdir=$srcdir
1775 ac_abs_top_srcdir=$srcdir ;;
1776 *) # Relative name.
1777 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1778 ac_top_srcdir=$ac_top_build_prefix$srcdir
1779 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1780 esac
1781 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1783 cd "$ac_dir" || { ac_status=$?; continue; }
1784 # Check for guested configure.
1785 if test -f "$ac_srcdir/configure.gnu"; then
1786 echo &&
1787 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1788 elif test -f "$ac_srcdir/configure"; then
1789 echo &&
1790 $SHELL "$ac_srcdir/configure" --help=recursive
1791 else
1792 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1793 fi || ac_status=$?
1794 cd "$ac_pwd" || { ac_status=$?; break; }
1795 done
1798 test -n "$ac_init_help" && exit $ac_status
1799 if $ac_init_version; then
1800 cat <<\_ACEOF
1801 package-unused configure version-unused
1802 generated by GNU Autoconf 2.69
1804 Copyright (C) 2012 Free Software Foundation, Inc.
1805 This configure script is free software; the Free Software Foundation
1806 gives unlimited permission to copy, distribute and modify it.
1807 _ACEOF
1808 exit
1811 ## ------------------------ ##
1812 ## Autoconf initialization. ##
1813 ## ------------------------ ##
1815 # ac_fn_c_try_compile LINENO
1816 # --------------------------
1817 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1818 ac_fn_c_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_c_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_c_try_compile
1853 # ac_fn_cxx_try_compile LINENO
1854 # ----------------------------
1855 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1856 ac_fn_cxx_try_compile ()
1858 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1859 rm -f conftest.$ac_objext
1860 if { { ac_try="$ac_compile"
1861 case "(($ac_try" in
1862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1863 *) ac_try_echo=$ac_try;;
1864 esac
1865 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1866 $as_echo "$ac_try_echo"; } >&5
1867 (eval "$ac_compile") 2>conftest.err
1868 ac_status=$?
1869 if test -s conftest.err; then
1870 grep -v '^ *+' conftest.err >conftest.er1
1871 cat conftest.er1 >&5
1872 mv -f conftest.er1 conftest.err
1874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1875 test $ac_status = 0; } && {
1876 test -z "$ac_cxx_werror_flag" ||
1877 test ! -s conftest.err
1878 } && test -s conftest.$ac_objext; then :
1879 ac_retval=0
1880 else
1881 $as_echo "$as_me: failed program was:" >&5
1882 sed 's/^/| /' conftest.$ac_ext >&5
1884 ac_retval=1
1886 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1887 as_fn_set_status $ac_retval
1889 } # ac_fn_cxx_try_compile
1891 # ac_fn_c_try_cpp LINENO
1892 # ----------------------
1893 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1894 ac_fn_c_try_cpp ()
1896 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1897 if { { ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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; } > conftest.i && {
1913 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1914 test ! -s conftest.err
1915 }; then :
1916 ac_retval=0
1917 else
1918 $as_echo "$as_me: failed program was:" >&5
1919 sed 's/^/| /' conftest.$ac_ext >&5
1921 ac_retval=1
1923 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1924 as_fn_set_status $ac_retval
1926 } # ac_fn_c_try_cpp
1928 # ac_fn_c_try_link LINENO
1929 # -----------------------
1930 # Try to link conftest.$ac_ext, and return whether this succeeded.
1931 ac_fn_c_try_link ()
1933 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1934 rm -f conftest.$ac_objext conftest$ac_exeext
1935 if { { ac_try="$ac_link"
1936 case "(($ac_try" in
1937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1938 *) ac_try_echo=$ac_try;;
1939 esac
1940 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1941 $as_echo "$ac_try_echo"; } >&5
1942 (eval "$ac_link") 2>conftest.err
1943 ac_status=$?
1944 if test -s conftest.err; then
1945 grep -v '^ *+' conftest.err >conftest.er1
1946 cat conftest.er1 >&5
1947 mv -f conftest.er1 conftest.err
1949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1950 test $ac_status = 0; } && {
1951 test -z "$ac_c_werror_flag" ||
1952 test ! -s conftest.err
1953 } && test -s conftest$ac_exeext && {
1954 test "$cross_compiling" = yes ||
1955 test -x conftest$ac_exeext
1956 }; then :
1957 ac_retval=0
1958 else
1959 $as_echo "$as_me: failed program was:" >&5
1960 sed 's/^/| /' conftest.$ac_ext >&5
1962 ac_retval=1
1964 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1965 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1966 # interfere with the next link command; also delete a directory that is
1967 # left behind by Apple's compiler. We do this before executing the actions.
1968 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1969 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1970 as_fn_set_status $ac_retval
1972 } # ac_fn_c_try_link
1974 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1975 # -------------------------------------------------------
1976 # Tests whether HEADER exists and can be compiled using the include files in
1977 # INCLUDES, setting the cache variable VAR accordingly.
1978 ac_fn_c_check_header_compile ()
1980 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1982 $as_echo_n "checking for $2... " >&6; }
1983 if eval \${$3+:} false; then :
1984 $as_echo_n "(cached) " >&6
1985 else
1986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1987 /* end confdefs.h. */
1989 #include <$2>
1990 _ACEOF
1991 if ac_fn_c_try_compile "$LINENO"; then :
1992 eval "$3=yes"
1993 else
1994 eval "$3=no"
1996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1998 eval ac_res=\$$3
1999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2000 $as_echo "$ac_res" >&6; }
2001 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2003 } # ac_fn_c_check_header_compile
2005 # ac_fn_c_try_run LINENO
2006 # ----------------------
2007 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2008 # that executables *can* be run.
2009 ac_fn_c_try_run ()
2011 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2012 if { { ac_try="$ac_link"
2013 case "(($ac_try" in
2014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2015 *) ac_try_echo=$ac_try;;
2016 esac
2017 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2018 $as_echo "$ac_try_echo"; } >&5
2019 (eval "$ac_link") 2>&5
2020 ac_status=$?
2021 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2022 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2023 { { case "(($ac_try" in
2024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2025 *) ac_try_echo=$ac_try;;
2026 esac
2027 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2028 $as_echo "$ac_try_echo"; } >&5
2029 (eval "$ac_try") 2>&5
2030 ac_status=$?
2031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2032 test $ac_status = 0; }; }; then :
2033 ac_retval=0
2034 else
2035 $as_echo "$as_me: program exited with status $ac_status" >&5
2036 $as_echo "$as_me: failed program was:" >&5
2037 sed 's/^/| /' conftest.$ac_ext >&5
2039 ac_retval=$ac_status
2041 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2042 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2043 as_fn_set_status $ac_retval
2045 } # ac_fn_c_try_run
2047 # ac_fn_c_check_func LINENO FUNC VAR
2048 # ----------------------------------
2049 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2050 ac_fn_c_check_func ()
2052 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2054 $as_echo_n "checking for $2... " >&6; }
2055 if eval \${$3+:} false; then :
2056 $as_echo_n "(cached) " >&6
2057 else
2058 if test x$gcc_no_link = xyes; then
2059 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2062 /* end confdefs.h. */
2063 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2064 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2065 #define $2 innocuous_$2
2067 /* System header to define __stub macros and hopefully few prototypes,
2068 which can conflict with char $2 (); below.
2069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2070 <limits.h> exists even on freestanding compilers. */
2072 #ifdef __STDC__
2073 # include <limits.h>
2074 #else
2075 # include <assert.h>
2076 #endif
2078 #undef $2
2080 /* Override any GCC internal prototype to avoid an error.
2081 Use char because int might match the return type of a GCC
2082 builtin and then its argument prototype would still apply. */
2083 #ifdef __cplusplus
2084 extern "C"
2085 #endif
2086 char $2 ();
2087 /* The GNU C library defines this for functions which it implements
2088 to always fail with ENOSYS. Some functions are actually named
2089 something starting with __ and the normal name is an alias. */
2090 #if defined __stub_$2 || defined __stub___$2
2091 choke me
2092 #endif
2095 main ()
2097 return $2 ();
2099 return 0;
2101 _ACEOF
2102 if ac_fn_c_try_link "$LINENO"; then :
2103 eval "$3=yes"
2104 else
2105 eval "$3=no"
2107 rm -f core conftest.err conftest.$ac_objext \
2108 conftest$ac_exeext conftest.$ac_ext
2110 eval ac_res=\$$3
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2112 $as_echo "$ac_res" >&6; }
2113 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2115 } # ac_fn_c_check_func
2117 # ac_fn_cxx_try_cpp LINENO
2118 # ------------------------
2119 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2120 ac_fn_cxx_try_cpp ()
2122 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2123 if { { ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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; } > conftest.i && {
2139 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2140 test ! -s conftest.err
2141 }; then :
2142 ac_retval=0
2143 else
2144 $as_echo "$as_me: failed program was:" >&5
2145 sed 's/^/| /' conftest.$ac_ext >&5
2147 ac_retval=1
2149 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2150 as_fn_set_status $ac_retval
2152 } # ac_fn_cxx_try_cpp
2154 # ac_fn_cxx_try_link LINENO
2155 # -------------------------
2156 # Try to link conftest.$ac_ext, and return whether this succeeded.
2157 ac_fn_cxx_try_link ()
2159 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2160 rm -f conftest.$ac_objext conftest$ac_exeext
2161 if { { ac_try="$ac_link"
2162 case "(($ac_try" in
2163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2164 *) ac_try_echo=$ac_try;;
2165 esac
2166 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2167 $as_echo "$ac_try_echo"; } >&5
2168 (eval "$ac_link") 2>conftest.err
2169 ac_status=$?
2170 if test -s conftest.err; then
2171 grep -v '^ *+' conftest.err >conftest.er1
2172 cat conftest.er1 >&5
2173 mv -f conftest.er1 conftest.err
2175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2176 test $ac_status = 0; } && {
2177 test -z "$ac_cxx_werror_flag" ||
2178 test ! -s conftest.err
2179 } && test -s conftest$ac_exeext && {
2180 test "$cross_compiling" = yes ||
2181 test -x conftest$ac_exeext
2182 }; then :
2183 ac_retval=0
2184 else
2185 $as_echo "$as_me: failed program was:" >&5
2186 sed 's/^/| /' conftest.$ac_ext >&5
2188 ac_retval=1
2190 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2191 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2192 # interfere with the next link command; also delete a directory that is
2193 # left behind by Apple's compiler. We do this before executing the actions.
2194 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2195 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2196 as_fn_set_status $ac_retval
2198 } # ac_fn_cxx_try_link
2200 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2201 # -------------------------------------------------------
2202 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2203 # the include files in INCLUDES and setting the cache variable VAR
2204 # accordingly.
2205 ac_fn_c_check_header_mongrel ()
2207 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2208 if eval \${$3+:} false; then :
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2210 $as_echo_n "checking for $2... " >&6; }
2211 if eval \${$3+:} false; then :
2212 $as_echo_n "(cached) " >&6
2214 eval ac_res=\$$3
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2216 $as_echo "$ac_res" >&6; }
2217 else
2218 # Is the header compilable?
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2220 $as_echo_n "checking $2 usability... " >&6; }
2221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2222 /* end confdefs.h. */
2224 #include <$2>
2225 _ACEOF
2226 if ac_fn_c_try_compile "$LINENO"; then :
2227 ac_header_compiler=yes
2228 else
2229 ac_header_compiler=no
2231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2233 $as_echo "$ac_header_compiler" >&6; }
2235 # Is the header present?
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2237 $as_echo_n "checking $2 presence... " >&6; }
2238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2239 /* end confdefs.h. */
2240 #include <$2>
2241 _ACEOF
2242 if ac_fn_c_try_cpp "$LINENO"; then :
2243 ac_header_preproc=yes
2244 else
2245 ac_header_preproc=no
2247 rm -f conftest.err conftest.i conftest.$ac_ext
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2249 $as_echo "$ac_header_preproc" >&6; }
2251 # So? What about this header?
2252 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2253 yes:no: )
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2255 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2257 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2259 no:yes:* )
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2261 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2263 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2265 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2267 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2269 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2271 esac
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2273 $as_echo_n "checking for $2... " >&6; }
2274 if eval \${$3+:} false; then :
2275 $as_echo_n "(cached) " >&6
2276 else
2277 eval "$3=\$ac_header_compiler"
2279 eval ac_res=\$$3
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2281 $as_echo "$ac_res" >&6; }
2283 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2285 } # ac_fn_c_check_header_mongrel
2287 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2288 # ---------------------------------------------------------
2289 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2290 # the include files in INCLUDES and setting the cache variable VAR
2291 # accordingly.
2292 ac_fn_cxx_check_header_mongrel ()
2294 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2295 if eval \${$3+:} false; then :
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2297 $as_echo_n "checking for $2... " >&6; }
2298 if eval \${$3+:} false; then :
2299 $as_echo_n "(cached) " >&6
2301 eval ac_res=\$$3
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2303 $as_echo "$ac_res" >&6; }
2304 else
2305 # Is the header compilable?
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2307 $as_echo_n "checking $2 usability... " >&6; }
2308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2309 /* end confdefs.h. */
2311 #include <$2>
2312 _ACEOF
2313 if ac_fn_cxx_try_compile "$LINENO"; then :
2314 ac_header_compiler=yes
2315 else
2316 ac_header_compiler=no
2318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2320 $as_echo "$ac_header_compiler" >&6; }
2322 # Is the header present?
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2324 $as_echo_n "checking $2 presence... " >&6; }
2325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2326 /* end confdefs.h. */
2327 #include <$2>
2328 _ACEOF
2329 if ac_fn_cxx_try_cpp "$LINENO"; then :
2330 ac_header_preproc=yes
2331 else
2332 ac_header_preproc=no
2334 rm -f conftest.err conftest.i conftest.$ac_ext
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2336 $as_echo "$ac_header_preproc" >&6; }
2338 # So? What about this header?
2339 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2340 yes:no: )
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2342 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2344 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2346 no:yes:* )
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2348 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2350 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2352 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2354 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2356 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2358 esac
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2360 $as_echo_n "checking for $2... " >&6; }
2361 if eval \${$3+:} false; then :
2362 $as_echo_n "(cached) " >&6
2363 else
2364 eval "$3=\$ac_header_compiler"
2366 eval ac_res=\$$3
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2368 $as_echo "$ac_res" >&6; }
2370 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2372 } # ac_fn_cxx_check_header_mongrel
2374 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2375 # --------------------------------------------
2376 # Tries to find the compile-time value of EXPR in a program that includes
2377 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2378 # computed
2379 ac_fn_c_compute_int ()
2381 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2382 if test "$cross_compiling" = yes; then
2383 # Depending upon the size, compute the lo and hi bounds.
2384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2385 /* end confdefs.h. */
2388 main ()
2390 static int test_array [1 - 2 * !(($2) >= 0)];
2391 test_array [0] = 0;
2392 return test_array [0];
2395 return 0;
2397 _ACEOF
2398 if ac_fn_c_try_compile "$LINENO"; then :
2399 ac_lo=0 ac_mid=0
2400 while :; do
2401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2402 /* end confdefs.h. */
2405 main ()
2407 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2408 test_array [0] = 0;
2409 return test_array [0];
2412 return 0;
2414 _ACEOF
2415 if ac_fn_c_try_compile "$LINENO"; then :
2416 ac_hi=$ac_mid; break
2417 else
2418 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2419 if test $ac_lo -le $ac_mid; then
2420 ac_lo= ac_hi=
2421 break
2423 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2426 done
2427 else
2428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2429 /* end confdefs.h. */
2432 main ()
2434 static int test_array [1 - 2 * !(($2) < 0)];
2435 test_array [0] = 0;
2436 return test_array [0];
2439 return 0;
2441 _ACEOF
2442 if ac_fn_c_try_compile "$LINENO"; then :
2443 ac_hi=-1 ac_mid=-1
2444 while :; do
2445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2446 /* end confdefs.h. */
2449 main ()
2451 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2452 test_array [0] = 0;
2453 return test_array [0];
2456 return 0;
2458 _ACEOF
2459 if ac_fn_c_try_compile "$LINENO"; then :
2460 ac_lo=$ac_mid; break
2461 else
2462 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2463 if test $ac_mid -le $ac_hi; then
2464 ac_lo= ac_hi=
2465 break
2467 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2470 done
2471 else
2472 ac_lo= ac_hi=
2474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2477 # Binary search between lo and hi bounds.
2478 while test "x$ac_lo" != "x$ac_hi"; do
2479 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2481 /* end confdefs.h. */
2484 main ()
2486 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2487 test_array [0] = 0;
2488 return test_array [0];
2491 return 0;
2493 _ACEOF
2494 if ac_fn_c_try_compile "$LINENO"; then :
2495 ac_hi=$ac_mid
2496 else
2497 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2500 done
2501 case $ac_lo in #((
2502 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2503 '') ac_retval=1 ;;
2504 esac
2505 else
2506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2507 /* end confdefs.h. */
2509 static long int longval () { return $2; }
2510 static unsigned long int ulongval () { return $2; }
2511 #include <stdio.h>
2512 #include <stdlib.h>
2514 main ()
2517 FILE *f = fopen ("conftest.val", "w");
2518 if (! f)
2519 return 1;
2520 if (($2) < 0)
2522 long int i = longval ();
2523 if (i != ($2))
2524 return 1;
2525 fprintf (f, "%ld", i);
2527 else
2529 unsigned long int i = ulongval ();
2530 if (i != ($2))
2531 return 1;
2532 fprintf (f, "%lu", i);
2534 /* Do not output a trailing newline, as this causes \r\n confusion
2535 on some platforms. */
2536 return ferror (f) || fclose (f) != 0;
2539 return 0;
2541 _ACEOF
2542 if ac_fn_c_try_run "$LINENO"; then :
2543 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2544 else
2545 ac_retval=1
2547 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2548 conftest.$ac_objext conftest.beam conftest.$ac_ext
2549 rm -f conftest.val
2552 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2553 as_fn_set_status $ac_retval
2555 } # ac_fn_c_compute_int
2557 # ac_fn_cxx_check_func LINENO FUNC VAR
2558 # ------------------------------------
2559 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2560 ac_fn_cxx_check_func ()
2562 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2564 $as_echo_n "checking for $2... " >&6; }
2565 if eval \${$3+:} false; then :
2566 $as_echo_n "(cached) " >&6
2567 else
2568 if test x$gcc_no_link = xyes; then
2569 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2572 /* end confdefs.h. */
2573 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2575 #define $2 innocuous_$2
2577 /* System header to define __stub macros and hopefully few prototypes,
2578 which can conflict with char $2 (); below.
2579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2580 <limits.h> exists even on freestanding compilers. */
2582 #ifdef __STDC__
2583 # include <limits.h>
2584 #else
2585 # include <assert.h>
2586 #endif
2588 #undef $2
2590 /* Override any GCC internal prototype to avoid an error.
2591 Use char because int might match the return type of a GCC
2592 builtin and then its argument prototype would still apply. */
2593 #ifdef __cplusplus
2594 extern "C"
2595 #endif
2596 char $2 ();
2597 /* The GNU C library defines this for functions which it implements
2598 to always fail with ENOSYS. Some functions are actually named
2599 something starting with __ and the normal name is an alias. */
2600 #if defined __stub_$2 || defined __stub___$2
2601 choke me
2602 #endif
2605 main ()
2607 return $2 ();
2609 return 0;
2611 _ACEOF
2612 if ac_fn_cxx_try_link "$LINENO"; then :
2613 eval "$3=yes"
2614 else
2615 eval "$3=no"
2617 rm -f core conftest.err conftest.$ac_objext \
2618 conftest$ac_exeext 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_func
2627 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2628 # ---------------------------------------------
2629 # Tests whether TYPE exists after having included INCLUDES, setting cache
2630 # variable VAR accordingly.
2631 ac_fn_cxx_check_type ()
2633 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2635 $as_echo_n "checking for $2... " >&6; }
2636 if eval \${$3+:} false; then :
2637 $as_echo_n "(cached) " >&6
2638 else
2639 eval "$3=no"
2640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2641 /* end confdefs.h. */
2644 main ()
2646 if (sizeof ($2))
2647 return 0;
2649 return 0;
2651 _ACEOF
2652 if ac_fn_cxx_try_compile "$LINENO"; then :
2653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2654 /* end confdefs.h. */
2657 main ()
2659 if (sizeof (($2)))
2660 return 0;
2662 return 0;
2664 _ACEOF
2665 if ac_fn_cxx_try_compile "$LINENO"; then :
2667 else
2668 eval "$3=yes"
2670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2674 eval ac_res=\$$3
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2676 $as_echo "$ac_res" >&6; }
2677 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2679 } # ac_fn_cxx_check_type
2681 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2682 # ---------------------------------------------
2683 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2684 # accordingly.
2685 ac_fn_c_check_decl ()
2687 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2688 as_decl_name=`echo $2|sed 's/ *(.*//'`
2689 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2691 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2692 if eval \${$3+:} false; then :
2693 $as_echo_n "(cached) " >&6
2694 else
2695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2696 /* end confdefs.h. */
2699 main ()
2701 #ifndef $as_decl_name
2702 #ifdef __cplusplus
2703 (void) $as_decl_use;
2704 #else
2705 (void) $as_decl_name;
2706 #endif
2707 #endif
2710 return 0;
2712 _ACEOF
2713 if ac_fn_c_try_compile "$LINENO"; then :
2714 eval "$3=yes"
2715 else
2716 eval "$3=no"
2718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2720 eval ac_res=\$$3
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2722 $as_echo "$ac_res" >&6; }
2723 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2725 } # ac_fn_c_check_decl
2726 cat >config.log <<_ACEOF
2727 This file contains any messages produced by compilers while
2728 running configure, to aid debugging if configure makes a mistake.
2730 It was created by package-unused $as_me version-unused, which was
2731 generated by GNU Autoconf 2.69. Invocation command line was
2733 $ $0 $@
2735 _ACEOF
2736 exec 5>>config.log
2738 cat <<_ASUNAME
2739 ## --------- ##
2740 ## Platform. ##
2741 ## --------- ##
2743 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2744 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2745 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2746 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2747 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2749 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2750 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2752 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2753 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2754 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2755 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2756 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2757 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2758 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2760 _ASUNAME
2762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2763 for as_dir in $PATH
2765 IFS=$as_save_IFS
2766 test -z "$as_dir" && as_dir=.
2767 $as_echo "PATH: $as_dir"
2768 done
2769 IFS=$as_save_IFS
2771 } >&5
2773 cat >&5 <<_ACEOF
2776 ## ----------- ##
2777 ## Core tests. ##
2778 ## ----------- ##
2780 _ACEOF
2783 # Keep a trace of the command line.
2784 # Strip out --no-create and --no-recursion so they do not pile up.
2785 # Strip out --silent because we don't want to record it for future runs.
2786 # Also quote any args containing shell meta-characters.
2787 # Make two passes to allow for proper duplicate-argument suppression.
2788 ac_configure_args=
2789 ac_configure_args0=
2790 ac_configure_args1=
2791 ac_must_keep_next=false
2792 for ac_pass in 1 2
2794 for ac_arg
2796 case $ac_arg in
2797 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2798 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2799 | -silent | --silent | --silen | --sile | --sil)
2800 continue ;;
2801 *\'*)
2802 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2803 esac
2804 case $ac_pass in
2805 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2807 as_fn_append ac_configure_args1 " '$ac_arg'"
2808 if test $ac_must_keep_next = true; then
2809 ac_must_keep_next=false # Got value, back to normal.
2810 else
2811 case $ac_arg in
2812 *=* | --config-cache | -C | -disable-* | --disable-* \
2813 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2814 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2815 | -with-* | --with-* | -without-* | --without-* | --x)
2816 case "$ac_configure_args0 " in
2817 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2818 esac
2820 -* ) ac_must_keep_next=true ;;
2821 esac
2823 as_fn_append ac_configure_args " '$ac_arg'"
2825 esac
2826 done
2827 done
2828 { ac_configure_args0=; unset ac_configure_args0;}
2829 { ac_configure_args1=; unset ac_configure_args1;}
2831 # When interrupted or exit'd, cleanup temporary files, and complete
2832 # config.log. We remove comments because anyway the quotes in there
2833 # would cause problems or look ugly.
2834 # WARNING: Use '\'' to represent an apostrophe within the trap.
2835 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2836 trap 'exit_status=$?
2837 # Save into config.log some information that might help in debugging.
2839 echo
2841 $as_echo "## ---------------- ##
2842 ## Cache variables. ##
2843 ## ---------------- ##"
2844 echo
2845 # The following way of writing the cache mishandles newlines in values,
2847 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2848 eval ac_val=\$$ac_var
2849 case $ac_val in #(
2850 *${as_nl}*)
2851 case $ac_var in #(
2852 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2853 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2854 esac
2855 case $ac_var in #(
2856 _ | IFS | as_nl) ;; #(
2857 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2858 *) { eval $ac_var=; unset $ac_var;} ;;
2859 esac ;;
2860 esac
2861 done
2862 (set) 2>&1 |
2863 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2864 *${as_nl}ac_space=\ *)
2865 sed -n \
2866 "s/'\''/'\''\\\\'\'''\''/g;
2867 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2868 ;; #(
2870 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2872 esac |
2873 sort
2875 echo
2877 $as_echo "## ----------------- ##
2878 ## Output variables. ##
2879 ## ----------------- ##"
2880 echo
2881 for ac_var in $ac_subst_vars
2883 eval ac_val=\$$ac_var
2884 case $ac_val in
2885 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2886 esac
2887 $as_echo "$ac_var='\''$ac_val'\''"
2888 done | sort
2889 echo
2891 if test -n "$ac_subst_files"; then
2892 $as_echo "## ------------------- ##
2893 ## File substitutions. ##
2894 ## ------------------- ##"
2895 echo
2896 for ac_var in $ac_subst_files
2898 eval ac_val=\$$ac_var
2899 case $ac_val in
2900 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2901 esac
2902 $as_echo "$ac_var='\''$ac_val'\''"
2903 done | sort
2904 echo
2907 if test -s confdefs.h; then
2908 $as_echo "## ----------- ##
2909 ## confdefs.h. ##
2910 ## ----------- ##"
2911 echo
2912 cat confdefs.h
2913 echo
2915 test "$ac_signal" != 0 &&
2916 $as_echo "$as_me: caught signal $ac_signal"
2917 $as_echo "$as_me: exit $exit_status"
2918 } >&5
2919 rm -f core *.core core.conftest.* &&
2920 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2921 exit $exit_status
2923 for ac_signal in 1 2 13 15; do
2924 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2925 done
2926 ac_signal=0
2928 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2929 rm -f -r conftest* confdefs.h
2931 $as_echo "/* confdefs.h */" > confdefs.h
2933 # Predefined preprocessor variables.
2935 cat >>confdefs.h <<_ACEOF
2936 #define PACKAGE_NAME "$PACKAGE_NAME"
2937 _ACEOF
2939 cat >>confdefs.h <<_ACEOF
2940 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2941 _ACEOF
2943 cat >>confdefs.h <<_ACEOF
2944 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2945 _ACEOF
2947 cat >>confdefs.h <<_ACEOF
2948 #define PACKAGE_STRING "$PACKAGE_STRING"
2949 _ACEOF
2951 cat >>confdefs.h <<_ACEOF
2952 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2953 _ACEOF
2955 cat >>confdefs.h <<_ACEOF
2956 #define PACKAGE_URL "$PACKAGE_URL"
2957 _ACEOF
2960 # Let the site file select an alternate cache file if it wants to.
2961 # Prefer an explicitly selected file to automatically selected ones.
2962 ac_site_file1=NONE
2963 ac_site_file2=NONE
2964 if test -n "$CONFIG_SITE"; then
2965 # We do not want a PATH search for config.site.
2966 case $CONFIG_SITE in #((
2967 -*) ac_site_file1=./$CONFIG_SITE;;
2968 */*) ac_site_file1=$CONFIG_SITE;;
2969 *) ac_site_file1=./$CONFIG_SITE;;
2970 esac
2971 elif test "x$prefix" != xNONE; then
2972 ac_site_file1=$prefix/share/config.site
2973 ac_site_file2=$prefix/etc/config.site
2974 else
2975 ac_site_file1=$ac_default_prefix/share/config.site
2976 ac_site_file2=$ac_default_prefix/etc/config.site
2978 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2980 test "x$ac_site_file" = xNONE && continue
2981 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2983 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2984 sed 's/^/| /' "$ac_site_file" >&5
2985 . "$ac_site_file" \
2986 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2987 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2988 as_fn_error $? "failed to load site script $ac_site_file
2989 See \`config.log' for more details" "$LINENO" 5; }
2991 done
2993 if test -r "$cache_file"; then
2994 # Some versions of bash will fail to source /dev/null (special files
2995 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2996 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2998 $as_echo "$as_me: loading cache $cache_file" >&6;}
2999 case $cache_file in
3000 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3001 *) . "./$cache_file";;
3002 esac
3004 else
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3006 $as_echo "$as_me: creating cache $cache_file" >&6;}
3007 >$cache_file
3010 # Check that the precious variables saved in the cache have kept the same
3011 # value.
3012 ac_cache_corrupted=false
3013 for ac_var in $ac_precious_vars; do
3014 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3015 eval ac_new_set=\$ac_env_${ac_var}_set
3016 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3017 eval ac_new_val=\$ac_env_${ac_var}_value
3018 case $ac_old_set,$ac_new_set in
3019 set,)
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3021 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3022 ac_cache_corrupted=: ;;
3023 ,set)
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3025 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3026 ac_cache_corrupted=: ;;
3027 ,);;
3029 if test "x$ac_old_val" != "x$ac_new_val"; then
3030 # differences in whitespace do not lead to failure.
3031 ac_old_val_w=`echo x $ac_old_val`
3032 ac_new_val_w=`echo x $ac_new_val`
3033 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3035 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3036 ac_cache_corrupted=:
3037 else
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3039 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3040 eval $ac_var=\$ac_old_val
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3043 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3045 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3046 fi;;
3047 esac
3048 # Pass precious variables to config.status.
3049 if test "$ac_new_set" = set; then
3050 case $ac_new_val in
3051 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3052 *) ac_arg=$ac_var=$ac_new_val ;;
3053 esac
3054 case " $ac_configure_args " in
3055 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3056 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3057 esac
3059 done
3060 if $ac_cache_corrupted; then
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3062 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3064 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3065 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3067 ## -------------------- ##
3068 ## Main body of script. ##
3069 ## -------------------- ##
3071 ac_ext=c
3072 ac_cpp='$CPP $CPPFLAGS'
3073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3082 ac_config_headers="$ac_config_headers config.h"
3085 # This works around the fact that libtool configuration may change LD
3086 # for this particular configuration, but some shells, instead of
3087 # keeping the changes in LD private, export them just because LD is
3088 # exported. Only used at the end of this file.
3089 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
3091 # Find the rest of the source tree framework.
3092 # Default to --enable-multilib
3093 # Check whether --enable-multilib was given.
3094 if test "${enable_multilib+set}" = set; then :
3095 enableval=$enable_multilib; case "$enableval" in
3096 yes) multilib=yes ;;
3097 no) multilib=no ;;
3098 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
3099 esac
3100 else
3101 multilib=yes
3105 # We may get other options which we leave undocumented:
3106 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3107 # See config-ml.in if you want the gory details.
3109 if test "$srcdir" = "."; then
3110 if test "$with_target_subdir" != "."; then
3111 multi_basedir="$srcdir/$with_multisrctop../.."
3112 else
3113 multi_basedir="$srcdir/$with_multisrctop.."
3115 else
3116 multi_basedir="$srcdir/.."
3120 # Even if the default multilib is not a cross compilation,
3121 # it may be that some of the other multilibs are.
3122 if test $cross_compiling = no && test $multilib = yes \
3123 && test "x${with_multisubdir}" != x ; then
3124 cross_compiling=maybe
3127 ac_config_commands="$ac_config_commands default-1"
3130 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
3132 # You will slowly go insane if you do not grok the following fact: when
3133 # building v3 as part of the compiler, the top-level /target/ becomes the
3134 # library's /host/. configure then causes --target to default to --host,
3135 # exactly like any other package using autoconf. Therefore, 'target' and
3136 # 'host' will always be the same. This makes sense both for native and
3137 # cross compilers, just think about it for a little while. :-)
3139 # Also, if v3 is being configured as part of a cross compiler, the top-level
3140 # configure script will pass the "real" host as $with_cross_host.
3142 # Do not delete or change the following two lines. For why, see
3143 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
3144 ac_aux_dir=
3145 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3146 if test -f "$ac_dir/install-sh"; then
3147 ac_aux_dir=$ac_dir
3148 ac_install_sh="$ac_aux_dir/install-sh -c"
3149 break
3150 elif test -f "$ac_dir/install.sh"; then
3151 ac_aux_dir=$ac_dir
3152 ac_install_sh="$ac_aux_dir/install.sh -c"
3153 break
3154 elif test -f "$ac_dir/shtool"; then
3155 ac_aux_dir=$ac_dir
3156 ac_install_sh="$ac_aux_dir/shtool install -c"
3157 break
3159 done
3160 if test -z "$ac_aux_dir"; then
3161 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3164 # These three variables are undocumented and unsupported,
3165 # and are intended to be withdrawn in a future Autoconf release.
3166 # They can cause serious problems if a builder's source tree is in a directory
3167 # whose full name contains unusual characters.
3168 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3169 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3170 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3173 # Make sure we can run config.sub.
3174 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3175 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3178 $as_echo_n "checking build system type... " >&6; }
3179 if ${ac_cv_build+:} false; then :
3180 $as_echo_n "(cached) " >&6
3181 else
3182 ac_build_alias=$build_alias
3183 test "x$ac_build_alias" = x &&
3184 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3185 test "x$ac_build_alias" = x &&
3186 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3187 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3188 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3192 $as_echo "$ac_cv_build" >&6; }
3193 case $ac_cv_build in
3194 *-*-*) ;;
3195 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3196 esac
3197 build=$ac_cv_build
3198 ac_save_IFS=$IFS; IFS='-'
3199 set x $ac_cv_build
3200 shift
3201 build_cpu=$1
3202 build_vendor=$2
3203 shift; shift
3204 # Remember, the first character of IFS is used to create $*,
3205 # except with old shells:
3206 build_os=$*
3207 IFS=$ac_save_IFS
3208 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3212 $as_echo_n "checking host system type... " >&6; }
3213 if ${ac_cv_host+:} false; then :
3214 $as_echo_n "(cached) " >&6
3215 else
3216 if test "x$host_alias" = x; then
3217 ac_cv_host=$ac_cv_build
3218 else
3219 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3220 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3225 $as_echo "$ac_cv_host" >&6; }
3226 case $ac_cv_host in
3227 *-*-*) ;;
3228 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3229 esac
3230 host=$ac_cv_host
3231 ac_save_IFS=$IFS; IFS='-'
3232 set x $ac_cv_host
3233 shift
3234 host_cpu=$1
3235 host_vendor=$2
3236 shift; shift
3237 # Remember, the first character of IFS is used to create $*,
3238 # except with old shells:
3239 host_os=$*
3240 IFS=$ac_save_IFS
3241 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3245 $as_echo_n "checking target system type... " >&6; }
3246 if ${ac_cv_target+:} false; then :
3247 $as_echo_n "(cached) " >&6
3248 else
3249 if test "x$target_alias" = x; then
3250 ac_cv_target=$ac_cv_host
3251 else
3252 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3253 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3258 $as_echo "$ac_cv_target" >&6; }
3259 case $ac_cv_target in
3260 *-*-*) ;;
3261 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
3262 esac
3263 target=$ac_cv_target
3264 ac_save_IFS=$IFS; IFS='-'
3265 set x $ac_cv_target
3266 shift
3267 target_cpu=$1
3268 target_vendor=$2
3269 shift; shift
3270 # Remember, the first character of IFS is used to create $*,
3271 # except with old shells:
3272 target_os=$*
3273 IFS=$ac_save_IFS
3274 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3277 # The aliases save the names the user supplied, while $host etc.
3278 # will get canonicalized.
3279 test -n "$target_alias" &&
3280 test "$program_prefix$program_suffix$program_transform_name" = \
3281 NONENONEs,x,x, &&
3282 program_prefix=${target_alias}-
3284 target_alias=${target_alias-$host_alias}
3286 # Handy for debugging:
3287 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3289 if test "$build" != "$host"; then
3290 # We are being configured with some form of cross compiler.
3291 GLIBCXX_IS_NATIVE=false
3292 case "$host","$target" in
3293 # Darwin crosses can use the host system's libraries and headers,
3294 # because of the fat library support. Of course, it must be the
3295 # same version of Darwin on both sides. Allow the user to
3296 # just say --target=foo-darwin without a version number to mean
3297 # "the version on this system".
3298 *-*-darwin*,*-*-darwin*)
3299 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3300 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3301 if test $hostos = $targetos -o $targetos = darwin ; then
3302 GLIBCXX_IS_NATIVE=true
3309 esac
3310 else
3311 GLIBCXX_IS_NATIVE=true
3314 # In the case that we're building without headers, we won't have <stdio.h>
3315 # available. In these cases, we have to instruct autotools to never include
3316 # <stdio.h> as a part of default headers.
3318 if test "x$with_headers" = "xno"; then
3319 ac_includes_default=`echo "$ac_includes_default" | sed '/^#include <stdio.h>$/d'`
3323 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3324 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3325 # 1.x: minimum required version
3326 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3327 # of other PACKAGE_* variables will, however, and there's nothing
3328 # we can do about that; they come from AC_INIT).
3329 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3330 # file in the top srcdir, etc, etc), so stop complaining.
3331 # no-dependencies: turns off auto dependency generation (just for now)
3332 # no-dist: we don't want 'dist' and related rules.
3333 # -Wall: turns on all automake warnings...
3334 # -Wno-portability: ...except this one, since GNU make is now required.
3335 am__api_version='1.15'
3337 # Find a good install program. We prefer a C program (faster),
3338 # so one script is as good as another. But avoid the broken or
3339 # incompatible versions:
3340 # SysV /etc/install, /usr/sbin/install
3341 # SunOS /usr/etc/install
3342 # IRIX /sbin/install
3343 # AIX /bin/install
3344 # AmigaOS /C/install, which installs bootblocks on floppy discs
3345 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3346 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3347 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3348 # OS/2's system install, which has a completely different semantic
3349 # ./install, which can be erroneously created by make from ./install.sh.
3350 # Reject install programs that cannot install multiple files.
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3352 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3353 if test -z "$INSTALL"; then
3354 if ${ac_cv_path_install+:} false; then :
3355 $as_echo_n "(cached) " >&6
3356 else
3357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3358 for as_dir in $PATH
3360 IFS=$as_save_IFS
3361 test -z "$as_dir" && as_dir=.
3362 # Account for people who put trailing slashes in PATH elements.
3363 case $as_dir/ in #((
3364 ./ | .// | /[cC]/* | \
3365 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3366 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3367 /usr/ucb/* ) ;;
3369 # OSF1 and SCO ODT 3.0 have their own names for install.
3370 # Don't use installbsd from OSF since it installs stuff as root
3371 # by default.
3372 for ac_prog in ginstall scoinst install; do
3373 for ac_exec_ext in '' $ac_executable_extensions; do
3374 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3375 if test $ac_prog = install &&
3376 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3377 # AIX install. It has an incompatible calling convention.
3379 elif test $ac_prog = install &&
3380 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3381 # program-specific install script used by HP pwplus--don't use.
3383 else
3384 rm -rf conftest.one conftest.two conftest.dir
3385 echo one > conftest.one
3386 echo two > conftest.two
3387 mkdir conftest.dir
3388 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3389 test -s conftest.one && test -s conftest.two &&
3390 test -s conftest.dir/conftest.one &&
3391 test -s conftest.dir/conftest.two
3392 then
3393 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3394 break 3
3398 done
3399 done
3401 esac
3403 done
3404 IFS=$as_save_IFS
3406 rm -rf conftest.one conftest.two conftest.dir
3409 if test "${ac_cv_path_install+set}" = set; then
3410 INSTALL=$ac_cv_path_install
3411 else
3412 # As a last resort, use the slow shell script. Don't cache a
3413 # value for INSTALL within a source directory, because that will
3414 # break other packages using the cache if that directory is
3415 # removed, or if the value is a relative name.
3416 INSTALL=$ac_install_sh
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3420 $as_echo "$INSTALL" >&6; }
3422 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3423 # It thinks the first close brace ends the variable substitution.
3424 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3426 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3428 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3431 $as_echo_n "checking whether build environment is sane... " >&6; }
3432 # Reject unsafe characters in $srcdir or the absolute working directory
3433 # name. Accept space and tab only in the latter.
3434 am_lf='
3436 case `pwd` in
3437 *[\\\"\#\$\&\'\`$am_lf]*)
3438 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3439 esac
3440 case $srcdir in
3441 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3442 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3443 esac
3445 # Do 'set' in a subshell so we don't clobber the current shell's
3446 # arguments. Must try -L first in case configure is actually a
3447 # symlink; some systems play weird games with the mod time of symlinks
3448 # (eg FreeBSD returns the mod time of the symlink's containing
3449 # directory).
3450 if (
3451 am_has_slept=no
3452 for am_try in 1 2; do
3453 echo "timestamp, slept: $am_has_slept" > conftest.file
3454 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3455 if test "$*" = "X"; then
3456 # -L didn't work.
3457 set X `ls -t "$srcdir/configure" conftest.file`
3459 if test "$*" != "X $srcdir/configure conftest.file" \
3460 && test "$*" != "X conftest.file $srcdir/configure"; then
3462 # If neither matched, then we have a broken ls. This can happen
3463 # if, for instance, CONFIG_SHELL is bash and it inherits a
3464 # broken ls alias from the environment. This has actually
3465 # happened. Such a system could not be considered "sane".
3466 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3467 alias in your environment" "$LINENO" 5
3469 if test "$2" = conftest.file || test $am_try -eq 2; then
3470 break
3472 # Just in case.
3473 sleep 1
3474 am_has_slept=yes
3475 done
3476 test "$2" = conftest.file
3478 then
3479 # Ok.
3481 else
3482 as_fn_error $? "newly created file is older than distributed files!
3483 Check your system clock" "$LINENO" 5
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3486 $as_echo "yes" >&6; }
3487 # If we didn't sleep, we still need to ensure time stamps of config.status and
3488 # generated files are strictly newer.
3489 am_sleep_pid=
3490 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3491 ( sleep 1 ) &
3492 am_sleep_pid=$!
3495 rm -f conftest.file
3497 test "$program_prefix" != NONE &&
3498 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3499 # Use a double $ so make ignores it.
3500 test "$program_suffix" != NONE &&
3501 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3502 # Double any \ or $.
3503 # By default was `s,x,x', remove it if useless.
3504 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3505 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3507 # Expand $ac_aux_dir to an absolute path.
3508 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3510 if test x"${MISSING+set}" != xset; then
3511 case $am_aux_dir in
3512 *\ * | *\ *)
3513 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3515 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3516 esac
3518 # Use eval to expand $SHELL
3519 if eval "$MISSING --is-lightweight"; then
3520 am_missing_run="$MISSING "
3521 else
3522 am_missing_run=
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3524 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3527 if test x"${install_sh+set}" != xset; then
3528 case $am_aux_dir in
3529 *\ * | *\ *)
3530 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3532 install_sh="\${SHELL} $am_aux_dir/install-sh"
3533 esac
3536 # Installed binaries are usually stripped using 'strip' when the user
3537 # run "make install-strip". However 'strip' might not be the right
3538 # tool to use in cross-compilation environments, therefore Automake
3539 # will honor the 'STRIP' environment variable to overrule this program.
3540 if test "$cross_compiling" != no; then
3541 if test -n "$ac_tool_prefix"; then
3542 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3543 set dummy ${ac_tool_prefix}strip; ac_word=$2
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3545 $as_echo_n "checking for $ac_word... " >&6; }
3546 if ${ac_cv_prog_STRIP+:} false; then :
3547 $as_echo_n "(cached) " >&6
3548 else
3549 if test -n "$STRIP"; then
3550 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3551 else
3552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3553 for as_dir in $PATH
3555 IFS=$as_save_IFS
3556 test -z "$as_dir" && as_dir=.
3557 for ac_exec_ext in '' $ac_executable_extensions; do
3558 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3559 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3561 break 2
3563 done
3564 done
3565 IFS=$as_save_IFS
3569 STRIP=$ac_cv_prog_STRIP
3570 if test -n "$STRIP"; then
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3572 $as_echo "$STRIP" >&6; }
3573 else
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3575 $as_echo "no" >&6; }
3580 if test -z "$ac_cv_prog_STRIP"; then
3581 ac_ct_STRIP=$STRIP
3582 # Extract the first word of "strip", so it can be a program name with args.
3583 set dummy strip; ac_word=$2
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3585 $as_echo_n "checking for $ac_word... " >&6; }
3586 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3587 $as_echo_n "(cached) " >&6
3588 else
3589 if test -n "$ac_ct_STRIP"; then
3590 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3591 else
3592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3593 for as_dir in $PATH
3595 IFS=$as_save_IFS
3596 test -z "$as_dir" && as_dir=.
3597 for ac_exec_ext in '' $ac_executable_extensions; do
3598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3599 ac_cv_prog_ac_ct_STRIP="strip"
3600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3601 break 2
3603 done
3604 done
3605 IFS=$as_save_IFS
3609 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3610 if test -n "$ac_ct_STRIP"; then
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3612 $as_echo "$ac_ct_STRIP" >&6; }
3613 else
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3615 $as_echo "no" >&6; }
3618 if test "x$ac_ct_STRIP" = x; then
3619 STRIP=":"
3620 else
3621 case $cross_compiling:$ac_tool_warned in
3622 yes:)
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3624 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3625 ac_tool_warned=yes ;;
3626 esac
3627 STRIP=$ac_ct_STRIP
3629 else
3630 STRIP="$ac_cv_prog_STRIP"
3634 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3637 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3638 if test -z "$MKDIR_P"; then
3639 if ${ac_cv_path_mkdir+:} false; then :
3640 $as_echo_n "(cached) " >&6
3641 else
3642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3643 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3645 IFS=$as_save_IFS
3646 test -z "$as_dir" && as_dir=.
3647 for ac_prog in mkdir gmkdir; do
3648 for ac_exec_ext in '' $ac_executable_extensions; do
3649 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3650 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3651 'mkdir (GNU coreutils) '* | \
3652 'mkdir (coreutils) '* | \
3653 'mkdir (fileutils) '4.1*)
3654 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3655 break 3;;
3656 esac
3657 done
3658 done
3659 done
3660 IFS=$as_save_IFS
3664 test -d ./--version && rmdir ./--version
3665 if test "${ac_cv_path_mkdir+set}" = set; then
3666 MKDIR_P="$ac_cv_path_mkdir -p"
3667 else
3668 # As a last resort, use the slow shell script. Don't cache a
3669 # value for MKDIR_P within a source directory, because that will
3670 # break other packages using the cache if that directory is
3671 # removed, or if the value is a relative name.
3672 MKDIR_P="$ac_install_sh -d"
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3676 $as_echo "$MKDIR_P" >&6; }
3678 for ac_prog in gawk mawk nawk awk
3680 # Extract the first word of "$ac_prog", so it can be a program name with args.
3681 set dummy $ac_prog; ac_word=$2
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3683 $as_echo_n "checking for $ac_word... " >&6; }
3684 if ${ac_cv_prog_AWK+:} false; then :
3685 $as_echo_n "(cached) " >&6
3686 else
3687 if test -n "$AWK"; then
3688 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3689 else
3690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3691 for as_dir in $PATH
3693 IFS=$as_save_IFS
3694 test -z "$as_dir" && as_dir=.
3695 for ac_exec_ext in '' $ac_executable_extensions; do
3696 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3697 ac_cv_prog_AWK="$ac_prog"
3698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3699 break 2
3701 done
3702 done
3703 IFS=$as_save_IFS
3707 AWK=$ac_cv_prog_AWK
3708 if test -n "$AWK"; then
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3710 $as_echo "$AWK" >&6; }
3711 else
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3713 $as_echo "no" >&6; }
3717 test -n "$AWK" && break
3718 done
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3721 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3722 set x ${MAKE-make}
3723 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3724 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3725 $as_echo_n "(cached) " >&6
3726 else
3727 cat >conftest.make <<\_ACEOF
3728 SHELL = /bin/sh
3729 all:
3730 @echo '@@@%%%=$(MAKE)=@@@%%%'
3731 _ACEOF
3732 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3733 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3734 *@@@%%%=?*=@@@%%%*)
3735 eval ac_cv_prog_make_${ac_make}_set=yes;;
3737 eval ac_cv_prog_make_${ac_make}_set=no;;
3738 esac
3739 rm -f conftest.make
3741 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3743 $as_echo "yes" >&6; }
3744 SET_MAKE=
3745 else
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3747 $as_echo "no" >&6; }
3748 SET_MAKE="MAKE=${MAKE-make}"
3751 rm -rf .tst 2>/dev/null
3752 mkdir .tst 2>/dev/null
3753 if test -d .tst; then
3754 am__leading_dot=.
3755 else
3756 am__leading_dot=_
3758 rmdir .tst 2>/dev/null
3760 # Check whether --enable-silent-rules was given.
3761 if test "${enable_silent_rules+set}" = set; then :
3762 enableval=$enable_silent_rules;
3765 case $enable_silent_rules in # (((
3766 yes) AM_DEFAULT_VERBOSITY=0;;
3767 no) AM_DEFAULT_VERBOSITY=1;;
3768 *) AM_DEFAULT_VERBOSITY=1;;
3769 esac
3770 am_make=${MAKE-make}
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3772 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3773 if ${am_cv_make_support_nested_variables+:} false; then :
3774 $as_echo_n "(cached) " >&6
3775 else
3776 if $as_echo 'TRUE=$(BAR$(V))
3777 BAR0=false
3778 BAR1=true
3780 am__doit:
3781 @$(TRUE)
3782 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3783 am_cv_make_support_nested_variables=yes
3784 else
3785 am_cv_make_support_nested_variables=no
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3789 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3790 if test $am_cv_make_support_nested_variables = yes; then
3791 AM_V='$(V)'
3792 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3793 else
3794 AM_V=$AM_DEFAULT_VERBOSITY
3795 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3797 AM_BACKSLASH='\'
3799 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3800 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3801 # is not polluted with repeated "-I."
3802 am__isrc=' -I$(srcdir)'
3803 # test to see if srcdir already configured
3804 if test -f $srcdir/config.status; then
3805 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3809 # test whether we have cygpath
3810 if test -z "$CYGPATH_W"; then
3811 if (cygpath --version) >/dev/null 2>/dev/null; then
3812 CYGPATH_W='cygpath -w'
3813 else
3814 CYGPATH_W=echo
3819 # Define the identity of the package.
3820 PACKAGE='libstdc++'
3821 VERSION='version-unused'
3824 # Some tools Automake needs.
3826 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3829 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3832 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3835 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3838 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3840 # For better backward compatibility. To be removed once Automake 1.9.x
3841 # dies out for good. For more background, see:
3842 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3843 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3844 mkdir_p='$(MKDIR_P)'
3846 # We need awk for the "check" target (and possibly the TAP driver). The
3847 # system "awk" is bad on some platforms.
3848 # Always define AMTAR for backward compatibility. Yes, it's still used
3849 # in the wild :-( We should find a proper way to deprecate it ...
3850 AMTAR='$${TAR-tar}'
3853 # We'll loop over all known methods to create a tar archive until one works.
3854 _am_tools='gnutar pax cpio none'
3856 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3863 # POSIX will say in a future version that running "rm -f" with no argument
3864 # is OK; and we want to be able to make that assumption in our Makefile
3865 # recipes. So use an aggressive probe to check that the usage we want is
3866 # actually supported "in the wild" to an acceptable degree.
3867 # See automake bug#10828.
3868 # To make any issue more visible, cause the running configure to be aborted
3869 # by default if the 'rm' program in use doesn't match our expectations; the
3870 # user can still override this though.
3871 if rm -f && rm -fr && rm -rf; then : OK; else
3872 cat >&2 <<'END'
3873 Oops!
3875 Your 'rm' program seems unable to run without file operands specified
3876 on the command line, even when the '-f' option is present. This is contrary
3877 to the behaviour of most rm programs out there, and not conforming with
3878 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3880 Please tell bug-automake@gnu.org about your system, including the value
3881 of your $PATH and any error possibly output before this message. This
3882 can help us improve future automake versions.
3885 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3886 echo 'Configuration will proceed anyway, since you have set the' >&2
3887 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3888 echo >&2
3889 else
3890 cat >&2 <<'END'
3891 Aborting the configuration process, to ensure you take notice of the issue.
3893 You can download and install GNU coreutils to get an 'rm' implementation
3894 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3896 If you want to complete the configuration process using your problematic
3897 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3898 to "yes", and re-run configure.
3901 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3908 # -fno-builtin must be present here so that a non-conflicting form of
3909 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3911 save_CXXFLAGS="$CXXFLAGS"
3912 CXXFLAGS="$CXXFLAGS -fno-builtin"
3913 ac_ext=c
3914 ac_cpp='$CPP $CPPFLAGS'
3915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3918 if test -n "$ac_tool_prefix"; then
3919 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3920 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3922 $as_echo_n "checking for $ac_word... " >&6; }
3923 if ${ac_cv_prog_CC+:} false; then :
3924 $as_echo_n "(cached) " >&6
3925 else
3926 if test -n "$CC"; then
3927 ac_cv_prog_CC="$CC" # Let the user override the test.
3928 else
3929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3930 for as_dir in $PATH
3932 IFS=$as_save_IFS
3933 test -z "$as_dir" && as_dir=.
3934 for ac_exec_ext in '' $ac_executable_extensions; do
3935 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3936 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3938 break 2
3940 done
3941 done
3942 IFS=$as_save_IFS
3946 CC=$ac_cv_prog_CC
3947 if test -n "$CC"; then
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3949 $as_echo "$CC" >&6; }
3950 else
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3952 $as_echo "no" >&6; }
3957 if test -z "$ac_cv_prog_CC"; then
3958 ac_ct_CC=$CC
3959 # Extract the first word of "gcc", so it can be a program name with args.
3960 set dummy gcc; ac_word=$2
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3962 $as_echo_n "checking for $ac_word... " >&6; }
3963 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3964 $as_echo_n "(cached) " >&6
3965 else
3966 if test -n "$ac_ct_CC"; then
3967 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3968 else
3969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3970 for as_dir in $PATH
3972 IFS=$as_save_IFS
3973 test -z "$as_dir" && as_dir=.
3974 for ac_exec_ext in '' $ac_executable_extensions; do
3975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3976 ac_cv_prog_ac_ct_CC="gcc"
3977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3978 break 2
3980 done
3981 done
3982 IFS=$as_save_IFS
3986 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3987 if test -n "$ac_ct_CC"; then
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3989 $as_echo "$ac_ct_CC" >&6; }
3990 else
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3992 $as_echo "no" >&6; }
3995 if test "x$ac_ct_CC" = x; then
3996 CC=""
3997 else
3998 case $cross_compiling:$ac_tool_warned in
3999 yes:)
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4001 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4002 ac_tool_warned=yes ;;
4003 esac
4004 CC=$ac_ct_CC
4006 else
4007 CC="$ac_cv_prog_CC"
4010 if test -z "$CC"; then
4011 if test -n "$ac_tool_prefix"; then
4012 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4013 set dummy ${ac_tool_prefix}cc; ac_word=$2
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4015 $as_echo_n "checking for $ac_word... " >&6; }
4016 if ${ac_cv_prog_CC+:} false; then :
4017 $as_echo_n "(cached) " >&6
4018 else
4019 if test -n "$CC"; then
4020 ac_cv_prog_CC="$CC" # Let the user override the test.
4021 else
4022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4023 for as_dir in $PATH
4025 IFS=$as_save_IFS
4026 test -z "$as_dir" && as_dir=.
4027 for ac_exec_ext in '' $ac_executable_extensions; do
4028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4029 ac_cv_prog_CC="${ac_tool_prefix}cc"
4030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4031 break 2
4033 done
4034 done
4035 IFS=$as_save_IFS
4039 CC=$ac_cv_prog_CC
4040 if test -n "$CC"; then
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4042 $as_echo "$CC" >&6; }
4043 else
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4045 $as_echo "no" >&6; }
4051 if test -z "$CC"; then
4052 # Extract the first word of "cc", so it can be a program name with args.
4053 set dummy cc; ac_word=$2
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4055 $as_echo_n "checking for $ac_word... " >&6; }
4056 if ${ac_cv_prog_CC+:} false; then :
4057 $as_echo_n "(cached) " >&6
4058 else
4059 if test -n "$CC"; then
4060 ac_cv_prog_CC="$CC" # Let the user override the test.
4061 else
4062 ac_prog_rejected=no
4063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4064 for as_dir in $PATH
4066 IFS=$as_save_IFS
4067 test -z "$as_dir" && as_dir=.
4068 for ac_exec_ext in '' $ac_executable_extensions; do
4069 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4070 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4071 ac_prog_rejected=yes
4072 continue
4074 ac_cv_prog_CC="cc"
4075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4076 break 2
4078 done
4079 done
4080 IFS=$as_save_IFS
4082 if test $ac_prog_rejected = yes; then
4083 # We found a bogon in the path, so make sure we never use it.
4084 set dummy $ac_cv_prog_CC
4085 shift
4086 if test $# != 0; then
4087 # We chose a different compiler from the bogus one.
4088 # However, it has the same basename, so the bogon will be chosen
4089 # first if we set CC to just the basename; use the full file name.
4090 shift
4091 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4096 CC=$ac_cv_prog_CC
4097 if test -n "$CC"; then
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4099 $as_echo "$CC" >&6; }
4100 else
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4102 $as_echo "no" >&6; }
4107 if test -z "$CC"; then
4108 if test -n "$ac_tool_prefix"; then
4109 for ac_prog in cl.exe
4111 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4112 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4114 $as_echo_n "checking for $ac_word... " >&6; }
4115 if ${ac_cv_prog_CC+:} false; then :
4116 $as_echo_n "(cached) " >&6
4117 else
4118 if test -n "$CC"; then
4119 ac_cv_prog_CC="$CC" # Let the user override the test.
4120 else
4121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4122 for as_dir in $PATH
4124 IFS=$as_save_IFS
4125 test -z "$as_dir" && as_dir=.
4126 for ac_exec_ext in '' $ac_executable_extensions; do
4127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4128 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4130 break 2
4132 done
4133 done
4134 IFS=$as_save_IFS
4138 CC=$ac_cv_prog_CC
4139 if test -n "$CC"; then
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4141 $as_echo "$CC" >&6; }
4142 else
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4144 $as_echo "no" >&6; }
4148 test -n "$CC" && break
4149 done
4151 if test -z "$CC"; then
4152 ac_ct_CC=$CC
4153 for ac_prog in cl.exe
4155 # Extract the first word of "$ac_prog", so it can be a program name with args.
4156 set dummy $ac_prog; ac_word=$2
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4158 $as_echo_n "checking for $ac_word... " >&6; }
4159 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4160 $as_echo_n "(cached) " >&6
4161 else
4162 if test -n "$ac_ct_CC"; then
4163 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4164 else
4165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4166 for as_dir in $PATH
4168 IFS=$as_save_IFS
4169 test -z "$as_dir" && as_dir=.
4170 for ac_exec_ext in '' $ac_executable_extensions; do
4171 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4172 ac_cv_prog_ac_ct_CC="$ac_prog"
4173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4174 break 2
4176 done
4177 done
4178 IFS=$as_save_IFS
4182 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4183 if test -n "$ac_ct_CC"; then
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4185 $as_echo "$ac_ct_CC" >&6; }
4186 else
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4188 $as_echo "no" >&6; }
4192 test -n "$ac_ct_CC" && break
4193 done
4195 if test "x$ac_ct_CC" = x; then
4196 CC=""
4197 else
4198 case $cross_compiling:$ac_tool_warned in
4199 yes:)
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4201 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4202 ac_tool_warned=yes ;;
4203 esac
4204 CC=$ac_ct_CC
4211 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4212 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4213 as_fn_error $? "no acceptable C compiler found in \$PATH
4214 See \`config.log' for more details" "$LINENO" 5; }
4216 # Provide some information about the compiler.
4217 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4218 set X $ac_compile
4219 ac_compiler=$2
4220 for ac_option in --version -v -V -qversion; do
4221 { { ac_try="$ac_compiler $ac_option >&5"
4222 case "(($ac_try" in
4223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4224 *) ac_try_echo=$ac_try;;
4225 esac
4226 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4227 $as_echo "$ac_try_echo"; } >&5
4228 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4229 ac_status=$?
4230 if test -s conftest.err; then
4231 sed '10a\
4232 ... rest of stderr output deleted ...
4233 10q' conftest.err >conftest.er1
4234 cat conftest.er1 >&5
4236 rm -f conftest.er1 conftest.err
4237 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4238 test $ac_status = 0; }
4239 done
4241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4242 /* end confdefs.h. */
4243 #include <stdio.h>
4245 main ()
4247 printf ("hello world\n");
4249 return 0;
4251 _ACEOF
4252 # FIXME: Cleanup?
4253 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4254 (eval $ac_link) 2>&5
4255 ac_status=$?
4256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4257 test $ac_status = 0; }; then :
4258 gcc_no_link=no
4259 else
4260 gcc_no_link=yes
4262 if test x$gcc_no_link = xyes; then
4263 # Setting cross_compile will disable run tests; it will
4264 # also disable AC_CHECK_FILE but that's generally
4265 # correct if we can't link.
4266 cross_compiling=yes
4267 EXEEXT=
4268 else
4269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4270 /* end confdefs.h. */
4273 main ()
4277 return 0;
4279 _ACEOF
4280 ac_clean_files_save=$ac_clean_files
4281 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4282 # Try to create an executable without -o first, disregard a.out.
4283 # It will help us diagnose broken compilers, and finding out an intuition
4284 # of exeext.
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4286 $as_echo_n "checking whether the C compiler works... " >&6; }
4287 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4289 # The possible output files:
4290 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4292 ac_rmfiles=
4293 for ac_file in $ac_files
4295 case $ac_file in
4296 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4297 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4298 esac
4299 done
4300 rm -f $ac_rmfiles
4302 if { { ac_try="$ac_link_default"
4303 case "(($ac_try" in
4304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4305 *) ac_try_echo=$ac_try;;
4306 esac
4307 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4308 $as_echo "$ac_try_echo"; } >&5
4309 (eval "$ac_link_default") 2>&5
4310 ac_status=$?
4311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4312 test $ac_status = 0; }; then :
4313 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4314 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4315 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4316 # so that the user can short-circuit this test for compilers unknown to
4317 # Autoconf.
4318 for ac_file in $ac_files ''
4320 test -f "$ac_file" || continue
4321 case $ac_file in
4322 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4324 [ab].out )
4325 # We found the default executable, but exeext='' is most
4326 # certainly right.
4327 break;;
4328 *.* )
4329 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4330 then :; else
4331 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4333 # We set ac_cv_exeext here because the later test for it is not
4334 # safe: cross compilers may not add the suffix if given an `-o'
4335 # argument, so we may need to know it at that point already.
4336 # Even if this section looks crufty: it has the advantage of
4337 # actually working.
4338 break;;
4340 break;;
4341 esac
4342 done
4343 test "$ac_cv_exeext" = no && ac_cv_exeext=
4345 else
4346 ac_file=''
4348 if test -z "$ac_file"; then :
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4350 $as_echo "no" >&6; }
4351 $as_echo "$as_me: failed program was:" >&5
4352 sed 's/^/| /' conftest.$ac_ext >&5
4354 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4355 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4356 as_fn_error 77 "C compiler cannot create executables
4357 See \`config.log' for more details" "$LINENO" 5; }
4358 else
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4360 $as_echo "yes" >&6; }
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4363 $as_echo_n "checking for C compiler default output file name... " >&6; }
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4365 $as_echo "$ac_file" >&6; }
4366 ac_exeext=$ac_cv_exeext
4368 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4369 ac_clean_files=$ac_clean_files_save
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4371 $as_echo_n "checking for suffix of executables... " >&6; }
4372 if { { ac_try="$ac_link"
4373 case "(($ac_try" in
4374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4375 *) ac_try_echo=$ac_try;;
4376 esac
4377 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4378 $as_echo "$ac_try_echo"; } >&5
4379 (eval "$ac_link") 2>&5
4380 ac_status=$?
4381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4382 test $ac_status = 0; }; then :
4383 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4384 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4385 # work properly (i.e., refer to `conftest.exe'), while it won't with
4386 # `rm'.
4387 for ac_file in conftest.exe conftest conftest.*; do
4388 test -f "$ac_file" || continue
4389 case $ac_file in
4390 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4391 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4392 break;;
4393 * ) break;;
4394 esac
4395 done
4396 else
4397 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4398 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4399 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4400 See \`config.log' for more details" "$LINENO" 5; }
4402 rm -f conftest conftest$ac_cv_exeext
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4404 $as_echo "$ac_cv_exeext" >&6; }
4406 rm -f conftest.$ac_ext
4407 EXEEXT=$ac_cv_exeext
4408 ac_exeext=$EXEEXT
4409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4410 /* end confdefs.h. */
4411 #include <stdio.h>
4413 main ()
4415 FILE *f = fopen ("conftest.out", "w");
4416 return ferror (f) || fclose (f) != 0;
4419 return 0;
4421 _ACEOF
4422 ac_clean_files="$ac_clean_files conftest.out"
4423 # Check that the compiler produces executables we can run. If not, either
4424 # the compiler is broken, or we cross compile.
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4426 $as_echo_n "checking whether we are cross compiling... " >&6; }
4427 if test "$cross_compiling" != yes; then
4428 { { ac_try="$ac_link"
4429 case "(($ac_try" in
4430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4431 *) ac_try_echo=$ac_try;;
4432 esac
4433 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4434 $as_echo "$ac_try_echo"; } >&5
4435 (eval "$ac_link") 2>&5
4436 ac_status=$?
4437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4438 test $ac_status = 0; }
4439 if { ac_try='./conftest$ac_cv_exeext'
4440 { { case "(($ac_try" in
4441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4442 *) ac_try_echo=$ac_try;;
4443 esac
4444 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4445 $as_echo "$ac_try_echo"; } >&5
4446 (eval "$ac_try") 2>&5
4447 ac_status=$?
4448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4449 test $ac_status = 0; }; }; then
4450 cross_compiling=no
4451 else
4452 if test "$cross_compiling" = maybe; then
4453 cross_compiling=yes
4454 else
4455 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4456 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4457 as_fn_error $? "cannot run C compiled programs.
4458 If you meant to cross compile, use \`--host'.
4459 See \`config.log' for more details" "$LINENO" 5; }
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4464 $as_echo "$cross_compiling" >&6; }
4466 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4467 ac_clean_files=$ac_clean_files_save
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4470 $as_echo_n "checking for suffix of object files... " >&6; }
4471 if ${ac_cv_objext+:} false; then :
4472 $as_echo_n "(cached) " >&6
4473 else
4474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4475 /* end confdefs.h. */
4478 main ()
4482 return 0;
4484 _ACEOF
4485 rm -f conftest.o conftest.obj
4486 if { { ac_try="$ac_compile"
4487 case "(($ac_try" in
4488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4489 *) ac_try_echo=$ac_try;;
4490 esac
4491 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4492 $as_echo "$ac_try_echo"; } >&5
4493 (eval "$ac_compile") 2>&5
4494 ac_status=$?
4495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4496 test $ac_status = 0; }; then :
4497 for ac_file in conftest.o conftest.obj conftest.*; do
4498 test -f "$ac_file" || continue;
4499 case $ac_file in
4500 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4501 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4502 break;;
4503 esac
4504 done
4505 else
4506 $as_echo "$as_me: failed program was:" >&5
4507 sed 's/^/| /' conftest.$ac_ext >&5
4509 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4510 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4511 as_fn_error $? "cannot compute suffix of object files: cannot compile
4512 See \`config.log' for more details" "$LINENO" 5; }
4514 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4517 $as_echo "$ac_cv_objext" >&6; }
4518 OBJEXT=$ac_cv_objext
4519 ac_objext=$OBJEXT
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4521 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4522 if ${ac_cv_c_compiler_gnu+:} false; then :
4523 $as_echo_n "(cached) " >&6
4524 else
4525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4526 /* end confdefs.h. */
4529 main ()
4531 #ifndef __GNUC__
4532 choke me
4533 #endif
4536 return 0;
4538 _ACEOF
4539 if ac_fn_c_try_compile "$LINENO"; then :
4540 ac_compiler_gnu=yes
4541 else
4542 ac_compiler_gnu=no
4544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4545 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4549 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4550 if test $ac_compiler_gnu = yes; then
4551 GCC=yes
4552 else
4553 GCC=
4555 ac_test_CFLAGS=${CFLAGS+set}
4556 ac_save_CFLAGS=$CFLAGS
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4558 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4559 if ${ac_cv_prog_cc_g+:} false; then :
4560 $as_echo_n "(cached) " >&6
4561 else
4562 ac_save_c_werror_flag=$ac_c_werror_flag
4563 ac_c_werror_flag=yes
4564 ac_cv_prog_cc_g=no
4565 CFLAGS="-g"
4566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4567 /* end confdefs.h. */
4570 main ()
4574 return 0;
4576 _ACEOF
4577 if ac_fn_c_try_compile "$LINENO"; then :
4578 ac_cv_prog_cc_g=yes
4579 else
4580 CFLAGS=""
4581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4582 /* end confdefs.h. */
4585 main ()
4589 return 0;
4591 _ACEOF
4592 if ac_fn_c_try_compile "$LINENO"; then :
4594 else
4595 ac_c_werror_flag=$ac_save_c_werror_flag
4596 CFLAGS="-g"
4597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4598 /* end confdefs.h. */
4601 main ()
4605 return 0;
4607 _ACEOF
4608 if ac_fn_c_try_compile "$LINENO"; then :
4609 ac_cv_prog_cc_g=yes
4611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4616 ac_c_werror_flag=$ac_save_c_werror_flag
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4619 $as_echo "$ac_cv_prog_cc_g" >&6; }
4620 if test "$ac_test_CFLAGS" = set; then
4621 CFLAGS=$ac_save_CFLAGS
4622 elif test $ac_cv_prog_cc_g = yes; then
4623 if test "$GCC" = yes; then
4624 CFLAGS="-g -O2"
4625 else
4626 CFLAGS="-g"
4628 else
4629 if test "$GCC" = yes; then
4630 CFLAGS="-O2"
4631 else
4632 CFLAGS=
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4636 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4637 if ${ac_cv_prog_cc_c89+:} false; then :
4638 $as_echo_n "(cached) " >&6
4639 else
4640 ac_cv_prog_cc_c89=no
4641 ac_save_CC=$CC
4642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4643 /* end confdefs.h. */
4644 #include <stdarg.h>
4645 #include <stdio.h>
4646 struct stat;
4647 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4648 struct buf { int x; };
4649 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4650 static char *e (p, i)
4651 char **p;
4652 int i;
4654 return p[i];
4656 static char *f (char * (*g) (char **, int), char **p, ...)
4658 char *s;
4659 va_list v;
4660 va_start (v,p);
4661 s = g (p, va_arg (v,int));
4662 va_end (v);
4663 return s;
4666 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4667 function prototypes and stuff, but not '\xHH' hex character constants.
4668 These don't provoke an error unfortunately, instead are silently treated
4669 as 'x'. The following induces an error, until -std is added to get
4670 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4671 array size at least. It's necessary to write '\x00'==0 to get something
4672 that's true only with -std. */
4673 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4675 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4676 inside strings and character constants. */
4677 #define FOO(x) 'x'
4678 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4680 int test (int i, double x);
4681 struct s1 {int (*f) (int a);};
4682 struct s2 {int (*f) (double a);};
4683 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4684 int argc;
4685 char **argv;
4687 main ()
4689 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4691 return 0;
4693 _ACEOF
4694 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4695 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4697 CC="$ac_save_CC $ac_arg"
4698 if ac_fn_c_try_compile "$LINENO"; then :
4699 ac_cv_prog_cc_c89=$ac_arg
4701 rm -f core conftest.err conftest.$ac_objext
4702 test "x$ac_cv_prog_cc_c89" != "xno" && break
4703 done
4704 rm -f conftest.$ac_ext
4705 CC=$ac_save_CC
4708 # AC_CACHE_VAL
4709 case "x$ac_cv_prog_cc_c89" in
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4712 $as_echo "none needed" >&6; } ;;
4713 xno)
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4715 $as_echo "unsupported" >&6; } ;;
4717 CC="$CC $ac_cv_prog_cc_c89"
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4719 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4720 esac
4721 if test "x$ac_cv_prog_cc_c89" != xno; then :
4725 ac_ext=c
4726 ac_cpp='$CPP $CPPFLAGS'
4727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4731 ac_ext=c
4732 ac_cpp='$CPP $CPPFLAGS'
4733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4737 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4738 if ${am_cv_prog_cc_c_o+:} false; then :
4739 $as_echo_n "(cached) " >&6
4740 else
4741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4742 /* end confdefs.h. */
4745 main ()
4749 return 0;
4751 _ACEOF
4752 # Make sure it works both with $CC and with simple cc.
4753 # Following AC_PROG_CC_C_O, we do the test twice because some
4754 # compilers refuse to overwrite an existing .o file with -o,
4755 # though they will create one.
4756 am_cv_prog_cc_c_o=yes
4757 for am_i in 1 2; do
4758 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4759 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4760 ac_status=$?
4761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4762 (exit $ac_status); } \
4763 && test -f conftest2.$ac_objext; then
4764 : OK
4765 else
4766 am_cv_prog_cc_c_o=no
4767 break
4769 done
4770 rm -f core conftest*
4771 unset am_i
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4774 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4775 if test "$am_cv_prog_cc_c_o" != yes; then
4776 # Losing compiler, so override with the script.
4777 # FIXME: It is wrong to rewrite CC.
4778 # But if we don't then we get into trouble of one sort or another.
4779 # A longer-term fix would be to have automake use am__CC in this case,
4780 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4781 CC="$am_aux_dir/compile $CC"
4783 ac_ext=c
4784 ac_cpp='$CPP $CPPFLAGS'
4785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4790 ac_ext=cpp
4791 ac_cpp='$CXXCPP $CPPFLAGS'
4792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4795 if test -z "$CXX"; then
4796 if test -n "$CCC"; then
4797 CXX=$CCC
4798 else
4799 if test -n "$ac_tool_prefix"; then
4800 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4802 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4803 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4805 $as_echo_n "checking for $ac_word... " >&6; }
4806 if ${ac_cv_prog_CXX+:} false; then :
4807 $as_echo_n "(cached) " >&6
4808 else
4809 if test -n "$CXX"; then
4810 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4811 else
4812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4813 for as_dir in $PATH
4815 IFS=$as_save_IFS
4816 test -z "$as_dir" && as_dir=.
4817 for ac_exec_ext in '' $ac_executable_extensions; do
4818 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4819 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4821 break 2
4823 done
4824 done
4825 IFS=$as_save_IFS
4829 CXX=$ac_cv_prog_CXX
4830 if test -n "$CXX"; then
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4832 $as_echo "$CXX" >&6; }
4833 else
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4835 $as_echo "no" >&6; }
4839 test -n "$CXX" && break
4840 done
4842 if test -z "$CXX"; then
4843 ac_ct_CXX=$CXX
4844 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4846 # Extract the first word of "$ac_prog", so it can be a program name with args.
4847 set dummy $ac_prog; ac_word=$2
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4849 $as_echo_n "checking for $ac_word... " >&6; }
4850 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4851 $as_echo_n "(cached) " >&6
4852 else
4853 if test -n "$ac_ct_CXX"; then
4854 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4855 else
4856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4857 for as_dir in $PATH
4859 IFS=$as_save_IFS
4860 test -z "$as_dir" && as_dir=.
4861 for ac_exec_ext in '' $ac_executable_extensions; do
4862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4863 ac_cv_prog_ac_ct_CXX="$ac_prog"
4864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4865 break 2
4867 done
4868 done
4869 IFS=$as_save_IFS
4873 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4874 if test -n "$ac_ct_CXX"; then
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4876 $as_echo "$ac_ct_CXX" >&6; }
4877 else
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4879 $as_echo "no" >&6; }
4883 test -n "$ac_ct_CXX" && break
4884 done
4886 if test "x$ac_ct_CXX" = x; then
4887 CXX="g++"
4888 else
4889 case $cross_compiling:$ac_tool_warned in
4890 yes:)
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4892 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4893 ac_tool_warned=yes ;;
4894 esac
4895 CXX=$ac_ct_CXX
4901 # Provide some information about the compiler.
4902 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4903 set X $ac_compile
4904 ac_compiler=$2
4905 for ac_option in --version -v -V -qversion; do
4906 { { ac_try="$ac_compiler $ac_option >&5"
4907 case "(($ac_try" in
4908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4909 *) ac_try_echo=$ac_try;;
4910 esac
4911 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4912 $as_echo "$ac_try_echo"; } >&5
4913 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4914 ac_status=$?
4915 if test -s conftest.err; then
4916 sed '10a\
4917 ... rest of stderr output deleted ...
4918 10q' conftest.err >conftest.er1
4919 cat conftest.er1 >&5
4921 rm -f conftest.er1 conftest.err
4922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4923 test $ac_status = 0; }
4924 done
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4927 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4928 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4929 $as_echo_n "(cached) " >&6
4930 else
4931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4932 /* end confdefs.h. */
4935 main ()
4937 #ifndef __GNUC__
4938 choke me
4939 #endif
4942 return 0;
4944 _ACEOF
4945 if ac_fn_cxx_try_compile "$LINENO"; then :
4946 ac_compiler_gnu=yes
4947 else
4948 ac_compiler_gnu=no
4950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4951 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4955 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4956 if test $ac_compiler_gnu = yes; then
4957 GXX=yes
4958 else
4959 GXX=
4961 ac_test_CXXFLAGS=${CXXFLAGS+set}
4962 ac_save_CXXFLAGS=$CXXFLAGS
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4964 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4965 if ${ac_cv_prog_cxx_g+:} false; then :
4966 $as_echo_n "(cached) " >&6
4967 else
4968 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4969 ac_cxx_werror_flag=yes
4970 ac_cv_prog_cxx_g=no
4971 CXXFLAGS="-g"
4972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4973 /* end confdefs.h. */
4976 main ()
4980 return 0;
4982 _ACEOF
4983 if ac_fn_cxx_try_compile "$LINENO"; then :
4984 ac_cv_prog_cxx_g=yes
4985 else
4986 CXXFLAGS=""
4987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4988 /* end confdefs.h. */
4991 main ()
4995 return 0;
4997 _ACEOF
4998 if ac_fn_cxx_try_compile "$LINENO"; then :
5000 else
5001 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5002 CXXFLAGS="-g"
5003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5004 /* end confdefs.h. */
5007 main ()
5011 return 0;
5013 _ACEOF
5014 if ac_fn_cxx_try_compile "$LINENO"; then :
5015 ac_cv_prog_cxx_g=yes
5017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5022 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5025 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5026 if test "$ac_test_CXXFLAGS" = set; then
5027 CXXFLAGS=$ac_save_CXXFLAGS
5028 elif test $ac_cv_prog_cxx_g = yes; then
5029 if test "$GXX" = yes; then
5030 CXXFLAGS="-g -O2"
5031 else
5032 CXXFLAGS="-g"
5034 else
5035 if test "$GXX" = yes; then
5036 CXXFLAGS="-O2"
5037 else
5038 CXXFLAGS=
5041 ac_ext=c
5042 ac_cpp='$CPP $CPPFLAGS'
5043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5047 CXXFLAGS="$save_CXXFLAGS"
5050 # Check whether --enable-largefile was given.
5051 if test "${enable_largefile+set}" = set; then :
5052 enableval=$enable_largefile;
5055 if test "$enable_largefile" != no; then
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5058 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5059 if ${ac_cv_sys_largefile_CC+:} false; then :
5060 $as_echo_n "(cached) " >&6
5061 else
5062 ac_cv_sys_largefile_CC=no
5063 if test "$GCC" != yes; then
5064 ac_save_CC=$CC
5065 while :; do
5066 # IRIX 6.2 and later do not support large files by default,
5067 # so use the C compiler's -n32 option if that helps.
5068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5069 /* end confdefs.h. */
5070 #include <sys/types.h>
5071 /* Check that off_t can represent 2**63 - 1 correctly.
5072 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5073 since some C++ compilers masquerading as C compilers
5074 incorrectly reject 9223372036854775807. */
5075 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5076 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5077 && LARGE_OFF_T % 2147483647 == 1)
5078 ? 1 : -1];
5080 main ()
5084 return 0;
5086 _ACEOF
5087 if ac_fn_c_try_compile "$LINENO"; then :
5088 break
5090 rm -f core conftest.err conftest.$ac_objext
5091 CC="$CC -n32"
5092 if ac_fn_c_try_compile "$LINENO"; then :
5093 ac_cv_sys_largefile_CC=' -n32'; break
5095 rm -f core conftest.err conftest.$ac_objext
5096 break
5097 done
5098 CC=$ac_save_CC
5099 rm -f conftest.$ac_ext
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5103 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5104 if test "$ac_cv_sys_largefile_CC" != no; then
5105 CC=$CC$ac_cv_sys_largefile_CC
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5109 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5110 if ${ac_cv_sys_file_offset_bits+:} false; then :
5111 $as_echo_n "(cached) " >&6
5112 else
5113 while :; do
5114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5115 /* end confdefs.h. */
5116 #include <sys/types.h>
5117 /* Check that off_t can represent 2**63 - 1 correctly.
5118 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5119 since some C++ compilers masquerading as C compilers
5120 incorrectly reject 9223372036854775807. */
5121 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5122 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5123 && LARGE_OFF_T % 2147483647 == 1)
5124 ? 1 : -1];
5126 main ()
5130 return 0;
5132 _ACEOF
5133 if ac_fn_c_try_compile "$LINENO"; then :
5134 ac_cv_sys_file_offset_bits=no; break
5136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5138 /* end confdefs.h. */
5139 #define _FILE_OFFSET_BITS 64
5140 #include <sys/types.h>
5141 /* Check that off_t can represent 2**63 - 1 correctly.
5142 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5143 since some C++ compilers masquerading as C compilers
5144 incorrectly reject 9223372036854775807. */
5145 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5146 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5147 && LARGE_OFF_T % 2147483647 == 1)
5148 ? 1 : -1];
5150 main ()
5154 return 0;
5156 _ACEOF
5157 if ac_fn_c_try_compile "$LINENO"; then :
5158 ac_cv_sys_file_offset_bits=64; break
5160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5161 ac_cv_sys_file_offset_bits=unknown
5162 break
5163 done
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5166 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5167 case $ac_cv_sys_file_offset_bits in #(
5168 no | unknown) ;;
5170 cat >>confdefs.h <<_ACEOF
5171 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5172 _ACEOF
5174 esac
5175 rm -rf conftest*
5176 if test $ac_cv_sys_file_offset_bits = unknown; then
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5178 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5179 if ${ac_cv_sys_large_files+:} false; then :
5180 $as_echo_n "(cached) " >&6
5181 else
5182 while :; do
5183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5184 /* end confdefs.h. */
5185 #include <sys/types.h>
5186 /* Check that off_t can represent 2**63 - 1 correctly.
5187 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5188 since some C++ compilers masquerading as C compilers
5189 incorrectly reject 9223372036854775807. */
5190 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5191 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5192 && LARGE_OFF_T % 2147483647 == 1)
5193 ? 1 : -1];
5195 main ()
5199 return 0;
5201 _ACEOF
5202 if ac_fn_c_try_compile "$LINENO"; then :
5203 ac_cv_sys_large_files=no; break
5205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5207 /* end confdefs.h. */
5208 #define _LARGE_FILES 1
5209 #include <sys/types.h>
5210 /* Check that off_t can represent 2**63 - 1 correctly.
5211 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5212 since some C++ compilers masquerading as C compilers
5213 incorrectly reject 9223372036854775807. */
5214 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5215 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5216 && LARGE_OFF_T % 2147483647 == 1)
5217 ? 1 : -1];
5219 main ()
5223 return 0;
5225 _ACEOF
5226 if ac_fn_c_try_compile "$LINENO"; then :
5227 ac_cv_sys_large_files=1; break
5229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5230 ac_cv_sys_large_files=unknown
5231 break
5232 done
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5235 $as_echo "$ac_cv_sys_large_files" >&6; }
5236 case $ac_cv_sys_large_files in #(
5237 no | unknown) ;;
5239 cat >>confdefs.h <<_ACEOF
5240 #define _LARGE_FILES $ac_cv_sys_large_files
5241 _ACEOF
5243 esac
5244 rm -rf conftest*
5251 # Runs configure.host, and assorted other critical bits. Sets
5252 # up critical shell variables.
5253 ac_ext=c
5254 ac_cpp='$CPP $CPPFLAGS'
5255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5259 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5260 # On Suns, sometimes $CPP names a directory.
5261 if test -n "$CPP" && test -d "$CPP"; then
5262 CPP=
5264 if test -z "$CPP"; then
5265 if ${ac_cv_prog_CPP+:} false; then :
5266 $as_echo_n "(cached) " >&6
5267 else
5268 # Double quotes because CPP needs to be expanded
5269 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5271 ac_preproc_ok=false
5272 for ac_c_preproc_warn_flag in '' yes
5274 # Use a header file that comes with gcc, so configuring glibc
5275 # with a fresh cross-compiler works.
5276 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5277 # <limits.h> exists even on freestanding compilers.
5278 # On the NeXT, cc -E runs the code through the compiler's parser,
5279 # not just through cpp. "Syntax error" is here to catch this case.
5280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5281 /* end confdefs.h. */
5282 #ifdef __STDC__
5283 # include <limits.h>
5284 #else
5285 # include <assert.h>
5286 #endif
5287 Syntax error
5288 _ACEOF
5289 if ac_fn_c_try_cpp "$LINENO"; then :
5291 else
5292 # Broken: fails on valid input.
5293 continue
5295 rm -f conftest.err conftest.i conftest.$ac_ext
5297 # OK, works on sane cases. Now check whether nonexistent headers
5298 # can be detected and how.
5299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5300 /* end confdefs.h. */
5301 #include <ac_nonexistent.h>
5302 _ACEOF
5303 if ac_fn_c_try_cpp "$LINENO"; then :
5304 # Broken: success on invalid input.
5305 continue
5306 else
5307 # Passes both tests.
5308 ac_preproc_ok=:
5309 break
5311 rm -f conftest.err conftest.i conftest.$ac_ext
5313 done
5314 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5315 rm -f conftest.i conftest.err conftest.$ac_ext
5316 if $ac_preproc_ok; then :
5317 break
5320 done
5321 ac_cv_prog_CPP=$CPP
5324 CPP=$ac_cv_prog_CPP
5325 else
5326 ac_cv_prog_CPP=$CPP
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5329 $as_echo "$CPP" >&6; }
5330 ac_preproc_ok=false
5331 for ac_c_preproc_warn_flag in '' yes
5333 # Use a header file that comes with gcc, so configuring glibc
5334 # with a fresh cross-compiler works.
5335 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5336 # <limits.h> exists even on freestanding compilers.
5337 # On the NeXT, cc -E runs the code through the compiler's parser,
5338 # not just through cpp. "Syntax error" is here to catch this case.
5339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5340 /* end confdefs.h. */
5341 #ifdef __STDC__
5342 # include <limits.h>
5343 #else
5344 # include <assert.h>
5345 #endif
5346 Syntax error
5347 _ACEOF
5348 if ac_fn_c_try_cpp "$LINENO"; then :
5350 else
5351 # Broken: fails on valid input.
5352 continue
5354 rm -f conftest.err conftest.i conftest.$ac_ext
5356 # OK, works on sane cases. Now check whether nonexistent headers
5357 # can be detected and how.
5358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5359 /* end confdefs.h. */
5360 #include <ac_nonexistent.h>
5361 _ACEOF
5362 if ac_fn_c_try_cpp "$LINENO"; then :
5363 # Broken: success on invalid input.
5364 continue
5365 else
5366 # Passes both tests.
5367 ac_preproc_ok=:
5368 break
5370 rm -f conftest.err conftest.i conftest.$ac_ext
5372 done
5373 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5374 rm -f conftest.i conftest.err conftest.$ac_ext
5375 if $ac_preproc_ok; then :
5377 else
5378 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5379 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5380 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5381 See \`config.log' for more details" "$LINENO" 5; }
5384 ac_ext=c
5385 ac_cpp='$CPP $CPPFLAGS'
5386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5392 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5393 if ${ac_cv_path_GREP+:} false; then :
5394 $as_echo_n "(cached) " >&6
5395 else
5396 if test -z "$GREP"; then
5397 ac_path_GREP_found=false
5398 # Loop through the user's path and test for each of PROGNAME-LIST
5399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5400 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5402 IFS=$as_save_IFS
5403 test -z "$as_dir" && as_dir=.
5404 for ac_prog in grep ggrep; do
5405 for ac_exec_ext in '' $ac_executable_extensions; do
5406 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5407 as_fn_executable_p "$ac_path_GREP" || continue
5408 # Check for GNU ac_path_GREP and select it if it is found.
5409 # Check for GNU $ac_path_GREP
5410 case `"$ac_path_GREP" --version 2>&1` in
5411 *GNU*)
5412 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5414 ac_count=0
5415 $as_echo_n 0123456789 >"conftest.in"
5416 while :
5418 cat "conftest.in" "conftest.in" >"conftest.tmp"
5419 mv "conftest.tmp" "conftest.in"
5420 cp "conftest.in" "conftest.nl"
5421 $as_echo 'GREP' >> "conftest.nl"
5422 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5423 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5424 as_fn_arith $ac_count + 1 && ac_count=$as_val
5425 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5426 # Best one so far, save it but keep looking for a better one
5427 ac_cv_path_GREP="$ac_path_GREP"
5428 ac_path_GREP_max=$ac_count
5430 # 10*(2^10) chars as input seems more than enough
5431 test $ac_count -gt 10 && break
5432 done
5433 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5434 esac
5436 $ac_path_GREP_found && break 3
5437 done
5438 done
5439 done
5440 IFS=$as_save_IFS
5441 if test -z "$ac_cv_path_GREP"; then
5442 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5444 else
5445 ac_cv_path_GREP=$GREP
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5450 $as_echo "$ac_cv_path_GREP" >&6; }
5451 GREP="$ac_cv_path_GREP"
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5455 $as_echo_n "checking for egrep... " >&6; }
5456 if ${ac_cv_path_EGREP+:} false; then :
5457 $as_echo_n "(cached) " >&6
5458 else
5459 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5460 then ac_cv_path_EGREP="$GREP -E"
5461 else
5462 if test -z "$EGREP"; then
5463 ac_path_EGREP_found=false
5464 # Loop through the user's path and test for each of PROGNAME-LIST
5465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5466 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5468 IFS=$as_save_IFS
5469 test -z "$as_dir" && as_dir=.
5470 for ac_prog in egrep; do
5471 for ac_exec_ext in '' $ac_executable_extensions; do
5472 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5473 as_fn_executable_p "$ac_path_EGREP" || continue
5474 # Check for GNU ac_path_EGREP and select it if it is found.
5475 # Check for GNU $ac_path_EGREP
5476 case `"$ac_path_EGREP" --version 2>&1` in
5477 *GNU*)
5478 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5480 ac_count=0
5481 $as_echo_n 0123456789 >"conftest.in"
5482 while :
5484 cat "conftest.in" "conftest.in" >"conftest.tmp"
5485 mv "conftest.tmp" "conftest.in"
5486 cp "conftest.in" "conftest.nl"
5487 $as_echo 'EGREP' >> "conftest.nl"
5488 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5489 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5490 as_fn_arith $ac_count + 1 && ac_count=$as_val
5491 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5492 # Best one so far, save it but keep looking for a better one
5493 ac_cv_path_EGREP="$ac_path_EGREP"
5494 ac_path_EGREP_max=$ac_count
5496 # 10*(2^10) chars as input seems more than enough
5497 test $ac_count -gt 10 && break
5498 done
5499 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5500 esac
5502 $ac_path_EGREP_found && break 3
5503 done
5504 done
5505 done
5506 IFS=$as_save_IFS
5507 if test -z "$ac_cv_path_EGREP"; then
5508 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5510 else
5511 ac_cv_path_EGREP=$EGREP
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5517 $as_echo "$ac_cv_path_EGREP" >&6; }
5518 EGREP="$ac_cv_path_EGREP"
5522 # Keep these sync'd with the list in Makefile.am. The first provides an
5523 # expandable list at autoconf time; the second provides an expandable list
5524 # (i.e., shell variable) at configure time.
5526 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/c++17 src/c++20 src/filesystem src/libbacktrace src/experimental doc po testsuite python'
5528 # These need to be absolute paths, yet at the same time need to
5529 # canonicalize only relative paths, because then amd will not unmount
5530 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
5531 glibcxx_builddir=`${PWDCMD-pwd}`
5532 case $srcdir in
5533 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
5534 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
5535 esac
5536 toplevel_builddir=${glibcxx_builddir}/..
5537 toplevel_srcdir=${glibcxx_srcdir}/..
5543 # We use these options to decide which functions to include. They are
5544 # set from the top level.
5546 # Check whether --with-target-subdir was given.
5547 if test "${with_target_subdir+set}" = set; then :
5548 withval=$with_target_subdir;
5553 # Check whether --with-cross-host was given.
5554 if test "${with_cross_host+set}" = set; then :
5555 withval=$with_cross_host;
5560 # Check whether --with-newlib was given.
5561 if test "${with_newlib+set}" = set; then :
5562 withval=$with_newlib;
5566 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5567 # available). Uncomment the next line to force a particular method.
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5569 $as_echo_n "checking whether ln -s works... " >&6; }
5570 LN_S=$as_ln_s
5571 if test "$LN_S" = "ln -s"; then
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5573 $as_echo "yes" >&6; }
5574 else
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5576 $as_echo "no, using $LN_S" >&6; }
5579 #LN_S='cp -p'
5581 if test -n "$ac_tool_prefix"; then
5582 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5583 set dummy ${ac_tool_prefix}as; ac_word=$2
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5585 $as_echo_n "checking for $ac_word... " >&6; }
5586 if ${ac_cv_prog_AS+:} false; then :
5587 $as_echo_n "(cached) " >&6
5588 else
5589 if test -n "$AS"; then
5590 ac_cv_prog_AS="$AS" # Let the user override the test.
5591 else
5592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5593 for as_dir in $PATH
5595 IFS=$as_save_IFS
5596 test -z "$as_dir" && as_dir=.
5597 for ac_exec_ext in '' $ac_executable_extensions; do
5598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5599 ac_cv_prog_AS="${ac_tool_prefix}as"
5600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5601 break 2
5603 done
5604 done
5605 IFS=$as_save_IFS
5609 AS=$ac_cv_prog_AS
5610 if test -n "$AS"; then
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5612 $as_echo "$AS" >&6; }
5613 else
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5615 $as_echo "no" >&6; }
5620 if test -z "$ac_cv_prog_AS"; then
5621 ac_ct_AS=$AS
5622 # Extract the first word of "as", so it can be a program name with args.
5623 set dummy as; ac_word=$2
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5625 $as_echo_n "checking for $ac_word... " >&6; }
5626 if ${ac_cv_prog_ac_ct_AS+:} false; then :
5627 $as_echo_n "(cached) " >&6
5628 else
5629 if test -n "$ac_ct_AS"; then
5630 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5631 else
5632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5633 for as_dir in $PATH
5635 IFS=$as_save_IFS
5636 test -z "$as_dir" && as_dir=.
5637 for ac_exec_ext in '' $ac_executable_extensions; do
5638 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5639 ac_cv_prog_ac_ct_AS="as"
5640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5641 break 2
5643 done
5644 done
5645 IFS=$as_save_IFS
5649 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5650 if test -n "$ac_ct_AS"; then
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5652 $as_echo "$ac_ct_AS" >&6; }
5653 else
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5655 $as_echo "no" >&6; }
5658 if test "x$ac_ct_AS" = x; then
5659 AS=""
5660 else
5661 case $cross_compiling:$ac_tool_warned in
5662 yes:)
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5664 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5665 ac_tool_warned=yes ;;
5666 esac
5667 AS=$ac_ct_AS
5669 else
5670 AS="$ac_cv_prog_AS"
5673 if test -n "$ac_tool_prefix"; then
5674 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5675 set dummy ${ac_tool_prefix}ar; ac_word=$2
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5677 $as_echo_n "checking for $ac_word... " >&6; }
5678 if ${ac_cv_prog_AR+:} false; then :
5679 $as_echo_n "(cached) " >&6
5680 else
5681 if test -n "$AR"; then
5682 ac_cv_prog_AR="$AR" # Let the user override the test.
5683 else
5684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5685 for as_dir in $PATH
5687 IFS=$as_save_IFS
5688 test -z "$as_dir" && as_dir=.
5689 for ac_exec_ext in '' $ac_executable_extensions; do
5690 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5691 ac_cv_prog_AR="${ac_tool_prefix}ar"
5692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5693 break 2
5695 done
5696 done
5697 IFS=$as_save_IFS
5701 AR=$ac_cv_prog_AR
5702 if test -n "$AR"; then
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5704 $as_echo "$AR" >&6; }
5705 else
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5707 $as_echo "no" >&6; }
5712 if test -z "$ac_cv_prog_AR"; then
5713 ac_ct_AR=$AR
5714 # Extract the first word of "ar", so it can be a program name with args.
5715 set dummy ar; ac_word=$2
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5717 $as_echo_n "checking for $ac_word... " >&6; }
5718 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5719 $as_echo_n "(cached) " >&6
5720 else
5721 if test -n "$ac_ct_AR"; then
5722 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5723 else
5724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5725 for as_dir in $PATH
5727 IFS=$as_save_IFS
5728 test -z "$as_dir" && as_dir=.
5729 for ac_exec_ext in '' $ac_executable_extensions; do
5730 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5731 ac_cv_prog_ac_ct_AR="ar"
5732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5733 break 2
5735 done
5736 done
5737 IFS=$as_save_IFS
5741 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5742 if test -n "$ac_ct_AR"; then
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5744 $as_echo "$ac_ct_AR" >&6; }
5745 else
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5747 $as_echo "no" >&6; }
5750 if test "x$ac_ct_AR" = x; then
5751 AR=""
5752 else
5753 case $cross_compiling:$ac_tool_warned in
5754 yes:)
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5756 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5757 ac_tool_warned=yes ;;
5758 esac
5759 AR=$ac_ct_AR
5761 else
5762 AR="$ac_cv_prog_AR"
5765 if test -n "$ac_tool_prefix"; then
5766 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5767 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5769 $as_echo_n "checking for $ac_word... " >&6; }
5770 if ${ac_cv_prog_RANLIB+:} false; then :
5771 $as_echo_n "(cached) " >&6
5772 else
5773 if test -n "$RANLIB"; then
5774 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5775 else
5776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5777 for as_dir in $PATH
5779 IFS=$as_save_IFS
5780 test -z "$as_dir" && as_dir=.
5781 for ac_exec_ext in '' $ac_executable_extensions; do
5782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5783 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5785 break 2
5787 done
5788 done
5789 IFS=$as_save_IFS
5793 RANLIB=$ac_cv_prog_RANLIB
5794 if test -n "$RANLIB"; then
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5796 $as_echo "$RANLIB" >&6; }
5797 else
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5799 $as_echo "no" >&6; }
5804 if test -z "$ac_cv_prog_RANLIB"; then
5805 ac_ct_RANLIB=$RANLIB
5806 # Extract the first word of "ranlib", so it can be a program name with args.
5807 set dummy ranlib; ac_word=$2
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5809 $as_echo_n "checking for $ac_word... " >&6; }
5810 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5811 $as_echo_n "(cached) " >&6
5812 else
5813 if test -n "$ac_ct_RANLIB"; then
5814 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5815 else
5816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5817 for as_dir in $PATH
5819 IFS=$as_save_IFS
5820 test -z "$as_dir" && as_dir=.
5821 for ac_exec_ext in '' $ac_executable_extensions; do
5822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5823 ac_cv_prog_ac_ct_RANLIB="ranlib"
5824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5825 break 2
5827 done
5828 done
5829 IFS=$as_save_IFS
5833 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5834 if test -n "$ac_ct_RANLIB"; then
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5836 $as_echo "$ac_ct_RANLIB" >&6; }
5837 else
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5839 $as_echo "no" >&6; }
5842 if test "x$ac_ct_RANLIB" = x; then
5843 RANLIB="ranlib-not-found-in-path-error"
5844 else
5845 case $cross_compiling:$ac_tool_warned in
5846 yes:)
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5848 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5849 ac_tool_warned=yes ;;
5850 esac
5851 RANLIB=$ac_ct_RANLIB
5853 else
5854 RANLIB="$ac_cv_prog_RANLIB"
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5860 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5861 # Check whether --enable-maintainer-mode was given.
5862 if test "${enable_maintainer_mode+set}" = set; then :
5863 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5864 else
5865 USE_MAINTAINER_MODE=no
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5869 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5870 if test $USE_MAINTAINER_MODE = yes; then
5871 MAINTAINER_MODE_TRUE=
5872 MAINTAINER_MODE_FALSE='#'
5873 else
5874 MAINTAINER_MODE_TRUE='#'
5875 MAINTAINER_MODE_FALSE=
5878 MAINT=$MAINTAINER_MODE_TRUE
5882 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5883 # which are themselves conditionally expanded.
5884 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5885 ## other macros from doing the same. This should be automated.) -pme
5887 # Check for C library flavor since GNU/Linux platforms use different
5888 # configuration directories depending on the C library in use.
5889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5890 /* end confdefs.h. */
5892 #include <stdio.h>
5893 #if __UCLIBC__
5894 _using_uclibc
5895 #endif
5897 _ACEOF
5898 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5899 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5900 uclibc=yes
5901 else
5902 uclibc=no
5904 rm -f conftest*
5907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5908 /* end confdefs.h. */
5910 #include <stdio.h>
5911 #if __BIONIC__
5912 _using_bionic
5913 #endif
5915 _ACEOF
5916 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5917 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5918 bionic=yes
5919 else
5920 bionic=no
5922 rm -f conftest*
5925 # Find platform-specific directories containing configuration info.
5926 # Also possibly modify flags used elsewhere, as needed by the platform.
5928 . $glibcxx_srcdir/configure.host
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5930 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5932 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5936 # Libtool setup.
5937 if test "x${with_newlib}" != "xyes" &&
5938 test "x${with_avrlibc}" != "xyes" &&
5939 test "x$with_headers" != "xno"; then
5940 enable_dlopen=yes
5945 case `pwd` in
5946 *\ * | *\ *)
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5948 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5949 esac
5953 macro_version='2.2.7a'
5954 macro_revision='1.3134'
5968 ltmain="$ac_aux_dir/ltmain.sh"
5970 # Backslashify metacharacters that are still active within
5971 # double-quoted strings.
5972 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5974 # Same as above, but do not quote variable references.
5975 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5977 # Sed substitution to delay expansion of an escaped shell variable in a
5978 # double_quote_subst'ed string.
5979 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5981 # Sed substitution to delay expansion of an escaped single quote.
5982 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5984 # Sed substitution to avoid accidental globbing in evaled expressions
5985 no_glob_subst='s/\*/\\\*/g'
5987 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5988 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5989 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5992 $as_echo_n "checking how to print strings... " >&6; }
5993 # Test print first, because it will be a builtin if present.
5994 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5995 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5996 ECHO='print -r --'
5997 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5998 ECHO='printf %s\n'
5999 else
6000 # Use this function as a fallback that always works.
6001 func_fallback_echo ()
6003 eval 'cat <<_LTECHO_EOF
6005 _LTECHO_EOF'
6007 ECHO='func_fallback_echo'
6010 # func_echo_all arg...
6011 # Invoke $ECHO with all args, space-separated.
6012 func_echo_all ()
6014 $ECHO ""
6017 case "$ECHO" in
6018 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6019 $as_echo "printf" >&6; } ;;
6020 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6021 $as_echo "print -r" >&6; } ;;
6022 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6023 $as_echo "cat" >&6; } ;;
6024 esac
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6040 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6041 if ${ac_cv_path_SED+:} false; then :
6042 $as_echo_n "(cached) " >&6
6043 else
6044 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6045 for ac_i in 1 2 3 4 5 6 7; do
6046 ac_script="$ac_script$as_nl$ac_script"
6047 done
6048 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6049 { ac_script=; unset ac_script;}
6050 if test -z "$SED"; then
6051 ac_path_SED_found=false
6052 # Loop through the user's path and test for each of PROGNAME-LIST
6053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6054 for as_dir in $PATH
6056 IFS=$as_save_IFS
6057 test -z "$as_dir" && as_dir=.
6058 for ac_prog in sed gsed; do
6059 for ac_exec_ext in '' $ac_executable_extensions; do
6060 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6061 as_fn_executable_p "$ac_path_SED" || continue
6062 # Check for GNU ac_path_SED and select it if it is found.
6063 # Check for GNU $ac_path_SED
6064 case `"$ac_path_SED" --version 2>&1` in
6065 *GNU*)
6066 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6068 ac_count=0
6069 $as_echo_n 0123456789 >"conftest.in"
6070 while :
6072 cat "conftest.in" "conftest.in" >"conftest.tmp"
6073 mv "conftest.tmp" "conftest.in"
6074 cp "conftest.in" "conftest.nl"
6075 $as_echo '' >> "conftest.nl"
6076 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6077 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6078 as_fn_arith $ac_count + 1 && ac_count=$as_val
6079 if test $ac_count -gt ${ac_path_SED_max-0}; then
6080 # Best one so far, save it but keep looking for a better one
6081 ac_cv_path_SED="$ac_path_SED"
6082 ac_path_SED_max=$ac_count
6084 # 10*(2^10) chars as input seems more than enough
6085 test $ac_count -gt 10 && break
6086 done
6087 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6088 esac
6090 $ac_path_SED_found && break 3
6091 done
6092 done
6093 done
6094 IFS=$as_save_IFS
6095 if test -z "$ac_cv_path_SED"; then
6096 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6098 else
6099 ac_cv_path_SED=$SED
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6104 $as_echo "$ac_cv_path_SED" >&6; }
6105 SED="$ac_cv_path_SED"
6106 rm -f conftest.sed
6108 test -z "$SED" && SED=sed
6109 Xsed="$SED -e 1s/^X//"
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6122 $as_echo_n "checking for fgrep... " >&6; }
6123 if ${ac_cv_path_FGREP+:} false; then :
6124 $as_echo_n "(cached) " >&6
6125 else
6126 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6127 then ac_cv_path_FGREP="$GREP -F"
6128 else
6129 if test -z "$FGREP"; then
6130 ac_path_FGREP_found=false
6131 # Loop through the user's path and test for each of PROGNAME-LIST
6132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6133 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6135 IFS=$as_save_IFS
6136 test -z "$as_dir" && as_dir=.
6137 for ac_prog in fgrep; do
6138 for ac_exec_ext in '' $ac_executable_extensions; do
6139 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6140 as_fn_executable_p "$ac_path_FGREP" || continue
6141 # Check for GNU ac_path_FGREP and select it if it is found.
6142 # Check for GNU $ac_path_FGREP
6143 case `"$ac_path_FGREP" --version 2>&1` in
6144 *GNU*)
6145 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6147 ac_count=0
6148 $as_echo_n 0123456789 >"conftest.in"
6149 while :
6151 cat "conftest.in" "conftest.in" >"conftest.tmp"
6152 mv "conftest.tmp" "conftest.in"
6153 cp "conftest.in" "conftest.nl"
6154 $as_echo 'FGREP' >> "conftest.nl"
6155 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6156 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6157 as_fn_arith $ac_count + 1 && ac_count=$as_val
6158 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6159 # Best one so far, save it but keep looking for a better one
6160 ac_cv_path_FGREP="$ac_path_FGREP"
6161 ac_path_FGREP_max=$ac_count
6163 # 10*(2^10) chars as input seems more than enough
6164 test $ac_count -gt 10 && break
6165 done
6166 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6167 esac
6169 $ac_path_FGREP_found && break 3
6170 done
6171 done
6172 done
6173 IFS=$as_save_IFS
6174 if test -z "$ac_cv_path_FGREP"; then
6175 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6177 else
6178 ac_cv_path_FGREP=$FGREP
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6184 $as_echo "$ac_cv_path_FGREP" >&6; }
6185 FGREP="$ac_cv_path_FGREP"
6188 test -z "$GREP" && GREP=grep
6208 # Check whether --with-gnu-ld was given.
6209 if test "${with_gnu_ld+set}" = set; then :
6210 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6211 else
6212 with_gnu_ld=no
6215 ac_prog=ld
6216 if test "$GCC" = yes; then
6217 # Check if gcc -print-prog-name=ld gives a path.
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6219 $as_echo_n "checking for ld used by $CC... " >&6; }
6220 case $host in
6221 *-*-mingw*)
6222 # gcc leaves a trailing carriage return which upsets mingw
6223 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6225 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6226 esac
6227 case $ac_prog in
6228 # Accept absolute paths.
6229 [\\/]* | ?:[\\/]*)
6230 re_direlt='/[^/][^/]*/\.\./'
6231 # Canonicalize the pathname of ld
6232 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6233 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6234 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6235 done
6236 test -z "$LD" && LD="$ac_prog"
6239 # If it fails, then pretend we aren't using GCC.
6240 ac_prog=ld
6243 # If it is relative, then search for the first ld in PATH.
6244 with_gnu_ld=unknown
6246 esac
6247 elif test "$with_gnu_ld" = yes; then
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6249 $as_echo_n "checking for GNU ld... " >&6; }
6250 else
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6252 $as_echo_n "checking for non-GNU ld... " >&6; }
6254 if ${lt_cv_path_LD+:} false; then :
6255 $as_echo_n "(cached) " >&6
6256 else
6257 if test -z "$LD"; then
6258 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6259 for ac_dir in $PATH; do
6260 IFS="$lt_save_ifs"
6261 test -z "$ac_dir" && ac_dir=.
6262 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6263 lt_cv_path_LD="$ac_dir/$ac_prog"
6264 # Check to see if the program is GNU ld. I'd rather use --version,
6265 # but apparently some variants of GNU ld only accept -v.
6266 # Break only if it was the GNU/non-GNU ld that we prefer.
6267 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6268 *GNU* | *'with BFD'*)
6269 test "$with_gnu_ld" != no && break
6272 test "$with_gnu_ld" != yes && break
6274 esac
6276 done
6277 IFS="$lt_save_ifs"
6278 else
6279 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6283 LD="$lt_cv_path_LD"
6284 if test -n "$LD"; then
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6286 $as_echo "$LD" >&6; }
6287 else
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6289 $as_echo "no" >&6; }
6291 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6293 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6294 if ${lt_cv_prog_gnu_ld+:} false; then :
6295 $as_echo_n "(cached) " >&6
6296 else
6297 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6298 case `$LD -v 2>&1 </dev/null` in
6299 *GNU* | *'with BFD'*)
6300 lt_cv_prog_gnu_ld=yes
6303 lt_cv_prog_gnu_ld=no
6305 esac
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6308 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6309 with_gnu_ld=$lt_cv_prog_gnu_ld
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6320 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6321 if ${lt_cv_path_NM+:} false; then :
6322 $as_echo_n "(cached) " >&6
6323 else
6324 if test -n "$NM"; then
6325 # Let the user override the test.
6326 lt_cv_path_NM="$NM"
6327 else
6328 lt_nm_to_check="${ac_tool_prefix}nm"
6329 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6330 lt_nm_to_check="$lt_nm_to_check nm"
6332 for lt_tmp_nm in $lt_nm_to_check; do
6333 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6334 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6335 IFS="$lt_save_ifs"
6336 test -z "$ac_dir" && ac_dir=.
6337 tmp_nm="$ac_dir/$lt_tmp_nm"
6338 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6339 # Check to see if the nm accepts a BSD-compat flag.
6340 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6341 # nm: unknown option "B" ignored
6342 # Tru64's nm complains that /dev/null is an invalid object file
6343 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6344 */dev/null* | *'Invalid file or object type'*)
6345 lt_cv_path_NM="$tmp_nm -B"
6346 break
6349 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6350 */dev/null*)
6351 lt_cv_path_NM="$tmp_nm -p"
6352 break
6355 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6356 continue # so that we can try to find one that supports BSD flags
6358 esac
6360 esac
6362 done
6363 IFS="$lt_save_ifs"
6364 done
6365 : ${lt_cv_path_NM=no}
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6369 $as_echo "$lt_cv_path_NM" >&6; }
6370 if test "$lt_cv_path_NM" != "no"; then
6371 NM="$lt_cv_path_NM"
6372 else
6373 # Didn't find any BSD compatible name lister, look for dumpbin.
6374 if test -n "$DUMPBIN"; then :
6375 # Let the user override the test.
6376 else
6377 if test -n "$ac_tool_prefix"; then
6378 for ac_prog in dumpbin "link -dump"
6380 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6381 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6383 $as_echo_n "checking for $ac_word... " >&6; }
6384 if ${ac_cv_prog_DUMPBIN+:} false; then :
6385 $as_echo_n "(cached) " >&6
6386 else
6387 if test -n "$DUMPBIN"; then
6388 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6389 else
6390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6391 for as_dir in $PATH
6393 IFS=$as_save_IFS
6394 test -z "$as_dir" && as_dir=.
6395 for ac_exec_ext in '' $ac_executable_extensions; do
6396 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6397 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6399 break 2
6401 done
6402 done
6403 IFS=$as_save_IFS
6407 DUMPBIN=$ac_cv_prog_DUMPBIN
6408 if test -n "$DUMPBIN"; then
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6410 $as_echo "$DUMPBIN" >&6; }
6411 else
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6413 $as_echo "no" >&6; }
6417 test -n "$DUMPBIN" && break
6418 done
6420 if test -z "$DUMPBIN"; then
6421 ac_ct_DUMPBIN=$DUMPBIN
6422 for ac_prog in dumpbin "link -dump"
6424 # Extract the first word of "$ac_prog", so it can be a program name with args.
6425 set dummy $ac_prog; ac_word=$2
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6427 $as_echo_n "checking for $ac_word... " >&6; }
6428 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6429 $as_echo_n "(cached) " >&6
6430 else
6431 if test -n "$ac_ct_DUMPBIN"; then
6432 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6433 else
6434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6435 for as_dir in $PATH
6437 IFS=$as_save_IFS
6438 test -z "$as_dir" && as_dir=.
6439 for ac_exec_ext in '' $ac_executable_extensions; do
6440 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6441 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6443 break 2
6445 done
6446 done
6447 IFS=$as_save_IFS
6451 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6452 if test -n "$ac_ct_DUMPBIN"; then
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6454 $as_echo "$ac_ct_DUMPBIN" >&6; }
6455 else
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6457 $as_echo "no" >&6; }
6461 test -n "$ac_ct_DUMPBIN" && break
6462 done
6464 if test "x$ac_ct_DUMPBIN" = x; then
6465 DUMPBIN=":"
6466 else
6467 case $cross_compiling:$ac_tool_warned in
6468 yes:)
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6470 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6471 ac_tool_warned=yes ;;
6472 esac
6473 DUMPBIN=$ac_ct_DUMPBIN
6477 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6478 *COFF*)
6479 DUMPBIN="$DUMPBIN -symbols"
6482 DUMPBIN=:
6484 esac
6487 if test "$DUMPBIN" != ":"; then
6488 NM="$DUMPBIN"
6491 test -z "$NM" && NM=nm
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6499 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6500 if ${lt_cv_nm_interface+:} false; then :
6501 $as_echo_n "(cached) " >&6
6502 else
6503 lt_cv_nm_interface="BSD nm"
6504 echo "int some_variable = 0;" > conftest.$ac_ext
6505 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6506 (eval "$ac_compile" 2>conftest.err)
6507 cat conftest.err >&5
6508 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6509 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6510 cat conftest.err >&5
6511 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6512 cat conftest.out >&5
6513 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6514 lt_cv_nm_interface="MS dumpbin"
6516 rm -f conftest*
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6519 $as_echo "$lt_cv_nm_interface" >&6; }
6521 # find the maximum length of command line arguments
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6523 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6524 if ${lt_cv_sys_max_cmd_len+:} false; then :
6525 $as_echo_n "(cached) " >&6
6526 else
6528 teststring="ABCD"
6530 case $build_os in
6531 msdosdjgpp*)
6532 # On DJGPP, this test can blow up pretty badly due to problems in libc
6533 # (any single argument exceeding 2000 bytes causes a buffer overrun
6534 # during glob expansion). Even if it were fixed, the result of this
6535 # check would be larger than it should be.
6536 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6539 gnu*)
6540 # Under GNU Hurd, this test is not required because there is
6541 # no limit to the length of command line arguments.
6542 # Libtool will interpret -1 as no limit whatsoever
6543 lt_cv_sys_max_cmd_len=-1;
6546 cygwin* | mingw* | cegcc*)
6547 # On Win9x/ME, this test blows up -- it succeeds, but takes
6548 # about 5 minutes as the teststring grows exponentially.
6549 # Worse, since 9x/ME are not pre-emptively multitasking,
6550 # you end up with a "frozen" computer, even though with patience
6551 # the test eventually succeeds (with a max line length of 256k).
6552 # Instead, let's just punt: use the minimum linelength reported by
6553 # all of the supported platforms: 8192 (on NT/2K/XP).
6554 lt_cv_sys_max_cmd_len=8192;
6557 mint*)
6558 # On MiNT this can take a long time and run out of memory.
6559 lt_cv_sys_max_cmd_len=8192;
6562 amigaos*)
6563 # On AmigaOS with pdksh, this test takes hours, literally.
6564 # So we just punt and use a minimum line length of 8192.
6565 lt_cv_sys_max_cmd_len=8192;
6568 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6569 # This has been around since 386BSD, at least. Likely further.
6570 if test -x /sbin/sysctl; then
6571 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6572 elif test -x /usr/sbin/sysctl; then
6573 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6574 else
6575 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6577 # And add a safety zone
6578 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6579 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6582 interix*)
6583 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6584 lt_cv_sys_max_cmd_len=196608
6587 osf*)
6588 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6589 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6590 # nice to cause kernel panics so lets avoid the loop below.
6591 # First set a reasonable default.
6592 lt_cv_sys_max_cmd_len=16384
6594 if test -x /sbin/sysconfig; then
6595 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6596 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6597 esac
6600 sco3.2v5*)
6601 lt_cv_sys_max_cmd_len=102400
6603 sysv5* | sco5v6* | sysv4.2uw2*)
6604 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6605 if test -n "$kargmax"; then
6606 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6607 else
6608 lt_cv_sys_max_cmd_len=32768
6612 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6613 if test -n "$lt_cv_sys_max_cmd_len"; then
6614 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6615 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6616 else
6617 # Make teststring a little bigger before we do anything with it.
6618 # a 1K string should be a reasonable start.
6619 for i in 1 2 3 4 5 6 7 8 ; do
6620 teststring=$teststring$teststring
6621 done
6622 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6623 # If test is not a shell built-in, we'll probably end up computing a
6624 # maximum length that is only half of the actual maximum length, but
6625 # we can't tell.
6626 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6627 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6628 test $i != 17 # 1/2 MB should be enough
6630 i=`expr $i + 1`
6631 teststring=$teststring$teststring
6632 done
6633 # Only check the string length outside the loop.
6634 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6635 teststring=
6636 # Add a significant safety factor because C++ compilers can tack on
6637 # massive amounts of additional arguments before passing them to the
6638 # linker. It appears as though 1/2 is a usable value.
6639 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6642 esac
6646 if test -n $lt_cv_sys_max_cmd_len ; then
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6648 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6649 else
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6651 $as_echo "none" >&6; }
6653 max_cmd_len=$lt_cv_sys_max_cmd_len
6660 : ${CP="cp -f"}
6661 : ${MV="mv -f"}
6662 : ${RM="rm -f"}
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6665 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6666 # Try some XSI features
6667 xsi_shell=no
6668 ( _lt_dummy="a/b/c"
6669 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6670 = c,a/b,, \
6671 && eval 'test $(( 1 + 1 )) -eq 2 \
6672 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6673 && xsi_shell=yes
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6675 $as_echo "$xsi_shell" >&6; }
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6679 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6680 lt_shell_append=no
6681 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6682 >/dev/null 2>&1 \
6683 && lt_shell_append=yes
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6685 $as_echo "$lt_shell_append" >&6; }
6688 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6689 lt_unset=unset
6690 else
6691 lt_unset=false
6698 # test EBCDIC or ASCII
6699 case `echo X|tr X '\101'` in
6700 A) # ASCII based system
6701 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6702 lt_SP2NL='tr \040 \012'
6703 lt_NL2SP='tr \015\012 \040\040'
6705 *) # EBCDIC based system
6706 lt_SP2NL='tr \100 \n'
6707 lt_NL2SP='tr \r\n \100\100'
6709 esac
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6720 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6721 if ${lt_cv_ld_reload_flag+:} false; then :
6722 $as_echo_n "(cached) " >&6
6723 else
6724 lt_cv_ld_reload_flag='-r'
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6727 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6728 reload_flag=$lt_cv_ld_reload_flag
6729 case $reload_flag in
6730 "" | " "*) ;;
6731 *) reload_flag=" $reload_flag" ;;
6732 esac
6733 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6734 case $host_os in
6735 darwin*)
6736 if test "$GCC" = yes; then
6737 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6738 else
6739 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6742 esac
6752 if test -n "$ac_tool_prefix"; then
6753 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6754 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6756 $as_echo_n "checking for $ac_word... " >&6; }
6757 if ${ac_cv_prog_OBJDUMP+:} false; then :
6758 $as_echo_n "(cached) " >&6
6759 else
6760 if test -n "$OBJDUMP"; then
6761 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6762 else
6763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6764 for as_dir in $PATH
6766 IFS=$as_save_IFS
6767 test -z "$as_dir" && as_dir=.
6768 for ac_exec_ext in '' $ac_executable_extensions; do
6769 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6770 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6772 break 2
6774 done
6775 done
6776 IFS=$as_save_IFS
6780 OBJDUMP=$ac_cv_prog_OBJDUMP
6781 if test -n "$OBJDUMP"; then
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6783 $as_echo "$OBJDUMP" >&6; }
6784 else
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6786 $as_echo "no" >&6; }
6791 if test -z "$ac_cv_prog_OBJDUMP"; then
6792 ac_ct_OBJDUMP=$OBJDUMP
6793 # Extract the first word of "objdump", so it can be a program name with args.
6794 set dummy objdump; ac_word=$2
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6796 $as_echo_n "checking for $ac_word... " >&6; }
6797 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6798 $as_echo_n "(cached) " >&6
6799 else
6800 if test -n "$ac_ct_OBJDUMP"; then
6801 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6802 else
6803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6804 for as_dir in $PATH
6806 IFS=$as_save_IFS
6807 test -z "$as_dir" && as_dir=.
6808 for ac_exec_ext in '' $ac_executable_extensions; do
6809 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6810 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6812 break 2
6814 done
6815 done
6816 IFS=$as_save_IFS
6820 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6821 if test -n "$ac_ct_OBJDUMP"; then
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6823 $as_echo "$ac_ct_OBJDUMP" >&6; }
6824 else
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6826 $as_echo "no" >&6; }
6829 if test "x$ac_ct_OBJDUMP" = x; then
6830 OBJDUMP="false"
6831 else
6832 case $cross_compiling:$ac_tool_warned in
6833 yes:)
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6835 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6836 ac_tool_warned=yes ;;
6837 esac
6838 OBJDUMP=$ac_ct_OBJDUMP
6840 else
6841 OBJDUMP="$ac_cv_prog_OBJDUMP"
6844 test -z "$OBJDUMP" && OBJDUMP=objdump
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6855 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6856 if ${lt_cv_deplibs_check_method+:} false; then :
6857 $as_echo_n "(cached) " >&6
6858 else
6859 lt_cv_file_magic_cmd='$MAGIC_CMD'
6860 lt_cv_file_magic_test_file=
6861 lt_cv_deplibs_check_method='unknown'
6862 # Need to set the preceding variable on all platforms that support
6863 # interlibrary dependencies.
6864 # 'none' -- dependencies not supported.
6865 # `unknown' -- same as none, but documents that we really don't know.
6866 # 'pass_all' -- all dependencies passed with no checks.
6867 # 'test_compile' -- check by making test program.
6868 # 'file_magic [[regex]]' -- check by looking for files in library path
6869 # which responds to the $file_magic_cmd with a given extended regex.
6870 # If you have `file' or equivalent on your system and you're not sure
6871 # whether `pass_all' will *always* work, you probably want this one.
6873 case $host_os in
6874 aix[4-9]*)
6875 lt_cv_deplibs_check_method=pass_all
6878 beos*)
6879 lt_cv_deplibs_check_method=pass_all
6882 bsdi[45]*)
6883 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6884 lt_cv_file_magic_cmd='/usr/bin/file -L'
6885 lt_cv_file_magic_test_file=/shlib/libc.so
6888 cygwin*)
6889 # func_win32_libid is a shell function defined in ltmain.sh
6890 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6891 lt_cv_file_magic_cmd='func_win32_libid'
6894 mingw* | pw32*)
6895 # Base MSYS/MinGW do not provide the 'file' command needed by
6896 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6897 # unless we find 'file', for example because we are cross-compiling.
6898 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6899 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6900 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6901 lt_cv_file_magic_cmd='func_win32_libid'
6902 else
6903 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6904 lt_cv_file_magic_cmd='$OBJDUMP -f'
6908 cegcc*)
6909 # use the weaker test based on 'objdump'. See mingw*.
6910 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6911 lt_cv_file_magic_cmd='$OBJDUMP -f'
6914 darwin* | rhapsody*)
6915 lt_cv_deplibs_check_method=pass_all
6918 freebsd* | dragonfly*)
6919 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6920 case $host_cpu in
6921 i*86 )
6922 # Not sure whether the presence of OpenBSD here was a mistake.
6923 # Let's accept both of them until this is cleared up.
6924 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6925 lt_cv_file_magic_cmd=/usr/bin/file
6926 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6928 esac
6929 else
6930 lt_cv_deplibs_check_method=pass_all
6934 gnu*)
6935 lt_cv_deplibs_check_method=pass_all
6938 haiku*)
6939 lt_cv_deplibs_check_method=pass_all
6942 hpux10.20* | hpux11*)
6943 lt_cv_file_magic_cmd=/usr/bin/file
6944 case $host_cpu in
6945 ia64*)
6946 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6947 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6949 hppa*64*)
6950 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]'
6951 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6954 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6955 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6957 esac
6960 interix[3-9]*)
6961 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6962 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6965 irix5* | irix6* | nonstopux*)
6966 case $LD in
6967 *-32|*"-32 ") libmagic=32-bit;;
6968 *-n32|*"-n32 ") libmagic=N32;;
6969 *-64|*"-64 ") libmagic=64-bit;;
6970 *) libmagic=never-match;;
6971 esac
6972 lt_cv_deplibs_check_method=pass_all
6975 # This must be Linux ELF.
6976 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
6977 lt_cv_deplibs_check_method=pass_all
6980 netbsd*)
6981 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6982 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6983 else
6984 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6988 newos6*)
6989 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6990 lt_cv_file_magic_cmd=/usr/bin/file
6991 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6994 *nto* | *qnx*)
6995 lt_cv_deplibs_check_method=pass_all
6998 openbsd*)
6999 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7000 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7001 else
7002 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7006 osf3* | osf4* | osf5*)
7007 lt_cv_deplibs_check_method=pass_all
7010 rdos*)
7011 lt_cv_deplibs_check_method=pass_all
7014 solaris*)
7015 lt_cv_deplibs_check_method=pass_all
7018 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7019 lt_cv_deplibs_check_method=pass_all
7022 sysv4 | sysv4.3*)
7023 case $host_vendor in
7024 motorola)
7025 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]'
7026 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7028 ncr)
7029 lt_cv_deplibs_check_method=pass_all
7031 sequent)
7032 lt_cv_file_magic_cmd='/bin/file'
7033 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7035 sni)
7036 lt_cv_file_magic_cmd='/bin/file'
7037 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7038 lt_cv_file_magic_test_file=/lib/libc.so
7040 siemens)
7041 lt_cv_deplibs_check_method=pass_all
7044 lt_cv_deplibs_check_method=pass_all
7046 esac
7049 tpf*)
7050 lt_cv_deplibs_check_method=pass_all
7052 vxworks*)
7053 # Assume VxWorks cross toolchains are built on Linux, possibly
7054 # as canadian for Windows hosts.
7055 lt_cv_deplibs_check_method=pass_all
7057 esac
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7061 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7062 file_magic_cmd=$lt_cv_file_magic_cmd
7063 deplibs_check_method=$lt_cv_deplibs_check_method
7064 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7077 if test -n "$ac_tool_prefix"; then
7078 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7079 set dummy ${ac_tool_prefix}ar; ac_word=$2
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7081 $as_echo_n "checking for $ac_word... " >&6; }
7082 if ${ac_cv_prog_AR+:} false; then :
7083 $as_echo_n "(cached) " >&6
7084 else
7085 if test -n "$AR"; then
7086 ac_cv_prog_AR="$AR" # Let the user override the test.
7087 else
7088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7089 for as_dir in $PATH
7091 IFS=$as_save_IFS
7092 test -z "$as_dir" && as_dir=.
7093 for ac_exec_ext in '' $ac_executable_extensions; do
7094 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7095 ac_cv_prog_AR="${ac_tool_prefix}ar"
7096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7097 break 2
7099 done
7100 done
7101 IFS=$as_save_IFS
7105 AR=$ac_cv_prog_AR
7106 if test -n "$AR"; then
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7108 $as_echo "$AR" >&6; }
7109 else
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7111 $as_echo "no" >&6; }
7116 if test -z "$ac_cv_prog_AR"; then
7117 ac_ct_AR=$AR
7118 # Extract the first word of "ar", so it can be a program name with args.
7119 set dummy ar; ac_word=$2
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7121 $as_echo_n "checking for $ac_word... " >&6; }
7122 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7123 $as_echo_n "(cached) " >&6
7124 else
7125 if test -n "$ac_ct_AR"; then
7126 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7127 else
7128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7129 for as_dir in $PATH
7131 IFS=$as_save_IFS
7132 test -z "$as_dir" && as_dir=.
7133 for ac_exec_ext in '' $ac_executable_extensions; do
7134 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7135 ac_cv_prog_ac_ct_AR="ar"
7136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7137 break 2
7139 done
7140 done
7141 IFS=$as_save_IFS
7145 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7146 if test -n "$ac_ct_AR"; then
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7148 $as_echo "$ac_ct_AR" >&6; }
7149 else
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7151 $as_echo "no" >&6; }
7154 if test "x$ac_ct_AR" = x; then
7155 AR="false"
7156 else
7157 case $cross_compiling:$ac_tool_warned in
7158 yes:)
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7160 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7161 ac_tool_warned=yes ;;
7162 esac
7163 AR=$ac_ct_AR
7165 else
7166 AR="$ac_cv_prog_AR"
7169 test -z "$AR" && AR=ar
7170 test -z "$AR_FLAGS" && AR_FLAGS=cru
7182 if test -n "$ac_tool_prefix"; then
7183 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7184 set dummy ${ac_tool_prefix}strip; ac_word=$2
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7186 $as_echo_n "checking for $ac_word... " >&6; }
7187 if ${ac_cv_prog_STRIP+:} false; then :
7188 $as_echo_n "(cached) " >&6
7189 else
7190 if test -n "$STRIP"; then
7191 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7192 else
7193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7194 for as_dir in $PATH
7196 IFS=$as_save_IFS
7197 test -z "$as_dir" && as_dir=.
7198 for ac_exec_ext in '' $ac_executable_extensions; do
7199 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7200 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7202 break 2
7204 done
7205 done
7206 IFS=$as_save_IFS
7210 STRIP=$ac_cv_prog_STRIP
7211 if test -n "$STRIP"; then
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7213 $as_echo "$STRIP" >&6; }
7214 else
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7216 $as_echo "no" >&6; }
7221 if test -z "$ac_cv_prog_STRIP"; then
7222 ac_ct_STRIP=$STRIP
7223 # Extract the first word of "strip", so it can be a program name with args.
7224 set dummy strip; ac_word=$2
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7226 $as_echo_n "checking for $ac_word... " >&6; }
7227 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7228 $as_echo_n "(cached) " >&6
7229 else
7230 if test -n "$ac_ct_STRIP"; then
7231 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7232 else
7233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7234 for as_dir in $PATH
7236 IFS=$as_save_IFS
7237 test -z "$as_dir" && as_dir=.
7238 for ac_exec_ext in '' $ac_executable_extensions; do
7239 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7240 ac_cv_prog_ac_ct_STRIP="strip"
7241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7242 break 2
7244 done
7245 done
7246 IFS=$as_save_IFS
7250 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7251 if test -n "$ac_ct_STRIP"; then
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7253 $as_echo "$ac_ct_STRIP" >&6; }
7254 else
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7256 $as_echo "no" >&6; }
7259 if test "x$ac_ct_STRIP" = x; then
7260 STRIP=":"
7261 else
7262 case $cross_compiling:$ac_tool_warned in
7263 yes:)
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7265 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7266 ac_tool_warned=yes ;;
7267 esac
7268 STRIP=$ac_ct_STRIP
7270 else
7271 STRIP="$ac_cv_prog_STRIP"
7274 test -z "$STRIP" && STRIP=:
7281 if test -n "$ac_tool_prefix"; then
7282 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7283 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7285 $as_echo_n "checking for $ac_word... " >&6; }
7286 if ${ac_cv_prog_RANLIB+:} false; then :
7287 $as_echo_n "(cached) " >&6
7288 else
7289 if test -n "$RANLIB"; then
7290 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7291 else
7292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7293 for as_dir in $PATH
7295 IFS=$as_save_IFS
7296 test -z "$as_dir" && as_dir=.
7297 for ac_exec_ext in '' $ac_executable_extensions; do
7298 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7299 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7301 break 2
7303 done
7304 done
7305 IFS=$as_save_IFS
7309 RANLIB=$ac_cv_prog_RANLIB
7310 if test -n "$RANLIB"; then
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7312 $as_echo "$RANLIB" >&6; }
7313 else
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7315 $as_echo "no" >&6; }
7320 if test -z "$ac_cv_prog_RANLIB"; then
7321 ac_ct_RANLIB=$RANLIB
7322 # Extract the first word of "ranlib", so it can be a program name with args.
7323 set dummy ranlib; ac_word=$2
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7325 $as_echo_n "checking for $ac_word... " >&6; }
7326 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7327 $as_echo_n "(cached) " >&6
7328 else
7329 if test -n "$ac_ct_RANLIB"; then
7330 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7331 else
7332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7333 for as_dir in $PATH
7335 IFS=$as_save_IFS
7336 test -z "$as_dir" && as_dir=.
7337 for ac_exec_ext in '' $ac_executable_extensions; do
7338 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7339 ac_cv_prog_ac_ct_RANLIB="ranlib"
7340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7341 break 2
7343 done
7344 done
7345 IFS=$as_save_IFS
7349 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7350 if test -n "$ac_ct_RANLIB"; then
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7352 $as_echo "$ac_ct_RANLIB" >&6; }
7353 else
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7355 $as_echo "no" >&6; }
7358 if test "x$ac_ct_RANLIB" = x; then
7359 RANLIB=":"
7360 else
7361 case $cross_compiling:$ac_tool_warned in
7362 yes:)
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7364 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7365 ac_tool_warned=yes ;;
7366 esac
7367 RANLIB=$ac_ct_RANLIB
7369 else
7370 RANLIB="$ac_cv_prog_RANLIB"
7373 test -z "$RANLIB" && RANLIB=:
7380 # Determine commands to create old-style static archives.
7381 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7382 old_postinstall_cmds='chmod 644 $oldlib'
7383 old_postuninstall_cmds=
7385 if test -n "$RANLIB"; then
7386 case $host_os in
7387 openbsd*)
7388 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7391 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7393 esac
7394 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7397 case $host_os in
7398 darwin*)
7399 lock_old_archive_extraction=yes ;;
7401 lock_old_archive_extraction=no ;;
7402 esac
7442 # If no C compiler was specified, use CC.
7443 LTCC=${LTCC-"$CC"}
7445 # If no C compiler flags were specified, use CFLAGS.
7446 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7448 # Allow CC to be a program name with arguments.
7449 compiler=$CC
7452 # Check for command to grab the raw symbol name followed by C symbol from nm.
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7454 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7455 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7456 $as_echo_n "(cached) " >&6
7457 else
7459 # These are sane defaults that work on at least a few old systems.
7460 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7462 # Character class describing NM global symbol codes.
7463 symcode='[BCDEGRST]'
7465 # Regexp to match symbols that can be accessed directly from C.
7466 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7468 # Define system-specific variables.
7469 case $host_os in
7470 aix*)
7471 symcode='[BCDT]'
7473 cygwin* | mingw* | pw32* | cegcc*)
7474 symcode='[ABCDGISTW]'
7476 hpux*)
7477 if test "$host_cpu" = ia64; then
7478 symcode='[ABCDEGRST]'
7481 irix* | nonstopux*)
7482 symcode='[BCDEGRST]'
7484 osf*)
7485 symcode='[BCDEGQRST]'
7487 solaris*)
7488 symcode='[BDRT]'
7490 sco3.2v5*)
7491 symcode='[DT]'
7493 sysv4.2uw2*)
7494 symcode='[DT]'
7496 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7497 symcode='[ABDT]'
7499 sysv4)
7500 symcode='[DFNSTU]'
7502 esac
7504 # If we're using GNU nm, then use its standard symbol codes.
7505 case `$NM -V 2>&1` in
7506 *GNU* | *'with BFD'*)
7507 symcode='[ABCDGIRSTW]' ;;
7508 esac
7510 # Transform an extracted symbol line into a proper C declaration.
7511 # Some systems (esp. on ia64) link data and code symbols differently,
7512 # so use this general approach.
7513 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7515 # Transform an extracted symbol line into symbol name and symbol address
7516 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7517 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'"
7519 # Handle CRLF in mingw tool chain
7520 opt_cr=
7521 case $build_os in
7522 mingw*)
7523 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7525 esac
7527 # Try without a prefix underscore, then with it.
7528 for ac_symprfx in "" "_"; do
7530 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7531 symxfrm="\\1 $ac_symprfx\\2 \\2"
7533 # Write the raw and C identifiers.
7534 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7535 # Fake it for dumpbin and say T for any non-static function
7536 # and D for any global variable.
7537 # Also find C++ and __fastcall symbols from MSVC++,
7538 # which start with @ or ?.
7539 lt_cv_sys_global_symbol_pipe="$AWK '"\
7540 " {last_section=section; section=\$ 3};"\
7541 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7542 " \$ 0!~/External *\|/{next};"\
7543 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7544 " {if(hide[section]) next};"\
7545 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7546 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7547 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7548 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7549 " ' prfx=^$ac_symprfx"
7550 else
7551 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7554 # Check to see that the pipe works correctly.
7555 pipe_works=no
7557 rm -f conftest*
7558 cat > conftest.$ac_ext <<_LT_EOF
7559 #ifdef __cplusplus
7560 extern "C" {
7561 #endif
7562 char nm_test_var;
7563 void nm_test_func(void);
7564 void nm_test_func(void){}
7565 #ifdef __cplusplus
7567 #endif
7568 int main(){nm_test_var='a';nm_test_func();return(0);}
7569 _LT_EOF
7571 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7572 (eval $ac_compile) 2>&5
7573 ac_status=$?
7574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7575 test $ac_status = 0; }; then
7576 # Now try to grab the symbols.
7577 nlist=conftest.nm
7578 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7579 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7580 ac_status=$?
7581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7582 test $ac_status = 0; } && test -s "$nlist"; then
7583 # Try sorting and uniquifying the output.
7584 if sort "$nlist" | uniq > "$nlist"T; then
7585 mv -f "$nlist"T "$nlist"
7586 else
7587 rm -f "$nlist"T
7590 # Make sure that we snagged all the symbols we need.
7591 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7592 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7593 cat <<_LT_EOF > conftest.$ac_ext
7594 #ifdef __cplusplus
7595 extern "C" {
7596 #endif
7598 _LT_EOF
7599 # Now generate the symbol file.
7600 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7602 cat <<_LT_EOF >> conftest.$ac_ext
7604 /* The mapping between symbol names and symbols. */
7605 const struct {
7606 const char *name;
7607 void *address;
7609 lt__PROGRAM__LTX_preloaded_symbols[] =
7611 { "@PROGRAM@", (void *) 0 },
7612 _LT_EOF
7613 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7614 cat <<\_LT_EOF >> conftest.$ac_ext
7615 {0, (void *) 0}
7618 /* This works around a problem in FreeBSD linker */
7619 #ifdef FREEBSD_WORKAROUND
7620 static const void *lt_preloaded_setup() {
7621 return lt__PROGRAM__LTX_preloaded_symbols;
7623 #endif
7625 #ifdef __cplusplus
7627 #endif
7628 _LT_EOF
7629 # Now try linking the two files.
7630 mv conftest.$ac_objext conftstm.$ac_objext
7631 lt_save_LIBS="$LIBS"
7632 lt_save_CFLAGS="$CFLAGS"
7633 LIBS="conftstm.$ac_objext"
7634 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7635 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7636 (eval $ac_link) 2>&5
7637 ac_status=$?
7638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7639 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7640 pipe_works=yes
7642 LIBS="$lt_save_LIBS"
7643 CFLAGS="$lt_save_CFLAGS"
7644 else
7645 echo "cannot find nm_test_func in $nlist" >&5
7647 else
7648 echo "cannot find nm_test_var in $nlist" >&5
7650 else
7651 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7653 else
7654 echo "$progname: failed program was:" >&5
7655 cat conftest.$ac_ext >&5
7657 rm -rf conftest* conftst*
7659 # Do not use the global_symbol_pipe unless it works.
7660 if test "$pipe_works" = yes; then
7661 break
7662 else
7663 lt_cv_sys_global_symbol_pipe=
7665 done
7669 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7670 lt_cv_sys_global_symbol_to_cdecl=
7672 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7674 $as_echo "failed" >&6; }
7675 else
7676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7677 $as_echo "ok" >&6; }
7701 # Check whether --enable-libtool-lock was given.
7702 if test "${enable_libtool_lock+set}" = set; then :
7703 enableval=$enable_libtool_lock;
7706 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7708 # Some flags need to be propagated to the compiler or linker for good
7709 # libtool support.
7710 case $host in
7711 ia64-*-hpux*)
7712 # Find out which ABI we are using.
7713 echo 'int i;' > conftest.$ac_ext
7714 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7715 (eval $ac_compile) 2>&5
7716 ac_status=$?
7717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7718 test $ac_status = 0; }; then
7719 case `/usr/bin/file conftest.$ac_objext` in
7720 *ELF-32*)
7721 HPUX_IA64_MODE="32"
7723 *ELF-64*)
7724 HPUX_IA64_MODE="64"
7726 esac
7728 rm -rf conftest*
7730 *-*-irix6*)
7731 # Find out which ABI we are using.
7732 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7733 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7734 (eval $ac_compile) 2>&5
7735 ac_status=$?
7736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7737 test $ac_status = 0; }; then
7738 if test "$lt_cv_prog_gnu_ld" = yes; then
7739 case `/usr/bin/file conftest.$ac_objext` in
7740 *32-bit*)
7741 LD="${LD-ld} -melf32bsmip"
7743 *N32*)
7744 LD="${LD-ld} -melf32bmipn32"
7746 *64-bit*)
7747 LD="${LD-ld} -melf64bmip"
7749 esac
7750 else
7751 case `/usr/bin/file conftest.$ac_objext` in
7752 *32-bit*)
7753 LD="${LD-ld} -32"
7755 *N32*)
7756 LD="${LD-ld} -n32"
7758 *64-bit*)
7759 LD="${LD-ld} -64"
7761 esac
7764 rm -rf conftest*
7767 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7768 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7769 # Find out which ABI we are using.
7770 echo 'int i;' > conftest.$ac_ext
7771 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7772 (eval $ac_compile) 2>&5
7773 ac_status=$?
7774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7775 test $ac_status = 0; }; then
7776 case `/usr/bin/file conftest.o` in
7777 *32-bit*)
7778 case $host in
7779 x86_64-*kfreebsd*-gnu)
7780 LD="${LD-ld} -m elf_i386_fbsd"
7782 x86_64-*linux*)
7783 case `/usr/bin/file conftest.o` in
7784 *x86-64*)
7785 LD="${LD-ld} -m elf32_x86_64"
7788 LD="${LD-ld} -m elf_i386"
7790 esac
7792 powerpc64le-*linux*)
7793 LD="${LD-ld} -m elf32lppclinux"
7795 powerpc64-*linux*)
7796 LD="${LD-ld} -m elf32ppclinux"
7798 s390x-*linux*)
7799 LD="${LD-ld} -m elf_s390"
7801 sparc64-*linux*)
7802 LD="${LD-ld} -m elf32_sparc"
7804 esac
7806 *64-bit*)
7807 case $host in
7808 x86_64-*kfreebsd*-gnu)
7809 LD="${LD-ld} -m elf_x86_64_fbsd"
7811 x86_64-*linux*)
7812 LD="${LD-ld} -m elf_x86_64"
7814 powerpcle-*linux*)
7815 LD="${LD-ld} -m elf64lppc"
7817 powerpc-*linux*)
7818 LD="${LD-ld} -m elf64ppc"
7820 s390*-*linux*|s390*-*tpf*)
7821 LD="${LD-ld} -m elf64_s390"
7823 sparc*-*linux*)
7824 LD="${LD-ld} -m elf64_sparc"
7826 esac
7828 esac
7830 rm -rf conftest*
7833 *-*-sco3.2v5*)
7834 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7835 SAVE_CFLAGS="$CFLAGS"
7836 CFLAGS="$CFLAGS -belf"
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7838 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7839 if ${lt_cv_cc_needs_belf+:} false; then :
7840 $as_echo_n "(cached) " >&6
7841 else
7842 ac_ext=c
7843 ac_cpp='$CPP $CPPFLAGS'
7844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7848 if test x$gcc_no_link = xyes; then
7849 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7852 /* end confdefs.h. */
7855 main ()
7859 return 0;
7861 _ACEOF
7862 if ac_fn_c_try_link "$LINENO"; then :
7863 lt_cv_cc_needs_belf=yes
7864 else
7865 lt_cv_cc_needs_belf=no
7867 rm -f core conftest.err conftest.$ac_objext \
7868 conftest$ac_exeext conftest.$ac_ext
7869 ac_ext=c
7870 ac_cpp='$CPP $CPPFLAGS'
7871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7877 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7878 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7879 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7880 CFLAGS="$SAVE_CFLAGS"
7883 sparc*-*solaris*)
7884 # Find out which ABI we are using.
7885 echo 'int i;' > conftest.$ac_ext
7886 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7887 (eval $ac_compile) 2>&5
7888 ac_status=$?
7889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7890 test $ac_status = 0; }; then
7891 case `/usr/bin/file conftest.o` in
7892 *64-bit*)
7893 case $lt_cv_prog_gnu_ld in
7894 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7896 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7897 LD="${LD-ld} -64"
7900 esac
7902 esac
7904 rm -rf conftest*
7906 esac
7908 need_locks="$enable_libtool_lock"
7911 case $host_os in
7912 rhapsody* | darwin*)
7913 if test -n "$ac_tool_prefix"; then
7914 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7915 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7917 $as_echo_n "checking for $ac_word... " >&6; }
7918 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7919 $as_echo_n "(cached) " >&6
7920 else
7921 if test -n "$DSYMUTIL"; then
7922 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7923 else
7924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7925 for as_dir in $PATH
7927 IFS=$as_save_IFS
7928 test -z "$as_dir" && as_dir=.
7929 for ac_exec_ext in '' $ac_executable_extensions; do
7930 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7931 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7933 break 2
7935 done
7936 done
7937 IFS=$as_save_IFS
7941 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7942 if test -n "$DSYMUTIL"; then
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7944 $as_echo "$DSYMUTIL" >&6; }
7945 else
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7947 $as_echo "no" >&6; }
7952 if test -z "$ac_cv_prog_DSYMUTIL"; then
7953 ac_ct_DSYMUTIL=$DSYMUTIL
7954 # Extract the first word of "dsymutil", so it can be a program name with args.
7955 set dummy dsymutil; ac_word=$2
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7957 $as_echo_n "checking for $ac_word... " >&6; }
7958 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7959 $as_echo_n "(cached) " >&6
7960 else
7961 if test -n "$ac_ct_DSYMUTIL"; then
7962 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7963 else
7964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7965 for as_dir in $PATH
7967 IFS=$as_save_IFS
7968 test -z "$as_dir" && as_dir=.
7969 for ac_exec_ext in '' $ac_executable_extensions; do
7970 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7971 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7973 break 2
7975 done
7976 done
7977 IFS=$as_save_IFS
7981 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7982 if test -n "$ac_ct_DSYMUTIL"; then
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7984 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7985 else
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7987 $as_echo "no" >&6; }
7990 if test "x$ac_ct_DSYMUTIL" = x; then
7991 DSYMUTIL=":"
7992 else
7993 case $cross_compiling:$ac_tool_warned in
7994 yes:)
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7996 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7997 ac_tool_warned=yes ;;
7998 esac
7999 DSYMUTIL=$ac_ct_DSYMUTIL
8001 else
8002 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8005 if test -n "$ac_tool_prefix"; then
8006 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8007 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8009 $as_echo_n "checking for $ac_word... " >&6; }
8010 if ${ac_cv_prog_NMEDIT+:} false; then :
8011 $as_echo_n "(cached) " >&6
8012 else
8013 if test -n "$NMEDIT"; then
8014 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8015 else
8016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8017 for as_dir in $PATH
8019 IFS=$as_save_IFS
8020 test -z "$as_dir" && as_dir=.
8021 for ac_exec_ext in '' $ac_executable_extensions; do
8022 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8023 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8025 break 2
8027 done
8028 done
8029 IFS=$as_save_IFS
8033 NMEDIT=$ac_cv_prog_NMEDIT
8034 if test -n "$NMEDIT"; then
8035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8036 $as_echo "$NMEDIT" >&6; }
8037 else
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8039 $as_echo "no" >&6; }
8044 if test -z "$ac_cv_prog_NMEDIT"; then
8045 ac_ct_NMEDIT=$NMEDIT
8046 # Extract the first word of "nmedit", so it can be a program name with args.
8047 set dummy nmedit; ac_word=$2
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8049 $as_echo_n "checking for $ac_word... " >&6; }
8050 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8051 $as_echo_n "(cached) " >&6
8052 else
8053 if test -n "$ac_ct_NMEDIT"; then
8054 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8055 else
8056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8057 for as_dir in $PATH
8059 IFS=$as_save_IFS
8060 test -z "$as_dir" && as_dir=.
8061 for ac_exec_ext in '' $ac_executable_extensions; do
8062 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8063 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8065 break 2
8067 done
8068 done
8069 IFS=$as_save_IFS
8073 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8074 if test -n "$ac_ct_NMEDIT"; then
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8076 $as_echo "$ac_ct_NMEDIT" >&6; }
8077 else
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8079 $as_echo "no" >&6; }
8082 if test "x$ac_ct_NMEDIT" = x; then
8083 NMEDIT=":"
8084 else
8085 case $cross_compiling:$ac_tool_warned in
8086 yes:)
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8088 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8089 ac_tool_warned=yes ;;
8090 esac
8091 NMEDIT=$ac_ct_NMEDIT
8093 else
8094 NMEDIT="$ac_cv_prog_NMEDIT"
8097 if test -n "$ac_tool_prefix"; then
8098 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8099 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8101 $as_echo_n "checking for $ac_word... " >&6; }
8102 if ${ac_cv_prog_LIPO+:} false; then :
8103 $as_echo_n "(cached) " >&6
8104 else
8105 if test -n "$LIPO"; then
8106 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8107 else
8108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8109 for as_dir in $PATH
8111 IFS=$as_save_IFS
8112 test -z "$as_dir" && as_dir=.
8113 for ac_exec_ext in '' $ac_executable_extensions; do
8114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8115 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8117 break 2
8119 done
8120 done
8121 IFS=$as_save_IFS
8125 LIPO=$ac_cv_prog_LIPO
8126 if test -n "$LIPO"; then
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8128 $as_echo "$LIPO" >&6; }
8129 else
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8131 $as_echo "no" >&6; }
8136 if test -z "$ac_cv_prog_LIPO"; then
8137 ac_ct_LIPO=$LIPO
8138 # Extract the first word of "lipo", so it can be a program name with args.
8139 set dummy lipo; ac_word=$2
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8141 $as_echo_n "checking for $ac_word... " >&6; }
8142 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8143 $as_echo_n "(cached) " >&6
8144 else
8145 if test -n "$ac_ct_LIPO"; then
8146 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8147 else
8148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8149 for as_dir in $PATH
8151 IFS=$as_save_IFS
8152 test -z "$as_dir" && as_dir=.
8153 for ac_exec_ext in '' $ac_executable_extensions; do
8154 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8155 ac_cv_prog_ac_ct_LIPO="lipo"
8156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8157 break 2
8159 done
8160 done
8161 IFS=$as_save_IFS
8165 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8166 if test -n "$ac_ct_LIPO"; then
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8168 $as_echo "$ac_ct_LIPO" >&6; }
8169 else
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8171 $as_echo "no" >&6; }
8174 if test "x$ac_ct_LIPO" = x; then
8175 LIPO=":"
8176 else
8177 case $cross_compiling:$ac_tool_warned in
8178 yes:)
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8180 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8181 ac_tool_warned=yes ;;
8182 esac
8183 LIPO=$ac_ct_LIPO
8185 else
8186 LIPO="$ac_cv_prog_LIPO"
8189 if test -n "$ac_tool_prefix"; then
8190 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8191 set dummy ${ac_tool_prefix}otool; ac_word=$2
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8193 $as_echo_n "checking for $ac_word... " >&6; }
8194 if ${ac_cv_prog_OTOOL+:} false; then :
8195 $as_echo_n "(cached) " >&6
8196 else
8197 if test -n "$OTOOL"; then
8198 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8199 else
8200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8201 for as_dir in $PATH
8203 IFS=$as_save_IFS
8204 test -z "$as_dir" && as_dir=.
8205 for ac_exec_ext in '' $ac_executable_extensions; do
8206 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8207 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8209 break 2
8211 done
8212 done
8213 IFS=$as_save_IFS
8217 OTOOL=$ac_cv_prog_OTOOL
8218 if test -n "$OTOOL"; then
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8220 $as_echo "$OTOOL" >&6; }
8221 else
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8223 $as_echo "no" >&6; }
8228 if test -z "$ac_cv_prog_OTOOL"; then
8229 ac_ct_OTOOL=$OTOOL
8230 # Extract the first word of "otool", so it can be a program name with args.
8231 set dummy otool; ac_word=$2
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8233 $as_echo_n "checking for $ac_word... " >&6; }
8234 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8235 $as_echo_n "(cached) " >&6
8236 else
8237 if test -n "$ac_ct_OTOOL"; then
8238 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8239 else
8240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8241 for as_dir in $PATH
8243 IFS=$as_save_IFS
8244 test -z "$as_dir" && as_dir=.
8245 for ac_exec_ext in '' $ac_executable_extensions; do
8246 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8247 ac_cv_prog_ac_ct_OTOOL="otool"
8248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8249 break 2
8251 done
8252 done
8253 IFS=$as_save_IFS
8257 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8258 if test -n "$ac_ct_OTOOL"; then
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8260 $as_echo "$ac_ct_OTOOL" >&6; }
8261 else
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8263 $as_echo "no" >&6; }
8266 if test "x$ac_ct_OTOOL" = x; then
8267 OTOOL=":"
8268 else
8269 case $cross_compiling:$ac_tool_warned in
8270 yes:)
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8272 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8273 ac_tool_warned=yes ;;
8274 esac
8275 OTOOL=$ac_ct_OTOOL
8277 else
8278 OTOOL="$ac_cv_prog_OTOOL"
8281 if test -n "$ac_tool_prefix"; then
8282 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8283 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8285 $as_echo_n "checking for $ac_word... " >&6; }
8286 if ${ac_cv_prog_OTOOL64+:} false; then :
8287 $as_echo_n "(cached) " >&6
8288 else
8289 if test -n "$OTOOL64"; then
8290 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8291 else
8292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8293 for as_dir in $PATH
8295 IFS=$as_save_IFS
8296 test -z "$as_dir" && as_dir=.
8297 for ac_exec_ext in '' $ac_executable_extensions; do
8298 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8299 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8301 break 2
8303 done
8304 done
8305 IFS=$as_save_IFS
8309 OTOOL64=$ac_cv_prog_OTOOL64
8310 if test -n "$OTOOL64"; then
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8312 $as_echo "$OTOOL64" >&6; }
8313 else
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8315 $as_echo "no" >&6; }
8320 if test -z "$ac_cv_prog_OTOOL64"; then
8321 ac_ct_OTOOL64=$OTOOL64
8322 # Extract the first word of "otool64", so it can be a program name with args.
8323 set dummy otool64; ac_word=$2
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8325 $as_echo_n "checking for $ac_word... " >&6; }
8326 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8327 $as_echo_n "(cached) " >&6
8328 else
8329 if test -n "$ac_ct_OTOOL64"; then
8330 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8331 else
8332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8333 for as_dir in $PATH
8335 IFS=$as_save_IFS
8336 test -z "$as_dir" && as_dir=.
8337 for ac_exec_ext in '' $ac_executable_extensions; do
8338 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8339 ac_cv_prog_ac_ct_OTOOL64="otool64"
8340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8341 break 2
8343 done
8344 done
8345 IFS=$as_save_IFS
8349 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8350 if test -n "$ac_ct_OTOOL64"; then
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8352 $as_echo "$ac_ct_OTOOL64" >&6; }
8353 else
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8355 $as_echo "no" >&6; }
8358 if test "x$ac_ct_OTOOL64" = x; then
8359 OTOOL64=":"
8360 else
8361 case $cross_compiling:$ac_tool_warned in
8362 yes:)
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8364 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8365 ac_tool_warned=yes ;;
8366 esac
8367 OTOOL64=$ac_ct_OTOOL64
8369 else
8370 OTOOL64="$ac_cv_prog_OTOOL64"
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8400 $as_echo_n "checking for -single_module linker flag... " >&6; }
8401 if ${lt_cv_apple_cc_single_mod+:} false; then :
8402 $as_echo_n "(cached) " >&6
8403 else
8404 lt_cv_apple_cc_single_mod=no
8405 if test -z "${LT_MULTI_MODULE}"; then
8406 # By default we will add the -single_module flag. You can override
8407 # by either setting the environment variable LT_MULTI_MODULE
8408 # non-empty at configure time, or by adding -multi_module to the
8409 # link flags.
8410 rm -rf libconftest.dylib*
8411 echo "int foo(void){return 1;}" > conftest.c
8412 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8413 -dynamiclib -Wl,-single_module conftest.c" >&5
8414 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8415 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8416 _lt_result=$?
8417 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8418 lt_cv_apple_cc_single_mod=yes
8419 else
8420 cat conftest.err >&5
8422 rm -rf libconftest.dylib*
8423 rm -f conftest.*
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8427 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8429 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8430 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8431 $as_echo_n "(cached) " >&6
8432 else
8433 lt_cv_ld_exported_symbols_list=no
8434 save_LDFLAGS=$LDFLAGS
8435 echo "_main" > conftest.sym
8436 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8437 if test x$gcc_no_link = xyes; then
8438 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8441 /* end confdefs.h. */
8444 main ()
8448 return 0;
8450 _ACEOF
8451 if ac_fn_c_try_link "$LINENO"; then :
8452 lt_cv_ld_exported_symbols_list=yes
8453 else
8454 lt_cv_ld_exported_symbols_list=no
8456 rm -f core conftest.err conftest.$ac_objext \
8457 conftest$ac_exeext conftest.$ac_ext
8458 LDFLAGS="$save_LDFLAGS"
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8462 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8464 $as_echo_n "checking for -force_load linker flag... " >&6; }
8465 if ${lt_cv_ld_force_load+:} false; then :
8466 $as_echo_n "(cached) " >&6
8467 else
8468 lt_cv_ld_force_load=no
8469 cat > conftest.c << _LT_EOF
8470 int forced_loaded() { return 2;}
8471 _LT_EOF
8472 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8473 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8474 echo "$AR cru libconftest.a conftest.o" >&5
8475 $AR cru libconftest.a conftest.o 2>&5
8476 cat > conftest.c << _LT_EOF
8477 int main() { return 0;}
8478 _LT_EOF
8479 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8480 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8481 _lt_result=$?
8482 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8483 lt_cv_ld_force_load=yes
8484 else
8485 cat conftest.err >&5
8487 rm -f conftest.err libconftest.a conftest conftest.c
8488 rm -rf conftest.dSYM
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8492 $as_echo "$lt_cv_ld_force_load" >&6; }
8493 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
8494 # build without first building modern cctools / linker.
8495 case $host_cpu-$host_os in
8496 *-rhapsody* | *-darwin1.[012])
8497 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8498 *-darwin1.*)
8499 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8500 *-darwin*)
8501 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
8502 # deployment target is forced to an earlier version.
8503 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
8504 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
8506 10.[012][,.]*)
8507 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8511 esac
8513 esac
8514 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8515 _lt_dar_single_mod='$single_module'
8517 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8518 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8519 else
8520 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8522 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8523 _lt_dsymutil='~$DSYMUTIL $lib || :'
8524 else
8525 _lt_dsymutil=
8528 esac
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8531 $as_echo_n "checking for ANSI C header files... " >&6; }
8532 if ${ac_cv_header_stdc+:} false; then :
8533 $as_echo_n "(cached) " >&6
8534 else
8535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8536 /* end confdefs.h. */
8537 #include <stdlib.h>
8538 #include <stdarg.h>
8539 #include <string.h>
8540 #include <float.h>
8543 main ()
8547 return 0;
8549 _ACEOF
8550 if ac_fn_c_try_compile "$LINENO"; then :
8551 ac_cv_header_stdc=yes
8552 else
8553 ac_cv_header_stdc=no
8555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8557 if test $ac_cv_header_stdc = yes; then
8558 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8560 /* end confdefs.h. */
8561 #include <string.h>
8563 _ACEOF
8564 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8565 $EGREP "memchr" >/dev/null 2>&1; then :
8567 else
8568 ac_cv_header_stdc=no
8570 rm -f conftest*
8574 if test $ac_cv_header_stdc = yes; then
8575 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8577 /* end confdefs.h. */
8578 #include <stdlib.h>
8580 _ACEOF
8581 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8582 $EGREP "free" >/dev/null 2>&1; then :
8584 else
8585 ac_cv_header_stdc=no
8587 rm -f conftest*
8591 if test $ac_cv_header_stdc = yes; then
8592 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8593 if test "$cross_compiling" = yes; then :
8595 else
8596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8597 /* end confdefs.h. */
8598 #include <ctype.h>
8599 #include <stdlib.h>
8600 #if ((' ' & 0x0FF) == 0x020)
8601 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8602 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8603 #else
8604 # define ISLOWER(c) \
8605 (('a' <= (c) && (c) <= 'i') \
8606 || ('j' <= (c) && (c) <= 'r') \
8607 || ('s' <= (c) && (c) <= 'z'))
8608 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8609 #endif
8611 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8613 main ()
8615 int i;
8616 for (i = 0; i < 256; i++)
8617 if (XOR (islower (i), ISLOWER (i))
8618 || toupper (i) != TOUPPER (i))
8619 return 2;
8620 return 0;
8622 _ACEOF
8623 if ac_fn_c_try_run "$LINENO"; then :
8625 else
8626 ac_cv_header_stdc=no
8628 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8629 conftest.$ac_objext conftest.beam conftest.$ac_ext
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8635 $as_echo "$ac_cv_header_stdc" >&6; }
8636 if test $ac_cv_header_stdc = yes; then
8638 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8642 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8643 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8644 inttypes.h stdint.h unistd.h
8645 do :
8646 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8647 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8649 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8650 cat >>confdefs.h <<_ACEOF
8651 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8652 _ACEOF
8656 done
8659 for ac_header in dlfcn.h
8660 do :
8661 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8663 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8664 cat >>confdefs.h <<_ACEOF
8665 #define HAVE_DLFCN_H 1
8666 _ACEOF
8670 done
8677 # Set options
8682 enable_win32_dll=no
8685 # Check whether --enable-shared was given.
8686 if test "${enable_shared+set}" = set; then :
8687 enableval=$enable_shared; p=${PACKAGE-default}
8688 case $enableval in
8689 yes) enable_shared=yes ;;
8690 no) enable_shared=no ;;
8692 enable_shared=no
8693 # Look at the argument we got. We use all the common list separators.
8694 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8695 for pkg in $enableval; do
8696 IFS="$lt_save_ifs"
8697 if test "X$pkg" = "X$p"; then
8698 enable_shared=yes
8700 done
8701 IFS="$lt_save_ifs"
8703 esac
8704 else
8705 enable_shared=yes
8716 # Check whether --enable-static was given.
8717 if test "${enable_static+set}" = set; then :
8718 enableval=$enable_static; p=${PACKAGE-default}
8719 case $enableval in
8720 yes) enable_static=yes ;;
8721 no) enable_static=no ;;
8723 enable_static=no
8724 # Look at the argument we got. We use all the common list separators.
8725 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8726 for pkg in $enableval; do
8727 IFS="$lt_save_ifs"
8728 if test "X$pkg" = "X$p"; then
8729 enable_static=yes
8731 done
8732 IFS="$lt_save_ifs"
8734 esac
8735 else
8736 enable_static=yes
8748 # Check whether --with-pic was given.
8749 if test "${with_pic+set}" = set; then :
8750 withval=$with_pic; pic_mode="$withval"
8751 else
8752 pic_mode=default
8756 test -z "$pic_mode" && pic_mode=default
8764 # Check whether --enable-fast-install was given.
8765 if test "${enable_fast_install+set}" = set; then :
8766 enableval=$enable_fast_install; p=${PACKAGE-default}
8767 case $enableval in
8768 yes) enable_fast_install=yes ;;
8769 no) enable_fast_install=no ;;
8771 enable_fast_install=no
8772 # Look at the argument we got. We use all the common list separators.
8773 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8774 for pkg in $enableval; do
8775 IFS="$lt_save_ifs"
8776 if test "X$pkg" = "X$p"; then
8777 enable_fast_install=yes
8779 done
8780 IFS="$lt_save_ifs"
8782 esac
8783 else
8784 enable_fast_install=yes
8797 # This can be used to rebuild libtool when needed
8798 LIBTOOL_DEPS="$ltmain"
8800 # Always use our own libtool.
8801 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8828 test -z "$LN_S" && LN_S="ln -s"
8843 if test -n "${ZSH_VERSION+set}" ; then
8844 setopt NO_GLOB_SUBST
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8848 $as_echo_n "checking for objdir... " >&6; }
8849 if ${lt_cv_objdir+:} false; then :
8850 $as_echo_n "(cached) " >&6
8851 else
8852 rm -f .libs 2>/dev/null
8853 mkdir .libs 2>/dev/null
8854 if test -d .libs; then
8855 lt_cv_objdir=.libs
8856 else
8857 # MS-DOS does not allow filenames that begin with a dot.
8858 lt_cv_objdir=_libs
8860 rmdir .libs 2>/dev/null
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8863 $as_echo "$lt_cv_objdir" >&6; }
8864 objdir=$lt_cv_objdir
8870 cat >>confdefs.h <<_ACEOF
8871 #define LT_OBJDIR "$lt_cv_objdir/"
8872 _ACEOF
8877 case $host_os in
8878 aix3*)
8879 # AIX sometimes has problems with the GCC collect2 program. For some
8880 # reason, if we set the COLLECT_NAMES environment variable, the problems
8881 # vanish in a puff of smoke.
8882 if test "X${COLLECT_NAMES+set}" != Xset; then
8883 COLLECT_NAMES=
8884 export COLLECT_NAMES
8887 esac
8889 # Global variables:
8890 ofile=libtool
8891 can_build_shared=yes
8893 # All known linkers require a `.a' archive for static linking (except MSVC,
8894 # which needs '.lib').
8895 libext=a
8897 with_gnu_ld="$lt_cv_prog_gnu_ld"
8899 old_CC="$CC"
8900 old_CFLAGS="$CFLAGS"
8902 # Set sane defaults for various variables
8903 test -z "$CC" && CC=cc
8904 test -z "$LTCC" && LTCC=$CC
8905 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8906 test -z "$LD" && LD=ld
8907 test -z "$ac_objext" && ac_objext=o
8909 for cc_temp in $compiler""; do
8910 case $cc_temp in
8911 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8912 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8913 \-*) ;;
8914 *) break;;
8915 esac
8916 done
8917 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8920 # Only perform the check for file, if the check method requires it
8921 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8922 case $deplibs_check_method in
8923 file_magic*)
8924 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8926 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8927 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8928 $as_echo_n "(cached) " >&6
8929 else
8930 case $MAGIC_CMD in
8931 [\\/*] | ?:[\\/]*)
8932 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8935 lt_save_MAGIC_CMD="$MAGIC_CMD"
8936 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8937 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8938 for ac_dir in $ac_dummy; do
8939 IFS="$lt_save_ifs"
8940 test -z "$ac_dir" && ac_dir=.
8941 if test -f $ac_dir/${ac_tool_prefix}file; then
8942 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8943 if test -n "$file_magic_test_file"; then
8944 case $deplibs_check_method in
8945 "file_magic "*)
8946 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8947 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8948 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8949 $EGREP "$file_magic_regex" > /dev/null; then
8951 else
8952 cat <<_LT_EOF 1>&2
8954 *** Warning: the command libtool uses to detect shared libraries,
8955 *** $file_magic_cmd, produces output that libtool cannot recognize.
8956 *** The result is that libtool may fail to recognize shared libraries
8957 *** as such. This will affect the creation of libtool libraries that
8958 *** depend on shared libraries, but programs linked with such libtool
8959 *** libraries will work regardless of this problem. Nevertheless, you
8960 *** may want to report the problem to your system manager and/or to
8961 *** bug-libtool@gnu.org
8963 _LT_EOF
8964 fi ;;
8965 esac
8967 break
8969 done
8970 IFS="$lt_save_ifs"
8971 MAGIC_CMD="$lt_save_MAGIC_CMD"
8973 esac
8976 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8977 if test -n "$MAGIC_CMD"; then
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8979 $as_echo "$MAGIC_CMD" >&6; }
8980 else
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8982 $as_echo "no" >&6; }
8989 if test -z "$lt_cv_path_MAGIC_CMD"; then
8990 if test -n "$ac_tool_prefix"; then
8991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8992 $as_echo_n "checking for file... " >&6; }
8993 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8994 $as_echo_n "(cached) " >&6
8995 else
8996 case $MAGIC_CMD in
8997 [\\/*] | ?:[\\/]*)
8998 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9001 lt_save_MAGIC_CMD="$MAGIC_CMD"
9002 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9003 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9004 for ac_dir in $ac_dummy; do
9005 IFS="$lt_save_ifs"
9006 test -z "$ac_dir" && ac_dir=.
9007 if test -f $ac_dir/file; then
9008 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9009 if test -n "$file_magic_test_file"; then
9010 case $deplibs_check_method in
9011 "file_magic "*)
9012 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9013 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9014 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9015 $EGREP "$file_magic_regex" > /dev/null; then
9017 else
9018 cat <<_LT_EOF 1>&2
9020 *** Warning: the command libtool uses to detect shared libraries,
9021 *** $file_magic_cmd, produces output that libtool cannot recognize.
9022 *** The result is that libtool may fail to recognize shared libraries
9023 *** as such. This will affect the creation of libtool libraries that
9024 *** depend on shared libraries, but programs linked with such libtool
9025 *** libraries will work regardless of this problem. Nevertheless, you
9026 *** may want to report the problem to your system manager and/or to
9027 *** bug-libtool@gnu.org
9029 _LT_EOF
9030 fi ;;
9031 esac
9033 break
9035 done
9036 IFS="$lt_save_ifs"
9037 MAGIC_CMD="$lt_save_MAGIC_CMD"
9039 esac
9042 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9043 if test -n "$MAGIC_CMD"; then
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9045 $as_echo "$MAGIC_CMD" >&6; }
9046 else
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9048 $as_echo "no" >&6; }
9052 else
9053 MAGIC_CMD=:
9059 esac
9061 # Use C for the default configuration in the libtool script
9063 lt_save_CC="$CC"
9064 ac_ext=c
9065 ac_cpp='$CPP $CPPFLAGS'
9066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9071 # Source file extension for C test sources.
9072 ac_ext=c
9074 # Object file extension for compiled C test sources.
9075 objext=o
9076 objext=$objext
9078 # Code to be used in simple compile tests
9079 lt_simple_compile_test_code="int some_variable = 0;"
9081 # Code to be used in simple link tests
9082 lt_simple_link_test_code='int main(){return(0);}'
9090 # If no C compiler was specified, use CC.
9091 LTCC=${LTCC-"$CC"}
9093 # If no C compiler flags were specified, use CFLAGS.
9094 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9096 # Allow CC to be a program name with arguments.
9097 compiler=$CC
9099 # Save the default compiler, since it gets overwritten when the other
9100 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9101 compiler_DEFAULT=$CC
9103 # save warnings/boilerplate of simple test code
9104 ac_outfile=conftest.$ac_objext
9105 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9106 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9107 _lt_compiler_boilerplate=`cat conftest.err`
9108 $RM conftest*
9110 ac_outfile=conftest.$ac_objext
9111 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9112 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9113 _lt_linker_boilerplate=`cat conftest.err`
9114 $RM -r conftest*
9117 ## CAVEAT EMPTOR:
9118 ## There is no encapsulation within the following macros, do not change
9119 ## the running order or otherwise move them around unless you know exactly
9120 ## what you are doing...
9121 if test -n "$compiler"; then
9123 lt_prog_compiler_no_builtin_flag=
9125 if test "$GCC" = yes; then
9126 case $cc_basename in
9127 nvcc*)
9128 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9130 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9131 esac
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9134 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9135 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9136 $as_echo_n "(cached) " >&6
9137 else
9138 lt_cv_prog_compiler_rtti_exceptions=no
9139 ac_outfile=conftest.$ac_objext
9140 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9141 lt_compiler_flag="-fno-rtti -fno-exceptions"
9142 # Insert the option either (1) after the last *FLAGS variable, or
9143 # (2) before a word containing "conftest.", or (3) at the end.
9144 # Note that $ac_compile itself does not contain backslashes and begins
9145 # with a dollar sign (not a hyphen), so the echo should work correctly.
9146 # The option is referenced via a variable to avoid confusing sed.
9147 lt_compile=`echo "$ac_compile" | $SED \
9148 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9149 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9150 -e 's:$: $lt_compiler_flag:'`
9151 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9152 (eval "$lt_compile" 2>conftest.err)
9153 ac_status=$?
9154 cat conftest.err >&5
9155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9156 if (exit $ac_status) && test -s "$ac_outfile"; then
9157 # The compiler can only warn and ignore the option if not recognized
9158 # So say no if there are warnings other than the usual output.
9159 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9160 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9161 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9162 lt_cv_prog_compiler_rtti_exceptions=yes
9165 $RM conftest*
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9169 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9171 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9172 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9173 else
9184 lt_prog_compiler_wl=
9185 lt_prog_compiler_pic=
9186 lt_prog_compiler_static=
9188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9189 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9191 if test "$GCC" = yes; then
9192 lt_prog_compiler_wl='-Wl,'
9193 lt_prog_compiler_static='-static'
9195 case $host_os in
9196 aix*)
9197 # All AIX code is PIC.
9198 if test "$host_cpu" = ia64; then
9199 # AIX 5 now supports IA64 processor
9200 lt_prog_compiler_static='-Bstatic'
9202 lt_prog_compiler_pic='-fPIC'
9205 amigaos*)
9206 case $host_cpu in
9207 powerpc)
9208 # see comment about AmigaOS4 .so support
9209 lt_prog_compiler_pic='-fPIC'
9211 m68k)
9212 # FIXME: we need at least 68020 code to build shared libraries, but
9213 # adding the `-m68020' flag to GCC prevents building anything better,
9214 # like `-m68040'.
9215 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9217 esac
9220 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9221 # PIC is the default for these OSes.
9224 mingw* | cygwin* | pw32* | os2* | cegcc*)
9225 # This hack is so that the source file can tell whether it is being
9226 # built for inclusion in a dll (and should export symbols for example).
9227 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9228 # (--disable-auto-import) libraries
9229 lt_prog_compiler_pic='-DDLL_EXPORT'
9232 darwin* | rhapsody*)
9233 # PIC is the default on this platform
9234 # Common symbols not allowed in MH_DYLIB files
9235 lt_prog_compiler_pic='-fno-common'
9238 haiku*)
9239 # PIC is the default for Haiku.
9240 # The "-static" flag exists, but is broken.
9241 lt_prog_compiler_static=
9244 hpux*)
9245 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9246 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9247 # sets the default TLS model and affects inlining.
9248 case $host_cpu in
9249 hppa*64*)
9250 # +Z the default
9253 lt_prog_compiler_pic='-fPIC'
9255 esac
9258 interix[3-9]*)
9259 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9260 # Instead, we relocate shared libraries at runtime.
9263 msdosdjgpp*)
9264 # Just because we use GCC doesn't mean we suddenly get shared libraries
9265 # on systems that don't support them.
9266 lt_prog_compiler_can_build_shared=no
9267 enable_shared=no
9270 *nto* | *qnx*)
9271 # QNX uses GNU C++, but need to define -shared option too, otherwise
9272 # it will coredump.
9273 lt_prog_compiler_pic='-fPIC -shared'
9276 sysv4*MP*)
9277 if test -d /usr/nec; then
9278 lt_prog_compiler_pic=-Kconform_pic
9283 lt_prog_compiler_pic='-fPIC'
9285 esac
9287 case $cc_basename in
9288 nvcc*) # Cuda Compiler Driver 2.2
9289 lt_prog_compiler_wl='-Xlinker '
9290 lt_prog_compiler_pic='-Xcompiler -fPIC'
9292 esac
9293 else
9294 # PORTME Check for flag to pass linker flags through the system compiler.
9295 case $host_os in
9296 aix*)
9297 lt_prog_compiler_wl='-Wl,'
9298 if test "$host_cpu" = ia64; then
9299 # AIX 5 now supports IA64 processor
9300 lt_prog_compiler_static='-Bstatic'
9301 else
9302 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9306 mingw* | cygwin* | pw32* | os2* | cegcc*)
9307 # This hack is so that the source file can tell whether it is being
9308 # built for inclusion in a dll (and should export symbols for example).
9309 lt_prog_compiler_pic='-DDLL_EXPORT'
9312 hpux9* | hpux10* | hpux11*)
9313 lt_prog_compiler_wl='-Wl,'
9314 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9315 # not for PA HP-UX.
9316 case $host_cpu in
9317 hppa*64*|ia64*)
9318 # +Z the default
9321 lt_prog_compiler_pic='+Z'
9323 esac
9324 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9325 lt_prog_compiler_static='${wl}-a ${wl}archive'
9328 irix5* | irix6* | nonstopux*)
9329 lt_prog_compiler_wl='-Wl,'
9330 # PIC (with -KPIC) is the default.
9331 lt_prog_compiler_static='-non_shared'
9334 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9335 case $cc_basename in
9336 # old Intel for x86_64 which still supported -KPIC.
9337 ecc*)
9338 lt_prog_compiler_wl='-Wl,'
9339 lt_prog_compiler_pic='-KPIC'
9340 lt_prog_compiler_static='-static'
9342 # icc used to be incompatible with GCC.
9343 # ICC 10 doesn't accept -KPIC any more.
9344 icc* | ifort*)
9345 lt_prog_compiler_wl='-Wl,'
9346 lt_prog_compiler_pic='-fPIC'
9347 lt_prog_compiler_static='-static'
9349 # Lahey Fortran 8.1.
9350 lf95*)
9351 lt_prog_compiler_wl='-Wl,'
9352 lt_prog_compiler_pic='--shared'
9353 lt_prog_compiler_static='--static'
9355 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9356 # Portland Group compilers (*not* the Pentium gcc compiler,
9357 # which looks to be a dead project)
9358 lt_prog_compiler_wl='-Wl,'
9359 lt_prog_compiler_pic='-fpic'
9360 lt_prog_compiler_static='-Bstatic'
9362 ccc*)
9363 lt_prog_compiler_wl='-Wl,'
9364 # All Alpha code is PIC.
9365 lt_prog_compiler_static='-non_shared'
9367 xl* | bgxl* | bgf* | mpixl*)
9368 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9369 lt_prog_compiler_wl='-Wl,'
9370 lt_prog_compiler_pic='-qpic'
9371 lt_prog_compiler_static='-qstaticlink'
9374 case `$CC -V 2>&1 | sed 5q` in
9375 *Sun\ F* | *Sun*Fortran*)
9376 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9377 lt_prog_compiler_pic='-KPIC'
9378 lt_prog_compiler_static='-Bstatic'
9379 lt_prog_compiler_wl=''
9381 *Sun\ C*)
9382 # Sun C 5.9
9383 lt_prog_compiler_pic='-KPIC'
9384 lt_prog_compiler_static='-Bstatic'
9385 lt_prog_compiler_wl='-Wl,'
9387 esac
9389 esac
9392 newsos6)
9393 lt_prog_compiler_pic='-KPIC'
9394 lt_prog_compiler_static='-Bstatic'
9397 *nto* | *qnx*)
9398 # QNX uses GNU C++, but need to define -shared option too, otherwise
9399 # it will coredump.
9400 lt_prog_compiler_pic='-fPIC -shared'
9403 osf3* | osf4* | osf5*)
9404 lt_prog_compiler_wl='-Wl,'
9405 # All OSF/1 code is PIC.
9406 lt_prog_compiler_static='-non_shared'
9409 rdos*)
9410 lt_prog_compiler_static='-non_shared'
9413 solaris*)
9414 lt_prog_compiler_pic='-KPIC'
9415 lt_prog_compiler_static='-Bstatic'
9416 case $cc_basename in
9417 f77* | f90* | f95*)
9418 lt_prog_compiler_wl='-Qoption ld ';;
9420 lt_prog_compiler_wl='-Wl,';;
9421 esac
9424 sunos4*)
9425 lt_prog_compiler_wl='-Qoption ld '
9426 lt_prog_compiler_pic='-PIC'
9427 lt_prog_compiler_static='-Bstatic'
9430 sysv4 | sysv4.2uw2* | sysv4.3*)
9431 lt_prog_compiler_wl='-Wl,'
9432 lt_prog_compiler_pic='-KPIC'
9433 lt_prog_compiler_static='-Bstatic'
9436 sysv4*MP*)
9437 if test -d /usr/nec ;then
9438 lt_prog_compiler_pic='-Kconform_pic'
9439 lt_prog_compiler_static='-Bstatic'
9443 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9444 lt_prog_compiler_wl='-Wl,'
9445 lt_prog_compiler_pic='-KPIC'
9446 lt_prog_compiler_static='-Bstatic'
9449 unicos*)
9450 lt_prog_compiler_wl='-Wl,'
9451 lt_prog_compiler_can_build_shared=no
9454 uts4*)
9455 lt_prog_compiler_pic='-pic'
9456 lt_prog_compiler_static='-Bstatic'
9460 lt_prog_compiler_can_build_shared=no
9462 esac
9465 case $host_os in
9466 # For platforms which do not support PIC, -DPIC is meaningless:
9467 *djgpp*)
9468 lt_prog_compiler_pic=
9471 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9473 esac
9474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9475 $as_echo "$lt_prog_compiler_pic" >&6; }
9483 # Check to make sure the PIC flag actually works.
9485 if test -n "$lt_prog_compiler_pic"; then
9486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9487 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9488 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9489 $as_echo_n "(cached) " >&6
9490 else
9491 lt_cv_prog_compiler_pic_works=no
9492 ac_outfile=conftest.$ac_objext
9493 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9494 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9495 # Insert the option either (1) after the last *FLAGS variable, or
9496 # (2) before a word containing "conftest.", or (3) at the end.
9497 # Note that $ac_compile itself does not contain backslashes and begins
9498 # with a dollar sign (not a hyphen), so the echo should work correctly.
9499 # The option is referenced via a variable to avoid confusing sed.
9500 lt_compile=`echo "$ac_compile" | $SED \
9501 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9502 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9503 -e 's:$: $lt_compiler_flag:'`
9504 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9505 (eval "$lt_compile" 2>conftest.err)
9506 ac_status=$?
9507 cat conftest.err >&5
9508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9509 if (exit $ac_status) && test -s "$ac_outfile"; then
9510 # The compiler can only warn and ignore the option if not recognized
9511 # So say no if there are warnings other than the usual output.
9512 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9513 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9514 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9515 lt_cv_prog_compiler_pic_works=yes
9518 $RM conftest*
9521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9522 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9524 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9525 case $lt_prog_compiler_pic in
9526 "" | " "*) ;;
9527 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9528 esac
9529 else
9530 lt_prog_compiler_pic=
9531 lt_prog_compiler_can_build_shared=no
9542 # Check to make sure the static flag actually works.
9544 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9546 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9547 if ${lt_cv_prog_compiler_static_works+:} false; then :
9548 $as_echo_n "(cached) " >&6
9549 else
9550 lt_cv_prog_compiler_static_works=no
9551 save_LDFLAGS="$LDFLAGS"
9552 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9553 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9554 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9555 # The linker can only warn and ignore the option if not recognized
9556 # So say no if there are warnings
9557 if test -s conftest.err; then
9558 # Append any errors to the config.log.
9559 cat conftest.err 1>&5
9560 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9561 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9562 if diff conftest.exp conftest.er2 >/dev/null; then
9563 lt_cv_prog_compiler_static_works=yes
9565 else
9566 lt_cv_prog_compiler_static_works=yes
9569 $RM -r conftest*
9570 LDFLAGS="$save_LDFLAGS"
9573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9574 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9576 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9578 else
9579 lt_prog_compiler_static=
9588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9589 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9590 if ${lt_cv_prog_compiler_c_o+:} false; then :
9591 $as_echo_n "(cached) " >&6
9592 else
9593 lt_cv_prog_compiler_c_o=no
9594 $RM -r conftest 2>/dev/null
9595 mkdir conftest
9596 cd conftest
9597 mkdir out
9598 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9600 lt_compiler_flag="-o out/conftest2.$ac_objext"
9601 # Insert the option either (1) after the last *FLAGS variable, or
9602 # (2) before a word containing "conftest.", or (3) at the end.
9603 # Note that $ac_compile itself does not contain backslashes and begins
9604 # with a dollar sign (not a hyphen), so the echo should work correctly.
9605 lt_compile=`echo "$ac_compile" | $SED \
9606 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9607 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9608 -e 's:$: $lt_compiler_flag:'`
9609 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9610 (eval "$lt_compile" 2>out/conftest.err)
9611 ac_status=$?
9612 cat out/conftest.err >&5
9613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9614 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9615 then
9616 # The compiler can only warn and ignore the option if not recognized
9617 # So say no if there are warnings
9618 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9619 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9620 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9621 lt_cv_prog_compiler_c_o=yes
9624 chmod u+w . 2>&5
9625 $RM conftest*
9626 # SGI C++ compiler will create directory out/ii_files/ for
9627 # template instantiation
9628 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9629 $RM out/* && rmdir out
9630 cd ..
9631 $RM -r conftest
9632 $RM conftest*
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9636 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9644 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9645 if ${lt_cv_prog_compiler_c_o+:} false; then :
9646 $as_echo_n "(cached) " >&6
9647 else
9648 lt_cv_prog_compiler_c_o=no
9649 $RM -r conftest 2>/dev/null
9650 mkdir conftest
9651 cd conftest
9652 mkdir out
9653 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9655 lt_compiler_flag="-o out/conftest2.$ac_objext"
9656 # Insert the option either (1) after the last *FLAGS variable, or
9657 # (2) before a word containing "conftest.", or (3) at the end.
9658 # Note that $ac_compile itself does not contain backslashes and begins
9659 # with a dollar sign (not a hyphen), so the echo should work correctly.
9660 lt_compile=`echo "$ac_compile" | $SED \
9661 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9662 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9663 -e 's:$: $lt_compiler_flag:'`
9664 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9665 (eval "$lt_compile" 2>out/conftest.err)
9666 ac_status=$?
9667 cat out/conftest.err >&5
9668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9669 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9670 then
9671 # The compiler can only warn and ignore the option if not recognized
9672 # So say no if there are warnings
9673 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9674 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9675 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9676 lt_cv_prog_compiler_c_o=yes
9679 chmod u+w . 2>&5
9680 $RM conftest*
9681 # SGI C++ compiler will create directory out/ii_files/ for
9682 # template instantiation
9683 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9684 $RM out/* && rmdir out
9685 cd ..
9686 $RM -r conftest
9687 $RM conftest*
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9691 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9696 hard_links="nottested"
9697 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9698 # do not overwrite the value of need_locks provided by the user
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9700 $as_echo_n "checking if we can lock with hard links... " >&6; }
9701 hard_links=yes
9702 $RM conftest*
9703 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9704 touch conftest.a
9705 ln conftest.a conftest.b 2>&5 || hard_links=no
9706 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9708 $as_echo "$hard_links" >&6; }
9709 if test "$hard_links" = no; then
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9711 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9712 need_locks=warn
9714 else
9715 need_locks=no
9723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9724 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9726 runpath_var=
9727 allow_undefined_flag=
9728 always_export_symbols=no
9729 archive_cmds=
9730 archive_expsym_cmds=
9731 compiler_needs_object=no
9732 enable_shared_with_static_runtimes=no
9733 export_dynamic_flag_spec=
9734 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9735 hardcode_automatic=no
9736 hardcode_direct=no
9737 hardcode_direct_absolute=no
9738 hardcode_libdir_flag_spec=
9739 hardcode_libdir_flag_spec_ld=
9740 hardcode_libdir_separator=
9741 hardcode_minus_L=no
9742 hardcode_shlibpath_var=unsupported
9743 inherit_rpath=no
9744 link_all_deplibs=unknown
9745 module_cmds=
9746 module_expsym_cmds=
9747 old_archive_from_new_cmds=
9748 old_archive_from_expsyms_cmds=
9749 thread_safe_flag_spec=
9750 whole_archive_flag_spec=
9751 # include_expsyms should be a list of space-separated symbols to be *always*
9752 # included in the symbol list
9753 include_expsyms=
9754 # exclude_expsyms can be an extended regexp of symbols to exclude
9755 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9756 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9757 # as well as any symbol that contains `d'.
9758 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9759 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9760 # platforms (ab)use it in PIC code, but their linkers get confused if
9761 # the symbol is explicitly referenced. Since portable code cannot
9762 # rely on this symbol name, it's probably fine to never include it in
9763 # preloaded symbol tables.
9764 # Exclude shared library initialization/finalization symbols.
9765 extract_expsyms_cmds=
9767 case $host_os in
9768 cygwin* | mingw* | pw32* | cegcc*)
9769 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9770 # When not using gcc, we currently assume that we are using
9771 # Microsoft Visual C++.
9772 if test "$GCC" != yes; then
9773 with_gnu_ld=no
9776 interix*)
9777 # we just hope/assume this is gcc and not c89 (= MSVC++)
9778 with_gnu_ld=yes
9780 openbsd*)
9781 with_gnu_ld=no
9783 esac
9785 ld_shlibs=yes
9787 # On some targets, GNU ld is compatible enough with the native linker
9788 # that we're better off using the native interface for both.
9789 lt_use_gnu_ld_interface=no
9790 if test "$with_gnu_ld" = yes; then
9791 case $host_os in
9792 aix*)
9793 # The AIX port of GNU ld has always aspired to compatibility
9794 # with the native linker. However, as the warning in the GNU ld
9795 # block says, versions before 2.19.5* couldn't really create working
9796 # shared libraries, regardless of the interface used.
9797 case `$LD -v 2>&1` in
9798 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9799 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9800 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9802 lt_use_gnu_ld_interface=yes
9804 esac
9807 lt_use_gnu_ld_interface=yes
9809 esac
9812 if test "$lt_use_gnu_ld_interface" = yes; then
9813 # If archive_cmds runs LD, not CC, wlarc should be empty
9814 wlarc='${wl}'
9816 # Set some defaults for GNU ld with shared library support. These
9817 # are reset later if shared libraries are not supported. Putting them
9818 # here allows them to be overridden if necessary.
9819 runpath_var=LD_RUN_PATH
9820 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9821 export_dynamic_flag_spec='${wl}--export-dynamic'
9822 # ancient GNU ld didn't support --whole-archive et. al.
9823 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9824 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9825 else
9826 whole_archive_flag_spec=
9828 supports_anon_versioning=no
9829 case `$LD -v 2>&1` in
9830 *GNU\ gold*) supports_anon_versioning=yes ;;
9831 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9832 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9833 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9834 *\ 2.11.*) ;; # other 2.11 versions
9835 *) supports_anon_versioning=yes ;;
9836 esac
9838 # See if GNU ld supports shared libraries.
9839 case $host_os in
9840 aix[3-9]*)
9841 # On AIX/PPC, the GNU linker is very broken
9842 if test "$host_cpu" != ia64; then
9843 ld_shlibs=no
9844 cat <<_LT_EOF 1>&2
9846 *** Warning: the GNU linker, at least up to release 2.19, is reported
9847 *** to be unable to reliably create shared libraries on AIX.
9848 *** Therefore, libtool is disabling shared libraries support. If you
9849 *** really care for shared libraries, you may want to install binutils
9850 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9851 *** You will then need to restart the configuration process.
9853 _LT_EOF
9857 amigaos*)
9858 case $host_cpu in
9859 powerpc)
9860 # see comment about AmigaOS4 .so support
9861 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9862 archive_expsym_cmds=''
9864 m68k)
9865 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)'
9866 hardcode_libdir_flag_spec='-L$libdir'
9867 hardcode_minus_L=yes
9869 esac
9872 beos*)
9873 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9874 allow_undefined_flag=unsupported
9875 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9876 # support --undefined. This deserves some investigation. FIXME
9877 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9878 else
9879 ld_shlibs=no
9883 cygwin* | mingw* | pw32* | cegcc*)
9884 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9885 # as there is no search path for DLLs.
9886 hardcode_libdir_flag_spec='-L$libdir'
9887 export_dynamic_flag_spec='${wl}--export-all-symbols'
9888 allow_undefined_flag=unsupported
9889 always_export_symbols=no
9890 enable_shared_with_static_runtimes=yes
9891 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9893 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9894 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9895 # If the export-symbols file already is a .def file (1st line
9896 # is EXPORTS), use it as is; otherwise, prepend...
9897 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9898 cp $export_symbols $output_objdir/$soname.def;
9899 else
9900 echo EXPORTS > $output_objdir/$soname.def;
9901 cat $export_symbols >> $output_objdir/$soname.def;
9903 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9904 else
9905 ld_shlibs=no
9909 haiku*)
9910 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9911 link_all_deplibs=yes
9914 interix[3-9]*)
9915 hardcode_direct=no
9916 hardcode_shlibpath_var=no
9917 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9918 export_dynamic_flag_spec='${wl}-E'
9919 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9920 # Instead, shared libraries are loaded at an image base (0x10000000 by
9921 # default) and relocated if they conflict, which is a slow very memory
9922 # consuming and fragmenting process. To avoid this, we pick a random,
9923 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9924 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9925 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9926 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'
9929 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
9930 tmp_diet=no
9931 if test "$host_os" = linux-dietlibc; then
9932 case $cc_basename in
9933 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9934 esac
9936 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9937 && test "$tmp_diet" = no
9938 then
9939 tmp_addflag=' $pic_flag'
9940 tmp_sharedflag='-shared'
9941 case $cc_basename,$host_cpu in
9942 pgcc*) # Portland Group C compiler
9943 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'
9944 tmp_addflag=' $pic_flag'
9946 pgf77* | pgf90* | pgf95* | pgfortran*)
9947 # Portland Group f77 and f90 compilers
9948 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'
9949 tmp_addflag=' $pic_flag -Mnomain' ;;
9950 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9951 tmp_addflag=' -i_dynamic' ;;
9952 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9953 tmp_addflag=' -i_dynamic -nofor_main' ;;
9954 ifc* | ifort*) # Intel Fortran compiler
9955 tmp_addflag=' -nofor_main' ;;
9956 lf95*) # Lahey Fortran 8.1
9957 whole_archive_flag_spec=
9958 tmp_sharedflag='--shared' ;;
9959 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9960 tmp_sharedflag='-qmkshrobj'
9961 tmp_addflag= ;;
9962 nvcc*) # Cuda Compiler Driver 2.2
9963 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'
9964 compiler_needs_object=yes
9966 esac
9967 case `$CC -V 2>&1 | sed 5q` in
9968 *Sun\ C*) # Sun C 5.9
9969 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'
9970 compiler_needs_object=yes
9971 tmp_sharedflag='-G' ;;
9972 *Sun\ F*) # Sun Fortran 8.3
9973 tmp_sharedflag='-G' ;;
9974 esac
9975 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9977 if test "x$supports_anon_versioning" = xyes; then
9978 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9979 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9980 echo "local: *; };" >> $output_objdir/$libname.ver~
9981 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9984 case $cc_basename in
9985 xlf* | bgf* | bgxlf* | mpixlf*)
9986 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9987 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9988 hardcode_libdir_flag_spec=
9989 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9990 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9991 if test "x$supports_anon_versioning" = xyes; then
9992 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9993 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9994 echo "local: *; };" >> $output_objdir/$libname.ver~
9995 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9998 esac
9999 else
10000 ld_shlibs=no
10004 netbsd*)
10005 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10006 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10007 wlarc=
10008 else
10009 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10010 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10014 solaris*)
10015 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10016 ld_shlibs=no
10017 cat <<_LT_EOF 1>&2
10019 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10020 *** create shared libraries on Solaris systems. Therefore, libtool
10021 *** is disabling shared libraries support. We urge you to upgrade GNU
10022 *** binutils to release 2.9.1 or newer. Another option is to modify
10023 *** your PATH or compiler configuration so that the native linker is
10024 *** used, and then restart.
10026 _LT_EOF
10027 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10028 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10029 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10030 else
10031 ld_shlibs=no
10035 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10036 case `$LD -v 2>&1` in
10037 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10038 ld_shlibs=no
10039 cat <<_LT_EOF 1>&2
10041 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10042 *** reliably create shared libraries on SCO systems. Therefore, libtool
10043 *** is disabling shared libraries support. We urge you to upgrade GNU
10044 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10045 *** your PATH or compiler configuration so that the native linker is
10046 *** used, and then restart.
10048 _LT_EOF
10051 # For security reasons, it is highly recommended that you always
10052 # use absolute paths for naming shared libraries, and exclude the
10053 # DT_RUNPATH tag from executables and libraries. But doing so
10054 # requires that you compile everything twice, which is a pain.
10055 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10056 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10057 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10058 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10059 else
10060 ld_shlibs=no
10063 esac
10066 sunos4*)
10067 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10068 wlarc=
10069 hardcode_direct=yes
10070 hardcode_shlibpath_var=no
10074 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10075 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10076 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10077 else
10078 ld_shlibs=no
10081 esac
10083 if test "$ld_shlibs" = no; then
10084 runpath_var=
10085 hardcode_libdir_flag_spec=
10086 export_dynamic_flag_spec=
10087 whole_archive_flag_spec=
10089 else
10090 # PORTME fill in a description of your system's linker (not GNU ld)
10091 case $host_os in
10092 aix3*)
10093 allow_undefined_flag=unsupported
10094 always_export_symbols=yes
10095 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'
10096 # Note: this linker hardcodes the directories in LIBPATH if there
10097 # are no directories specified by -L.
10098 hardcode_minus_L=yes
10099 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10100 # Neither direct hardcoding nor static linking is supported with a
10101 # broken collect2.
10102 hardcode_direct=unsupported
10106 aix[4-9]*)
10107 if test "$host_cpu" = ia64; then
10108 # On IA64, the linker does run time linking by default, so we don't
10109 # have to do anything special.
10110 aix_use_runtimelinking=no
10111 exp_sym_flag='-Bexport'
10112 no_entry_flag=""
10113 else
10114 # If we're using GNU nm, then we don't want the "-C" option.
10115 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10116 # Also, AIX nm treats weak defined symbols like other global
10117 # defined symbols, whereas GNU nm marks them as "W".
10118 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10119 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'
10120 else
10121 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'
10123 aix_use_runtimelinking=no
10125 # Test if we are trying to use run time linking or normal
10126 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10127 # need to do runtime linking.
10128 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10129 for ld_flag in $LDFLAGS; do
10130 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10131 aix_use_runtimelinking=yes
10132 break
10134 done
10136 esac
10138 exp_sym_flag='-bexport'
10139 no_entry_flag='-bnoentry'
10142 # When large executables or shared objects are built, AIX ld can
10143 # have problems creating the table of contents. If linking a library
10144 # or program results in "error TOC overflow" add -mminimal-toc to
10145 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10146 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10148 archive_cmds=''
10149 hardcode_direct=yes
10150 hardcode_direct_absolute=yes
10151 hardcode_libdir_separator=':'
10152 link_all_deplibs=yes
10153 file_list_spec='${wl}-f,'
10155 if test "$GCC" = yes; then
10156 case $host_os in aix4.[012]|aix4.[012].*)
10157 # We only want to do this on AIX 4.2 and lower, the check
10158 # below for broken collect2 doesn't work under 4.3+
10159 collect2name=`${CC} -print-prog-name=collect2`
10160 if test -f "$collect2name" &&
10161 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10162 then
10163 # We have reworked collect2
10165 else
10166 # We have old collect2
10167 hardcode_direct=unsupported
10168 # It fails to find uninstalled libraries when the uninstalled
10169 # path is not listed in the libpath. Setting hardcode_minus_L
10170 # to unsupported forces relinking
10171 hardcode_minus_L=yes
10172 hardcode_libdir_flag_spec='-L$libdir'
10173 hardcode_libdir_separator=
10176 esac
10177 shared_flag='-shared'
10178 if test "$aix_use_runtimelinking" = yes; then
10179 shared_flag="$shared_flag "'${wl}-G'
10181 else
10182 # not using gcc
10183 if test "$host_cpu" = ia64; then
10184 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10185 # chokes on -Wl,-G. The following line is correct:
10186 shared_flag='-G'
10187 else
10188 if test "$aix_use_runtimelinking" = yes; then
10189 shared_flag='${wl}-G'
10190 else
10191 shared_flag='${wl}-bM:SRE'
10196 export_dynamic_flag_spec='${wl}-bexpall'
10197 # It seems that -bexpall does not export symbols beginning with
10198 # underscore (_), so it is better to generate a list of symbols to export.
10199 always_export_symbols=yes
10200 if test "$aix_use_runtimelinking" = yes; then
10201 # Warning - without using the other runtime loading flags (-brtl),
10202 # -berok will link without error, but may produce a broken library.
10203 allow_undefined_flag='-berok'
10204 # Determine the default libpath from the value encoded in an
10205 # empty executable.
10206 if test x$gcc_no_link = xyes; then
10207 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10210 /* end confdefs.h. */
10213 main ()
10217 return 0;
10219 _ACEOF
10220 if ac_fn_c_try_link "$LINENO"; then :
10222 lt_aix_libpath_sed='
10223 /Import File Strings/,/^$/ {
10224 /^0/ {
10225 s/^0 *\(.*\)$/\1/
10229 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10230 # Check for a 64-bit object if we didn't find anything.
10231 if test -z "$aix_libpath"; then
10232 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10235 rm -f core conftest.err conftest.$ac_objext \
10236 conftest$ac_exeext conftest.$ac_ext
10237 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10239 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10240 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"
10241 else
10242 if test "$host_cpu" = ia64; then
10243 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10244 allow_undefined_flag="-z nodefs"
10245 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"
10246 else
10247 # Determine the default libpath from the value encoded in an
10248 # empty executable.
10249 if test x$gcc_no_link = xyes; then
10250 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10253 /* end confdefs.h. */
10256 main ()
10260 return 0;
10262 _ACEOF
10263 if ac_fn_c_try_link "$LINENO"; then :
10265 lt_aix_libpath_sed='
10266 /Import File Strings/,/^$/ {
10267 /^0/ {
10268 s/^0 *\(.*\)$/\1/
10272 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10273 # Check for a 64-bit object if we didn't find anything.
10274 if test -z "$aix_libpath"; then
10275 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10278 rm -f core conftest.err conftest.$ac_objext \
10279 conftest$ac_exeext conftest.$ac_ext
10280 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10282 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10283 # Warning - without using the other run time loading flags,
10284 # -berok will link without error, but may produce a broken library.
10285 no_undefined_flag=' ${wl}-bernotok'
10286 allow_undefined_flag=' ${wl}-berok'
10287 if test "$with_gnu_ld" = yes; then
10288 # We only use this code for GNU lds that support --whole-archive.
10289 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10290 else
10291 # Exported symbols can be pulled into shared objects from archives
10292 whole_archive_flag_spec='$convenience'
10294 archive_cmds_need_lc=yes
10295 # This is similar to how AIX traditionally builds its shared libraries.
10296 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'
10301 amigaos*)
10302 case $host_cpu in
10303 powerpc)
10304 # see comment about AmigaOS4 .so support
10305 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10306 archive_expsym_cmds=''
10308 m68k)
10309 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)'
10310 hardcode_libdir_flag_spec='-L$libdir'
10311 hardcode_minus_L=yes
10313 esac
10316 bsdi[45]*)
10317 export_dynamic_flag_spec=-rdynamic
10320 cygwin* | mingw* | pw32* | cegcc*)
10321 # When not using gcc, we currently assume that we are using
10322 # Microsoft Visual C++.
10323 # hardcode_libdir_flag_spec is actually meaningless, as there is
10324 # no search path for DLLs.
10325 hardcode_libdir_flag_spec=' '
10326 allow_undefined_flag=unsupported
10327 # Tell ltmain to make .lib files, not .a files.
10328 libext=lib
10329 # Tell ltmain to make .dll files, not .so files.
10330 shrext_cmds=".dll"
10331 # FIXME: Setting linknames here is a bad hack.
10332 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10333 # The linker will automatically build a .lib file if we build a DLL.
10334 old_archive_from_new_cmds='true'
10335 # FIXME: Should let the user specify the lib program.
10336 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10337 fix_srcfile_path='`cygpath -w "$srcfile"`'
10338 enable_shared_with_static_runtimes=yes
10341 darwin* | rhapsody*)
10344 archive_cmds_need_lc=no
10345 hardcode_direct=no
10346 hardcode_automatic=yes
10347 hardcode_shlibpath_var=unsupported
10348 if test "$lt_cv_ld_force_load" = "yes"; then
10349 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\"`'
10350 else
10351 whole_archive_flag_spec=''
10353 link_all_deplibs=yes
10354 allow_undefined_flag="$_lt_dar_allow_undefined"
10355 case $cc_basename in
10356 ifort*) _lt_dar_can_shared=yes ;;
10357 *) _lt_dar_can_shared=$GCC ;;
10358 esac
10359 if test "$_lt_dar_can_shared" = "yes"; then
10360 output_verbose_link_cmd=func_echo_all
10361 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10362 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10363 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}"
10364 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}"
10366 else
10367 ld_shlibs=no
10372 dgux*)
10373 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10374 hardcode_libdir_flag_spec='-L$libdir'
10375 hardcode_shlibpath_var=no
10378 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10379 # support. Future versions do this automatically, but an explicit c++rt0.o
10380 # does not break anything, and helps significantly (at the cost of a little
10381 # extra space).
10382 freebsd2.2*)
10383 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10384 hardcode_libdir_flag_spec='-R$libdir'
10385 hardcode_direct=yes
10386 hardcode_shlibpath_var=no
10389 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10390 freebsd2.*)
10391 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10392 hardcode_direct=yes
10393 hardcode_minus_L=yes
10394 hardcode_shlibpath_var=no
10397 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10398 freebsd* | dragonfly*)
10399 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10400 hardcode_libdir_flag_spec='-R$libdir'
10401 hardcode_direct=yes
10402 hardcode_shlibpath_var=no
10405 hpux9*)
10406 if test "$GCC" = yes; then
10407 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'
10408 else
10409 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'
10411 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10412 hardcode_libdir_separator=:
10413 hardcode_direct=yes
10415 # hardcode_minus_L: Not really in the search PATH,
10416 # but as the default location of the library.
10417 hardcode_minus_L=yes
10418 export_dynamic_flag_spec='${wl}-E'
10421 hpux10*)
10422 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10423 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10424 else
10425 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10427 if test "$with_gnu_ld" = no; then
10428 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10429 hardcode_libdir_flag_spec_ld='+b $libdir'
10430 hardcode_libdir_separator=:
10431 hardcode_direct=yes
10432 hardcode_direct_absolute=yes
10433 export_dynamic_flag_spec='${wl}-E'
10434 # hardcode_minus_L: Not really in the search PATH,
10435 # but as the default location of the library.
10436 hardcode_minus_L=yes
10440 hpux11*)
10441 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10442 case $host_cpu in
10443 hppa*64*)
10444 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10446 ia64*)
10447 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10450 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10452 esac
10453 else
10454 case $host_cpu in
10455 hppa*64*)
10456 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10458 ia64*)
10459 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10463 # Older versions of the 11.00 compiler do not understand -b yet
10464 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10466 $as_echo_n "checking if $CC understands -b... " >&6; }
10467 if ${lt_cv_prog_compiler__b+:} false; then :
10468 $as_echo_n "(cached) " >&6
10469 else
10470 lt_cv_prog_compiler__b=no
10471 save_LDFLAGS="$LDFLAGS"
10472 LDFLAGS="$LDFLAGS -b"
10473 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10474 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10475 # The linker can only warn and ignore the option if not recognized
10476 # So say no if there are warnings
10477 if test -s conftest.err; then
10478 # Append any errors to the config.log.
10479 cat conftest.err 1>&5
10480 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10481 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10482 if diff conftest.exp conftest.er2 >/dev/null; then
10483 lt_cv_prog_compiler__b=yes
10485 else
10486 lt_cv_prog_compiler__b=yes
10489 $RM -r conftest*
10490 LDFLAGS="$save_LDFLAGS"
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10494 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10496 if test x"$lt_cv_prog_compiler__b" = xyes; then
10497 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10498 else
10499 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10503 esac
10505 if test "$with_gnu_ld" = no; then
10506 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10507 hardcode_libdir_separator=:
10509 case $host_cpu in
10510 hppa*64*|ia64*)
10511 hardcode_direct=no
10512 hardcode_shlibpath_var=no
10515 hardcode_direct=yes
10516 hardcode_direct_absolute=yes
10517 export_dynamic_flag_spec='${wl}-E'
10519 # hardcode_minus_L: Not really in the search PATH,
10520 # but as the default location of the library.
10521 hardcode_minus_L=yes
10523 esac
10527 irix5* | irix6* | nonstopux*)
10528 if test "$GCC" = yes; then
10529 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'
10530 # Try to use the -exported_symbol ld option, if it does not
10531 # work, assume that -exports_file does not work either and
10532 # implicitly export all symbols.
10533 save_LDFLAGS="$LDFLAGS"
10534 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10535 if test x$gcc_no_link = xyes; then
10536 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10539 /* end confdefs.h. */
10540 int foo(void) {}
10541 _ACEOF
10542 if ac_fn_c_try_link "$LINENO"; then :
10543 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'
10546 rm -f core conftest.err conftest.$ac_objext \
10547 conftest$ac_exeext conftest.$ac_ext
10548 LDFLAGS="$save_LDFLAGS"
10549 else
10550 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'
10551 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'
10553 archive_cmds_need_lc='no'
10554 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10555 hardcode_libdir_separator=:
10556 inherit_rpath=yes
10557 link_all_deplibs=yes
10560 netbsd*)
10561 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10562 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10563 else
10564 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10566 hardcode_libdir_flag_spec='-R$libdir'
10567 hardcode_direct=yes
10568 hardcode_shlibpath_var=no
10571 newsos6)
10572 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10573 hardcode_direct=yes
10574 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10575 hardcode_libdir_separator=:
10576 hardcode_shlibpath_var=no
10579 *nto* | *qnx*)
10582 openbsd*)
10583 if test -f /usr/libexec/ld.so; then
10584 hardcode_direct=yes
10585 hardcode_shlibpath_var=no
10586 hardcode_direct_absolute=yes
10587 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10588 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10589 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10590 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10591 export_dynamic_flag_spec='${wl}-E'
10592 else
10593 case $host_os in
10594 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10595 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10596 hardcode_libdir_flag_spec='-R$libdir'
10599 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10600 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10602 esac
10604 else
10605 ld_shlibs=no
10609 os2*)
10610 hardcode_libdir_flag_spec='-L$libdir'
10611 hardcode_minus_L=yes
10612 allow_undefined_flag=unsupported
10613 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'
10614 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10617 osf3*)
10618 if test "$GCC" = yes; then
10619 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10620 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'
10621 else
10622 allow_undefined_flag=' -expect_unresolved \*'
10623 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'
10625 archive_cmds_need_lc='no'
10626 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10627 hardcode_libdir_separator=:
10630 osf4* | osf5*) # as osf3* with the addition of -msym flag
10631 if test "$GCC" = yes; then
10632 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10633 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'
10634 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10635 else
10636 allow_undefined_flag=' -expect_unresolved \*'
10637 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'
10638 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~
10639 $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'
10641 # Both c and cxx compiler support -rpath directly
10642 hardcode_libdir_flag_spec='-rpath $libdir'
10644 archive_cmds_need_lc='no'
10645 hardcode_libdir_separator=:
10648 solaris*)
10649 no_undefined_flag=' -z defs'
10650 if test "$GCC" = yes; then
10651 wlarc='${wl}'
10652 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10653 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10654 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10655 else
10656 case `$CC -V 2>&1` in
10657 *"Compilers 5.0"*)
10658 wlarc=''
10659 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10660 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10661 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10664 wlarc='${wl}'
10665 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10666 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10667 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10669 esac
10671 hardcode_libdir_flag_spec='-R$libdir'
10672 hardcode_shlibpath_var=no
10673 case $host_os in
10674 solaris2.[0-5] | solaris2.[0-5].*) ;;
10676 # The compiler driver will combine and reorder linker options,
10677 # but understands `-z linker_flag'. GCC discards it without `$wl',
10678 # but is careful enough not to reorder.
10679 # Supported since Solaris 2.6 (maybe 2.5.1?)
10680 if test "$GCC" = yes; then
10681 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10682 else
10683 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10686 esac
10687 link_all_deplibs=yes
10690 sunos4*)
10691 if test "x$host_vendor" = xsequent; then
10692 # Use $CC to link under sequent, because it throws in some extra .o
10693 # files that make .init and .fini sections work.
10694 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10695 else
10696 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10698 hardcode_libdir_flag_spec='-L$libdir'
10699 hardcode_direct=yes
10700 hardcode_minus_L=yes
10701 hardcode_shlibpath_var=no
10704 sysv4)
10705 case $host_vendor in
10706 sni)
10707 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10708 hardcode_direct=yes # is this really true???
10710 siemens)
10711 ## LD is ld it makes a PLAMLIB
10712 ## CC just makes a GrossModule.
10713 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10714 reload_cmds='$CC -r -o $output$reload_objs'
10715 hardcode_direct=no
10717 motorola)
10718 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10719 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10721 esac
10722 runpath_var='LD_RUN_PATH'
10723 hardcode_shlibpath_var=no
10726 sysv4.3*)
10727 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10728 hardcode_shlibpath_var=no
10729 export_dynamic_flag_spec='-Bexport'
10732 sysv4*MP*)
10733 if test -d /usr/nec; then
10734 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10735 hardcode_shlibpath_var=no
10736 runpath_var=LD_RUN_PATH
10737 hardcode_runpath_var=yes
10738 ld_shlibs=yes
10742 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10743 no_undefined_flag='${wl}-z,text'
10744 archive_cmds_need_lc=no
10745 hardcode_shlibpath_var=no
10746 runpath_var='LD_RUN_PATH'
10748 if test "$GCC" = yes; then
10749 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10750 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10751 else
10752 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10753 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10757 sysv5* | sco3.2v5* | sco5v6*)
10758 # Note: We can NOT use -z defs as we might desire, because we do not
10759 # link with -lc, and that would cause any symbols used from libc to
10760 # always be unresolved, which means just about no library would
10761 # ever link correctly. If we're not using GNU ld we use -z text
10762 # though, which does catch some bad symbols but isn't as heavy-handed
10763 # as -z defs.
10764 no_undefined_flag='${wl}-z,text'
10765 allow_undefined_flag='${wl}-z,nodefs'
10766 archive_cmds_need_lc=no
10767 hardcode_shlibpath_var=no
10768 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10769 hardcode_libdir_separator=':'
10770 link_all_deplibs=yes
10771 export_dynamic_flag_spec='${wl}-Bexport'
10772 runpath_var='LD_RUN_PATH'
10774 if test "$GCC" = yes; then
10775 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10776 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10777 else
10778 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10779 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10783 uts4*)
10784 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10785 hardcode_libdir_flag_spec='-L$libdir'
10786 hardcode_shlibpath_var=no
10790 ld_shlibs=no
10792 esac
10794 if test x$host_vendor = xsni; then
10795 case $host in
10796 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10797 export_dynamic_flag_spec='${wl}-Blargedynsym'
10799 esac
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10804 $as_echo "$ld_shlibs" >&6; }
10805 test "$ld_shlibs" = no && can_build_shared=no
10807 with_gnu_ld=$with_gnu_ld
10824 # Do we need to explicitly link libc?
10826 case "x$archive_cmds_need_lc" in
10827 x|xyes)
10828 # Assume -lc should be added
10829 archive_cmds_need_lc=yes
10831 if test "$enable_shared" = yes && test "$GCC" = yes; then
10832 case $archive_cmds in
10833 *'~'*)
10834 # FIXME: we may have to deal with multi-command sequences.
10836 '$CC '*)
10837 # Test whether the compiler implicitly links with -lc since on some
10838 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10839 # to ld, don't add -lc before -lgcc.
10840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10841 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10842 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10843 $as_echo_n "(cached) " >&6
10844 else
10845 $RM conftest*
10846 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10848 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10849 (eval $ac_compile) 2>&5
10850 ac_status=$?
10851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10852 test $ac_status = 0; } 2>conftest.err; then
10853 soname=conftest
10854 lib=conftest
10855 libobjs=conftest.$ac_objext
10856 deplibs=
10857 wl=$lt_prog_compiler_wl
10858 pic_flag=$lt_prog_compiler_pic
10859 compiler_flags=-v
10860 linker_flags=-v
10861 verstring=
10862 output_objdir=.
10863 libname=conftest
10864 lt_save_allow_undefined_flag=$allow_undefined_flag
10865 allow_undefined_flag=
10866 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10867 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10868 ac_status=$?
10869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10870 test $ac_status = 0; }
10871 then
10872 lt_cv_archive_cmds_need_lc=no
10873 else
10874 lt_cv_archive_cmds_need_lc=yes
10876 allow_undefined_flag=$lt_save_allow_undefined_flag
10877 else
10878 cat conftest.err 1>&5
10880 $RM conftest*
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10884 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10885 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10887 esac
10890 esac
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11049 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11051 if test "$GCC" = yes; then
11052 case $host_os in
11053 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11054 *) lt_awk_arg="/^libraries:/" ;;
11055 esac
11056 case $host_os in
11057 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11058 *) lt_sed_strip_eq="s,=/,/,g" ;;
11059 esac
11060 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11061 case $lt_search_path_spec in
11062 *\;*)
11063 # if the path contains ";" then we assume it to be the separator
11064 # otherwise default to the standard path separator (i.e. ":") - it is
11065 # assumed that no part of a normal pathname contains ";" but that should
11066 # okay in the real world where ";" in dirpaths is itself problematic.
11067 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11070 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11072 esac
11073 # Ok, now we have the path, separated by spaces, we can step through it
11074 # and add multilib dir if necessary.
11075 lt_tmp_lt_search_path_spec=
11076 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11077 for lt_sys_path in $lt_search_path_spec; do
11078 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11079 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11080 else
11081 test -d "$lt_sys_path" && \
11082 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11084 done
11085 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11086 BEGIN {RS=" "; FS="/|\n";} {
11087 lt_foo="";
11088 lt_count=0;
11089 for (lt_i = NF; lt_i > 0; lt_i--) {
11090 if ($lt_i != "" && $lt_i != ".") {
11091 if ($lt_i == "..") {
11092 lt_count++;
11093 } else {
11094 if (lt_count == 0) {
11095 lt_foo="/" $lt_i lt_foo;
11096 } else {
11097 lt_count--;
11102 if (lt_foo != "") { lt_freq[lt_foo]++; }
11103 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11105 # AWK program above erroneously prepends '/' to C:/dos/paths
11106 # for these hosts.
11107 case $host_os in
11108 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11109 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11110 esac
11111 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11112 else
11113 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11115 library_names_spec=
11116 libname_spec='lib$name'
11117 soname_spec=
11118 shrext_cmds=".so"
11119 postinstall_cmds=
11120 postuninstall_cmds=
11121 finish_cmds=
11122 finish_eval=
11123 shlibpath_var=
11124 shlibpath_overrides_runpath=unknown
11125 version_type=none
11126 dynamic_linker="$host_os ld.so"
11127 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11128 need_lib_prefix=unknown
11129 hardcode_into_libs=no
11131 # when you set need_version to no, make sure it does not cause -set_version
11132 # flags to be left without arguments
11133 need_version=unknown
11135 case $host_os in
11136 aix3*)
11137 version_type=linux
11138 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11139 shlibpath_var=LIBPATH
11141 # AIX 3 has no versioning support, so we append a major version to the name.
11142 soname_spec='${libname}${release}${shared_ext}$major'
11145 aix[4-9]*)
11146 version_type=linux
11147 need_lib_prefix=no
11148 need_version=no
11149 hardcode_into_libs=yes
11150 if test "$host_cpu" = ia64; then
11151 # AIX 5 supports IA64
11152 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11153 shlibpath_var=LD_LIBRARY_PATH
11154 else
11155 # With GCC up to 2.95.x, collect2 would create an import file
11156 # for dependence libraries. The import file would start with
11157 # the line `#! .'. This would cause the generated library to
11158 # depend on `.', always an invalid library. This was fixed in
11159 # development snapshots of GCC prior to 3.0.
11160 case $host_os in
11161 aix4 | aix4.[01] | aix4.[01].*)
11162 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11163 echo ' yes '
11164 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11166 else
11167 can_build_shared=no
11170 esac
11171 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11172 # soname into executable. Probably we can add versioning support to
11173 # collect2, so additional links can be useful in future.
11174 if test "$aix_use_runtimelinking" = yes; then
11175 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11176 # instead of lib<name>.a to let people know that these are not
11177 # typical AIX shared libraries.
11178 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11179 else
11180 # We preserve .a as extension for shared libraries through AIX4.2
11181 # and later when we are not doing run time linking.
11182 library_names_spec='${libname}${release}.a $libname.a'
11183 soname_spec='${libname}${release}${shared_ext}$major'
11185 shlibpath_var=LIBPATH
11189 amigaos*)
11190 case $host_cpu in
11191 powerpc)
11192 # Since July 2007 AmigaOS4 officially supports .so libraries.
11193 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11194 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11196 m68k)
11197 library_names_spec='$libname.ixlibrary $libname.a'
11198 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11199 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'
11201 esac
11204 beos*)
11205 library_names_spec='${libname}${shared_ext}'
11206 dynamic_linker="$host_os ld.so"
11207 shlibpath_var=LIBRARY_PATH
11210 bsdi[45]*)
11211 version_type=linux
11212 need_version=no
11213 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11214 soname_spec='${libname}${release}${shared_ext}$major'
11215 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11216 shlibpath_var=LD_LIBRARY_PATH
11217 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11218 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11219 # the default ld.so.conf also contains /usr/contrib/lib and
11220 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11221 # libtool to hard-code these into programs
11224 cygwin* | mingw* | pw32* | cegcc*)
11225 version_type=windows
11226 shrext_cmds=".dll"
11227 need_version=no
11228 need_lib_prefix=no
11230 case $GCC,$host_os in
11231 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11232 library_names_spec='$libname.dll.a'
11233 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11234 postinstall_cmds='base_file=`basename \${file}`~
11235 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11236 dldir=$destdir/`dirname \$dlpath`~
11237 test -d \$dldir || mkdir -p \$dldir~
11238 $install_prog $dir/$dlname \$dldir/$dlname~
11239 chmod a+x \$dldir/$dlname~
11240 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11241 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11243 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11244 dlpath=$dir/\$dldll~
11245 $RM \$dlpath'
11246 shlibpath_overrides_runpath=yes
11248 case $host_os in
11249 cygwin*)
11250 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11251 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11253 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11255 mingw* | cegcc*)
11256 # MinGW DLLs use traditional 'lib' prefix
11257 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11259 pw32*)
11260 # pw32 DLLs use 'pw' prefix rather than 'lib'
11261 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11263 esac
11267 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11269 esac
11270 dynamic_linker='Win32 ld.exe'
11271 # FIXME: first we should search . and the directory the executable is in
11272 shlibpath_var=PATH
11275 darwin* | rhapsody*)
11276 dynamic_linker="$host_os dyld"
11277 version_type=darwin
11278 need_lib_prefix=no
11279 need_version=no
11280 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11281 soname_spec='${libname}${release}${major}$shared_ext'
11282 shlibpath_overrides_runpath=yes
11283 shlibpath_var=DYLD_LIBRARY_PATH
11284 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11286 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11287 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11290 dgux*)
11291 version_type=linux
11292 need_lib_prefix=no
11293 need_version=no
11294 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11295 soname_spec='${libname}${release}${shared_ext}$major'
11296 shlibpath_var=LD_LIBRARY_PATH
11299 freebsd* | dragonfly*)
11300 # DragonFly does not have aout. When/if they implement a new
11301 # versioning mechanism, adjust this.
11302 if test -x /usr/bin/objformat; then
11303 objformat=`/usr/bin/objformat`
11304 else
11305 case $host_os in
11306 freebsd[23].*) objformat=aout ;;
11307 *) objformat=elf ;;
11308 esac
11310 version_type=freebsd-$objformat
11311 case $version_type in
11312 freebsd-elf*)
11313 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11314 need_version=no
11315 need_lib_prefix=no
11317 freebsd-*)
11318 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11319 need_version=yes
11321 esac
11322 shlibpath_var=LD_LIBRARY_PATH
11323 case $host_os in
11324 freebsd2.*)
11325 shlibpath_overrides_runpath=yes
11327 freebsd3.[01]* | freebsdelf3.[01]*)
11328 shlibpath_overrides_runpath=yes
11329 hardcode_into_libs=yes
11331 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11332 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11333 shlibpath_overrides_runpath=no
11334 hardcode_into_libs=yes
11336 *) # from 4.6 on, and DragonFly
11337 shlibpath_overrides_runpath=yes
11338 hardcode_into_libs=yes
11340 esac
11343 haiku*)
11344 version_type=linux
11345 need_lib_prefix=no
11346 need_version=no
11347 dynamic_linker="$host_os runtime_loader"
11348 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11349 soname_spec='${libname}${release}${shared_ext}$major'
11350 shlibpath_var=LIBRARY_PATH
11351 shlibpath_overrides_runpath=yes
11352 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11353 hardcode_into_libs=yes
11356 hpux9* | hpux10* | hpux11*)
11357 # Give a soname corresponding to the major version so that dld.sl refuses to
11358 # link against other versions.
11359 version_type=sunos
11360 need_lib_prefix=no
11361 need_version=no
11362 case $host_cpu in
11363 ia64*)
11364 shrext_cmds='.so'
11365 hardcode_into_libs=yes
11366 dynamic_linker="$host_os dld.so"
11367 shlibpath_var=LD_LIBRARY_PATH
11368 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11369 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11370 soname_spec='${libname}${release}${shared_ext}$major'
11371 if test "X$HPUX_IA64_MODE" = X32; then
11372 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11373 else
11374 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11376 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11378 hppa*64*)
11379 shrext_cmds='.sl'
11380 hardcode_into_libs=yes
11381 dynamic_linker="$host_os dld.sl"
11382 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11383 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11384 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11385 soname_spec='${libname}${release}${shared_ext}$major'
11386 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11387 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11390 shrext_cmds='.sl'
11391 dynamic_linker="$host_os dld.sl"
11392 shlibpath_var=SHLIB_PATH
11393 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11394 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11395 soname_spec='${libname}${release}${shared_ext}$major'
11397 esac
11398 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11399 postinstall_cmds='chmod 555 $lib'
11400 # or fails outright, so override atomically:
11401 install_override_mode=555
11404 interix[3-9]*)
11405 version_type=linux
11406 need_lib_prefix=no
11407 need_version=no
11408 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11409 soname_spec='${libname}${release}${shared_ext}$major'
11410 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11411 shlibpath_var=LD_LIBRARY_PATH
11412 shlibpath_overrides_runpath=no
11413 hardcode_into_libs=yes
11416 irix5* | irix6* | nonstopux*)
11417 case $host_os in
11418 nonstopux*) version_type=nonstopux ;;
11420 if test "$lt_cv_prog_gnu_ld" = yes; then
11421 version_type=linux
11422 else
11423 version_type=irix
11424 fi ;;
11425 esac
11426 need_lib_prefix=no
11427 need_version=no
11428 soname_spec='${libname}${release}${shared_ext}$major'
11429 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11430 case $host_os in
11431 irix5* | nonstopux*)
11432 libsuff= shlibsuff=
11435 case $LD in # libtool.m4 will add one of these switches to LD
11436 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11437 libsuff= shlibsuff= libmagic=32-bit;;
11438 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11439 libsuff=32 shlibsuff=N32 libmagic=N32;;
11440 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11441 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11442 *) libsuff= shlibsuff= libmagic=never-match;;
11443 esac
11445 esac
11446 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11447 shlibpath_overrides_runpath=no
11448 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11449 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11450 hardcode_into_libs=yes
11453 # No shared lib support for Linux oldld, aout, or coff.
11454 linux*oldld* | linux*aout* | linux*coff*)
11455 dynamic_linker=no
11458 # This must be Linux ELF.
11460 # uclinux* changes (here and below) have been submitted to the libtool
11461 # project, but have not yet been accepted: they are GCC-local changes
11462 # for the time being. (See
11463 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
11464 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
11465 version_type=linux
11466 need_lib_prefix=no
11467 need_version=no
11468 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11469 soname_spec='${libname}${release}${shared_ext}$major'
11470 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11471 shlibpath_var=LD_LIBRARY_PATH
11472 shlibpath_overrides_runpath=no
11474 # Some binutils ld are patched to set DT_RUNPATH
11475 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11476 $as_echo_n "(cached) " >&6
11477 else
11478 lt_cv_shlibpath_overrides_runpath=no
11479 save_LDFLAGS=$LDFLAGS
11480 save_libdir=$libdir
11481 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11482 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11483 if test x$gcc_no_link = xyes; then
11484 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11487 /* end confdefs.h. */
11490 main ()
11494 return 0;
11496 _ACEOF
11497 if ac_fn_c_try_link "$LINENO"; then :
11498 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11499 lt_cv_shlibpath_overrides_runpath=yes
11502 rm -f core conftest.err conftest.$ac_objext \
11503 conftest$ac_exeext conftest.$ac_ext
11504 LDFLAGS=$save_LDFLAGS
11505 libdir=$save_libdir
11509 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11511 # This implies no fast_install, which is unacceptable.
11512 # Some rework will be needed to allow for fast_install
11513 # before this can be enabled.
11514 hardcode_into_libs=yes
11516 # Append ld.so.conf contents to the search path
11517 if test -f /etc/ld.so.conf; then
11518 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' ' '`
11519 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11522 # We used to test for /lib/ld.so.1 and disable shared libraries on
11523 # powerpc, because MkLinux only supported shared libraries with the
11524 # GNU dynamic linker. Since this was broken with cross compilers,
11525 # most powerpc-linux boxes support dynamic linking these days and
11526 # people can always --disable-shared, the test was removed, and we
11527 # assume the GNU/Linux dynamic linker is in use.
11528 dynamic_linker='GNU/Linux ld.so'
11531 netbsd*)
11532 version_type=sunos
11533 need_lib_prefix=no
11534 need_version=no
11535 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11536 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11537 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11538 dynamic_linker='NetBSD (a.out) ld.so'
11539 else
11540 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11541 soname_spec='${libname}${release}${shared_ext}$major'
11542 dynamic_linker='NetBSD ld.elf_so'
11544 shlibpath_var=LD_LIBRARY_PATH
11545 shlibpath_overrides_runpath=yes
11546 hardcode_into_libs=yes
11549 newsos6)
11550 version_type=linux
11551 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11552 shlibpath_var=LD_LIBRARY_PATH
11553 shlibpath_overrides_runpath=yes
11556 *nto* | *qnx*)
11557 version_type=qnx
11558 need_lib_prefix=no
11559 need_version=no
11560 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11561 soname_spec='${libname}${release}${shared_ext}$major'
11562 shlibpath_var=LD_LIBRARY_PATH
11563 shlibpath_overrides_runpath=no
11564 hardcode_into_libs=yes
11565 dynamic_linker='ldqnx.so'
11568 openbsd*)
11569 version_type=sunos
11570 sys_lib_dlsearch_path_spec="/usr/lib"
11571 need_lib_prefix=no
11572 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11573 case $host_os in
11574 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11575 *) need_version=no ;;
11576 esac
11577 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11578 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11579 shlibpath_var=LD_LIBRARY_PATH
11580 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11581 case $host_os in
11582 openbsd2.[89] | openbsd2.[89].*)
11583 shlibpath_overrides_runpath=no
11586 shlibpath_overrides_runpath=yes
11588 esac
11589 else
11590 shlibpath_overrides_runpath=yes
11594 os2*)
11595 libname_spec='$name'
11596 shrext_cmds=".dll"
11597 need_lib_prefix=no
11598 library_names_spec='$libname${shared_ext} $libname.a'
11599 dynamic_linker='OS/2 ld.exe'
11600 shlibpath_var=LIBPATH
11603 osf3* | osf4* | osf5*)
11604 version_type=osf
11605 need_lib_prefix=no
11606 need_version=no
11607 soname_spec='${libname}${release}${shared_ext}$major'
11608 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11609 shlibpath_var=LD_LIBRARY_PATH
11610 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11611 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11614 rdos*)
11615 dynamic_linker=no
11618 solaris*)
11619 version_type=linux
11620 need_lib_prefix=no
11621 need_version=no
11622 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11623 soname_spec='${libname}${release}${shared_ext}$major'
11624 shlibpath_var=LD_LIBRARY_PATH
11625 shlibpath_overrides_runpath=yes
11626 hardcode_into_libs=yes
11627 # ldd complains unless libraries are executable
11628 postinstall_cmds='chmod +x $lib'
11631 sunos4*)
11632 version_type=sunos
11633 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11634 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11635 shlibpath_var=LD_LIBRARY_PATH
11636 shlibpath_overrides_runpath=yes
11637 if test "$with_gnu_ld" = yes; then
11638 need_lib_prefix=no
11640 need_version=yes
11643 sysv4 | sysv4.3*)
11644 version_type=linux
11645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11646 soname_spec='${libname}${release}${shared_ext}$major'
11647 shlibpath_var=LD_LIBRARY_PATH
11648 case $host_vendor in
11649 sni)
11650 shlibpath_overrides_runpath=no
11651 need_lib_prefix=no
11652 runpath_var=LD_RUN_PATH
11654 siemens)
11655 need_lib_prefix=no
11657 motorola)
11658 need_lib_prefix=no
11659 need_version=no
11660 shlibpath_overrides_runpath=no
11661 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11663 esac
11666 sysv4*MP*)
11667 if test -d /usr/nec ;then
11668 version_type=linux
11669 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11670 soname_spec='$libname${shared_ext}.$major'
11671 shlibpath_var=LD_LIBRARY_PATH
11675 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11676 version_type=freebsd-elf
11677 need_lib_prefix=no
11678 need_version=no
11679 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11680 soname_spec='${libname}${release}${shared_ext}$major'
11681 shlibpath_var=LD_LIBRARY_PATH
11682 shlibpath_overrides_runpath=yes
11683 hardcode_into_libs=yes
11684 if test "$with_gnu_ld" = yes; then
11685 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11686 else
11687 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11688 case $host_os in
11689 sco3.2v5*)
11690 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11692 esac
11694 sys_lib_dlsearch_path_spec='/usr/lib'
11697 tpf*)
11698 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11699 version_type=linux
11700 need_lib_prefix=no
11701 need_version=no
11702 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11703 shlibpath_var=LD_LIBRARY_PATH
11704 shlibpath_overrides_runpath=no
11705 hardcode_into_libs=yes
11708 uts4*)
11709 version_type=linux
11710 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11711 soname_spec='${libname}${release}${shared_ext}$major'
11712 shlibpath_var=LD_LIBRARY_PATH
11715 # Shared libraries for VwWorks, >= 7 only at this stage
11716 # and (fpic) still incompatible with "large" code models
11717 # in a few configurations. Only for RTP mode in any case,
11718 # and upon explicit request at configure time.
11719 vxworks7*)
11720 dynamic_linker=no
11721 case ${with_multisubdir}-${enable_shared} in
11722 *large*)
11724 *mrtp*-yes)
11725 version_type=linux
11726 need_lib_prefix=no
11727 need_version=no
11728 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11729 soname_spec='${libname}${release}${shared_ext}$major'
11730 dynamic_linker="$host_os module_loader"
11732 esac
11735 dynamic_linker=no
11737 esac
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11739 $as_echo "$dynamic_linker" >&6; }
11740 test "$dynamic_linker" = no && can_build_shared=no
11742 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11743 if test "$GCC" = yes; then
11744 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11747 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11748 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11750 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11751 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11846 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11847 hardcode_action=
11848 if test -n "$hardcode_libdir_flag_spec" ||
11849 test -n "$runpath_var" ||
11850 test "X$hardcode_automatic" = "Xyes" ; then
11852 # We can hardcode non-existent directories.
11853 if test "$hardcode_direct" != no &&
11854 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11855 # have to relink, otherwise we might link with an installed library
11856 # when we should be linking with a yet-to-be-installed one
11857 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11858 test "$hardcode_minus_L" != no; then
11859 # Linking always hardcodes the temporary library directory.
11860 hardcode_action=relink
11861 else
11862 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11863 hardcode_action=immediate
11865 else
11866 # We cannot hardcode anything, or else we can only hardcode existing
11867 # directories.
11868 hardcode_action=unsupported
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11871 $as_echo "$hardcode_action" >&6; }
11873 if test "$hardcode_action" = relink ||
11874 test "$inherit_rpath" = yes; then
11875 # Fast installation is not supported
11876 enable_fast_install=no
11877 elif test "$shlibpath_overrides_runpath" = yes ||
11878 test "$enable_shared" = no; then
11879 # Fast installation is not necessary
11880 enable_fast_install=needless
11888 if test "x$enable_dlopen" != xyes; then
11889 enable_dlopen=unknown
11890 enable_dlopen_self=unknown
11891 enable_dlopen_self_static=unknown
11892 else
11893 lt_cv_dlopen=no
11894 lt_cv_dlopen_libs=
11896 case $host_os in
11897 beos*)
11898 lt_cv_dlopen="load_add_on"
11899 lt_cv_dlopen_libs=
11900 lt_cv_dlopen_self=yes
11903 mingw* | pw32* | cegcc*)
11904 lt_cv_dlopen="LoadLibrary"
11905 lt_cv_dlopen_libs=
11908 cygwin*)
11909 lt_cv_dlopen="dlopen"
11910 lt_cv_dlopen_libs=
11913 darwin*)
11914 # if libdl is installed we need to link against it
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11916 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11917 if ${ac_cv_lib_dl_dlopen+:} false; then :
11918 $as_echo_n "(cached) " >&6
11919 else
11920 ac_check_lib_save_LIBS=$LIBS
11921 LIBS="-ldl $LIBS"
11922 if test x$gcc_no_link = xyes; then
11923 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11926 /* end confdefs.h. */
11928 /* Override any GCC internal prototype to avoid an error.
11929 Use char because int might match the return type of a GCC
11930 builtin and then its argument prototype would still apply. */
11931 #ifdef __cplusplus
11932 extern "C"
11933 #endif
11934 char dlopen ();
11936 main ()
11938 return dlopen ();
11940 return 0;
11942 _ACEOF
11943 if ac_fn_c_try_link "$LINENO"; then :
11944 ac_cv_lib_dl_dlopen=yes
11945 else
11946 ac_cv_lib_dl_dlopen=no
11948 rm -f core conftest.err conftest.$ac_objext \
11949 conftest$ac_exeext conftest.$ac_ext
11950 LIBS=$ac_check_lib_save_LIBS
11952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11953 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11954 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11955 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11956 else
11958 lt_cv_dlopen="dyld"
11959 lt_cv_dlopen_libs=
11960 lt_cv_dlopen_self=yes
11967 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11968 if test "x$ac_cv_func_shl_load" = xyes; then :
11969 lt_cv_dlopen="shl_load"
11970 else
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11972 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11973 if ${ac_cv_lib_dld_shl_load+:} false; then :
11974 $as_echo_n "(cached) " >&6
11975 else
11976 ac_check_lib_save_LIBS=$LIBS
11977 LIBS="-ldld $LIBS"
11978 if test x$gcc_no_link = xyes; then
11979 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11982 /* end confdefs.h. */
11984 /* Override any GCC internal prototype to avoid an error.
11985 Use char because int might match the return type of a GCC
11986 builtin and then its argument prototype would still apply. */
11987 #ifdef __cplusplus
11988 extern "C"
11989 #endif
11990 char shl_load ();
11992 main ()
11994 return shl_load ();
11996 return 0;
11998 _ACEOF
11999 if ac_fn_c_try_link "$LINENO"; then :
12000 ac_cv_lib_dld_shl_load=yes
12001 else
12002 ac_cv_lib_dld_shl_load=no
12004 rm -f core conftest.err conftest.$ac_objext \
12005 conftest$ac_exeext conftest.$ac_ext
12006 LIBS=$ac_check_lib_save_LIBS
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12009 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12010 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12011 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12012 else
12013 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12014 if test "x$ac_cv_func_dlopen" = xyes; then :
12015 lt_cv_dlopen="dlopen"
12016 else
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12018 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12019 if ${ac_cv_lib_dl_dlopen+:} false; then :
12020 $as_echo_n "(cached) " >&6
12021 else
12022 ac_check_lib_save_LIBS=$LIBS
12023 LIBS="-ldl $LIBS"
12024 if test x$gcc_no_link = xyes; then
12025 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12028 /* end confdefs.h. */
12030 /* Override any GCC internal prototype to avoid an error.
12031 Use char because int might match the return type of a GCC
12032 builtin and then its argument prototype would still apply. */
12033 #ifdef __cplusplus
12034 extern "C"
12035 #endif
12036 char dlopen ();
12038 main ()
12040 return dlopen ();
12042 return 0;
12044 _ACEOF
12045 if ac_fn_c_try_link "$LINENO"; then :
12046 ac_cv_lib_dl_dlopen=yes
12047 else
12048 ac_cv_lib_dl_dlopen=no
12050 rm -f core conftest.err conftest.$ac_objext \
12051 conftest$ac_exeext conftest.$ac_ext
12052 LIBS=$ac_check_lib_save_LIBS
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12055 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12056 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12057 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12058 else
12059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12060 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12061 if ${ac_cv_lib_svld_dlopen+:} false; then :
12062 $as_echo_n "(cached) " >&6
12063 else
12064 ac_check_lib_save_LIBS=$LIBS
12065 LIBS="-lsvld $LIBS"
12066 if test x$gcc_no_link = xyes; then
12067 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12070 /* end confdefs.h. */
12072 /* Override any GCC internal prototype to avoid an error.
12073 Use char because int might match the return type of a GCC
12074 builtin and then its argument prototype would still apply. */
12075 #ifdef __cplusplus
12076 extern "C"
12077 #endif
12078 char dlopen ();
12080 main ()
12082 return dlopen ();
12084 return 0;
12086 _ACEOF
12087 if ac_fn_c_try_link "$LINENO"; then :
12088 ac_cv_lib_svld_dlopen=yes
12089 else
12090 ac_cv_lib_svld_dlopen=no
12092 rm -f core conftest.err conftest.$ac_objext \
12093 conftest$ac_exeext conftest.$ac_ext
12094 LIBS=$ac_check_lib_save_LIBS
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12097 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12098 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12099 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12100 else
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12102 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12103 if ${ac_cv_lib_dld_dld_link+:} false; then :
12104 $as_echo_n "(cached) " >&6
12105 else
12106 ac_check_lib_save_LIBS=$LIBS
12107 LIBS="-ldld $LIBS"
12108 if test x$gcc_no_link = xyes; then
12109 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12112 /* end confdefs.h. */
12114 /* Override any GCC internal prototype to avoid an error.
12115 Use char because int might match the return type of a GCC
12116 builtin and then its argument prototype would still apply. */
12117 #ifdef __cplusplus
12118 extern "C"
12119 #endif
12120 char dld_link ();
12122 main ()
12124 return dld_link ();
12126 return 0;
12128 _ACEOF
12129 if ac_fn_c_try_link "$LINENO"; then :
12130 ac_cv_lib_dld_dld_link=yes
12131 else
12132 ac_cv_lib_dld_dld_link=no
12134 rm -f core conftest.err conftest.$ac_objext \
12135 conftest$ac_exeext conftest.$ac_ext
12136 LIBS=$ac_check_lib_save_LIBS
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12139 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12140 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12141 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12160 esac
12162 if test "x$lt_cv_dlopen" != xno; then
12163 enable_dlopen=yes
12164 else
12165 enable_dlopen=no
12168 case $lt_cv_dlopen in
12169 dlopen)
12170 save_CPPFLAGS="$CPPFLAGS"
12171 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12173 save_LDFLAGS="$LDFLAGS"
12174 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12176 save_LIBS="$LIBS"
12177 LIBS="$lt_cv_dlopen_libs $LIBS"
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12180 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12181 if ${lt_cv_dlopen_self+:} false; then :
12182 $as_echo_n "(cached) " >&6
12183 else
12184 if test "$cross_compiling" = yes; then :
12185 lt_cv_dlopen_self=cross
12186 else
12187 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12188 lt_status=$lt_dlunknown
12189 cat > conftest.$ac_ext <<_LT_EOF
12190 #line 12190 "configure"
12191 #include "confdefs.h"
12193 #if HAVE_DLFCN_H
12194 #include <dlfcn.h>
12195 #endif
12197 #include <stdio.h>
12199 #ifdef RTLD_GLOBAL
12200 # define LT_DLGLOBAL RTLD_GLOBAL
12201 #else
12202 # ifdef DL_GLOBAL
12203 # define LT_DLGLOBAL DL_GLOBAL
12204 # else
12205 # define LT_DLGLOBAL 0
12206 # endif
12207 #endif
12209 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12210 find out it does not work in some platform. */
12211 #ifndef LT_DLLAZY_OR_NOW
12212 # ifdef RTLD_LAZY
12213 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12214 # else
12215 # ifdef DL_LAZY
12216 # define LT_DLLAZY_OR_NOW DL_LAZY
12217 # else
12218 # ifdef RTLD_NOW
12219 # define LT_DLLAZY_OR_NOW RTLD_NOW
12220 # else
12221 # ifdef DL_NOW
12222 # define LT_DLLAZY_OR_NOW DL_NOW
12223 # else
12224 # define LT_DLLAZY_OR_NOW 0
12225 # endif
12226 # endif
12227 # endif
12228 # endif
12229 #endif
12231 /* When -fvisbility=hidden is used, assume the code has been annotated
12232 correspondingly for the symbols needed. */
12233 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12234 void fnord () __attribute__((visibility("default")));
12235 #endif
12237 void fnord () { int i=42; }
12238 int main ()
12240 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12241 int status = $lt_dlunknown;
12243 if (self)
12245 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12246 else
12248 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12249 else puts (dlerror ());
12251 /* dlclose (self); */
12253 else
12254 puts (dlerror ());
12256 return status;
12258 _LT_EOF
12259 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12260 (eval $ac_link) 2>&5
12261 ac_status=$?
12262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12263 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12264 (./conftest; exit; ) >&5 2>/dev/null
12265 lt_status=$?
12266 case x$lt_status in
12267 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12268 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12269 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12270 esac
12271 else :
12272 # compilation failed
12273 lt_cv_dlopen_self=no
12276 rm -fr conftest*
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12281 $as_echo "$lt_cv_dlopen_self" >&6; }
12283 if test "x$lt_cv_dlopen_self" = xyes; then
12284 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12286 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12287 if ${lt_cv_dlopen_self_static+:} false; then :
12288 $as_echo_n "(cached) " >&6
12289 else
12290 if test "$cross_compiling" = yes; then :
12291 lt_cv_dlopen_self_static=cross
12292 else
12293 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12294 lt_status=$lt_dlunknown
12295 cat > conftest.$ac_ext <<_LT_EOF
12296 #line 12296 "configure"
12297 #include "confdefs.h"
12299 #if HAVE_DLFCN_H
12300 #include <dlfcn.h>
12301 #endif
12303 #include <stdio.h>
12305 #ifdef RTLD_GLOBAL
12306 # define LT_DLGLOBAL RTLD_GLOBAL
12307 #else
12308 # ifdef DL_GLOBAL
12309 # define LT_DLGLOBAL DL_GLOBAL
12310 # else
12311 # define LT_DLGLOBAL 0
12312 # endif
12313 #endif
12315 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12316 find out it does not work in some platform. */
12317 #ifndef LT_DLLAZY_OR_NOW
12318 # ifdef RTLD_LAZY
12319 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12320 # else
12321 # ifdef DL_LAZY
12322 # define LT_DLLAZY_OR_NOW DL_LAZY
12323 # else
12324 # ifdef RTLD_NOW
12325 # define LT_DLLAZY_OR_NOW RTLD_NOW
12326 # else
12327 # ifdef DL_NOW
12328 # define LT_DLLAZY_OR_NOW DL_NOW
12329 # else
12330 # define LT_DLLAZY_OR_NOW 0
12331 # endif
12332 # endif
12333 # endif
12334 # endif
12335 #endif
12337 /* When -fvisbility=hidden is used, assume the code has been annotated
12338 correspondingly for the symbols needed. */
12339 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12340 void fnord () __attribute__((visibility("default")));
12341 #endif
12343 void fnord () { int i=42; }
12344 int main ()
12346 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12347 int status = $lt_dlunknown;
12349 if (self)
12351 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12352 else
12354 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12355 else puts (dlerror ());
12357 /* dlclose (self); */
12359 else
12360 puts (dlerror ());
12362 return status;
12364 _LT_EOF
12365 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12366 (eval $ac_link) 2>&5
12367 ac_status=$?
12368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12369 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12370 (./conftest; exit; ) >&5 2>/dev/null
12371 lt_status=$?
12372 case x$lt_status in
12373 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12374 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12375 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12376 esac
12377 else :
12378 # compilation failed
12379 lt_cv_dlopen_self_static=no
12382 rm -fr conftest*
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12387 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12390 CPPFLAGS="$save_CPPFLAGS"
12391 LDFLAGS="$save_LDFLAGS"
12392 LIBS="$save_LIBS"
12394 esac
12396 case $lt_cv_dlopen_self in
12397 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12398 *) enable_dlopen_self=unknown ;;
12399 esac
12401 case $lt_cv_dlopen_self_static in
12402 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12403 *) enable_dlopen_self_static=unknown ;;
12404 esac
12423 striplib=
12424 old_striplib=
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12426 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12427 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12428 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12429 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12431 $as_echo "yes" >&6; }
12432 else
12433 # FIXME - insert some real tests, host_os isn't really good enough
12434 case $host_os in
12435 darwin*)
12436 if test -n "$STRIP" ; then
12437 striplib="$STRIP -x"
12438 old_striplib="$STRIP -S"
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12440 $as_echo "yes" >&6; }
12441 else
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12443 $as_echo "no" >&6; }
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12448 $as_echo "no" >&6; }
12450 esac
12464 # Report which library types will actually be built
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12466 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12468 $as_echo "$can_build_shared" >&6; }
12470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12471 $as_echo_n "checking whether to build shared libraries... " >&6; }
12472 test "$can_build_shared" = "no" && enable_shared=no
12474 # On AIX, shared libraries and static libraries use the same namespace, and
12475 # are all built from PIC.
12476 case $host_os in
12477 aix3*)
12478 test "$enable_shared" = yes && enable_static=no
12479 if test -n "$RANLIB"; then
12480 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12481 postinstall_cmds='$RANLIB $lib'
12485 aix[4-9]*)
12486 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12487 test "$enable_shared" = yes && enable_static=no
12490 esac
12491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12492 $as_echo "$enable_shared" >&6; }
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12495 $as_echo_n "checking whether to build static libraries... " >&6; }
12496 # Make sure either enable_shared or enable_static is yes.
12497 test "$enable_shared" = yes || enable_static=yes
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12499 $as_echo "$enable_static" >&6; }
12505 ac_ext=c
12506 ac_cpp='$CPP $CPPFLAGS'
12507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12511 CC="$lt_save_CC"
12513 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12514 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12515 (test "X$CXX" != "Xg++"))) ; then
12516 ac_ext=cpp
12517 ac_cpp='$CXXCPP $CPPFLAGS'
12518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12522 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12523 if test -z "$CXXCPP"; then
12524 if ${ac_cv_prog_CXXCPP+:} false; then :
12525 $as_echo_n "(cached) " >&6
12526 else
12527 # Double quotes because CXXCPP needs to be expanded
12528 for CXXCPP in "$CXX -E" "/lib/cpp"
12530 ac_preproc_ok=false
12531 for ac_cxx_preproc_warn_flag in '' yes
12533 # Use a header file that comes with gcc, so configuring glibc
12534 # with a fresh cross-compiler works.
12535 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12536 # <limits.h> exists even on freestanding compilers.
12537 # On the NeXT, cc -E runs the code through the compiler's parser,
12538 # not just through cpp. "Syntax error" is here to catch this case.
12539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12540 /* end confdefs.h. */
12541 #ifdef __STDC__
12542 # include <limits.h>
12543 #else
12544 # include <assert.h>
12545 #endif
12546 Syntax error
12547 _ACEOF
12548 if ac_fn_cxx_try_cpp "$LINENO"; then :
12550 else
12551 # Broken: fails on valid input.
12552 continue
12554 rm -f conftest.err conftest.i conftest.$ac_ext
12556 # OK, works on sane cases. Now check whether nonexistent headers
12557 # can be detected and how.
12558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12559 /* end confdefs.h. */
12560 #include <ac_nonexistent.h>
12561 _ACEOF
12562 if ac_fn_cxx_try_cpp "$LINENO"; then :
12563 # Broken: success on invalid input.
12564 continue
12565 else
12566 # Passes both tests.
12567 ac_preproc_ok=:
12568 break
12570 rm -f conftest.err conftest.i conftest.$ac_ext
12572 done
12573 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12574 rm -f conftest.i conftest.err conftest.$ac_ext
12575 if $ac_preproc_ok; then :
12576 break
12579 done
12580 ac_cv_prog_CXXCPP=$CXXCPP
12583 CXXCPP=$ac_cv_prog_CXXCPP
12584 else
12585 ac_cv_prog_CXXCPP=$CXXCPP
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12588 $as_echo "$CXXCPP" >&6; }
12589 ac_preproc_ok=false
12590 for ac_cxx_preproc_warn_flag in '' yes
12592 # Use a header file that comes with gcc, so configuring glibc
12593 # with a fresh cross-compiler works.
12594 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12595 # <limits.h> exists even on freestanding compilers.
12596 # On the NeXT, cc -E runs the code through the compiler's parser,
12597 # not just through cpp. "Syntax error" is here to catch this case.
12598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12599 /* end confdefs.h. */
12600 #ifdef __STDC__
12601 # include <limits.h>
12602 #else
12603 # include <assert.h>
12604 #endif
12605 Syntax error
12606 _ACEOF
12607 if ac_fn_cxx_try_cpp "$LINENO"; then :
12609 else
12610 # Broken: fails on valid input.
12611 continue
12613 rm -f conftest.err conftest.i conftest.$ac_ext
12615 # OK, works on sane cases. Now check whether nonexistent headers
12616 # can be detected and how.
12617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12618 /* end confdefs.h. */
12619 #include <ac_nonexistent.h>
12620 _ACEOF
12621 if ac_fn_cxx_try_cpp "$LINENO"; then :
12622 # Broken: success on invalid input.
12623 continue
12624 else
12625 # Passes both tests.
12626 ac_preproc_ok=:
12627 break
12629 rm -f conftest.err conftest.i conftest.$ac_ext
12631 done
12632 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12633 rm -f conftest.i conftest.err conftest.$ac_ext
12634 if $ac_preproc_ok; then :
12636 else
12637 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12638 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12639 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12640 See \`config.log' for more details" "$LINENO" 5; }
12643 ac_ext=c
12644 ac_cpp='$CPP $CPPFLAGS'
12645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12649 else
12650 _lt_caught_CXX_error=yes
12653 ac_ext=cpp
12654 ac_cpp='$CXXCPP $CPPFLAGS'
12655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12659 archive_cmds_need_lc_CXX=no
12660 allow_undefined_flag_CXX=
12661 always_export_symbols_CXX=no
12662 archive_expsym_cmds_CXX=
12663 compiler_needs_object_CXX=no
12664 export_dynamic_flag_spec_CXX=
12665 hardcode_direct_CXX=no
12666 hardcode_direct_absolute_CXX=no
12667 hardcode_libdir_flag_spec_CXX=
12668 hardcode_libdir_flag_spec_ld_CXX=
12669 hardcode_libdir_separator_CXX=
12670 hardcode_minus_L_CXX=no
12671 hardcode_shlibpath_var_CXX=unsupported
12672 hardcode_automatic_CXX=no
12673 inherit_rpath_CXX=no
12674 module_cmds_CXX=
12675 module_expsym_cmds_CXX=
12676 link_all_deplibs_CXX=unknown
12677 old_archive_cmds_CXX=$old_archive_cmds
12678 reload_flag_CXX=$reload_flag
12679 reload_cmds_CXX=$reload_cmds
12680 no_undefined_flag_CXX=
12681 whole_archive_flag_spec_CXX=
12682 enable_shared_with_static_runtimes_CXX=no
12684 # Source file extension for C++ test sources.
12685 ac_ext=cpp
12687 # Object file extension for compiled C++ test sources.
12688 objext=o
12689 objext_CXX=$objext
12691 # No sense in running all these tests if we already determined that
12692 # the CXX compiler isn't working. Some variables (like enable_shared)
12693 # are currently assumed to apply to all compilers on this platform,
12694 # and will be corrupted by setting them based on a non-working compiler.
12695 if test "$_lt_caught_CXX_error" != yes; then
12696 # Code to be used in simple compile tests
12697 lt_simple_compile_test_code="int some_variable = 0;"
12699 # Code to be used in simple link tests
12700 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12702 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12709 # If no C compiler was specified, use CC.
12710 LTCC=${LTCC-"$CC"}
12712 # If no C compiler flags were specified, use CFLAGS.
12713 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12715 # Allow CC to be a program name with arguments.
12716 compiler=$CC
12719 # save warnings/boilerplate of simple test code
12720 ac_outfile=conftest.$ac_objext
12721 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12722 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12723 _lt_compiler_boilerplate=`cat conftest.err`
12724 $RM conftest*
12726 ac_outfile=conftest.$ac_objext
12727 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12728 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12729 _lt_linker_boilerplate=`cat conftest.err`
12730 $RM -r conftest*
12733 # Allow CC to be a program name with arguments.
12734 lt_save_CC=$CC
12735 lt_save_LD=$LD
12736 lt_save_GCC=$GCC
12737 GCC=$GXX
12738 lt_save_with_gnu_ld=$with_gnu_ld
12739 lt_save_path_LD=$lt_cv_path_LD
12740 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12741 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12742 else
12743 $as_unset lt_cv_prog_gnu_ld
12745 if test -n "${lt_cv_path_LDCXX+set}"; then
12746 lt_cv_path_LD=$lt_cv_path_LDCXX
12747 else
12748 $as_unset lt_cv_path_LD
12750 test -z "${LDCXX+set}" || LD=$LDCXX
12751 CC=${CXX-"c++"}
12752 compiler=$CC
12753 compiler_CXX=$CC
12754 for cc_temp in $compiler""; do
12755 case $cc_temp in
12756 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12757 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12758 \-*) ;;
12759 *) break;;
12760 esac
12761 done
12762 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12765 if test -n "$compiler"; then
12766 # We don't want -fno-exception when compiling C++ code, so set the
12767 # no_builtin_flag separately
12768 if test "$GXX" = yes; then
12769 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12770 else
12771 lt_prog_compiler_no_builtin_flag_CXX=
12774 if test "$GXX" = yes; then
12775 # Set up default GNU C++ configuration
12779 # Check whether --with-gnu-ld was given.
12780 if test "${with_gnu_ld+set}" = set; then :
12781 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12782 else
12783 with_gnu_ld=no
12786 ac_prog=ld
12787 if test "$GCC" = yes; then
12788 # Check if gcc -print-prog-name=ld gives a path.
12789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12790 $as_echo_n "checking for ld used by $CC... " >&6; }
12791 case $host in
12792 *-*-mingw*)
12793 # gcc leaves a trailing carriage return which upsets mingw
12794 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12796 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12797 esac
12798 case $ac_prog in
12799 # Accept absolute paths.
12800 [\\/]* | ?:[\\/]*)
12801 re_direlt='/[^/][^/]*/\.\./'
12802 # Canonicalize the pathname of ld
12803 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12804 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12805 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12806 done
12807 test -z "$LD" && LD="$ac_prog"
12810 # If it fails, then pretend we aren't using GCC.
12811 ac_prog=ld
12814 # If it is relative, then search for the first ld in PATH.
12815 with_gnu_ld=unknown
12817 esac
12818 elif test "$with_gnu_ld" = yes; then
12819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12820 $as_echo_n "checking for GNU ld... " >&6; }
12821 else
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12823 $as_echo_n "checking for non-GNU ld... " >&6; }
12825 if ${lt_cv_path_LD+:} false; then :
12826 $as_echo_n "(cached) " >&6
12827 else
12828 if test -z "$LD"; then
12829 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12830 for ac_dir in $PATH; do
12831 IFS="$lt_save_ifs"
12832 test -z "$ac_dir" && ac_dir=.
12833 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12834 lt_cv_path_LD="$ac_dir/$ac_prog"
12835 # Check to see if the program is GNU ld. I'd rather use --version,
12836 # but apparently some variants of GNU ld only accept -v.
12837 # Break only if it was the GNU/non-GNU ld that we prefer.
12838 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12839 *GNU* | *'with BFD'*)
12840 test "$with_gnu_ld" != no && break
12843 test "$with_gnu_ld" != yes && break
12845 esac
12847 done
12848 IFS="$lt_save_ifs"
12849 else
12850 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12854 LD="$lt_cv_path_LD"
12855 if test -n "$LD"; then
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12857 $as_echo "$LD" >&6; }
12858 else
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12860 $as_echo "no" >&6; }
12862 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12864 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12865 if ${lt_cv_prog_gnu_ld+:} false; then :
12866 $as_echo_n "(cached) " >&6
12867 else
12868 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12869 case `$LD -v 2>&1 </dev/null` in
12870 *GNU* | *'with BFD'*)
12871 lt_cv_prog_gnu_ld=yes
12874 lt_cv_prog_gnu_ld=no
12876 esac
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12879 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12880 with_gnu_ld=$lt_cv_prog_gnu_ld
12888 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12889 # archiving commands below assume that GNU ld is being used.
12890 if test "$with_gnu_ld" = yes; then
12891 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12892 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'
12894 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12895 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12897 # If archive_cmds runs LD, not CC, wlarc should be empty
12898 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12899 # investigate it a little bit more. (MM)
12900 wlarc='${wl}'
12902 # ancient GNU ld didn't support --whole-archive et. al.
12903 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12904 $GREP 'no-whole-archive' > /dev/null; then
12905 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12906 else
12907 whole_archive_flag_spec_CXX=
12909 else
12910 with_gnu_ld=no
12911 wlarc=
12913 # A generic and very simple default shared library creation
12914 # command for GNU C++ for the case where it uses the native
12915 # linker, instead of GNU ld. If possible, this setting should
12916 # overridden to take advantage of the native linker features on
12917 # the platform it is being used on.
12918 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12921 # Commands to make compiler produce verbose output that lists
12922 # what "hidden" libraries, object files and flags are used when
12923 # linking a shared library.
12924 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12926 else
12927 GXX=no
12928 with_gnu_ld=no
12929 wlarc=
12932 # PORTME: fill in a description of your system's C++ link characteristics
12933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12934 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12935 ld_shlibs_CXX=yes
12936 case $host_os in
12937 aix3*)
12938 # FIXME: insert proper C++ library support
12939 ld_shlibs_CXX=no
12941 aix[4-9]*)
12942 if test "$host_cpu" = ia64; then
12943 # On IA64, the linker does run time linking by default, so we don't
12944 # have to do anything special.
12945 aix_use_runtimelinking=no
12946 exp_sym_flag='-Bexport'
12947 no_entry_flag=""
12948 else
12949 aix_use_runtimelinking=no
12951 # Test if we are trying to use run time linking or normal
12952 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12953 # need to do runtime linking.
12954 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12955 for ld_flag in $LDFLAGS; do
12956 case $ld_flag in
12957 *-brtl*)
12958 aix_use_runtimelinking=yes
12959 break
12961 esac
12962 done
12964 esac
12966 exp_sym_flag='-bexport'
12967 no_entry_flag='-bnoentry'
12970 # When large executables or shared objects are built, AIX ld can
12971 # have problems creating the table of contents. If linking a library
12972 # or program results in "error TOC overflow" add -mminimal-toc to
12973 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12974 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12976 archive_cmds_CXX=''
12977 hardcode_direct_CXX=yes
12978 hardcode_direct_absolute_CXX=yes
12979 hardcode_libdir_separator_CXX=':'
12980 link_all_deplibs_CXX=yes
12981 file_list_spec_CXX='${wl}-f,'
12983 if test "$GXX" = yes; then
12984 case $host_os in aix4.[012]|aix4.[012].*)
12985 # We only want to do this on AIX 4.2 and lower, the check
12986 # below for broken collect2 doesn't work under 4.3+
12987 collect2name=`${CC} -print-prog-name=collect2`
12988 if test -f "$collect2name" &&
12989 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12990 then
12991 # We have reworked collect2
12993 else
12994 # We have old collect2
12995 hardcode_direct_CXX=unsupported
12996 # It fails to find uninstalled libraries when the uninstalled
12997 # path is not listed in the libpath. Setting hardcode_minus_L
12998 # to unsupported forces relinking
12999 hardcode_minus_L_CXX=yes
13000 hardcode_libdir_flag_spec_CXX='-L$libdir'
13001 hardcode_libdir_separator_CXX=
13003 esac
13004 shared_flag='-shared'
13005 if test "$aix_use_runtimelinking" = yes; then
13006 shared_flag="$shared_flag "'${wl}-G'
13008 else
13009 # not using gcc
13010 if test "$host_cpu" = ia64; then
13011 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13012 # chokes on -Wl,-G. The following line is correct:
13013 shared_flag='-G'
13014 else
13015 if test "$aix_use_runtimelinking" = yes; then
13016 shared_flag='${wl}-G'
13017 else
13018 shared_flag='${wl}-bM:SRE'
13023 export_dynamic_flag_spec_CXX='${wl}-bexpall'
13024 # It seems that -bexpall does not export symbols beginning with
13025 # underscore (_), so it is better to generate a list of symbols to
13026 # export.
13027 always_export_symbols_CXX=yes
13028 if test "$aix_use_runtimelinking" = yes; then
13029 # Warning - without using the other runtime loading flags (-brtl),
13030 # -berok will link without error, but may produce a broken library.
13031 allow_undefined_flag_CXX='-berok'
13032 # Determine the default libpath from the value encoded in an empty
13033 # executable.
13034 if test x$gcc_no_link = xyes; then
13035 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13038 /* end confdefs.h. */
13041 main ()
13045 return 0;
13047 _ACEOF
13048 if ac_fn_cxx_try_link "$LINENO"; then :
13050 lt_aix_libpath_sed='
13051 /Import File Strings/,/^$/ {
13052 /^0/ {
13053 s/^0 *\(.*\)$/\1/
13057 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13058 # Check for a 64-bit object if we didn't find anything.
13059 if test -z "$aix_libpath"; then
13060 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13063 rm -f core conftest.err conftest.$ac_objext \
13064 conftest$ac_exeext conftest.$ac_ext
13065 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13067 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13069 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"
13070 else
13071 if test "$host_cpu" = ia64; then
13072 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13073 allow_undefined_flag_CXX="-z nodefs"
13074 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"
13075 else
13076 # Determine the default libpath from the value encoded in an
13077 # empty executable.
13078 if test x$gcc_no_link = xyes; then
13079 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13082 /* end confdefs.h. */
13085 main ()
13089 return 0;
13091 _ACEOF
13092 if ac_fn_cxx_try_link "$LINENO"; then :
13094 lt_aix_libpath_sed='
13095 /Import File Strings/,/^$/ {
13096 /^0/ {
13097 s/^0 *\(.*\)$/\1/
13101 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13102 # Check for a 64-bit object if we didn't find anything.
13103 if test -z "$aix_libpath"; then
13104 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13107 rm -f core conftest.err conftest.$ac_objext \
13108 conftest$ac_exeext conftest.$ac_ext
13109 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13111 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13112 # Warning - without using the other run time loading flags,
13113 # -berok will link without error, but may produce a broken library.
13114 no_undefined_flag_CXX=' ${wl}-bernotok'
13115 allow_undefined_flag_CXX=' ${wl}-berok'
13116 if test "$with_gnu_ld" = yes; then
13117 # We only use this code for GNU lds that support --whole-archive.
13118 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13119 else
13120 # Exported symbols can be pulled into shared objects from archives
13121 whole_archive_flag_spec_CXX='$convenience'
13123 archive_cmds_need_lc_CXX=yes
13124 # This is similar to how AIX traditionally builds its shared
13125 # libraries.
13126 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'
13131 beos*)
13132 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13133 allow_undefined_flag_CXX=unsupported
13134 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13135 # support --undefined. This deserves some investigation. FIXME
13136 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13137 else
13138 ld_shlibs_CXX=no
13142 chorus*)
13143 case $cc_basename in
13145 # FIXME: insert proper C++ library support
13146 ld_shlibs_CXX=no
13148 esac
13151 cygwin* | mingw* | pw32* | cegcc*)
13152 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13153 # as there is no search path for DLLs.
13154 hardcode_libdir_flag_spec_CXX='-L$libdir'
13155 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13156 allow_undefined_flag_CXX=unsupported
13157 always_export_symbols_CXX=no
13158 enable_shared_with_static_runtimes_CXX=yes
13160 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13161 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'
13162 # If the export-symbols file already is a .def file (1st line
13163 # is EXPORTS), use it as is; otherwise, prepend...
13164 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13165 cp $export_symbols $output_objdir/$soname.def;
13166 else
13167 echo EXPORTS > $output_objdir/$soname.def;
13168 cat $export_symbols >> $output_objdir/$soname.def;
13170 $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'
13171 else
13172 ld_shlibs_CXX=no
13175 darwin* | rhapsody*)
13178 archive_cmds_need_lc_CXX=no
13179 hardcode_direct_CXX=no
13180 hardcode_automatic_CXX=yes
13181 hardcode_shlibpath_var_CXX=unsupported
13182 if test "$lt_cv_ld_force_load" = "yes"; then
13183 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\"`'
13184 else
13185 whole_archive_flag_spec_CXX=''
13187 link_all_deplibs_CXX=yes
13188 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13189 case $cc_basename in
13190 ifort*) _lt_dar_can_shared=yes ;;
13191 *) _lt_dar_can_shared=$GCC ;;
13192 esac
13193 if test "$_lt_dar_can_shared" = "yes"; then
13194 output_verbose_link_cmd=func_echo_all
13195 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}"
13196 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13197 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}"
13198 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}"
13199 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13200 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}"
13201 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}"
13204 else
13205 ld_shlibs_CXX=no
13210 dgux*)
13211 case $cc_basename in
13212 ec++*)
13213 # FIXME: insert proper C++ library support
13214 ld_shlibs_CXX=no
13216 ghcx*)
13217 # Green Hills C++ Compiler
13218 # FIXME: insert proper C++ library support
13219 ld_shlibs_CXX=no
13222 # FIXME: insert proper C++ library support
13223 ld_shlibs_CXX=no
13225 esac
13228 freebsd2.*)
13229 # C++ shared libraries reported to be fairly broken before
13230 # switch to ELF
13231 ld_shlibs_CXX=no
13234 freebsd-elf*)
13235 archive_cmds_need_lc_CXX=no
13238 freebsd* | dragonfly*)
13239 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13240 # conventions
13241 ld_shlibs_CXX=yes
13244 gnu*)
13247 haiku*)
13248 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13249 link_all_deplibs_CXX=yes
13252 hpux9*)
13253 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13254 hardcode_libdir_separator_CXX=:
13255 export_dynamic_flag_spec_CXX='${wl}-E'
13256 hardcode_direct_CXX=yes
13257 hardcode_minus_L_CXX=yes # Not in the search PATH,
13258 # but as the default
13259 # location of the library.
13261 case $cc_basename in
13262 CC*)
13263 # FIXME: insert proper C++ library support
13264 ld_shlibs_CXX=no
13266 aCC*)
13267 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'
13268 # Commands to make compiler produce verbose output that lists
13269 # what "hidden" libraries, object files and flags are used when
13270 # linking a shared library.
13272 # There doesn't appear to be a way to prevent this compiler from
13273 # explicitly linking system object files so we need to strip them
13274 # from the output so that they don't get included in the library
13275 # dependencies.
13276 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"'
13279 if test "$GXX" = yes; then
13280 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'
13281 else
13282 # FIXME: insert proper C++ library support
13283 ld_shlibs_CXX=no
13286 esac
13289 hpux10*|hpux11*)
13290 if test $with_gnu_ld = no; then
13291 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13292 hardcode_libdir_separator_CXX=:
13294 case $host_cpu in
13295 hppa*64*|ia64*)
13298 export_dynamic_flag_spec_CXX='${wl}-E'
13300 esac
13302 case $host_cpu in
13303 hppa*64*|ia64*)
13304 hardcode_direct_CXX=no
13305 hardcode_shlibpath_var_CXX=no
13308 hardcode_direct_CXX=yes
13309 hardcode_direct_absolute_CXX=yes
13310 hardcode_minus_L_CXX=yes # Not in the search PATH,
13311 # but as the default
13312 # location of the library.
13314 esac
13316 case $cc_basename in
13317 CC*)
13318 # FIXME: insert proper C++ library support
13319 ld_shlibs_CXX=no
13321 aCC*)
13322 case $host_cpu in
13323 hppa*64*)
13324 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13326 ia64*)
13327 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13330 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13332 esac
13333 # Commands to make compiler produce verbose output that lists
13334 # what "hidden" libraries, object files and flags are used when
13335 # linking a shared library.
13337 # There doesn't appear to be a way to prevent this compiler from
13338 # explicitly linking system object files so we need to strip them
13339 # from the output so that they don't get included in the library
13340 # dependencies.
13341 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"'
13344 if test "$GXX" = yes; then
13345 if test $with_gnu_ld = no; then
13346 case $host_cpu in
13347 hppa*64*)
13348 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13350 ia64*)
13351 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13354 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'
13356 esac
13358 else
13359 # FIXME: insert proper C++ library support
13360 ld_shlibs_CXX=no
13363 esac
13366 interix[3-9]*)
13367 hardcode_direct_CXX=no
13368 hardcode_shlibpath_var_CXX=no
13369 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13370 export_dynamic_flag_spec_CXX='${wl}-E'
13371 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13372 # Instead, shared libraries are loaded at an image base (0x10000000 by
13373 # default) and relocated if they conflict, which is a slow very memory
13374 # consuming and fragmenting process. To avoid this, we pick a random,
13375 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13376 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13377 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'
13378 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'
13380 irix5* | irix6*)
13381 case $cc_basename in
13382 CC*)
13383 # SGI C++
13384 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'
13386 # Archives containing C++ object files must be created using
13387 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13388 # necessary to make sure instantiated templates are included
13389 # in the archive.
13390 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13393 if test "$GXX" = yes; then
13394 if test "$with_gnu_ld" = no; then
13395 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'
13396 else
13397 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'
13400 link_all_deplibs_CXX=yes
13402 esac
13403 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13404 hardcode_libdir_separator_CXX=:
13405 inherit_rpath_CXX=yes
13408 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13409 case $cc_basename in
13410 KCC*)
13411 # Kuck and Associates, Inc. (KAI) C++ Compiler
13413 # KCC will only create a shared library if the output file
13414 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13415 # to its proper name (with version) after linking.
13416 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'
13417 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'
13418 # Commands to make compiler produce verbose output that lists
13419 # what "hidden" libraries, object files and flags are used when
13420 # linking a shared library.
13422 # There doesn't appear to be a way to prevent this compiler from
13423 # explicitly linking system object files so we need to strip them
13424 # from the output so that they don't get included in the library
13425 # dependencies.
13426 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"'
13428 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13429 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13431 # Archives containing C++ object files must be created using
13432 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13433 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13435 icpc* | ecpc* )
13436 # Intel C++
13437 with_gnu_ld=yes
13438 # version 8.0 and above of icpc choke on multiply defined symbols
13439 # if we add $predep_objects and $postdep_objects, however 7.1 and
13440 # earlier do not add the objects themselves.
13441 case `$CC -V 2>&1` in
13442 *"Version 7."*)
13443 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13444 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'
13446 *) # Version 8.0 or newer
13447 tmp_idyn=
13448 case $host_cpu in
13449 ia64*) tmp_idyn=' -i_dynamic';;
13450 esac
13451 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13452 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'
13454 esac
13455 archive_cmds_need_lc_CXX=no
13456 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13457 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13458 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13460 pgCC* | pgcpp*)
13461 # Portland Group C++ compiler
13462 case `$CC -V` in
13463 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13464 prelink_cmds_CXX='tpldir=Template.dir~
13465 rm -rf $tpldir~
13466 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13467 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13468 old_archive_cmds_CXX='tpldir=Template.dir~
13469 rm -rf $tpldir~
13470 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13471 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13472 $RANLIB $oldlib'
13473 archive_cmds_CXX='tpldir=Template.dir~
13474 rm -rf $tpldir~
13475 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13476 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13477 archive_expsym_cmds_CXX='tpldir=Template.dir~
13478 rm -rf $tpldir~
13479 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13480 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13482 *) # Version 6 and above use weak symbols
13483 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13484 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'
13486 esac
13488 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13489 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13490 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'
13492 cxx*)
13493 # Compaq C++
13494 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13495 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'
13497 runpath_var=LD_RUN_PATH
13498 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13499 hardcode_libdir_separator_CXX=:
13501 # Commands to make compiler produce verbose output that lists
13502 # what "hidden" libraries, object files and flags are used when
13503 # linking a shared library.
13505 # There doesn't appear to be a way to prevent this compiler from
13506 # explicitly linking system object files so we need to strip them
13507 # from the output so that they don't get included in the library
13508 # dependencies.
13509 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'
13511 xl* | mpixl* | bgxl*)
13512 # IBM XL 8.0 on PPC, with GNU ld
13513 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13514 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13515 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13516 if test "x$supports_anon_versioning" = xyes; then
13517 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13518 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13519 echo "local: *; };" >> $output_objdir/$libname.ver~
13520 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13524 case `$CC -V 2>&1 | sed 5q` in
13525 *Sun\ C*)
13526 # Sun C++ 5.9
13527 no_undefined_flag_CXX=' -zdefs'
13528 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13529 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'
13530 hardcode_libdir_flag_spec_CXX='-R$libdir'
13531 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'
13532 compiler_needs_object_CXX=yes
13534 # Not sure whether something based on
13535 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13536 # would be better.
13537 output_verbose_link_cmd='func_echo_all'
13539 # Archives containing C++ object files must be created using
13540 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13541 # necessary to make sure instantiated templates are included
13542 # in the archive.
13543 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13545 esac
13547 esac
13550 lynxos*)
13551 # FIXME: insert proper C++ library support
13552 ld_shlibs_CXX=no
13555 m88k*)
13556 # FIXME: insert proper C++ library support
13557 ld_shlibs_CXX=no
13560 mvs*)
13561 case $cc_basename in
13562 cxx*)
13563 # FIXME: insert proper C++ library support
13564 ld_shlibs_CXX=no
13567 # FIXME: insert proper C++ library support
13568 ld_shlibs_CXX=no
13570 esac
13573 netbsd*)
13574 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13575 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13576 wlarc=
13577 hardcode_libdir_flag_spec_CXX='-R$libdir'
13578 hardcode_direct_CXX=yes
13579 hardcode_shlibpath_var_CXX=no
13581 # Workaround some broken pre-1.5 toolchains
13582 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13585 *nto* | *qnx*)
13586 ld_shlibs_CXX=yes
13589 openbsd2*)
13590 # C++ shared libraries are fairly broken
13591 ld_shlibs_CXX=no
13594 openbsd*)
13595 if test -f /usr/libexec/ld.so; then
13596 hardcode_direct_CXX=yes
13597 hardcode_shlibpath_var_CXX=no
13598 hardcode_direct_absolute_CXX=yes
13599 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13600 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13601 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13602 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13603 export_dynamic_flag_spec_CXX='${wl}-E'
13604 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13606 output_verbose_link_cmd=func_echo_all
13607 else
13608 ld_shlibs_CXX=no
13612 osf3* | osf4* | osf5*)
13613 case $cc_basename in
13614 KCC*)
13615 # Kuck and Associates, Inc. (KAI) C++ Compiler
13617 # KCC will only create a shared library if the output file
13618 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13619 # to its proper name (with version) after linking.
13620 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'
13622 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13623 hardcode_libdir_separator_CXX=:
13625 # Archives containing C++ object files must be created using
13626 # the KAI C++ compiler.
13627 case $host in
13628 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13629 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13630 esac
13632 RCC*)
13633 # Rational C++ 2.4.1
13634 # FIXME: insert proper C++ library support
13635 ld_shlibs_CXX=no
13637 cxx*)
13638 case $host in
13639 osf3*)
13640 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13641 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'
13642 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13645 allow_undefined_flag_CXX=' -expect_unresolved \*'
13646 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'
13647 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13648 echo "-hidden">> $lib.exp~
13649 $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~
13650 $RM $lib.exp'
13651 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13653 esac
13655 hardcode_libdir_separator_CXX=:
13657 # Commands to make compiler produce verbose output that lists
13658 # what "hidden" libraries, object files and flags are used when
13659 # linking a shared library.
13661 # There doesn't appear to be a way to prevent this compiler from
13662 # explicitly linking system object files so we need to strip them
13663 # from the output so that they don't get included in the library
13664 # dependencies.
13665 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"'
13668 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13669 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13670 case $host in
13671 osf3*)
13672 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'
13675 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'
13677 esac
13679 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13680 hardcode_libdir_separator_CXX=:
13682 # Commands to make compiler produce verbose output that lists
13683 # what "hidden" libraries, object files and flags are used when
13684 # linking a shared library.
13685 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13687 else
13688 # FIXME: insert proper C++ library support
13689 ld_shlibs_CXX=no
13692 esac
13695 psos*)
13696 # FIXME: insert proper C++ library support
13697 ld_shlibs_CXX=no
13700 sunos4*)
13701 case $cc_basename in
13702 CC*)
13703 # Sun C++ 4.x
13704 # FIXME: insert proper C++ library support
13705 ld_shlibs_CXX=no
13707 lcc*)
13708 # Lucid
13709 # FIXME: insert proper C++ library support
13710 ld_shlibs_CXX=no
13713 # FIXME: insert proper C++ library support
13714 ld_shlibs_CXX=no
13716 esac
13719 solaris*)
13720 case $cc_basename in
13721 CC*)
13722 # Sun C++ 4.2, 5.x and Centerline C++
13723 archive_cmds_need_lc_CXX=yes
13724 no_undefined_flag_CXX=' -zdefs'
13725 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13726 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13727 $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'
13729 hardcode_libdir_flag_spec_CXX='-R$libdir'
13730 hardcode_shlibpath_var_CXX=no
13731 case $host_os in
13732 solaris2.[0-5] | solaris2.[0-5].*) ;;
13734 # The compiler driver will combine and reorder linker options,
13735 # but understands `-z linker_flag'.
13736 # Supported since Solaris 2.6 (maybe 2.5.1?)
13737 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13739 esac
13740 link_all_deplibs_CXX=yes
13742 output_verbose_link_cmd='func_echo_all'
13744 # Archives containing C++ object files must be created using
13745 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13746 # necessary to make sure instantiated templates are included
13747 # in the archive.
13748 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13750 gcx*)
13751 # Green Hills C++ Compiler
13752 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13754 # The C++ compiler must be used to create the archive.
13755 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13758 # GNU C++ compiler with Solaris linker
13759 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13760 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13761 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13762 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13763 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13764 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13766 # Commands to make compiler produce verbose output that lists
13767 # what "hidden" libraries, object files and flags are used when
13768 # linking a shared library.
13769 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13770 else
13771 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13772 # platform.
13773 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13774 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13775 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13777 # Commands to make compiler produce verbose output that lists
13778 # what "hidden" libraries, object files and flags are used when
13779 # linking a shared library.
13780 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13783 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13784 case $host_os in
13785 solaris2.[0-5] | solaris2.[0-5].*) ;;
13787 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13789 esac
13792 esac
13795 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13796 no_undefined_flag_CXX='${wl}-z,text'
13797 archive_cmds_need_lc_CXX=no
13798 hardcode_shlibpath_var_CXX=no
13799 runpath_var='LD_RUN_PATH'
13801 case $cc_basename in
13802 CC*)
13803 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13804 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13807 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13808 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13810 esac
13813 sysv5* | sco3.2v5* | sco5v6*)
13814 # Note: We can NOT use -z defs as we might desire, because we do not
13815 # link with -lc, and that would cause any symbols used from libc to
13816 # always be unresolved, which means just about no library would
13817 # ever link correctly. If we're not using GNU ld we use -z text
13818 # though, which does catch some bad symbols but isn't as heavy-handed
13819 # as -z defs.
13820 no_undefined_flag_CXX='${wl}-z,text'
13821 allow_undefined_flag_CXX='${wl}-z,nodefs'
13822 archive_cmds_need_lc_CXX=no
13823 hardcode_shlibpath_var_CXX=no
13824 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13825 hardcode_libdir_separator_CXX=':'
13826 link_all_deplibs_CXX=yes
13827 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13828 runpath_var='LD_RUN_PATH'
13830 case $cc_basename in
13831 CC*)
13832 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13833 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13834 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13835 '"$old_archive_cmds_CXX"
13836 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13837 '"$reload_cmds_CXX"
13840 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13841 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13843 esac
13846 tandem*)
13847 case $cc_basename in
13848 NCC*)
13849 # NonStop-UX NCC 3.20
13850 # FIXME: insert proper C++ library support
13851 ld_shlibs_CXX=no
13854 # FIXME: insert proper C++ library support
13855 ld_shlibs_CXX=no
13857 esac
13860 vxworks*)
13861 # For VxWorks ports, we assume the use of a GNU linker with
13862 # standard elf conventions.
13863 ld_shlibs_CXX=yes
13867 # FIXME: insert proper C++ library support
13868 ld_shlibs_CXX=no
13870 esac
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13873 $as_echo "$ld_shlibs_CXX" >&6; }
13874 test "$ld_shlibs_CXX" = no && can_build_shared=no
13876 GCC_CXX="$GXX"
13877 LD_CXX="$LD"
13879 ## CAVEAT EMPTOR:
13880 ## There is no encapsulation within the following macros, do not change
13881 ## the running order or otherwise move them around unless you know exactly
13882 ## what you are doing...
13883 # Dependencies to place before and after the object being linked:
13884 predep_objects_CXX=
13885 postdep_objects_CXX=
13886 predeps_CXX=
13887 postdeps_CXX=
13888 compiler_lib_search_path_CXX=
13890 cat > conftest.$ac_ext <<_LT_EOF
13891 class Foo
13893 public:
13894 Foo (void) { a = 0; }
13895 private:
13896 int a;
13898 _LT_EOF
13900 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13901 (eval $ac_compile) 2>&5
13902 ac_status=$?
13903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13904 test $ac_status = 0; }; then
13905 # Parse the compiler output and extract the necessary
13906 # objects, libraries and library flags.
13908 # Sentinel used to keep track of whether or not we are before
13909 # the conftest object file.
13910 pre_test_object_deps_done=no
13912 for p in `eval "$output_verbose_link_cmd"`; do
13913 case $p in
13915 -L* | -R* | -l*)
13916 # Some compilers place space between "-{L,R}" and the path.
13917 # Remove the space.
13918 if test $p = "-L" ||
13919 test $p = "-R"; then
13920 prev=$p
13921 continue
13922 else
13923 prev=
13926 if test "$pre_test_object_deps_done" = no; then
13927 case $p in
13928 -L* | -R*)
13929 # Internal compiler library paths should come after those
13930 # provided the user. The postdeps already come after the
13931 # user supplied libs so there is no need to process them.
13932 if test -z "$compiler_lib_search_path_CXX"; then
13933 compiler_lib_search_path_CXX="${prev}${p}"
13934 else
13935 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13938 # The "-l" case would never come before the object being
13939 # linked, so don't bother handling this case.
13940 esac
13941 else
13942 if test -z "$postdeps_CXX"; then
13943 postdeps_CXX="${prev}${p}"
13944 else
13945 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13950 *.$objext)
13951 # This assumes that the test object file only shows up
13952 # once in the compiler output.
13953 if test "$p" = "conftest.$objext"; then
13954 pre_test_object_deps_done=yes
13955 continue
13958 if test "$pre_test_object_deps_done" = no; then
13959 if test -z "$predep_objects_CXX"; then
13960 predep_objects_CXX="$p"
13961 else
13962 predep_objects_CXX="$predep_objects_CXX $p"
13964 else
13965 if test -z "$postdep_objects_CXX"; then
13966 postdep_objects_CXX="$p"
13967 else
13968 postdep_objects_CXX="$postdep_objects_CXX $p"
13973 *) ;; # Ignore the rest.
13975 esac
13976 done
13978 # Clean up.
13979 rm -f a.out a.exe
13980 else
13981 echo "libtool.m4: error: problem compiling CXX test program"
13984 $RM -f confest.$objext
13986 # PORTME: override above test on systems where it is broken
13987 case $host_os in
13988 interix[3-9]*)
13989 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13990 # hack all around it, let's just trust "g++" to DTRT.
13991 predep_objects_CXX=
13992 postdep_objects_CXX=
13993 postdeps_CXX=
13996 linux*)
13997 case `$CC -V 2>&1 | sed 5q` in
13998 *Sun\ C*)
13999 # Sun C++ 5.9
14001 # The more standards-conforming stlport4 library is
14002 # incompatible with the Cstd library. Avoid specifying
14003 # it if it's in CXXFLAGS. Ignore libCrun as
14004 # -library=stlport4 depends on it.
14005 case " $CXX $CXXFLAGS " in
14006 *" -library=stlport4 "*)
14007 solaris_use_stlport4=yes
14009 esac
14011 if test "$solaris_use_stlport4" != yes; then
14012 postdeps_CXX='-library=Cstd -library=Crun'
14015 esac
14018 solaris*)
14019 case $cc_basename in
14020 CC*)
14021 # The more standards-conforming stlport4 library is
14022 # incompatible with the Cstd library. Avoid specifying
14023 # it if it's in CXXFLAGS. Ignore libCrun as
14024 # -library=stlport4 depends on it.
14025 case " $CXX $CXXFLAGS " in
14026 *" -library=stlport4 "*)
14027 solaris_use_stlport4=yes
14029 esac
14031 # Adding this requires a known-good setup of shared libraries for
14032 # Sun compiler versions before 5.6, else PIC objects from an old
14033 # archive will be linked into the output, leading to subtle bugs.
14034 if test "$solaris_use_stlport4" != yes; then
14035 postdeps_CXX='-library=Cstd -library=Crun'
14038 esac
14040 esac
14043 case " $postdeps_CXX " in
14044 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14045 esac
14046 compiler_lib_search_dirs_CXX=
14047 if test -n "${compiler_lib_search_path_CXX}"; then
14048 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14081 lt_prog_compiler_wl_CXX=
14082 lt_prog_compiler_pic_CXX=
14083 lt_prog_compiler_static_CXX=
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14086 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14088 # C++ specific cases for pic, static, wl, etc.
14089 if test "$GXX" = yes; then
14090 lt_prog_compiler_wl_CXX='-Wl,'
14091 lt_prog_compiler_static_CXX='-static'
14093 case $host_os in
14094 aix*)
14095 # All AIX code is PIC.
14096 if test "$host_cpu" = ia64; then
14097 # AIX 5 now supports IA64 processor
14098 lt_prog_compiler_static_CXX='-Bstatic'
14100 lt_prog_compiler_pic_CXX='-fPIC'
14103 amigaos*)
14104 case $host_cpu in
14105 powerpc)
14106 # see comment about AmigaOS4 .so support
14107 lt_prog_compiler_pic_CXX='-fPIC'
14109 m68k)
14110 # FIXME: we need at least 68020 code to build shared libraries, but
14111 # adding the `-m68020' flag to GCC prevents building anything better,
14112 # like `-m68040'.
14113 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14115 esac
14118 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14119 # PIC is the default for these OSes.
14121 mingw* | cygwin* | os2* | pw32* | cegcc*)
14122 # This hack is so that the source file can tell whether it is being
14123 # built for inclusion in a dll (and should export symbols for example).
14124 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14125 # (--disable-auto-import) libraries
14126 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14128 darwin* | rhapsody*)
14129 # PIC is the default on this platform
14130 # Common symbols not allowed in MH_DYLIB files
14131 lt_prog_compiler_pic_CXX='-fno-common'
14133 *djgpp*)
14134 # DJGPP does not support shared libraries at all
14135 lt_prog_compiler_pic_CXX=
14137 haiku*)
14138 # PIC is the default for Haiku.
14139 # The "-static" flag exists, but is broken.
14140 lt_prog_compiler_static_CXX=
14142 interix[3-9]*)
14143 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14144 # Instead, we relocate shared libraries at runtime.
14146 sysv4*MP*)
14147 if test -d /usr/nec; then
14148 lt_prog_compiler_pic_CXX=-Kconform_pic
14151 hpux*)
14152 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14153 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14154 # sets the default TLS model and affects inlining.
14155 case $host_cpu in
14156 hppa*64*)
14159 lt_prog_compiler_pic_CXX='-fPIC'
14161 esac
14163 *qnx* | *nto*)
14164 # QNX uses GNU C++, but need to define -shared option too, otherwise
14165 # it will coredump.
14166 lt_prog_compiler_pic_CXX='-fPIC -shared'
14169 lt_prog_compiler_pic_CXX='-fPIC'
14171 esac
14172 else
14173 case $host_os in
14174 aix[4-9]*)
14175 # All AIX code is PIC.
14176 if test "$host_cpu" = ia64; then
14177 # AIX 5 now supports IA64 processor
14178 lt_prog_compiler_static_CXX='-Bstatic'
14179 else
14180 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14183 chorus*)
14184 case $cc_basename in
14185 cxch68*)
14186 # Green Hills C++ Compiler
14187 # _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"
14189 esac
14191 dgux*)
14192 case $cc_basename in
14193 ec++*)
14194 lt_prog_compiler_pic_CXX='-KPIC'
14196 ghcx*)
14197 # Green Hills C++ Compiler
14198 lt_prog_compiler_pic_CXX='-pic'
14202 esac
14204 freebsd* | dragonfly*)
14205 # FreeBSD uses GNU C++
14207 hpux9* | hpux10* | hpux11*)
14208 case $cc_basename in
14209 CC*)
14210 lt_prog_compiler_wl_CXX='-Wl,'
14211 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14212 if test "$host_cpu" != ia64; then
14213 lt_prog_compiler_pic_CXX='+Z'
14216 aCC*)
14217 lt_prog_compiler_wl_CXX='-Wl,'
14218 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14219 case $host_cpu in
14220 hppa*64*|ia64*)
14221 # +Z the default
14224 lt_prog_compiler_pic_CXX='+Z'
14226 esac
14230 esac
14232 interix*)
14233 # This is c89, which is MS Visual C++ (no shared libs)
14234 # Anyone wants to do a port?
14236 irix5* | irix6* | nonstopux*)
14237 case $cc_basename in
14238 CC*)
14239 lt_prog_compiler_wl_CXX='-Wl,'
14240 lt_prog_compiler_static_CXX='-non_shared'
14241 # CC pic flag -KPIC is the default.
14245 esac
14247 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14248 case $cc_basename in
14249 KCC*)
14250 # KAI C++ Compiler
14251 lt_prog_compiler_wl_CXX='--backend -Wl,'
14252 lt_prog_compiler_pic_CXX='-fPIC'
14254 ecpc* )
14255 # old Intel C++ for x86_64 which still supported -KPIC.
14256 lt_prog_compiler_wl_CXX='-Wl,'
14257 lt_prog_compiler_pic_CXX='-KPIC'
14258 lt_prog_compiler_static_CXX='-static'
14260 icpc* )
14261 # Intel C++, used to be incompatible with GCC.
14262 # ICC 10 doesn't accept -KPIC any more.
14263 lt_prog_compiler_wl_CXX='-Wl,'
14264 lt_prog_compiler_pic_CXX='-fPIC'
14265 lt_prog_compiler_static_CXX='-static'
14267 pgCC* | pgcpp*)
14268 # Portland Group C++ compiler
14269 lt_prog_compiler_wl_CXX='-Wl,'
14270 lt_prog_compiler_pic_CXX='-fpic'
14271 lt_prog_compiler_static_CXX='-Bstatic'
14273 cxx*)
14274 # Compaq C++
14275 # Make sure the PIC flag is empty. It appears that all Alpha
14276 # Linux and Compaq Tru64 Unix objects are PIC.
14277 lt_prog_compiler_pic_CXX=
14278 lt_prog_compiler_static_CXX='-non_shared'
14280 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14281 # IBM XL 8.0, 9.0 on PPC and BlueGene
14282 lt_prog_compiler_wl_CXX='-Wl,'
14283 lt_prog_compiler_pic_CXX='-qpic'
14284 lt_prog_compiler_static_CXX='-qstaticlink'
14287 case `$CC -V 2>&1 | sed 5q` in
14288 *Sun\ C*)
14289 # Sun C++ 5.9
14290 lt_prog_compiler_pic_CXX='-KPIC'
14291 lt_prog_compiler_static_CXX='-Bstatic'
14292 lt_prog_compiler_wl_CXX='-Qoption ld '
14294 esac
14296 esac
14298 lynxos*)
14300 m88k*)
14302 mvs*)
14303 case $cc_basename in
14304 cxx*)
14305 lt_prog_compiler_pic_CXX='-W c,exportall'
14309 esac
14311 netbsd*)
14313 *qnx* | *nto*)
14314 # QNX uses GNU C++, but need to define -shared option too, otherwise
14315 # it will coredump.
14316 lt_prog_compiler_pic_CXX='-fPIC -shared'
14318 osf3* | osf4* | osf5*)
14319 case $cc_basename in
14320 KCC*)
14321 lt_prog_compiler_wl_CXX='--backend -Wl,'
14323 RCC*)
14324 # Rational C++ 2.4.1
14325 lt_prog_compiler_pic_CXX='-pic'
14327 cxx*)
14328 # Digital/Compaq C++
14329 lt_prog_compiler_wl_CXX='-Wl,'
14330 # Make sure the PIC flag is empty. It appears that all Alpha
14331 # Linux and Compaq Tru64 Unix objects are PIC.
14332 lt_prog_compiler_pic_CXX=
14333 lt_prog_compiler_static_CXX='-non_shared'
14337 esac
14339 psos*)
14341 solaris*)
14342 case $cc_basename in
14343 CC*)
14344 # Sun C++ 4.2, 5.x and Centerline C++
14345 lt_prog_compiler_pic_CXX='-KPIC'
14346 lt_prog_compiler_static_CXX='-Bstatic'
14347 lt_prog_compiler_wl_CXX='-Qoption ld '
14349 gcx*)
14350 # Green Hills C++ Compiler
14351 lt_prog_compiler_pic_CXX='-PIC'
14355 esac
14357 sunos4*)
14358 case $cc_basename in
14359 CC*)
14360 # Sun C++ 4.x
14361 lt_prog_compiler_pic_CXX='-pic'
14362 lt_prog_compiler_static_CXX='-Bstatic'
14364 lcc*)
14365 # Lucid
14366 lt_prog_compiler_pic_CXX='-pic'
14370 esac
14372 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14373 case $cc_basename in
14374 CC*)
14375 lt_prog_compiler_wl_CXX='-Wl,'
14376 lt_prog_compiler_pic_CXX='-KPIC'
14377 lt_prog_compiler_static_CXX='-Bstatic'
14379 esac
14381 tandem*)
14382 case $cc_basename in
14383 NCC*)
14384 # NonStop-UX NCC 3.20
14385 lt_prog_compiler_pic_CXX='-KPIC'
14389 esac
14391 vxworks*)
14394 lt_prog_compiler_can_build_shared_CXX=no
14396 esac
14399 case $host_os in
14400 # For platforms which do not support PIC, -DPIC is meaningless:
14401 *djgpp*)
14402 lt_prog_compiler_pic_CXX=
14405 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14407 esac
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14409 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14414 # Check to make sure the PIC flag actually works.
14416 if test -n "$lt_prog_compiler_pic_CXX"; then
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14418 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14419 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14420 $as_echo_n "(cached) " >&6
14421 else
14422 lt_cv_prog_compiler_pic_works_CXX=no
14423 ac_outfile=conftest.$ac_objext
14424 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14425 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14426 # Insert the option either (1) after the last *FLAGS variable, or
14427 # (2) before a word containing "conftest.", or (3) at the end.
14428 # Note that $ac_compile itself does not contain backslashes and begins
14429 # with a dollar sign (not a hyphen), so the echo should work correctly.
14430 # The option is referenced via a variable to avoid confusing sed.
14431 lt_compile=`echo "$ac_compile" | $SED \
14432 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14433 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14434 -e 's:$: $lt_compiler_flag:'`
14435 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14436 (eval "$lt_compile" 2>conftest.err)
14437 ac_status=$?
14438 cat conftest.err >&5
14439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14440 if (exit $ac_status) && test -s "$ac_outfile"; then
14441 # The compiler can only warn and ignore the option if not recognized
14442 # So say no if there are warnings other than the usual output.
14443 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14444 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14445 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14446 lt_cv_prog_compiler_pic_works_CXX=yes
14449 $RM conftest*
14452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14453 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14455 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14456 case $lt_prog_compiler_pic_CXX in
14457 "" | " "*) ;;
14458 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14459 esac
14460 else
14461 lt_prog_compiler_pic_CXX=
14462 lt_prog_compiler_can_build_shared_CXX=no
14470 # Check to make sure the static flag actually works.
14472 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14474 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14475 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14476 $as_echo_n "(cached) " >&6
14477 else
14478 lt_cv_prog_compiler_static_works_CXX=no
14479 save_LDFLAGS="$LDFLAGS"
14480 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14481 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14482 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14483 # The linker can only warn and ignore the option if not recognized
14484 # So say no if there are warnings
14485 if test -s conftest.err; then
14486 # Append any errors to the config.log.
14487 cat conftest.err 1>&5
14488 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14489 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14490 if diff conftest.exp conftest.er2 >/dev/null; then
14491 lt_cv_prog_compiler_static_works_CXX=yes
14493 else
14494 lt_cv_prog_compiler_static_works_CXX=yes
14497 $RM -r conftest*
14498 LDFLAGS="$save_LDFLAGS"
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14502 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14504 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14506 else
14507 lt_prog_compiler_static_CXX=
14513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14514 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14515 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14516 $as_echo_n "(cached) " >&6
14517 else
14518 lt_cv_prog_compiler_c_o_CXX=no
14519 $RM -r conftest 2>/dev/null
14520 mkdir conftest
14521 cd conftest
14522 mkdir out
14523 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14525 lt_compiler_flag="-o out/conftest2.$ac_objext"
14526 # Insert the option either (1) after the last *FLAGS variable, or
14527 # (2) before a word containing "conftest.", or (3) at the end.
14528 # Note that $ac_compile itself does not contain backslashes and begins
14529 # with a dollar sign (not a hyphen), so the echo should work correctly.
14530 lt_compile=`echo "$ac_compile" | $SED \
14531 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14532 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14533 -e 's:$: $lt_compiler_flag:'`
14534 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14535 (eval "$lt_compile" 2>out/conftest.err)
14536 ac_status=$?
14537 cat out/conftest.err >&5
14538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14539 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14540 then
14541 # The compiler can only warn and ignore the option if not recognized
14542 # So say no if there are warnings
14543 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14544 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14545 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14546 lt_cv_prog_compiler_c_o_CXX=yes
14549 chmod u+w . 2>&5
14550 $RM conftest*
14551 # SGI C++ compiler will create directory out/ii_files/ for
14552 # template instantiation
14553 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14554 $RM out/* && rmdir out
14555 cd ..
14556 $RM -r conftest
14557 $RM conftest*
14560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14561 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14566 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14567 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14568 $as_echo_n "(cached) " >&6
14569 else
14570 lt_cv_prog_compiler_c_o_CXX=no
14571 $RM -r conftest 2>/dev/null
14572 mkdir conftest
14573 cd conftest
14574 mkdir out
14575 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14577 lt_compiler_flag="-o out/conftest2.$ac_objext"
14578 # Insert the option either (1) after the last *FLAGS variable, or
14579 # (2) before a word containing "conftest.", or (3) at the end.
14580 # Note that $ac_compile itself does not contain backslashes and begins
14581 # with a dollar sign (not a hyphen), so the echo should work correctly.
14582 lt_compile=`echo "$ac_compile" | $SED \
14583 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14584 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14585 -e 's:$: $lt_compiler_flag:'`
14586 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14587 (eval "$lt_compile" 2>out/conftest.err)
14588 ac_status=$?
14589 cat out/conftest.err >&5
14590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14591 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14592 then
14593 # The compiler can only warn and ignore the option if not recognized
14594 # So say no if there are warnings
14595 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14596 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14597 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14598 lt_cv_prog_compiler_c_o_CXX=yes
14601 chmod u+w . 2>&5
14602 $RM conftest*
14603 # SGI C++ compiler will create directory out/ii_files/ for
14604 # template instantiation
14605 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14606 $RM out/* && rmdir out
14607 cd ..
14608 $RM -r conftest
14609 $RM conftest*
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14613 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14618 hard_links="nottested"
14619 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14620 # do not overwrite the value of need_locks provided by the user
14621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14622 $as_echo_n "checking if we can lock with hard links... " >&6; }
14623 hard_links=yes
14624 $RM conftest*
14625 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14626 touch conftest.a
14627 ln conftest.a conftest.b 2>&5 || hard_links=no
14628 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14630 $as_echo "$hard_links" >&6; }
14631 if test "$hard_links" = no; then
14632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14633 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14634 need_locks=warn
14636 else
14637 need_locks=no
14642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14643 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14645 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14646 case $host_os in
14647 aix[4-9]*)
14648 # If we're using GNU nm, then we don't want the "-C" option.
14649 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14650 # Also, AIX nm treats weak defined symbols like other global defined
14651 # symbols, whereas GNU nm marks them as "W".
14652 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14653 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'
14654 else
14655 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'
14658 pw32*)
14659 export_symbols_cmds_CXX="$ltdll_cmds"
14661 cygwin* | mingw* | cegcc*)
14662 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'
14665 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14667 esac
14668 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14671 $as_echo "$ld_shlibs_CXX" >&6; }
14672 test "$ld_shlibs_CXX" = no && can_build_shared=no
14674 with_gnu_ld_CXX=$with_gnu_ld
14682 # Do we need to explicitly link libc?
14684 case "x$archive_cmds_need_lc_CXX" in
14685 x|xyes)
14686 # Assume -lc should be added
14687 archive_cmds_need_lc_CXX=yes
14689 if test "$enable_shared" = yes && test "$GCC" = yes; then
14690 case $archive_cmds_CXX in
14691 *'~'*)
14692 # FIXME: we may have to deal with multi-command sequences.
14694 '$CC '*)
14695 # Test whether the compiler implicitly links with -lc since on some
14696 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14697 # to ld, don't add -lc before -lgcc.
14698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14699 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14700 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14701 $as_echo_n "(cached) " >&6
14702 else
14703 $RM conftest*
14704 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14706 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14707 (eval $ac_compile) 2>&5
14708 ac_status=$?
14709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14710 test $ac_status = 0; } 2>conftest.err; then
14711 soname=conftest
14712 lib=conftest
14713 libobjs=conftest.$ac_objext
14714 deplibs=
14715 wl=$lt_prog_compiler_wl_CXX
14716 pic_flag=$lt_prog_compiler_pic_CXX
14717 compiler_flags=-v
14718 linker_flags=-v
14719 verstring=
14720 output_objdir=.
14721 libname=conftest
14722 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14723 allow_undefined_flag_CXX=
14724 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14725 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14726 ac_status=$?
14727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14728 test $ac_status = 0; }
14729 then
14730 lt_cv_archive_cmds_need_lc_CXX=no
14731 else
14732 lt_cv_archive_cmds_need_lc_CXX=yes
14734 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14735 else
14736 cat conftest.err 1>&5
14738 $RM conftest*
14741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14742 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14743 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14745 esac
14748 esac
14813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14814 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14816 library_names_spec=
14817 libname_spec='lib$name'
14818 soname_spec=
14819 shrext_cmds=".so"
14820 postinstall_cmds=
14821 postuninstall_cmds=
14822 finish_cmds=
14823 finish_eval=
14824 shlibpath_var=
14825 shlibpath_overrides_runpath=unknown
14826 version_type=none
14827 dynamic_linker="$host_os ld.so"
14828 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14829 need_lib_prefix=unknown
14830 hardcode_into_libs=no
14832 # when you set need_version to no, make sure it does not cause -set_version
14833 # flags to be left without arguments
14834 need_version=unknown
14836 case $host_os in
14837 aix3*)
14838 version_type=linux
14839 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14840 shlibpath_var=LIBPATH
14842 # AIX 3 has no versioning support, so we append a major version to the name.
14843 soname_spec='${libname}${release}${shared_ext}$major'
14846 aix[4-9]*)
14847 version_type=linux
14848 need_lib_prefix=no
14849 need_version=no
14850 hardcode_into_libs=yes
14851 if test "$host_cpu" = ia64; then
14852 # AIX 5 supports IA64
14853 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14854 shlibpath_var=LD_LIBRARY_PATH
14855 else
14856 # With GCC up to 2.95.x, collect2 would create an import file
14857 # for dependence libraries. The import file would start with
14858 # the line `#! .'. This would cause the generated library to
14859 # depend on `.', always an invalid library. This was fixed in
14860 # development snapshots of GCC prior to 3.0.
14861 case $host_os in
14862 aix4 | aix4.[01] | aix4.[01].*)
14863 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14864 echo ' yes '
14865 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14867 else
14868 can_build_shared=no
14871 esac
14872 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14873 # soname into executable. Probably we can add versioning support to
14874 # collect2, so additional links can be useful in future.
14875 if test "$aix_use_runtimelinking" = yes; then
14876 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14877 # instead of lib<name>.a to let people know that these are not
14878 # typical AIX shared libraries.
14879 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14880 else
14881 # We preserve .a as extension for shared libraries through AIX4.2
14882 # and later when we are not doing run time linking.
14883 library_names_spec='${libname}${release}.a $libname.a'
14884 soname_spec='${libname}${release}${shared_ext}$major'
14886 shlibpath_var=LIBPATH
14890 amigaos*)
14891 case $host_cpu in
14892 powerpc)
14893 # Since July 2007 AmigaOS4 officially supports .so libraries.
14894 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14895 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14897 m68k)
14898 library_names_spec='$libname.ixlibrary $libname.a'
14899 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14900 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'
14902 esac
14905 beos*)
14906 library_names_spec='${libname}${shared_ext}'
14907 dynamic_linker="$host_os ld.so"
14908 shlibpath_var=LIBRARY_PATH
14911 bsdi[45]*)
14912 version_type=linux
14913 need_version=no
14914 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14915 soname_spec='${libname}${release}${shared_ext}$major'
14916 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14917 shlibpath_var=LD_LIBRARY_PATH
14918 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14919 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14920 # the default ld.so.conf also contains /usr/contrib/lib and
14921 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14922 # libtool to hard-code these into programs
14925 cygwin* | mingw* | pw32* | cegcc*)
14926 version_type=windows
14927 shrext_cmds=".dll"
14928 need_version=no
14929 need_lib_prefix=no
14931 case $GCC,$host_os in
14932 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14933 library_names_spec='$libname.dll.a'
14934 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14935 postinstall_cmds='base_file=`basename \${file}`~
14936 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14937 dldir=$destdir/`dirname \$dlpath`~
14938 test -d \$dldir || mkdir -p \$dldir~
14939 $install_prog $dir/$dlname \$dldir/$dlname~
14940 chmod a+x \$dldir/$dlname~
14941 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14942 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14944 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14945 dlpath=$dir/\$dldll~
14946 $RM \$dlpath'
14947 shlibpath_overrides_runpath=yes
14949 case $host_os in
14950 cygwin*)
14951 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14952 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14955 mingw* | cegcc*)
14956 # MinGW DLLs use traditional 'lib' prefix
14957 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14959 pw32*)
14960 # pw32 DLLs use 'pw' prefix rather than 'lib'
14961 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14963 esac
14967 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14969 esac
14970 dynamic_linker='Win32 ld.exe'
14971 # FIXME: first we should search . and the directory the executable is in
14972 shlibpath_var=PATH
14975 darwin* | rhapsody*)
14976 dynamic_linker="$host_os dyld"
14977 version_type=darwin
14978 need_lib_prefix=no
14979 need_version=no
14980 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14981 soname_spec='${libname}${release}${major}$shared_ext'
14982 shlibpath_overrides_runpath=yes
14983 shlibpath_var=DYLD_LIBRARY_PATH
14984 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14986 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14989 dgux*)
14990 version_type=linux
14991 need_lib_prefix=no
14992 need_version=no
14993 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14994 soname_spec='${libname}${release}${shared_ext}$major'
14995 shlibpath_var=LD_LIBRARY_PATH
14998 freebsd* | dragonfly*)
14999 # DragonFly does not have aout. When/if they implement a new
15000 # versioning mechanism, adjust this.
15001 if test -x /usr/bin/objformat; then
15002 objformat=`/usr/bin/objformat`
15003 else
15004 case $host_os in
15005 freebsd[23].*) objformat=aout ;;
15006 *) objformat=elf ;;
15007 esac
15009 version_type=freebsd-$objformat
15010 case $version_type in
15011 freebsd-elf*)
15012 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15013 need_version=no
15014 need_lib_prefix=no
15016 freebsd-*)
15017 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15018 need_version=yes
15020 esac
15021 shlibpath_var=LD_LIBRARY_PATH
15022 case $host_os in
15023 freebsd2.*)
15024 shlibpath_overrides_runpath=yes
15026 freebsd3.[01]* | freebsdelf3.[01]*)
15027 shlibpath_overrides_runpath=yes
15028 hardcode_into_libs=yes
15030 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15031 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15032 shlibpath_overrides_runpath=no
15033 hardcode_into_libs=yes
15035 *) # from 4.6 on, and DragonFly
15036 shlibpath_overrides_runpath=yes
15037 hardcode_into_libs=yes
15039 esac
15042 haiku*)
15043 version_type=linux
15044 need_lib_prefix=no
15045 need_version=no
15046 dynamic_linker="$host_os runtime_loader"
15047 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15048 soname_spec='${libname}${release}${shared_ext}$major'
15049 shlibpath_var=LIBRARY_PATH
15050 shlibpath_overrides_runpath=yes
15051 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15052 hardcode_into_libs=yes
15055 hpux9* | hpux10* | hpux11*)
15056 # Give a soname corresponding to the major version so that dld.sl refuses to
15057 # link against other versions.
15058 version_type=sunos
15059 need_lib_prefix=no
15060 need_version=no
15061 case $host_cpu in
15062 ia64*)
15063 shrext_cmds='.so'
15064 hardcode_into_libs=yes
15065 dynamic_linker="$host_os dld.so"
15066 shlibpath_var=LD_LIBRARY_PATH
15067 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15068 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15069 soname_spec='${libname}${release}${shared_ext}$major'
15070 if test "X$HPUX_IA64_MODE" = X32; then
15071 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15072 else
15073 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15075 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15077 hppa*64*)
15078 shrext_cmds='.sl'
15079 hardcode_into_libs=yes
15080 dynamic_linker="$host_os dld.sl"
15081 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15082 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15083 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15084 soname_spec='${libname}${release}${shared_ext}$major'
15085 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15086 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15089 shrext_cmds='.sl'
15090 dynamic_linker="$host_os dld.sl"
15091 shlibpath_var=SHLIB_PATH
15092 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15093 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15094 soname_spec='${libname}${release}${shared_ext}$major'
15096 esac
15097 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15098 postinstall_cmds='chmod 555 $lib'
15099 # or fails outright, so override atomically:
15100 install_override_mode=555
15103 interix[3-9]*)
15104 version_type=linux
15105 need_lib_prefix=no
15106 need_version=no
15107 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15108 soname_spec='${libname}${release}${shared_ext}$major'
15109 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15110 shlibpath_var=LD_LIBRARY_PATH
15111 shlibpath_overrides_runpath=no
15112 hardcode_into_libs=yes
15115 irix5* | irix6* | nonstopux*)
15116 case $host_os in
15117 nonstopux*) version_type=nonstopux ;;
15119 if test "$lt_cv_prog_gnu_ld" = yes; then
15120 version_type=linux
15121 else
15122 version_type=irix
15123 fi ;;
15124 esac
15125 need_lib_prefix=no
15126 need_version=no
15127 soname_spec='${libname}${release}${shared_ext}$major'
15128 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15129 case $host_os in
15130 irix5* | nonstopux*)
15131 libsuff= shlibsuff=
15134 case $LD in # libtool.m4 will add one of these switches to LD
15135 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15136 libsuff= shlibsuff= libmagic=32-bit;;
15137 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15138 libsuff=32 shlibsuff=N32 libmagic=N32;;
15139 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15140 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15141 *) libsuff= shlibsuff= libmagic=never-match;;
15142 esac
15144 esac
15145 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15146 shlibpath_overrides_runpath=no
15147 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15148 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15149 hardcode_into_libs=yes
15152 # No shared lib support for Linux oldld, aout, or coff.
15153 linux*oldld* | linux*aout* | linux*coff*)
15154 dynamic_linker=no
15157 # This must be Linux ELF.
15159 # uclinux* changes (here and below) have been submitted to the libtool
15160 # project, but have not yet been accepted: they are GCC-local changes
15161 # for the time being. (See
15162 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15163 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
15164 version_type=linux
15165 need_lib_prefix=no
15166 need_version=no
15167 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15168 soname_spec='${libname}${release}${shared_ext}$major'
15169 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15170 shlibpath_var=LD_LIBRARY_PATH
15171 shlibpath_overrides_runpath=no
15173 # Some binutils ld are patched to set DT_RUNPATH
15174 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15175 $as_echo_n "(cached) " >&6
15176 else
15177 lt_cv_shlibpath_overrides_runpath=no
15178 save_LDFLAGS=$LDFLAGS
15179 save_libdir=$libdir
15180 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15181 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15182 if test x$gcc_no_link = xyes; then
15183 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15186 /* end confdefs.h. */
15189 main ()
15193 return 0;
15195 _ACEOF
15196 if ac_fn_cxx_try_link "$LINENO"; then :
15197 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15198 lt_cv_shlibpath_overrides_runpath=yes
15201 rm -f core conftest.err conftest.$ac_objext \
15202 conftest$ac_exeext conftest.$ac_ext
15203 LDFLAGS=$save_LDFLAGS
15204 libdir=$save_libdir
15208 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15210 # This implies no fast_install, which is unacceptable.
15211 # Some rework will be needed to allow for fast_install
15212 # before this can be enabled.
15213 hardcode_into_libs=yes
15215 # Append ld.so.conf contents to the search path
15216 if test -f /etc/ld.so.conf; then
15217 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' ' '`
15218 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15221 # We used to test for /lib/ld.so.1 and disable shared libraries on
15222 # powerpc, because MkLinux only supported shared libraries with the
15223 # GNU dynamic linker. Since this was broken with cross compilers,
15224 # most powerpc-linux boxes support dynamic linking these days and
15225 # people can always --disable-shared, the test was removed, and we
15226 # assume the GNU/Linux dynamic linker is in use.
15227 dynamic_linker='GNU/Linux ld.so'
15230 netbsd*)
15231 version_type=sunos
15232 need_lib_prefix=no
15233 need_version=no
15234 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15235 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15236 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15237 dynamic_linker='NetBSD (a.out) ld.so'
15238 else
15239 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15240 soname_spec='${libname}${release}${shared_ext}$major'
15241 dynamic_linker='NetBSD ld.elf_so'
15243 shlibpath_var=LD_LIBRARY_PATH
15244 shlibpath_overrides_runpath=yes
15245 hardcode_into_libs=yes
15248 newsos6)
15249 version_type=linux
15250 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15251 shlibpath_var=LD_LIBRARY_PATH
15252 shlibpath_overrides_runpath=yes
15255 *nto* | *qnx*)
15256 version_type=qnx
15257 need_lib_prefix=no
15258 need_version=no
15259 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15260 soname_spec='${libname}${release}${shared_ext}$major'
15261 shlibpath_var=LD_LIBRARY_PATH
15262 shlibpath_overrides_runpath=no
15263 hardcode_into_libs=yes
15264 dynamic_linker='ldqnx.so'
15267 openbsd*)
15268 version_type=sunos
15269 sys_lib_dlsearch_path_spec="/usr/lib"
15270 need_lib_prefix=no
15271 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15272 case $host_os in
15273 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15274 *) need_version=no ;;
15275 esac
15276 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15277 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15278 shlibpath_var=LD_LIBRARY_PATH
15279 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15280 case $host_os in
15281 openbsd2.[89] | openbsd2.[89].*)
15282 shlibpath_overrides_runpath=no
15285 shlibpath_overrides_runpath=yes
15287 esac
15288 else
15289 shlibpath_overrides_runpath=yes
15293 os2*)
15294 libname_spec='$name'
15295 shrext_cmds=".dll"
15296 need_lib_prefix=no
15297 library_names_spec='$libname${shared_ext} $libname.a'
15298 dynamic_linker='OS/2 ld.exe'
15299 shlibpath_var=LIBPATH
15302 osf3* | osf4* | osf5*)
15303 version_type=osf
15304 need_lib_prefix=no
15305 need_version=no
15306 soname_spec='${libname}${release}${shared_ext}$major'
15307 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15308 shlibpath_var=LD_LIBRARY_PATH
15309 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15310 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15313 rdos*)
15314 dynamic_linker=no
15317 solaris*)
15318 version_type=linux
15319 need_lib_prefix=no
15320 need_version=no
15321 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15322 soname_spec='${libname}${release}${shared_ext}$major'
15323 shlibpath_var=LD_LIBRARY_PATH
15324 shlibpath_overrides_runpath=yes
15325 hardcode_into_libs=yes
15326 # ldd complains unless libraries are executable
15327 postinstall_cmds='chmod +x $lib'
15330 sunos4*)
15331 version_type=sunos
15332 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15333 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15334 shlibpath_var=LD_LIBRARY_PATH
15335 shlibpath_overrides_runpath=yes
15336 if test "$with_gnu_ld" = yes; then
15337 need_lib_prefix=no
15339 need_version=yes
15342 sysv4 | sysv4.3*)
15343 version_type=linux
15344 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15345 soname_spec='${libname}${release}${shared_ext}$major'
15346 shlibpath_var=LD_LIBRARY_PATH
15347 case $host_vendor in
15348 sni)
15349 shlibpath_overrides_runpath=no
15350 need_lib_prefix=no
15351 runpath_var=LD_RUN_PATH
15353 siemens)
15354 need_lib_prefix=no
15356 motorola)
15357 need_lib_prefix=no
15358 need_version=no
15359 shlibpath_overrides_runpath=no
15360 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15362 esac
15365 sysv4*MP*)
15366 if test -d /usr/nec ;then
15367 version_type=linux
15368 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15369 soname_spec='$libname${shared_ext}.$major'
15370 shlibpath_var=LD_LIBRARY_PATH
15374 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15375 version_type=freebsd-elf
15376 need_lib_prefix=no
15377 need_version=no
15378 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15379 soname_spec='${libname}${release}${shared_ext}$major'
15380 shlibpath_var=LD_LIBRARY_PATH
15381 shlibpath_overrides_runpath=yes
15382 hardcode_into_libs=yes
15383 if test "$with_gnu_ld" = yes; then
15384 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15385 else
15386 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15387 case $host_os in
15388 sco3.2v5*)
15389 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15391 esac
15393 sys_lib_dlsearch_path_spec='/usr/lib'
15396 tpf*)
15397 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15398 version_type=linux
15399 need_lib_prefix=no
15400 need_version=no
15401 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15402 shlibpath_var=LD_LIBRARY_PATH
15403 shlibpath_overrides_runpath=no
15404 hardcode_into_libs=yes
15407 uts4*)
15408 version_type=linux
15409 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15410 soname_spec='${libname}${release}${shared_ext}$major'
15411 shlibpath_var=LD_LIBRARY_PATH
15414 # Shared libraries for VwWorks, >= 7 only at this stage
15415 # and (fpic) still incompatible with "large" code models
15416 # in a few configurations. Only for RTP mode in any case,
15417 # and upon explicit request at configure time.
15418 vxworks7*)
15419 dynamic_linker=no
15420 case ${with_multisubdir}-${enable_shared} in
15421 *large*)
15423 *mrtp*-yes)
15424 version_type=linux
15425 need_lib_prefix=no
15426 need_version=no
15427 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15428 soname_spec='${libname}${release}${shared_ext}$major'
15429 dynamic_linker="$host_os module_loader"
15431 esac
15434 dynamic_linker=no
15436 esac
15437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15438 $as_echo "$dynamic_linker" >&6; }
15439 test "$dynamic_linker" = no && can_build_shared=no
15441 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15442 if test "$GCC" = yes; then
15443 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15446 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15447 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15449 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15450 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15491 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15492 hardcode_action_CXX=
15493 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15494 test -n "$runpath_var_CXX" ||
15495 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15497 # We can hardcode non-existent directories.
15498 if test "$hardcode_direct_CXX" != no &&
15499 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15500 # have to relink, otherwise we might link with an installed library
15501 # when we should be linking with a yet-to-be-installed one
15502 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15503 test "$hardcode_minus_L_CXX" != no; then
15504 # Linking always hardcodes the temporary library directory.
15505 hardcode_action_CXX=relink
15506 else
15507 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15508 hardcode_action_CXX=immediate
15510 else
15511 # We cannot hardcode anything, or else we can only hardcode existing
15512 # directories.
15513 hardcode_action_CXX=unsupported
15515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15516 $as_echo "$hardcode_action_CXX" >&6; }
15518 if test "$hardcode_action_CXX" = relink ||
15519 test "$inherit_rpath_CXX" = yes; then
15520 # Fast installation is not supported
15521 enable_fast_install=no
15522 elif test "$shlibpath_overrides_runpath" = yes ||
15523 test "$enable_shared" = no; then
15524 # Fast installation is not necessary
15525 enable_fast_install=needless
15534 fi # test -n "$compiler"
15536 CC=$lt_save_CC
15537 LDCXX=$LD
15538 LD=$lt_save_LD
15539 GCC=$lt_save_GCC
15540 with_gnu_ld=$lt_save_with_gnu_ld
15541 lt_cv_path_LDCXX=$lt_cv_path_LD
15542 lt_cv_path_LD=$lt_save_path_LD
15543 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15544 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15545 fi # test "$_lt_caught_CXX_error" != yes
15547 ac_ext=c
15548 ac_cpp='$CPP $CPPFLAGS'
15549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15565 ac_config_commands="$ac_config_commands libtool"
15570 # Only expand once:
15576 case $host in
15577 *-cygwin* | *-mingw*)
15578 # 'host' will be top-level target in the case of a target lib,
15579 # we must compare to with_cross_host to decide if this is a native
15580 # or cross-compiler and select where to install dlls appropriately.
15581 if test -n "$with_cross_host" &&
15582 test x"$with_cross_host" != x"no"; then
15583 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
15584 else
15585 lt_host_flags='-no-undefined -bindir "$(bindir)"';
15589 lt_host_flags=
15591 esac
15598 if test "$enable_vtable_verify" = yes; then
15599 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15600 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15604 # libtool variables for C++ shared and position-independent compiles.
15606 # Use glibcxx_lt_pic_flag to designate the automake variable
15607 # used to encapsulate the default libtool approach to creating objects
15608 # with position-independent code. Default: -prefer-pic.
15610 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15611 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15613 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15614 # creating position-independent objects. This varies with the target
15615 # hardware and operating system, but is often: -DPIC -fPIC.
15616 if test "$enable_shared" = yes; then
15617 glibcxx_lt_pic_flag="-prefer-pic"
15618 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15619 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15621 else
15622 glibcxx_lt_pic_flag=
15623 glibcxx_compiler_pic_flag=
15624 glibcxx_compiler_shared_flag=
15630 # Override the libtool's pic_flag and pic_mode.
15631 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15632 # NB: this impacts --with-pic and --without-pic.
15633 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15634 pic_mode='default'
15636 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15637 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15639 # Possibly disable most of the library.
15640 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15641 ## than just ignoring the results. Faster /and/ more correct, win win.
15643 # Check whether --enable-hosted-libstdcxx was given.
15644 if test "${enable_hosted_libstdcxx+set}" = set; then :
15645 enableval=$enable_hosted_libstdcxx; enable_hosted_libstdcxx_was_given=yes
15646 else
15647 case "$host" in
15648 arm*-*-symbianelf*)
15649 enable_hosted_libstdcxx=no
15652 case "${with_newlib}-${with_headers}" in
15653 no-no) enable_hosted_libstdcxx=no ;;
15654 *) enable_hosted_libstdcxx=yes ;;
15655 esac
15657 esac
15661 # Because most configure args are --enable-libstdcxx-foo add an alias
15662 # of that form for --enable-hosted-libstdcxx.
15663 # Check whether --enable-libstdcxx-hosted was given.
15664 if test "${enable_libstdcxx_hosted+set}" = set; then :
15665 enableval=$enable_libstdcxx_hosted; if test "$enable_hosted_libstdcxx_was_given" = yes; then
15666 if test "$enable_hosted_libstdcxx" != "$enableval"; then
15667 as_fn_error $? "--enable-libstdcxx-hosted=$enableval conflicts with --enable-hosted-libstdcxx=$enable_hosted_libstdcxx" "$LINENO" 5
15669 else
15670 enable_hosted_libstdcxx=${enableval}
15676 freestanding_flags=
15677 if test "$enable_hosted_libstdcxx" = no; then
15678 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15679 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15680 is_hosted=no
15681 hosted_define=0
15682 enable_abi_check=no
15683 enable_libstdcxx_pch=no
15684 if test "x$with_headers" = xno; then
15685 freestanding_flags="-ffreestanding"
15687 else
15688 is_hosted=yes
15689 hosted_define=__STDC_HOSTED__
15693 cat >>confdefs.h <<_ACEOF
15694 #define _GLIBCXX_HOSTED $hosted_define
15695 _ACEOF
15697 FREESTANDING_FLAGS="$freestanding_flags"
15701 # Enable descriptive messages to standard output on termination.
15703 # Check whether --enable-libstdcxx-verbose was given.
15704 if test "${enable_libstdcxx_verbose+set}" = set; then :
15705 enableval=$enable_libstdcxx_verbose;
15706 else
15707 enable_libstdcxx_verbose=yes
15710 if test x"$enable_libstdcxx_verbose" = xyes; then
15711 verbose_define=1
15712 else
15713 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15714 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15715 verbose_define=0
15718 cat >>confdefs.h <<_ACEOF
15719 #define _GLIBCXX_VERBOSE $verbose_define
15720 _ACEOF
15724 # Enable compiler support that doesn't require linking.
15726 # Check whether --enable-libstdcxx-pch was given.
15727 if test "${enable_libstdcxx_pch+set}" = set; then :
15728 enableval=$enable_libstdcxx_pch;
15729 case "$enableval" in
15730 yes|no) ;;
15731 *) as_fn_error $? "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15732 esac
15734 else
15735 enable_libstdcxx_pch=$is_hosted
15739 if test $enable_libstdcxx_pch = yes; then
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15741 $as_echo_n "checking for compiler with PCH support... " >&6; }
15742 if ${glibcxx_cv_prog_CXX_pch+:} false; then :
15743 $as_echo_n "(cached) " >&6
15744 else
15745 ac_save_CXXFLAGS="$CXXFLAGS"
15746 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15748 ac_ext=cpp
15749 ac_cpp='$CXXCPP $CPPFLAGS'
15750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15754 echo '#include <math.h>' > conftest.h
15755 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15756 -o conftest.h.gch 1>&5 2>&1 &&
15757 echo '#error "pch failed"' > conftest.h &&
15758 echo '#include "conftest.h"' > conftest.cc &&
15759 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15760 then
15761 glibcxx_cv_prog_CXX_pch=yes
15762 else
15763 glibcxx_cv_prog_CXX_pch=no
15765 rm -f conftest*
15766 CXXFLAGS=$ac_save_CXXFLAGS
15767 ac_ext=c
15768 ac_cpp='$CPP $CPPFLAGS'
15769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15776 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15777 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15781 $as_echo_n "checking for enabled PCH... " >&6; }
15782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15783 $as_echo "$enable_libstdcxx_pch" >&6; }
15786 if test $enable_libstdcxx_pch = yes; then
15787 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15788 else
15789 glibcxx_PCHFLAGS=""
15794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15795 $as_echo_n "checking for thread model used by GCC... " >&6; }
15796 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15798 $as_echo "$target_thread_file" >&6; }
15800 case $target_thread_file in
15801 aix) thread_header=config/rs6000/gthr-aix.h ;;
15802 dce) thread_header=config/pa/gthr-dce.h ;;
15803 gcn) thread_header=config/gcn/gthr-gcn.h ;;
15804 lynx) thread_header=config/gthr-lynx.h ;;
15805 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15806 posix) thread_header=gthr-posix.h ;;
15807 rtems) thread_header=config/gthr-rtems.h ;;
15808 single) thread_header=gthr-single.h ;;
15809 tpf) thread_header=config/s390/gthr-tpf.h ;;
15810 vxworks) thread_header=config/gthr-vxworks.h ;;
15811 win32) thread_header=config/i386/gthr-win32.h ;;
15812 mcf) thread_header=config/i386/gthr-mcf.h ;;
15813 esac
15819 ac_ext=cpp
15820 ac_cpp='$CXXCPP $CPPFLAGS'
15821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15825 old_CXXFLAGS="$CXXFLAGS"
15827 # Do link tests if possible, instead asm tests, limited to some platforms
15828 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15829 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15830 atomic_builtins_link_tests=no
15831 if test x$gcc_no_link != xyes; then
15832 # Can do link tests. Limit to some tested platforms
15833 case "$host" in
15834 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15835 atomic_builtins_link_tests=yes
15837 esac
15840 if test x$atomic_builtins_link_tests = xyes; then
15842 # Do link tests.
15844 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15847 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15848 if ${glibcxx_cv_atomic_bool+:} false; then :
15849 $as_echo_n "(cached) " >&6
15850 else
15852 if test x$gcc_no_link = xyes; then
15853 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15856 /* end confdefs.h. */
15859 main ()
15861 typedef bool atomic_type;
15862 atomic_type c1;
15863 atomic_type c2;
15864 atomic_type c3(0);
15865 // N.B. __atomic_fetch_add is not supported for bool.
15866 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15867 __ATOMIC_RELAXED);
15868 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15869 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15872 return 0;
15874 _ACEOF
15875 if ac_fn_cxx_try_link "$LINENO"; then :
15876 glibcxx_cv_atomic_bool=yes
15877 else
15878 glibcxx_cv_atomic_bool=no
15880 rm -f core conftest.err conftest.$ac_objext \
15881 conftest$ac_exeext conftest.$ac_ext
15884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15885 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15888 $as_echo_n "checking for atomic builtins for short... " >&6; }
15889 if ${glibcxx_cv_atomic_short+:} false; then :
15890 $as_echo_n "(cached) " >&6
15891 else
15893 if test x$gcc_no_link = xyes; then
15894 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15897 /* end confdefs.h. */
15900 main ()
15902 typedef short atomic_type;
15903 atomic_type c1;
15904 atomic_type c2;
15905 atomic_type c3(0);
15906 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15907 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15908 __ATOMIC_RELAXED);
15909 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15910 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15913 return 0;
15915 _ACEOF
15916 if ac_fn_cxx_try_link "$LINENO"; then :
15917 glibcxx_cv_atomic_short=yes
15918 else
15919 glibcxx_cv_atomic_short=no
15921 rm -f core conftest.err conftest.$ac_objext \
15922 conftest$ac_exeext conftest.$ac_ext
15925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15926 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15929 $as_echo_n "checking for atomic builtins for int... " >&6; }
15930 if ${glibcxx_cv_atomic_int+:} false; then :
15931 $as_echo_n "(cached) " >&6
15932 else
15934 if test x$gcc_no_link = xyes; then
15935 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15938 /* end confdefs.h. */
15941 main ()
15943 typedef int atomic_type;
15944 atomic_type c1;
15945 atomic_type c2;
15946 atomic_type c3(0);
15947 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15948 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15949 __ATOMIC_RELAXED);
15950 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15951 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15954 return 0;
15956 _ACEOF
15957 if ac_fn_cxx_try_link "$LINENO"; then :
15958 glibcxx_cv_atomic_int=yes
15959 else
15960 glibcxx_cv_atomic_int=no
15962 rm -f core conftest.err conftest.$ac_objext \
15963 conftest$ac_exeext conftest.$ac_ext
15966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15967 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15970 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15971 if ${glibcxx_cv_atomic_long_long+:} false; then :
15972 $as_echo_n "(cached) " >&6
15973 else
15975 if test x$gcc_no_link = xyes; then
15976 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15979 /* end confdefs.h. */
15982 main ()
15984 typedef long long atomic_type;
15985 atomic_type c1;
15986 atomic_type c2;
15987 atomic_type c3(0);
15988 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15989 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15990 __ATOMIC_RELAXED);
15991 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15992 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15995 return 0;
15997 _ACEOF
15998 if ac_fn_cxx_try_link "$LINENO"; then :
15999 glibcxx_cv_atomic_long_long=yes
16000 else
16001 glibcxx_cv_atomic_long_long=no
16003 rm -f core conftest.err conftest.$ac_objext \
16004 conftest$ac_exeext conftest.$ac_ext
16007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
16008 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
16010 else
16012 # Do asm tests.
16014 # Compile unoptimized.
16015 CXXFLAGS='-O0 -S'
16017 # Fake what AC_TRY_COMPILE does.
16019 cat > conftest.$ac_ext << EOF
16020 #line 16020 "configure"
16021 int main()
16023 typedef bool atomic_type;
16024 atomic_type c1;
16025 atomic_type c2;
16026 atomic_type c3(0);
16027 // N.B. __atomic_fetch_add is not supported for bool.
16028 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16029 __ATOMIC_RELAXED);
16030 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16031 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16033 return 0;
16037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
16038 $as_echo_n "checking for atomic builtins for bool... " >&6; }
16039 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16040 (eval $ac_compile) 2>&5
16041 ac_status=$?
16042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16043 test $ac_status = 0; }; then
16044 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16045 glibcxx_cv_atomic_bool=no
16046 else
16047 glibcxx_cv_atomic_bool=yes
16050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
16051 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
16052 rm -f conftest*
16054 cat > conftest.$ac_ext << EOF
16055 #line 16055 "configure"
16056 int main()
16058 typedef short atomic_type;
16059 atomic_type c1;
16060 atomic_type c2;
16061 atomic_type c3(0);
16062 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16063 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16064 __ATOMIC_RELAXED);
16065 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16066 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16068 return 0;
16072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
16073 $as_echo_n "checking for atomic builtins for short... " >&6; }
16074 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16075 (eval $ac_compile) 2>&5
16076 ac_status=$?
16077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16078 test $ac_status = 0; }; then
16079 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16080 glibcxx_cv_atomic_short=no
16081 else
16082 glibcxx_cv_atomic_short=yes
16085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
16086 $as_echo "$glibcxx_cv_atomic_short" >&6; }
16087 rm -f conftest*
16089 cat > conftest.$ac_ext << EOF
16090 #line 16090 "configure"
16091 int main()
16093 // NB: _Atomic_word not necessarily int.
16094 typedef int atomic_type;
16095 atomic_type c1;
16096 atomic_type c2;
16097 atomic_type c3(0);
16098 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16099 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16100 __ATOMIC_RELAXED);
16101 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16102 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16104 return 0;
16108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
16109 $as_echo_n "checking for atomic builtins for int... " >&6; }
16110 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16111 (eval $ac_compile) 2>&5
16112 ac_status=$?
16113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16114 test $ac_status = 0; }; then
16115 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16116 glibcxx_cv_atomic_int=no
16117 else
16118 glibcxx_cv_atomic_int=yes
16121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
16122 $as_echo "$glibcxx_cv_atomic_int" >&6; }
16123 rm -f conftest*
16125 cat > conftest.$ac_ext << EOF
16126 #line 16126 "configure"
16127 int main()
16129 typedef long long atomic_type;
16130 atomic_type c1;
16131 atomic_type c2;
16132 atomic_type c3(0);
16133 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16134 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16135 __ATOMIC_RELAXED);
16136 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16137 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16139 return 0;
16143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
16144 $as_echo_n "checking for atomic builtins for long long... " >&6; }
16145 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16146 (eval $ac_compile) 2>&5
16147 ac_status=$?
16148 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16149 test $ac_status = 0; }; then
16150 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16151 glibcxx_cv_atomic_long_long=no
16152 else
16153 glibcxx_cv_atomic_long_long=yes
16156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
16157 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
16158 rm -f conftest*
16162 CXXFLAGS="$old_CXXFLAGS"
16163 ac_ext=c
16164 ac_cpp='$CPP $CPPFLAGS'
16165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16170 # Set atomicity_dir to builtins if all but the long long test above passes,
16171 # or if the builtins were already chosen (e.g. by configure.host).
16172 if { test "$glibcxx_cv_atomic_bool" = yes \
16173 && test "$glibcxx_cv_atomic_short" = yes \
16174 && test "$glibcxx_cv_atomic_int" = yes; } \
16175 || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
16177 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
16179 atomicity_dir=cpu/generic/atomicity_builtins
16182 # If still generic, set to mutex.
16183 if test $atomicity_dir = "cpu/generic" ; then
16184 atomicity_dir=cpu/generic/atomicity_mutex
16185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
16186 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
16187 if test "x$target_thread_file" = xsingle; then
16188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
16189 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
16190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
16191 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
16192 else
16193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
16194 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
16195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
16196 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
16204 # Check whether --with-libstdcxx-lock-policy was given.
16205 if test "${with_libstdcxx_lock_policy+set}" = set; then :
16206 withval=$with_libstdcxx_lock_policy; libstdcxx_atomic_lock_policy=$withval
16207 else
16208 libstdcxx_atomic_lock_policy=auto
16212 case "$libstdcxx_atomic_lock_policy" in
16213 atomic|mutex|auto) ;;
16214 *) as_fn_error $? "Invalid argument for --with-libstdcxx-lock-policy" "$LINENO" 5 ;;
16215 esac
16216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lock policy for shared_ptr reference counts" >&5
16217 $as_echo_n "checking for lock policy for shared_ptr reference counts... " >&6; }
16219 if test x"$libstdcxx_atomic_lock_policy" = x"auto"; then
16221 ac_ext=cpp
16222 ac_cpp='$CXXCPP $CPPFLAGS'
16223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16227 ac_save_CXXFLAGS="$CXXFLAGS"
16229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16230 /* end confdefs.h. */
16232 #if defined __riscv
16233 # error "Defaulting to mutex-based locks for ABI compatibility"
16234 #endif
16235 #if ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
16236 # error "No 2-byte compare-and-swap"
16237 #elif ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
16238 # error "No 4-byte compare-and-swap"
16239 #endif
16242 main ()
16246 return 0;
16248 _ACEOF
16249 if ac_fn_cxx_try_compile "$LINENO"; then :
16250 libstdcxx_atomic_lock_policy=atomic
16251 else
16252 libstdcxx_atomic_lock_policy=mutex
16254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16255 ac_ext=c
16256 ac_cpp='$CPP $CPPFLAGS'
16257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16261 CXXFLAGS="$ac_save_CXXFLAGS"
16264 if test x"$libstdcxx_atomic_lock_policy" = x"atomic"; then
16265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: atomic" >&5
16266 $as_echo "atomic" >&6; }
16268 $as_echo "#define HAVE_ATOMIC_LOCK_POLICY 1" >>confdefs.h
16270 else
16271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mutex" >&5
16272 $as_echo "mutex" >&6; }
16278 # Fake what AC_TRY_COMPILE does, without linking as this is
16279 # unnecessary for this test.
16281 cat > conftest.$ac_ext << EOF
16282 #line 16282 "configure"
16283 int main()
16285 _Decimal32 d1;
16286 _Decimal64 d2;
16287 _Decimal128 d3;
16288 return 0;
16292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
16293 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
16294 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16295 (eval $ac_compile) 2>&5
16296 ac_status=$?
16297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16298 test $ac_status = 0; }; then
16300 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
16302 enable_dfp=yes
16303 else
16304 enable_dfp=no
16306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
16307 $as_echo "$enable_dfp" >&6; }
16308 rm -f conftest*
16313 ac_ext=cpp
16314 ac_cpp='$CXXCPP $CPPFLAGS'
16315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16320 # Fake what AC_TRY_COMPILE does, without linking as this is
16321 # unnecessary for this test.
16323 cat > conftest.$ac_ext << EOF
16324 #line 16324 "configure"
16325 template<typename T1, typename T2>
16326 struct same
16327 { typedef T2 type; };
16329 template<typename T>
16330 struct same<T, T>;
16332 int main()
16334 typename same<double, __float128>::type f1;
16335 typename same<long double, __float128>::type f2;
16339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
16340 $as_echo_n "checking for __float128... " >&6; }
16341 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16342 (eval $ac_compile) 2>&5
16343 ac_status=$?
16344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16345 test $ac_status = 0; }; then
16346 enable_float128=yes
16347 else
16348 enable_float128=no
16350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
16351 $as_echo "$enable_float128" >&6; }
16353 rm -f conftest*
16355 ac_ext=c
16356 ac_cpp='$CPP $CPPFLAGS'
16357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16362 if test "$enable_float128" = yes; then
16363 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
16366 # Checks for compiler support that doesn't require linking.
16368 # All these tests are for C++; save the language and the compiler flags.
16369 # The CXXFLAGS thing is suspicious, but based on similar bits previously
16370 # found in GLIBCXX_CONFIGURE.
16372 ac_ext=cpp
16373 ac_cpp='$CXXCPP $CPPFLAGS'
16374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16378 ac_test_CXXFLAGS="${CXXFLAGS+set}"
16379 ac_save_CXXFLAGS="$CXXFLAGS"
16381 # Check for -ffunction-sections -fdata-sections
16382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
16383 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
16384 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
16385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16386 /* end confdefs.h. */
16387 int foo; void bar() { };
16389 main ()
16393 return 0;
16395 _ACEOF
16396 if ac_fn_cxx_try_compile "$LINENO"; then :
16397 ac_fdsections=yes
16398 else
16399 ac_fdsections=no
16401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16402 if test "$ac_test_CXXFLAGS" = set; then
16403 CXXFLAGS="$ac_save_CXXFLAGS"
16404 else
16405 # this is the suspicious part
16406 CXXFLAGS=''
16408 if test x"$ac_fdsections" = x"yes"; then
16409 SECTION_FLAGS='-ffunction-sections -fdata-sections'
16411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
16412 $as_echo "$ac_fdsections" >&6; }
16414 ac_ext=c
16415 ac_cpp='$CPP $CPPFLAGS'
16416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16423 # Enable all the variable C++ runtime options that don't require linking.
16425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
16426 $as_echo_n "checking for underlying I/O to use... " >&6; }
16427 # Check whether --enable-cstdio was given.
16428 if test "${enable_cstdio+set}" = set; then :
16429 enableval=$enable_cstdio;
16430 case "$enableval" in
16431 stdio|stdio_posix|stdio_pure) ;;
16432 *) as_fn_error $? "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
16433 esac
16435 else
16436 enable_cstdio=stdio
16441 # The only available I/O model is based on stdio, via basic_file_stdio.
16442 # The default "stdio" is actually "stdio + POSIX" because it uses fdopen(3)
16443 # to get a file descriptor and then uses read(3) and write(3) with it.
16444 # The "stdio_pure" model doesn't use fdopen and only uses FILE* for I/O.
16445 case ${enable_cstdio} in
16446 stdio*)
16447 CSTDIO_H=config/io/c_io_stdio.h
16448 BASIC_FILE_H=config/io/basic_file_stdio.h
16449 BASIC_FILE_CC=config/io/basic_file_stdio.cc
16451 if test "x$enable_cstdio" = "xstdio_pure" ; then
16452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio (without POSIX read/write)" >&5
16453 $as_echo "stdio (without POSIX read/write)" >&6; }
16455 $as_echo "#define _GLIBCXX_USE_STDIO_PURE 1" >>confdefs.h
16457 else
16458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio (with POSIX read/write)" >&5
16459 $as_echo "stdio (with POSIX read/write)" >&6; }
16462 esac
16469 # Check whether --enable-clocale was given.
16470 if test "${enable_clocale+set}" = set; then :
16471 enableval=$enable_clocale;
16472 case "$enableval" in
16473 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
16474 *) as_fn_error $? "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
16475 esac
16477 else
16478 enable_clocale=auto
16483 # Deal with gettext issues. Default to not using it (=no) until we detect
16484 # support for it later. Let the user turn it off via --e/d, but let that
16485 # default to on for easier handling.
16486 USE_NLS=no
16487 # Check whether --enable-nls was given.
16488 if test "${enable_nls+set}" = set; then :
16489 enableval=$enable_nls;
16490 else
16491 enable_nls=yes
16495 # Either a known package, or "auto"
16496 if test $enable_clocale = no || test $enable_clocale = yes; then
16497 enable_clocale=auto
16499 enable_clocale_flag=$enable_clocale
16501 # Probe for locale model to use if none specified.
16502 # Default to "generic".
16503 if test $enable_clocale_flag = auto; then
16504 case ${target_os} in
16505 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16506 enable_clocale_flag=gnu
16508 darwin*)
16509 enable_clocale_flag=darwin
16511 vxworks*)
16512 enable_clocale_flag=vxworks
16514 dragonfly* | freebsd*)
16515 enable_clocale_flag=dragonfly
16517 openbsd*)
16518 enable_clocale_flag=newlib
16521 if test x"$with_newlib" = x"yes"; then
16522 enable_clocale_flag=newlib
16523 else
16524 enable_clocale_flag=generic
16527 esac
16530 # Sanity check model, and test for special functionality.
16531 if test $enable_clocale_flag = gnu; then
16532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16533 /* end confdefs.h. */
16535 #include <features.h>
16536 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
16537 _GLIBCXX_ok
16538 #endif
16540 _ACEOF
16541 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16542 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
16543 enable_clocale_flag=gnu
16544 else
16545 enable_clocale_flag=generic
16547 rm -f conftest*
16550 # Set it to scream when it hurts.
16551 ac_save_CFLAGS="$CFLAGS"
16552 CFLAGS="-Wimplicit-function-declaration -Werror"
16554 # Use strxfrm_l if available.
16555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16556 /* end confdefs.h. */
16557 #define _GNU_SOURCE 1
16558 #include <string.h>
16559 #include <locale.h>
16561 main ()
16563 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
16565 return 0;
16567 _ACEOF
16568 if ac_fn_c_try_compile "$LINENO"; then :
16570 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
16573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16575 # Use strerror_l if available.
16576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16577 /* end confdefs.h. */
16578 #define _GNU_SOURCE 1
16579 #include <string.h>
16580 #include <locale.h>
16582 main ()
16584 __locale_t loc; strerror_l(5, loc);
16586 return 0;
16588 _ACEOF
16589 if ac_fn_c_try_compile "$LINENO"; then :
16591 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
16594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16596 CFLAGS="$ac_save_CFLAGS"
16599 # Perhaps use strerror_r if available, and strerror_l isn't.
16600 ac_save_CFLAGS="$CFLAGS"
16601 CFLAGS="-Wimplicit-function-declaration -Werror"
16602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16603 /* end confdefs.h. */
16604 #define _GNU_SOURCE 1
16605 #include <string.h>
16606 #include <locale.h>
16608 main ()
16610 char s[128]; strerror_r(5, s, 128);
16612 return 0;
16614 _ACEOF
16615 if ac_fn_c_try_compile "$LINENO"; then :
16617 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16621 CFLAGS="$ac_save_CFLAGS"
16623 # Set configure bits for specified locale package
16624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
16625 $as_echo_n "checking for C locale to use... " >&6; }
16626 case ${enable_clocale_flag} in
16627 generic)
16628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
16629 $as_echo "generic" >&6; }
16631 CLOCALE_H=config/locale/generic/c_locale.h
16632 CLOCALE_CC=config/locale/generic/c_locale.cc
16633 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16634 CCOLLATE_CC=config/locale/generic/collate_members.cc
16635 CCTYPE_CC=config/locale/generic/ctype_members.cc
16636 CMESSAGES_H=config/locale/generic/messages_members.h
16637 CMESSAGES_CC=config/locale/generic/messages_members.cc
16638 CMONEY_CC=config/locale/generic/monetary_members.cc
16639 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16640 CTIME_H=config/locale/generic/time_members.h
16641 CTIME_CC=config/locale/generic/time_members.cc
16642 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16644 darwin)
16645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
16646 $as_echo "darwin" >&6; }
16648 CLOCALE_H=config/locale/generic/c_locale.h
16649 CLOCALE_CC=config/locale/generic/c_locale.cc
16650 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16651 CCOLLATE_CC=config/locale/generic/collate_members.cc
16652 CCTYPE_CC=config/locale/darwin/ctype_members.cc
16653 CMESSAGES_H=config/locale/generic/messages_members.h
16654 CMESSAGES_CC=config/locale/generic/messages_members.cc
16655 CMONEY_CC=config/locale/generic/monetary_members.cc
16656 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16657 CTIME_H=config/locale/generic/time_members.h
16658 CTIME_CC=config/locale/generic/time_members.cc
16659 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16661 vxworks)
16662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: vxworks" >&5
16663 $as_echo "vxworks" >&6; }
16665 CLOCALE_H=config/locale/generic/c_locale.h
16666 CLOCALE_CC=config/locale/generic/c_locale.cc
16667 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16668 CCOLLATE_CC=config/locale/generic/collate_members.cc
16669 CCTYPE_CC=config/locale/vxworks/ctype_members.cc
16670 CMESSAGES_H=config/locale/generic/messages_members.h
16671 CMESSAGES_CC=config/locale/generic/messages_members.cc
16672 CMONEY_CC=config/locale/generic/monetary_members.cc
16673 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16674 CTIME_H=config/locale/generic/time_members.h
16675 CTIME_CC=config/locale/generic/time_members.cc
16676 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16678 dragonfly)
16679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
16680 $as_echo "dragonfly or freebsd" >&6; }
16682 CLOCALE_H=config/locale/dragonfly/c_locale.h
16683 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16684 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16685 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16686 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16687 CMESSAGES_H=config/locale/generic/messages_members.h
16688 CMESSAGES_CC=config/locale/generic/messages_members.cc
16689 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16690 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16691 CTIME_H=config/locale/dragonfly/time_members.h
16692 CTIME_CC=config/locale/dragonfly/time_members.cc
16693 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16696 gnu)
16697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16698 $as_echo "gnu" >&6; }
16700 # Declare intention to use gettext, and add support for specific
16701 # languages.
16702 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16703 ALL_LINGUAS="de fr"
16705 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16706 # Extract the first word of "msgfmt", so it can be a program name with args.
16707 set dummy msgfmt; ac_word=$2
16708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16709 $as_echo_n "checking for $ac_word... " >&6; }
16710 if ${ac_cv_prog_check_msgfmt+:} false; then :
16711 $as_echo_n "(cached) " >&6
16712 else
16713 if test -n "$check_msgfmt"; then
16714 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16715 else
16716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16717 for as_dir in $PATH
16719 IFS=$as_save_IFS
16720 test -z "$as_dir" && as_dir=.
16721 for ac_exec_ext in '' $ac_executable_extensions; do
16722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16723 ac_cv_prog_check_msgfmt="yes"
16724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16725 break 2
16727 done
16728 done
16729 IFS=$as_save_IFS
16731 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16734 check_msgfmt=$ac_cv_prog_check_msgfmt
16735 if test -n "$check_msgfmt"; then
16736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16737 $as_echo "$check_msgfmt" >&6; }
16738 else
16739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16740 $as_echo "no" >&6; }
16744 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16745 USE_NLS=yes
16747 # Export the build objects.
16748 for ling in $ALL_LINGUAS; do \
16749 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16750 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16751 done
16755 CLOCALE_H=config/locale/gnu/c_locale.h
16756 CLOCALE_CC=config/locale/gnu/c_locale.cc
16757 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16758 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16759 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16760 CMESSAGES_H=config/locale/gnu/messages_members.h
16761 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16762 CMONEY_CC=config/locale/gnu/monetary_members.cc
16763 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16764 CTIME_H=config/locale/gnu/time_members.h
16765 CTIME_CC=config/locale/gnu/time_members.cc
16766 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16768 ieee_1003.1-2001)
16769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16770 $as_echo "IEEE 1003.1" >&6; }
16772 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16773 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16774 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16775 CCOLLATE_CC=config/locale/generic/collate_members.cc
16776 CCTYPE_CC=config/locale/generic/ctype_members.cc
16777 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16778 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16779 CMONEY_CC=config/locale/generic/monetary_members.cc
16780 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16781 CTIME_H=config/locale/generic/time_members.h
16782 CTIME_CC=config/locale/generic/time_members.cc
16783 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16785 newlib)
16786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16787 $as_echo "newlib" >&6; }
16789 CLOCALE_H=config/locale/generic/c_locale.h
16790 CLOCALE_CC=config/locale/generic/c_locale.cc
16791 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16792 CCOLLATE_CC=config/locale/generic/collate_members.cc
16793 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16794 CMESSAGES_H=config/locale/generic/messages_members.h
16795 CMESSAGES_CC=config/locale/generic/messages_members.cc
16796 CMONEY_CC=config/locale/generic/monetary_members.cc
16797 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16798 CTIME_H=config/locale/generic/time_members.h
16799 CTIME_CC=config/locale/generic/time_members.cc
16800 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16802 esac
16804 # This is where the testsuite looks for locale catalogs, using the
16805 # -DLOCALEDIR define during testsuite compilation.
16806 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16809 # A standalone libintl (e.g., GNU libintl) may be in use.
16810 if test $USE_NLS = yes; then
16811 for ac_header in libintl.h
16812 do :
16813 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16814 if test "x$ac_cv_header_libintl_h" = xyes; then :
16815 cat >>confdefs.h <<_ACEOF
16816 #define HAVE_LIBINTL_H 1
16817 _ACEOF
16819 else
16820 USE_NLS=no
16823 done
16825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16826 $as_echo_n "checking for library containing gettext... " >&6; }
16827 if ${ac_cv_search_gettext+:} false; then :
16828 $as_echo_n "(cached) " >&6
16829 else
16830 ac_func_search_save_LIBS=$LIBS
16831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16832 /* end confdefs.h. */
16834 /* Override any GCC internal prototype to avoid an error.
16835 Use char because int might match the return type of a GCC
16836 builtin and then its argument prototype would still apply. */
16837 #ifdef __cplusplus
16838 extern "C"
16839 #endif
16840 char gettext ();
16842 main ()
16844 return gettext ();
16846 return 0;
16848 _ACEOF
16849 for ac_lib in '' intl; do
16850 if test -z "$ac_lib"; then
16851 ac_res="none required"
16852 else
16853 ac_res=-l$ac_lib
16854 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16856 if test x$gcc_no_link = xyes; then
16857 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16859 if ac_fn_c_try_link "$LINENO"; then :
16860 ac_cv_search_gettext=$ac_res
16862 rm -f core conftest.err conftest.$ac_objext \
16863 conftest$ac_exeext
16864 if ${ac_cv_search_gettext+:} false; then :
16865 break
16867 done
16868 if ${ac_cv_search_gettext+:} false; then :
16870 else
16871 ac_cv_search_gettext=no
16873 rm conftest.$ac_ext
16874 LIBS=$ac_func_search_save_LIBS
16876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16877 $as_echo "$ac_cv_search_gettext" >&6; }
16878 ac_res=$ac_cv_search_gettext
16879 if test "$ac_res" != no; then :
16880 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16882 else
16883 USE_NLS=no
16887 if test $USE_NLS = yes; then
16889 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16909 $as_echo_n "checking for std::allocator base class... " >&6; }
16910 # Check whether --enable-libstdcxx-allocator was given.
16911 if test "${enable_libstdcxx_allocator+set}" = set; then :
16912 enableval=$enable_libstdcxx_allocator;
16913 case "$enableval" in
16914 new|malloc|yes|no|auto) ;;
16915 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16916 esac
16918 else
16919 enable_libstdcxx_allocator=auto
16924 # If they didn't use this option switch, or if they specified --enable
16925 # with no specific model, we'll have to look for one. If they
16926 # specified --disable (???), do likewise.
16927 if test $enable_libstdcxx_allocator = no ||
16928 test $enable_libstdcxx_allocator = yes;
16929 then
16930 enable_libstdcxx_allocator=auto
16933 # Either a known package, or "auto". Auto implies the default choice
16934 # for a particular platform.
16935 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16937 # Probe for host-specific support if no specific model is specified.
16938 # Default to "new".
16939 if test $enable_libstdcxx_allocator_flag = auto; then
16940 case ${target_os} in
16941 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16942 enable_libstdcxx_allocator_flag=new
16945 enable_libstdcxx_allocator_flag=new
16947 esac
16949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16950 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16953 # Set configure bits for specified locale package
16954 case ${enable_libstdcxx_allocator_flag} in
16955 malloc)
16956 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16957 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16959 new)
16960 ALLOCATOR_H=config/allocator/new_allocator_base.h
16961 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16963 esac
16970 # Check whether --enable-cheaders-obsolete was given.
16971 if test "${enable_cheaders_obsolete+set}" = set; then :
16972 enableval=$enable_cheaders_obsolete;
16973 case "$enableval" in
16974 yes|no) ;;
16975 *) as_fn_error $? "Argument to enable/disable cheaders-obsolete must be yes or no" "$LINENO" 5 ;;
16976 esac
16978 else
16979 enable_cheaders_obsolete=no
16983 # Check whether --enable-cheaders was given.
16984 if test "${enable_cheaders+set}" = set; then :
16985 enableval=$enable_cheaders;
16986 case "$enableval" in
16987 c|c_global|c_std) ;;
16988 *) as_fn_error $? "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16989 esac
16991 else
16992 enable_cheaders=$c_model
16996 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16997 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16998 if test $enable_cheaders = c_std ; then
16999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: the --enable-cheaders=c_std configuration is obsolete, c_global should be used instead" >&5
17000 $as_echo "$as_me: WARNING: the --enable-cheaders=c_std configuration is obsolete, c_global should be used instead" >&2;}
17001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: if you are unable to use c_global please report a bug or inform libstdc++@gcc.gnu.org" >&5
17002 $as_echo "$as_me: WARNING: if you are unable to use c_global please report a bug or inform libstdc++@gcc.gnu.org" >&2;}
17003 if test $enable_cheaders_obsolete != yes ; then
17004 as_fn_error $? "use --enable-cheaders-obsolete to use c_std \"C\" headers" "$LINENO" 5
17008 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
17010 # Allow overrides to configure.host here.
17011 if test $enable_cheaders = c_global; then
17012 c_compatibility=yes
17021 # Check whether --enable-long-long was given.
17022 if test "${enable_long_long+set}" = set; then :
17023 enableval=$enable_long_long;
17024 case "$enableval" in
17025 yes|no) ;;
17026 *) as_fn_error $? "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
17027 esac
17029 else
17030 enable_long_long=yes
17034 if test $enable_long_long = yes; then
17036 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
17039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
17040 $as_echo_n "checking for enabled long long specializations... " >&6; }
17041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
17042 $as_echo "$enable_long_long" >&6; }
17045 # Check whether --enable-wchar_t was given.
17046 if test "${enable_wchar_t+set}" = set; then :
17047 enableval=$enable_wchar_t;
17048 case "$enableval" in
17049 yes|no) ;;
17050 *) as_fn_error $? "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
17051 esac
17053 else
17054 enable_wchar_t=yes
17059 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
17060 for ac_header in wchar.h
17061 do :
17062 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
17063 if test "x$ac_cv_header_wchar_h" = xyes; then :
17064 cat >>confdefs.h <<_ACEOF
17065 #define HAVE_WCHAR_H 1
17066 _ACEOF
17067 ac_has_wchar_h=yes
17068 else
17069 ac_has_wchar_h=no
17072 done
17074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
17075 $as_echo_n "checking for mbstate_t... " >&6; }
17076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17077 /* end confdefs.h. */
17078 #include <wchar.h>
17080 main ()
17082 mbstate_t teststate;
17084 return 0;
17086 _ACEOF
17087 if ac_fn_c_try_compile "$LINENO"; then :
17088 have_mbstate_t=yes
17089 else
17090 have_mbstate_t=no
17092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
17094 $as_echo "$have_mbstate_t" >&6; }
17095 if test x"$have_mbstate_t" = xyes; then
17097 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
17101 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
17102 # ac_has_wchar_h.
17103 for ac_header in wctype.h
17104 do :
17105 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
17106 if test "x$ac_cv_header_wctype_h" = xyes; then :
17107 cat >>confdefs.h <<_ACEOF
17108 #define HAVE_WCTYPE_H 1
17109 _ACEOF
17110 ac_has_wctype_h=yes
17111 else
17112 ac_has_wctype_h=no
17115 done
17118 if test x"$enable_wchar_t" = x"yes"; then
17121 ac_ext=cpp
17122 ac_cpp='$CXXCPP $CPPFLAGS'
17123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17128 if test x"$ac_has_wchar_h" = xyes &&
17129 test x"$ac_has_wctype_h" = xyes; then
17130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17131 /* end confdefs.h. */
17132 #include <wchar.h>
17133 #include <stddef.h>
17134 wint_t i;
17135 long l = WEOF;
17136 long j = WCHAR_MIN;
17137 long k = WCHAR_MAX;
17138 namespace test
17140 using ::btowc;
17141 using ::fgetwc;
17142 using ::fgetws;
17143 using ::fputwc;
17144 using ::fputws;
17145 using ::fwide;
17146 using ::fwprintf;
17147 using ::fwscanf;
17148 using ::getwc;
17149 using ::getwchar;
17150 using ::mbrlen;
17151 using ::mbrtowc;
17152 using ::mbsinit;
17153 using ::mbsrtowcs;
17154 using ::putwc;
17155 using ::putwchar;
17156 using ::swprintf;
17157 using ::swscanf;
17158 using ::ungetwc;
17159 using ::vfwprintf;
17160 using ::vswprintf;
17161 using ::vwprintf;
17162 using ::wcrtomb;
17163 using ::wcscat;
17164 using ::wcschr;
17165 using ::wcscmp;
17166 using ::wcscoll;
17167 using ::wcscpy;
17168 using ::wcscspn;
17169 using ::wcsftime;
17170 using ::wcslen;
17171 using ::wcsncat;
17172 using ::wcsncmp;
17173 using ::wcsncpy;
17174 using ::wcspbrk;
17175 using ::wcsrchr;
17176 using ::wcsrtombs;
17177 using ::wcsspn;
17178 using ::wcsstr;
17179 using ::wcstod;
17180 using ::wcstok;
17181 using ::wcstol;
17182 using ::wcstoul;
17183 using ::wcsxfrm;
17184 using ::wctob;
17185 using ::wmemchr;
17186 using ::wmemcmp;
17187 using ::wmemcpy;
17188 using ::wmemmove;
17189 using ::wmemset;
17190 using ::wprintf;
17191 using ::wscanf;
17195 main ()
17199 return 0;
17201 _ACEOF
17202 if ac_fn_cxx_try_compile "$LINENO"; then :
17204 else
17205 enable_wchar_t=no
17207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17208 else
17209 enable_wchar_t=no
17212 ac_ext=c
17213 ac_cpp='$CPP $CPPFLAGS'
17214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17220 if test x"$enable_wchar_t" = x"yes"; then
17222 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
17226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
17227 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
17228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
17229 $as_echo "$enable_wchar_t" >&6; }
17233 # Check whether --enable-c99 was given.
17234 if test "${enable_c99+set}" = set; then :
17235 enableval=$enable_c99;
17236 case "$enableval" in
17237 yes|no) ;;
17238 *) as_fn_error $? "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
17239 esac
17241 else
17242 enable_c99=yes
17247 if test x"$enable_c99" = x"yes"; then
17249 ac_ext=cpp
17250 ac_cpp='$CXXCPP $CPPFLAGS'
17251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17256 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
17257 # undefined may cause fake C99 facilities, like pre-standard snprintf,
17258 # to be spuriously enabled.
17259 ac_save_CXXFLAGS="$CXXFLAGS"
17260 CXXFLAGS="$CXXFLAGS -std=c++98"
17261 ac_save_LIBS="$LIBS"
17262 ac_save_gcc_no_link="$gcc_no_link"
17264 if test x$gcc_no_link != xyes; then
17265 # Use -fno-exceptions to that the C driver can link these tests without
17266 # hitting undefined references to personality routines.
17267 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17269 $as_echo_n "checking for sin in -lm... " >&6; }
17270 if ${ac_cv_lib_m_sin+:} false; then :
17271 $as_echo_n "(cached) " >&6
17272 else
17273 ac_check_lib_save_LIBS=$LIBS
17274 LIBS="-lm $LIBS"
17275 if test x$gcc_no_link = xyes; then
17276 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17279 /* end confdefs.h. */
17281 /* Override any GCC internal prototype to avoid an error.
17282 Use char because int might match the return type of a GCC
17283 builtin and then its argument prototype would still apply. */
17284 #ifdef __cplusplus
17285 extern "C"
17286 #endif
17287 char sin ();
17289 main ()
17291 return sin ();
17293 return 0;
17295 _ACEOF
17296 if ac_fn_cxx_try_link "$LINENO"; then :
17297 ac_cv_lib_m_sin=yes
17298 else
17299 ac_cv_lib_m_sin=no
17301 rm -f core conftest.err conftest.$ac_objext \
17302 conftest$ac_exeext conftest.$ac_ext
17303 LIBS=$ac_check_lib_save_LIBS
17305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17306 $as_echo "$ac_cv_lib_m_sin" >&6; }
17307 if test "x$ac_cv_lib_m_sin" = xyes; then :
17308 LIBS="$LIBS -lm"
17309 else
17311 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17312 gcc_no_link=yes
17318 # Check for the existence of <math.h> functions used if C99 is enabled.
17319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
17320 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
17321 if ${glibcxx_cv_c99_math_cxx98+:} false; then :
17322 $as_echo_n "(cached) " >&6
17323 else
17325 if test x$gcc_no_link = xyes; then
17326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17327 /* end confdefs.h. */
17328 #include <math.h>
17329 volatile double d1, d2;
17330 volatile int i;
17332 main ()
17334 i = fpclassify(d1);
17335 i = isfinite(d1);
17336 i = isinf(d1);
17337 i = isnan(d1);
17338 i = isnormal(d1);
17339 i = signbit(d1);
17340 i = isgreater(d1, d2);
17341 i = isgreaterequal(d1, d2);
17342 i = isless(d1, d2);
17343 i = islessequal(d1, d2);
17344 i = islessgreater(d1, d2);
17345 i = islessgreater(d1, d2);
17346 i = isunordered(d1, d2);
17349 return 0;
17351 _ACEOF
17352 if ac_fn_cxx_try_compile "$LINENO"; then :
17353 glibcxx_cv_c99_math_cxx98=yes
17354 else
17355 glibcxx_cv_c99_math_cxx98=no
17357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17358 else
17359 if test x$gcc_no_link = xyes; then
17360 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17363 /* end confdefs.h. */
17364 #include <math.h>
17365 volatile double d1, d2;
17366 volatile int i;
17368 main ()
17370 i = fpclassify(d1);
17371 i = isfinite(d1);
17372 i = isinf(d1);
17373 i = isnan(d1);
17374 i = isnormal(d1);
17375 i = signbit(d1);
17376 i = isgreater(d1, d2);
17377 i = isgreaterequal(d1, d2);
17378 i = isless(d1, d2);
17379 i = islessequal(d1, d2);
17380 i = islessgreater(d1, d2);
17381 i = islessgreater(d1, d2);
17382 i = isunordered(d1, d2);
17385 return 0;
17387 _ACEOF
17388 if ac_fn_cxx_try_link "$LINENO"; then :
17389 glibcxx_cv_c99_math_cxx98=yes
17390 else
17391 glibcxx_cv_c99_math_cxx98=no
17393 rm -f core conftest.err conftest.$ac_objext \
17394 conftest$ac_exeext conftest.$ac_ext
17398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
17399 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
17400 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
17402 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
17406 # Check for the existence of <complex.h> complex math functions.
17407 # This is necessary even though libstdc++ uses the builtin versions
17408 # of these functions, because if the builtin cannot be used, a reference
17409 # to the library function is emitted.
17410 for ac_header in tgmath.h
17411 do :
17412 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17413 if test "x$ac_cv_header_tgmath_h" = xyes; then :
17414 cat >>confdefs.h <<_ACEOF
17415 #define HAVE_TGMATH_H 1
17416 _ACEOF
17417 ac_has_tgmath_h=yes
17418 else
17419 ac_has_tgmath_h=no
17422 done
17424 for ac_header in complex.h
17425 do :
17426 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17427 if test "x$ac_cv_header_complex_h" = xyes; then :
17428 cat >>confdefs.h <<_ACEOF
17429 #define HAVE_COMPLEX_H 1
17430 _ACEOF
17431 ac_has_complex_h=yes
17432 else
17433 ac_has_complex_h=no
17436 done
17438 if test x"$ac_has_complex_h" = x"yes"; then
17439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
17440 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
17441 if ${glibcxx_cv_c99_complex_cxx98+:} false; then :
17442 $as_echo_n "(cached) " >&6
17443 else
17445 if test x$gcc_no_link = xyes; then
17446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17447 /* end confdefs.h. */
17448 #include <complex.h>
17449 typedef __complex__ float float_type;
17450 typedef __complex__ double double_type;
17451 typedef __complex__ long double ld_type;
17452 volatile float_type tmpf;
17453 volatile double_type tmpd;
17454 volatile ld_type tmpld;
17455 volatile float f;
17456 volatile double d;
17457 volatile long double ld;
17459 main ()
17461 f = cabsf(tmpf);
17462 f = cargf(tmpf);
17463 tmpf = ccosf(tmpf);
17464 tmpf = ccoshf(tmpf);
17465 tmpf = cexpf(tmpf);
17466 tmpf = clogf(tmpf);
17467 tmpf = csinf(tmpf);
17468 tmpf = csinhf(tmpf);
17469 tmpf = csqrtf(tmpf);
17470 tmpf = ctanf(tmpf);
17471 tmpf = ctanhf(tmpf);
17472 tmpf = cpowf(tmpf, tmpf);
17473 tmpf = cprojf(tmpf);
17474 d = cabs(tmpd);
17475 d = carg(tmpd);
17476 tmpd = ccos(tmpd);
17477 tmpd = ccosh(tmpd);
17478 tmpd = cexp(tmpd);
17479 tmpd = clog(tmpd);
17480 tmpd = csin(tmpd);
17481 tmpd = csinh(tmpd);
17482 tmpd = csqrt(tmpd);
17483 tmpd = ctan(tmpd);
17484 tmpd = ctanh(tmpd);
17485 tmpd = cpow(tmpd, tmpd);
17486 tmpd = cproj(tmpd);
17487 ld = cabsl(tmpld);
17488 ld = cargl(tmpld);
17489 tmpld = ccosl(tmpld);
17490 tmpld = ccoshl(tmpld);
17491 tmpld = cexpl(tmpld);
17492 tmpld = clogl(tmpld);
17493 tmpld = csinl(tmpld);
17494 tmpld = csinhl(tmpld);
17495 tmpld = csqrtl(tmpld);
17496 tmpld = ctanl(tmpld);
17497 tmpld = ctanhl(tmpld);
17498 tmpld = cpowl(tmpld, tmpld);
17499 tmpld = cprojl(tmpld);
17502 return 0;
17504 _ACEOF
17505 if ac_fn_cxx_try_compile "$LINENO"; then :
17506 glibcxx_cv_c99_complex_cxx98=yes
17507 else
17508 glibcxx_cv_c99_complex_cxx98=no
17510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17511 else
17512 if test x$gcc_no_link = xyes; then
17513 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17516 /* end confdefs.h. */
17517 #include <complex.h>
17518 typedef __complex__ float float_type;
17519 typedef __complex__ double double_type;
17520 typedef __complex__ long double ld_type;
17521 volatile float_type tmpf;
17522 volatile double_type tmpd;
17523 volatile ld_type tmpld;
17524 volatile float f;
17525 volatile double d;
17526 volatile long double ld;
17528 main ()
17530 f = cabsf(tmpf);
17531 f = cargf(tmpf);
17532 tmpf = ccosf(tmpf);
17533 tmpf = ccoshf(tmpf);
17534 tmpf = cexpf(tmpf);
17535 tmpf = clogf(tmpf);
17536 tmpf = csinf(tmpf);
17537 tmpf = csinhf(tmpf);
17538 tmpf = csqrtf(tmpf);
17539 tmpf = ctanf(tmpf);
17540 tmpf = ctanhf(tmpf);
17541 tmpf = cpowf(tmpf, tmpf);
17542 tmpf = cprojf(tmpf);
17543 d = cabs(tmpd);
17544 d = carg(tmpd);
17545 tmpd = ccos(tmpd);
17546 tmpd = ccosh(tmpd);
17547 tmpd = cexp(tmpd);
17548 tmpd = clog(tmpd);
17549 tmpd = csin(tmpd);
17550 tmpd = csinh(tmpd);
17551 tmpd = csqrt(tmpd);
17552 tmpd = ctan(tmpd);
17553 tmpd = ctanh(tmpd);
17554 tmpd = cpow(tmpd, tmpd);
17555 tmpd = cproj(tmpd);
17556 ld = cabsl(tmpld);
17557 ld = cargl(tmpld);
17558 tmpld = ccosl(tmpld);
17559 tmpld = ccoshl(tmpld);
17560 tmpld = cexpl(tmpld);
17561 tmpld = clogl(tmpld);
17562 tmpld = csinl(tmpld);
17563 tmpld = csinhl(tmpld);
17564 tmpld = csqrtl(tmpld);
17565 tmpld = ctanl(tmpld);
17566 tmpld = ctanhl(tmpld);
17567 tmpld = cpowl(tmpld, tmpld);
17568 tmpld = cprojl(tmpld);
17571 return 0;
17573 _ACEOF
17574 if ac_fn_cxx_try_link "$LINENO"; then :
17575 glibcxx_cv_c99_complex_cxx98=yes
17576 else
17577 glibcxx_cv_c99_complex_cxx98=no
17579 rm -f core conftest.err conftest.$ac_objext \
17580 conftest$ac_exeext conftest.$ac_ext
17584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
17585 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
17587 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
17589 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
17593 # Check for the existence in <stdio.h> of vscanf, et. al.
17594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
17595 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
17596 if ${glibcxx_cv_c99_stdio_cxx98+:} false; then :
17597 $as_echo_n "(cached) " >&6
17598 else
17600 if test x$gcc_no_link = xyes; then
17601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17602 /* end confdefs.h. */
17603 #include <stdio.h>
17604 #include <stdarg.h>
17605 void foo(char* fmt, ...)
17607 va_list args; va_start(args, fmt);
17608 vfscanf(stderr, "%i", args);
17609 vscanf("%i", args);
17610 vsnprintf(fmt, 0, "%i", args);
17611 vsscanf(fmt, "%i", args);
17612 snprintf(fmt, 0, "%i");
17615 main ()
17619 return 0;
17621 _ACEOF
17622 if ac_fn_cxx_try_compile "$LINENO"; then :
17623 glibcxx_cv_c99_stdio_cxx98=yes
17624 else
17625 glibcxx_cv_c99_stdio_cxx98=no
17627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17628 else
17629 if test x$gcc_no_link = xyes; then
17630 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17633 /* end confdefs.h. */
17634 #include <stdio.h>
17635 #include <stdarg.h>
17636 void foo(char* fmt, ...)
17638 va_list args; va_start(args, fmt);
17639 vfscanf(stderr, "%i", args);
17640 vscanf("%i", args);
17641 vsnprintf(fmt, 0, "%i", args);
17642 vsscanf(fmt, "%i", args);
17643 snprintf(fmt, 0, "%i");
17646 main ()
17650 return 0;
17652 _ACEOF
17653 if ac_fn_cxx_try_link "$LINENO"; then :
17654 glibcxx_cv_c99_stdio_cxx98=yes
17655 else
17656 glibcxx_cv_c99_stdio_cxx98=no
17658 rm -f core conftest.err conftest.$ac_objext \
17659 conftest$ac_exeext conftest.$ac_ext
17663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
17664 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
17665 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
17667 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
17671 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
17673 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
17674 if ${glibcxx_cv_c99_stdlib_cxx98+:} false; then :
17675 $as_echo_n "(cached) " >&6
17676 else
17678 if test x$gcc_no_link = xyes; then
17679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17680 /* end confdefs.h. */
17681 #include <stdlib.h>
17682 volatile float f;
17683 volatile long double ld;
17684 volatile unsigned long long ll;
17685 lldiv_t mydivt;
17687 main ()
17689 char* tmp;
17690 f = strtof("gnu", &tmp);
17691 ld = strtold("gnu", &tmp);
17692 ll = strtoll("gnu", &tmp, 10);
17693 ll = strtoull("gnu", &tmp, 10);
17694 ll = llabs(10);
17695 mydivt = lldiv(10,1);
17696 ll = mydivt.quot;
17697 ll = mydivt.rem;
17698 ll = atoll("10");
17699 _Exit(0);
17702 return 0;
17704 _ACEOF
17705 if ac_fn_cxx_try_compile "$LINENO"; then :
17706 glibcxx_cv_c99_stdlib_cxx98=yes
17707 else
17708 glibcxx_cv_c99_stdlib_cxx98=no
17710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17711 else
17712 if test x$gcc_no_link = xyes; then
17713 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17716 /* end confdefs.h. */
17717 #include <stdlib.h>
17718 volatile float f;
17719 volatile long double ld;
17720 volatile unsigned long long ll;
17721 lldiv_t mydivt;
17723 main ()
17725 char* tmp;
17726 f = strtof("gnu", &tmp);
17727 ld = strtold("gnu", &tmp);
17728 ll = strtoll("gnu", &tmp, 10);
17729 ll = strtoull("gnu", &tmp, 10);
17730 ll = llabs(10);
17731 mydivt = lldiv(10,1);
17732 ll = mydivt.quot;
17733 ll = mydivt.rem;
17734 ll = atoll("10");
17735 _Exit(0);
17738 return 0;
17740 _ACEOF
17741 if ac_fn_cxx_try_link "$LINENO"; then :
17742 glibcxx_cv_c99_stdlib_cxx98=yes
17743 else
17744 glibcxx_cv_c99_stdlib_cxx98=no
17746 rm -f core conftest.err conftest.$ac_objext \
17747 conftest$ac_exeext conftest.$ac_ext
17751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17752 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17753 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17755 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17759 # Check for the existence in <wchar.h> of wcstold, etc.
17760 if test x"$ac_has_wchar_h" = xyes &&
17761 test x"$ac_has_wctype_h" = xyes; then
17762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17763 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17764 if ${glibcxx_cv_c99_wchar_cxx98+:} false; then :
17765 $as_echo_n "(cached) " >&6
17766 else
17768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17769 /* end confdefs.h. */
17770 #include <wchar.h>
17771 namespace test
17773 using ::wcstold;
17774 using ::wcstoll;
17775 using ::wcstoull;
17779 main ()
17783 return 0;
17785 _ACEOF
17786 if ac_fn_cxx_try_compile "$LINENO"; then :
17787 glibcxx_cv_c99_wchar_cxx98=yes
17788 else
17789 glibcxx_cv_c99_wchar_cxx98=no
17791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17795 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17797 # Checks for wide character functions that may not be present.
17798 # Injection of these is wrapped with guard macros.
17799 # NB: only put functions here, instead of immediately above, if
17800 # absolutely necessary.
17801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17802 /* end confdefs.h. */
17803 #include <wchar.h>
17804 namespace test { using ::vfwscanf; }
17806 main ()
17810 return 0;
17812 _ACEOF
17813 if ac_fn_cxx_try_compile "$LINENO"; then :
17815 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17821 /* end confdefs.h. */
17822 #include <wchar.h>
17823 namespace test { using ::vswscanf; }
17825 main ()
17829 return 0;
17831 _ACEOF
17832 if ac_fn_cxx_try_compile "$LINENO"; then :
17834 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17840 /* end confdefs.h. */
17841 #include <wchar.h>
17842 namespace test { using ::vwscanf; }
17844 main ()
17848 return 0;
17850 _ACEOF
17851 if ac_fn_cxx_try_compile "$LINENO"; then :
17853 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17859 /* end confdefs.h. */
17860 #include <wchar.h>
17861 namespace test { using ::wcstof; }
17863 main ()
17867 return 0;
17869 _ACEOF
17870 if ac_fn_cxx_try_compile "$LINENO"; then :
17872 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17878 /* end confdefs.h. */
17879 #include <wctype.h>
17881 main ()
17883 wint_t t; int i = iswblank(t);
17885 return 0;
17887 _ACEOF
17888 if ac_fn_cxx_try_compile "$LINENO"; then :
17890 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17895 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17897 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17902 # Option parsed, now set things appropriately.
17903 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17904 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17905 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17906 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17907 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17908 enable_c99=no;
17909 else
17911 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17915 gcc_no_link="$ac_save_gcc_no_link"
17916 LIBS="$ac_save_LIBS"
17917 CXXFLAGS="$ac_save_CXXFLAGS"
17918 ac_ext=c
17919 ac_cpp='$CPP $CPPFLAGS'
17920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17926 ac_ext=cpp
17927 ac_cpp='$CXXCPP $CPPFLAGS'
17928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17933 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17934 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17935 ac_save_CXXFLAGS="$CXXFLAGS"
17936 CXXFLAGS="$CXXFLAGS -std=c++11"
17937 ac_save_LIBS="$LIBS"
17938 ac_save_gcc_no_link="$gcc_no_link"
17940 if test x$gcc_no_link != xyes; then
17941 # Use -fno-exceptions to that the C driver can link these tests without
17942 # hitting undefined references to personality routines.
17943 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17945 $as_echo_n "checking for sin in -lm... " >&6; }
17946 if ${ac_cv_lib_m_sin+:} false; then :
17947 $as_echo_n "(cached) " >&6
17948 else
17949 ac_check_lib_save_LIBS=$LIBS
17950 LIBS="-lm $LIBS"
17951 if test x$gcc_no_link = xyes; then
17952 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17955 /* end confdefs.h. */
17957 /* Override any GCC internal prototype to avoid an error.
17958 Use char because int might match the return type of a GCC
17959 builtin and then its argument prototype would still apply. */
17960 #ifdef __cplusplus
17961 extern "C"
17962 #endif
17963 char sin ();
17965 main ()
17967 return sin ();
17969 return 0;
17971 _ACEOF
17972 if ac_fn_cxx_try_link "$LINENO"; then :
17973 ac_cv_lib_m_sin=yes
17974 else
17975 ac_cv_lib_m_sin=no
17977 rm -f core conftest.err conftest.$ac_objext \
17978 conftest$ac_exeext conftest.$ac_ext
17979 LIBS=$ac_check_lib_save_LIBS
17981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17982 $as_echo "$ac_cv_lib_m_sin" >&6; }
17983 if test "x$ac_cv_lib_m_sin" = xyes; then :
17984 LIBS="$LIBS -lm"
17985 else
17987 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17988 gcc_no_link=yes
17994 # Check for the existence of <stdint.h> types.
17995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdint.h> for C++11" >&5
17996 $as_echo_n "checking for ISO C99 support in <stdint.h> for C++11... " >&6; }
17997 if ${glibcxx_cv_c99_stdint+:} false; then :
17998 $as_echo_n "(cached) " >&6
17999 else
18001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18002 /* end confdefs.h. */
18003 #define __STDC_LIMIT_MACROS
18004 #define __STDC_CONSTANT_MACROS
18005 #include <stdint.h>
18007 main ()
18009 typedef int8_t my_int8_t;
18010 my_int8_t i8 = INT8_MIN;
18011 i8 = INT8_MAX;
18012 typedef int16_t my_int16_t;
18013 my_int16_t i16 = INT16_MIN;
18014 i16 = INT16_MAX;
18015 typedef int32_t my_int32_t;
18016 my_int32_t i32 = INT32_MIN;
18017 i32 = INT32_MAX;
18018 typedef int64_t my_int64_t;
18019 my_int64_t i64 = INT64_MIN;
18020 i64 = INT64_MAX;
18021 typedef int_fast8_t my_int_fast8_t;
18022 my_int_fast8_t if8 = INT_FAST8_MIN;
18023 if8 = INT_FAST8_MAX;
18024 typedef int_fast16_t my_int_fast16_t;
18025 my_int_fast16_t if16 = INT_FAST16_MIN;
18026 if16 = INT_FAST16_MAX;
18027 typedef int_fast32_t my_int_fast32_t;
18028 my_int_fast32_t if32 = INT_FAST32_MIN;
18029 if32 = INT_FAST32_MAX;
18030 typedef int_fast64_t my_int_fast64_t;
18031 my_int_fast64_t if64 = INT_FAST64_MIN;
18032 if64 = INT_FAST64_MAX;
18033 typedef int_least8_t my_int_least8_t;
18034 my_int_least8_t il8 = INT_LEAST8_MIN;
18035 il8 = INT_LEAST8_MAX;
18036 typedef int_least16_t my_int_least16_t;
18037 my_int_least16_t il16 = INT_LEAST16_MIN;
18038 il16 = INT_LEAST16_MAX;
18039 typedef int_least32_t my_int_least32_t;
18040 my_int_least32_t il32 = INT_LEAST32_MIN;
18041 il32 = INT_LEAST32_MAX;
18042 typedef int_least64_t my_int_least64_t;
18043 my_int_least64_t il64 = INT_LEAST64_MIN;
18044 il64 = INT_LEAST64_MAX;
18045 typedef intmax_t my_intmax_t;
18046 my_intmax_t im = INTMAX_MAX;
18047 im = INTMAX_MIN;
18048 typedef intptr_t my_intptr_t;
18049 my_intptr_t ip = INTPTR_MAX;
18050 ip = INTPTR_MIN;
18051 typedef uint8_t my_uint8_t;
18052 my_uint8_t ui8 = UINT8_MAX;
18053 ui8 = UINT8_MAX;
18054 typedef uint16_t my_uint16_t;
18055 my_uint16_t ui16 = UINT16_MAX;
18056 ui16 = UINT16_MAX;
18057 typedef uint32_t my_uint32_t;
18058 my_uint32_t ui32 = UINT32_MAX;
18059 ui32 = UINT32_MAX;
18060 typedef uint64_t my_uint64_t;
18061 my_uint64_t ui64 = UINT64_MAX;
18062 ui64 = UINT64_MAX;
18063 typedef uint_fast8_t my_uint_fast8_t;
18064 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18065 uif8 = UINT_FAST8_MAX;
18066 typedef uint_fast16_t my_uint_fast16_t;
18067 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18068 uif16 = UINT_FAST16_MAX;
18069 typedef uint_fast32_t my_uint_fast32_t;
18070 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18071 uif32 = UINT_FAST32_MAX;
18072 typedef uint_fast64_t my_uint_fast64_t;
18073 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18074 uif64 = UINT_FAST64_MAX;
18075 typedef uint_least8_t my_uint_least8_t;
18076 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18077 uil8 = UINT_LEAST8_MAX;
18078 typedef uint_least16_t my_uint_least16_t;
18079 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18080 uil16 = UINT_LEAST16_MAX;
18081 typedef uint_least32_t my_uint_least32_t;
18082 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18083 uil32 = UINT_LEAST32_MAX;
18084 typedef uint_least64_t my_uint_least64_t;
18085 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18086 uil64 = UINT_LEAST64_MAX;
18087 typedef uintmax_t my_uintmax_t;
18088 my_uintmax_t uim = UINTMAX_MAX;
18089 uim = UINTMAX_MAX;
18090 typedef uintptr_t my_uintptr_t;
18091 my_uintptr_t uip = UINTPTR_MAX;
18092 uip = UINTPTR_MAX;
18095 return 0;
18097 _ACEOF
18098 if ac_fn_cxx_try_compile "$LINENO"; then :
18099 glibcxx_cv_c99_stdint=yes
18100 else
18101 glibcxx_cv_c99_stdint=no
18103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint" >&5
18107 $as_echo "$glibcxx_cv_c99_stdint" >&6; }
18108 if test x"$glibcxx_cv_c99_stdint" = x"yes"; then
18110 $as_echo "#define _GLIBCXX_USE_C99_STDINT 1" >>confdefs.h
18114 # Check for the existence of <inttypes.h> functions (NB: doesn't make
18115 # sense if the glibcxx_cv_c99_stdint check fails, per C99, 7.8/1).
18116 ac_c99_inttypes=no;
18117 if test x"$glibcxx_cv_c99_stdint" = x"yes"; then
18118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support for C++11 in <inttypes.h>" >&5
18119 $as_echo_n "checking for ISO C99 support for C++11 in <inttypes.h>... " >&6; }
18120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18121 /* end confdefs.h. */
18122 #include <inttypes.h>
18124 main ()
18126 intmax_t i, numer, denom, base;
18127 const char* s;
18128 char** endptr;
18129 intmax_t ret = imaxabs(i);
18130 imaxdiv_t dret = imaxdiv(numer, denom);
18131 ret = strtoimax(s, endptr, base);
18132 uintmax_t uret = strtoumax(s, endptr, base);
18135 return 0;
18137 _ACEOF
18138 if ac_fn_cxx_try_compile "$LINENO"; then :
18139 ac_c99_inttypes=yes
18140 else
18141 ac_c99_inttypes=no
18143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes" >&5
18145 $as_echo "$ac_c99_inttypes" >&6; }
18147 if test x"$ac_c99_inttypes" = x"yes"; then
18149 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES 1" >>confdefs.h
18153 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
18154 # make sense if the glibcxx_cv_c99_stdint check fails, per C99, 7.8/1).
18155 ac_c99_inttypes_wchar_t=no;
18156 if test x"$glibcxx_cv_c99_stdint" = x"yes"; then
18157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support for C++11 in <inttypes.h>" >&5
18158 $as_echo_n "checking for wchar_t ISO C99 support for C++11 in <inttypes.h>... " >&6; }
18159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18160 /* end confdefs.h. */
18161 #include <inttypes.h>
18163 main ()
18165 intmax_t base;
18166 const wchar_t* s;
18167 wchar_t** endptr;
18168 intmax_t ret = wcstoimax(s, endptr, base);
18169 uintmax_t uret = wcstoumax(s, endptr, base);
18172 return 0;
18174 _ACEOF
18175 if ac_fn_cxx_try_compile "$LINENO"; then :
18176 ac_c99_inttypes_wchar_t=yes
18177 else
18178 ac_c99_inttypes_wchar_t=no
18180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t" >&5
18182 $as_echo "$ac_c99_inttypes_wchar_t" >&6; }
18184 if test x"$ac_c99_inttypes_wchar_t" = x"yes"; then
18186 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T 1" >>confdefs.h
18190 # Check for the existence of <math.h> functions used if C99 is enabled.
18191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
18192 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
18193 if ${glibcxx_cv_c99_math_cxx11+:} false; then :
18194 $as_echo_n "(cached) " >&6
18195 else
18197 if test x$gcc_no_link = xyes; then
18198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18199 /* end confdefs.h. */
18200 #include <math.h>
18201 volatile double d1, d2;
18202 volatile int i;
18204 main ()
18206 i = fpclassify(d1);
18207 i = isfinite(d1);
18208 i = isinf(d1);
18209 i = isnan(d1);
18210 i = isnormal(d1);
18211 i = signbit(d1);
18212 i = isgreater(d1, d2);
18213 i = isgreaterequal(d1, d2);
18214 i = isless(d1, d2);
18215 i = islessequal(d1, d2);
18216 i = islessgreater(d1, d2);
18217 i = islessgreater(d1, d2);
18218 i = isunordered(d1, d2);
18221 return 0;
18223 _ACEOF
18224 if ac_fn_cxx_try_compile "$LINENO"; then :
18225 glibcxx_cv_c99_math_cxx11=yes
18226 else
18227 glibcxx_cv_c99_math_cxx11=no
18229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18230 else
18231 if test x$gcc_no_link = xyes; then
18232 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18235 /* end confdefs.h. */
18236 #include <math.h>
18237 volatile double d1, d2;
18238 volatile int i;
18240 main ()
18242 i = fpclassify(d1);
18243 i = isfinite(d1);
18244 i = isinf(d1);
18245 i = isnan(d1);
18246 i = isnormal(d1);
18247 i = signbit(d1);
18248 i = isgreater(d1, d2);
18249 i = isgreaterequal(d1, d2);
18250 i = isless(d1, d2);
18251 i = islessequal(d1, d2);
18252 i = islessgreater(d1, d2);
18253 i = islessgreater(d1, d2);
18254 i = isunordered(d1, d2);
18257 return 0;
18259 _ACEOF
18260 if ac_fn_cxx_try_link "$LINENO"; then :
18261 glibcxx_cv_c99_math_cxx11=yes
18262 else
18263 glibcxx_cv_c99_math_cxx11=no
18265 rm -f core conftest.err conftest.$ac_objext \
18266 conftest$ac_exeext conftest.$ac_ext
18270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
18271 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
18272 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
18274 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
18278 # Check for the existence of <complex.h> complex math functions.
18279 # This is necessary even though libstdc++ uses the builtin versions
18280 # of these functions, because if the builtin cannot be used, a reference
18281 # to the library function is emitted.
18282 for ac_header in tgmath.h
18283 do :
18284 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
18285 if test "x$ac_cv_header_tgmath_h" = xyes; then :
18286 cat >>confdefs.h <<_ACEOF
18287 #define HAVE_TGMATH_H 1
18288 _ACEOF
18289 ac_has_tgmath_h=yes
18290 else
18291 ac_has_tgmath_h=no
18294 done
18296 for ac_header in complex.h
18297 do :
18298 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18299 if test "x$ac_cv_header_complex_h" = xyes; then :
18300 cat >>confdefs.h <<_ACEOF
18301 #define HAVE_COMPLEX_H 1
18302 _ACEOF
18303 ac_has_complex_h=yes
18304 else
18305 ac_has_complex_h=no
18308 done
18310 if test x"$ac_has_complex_h" = x"yes"; then
18311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
18312 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
18313 if ${glibcxx_cv_c99_complex_cxx11+:} false; then :
18314 $as_echo_n "(cached) " >&6
18315 else
18317 if test x$gcc_no_link = xyes; then
18318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18319 /* end confdefs.h. */
18320 #include <complex.h>
18321 typedef __complex__ float float_type;
18322 typedef __complex__ double double_type;
18323 typedef __complex__ long double ld_type;
18324 volatile float_type tmpf;
18325 volatile double_type tmpd;
18326 volatile ld_type tmpld;
18327 volatile float f;
18328 volatile double d;
18329 volatile long double ld;
18331 main ()
18333 f = cabsf(tmpf);
18334 f = cargf(tmpf);
18335 tmpf = ccosf(tmpf);
18336 tmpf = ccoshf(tmpf);
18337 tmpf = cexpf(tmpf);
18338 tmpf = clogf(tmpf);
18339 tmpf = csinf(tmpf);
18340 tmpf = csinhf(tmpf);
18341 tmpf = csqrtf(tmpf);
18342 tmpf = ctanf(tmpf);
18343 tmpf = ctanhf(tmpf);
18344 tmpf = cpowf(tmpf, tmpf);
18345 tmpf = cprojf(tmpf);
18346 d = cabs(tmpd);
18347 d = carg(tmpd);
18348 tmpd = ccos(tmpd);
18349 tmpd = ccosh(tmpd);
18350 tmpd = cexp(tmpd);
18351 tmpd = clog(tmpd);
18352 tmpd = csin(tmpd);
18353 tmpd = csinh(tmpd);
18354 tmpd = csqrt(tmpd);
18355 tmpd = ctan(tmpd);
18356 tmpd = ctanh(tmpd);
18357 tmpd = cpow(tmpd, tmpd);
18358 tmpd = cproj(tmpd);
18359 ld = cabsl(tmpld);
18360 ld = cargl(tmpld);
18361 tmpld = ccosl(tmpld);
18362 tmpld = ccoshl(tmpld);
18363 tmpld = cexpl(tmpld);
18364 tmpld = clogl(tmpld);
18365 tmpld = csinl(tmpld);
18366 tmpld = csinhl(tmpld);
18367 tmpld = csqrtl(tmpld);
18368 tmpld = ctanl(tmpld);
18369 tmpld = ctanhl(tmpld);
18370 tmpld = cpowl(tmpld, tmpld);
18371 tmpld = cprojl(tmpld);
18374 return 0;
18376 _ACEOF
18377 if ac_fn_cxx_try_compile "$LINENO"; then :
18378 glibcxx_cv_c99_complex_cxx11=yes
18379 else
18380 glibcxx_cv_c99_complex_cxx11=no
18382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18383 else
18384 if test x$gcc_no_link = xyes; then
18385 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18388 /* end confdefs.h. */
18389 #include <complex.h>
18390 typedef __complex__ float float_type;
18391 typedef __complex__ double double_type;
18392 typedef __complex__ long double ld_type;
18393 volatile float_type tmpf;
18394 volatile double_type tmpd;
18395 volatile ld_type tmpld;
18396 volatile float f;
18397 volatile double d;
18398 volatile long double ld;
18400 main ()
18402 f = cabsf(tmpf);
18403 f = cargf(tmpf);
18404 tmpf = ccosf(tmpf);
18405 tmpf = ccoshf(tmpf);
18406 tmpf = cexpf(tmpf);
18407 tmpf = clogf(tmpf);
18408 tmpf = csinf(tmpf);
18409 tmpf = csinhf(tmpf);
18410 tmpf = csqrtf(tmpf);
18411 tmpf = ctanf(tmpf);
18412 tmpf = ctanhf(tmpf);
18413 tmpf = cpowf(tmpf, tmpf);
18414 tmpf = cprojf(tmpf);
18415 d = cabs(tmpd);
18416 d = carg(tmpd);
18417 tmpd = ccos(tmpd);
18418 tmpd = ccosh(tmpd);
18419 tmpd = cexp(tmpd);
18420 tmpd = clog(tmpd);
18421 tmpd = csin(tmpd);
18422 tmpd = csinh(tmpd);
18423 tmpd = csqrt(tmpd);
18424 tmpd = ctan(tmpd);
18425 tmpd = ctanh(tmpd);
18426 tmpd = cpow(tmpd, tmpd);
18427 tmpd = cproj(tmpd);
18428 ld = cabsl(tmpld);
18429 ld = cargl(tmpld);
18430 tmpld = ccosl(tmpld);
18431 tmpld = ccoshl(tmpld);
18432 tmpld = cexpl(tmpld);
18433 tmpld = clogl(tmpld);
18434 tmpld = csinl(tmpld);
18435 tmpld = csinhl(tmpld);
18436 tmpld = csqrtl(tmpld);
18437 tmpld = ctanl(tmpld);
18438 tmpld = ctanhl(tmpld);
18439 tmpld = cpowl(tmpld, tmpld);
18440 tmpld = cprojl(tmpld);
18443 return 0;
18445 _ACEOF
18446 if ac_fn_cxx_try_link "$LINENO"; then :
18447 glibcxx_cv_c99_complex_cxx11=yes
18448 else
18449 glibcxx_cv_c99_complex_cxx11=no
18451 rm -f core conftest.err conftest.$ac_objext \
18452 conftest$ac_exeext conftest.$ac_ext
18456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
18457 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
18459 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
18461 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
18465 # Check for the existence of <complex.h> complex inverse trigonometric
18466 # math functions used by <complex> for C++11 and later.
18467 ac_c99_complex_arc=no;
18468 if test x"$ac_has_complex_h" = x"yes"; then
18469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support for inverse trig functions in <complex.h>" >&5
18470 $as_echo_n "checking for ISO C99 support for inverse trig functions in <complex.h>... " >&6; }
18471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18472 /* end confdefs.h. */
18473 #include <complex.h>
18475 main ()
18477 typedef __complex__ float float_type; float_type tmpf;
18478 cacosf(tmpf);
18479 casinf(tmpf);
18480 catanf(tmpf);
18481 cacoshf(tmpf);
18482 casinhf(tmpf);
18483 catanhf(tmpf);
18484 typedef __complex__ double double_type; double_type tmpd;
18485 cacos(tmpd);
18486 casin(tmpd);
18487 catan(tmpd);
18488 cacosh(tmpd);
18489 casinh(tmpd);
18490 catanh(tmpd);
18491 typedef __complex__ long double ld_type; ld_type tmpld;
18492 cacosl(tmpld);
18493 casinl(tmpld);
18494 catanl(tmpld);
18495 cacoshl(tmpld);
18496 casinhl(tmpld);
18497 catanhl(tmpld);
18500 return 0;
18502 _ACEOF
18503 if ac_fn_cxx_try_compile "$LINENO"; then :
18504 ac_c99_complex_arc=yes
18505 else
18506 ac_c99_complex_arc=no
18508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_arc" >&5
18511 $as_echo "$ac_c99_complex_arc" >&6; }
18512 if test x"$ac_c99_complex_arc" = x"yes"; then
18514 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_ARC 1" >>confdefs.h
18518 # Check for the existence in <stdio.h> of vscanf, et. al.
18519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
18520 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
18521 if ${glibcxx_cv_c99_stdio_cxx11+:} false; then :
18522 $as_echo_n "(cached) " >&6
18523 else
18525 if test x$gcc_no_link = xyes; then
18526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18527 /* end confdefs.h. */
18528 #include <stdio.h>
18529 #include <stdarg.h>
18530 void foo(char* fmt, ...)
18532 va_list args; va_start(args, fmt);
18533 vfscanf(stderr, "%i", args);
18534 vscanf("%i", args);
18535 vsnprintf(fmt, 0, "%i", args);
18536 vsscanf(fmt, "%i", args);
18537 snprintf(fmt, 0, "%i");
18540 main ()
18544 return 0;
18546 _ACEOF
18547 if ac_fn_cxx_try_compile "$LINENO"; then :
18548 glibcxx_cv_c99_stdio_cxx11=yes
18549 else
18550 glibcxx_cv_c99_stdio_cxx11=no
18552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18553 else
18554 if test x$gcc_no_link = xyes; then
18555 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18558 /* end confdefs.h. */
18559 #include <stdio.h>
18560 #include <stdarg.h>
18561 void foo(char* fmt, ...)
18563 va_list args; va_start(args, fmt);
18564 vfscanf(stderr, "%i", args);
18565 vscanf("%i", args);
18566 vsnprintf(fmt, 0, "%i", args);
18567 vsscanf(fmt, "%i", args);
18568 snprintf(fmt, 0, "%i");
18571 main ()
18575 return 0;
18577 _ACEOF
18578 if ac_fn_cxx_try_link "$LINENO"; then :
18579 glibcxx_cv_c99_stdio_cxx11=yes
18580 else
18581 glibcxx_cv_c99_stdio_cxx11=no
18583 rm -f core conftest.err conftest.$ac_objext \
18584 conftest$ac_exeext conftest.$ac_ext
18588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
18589 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
18590 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
18592 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
18596 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
18597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
18598 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
18599 if ${glibcxx_cv_c99_stdlib_cxx11+:} false; then :
18600 $as_echo_n "(cached) " >&6
18601 else
18603 if test x$gcc_no_link = xyes; then
18604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18605 /* end confdefs.h. */
18606 #include <stdlib.h>
18607 volatile float f;
18608 volatile long double ld;
18609 volatile unsigned long long ll;
18610 lldiv_t mydivt;
18612 main ()
18614 char* tmp;
18615 f = strtof("gnu", &tmp);
18616 ld = strtold("gnu", &tmp);
18617 ll = strtoll("gnu", &tmp, 10);
18618 ll = strtoull("gnu", &tmp, 10);
18619 ll = llabs(10);
18620 mydivt = lldiv(10,1);
18621 ll = mydivt.quot;
18622 ll = mydivt.rem;
18623 ll = atoll("10");
18624 _Exit(0);
18627 return 0;
18629 _ACEOF
18630 if ac_fn_cxx_try_compile "$LINENO"; then :
18631 glibcxx_cv_c99_stdlib_cxx11=yes
18632 else
18633 glibcxx_cv_c99_stdlib_cxx11=no
18635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18636 else
18637 if test x$gcc_no_link = xyes; then
18638 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18641 /* end confdefs.h. */
18642 #include <stdlib.h>
18643 volatile float f;
18644 volatile long double ld;
18645 volatile unsigned long long ll;
18646 lldiv_t mydivt;
18648 main ()
18650 char* tmp;
18651 f = strtof("gnu", &tmp);
18652 ld = strtold("gnu", &tmp);
18653 ll = strtoll("gnu", &tmp, 10);
18654 ll = strtoull("gnu", &tmp, 10);
18655 ll = llabs(10);
18656 mydivt = lldiv(10,1);
18657 ll = mydivt.quot;
18658 ll = mydivt.rem;
18659 ll = atoll("10");
18660 _Exit(0);
18663 return 0;
18665 _ACEOF
18666 if ac_fn_cxx_try_link "$LINENO"; then :
18667 glibcxx_cv_c99_stdlib_cxx11=yes
18668 else
18669 glibcxx_cv_c99_stdlib_cxx11=no
18671 rm -f core conftest.err conftest.$ac_objext \
18672 conftest$ac_exeext conftest.$ac_ext
18676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
18677 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
18678 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
18680 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
18684 # Check for the existence in <wchar.h> of wcstold, etc.
18685 if test x"$ac_has_wchar_h" = xyes &&
18686 test x"$ac_has_wctype_h" = xyes; then
18687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
18688 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
18689 if ${glibcxx_cv_c99_wchar_cxx11+:} false; then :
18690 $as_echo_n "(cached) " >&6
18691 else
18693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18694 /* end confdefs.h. */
18695 #include <wchar.h>
18696 namespace test
18698 using ::wcstold;
18699 using ::wcstoll;
18700 using ::wcstoull;
18704 main ()
18708 return 0;
18710 _ACEOF
18711 if ac_fn_cxx_try_compile "$LINENO"; then :
18712 glibcxx_cv_c99_wchar_cxx11=yes
18713 else
18714 glibcxx_cv_c99_wchar_cxx11=no
18716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
18720 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
18722 # Checks for wide character functions that may not be present.
18723 # Injection of these is wrapped with guard macros.
18724 # NB: only put functions here, instead of immediately above, if
18725 # absolutely necessary.
18726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18727 /* end confdefs.h. */
18728 #include <wchar.h>
18729 namespace test { using ::vfwscanf; }
18731 main ()
18735 return 0;
18737 _ACEOF
18738 if ac_fn_cxx_try_compile "$LINENO"; then :
18740 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
18743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18746 /* end confdefs.h. */
18747 #include <wchar.h>
18748 namespace test { using ::vswscanf; }
18750 main ()
18754 return 0;
18756 _ACEOF
18757 if ac_fn_cxx_try_compile "$LINENO"; then :
18759 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
18762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18765 /* end confdefs.h. */
18766 #include <wchar.h>
18767 namespace test { using ::vwscanf; }
18769 main ()
18773 return 0;
18775 _ACEOF
18776 if ac_fn_cxx_try_compile "$LINENO"; then :
18778 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
18781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18784 /* end confdefs.h. */
18785 #include <wchar.h>
18786 namespace test { using ::wcstof; }
18788 main ()
18792 return 0;
18794 _ACEOF
18795 if ac_fn_cxx_try_compile "$LINENO"; then :
18797 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
18800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18803 /* end confdefs.h. */
18804 #include <wctype.h>
18806 main ()
18808 wint_t t; int i = iswblank(t);
18810 return 0;
18812 _ACEOF
18813 if ac_fn_cxx_try_compile "$LINENO"; then :
18815 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
18818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18820 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
18822 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
18827 # Check for the existence of <ctype.h> functions.
18828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support for C++11 in <ctype.h>" >&5
18829 $as_echo_n "checking for ISO C99 support for C++11 in <ctype.h>... " >&6; }
18830 if ${glibcxx_cv_c99_ctype+:} false; then :
18831 $as_echo_n "(cached) " >&6
18832 else
18834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18835 /* end confdefs.h. */
18836 #include <ctype.h>
18838 main ()
18840 int ch;
18841 int ret;
18842 ret = isblank(ch);
18845 return 0;
18847 _ACEOF
18848 if ac_fn_cxx_try_compile "$LINENO"; then :
18849 glibcxx_cv_c99_ctype=yes
18850 else
18851 glibcxx_cv_c99_ctype=no
18853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype" >&5
18857 $as_echo "$glibcxx_cv_c99_ctype" >&6; }
18858 if test x"$glibcxx_cv_c99_ctype" = x"yes"; then
18860 $as_echo "#define _GLIBCXX_USE_C99_CTYPE 1" >>confdefs.h
18864 # Check for the existence of <fenv.h> functions.
18865 for ac_header in fenv.h
18866 do :
18867 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18868 if test "x$ac_cv_header_fenv_h" = xyes; then :
18869 cat >>confdefs.h <<_ACEOF
18870 #define HAVE_FENV_H 1
18871 _ACEOF
18872 ac_has_fenv_h=yes
18873 else
18874 ac_has_fenv_h=no
18877 done
18879 ac_c99_fenv=no;
18880 if test x"$ac_has_fenv_h" = x"yes"; then
18881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support for C++11 in <fenv.h>" >&5
18882 $as_echo_n "checking for ISO C99 support for C++11 in <fenv.h>... " >&6; }
18883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18884 /* end confdefs.h. */
18885 #include <fenv.h>
18887 main ()
18889 int except, mode;
18890 fexcept_t* pflag;
18891 fenv_t* penv;
18892 int ret;
18893 ret = feclearexcept(except);
18894 ret = fegetexceptflag(pflag, except);
18895 ret = feraiseexcept(except);
18896 ret = fesetexceptflag(pflag, except);
18897 ret = fetestexcept(except);
18898 ret = fegetround();
18899 ret = fesetround(mode);
18900 ret = fegetenv(penv);
18901 ret = feholdexcept(penv);
18902 ret = fesetenv(penv);
18903 ret = feupdateenv(penv);
18906 return 0;
18908 _ACEOF
18909 if ac_fn_cxx_try_compile "$LINENO"; then :
18910 ac_c99_fenv=yes
18911 else
18912 ac_c99_fenv=no
18914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv" >&5
18916 $as_echo "$ac_c99_fenv" >&6; }
18918 if test x"$ac_c99_fenv" = x"yes"; then
18920 $as_echo "#define _GLIBCXX_USE_C99_FENV 1" >>confdefs.h
18924 gcc_no_link="$ac_save_gcc_no_link"
18925 LIBS="$ac_save_LIBS"
18926 CXXFLAGS="$ac_save_CXXFLAGS"
18927 ac_ext=c
18928 ac_cpp='$CPP $CPPFLAGS'
18929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
18936 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
18937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
18938 $as_echo "$enable_c99" >&6; }
18941 # Check whether --enable-concept-checks was given.
18942 if test "${enable_concept_checks+set}" = set; then :
18943 enableval=$enable_concept_checks;
18944 case "$enableval" in
18945 yes|no) ;;
18946 *) as_fn_error $? "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
18947 esac
18949 else
18950 enable_concept_checks=no
18954 if test $enable_concept_checks = yes; then
18956 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
18961 # Check whether --enable-libstdcxx-debug-flags was given.
18962 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
18963 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
18964 xno | x) enable_libstdcxx_debug_flags= ;;
18965 x-*) ;;
18966 *) as_fn_error $? "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18967 esac
18968 else
18969 enable_libstdcxx_debug_flags="-g3 -O0 -D_GLIBCXX_ASSERTIONS"
18974 # Option parsed, now set things appropriately
18975 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
18978 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
18979 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
18982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
18983 $as_echo_n "checking for additional debug build... " >&6; }
18984 skip_debug_build=
18985 # Check whether --enable-libstdcxx-debug was given.
18986 if test "${enable_libstdcxx_debug+set}" = set; then :
18987 enableval=$enable_libstdcxx_debug;
18988 case "$enableval" in
18989 yes|no) ;;
18990 *) as_fn_error $? "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
18991 esac
18993 else
18994 enable_libstdcxx_debug=no
18998 if test x$enable_libstdcxx_debug = xyes; then
18999 if test -f $toplevel_builddir/../stage_final \
19000 && test -f $toplevel_builddir/../stage_current; then
19001 stage_final=`cat $toplevel_builddir/../stage_final`
19002 stage_current=`cat $toplevel_builddir/../stage_current`
19003 if test x$stage_current != x$stage_final ; then
19004 skip_debug_build=" (skipped for bootstrap stage $stage_current)"
19005 enable_libstdcxx_debug=no
19009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug$skip_debug_build" >&5
19010 $as_echo "$enable_libstdcxx_debug$skip_debug_build" >&6; }
19015 enable_parallel=no;
19017 # See if configured libgomp/omp.h exists. (libgomp may be in
19018 # noconfigdirs but not explicitly disabled.)
19019 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
19020 enable_parallel=yes;
19021 else
19022 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
19023 $as_echo "$as_me: target-libgomp not built" >&6;}
19026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
19027 $as_echo_n "checking for parallel mode support... " >&6; }
19028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
19029 $as_echo "$enable_parallel" >&6; }
19031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
19032 $as_echo_n "checking for extra compiler flags for building... " >&6; }
19033 # Check whether --enable-cxx-flags was given.
19034 if test "${enable_cxx_flags+set}" = set; then :
19035 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
19036 xno | x) enable_cxx_flags= ;;
19037 x-*) ;;
19038 *) as_fn_error $? "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
19039 esac
19040 else
19041 enable_cxx_flags=
19046 # Run through flags (either default or command-line) and set anything
19047 # extra (e.g., #defines) that must accompany particular g++ options.
19048 if test -n "$enable_cxx_flags"; then
19049 for f in $enable_cxx_flags; do
19050 case "$f" in
19051 -fhonor-std) ;;
19052 -*) ;;
19053 *) # and we're trying to pass /what/ exactly?
19054 as_fn_error $? "compiler flags start with a -" "$LINENO" 5 ;;
19055 esac
19056 done
19059 EXTRA_CXX_FLAGS="$enable_cxx_flags"
19060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
19061 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
19065 # Check whether --enable-fully-dynamic-string was given.
19066 if test "${enable_fully_dynamic_string+set}" = set; then :
19067 enableval=$enable_fully_dynamic_string;
19068 case "$enableval" in
19069 yes|no) ;;
19070 *) as_fn_error $? "Unknown argument to enable/disable fully-dynamic-string" "$LINENO" 5 ;;
19071 esac
19073 else
19074 enable_fully_dynamic_string=no
19078 if test $enable_fully_dynamic_string = yes; then
19079 enable_fully_dynamic_string_def=1
19080 else
19081 enable_fully_dynamic_string_def=0
19084 cat >>confdefs.h <<_ACEOF
19085 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
19086 _ACEOF
19091 # Check whether --enable-extern-template was given.
19092 if test "${enable_extern_template+set}" = set; then :
19093 enableval=$enable_extern_template;
19094 case "$enableval" in
19095 yes|no) ;;
19096 *) as_fn_error $? "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
19097 esac
19099 else
19100 enable_extern_template=yes
19105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
19106 $as_echo_n "checking for extern template support... " >&6; }
19107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
19108 $as_echo "$enable_extern_template" >&6; }
19114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
19115 $as_echo_n "checking for custom python install directory... " >&6; }
19117 # Check whether --with-python-dir was given.
19118 if test "${with_python_dir+set}" = set; then :
19119 withval=$with_python_dir; with_python_dir=$withval
19120 else
19121 with_python_dir="no"
19124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
19125 $as_echo "${with_python_dir}" >&6; }
19127 # Needed for installing Python modules during make install.
19128 python_mod_dir="${with_python_dir}"
19133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
19134 $as_echo_n "checking for -Werror... " >&6; }
19135 # Check whether --enable-werror was given.
19136 if test "${enable_werror+set}" = set; then :
19137 enableval=$enable_werror;
19138 case "$enableval" in
19139 yes|no) ;;
19140 *) as_fn_error $? "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
19141 esac
19143 else
19144 enable_werror=no
19148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
19149 $as_echo "$enable_werror" >&6; }
19154 # Check whether --enable-vtable-verify was given.
19155 if test "${enable_vtable_verify+set}" = set; then :
19156 enableval=$enable_vtable_verify;
19157 case "$enableval" in
19158 yes|no) ;;
19159 *) as_fn_error $? "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
19160 esac
19162 else
19163 enable_vtable_verify=no
19168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
19169 $as_echo_n "checking for vtable verify support... " >&6; }
19170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
19171 $as_echo "$enable_vtable_verify" >&6; }
19173 vtv_cygmin=no
19174 if test $enable_vtable_verify = yes; then
19175 case ${target_os} in
19176 cygwin*|mingw32*)
19177 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
19178 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
19179 vtv_cygmin=yes
19181 darwin*)
19182 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
19183 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
19185 solaris2*)
19186 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
19187 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
19190 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
19191 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
19193 esac
19194 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
19195 else
19196 VTV_CXXFLAGS=
19197 VTV_PCH_CXXFLAGS=
19198 VTV_CXXLINKFLAGS=
19204 if test x$vtv_cygmin = xyes; then
19205 VTV_CYGMIN_TRUE=
19206 VTV_CYGMIN_FALSE='#'
19207 else
19208 VTV_CYGMIN_TRUE='#'
19209 VTV_CYGMIN_FALSE=
19215 # Checks for operating systems support that doesn't require linking.
19219 ac_ext=cpp
19220 ac_cpp='$CXXCPP $CPPFLAGS'
19221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19225 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
19226 # and we don't need a declaration for C++14 anyway.
19227 ac_save_CXXFLAGS="$CXXFLAGS"
19228 CXXFLAGS="$CXXFLAGS -std=gnu++11"
19230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
19231 $as_echo_n "checking for gets declaration... " >&6; }
19232 if ${glibcxx_cv_gets+:} false; then :
19233 $as_echo_n "(cached) " >&6
19234 else
19236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19237 /* end confdefs.h. */
19238 #include <stdio.h>
19239 namespace test
19241 using ::gets;
19244 _ACEOF
19245 if ac_fn_cxx_try_compile "$LINENO"; then :
19246 glibcxx_cv_gets=yes
19247 else
19248 glibcxx_cv_gets=no
19251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
19254 $as_echo "$glibcxx_cv_gets" >&6; }
19256 if test $glibcxx_cv_gets = yes; then
19258 $as_echo "#define HAVE_GETS 1" >>confdefs.h
19262 CXXFLAGS="$ac_save_CXXFLAGS"
19263 ac_ext=c
19264 ac_cpp='$CPP $CPPFLAGS'
19265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19273 ac_ext=cpp
19274 ac_cpp='$CXXCPP $CPPFLAGS'
19275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19279 ac_save_CXXFLAGS="$CXXFLAGS"
19280 CXXFLAGS="$CXXFLAGS -std=c++11"
19282 case "$host" in
19283 *-*-solaris2.*)
19284 # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
19285 # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
19286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
19287 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
19288 if ${glibcxx_cv_math11_fp_overload+:} false; then :
19289 $as_echo_n "(cached) " >&6
19290 else
19292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19293 /* end confdefs.h. */
19294 #include <math.h>
19295 #undef isfinite
19296 namespace std {
19297 inline bool isfinite(float __x)
19298 { return __builtin_isfinite(__x); }
19301 _ACEOF
19302 if ac_fn_cxx_try_compile "$LINENO"; then :
19303 glibcxx_cv_math11_fp_overload=no
19304 else
19305 glibcxx_cv_math11_fp_overload=yes
19308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
19311 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
19313 # autoheader cannot handle indented templates.
19316 if test $glibcxx_cv_math11_fp_overload = yes; then
19317 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
19321 # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
19322 # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
19323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
19324 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
19325 if ${glibcxx_cv_math11_int_overload+:} false; then :
19326 $as_echo_n "(cached) " >&6
19327 else
19329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19330 /* end confdefs.h. */
19331 #include <math.h>
19332 namespace std {
19333 template<typename _Tp>
19334 struct __is_integer;
19335 template<>
19336 struct __is_integer<int>
19338 enum { __value = 1 };
19341 namespace __gnu_cxx {
19342 template<bool, typename>
19343 struct __enable_if;
19344 template<typename _Tp>
19345 struct __enable_if<true, _Tp>
19346 { typedef _Tp __type; };
19348 namespace std {
19349 template<typename _Tp>
19350 constexpr typename __gnu_cxx::__enable_if
19351 <__is_integer<_Tp>::__value, double>::__type
19352 log2(_Tp __x)
19353 { return __builtin_log2(__x); }
19356 main (void)
19358 int i = 1000;
19359 return std::log2(i);
19362 _ACEOF
19363 if ac_fn_cxx_try_compile "$LINENO"; then :
19364 glibcxx_cv_math11_int_overload=no
19365 else
19366 glibcxx_cv_math11_int_overload=yes
19369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
19372 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
19374 # autoheader cannot handle indented templates.
19377 if test $glibcxx_cv_math11_int_overload = yes; then
19378 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
19383 # If <math.h> defines the obsolete isinf(double) and isnan(double)
19384 # functions (instead of or as well as the C99 generic macros) then we
19385 # can't define std::isinf(double) and std::isnan(double) in <cmath>
19386 # and must use the ones from <math.h> instead.
19387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
19388 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
19389 if ${glibcxx_cv_obsolete_isinf+:} false; then :
19390 $as_echo_n "(cached) " >&6
19391 else
19393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19394 /* end confdefs.h. */
19395 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
19396 #include <math.h>
19397 #undef isinf
19398 namespace std {
19399 using ::isinf;
19400 bool isinf(float);
19401 bool isinf(long double);
19403 using std::isinf;
19404 bool b = isinf(0.0);
19406 _ACEOF
19407 if ac_fn_cxx_try_compile "$LINENO"; then :
19408 glibcxx_cv_obsolete_isinf=yes
19409 else
19410 glibcxx_cv_obsolete_isinf=no
19413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
19416 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
19417 if test $glibcxx_cv_obsolete_isinf = yes; then
19419 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
19423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
19424 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
19425 if ${glibcxx_cv_obsolete_isnan+:} false; then :
19426 $as_echo_n "(cached) " >&6
19427 else
19429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19430 /* end confdefs.h. */
19431 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
19432 #include <math.h>
19433 #undef isnan
19434 namespace std {
19435 using ::isnan;
19436 bool isnan(float);
19437 bool isnan(long double);
19439 using std::isnan;
19440 bool b = isnan(0.0);
19442 _ACEOF
19443 if ac_fn_cxx_try_compile "$LINENO"; then :
19444 glibcxx_cv_obsolete_isnan=yes
19445 else
19446 glibcxx_cv_obsolete_isnan=no
19449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
19452 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
19453 if test $glibcxx_cv_obsolete_isnan = yes; then
19455 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
19459 esac
19461 CXXFLAGS="$ac_save_CXXFLAGS"
19462 ac_ext=c
19463 ac_cpp='$CPP $CPPFLAGS'
19464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19471 # Test uchar.h.
19472 for ac_header in uchar.h
19473 do :
19474 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19475 if test "x$ac_cv_header_uchar_h" = xyes; then :
19476 cat >>confdefs.h <<_ACEOF
19477 #define HAVE_UCHAR_H 1
19478 _ACEOF
19479 ac_has_uchar_h=yes
19480 else
19481 ac_has_uchar_h=no
19484 done
19488 ac_ext=cpp
19489 ac_cpp='$CXXCPP $CPPFLAGS'
19490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19494 ac_save_CXXFLAGS="$CXXFLAGS"
19495 CXXFLAGS="$CXXFLAGS -std=c++11"
19497 if test x"$ac_has_uchar_h" = x"yes"; then
19498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19499 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19501 /* end confdefs.h. */
19502 #include <uchar.h>
19503 #ifdef __STDC_UTF_16__
19504 long i = __STDC_UTF_16__;
19505 #endif
19506 #ifdef __STDC_UTF_32__
19507 long j = __STDC_UTF_32__;
19508 #endif
19509 namespace test
19511 using ::c16rtomb;
19512 using ::c32rtomb;
19513 using ::mbrtoc16;
19514 using ::mbrtoc32;
19518 main ()
19522 return 0;
19524 _ACEOF
19525 if ac_fn_cxx_try_compile "$LINENO"; then :
19526 ac_c11_uchar_cxx11=yes
19527 else
19528 ac_c11_uchar_cxx11=no
19530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19532 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19533 else
19534 ac_c11_uchar_cxx11=no
19536 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19538 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19542 CXXFLAGS="$CXXFLAGS -fchar8_t"
19543 if test x"$ac_has_uchar_h" = x"yes"; then
19544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c8rtomb and mbrtoc8 in <uchar.h> with -fchar8_t" >&5
19545 $as_echo_n "checking for c8rtomb and mbrtoc8 in <uchar.h> with -fchar8_t... " >&6; }
19546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19547 /* end confdefs.h. */
19548 #include <uchar.h>
19549 namespace test
19551 using ::c8rtomb;
19552 using ::mbrtoc8;
19556 main ()
19560 return 0;
19562 _ACEOF
19563 if ac_fn_cxx_try_compile "$LINENO"; then :
19564 ac_uchar_c8rtomb_mbrtoc8_fchar8_t=yes
19565 else
19566 ac_uchar_c8rtomb_mbrtoc8_fchar8_t=no
19568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_uchar_c8rtomb_mbrtoc8_fchar8_t" >&5
19570 $as_echo "$ac_uchar_c8rtomb_mbrtoc8_fchar8_t" >&6; }
19571 else
19572 ac_uchar_c8rtomb_mbrtoc8_fchar8_t=no
19574 if test x"$ac_uchar_c8rtomb_mbrtoc8_fchar8_t" = x"yes"; then
19576 $as_echo "#define _GLIBCXX_USE_UCHAR_C8RTOMB_MBRTOC8_FCHAR8_T 1" >>confdefs.h
19580 CXXFLAGS="$CXXFLAGS -std=c++20"
19581 if test x"$ac_has_uchar_h" = x"yes"; then
19582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c8rtomb and mbrtoc8 in <uchar.h> with -std=c++20" >&5
19583 $as_echo_n "checking for c8rtomb and mbrtoc8 in <uchar.h> with -std=c++20... " >&6; }
19584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19585 /* end confdefs.h. */
19586 #include <uchar.h>
19587 namespace test
19589 using ::c8rtomb;
19590 using ::mbrtoc8;
19594 main ()
19598 return 0;
19600 _ACEOF
19601 if ac_fn_cxx_try_compile "$LINENO"; then :
19602 ac_uchar_c8rtomb_mbrtoc8_cxx20=yes
19603 else
19604 ac_uchar_c8rtomb_mbrtoc8_cxx20=no
19606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_uchar_c8rtomb_mbrtoc8_cxx20" >&5
19608 $as_echo "$ac_uchar_c8rtomb_mbrtoc8_cxx20" >&6; }
19609 else
19610 ac_uchar_c8rtomb_mbrtoc8_cxx20=no
19612 if test x"$ac_uchar_c8rtomb_mbrtoc8_cxx20" = x"yes"; then
19614 $as_echo "#define _GLIBCXX_USE_UCHAR_C8RTOMB_MBRTOC8_CXX20 1" >>confdefs.h
19618 CXXFLAGS="$ac_save_CXXFLAGS"
19619 ac_ext=c
19620 ac_cpp='$CPP $CPPFLAGS'
19621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19627 # For LFS support.
19630 ac_ext=cpp
19631 ac_cpp='$CXXCPP $CPPFLAGS'
19632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19636 ac_save_CXXFLAGS="$CXXFLAGS"
19637 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19639 $as_echo_n "checking for LFS support... " >&6; }
19640 if ${glibcxx_cv_LFS+:} false; then :
19641 $as_echo_n "(cached) " >&6
19642 else
19644 if test x$gcc_no_link = xyes; then
19645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19646 /* end confdefs.h. */
19647 #include <unistd.h>
19648 #include <stdio.h>
19649 #include <sys/stat.h>
19652 main ()
19654 FILE* fp;
19655 fopen64("t", "w");
19656 fseeko64(fp, 0, SEEK_CUR);
19657 ftello64(fp);
19658 lseek64(1, 0, SEEK_CUR);
19659 struct stat64 buf;
19660 fstat64(1, &buf);
19662 return 0;
19664 _ACEOF
19665 if ac_fn_cxx_try_compile "$LINENO"; then :
19666 glibcxx_cv_LFS=yes
19667 else
19668 glibcxx_cv_LFS=no
19670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19671 else
19672 if test x$gcc_no_link = xyes; then
19673 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19676 /* end confdefs.h. */
19677 #include <unistd.h>
19678 #include <stdio.h>
19679 #include <sys/stat.h>
19682 main ()
19684 FILE* fp;
19685 fopen64("t", "w");
19686 fseeko64(fp, 0, SEEK_CUR);
19687 ftello64(fp);
19688 lseek64(1, 0, SEEK_CUR);
19689 struct stat64 buf;
19690 fstat64(1, &buf);
19692 return 0;
19694 _ACEOF
19695 if ac_fn_cxx_try_link "$LINENO"; then :
19696 glibcxx_cv_LFS=yes
19697 else
19698 glibcxx_cv_LFS=no
19700 rm -f core conftest.err conftest.$ac_objext \
19701 conftest$ac_exeext conftest.$ac_ext
19705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19706 $as_echo "$glibcxx_cv_LFS" >&6; }
19707 if test $glibcxx_cv_LFS = yes; then
19709 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19712 CXXFLAGS="$ac_save_CXXFLAGS"
19713 ac_ext=c
19714 ac_cpp='$CPP $CPPFLAGS'
19715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19721 # For showmanyc_helper().
19722 for ac_header in sys/ioctl.h sys/filio.h
19723 do :
19724 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19725 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19726 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19727 cat >>confdefs.h <<_ACEOF
19728 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19729 _ACEOF
19733 done
19738 ac_ext=cpp
19739 ac_cpp='$CXXCPP $CPPFLAGS'
19740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19744 ac_save_CXXFLAGS="$CXXFLAGS"
19745 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19748 $as_echo_n "checking for poll... " >&6; }
19749 if ${glibcxx_cv_POLL+:} false; then :
19750 $as_echo_n "(cached) " >&6
19751 else
19753 if test x$gcc_no_link = xyes; then
19754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19755 /* end confdefs.h. */
19756 #include <poll.h>
19758 main ()
19760 struct pollfd pfd[1];
19761 pfd[0].events = POLLIN;
19762 poll(pfd, 1, 0);
19764 return 0;
19766 _ACEOF
19767 if ac_fn_cxx_try_compile "$LINENO"; then :
19768 glibcxx_cv_POLL=yes
19769 else
19770 glibcxx_cv_POLL=no
19772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19773 else
19774 if test x$gcc_no_link = xyes; then
19775 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19778 /* end confdefs.h. */
19779 #include <poll.h>
19781 main ()
19783 struct pollfd pfd[1];
19784 pfd[0].events = POLLIN;
19785 poll(pfd, 1, 0);
19787 return 0;
19789 _ACEOF
19790 if ac_fn_cxx_try_link "$LINENO"; then :
19791 glibcxx_cv_POLL=yes
19792 else
19793 glibcxx_cv_POLL=no
19795 rm -f core conftest.err conftest.$ac_objext \
19796 conftest$ac_exeext conftest.$ac_ext
19800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19801 $as_echo "$glibcxx_cv_POLL" >&6; }
19802 if test $glibcxx_cv_POLL = yes; then
19804 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19808 CXXFLAGS="$ac_save_CXXFLAGS"
19809 ac_ext=c
19810 ac_cpp='$CPP $CPPFLAGS'
19811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19819 ac_ext=cpp
19820 ac_cpp='$CXXCPP $CPPFLAGS'
19821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19825 ac_save_CXXFLAGS="$CXXFLAGS"
19826 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19829 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19830 if ${glibcxx_cv_S_ISREG+:} false; then :
19831 $as_echo_n "(cached) " >&6
19832 else
19834 if test x$gcc_no_link = xyes; then
19835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19836 /* end confdefs.h. */
19837 #include <sys/stat.h>
19839 main ()
19841 struct stat buffer;
19842 fstat(0, &buffer);
19843 S_ISREG(buffer.st_mode);
19845 return 0;
19847 _ACEOF
19848 if ac_fn_cxx_try_compile "$LINENO"; then :
19849 glibcxx_cv_S_ISREG=yes
19850 else
19851 glibcxx_cv_S_ISREG=no
19853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19854 else
19855 if test x$gcc_no_link = xyes; then
19856 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19859 /* end confdefs.h. */
19860 #include <sys/stat.h>
19862 main ()
19864 struct stat buffer;
19865 fstat(0, &buffer);
19866 S_ISREG(buffer.st_mode);
19868 return 0;
19870 _ACEOF
19871 if ac_fn_cxx_try_link "$LINENO"; then :
19872 glibcxx_cv_S_ISREG=yes
19873 else
19874 glibcxx_cv_S_ISREG=no
19876 rm -f core conftest.err conftest.$ac_objext \
19877 conftest$ac_exeext conftest.$ac_ext
19882 if ${glibcxx_cv_S_IFREG+:} false; then :
19883 $as_echo_n "(cached) " >&6
19884 else
19886 if test x$gcc_no_link = xyes; then
19887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19888 /* end confdefs.h. */
19889 #include <sys/stat.h>
19891 main ()
19893 struct stat buffer;
19894 fstat(0, &buffer);
19895 S_IFREG & buffer.st_mode;
19897 return 0;
19899 _ACEOF
19900 if ac_fn_cxx_try_compile "$LINENO"; then :
19901 glibcxx_cv_S_IFREG=yes
19902 else
19903 glibcxx_cv_S_IFREG=no
19905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19906 else
19907 if test x$gcc_no_link = xyes; then
19908 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19911 /* end confdefs.h. */
19912 #include <sys/stat.h>
19914 main ()
19916 struct stat buffer;
19917 fstat(0, &buffer);
19918 S_IFREG & buffer.st_mode;
19920 return 0;
19922 _ACEOF
19923 if ac_fn_cxx_try_link "$LINENO"; then :
19924 glibcxx_cv_S_IFREG=yes
19925 else
19926 glibcxx_cv_S_IFREG=no
19928 rm -f core conftest.err conftest.$ac_objext \
19929 conftest$ac_exeext conftest.$ac_ext
19934 res=no
19935 if test $glibcxx_cv_S_ISREG = yes; then
19937 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19939 res=S_ISREG
19940 elif test $glibcxx_cv_S_IFREG = yes; then
19942 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19944 res=S_IFREG
19946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19947 $as_echo "$res" >&6; }
19949 CXXFLAGS="$ac_save_CXXFLAGS"
19950 ac_ext=c
19951 ac_cpp='$CPP $CPPFLAGS'
19952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19958 # For xsputn_2().
19959 for ac_header in sys/uio.h
19960 do :
19961 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19962 if test "x$ac_cv_header_sys_uio_h" = xyes; then :
19963 cat >>confdefs.h <<_ACEOF
19964 #define HAVE_SYS_UIO_H 1
19965 _ACEOF
19969 done
19974 ac_ext=cpp
19975 ac_cpp='$CXXCPP $CPPFLAGS'
19976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19980 ac_save_CXXFLAGS="$CXXFLAGS"
19981 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19984 $as_echo_n "checking for writev... " >&6; }
19985 if ${glibcxx_cv_WRITEV+:} false; then :
19986 $as_echo_n "(cached) " >&6
19987 else
19989 if test x$gcc_no_link = xyes; then
19990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19991 /* end confdefs.h. */
19992 #include <sys/uio.h>
19994 main ()
19996 struct iovec iov[2];
19997 writev(0, iov, 0);
19999 return 0;
20001 _ACEOF
20002 if ac_fn_cxx_try_compile "$LINENO"; then :
20003 glibcxx_cv_WRITEV=yes
20004 else
20005 glibcxx_cv_WRITEV=no
20007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20008 else
20009 if test x$gcc_no_link = xyes; then
20010 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20013 /* end confdefs.h. */
20014 #include <sys/uio.h>
20016 main ()
20018 struct iovec iov[2];
20019 writev(0, iov, 0);
20021 return 0;
20023 _ACEOF
20024 if ac_fn_cxx_try_link "$LINENO"; then :
20025 glibcxx_cv_WRITEV=yes
20026 else
20027 glibcxx_cv_WRITEV=no
20029 rm -f core conftest.err conftest.$ac_objext \
20030 conftest$ac_exeext conftest.$ac_ext
20034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
20035 $as_echo "$glibcxx_cv_WRITEV" >&6; }
20036 if test $glibcxx_cv_WRITEV = yes; then
20038 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
20042 CXXFLAGS="$ac_save_CXXFLAGS"
20043 ac_ext=c
20044 ac_cpp='$CPP $CPPFLAGS'
20045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20051 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
20052 # so that the check is done with the C compiler (not C++).
20053 # Checking with C++ can break a canadian cross build if either
20054 # file does not exist in C but does in C++.
20055 for ac_header in fenv.h complex.h
20056 do :
20057 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20058 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20059 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20060 cat >>confdefs.h <<_ACEOF
20061 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20062 _ACEOF
20066 done
20069 # For C99 support to TR1.
20073 ac_ext=cpp
20074 ac_cpp='$CXXCPP $CPPFLAGS'
20075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20080 # Use -std=c++98 because -std=gnu++98 leaves __STRICT_ANSI__
20081 # undefined and fake C99 facilities may be spuriously enabled.
20082 ac_save_CXXFLAGS="$CXXFLAGS"
20083 CXXFLAGS="$CXXFLAGS -std=c++98"
20085 # Check for the existence of <complex.h> complex math functions used
20086 # by tr1/complex.
20087 for ac_header in complex.h
20088 do :
20089 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
20090 if test "x$ac_cv_header_complex_h" = xyes; then :
20091 cat >>confdefs.h <<_ACEOF
20092 #define HAVE_COMPLEX_H 1
20093 _ACEOF
20094 ac_has_complex_h=yes
20095 else
20096 ac_has_complex_h=no
20099 done
20101 ac_c99_complex_tr1=no;
20102 if test x"$ac_has_complex_h" = x"yes"; then
20103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
20104 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
20105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20106 /* end confdefs.h. */
20107 #include <complex.h>
20109 main ()
20111 typedef __complex__ float float_type; float_type tmpf;
20112 cacosf(tmpf);
20113 casinf(tmpf);
20114 catanf(tmpf);
20115 cacoshf(tmpf);
20116 casinhf(tmpf);
20117 catanhf(tmpf);
20118 typedef __complex__ double double_type; double_type tmpd;
20119 cacos(tmpd);
20120 casin(tmpd);
20121 catan(tmpd);
20122 cacosh(tmpd);
20123 casinh(tmpd);
20124 catanh(tmpd);
20125 typedef __complex__ long double ld_type; ld_type tmpld;
20126 cacosl(tmpld);
20127 casinl(tmpld);
20128 catanl(tmpld);
20129 cacoshl(tmpld);
20130 casinhl(tmpld);
20131 catanhl(tmpld);
20134 return 0;
20136 _ACEOF
20137 if ac_fn_cxx_try_compile "$LINENO"; then :
20138 ac_c99_complex_tr1=yes
20139 else
20140 ac_c99_complex_tr1=no
20142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
20145 $as_echo "$ac_c99_complex_tr1" >&6; }
20146 if test x"$ac_c99_complex_tr1" = x"yes"; then
20148 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
20152 # Check for the existence of <ctype.h> functions.
20153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
20154 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
20155 if ${glibcxx_cv_c99_ctype_tr1+:} false; then :
20156 $as_echo_n "(cached) " >&6
20157 else
20159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20160 /* end confdefs.h. */
20161 #include <ctype.h>
20163 main ()
20165 int ch;
20166 int ret;
20167 ret = isblank(ch);
20170 return 0;
20172 _ACEOF
20173 if ac_fn_cxx_try_compile "$LINENO"; then :
20174 glibcxx_cv_c99_ctype_tr1=yes
20175 else
20176 glibcxx_cv_c99_ctype_tr1=no
20178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
20182 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
20183 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
20185 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
20189 # Check for the existence of <fenv.h> functions.
20190 for ac_header in fenv.h
20191 do :
20192 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
20193 if test "x$ac_cv_header_fenv_h" = xyes; then :
20194 cat >>confdefs.h <<_ACEOF
20195 #define HAVE_FENV_H 1
20196 _ACEOF
20197 ac_has_fenv_h=yes
20198 else
20199 ac_has_fenv_h=no
20202 done
20204 ac_c99_fenv_tr1=no;
20205 if test x"$ac_has_fenv_h" = x"yes"; then
20206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
20207 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
20208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20209 /* end confdefs.h. */
20210 #include <fenv.h>
20212 main ()
20214 int except, mode;
20215 fexcept_t* pflag;
20216 fenv_t* penv;
20217 int ret;
20218 ret = feclearexcept(except);
20219 ret = fegetexceptflag(pflag, except);
20220 ret = feraiseexcept(except);
20221 ret = fesetexceptflag(pflag, except);
20222 ret = fetestexcept(except);
20223 ret = fegetround();
20224 ret = fesetround(mode);
20225 ret = fegetenv(penv);
20226 ret = feholdexcept(penv);
20227 ret = fesetenv(penv);
20228 ret = feupdateenv(penv);
20231 return 0;
20233 _ACEOF
20234 if ac_fn_cxx_try_compile "$LINENO"; then :
20235 ac_c99_fenv_tr1=yes
20236 else
20237 ac_c99_fenv_tr1=no
20239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
20241 $as_echo "$ac_c99_fenv_tr1" >&6; }
20243 if test x"$ac_c99_fenv_tr1" = x"yes"; then
20245 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
20249 # Check for the existence of <stdint.h> types.
20250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
20251 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
20252 if ${glibcxx_cv_c99_stdint_tr1+:} false; then :
20253 $as_echo_n "(cached) " >&6
20254 else
20256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20257 /* end confdefs.h. */
20258 #define __STDC_LIMIT_MACROS
20259 #define __STDC_CONSTANT_MACROS
20260 #include <stdint.h>
20262 main ()
20264 typedef int8_t my_int8_t;
20265 my_int8_t i8 = INT8_MIN;
20266 i8 = INT8_MAX;
20267 typedef int16_t my_int16_t;
20268 my_int16_t i16 = INT16_MIN;
20269 i16 = INT16_MAX;
20270 typedef int32_t my_int32_t;
20271 my_int32_t i32 = INT32_MIN;
20272 i32 = INT32_MAX;
20273 typedef int64_t my_int64_t;
20274 my_int64_t i64 = INT64_MIN;
20275 i64 = INT64_MAX;
20276 typedef int_fast8_t my_int_fast8_t;
20277 my_int_fast8_t if8 = INT_FAST8_MIN;
20278 if8 = INT_FAST8_MAX;
20279 typedef int_fast16_t my_int_fast16_t;
20280 my_int_fast16_t if16 = INT_FAST16_MIN;
20281 if16 = INT_FAST16_MAX;
20282 typedef int_fast32_t my_int_fast32_t;
20283 my_int_fast32_t if32 = INT_FAST32_MIN;
20284 if32 = INT_FAST32_MAX;
20285 typedef int_fast64_t my_int_fast64_t;
20286 my_int_fast64_t if64 = INT_FAST64_MIN;
20287 if64 = INT_FAST64_MAX;
20288 typedef int_least8_t my_int_least8_t;
20289 my_int_least8_t il8 = INT_LEAST8_MIN;
20290 il8 = INT_LEAST8_MAX;
20291 typedef int_least16_t my_int_least16_t;
20292 my_int_least16_t il16 = INT_LEAST16_MIN;
20293 il16 = INT_LEAST16_MAX;
20294 typedef int_least32_t my_int_least32_t;
20295 my_int_least32_t il32 = INT_LEAST32_MIN;
20296 il32 = INT_LEAST32_MAX;
20297 typedef int_least64_t my_int_least64_t;
20298 my_int_least64_t il64 = INT_LEAST64_MIN;
20299 il64 = INT_LEAST64_MAX;
20300 typedef intmax_t my_intmax_t;
20301 my_intmax_t im = INTMAX_MAX;
20302 im = INTMAX_MIN;
20303 typedef intptr_t my_intptr_t;
20304 my_intptr_t ip = INTPTR_MAX;
20305 ip = INTPTR_MIN;
20306 typedef uint8_t my_uint8_t;
20307 my_uint8_t ui8 = UINT8_MAX;
20308 ui8 = UINT8_MAX;
20309 typedef uint16_t my_uint16_t;
20310 my_uint16_t ui16 = UINT16_MAX;
20311 ui16 = UINT16_MAX;
20312 typedef uint32_t my_uint32_t;
20313 my_uint32_t ui32 = UINT32_MAX;
20314 ui32 = UINT32_MAX;
20315 typedef uint64_t my_uint64_t;
20316 my_uint64_t ui64 = UINT64_MAX;
20317 ui64 = UINT64_MAX;
20318 typedef uint_fast8_t my_uint_fast8_t;
20319 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
20320 uif8 = UINT_FAST8_MAX;
20321 typedef uint_fast16_t my_uint_fast16_t;
20322 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
20323 uif16 = UINT_FAST16_MAX;
20324 typedef uint_fast32_t my_uint_fast32_t;
20325 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
20326 uif32 = UINT_FAST32_MAX;
20327 typedef uint_fast64_t my_uint_fast64_t;
20328 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
20329 uif64 = UINT_FAST64_MAX;
20330 typedef uint_least8_t my_uint_least8_t;
20331 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
20332 uil8 = UINT_LEAST8_MAX;
20333 typedef uint_least16_t my_uint_least16_t;
20334 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
20335 uil16 = UINT_LEAST16_MAX;
20336 typedef uint_least32_t my_uint_least32_t;
20337 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
20338 uil32 = UINT_LEAST32_MAX;
20339 typedef uint_least64_t my_uint_least64_t;
20340 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
20341 uil64 = UINT_LEAST64_MAX;
20342 typedef uintmax_t my_uintmax_t;
20343 my_uintmax_t uim = UINTMAX_MAX;
20344 uim = UINTMAX_MAX;
20345 typedef uintptr_t my_uintptr_t;
20346 my_uintptr_t uip = UINTPTR_MAX;
20347 uip = UINTPTR_MAX;
20350 return 0;
20352 _ACEOF
20353 if ac_fn_cxx_try_compile "$LINENO"; then :
20354 glibcxx_cv_c99_stdint_tr1=yes
20355 else
20356 glibcxx_cv_c99_stdint_tr1=no
20358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
20362 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
20363 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20365 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
20369 # Check for the existence of <math.h> functions.
20370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
20371 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
20372 if ${glibcxx_cv_c99_math_tr1+:} false; then :
20373 $as_echo_n "(cached) " >&6
20374 else
20376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20377 /* end confdefs.h. */
20378 #include <math.h>
20380 main ()
20382 typedef double_t my_double_t;
20383 typedef float_t my_float_t;
20384 acosh(0.0);
20385 acoshf(0.0f);
20386 acoshl(0.0l);
20387 asinh(0.0);
20388 asinhf(0.0f);
20389 asinhl(0.0l);
20390 atanh(0.0);
20391 atanhf(0.0f);
20392 atanhl(0.0l);
20393 cbrt(0.0);
20394 cbrtf(0.0f);
20395 cbrtl(0.0l);
20396 copysign(0.0, 0.0);
20397 copysignf(0.0f, 0.0f);
20398 copysignl(0.0l, 0.0l);
20399 erf(0.0);
20400 erff(0.0f);
20401 erfl(0.0l);
20402 erfc(0.0);
20403 erfcf(0.0f);
20404 erfcl(0.0l);
20405 exp2(0.0);
20406 exp2f(0.0f);
20407 exp2l(0.0l);
20408 expm1(0.0);
20409 expm1f(0.0f);
20410 expm1l(0.0l);
20411 fdim(0.0, 0.0);
20412 fdimf(0.0f, 0.0f);
20413 fdiml(0.0l, 0.0l);
20414 fma(0.0, 0.0, 0.0);
20415 fmaf(0.0f, 0.0f, 0.0f);
20416 fmal(0.0l, 0.0l, 0.0l);
20417 fmax(0.0, 0.0);
20418 fmaxf(0.0f, 0.0f);
20419 fmaxl(0.0l, 0.0l);
20420 fmin(0.0, 0.0);
20421 fminf(0.0f, 0.0f);
20422 fminl(0.0l, 0.0l);
20423 hypot(0.0, 0.0);
20424 hypotf(0.0f, 0.0f);
20425 hypotl(0.0l, 0.0l);
20426 ilogb(0.0);
20427 ilogbf(0.0f);
20428 ilogbl(0.0l);
20429 lgamma(0.0);
20430 lgammaf(0.0f);
20431 lgammal(0.0l);
20432 #ifndef __APPLE__ /* see below */
20433 llrint(0.0);
20434 llrintf(0.0f);
20435 llrintl(0.0l);
20436 llround(0.0);
20437 llroundf(0.0f);
20438 llroundl(0.0l);
20439 #endif
20440 log1p(0.0);
20441 log1pf(0.0f);
20442 log1pl(0.0l);
20443 log2(0.0);
20444 log2f(0.0f);
20445 log2l(0.0l);
20446 logb(0.0);
20447 logbf(0.0f);
20448 logbl(0.0l);
20449 lrint(0.0);
20450 lrintf(0.0f);
20451 lrintl(0.0l);
20452 lround(0.0);
20453 lroundf(0.0f);
20454 lroundl(0.0l);
20455 nan("");
20456 nanf("");
20457 nanl("");
20458 nearbyint(0.0);
20459 nearbyintf(0.0f);
20460 nearbyintl(0.0l);
20461 nextafter(0.0, 0.0);
20462 nextafterf(0.0f, 0.0f);
20463 nextafterl(0.0l, 0.0l);
20464 nexttoward(0.0, 0.0);
20465 nexttowardf(0.0f, 0.0f);
20466 nexttowardl(0.0l, 0.0l);
20467 remainder(0.0, 0.0);
20468 remainderf(0.0f, 0.0f);
20469 remainderl(0.0l, 0.0l);
20470 remquo(0.0, 0.0, 0);
20471 remquof(0.0f, 0.0f, 0);
20472 remquol(0.0l, 0.0l, 0);
20473 rint(0.0);
20474 rintf(0.0f);
20475 rintl(0.0l);
20476 round(0.0);
20477 roundf(0.0f);
20478 roundl(0.0l);
20479 scalbln(0.0, 0l);
20480 scalblnf(0.0f, 0l);
20481 scalblnl(0.0l, 0l);
20482 scalbn(0.0, 0);
20483 scalbnf(0.0f, 0);
20484 scalbnl(0.0l, 0);
20485 tgamma(0.0);
20486 tgammaf(0.0f);
20487 tgammal(0.0l);
20488 trunc(0.0);
20489 truncf(0.0f);
20490 truncl(0.0l);
20493 return 0;
20495 _ACEOF
20496 if ac_fn_cxx_try_compile "$LINENO"; then :
20497 glibcxx_cv_c99_math_tr1=yes
20498 else
20499 glibcxx_cv_c99_math_tr1=no
20501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20505 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20506 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20508 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20511 case "${target_os}" in
20512 darwin*)
20513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20514 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20515 if ${glibcxx_cv_c99_math_llround+:} false; then :
20516 $as_echo_n "(cached) " >&6
20517 else
20519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20520 /* end confdefs.h. */
20521 #include <math.h>
20523 main ()
20525 llrint(0.0);
20526 llrintf(0.0f);
20527 llrintl(0.0l);
20528 llround(0.0);
20529 llroundf(0.0f);
20530 llroundl(0.0l);
20533 return 0;
20535 _ACEOF
20536 if ac_fn_cxx_try_compile "$LINENO"; then :
20537 glibcxx_cv_c99_math_llround=yes
20538 else
20539 glibcxx_cv_c99_math_llround=no
20541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20545 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20547 esac
20548 if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20550 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20555 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20556 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20557 ac_c99_inttypes_tr1=no;
20558 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20560 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20562 /* end confdefs.h. */
20563 #include <inttypes.h>
20565 main ()
20567 intmax_t i, numer, denom, base;
20568 const char* s;
20569 char** endptr;
20570 intmax_t ret = imaxabs(i);
20571 imaxdiv_t dret = imaxdiv(numer, denom);
20572 ret = strtoimax(s, endptr, base);
20573 uintmax_t uret = strtoumax(s, endptr, base);
20576 return 0;
20578 _ACEOF
20579 if ac_fn_cxx_try_compile "$LINENO"; then :
20580 ac_c99_inttypes_tr1=yes
20581 else
20582 ac_c99_inttypes_tr1=no
20584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20586 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20588 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20590 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20594 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20595 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20596 ac_c99_inttypes_wchar_t_tr1=no;
20597 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20599 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20601 /* end confdefs.h. */
20602 #include <inttypes.h>
20604 main ()
20606 intmax_t base;
20607 const wchar_t* s;
20608 wchar_t** endptr;
20609 intmax_t ret = wcstoimax(s, endptr, base);
20610 uintmax_t uret = wcstoumax(s, endptr, base);
20613 return 0;
20615 _ACEOF
20616 if ac_fn_cxx_try_compile "$LINENO"; then :
20617 ac_c99_inttypes_wchar_t_tr1=yes
20618 else
20619 ac_c99_inttypes_wchar_t_tr1=no
20621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20623 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20625 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20627 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20631 # Check for the existence of the <stdbool.h> header.
20632 for ac_header in stdbool.h
20633 do :
20634 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20635 if test "x$ac_cv_header_stdbool_h" = xyes; then :
20636 cat >>confdefs.h <<_ACEOF
20637 #define HAVE_STDBOOL_H 1
20638 _ACEOF
20642 done
20645 # Check for the existence of the <stdalign.h> header.
20646 for ac_header in stdalign.h
20647 do :
20648 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20649 if test "x$ac_cv_header_stdalign_h" = xyes; then :
20650 cat >>confdefs.h <<_ACEOF
20651 #define HAVE_STDALIGN_H 1
20652 _ACEOF
20656 done
20659 CXXFLAGS="$ac_save_CXXFLAGS"
20660 ac_ext=c
20661 ac_cpp='$CPP $CPPFLAGS'
20662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20668 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20671 if test "$is_hosted" = yes; then
20672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20673 $as_echo_n "checking for the value of EOF... " >&6; }
20674 if ${glibcxx_cv_stdio_eof+:} false; then :
20675 $as_echo_n "(cached) " >&6
20676 else
20678 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20680 else
20681 as_fn_error $? "computing EOF failed" "$LINENO" 5
20686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20687 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20689 cat >>confdefs.h <<_ACEOF
20690 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20691 _ACEOF
20694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20695 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20696 if ${glibcxx_cv_stdio_seek_cur+:} false; then :
20697 $as_echo_n "(cached) " >&6
20698 else
20700 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20702 else
20703 as_fn_error $? "computing SEEK_CUR failed" "$LINENO" 5
20708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20709 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20711 cat >>confdefs.h <<_ACEOF
20712 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20713 _ACEOF
20716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20717 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20718 if ${glibcxx_cv_stdio_seek_end+:} false; then :
20719 $as_echo_n "(cached) " >&6
20720 else
20722 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20724 else
20725 as_fn_error $? "computing SEEK_END failed" "$LINENO" 5
20730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20731 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20733 cat >>confdefs.h <<_ACEOF
20734 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20735 _ACEOF
20740 # For gettimeofday support.
20743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20744 $as_echo_n "checking for gettimeofday... " >&6; }
20747 ac_ext=cpp
20748 ac_cpp='$CXXCPP $CPPFLAGS'
20749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20753 ac_save_CXXFLAGS="$CXXFLAGS"
20754 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20756 ac_has_gettimeofday=no;
20757 for ac_header in sys/time.h
20758 do :
20759 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20760 if test "x$ac_cv_header_sys_time_h" = xyes; then :
20761 cat >>confdefs.h <<_ACEOF
20762 #define HAVE_SYS_TIME_H 1
20763 _ACEOF
20764 ac_has_sys_time_h=yes
20765 else
20766 ac_has_sys_time_h=no
20769 done
20771 if test x"$ac_has_sys_time_h" = x"yes"; then
20772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20773 $as_echo_n "checking for gettimeofday... " >&6; }
20774 if test x$gcc_no_link = xyes; then
20775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20776 /* end confdefs.h. */
20777 #include <sys/time.h>
20779 main ()
20781 timeval tv; gettimeofday(&tv, 0);
20783 return 0;
20785 _ACEOF
20786 if ac_fn_cxx_try_compile "$LINENO"; then :
20787 ac_has_gettimeofday=yes
20788 else
20789 ac_has_gettimeofday=no
20791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20792 else
20793 if test x$gcc_no_link = xyes; then
20794 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20797 /* end confdefs.h. */
20798 #include <sys/time.h>
20800 main ()
20802 timeval tv; gettimeofday(&tv, 0);
20804 return 0;
20806 _ACEOF
20807 if ac_fn_cxx_try_link "$LINENO"; then :
20808 ac_has_gettimeofday=yes
20809 else
20810 ac_has_gettimeofday=no
20812 rm -f core conftest.err conftest.$ac_objext \
20813 conftest$ac_exeext conftest.$ac_ext
20816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20817 $as_echo "$ac_has_gettimeofday" >&6; }
20820 if test x"$ac_has_gettimeofday" = x"yes"; then
20822 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20826 CXXFLAGS="$ac_save_CXXFLAGS"
20827 ac_ext=c
20828 ac_cpp='$CPP $CPPFLAGS'
20829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20835 # For clock_gettime, nanosleep and sched_yield support.
20838 # Check whether --enable-libstdcxx-time was given.
20839 if test "${enable_libstdcxx_time+set}" = set; then :
20840 enableval=$enable_libstdcxx_time;
20841 case "$enableval" in
20842 yes|no|rt) ;;
20843 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20844 esac
20846 else
20847 enable_libstdcxx_time=auto
20853 ac_ext=cpp
20854 ac_cpp='$CXXCPP $CPPFLAGS'
20855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20859 ac_save_CXXFLAGS="$CXXFLAGS"
20860 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20861 ac_save_LIBS="$LIBS"
20863 ac_has_clock_monotonic=no
20864 ac_has_clock_realtime=no
20865 ac_has_nanosleep=no
20866 ac_has_sched_yield=no
20868 if test x"$enable_libstdcxx_time" = x"auto"; then
20870 case "${target_os}" in
20871 cygwin*)
20872 ac_has_nanosleep=yes
20874 mingw*)
20875 ac_has_win32_sleep=yes
20876 ac_has_sched_yield=yes
20878 darwin*)
20879 ac_has_nanosleep=yes
20880 ac_has_sched_yield=yes
20882 # VxWorks has nanosleep as soon as the kernel is configured with
20883 # INCLUDE_POSIX_TIMERS, which is normally/most-often the case.
20884 vxworks*)
20885 ac_has_nanosleep=yes
20887 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20888 # Don't use link test for freestanding library, in case gcc_no_link=yes
20889 if test x"$is_hosted" = xyes; then
20890 # Versions of glibc before 2.17 needed -lrt for clock_gettime.
20891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20892 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20893 if ${ac_cv_search_clock_gettime+:} false; then :
20894 $as_echo_n "(cached) " >&6
20895 else
20896 ac_func_search_save_LIBS=$LIBS
20897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20898 /* end confdefs.h. */
20900 /* Override any GCC internal prototype to avoid an error.
20901 Use char because int might match the return type of a GCC
20902 builtin and then its argument prototype would still apply. */
20903 #ifdef __cplusplus
20904 extern "C"
20905 #endif
20906 char clock_gettime ();
20908 main ()
20910 return clock_gettime ();
20912 return 0;
20914 _ACEOF
20915 for ac_lib in '' rt; do
20916 if test -z "$ac_lib"; then
20917 ac_res="none required"
20918 else
20919 ac_res=-l$ac_lib
20920 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20922 if test x$gcc_no_link = xyes; then
20923 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20925 if ac_fn_cxx_try_link "$LINENO"; then :
20926 ac_cv_search_clock_gettime=$ac_res
20928 rm -f core conftest.err conftest.$ac_objext \
20929 conftest$ac_exeext
20930 if ${ac_cv_search_clock_gettime+:} false; then :
20931 break
20933 done
20934 if ${ac_cv_search_clock_gettime+:} false; then :
20936 else
20937 ac_cv_search_clock_gettime=no
20939 rm conftest.$ac_ext
20940 LIBS=$ac_func_search_save_LIBS
20942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20943 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20944 ac_res=$ac_cv_search_clock_gettime
20945 if test "$ac_res" != no; then :
20946 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20950 if test x"$ac_cv_search_clock_gettime" = x"none required"; then
20951 ac_has_clock_monotonic=yes
20952 ac_has_clock_realtime=yes
20955 ac_has_nanosleep=yes
20956 ac_has_sched_yield=yes
20958 freebsd*|netbsd*|dragonfly*|rtems*)
20959 ac_has_clock_monotonic=yes
20960 ac_has_clock_realtime=yes
20961 ac_has_nanosleep=yes
20962 ac_has_sched_yield=yes
20964 openbsd*)
20965 ac_has_clock_monotonic=yes
20966 ac_has_clock_realtime=yes
20967 ac_has_nanosleep=yes
20969 solaris*)
20970 ac_has_clock_monotonic=yes
20971 ac_has_clock_realtime=yes
20972 ac_has_nanosleep=yes
20973 ac_has_sched_yield=yes
20975 uclinux*)
20976 ac_has_nanosleep=yes
20977 ac_has_sched_yield=yes
20978 esac
20980 elif test x"$enable_libstdcxx_time" != x"no"; then
20982 if test x"$enable_libstdcxx_time" = x"rt"; then
20983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20984 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20985 if ${ac_cv_search_clock_gettime+:} false; then :
20986 $as_echo_n "(cached) " >&6
20987 else
20988 ac_func_search_save_LIBS=$LIBS
20989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20990 /* end confdefs.h. */
20992 /* Override any GCC internal prototype to avoid an error.
20993 Use char because int might match the return type of a GCC
20994 builtin and then its argument prototype would still apply. */
20995 #ifdef __cplusplus
20996 extern "C"
20997 #endif
20998 char clock_gettime ();
21000 main ()
21002 return clock_gettime ();
21004 return 0;
21006 _ACEOF
21007 for ac_lib in '' rt; do
21008 if test -z "$ac_lib"; then
21009 ac_res="none required"
21010 else
21011 ac_res=-l$ac_lib
21012 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21014 if test x$gcc_no_link = xyes; then
21015 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21017 if ac_fn_cxx_try_link "$LINENO"; then :
21018 ac_cv_search_clock_gettime=$ac_res
21020 rm -f core conftest.err conftest.$ac_objext \
21021 conftest$ac_exeext
21022 if ${ac_cv_search_clock_gettime+:} false; then :
21023 break
21025 done
21026 if ${ac_cv_search_clock_gettime+:} false; then :
21028 else
21029 ac_cv_search_clock_gettime=no
21031 rm conftest.$ac_ext
21032 LIBS=$ac_func_search_save_LIBS
21034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
21035 $as_echo "$ac_cv_search_clock_gettime" >&6; }
21036 ac_res=$ac_cv_search_clock_gettime
21037 if test "$ac_res" != no; then :
21038 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
21043 $as_echo_n "checking for library containing nanosleep... " >&6; }
21044 if ${ac_cv_search_nanosleep+:} false; then :
21045 $as_echo_n "(cached) " >&6
21046 else
21047 ac_func_search_save_LIBS=$LIBS
21048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21049 /* end confdefs.h. */
21051 /* Override any GCC internal prototype to avoid an error.
21052 Use char because int might match the return type of a GCC
21053 builtin and then its argument prototype would still apply. */
21054 #ifdef __cplusplus
21055 extern "C"
21056 #endif
21057 char nanosleep ();
21059 main ()
21061 return nanosleep ();
21063 return 0;
21065 _ACEOF
21066 for ac_lib in '' rt; do
21067 if test -z "$ac_lib"; then
21068 ac_res="none required"
21069 else
21070 ac_res=-l$ac_lib
21071 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21073 if test x$gcc_no_link = xyes; then
21074 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21076 if ac_fn_cxx_try_link "$LINENO"; then :
21077 ac_cv_search_nanosleep=$ac_res
21079 rm -f core conftest.err conftest.$ac_objext \
21080 conftest$ac_exeext
21081 if ${ac_cv_search_nanosleep+:} false; then :
21082 break
21084 done
21085 if ${ac_cv_search_nanosleep+:} false; then :
21087 else
21088 ac_cv_search_nanosleep=no
21090 rm conftest.$ac_ext
21091 LIBS=$ac_func_search_save_LIBS
21093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
21094 $as_echo "$ac_cv_search_nanosleep" >&6; }
21095 ac_res=$ac_cv_search_nanosleep
21096 if test "$ac_res" != no; then :
21097 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21101 else
21102 ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
21103 if test "x$ac_cv_func_clock_gettime" = xyes; then :
21107 ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
21108 if test "x$ac_cv_func_nanosleep" = xyes; then :
21114 case "$ac_cv_search_clock_gettime" in
21115 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
21117 esac
21118 case "$ac_cv_search_nanosleep" in
21119 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
21121 esac
21123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
21124 $as_echo_n "checking for library containing sched_yield... " >&6; }
21125 if ${ac_cv_search_sched_yield+:} false; then :
21126 $as_echo_n "(cached) " >&6
21127 else
21128 ac_func_search_save_LIBS=$LIBS
21129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21130 /* end confdefs.h. */
21132 /* Override any GCC internal prototype to avoid an error.
21133 Use char because int might match the return type of a GCC
21134 builtin and then its argument prototype would still apply. */
21135 #ifdef __cplusplus
21136 extern "C"
21137 #endif
21138 char sched_yield ();
21140 main ()
21142 return sched_yield ();
21144 return 0;
21146 _ACEOF
21147 for ac_lib in '' rt; do
21148 if test -z "$ac_lib"; then
21149 ac_res="none required"
21150 else
21151 ac_res=-l$ac_lib
21152 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21154 if test x$gcc_no_link = xyes; then
21155 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21157 if ac_fn_cxx_try_link "$LINENO"; then :
21158 ac_cv_search_sched_yield=$ac_res
21160 rm -f core conftest.err conftest.$ac_objext \
21161 conftest$ac_exeext
21162 if ${ac_cv_search_sched_yield+:} false; then :
21163 break
21165 done
21166 if ${ac_cv_search_sched_yield+:} false; then :
21168 else
21169 ac_cv_search_sched_yield=no
21171 rm conftest.$ac_ext
21172 LIBS=$ac_func_search_save_LIBS
21174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
21175 $as_echo "$ac_cv_search_sched_yield" >&6; }
21176 ac_res=$ac_cv_search_sched_yield
21177 if test "$ac_res" != no; then :
21178 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21183 case "$ac_cv_search_sched_yield" in
21184 -lrt*)
21185 if test x"$enable_libstdcxx_time" = x"rt"; then
21186 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
21187 ac_has_sched_yield=yes
21191 ac_has_sched_yield=yes
21193 esac
21195 for ac_header in unistd.h
21196 do :
21197 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21198 if test "x$ac_cv_header_unistd_h" = xyes; then :
21199 cat >>confdefs.h <<_ACEOF
21200 #define HAVE_UNISTD_H 1
21201 _ACEOF
21202 ac_has_unistd_h=yes
21203 else
21204 ac_has_unistd_h=no
21207 done
21210 if test x"$ac_has_unistd_h" = x"yes"; then
21211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
21212 $as_echo_n "checking for monotonic clock... " >&6; }
21213 if test x$gcc_no_link = xyes; then
21214 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21217 /* end confdefs.h. */
21218 #include <unistd.h>
21219 #include <time.h>
21222 main ()
21224 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21225 timespec tp;
21226 #endif
21227 clock_gettime(CLOCK_MONOTONIC, &tp);
21230 return 0;
21232 _ACEOF
21233 if ac_fn_cxx_try_link "$LINENO"; then :
21234 ac_has_clock_monotonic=yes
21235 else
21236 ac_has_clock_monotonic=no
21238 rm -f core conftest.err conftest.$ac_objext \
21239 conftest$ac_exeext conftest.$ac_ext
21241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
21242 $as_echo "$ac_has_clock_monotonic" >&6; }
21244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
21245 $as_echo_n "checking for realtime clock... " >&6; }
21246 if test x$gcc_no_link = xyes; then
21247 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21250 /* end confdefs.h. */
21251 #include <unistd.h>
21252 #include <time.h>
21255 main ()
21257 #if _POSIX_TIMERS > 0
21258 timespec tp;
21259 #endif
21260 clock_gettime(CLOCK_REALTIME, &tp);
21263 return 0;
21265 _ACEOF
21266 if ac_fn_cxx_try_link "$LINENO"; then :
21267 ac_has_clock_realtime=yes
21268 else
21269 ac_has_clock_realtime=no
21271 rm -f core conftest.err conftest.$ac_objext \
21272 conftest$ac_exeext conftest.$ac_ext
21274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
21275 $as_echo "$ac_has_clock_realtime" >&6; }
21277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
21278 $as_echo_n "checking for nanosleep... " >&6; }
21279 if test x$gcc_no_link = xyes; then
21280 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21283 /* end confdefs.h. */
21284 #include <unistd.h>
21285 #include <time.h>
21288 main ()
21290 #if _POSIX_TIMERS > 0
21291 timespec tp;
21292 #endif
21293 nanosleep(&tp, 0);
21296 return 0;
21298 _ACEOF
21299 if ac_fn_cxx_try_link "$LINENO"; then :
21300 ac_has_nanosleep=yes
21301 else
21302 ac_has_nanosleep=no
21304 rm -f core conftest.err conftest.$ac_objext \
21305 conftest$ac_exeext conftest.$ac_ext
21307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
21308 $as_echo "$ac_has_nanosleep" >&6; }
21312 if test x"$ac_has_clock_monotonic" != x"yes"; then
21313 case ${target_os} in
21314 linux* | uclinux*)
21315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
21316 $as_echo_n "checking for clock_gettime syscall... " >&6; }
21317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21318 /* end confdefs.h. */
21319 #include <unistd.h>
21320 #include <time.h>
21321 #include <sys/syscall.h>
21324 main ()
21326 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21327 timespec tp;
21328 #endif
21329 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
21330 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
21333 return 0;
21335 _ACEOF
21336 if ac_fn_cxx_try_compile "$LINENO"; then :
21337 ac_has_clock_gettime_syscall=yes
21338 else
21339 ac_has_clock_gettime_syscall=no
21341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_gettime_syscall" >&5
21343 $as_echo "$ac_has_clock_gettime_syscall" >&6; }
21344 if test x"$ac_has_clock_gettime_syscall" = x"yes"; then
21346 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
21348 ac_has_clock_monotonic=yes
21349 ac_has_clock_realtime=yes
21350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec that matches syscall" >&5
21351 $as_echo_n "checking for struct timespec that matches syscall... " >&6; }
21352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21353 /* end confdefs.h. */
21354 #include <time.h>
21355 #include <sys/syscall.h>
21358 main ()
21360 #ifdef SYS_clock_gettime64
21361 #if SYS_clock_gettime64 != SYS_clock_gettime
21362 // We need to use SYS_clock_gettime and libc appears to
21363 // also know about the SYS_clock_gettime64 syscall.
21364 // Check that userspace doesn't use time64 version of timespec.
21365 static_assert(sizeof(timespec::tv_sec) == sizeof(long),
21366 "struct timespec must be compatible with SYS_clock_gettime");
21367 #endif
21368 #endif
21371 return 0;
21373 _ACEOF
21374 if ac_fn_cxx_try_compile "$LINENO"; then :
21375 ac_timespec_matches_syscall=yes
21376 else
21377 ac_timespec_matches_syscall=no
21379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_timespec_matches_syscall" >&5
21381 $as_echo "$ac_timespec_matches_syscall" >&6; }
21382 if test x"$ac_timespec_matches_syscall" = no; then
21383 as_fn_error $? "struct timespec is not compatible with SYS_clock_gettime, please report a bug to http://gcc.gnu.org/bugzilla" "$LINENO" 5
21385 fi;;
21386 esac
21389 if test x"$ac_has_clock_monotonic" = x"yes"; then
21391 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21395 if test x"$ac_has_clock_realtime" = x"yes"; then
21397 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21401 if test x"$ac_has_sched_yield" = x"yes"; then
21403 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21407 if test x"$ac_has_nanosleep" = x"yes"; then
21409 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21411 elif test x"$ac_has_win32_sleep" = x"yes"; then
21413 $as_echo "#define _GLIBCXX_USE_WIN32_SLEEP 1" >>confdefs.h
21415 else
21416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21417 $as_echo_n "checking for sleep... " >&6; }
21418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21419 /* end confdefs.h. */
21420 #include <unistd.h>
21422 main ()
21424 sleep(1)
21426 return 0;
21428 _ACEOF
21429 if ac_fn_cxx_try_compile "$LINENO"; then :
21430 ac_has_sleep=yes
21431 else
21432 ac_has_sleep=no
21434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21435 if test x"$ac_has_sleep" = x"yes"; then
21437 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21441 $as_echo "$ac_has_sleep" >&6; }
21442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21443 $as_echo_n "checking for usleep... " >&6; }
21444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21445 /* end confdefs.h. */
21446 #include <unistd.h>
21448 main ()
21450 sleep(1);
21451 usleep(100);
21453 return 0;
21455 _ACEOF
21456 if ac_fn_cxx_try_compile "$LINENO"; then :
21457 ac_has_usleep=yes
21458 else
21459 ac_has_usleep=no
21461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21462 if test x"$ac_has_usleep" = x"yes"; then
21464 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21468 $as_echo "$ac_has_usleep" >&6; }
21471 if test x"$ac_has_nanosleep$ac_has_win32_sleep$ac_has_sleep" = x"nonono"; then
21473 $as_echo "#define _GLIBCXX_NO_SLEEP 1" >>confdefs.h
21479 CXXFLAGS="$ac_save_CXXFLAGS"
21480 LIBS="$ac_save_LIBS"
21481 ac_ext=c
21482 ac_cpp='$CPP $CPPFLAGS'
21483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21489 # Check for tmpnam which is obsolescent in POSIX.1-2008
21491 ac_ext=cpp
21492 ac_cpp='$CXXCPP $CPPFLAGS'
21493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21497 ac_save_CXXFLAGS="$CXXFLAGS"
21498 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21500 $as_echo_n "checking for tmpnam... " >&6; }
21501 if ${glibcxx_cv_TMPNAM+:} false; then :
21502 $as_echo_n "(cached) " >&6
21503 else
21504 if test x$gcc_no_link = xyes; then
21505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21506 /* end confdefs.h. */
21507 #include <stdio.h>
21509 main ()
21511 char *tmp = tmpnam(NULL);
21513 return 0;
21515 _ACEOF
21516 if ac_fn_cxx_try_compile "$LINENO"; then :
21517 glibcxx_cv_TMPNAM=yes
21518 else
21519 glibcxx_cv_TMPNAM=no
21521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21522 else
21523 if test x$gcc_no_link = xyes; then
21524 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21527 /* end confdefs.h. */
21528 #include <stdio.h>
21530 main ()
21532 char *tmp = tmpnam(NULL);
21534 return 0;
21536 _ACEOF
21537 if ac_fn_cxx_try_link "$LINENO"; then :
21538 glibcxx_cv_TMPNAM=yes
21539 else
21540 glibcxx_cv_TMPNAM=no
21542 rm -f core conftest.err conftest.$ac_objext \
21543 conftest$ac_exeext conftest.$ac_ext
21547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21548 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21549 if test $glibcxx_cv_TMPNAM = yes; then
21551 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21554 CXXFLAGS="$ac_save_CXXFLAGS"
21555 ac_ext=c
21556 ac_cpp='$CPP $CPPFLAGS'
21557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21563 # For pthread_cond_clockwait
21567 ac_ext=cpp
21568 ac_cpp='$CXXCPP $CPPFLAGS'
21569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21573 ac_save_CXXFLAGS="$CXXFLAGS"
21574 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21575 ac_save_LIBS="$LIBS"
21576 LIBS="$LIBS -lpthread"
21578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_clockwait" >&5
21579 $as_echo_n "checking for pthread_cond_clockwait... " >&6; }
21580 if ${glibcxx_cv_PTHREAD_COND_CLOCKWAIT+:} false; then :
21581 $as_echo_n "(cached) " >&6
21582 else
21584 if test x$gcc_no_link = xyes; then
21585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21586 /* end confdefs.h. */
21587 #include <pthread.h>
21589 main ()
21591 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21593 return 0;
21595 _ACEOF
21596 if ac_fn_cxx_try_compile "$LINENO"; then :
21597 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21598 else
21599 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21602 else
21603 if test x$gcc_no_link = xyes; then
21604 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21607 /* end confdefs.h. */
21608 #include <pthread.h>
21610 main ()
21612 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21614 return 0;
21616 _ACEOF
21617 if ac_fn_cxx_try_link "$LINENO"; then :
21618 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21619 else
21620 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21622 rm -f core conftest.err conftest.$ac_objext \
21623 conftest$ac_exeext conftest.$ac_ext
21627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&5
21628 $as_echo "$glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&6; }
21629 if test $glibcxx_cv_PTHREAD_COND_CLOCKWAIT = yes; then
21631 $as_echo "#define _GLIBCXX_USE_PTHREAD_COND_CLOCKWAIT 1" >>confdefs.h
21635 CXXFLAGS="$ac_save_CXXFLAGS"
21636 LIBS="$ac_save_LIBS"
21637 ac_ext=c
21638 ac_cpp='$CPP $CPPFLAGS'
21639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21645 # For pthread_mutex_clocklock
21649 ac_ext=cpp
21650 ac_cpp='$CXXCPP $CPPFLAGS'
21651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21655 ac_save_CXXFLAGS="$CXXFLAGS"
21656 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21657 ac_save_LIBS="$LIBS"
21658 LIBS="$LIBS -lpthread"
21660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_clocklock" >&5
21661 $as_echo_n "checking for pthread_mutex_clocklock... " >&6; }
21662 if ${glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK+:} false; then :
21663 $as_echo_n "(cached) " >&6
21664 else
21666 if test x$gcc_no_link = xyes; then
21667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21668 /* end confdefs.h. */
21669 #include <pthread.h>
21671 main ()
21673 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21675 return 0;
21677 _ACEOF
21678 if ac_fn_cxx_try_compile "$LINENO"; then :
21679 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21680 else
21681 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21684 else
21685 if test x$gcc_no_link = xyes; then
21686 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21689 /* end confdefs.h. */
21690 #include <pthread.h>
21692 main ()
21694 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21696 return 0;
21698 _ACEOF
21699 if ac_fn_cxx_try_link "$LINENO"; then :
21700 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21701 else
21702 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21704 rm -f core conftest.err conftest.$ac_objext \
21705 conftest$ac_exeext conftest.$ac_ext
21709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&5
21710 $as_echo "$glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&6; }
21711 if test $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK = yes; then
21713 $as_echo "#define _GLIBCXX_USE_PTHREAD_MUTEX_CLOCKLOCK (_GLIBCXX_TSAN==0)" >>confdefs.h
21717 CXXFLAGS="$ac_save_CXXFLAGS"
21718 LIBS="$ac_save_LIBS"
21719 ac_ext=c
21720 ac_cpp='$CPP $CPPFLAGS'
21721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21727 # For pthread_rwlock_clockrdlock and pthread_rwlock_clockwrlock
21731 ac_ext=cpp
21732 ac_cpp='$CXXCPP $CPPFLAGS'
21733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21737 ac_save_CXXFLAGS="$CXXFLAGS"
21738 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21739 ac_save_LIBS="$LIBS"
21740 LIBS="$LIBS -lpthread"
21742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock" >&5
21743 $as_echo_n "checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock... " >&6; }
21744 if ${glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK+:} false; then :
21745 $as_echo_n "(cached) " >&6
21746 else
21748 if test x$gcc_no_link = xyes; then
21749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21750 /* end confdefs.h. */
21751 #include <pthread.h>
21753 main ()
21755 pthread_rwlock_t rwl; struct timespec ts;
21756 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
21757 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
21759 return 0;
21761 _ACEOF
21762 if ac_fn_cxx_try_compile "$LINENO"; then :
21763 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
21764 else
21765 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
21767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21768 else
21769 if test x$gcc_no_link = xyes; then
21770 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21773 /* end confdefs.h. */
21774 #include <pthread.h>
21776 main ()
21778 pthread_rwlock_t rwl; struct timespec ts;
21779 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
21780 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
21782 return 0;
21784 _ACEOF
21785 if ac_fn_cxx_try_link "$LINENO"; then :
21786 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
21787 else
21788 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
21790 rm -f core conftest.err conftest.$ac_objext \
21791 conftest$ac_exeext conftest.$ac_ext
21795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&5
21796 $as_echo "$glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&6; }
21797 if test $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK = yes; then
21799 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_CLOCKLOCK 1" >>confdefs.h
21803 CXXFLAGS="$ac_save_CXXFLAGS"
21804 LIBS="$ac_save_LIBS"
21805 ac_ext=c
21806 ac_cpp='$CPP $CPPFLAGS'
21807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21814 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21815 if test "x$ac_cv_header_locale_h" = xyes; then :
21817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21818 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21819 if ${ac_cv_val_LC_MESSAGES+:} false; then :
21820 $as_echo_n "(cached) " >&6
21821 else
21822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21823 /* end confdefs.h. */
21824 #include <locale.h>
21826 main ()
21828 return LC_MESSAGES
21830 return 0;
21832 _ACEOF
21833 if ac_fn_c_try_compile "$LINENO"; then :
21834 ac_cv_val_LC_MESSAGES=yes
21835 else
21836 ac_cv_val_LC_MESSAGES=no
21838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21841 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21842 if test $ac_cv_val_LC_MESSAGES = yes; then
21844 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21853 # For hardware_concurrency
21854 for ac_header in sys/sysinfo.h
21855 do :
21856 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21857 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
21858 cat >>confdefs.h <<_ACEOF
21859 #define HAVE_SYS_SYSINFO_H 1
21860 _ACEOF
21864 done
21869 ac_ext=cpp
21870 ac_cpp='$CXXCPP $CPPFLAGS'
21871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21875 ac_save_CXXFLAGS="$CXXFLAGS"
21876 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21879 $as_echo_n "checking for get_nprocs... " >&6; }
21880 if ${glibcxx_cv_GET_NPROCS+:} false; then :
21881 $as_echo_n "(cached) " >&6
21882 else
21884 if test x$gcc_no_link = xyes; then
21885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21886 /* end confdefs.h. */
21887 #include <sys/sysinfo.h>
21889 main ()
21891 int n = get_nprocs();
21893 return 0;
21895 _ACEOF
21896 if ac_fn_cxx_try_compile "$LINENO"; then :
21897 glibcxx_cv_GET_NPROCS=yes
21898 else
21899 glibcxx_cv_GET_NPROCS=no
21901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21902 else
21903 if test x$gcc_no_link = xyes; then
21904 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21907 /* end confdefs.h. */
21908 #include <sys/sysinfo.h>
21910 main ()
21912 int n = get_nprocs();
21914 return 0;
21916 _ACEOF
21917 if ac_fn_cxx_try_link "$LINENO"; then :
21918 glibcxx_cv_GET_NPROCS=yes
21919 else
21920 glibcxx_cv_GET_NPROCS=no
21922 rm -f core conftest.err conftest.$ac_objext \
21923 conftest$ac_exeext conftest.$ac_ext
21927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21928 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21929 if test $glibcxx_cv_GET_NPROCS = yes; then
21931 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21935 CXXFLAGS="$ac_save_CXXFLAGS"
21936 ac_ext=c
21937 ac_cpp='$CPP $CPPFLAGS'
21938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21943 for ac_header in unistd.h
21944 do :
21945 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21946 if test "x$ac_cv_header_unistd_h" = xyes; then :
21947 cat >>confdefs.h <<_ACEOF
21948 #define HAVE_UNISTD_H 1
21949 _ACEOF
21953 done
21958 ac_ext=cpp
21959 ac_cpp='$CXXCPP $CPPFLAGS'
21960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21964 ac_save_CXXFLAGS="$CXXFLAGS"
21965 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21968 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21969 if ${glibcxx_cv_SC_NPROCESSORS_ONLN+:} false; then :
21970 $as_echo_n "(cached) " >&6
21971 else
21973 if test x$gcc_no_link = xyes; then
21974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21975 /* end confdefs.h. */
21976 #include <unistd.h>
21978 main ()
21980 int n = sysconf(_SC_NPROCESSORS_ONLN);
21982 return 0;
21984 _ACEOF
21985 if ac_fn_cxx_try_compile "$LINENO"; then :
21986 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21987 else
21988 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21991 else
21992 if test x$gcc_no_link = xyes; then
21993 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21996 /* end confdefs.h. */
21997 #include <unistd.h>
21999 main ()
22001 int n = sysconf(_SC_NPROCESSORS_ONLN);
22003 return 0;
22005 _ACEOF
22006 if ac_fn_cxx_try_link "$LINENO"; then :
22007 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
22008 else
22009 glibcxx_cv_SC_NPROCESSORS_ONLN=no
22011 rm -f core conftest.err conftest.$ac_objext \
22012 conftest$ac_exeext conftest.$ac_ext
22016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
22017 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
22018 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
22020 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
22024 CXXFLAGS="$ac_save_CXXFLAGS"
22025 ac_ext=c
22026 ac_cpp='$CPP $CPPFLAGS'
22027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22035 ac_ext=cpp
22036 ac_cpp='$CXXCPP $CPPFLAGS'
22037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22041 ac_save_CXXFLAGS="$CXXFLAGS"
22042 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
22045 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
22046 if ${glibcxx_cv_SC_NPROC_ONLN+:} false; then :
22047 $as_echo_n "(cached) " >&6
22048 else
22050 if test x$gcc_no_link = xyes; then
22051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22052 /* end confdefs.h. */
22053 #include <unistd.h>
22055 main ()
22057 int n = sysconf(_SC_NPROC_ONLN);
22059 return 0;
22061 _ACEOF
22062 if ac_fn_cxx_try_compile "$LINENO"; then :
22063 glibcxx_cv_SC_NPROC_ONLN=yes
22064 else
22065 glibcxx_cv_SC_NPROC_ONLN=no
22067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22068 else
22069 if test x$gcc_no_link = xyes; then
22070 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22073 /* end confdefs.h. */
22074 #include <unistd.h>
22076 main ()
22078 int n = sysconf(_SC_NPROC_ONLN);
22080 return 0;
22082 _ACEOF
22083 if ac_fn_cxx_try_link "$LINENO"; then :
22084 glibcxx_cv_SC_NPROC_ONLN=yes
22085 else
22086 glibcxx_cv_SC_NPROC_ONLN=no
22088 rm -f core conftest.err conftest.$ac_objext \
22089 conftest$ac_exeext conftest.$ac_ext
22093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
22094 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
22095 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
22097 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
22101 CXXFLAGS="$ac_save_CXXFLAGS"
22102 ac_ext=c
22103 ac_cpp='$CPP $CPPFLAGS'
22104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22112 ac_ext=cpp
22113 ac_cpp='$CXXCPP $CPPFLAGS'
22114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22118 ac_save_CXXFLAGS="$CXXFLAGS"
22119 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
22122 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
22123 if ${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+:} false; then :
22124 $as_echo_n "(cached) " >&6
22125 else
22127 if test x$gcc_no_link = xyes; then
22128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22129 /* end confdefs.h. */
22130 #include <pthread.h>
22132 main ()
22134 int n = pthread_num_processors_np();
22136 return 0;
22138 _ACEOF
22139 if ac_fn_cxx_try_compile "$LINENO"; then :
22140 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
22141 else
22142 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
22144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22145 else
22146 if test x$gcc_no_link = xyes; then
22147 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22150 /* end confdefs.h. */
22151 #include <pthread.h>
22153 main ()
22155 int n = pthread_num_processors_np();
22157 return 0;
22159 _ACEOF
22160 if ac_fn_cxx_try_link "$LINENO"; then :
22161 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
22162 else
22163 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
22165 rm -f core conftest.err conftest.$ac_objext \
22166 conftest$ac_exeext conftest.$ac_ext
22170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
22171 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
22172 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
22174 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
22178 CXXFLAGS="$ac_save_CXXFLAGS"
22179 ac_ext=c
22180 ac_cpp='$CPP $CPPFLAGS'
22181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22189 ac_ext=cpp
22190 ac_cpp='$CXXCPP $CPPFLAGS'
22191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22195 ac_save_CXXFLAGS="$CXXFLAGS"
22196 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
22199 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
22200 if ${glibcxx_cv_SYSCTL_HW_NCPU+:} false; then :
22201 $as_echo_n "(cached) " >&6
22202 else
22204 if test x$gcc_no_link = xyes; then
22205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22206 /* end confdefs.h. */
22208 #include <stddef.h>
22209 #include <sys/sysctl.h>
22212 main ()
22215 int count;
22216 size_t size = sizeof(count);
22217 int mib[] = { CTL_HW, HW_NCPU };
22218 sysctl(mib, 2, &count, &size, NULL, 0);
22221 return 0;
22223 _ACEOF
22224 if ac_fn_cxx_try_compile "$LINENO"; then :
22225 glibcxx_cv_SYSCTL_HW_NCPU=yes
22226 else
22227 glibcxx_cv_SYSCTL_HW_NCPU=no
22229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22230 else
22231 if test x$gcc_no_link = xyes; then
22232 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22235 /* end confdefs.h. */
22237 #include <stddef.h>
22238 #include <sys/sysctl.h>
22241 main ()
22244 int count;
22245 size_t size = sizeof(count);
22246 int mib[] = { CTL_HW, HW_NCPU };
22247 sysctl(mib, 2, &count, &size, NULL, 0);
22250 return 0;
22252 _ACEOF
22253 if ac_fn_cxx_try_link "$LINENO"; then :
22254 glibcxx_cv_SYSCTL_HW_NCPU=yes
22255 else
22256 glibcxx_cv_SYSCTL_HW_NCPU=no
22258 rm -f core conftest.err conftest.$ac_objext \
22259 conftest$ac_exeext conftest.$ac_ext
22263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
22264 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
22265 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
22267 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
22271 CXXFLAGS="$ac_save_CXXFLAGS"
22272 ac_ext=c
22273 ac_cpp='$CPP $CPPFLAGS'
22274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22280 # Note that this test has to be run with the C language.
22281 # Otherwise, sdt.h will try to include some headers from
22282 # libstdc++ itself.
22284 ac_ext=c
22285 ac_cpp='$CPP $CPPFLAGS'
22286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
22291 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
22292 if ${glibcxx_cv_sys_sdt_h+:} false; then :
22293 $as_echo_n "(cached) " >&6
22294 else
22296 # Because we have to run the test in C, we use grep rather
22297 # than the compiler to check for the bug. The bug is that
22298 # were strings without trailing whitespace, causing g++
22299 # to look for operator"". The pattern searches for the fixed
22300 # output.
22301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22302 /* end confdefs.h. */
22304 #include <sys/sdt.h>
22305 int f() { STAP_PROBE(hi, bob); }
22307 _ACEOF
22308 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22309 $EGREP " \",\" " >/dev/null 2>&1; then :
22310 glibcxx_cv_sys_sdt_h=yes
22311 else
22312 glibcxx_cv_sys_sdt_h=no
22314 rm -f conftest*
22318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
22319 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
22320 ac_ext=c
22321 ac_cpp='$CPP $CPPFLAGS'
22322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22326 if test $glibcxx_cv_sys_sdt_h = yes; then
22328 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
22333 # Check for available headers.
22334 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
22335 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
22336 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
22337 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
22338 wchar.h wctype.h linux/types.h
22339 do :
22340 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22341 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
22342 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
22343 cat >>confdefs.h <<_ACEOF
22344 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22345 _ACEOF
22349 done
22352 for ac_header in linux/random.h
22353 do :
22354 ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
22355 # include <linux/types.h>
22356 #endif
22359 if test "x$ac_cv_header_linux_random_h" = xyes; then :
22360 cat >>confdefs.h <<_ACEOF
22361 #define HAVE_LINUX_RANDOM_H 1
22362 _ACEOF
22366 done
22369 for ac_header in xlocale.h
22370 do :
22371 ac_fn_c_check_header_mongrel "$LINENO" "xlocale.h" "ac_cv_header_xlocale_h" "$ac_includes_default"
22372 if test "x$ac_cv_header_xlocale_h" = xyes; then :
22373 cat >>confdefs.h <<_ACEOF
22374 #define HAVE_XLOCALE_H 1
22375 _ACEOF
22379 done
22382 # Only do link tests if native. Else, hardcode.
22383 if $GLIBCXX_IS_NATIVE; then
22385 # We can do more elaborate tests that assume a working linker.
22386 CANADIAN=no
22390 # Check whether --with-gnu-ld was given.
22391 if test "${with_gnu_ld+set}" = set; then :
22392 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
22393 else
22394 with_gnu_ld=no
22397 ac_prog=ld
22398 if test "$GCC" = yes; then
22399 # Check if gcc -print-prog-name=ld gives a path.
22400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
22401 $as_echo_n "checking for ld used by $CC... " >&6; }
22402 case $host in
22403 *-*-mingw*)
22404 # gcc leaves a trailing carriage return which upsets mingw
22405 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
22407 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
22408 esac
22409 case $ac_prog in
22410 # Accept absolute paths.
22411 [\\/]* | ?:[\\/]*)
22412 re_direlt='/[^/][^/]*/\.\./'
22413 # Canonicalize the pathname of ld
22414 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
22415 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
22416 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
22417 done
22418 test -z "$LD" && LD="$ac_prog"
22421 # If it fails, then pretend we aren't using GCC.
22422 ac_prog=ld
22425 # If it is relative, then search for the first ld in PATH.
22426 with_gnu_ld=unknown
22428 esac
22429 elif test "$with_gnu_ld" = yes; then
22430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
22431 $as_echo_n "checking for GNU ld... " >&6; }
22432 else
22433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
22434 $as_echo_n "checking for non-GNU ld... " >&6; }
22436 if ${lt_cv_path_LD+:} false; then :
22437 $as_echo_n "(cached) " >&6
22438 else
22439 if test -z "$LD"; then
22440 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
22441 for ac_dir in $PATH; do
22442 IFS="$lt_save_ifs"
22443 test -z "$ac_dir" && ac_dir=.
22444 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
22445 lt_cv_path_LD="$ac_dir/$ac_prog"
22446 # Check to see if the program is GNU ld. I'd rather use --version,
22447 # but apparently some variants of GNU ld only accept -v.
22448 # Break only if it was the GNU/non-GNU ld that we prefer.
22449 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
22450 *GNU* | *'with BFD'*)
22451 test "$with_gnu_ld" != no && break
22454 test "$with_gnu_ld" != yes && break
22456 esac
22458 done
22459 IFS="$lt_save_ifs"
22460 else
22461 lt_cv_path_LD="$LD" # Let the user override the test with a path.
22465 LD="$lt_cv_path_LD"
22466 if test -n "$LD"; then
22467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
22468 $as_echo "$LD" >&6; }
22469 else
22470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22471 $as_echo "no" >&6; }
22473 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
22474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
22475 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
22476 if ${lt_cv_prog_gnu_ld+:} false; then :
22477 $as_echo_n "(cached) " >&6
22478 else
22479 # I'd rather use --version here, but apparently some GNU lds only accept -v.
22480 case `$LD -v 2>&1 </dev/null` in
22481 *GNU* | *'with BFD'*)
22482 lt_cv_prog_gnu_ld=yes
22485 lt_cv_prog_gnu_ld=no
22487 esac
22489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
22490 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
22491 with_gnu_ld=$lt_cv_prog_gnu_ld
22499 # If we're not using GNU ld, then there's no point in even trying these
22500 # tests. Check for that first. We should have already tested for gld
22501 # by now (in libtool), but require it now just to be safe...
22502 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
22503 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
22507 # The name set by libtool depends on the version of libtool. Shame on us
22508 # for depending on an impl detail, but c'est la vie. Older versions used
22509 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
22510 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
22511 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
22512 # set (hence we're using an older libtool), then set it.
22513 if test x${with_gnu_ld+set} != xset; then
22514 if test x${ac_cv_prog_gnu_ld+set} != xset; then
22515 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
22516 with_gnu_ld=no
22517 else
22518 with_gnu_ld=$ac_cv_prog_gnu_ld
22522 # Start by getting the version number. I think the libtool test already
22523 # does some of this, but throws away the result.
22524 glibcxx_ld_is_gold=no
22525 glibcxx_ld_is_mold=no
22526 if test x"$with_gnu_ld" = x"yes"; then
22527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
22528 $as_echo_n "checking for ld version... " >&6; }
22530 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
22531 glibcxx_ld_is_gold=yes
22532 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
22533 glibcxx_ld_is_mold=yes
22535 ldver=`$LD --version 2>/dev/null |
22536 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
22538 glibcxx_gnu_ld_version=`echo $ldver | \
22539 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
22540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
22541 $as_echo "$glibcxx_gnu_ld_version" >&6; }
22544 # Set --gc-sections.
22545 glibcxx_have_gc_sections=no
22546 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
22547 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
22548 glibcxx_have_gc_sections=yes
22550 else
22551 glibcxx_gcsections_min_ld=21602
22552 if test x"$with_gnu_ld" = x"yes" &&
22553 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
22554 glibcxx_have_gc_sections=yes
22557 if test "$glibcxx_have_gc_sections" = "yes"; then
22558 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
22559 # NB: This flag only works reliably after 2.16.1. Configure tests
22560 # for this are difficult, so hard wire a value that should work.
22562 ac_test_CFLAGS="${CFLAGS+set}"
22563 ac_save_CFLAGS="$CFLAGS"
22564 CFLAGS='-Wl,--gc-sections'
22566 # Check for -Wl,--gc-sections
22567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22568 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22569 if test x$gcc_no_link = xyes; then
22570 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22573 /* end confdefs.h. */
22574 int one(void) { return 1; }
22575 int two(void) { return 2; }
22578 main ()
22580 two();
22582 return 0;
22584 _ACEOF
22585 if ac_fn_c_try_link "$LINENO"; then :
22586 ac_gcsections=yes
22587 else
22588 ac_gcsections=no
22590 rm -f core conftest.err conftest.$ac_objext \
22591 conftest$ac_exeext conftest.$ac_ext
22592 if test "$ac_gcsections" = "yes"; then
22593 rm -f conftest.c
22594 touch conftest.c
22595 if $CC -c conftest.c; then
22596 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22597 grep "Warning: gc-sections option ignored" > /dev/null; then
22598 ac_gcsections=no
22601 rm -f conftest.c conftest.o conftest
22603 if test "$ac_gcsections" = "yes"; then
22604 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22607 $as_echo "$ac_gcsections" >&6; }
22609 if test "$ac_test_CFLAGS" = set; then
22610 CFLAGS="$ac_save_CFLAGS"
22611 else
22612 # this is the suspicious part
22613 CFLAGS=''
22617 # Set -z,relro.
22618 # Note this is only for shared objects.
22619 ac_ld_relro=no
22620 if test x"$with_gnu_ld" = x"yes"; then
22621 # cygwin and mingw uses PE, which has no ELF relro support,
22622 # multi target ld may confuse configure machinery
22623 case "$host" in
22624 *-*-cygwin*)
22626 *-*-mingw*)
22629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22630 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22631 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22632 if test -n "$cxx_z_relo"; then
22633 OPT_LDFLAGS="-Wl,-z,relro"
22634 ac_ld_relro=yes
22636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22637 $as_echo "$ac_ld_relro" >&6; }
22638 esac
22641 # Set linker optimization flags.
22642 if test x"$with_gnu_ld" = x"yes"; then
22643 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22650 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22651 ac_save_CXXFLAGS="$CXXFLAGS"
22652 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22655 $as_echo_n "checking for sin in -lm... " >&6; }
22656 if ${ac_cv_lib_m_sin+:} false; then :
22657 $as_echo_n "(cached) " >&6
22658 else
22659 ac_check_lib_save_LIBS=$LIBS
22660 LIBS="-lm $LIBS"
22661 if test x$gcc_no_link = xyes; then
22662 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22665 /* end confdefs.h. */
22667 /* Override any GCC internal prototype to avoid an error.
22668 Use char because int might match the return type of a GCC
22669 builtin and then its argument prototype would still apply. */
22670 #ifdef __cplusplus
22671 extern "C"
22672 #endif
22673 char sin ();
22675 main ()
22677 return sin ();
22679 return 0;
22681 _ACEOF
22682 if ac_fn_c_try_link "$LINENO"; then :
22683 ac_cv_lib_m_sin=yes
22684 else
22685 ac_cv_lib_m_sin=no
22687 rm -f core conftest.err conftest.$ac_objext \
22688 conftest$ac_exeext conftest.$ac_ext
22689 LIBS=$ac_check_lib_save_LIBS
22691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22692 $as_echo "$ac_cv_lib_m_sin" >&6; }
22693 if test "x$ac_cv_lib_m_sin" = xyes; then :
22694 libm="-lm"
22697 ac_save_LIBS="$LIBS"
22698 LIBS="$LIBS $libm"
22702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22703 $as_echo_n "checking for isinf declaration... " >&6; }
22704 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22705 if ${glibcxx_cv_func_isinf_use+:} false; then :
22706 $as_echo_n "(cached) " >&6
22707 else
22710 ac_ext=cpp
22711 ac_cpp='$CXXCPP $CPPFLAGS'
22712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22717 /* end confdefs.h. */
22718 #include <math.h>
22719 #ifdef HAVE_IEEEFP_H
22720 #include <ieeefp.h>
22721 #endif
22724 main ()
22726 isinf(0);
22728 return 0;
22730 _ACEOF
22731 if ac_fn_cxx_try_compile "$LINENO"; then :
22732 glibcxx_cv_func_isinf_use=yes
22733 else
22734 glibcxx_cv_func_isinf_use=no
22736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22737 ac_ext=c
22738 ac_cpp='$CPP $CPPFLAGS'
22739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22748 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22750 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22751 for ac_func in isinf
22752 do :
22753 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22754 if test "x$ac_cv_func_isinf" = xyes; then :
22755 cat >>confdefs.h <<_ACEOF
22756 #define HAVE_ISINF 1
22757 _ACEOF
22760 done
22762 else
22764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22765 $as_echo_n "checking for _isinf declaration... " >&6; }
22766 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22767 if ${glibcxx_cv_func__isinf_use+:} false; then :
22768 $as_echo_n "(cached) " >&6
22769 else
22772 ac_ext=cpp
22773 ac_cpp='$CXXCPP $CPPFLAGS'
22774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22779 /* end confdefs.h. */
22780 #include <math.h>
22781 #ifdef HAVE_IEEEFP_H
22782 #include <ieeefp.h>
22783 #endif
22786 main ()
22788 _isinf(0);
22790 return 0;
22792 _ACEOF
22793 if ac_fn_cxx_try_compile "$LINENO"; then :
22794 glibcxx_cv_func__isinf_use=yes
22795 else
22796 glibcxx_cv_func__isinf_use=no
22798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22799 ac_ext=c
22800 ac_cpp='$CPP $CPPFLAGS'
22801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22810 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22812 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22813 for ac_func in _isinf
22814 do :
22815 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22816 if test "x$ac_cv_func__isinf" = xyes; then :
22817 cat >>confdefs.h <<_ACEOF
22818 #define HAVE__ISINF 1
22819 _ACEOF
22822 done
22831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22832 $as_echo_n "checking for isnan declaration... " >&6; }
22833 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22834 if ${glibcxx_cv_func_isnan_use+:} false; then :
22835 $as_echo_n "(cached) " >&6
22836 else
22839 ac_ext=cpp
22840 ac_cpp='$CXXCPP $CPPFLAGS'
22841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22846 /* end confdefs.h. */
22847 #include <math.h>
22848 #ifdef HAVE_IEEEFP_H
22849 #include <ieeefp.h>
22850 #endif
22853 main ()
22855 isnan(0);
22857 return 0;
22859 _ACEOF
22860 if ac_fn_cxx_try_compile "$LINENO"; then :
22861 glibcxx_cv_func_isnan_use=yes
22862 else
22863 glibcxx_cv_func_isnan_use=no
22865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22866 ac_ext=c
22867 ac_cpp='$CPP $CPPFLAGS'
22868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22877 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22879 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22880 for ac_func in isnan
22881 do :
22882 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22883 if test "x$ac_cv_func_isnan" = xyes; then :
22884 cat >>confdefs.h <<_ACEOF
22885 #define HAVE_ISNAN 1
22886 _ACEOF
22889 done
22891 else
22893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22894 $as_echo_n "checking for _isnan declaration... " >&6; }
22895 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22896 if ${glibcxx_cv_func__isnan_use+:} false; then :
22897 $as_echo_n "(cached) " >&6
22898 else
22901 ac_ext=cpp
22902 ac_cpp='$CXXCPP $CPPFLAGS'
22903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22908 /* end confdefs.h. */
22909 #include <math.h>
22910 #ifdef HAVE_IEEEFP_H
22911 #include <ieeefp.h>
22912 #endif
22915 main ()
22917 _isnan(0);
22919 return 0;
22921 _ACEOF
22922 if ac_fn_cxx_try_compile "$LINENO"; then :
22923 glibcxx_cv_func__isnan_use=yes
22924 else
22925 glibcxx_cv_func__isnan_use=no
22927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22928 ac_ext=c
22929 ac_cpp='$CPP $CPPFLAGS'
22930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22939 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22941 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22942 for ac_func in _isnan
22943 do :
22944 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22945 if test "x$ac_cv_func__isnan" = xyes; then :
22946 cat >>confdefs.h <<_ACEOF
22947 #define HAVE__ISNAN 1
22948 _ACEOF
22951 done
22960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22961 $as_echo_n "checking for finite declaration... " >&6; }
22962 if test x${glibcxx_cv_func_finite_use+set} != xset; then
22963 if ${glibcxx_cv_func_finite_use+:} false; then :
22964 $as_echo_n "(cached) " >&6
22965 else
22968 ac_ext=cpp
22969 ac_cpp='$CXXCPP $CPPFLAGS'
22970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22975 /* end confdefs.h. */
22976 #include <math.h>
22977 #ifdef HAVE_IEEEFP_H
22978 #include <ieeefp.h>
22979 #endif
22982 main ()
22984 finite(0);
22986 return 0;
22988 _ACEOF
22989 if ac_fn_cxx_try_compile "$LINENO"; then :
22990 glibcxx_cv_func_finite_use=yes
22991 else
22992 glibcxx_cv_func_finite_use=no
22994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22995 ac_ext=c
22996 ac_cpp='$CPP $CPPFLAGS'
22997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
23006 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
23008 if test x$glibcxx_cv_func_finite_use = x"yes"; then
23009 for ac_func in finite
23010 do :
23011 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
23012 if test "x$ac_cv_func_finite" = xyes; then :
23013 cat >>confdefs.h <<_ACEOF
23014 #define HAVE_FINITE 1
23015 _ACEOF
23018 done
23020 else
23022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
23023 $as_echo_n "checking for _finite declaration... " >&6; }
23024 if test x${glibcxx_cv_func__finite_use+set} != xset; then
23025 if ${glibcxx_cv_func__finite_use+:} false; then :
23026 $as_echo_n "(cached) " >&6
23027 else
23030 ac_ext=cpp
23031 ac_cpp='$CXXCPP $CPPFLAGS'
23032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23037 /* end confdefs.h. */
23038 #include <math.h>
23039 #ifdef HAVE_IEEEFP_H
23040 #include <ieeefp.h>
23041 #endif
23044 main ()
23046 _finite(0);
23048 return 0;
23050 _ACEOF
23051 if ac_fn_cxx_try_compile "$LINENO"; then :
23052 glibcxx_cv_func__finite_use=yes
23053 else
23054 glibcxx_cv_func__finite_use=no
23056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23057 ac_ext=c
23058 ac_cpp='$CPP $CPPFLAGS'
23059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
23068 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
23070 if test x$glibcxx_cv_func__finite_use = x"yes"; then
23071 for ac_func in _finite
23072 do :
23073 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
23074 if test "x$ac_cv_func__finite" = xyes; then :
23075 cat >>confdefs.h <<_ACEOF
23076 #define HAVE__FINITE 1
23077 _ACEOF
23080 done
23089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
23090 $as_echo_n "checking for sincos declaration... " >&6; }
23091 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
23092 if ${glibcxx_cv_func_sincos_use+:} false; then :
23093 $as_echo_n "(cached) " >&6
23094 else
23097 ac_ext=cpp
23098 ac_cpp='$CXXCPP $CPPFLAGS'
23099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23104 /* end confdefs.h. */
23105 #include <math.h>
23107 main ()
23109 sincos(0, 0, 0);
23111 return 0;
23113 _ACEOF
23114 if ac_fn_cxx_try_compile "$LINENO"; then :
23115 glibcxx_cv_func_sincos_use=yes
23116 else
23117 glibcxx_cv_func_sincos_use=no
23119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23120 ac_ext=c
23121 ac_cpp='$CPP $CPPFLAGS'
23122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
23131 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
23133 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
23134 for ac_func in sincos
23135 do :
23136 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
23137 if test "x$ac_cv_func_sincos" = xyes; then :
23138 cat >>confdefs.h <<_ACEOF
23139 #define HAVE_SINCOS 1
23140 _ACEOF
23143 done
23145 else
23147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
23148 $as_echo_n "checking for _sincos declaration... " >&6; }
23149 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
23150 if ${glibcxx_cv_func__sincos_use+:} false; then :
23151 $as_echo_n "(cached) " >&6
23152 else
23155 ac_ext=cpp
23156 ac_cpp='$CXXCPP $CPPFLAGS'
23157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23162 /* end confdefs.h. */
23163 #include <math.h>
23165 main ()
23167 _sincos(0, 0, 0);
23169 return 0;
23171 _ACEOF
23172 if ac_fn_cxx_try_compile "$LINENO"; then :
23173 glibcxx_cv_func__sincos_use=yes
23174 else
23175 glibcxx_cv_func__sincos_use=no
23177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23178 ac_ext=c
23179 ac_cpp='$CPP $CPPFLAGS'
23180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
23189 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
23191 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
23192 for ac_func in _sincos
23193 do :
23194 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
23195 if test "x$ac_cv_func__sincos" = xyes; then :
23196 cat >>confdefs.h <<_ACEOF
23197 #define HAVE__SINCOS 1
23198 _ACEOF
23201 done
23210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
23211 $as_echo_n "checking for fpclass declaration... " >&6; }
23212 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
23213 if ${glibcxx_cv_func_fpclass_use+:} false; then :
23214 $as_echo_n "(cached) " >&6
23215 else
23218 ac_ext=cpp
23219 ac_cpp='$CXXCPP $CPPFLAGS'
23220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23225 /* end confdefs.h. */
23226 #include <math.h>
23227 #ifdef HAVE_IEEEFP_H
23228 #include <ieeefp.h>
23229 #endif
23232 main ()
23234 fpclass(0);
23236 return 0;
23238 _ACEOF
23239 if ac_fn_cxx_try_compile "$LINENO"; then :
23240 glibcxx_cv_func_fpclass_use=yes
23241 else
23242 glibcxx_cv_func_fpclass_use=no
23244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23245 ac_ext=c
23246 ac_cpp='$CPP $CPPFLAGS'
23247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
23256 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
23258 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
23259 for ac_func in fpclass
23260 do :
23261 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
23262 if test "x$ac_cv_func_fpclass" = xyes; then :
23263 cat >>confdefs.h <<_ACEOF
23264 #define HAVE_FPCLASS 1
23265 _ACEOF
23268 done
23270 else
23272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
23273 $as_echo_n "checking for _fpclass declaration... " >&6; }
23274 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
23275 if ${glibcxx_cv_func__fpclass_use+:} false; then :
23276 $as_echo_n "(cached) " >&6
23277 else
23280 ac_ext=cpp
23281 ac_cpp='$CXXCPP $CPPFLAGS'
23282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23287 /* end confdefs.h. */
23288 #include <math.h>
23289 #ifdef HAVE_IEEEFP_H
23290 #include <ieeefp.h>
23291 #endif
23294 main ()
23296 _fpclass(0);
23298 return 0;
23300 _ACEOF
23301 if ac_fn_cxx_try_compile "$LINENO"; then :
23302 glibcxx_cv_func__fpclass_use=yes
23303 else
23304 glibcxx_cv_func__fpclass_use=no
23306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23307 ac_ext=c
23308 ac_cpp='$CPP $CPPFLAGS'
23309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
23318 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
23320 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
23321 for ac_func in _fpclass
23322 do :
23323 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
23324 if test "x$ac_cv_func__fpclass" = xyes; then :
23325 cat >>confdefs.h <<_ACEOF
23326 #define HAVE__FPCLASS 1
23327 _ACEOF
23330 done
23339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
23340 $as_echo_n "checking for qfpclass declaration... " >&6; }
23341 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
23342 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
23343 $as_echo_n "(cached) " >&6
23344 else
23347 ac_ext=cpp
23348 ac_cpp='$CXXCPP $CPPFLAGS'
23349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23354 /* end confdefs.h. */
23355 #include <math.h>
23356 #ifdef HAVE_IEEEFP_H
23357 #include <ieeefp.h>
23358 #endif
23361 main ()
23363 qfpclass(0);
23365 return 0;
23367 _ACEOF
23368 if ac_fn_cxx_try_compile "$LINENO"; then :
23369 glibcxx_cv_func_qfpclass_use=yes
23370 else
23371 glibcxx_cv_func_qfpclass_use=no
23373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23374 ac_ext=c
23375 ac_cpp='$CPP $CPPFLAGS'
23376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
23385 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
23387 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
23388 for ac_func in qfpclass
23389 do :
23390 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
23391 if test "x$ac_cv_func_qfpclass" = xyes; then :
23392 cat >>confdefs.h <<_ACEOF
23393 #define HAVE_QFPCLASS 1
23394 _ACEOF
23397 done
23399 else
23401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
23402 $as_echo_n "checking for _qfpclass declaration... " >&6; }
23403 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
23404 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
23405 $as_echo_n "(cached) " >&6
23406 else
23409 ac_ext=cpp
23410 ac_cpp='$CXXCPP $CPPFLAGS'
23411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23416 /* end confdefs.h. */
23417 #include <math.h>
23418 #ifdef HAVE_IEEEFP_H
23419 #include <ieeefp.h>
23420 #endif
23423 main ()
23425 _qfpclass(0);
23427 return 0;
23429 _ACEOF
23430 if ac_fn_cxx_try_compile "$LINENO"; then :
23431 glibcxx_cv_func__qfpclass_use=yes
23432 else
23433 glibcxx_cv_func__qfpclass_use=no
23435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23436 ac_ext=c
23437 ac_cpp='$CPP $CPPFLAGS'
23438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
23447 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
23449 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
23450 for ac_func in _qfpclass
23451 do :
23452 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
23453 if test "x$ac_cv_func__qfpclass" = xyes; then :
23454 cat >>confdefs.h <<_ACEOF
23455 #define HAVE__QFPCLASS 1
23456 _ACEOF
23459 done
23468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
23469 $as_echo_n "checking for hypot declaration... " >&6; }
23470 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
23471 if ${glibcxx_cv_func_hypot_use+:} false; then :
23472 $as_echo_n "(cached) " >&6
23473 else
23476 ac_ext=cpp
23477 ac_cpp='$CXXCPP $CPPFLAGS'
23478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23483 /* end confdefs.h. */
23484 #include <math.h>
23486 main ()
23488 hypot(0, 0);
23490 return 0;
23492 _ACEOF
23493 if ac_fn_cxx_try_compile "$LINENO"; then :
23494 glibcxx_cv_func_hypot_use=yes
23495 else
23496 glibcxx_cv_func_hypot_use=no
23498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23499 ac_ext=c
23500 ac_cpp='$CPP $CPPFLAGS'
23501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
23510 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
23512 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
23513 for ac_func in hypot
23514 do :
23515 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
23516 if test "x$ac_cv_func_hypot" = xyes; then :
23517 cat >>confdefs.h <<_ACEOF
23518 #define HAVE_HYPOT 1
23519 _ACEOF
23522 done
23524 else
23526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
23527 $as_echo_n "checking for _hypot declaration... " >&6; }
23528 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
23529 if ${glibcxx_cv_func__hypot_use+:} false; then :
23530 $as_echo_n "(cached) " >&6
23531 else
23534 ac_ext=cpp
23535 ac_cpp='$CXXCPP $CPPFLAGS'
23536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23541 /* end confdefs.h. */
23542 #include <math.h>
23544 main ()
23546 _hypot(0, 0);
23548 return 0;
23550 _ACEOF
23551 if ac_fn_cxx_try_compile "$LINENO"; then :
23552 glibcxx_cv_func__hypot_use=yes
23553 else
23554 glibcxx_cv_func__hypot_use=no
23556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23557 ac_ext=c
23558 ac_cpp='$CPP $CPPFLAGS'
23559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23568 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23570 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23571 for ac_func in _hypot
23572 do :
23573 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23574 if test "x$ac_cv_func__hypot" = xyes; then :
23575 cat >>confdefs.h <<_ACEOF
23576 #define HAVE__HYPOT 1
23577 _ACEOF
23580 done
23589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23590 $as_echo_n "checking for float trig functions... " >&6; }
23591 if ${glibcxx_cv_func_float_trig_use+:} false; then :
23592 $as_echo_n "(cached) " >&6
23593 else
23596 ac_ext=cpp
23597 ac_cpp='$CXXCPP $CPPFLAGS'
23598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23603 /* end confdefs.h. */
23604 #include <math.h>
23606 main ()
23608 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23610 return 0;
23612 _ACEOF
23613 if ac_fn_cxx_try_compile "$LINENO"; then :
23614 glibcxx_cv_func_float_trig_use=yes
23615 else
23616 glibcxx_cv_func_float_trig_use=no
23618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23619 ac_ext=c
23620 ac_cpp='$CPP $CPPFLAGS'
23621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23628 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23629 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23630 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23631 do :
23632 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23633 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23634 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23635 cat >>confdefs.h <<_ACEOF
23636 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23637 _ACEOF
23640 done
23642 else
23643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23644 $as_echo_n "checking for _float trig functions... " >&6; }
23645 if ${glibcxx_cv_func__float_trig_use+:} false; then :
23646 $as_echo_n "(cached) " >&6
23647 else
23650 ac_ext=cpp
23651 ac_cpp='$CXXCPP $CPPFLAGS'
23652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23657 /* end confdefs.h. */
23658 #include <math.h>
23660 main ()
23662 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23664 return 0;
23666 _ACEOF
23667 if ac_fn_cxx_try_compile "$LINENO"; then :
23668 glibcxx_cv_func__float_trig_use=yes
23669 else
23670 glibcxx_cv_func__float_trig_use=no
23672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23673 ac_ext=c
23674 ac_cpp='$CPP $CPPFLAGS'
23675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23682 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23683 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23684 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23685 do :
23686 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23687 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23688 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23689 cat >>confdefs.h <<_ACEOF
23690 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23691 _ACEOF
23694 done
23703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23704 $as_echo_n "checking for float round functions... " >&6; }
23705 if ${glibcxx_cv_func_float_round_use+:} false; then :
23706 $as_echo_n "(cached) " >&6
23707 else
23710 ac_ext=cpp
23711 ac_cpp='$CXXCPP $CPPFLAGS'
23712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23717 /* end confdefs.h. */
23718 #include <math.h>
23720 main ()
23722 ceilf (0); floorf (0);
23724 return 0;
23726 _ACEOF
23727 if ac_fn_cxx_try_compile "$LINENO"; then :
23728 glibcxx_cv_func_float_round_use=yes
23729 else
23730 glibcxx_cv_func_float_round_use=no
23732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23733 ac_ext=c
23734 ac_cpp='$CPP $CPPFLAGS'
23735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23742 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23743 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23744 for ac_func in ceilf floorf
23745 do :
23746 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23747 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23748 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23749 cat >>confdefs.h <<_ACEOF
23750 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23751 _ACEOF
23754 done
23756 else
23757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23758 $as_echo_n "checking for _float round functions... " >&6; }
23759 if ${glibcxx_cv_func__float_round_use+:} false; then :
23760 $as_echo_n "(cached) " >&6
23761 else
23764 ac_ext=cpp
23765 ac_cpp='$CXXCPP $CPPFLAGS'
23766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23771 /* end confdefs.h. */
23772 #include <math.h>
23774 main ()
23776 _ceilf (0); _floorf (0);
23778 return 0;
23780 _ACEOF
23781 if ac_fn_cxx_try_compile "$LINENO"; then :
23782 glibcxx_cv_func__float_round_use=yes
23783 else
23784 glibcxx_cv_func__float_round_use=no
23786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23787 ac_ext=c
23788 ac_cpp='$CPP $CPPFLAGS'
23789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23796 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23797 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23798 for ac_func in _ceilf _floorf
23799 do :
23800 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23801 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23802 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23803 cat >>confdefs.h <<_ACEOF
23804 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23805 _ACEOF
23808 done
23818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23819 $as_echo_n "checking for expf declaration... " >&6; }
23820 if test x${glibcxx_cv_func_expf_use+set} != xset; then
23821 if ${glibcxx_cv_func_expf_use+:} false; then :
23822 $as_echo_n "(cached) " >&6
23823 else
23826 ac_ext=cpp
23827 ac_cpp='$CXXCPP $CPPFLAGS'
23828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23833 /* end confdefs.h. */
23834 #include <math.h>
23835 #ifdef HAVE_IEEEFP_H
23836 #include <ieeefp.h>
23837 #endif
23840 main ()
23842 expf(0);
23844 return 0;
23846 _ACEOF
23847 if ac_fn_cxx_try_compile "$LINENO"; then :
23848 glibcxx_cv_func_expf_use=yes
23849 else
23850 glibcxx_cv_func_expf_use=no
23852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23853 ac_ext=c
23854 ac_cpp='$CPP $CPPFLAGS'
23855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23864 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23866 if test x$glibcxx_cv_func_expf_use = x"yes"; then
23867 for ac_func in expf
23868 do :
23869 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23870 if test "x$ac_cv_func_expf" = xyes; then :
23871 cat >>confdefs.h <<_ACEOF
23872 #define HAVE_EXPF 1
23873 _ACEOF
23876 done
23878 else
23880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23881 $as_echo_n "checking for _expf declaration... " >&6; }
23882 if test x${glibcxx_cv_func__expf_use+set} != xset; then
23883 if ${glibcxx_cv_func__expf_use+:} false; then :
23884 $as_echo_n "(cached) " >&6
23885 else
23888 ac_ext=cpp
23889 ac_cpp='$CXXCPP $CPPFLAGS'
23890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23895 /* end confdefs.h. */
23896 #include <math.h>
23897 #ifdef HAVE_IEEEFP_H
23898 #include <ieeefp.h>
23899 #endif
23902 main ()
23904 _expf(0);
23906 return 0;
23908 _ACEOF
23909 if ac_fn_cxx_try_compile "$LINENO"; then :
23910 glibcxx_cv_func__expf_use=yes
23911 else
23912 glibcxx_cv_func__expf_use=no
23914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23915 ac_ext=c
23916 ac_cpp='$CPP $CPPFLAGS'
23917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23926 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23928 if test x$glibcxx_cv_func__expf_use = x"yes"; then
23929 for ac_func in _expf
23930 do :
23931 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23932 if test "x$ac_cv_func__expf" = xyes; then :
23933 cat >>confdefs.h <<_ACEOF
23934 #define HAVE__EXPF 1
23935 _ACEOF
23938 done
23947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23948 $as_echo_n "checking for isnanf declaration... " >&6; }
23949 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23950 if ${glibcxx_cv_func_isnanf_use+:} false; then :
23951 $as_echo_n "(cached) " >&6
23952 else
23955 ac_ext=cpp
23956 ac_cpp='$CXXCPP $CPPFLAGS'
23957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23962 /* end confdefs.h. */
23963 #include <math.h>
23964 #ifdef HAVE_IEEEFP_H
23965 #include <ieeefp.h>
23966 #endif
23969 main ()
23971 isnanf(0);
23973 return 0;
23975 _ACEOF
23976 if ac_fn_cxx_try_compile "$LINENO"; then :
23977 glibcxx_cv_func_isnanf_use=yes
23978 else
23979 glibcxx_cv_func_isnanf_use=no
23981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23982 ac_ext=c
23983 ac_cpp='$CPP $CPPFLAGS'
23984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23993 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23995 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23996 for ac_func in isnanf
23997 do :
23998 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23999 if test "x$ac_cv_func_isnanf" = xyes; then :
24000 cat >>confdefs.h <<_ACEOF
24001 #define HAVE_ISNANF 1
24002 _ACEOF
24005 done
24007 else
24009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
24010 $as_echo_n "checking for _isnanf declaration... " >&6; }
24011 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
24012 if ${glibcxx_cv_func__isnanf_use+:} false; then :
24013 $as_echo_n "(cached) " >&6
24014 else
24017 ac_ext=cpp
24018 ac_cpp='$CXXCPP $CPPFLAGS'
24019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24024 /* end confdefs.h. */
24025 #include <math.h>
24026 #ifdef HAVE_IEEEFP_H
24027 #include <ieeefp.h>
24028 #endif
24031 main ()
24033 _isnanf(0);
24035 return 0;
24037 _ACEOF
24038 if ac_fn_cxx_try_compile "$LINENO"; then :
24039 glibcxx_cv_func__isnanf_use=yes
24040 else
24041 glibcxx_cv_func__isnanf_use=no
24043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24044 ac_ext=c
24045 ac_cpp='$CPP $CPPFLAGS'
24046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
24055 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
24057 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
24058 for ac_func in _isnanf
24059 do :
24060 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
24061 if test "x$ac_cv_func__isnanf" = xyes; then :
24062 cat >>confdefs.h <<_ACEOF
24063 #define HAVE__ISNANF 1
24064 _ACEOF
24067 done
24076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
24077 $as_echo_n "checking for isinff declaration... " >&6; }
24078 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
24079 if ${glibcxx_cv_func_isinff_use+:} false; then :
24080 $as_echo_n "(cached) " >&6
24081 else
24084 ac_ext=cpp
24085 ac_cpp='$CXXCPP $CPPFLAGS'
24086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24091 /* end confdefs.h. */
24092 #include <math.h>
24093 #ifdef HAVE_IEEEFP_H
24094 #include <ieeefp.h>
24095 #endif
24098 main ()
24100 isinff(0);
24102 return 0;
24104 _ACEOF
24105 if ac_fn_cxx_try_compile "$LINENO"; then :
24106 glibcxx_cv_func_isinff_use=yes
24107 else
24108 glibcxx_cv_func_isinff_use=no
24110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24111 ac_ext=c
24112 ac_cpp='$CPP $CPPFLAGS'
24113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
24122 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
24124 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
24125 for ac_func in isinff
24126 do :
24127 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
24128 if test "x$ac_cv_func_isinff" = xyes; then :
24129 cat >>confdefs.h <<_ACEOF
24130 #define HAVE_ISINFF 1
24131 _ACEOF
24134 done
24136 else
24138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
24139 $as_echo_n "checking for _isinff declaration... " >&6; }
24140 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
24141 if ${glibcxx_cv_func__isinff_use+:} false; then :
24142 $as_echo_n "(cached) " >&6
24143 else
24146 ac_ext=cpp
24147 ac_cpp='$CXXCPP $CPPFLAGS'
24148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24153 /* end confdefs.h. */
24154 #include <math.h>
24155 #ifdef HAVE_IEEEFP_H
24156 #include <ieeefp.h>
24157 #endif
24160 main ()
24162 _isinff(0);
24164 return 0;
24166 _ACEOF
24167 if ac_fn_cxx_try_compile "$LINENO"; then :
24168 glibcxx_cv_func__isinff_use=yes
24169 else
24170 glibcxx_cv_func__isinff_use=no
24172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24173 ac_ext=c
24174 ac_cpp='$CPP $CPPFLAGS'
24175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
24184 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
24186 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
24187 for ac_func in _isinff
24188 do :
24189 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
24190 if test "x$ac_cv_func__isinff" = xyes; then :
24191 cat >>confdefs.h <<_ACEOF
24192 #define HAVE__ISINFF 1
24193 _ACEOF
24196 done
24205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
24206 $as_echo_n "checking for atan2f declaration... " >&6; }
24207 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
24208 if ${glibcxx_cv_func_atan2f_use+:} false; then :
24209 $as_echo_n "(cached) " >&6
24210 else
24213 ac_ext=cpp
24214 ac_cpp='$CXXCPP $CPPFLAGS'
24215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24220 /* end confdefs.h. */
24221 #include <math.h>
24223 main ()
24225 atan2f(0, 0);
24227 return 0;
24229 _ACEOF
24230 if ac_fn_cxx_try_compile "$LINENO"; then :
24231 glibcxx_cv_func_atan2f_use=yes
24232 else
24233 glibcxx_cv_func_atan2f_use=no
24235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24236 ac_ext=c
24237 ac_cpp='$CPP $CPPFLAGS'
24238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
24247 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
24249 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
24250 for ac_func in atan2f
24251 do :
24252 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
24253 if test "x$ac_cv_func_atan2f" = xyes; then :
24254 cat >>confdefs.h <<_ACEOF
24255 #define HAVE_ATAN2F 1
24256 _ACEOF
24259 done
24261 else
24263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
24264 $as_echo_n "checking for _atan2f declaration... " >&6; }
24265 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
24266 if ${glibcxx_cv_func__atan2f_use+:} false; then :
24267 $as_echo_n "(cached) " >&6
24268 else
24271 ac_ext=cpp
24272 ac_cpp='$CXXCPP $CPPFLAGS'
24273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24278 /* end confdefs.h. */
24279 #include <math.h>
24281 main ()
24283 _atan2f(0, 0);
24285 return 0;
24287 _ACEOF
24288 if ac_fn_cxx_try_compile "$LINENO"; then :
24289 glibcxx_cv_func__atan2f_use=yes
24290 else
24291 glibcxx_cv_func__atan2f_use=no
24293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24294 ac_ext=c
24295 ac_cpp='$CPP $CPPFLAGS'
24296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
24305 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
24307 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
24308 for ac_func in _atan2f
24309 do :
24310 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
24311 if test "x$ac_cv_func__atan2f" = xyes; then :
24312 cat >>confdefs.h <<_ACEOF
24313 #define HAVE__ATAN2F 1
24314 _ACEOF
24317 done
24326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
24327 $as_echo_n "checking for fabsf declaration... " >&6; }
24328 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
24329 if ${glibcxx_cv_func_fabsf_use+:} false; then :
24330 $as_echo_n "(cached) " >&6
24331 else
24334 ac_ext=cpp
24335 ac_cpp='$CXXCPP $CPPFLAGS'
24336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24341 /* end confdefs.h. */
24342 #include <math.h>
24343 #ifdef HAVE_IEEEFP_H
24344 #include <ieeefp.h>
24345 #endif
24348 main ()
24350 fabsf(0);
24352 return 0;
24354 _ACEOF
24355 if ac_fn_cxx_try_compile "$LINENO"; then :
24356 glibcxx_cv_func_fabsf_use=yes
24357 else
24358 glibcxx_cv_func_fabsf_use=no
24360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24361 ac_ext=c
24362 ac_cpp='$CPP $CPPFLAGS'
24363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
24372 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
24374 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
24375 for ac_func in fabsf
24376 do :
24377 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
24378 if test "x$ac_cv_func_fabsf" = xyes; then :
24379 cat >>confdefs.h <<_ACEOF
24380 #define HAVE_FABSF 1
24381 _ACEOF
24384 done
24386 else
24388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
24389 $as_echo_n "checking for _fabsf declaration... " >&6; }
24390 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
24391 if ${glibcxx_cv_func__fabsf_use+:} false; then :
24392 $as_echo_n "(cached) " >&6
24393 else
24396 ac_ext=cpp
24397 ac_cpp='$CXXCPP $CPPFLAGS'
24398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24403 /* end confdefs.h. */
24404 #include <math.h>
24405 #ifdef HAVE_IEEEFP_H
24406 #include <ieeefp.h>
24407 #endif
24410 main ()
24412 _fabsf(0);
24414 return 0;
24416 _ACEOF
24417 if ac_fn_cxx_try_compile "$LINENO"; then :
24418 glibcxx_cv_func__fabsf_use=yes
24419 else
24420 glibcxx_cv_func__fabsf_use=no
24422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24423 ac_ext=c
24424 ac_cpp='$CPP $CPPFLAGS'
24425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
24434 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
24436 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24437 for ac_func in _fabsf
24438 do :
24439 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
24440 if test "x$ac_cv_func__fabsf" = xyes; then :
24441 cat >>confdefs.h <<_ACEOF
24442 #define HAVE__FABSF 1
24443 _ACEOF
24446 done
24455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
24456 $as_echo_n "checking for fmodf declaration... " >&6; }
24457 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24458 if ${glibcxx_cv_func_fmodf_use+:} false; then :
24459 $as_echo_n "(cached) " >&6
24460 else
24463 ac_ext=cpp
24464 ac_cpp='$CXXCPP $CPPFLAGS'
24465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24470 /* end confdefs.h. */
24471 #include <math.h>
24473 main ()
24475 fmodf(0, 0);
24477 return 0;
24479 _ACEOF
24480 if ac_fn_cxx_try_compile "$LINENO"; then :
24481 glibcxx_cv_func_fmodf_use=yes
24482 else
24483 glibcxx_cv_func_fmodf_use=no
24485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24486 ac_ext=c
24487 ac_cpp='$CPP $CPPFLAGS'
24488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
24497 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
24499 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24500 for ac_func in fmodf
24501 do :
24502 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
24503 if test "x$ac_cv_func_fmodf" = xyes; then :
24504 cat >>confdefs.h <<_ACEOF
24505 #define HAVE_FMODF 1
24506 _ACEOF
24509 done
24511 else
24513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
24514 $as_echo_n "checking for _fmodf declaration... " >&6; }
24515 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24516 if ${glibcxx_cv_func__fmodf_use+:} false; then :
24517 $as_echo_n "(cached) " >&6
24518 else
24521 ac_ext=cpp
24522 ac_cpp='$CXXCPP $CPPFLAGS'
24523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24528 /* end confdefs.h. */
24529 #include <math.h>
24531 main ()
24533 _fmodf(0, 0);
24535 return 0;
24537 _ACEOF
24538 if ac_fn_cxx_try_compile "$LINENO"; then :
24539 glibcxx_cv_func__fmodf_use=yes
24540 else
24541 glibcxx_cv_func__fmodf_use=no
24543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24544 ac_ext=c
24545 ac_cpp='$CPP $CPPFLAGS'
24546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
24555 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
24557 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24558 for ac_func in _fmodf
24559 do :
24560 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
24561 if test "x$ac_cv_func__fmodf" = xyes; then :
24562 cat >>confdefs.h <<_ACEOF
24563 #define HAVE__FMODF 1
24564 _ACEOF
24567 done
24576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24577 $as_echo_n "checking for frexpf declaration... " >&6; }
24578 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24579 if ${glibcxx_cv_func_frexpf_use+:} false; then :
24580 $as_echo_n "(cached) " >&6
24581 else
24584 ac_ext=cpp
24585 ac_cpp='$CXXCPP $CPPFLAGS'
24586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24591 /* end confdefs.h. */
24592 #include <math.h>
24594 main ()
24596 frexpf(0, 0);
24598 return 0;
24600 _ACEOF
24601 if ac_fn_cxx_try_compile "$LINENO"; then :
24602 glibcxx_cv_func_frexpf_use=yes
24603 else
24604 glibcxx_cv_func_frexpf_use=no
24606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24607 ac_ext=c
24608 ac_cpp='$CPP $CPPFLAGS'
24609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24618 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24620 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24621 for ac_func in frexpf
24622 do :
24623 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24624 if test "x$ac_cv_func_frexpf" = xyes; then :
24625 cat >>confdefs.h <<_ACEOF
24626 #define HAVE_FREXPF 1
24627 _ACEOF
24630 done
24632 else
24634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24635 $as_echo_n "checking for _frexpf declaration... " >&6; }
24636 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24637 if ${glibcxx_cv_func__frexpf_use+:} false; then :
24638 $as_echo_n "(cached) " >&6
24639 else
24642 ac_ext=cpp
24643 ac_cpp='$CXXCPP $CPPFLAGS'
24644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24649 /* end confdefs.h. */
24650 #include <math.h>
24652 main ()
24654 _frexpf(0, 0);
24656 return 0;
24658 _ACEOF
24659 if ac_fn_cxx_try_compile "$LINENO"; then :
24660 glibcxx_cv_func__frexpf_use=yes
24661 else
24662 glibcxx_cv_func__frexpf_use=no
24664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24665 ac_ext=c
24666 ac_cpp='$CPP $CPPFLAGS'
24667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24676 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24678 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24679 for ac_func in _frexpf
24680 do :
24681 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24682 if test "x$ac_cv_func__frexpf" = xyes; then :
24683 cat >>confdefs.h <<_ACEOF
24684 #define HAVE__FREXPF 1
24685 _ACEOF
24688 done
24697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24698 $as_echo_n "checking for hypotf declaration... " >&6; }
24699 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24700 if ${glibcxx_cv_func_hypotf_use+:} false; then :
24701 $as_echo_n "(cached) " >&6
24702 else
24705 ac_ext=cpp
24706 ac_cpp='$CXXCPP $CPPFLAGS'
24707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24712 /* end confdefs.h. */
24713 #include <math.h>
24715 main ()
24717 hypotf(0, 0);
24719 return 0;
24721 _ACEOF
24722 if ac_fn_cxx_try_compile "$LINENO"; then :
24723 glibcxx_cv_func_hypotf_use=yes
24724 else
24725 glibcxx_cv_func_hypotf_use=no
24727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24728 ac_ext=c
24729 ac_cpp='$CPP $CPPFLAGS'
24730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24739 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24741 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24742 for ac_func in hypotf
24743 do :
24744 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24745 if test "x$ac_cv_func_hypotf" = xyes; then :
24746 cat >>confdefs.h <<_ACEOF
24747 #define HAVE_HYPOTF 1
24748 _ACEOF
24751 done
24753 else
24755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24756 $as_echo_n "checking for _hypotf declaration... " >&6; }
24757 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24758 if ${glibcxx_cv_func__hypotf_use+:} false; then :
24759 $as_echo_n "(cached) " >&6
24760 else
24763 ac_ext=cpp
24764 ac_cpp='$CXXCPP $CPPFLAGS'
24765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24770 /* end confdefs.h. */
24771 #include <math.h>
24773 main ()
24775 _hypotf(0, 0);
24777 return 0;
24779 _ACEOF
24780 if ac_fn_cxx_try_compile "$LINENO"; then :
24781 glibcxx_cv_func__hypotf_use=yes
24782 else
24783 glibcxx_cv_func__hypotf_use=no
24785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24786 ac_ext=c
24787 ac_cpp='$CPP $CPPFLAGS'
24788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24797 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24799 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24800 for ac_func in _hypotf
24801 do :
24802 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24803 if test "x$ac_cv_func__hypotf" = xyes; then :
24804 cat >>confdefs.h <<_ACEOF
24805 #define HAVE__HYPOTF 1
24806 _ACEOF
24809 done
24818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24819 $as_echo_n "checking for ldexpf declaration... " >&6; }
24820 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24821 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
24822 $as_echo_n "(cached) " >&6
24823 else
24826 ac_ext=cpp
24827 ac_cpp='$CXXCPP $CPPFLAGS'
24828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24833 /* end confdefs.h. */
24834 #include <math.h>
24836 main ()
24838 ldexpf(0, 0);
24840 return 0;
24842 _ACEOF
24843 if ac_fn_cxx_try_compile "$LINENO"; then :
24844 glibcxx_cv_func_ldexpf_use=yes
24845 else
24846 glibcxx_cv_func_ldexpf_use=no
24848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24849 ac_ext=c
24850 ac_cpp='$CPP $CPPFLAGS'
24851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24860 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24862 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24863 for ac_func in ldexpf
24864 do :
24865 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24866 if test "x$ac_cv_func_ldexpf" = xyes; then :
24867 cat >>confdefs.h <<_ACEOF
24868 #define HAVE_LDEXPF 1
24869 _ACEOF
24872 done
24874 else
24876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24877 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24878 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24879 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
24880 $as_echo_n "(cached) " >&6
24881 else
24884 ac_ext=cpp
24885 ac_cpp='$CXXCPP $CPPFLAGS'
24886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24891 /* end confdefs.h. */
24892 #include <math.h>
24894 main ()
24896 _ldexpf(0, 0);
24898 return 0;
24900 _ACEOF
24901 if ac_fn_cxx_try_compile "$LINENO"; then :
24902 glibcxx_cv_func__ldexpf_use=yes
24903 else
24904 glibcxx_cv_func__ldexpf_use=no
24906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24907 ac_ext=c
24908 ac_cpp='$CPP $CPPFLAGS'
24909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24918 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24920 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24921 for ac_func in _ldexpf
24922 do :
24923 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24924 if test "x$ac_cv_func__ldexpf" = xyes; then :
24925 cat >>confdefs.h <<_ACEOF
24926 #define HAVE__LDEXPF 1
24927 _ACEOF
24930 done
24939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24940 $as_echo_n "checking for logf declaration... " >&6; }
24941 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24942 if ${glibcxx_cv_func_logf_use+:} false; then :
24943 $as_echo_n "(cached) " >&6
24944 else
24947 ac_ext=cpp
24948 ac_cpp='$CXXCPP $CPPFLAGS'
24949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24954 /* end confdefs.h. */
24955 #include <math.h>
24956 #ifdef HAVE_IEEEFP_H
24957 #include <ieeefp.h>
24958 #endif
24961 main ()
24963 logf(0);
24965 return 0;
24967 _ACEOF
24968 if ac_fn_cxx_try_compile "$LINENO"; then :
24969 glibcxx_cv_func_logf_use=yes
24970 else
24971 glibcxx_cv_func_logf_use=no
24973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24974 ac_ext=c
24975 ac_cpp='$CPP $CPPFLAGS'
24976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24985 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24987 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24988 for ac_func in logf
24989 do :
24990 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24991 if test "x$ac_cv_func_logf" = xyes; then :
24992 cat >>confdefs.h <<_ACEOF
24993 #define HAVE_LOGF 1
24994 _ACEOF
24997 done
24999 else
25001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
25002 $as_echo_n "checking for _logf declaration... " >&6; }
25003 if test x${glibcxx_cv_func__logf_use+set} != xset; then
25004 if ${glibcxx_cv_func__logf_use+:} false; then :
25005 $as_echo_n "(cached) " >&6
25006 else
25009 ac_ext=cpp
25010 ac_cpp='$CXXCPP $CPPFLAGS'
25011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25016 /* end confdefs.h. */
25017 #include <math.h>
25018 #ifdef HAVE_IEEEFP_H
25019 #include <ieeefp.h>
25020 #endif
25023 main ()
25025 _logf(0);
25027 return 0;
25029 _ACEOF
25030 if ac_fn_cxx_try_compile "$LINENO"; then :
25031 glibcxx_cv_func__logf_use=yes
25032 else
25033 glibcxx_cv_func__logf_use=no
25035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25036 ac_ext=c
25037 ac_cpp='$CPP $CPPFLAGS'
25038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
25047 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
25049 if test x$glibcxx_cv_func__logf_use = x"yes"; then
25050 for ac_func in _logf
25051 do :
25052 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
25053 if test "x$ac_cv_func__logf" = xyes; then :
25054 cat >>confdefs.h <<_ACEOF
25055 #define HAVE__LOGF 1
25056 _ACEOF
25059 done
25068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
25069 $as_echo_n "checking for log10f declaration... " >&6; }
25070 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
25071 if ${glibcxx_cv_func_log10f_use+:} false; then :
25072 $as_echo_n "(cached) " >&6
25073 else
25076 ac_ext=cpp
25077 ac_cpp='$CXXCPP $CPPFLAGS'
25078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25083 /* end confdefs.h. */
25084 #include <math.h>
25085 #ifdef HAVE_IEEEFP_H
25086 #include <ieeefp.h>
25087 #endif
25090 main ()
25092 log10f(0);
25094 return 0;
25096 _ACEOF
25097 if ac_fn_cxx_try_compile "$LINENO"; then :
25098 glibcxx_cv_func_log10f_use=yes
25099 else
25100 glibcxx_cv_func_log10f_use=no
25102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25103 ac_ext=c
25104 ac_cpp='$CPP $CPPFLAGS'
25105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
25114 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
25116 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
25117 for ac_func in log10f
25118 do :
25119 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
25120 if test "x$ac_cv_func_log10f" = xyes; then :
25121 cat >>confdefs.h <<_ACEOF
25122 #define HAVE_LOG10F 1
25123 _ACEOF
25126 done
25128 else
25130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
25131 $as_echo_n "checking for _log10f declaration... " >&6; }
25132 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
25133 if ${glibcxx_cv_func__log10f_use+:} false; then :
25134 $as_echo_n "(cached) " >&6
25135 else
25138 ac_ext=cpp
25139 ac_cpp='$CXXCPP $CPPFLAGS'
25140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25145 /* end confdefs.h. */
25146 #include <math.h>
25147 #ifdef HAVE_IEEEFP_H
25148 #include <ieeefp.h>
25149 #endif
25152 main ()
25154 _log10f(0);
25156 return 0;
25158 _ACEOF
25159 if ac_fn_cxx_try_compile "$LINENO"; then :
25160 glibcxx_cv_func__log10f_use=yes
25161 else
25162 glibcxx_cv_func__log10f_use=no
25164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25165 ac_ext=c
25166 ac_cpp='$CPP $CPPFLAGS'
25167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
25176 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
25178 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
25179 for ac_func in _log10f
25180 do :
25181 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
25182 if test "x$ac_cv_func__log10f" = xyes; then :
25183 cat >>confdefs.h <<_ACEOF
25184 #define HAVE__LOG10F 1
25185 _ACEOF
25188 done
25197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
25198 $as_echo_n "checking for modff declaration... " >&6; }
25199 if test x${glibcxx_cv_func_modff_use+set} != xset; then
25200 if ${glibcxx_cv_func_modff_use+:} false; then :
25201 $as_echo_n "(cached) " >&6
25202 else
25205 ac_ext=cpp
25206 ac_cpp='$CXXCPP $CPPFLAGS'
25207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25212 /* end confdefs.h. */
25213 #include <math.h>
25215 main ()
25217 modff(0, 0);
25219 return 0;
25221 _ACEOF
25222 if ac_fn_cxx_try_compile "$LINENO"; then :
25223 glibcxx_cv_func_modff_use=yes
25224 else
25225 glibcxx_cv_func_modff_use=no
25227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25228 ac_ext=c
25229 ac_cpp='$CPP $CPPFLAGS'
25230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
25239 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
25241 if test x$glibcxx_cv_func_modff_use = x"yes"; then
25242 for ac_func in modff
25243 do :
25244 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
25245 if test "x$ac_cv_func_modff" = xyes; then :
25246 cat >>confdefs.h <<_ACEOF
25247 #define HAVE_MODFF 1
25248 _ACEOF
25251 done
25253 else
25255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
25256 $as_echo_n "checking for _modff declaration... " >&6; }
25257 if test x${glibcxx_cv_func__modff_use+set} != xset; then
25258 if ${glibcxx_cv_func__modff_use+:} false; then :
25259 $as_echo_n "(cached) " >&6
25260 else
25263 ac_ext=cpp
25264 ac_cpp='$CXXCPP $CPPFLAGS'
25265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25270 /* end confdefs.h. */
25271 #include <math.h>
25273 main ()
25275 _modff(0, 0);
25277 return 0;
25279 _ACEOF
25280 if ac_fn_cxx_try_compile "$LINENO"; then :
25281 glibcxx_cv_func__modff_use=yes
25282 else
25283 glibcxx_cv_func__modff_use=no
25285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25286 ac_ext=c
25287 ac_cpp='$CPP $CPPFLAGS'
25288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
25297 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
25299 if test x$glibcxx_cv_func__modff_use = x"yes"; then
25300 for ac_func in _modff
25301 do :
25302 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
25303 if test "x$ac_cv_func__modff" = xyes; then :
25304 cat >>confdefs.h <<_ACEOF
25305 #define HAVE__MODFF 1
25306 _ACEOF
25309 done
25318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
25319 $as_echo_n "checking for modf declaration... " >&6; }
25320 if test x${glibcxx_cv_func_modf_use+set} != xset; then
25321 if ${glibcxx_cv_func_modf_use+:} false; then :
25322 $as_echo_n "(cached) " >&6
25323 else
25326 ac_ext=cpp
25327 ac_cpp='$CXXCPP $CPPFLAGS'
25328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25333 /* end confdefs.h. */
25334 #include <math.h>
25336 main ()
25338 modf(0, 0);
25340 return 0;
25342 _ACEOF
25343 if ac_fn_cxx_try_compile "$LINENO"; then :
25344 glibcxx_cv_func_modf_use=yes
25345 else
25346 glibcxx_cv_func_modf_use=no
25348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25349 ac_ext=c
25350 ac_cpp='$CPP $CPPFLAGS'
25351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
25360 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
25362 if test x$glibcxx_cv_func_modf_use = x"yes"; then
25363 for ac_func in modf
25364 do :
25365 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
25366 if test "x$ac_cv_func_modf" = xyes; then :
25367 cat >>confdefs.h <<_ACEOF
25368 #define HAVE_MODF 1
25369 _ACEOF
25372 done
25374 else
25376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
25377 $as_echo_n "checking for _modf declaration... " >&6; }
25378 if test x${glibcxx_cv_func__modf_use+set} != xset; then
25379 if ${glibcxx_cv_func__modf_use+:} false; then :
25380 $as_echo_n "(cached) " >&6
25381 else
25384 ac_ext=cpp
25385 ac_cpp='$CXXCPP $CPPFLAGS'
25386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25391 /* end confdefs.h. */
25392 #include <math.h>
25394 main ()
25396 _modf(0, 0);
25398 return 0;
25400 _ACEOF
25401 if ac_fn_cxx_try_compile "$LINENO"; then :
25402 glibcxx_cv_func__modf_use=yes
25403 else
25404 glibcxx_cv_func__modf_use=no
25406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25407 ac_ext=c
25408 ac_cpp='$CPP $CPPFLAGS'
25409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
25418 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
25420 if test x$glibcxx_cv_func__modf_use = x"yes"; then
25421 for ac_func in _modf
25422 do :
25423 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
25424 if test "x$ac_cv_func__modf" = xyes; then :
25425 cat >>confdefs.h <<_ACEOF
25426 #define HAVE__MODF 1
25427 _ACEOF
25430 done
25439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
25440 $as_echo_n "checking for powf declaration... " >&6; }
25441 if test x${glibcxx_cv_func_powf_use+set} != xset; then
25442 if ${glibcxx_cv_func_powf_use+:} false; then :
25443 $as_echo_n "(cached) " >&6
25444 else
25447 ac_ext=cpp
25448 ac_cpp='$CXXCPP $CPPFLAGS'
25449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25454 /* end confdefs.h. */
25455 #include <math.h>
25457 main ()
25459 powf(0, 0);
25461 return 0;
25463 _ACEOF
25464 if ac_fn_cxx_try_compile "$LINENO"; then :
25465 glibcxx_cv_func_powf_use=yes
25466 else
25467 glibcxx_cv_func_powf_use=no
25469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25470 ac_ext=c
25471 ac_cpp='$CPP $CPPFLAGS'
25472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
25481 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
25483 if test x$glibcxx_cv_func_powf_use = x"yes"; then
25484 for ac_func in powf
25485 do :
25486 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
25487 if test "x$ac_cv_func_powf" = xyes; then :
25488 cat >>confdefs.h <<_ACEOF
25489 #define HAVE_POWF 1
25490 _ACEOF
25493 done
25495 else
25497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
25498 $as_echo_n "checking for _powf declaration... " >&6; }
25499 if test x${glibcxx_cv_func__powf_use+set} != xset; then
25500 if ${glibcxx_cv_func__powf_use+:} false; then :
25501 $as_echo_n "(cached) " >&6
25502 else
25505 ac_ext=cpp
25506 ac_cpp='$CXXCPP $CPPFLAGS'
25507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25512 /* end confdefs.h. */
25513 #include <math.h>
25515 main ()
25517 _powf(0, 0);
25519 return 0;
25521 _ACEOF
25522 if ac_fn_cxx_try_compile "$LINENO"; then :
25523 glibcxx_cv_func__powf_use=yes
25524 else
25525 glibcxx_cv_func__powf_use=no
25527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25528 ac_ext=c
25529 ac_cpp='$CPP $CPPFLAGS'
25530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
25539 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
25541 if test x$glibcxx_cv_func__powf_use = x"yes"; then
25542 for ac_func in _powf
25543 do :
25544 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
25545 if test "x$ac_cv_func__powf" = xyes; then :
25546 cat >>confdefs.h <<_ACEOF
25547 #define HAVE__POWF 1
25548 _ACEOF
25551 done
25560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
25561 $as_echo_n "checking for sqrtf declaration... " >&6; }
25562 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
25563 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
25564 $as_echo_n "(cached) " >&6
25565 else
25568 ac_ext=cpp
25569 ac_cpp='$CXXCPP $CPPFLAGS'
25570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25575 /* end confdefs.h. */
25576 #include <math.h>
25577 #ifdef HAVE_IEEEFP_H
25578 #include <ieeefp.h>
25579 #endif
25582 main ()
25584 sqrtf(0);
25586 return 0;
25588 _ACEOF
25589 if ac_fn_cxx_try_compile "$LINENO"; then :
25590 glibcxx_cv_func_sqrtf_use=yes
25591 else
25592 glibcxx_cv_func_sqrtf_use=no
25594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25595 ac_ext=c
25596 ac_cpp='$CPP $CPPFLAGS'
25597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25606 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25608 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25609 for ac_func in sqrtf
25610 do :
25611 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25612 if test "x$ac_cv_func_sqrtf" = xyes; then :
25613 cat >>confdefs.h <<_ACEOF
25614 #define HAVE_SQRTF 1
25615 _ACEOF
25618 done
25620 else
25622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25623 $as_echo_n "checking for _sqrtf declaration... " >&6; }
25624 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25625 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
25626 $as_echo_n "(cached) " >&6
25627 else
25630 ac_ext=cpp
25631 ac_cpp='$CXXCPP $CPPFLAGS'
25632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25637 /* end confdefs.h. */
25638 #include <math.h>
25639 #ifdef HAVE_IEEEFP_H
25640 #include <ieeefp.h>
25641 #endif
25644 main ()
25646 _sqrtf(0);
25648 return 0;
25650 _ACEOF
25651 if ac_fn_cxx_try_compile "$LINENO"; then :
25652 glibcxx_cv_func__sqrtf_use=yes
25653 else
25654 glibcxx_cv_func__sqrtf_use=no
25656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25657 ac_ext=c
25658 ac_cpp='$CPP $CPPFLAGS'
25659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25668 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25670 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25671 for ac_func in _sqrtf
25672 do :
25673 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25674 if test "x$ac_cv_func__sqrtf" = xyes; then :
25675 cat >>confdefs.h <<_ACEOF
25676 #define HAVE__SQRTF 1
25677 _ACEOF
25680 done
25689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25690 $as_echo_n "checking for sincosf declaration... " >&6; }
25691 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25692 if ${glibcxx_cv_func_sincosf_use+:} false; then :
25693 $as_echo_n "(cached) " >&6
25694 else
25697 ac_ext=cpp
25698 ac_cpp='$CXXCPP $CPPFLAGS'
25699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25704 /* end confdefs.h. */
25705 #include <math.h>
25707 main ()
25709 sincosf(0, 0, 0);
25711 return 0;
25713 _ACEOF
25714 if ac_fn_cxx_try_compile "$LINENO"; then :
25715 glibcxx_cv_func_sincosf_use=yes
25716 else
25717 glibcxx_cv_func_sincosf_use=no
25719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25720 ac_ext=c
25721 ac_cpp='$CPP $CPPFLAGS'
25722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25731 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25733 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25734 for ac_func in sincosf
25735 do :
25736 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25737 if test "x$ac_cv_func_sincosf" = xyes; then :
25738 cat >>confdefs.h <<_ACEOF
25739 #define HAVE_SINCOSF 1
25740 _ACEOF
25743 done
25745 else
25747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25748 $as_echo_n "checking for _sincosf declaration... " >&6; }
25749 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25750 if ${glibcxx_cv_func__sincosf_use+:} false; then :
25751 $as_echo_n "(cached) " >&6
25752 else
25755 ac_ext=cpp
25756 ac_cpp='$CXXCPP $CPPFLAGS'
25757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25762 /* end confdefs.h. */
25763 #include <math.h>
25765 main ()
25767 _sincosf(0, 0, 0);
25769 return 0;
25771 _ACEOF
25772 if ac_fn_cxx_try_compile "$LINENO"; then :
25773 glibcxx_cv_func__sincosf_use=yes
25774 else
25775 glibcxx_cv_func__sincosf_use=no
25777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25778 ac_ext=c
25779 ac_cpp='$CPP $CPPFLAGS'
25780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25789 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25791 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25792 for ac_func in _sincosf
25793 do :
25794 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25795 if test "x$ac_cv_func__sincosf" = xyes; then :
25796 cat >>confdefs.h <<_ACEOF
25797 #define HAVE__SINCOSF 1
25798 _ACEOF
25801 done
25810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25811 $as_echo_n "checking for finitef declaration... " >&6; }
25812 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25813 if ${glibcxx_cv_func_finitef_use+:} false; then :
25814 $as_echo_n "(cached) " >&6
25815 else
25818 ac_ext=cpp
25819 ac_cpp='$CXXCPP $CPPFLAGS'
25820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25825 /* end confdefs.h. */
25826 #include <math.h>
25827 #ifdef HAVE_IEEEFP_H
25828 #include <ieeefp.h>
25829 #endif
25832 main ()
25834 finitef(0);
25836 return 0;
25838 _ACEOF
25839 if ac_fn_cxx_try_compile "$LINENO"; then :
25840 glibcxx_cv_func_finitef_use=yes
25841 else
25842 glibcxx_cv_func_finitef_use=no
25844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25845 ac_ext=c
25846 ac_cpp='$CPP $CPPFLAGS'
25847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25856 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25858 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25859 for ac_func in finitef
25860 do :
25861 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25862 if test "x$ac_cv_func_finitef" = xyes; then :
25863 cat >>confdefs.h <<_ACEOF
25864 #define HAVE_FINITEF 1
25865 _ACEOF
25868 done
25870 else
25872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25873 $as_echo_n "checking for _finitef declaration... " >&6; }
25874 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25875 if ${glibcxx_cv_func__finitef_use+:} false; then :
25876 $as_echo_n "(cached) " >&6
25877 else
25880 ac_ext=cpp
25881 ac_cpp='$CXXCPP $CPPFLAGS'
25882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25887 /* end confdefs.h. */
25888 #include <math.h>
25889 #ifdef HAVE_IEEEFP_H
25890 #include <ieeefp.h>
25891 #endif
25894 main ()
25896 _finitef(0);
25898 return 0;
25900 _ACEOF
25901 if ac_fn_cxx_try_compile "$LINENO"; then :
25902 glibcxx_cv_func__finitef_use=yes
25903 else
25904 glibcxx_cv_func__finitef_use=no
25906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25907 ac_ext=c
25908 ac_cpp='$CPP $CPPFLAGS'
25909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25918 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25920 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25921 for ac_func in _finitef
25922 do :
25923 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25924 if test "x$ac_cv_func__finitef" = xyes; then :
25925 cat >>confdefs.h <<_ACEOF
25926 #define HAVE__FINITEF 1
25927 _ACEOF
25930 done
25939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25940 $as_echo_n "checking for long double trig functions... " >&6; }
25941 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
25942 $as_echo_n "(cached) " >&6
25943 else
25946 ac_ext=cpp
25947 ac_cpp='$CXXCPP $CPPFLAGS'
25948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25953 /* end confdefs.h. */
25954 #include <math.h>
25956 main ()
25958 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25960 return 0;
25962 _ACEOF
25963 if ac_fn_cxx_try_compile "$LINENO"; then :
25964 glibcxx_cv_func_long_double_trig_use=yes
25965 else
25966 glibcxx_cv_func_long_double_trig_use=no
25968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25969 ac_ext=c
25970 ac_cpp='$CPP $CPPFLAGS'
25971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25978 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25979 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25980 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25981 do :
25982 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25983 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25984 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25985 cat >>confdefs.h <<_ACEOF
25986 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25987 _ACEOF
25990 done
25992 else
25993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25994 $as_echo_n "checking for _long double trig functions... " >&6; }
25995 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
25996 $as_echo_n "(cached) " >&6
25997 else
26000 ac_ext=cpp
26001 ac_cpp='$CXXCPP $CPPFLAGS'
26002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26007 /* end confdefs.h. */
26008 #include <math.h>
26010 main ()
26012 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
26014 return 0;
26016 _ACEOF
26017 if ac_fn_cxx_try_compile "$LINENO"; then :
26018 glibcxx_cv_func__long_double_trig_use=yes
26019 else
26020 glibcxx_cv_func__long_double_trig_use=no
26022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26023 ac_ext=c
26024 ac_cpp='$CPP $CPPFLAGS'
26025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
26032 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
26033 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
26034 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
26035 do :
26036 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26037 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26038 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26039 cat >>confdefs.h <<_ACEOF
26040 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26041 _ACEOF
26044 done
26053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
26054 $as_echo_n "checking for long double round functions... " >&6; }
26055 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
26056 $as_echo_n "(cached) " >&6
26057 else
26060 ac_ext=cpp
26061 ac_cpp='$CXXCPP $CPPFLAGS'
26062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26067 /* end confdefs.h. */
26068 #include <math.h>
26070 main ()
26072 ceill (0); floorl (0);
26074 return 0;
26076 _ACEOF
26077 if ac_fn_cxx_try_compile "$LINENO"; then :
26078 glibcxx_cv_func_long_double_round_use=yes
26079 else
26080 glibcxx_cv_func_long_double_round_use=no
26082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26083 ac_ext=c
26084 ac_cpp='$CPP $CPPFLAGS'
26085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
26092 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
26093 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
26094 for ac_func in ceill floorl
26095 do :
26096 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26097 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26098 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26099 cat >>confdefs.h <<_ACEOF
26100 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26101 _ACEOF
26104 done
26106 else
26107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
26108 $as_echo_n "checking for _long double round functions... " >&6; }
26109 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
26110 $as_echo_n "(cached) " >&6
26111 else
26114 ac_ext=cpp
26115 ac_cpp='$CXXCPP $CPPFLAGS'
26116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26121 /* end confdefs.h. */
26122 #include <math.h>
26124 main ()
26126 _ceill (0); _floorl (0);
26128 return 0;
26130 _ACEOF
26131 if ac_fn_cxx_try_compile "$LINENO"; then :
26132 glibcxx_cv_func__long_double_round_use=yes
26133 else
26134 glibcxx_cv_func__long_double_round_use=no
26136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26137 ac_ext=c
26138 ac_cpp='$CPP $CPPFLAGS'
26139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
26146 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
26147 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
26148 for ac_func in _ceill _floorl
26149 do :
26150 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26151 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26152 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26153 cat >>confdefs.h <<_ACEOF
26154 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26155 _ACEOF
26158 done
26168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
26169 $as_echo_n "checking for isnanl declaration... " >&6; }
26170 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
26171 if ${glibcxx_cv_func_isnanl_use+:} false; then :
26172 $as_echo_n "(cached) " >&6
26173 else
26176 ac_ext=cpp
26177 ac_cpp='$CXXCPP $CPPFLAGS'
26178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26183 /* end confdefs.h. */
26184 #include <math.h>
26185 #ifdef HAVE_IEEEFP_H
26186 #include <ieeefp.h>
26187 #endif
26190 main ()
26192 isnanl(0);
26194 return 0;
26196 _ACEOF
26197 if ac_fn_cxx_try_compile "$LINENO"; then :
26198 glibcxx_cv_func_isnanl_use=yes
26199 else
26200 glibcxx_cv_func_isnanl_use=no
26202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26203 ac_ext=c
26204 ac_cpp='$CPP $CPPFLAGS'
26205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
26214 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
26216 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
26217 for ac_func in isnanl
26218 do :
26219 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
26220 if test "x$ac_cv_func_isnanl" = xyes; then :
26221 cat >>confdefs.h <<_ACEOF
26222 #define HAVE_ISNANL 1
26223 _ACEOF
26226 done
26228 else
26230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
26231 $as_echo_n "checking for _isnanl declaration... " >&6; }
26232 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
26233 if ${glibcxx_cv_func__isnanl_use+:} false; then :
26234 $as_echo_n "(cached) " >&6
26235 else
26238 ac_ext=cpp
26239 ac_cpp='$CXXCPP $CPPFLAGS'
26240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26245 /* end confdefs.h. */
26246 #include <math.h>
26247 #ifdef HAVE_IEEEFP_H
26248 #include <ieeefp.h>
26249 #endif
26252 main ()
26254 _isnanl(0);
26256 return 0;
26258 _ACEOF
26259 if ac_fn_cxx_try_compile "$LINENO"; then :
26260 glibcxx_cv_func__isnanl_use=yes
26261 else
26262 glibcxx_cv_func__isnanl_use=no
26264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26265 ac_ext=c
26266 ac_cpp='$CPP $CPPFLAGS'
26267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
26276 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
26278 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
26279 for ac_func in _isnanl
26280 do :
26281 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
26282 if test "x$ac_cv_func__isnanl" = xyes; then :
26283 cat >>confdefs.h <<_ACEOF
26284 #define HAVE__ISNANL 1
26285 _ACEOF
26288 done
26297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
26298 $as_echo_n "checking for isinfl declaration... " >&6; }
26299 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
26300 if ${glibcxx_cv_func_isinfl_use+:} false; then :
26301 $as_echo_n "(cached) " >&6
26302 else
26305 ac_ext=cpp
26306 ac_cpp='$CXXCPP $CPPFLAGS'
26307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26312 /* end confdefs.h. */
26313 #include <math.h>
26314 #ifdef HAVE_IEEEFP_H
26315 #include <ieeefp.h>
26316 #endif
26319 main ()
26321 isinfl(0);
26323 return 0;
26325 _ACEOF
26326 if ac_fn_cxx_try_compile "$LINENO"; then :
26327 glibcxx_cv_func_isinfl_use=yes
26328 else
26329 glibcxx_cv_func_isinfl_use=no
26331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26332 ac_ext=c
26333 ac_cpp='$CPP $CPPFLAGS'
26334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
26343 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
26345 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
26346 for ac_func in isinfl
26347 do :
26348 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
26349 if test "x$ac_cv_func_isinfl" = xyes; then :
26350 cat >>confdefs.h <<_ACEOF
26351 #define HAVE_ISINFL 1
26352 _ACEOF
26355 done
26357 else
26359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
26360 $as_echo_n "checking for _isinfl declaration... " >&6; }
26361 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
26362 if ${glibcxx_cv_func__isinfl_use+:} false; then :
26363 $as_echo_n "(cached) " >&6
26364 else
26367 ac_ext=cpp
26368 ac_cpp='$CXXCPP $CPPFLAGS'
26369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26374 /* end confdefs.h. */
26375 #include <math.h>
26376 #ifdef HAVE_IEEEFP_H
26377 #include <ieeefp.h>
26378 #endif
26381 main ()
26383 _isinfl(0);
26385 return 0;
26387 _ACEOF
26388 if ac_fn_cxx_try_compile "$LINENO"; then :
26389 glibcxx_cv_func__isinfl_use=yes
26390 else
26391 glibcxx_cv_func__isinfl_use=no
26393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26394 ac_ext=c
26395 ac_cpp='$CPP $CPPFLAGS'
26396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
26405 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
26407 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
26408 for ac_func in _isinfl
26409 do :
26410 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
26411 if test "x$ac_cv_func__isinfl" = xyes; then :
26412 cat >>confdefs.h <<_ACEOF
26413 #define HAVE__ISINFL 1
26414 _ACEOF
26417 done
26426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
26427 $as_echo_n "checking for atan2l declaration... " >&6; }
26428 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
26429 if ${glibcxx_cv_func_atan2l_use+:} false; then :
26430 $as_echo_n "(cached) " >&6
26431 else
26434 ac_ext=cpp
26435 ac_cpp='$CXXCPP $CPPFLAGS'
26436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26441 /* end confdefs.h. */
26442 #include <math.h>
26444 main ()
26446 atan2l(0, 0);
26448 return 0;
26450 _ACEOF
26451 if ac_fn_cxx_try_compile "$LINENO"; then :
26452 glibcxx_cv_func_atan2l_use=yes
26453 else
26454 glibcxx_cv_func_atan2l_use=no
26456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26457 ac_ext=c
26458 ac_cpp='$CPP $CPPFLAGS'
26459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
26468 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
26470 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
26471 for ac_func in atan2l
26472 do :
26473 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
26474 if test "x$ac_cv_func_atan2l" = xyes; then :
26475 cat >>confdefs.h <<_ACEOF
26476 #define HAVE_ATAN2L 1
26477 _ACEOF
26480 done
26482 else
26484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
26485 $as_echo_n "checking for _atan2l declaration... " >&6; }
26486 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
26487 if ${glibcxx_cv_func__atan2l_use+:} false; then :
26488 $as_echo_n "(cached) " >&6
26489 else
26492 ac_ext=cpp
26493 ac_cpp='$CXXCPP $CPPFLAGS'
26494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26499 /* end confdefs.h. */
26500 #include <math.h>
26502 main ()
26504 _atan2l(0, 0);
26506 return 0;
26508 _ACEOF
26509 if ac_fn_cxx_try_compile "$LINENO"; then :
26510 glibcxx_cv_func__atan2l_use=yes
26511 else
26512 glibcxx_cv_func__atan2l_use=no
26514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26515 ac_ext=c
26516 ac_cpp='$CPP $CPPFLAGS'
26517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
26526 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
26528 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
26529 for ac_func in _atan2l
26530 do :
26531 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
26532 if test "x$ac_cv_func__atan2l" = xyes; then :
26533 cat >>confdefs.h <<_ACEOF
26534 #define HAVE__ATAN2L 1
26535 _ACEOF
26538 done
26547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
26548 $as_echo_n "checking for expl declaration... " >&6; }
26549 if test x${glibcxx_cv_func_expl_use+set} != xset; then
26550 if ${glibcxx_cv_func_expl_use+:} false; then :
26551 $as_echo_n "(cached) " >&6
26552 else
26555 ac_ext=cpp
26556 ac_cpp='$CXXCPP $CPPFLAGS'
26557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26562 /* end confdefs.h. */
26563 #include <math.h>
26564 #ifdef HAVE_IEEEFP_H
26565 #include <ieeefp.h>
26566 #endif
26569 main ()
26571 expl(0);
26573 return 0;
26575 _ACEOF
26576 if ac_fn_cxx_try_compile "$LINENO"; then :
26577 glibcxx_cv_func_expl_use=yes
26578 else
26579 glibcxx_cv_func_expl_use=no
26581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26582 ac_ext=c
26583 ac_cpp='$CPP $CPPFLAGS'
26584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26593 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26595 if test x$glibcxx_cv_func_expl_use = x"yes"; then
26596 for ac_func in expl
26597 do :
26598 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26599 if test "x$ac_cv_func_expl" = xyes; then :
26600 cat >>confdefs.h <<_ACEOF
26601 #define HAVE_EXPL 1
26602 _ACEOF
26605 done
26607 else
26609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26610 $as_echo_n "checking for _expl declaration... " >&6; }
26611 if test x${glibcxx_cv_func__expl_use+set} != xset; then
26612 if ${glibcxx_cv_func__expl_use+:} false; then :
26613 $as_echo_n "(cached) " >&6
26614 else
26617 ac_ext=cpp
26618 ac_cpp='$CXXCPP $CPPFLAGS'
26619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26624 /* end confdefs.h. */
26625 #include <math.h>
26626 #ifdef HAVE_IEEEFP_H
26627 #include <ieeefp.h>
26628 #endif
26631 main ()
26633 _expl(0);
26635 return 0;
26637 _ACEOF
26638 if ac_fn_cxx_try_compile "$LINENO"; then :
26639 glibcxx_cv_func__expl_use=yes
26640 else
26641 glibcxx_cv_func__expl_use=no
26643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26644 ac_ext=c
26645 ac_cpp='$CPP $CPPFLAGS'
26646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26655 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26657 if test x$glibcxx_cv_func__expl_use = x"yes"; then
26658 for ac_func in _expl
26659 do :
26660 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26661 if test "x$ac_cv_func__expl" = xyes; then :
26662 cat >>confdefs.h <<_ACEOF
26663 #define HAVE__EXPL 1
26664 _ACEOF
26667 done
26676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26677 $as_echo_n "checking for fabsl declaration... " >&6; }
26678 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26679 if ${glibcxx_cv_func_fabsl_use+:} false; then :
26680 $as_echo_n "(cached) " >&6
26681 else
26684 ac_ext=cpp
26685 ac_cpp='$CXXCPP $CPPFLAGS'
26686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26691 /* end confdefs.h. */
26692 #include <math.h>
26693 #ifdef HAVE_IEEEFP_H
26694 #include <ieeefp.h>
26695 #endif
26698 main ()
26700 fabsl(0);
26702 return 0;
26704 _ACEOF
26705 if ac_fn_cxx_try_compile "$LINENO"; then :
26706 glibcxx_cv_func_fabsl_use=yes
26707 else
26708 glibcxx_cv_func_fabsl_use=no
26710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26711 ac_ext=c
26712 ac_cpp='$CPP $CPPFLAGS'
26713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26722 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26724 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26725 for ac_func in fabsl
26726 do :
26727 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26728 if test "x$ac_cv_func_fabsl" = xyes; then :
26729 cat >>confdefs.h <<_ACEOF
26730 #define HAVE_FABSL 1
26731 _ACEOF
26734 done
26736 else
26738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26739 $as_echo_n "checking for _fabsl declaration... " >&6; }
26740 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26741 if ${glibcxx_cv_func__fabsl_use+:} false; then :
26742 $as_echo_n "(cached) " >&6
26743 else
26746 ac_ext=cpp
26747 ac_cpp='$CXXCPP $CPPFLAGS'
26748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26753 /* end confdefs.h. */
26754 #include <math.h>
26755 #ifdef HAVE_IEEEFP_H
26756 #include <ieeefp.h>
26757 #endif
26760 main ()
26762 _fabsl(0);
26764 return 0;
26766 _ACEOF
26767 if ac_fn_cxx_try_compile "$LINENO"; then :
26768 glibcxx_cv_func__fabsl_use=yes
26769 else
26770 glibcxx_cv_func__fabsl_use=no
26772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26773 ac_ext=c
26774 ac_cpp='$CPP $CPPFLAGS'
26775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26784 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26786 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26787 for ac_func in _fabsl
26788 do :
26789 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26790 if test "x$ac_cv_func__fabsl" = xyes; then :
26791 cat >>confdefs.h <<_ACEOF
26792 #define HAVE__FABSL 1
26793 _ACEOF
26796 done
26805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26806 $as_echo_n "checking for fmodl declaration... " >&6; }
26807 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26808 if ${glibcxx_cv_func_fmodl_use+:} false; then :
26809 $as_echo_n "(cached) " >&6
26810 else
26813 ac_ext=cpp
26814 ac_cpp='$CXXCPP $CPPFLAGS'
26815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26820 /* end confdefs.h. */
26821 #include <math.h>
26823 main ()
26825 fmodl(0, 0);
26827 return 0;
26829 _ACEOF
26830 if ac_fn_cxx_try_compile "$LINENO"; then :
26831 glibcxx_cv_func_fmodl_use=yes
26832 else
26833 glibcxx_cv_func_fmodl_use=no
26835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26836 ac_ext=c
26837 ac_cpp='$CPP $CPPFLAGS'
26838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26847 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26849 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26850 for ac_func in fmodl
26851 do :
26852 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26853 if test "x$ac_cv_func_fmodl" = xyes; then :
26854 cat >>confdefs.h <<_ACEOF
26855 #define HAVE_FMODL 1
26856 _ACEOF
26859 done
26861 else
26863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26864 $as_echo_n "checking for _fmodl declaration... " >&6; }
26865 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26866 if ${glibcxx_cv_func__fmodl_use+:} false; then :
26867 $as_echo_n "(cached) " >&6
26868 else
26871 ac_ext=cpp
26872 ac_cpp='$CXXCPP $CPPFLAGS'
26873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26878 /* end confdefs.h. */
26879 #include <math.h>
26881 main ()
26883 _fmodl(0, 0);
26885 return 0;
26887 _ACEOF
26888 if ac_fn_cxx_try_compile "$LINENO"; then :
26889 glibcxx_cv_func__fmodl_use=yes
26890 else
26891 glibcxx_cv_func__fmodl_use=no
26893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26894 ac_ext=c
26895 ac_cpp='$CPP $CPPFLAGS'
26896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26905 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26907 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26908 for ac_func in _fmodl
26909 do :
26910 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26911 if test "x$ac_cv_func__fmodl" = xyes; then :
26912 cat >>confdefs.h <<_ACEOF
26913 #define HAVE__FMODL 1
26914 _ACEOF
26917 done
26926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26927 $as_echo_n "checking for frexpl declaration... " >&6; }
26928 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26929 if ${glibcxx_cv_func_frexpl_use+:} false; then :
26930 $as_echo_n "(cached) " >&6
26931 else
26934 ac_ext=cpp
26935 ac_cpp='$CXXCPP $CPPFLAGS'
26936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26941 /* end confdefs.h. */
26942 #include <math.h>
26944 main ()
26946 frexpl(0, 0);
26948 return 0;
26950 _ACEOF
26951 if ac_fn_cxx_try_compile "$LINENO"; then :
26952 glibcxx_cv_func_frexpl_use=yes
26953 else
26954 glibcxx_cv_func_frexpl_use=no
26956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26957 ac_ext=c
26958 ac_cpp='$CPP $CPPFLAGS'
26959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26968 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26970 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26971 for ac_func in frexpl
26972 do :
26973 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26974 if test "x$ac_cv_func_frexpl" = xyes; then :
26975 cat >>confdefs.h <<_ACEOF
26976 #define HAVE_FREXPL 1
26977 _ACEOF
26980 done
26982 else
26984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26985 $as_echo_n "checking for _frexpl declaration... " >&6; }
26986 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26987 if ${glibcxx_cv_func__frexpl_use+:} false; then :
26988 $as_echo_n "(cached) " >&6
26989 else
26992 ac_ext=cpp
26993 ac_cpp='$CXXCPP $CPPFLAGS'
26994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26999 /* end confdefs.h. */
27000 #include <math.h>
27002 main ()
27004 _frexpl(0, 0);
27006 return 0;
27008 _ACEOF
27009 if ac_fn_cxx_try_compile "$LINENO"; then :
27010 glibcxx_cv_func__frexpl_use=yes
27011 else
27012 glibcxx_cv_func__frexpl_use=no
27014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27015 ac_ext=c
27016 ac_cpp='$CPP $CPPFLAGS'
27017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
27026 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
27028 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
27029 for ac_func in _frexpl
27030 do :
27031 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
27032 if test "x$ac_cv_func__frexpl" = xyes; then :
27033 cat >>confdefs.h <<_ACEOF
27034 #define HAVE__FREXPL 1
27035 _ACEOF
27038 done
27047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
27048 $as_echo_n "checking for hypotl declaration... " >&6; }
27049 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
27050 if ${glibcxx_cv_func_hypotl_use+:} false; then :
27051 $as_echo_n "(cached) " >&6
27052 else
27055 ac_ext=cpp
27056 ac_cpp='$CXXCPP $CPPFLAGS'
27057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27062 /* end confdefs.h. */
27063 #include <math.h>
27065 main ()
27067 hypotl(0, 0);
27069 return 0;
27071 _ACEOF
27072 if ac_fn_cxx_try_compile "$LINENO"; then :
27073 glibcxx_cv_func_hypotl_use=yes
27074 else
27075 glibcxx_cv_func_hypotl_use=no
27077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27078 ac_ext=c
27079 ac_cpp='$CPP $CPPFLAGS'
27080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
27089 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
27091 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
27092 for ac_func in hypotl
27093 do :
27094 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
27095 if test "x$ac_cv_func_hypotl" = xyes; then :
27096 cat >>confdefs.h <<_ACEOF
27097 #define HAVE_HYPOTL 1
27098 _ACEOF
27101 done
27103 else
27105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
27106 $as_echo_n "checking for _hypotl declaration... " >&6; }
27107 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
27108 if ${glibcxx_cv_func__hypotl_use+:} false; then :
27109 $as_echo_n "(cached) " >&6
27110 else
27113 ac_ext=cpp
27114 ac_cpp='$CXXCPP $CPPFLAGS'
27115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27120 /* end confdefs.h. */
27121 #include <math.h>
27123 main ()
27125 _hypotl(0, 0);
27127 return 0;
27129 _ACEOF
27130 if ac_fn_cxx_try_compile "$LINENO"; then :
27131 glibcxx_cv_func__hypotl_use=yes
27132 else
27133 glibcxx_cv_func__hypotl_use=no
27135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27136 ac_ext=c
27137 ac_cpp='$CPP $CPPFLAGS'
27138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
27147 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
27149 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
27150 for ac_func in _hypotl
27151 do :
27152 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
27153 if test "x$ac_cv_func__hypotl" = xyes; then :
27154 cat >>confdefs.h <<_ACEOF
27155 #define HAVE__HYPOTL 1
27156 _ACEOF
27159 done
27168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
27169 $as_echo_n "checking for ldexpl declaration... " >&6; }
27170 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
27171 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
27172 $as_echo_n "(cached) " >&6
27173 else
27176 ac_ext=cpp
27177 ac_cpp='$CXXCPP $CPPFLAGS'
27178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27183 /* end confdefs.h. */
27184 #include <math.h>
27186 main ()
27188 ldexpl(0, 0);
27190 return 0;
27192 _ACEOF
27193 if ac_fn_cxx_try_compile "$LINENO"; then :
27194 glibcxx_cv_func_ldexpl_use=yes
27195 else
27196 glibcxx_cv_func_ldexpl_use=no
27198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27199 ac_ext=c
27200 ac_cpp='$CPP $CPPFLAGS'
27201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
27210 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
27212 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
27213 for ac_func in ldexpl
27214 do :
27215 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
27216 if test "x$ac_cv_func_ldexpl" = xyes; then :
27217 cat >>confdefs.h <<_ACEOF
27218 #define HAVE_LDEXPL 1
27219 _ACEOF
27222 done
27224 else
27226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
27227 $as_echo_n "checking for _ldexpl declaration... " >&6; }
27228 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
27229 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
27230 $as_echo_n "(cached) " >&6
27231 else
27234 ac_ext=cpp
27235 ac_cpp='$CXXCPP $CPPFLAGS'
27236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27241 /* end confdefs.h. */
27242 #include <math.h>
27244 main ()
27246 _ldexpl(0, 0);
27248 return 0;
27250 _ACEOF
27251 if ac_fn_cxx_try_compile "$LINENO"; then :
27252 glibcxx_cv_func__ldexpl_use=yes
27253 else
27254 glibcxx_cv_func__ldexpl_use=no
27256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27257 ac_ext=c
27258 ac_cpp='$CPP $CPPFLAGS'
27259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
27268 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
27270 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
27271 for ac_func in _ldexpl
27272 do :
27273 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
27274 if test "x$ac_cv_func__ldexpl" = xyes; then :
27275 cat >>confdefs.h <<_ACEOF
27276 #define HAVE__LDEXPL 1
27277 _ACEOF
27280 done
27289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
27290 $as_echo_n "checking for logl declaration... " >&6; }
27291 if test x${glibcxx_cv_func_logl_use+set} != xset; then
27292 if ${glibcxx_cv_func_logl_use+:} false; then :
27293 $as_echo_n "(cached) " >&6
27294 else
27297 ac_ext=cpp
27298 ac_cpp='$CXXCPP $CPPFLAGS'
27299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27304 /* end confdefs.h. */
27305 #include <math.h>
27306 #ifdef HAVE_IEEEFP_H
27307 #include <ieeefp.h>
27308 #endif
27311 main ()
27313 logl(0);
27315 return 0;
27317 _ACEOF
27318 if ac_fn_cxx_try_compile "$LINENO"; then :
27319 glibcxx_cv_func_logl_use=yes
27320 else
27321 glibcxx_cv_func_logl_use=no
27323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27324 ac_ext=c
27325 ac_cpp='$CPP $CPPFLAGS'
27326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
27335 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
27337 if test x$glibcxx_cv_func_logl_use = x"yes"; then
27338 for ac_func in logl
27339 do :
27340 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
27341 if test "x$ac_cv_func_logl" = xyes; then :
27342 cat >>confdefs.h <<_ACEOF
27343 #define HAVE_LOGL 1
27344 _ACEOF
27347 done
27349 else
27351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
27352 $as_echo_n "checking for _logl declaration... " >&6; }
27353 if test x${glibcxx_cv_func__logl_use+set} != xset; then
27354 if ${glibcxx_cv_func__logl_use+:} false; then :
27355 $as_echo_n "(cached) " >&6
27356 else
27359 ac_ext=cpp
27360 ac_cpp='$CXXCPP $CPPFLAGS'
27361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27366 /* end confdefs.h. */
27367 #include <math.h>
27368 #ifdef HAVE_IEEEFP_H
27369 #include <ieeefp.h>
27370 #endif
27373 main ()
27375 _logl(0);
27377 return 0;
27379 _ACEOF
27380 if ac_fn_cxx_try_compile "$LINENO"; then :
27381 glibcxx_cv_func__logl_use=yes
27382 else
27383 glibcxx_cv_func__logl_use=no
27385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27386 ac_ext=c
27387 ac_cpp='$CPP $CPPFLAGS'
27388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
27397 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
27399 if test x$glibcxx_cv_func__logl_use = x"yes"; then
27400 for ac_func in _logl
27401 do :
27402 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
27403 if test "x$ac_cv_func__logl" = xyes; then :
27404 cat >>confdefs.h <<_ACEOF
27405 #define HAVE__LOGL 1
27406 _ACEOF
27409 done
27418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
27419 $as_echo_n "checking for log10l declaration... " >&6; }
27420 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
27421 if ${glibcxx_cv_func_log10l_use+:} false; then :
27422 $as_echo_n "(cached) " >&6
27423 else
27426 ac_ext=cpp
27427 ac_cpp='$CXXCPP $CPPFLAGS'
27428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27433 /* end confdefs.h. */
27434 #include <math.h>
27435 #ifdef HAVE_IEEEFP_H
27436 #include <ieeefp.h>
27437 #endif
27440 main ()
27442 log10l(0);
27444 return 0;
27446 _ACEOF
27447 if ac_fn_cxx_try_compile "$LINENO"; then :
27448 glibcxx_cv_func_log10l_use=yes
27449 else
27450 glibcxx_cv_func_log10l_use=no
27452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27453 ac_ext=c
27454 ac_cpp='$CPP $CPPFLAGS'
27455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
27464 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
27466 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
27467 for ac_func in log10l
27468 do :
27469 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
27470 if test "x$ac_cv_func_log10l" = xyes; then :
27471 cat >>confdefs.h <<_ACEOF
27472 #define HAVE_LOG10L 1
27473 _ACEOF
27476 done
27478 else
27480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
27481 $as_echo_n "checking for _log10l declaration... " >&6; }
27482 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
27483 if ${glibcxx_cv_func__log10l_use+:} false; then :
27484 $as_echo_n "(cached) " >&6
27485 else
27488 ac_ext=cpp
27489 ac_cpp='$CXXCPP $CPPFLAGS'
27490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27495 /* end confdefs.h. */
27496 #include <math.h>
27497 #ifdef HAVE_IEEEFP_H
27498 #include <ieeefp.h>
27499 #endif
27502 main ()
27504 _log10l(0);
27506 return 0;
27508 _ACEOF
27509 if ac_fn_cxx_try_compile "$LINENO"; then :
27510 glibcxx_cv_func__log10l_use=yes
27511 else
27512 glibcxx_cv_func__log10l_use=no
27514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27515 ac_ext=c
27516 ac_cpp='$CPP $CPPFLAGS'
27517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
27526 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
27528 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
27529 for ac_func in _log10l
27530 do :
27531 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
27532 if test "x$ac_cv_func__log10l" = xyes; then :
27533 cat >>confdefs.h <<_ACEOF
27534 #define HAVE__LOG10L 1
27535 _ACEOF
27538 done
27547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
27548 $as_echo_n "checking for modfl declaration... " >&6; }
27549 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
27550 if ${glibcxx_cv_func_modfl_use+:} false; then :
27551 $as_echo_n "(cached) " >&6
27552 else
27555 ac_ext=cpp
27556 ac_cpp='$CXXCPP $CPPFLAGS'
27557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27562 /* end confdefs.h. */
27563 #include <math.h>
27565 main ()
27567 modfl(0, 0);
27569 return 0;
27571 _ACEOF
27572 if ac_fn_cxx_try_compile "$LINENO"; then :
27573 glibcxx_cv_func_modfl_use=yes
27574 else
27575 glibcxx_cv_func_modfl_use=no
27577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27578 ac_ext=c
27579 ac_cpp='$CPP $CPPFLAGS'
27580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27589 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27591 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27592 for ac_func in modfl
27593 do :
27594 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27595 if test "x$ac_cv_func_modfl" = xyes; then :
27596 cat >>confdefs.h <<_ACEOF
27597 #define HAVE_MODFL 1
27598 _ACEOF
27601 done
27603 else
27605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27606 $as_echo_n "checking for _modfl declaration... " >&6; }
27607 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27608 if ${glibcxx_cv_func__modfl_use+:} false; then :
27609 $as_echo_n "(cached) " >&6
27610 else
27613 ac_ext=cpp
27614 ac_cpp='$CXXCPP $CPPFLAGS'
27615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27620 /* end confdefs.h. */
27621 #include <math.h>
27623 main ()
27625 _modfl(0, 0);
27627 return 0;
27629 _ACEOF
27630 if ac_fn_cxx_try_compile "$LINENO"; then :
27631 glibcxx_cv_func__modfl_use=yes
27632 else
27633 glibcxx_cv_func__modfl_use=no
27635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27636 ac_ext=c
27637 ac_cpp='$CPP $CPPFLAGS'
27638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27647 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27649 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27650 for ac_func in _modfl
27651 do :
27652 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27653 if test "x$ac_cv_func__modfl" = xyes; then :
27654 cat >>confdefs.h <<_ACEOF
27655 #define HAVE__MODFL 1
27656 _ACEOF
27659 done
27668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27669 $as_echo_n "checking for powl declaration... " >&6; }
27670 if test x${glibcxx_cv_func_powl_use+set} != xset; then
27671 if ${glibcxx_cv_func_powl_use+:} false; then :
27672 $as_echo_n "(cached) " >&6
27673 else
27676 ac_ext=cpp
27677 ac_cpp='$CXXCPP $CPPFLAGS'
27678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27683 /* end confdefs.h. */
27684 #include <math.h>
27686 main ()
27688 powl(0, 0);
27690 return 0;
27692 _ACEOF
27693 if ac_fn_cxx_try_compile "$LINENO"; then :
27694 glibcxx_cv_func_powl_use=yes
27695 else
27696 glibcxx_cv_func_powl_use=no
27698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27699 ac_ext=c
27700 ac_cpp='$CPP $CPPFLAGS'
27701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27710 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27712 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27713 for ac_func in powl
27714 do :
27715 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27716 if test "x$ac_cv_func_powl" = xyes; then :
27717 cat >>confdefs.h <<_ACEOF
27718 #define HAVE_POWL 1
27719 _ACEOF
27722 done
27724 else
27726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27727 $as_echo_n "checking for _powl declaration... " >&6; }
27728 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27729 if ${glibcxx_cv_func__powl_use+:} false; then :
27730 $as_echo_n "(cached) " >&6
27731 else
27734 ac_ext=cpp
27735 ac_cpp='$CXXCPP $CPPFLAGS'
27736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27741 /* end confdefs.h. */
27742 #include <math.h>
27744 main ()
27746 _powl(0, 0);
27748 return 0;
27750 _ACEOF
27751 if ac_fn_cxx_try_compile "$LINENO"; then :
27752 glibcxx_cv_func__powl_use=yes
27753 else
27754 glibcxx_cv_func__powl_use=no
27756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27757 ac_ext=c
27758 ac_cpp='$CPP $CPPFLAGS'
27759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27768 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27770 if test x$glibcxx_cv_func__powl_use = x"yes"; then
27771 for ac_func in _powl
27772 do :
27773 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27774 if test "x$ac_cv_func__powl" = xyes; then :
27775 cat >>confdefs.h <<_ACEOF
27776 #define HAVE__POWL 1
27777 _ACEOF
27780 done
27789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27790 $as_echo_n "checking for sqrtl declaration... " >&6; }
27791 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27792 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
27793 $as_echo_n "(cached) " >&6
27794 else
27797 ac_ext=cpp
27798 ac_cpp='$CXXCPP $CPPFLAGS'
27799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27804 /* end confdefs.h. */
27805 #include <math.h>
27806 #ifdef HAVE_IEEEFP_H
27807 #include <ieeefp.h>
27808 #endif
27811 main ()
27813 sqrtl(0);
27815 return 0;
27817 _ACEOF
27818 if ac_fn_cxx_try_compile "$LINENO"; then :
27819 glibcxx_cv_func_sqrtl_use=yes
27820 else
27821 glibcxx_cv_func_sqrtl_use=no
27823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27824 ac_ext=c
27825 ac_cpp='$CPP $CPPFLAGS'
27826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27835 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27837 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27838 for ac_func in sqrtl
27839 do :
27840 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27841 if test "x$ac_cv_func_sqrtl" = xyes; then :
27842 cat >>confdefs.h <<_ACEOF
27843 #define HAVE_SQRTL 1
27844 _ACEOF
27847 done
27849 else
27851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27852 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27853 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27854 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
27855 $as_echo_n "(cached) " >&6
27856 else
27859 ac_ext=cpp
27860 ac_cpp='$CXXCPP $CPPFLAGS'
27861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27866 /* end confdefs.h. */
27867 #include <math.h>
27868 #ifdef HAVE_IEEEFP_H
27869 #include <ieeefp.h>
27870 #endif
27873 main ()
27875 _sqrtl(0);
27877 return 0;
27879 _ACEOF
27880 if ac_fn_cxx_try_compile "$LINENO"; then :
27881 glibcxx_cv_func__sqrtl_use=yes
27882 else
27883 glibcxx_cv_func__sqrtl_use=no
27885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27886 ac_ext=c
27887 ac_cpp='$CPP $CPPFLAGS'
27888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27897 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27899 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27900 for ac_func in _sqrtl
27901 do :
27902 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27903 if test "x$ac_cv_func__sqrtl" = xyes; then :
27904 cat >>confdefs.h <<_ACEOF
27905 #define HAVE__SQRTL 1
27906 _ACEOF
27909 done
27918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27919 $as_echo_n "checking for sincosl declaration... " >&6; }
27920 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27921 if ${glibcxx_cv_func_sincosl_use+:} false; then :
27922 $as_echo_n "(cached) " >&6
27923 else
27926 ac_ext=cpp
27927 ac_cpp='$CXXCPP $CPPFLAGS'
27928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27933 /* end confdefs.h. */
27934 #include <math.h>
27936 main ()
27938 sincosl(0, 0, 0);
27940 return 0;
27942 _ACEOF
27943 if ac_fn_cxx_try_compile "$LINENO"; then :
27944 glibcxx_cv_func_sincosl_use=yes
27945 else
27946 glibcxx_cv_func_sincosl_use=no
27948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27949 ac_ext=c
27950 ac_cpp='$CPP $CPPFLAGS'
27951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27960 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27962 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27963 for ac_func in sincosl
27964 do :
27965 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27966 if test "x$ac_cv_func_sincosl" = xyes; then :
27967 cat >>confdefs.h <<_ACEOF
27968 #define HAVE_SINCOSL 1
27969 _ACEOF
27972 done
27974 else
27976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27977 $as_echo_n "checking for _sincosl declaration... " >&6; }
27978 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27979 if ${glibcxx_cv_func__sincosl_use+:} false; then :
27980 $as_echo_n "(cached) " >&6
27981 else
27984 ac_ext=cpp
27985 ac_cpp='$CXXCPP $CPPFLAGS'
27986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27991 /* end confdefs.h. */
27992 #include <math.h>
27994 main ()
27996 _sincosl(0, 0, 0);
27998 return 0;
28000 _ACEOF
28001 if ac_fn_cxx_try_compile "$LINENO"; then :
28002 glibcxx_cv_func__sincosl_use=yes
28003 else
28004 glibcxx_cv_func__sincosl_use=no
28006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28007 ac_ext=c
28008 ac_cpp='$CPP $CPPFLAGS'
28009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
28018 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
28020 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
28021 for ac_func in _sincosl
28022 do :
28023 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
28024 if test "x$ac_cv_func__sincosl" = xyes; then :
28025 cat >>confdefs.h <<_ACEOF
28026 #define HAVE__SINCOSL 1
28027 _ACEOF
28030 done
28039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
28040 $as_echo_n "checking for finitel declaration... " >&6; }
28041 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
28042 if ${glibcxx_cv_func_finitel_use+:} false; then :
28043 $as_echo_n "(cached) " >&6
28044 else
28047 ac_ext=cpp
28048 ac_cpp='$CXXCPP $CPPFLAGS'
28049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28054 /* end confdefs.h. */
28055 #include <math.h>
28056 #ifdef HAVE_IEEEFP_H
28057 #include <ieeefp.h>
28058 #endif
28061 main ()
28063 finitel(0);
28065 return 0;
28067 _ACEOF
28068 if ac_fn_cxx_try_compile "$LINENO"; then :
28069 glibcxx_cv_func_finitel_use=yes
28070 else
28071 glibcxx_cv_func_finitel_use=no
28073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28074 ac_ext=c
28075 ac_cpp='$CPP $CPPFLAGS'
28076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
28085 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
28087 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
28088 for ac_func in finitel
28089 do :
28090 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
28091 if test "x$ac_cv_func_finitel" = xyes; then :
28092 cat >>confdefs.h <<_ACEOF
28093 #define HAVE_FINITEL 1
28094 _ACEOF
28097 done
28099 else
28101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
28102 $as_echo_n "checking for _finitel declaration... " >&6; }
28103 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
28104 if ${glibcxx_cv_func__finitel_use+:} false; then :
28105 $as_echo_n "(cached) " >&6
28106 else
28109 ac_ext=cpp
28110 ac_cpp='$CXXCPP $CPPFLAGS'
28111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28116 /* end confdefs.h. */
28117 #include <math.h>
28118 #ifdef HAVE_IEEEFP_H
28119 #include <ieeefp.h>
28120 #endif
28123 main ()
28125 _finitel(0);
28127 return 0;
28129 _ACEOF
28130 if ac_fn_cxx_try_compile "$LINENO"; then :
28131 glibcxx_cv_func__finitel_use=yes
28132 else
28133 glibcxx_cv_func__finitel_use=no
28135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28136 ac_ext=c
28137 ac_cpp='$CPP $CPPFLAGS'
28138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
28147 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
28149 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
28150 for ac_func in _finitel
28151 do :
28152 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
28153 if test "x$ac_cv_func__finitel" = xyes; then :
28154 cat >>confdefs.h <<_ACEOF
28155 #define HAVE__FINITEL 1
28156 _ACEOF
28159 done
28167 LIBS="$ac_save_LIBS"
28168 CXXFLAGS="$ac_save_CXXFLAGS"
28171 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28172 ac_save_CXXFLAGS="$CXXFLAGS"
28173 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
28177 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
28178 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
28179 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
28180 $as_echo_n "(cached) " >&6
28181 else
28184 ac_ext=cpp
28185 ac_cpp='$CXXCPP $CPPFLAGS'
28186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28191 /* end confdefs.h. */
28192 #include <stdlib.h>
28194 main ()
28196 at_quick_exit(0);
28198 return 0;
28200 _ACEOF
28201 if ac_fn_cxx_try_compile "$LINENO"; then :
28202 glibcxx_cv_func_at_quick_exit_use=yes
28203 else
28204 glibcxx_cv_func_at_quick_exit_use=no
28206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28207 ac_ext=c
28208 ac_cpp='$CPP $CPPFLAGS'
28209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
28218 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
28219 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
28220 for ac_func in at_quick_exit
28221 do :
28222 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
28223 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
28224 cat >>confdefs.h <<_ACEOF
28225 #define HAVE_AT_QUICK_EXIT 1
28226 _ACEOF
28229 done
28234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
28235 $as_echo_n "checking for quick_exit declaration... " >&6; }
28236 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
28237 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
28238 $as_echo_n "(cached) " >&6
28239 else
28242 ac_ext=cpp
28243 ac_cpp='$CXXCPP $CPPFLAGS'
28244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28249 /* end confdefs.h. */
28250 #include <stdlib.h>
28252 main ()
28254 quick_exit(0);
28256 return 0;
28258 _ACEOF
28259 if ac_fn_cxx_try_compile "$LINENO"; then :
28260 glibcxx_cv_func_quick_exit_use=yes
28261 else
28262 glibcxx_cv_func_quick_exit_use=no
28264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28265 ac_ext=c
28266 ac_cpp='$CPP $CPPFLAGS'
28267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
28276 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
28277 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
28278 for ac_func in quick_exit
28279 do :
28280 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
28281 if test "x$ac_cv_func_quick_exit" = xyes; then :
28282 cat >>confdefs.h <<_ACEOF
28283 #define HAVE_QUICK_EXIT 1
28284 _ACEOF
28287 done
28292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
28293 $as_echo_n "checking for strtold declaration... " >&6; }
28294 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
28295 if ${glibcxx_cv_func_strtold_use+:} false; then :
28296 $as_echo_n "(cached) " >&6
28297 else
28300 ac_ext=cpp
28301 ac_cpp='$CXXCPP $CPPFLAGS'
28302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28307 /* end confdefs.h. */
28308 #include <stdlib.h>
28310 main ()
28312 strtold(0, 0);
28314 return 0;
28316 _ACEOF
28317 if ac_fn_cxx_try_compile "$LINENO"; then :
28318 glibcxx_cv_func_strtold_use=yes
28319 else
28320 glibcxx_cv_func_strtold_use=no
28322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28323 ac_ext=c
28324 ac_cpp='$CPP $CPPFLAGS'
28325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
28334 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
28335 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28336 for ac_func in strtold
28337 do :
28338 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
28339 if test "x$ac_cv_func_strtold" = xyes; then :
28340 cat >>confdefs.h <<_ACEOF
28341 #define HAVE_STRTOLD 1
28342 _ACEOF
28345 done
28352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
28353 $as_echo_n "checking for strtof declaration... " >&6; }
28354 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
28355 if ${glibcxx_cv_func_strtof_use+:} false; then :
28356 $as_echo_n "(cached) " >&6
28357 else
28360 ac_ext=cpp
28361 ac_cpp='$CXXCPP $CPPFLAGS'
28362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28367 /* end confdefs.h. */
28368 #include <stdlib.h>
28370 main ()
28372 strtof(0, 0);
28374 return 0;
28376 _ACEOF
28377 if ac_fn_cxx_try_compile "$LINENO"; then :
28378 glibcxx_cv_func_strtof_use=yes
28379 else
28380 glibcxx_cv_func_strtof_use=no
28382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28383 ac_ext=c
28384 ac_cpp='$CPP $CPPFLAGS'
28385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
28394 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
28395 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
28396 for ac_func in strtof
28397 do :
28398 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
28399 if test "x$ac_cv_func_strtof" = xyes; then :
28400 cat >>confdefs.h <<_ACEOF
28401 #define HAVE_STRTOF 1
28402 _ACEOF
28405 done
28412 CXXFLAGS="$ac_save_CXXFLAGS"
28415 # For /dev/random and /dev/urandom for std::random_device.
28418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device" >&5
28419 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device... " >&6; }
28420 if ${glibcxx_cv_dev_random+:} false; then :
28421 $as_echo_n "(cached) " >&6
28422 else
28424 if test -r /dev/random && test -r /dev/urandom; then
28425 ## For MSys environment the test above is detected as false-positive
28426 ## on mingw-targets. So disable it explicitly for them.
28427 case ${target_os} in
28428 *mingw*) glibcxx_cv_dev_random=no ;;
28429 *) glibcxx_cv_dev_random=yes ;;
28430 esac
28431 else
28432 glibcxx_cv_dev_random=no;
28436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dev_random" >&5
28437 $as_echo "$glibcxx_cv_dev_random" >&6; }
28439 if test x"$glibcxx_cv_dev_random" = x"yes"; then
28441 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
28444 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
28450 # For TLS support.
28453 # Check whether --enable-tls was given.
28454 if test "${enable_tls+set}" = set; then :
28455 enableval=$enable_tls;
28456 case "$enableval" in
28457 yes|no) ;;
28458 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
28459 esac
28461 else
28462 enable_tls=yes
28466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
28467 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
28468 if ${gcc_cv_have_tls+:} false; then :
28469 $as_echo_n "(cached) " >&6
28470 else
28472 if test "$cross_compiling" = yes; then :
28473 if test x$gcc_no_link = xyes; then
28474 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28477 /* end confdefs.h. */
28478 __thread int a; int b; int main() { return a = b; }
28479 _ACEOF
28480 if ac_fn_c_try_link "$LINENO"; then :
28481 chktls_save_LDFLAGS="$LDFLAGS"
28482 case $host in
28483 *-*-linux* | -*-uclinuxfdpic*)
28484 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
28486 esac
28487 chktls_save_CFLAGS="$CFLAGS"
28488 CFLAGS="-fPIC $CFLAGS"
28489 if test x$gcc_no_link = xyes; then
28490 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28493 /* end confdefs.h. */
28494 int f() { return 0; }
28495 _ACEOF
28496 if ac_fn_c_try_link "$LINENO"; then :
28497 if test x$gcc_no_link = xyes; then
28498 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28501 /* end confdefs.h. */
28502 __thread int a; int b; int f() { return a = b; }
28503 _ACEOF
28504 if ac_fn_c_try_link "$LINENO"; then :
28505 gcc_cv_have_tls=yes
28506 else
28507 gcc_cv_have_tls=no
28509 rm -f core conftest.err conftest.$ac_objext \
28510 conftest$ac_exeext conftest.$ac_ext
28511 else
28512 gcc_cv_have_tls=yes
28514 rm -f core conftest.err conftest.$ac_objext \
28515 conftest$ac_exeext conftest.$ac_ext
28516 CFLAGS="$chktls_save_CFLAGS"
28517 LDFLAGS="$chktls_save_LDFLAGS"
28518 else
28519 gcc_cv_have_tls=no
28521 rm -f core conftest.err conftest.$ac_objext \
28522 conftest$ac_exeext conftest.$ac_ext
28525 else
28526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28527 /* end confdefs.h. */
28528 __thread int a; int b; int main() { return a = b; }
28529 _ACEOF
28530 if ac_fn_c_try_run "$LINENO"; then :
28531 chktls_save_LDFLAGS="$LDFLAGS"
28532 LDFLAGS="-static $LDFLAGS"
28533 if test x$gcc_no_link = xyes; then
28534 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28537 /* end confdefs.h. */
28538 int main() { return 0; }
28539 _ACEOF
28540 if ac_fn_c_try_link "$LINENO"; then :
28541 if test "$cross_compiling" = yes; then :
28542 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28543 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28544 as_fn_error $? "cannot run test program while cross compiling
28545 See \`config.log' for more details" "$LINENO" 5; }
28546 else
28547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28548 /* end confdefs.h. */
28549 __thread int a; int b; int main() { return a = b; }
28550 _ACEOF
28551 if ac_fn_c_try_run "$LINENO"; then :
28552 gcc_cv_have_tls=yes
28553 else
28554 gcc_cv_have_tls=no
28556 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28557 conftest.$ac_objext conftest.beam conftest.$ac_ext
28560 else
28561 gcc_cv_have_tls=yes
28563 rm -f core conftest.err conftest.$ac_objext \
28564 conftest$ac_exeext conftest.$ac_ext
28565 LDFLAGS="$chktls_save_LDFLAGS"
28566 if test $gcc_cv_have_tls = yes; then
28567 chktls_save_CFLAGS="$CFLAGS"
28568 thread_CFLAGS=failed
28569 for flag in '' '-pthread' '-lpthread'; do
28570 CFLAGS="$flag $chktls_save_CFLAGS"
28571 if test x$gcc_no_link = xyes; then
28572 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28575 /* end confdefs.h. */
28576 #include <pthread.h>
28577 void *g(void *d) { return NULL; }
28579 main ()
28581 pthread_t t; pthread_create(&t,NULL,g,NULL);
28583 return 0;
28585 _ACEOF
28586 if ac_fn_c_try_link "$LINENO"; then :
28587 thread_CFLAGS="$flag"
28589 rm -f core conftest.err conftest.$ac_objext \
28590 conftest$ac_exeext conftest.$ac_ext
28591 if test "X$thread_CFLAGS" != Xfailed; then
28592 break
28594 done
28595 CFLAGS="$chktls_save_CFLAGS"
28596 if test "X$thread_CFLAGS" != Xfailed; then
28597 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28598 if test "$cross_compiling" = yes; then :
28599 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28600 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28601 as_fn_error $? "cannot run test program while cross compiling
28602 See \`config.log' for more details" "$LINENO" 5; }
28603 else
28604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28605 /* end confdefs.h. */
28606 #include <pthread.h>
28607 __thread int a;
28608 static int *volatile a_in_other_thread;
28609 static void *
28610 thread_func (void *arg)
28612 a_in_other_thread = &a;
28613 return (void *)0;
28616 main ()
28618 pthread_t thread;
28619 void *thread_retval;
28620 int *volatile a_in_main_thread;
28621 a_in_main_thread = &a;
28622 if (pthread_create (&thread, (pthread_attr_t *)0,
28623 thread_func, (void *)0))
28624 return 0;
28625 if (pthread_join (thread, &thread_retval))
28626 return 0;
28627 return (a_in_other_thread == a_in_main_thread);
28629 return 0;
28631 _ACEOF
28632 if ac_fn_c_try_run "$LINENO"; then :
28633 gcc_cv_have_tls=yes
28634 else
28635 gcc_cv_have_tls=no
28637 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28638 conftest.$ac_objext conftest.beam conftest.$ac_ext
28641 CFLAGS="$chktls_save_CFLAGS"
28644 else
28645 gcc_cv_have_tls=no
28647 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28648 conftest.$ac_objext conftest.beam conftest.$ac_ext
28652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28653 $as_echo "$gcc_cv_have_tls" >&6; }
28654 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28656 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28660 for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28661 do :
28662 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28663 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28664 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28665 cat >>confdefs.h <<_ACEOF
28666 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28667 _ACEOF
28670 done
28672 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28673 do :
28674 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28675 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28676 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28677 cat >>confdefs.h <<_ACEOF
28678 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28679 _ACEOF
28682 done
28684 for ac_func in _wfopen
28685 do :
28686 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
28687 if test "x$ac_cv_func__wfopen" = xyes; then :
28688 cat >>confdefs.h <<_ACEOF
28689 #define HAVE__WFOPEN 1
28690 _ACEOF
28693 done
28695 for ac_func in secure_getenv
28696 do :
28697 ac_fn_c_check_func "$LINENO" "secure_getenv" "ac_cv_func_secure_getenv"
28698 if test "x$ac_cv_func_secure_getenv" = xyes; then :
28699 cat >>confdefs.h <<_ACEOF
28700 #define HAVE_SECURE_GETENV 1
28701 _ACEOF
28704 done
28707 # C11 functions for C++17 library
28708 for ac_func in timespec_get
28709 do :
28710 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
28711 if test "x$ac_cv_func_timespec_get" = xyes; then :
28712 cat >>confdefs.h <<_ACEOF
28713 #define HAVE_TIMESPEC_GET 1
28714 _ACEOF
28717 done
28720 # For Networking TS.
28721 for ac_func in sockatmark
28722 do :
28723 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
28724 if test "x$ac_cv_func_sockatmark" = xyes; then :
28725 cat >>confdefs.h <<_ACEOF
28726 #define HAVE_SOCKATMARK 1
28727 _ACEOF
28730 done
28733 # Non-standard functions used by C++17 std::from_chars
28734 for ac_func in uselocale
28735 do :
28736 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
28737 if test "x$ac_cv_func_uselocale" = xyes; then :
28738 cat >>confdefs.h <<_ACEOF
28739 #define HAVE_USELOCALE 1
28740 _ACEOF
28743 done
28746 # For iconv support.
28748 if test "X$prefix" = "XNONE"; then
28749 acl_final_prefix="$ac_default_prefix"
28750 else
28751 acl_final_prefix="$prefix"
28753 if test "X$exec_prefix" = "XNONE"; then
28754 acl_final_exec_prefix='${prefix}'
28755 else
28756 acl_final_exec_prefix="$exec_prefix"
28758 acl_save_prefix="$prefix"
28759 prefix="$acl_final_prefix"
28760 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28761 prefix="$acl_save_prefix"
28764 # Check whether --with-gnu-ld was given.
28765 if test "${with_gnu_ld+set}" = set; then :
28766 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28767 else
28768 with_gnu_ld=no
28771 # Prepare PATH_SEPARATOR.
28772 # The user is always right.
28773 if test "${PATH_SEPARATOR+set}" != set; then
28774 echo "#! /bin/sh" >conf$$.sh
28775 echo "exit 0" >>conf$$.sh
28776 chmod +x conf$$.sh
28777 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28778 PATH_SEPARATOR=';'
28779 else
28780 PATH_SEPARATOR=:
28782 rm -f conf$$.sh
28784 ac_prog=ld
28785 if test "$GCC" = yes; then
28786 # Check if gcc -print-prog-name=ld gives a path.
28787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28788 $as_echo_n "checking for ld used by GCC... " >&6; }
28789 case $host in
28790 *-*-mingw*)
28791 # gcc leaves a trailing carriage return which upsets mingw
28792 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28794 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28795 esac
28796 case $ac_prog in
28797 # Accept absolute paths.
28798 [\\/]* | [A-Za-z]:[\\/]*)
28799 re_direlt='/[^/][^/]*/\.\./'
28800 # Canonicalize the path of ld
28801 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28802 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28803 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28804 done
28805 test -z "$LD" && LD="$ac_prog"
28808 # If it fails, then pretend we aren't using GCC.
28809 ac_prog=ld
28812 # If it is relative, then search for the first ld in PATH.
28813 with_gnu_ld=unknown
28815 esac
28816 elif test "$with_gnu_ld" = yes; then
28817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28818 $as_echo_n "checking for GNU ld... " >&6; }
28819 else
28820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28821 $as_echo_n "checking for non-GNU ld... " >&6; }
28823 if ${acl_cv_path_LD+:} false; then :
28824 $as_echo_n "(cached) " >&6
28825 else
28826 if test -z "$LD"; then
28827 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28828 for ac_dir in $PATH; do
28829 test -z "$ac_dir" && ac_dir=.
28830 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28831 acl_cv_path_LD="$ac_dir/$ac_prog"
28832 # Check to see if the program is GNU ld. I'd rather use --version,
28833 # but apparently some GNU ld's only accept -v.
28834 # Break only if it was the GNU/non-GNU ld that we prefer.
28835 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28836 test "$with_gnu_ld" != no && break
28837 else
28838 test "$with_gnu_ld" != yes && break
28841 done
28842 IFS="$ac_save_ifs"
28843 else
28844 acl_cv_path_LD="$LD" # Let the user override the test with a path.
28848 LD="$acl_cv_path_LD"
28849 if test -n "$LD"; then
28850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28851 $as_echo "$LD" >&6; }
28852 else
28853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28854 $as_echo "no" >&6; }
28856 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
28857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28858 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28859 if ${acl_cv_prog_gnu_ld+:} false; then :
28860 $as_echo_n "(cached) " >&6
28861 else
28862 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28863 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28864 acl_cv_prog_gnu_ld=yes
28865 else
28866 acl_cv_prog_gnu_ld=no
28869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28870 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
28871 with_gnu_ld=$acl_cv_prog_gnu_ld
28875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28876 $as_echo_n "checking for shared library run path origin... " >&6; }
28877 if ${acl_cv_rpath+:} false; then :
28878 $as_echo_n "(cached) " >&6
28879 else
28881 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28882 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28883 . ./conftest.sh
28884 rm -f ./conftest.sh
28885 acl_cv_rpath=done
28888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28889 $as_echo "$acl_cv_rpath" >&6; }
28890 wl="$acl_cv_wl"
28891 libext="$acl_cv_libext"
28892 shlibext="$acl_cv_shlibext"
28893 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28894 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28895 hardcode_direct="$acl_cv_hardcode_direct"
28896 hardcode_minus_L="$acl_cv_hardcode_minus_L"
28897 # Check whether --enable-rpath was given.
28898 if test "${enable_rpath+set}" = set; then :
28899 enableval=$enable_rpath; :
28900 else
28901 enable_rpath=yes
28911 use_additional=yes
28913 acl_save_prefix="$prefix"
28914 prefix="$acl_final_prefix"
28915 acl_save_exec_prefix="$exec_prefix"
28916 exec_prefix="$acl_final_exec_prefix"
28918 eval additional_includedir=\"$includedir\"
28919 eval additional_libdir=\"$libdir\"
28921 exec_prefix="$acl_save_exec_prefix"
28922 prefix="$acl_save_prefix"
28925 # Check whether --with-libiconv-prefix was given.
28926 if test "${with_libiconv_prefix+set}" = set; then :
28927 withval=$with_libiconv_prefix;
28928 if test "X$withval" = "Xno"; then
28929 use_additional=no
28930 else
28931 if test "X$withval" = "X"; then
28933 acl_save_prefix="$prefix"
28934 prefix="$acl_final_prefix"
28935 acl_save_exec_prefix="$exec_prefix"
28936 exec_prefix="$acl_final_exec_prefix"
28938 eval additional_includedir=\"$includedir\"
28939 eval additional_libdir=\"$libdir\"
28941 exec_prefix="$acl_save_exec_prefix"
28942 prefix="$acl_save_prefix"
28944 else
28945 additional_includedir="$withval/include"
28946 additional_libdir="$withval/lib"
28953 # Check whether --with-libiconv-type was given.
28954 if test "${with_libiconv_type+set}" = set; then :
28955 withval=$with_libiconv_type; with_libiconv_type=$withval
28956 else
28957 with_libiconv_type=auto
28960 lib_type=`eval echo \$with_libiconv_type`
28962 LIBICONV=
28963 LTLIBICONV=
28964 INCICONV=
28965 rpathdirs=
28966 ltrpathdirs=
28967 names_already_handled=
28968 names_next_round='iconv '
28969 while test -n "$names_next_round"; do
28970 names_this_round="$names_next_round"
28971 names_next_round=
28972 for name in $names_this_round; do
28973 already_handled=
28974 for n in $names_already_handled; do
28975 if test "$n" = "$name"; then
28976 already_handled=yes
28977 break
28979 done
28980 if test -z "$already_handled"; then
28981 names_already_handled="$names_already_handled $name"
28982 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28983 eval value=\"\$HAVE_LIB$uppername\"
28984 if test -n "$value"; then
28985 if test "$value" = yes; then
28986 eval value=\"\$LIB$uppername\"
28987 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28988 eval value=\"\$LTLIB$uppername\"
28989 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28990 else
28993 else
28994 found_dir=
28995 found_la=
28996 found_so=
28997 found_a=
28998 if test $use_additional = yes; then
28999 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x$lib_type != xstatic; then
29000 found_dir="$additional_libdir"
29001 found_so="$additional_libdir/lib$name.$shlibext"
29002 if test -f "$additional_libdir/lib$name.la"; then
29003 found_la="$additional_libdir/lib$name.la"
29005 elif test x$lib_type != xshared; then
29006 if test -f "$additional_libdir/lib$name.$libext"; then
29007 found_dir="$additional_libdir"
29008 found_a="$additional_libdir/lib$name.$libext"
29009 if test -f "$additional_libdir/lib$name.la"; then
29010 found_la="$additional_libdir/lib$name.la"
29015 if test "X$found_dir" = "X"; then
29016 for x in $LDFLAGS $LTLIBICONV; do
29018 acl_save_prefix="$prefix"
29019 prefix="$acl_final_prefix"
29020 acl_save_exec_prefix="$exec_prefix"
29021 exec_prefix="$acl_final_exec_prefix"
29022 eval x=\"$x\"
29023 exec_prefix="$acl_save_exec_prefix"
29024 prefix="$acl_save_prefix"
29026 case "$x" in
29027 -L*)
29028 dir=`echo "X$x" | sed -e 's/^X-L//'`
29029 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x$lib_type != xstatic; then
29030 found_dir="$dir"
29031 found_so="$dir/lib$name.$shlibext"
29032 if test -f "$dir/lib$name.la"; then
29033 found_la="$dir/lib$name.la"
29035 elif test x$lib_type != xshared; then
29036 if test -f "$dir/lib$name.$libext"; then
29037 found_dir="$dir"
29038 found_a="$dir/lib$name.$libext"
29039 if test -f "$dir/lib$name.la"; then
29040 found_la="$dir/lib$name.la"
29045 esac
29046 if test "X$found_dir" != "X"; then
29047 break
29049 done
29051 if test "X$found_dir" != "X"; then
29052 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
29053 if test "X$found_so" != "X"; then
29054 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
29055 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29056 else
29057 haveit=
29058 for x in $ltrpathdirs; do
29059 if test "X$x" = "X$found_dir"; then
29060 haveit=yes
29061 break
29063 done
29064 if test -z "$haveit"; then
29065 ltrpathdirs="$ltrpathdirs $found_dir"
29067 if test "$hardcode_direct" = yes; then
29068 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29069 else
29070 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
29071 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29072 haveit=
29073 for x in $rpathdirs; do
29074 if test "X$x" = "X$found_dir"; then
29075 haveit=yes
29076 break
29078 done
29079 if test -z "$haveit"; then
29080 rpathdirs="$rpathdirs $found_dir"
29082 else
29083 haveit=
29084 for x in $LDFLAGS $LIBICONV; do
29086 acl_save_prefix="$prefix"
29087 prefix="$acl_final_prefix"
29088 acl_save_exec_prefix="$exec_prefix"
29089 exec_prefix="$acl_final_exec_prefix"
29090 eval x=\"$x\"
29091 exec_prefix="$acl_save_exec_prefix"
29092 prefix="$acl_save_prefix"
29094 if test "X$x" = "X-L$found_dir"; then
29095 haveit=yes
29096 break
29098 done
29099 if test -z "$haveit"; then
29100 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
29102 if test "$hardcode_minus_L" != no; then
29103 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29104 else
29105 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
29110 else
29111 if test "X$found_a" != "X"; then
29112 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
29113 else
29114 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
29117 additional_includedir=
29118 case "$found_dir" in
29119 */lib | */lib/)
29120 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
29121 additional_includedir="$basedir/include"
29123 esac
29124 if test "X$additional_includedir" != "X"; then
29125 if test "X$additional_includedir" != "X/usr/include"; then
29126 haveit=
29127 if test "X$additional_includedir" = "X/usr/local/include"; then
29128 if test -n "$GCC"; then
29129 case $host_os in
29130 linux*) haveit=yes;;
29131 esac
29134 if test -z "$haveit"; then
29135 for x in $CPPFLAGS $INCICONV; do
29137 acl_save_prefix="$prefix"
29138 prefix="$acl_final_prefix"
29139 acl_save_exec_prefix="$exec_prefix"
29140 exec_prefix="$acl_final_exec_prefix"
29141 eval x=\"$x\"
29142 exec_prefix="$acl_save_exec_prefix"
29143 prefix="$acl_save_prefix"
29145 if test "X$x" = "X-I$additional_includedir"; then
29146 haveit=yes
29147 break
29149 done
29150 if test -z "$haveit"; then
29151 if test -d "$additional_includedir"; then
29152 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
29158 if test -n "$found_la"; then
29159 save_libdir="$libdir"
29160 case "$found_la" in
29161 */* | *\\*) . "$found_la" ;;
29162 *) . "./$found_la" ;;
29163 esac
29164 libdir="$save_libdir"
29165 for dep in $dependency_libs; do
29166 case "$dep" in
29167 -L*)
29168 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
29169 if test "X$additional_libdir" != "X/usr/lib"; then
29170 haveit=
29171 if test "X$additional_libdir" = "X/usr/local/lib"; then
29172 if test -n "$GCC"; then
29173 case $host_os in
29174 linux*) haveit=yes;;
29175 esac
29178 if test -z "$haveit"; then
29179 haveit=
29180 for x in $LDFLAGS $LIBICONV; do
29182 acl_save_prefix="$prefix"
29183 prefix="$acl_final_prefix"
29184 acl_save_exec_prefix="$exec_prefix"
29185 exec_prefix="$acl_final_exec_prefix"
29186 eval x=\"$x\"
29187 exec_prefix="$acl_save_exec_prefix"
29188 prefix="$acl_save_prefix"
29190 if test "X$x" = "X-L$additional_libdir"; then
29191 haveit=yes
29192 break
29194 done
29195 if test -z "$haveit"; then
29196 if test -d "$additional_libdir"; then
29197 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
29200 haveit=
29201 for x in $LDFLAGS $LTLIBICONV; do
29203 acl_save_prefix="$prefix"
29204 prefix="$acl_final_prefix"
29205 acl_save_exec_prefix="$exec_prefix"
29206 exec_prefix="$acl_final_exec_prefix"
29207 eval x=\"$x\"
29208 exec_prefix="$acl_save_exec_prefix"
29209 prefix="$acl_save_prefix"
29211 if test "X$x" = "X-L$additional_libdir"; then
29212 haveit=yes
29213 break
29215 done
29216 if test -z "$haveit"; then
29217 if test -d "$additional_libdir"; then
29218 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
29224 -R*)
29225 dir=`echo "X$dep" | sed -e 's/^X-R//'`
29226 if test "$enable_rpath" != no; then
29227 haveit=
29228 for x in $rpathdirs; do
29229 if test "X$x" = "X$dir"; then
29230 haveit=yes
29231 break
29233 done
29234 if test -z "$haveit"; then
29235 rpathdirs="$rpathdirs $dir"
29237 haveit=
29238 for x in $ltrpathdirs; do
29239 if test "X$x" = "X$dir"; then
29240 haveit=yes
29241 break
29243 done
29244 if test -z "$haveit"; then
29245 ltrpathdirs="$ltrpathdirs $dir"
29249 -l*)
29250 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
29252 *.la)
29253 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
29256 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
29257 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
29259 esac
29260 done
29262 else
29263 if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then
29264 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
29265 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
29266 else
29267 LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext"
29268 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext"
29273 done
29274 done
29275 if test "X$rpathdirs" != "X"; then
29276 if test -n "$hardcode_libdir_separator"; then
29277 alldirs=
29278 for found_dir in $rpathdirs; do
29279 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
29280 done
29281 acl_save_libdir="$libdir"
29282 libdir="$alldirs"
29283 eval flag=\"$hardcode_libdir_flag_spec\"
29284 libdir="$acl_save_libdir"
29285 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
29286 else
29287 for found_dir in $rpathdirs; do
29288 acl_save_libdir="$libdir"
29289 libdir="$found_dir"
29290 eval flag=\"$hardcode_libdir_flag_spec\"
29291 libdir="$acl_save_libdir"
29292 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
29293 done
29296 if test "X$ltrpathdirs" != "X"; then
29297 for found_dir in $ltrpathdirs; do
29298 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
29299 done
29308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
29309 $as_echo_n "checking for iconv... " >&6; }
29310 if ${am_cv_func_iconv+:} false; then :
29311 $as_echo_n "(cached) " >&6
29312 else
29314 am_cv_func_iconv="no, consider installing GNU libiconv"
29315 am_cv_lib_iconv=no
29316 am_save_CPPFLAGS="$CPPFLAGS"
29317 CPPFLAGS="$CPPFLAGS $INCICONV"
29318 if test x$gcc_no_link = xyes; then
29319 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29322 /* end confdefs.h. */
29323 #include <stdlib.h>
29324 #include <iconv.h>
29326 main ()
29328 iconv_t cd = iconv_open("","");
29329 iconv(cd,NULL,NULL,NULL,NULL);
29330 iconv_close(cd);
29332 return 0;
29334 _ACEOF
29335 if ac_fn_c_try_link "$LINENO"; then :
29336 am_cv_func_iconv=yes
29338 rm -f core conftest.err conftest.$ac_objext \
29339 conftest$ac_exeext conftest.$ac_ext
29340 CPPFLAGS="$am_save_CPPFLAGS"
29342 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
29343 for _libs in .libs _libs; do
29344 am_save_CPPFLAGS="$CPPFLAGS"
29345 am_save_LIBS="$LIBS"
29346 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
29347 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
29348 if test x$gcc_no_link = xyes; then
29349 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29352 /* end confdefs.h. */
29353 #include <stdlib.h>
29354 #include <iconv.h>
29356 main ()
29358 iconv_t cd = iconv_open("","");
29359 iconv(cd,NULL,NULL,NULL,NULL);
29360 iconv_close(cd);
29362 return 0;
29364 _ACEOF
29365 if ac_fn_c_try_link "$LINENO"; then :
29366 INCICONV="-I../libiconv/include"
29367 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
29368 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
29369 am_cv_lib_iconv=yes
29370 am_cv_func_iconv=yes
29372 rm -f core conftest.err conftest.$ac_objext \
29373 conftest$ac_exeext conftest.$ac_ext
29374 CPPFLAGS="$am_save_CPPFLAGS"
29375 LIBS="$am_save_LIBS"
29376 if test "$am_cv_func_iconv" = "yes"; then
29377 break
29379 done
29382 if test "$am_cv_func_iconv" != yes; then
29383 am_save_CPPFLAGS="$CPPFLAGS"
29384 am_save_LIBS="$LIBS"
29385 CPPFLAGS="$CPPFLAGS $INCICONV"
29386 LIBS="$LIBS $LIBICONV"
29387 if test x$gcc_no_link = xyes; then
29388 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29391 /* end confdefs.h. */
29392 #include <stdlib.h>
29393 #include <iconv.h>
29395 main ()
29397 iconv_t cd = iconv_open("","");
29398 iconv(cd,NULL,NULL,NULL,NULL);
29399 iconv_close(cd);
29401 return 0;
29403 _ACEOF
29404 if ac_fn_c_try_link "$LINENO"; then :
29405 am_cv_lib_iconv=yes
29406 am_cv_func_iconv=yes
29408 rm -f core conftest.err conftest.$ac_objext \
29409 conftest$ac_exeext conftest.$ac_ext
29410 CPPFLAGS="$am_save_CPPFLAGS"
29411 LIBS="$am_save_LIBS"
29415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
29416 $as_echo "$am_cv_func_iconv" >&6; }
29417 if test "$am_cv_func_iconv" = yes; then
29419 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29422 if test "$am_cv_lib_iconv" = yes; then
29424 for element in $INCICONV; do
29425 haveit=
29426 for x in $CPPFLAGS; do
29428 acl_save_prefix="$prefix"
29429 prefix="$acl_final_prefix"
29430 acl_save_exec_prefix="$exec_prefix"
29431 exec_prefix="$acl_final_exec_prefix"
29432 eval x=\"$x\"
29433 exec_prefix="$acl_save_exec_prefix"
29434 prefix="$acl_save_prefix"
29436 if test "X$x" = "X$element"; then
29437 haveit=yes
29438 break
29440 done
29441 if test -z "$haveit"; then
29442 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
29444 done
29446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
29447 $as_echo_n "checking how to link with libiconv... " >&6; }
29448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
29449 $as_echo "$LIBICONV" >&6; }
29450 else
29451 LIBICONV=
29452 LTLIBICONV=
29457 if test "$am_cv_func_iconv" = yes; then
29458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
29459 $as_echo_n "checking for iconv declaration... " >&6; }
29460 if ${am_cv_proto_iconv+:} false; then :
29461 $as_echo_n "(cached) " >&6
29462 else
29464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29465 /* end confdefs.h. */
29467 #include <stdlib.h>
29468 #include <iconv.h>
29469 extern
29470 #ifdef __cplusplus
29472 #endif
29473 #if defined(__STDC__) || defined(__cplusplus)
29474 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29475 #else
29476 size_t iconv();
29477 #endif
29480 main ()
29484 return 0;
29486 _ACEOF
29487 if ac_fn_c_try_compile "$LINENO"; then :
29488 am_cv_proto_iconv_arg1=""
29489 else
29490 am_cv_proto_iconv_arg1="const"
29492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29493 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);"
29496 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
29497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
29498 }$am_cv_proto_iconv" >&5
29499 $as_echo "${ac_t:-
29500 }$am_cv_proto_iconv" >&6; }
29502 cat >>confdefs.h <<_ACEOF
29503 #define ICONV_CONST $am_cv_proto_iconv_arg1
29504 _ACEOF
29509 else
29511 # This lets us hard-code the functionality we know we'll have in the cross
29512 # target environment. "Let" is a sugar-coated word placed on an especially
29513 # dull and tedious hack, actually.
29515 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
29516 # that involve linking, can't be used:
29517 # "cannot open sim-crt0.o"
29518 # "cannot open crt0.o"
29519 # etc. All this is because there currently exists no unified, consistent
29520 # way for top level CC information to be passed down to target directories:
29521 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
29522 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
29523 # crosses can be removed.
29525 # If Canadian cross, then don't pick up tools from the build directory.
29526 # Used only in GLIBCXX_EXPORT_INCLUDES.
29527 if test -n "$with_cross_host" &&
29528 test x"$build_alias" != x"$with_cross_host" &&
29529 test x"$build" != x"$target";
29530 then
29531 CANADIAN=yes
29532 else
29533 CANADIAN=no
29536 # Construct crosses by hand, eliminating bits that need ld...
29537 # GLIBCXX_CHECK_MATH_SUPPORT
29539 # First, test for "known" system libraries. We may be using newlib even
29540 # on a hosted environment.
29541 if test "x${with_newlib}" = "xyes"; then
29542 os_include_dir="os/newlib"
29543 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
29546 # GLIBCXX_CHECK_STDLIB_SUPPORT
29547 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
29550 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29552 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29554 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29556 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29558 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29560 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29562 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29564 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29566 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29568 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29570 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29572 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29574 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29576 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29578 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29580 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29582 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29584 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29586 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29588 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29590 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29592 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29595 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29597 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
29600 case "${target}" in
29601 *-rtems*)
29602 case "${target}" in
29603 bfin* | lm32* | mips* | moxie* | or1k* | v850*)
29606 $as_echo "#define HAVE_TLS 1" >>confdefs.h
29609 esac
29610 $as_echo "#define HAVE_ALIGNED_ALLOC 1" >>confdefs.h
29612 $as_echo "#define HAVE_AT_QUICK_EXIT 1" >>confdefs.h
29614 $as_echo "#define HAVE_LINK 1" >>confdefs.h
29616 $as_echo "#define HAVE_QUICK_EXIT 1" >>confdefs.h
29618 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
29620 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
29622 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
29624 $as_echo "#define HAVE_SOCKATMARK 1" >>confdefs.h
29626 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
29628 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
29630 $as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
29632 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
29635 esac
29636 elif test "x$with_headers" != "xno"; then
29638 # Base decisions on target environment.
29639 case "${host}" in
29640 arm*-*-symbianelf*)
29641 # This is a freestanding configuration; there is nothing to do here.
29644 avr*-*-*)
29645 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29647 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29649 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29651 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29653 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29655 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29657 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29659 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29661 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29663 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29665 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29667 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29669 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29671 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29673 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29675 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29677 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29679 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29681 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29683 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29685 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29687 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29689 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29693 mips*-sde-elf*)
29694 # These definitions are for the SDE C library rather than newlib.
29695 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29698 # All these tests are for C++; save the language and the compiler flags.
29699 # The CXXFLAGS thing is suspicious, but based on similar bits previously
29700 # found in GLIBCXX_CONFIGURE.
29702 ac_ext=cpp
29703 ac_cpp='$CXXCPP $CPPFLAGS'
29704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29708 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29709 ac_save_CXXFLAGS="$CXXFLAGS"
29711 # Check for -ffunction-sections -fdata-sections
29712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29713 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29714 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29716 /* end confdefs.h. */
29717 int foo; void bar() { };
29719 main ()
29723 return 0;
29725 _ACEOF
29726 if ac_fn_cxx_try_compile "$LINENO"; then :
29727 ac_fdsections=yes
29728 else
29729 ac_fdsections=no
29731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29732 if test "$ac_test_CXXFLAGS" = set; then
29733 CXXFLAGS="$ac_save_CXXFLAGS"
29734 else
29735 # this is the suspicious part
29736 CXXFLAGS=''
29738 if test x"$ac_fdsections" = x"yes"; then
29739 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29742 $as_echo "$ac_fdsections" >&6; }
29744 ac_ext=c
29745 ac_cpp='$CPP $CPPFLAGS'
29746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29753 # If we're not using GNU ld, then there's no point in even trying these
29754 # tests. Check for that first. We should have already tested for gld
29755 # by now (in libtool), but require it now just to be safe...
29756 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29757 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29761 # The name set by libtool depends on the version of libtool. Shame on us
29762 # for depending on an impl detail, but c'est la vie. Older versions used
29763 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29764 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29765 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
29766 # set (hence we're using an older libtool), then set it.
29767 if test x${with_gnu_ld+set} != xset; then
29768 if test x${ac_cv_prog_gnu_ld+set} != xset; then
29769 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
29770 with_gnu_ld=no
29771 else
29772 with_gnu_ld=$ac_cv_prog_gnu_ld
29776 # Start by getting the version number. I think the libtool test already
29777 # does some of this, but throws away the result.
29778 glibcxx_ld_is_gold=no
29779 glibcxx_ld_is_mold=no
29780 if test x"$with_gnu_ld" = x"yes"; then
29781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29782 $as_echo_n "checking for ld version... " >&6; }
29784 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29785 glibcxx_ld_is_gold=yes
29786 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
29787 glibcxx_ld_is_mold=yes
29789 ldver=`$LD --version 2>/dev/null |
29790 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
29792 glibcxx_gnu_ld_version=`echo $ldver | \
29793 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
29795 $as_echo "$glibcxx_gnu_ld_version" >&6; }
29798 # Set --gc-sections.
29799 glibcxx_have_gc_sections=no
29800 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
29801 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
29802 glibcxx_have_gc_sections=yes
29804 else
29805 glibcxx_gcsections_min_ld=21602
29806 if test x"$with_gnu_ld" = x"yes" &&
29807 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
29808 glibcxx_have_gc_sections=yes
29811 if test "$glibcxx_have_gc_sections" = "yes"; then
29812 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
29813 # NB: This flag only works reliably after 2.16.1. Configure tests
29814 # for this are difficult, so hard wire a value that should work.
29816 ac_test_CFLAGS="${CFLAGS+set}"
29817 ac_save_CFLAGS="$CFLAGS"
29818 CFLAGS='-Wl,--gc-sections'
29820 # Check for -Wl,--gc-sections
29821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
29822 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
29823 if test x$gcc_no_link = xyes; then
29824 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29827 /* end confdefs.h. */
29828 int one(void) { return 1; }
29829 int two(void) { return 2; }
29832 main ()
29834 two();
29836 return 0;
29838 _ACEOF
29839 if ac_fn_c_try_link "$LINENO"; then :
29840 ac_gcsections=yes
29841 else
29842 ac_gcsections=no
29844 rm -f core conftest.err conftest.$ac_objext \
29845 conftest$ac_exeext conftest.$ac_ext
29846 if test "$ac_gcsections" = "yes"; then
29847 rm -f conftest.c
29848 touch conftest.c
29849 if $CC -c conftest.c; then
29850 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29851 grep "Warning: gc-sections option ignored" > /dev/null; then
29852 ac_gcsections=no
29855 rm -f conftest.c conftest.o conftest
29857 if test "$ac_gcsections" = "yes"; then
29858 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29861 $as_echo "$ac_gcsections" >&6; }
29863 if test "$ac_test_CFLAGS" = set; then
29864 CFLAGS="$ac_save_CFLAGS"
29865 else
29866 # this is the suspicious part
29867 CFLAGS=''
29871 # Set -z,relro.
29872 # Note this is only for shared objects.
29873 ac_ld_relro=no
29874 if test x"$with_gnu_ld" = x"yes"; then
29875 # cygwin and mingw uses PE, which has no ELF relro support,
29876 # multi target ld may confuse configure machinery
29877 case "$host" in
29878 *-*-cygwin*)
29880 *-*-mingw*)
29883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29884 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29885 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29886 if test -n "$cxx_z_relo"; then
29887 OPT_LDFLAGS="-Wl,-z,relro"
29888 ac_ld_relro=yes
29890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29891 $as_echo "$ac_ld_relro" >&6; }
29892 esac
29895 # Set linker optimization flags.
29896 if test x"$with_gnu_ld" = x"yes"; then
29897 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29904 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29905 ac_save_CXXFLAGS="$CXXFLAGS"
29906 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29909 $as_echo_n "checking for sin in -lm... " >&6; }
29910 if ${ac_cv_lib_m_sin+:} false; then :
29911 $as_echo_n "(cached) " >&6
29912 else
29913 ac_check_lib_save_LIBS=$LIBS
29914 LIBS="-lm $LIBS"
29915 if test x$gcc_no_link = xyes; then
29916 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29919 /* end confdefs.h. */
29921 /* Override any GCC internal prototype to avoid an error.
29922 Use char because int might match the return type of a GCC
29923 builtin and then its argument prototype would still apply. */
29924 #ifdef __cplusplus
29925 extern "C"
29926 #endif
29927 char sin ();
29929 main ()
29931 return sin ();
29933 return 0;
29935 _ACEOF
29936 if ac_fn_c_try_link "$LINENO"; then :
29937 ac_cv_lib_m_sin=yes
29938 else
29939 ac_cv_lib_m_sin=no
29941 rm -f core conftest.err conftest.$ac_objext \
29942 conftest$ac_exeext conftest.$ac_ext
29943 LIBS=$ac_check_lib_save_LIBS
29945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29946 $as_echo "$ac_cv_lib_m_sin" >&6; }
29947 if test "x$ac_cv_lib_m_sin" = xyes; then :
29948 libm="-lm"
29951 ac_save_LIBS="$LIBS"
29952 LIBS="$LIBS $libm"
29956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29957 $as_echo_n "checking for isinf declaration... " >&6; }
29958 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29959 if ${glibcxx_cv_func_isinf_use+:} false; then :
29960 $as_echo_n "(cached) " >&6
29961 else
29964 ac_ext=cpp
29965 ac_cpp='$CXXCPP $CPPFLAGS'
29966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29971 /* end confdefs.h. */
29972 #include <math.h>
29973 #ifdef HAVE_IEEEFP_H
29974 #include <ieeefp.h>
29975 #endif
29978 main ()
29980 isinf(0);
29982 return 0;
29984 _ACEOF
29985 if ac_fn_cxx_try_compile "$LINENO"; then :
29986 glibcxx_cv_func_isinf_use=yes
29987 else
29988 glibcxx_cv_func_isinf_use=no
29990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29991 ac_ext=c
29992 ac_cpp='$CPP $CPPFLAGS'
29993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
30002 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
30004 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
30005 for ac_func in isinf
30006 do :
30007 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
30008 if test "x$ac_cv_func_isinf" = xyes; then :
30009 cat >>confdefs.h <<_ACEOF
30010 #define HAVE_ISINF 1
30011 _ACEOF
30014 done
30016 else
30018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
30019 $as_echo_n "checking for _isinf declaration... " >&6; }
30020 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
30021 if ${glibcxx_cv_func__isinf_use+:} false; then :
30022 $as_echo_n "(cached) " >&6
30023 else
30026 ac_ext=cpp
30027 ac_cpp='$CXXCPP $CPPFLAGS'
30028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30033 /* end confdefs.h. */
30034 #include <math.h>
30035 #ifdef HAVE_IEEEFP_H
30036 #include <ieeefp.h>
30037 #endif
30040 main ()
30042 _isinf(0);
30044 return 0;
30046 _ACEOF
30047 if ac_fn_cxx_try_compile "$LINENO"; then :
30048 glibcxx_cv_func__isinf_use=yes
30049 else
30050 glibcxx_cv_func__isinf_use=no
30052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30053 ac_ext=c
30054 ac_cpp='$CPP $CPPFLAGS'
30055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
30064 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
30066 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
30067 for ac_func in _isinf
30068 do :
30069 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
30070 if test "x$ac_cv_func__isinf" = xyes; then :
30071 cat >>confdefs.h <<_ACEOF
30072 #define HAVE__ISINF 1
30073 _ACEOF
30076 done
30085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
30086 $as_echo_n "checking for isnan declaration... " >&6; }
30087 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
30088 if ${glibcxx_cv_func_isnan_use+:} false; then :
30089 $as_echo_n "(cached) " >&6
30090 else
30093 ac_ext=cpp
30094 ac_cpp='$CXXCPP $CPPFLAGS'
30095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30100 /* end confdefs.h. */
30101 #include <math.h>
30102 #ifdef HAVE_IEEEFP_H
30103 #include <ieeefp.h>
30104 #endif
30107 main ()
30109 isnan(0);
30111 return 0;
30113 _ACEOF
30114 if ac_fn_cxx_try_compile "$LINENO"; then :
30115 glibcxx_cv_func_isnan_use=yes
30116 else
30117 glibcxx_cv_func_isnan_use=no
30119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30120 ac_ext=c
30121 ac_cpp='$CPP $CPPFLAGS'
30122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
30131 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
30133 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
30134 for ac_func in isnan
30135 do :
30136 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
30137 if test "x$ac_cv_func_isnan" = xyes; then :
30138 cat >>confdefs.h <<_ACEOF
30139 #define HAVE_ISNAN 1
30140 _ACEOF
30143 done
30145 else
30147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
30148 $as_echo_n "checking for _isnan declaration... " >&6; }
30149 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
30150 if ${glibcxx_cv_func__isnan_use+:} false; then :
30151 $as_echo_n "(cached) " >&6
30152 else
30155 ac_ext=cpp
30156 ac_cpp='$CXXCPP $CPPFLAGS'
30157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30162 /* end confdefs.h. */
30163 #include <math.h>
30164 #ifdef HAVE_IEEEFP_H
30165 #include <ieeefp.h>
30166 #endif
30169 main ()
30171 _isnan(0);
30173 return 0;
30175 _ACEOF
30176 if ac_fn_cxx_try_compile "$LINENO"; then :
30177 glibcxx_cv_func__isnan_use=yes
30178 else
30179 glibcxx_cv_func__isnan_use=no
30181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30182 ac_ext=c
30183 ac_cpp='$CPP $CPPFLAGS'
30184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
30193 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
30195 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
30196 for ac_func in _isnan
30197 do :
30198 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
30199 if test "x$ac_cv_func__isnan" = xyes; then :
30200 cat >>confdefs.h <<_ACEOF
30201 #define HAVE__ISNAN 1
30202 _ACEOF
30205 done
30214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
30215 $as_echo_n "checking for finite declaration... " >&6; }
30216 if test x${glibcxx_cv_func_finite_use+set} != xset; then
30217 if ${glibcxx_cv_func_finite_use+:} false; then :
30218 $as_echo_n "(cached) " >&6
30219 else
30222 ac_ext=cpp
30223 ac_cpp='$CXXCPP $CPPFLAGS'
30224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30229 /* end confdefs.h. */
30230 #include <math.h>
30231 #ifdef HAVE_IEEEFP_H
30232 #include <ieeefp.h>
30233 #endif
30236 main ()
30238 finite(0);
30240 return 0;
30242 _ACEOF
30243 if ac_fn_cxx_try_compile "$LINENO"; then :
30244 glibcxx_cv_func_finite_use=yes
30245 else
30246 glibcxx_cv_func_finite_use=no
30248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30249 ac_ext=c
30250 ac_cpp='$CPP $CPPFLAGS'
30251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
30260 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
30262 if test x$glibcxx_cv_func_finite_use = x"yes"; then
30263 for ac_func in finite
30264 do :
30265 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
30266 if test "x$ac_cv_func_finite" = xyes; then :
30267 cat >>confdefs.h <<_ACEOF
30268 #define HAVE_FINITE 1
30269 _ACEOF
30272 done
30274 else
30276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
30277 $as_echo_n "checking for _finite declaration... " >&6; }
30278 if test x${glibcxx_cv_func__finite_use+set} != xset; then
30279 if ${glibcxx_cv_func__finite_use+:} false; then :
30280 $as_echo_n "(cached) " >&6
30281 else
30284 ac_ext=cpp
30285 ac_cpp='$CXXCPP $CPPFLAGS'
30286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30291 /* end confdefs.h. */
30292 #include <math.h>
30293 #ifdef HAVE_IEEEFP_H
30294 #include <ieeefp.h>
30295 #endif
30298 main ()
30300 _finite(0);
30302 return 0;
30304 _ACEOF
30305 if ac_fn_cxx_try_compile "$LINENO"; then :
30306 glibcxx_cv_func__finite_use=yes
30307 else
30308 glibcxx_cv_func__finite_use=no
30310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30311 ac_ext=c
30312 ac_cpp='$CPP $CPPFLAGS'
30313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
30322 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
30324 if test x$glibcxx_cv_func__finite_use = x"yes"; then
30325 for ac_func in _finite
30326 do :
30327 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
30328 if test "x$ac_cv_func__finite" = xyes; then :
30329 cat >>confdefs.h <<_ACEOF
30330 #define HAVE__FINITE 1
30331 _ACEOF
30334 done
30343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
30344 $as_echo_n "checking for sincos declaration... " >&6; }
30345 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
30346 if ${glibcxx_cv_func_sincos_use+:} false; then :
30347 $as_echo_n "(cached) " >&6
30348 else
30351 ac_ext=cpp
30352 ac_cpp='$CXXCPP $CPPFLAGS'
30353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30358 /* end confdefs.h. */
30359 #include <math.h>
30361 main ()
30363 sincos(0, 0, 0);
30365 return 0;
30367 _ACEOF
30368 if ac_fn_cxx_try_compile "$LINENO"; then :
30369 glibcxx_cv_func_sincos_use=yes
30370 else
30371 glibcxx_cv_func_sincos_use=no
30373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30374 ac_ext=c
30375 ac_cpp='$CPP $CPPFLAGS'
30376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
30385 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
30387 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
30388 for ac_func in sincos
30389 do :
30390 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
30391 if test "x$ac_cv_func_sincos" = xyes; then :
30392 cat >>confdefs.h <<_ACEOF
30393 #define HAVE_SINCOS 1
30394 _ACEOF
30397 done
30399 else
30401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
30402 $as_echo_n "checking for _sincos declaration... " >&6; }
30403 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
30404 if ${glibcxx_cv_func__sincos_use+:} false; then :
30405 $as_echo_n "(cached) " >&6
30406 else
30409 ac_ext=cpp
30410 ac_cpp='$CXXCPP $CPPFLAGS'
30411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30416 /* end confdefs.h. */
30417 #include <math.h>
30419 main ()
30421 _sincos(0, 0, 0);
30423 return 0;
30425 _ACEOF
30426 if ac_fn_cxx_try_compile "$LINENO"; then :
30427 glibcxx_cv_func__sincos_use=yes
30428 else
30429 glibcxx_cv_func__sincos_use=no
30431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30432 ac_ext=c
30433 ac_cpp='$CPP $CPPFLAGS'
30434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
30443 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
30445 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
30446 for ac_func in _sincos
30447 do :
30448 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
30449 if test "x$ac_cv_func__sincos" = xyes; then :
30450 cat >>confdefs.h <<_ACEOF
30451 #define HAVE__SINCOS 1
30452 _ACEOF
30455 done
30464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
30465 $as_echo_n "checking for fpclass declaration... " >&6; }
30466 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
30467 if ${glibcxx_cv_func_fpclass_use+:} false; then :
30468 $as_echo_n "(cached) " >&6
30469 else
30472 ac_ext=cpp
30473 ac_cpp='$CXXCPP $CPPFLAGS'
30474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30479 /* end confdefs.h. */
30480 #include <math.h>
30481 #ifdef HAVE_IEEEFP_H
30482 #include <ieeefp.h>
30483 #endif
30486 main ()
30488 fpclass(0);
30490 return 0;
30492 _ACEOF
30493 if ac_fn_cxx_try_compile "$LINENO"; then :
30494 glibcxx_cv_func_fpclass_use=yes
30495 else
30496 glibcxx_cv_func_fpclass_use=no
30498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30499 ac_ext=c
30500 ac_cpp='$CPP $CPPFLAGS'
30501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
30510 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
30512 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
30513 for ac_func in fpclass
30514 do :
30515 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
30516 if test "x$ac_cv_func_fpclass" = xyes; then :
30517 cat >>confdefs.h <<_ACEOF
30518 #define HAVE_FPCLASS 1
30519 _ACEOF
30522 done
30524 else
30526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
30527 $as_echo_n "checking for _fpclass declaration... " >&6; }
30528 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
30529 if ${glibcxx_cv_func__fpclass_use+:} false; then :
30530 $as_echo_n "(cached) " >&6
30531 else
30534 ac_ext=cpp
30535 ac_cpp='$CXXCPP $CPPFLAGS'
30536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30541 /* end confdefs.h. */
30542 #include <math.h>
30543 #ifdef HAVE_IEEEFP_H
30544 #include <ieeefp.h>
30545 #endif
30548 main ()
30550 _fpclass(0);
30552 return 0;
30554 _ACEOF
30555 if ac_fn_cxx_try_compile "$LINENO"; then :
30556 glibcxx_cv_func__fpclass_use=yes
30557 else
30558 glibcxx_cv_func__fpclass_use=no
30560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30561 ac_ext=c
30562 ac_cpp='$CPP $CPPFLAGS'
30563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
30572 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
30574 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
30575 for ac_func in _fpclass
30576 do :
30577 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
30578 if test "x$ac_cv_func__fpclass" = xyes; then :
30579 cat >>confdefs.h <<_ACEOF
30580 #define HAVE__FPCLASS 1
30581 _ACEOF
30584 done
30593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
30594 $as_echo_n "checking for qfpclass declaration... " >&6; }
30595 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
30596 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
30597 $as_echo_n "(cached) " >&6
30598 else
30601 ac_ext=cpp
30602 ac_cpp='$CXXCPP $CPPFLAGS'
30603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30608 /* end confdefs.h. */
30609 #include <math.h>
30610 #ifdef HAVE_IEEEFP_H
30611 #include <ieeefp.h>
30612 #endif
30615 main ()
30617 qfpclass(0);
30619 return 0;
30621 _ACEOF
30622 if ac_fn_cxx_try_compile "$LINENO"; then :
30623 glibcxx_cv_func_qfpclass_use=yes
30624 else
30625 glibcxx_cv_func_qfpclass_use=no
30627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30628 ac_ext=c
30629 ac_cpp='$CPP $CPPFLAGS'
30630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
30639 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
30641 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
30642 for ac_func in qfpclass
30643 do :
30644 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
30645 if test "x$ac_cv_func_qfpclass" = xyes; then :
30646 cat >>confdefs.h <<_ACEOF
30647 #define HAVE_QFPCLASS 1
30648 _ACEOF
30651 done
30653 else
30655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
30656 $as_echo_n "checking for _qfpclass declaration... " >&6; }
30657 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
30658 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
30659 $as_echo_n "(cached) " >&6
30660 else
30663 ac_ext=cpp
30664 ac_cpp='$CXXCPP $CPPFLAGS'
30665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30670 /* end confdefs.h. */
30671 #include <math.h>
30672 #ifdef HAVE_IEEEFP_H
30673 #include <ieeefp.h>
30674 #endif
30677 main ()
30679 _qfpclass(0);
30681 return 0;
30683 _ACEOF
30684 if ac_fn_cxx_try_compile "$LINENO"; then :
30685 glibcxx_cv_func__qfpclass_use=yes
30686 else
30687 glibcxx_cv_func__qfpclass_use=no
30689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30690 ac_ext=c
30691 ac_cpp='$CPP $CPPFLAGS'
30692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30701 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30703 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30704 for ac_func in _qfpclass
30705 do :
30706 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30707 if test "x$ac_cv_func__qfpclass" = xyes; then :
30708 cat >>confdefs.h <<_ACEOF
30709 #define HAVE__QFPCLASS 1
30710 _ACEOF
30713 done
30722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30723 $as_echo_n "checking for hypot declaration... " >&6; }
30724 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30725 if ${glibcxx_cv_func_hypot_use+:} false; then :
30726 $as_echo_n "(cached) " >&6
30727 else
30730 ac_ext=cpp
30731 ac_cpp='$CXXCPP $CPPFLAGS'
30732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30737 /* end confdefs.h. */
30738 #include <math.h>
30740 main ()
30742 hypot(0, 0);
30744 return 0;
30746 _ACEOF
30747 if ac_fn_cxx_try_compile "$LINENO"; then :
30748 glibcxx_cv_func_hypot_use=yes
30749 else
30750 glibcxx_cv_func_hypot_use=no
30752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30753 ac_ext=c
30754 ac_cpp='$CPP $CPPFLAGS'
30755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30764 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30766 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30767 for ac_func in hypot
30768 do :
30769 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30770 if test "x$ac_cv_func_hypot" = xyes; then :
30771 cat >>confdefs.h <<_ACEOF
30772 #define HAVE_HYPOT 1
30773 _ACEOF
30776 done
30778 else
30780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30781 $as_echo_n "checking for _hypot declaration... " >&6; }
30782 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30783 if ${glibcxx_cv_func__hypot_use+:} false; then :
30784 $as_echo_n "(cached) " >&6
30785 else
30788 ac_ext=cpp
30789 ac_cpp='$CXXCPP $CPPFLAGS'
30790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30795 /* end confdefs.h. */
30796 #include <math.h>
30798 main ()
30800 _hypot(0, 0);
30802 return 0;
30804 _ACEOF
30805 if ac_fn_cxx_try_compile "$LINENO"; then :
30806 glibcxx_cv_func__hypot_use=yes
30807 else
30808 glibcxx_cv_func__hypot_use=no
30810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30811 ac_ext=c
30812 ac_cpp='$CPP $CPPFLAGS'
30813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
30822 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
30824 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30825 for ac_func in _hypot
30826 do :
30827 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
30828 if test "x$ac_cv_func__hypot" = xyes; then :
30829 cat >>confdefs.h <<_ACEOF
30830 #define HAVE__HYPOT 1
30831 _ACEOF
30834 done
30843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
30844 $as_echo_n "checking for float trig functions... " >&6; }
30845 if ${glibcxx_cv_func_float_trig_use+:} false; then :
30846 $as_echo_n "(cached) " >&6
30847 else
30850 ac_ext=cpp
30851 ac_cpp='$CXXCPP $CPPFLAGS'
30852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30857 /* end confdefs.h. */
30858 #include <math.h>
30860 main ()
30862 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30864 return 0;
30866 _ACEOF
30867 if ac_fn_cxx_try_compile "$LINENO"; then :
30868 glibcxx_cv_func_float_trig_use=yes
30869 else
30870 glibcxx_cv_func_float_trig_use=no
30872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30873 ac_ext=c
30874 ac_cpp='$CPP $CPPFLAGS'
30875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30882 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30883 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30884 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30885 do :
30886 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30887 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30888 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30889 cat >>confdefs.h <<_ACEOF
30890 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30891 _ACEOF
30894 done
30896 else
30897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30898 $as_echo_n "checking for _float trig functions... " >&6; }
30899 if ${glibcxx_cv_func__float_trig_use+:} false; then :
30900 $as_echo_n "(cached) " >&6
30901 else
30904 ac_ext=cpp
30905 ac_cpp='$CXXCPP $CPPFLAGS'
30906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30911 /* end confdefs.h. */
30912 #include <math.h>
30914 main ()
30916 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30918 return 0;
30920 _ACEOF
30921 if ac_fn_cxx_try_compile "$LINENO"; then :
30922 glibcxx_cv_func__float_trig_use=yes
30923 else
30924 glibcxx_cv_func__float_trig_use=no
30926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30927 ac_ext=c
30928 ac_cpp='$CPP $CPPFLAGS'
30929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30936 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30937 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30938 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30939 do :
30940 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30941 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30942 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30943 cat >>confdefs.h <<_ACEOF
30944 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30945 _ACEOF
30948 done
30957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30958 $as_echo_n "checking for float round functions... " >&6; }
30959 if ${glibcxx_cv_func_float_round_use+:} false; then :
30960 $as_echo_n "(cached) " >&6
30961 else
30964 ac_ext=cpp
30965 ac_cpp='$CXXCPP $CPPFLAGS'
30966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30971 /* end confdefs.h. */
30972 #include <math.h>
30974 main ()
30976 ceilf (0); floorf (0);
30978 return 0;
30980 _ACEOF
30981 if ac_fn_cxx_try_compile "$LINENO"; then :
30982 glibcxx_cv_func_float_round_use=yes
30983 else
30984 glibcxx_cv_func_float_round_use=no
30986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30987 ac_ext=c
30988 ac_cpp='$CPP $CPPFLAGS'
30989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30996 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30997 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30998 for ac_func in ceilf floorf
30999 do :
31000 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31001 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31002 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
31003 cat >>confdefs.h <<_ACEOF
31004 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31005 _ACEOF
31008 done
31010 else
31011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
31012 $as_echo_n "checking for _float round functions... " >&6; }
31013 if ${glibcxx_cv_func__float_round_use+:} false; then :
31014 $as_echo_n "(cached) " >&6
31015 else
31018 ac_ext=cpp
31019 ac_cpp='$CXXCPP $CPPFLAGS'
31020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31025 /* end confdefs.h. */
31026 #include <math.h>
31028 main ()
31030 _ceilf (0); _floorf (0);
31032 return 0;
31034 _ACEOF
31035 if ac_fn_cxx_try_compile "$LINENO"; then :
31036 glibcxx_cv_func__float_round_use=yes
31037 else
31038 glibcxx_cv_func__float_round_use=no
31040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31041 ac_ext=c
31042 ac_cpp='$CPP $CPPFLAGS'
31043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
31050 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
31051 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
31052 for ac_func in _ceilf _floorf
31053 do :
31054 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31055 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31056 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
31057 cat >>confdefs.h <<_ACEOF
31058 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31059 _ACEOF
31062 done
31072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
31073 $as_echo_n "checking for expf declaration... " >&6; }
31074 if test x${glibcxx_cv_func_expf_use+set} != xset; then
31075 if ${glibcxx_cv_func_expf_use+:} false; then :
31076 $as_echo_n "(cached) " >&6
31077 else
31080 ac_ext=cpp
31081 ac_cpp='$CXXCPP $CPPFLAGS'
31082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31087 /* end confdefs.h. */
31088 #include <math.h>
31089 #ifdef HAVE_IEEEFP_H
31090 #include <ieeefp.h>
31091 #endif
31094 main ()
31096 expf(0);
31098 return 0;
31100 _ACEOF
31101 if ac_fn_cxx_try_compile "$LINENO"; then :
31102 glibcxx_cv_func_expf_use=yes
31103 else
31104 glibcxx_cv_func_expf_use=no
31106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31107 ac_ext=c
31108 ac_cpp='$CPP $CPPFLAGS'
31109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
31118 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
31120 if test x$glibcxx_cv_func_expf_use = x"yes"; then
31121 for ac_func in expf
31122 do :
31123 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
31124 if test "x$ac_cv_func_expf" = xyes; then :
31125 cat >>confdefs.h <<_ACEOF
31126 #define HAVE_EXPF 1
31127 _ACEOF
31130 done
31132 else
31134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
31135 $as_echo_n "checking for _expf declaration... " >&6; }
31136 if test x${glibcxx_cv_func__expf_use+set} != xset; then
31137 if ${glibcxx_cv_func__expf_use+:} false; then :
31138 $as_echo_n "(cached) " >&6
31139 else
31142 ac_ext=cpp
31143 ac_cpp='$CXXCPP $CPPFLAGS'
31144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31149 /* end confdefs.h. */
31150 #include <math.h>
31151 #ifdef HAVE_IEEEFP_H
31152 #include <ieeefp.h>
31153 #endif
31156 main ()
31158 _expf(0);
31160 return 0;
31162 _ACEOF
31163 if ac_fn_cxx_try_compile "$LINENO"; then :
31164 glibcxx_cv_func__expf_use=yes
31165 else
31166 glibcxx_cv_func__expf_use=no
31168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31169 ac_ext=c
31170 ac_cpp='$CPP $CPPFLAGS'
31171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
31180 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
31182 if test x$glibcxx_cv_func__expf_use = x"yes"; then
31183 for ac_func in _expf
31184 do :
31185 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
31186 if test "x$ac_cv_func__expf" = xyes; then :
31187 cat >>confdefs.h <<_ACEOF
31188 #define HAVE__EXPF 1
31189 _ACEOF
31192 done
31201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
31202 $as_echo_n "checking for isnanf declaration... " >&6; }
31203 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
31204 if ${glibcxx_cv_func_isnanf_use+:} false; then :
31205 $as_echo_n "(cached) " >&6
31206 else
31209 ac_ext=cpp
31210 ac_cpp='$CXXCPP $CPPFLAGS'
31211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31216 /* end confdefs.h. */
31217 #include <math.h>
31218 #ifdef HAVE_IEEEFP_H
31219 #include <ieeefp.h>
31220 #endif
31223 main ()
31225 isnanf(0);
31227 return 0;
31229 _ACEOF
31230 if ac_fn_cxx_try_compile "$LINENO"; then :
31231 glibcxx_cv_func_isnanf_use=yes
31232 else
31233 glibcxx_cv_func_isnanf_use=no
31235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31236 ac_ext=c
31237 ac_cpp='$CPP $CPPFLAGS'
31238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
31247 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
31249 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
31250 for ac_func in isnanf
31251 do :
31252 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
31253 if test "x$ac_cv_func_isnanf" = xyes; then :
31254 cat >>confdefs.h <<_ACEOF
31255 #define HAVE_ISNANF 1
31256 _ACEOF
31259 done
31261 else
31263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
31264 $as_echo_n "checking for _isnanf declaration... " >&6; }
31265 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
31266 if ${glibcxx_cv_func__isnanf_use+:} false; then :
31267 $as_echo_n "(cached) " >&6
31268 else
31271 ac_ext=cpp
31272 ac_cpp='$CXXCPP $CPPFLAGS'
31273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31278 /* end confdefs.h. */
31279 #include <math.h>
31280 #ifdef HAVE_IEEEFP_H
31281 #include <ieeefp.h>
31282 #endif
31285 main ()
31287 _isnanf(0);
31289 return 0;
31291 _ACEOF
31292 if ac_fn_cxx_try_compile "$LINENO"; then :
31293 glibcxx_cv_func__isnanf_use=yes
31294 else
31295 glibcxx_cv_func__isnanf_use=no
31297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31298 ac_ext=c
31299 ac_cpp='$CPP $CPPFLAGS'
31300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
31309 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
31311 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
31312 for ac_func in _isnanf
31313 do :
31314 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
31315 if test "x$ac_cv_func__isnanf" = xyes; then :
31316 cat >>confdefs.h <<_ACEOF
31317 #define HAVE__ISNANF 1
31318 _ACEOF
31321 done
31330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
31331 $as_echo_n "checking for isinff declaration... " >&6; }
31332 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
31333 if ${glibcxx_cv_func_isinff_use+:} false; then :
31334 $as_echo_n "(cached) " >&6
31335 else
31338 ac_ext=cpp
31339 ac_cpp='$CXXCPP $CPPFLAGS'
31340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31345 /* end confdefs.h. */
31346 #include <math.h>
31347 #ifdef HAVE_IEEEFP_H
31348 #include <ieeefp.h>
31349 #endif
31352 main ()
31354 isinff(0);
31356 return 0;
31358 _ACEOF
31359 if ac_fn_cxx_try_compile "$LINENO"; then :
31360 glibcxx_cv_func_isinff_use=yes
31361 else
31362 glibcxx_cv_func_isinff_use=no
31364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31365 ac_ext=c
31366 ac_cpp='$CPP $CPPFLAGS'
31367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
31376 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
31378 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
31379 for ac_func in isinff
31380 do :
31381 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
31382 if test "x$ac_cv_func_isinff" = xyes; then :
31383 cat >>confdefs.h <<_ACEOF
31384 #define HAVE_ISINFF 1
31385 _ACEOF
31388 done
31390 else
31392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
31393 $as_echo_n "checking for _isinff declaration... " >&6; }
31394 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
31395 if ${glibcxx_cv_func__isinff_use+:} false; then :
31396 $as_echo_n "(cached) " >&6
31397 else
31400 ac_ext=cpp
31401 ac_cpp='$CXXCPP $CPPFLAGS'
31402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31407 /* end confdefs.h. */
31408 #include <math.h>
31409 #ifdef HAVE_IEEEFP_H
31410 #include <ieeefp.h>
31411 #endif
31414 main ()
31416 _isinff(0);
31418 return 0;
31420 _ACEOF
31421 if ac_fn_cxx_try_compile "$LINENO"; then :
31422 glibcxx_cv_func__isinff_use=yes
31423 else
31424 glibcxx_cv_func__isinff_use=no
31426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31427 ac_ext=c
31428 ac_cpp='$CPP $CPPFLAGS'
31429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
31438 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
31440 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
31441 for ac_func in _isinff
31442 do :
31443 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
31444 if test "x$ac_cv_func__isinff" = xyes; then :
31445 cat >>confdefs.h <<_ACEOF
31446 #define HAVE__ISINFF 1
31447 _ACEOF
31450 done
31459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
31460 $as_echo_n "checking for atan2f declaration... " >&6; }
31461 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
31462 if ${glibcxx_cv_func_atan2f_use+:} false; then :
31463 $as_echo_n "(cached) " >&6
31464 else
31467 ac_ext=cpp
31468 ac_cpp='$CXXCPP $CPPFLAGS'
31469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31474 /* end confdefs.h. */
31475 #include <math.h>
31477 main ()
31479 atan2f(0, 0);
31481 return 0;
31483 _ACEOF
31484 if ac_fn_cxx_try_compile "$LINENO"; then :
31485 glibcxx_cv_func_atan2f_use=yes
31486 else
31487 glibcxx_cv_func_atan2f_use=no
31489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31490 ac_ext=c
31491 ac_cpp='$CPP $CPPFLAGS'
31492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
31501 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
31503 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
31504 for ac_func in atan2f
31505 do :
31506 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
31507 if test "x$ac_cv_func_atan2f" = xyes; then :
31508 cat >>confdefs.h <<_ACEOF
31509 #define HAVE_ATAN2F 1
31510 _ACEOF
31513 done
31515 else
31517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
31518 $as_echo_n "checking for _atan2f declaration... " >&6; }
31519 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
31520 if ${glibcxx_cv_func__atan2f_use+:} false; then :
31521 $as_echo_n "(cached) " >&6
31522 else
31525 ac_ext=cpp
31526 ac_cpp='$CXXCPP $CPPFLAGS'
31527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31532 /* end confdefs.h. */
31533 #include <math.h>
31535 main ()
31537 _atan2f(0, 0);
31539 return 0;
31541 _ACEOF
31542 if ac_fn_cxx_try_compile "$LINENO"; then :
31543 glibcxx_cv_func__atan2f_use=yes
31544 else
31545 glibcxx_cv_func__atan2f_use=no
31547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31548 ac_ext=c
31549 ac_cpp='$CPP $CPPFLAGS'
31550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
31559 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
31561 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
31562 for ac_func in _atan2f
31563 do :
31564 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
31565 if test "x$ac_cv_func__atan2f" = xyes; then :
31566 cat >>confdefs.h <<_ACEOF
31567 #define HAVE__ATAN2F 1
31568 _ACEOF
31571 done
31580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
31581 $as_echo_n "checking for fabsf declaration... " >&6; }
31582 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
31583 if ${glibcxx_cv_func_fabsf_use+:} false; then :
31584 $as_echo_n "(cached) " >&6
31585 else
31588 ac_ext=cpp
31589 ac_cpp='$CXXCPP $CPPFLAGS'
31590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31595 /* end confdefs.h. */
31596 #include <math.h>
31597 #ifdef HAVE_IEEEFP_H
31598 #include <ieeefp.h>
31599 #endif
31602 main ()
31604 fabsf(0);
31606 return 0;
31608 _ACEOF
31609 if ac_fn_cxx_try_compile "$LINENO"; then :
31610 glibcxx_cv_func_fabsf_use=yes
31611 else
31612 glibcxx_cv_func_fabsf_use=no
31614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31615 ac_ext=c
31616 ac_cpp='$CPP $CPPFLAGS'
31617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
31626 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
31628 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
31629 for ac_func in fabsf
31630 do :
31631 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
31632 if test "x$ac_cv_func_fabsf" = xyes; then :
31633 cat >>confdefs.h <<_ACEOF
31634 #define HAVE_FABSF 1
31635 _ACEOF
31638 done
31640 else
31642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
31643 $as_echo_n "checking for _fabsf declaration... " >&6; }
31644 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
31645 if ${glibcxx_cv_func__fabsf_use+:} false; then :
31646 $as_echo_n "(cached) " >&6
31647 else
31650 ac_ext=cpp
31651 ac_cpp='$CXXCPP $CPPFLAGS'
31652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31657 /* end confdefs.h. */
31658 #include <math.h>
31659 #ifdef HAVE_IEEEFP_H
31660 #include <ieeefp.h>
31661 #endif
31664 main ()
31666 _fabsf(0);
31668 return 0;
31670 _ACEOF
31671 if ac_fn_cxx_try_compile "$LINENO"; then :
31672 glibcxx_cv_func__fabsf_use=yes
31673 else
31674 glibcxx_cv_func__fabsf_use=no
31676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31677 ac_ext=c
31678 ac_cpp='$CPP $CPPFLAGS'
31679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31688 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31690 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31691 for ac_func in _fabsf
31692 do :
31693 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31694 if test "x$ac_cv_func__fabsf" = xyes; then :
31695 cat >>confdefs.h <<_ACEOF
31696 #define HAVE__FABSF 1
31697 _ACEOF
31700 done
31709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31710 $as_echo_n "checking for fmodf declaration... " >&6; }
31711 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31712 if ${glibcxx_cv_func_fmodf_use+:} false; then :
31713 $as_echo_n "(cached) " >&6
31714 else
31717 ac_ext=cpp
31718 ac_cpp='$CXXCPP $CPPFLAGS'
31719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31724 /* end confdefs.h. */
31725 #include <math.h>
31727 main ()
31729 fmodf(0, 0);
31731 return 0;
31733 _ACEOF
31734 if ac_fn_cxx_try_compile "$LINENO"; then :
31735 glibcxx_cv_func_fmodf_use=yes
31736 else
31737 glibcxx_cv_func_fmodf_use=no
31739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31740 ac_ext=c
31741 ac_cpp='$CPP $CPPFLAGS'
31742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31751 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31753 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31754 for ac_func in fmodf
31755 do :
31756 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31757 if test "x$ac_cv_func_fmodf" = xyes; then :
31758 cat >>confdefs.h <<_ACEOF
31759 #define HAVE_FMODF 1
31760 _ACEOF
31763 done
31765 else
31767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31768 $as_echo_n "checking for _fmodf declaration... " >&6; }
31769 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31770 if ${glibcxx_cv_func__fmodf_use+:} false; then :
31771 $as_echo_n "(cached) " >&6
31772 else
31775 ac_ext=cpp
31776 ac_cpp='$CXXCPP $CPPFLAGS'
31777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31782 /* end confdefs.h. */
31783 #include <math.h>
31785 main ()
31787 _fmodf(0, 0);
31789 return 0;
31791 _ACEOF
31792 if ac_fn_cxx_try_compile "$LINENO"; then :
31793 glibcxx_cv_func__fmodf_use=yes
31794 else
31795 glibcxx_cv_func__fmodf_use=no
31797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31798 ac_ext=c
31799 ac_cpp='$CPP $CPPFLAGS'
31800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
31809 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
31811 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31812 for ac_func in _fmodf
31813 do :
31814 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
31815 if test "x$ac_cv_func__fmodf" = xyes; then :
31816 cat >>confdefs.h <<_ACEOF
31817 #define HAVE__FMODF 1
31818 _ACEOF
31821 done
31830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
31831 $as_echo_n "checking for frexpf declaration... " >&6; }
31832 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31833 if ${glibcxx_cv_func_frexpf_use+:} false; then :
31834 $as_echo_n "(cached) " >&6
31835 else
31838 ac_ext=cpp
31839 ac_cpp='$CXXCPP $CPPFLAGS'
31840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31845 /* end confdefs.h. */
31846 #include <math.h>
31848 main ()
31850 frexpf(0, 0);
31852 return 0;
31854 _ACEOF
31855 if ac_fn_cxx_try_compile "$LINENO"; then :
31856 glibcxx_cv_func_frexpf_use=yes
31857 else
31858 glibcxx_cv_func_frexpf_use=no
31860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31861 ac_ext=c
31862 ac_cpp='$CPP $CPPFLAGS'
31863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31872 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31874 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31875 for ac_func in frexpf
31876 do :
31877 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31878 if test "x$ac_cv_func_frexpf" = xyes; then :
31879 cat >>confdefs.h <<_ACEOF
31880 #define HAVE_FREXPF 1
31881 _ACEOF
31884 done
31886 else
31888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31889 $as_echo_n "checking for _frexpf declaration... " >&6; }
31890 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31891 if ${glibcxx_cv_func__frexpf_use+:} false; then :
31892 $as_echo_n "(cached) " >&6
31893 else
31896 ac_ext=cpp
31897 ac_cpp='$CXXCPP $CPPFLAGS'
31898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31903 /* end confdefs.h. */
31904 #include <math.h>
31906 main ()
31908 _frexpf(0, 0);
31910 return 0;
31912 _ACEOF
31913 if ac_fn_cxx_try_compile "$LINENO"; then :
31914 glibcxx_cv_func__frexpf_use=yes
31915 else
31916 glibcxx_cv_func__frexpf_use=no
31918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31919 ac_ext=c
31920 ac_cpp='$CPP $CPPFLAGS'
31921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31930 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31932 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31933 for ac_func in _frexpf
31934 do :
31935 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31936 if test "x$ac_cv_func__frexpf" = xyes; then :
31937 cat >>confdefs.h <<_ACEOF
31938 #define HAVE__FREXPF 1
31939 _ACEOF
31942 done
31951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31952 $as_echo_n "checking for hypotf declaration... " >&6; }
31953 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31954 if ${glibcxx_cv_func_hypotf_use+:} false; then :
31955 $as_echo_n "(cached) " >&6
31956 else
31959 ac_ext=cpp
31960 ac_cpp='$CXXCPP $CPPFLAGS'
31961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31966 /* end confdefs.h. */
31967 #include <math.h>
31969 main ()
31971 hypotf(0, 0);
31973 return 0;
31975 _ACEOF
31976 if ac_fn_cxx_try_compile "$LINENO"; then :
31977 glibcxx_cv_func_hypotf_use=yes
31978 else
31979 glibcxx_cv_func_hypotf_use=no
31981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31982 ac_ext=c
31983 ac_cpp='$CPP $CPPFLAGS'
31984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31993 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31995 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31996 for ac_func in hypotf
31997 do :
31998 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31999 if test "x$ac_cv_func_hypotf" = xyes; then :
32000 cat >>confdefs.h <<_ACEOF
32001 #define HAVE_HYPOTF 1
32002 _ACEOF
32005 done
32007 else
32009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
32010 $as_echo_n "checking for _hypotf declaration... " >&6; }
32011 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
32012 if ${glibcxx_cv_func__hypotf_use+:} false; then :
32013 $as_echo_n "(cached) " >&6
32014 else
32017 ac_ext=cpp
32018 ac_cpp='$CXXCPP $CPPFLAGS'
32019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32024 /* end confdefs.h. */
32025 #include <math.h>
32027 main ()
32029 _hypotf(0, 0);
32031 return 0;
32033 _ACEOF
32034 if ac_fn_cxx_try_compile "$LINENO"; then :
32035 glibcxx_cv_func__hypotf_use=yes
32036 else
32037 glibcxx_cv_func__hypotf_use=no
32039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32040 ac_ext=c
32041 ac_cpp='$CPP $CPPFLAGS'
32042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
32051 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
32053 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
32054 for ac_func in _hypotf
32055 do :
32056 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
32057 if test "x$ac_cv_func__hypotf" = xyes; then :
32058 cat >>confdefs.h <<_ACEOF
32059 #define HAVE__HYPOTF 1
32060 _ACEOF
32063 done
32072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
32073 $as_echo_n "checking for ldexpf declaration... " >&6; }
32074 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
32075 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
32076 $as_echo_n "(cached) " >&6
32077 else
32080 ac_ext=cpp
32081 ac_cpp='$CXXCPP $CPPFLAGS'
32082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32087 /* end confdefs.h. */
32088 #include <math.h>
32090 main ()
32092 ldexpf(0, 0);
32094 return 0;
32096 _ACEOF
32097 if ac_fn_cxx_try_compile "$LINENO"; then :
32098 glibcxx_cv_func_ldexpf_use=yes
32099 else
32100 glibcxx_cv_func_ldexpf_use=no
32102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32103 ac_ext=c
32104 ac_cpp='$CPP $CPPFLAGS'
32105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
32114 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
32116 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
32117 for ac_func in ldexpf
32118 do :
32119 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
32120 if test "x$ac_cv_func_ldexpf" = xyes; then :
32121 cat >>confdefs.h <<_ACEOF
32122 #define HAVE_LDEXPF 1
32123 _ACEOF
32126 done
32128 else
32130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
32131 $as_echo_n "checking for _ldexpf declaration... " >&6; }
32132 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
32133 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
32134 $as_echo_n "(cached) " >&6
32135 else
32138 ac_ext=cpp
32139 ac_cpp='$CXXCPP $CPPFLAGS'
32140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32145 /* end confdefs.h. */
32146 #include <math.h>
32148 main ()
32150 _ldexpf(0, 0);
32152 return 0;
32154 _ACEOF
32155 if ac_fn_cxx_try_compile "$LINENO"; then :
32156 glibcxx_cv_func__ldexpf_use=yes
32157 else
32158 glibcxx_cv_func__ldexpf_use=no
32160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32161 ac_ext=c
32162 ac_cpp='$CPP $CPPFLAGS'
32163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
32172 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
32174 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
32175 for ac_func in _ldexpf
32176 do :
32177 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
32178 if test "x$ac_cv_func__ldexpf" = xyes; then :
32179 cat >>confdefs.h <<_ACEOF
32180 #define HAVE__LDEXPF 1
32181 _ACEOF
32184 done
32193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
32194 $as_echo_n "checking for logf declaration... " >&6; }
32195 if test x${glibcxx_cv_func_logf_use+set} != xset; then
32196 if ${glibcxx_cv_func_logf_use+:} false; then :
32197 $as_echo_n "(cached) " >&6
32198 else
32201 ac_ext=cpp
32202 ac_cpp='$CXXCPP $CPPFLAGS'
32203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32208 /* end confdefs.h. */
32209 #include <math.h>
32210 #ifdef HAVE_IEEEFP_H
32211 #include <ieeefp.h>
32212 #endif
32215 main ()
32217 logf(0);
32219 return 0;
32221 _ACEOF
32222 if ac_fn_cxx_try_compile "$LINENO"; then :
32223 glibcxx_cv_func_logf_use=yes
32224 else
32225 glibcxx_cv_func_logf_use=no
32227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32228 ac_ext=c
32229 ac_cpp='$CPP $CPPFLAGS'
32230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
32239 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
32241 if test x$glibcxx_cv_func_logf_use = x"yes"; then
32242 for ac_func in logf
32243 do :
32244 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
32245 if test "x$ac_cv_func_logf" = xyes; then :
32246 cat >>confdefs.h <<_ACEOF
32247 #define HAVE_LOGF 1
32248 _ACEOF
32251 done
32253 else
32255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
32256 $as_echo_n "checking for _logf declaration... " >&6; }
32257 if test x${glibcxx_cv_func__logf_use+set} != xset; then
32258 if ${glibcxx_cv_func__logf_use+:} false; then :
32259 $as_echo_n "(cached) " >&6
32260 else
32263 ac_ext=cpp
32264 ac_cpp='$CXXCPP $CPPFLAGS'
32265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32270 /* end confdefs.h. */
32271 #include <math.h>
32272 #ifdef HAVE_IEEEFP_H
32273 #include <ieeefp.h>
32274 #endif
32277 main ()
32279 _logf(0);
32281 return 0;
32283 _ACEOF
32284 if ac_fn_cxx_try_compile "$LINENO"; then :
32285 glibcxx_cv_func__logf_use=yes
32286 else
32287 glibcxx_cv_func__logf_use=no
32289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32290 ac_ext=c
32291 ac_cpp='$CPP $CPPFLAGS'
32292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
32301 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
32303 if test x$glibcxx_cv_func__logf_use = x"yes"; then
32304 for ac_func in _logf
32305 do :
32306 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
32307 if test "x$ac_cv_func__logf" = xyes; then :
32308 cat >>confdefs.h <<_ACEOF
32309 #define HAVE__LOGF 1
32310 _ACEOF
32313 done
32322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
32323 $as_echo_n "checking for log10f declaration... " >&6; }
32324 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
32325 if ${glibcxx_cv_func_log10f_use+:} false; then :
32326 $as_echo_n "(cached) " >&6
32327 else
32330 ac_ext=cpp
32331 ac_cpp='$CXXCPP $CPPFLAGS'
32332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32337 /* end confdefs.h. */
32338 #include <math.h>
32339 #ifdef HAVE_IEEEFP_H
32340 #include <ieeefp.h>
32341 #endif
32344 main ()
32346 log10f(0);
32348 return 0;
32350 _ACEOF
32351 if ac_fn_cxx_try_compile "$LINENO"; then :
32352 glibcxx_cv_func_log10f_use=yes
32353 else
32354 glibcxx_cv_func_log10f_use=no
32356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32357 ac_ext=c
32358 ac_cpp='$CPP $CPPFLAGS'
32359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
32368 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
32370 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
32371 for ac_func in log10f
32372 do :
32373 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
32374 if test "x$ac_cv_func_log10f" = xyes; then :
32375 cat >>confdefs.h <<_ACEOF
32376 #define HAVE_LOG10F 1
32377 _ACEOF
32380 done
32382 else
32384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
32385 $as_echo_n "checking for _log10f declaration... " >&6; }
32386 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
32387 if ${glibcxx_cv_func__log10f_use+:} false; then :
32388 $as_echo_n "(cached) " >&6
32389 else
32392 ac_ext=cpp
32393 ac_cpp='$CXXCPP $CPPFLAGS'
32394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32399 /* end confdefs.h. */
32400 #include <math.h>
32401 #ifdef HAVE_IEEEFP_H
32402 #include <ieeefp.h>
32403 #endif
32406 main ()
32408 _log10f(0);
32410 return 0;
32412 _ACEOF
32413 if ac_fn_cxx_try_compile "$LINENO"; then :
32414 glibcxx_cv_func__log10f_use=yes
32415 else
32416 glibcxx_cv_func__log10f_use=no
32418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32419 ac_ext=c
32420 ac_cpp='$CPP $CPPFLAGS'
32421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
32430 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
32432 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
32433 for ac_func in _log10f
32434 do :
32435 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
32436 if test "x$ac_cv_func__log10f" = xyes; then :
32437 cat >>confdefs.h <<_ACEOF
32438 #define HAVE__LOG10F 1
32439 _ACEOF
32442 done
32451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
32452 $as_echo_n "checking for modff declaration... " >&6; }
32453 if test x${glibcxx_cv_func_modff_use+set} != xset; then
32454 if ${glibcxx_cv_func_modff_use+:} false; then :
32455 $as_echo_n "(cached) " >&6
32456 else
32459 ac_ext=cpp
32460 ac_cpp='$CXXCPP $CPPFLAGS'
32461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32466 /* end confdefs.h. */
32467 #include <math.h>
32469 main ()
32471 modff(0, 0);
32473 return 0;
32475 _ACEOF
32476 if ac_fn_cxx_try_compile "$LINENO"; then :
32477 glibcxx_cv_func_modff_use=yes
32478 else
32479 glibcxx_cv_func_modff_use=no
32481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32482 ac_ext=c
32483 ac_cpp='$CPP $CPPFLAGS'
32484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
32493 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
32495 if test x$glibcxx_cv_func_modff_use = x"yes"; then
32496 for ac_func in modff
32497 do :
32498 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
32499 if test "x$ac_cv_func_modff" = xyes; then :
32500 cat >>confdefs.h <<_ACEOF
32501 #define HAVE_MODFF 1
32502 _ACEOF
32505 done
32507 else
32509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
32510 $as_echo_n "checking for _modff declaration... " >&6; }
32511 if test x${glibcxx_cv_func__modff_use+set} != xset; then
32512 if ${glibcxx_cv_func__modff_use+:} false; then :
32513 $as_echo_n "(cached) " >&6
32514 else
32517 ac_ext=cpp
32518 ac_cpp='$CXXCPP $CPPFLAGS'
32519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32524 /* end confdefs.h. */
32525 #include <math.h>
32527 main ()
32529 _modff(0, 0);
32531 return 0;
32533 _ACEOF
32534 if ac_fn_cxx_try_compile "$LINENO"; then :
32535 glibcxx_cv_func__modff_use=yes
32536 else
32537 glibcxx_cv_func__modff_use=no
32539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32540 ac_ext=c
32541 ac_cpp='$CPP $CPPFLAGS'
32542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
32551 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
32553 if test x$glibcxx_cv_func__modff_use = x"yes"; then
32554 for ac_func in _modff
32555 do :
32556 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
32557 if test "x$ac_cv_func__modff" = xyes; then :
32558 cat >>confdefs.h <<_ACEOF
32559 #define HAVE__MODFF 1
32560 _ACEOF
32563 done
32572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
32573 $as_echo_n "checking for modf declaration... " >&6; }
32574 if test x${glibcxx_cv_func_modf_use+set} != xset; then
32575 if ${glibcxx_cv_func_modf_use+:} false; then :
32576 $as_echo_n "(cached) " >&6
32577 else
32580 ac_ext=cpp
32581 ac_cpp='$CXXCPP $CPPFLAGS'
32582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32587 /* end confdefs.h. */
32588 #include <math.h>
32590 main ()
32592 modf(0, 0);
32594 return 0;
32596 _ACEOF
32597 if ac_fn_cxx_try_compile "$LINENO"; then :
32598 glibcxx_cv_func_modf_use=yes
32599 else
32600 glibcxx_cv_func_modf_use=no
32602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32603 ac_ext=c
32604 ac_cpp='$CPP $CPPFLAGS'
32605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
32614 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
32616 if test x$glibcxx_cv_func_modf_use = x"yes"; then
32617 for ac_func in modf
32618 do :
32619 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
32620 if test "x$ac_cv_func_modf" = xyes; then :
32621 cat >>confdefs.h <<_ACEOF
32622 #define HAVE_MODF 1
32623 _ACEOF
32626 done
32628 else
32630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
32631 $as_echo_n "checking for _modf declaration... " >&6; }
32632 if test x${glibcxx_cv_func__modf_use+set} != xset; then
32633 if ${glibcxx_cv_func__modf_use+:} false; then :
32634 $as_echo_n "(cached) " >&6
32635 else
32638 ac_ext=cpp
32639 ac_cpp='$CXXCPP $CPPFLAGS'
32640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32645 /* end confdefs.h. */
32646 #include <math.h>
32648 main ()
32650 _modf(0, 0);
32652 return 0;
32654 _ACEOF
32655 if ac_fn_cxx_try_compile "$LINENO"; then :
32656 glibcxx_cv_func__modf_use=yes
32657 else
32658 glibcxx_cv_func__modf_use=no
32660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32661 ac_ext=c
32662 ac_cpp='$CPP $CPPFLAGS'
32663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
32672 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
32674 if test x$glibcxx_cv_func__modf_use = x"yes"; then
32675 for ac_func in _modf
32676 do :
32677 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
32678 if test "x$ac_cv_func__modf" = xyes; then :
32679 cat >>confdefs.h <<_ACEOF
32680 #define HAVE__MODF 1
32681 _ACEOF
32684 done
32693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32694 $as_echo_n "checking for powf declaration... " >&6; }
32695 if test x${glibcxx_cv_func_powf_use+set} != xset; then
32696 if ${glibcxx_cv_func_powf_use+:} false; then :
32697 $as_echo_n "(cached) " >&6
32698 else
32701 ac_ext=cpp
32702 ac_cpp='$CXXCPP $CPPFLAGS'
32703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32708 /* end confdefs.h. */
32709 #include <math.h>
32711 main ()
32713 powf(0, 0);
32715 return 0;
32717 _ACEOF
32718 if ac_fn_cxx_try_compile "$LINENO"; then :
32719 glibcxx_cv_func_powf_use=yes
32720 else
32721 glibcxx_cv_func_powf_use=no
32723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32724 ac_ext=c
32725 ac_cpp='$CPP $CPPFLAGS'
32726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32735 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
32737 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32738 for ac_func in powf
32739 do :
32740 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32741 if test "x$ac_cv_func_powf" = xyes; then :
32742 cat >>confdefs.h <<_ACEOF
32743 #define HAVE_POWF 1
32744 _ACEOF
32747 done
32749 else
32751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32752 $as_echo_n "checking for _powf declaration... " >&6; }
32753 if test x${glibcxx_cv_func__powf_use+set} != xset; then
32754 if ${glibcxx_cv_func__powf_use+:} false; then :
32755 $as_echo_n "(cached) " >&6
32756 else
32759 ac_ext=cpp
32760 ac_cpp='$CXXCPP $CPPFLAGS'
32761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32766 /* end confdefs.h. */
32767 #include <math.h>
32769 main ()
32771 _powf(0, 0);
32773 return 0;
32775 _ACEOF
32776 if ac_fn_cxx_try_compile "$LINENO"; then :
32777 glibcxx_cv_func__powf_use=yes
32778 else
32779 glibcxx_cv_func__powf_use=no
32781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32782 ac_ext=c
32783 ac_cpp='$CPP $CPPFLAGS'
32784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32793 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
32795 if test x$glibcxx_cv_func__powf_use = x"yes"; then
32796 for ac_func in _powf
32797 do :
32798 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32799 if test "x$ac_cv_func__powf" = xyes; then :
32800 cat >>confdefs.h <<_ACEOF
32801 #define HAVE__POWF 1
32802 _ACEOF
32805 done
32814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
32815 $as_echo_n "checking for sqrtf declaration... " >&6; }
32816 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32817 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
32818 $as_echo_n "(cached) " >&6
32819 else
32822 ac_ext=cpp
32823 ac_cpp='$CXXCPP $CPPFLAGS'
32824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32829 /* end confdefs.h. */
32830 #include <math.h>
32831 #ifdef HAVE_IEEEFP_H
32832 #include <ieeefp.h>
32833 #endif
32836 main ()
32838 sqrtf(0);
32840 return 0;
32842 _ACEOF
32843 if ac_fn_cxx_try_compile "$LINENO"; then :
32844 glibcxx_cv_func_sqrtf_use=yes
32845 else
32846 glibcxx_cv_func_sqrtf_use=no
32848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32849 ac_ext=c
32850 ac_cpp='$CPP $CPPFLAGS'
32851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32860 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32862 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32863 for ac_func in sqrtf
32864 do :
32865 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32866 if test "x$ac_cv_func_sqrtf" = xyes; then :
32867 cat >>confdefs.h <<_ACEOF
32868 #define HAVE_SQRTF 1
32869 _ACEOF
32872 done
32874 else
32876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32877 $as_echo_n "checking for _sqrtf declaration... " >&6; }
32878 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32879 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
32880 $as_echo_n "(cached) " >&6
32881 else
32884 ac_ext=cpp
32885 ac_cpp='$CXXCPP $CPPFLAGS'
32886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32891 /* end confdefs.h. */
32892 #include <math.h>
32893 #ifdef HAVE_IEEEFP_H
32894 #include <ieeefp.h>
32895 #endif
32898 main ()
32900 _sqrtf(0);
32902 return 0;
32904 _ACEOF
32905 if ac_fn_cxx_try_compile "$LINENO"; then :
32906 glibcxx_cv_func__sqrtf_use=yes
32907 else
32908 glibcxx_cv_func__sqrtf_use=no
32910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32911 ac_ext=c
32912 ac_cpp='$CPP $CPPFLAGS'
32913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32922 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32924 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32925 for ac_func in _sqrtf
32926 do :
32927 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32928 if test "x$ac_cv_func__sqrtf" = xyes; then :
32929 cat >>confdefs.h <<_ACEOF
32930 #define HAVE__SQRTF 1
32931 _ACEOF
32934 done
32943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32944 $as_echo_n "checking for sincosf declaration... " >&6; }
32945 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32946 if ${glibcxx_cv_func_sincosf_use+:} false; then :
32947 $as_echo_n "(cached) " >&6
32948 else
32951 ac_ext=cpp
32952 ac_cpp='$CXXCPP $CPPFLAGS'
32953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32958 /* end confdefs.h. */
32959 #include <math.h>
32961 main ()
32963 sincosf(0, 0, 0);
32965 return 0;
32967 _ACEOF
32968 if ac_fn_cxx_try_compile "$LINENO"; then :
32969 glibcxx_cv_func_sincosf_use=yes
32970 else
32971 glibcxx_cv_func_sincosf_use=no
32973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32974 ac_ext=c
32975 ac_cpp='$CPP $CPPFLAGS'
32976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32985 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32987 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32988 for ac_func in sincosf
32989 do :
32990 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32991 if test "x$ac_cv_func_sincosf" = xyes; then :
32992 cat >>confdefs.h <<_ACEOF
32993 #define HAVE_SINCOSF 1
32994 _ACEOF
32997 done
32999 else
33001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
33002 $as_echo_n "checking for _sincosf declaration... " >&6; }
33003 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
33004 if ${glibcxx_cv_func__sincosf_use+:} false; then :
33005 $as_echo_n "(cached) " >&6
33006 else
33009 ac_ext=cpp
33010 ac_cpp='$CXXCPP $CPPFLAGS'
33011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33016 /* end confdefs.h. */
33017 #include <math.h>
33019 main ()
33021 _sincosf(0, 0, 0);
33023 return 0;
33025 _ACEOF
33026 if ac_fn_cxx_try_compile "$LINENO"; then :
33027 glibcxx_cv_func__sincosf_use=yes
33028 else
33029 glibcxx_cv_func__sincosf_use=no
33031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33032 ac_ext=c
33033 ac_cpp='$CPP $CPPFLAGS'
33034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
33043 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
33045 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
33046 for ac_func in _sincosf
33047 do :
33048 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
33049 if test "x$ac_cv_func__sincosf" = xyes; then :
33050 cat >>confdefs.h <<_ACEOF
33051 #define HAVE__SINCOSF 1
33052 _ACEOF
33055 done
33064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
33065 $as_echo_n "checking for finitef declaration... " >&6; }
33066 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
33067 if ${glibcxx_cv_func_finitef_use+:} false; then :
33068 $as_echo_n "(cached) " >&6
33069 else
33072 ac_ext=cpp
33073 ac_cpp='$CXXCPP $CPPFLAGS'
33074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33079 /* end confdefs.h. */
33080 #include <math.h>
33081 #ifdef HAVE_IEEEFP_H
33082 #include <ieeefp.h>
33083 #endif
33086 main ()
33088 finitef(0);
33090 return 0;
33092 _ACEOF
33093 if ac_fn_cxx_try_compile "$LINENO"; then :
33094 glibcxx_cv_func_finitef_use=yes
33095 else
33096 glibcxx_cv_func_finitef_use=no
33098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33099 ac_ext=c
33100 ac_cpp='$CPP $CPPFLAGS'
33101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
33110 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
33112 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
33113 for ac_func in finitef
33114 do :
33115 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
33116 if test "x$ac_cv_func_finitef" = xyes; then :
33117 cat >>confdefs.h <<_ACEOF
33118 #define HAVE_FINITEF 1
33119 _ACEOF
33122 done
33124 else
33126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
33127 $as_echo_n "checking for _finitef declaration... " >&6; }
33128 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
33129 if ${glibcxx_cv_func__finitef_use+:} false; then :
33130 $as_echo_n "(cached) " >&6
33131 else
33134 ac_ext=cpp
33135 ac_cpp='$CXXCPP $CPPFLAGS'
33136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33141 /* end confdefs.h. */
33142 #include <math.h>
33143 #ifdef HAVE_IEEEFP_H
33144 #include <ieeefp.h>
33145 #endif
33148 main ()
33150 _finitef(0);
33152 return 0;
33154 _ACEOF
33155 if ac_fn_cxx_try_compile "$LINENO"; then :
33156 glibcxx_cv_func__finitef_use=yes
33157 else
33158 glibcxx_cv_func__finitef_use=no
33160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33161 ac_ext=c
33162 ac_cpp='$CPP $CPPFLAGS'
33163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
33172 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
33174 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
33175 for ac_func in _finitef
33176 do :
33177 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
33178 if test "x$ac_cv_func__finitef" = xyes; then :
33179 cat >>confdefs.h <<_ACEOF
33180 #define HAVE__FINITEF 1
33181 _ACEOF
33184 done
33193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
33194 $as_echo_n "checking for long double trig functions... " >&6; }
33195 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
33196 $as_echo_n "(cached) " >&6
33197 else
33200 ac_ext=cpp
33201 ac_cpp='$CXXCPP $CPPFLAGS'
33202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33207 /* end confdefs.h. */
33208 #include <math.h>
33210 main ()
33212 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
33214 return 0;
33216 _ACEOF
33217 if ac_fn_cxx_try_compile "$LINENO"; then :
33218 glibcxx_cv_func_long_double_trig_use=yes
33219 else
33220 glibcxx_cv_func_long_double_trig_use=no
33222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33223 ac_ext=c
33224 ac_cpp='$CPP $CPPFLAGS'
33225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
33232 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
33233 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
33234 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
33235 do :
33236 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33237 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33238 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33239 cat >>confdefs.h <<_ACEOF
33240 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33241 _ACEOF
33244 done
33246 else
33247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
33248 $as_echo_n "checking for _long double trig functions... " >&6; }
33249 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
33250 $as_echo_n "(cached) " >&6
33251 else
33254 ac_ext=cpp
33255 ac_cpp='$CXXCPP $CPPFLAGS'
33256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33261 /* end confdefs.h. */
33262 #include <math.h>
33264 main ()
33266 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
33268 return 0;
33270 _ACEOF
33271 if ac_fn_cxx_try_compile "$LINENO"; then :
33272 glibcxx_cv_func__long_double_trig_use=yes
33273 else
33274 glibcxx_cv_func__long_double_trig_use=no
33276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33277 ac_ext=c
33278 ac_cpp='$CPP $CPPFLAGS'
33279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
33286 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
33287 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
33288 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
33289 do :
33290 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33291 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33292 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33293 cat >>confdefs.h <<_ACEOF
33294 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33295 _ACEOF
33298 done
33307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
33308 $as_echo_n "checking for long double round functions... " >&6; }
33309 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
33310 $as_echo_n "(cached) " >&6
33311 else
33314 ac_ext=cpp
33315 ac_cpp='$CXXCPP $CPPFLAGS'
33316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33321 /* end confdefs.h. */
33322 #include <math.h>
33324 main ()
33326 ceill (0); floorl (0);
33328 return 0;
33330 _ACEOF
33331 if ac_fn_cxx_try_compile "$LINENO"; then :
33332 glibcxx_cv_func_long_double_round_use=yes
33333 else
33334 glibcxx_cv_func_long_double_round_use=no
33336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33337 ac_ext=c
33338 ac_cpp='$CPP $CPPFLAGS'
33339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
33346 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
33347 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
33348 for ac_func in ceill floorl
33349 do :
33350 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33351 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33352 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33353 cat >>confdefs.h <<_ACEOF
33354 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33355 _ACEOF
33358 done
33360 else
33361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
33362 $as_echo_n "checking for _long double round functions... " >&6; }
33363 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
33364 $as_echo_n "(cached) " >&6
33365 else
33368 ac_ext=cpp
33369 ac_cpp='$CXXCPP $CPPFLAGS'
33370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33375 /* end confdefs.h. */
33376 #include <math.h>
33378 main ()
33380 _ceill (0); _floorl (0);
33382 return 0;
33384 _ACEOF
33385 if ac_fn_cxx_try_compile "$LINENO"; then :
33386 glibcxx_cv_func__long_double_round_use=yes
33387 else
33388 glibcxx_cv_func__long_double_round_use=no
33390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33391 ac_ext=c
33392 ac_cpp='$CPP $CPPFLAGS'
33393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
33400 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
33401 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
33402 for ac_func in _ceill _floorl
33403 do :
33404 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33405 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33406 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33407 cat >>confdefs.h <<_ACEOF
33408 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33409 _ACEOF
33412 done
33422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
33423 $as_echo_n "checking for isnanl declaration... " >&6; }
33424 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
33425 if ${glibcxx_cv_func_isnanl_use+:} false; then :
33426 $as_echo_n "(cached) " >&6
33427 else
33430 ac_ext=cpp
33431 ac_cpp='$CXXCPP $CPPFLAGS'
33432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33437 /* end confdefs.h. */
33438 #include <math.h>
33439 #ifdef HAVE_IEEEFP_H
33440 #include <ieeefp.h>
33441 #endif
33444 main ()
33446 isnanl(0);
33448 return 0;
33450 _ACEOF
33451 if ac_fn_cxx_try_compile "$LINENO"; then :
33452 glibcxx_cv_func_isnanl_use=yes
33453 else
33454 glibcxx_cv_func_isnanl_use=no
33456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33457 ac_ext=c
33458 ac_cpp='$CPP $CPPFLAGS'
33459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
33468 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
33470 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
33471 for ac_func in isnanl
33472 do :
33473 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
33474 if test "x$ac_cv_func_isnanl" = xyes; then :
33475 cat >>confdefs.h <<_ACEOF
33476 #define HAVE_ISNANL 1
33477 _ACEOF
33480 done
33482 else
33484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
33485 $as_echo_n "checking for _isnanl declaration... " >&6; }
33486 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
33487 if ${glibcxx_cv_func__isnanl_use+:} false; then :
33488 $as_echo_n "(cached) " >&6
33489 else
33492 ac_ext=cpp
33493 ac_cpp='$CXXCPP $CPPFLAGS'
33494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33499 /* end confdefs.h. */
33500 #include <math.h>
33501 #ifdef HAVE_IEEEFP_H
33502 #include <ieeefp.h>
33503 #endif
33506 main ()
33508 _isnanl(0);
33510 return 0;
33512 _ACEOF
33513 if ac_fn_cxx_try_compile "$LINENO"; then :
33514 glibcxx_cv_func__isnanl_use=yes
33515 else
33516 glibcxx_cv_func__isnanl_use=no
33518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33519 ac_ext=c
33520 ac_cpp='$CPP $CPPFLAGS'
33521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
33530 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
33532 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
33533 for ac_func in _isnanl
33534 do :
33535 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
33536 if test "x$ac_cv_func__isnanl" = xyes; then :
33537 cat >>confdefs.h <<_ACEOF
33538 #define HAVE__ISNANL 1
33539 _ACEOF
33542 done
33551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
33552 $as_echo_n "checking for isinfl declaration... " >&6; }
33553 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
33554 if ${glibcxx_cv_func_isinfl_use+:} false; then :
33555 $as_echo_n "(cached) " >&6
33556 else
33559 ac_ext=cpp
33560 ac_cpp='$CXXCPP $CPPFLAGS'
33561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33566 /* end confdefs.h. */
33567 #include <math.h>
33568 #ifdef HAVE_IEEEFP_H
33569 #include <ieeefp.h>
33570 #endif
33573 main ()
33575 isinfl(0);
33577 return 0;
33579 _ACEOF
33580 if ac_fn_cxx_try_compile "$LINENO"; then :
33581 glibcxx_cv_func_isinfl_use=yes
33582 else
33583 glibcxx_cv_func_isinfl_use=no
33585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33586 ac_ext=c
33587 ac_cpp='$CPP $CPPFLAGS'
33588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
33597 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
33599 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
33600 for ac_func in isinfl
33601 do :
33602 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
33603 if test "x$ac_cv_func_isinfl" = xyes; then :
33604 cat >>confdefs.h <<_ACEOF
33605 #define HAVE_ISINFL 1
33606 _ACEOF
33609 done
33611 else
33613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
33614 $as_echo_n "checking for _isinfl declaration... " >&6; }
33615 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
33616 if ${glibcxx_cv_func__isinfl_use+:} false; then :
33617 $as_echo_n "(cached) " >&6
33618 else
33621 ac_ext=cpp
33622 ac_cpp='$CXXCPP $CPPFLAGS'
33623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33628 /* end confdefs.h. */
33629 #include <math.h>
33630 #ifdef HAVE_IEEEFP_H
33631 #include <ieeefp.h>
33632 #endif
33635 main ()
33637 _isinfl(0);
33639 return 0;
33641 _ACEOF
33642 if ac_fn_cxx_try_compile "$LINENO"; then :
33643 glibcxx_cv_func__isinfl_use=yes
33644 else
33645 glibcxx_cv_func__isinfl_use=no
33647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33648 ac_ext=c
33649 ac_cpp='$CPP $CPPFLAGS'
33650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
33659 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
33661 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
33662 for ac_func in _isinfl
33663 do :
33664 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
33665 if test "x$ac_cv_func__isinfl" = xyes; then :
33666 cat >>confdefs.h <<_ACEOF
33667 #define HAVE__ISINFL 1
33668 _ACEOF
33671 done
33680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33681 $as_echo_n "checking for atan2l declaration... " >&6; }
33682 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33683 if ${glibcxx_cv_func_atan2l_use+:} false; then :
33684 $as_echo_n "(cached) " >&6
33685 else
33688 ac_ext=cpp
33689 ac_cpp='$CXXCPP $CPPFLAGS'
33690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33695 /* end confdefs.h. */
33696 #include <math.h>
33698 main ()
33700 atan2l(0, 0);
33702 return 0;
33704 _ACEOF
33705 if ac_fn_cxx_try_compile "$LINENO"; then :
33706 glibcxx_cv_func_atan2l_use=yes
33707 else
33708 glibcxx_cv_func_atan2l_use=no
33710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33711 ac_ext=c
33712 ac_cpp='$CPP $CPPFLAGS'
33713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33722 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33724 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33725 for ac_func in atan2l
33726 do :
33727 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33728 if test "x$ac_cv_func_atan2l" = xyes; then :
33729 cat >>confdefs.h <<_ACEOF
33730 #define HAVE_ATAN2L 1
33731 _ACEOF
33734 done
33736 else
33738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33739 $as_echo_n "checking for _atan2l declaration... " >&6; }
33740 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33741 if ${glibcxx_cv_func__atan2l_use+:} false; then :
33742 $as_echo_n "(cached) " >&6
33743 else
33746 ac_ext=cpp
33747 ac_cpp='$CXXCPP $CPPFLAGS'
33748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33753 /* end confdefs.h. */
33754 #include <math.h>
33756 main ()
33758 _atan2l(0, 0);
33760 return 0;
33762 _ACEOF
33763 if ac_fn_cxx_try_compile "$LINENO"; then :
33764 glibcxx_cv_func__atan2l_use=yes
33765 else
33766 glibcxx_cv_func__atan2l_use=no
33768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33769 ac_ext=c
33770 ac_cpp='$CPP $CPPFLAGS'
33771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33780 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33782 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33783 for ac_func in _atan2l
33784 do :
33785 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33786 if test "x$ac_cv_func__atan2l" = xyes; then :
33787 cat >>confdefs.h <<_ACEOF
33788 #define HAVE__ATAN2L 1
33789 _ACEOF
33792 done
33801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33802 $as_echo_n "checking for expl declaration... " >&6; }
33803 if test x${glibcxx_cv_func_expl_use+set} != xset; then
33804 if ${glibcxx_cv_func_expl_use+:} false; then :
33805 $as_echo_n "(cached) " >&6
33806 else
33809 ac_ext=cpp
33810 ac_cpp='$CXXCPP $CPPFLAGS'
33811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33816 /* end confdefs.h. */
33817 #include <math.h>
33818 #ifdef HAVE_IEEEFP_H
33819 #include <ieeefp.h>
33820 #endif
33823 main ()
33825 expl(0);
33827 return 0;
33829 _ACEOF
33830 if ac_fn_cxx_try_compile "$LINENO"; then :
33831 glibcxx_cv_func_expl_use=yes
33832 else
33833 glibcxx_cv_func_expl_use=no
33835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33836 ac_ext=c
33837 ac_cpp='$CPP $CPPFLAGS'
33838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
33847 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
33849 if test x$glibcxx_cv_func_expl_use = x"yes"; then
33850 for ac_func in expl
33851 do :
33852 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33853 if test "x$ac_cv_func_expl" = xyes; then :
33854 cat >>confdefs.h <<_ACEOF
33855 #define HAVE_EXPL 1
33856 _ACEOF
33859 done
33861 else
33863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33864 $as_echo_n "checking for _expl declaration... " >&6; }
33865 if test x${glibcxx_cv_func__expl_use+set} != xset; then
33866 if ${glibcxx_cv_func__expl_use+:} false; then :
33867 $as_echo_n "(cached) " >&6
33868 else
33871 ac_ext=cpp
33872 ac_cpp='$CXXCPP $CPPFLAGS'
33873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33878 /* end confdefs.h. */
33879 #include <math.h>
33880 #ifdef HAVE_IEEEFP_H
33881 #include <ieeefp.h>
33882 #endif
33885 main ()
33887 _expl(0);
33889 return 0;
33891 _ACEOF
33892 if ac_fn_cxx_try_compile "$LINENO"; then :
33893 glibcxx_cv_func__expl_use=yes
33894 else
33895 glibcxx_cv_func__expl_use=no
33897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33898 ac_ext=c
33899 ac_cpp='$CPP $CPPFLAGS'
33900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33909 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
33911 if test x$glibcxx_cv_func__expl_use = x"yes"; then
33912 for ac_func in _expl
33913 do :
33914 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33915 if test "x$ac_cv_func__expl" = xyes; then :
33916 cat >>confdefs.h <<_ACEOF
33917 #define HAVE__EXPL 1
33918 _ACEOF
33921 done
33930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33931 $as_echo_n "checking for fabsl declaration... " >&6; }
33932 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33933 if ${glibcxx_cv_func_fabsl_use+:} false; then :
33934 $as_echo_n "(cached) " >&6
33935 else
33938 ac_ext=cpp
33939 ac_cpp='$CXXCPP $CPPFLAGS'
33940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33945 /* end confdefs.h. */
33946 #include <math.h>
33947 #ifdef HAVE_IEEEFP_H
33948 #include <ieeefp.h>
33949 #endif
33952 main ()
33954 fabsl(0);
33956 return 0;
33958 _ACEOF
33959 if ac_fn_cxx_try_compile "$LINENO"; then :
33960 glibcxx_cv_func_fabsl_use=yes
33961 else
33962 glibcxx_cv_func_fabsl_use=no
33964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33965 ac_ext=c
33966 ac_cpp='$CPP $CPPFLAGS'
33967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33976 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33978 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33979 for ac_func in fabsl
33980 do :
33981 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33982 if test "x$ac_cv_func_fabsl" = xyes; then :
33983 cat >>confdefs.h <<_ACEOF
33984 #define HAVE_FABSL 1
33985 _ACEOF
33988 done
33990 else
33992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33993 $as_echo_n "checking for _fabsl declaration... " >&6; }
33994 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33995 if ${glibcxx_cv_func__fabsl_use+:} false; then :
33996 $as_echo_n "(cached) " >&6
33997 else
34000 ac_ext=cpp
34001 ac_cpp='$CXXCPP $CPPFLAGS'
34002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34007 /* end confdefs.h. */
34008 #include <math.h>
34009 #ifdef HAVE_IEEEFP_H
34010 #include <ieeefp.h>
34011 #endif
34014 main ()
34016 _fabsl(0);
34018 return 0;
34020 _ACEOF
34021 if ac_fn_cxx_try_compile "$LINENO"; then :
34022 glibcxx_cv_func__fabsl_use=yes
34023 else
34024 glibcxx_cv_func__fabsl_use=no
34026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34027 ac_ext=c
34028 ac_cpp='$CPP $CPPFLAGS'
34029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
34038 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
34040 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
34041 for ac_func in _fabsl
34042 do :
34043 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
34044 if test "x$ac_cv_func__fabsl" = xyes; then :
34045 cat >>confdefs.h <<_ACEOF
34046 #define HAVE__FABSL 1
34047 _ACEOF
34050 done
34059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
34060 $as_echo_n "checking for fmodl declaration... " >&6; }
34061 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
34062 if ${glibcxx_cv_func_fmodl_use+:} false; then :
34063 $as_echo_n "(cached) " >&6
34064 else
34067 ac_ext=cpp
34068 ac_cpp='$CXXCPP $CPPFLAGS'
34069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34074 /* end confdefs.h. */
34075 #include <math.h>
34077 main ()
34079 fmodl(0, 0);
34081 return 0;
34083 _ACEOF
34084 if ac_fn_cxx_try_compile "$LINENO"; then :
34085 glibcxx_cv_func_fmodl_use=yes
34086 else
34087 glibcxx_cv_func_fmodl_use=no
34089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34090 ac_ext=c
34091 ac_cpp='$CPP $CPPFLAGS'
34092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
34101 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
34103 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
34104 for ac_func in fmodl
34105 do :
34106 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
34107 if test "x$ac_cv_func_fmodl" = xyes; then :
34108 cat >>confdefs.h <<_ACEOF
34109 #define HAVE_FMODL 1
34110 _ACEOF
34113 done
34115 else
34117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
34118 $as_echo_n "checking for _fmodl declaration... " >&6; }
34119 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
34120 if ${glibcxx_cv_func__fmodl_use+:} false; then :
34121 $as_echo_n "(cached) " >&6
34122 else
34125 ac_ext=cpp
34126 ac_cpp='$CXXCPP $CPPFLAGS'
34127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34132 /* end confdefs.h. */
34133 #include <math.h>
34135 main ()
34137 _fmodl(0, 0);
34139 return 0;
34141 _ACEOF
34142 if ac_fn_cxx_try_compile "$LINENO"; then :
34143 glibcxx_cv_func__fmodl_use=yes
34144 else
34145 glibcxx_cv_func__fmodl_use=no
34147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34148 ac_ext=c
34149 ac_cpp='$CPP $CPPFLAGS'
34150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
34159 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
34161 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
34162 for ac_func in _fmodl
34163 do :
34164 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
34165 if test "x$ac_cv_func__fmodl" = xyes; then :
34166 cat >>confdefs.h <<_ACEOF
34167 #define HAVE__FMODL 1
34168 _ACEOF
34171 done
34180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
34181 $as_echo_n "checking for frexpl declaration... " >&6; }
34182 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
34183 if ${glibcxx_cv_func_frexpl_use+:} false; then :
34184 $as_echo_n "(cached) " >&6
34185 else
34188 ac_ext=cpp
34189 ac_cpp='$CXXCPP $CPPFLAGS'
34190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34195 /* end confdefs.h. */
34196 #include <math.h>
34198 main ()
34200 frexpl(0, 0);
34202 return 0;
34204 _ACEOF
34205 if ac_fn_cxx_try_compile "$LINENO"; then :
34206 glibcxx_cv_func_frexpl_use=yes
34207 else
34208 glibcxx_cv_func_frexpl_use=no
34210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34211 ac_ext=c
34212 ac_cpp='$CPP $CPPFLAGS'
34213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
34222 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
34224 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
34225 for ac_func in frexpl
34226 do :
34227 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
34228 if test "x$ac_cv_func_frexpl" = xyes; then :
34229 cat >>confdefs.h <<_ACEOF
34230 #define HAVE_FREXPL 1
34231 _ACEOF
34234 done
34236 else
34238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
34239 $as_echo_n "checking for _frexpl declaration... " >&6; }
34240 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
34241 if ${glibcxx_cv_func__frexpl_use+:} false; then :
34242 $as_echo_n "(cached) " >&6
34243 else
34246 ac_ext=cpp
34247 ac_cpp='$CXXCPP $CPPFLAGS'
34248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34253 /* end confdefs.h. */
34254 #include <math.h>
34256 main ()
34258 _frexpl(0, 0);
34260 return 0;
34262 _ACEOF
34263 if ac_fn_cxx_try_compile "$LINENO"; then :
34264 glibcxx_cv_func__frexpl_use=yes
34265 else
34266 glibcxx_cv_func__frexpl_use=no
34268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34269 ac_ext=c
34270 ac_cpp='$CPP $CPPFLAGS'
34271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
34280 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
34282 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
34283 for ac_func in _frexpl
34284 do :
34285 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
34286 if test "x$ac_cv_func__frexpl" = xyes; then :
34287 cat >>confdefs.h <<_ACEOF
34288 #define HAVE__FREXPL 1
34289 _ACEOF
34292 done
34301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
34302 $as_echo_n "checking for hypotl declaration... " >&6; }
34303 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
34304 if ${glibcxx_cv_func_hypotl_use+:} false; then :
34305 $as_echo_n "(cached) " >&6
34306 else
34309 ac_ext=cpp
34310 ac_cpp='$CXXCPP $CPPFLAGS'
34311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34316 /* end confdefs.h. */
34317 #include <math.h>
34319 main ()
34321 hypotl(0, 0);
34323 return 0;
34325 _ACEOF
34326 if ac_fn_cxx_try_compile "$LINENO"; then :
34327 glibcxx_cv_func_hypotl_use=yes
34328 else
34329 glibcxx_cv_func_hypotl_use=no
34331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34332 ac_ext=c
34333 ac_cpp='$CPP $CPPFLAGS'
34334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
34343 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
34345 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
34346 for ac_func in hypotl
34347 do :
34348 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
34349 if test "x$ac_cv_func_hypotl" = xyes; then :
34350 cat >>confdefs.h <<_ACEOF
34351 #define HAVE_HYPOTL 1
34352 _ACEOF
34355 done
34357 else
34359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
34360 $as_echo_n "checking for _hypotl declaration... " >&6; }
34361 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
34362 if ${glibcxx_cv_func__hypotl_use+:} false; then :
34363 $as_echo_n "(cached) " >&6
34364 else
34367 ac_ext=cpp
34368 ac_cpp='$CXXCPP $CPPFLAGS'
34369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34374 /* end confdefs.h. */
34375 #include <math.h>
34377 main ()
34379 _hypotl(0, 0);
34381 return 0;
34383 _ACEOF
34384 if ac_fn_cxx_try_compile "$LINENO"; then :
34385 glibcxx_cv_func__hypotl_use=yes
34386 else
34387 glibcxx_cv_func__hypotl_use=no
34389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34390 ac_ext=c
34391 ac_cpp='$CPP $CPPFLAGS'
34392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
34401 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
34403 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
34404 for ac_func in _hypotl
34405 do :
34406 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
34407 if test "x$ac_cv_func__hypotl" = xyes; then :
34408 cat >>confdefs.h <<_ACEOF
34409 #define HAVE__HYPOTL 1
34410 _ACEOF
34413 done
34422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
34423 $as_echo_n "checking for ldexpl declaration... " >&6; }
34424 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
34425 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
34426 $as_echo_n "(cached) " >&6
34427 else
34430 ac_ext=cpp
34431 ac_cpp='$CXXCPP $CPPFLAGS'
34432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34437 /* end confdefs.h. */
34438 #include <math.h>
34440 main ()
34442 ldexpl(0, 0);
34444 return 0;
34446 _ACEOF
34447 if ac_fn_cxx_try_compile "$LINENO"; then :
34448 glibcxx_cv_func_ldexpl_use=yes
34449 else
34450 glibcxx_cv_func_ldexpl_use=no
34452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34453 ac_ext=c
34454 ac_cpp='$CPP $CPPFLAGS'
34455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
34464 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
34466 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
34467 for ac_func in ldexpl
34468 do :
34469 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
34470 if test "x$ac_cv_func_ldexpl" = xyes; then :
34471 cat >>confdefs.h <<_ACEOF
34472 #define HAVE_LDEXPL 1
34473 _ACEOF
34476 done
34478 else
34480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
34481 $as_echo_n "checking for _ldexpl declaration... " >&6; }
34482 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
34483 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
34484 $as_echo_n "(cached) " >&6
34485 else
34488 ac_ext=cpp
34489 ac_cpp='$CXXCPP $CPPFLAGS'
34490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34495 /* end confdefs.h. */
34496 #include <math.h>
34498 main ()
34500 _ldexpl(0, 0);
34502 return 0;
34504 _ACEOF
34505 if ac_fn_cxx_try_compile "$LINENO"; then :
34506 glibcxx_cv_func__ldexpl_use=yes
34507 else
34508 glibcxx_cv_func__ldexpl_use=no
34510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34511 ac_ext=c
34512 ac_cpp='$CPP $CPPFLAGS'
34513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
34522 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
34524 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
34525 for ac_func in _ldexpl
34526 do :
34527 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
34528 if test "x$ac_cv_func__ldexpl" = xyes; then :
34529 cat >>confdefs.h <<_ACEOF
34530 #define HAVE__LDEXPL 1
34531 _ACEOF
34534 done
34543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
34544 $as_echo_n "checking for logl declaration... " >&6; }
34545 if test x${glibcxx_cv_func_logl_use+set} != xset; then
34546 if ${glibcxx_cv_func_logl_use+:} false; then :
34547 $as_echo_n "(cached) " >&6
34548 else
34551 ac_ext=cpp
34552 ac_cpp='$CXXCPP $CPPFLAGS'
34553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34558 /* end confdefs.h. */
34559 #include <math.h>
34560 #ifdef HAVE_IEEEFP_H
34561 #include <ieeefp.h>
34562 #endif
34565 main ()
34567 logl(0);
34569 return 0;
34571 _ACEOF
34572 if ac_fn_cxx_try_compile "$LINENO"; then :
34573 glibcxx_cv_func_logl_use=yes
34574 else
34575 glibcxx_cv_func_logl_use=no
34577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34578 ac_ext=c
34579 ac_cpp='$CPP $CPPFLAGS'
34580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
34589 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
34591 if test x$glibcxx_cv_func_logl_use = x"yes"; then
34592 for ac_func in logl
34593 do :
34594 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
34595 if test "x$ac_cv_func_logl" = xyes; then :
34596 cat >>confdefs.h <<_ACEOF
34597 #define HAVE_LOGL 1
34598 _ACEOF
34601 done
34603 else
34605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
34606 $as_echo_n "checking for _logl declaration... " >&6; }
34607 if test x${glibcxx_cv_func__logl_use+set} != xset; then
34608 if ${glibcxx_cv_func__logl_use+:} false; then :
34609 $as_echo_n "(cached) " >&6
34610 else
34613 ac_ext=cpp
34614 ac_cpp='$CXXCPP $CPPFLAGS'
34615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34620 /* end confdefs.h. */
34621 #include <math.h>
34622 #ifdef HAVE_IEEEFP_H
34623 #include <ieeefp.h>
34624 #endif
34627 main ()
34629 _logl(0);
34631 return 0;
34633 _ACEOF
34634 if ac_fn_cxx_try_compile "$LINENO"; then :
34635 glibcxx_cv_func__logl_use=yes
34636 else
34637 glibcxx_cv_func__logl_use=no
34639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34640 ac_ext=c
34641 ac_cpp='$CPP $CPPFLAGS'
34642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
34651 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
34653 if test x$glibcxx_cv_func__logl_use = x"yes"; then
34654 for ac_func in _logl
34655 do :
34656 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
34657 if test "x$ac_cv_func__logl" = xyes; then :
34658 cat >>confdefs.h <<_ACEOF
34659 #define HAVE__LOGL 1
34660 _ACEOF
34663 done
34672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
34673 $as_echo_n "checking for log10l declaration... " >&6; }
34674 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
34675 if ${glibcxx_cv_func_log10l_use+:} false; then :
34676 $as_echo_n "(cached) " >&6
34677 else
34680 ac_ext=cpp
34681 ac_cpp='$CXXCPP $CPPFLAGS'
34682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34687 /* end confdefs.h. */
34688 #include <math.h>
34689 #ifdef HAVE_IEEEFP_H
34690 #include <ieeefp.h>
34691 #endif
34694 main ()
34696 log10l(0);
34698 return 0;
34700 _ACEOF
34701 if ac_fn_cxx_try_compile "$LINENO"; then :
34702 glibcxx_cv_func_log10l_use=yes
34703 else
34704 glibcxx_cv_func_log10l_use=no
34706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34707 ac_ext=c
34708 ac_cpp='$CPP $CPPFLAGS'
34709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34718 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34720 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34721 for ac_func in log10l
34722 do :
34723 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34724 if test "x$ac_cv_func_log10l" = xyes; then :
34725 cat >>confdefs.h <<_ACEOF
34726 #define HAVE_LOG10L 1
34727 _ACEOF
34730 done
34732 else
34734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34735 $as_echo_n "checking for _log10l declaration... " >&6; }
34736 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34737 if ${glibcxx_cv_func__log10l_use+:} false; then :
34738 $as_echo_n "(cached) " >&6
34739 else
34742 ac_ext=cpp
34743 ac_cpp='$CXXCPP $CPPFLAGS'
34744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34749 /* end confdefs.h. */
34750 #include <math.h>
34751 #ifdef HAVE_IEEEFP_H
34752 #include <ieeefp.h>
34753 #endif
34756 main ()
34758 _log10l(0);
34760 return 0;
34762 _ACEOF
34763 if ac_fn_cxx_try_compile "$LINENO"; then :
34764 glibcxx_cv_func__log10l_use=yes
34765 else
34766 glibcxx_cv_func__log10l_use=no
34768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34769 ac_ext=c
34770 ac_cpp='$CPP $CPPFLAGS'
34771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34780 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34782 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34783 for ac_func in _log10l
34784 do :
34785 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34786 if test "x$ac_cv_func__log10l" = xyes; then :
34787 cat >>confdefs.h <<_ACEOF
34788 #define HAVE__LOG10L 1
34789 _ACEOF
34792 done
34801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34802 $as_echo_n "checking for modfl declaration... " >&6; }
34803 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34804 if ${glibcxx_cv_func_modfl_use+:} false; then :
34805 $as_echo_n "(cached) " >&6
34806 else
34809 ac_ext=cpp
34810 ac_cpp='$CXXCPP $CPPFLAGS'
34811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34816 /* end confdefs.h. */
34817 #include <math.h>
34819 main ()
34821 modfl(0, 0);
34823 return 0;
34825 _ACEOF
34826 if ac_fn_cxx_try_compile "$LINENO"; then :
34827 glibcxx_cv_func_modfl_use=yes
34828 else
34829 glibcxx_cv_func_modfl_use=no
34831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34832 ac_ext=c
34833 ac_cpp='$CPP $CPPFLAGS'
34834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
34843 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
34845 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34846 for ac_func in modfl
34847 do :
34848 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
34849 if test "x$ac_cv_func_modfl" = xyes; then :
34850 cat >>confdefs.h <<_ACEOF
34851 #define HAVE_MODFL 1
34852 _ACEOF
34855 done
34857 else
34859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34860 $as_echo_n "checking for _modfl declaration... " >&6; }
34861 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34862 if ${glibcxx_cv_func__modfl_use+:} false; then :
34863 $as_echo_n "(cached) " >&6
34864 else
34867 ac_ext=cpp
34868 ac_cpp='$CXXCPP $CPPFLAGS'
34869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34874 /* end confdefs.h. */
34875 #include <math.h>
34877 main ()
34879 _modfl(0, 0);
34881 return 0;
34883 _ACEOF
34884 if ac_fn_cxx_try_compile "$LINENO"; then :
34885 glibcxx_cv_func__modfl_use=yes
34886 else
34887 glibcxx_cv_func__modfl_use=no
34889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34890 ac_ext=c
34891 ac_cpp='$CPP $CPPFLAGS'
34892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34901 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34903 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34904 for ac_func in _modfl
34905 do :
34906 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34907 if test "x$ac_cv_func__modfl" = xyes; then :
34908 cat >>confdefs.h <<_ACEOF
34909 #define HAVE__MODFL 1
34910 _ACEOF
34913 done
34922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34923 $as_echo_n "checking for powl declaration... " >&6; }
34924 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34925 if ${glibcxx_cv_func_powl_use+:} false; then :
34926 $as_echo_n "(cached) " >&6
34927 else
34930 ac_ext=cpp
34931 ac_cpp='$CXXCPP $CPPFLAGS'
34932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34937 /* end confdefs.h. */
34938 #include <math.h>
34940 main ()
34942 powl(0, 0);
34944 return 0;
34946 _ACEOF
34947 if ac_fn_cxx_try_compile "$LINENO"; then :
34948 glibcxx_cv_func_powl_use=yes
34949 else
34950 glibcxx_cv_func_powl_use=no
34952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34953 ac_ext=c
34954 ac_cpp='$CPP $CPPFLAGS'
34955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34964 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34966 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34967 for ac_func in powl
34968 do :
34969 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34970 if test "x$ac_cv_func_powl" = xyes; then :
34971 cat >>confdefs.h <<_ACEOF
34972 #define HAVE_POWL 1
34973 _ACEOF
34976 done
34978 else
34980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34981 $as_echo_n "checking for _powl declaration... " >&6; }
34982 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34983 if ${glibcxx_cv_func__powl_use+:} false; then :
34984 $as_echo_n "(cached) " >&6
34985 else
34988 ac_ext=cpp
34989 ac_cpp='$CXXCPP $CPPFLAGS'
34990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34995 /* end confdefs.h. */
34996 #include <math.h>
34998 main ()
35000 _powl(0, 0);
35002 return 0;
35004 _ACEOF
35005 if ac_fn_cxx_try_compile "$LINENO"; then :
35006 glibcxx_cv_func__powl_use=yes
35007 else
35008 glibcxx_cv_func__powl_use=no
35010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35011 ac_ext=c
35012 ac_cpp='$CPP $CPPFLAGS'
35013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
35022 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
35024 if test x$glibcxx_cv_func__powl_use = x"yes"; then
35025 for ac_func in _powl
35026 do :
35027 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
35028 if test "x$ac_cv_func__powl" = xyes; then :
35029 cat >>confdefs.h <<_ACEOF
35030 #define HAVE__POWL 1
35031 _ACEOF
35034 done
35043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
35044 $as_echo_n "checking for sqrtl declaration... " >&6; }
35045 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
35046 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
35047 $as_echo_n "(cached) " >&6
35048 else
35051 ac_ext=cpp
35052 ac_cpp='$CXXCPP $CPPFLAGS'
35053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35058 /* end confdefs.h. */
35059 #include <math.h>
35060 #ifdef HAVE_IEEEFP_H
35061 #include <ieeefp.h>
35062 #endif
35065 main ()
35067 sqrtl(0);
35069 return 0;
35071 _ACEOF
35072 if ac_fn_cxx_try_compile "$LINENO"; then :
35073 glibcxx_cv_func_sqrtl_use=yes
35074 else
35075 glibcxx_cv_func_sqrtl_use=no
35077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35078 ac_ext=c
35079 ac_cpp='$CPP $CPPFLAGS'
35080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
35089 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
35091 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
35092 for ac_func in sqrtl
35093 do :
35094 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
35095 if test "x$ac_cv_func_sqrtl" = xyes; then :
35096 cat >>confdefs.h <<_ACEOF
35097 #define HAVE_SQRTL 1
35098 _ACEOF
35101 done
35103 else
35105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
35106 $as_echo_n "checking for _sqrtl declaration... " >&6; }
35107 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
35108 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
35109 $as_echo_n "(cached) " >&6
35110 else
35113 ac_ext=cpp
35114 ac_cpp='$CXXCPP $CPPFLAGS'
35115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35120 /* end confdefs.h. */
35121 #include <math.h>
35122 #ifdef HAVE_IEEEFP_H
35123 #include <ieeefp.h>
35124 #endif
35127 main ()
35129 _sqrtl(0);
35131 return 0;
35133 _ACEOF
35134 if ac_fn_cxx_try_compile "$LINENO"; then :
35135 glibcxx_cv_func__sqrtl_use=yes
35136 else
35137 glibcxx_cv_func__sqrtl_use=no
35139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35140 ac_ext=c
35141 ac_cpp='$CPP $CPPFLAGS'
35142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
35151 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
35153 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
35154 for ac_func in _sqrtl
35155 do :
35156 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
35157 if test "x$ac_cv_func__sqrtl" = xyes; then :
35158 cat >>confdefs.h <<_ACEOF
35159 #define HAVE__SQRTL 1
35160 _ACEOF
35163 done
35172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
35173 $as_echo_n "checking for sincosl declaration... " >&6; }
35174 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
35175 if ${glibcxx_cv_func_sincosl_use+:} false; then :
35176 $as_echo_n "(cached) " >&6
35177 else
35180 ac_ext=cpp
35181 ac_cpp='$CXXCPP $CPPFLAGS'
35182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35187 /* end confdefs.h. */
35188 #include <math.h>
35190 main ()
35192 sincosl(0, 0, 0);
35194 return 0;
35196 _ACEOF
35197 if ac_fn_cxx_try_compile "$LINENO"; then :
35198 glibcxx_cv_func_sincosl_use=yes
35199 else
35200 glibcxx_cv_func_sincosl_use=no
35202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35203 ac_ext=c
35204 ac_cpp='$CPP $CPPFLAGS'
35205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
35214 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
35216 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
35217 for ac_func in sincosl
35218 do :
35219 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
35220 if test "x$ac_cv_func_sincosl" = xyes; then :
35221 cat >>confdefs.h <<_ACEOF
35222 #define HAVE_SINCOSL 1
35223 _ACEOF
35226 done
35228 else
35230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
35231 $as_echo_n "checking for _sincosl declaration... " >&6; }
35232 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
35233 if ${glibcxx_cv_func__sincosl_use+:} false; then :
35234 $as_echo_n "(cached) " >&6
35235 else
35238 ac_ext=cpp
35239 ac_cpp='$CXXCPP $CPPFLAGS'
35240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35245 /* end confdefs.h. */
35246 #include <math.h>
35248 main ()
35250 _sincosl(0, 0, 0);
35252 return 0;
35254 _ACEOF
35255 if ac_fn_cxx_try_compile "$LINENO"; then :
35256 glibcxx_cv_func__sincosl_use=yes
35257 else
35258 glibcxx_cv_func__sincosl_use=no
35260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35261 ac_ext=c
35262 ac_cpp='$CPP $CPPFLAGS'
35263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
35272 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
35274 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
35275 for ac_func in _sincosl
35276 do :
35277 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
35278 if test "x$ac_cv_func__sincosl" = xyes; then :
35279 cat >>confdefs.h <<_ACEOF
35280 #define HAVE__SINCOSL 1
35281 _ACEOF
35284 done
35293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
35294 $as_echo_n "checking for finitel declaration... " >&6; }
35295 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
35296 if ${glibcxx_cv_func_finitel_use+:} false; then :
35297 $as_echo_n "(cached) " >&6
35298 else
35301 ac_ext=cpp
35302 ac_cpp='$CXXCPP $CPPFLAGS'
35303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35308 /* end confdefs.h. */
35309 #include <math.h>
35310 #ifdef HAVE_IEEEFP_H
35311 #include <ieeefp.h>
35312 #endif
35315 main ()
35317 finitel(0);
35319 return 0;
35321 _ACEOF
35322 if ac_fn_cxx_try_compile "$LINENO"; then :
35323 glibcxx_cv_func_finitel_use=yes
35324 else
35325 glibcxx_cv_func_finitel_use=no
35327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35328 ac_ext=c
35329 ac_cpp='$CPP $CPPFLAGS'
35330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
35339 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
35341 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
35342 for ac_func in finitel
35343 do :
35344 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
35345 if test "x$ac_cv_func_finitel" = xyes; then :
35346 cat >>confdefs.h <<_ACEOF
35347 #define HAVE_FINITEL 1
35348 _ACEOF
35351 done
35353 else
35355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
35356 $as_echo_n "checking for _finitel declaration... " >&6; }
35357 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
35358 if ${glibcxx_cv_func__finitel_use+:} false; then :
35359 $as_echo_n "(cached) " >&6
35360 else
35363 ac_ext=cpp
35364 ac_cpp='$CXXCPP $CPPFLAGS'
35365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35370 /* end confdefs.h. */
35371 #include <math.h>
35372 #ifdef HAVE_IEEEFP_H
35373 #include <ieeefp.h>
35374 #endif
35377 main ()
35379 _finitel(0);
35381 return 0;
35383 _ACEOF
35384 if ac_fn_cxx_try_compile "$LINENO"; then :
35385 glibcxx_cv_func__finitel_use=yes
35386 else
35387 glibcxx_cv_func__finitel_use=no
35389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35390 ac_ext=c
35391 ac_cpp='$CPP $CPPFLAGS'
35392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
35401 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
35403 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
35404 for ac_func in _finitel
35405 do :
35406 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
35407 if test "x$ac_cv_func__finitel" = xyes; then :
35408 cat >>confdefs.h <<_ACEOF
35409 #define HAVE__FINITEL 1
35410 _ACEOF
35413 done
35421 LIBS="$ac_save_LIBS"
35422 CXXFLAGS="$ac_save_CXXFLAGS"
35425 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35426 ac_save_CXXFLAGS="$CXXFLAGS"
35427 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
35431 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
35432 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
35433 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
35434 $as_echo_n "(cached) " >&6
35435 else
35438 ac_ext=cpp
35439 ac_cpp='$CXXCPP $CPPFLAGS'
35440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35445 /* end confdefs.h. */
35446 #include <stdlib.h>
35448 main ()
35450 at_quick_exit(0);
35452 return 0;
35454 _ACEOF
35455 if ac_fn_cxx_try_compile "$LINENO"; then :
35456 glibcxx_cv_func_at_quick_exit_use=yes
35457 else
35458 glibcxx_cv_func_at_quick_exit_use=no
35460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35461 ac_ext=c
35462 ac_cpp='$CPP $CPPFLAGS'
35463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
35472 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
35473 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
35474 for ac_func in at_quick_exit
35475 do :
35476 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
35477 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
35478 cat >>confdefs.h <<_ACEOF
35479 #define HAVE_AT_QUICK_EXIT 1
35480 _ACEOF
35483 done
35488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
35489 $as_echo_n "checking for quick_exit declaration... " >&6; }
35490 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
35491 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
35492 $as_echo_n "(cached) " >&6
35493 else
35496 ac_ext=cpp
35497 ac_cpp='$CXXCPP $CPPFLAGS'
35498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35503 /* end confdefs.h. */
35504 #include <stdlib.h>
35506 main ()
35508 quick_exit(0);
35510 return 0;
35512 _ACEOF
35513 if ac_fn_cxx_try_compile "$LINENO"; then :
35514 glibcxx_cv_func_quick_exit_use=yes
35515 else
35516 glibcxx_cv_func_quick_exit_use=no
35518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35519 ac_ext=c
35520 ac_cpp='$CPP $CPPFLAGS'
35521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
35530 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
35531 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
35532 for ac_func in quick_exit
35533 do :
35534 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
35535 if test "x$ac_cv_func_quick_exit" = xyes; then :
35536 cat >>confdefs.h <<_ACEOF
35537 #define HAVE_QUICK_EXIT 1
35538 _ACEOF
35541 done
35546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
35547 $as_echo_n "checking for strtold declaration... " >&6; }
35548 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
35549 if ${glibcxx_cv_func_strtold_use+:} false; then :
35550 $as_echo_n "(cached) " >&6
35551 else
35554 ac_ext=cpp
35555 ac_cpp='$CXXCPP $CPPFLAGS'
35556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35561 /* end confdefs.h. */
35562 #include <stdlib.h>
35564 main ()
35566 strtold(0, 0);
35568 return 0;
35570 _ACEOF
35571 if ac_fn_cxx_try_compile "$LINENO"; then :
35572 glibcxx_cv_func_strtold_use=yes
35573 else
35574 glibcxx_cv_func_strtold_use=no
35576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35577 ac_ext=c
35578 ac_cpp='$CPP $CPPFLAGS'
35579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
35588 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
35589 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
35590 for ac_func in strtold
35591 do :
35592 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
35593 if test "x$ac_cv_func_strtold" = xyes; then :
35594 cat >>confdefs.h <<_ACEOF
35595 #define HAVE_STRTOLD 1
35596 _ACEOF
35599 done
35606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
35607 $as_echo_n "checking for strtof declaration... " >&6; }
35608 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
35609 if ${glibcxx_cv_func_strtof_use+:} false; then :
35610 $as_echo_n "(cached) " >&6
35611 else
35614 ac_ext=cpp
35615 ac_cpp='$CXXCPP $CPPFLAGS'
35616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35621 /* end confdefs.h. */
35622 #include <stdlib.h>
35624 main ()
35626 strtof(0, 0);
35628 return 0;
35630 _ACEOF
35631 if ac_fn_cxx_try_compile "$LINENO"; then :
35632 glibcxx_cv_func_strtof_use=yes
35633 else
35634 glibcxx_cv_func_strtof_use=no
35636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35637 ac_ext=c
35638 ac_cpp='$CPP $CPPFLAGS'
35639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
35648 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
35649 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
35650 for ac_func in strtof
35651 do :
35652 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
35653 if test "x$ac_cv_func_strtof" = xyes; then :
35654 cat >>confdefs.h <<_ACEOF
35655 #define HAVE_STRTOF 1
35656 _ACEOF
35659 done
35666 CXXFLAGS="$ac_save_CXXFLAGS"
35669 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
35671 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
35673 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
35675 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
35678 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35680 $as_echo "#define HAVE_MODF 1" >>confdefs.h
35682 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35686 *-aix*)
35688 # If we're not using GNU ld, then there's no point in even trying these
35689 # tests. Check for that first. We should have already tested for gld
35690 # by now (in libtool), but require it now just to be safe...
35691 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35692 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35696 # The name set by libtool depends on the version of libtool. Shame on us
35697 # for depending on an impl detail, but c'est la vie. Older versions used
35698 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35699 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35700 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
35701 # set (hence we're using an older libtool), then set it.
35702 if test x${with_gnu_ld+set} != xset; then
35703 if test x${ac_cv_prog_gnu_ld+set} != xset; then
35704 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
35705 with_gnu_ld=no
35706 else
35707 with_gnu_ld=$ac_cv_prog_gnu_ld
35711 # Start by getting the version number. I think the libtool test already
35712 # does some of this, but throws away the result.
35713 glibcxx_ld_is_gold=no
35714 glibcxx_ld_is_mold=no
35715 if test x"$with_gnu_ld" = x"yes"; then
35716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35717 $as_echo_n "checking for ld version... " >&6; }
35719 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35720 glibcxx_ld_is_gold=yes
35721 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
35722 glibcxx_ld_is_mold=yes
35724 ldver=`$LD --version 2>/dev/null |
35725 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
35727 glibcxx_gnu_ld_version=`echo $ldver | \
35728 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35730 $as_echo "$glibcxx_gnu_ld_version" >&6; }
35733 # Set --gc-sections.
35734 glibcxx_have_gc_sections=no
35735 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
35736 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35737 glibcxx_have_gc_sections=yes
35739 else
35740 glibcxx_gcsections_min_ld=21602
35741 if test x"$with_gnu_ld" = x"yes" &&
35742 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35743 glibcxx_have_gc_sections=yes
35746 if test "$glibcxx_have_gc_sections" = "yes"; then
35747 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
35748 # NB: This flag only works reliably after 2.16.1. Configure tests
35749 # for this are difficult, so hard wire a value that should work.
35751 ac_test_CFLAGS="${CFLAGS+set}"
35752 ac_save_CFLAGS="$CFLAGS"
35753 CFLAGS='-Wl,--gc-sections'
35755 # Check for -Wl,--gc-sections
35756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35757 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35758 if test x$gcc_no_link = xyes; then
35759 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35762 /* end confdefs.h. */
35763 int one(void) { return 1; }
35764 int two(void) { return 2; }
35767 main ()
35769 two();
35771 return 0;
35773 _ACEOF
35774 if ac_fn_c_try_link "$LINENO"; then :
35775 ac_gcsections=yes
35776 else
35777 ac_gcsections=no
35779 rm -f core conftest.err conftest.$ac_objext \
35780 conftest$ac_exeext conftest.$ac_ext
35781 if test "$ac_gcsections" = "yes"; then
35782 rm -f conftest.c
35783 touch conftest.c
35784 if $CC -c conftest.c; then
35785 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35786 grep "Warning: gc-sections option ignored" > /dev/null; then
35787 ac_gcsections=no
35790 rm -f conftest.c conftest.o conftest
35792 if test "$ac_gcsections" = "yes"; then
35793 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35796 $as_echo "$ac_gcsections" >&6; }
35798 if test "$ac_test_CFLAGS" = set; then
35799 CFLAGS="$ac_save_CFLAGS"
35800 else
35801 # this is the suspicious part
35802 CFLAGS=''
35806 # Set -z,relro.
35807 # Note this is only for shared objects.
35808 ac_ld_relro=no
35809 if test x"$with_gnu_ld" = x"yes"; then
35810 # cygwin and mingw uses PE, which has no ELF relro support,
35811 # multi target ld may confuse configure machinery
35812 case "$host" in
35813 *-*-cygwin*)
35815 *-*-mingw*)
35818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35819 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35820 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35821 if test -n "$cxx_z_relo"; then
35822 OPT_LDFLAGS="-Wl,-z,relro"
35823 ac_ld_relro=yes
35825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35826 $as_echo "$ac_ld_relro" >&6; }
35827 esac
35830 # Set linker optimization flags.
35831 if test x"$with_gnu_ld" = x"yes"; then
35832 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35839 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35840 ac_save_CXXFLAGS="$CXXFLAGS"
35841 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35844 $as_echo_n "checking for sin in -lm... " >&6; }
35845 if ${ac_cv_lib_m_sin+:} false; then :
35846 $as_echo_n "(cached) " >&6
35847 else
35848 ac_check_lib_save_LIBS=$LIBS
35849 LIBS="-lm $LIBS"
35850 if test x$gcc_no_link = xyes; then
35851 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35854 /* end confdefs.h. */
35856 /* Override any GCC internal prototype to avoid an error.
35857 Use char because int might match the return type of a GCC
35858 builtin and then its argument prototype would still apply. */
35859 #ifdef __cplusplus
35860 extern "C"
35861 #endif
35862 char sin ();
35864 main ()
35866 return sin ();
35868 return 0;
35870 _ACEOF
35871 if ac_fn_c_try_link "$LINENO"; then :
35872 ac_cv_lib_m_sin=yes
35873 else
35874 ac_cv_lib_m_sin=no
35876 rm -f core conftest.err conftest.$ac_objext \
35877 conftest$ac_exeext conftest.$ac_ext
35878 LIBS=$ac_check_lib_save_LIBS
35880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35881 $as_echo "$ac_cv_lib_m_sin" >&6; }
35882 if test "x$ac_cv_lib_m_sin" = xyes; then :
35883 libm="-lm"
35886 ac_save_LIBS="$LIBS"
35887 LIBS="$LIBS $libm"
35891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35892 $as_echo_n "checking for isinf declaration... " >&6; }
35893 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35894 if ${glibcxx_cv_func_isinf_use+:} false; then :
35895 $as_echo_n "(cached) " >&6
35896 else
35899 ac_ext=cpp
35900 ac_cpp='$CXXCPP $CPPFLAGS'
35901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35906 /* end confdefs.h. */
35907 #include <math.h>
35908 #ifdef HAVE_IEEEFP_H
35909 #include <ieeefp.h>
35910 #endif
35913 main ()
35915 isinf(0);
35917 return 0;
35919 _ACEOF
35920 if ac_fn_cxx_try_compile "$LINENO"; then :
35921 glibcxx_cv_func_isinf_use=yes
35922 else
35923 glibcxx_cv_func_isinf_use=no
35925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35926 ac_ext=c
35927 ac_cpp='$CPP $CPPFLAGS'
35928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35937 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35939 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35940 for ac_func in isinf
35941 do :
35942 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35943 if test "x$ac_cv_func_isinf" = xyes; then :
35944 cat >>confdefs.h <<_ACEOF
35945 #define HAVE_ISINF 1
35946 _ACEOF
35949 done
35951 else
35953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35954 $as_echo_n "checking for _isinf declaration... " >&6; }
35955 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35956 if ${glibcxx_cv_func__isinf_use+:} false; then :
35957 $as_echo_n "(cached) " >&6
35958 else
35961 ac_ext=cpp
35962 ac_cpp='$CXXCPP $CPPFLAGS'
35963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35968 /* end confdefs.h. */
35969 #include <math.h>
35970 #ifdef HAVE_IEEEFP_H
35971 #include <ieeefp.h>
35972 #endif
35975 main ()
35977 _isinf(0);
35979 return 0;
35981 _ACEOF
35982 if ac_fn_cxx_try_compile "$LINENO"; then :
35983 glibcxx_cv_func__isinf_use=yes
35984 else
35985 glibcxx_cv_func__isinf_use=no
35987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35988 ac_ext=c
35989 ac_cpp='$CPP $CPPFLAGS'
35990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35999 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
36001 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
36002 for ac_func in _isinf
36003 do :
36004 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
36005 if test "x$ac_cv_func__isinf" = xyes; then :
36006 cat >>confdefs.h <<_ACEOF
36007 #define HAVE__ISINF 1
36008 _ACEOF
36011 done
36020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
36021 $as_echo_n "checking for isnan declaration... " >&6; }
36022 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
36023 if ${glibcxx_cv_func_isnan_use+:} false; then :
36024 $as_echo_n "(cached) " >&6
36025 else
36028 ac_ext=cpp
36029 ac_cpp='$CXXCPP $CPPFLAGS'
36030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36035 /* end confdefs.h. */
36036 #include <math.h>
36037 #ifdef HAVE_IEEEFP_H
36038 #include <ieeefp.h>
36039 #endif
36042 main ()
36044 isnan(0);
36046 return 0;
36048 _ACEOF
36049 if ac_fn_cxx_try_compile "$LINENO"; then :
36050 glibcxx_cv_func_isnan_use=yes
36051 else
36052 glibcxx_cv_func_isnan_use=no
36054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36055 ac_ext=c
36056 ac_cpp='$CPP $CPPFLAGS'
36057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
36066 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
36068 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
36069 for ac_func in isnan
36070 do :
36071 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
36072 if test "x$ac_cv_func_isnan" = xyes; then :
36073 cat >>confdefs.h <<_ACEOF
36074 #define HAVE_ISNAN 1
36075 _ACEOF
36078 done
36080 else
36082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
36083 $as_echo_n "checking for _isnan declaration... " >&6; }
36084 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
36085 if ${glibcxx_cv_func__isnan_use+:} false; then :
36086 $as_echo_n "(cached) " >&6
36087 else
36090 ac_ext=cpp
36091 ac_cpp='$CXXCPP $CPPFLAGS'
36092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36097 /* end confdefs.h. */
36098 #include <math.h>
36099 #ifdef HAVE_IEEEFP_H
36100 #include <ieeefp.h>
36101 #endif
36104 main ()
36106 _isnan(0);
36108 return 0;
36110 _ACEOF
36111 if ac_fn_cxx_try_compile "$LINENO"; then :
36112 glibcxx_cv_func__isnan_use=yes
36113 else
36114 glibcxx_cv_func__isnan_use=no
36116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36117 ac_ext=c
36118 ac_cpp='$CPP $CPPFLAGS'
36119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
36128 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
36130 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
36131 for ac_func in _isnan
36132 do :
36133 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
36134 if test "x$ac_cv_func__isnan" = xyes; then :
36135 cat >>confdefs.h <<_ACEOF
36136 #define HAVE__ISNAN 1
36137 _ACEOF
36140 done
36149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
36150 $as_echo_n "checking for finite declaration... " >&6; }
36151 if test x${glibcxx_cv_func_finite_use+set} != xset; then
36152 if ${glibcxx_cv_func_finite_use+:} false; then :
36153 $as_echo_n "(cached) " >&6
36154 else
36157 ac_ext=cpp
36158 ac_cpp='$CXXCPP $CPPFLAGS'
36159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36164 /* end confdefs.h. */
36165 #include <math.h>
36166 #ifdef HAVE_IEEEFP_H
36167 #include <ieeefp.h>
36168 #endif
36171 main ()
36173 finite(0);
36175 return 0;
36177 _ACEOF
36178 if ac_fn_cxx_try_compile "$LINENO"; then :
36179 glibcxx_cv_func_finite_use=yes
36180 else
36181 glibcxx_cv_func_finite_use=no
36183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36184 ac_ext=c
36185 ac_cpp='$CPP $CPPFLAGS'
36186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
36195 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
36197 if test x$glibcxx_cv_func_finite_use = x"yes"; then
36198 for ac_func in finite
36199 do :
36200 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
36201 if test "x$ac_cv_func_finite" = xyes; then :
36202 cat >>confdefs.h <<_ACEOF
36203 #define HAVE_FINITE 1
36204 _ACEOF
36207 done
36209 else
36211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
36212 $as_echo_n "checking for _finite declaration... " >&6; }
36213 if test x${glibcxx_cv_func__finite_use+set} != xset; then
36214 if ${glibcxx_cv_func__finite_use+:} false; then :
36215 $as_echo_n "(cached) " >&6
36216 else
36219 ac_ext=cpp
36220 ac_cpp='$CXXCPP $CPPFLAGS'
36221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36226 /* end confdefs.h. */
36227 #include <math.h>
36228 #ifdef HAVE_IEEEFP_H
36229 #include <ieeefp.h>
36230 #endif
36233 main ()
36235 _finite(0);
36237 return 0;
36239 _ACEOF
36240 if ac_fn_cxx_try_compile "$LINENO"; then :
36241 glibcxx_cv_func__finite_use=yes
36242 else
36243 glibcxx_cv_func__finite_use=no
36245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36246 ac_ext=c
36247 ac_cpp='$CPP $CPPFLAGS'
36248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
36257 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
36259 if test x$glibcxx_cv_func__finite_use = x"yes"; then
36260 for ac_func in _finite
36261 do :
36262 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
36263 if test "x$ac_cv_func__finite" = xyes; then :
36264 cat >>confdefs.h <<_ACEOF
36265 #define HAVE__FINITE 1
36266 _ACEOF
36269 done
36278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
36279 $as_echo_n "checking for sincos declaration... " >&6; }
36280 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
36281 if ${glibcxx_cv_func_sincos_use+:} false; then :
36282 $as_echo_n "(cached) " >&6
36283 else
36286 ac_ext=cpp
36287 ac_cpp='$CXXCPP $CPPFLAGS'
36288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36293 /* end confdefs.h. */
36294 #include <math.h>
36296 main ()
36298 sincos(0, 0, 0);
36300 return 0;
36302 _ACEOF
36303 if ac_fn_cxx_try_compile "$LINENO"; then :
36304 glibcxx_cv_func_sincos_use=yes
36305 else
36306 glibcxx_cv_func_sincos_use=no
36308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36309 ac_ext=c
36310 ac_cpp='$CPP $CPPFLAGS'
36311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
36320 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
36322 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
36323 for ac_func in sincos
36324 do :
36325 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
36326 if test "x$ac_cv_func_sincos" = xyes; then :
36327 cat >>confdefs.h <<_ACEOF
36328 #define HAVE_SINCOS 1
36329 _ACEOF
36332 done
36334 else
36336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
36337 $as_echo_n "checking for _sincos declaration... " >&6; }
36338 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
36339 if ${glibcxx_cv_func__sincos_use+:} false; then :
36340 $as_echo_n "(cached) " >&6
36341 else
36344 ac_ext=cpp
36345 ac_cpp='$CXXCPP $CPPFLAGS'
36346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36351 /* end confdefs.h. */
36352 #include <math.h>
36354 main ()
36356 _sincos(0, 0, 0);
36358 return 0;
36360 _ACEOF
36361 if ac_fn_cxx_try_compile "$LINENO"; then :
36362 glibcxx_cv_func__sincos_use=yes
36363 else
36364 glibcxx_cv_func__sincos_use=no
36366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36367 ac_ext=c
36368 ac_cpp='$CPP $CPPFLAGS'
36369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
36378 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
36380 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
36381 for ac_func in _sincos
36382 do :
36383 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
36384 if test "x$ac_cv_func__sincos" = xyes; then :
36385 cat >>confdefs.h <<_ACEOF
36386 #define HAVE__SINCOS 1
36387 _ACEOF
36390 done
36399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
36400 $as_echo_n "checking for fpclass declaration... " >&6; }
36401 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
36402 if ${glibcxx_cv_func_fpclass_use+:} false; then :
36403 $as_echo_n "(cached) " >&6
36404 else
36407 ac_ext=cpp
36408 ac_cpp='$CXXCPP $CPPFLAGS'
36409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36414 /* end confdefs.h. */
36415 #include <math.h>
36416 #ifdef HAVE_IEEEFP_H
36417 #include <ieeefp.h>
36418 #endif
36421 main ()
36423 fpclass(0);
36425 return 0;
36427 _ACEOF
36428 if ac_fn_cxx_try_compile "$LINENO"; then :
36429 glibcxx_cv_func_fpclass_use=yes
36430 else
36431 glibcxx_cv_func_fpclass_use=no
36433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36434 ac_ext=c
36435 ac_cpp='$CPP $CPPFLAGS'
36436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
36445 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
36447 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
36448 for ac_func in fpclass
36449 do :
36450 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
36451 if test "x$ac_cv_func_fpclass" = xyes; then :
36452 cat >>confdefs.h <<_ACEOF
36453 #define HAVE_FPCLASS 1
36454 _ACEOF
36457 done
36459 else
36461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
36462 $as_echo_n "checking for _fpclass declaration... " >&6; }
36463 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
36464 if ${glibcxx_cv_func__fpclass_use+:} false; then :
36465 $as_echo_n "(cached) " >&6
36466 else
36469 ac_ext=cpp
36470 ac_cpp='$CXXCPP $CPPFLAGS'
36471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36476 /* end confdefs.h. */
36477 #include <math.h>
36478 #ifdef HAVE_IEEEFP_H
36479 #include <ieeefp.h>
36480 #endif
36483 main ()
36485 _fpclass(0);
36487 return 0;
36489 _ACEOF
36490 if ac_fn_cxx_try_compile "$LINENO"; then :
36491 glibcxx_cv_func__fpclass_use=yes
36492 else
36493 glibcxx_cv_func__fpclass_use=no
36495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36496 ac_ext=c
36497 ac_cpp='$CPP $CPPFLAGS'
36498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
36507 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
36509 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
36510 for ac_func in _fpclass
36511 do :
36512 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
36513 if test "x$ac_cv_func__fpclass" = xyes; then :
36514 cat >>confdefs.h <<_ACEOF
36515 #define HAVE__FPCLASS 1
36516 _ACEOF
36519 done
36528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
36529 $as_echo_n "checking for qfpclass declaration... " >&6; }
36530 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
36531 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
36532 $as_echo_n "(cached) " >&6
36533 else
36536 ac_ext=cpp
36537 ac_cpp='$CXXCPP $CPPFLAGS'
36538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36543 /* end confdefs.h. */
36544 #include <math.h>
36545 #ifdef HAVE_IEEEFP_H
36546 #include <ieeefp.h>
36547 #endif
36550 main ()
36552 qfpclass(0);
36554 return 0;
36556 _ACEOF
36557 if ac_fn_cxx_try_compile "$LINENO"; then :
36558 glibcxx_cv_func_qfpclass_use=yes
36559 else
36560 glibcxx_cv_func_qfpclass_use=no
36562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36563 ac_ext=c
36564 ac_cpp='$CPP $CPPFLAGS'
36565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
36574 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
36576 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
36577 for ac_func in qfpclass
36578 do :
36579 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
36580 if test "x$ac_cv_func_qfpclass" = xyes; then :
36581 cat >>confdefs.h <<_ACEOF
36582 #define HAVE_QFPCLASS 1
36583 _ACEOF
36586 done
36588 else
36590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
36591 $as_echo_n "checking for _qfpclass declaration... " >&6; }
36592 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
36593 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
36594 $as_echo_n "(cached) " >&6
36595 else
36598 ac_ext=cpp
36599 ac_cpp='$CXXCPP $CPPFLAGS'
36600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36605 /* end confdefs.h. */
36606 #include <math.h>
36607 #ifdef HAVE_IEEEFP_H
36608 #include <ieeefp.h>
36609 #endif
36612 main ()
36614 _qfpclass(0);
36616 return 0;
36618 _ACEOF
36619 if ac_fn_cxx_try_compile "$LINENO"; then :
36620 glibcxx_cv_func__qfpclass_use=yes
36621 else
36622 glibcxx_cv_func__qfpclass_use=no
36624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36625 ac_ext=c
36626 ac_cpp='$CPP $CPPFLAGS'
36627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36636 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36638 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36639 for ac_func in _qfpclass
36640 do :
36641 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36642 if test "x$ac_cv_func__qfpclass" = xyes; then :
36643 cat >>confdefs.h <<_ACEOF
36644 #define HAVE__QFPCLASS 1
36645 _ACEOF
36648 done
36657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36658 $as_echo_n "checking for hypot declaration... " >&6; }
36659 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36660 if ${glibcxx_cv_func_hypot_use+:} false; then :
36661 $as_echo_n "(cached) " >&6
36662 else
36665 ac_ext=cpp
36666 ac_cpp='$CXXCPP $CPPFLAGS'
36667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36672 /* end confdefs.h. */
36673 #include <math.h>
36675 main ()
36677 hypot(0, 0);
36679 return 0;
36681 _ACEOF
36682 if ac_fn_cxx_try_compile "$LINENO"; then :
36683 glibcxx_cv_func_hypot_use=yes
36684 else
36685 glibcxx_cv_func_hypot_use=no
36687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36688 ac_ext=c
36689 ac_cpp='$CPP $CPPFLAGS'
36690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36699 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36701 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36702 for ac_func in hypot
36703 do :
36704 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36705 if test "x$ac_cv_func_hypot" = xyes; then :
36706 cat >>confdefs.h <<_ACEOF
36707 #define HAVE_HYPOT 1
36708 _ACEOF
36711 done
36713 else
36715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36716 $as_echo_n "checking for _hypot declaration... " >&6; }
36717 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36718 if ${glibcxx_cv_func__hypot_use+:} false; then :
36719 $as_echo_n "(cached) " >&6
36720 else
36723 ac_ext=cpp
36724 ac_cpp='$CXXCPP $CPPFLAGS'
36725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36730 /* end confdefs.h. */
36731 #include <math.h>
36733 main ()
36735 _hypot(0, 0);
36737 return 0;
36739 _ACEOF
36740 if ac_fn_cxx_try_compile "$LINENO"; then :
36741 glibcxx_cv_func__hypot_use=yes
36742 else
36743 glibcxx_cv_func__hypot_use=no
36745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36746 ac_ext=c
36747 ac_cpp='$CPP $CPPFLAGS'
36748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36757 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36759 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36760 for ac_func in _hypot
36761 do :
36762 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36763 if test "x$ac_cv_func__hypot" = xyes; then :
36764 cat >>confdefs.h <<_ACEOF
36765 #define HAVE__HYPOT 1
36766 _ACEOF
36769 done
36778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36779 $as_echo_n "checking for float trig functions... " >&6; }
36780 if ${glibcxx_cv_func_float_trig_use+:} false; then :
36781 $as_echo_n "(cached) " >&6
36782 else
36785 ac_ext=cpp
36786 ac_cpp='$CXXCPP $CPPFLAGS'
36787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36792 /* end confdefs.h. */
36793 #include <math.h>
36795 main ()
36797 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36799 return 0;
36801 _ACEOF
36802 if ac_fn_cxx_try_compile "$LINENO"; then :
36803 glibcxx_cv_func_float_trig_use=yes
36804 else
36805 glibcxx_cv_func_float_trig_use=no
36807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36808 ac_ext=c
36809 ac_cpp='$CPP $CPPFLAGS'
36810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36817 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36818 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36819 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36820 do :
36821 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36822 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36823 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36824 cat >>confdefs.h <<_ACEOF
36825 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36826 _ACEOF
36829 done
36831 else
36832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36833 $as_echo_n "checking for _float trig functions... " >&6; }
36834 if ${glibcxx_cv_func__float_trig_use+:} false; then :
36835 $as_echo_n "(cached) " >&6
36836 else
36839 ac_ext=cpp
36840 ac_cpp='$CXXCPP $CPPFLAGS'
36841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36846 /* end confdefs.h. */
36847 #include <math.h>
36849 main ()
36851 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36853 return 0;
36855 _ACEOF
36856 if ac_fn_cxx_try_compile "$LINENO"; then :
36857 glibcxx_cv_func__float_trig_use=yes
36858 else
36859 glibcxx_cv_func__float_trig_use=no
36861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36862 ac_ext=c
36863 ac_cpp='$CPP $CPPFLAGS'
36864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36871 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36872 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36873 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36874 do :
36875 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36876 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36877 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36878 cat >>confdefs.h <<_ACEOF
36879 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36880 _ACEOF
36883 done
36892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36893 $as_echo_n "checking for float round functions... " >&6; }
36894 if ${glibcxx_cv_func_float_round_use+:} false; then :
36895 $as_echo_n "(cached) " >&6
36896 else
36899 ac_ext=cpp
36900 ac_cpp='$CXXCPP $CPPFLAGS'
36901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36906 /* end confdefs.h. */
36907 #include <math.h>
36909 main ()
36911 ceilf (0); floorf (0);
36913 return 0;
36915 _ACEOF
36916 if ac_fn_cxx_try_compile "$LINENO"; then :
36917 glibcxx_cv_func_float_round_use=yes
36918 else
36919 glibcxx_cv_func_float_round_use=no
36921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36922 ac_ext=c
36923 ac_cpp='$CPP $CPPFLAGS'
36924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36931 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36932 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36933 for ac_func in ceilf floorf
36934 do :
36935 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36936 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36937 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36938 cat >>confdefs.h <<_ACEOF
36939 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36940 _ACEOF
36943 done
36945 else
36946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36947 $as_echo_n "checking for _float round functions... " >&6; }
36948 if ${glibcxx_cv_func__float_round_use+:} false; then :
36949 $as_echo_n "(cached) " >&6
36950 else
36953 ac_ext=cpp
36954 ac_cpp='$CXXCPP $CPPFLAGS'
36955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36960 /* end confdefs.h. */
36961 #include <math.h>
36963 main ()
36965 _ceilf (0); _floorf (0);
36967 return 0;
36969 _ACEOF
36970 if ac_fn_cxx_try_compile "$LINENO"; then :
36971 glibcxx_cv_func__float_round_use=yes
36972 else
36973 glibcxx_cv_func__float_round_use=no
36975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36976 ac_ext=c
36977 ac_cpp='$CPP $CPPFLAGS'
36978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36985 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36986 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36987 for ac_func in _ceilf _floorf
36988 do :
36989 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36990 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36991 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36992 cat >>confdefs.h <<_ACEOF
36993 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36994 _ACEOF
36997 done
37007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
37008 $as_echo_n "checking for expf declaration... " >&6; }
37009 if test x${glibcxx_cv_func_expf_use+set} != xset; then
37010 if ${glibcxx_cv_func_expf_use+:} false; then :
37011 $as_echo_n "(cached) " >&6
37012 else
37015 ac_ext=cpp
37016 ac_cpp='$CXXCPP $CPPFLAGS'
37017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37022 /* end confdefs.h. */
37023 #include <math.h>
37024 #ifdef HAVE_IEEEFP_H
37025 #include <ieeefp.h>
37026 #endif
37029 main ()
37031 expf(0);
37033 return 0;
37035 _ACEOF
37036 if ac_fn_cxx_try_compile "$LINENO"; then :
37037 glibcxx_cv_func_expf_use=yes
37038 else
37039 glibcxx_cv_func_expf_use=no
37041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37042 ac_ext=c
37043 ac_cpp='$CPP $CPPFLAGS'
37044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
37053 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
37055 if test x$glibcxx_cv_func_expf_use = x"yes"; then
37056 for ac_func in expf
37057 do :
37058 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
37059 if test "x$ac_cv_func_expf" = xyes; then :
37060 cat >>confdefs.h <<_ACEOF
37061 #define HAVE_EXPF 1
37062 _ACEOF
37065 done
37067 else
37069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
37070 $as_echo_n "checking for _expf declaration... " >&6; }
37071 if test x${glibcxx_cv_func__expf_use+set} != xset; then
37072 if ${glibcxx_cv_func__expf_use+:} false; then :
37073 $as_echo_n "(cached) " >&6
37074 else
37077 ac_ext=cpp
37078 ac_cpp='$CXXCPP $CPPFLAGS'
37079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37084 /* end confdefs.h. */
37085 #include <math.h>
37086 #ifdef HAVE_IEEEFP_H
37087 #include <ieeefp.h>
37088 #endif
37091 main ()
37093 _expf(0);
37095 return 0;
37097 _ACEOF
37098 if ac_fn_cxx_try_compile "$LINENO"; then :
37099 glibcxx_cv_func__expf_use=yes
37100 else
37101 glibcxx_cv_func__expf_use=no
37103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37104 ac_ext=c
37105 ac_cpp='$CPP $CPPFLAGS'
37106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
37115 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
37117 if test x$glibcxx_cv_func__expf_use = x"yes"; then
37118 for ac_func in _expf
37119 do :
37120 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
37121 if test "x$ac_cv_func__expf" = xyes; then :
37122 cat >>confdefs.h <<_ACEOF
37123 #define HAVE__EXPF 1
37124 _ACEOF
37127 done
37136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
37137 $as_echo_n "checking for isnanf declaration... " >&6; }
37138 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
37139 if ${glibcxx_cv_func_isnanf_use+:} false; then :
37140 $as_echo_n "(cached) " >&6
37141 else
37144 ac_ext=cpp
37145 ac_cpp='$CXXCPP $CPPFLAGS'
37146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37151 /* end confdefs.h. */
37152 #include <math.h>
37153 #ifdef HAVE_IEEEFP_H
37154 #include <ieeefp.h>
37155 #endif
37158 main ()
37160 isnanf(0);
37162 return 0;
37164 _ACEOF
37165 if ac_fn_cxx_try_compile "$LINENO"; then :
37166 glibcxx_cv_func_isnanf_use=yes
37167 else
37168 glibcxx_cv_func_isnanf_use=no
37170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37171 ac_ext=c
37172 ac_cpp='$CPP $CPPFLAGS'
37173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
37182 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
37184 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
37185 for ac_func in isnanf
37186 do :
37187 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
37188 if test "x$ac_cv_func_isnanf" = xyes; then :
37189 cat >>confdefs.h <<_ACEOF
37190 #define HAVE_ISNANF 1
37191 _ACEOF
37194 done
37196 else
37198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
37199 $as_echo_n "checking for _isnanf declaration... " >&6; }
37200 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
37201 if ${glibcxx_cv_func__isnanf_use+:} false; then :
37202 $as_echo_n "(cached) " >&6
37203 else
37206 ac_ext=cpp
37207 ac_cpp='$CXXCPP $CPPFLAGS'
37208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37213 /* end confdefs.h. */
37214 #include <math.h>
37215 #ifdef HAVE_IEEEFP_H
37216 #include <ieeefp.h>
37217 #endif
37220 main ()
37222 _isnanf(0);
37224 return 0;
37226 _ACEOF
37227 if ac_fn_cxx_try_compile "$LINENO"; then :
37228 glibcxx_cv_func__isnanf_use=yes
37229 else
37230 glibcxx_cv_func__isnanf_use=no
37232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37233 ac_ext=c
37234 ac_cpp='$CPP $CPPFLAGS'
37235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
37244 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
37246 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
37247 for ac_func in _isnanf
37248 do :
37249 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
37250 if test "x$ac_cv_func__isnanf" = xyes; then :
37251 cat >>confdefs.h <<_ACEOF
37252 #define HAVE__ISNANF 1
37253 _ACEOF
37256 done
37265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
37266 $as_echo_n "checking for isinff declaration... " >&6; }
37267 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
37268 if ${glibcxx_cv_func_isinff_use+:} false; then :
37269 $as_echo_n "(cached) " >&6
37270 else
37273 ac_ext=cpp
37274 ac_cpp='$CXXCPP $CPPFLAGS'
37275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37280 /* end confdefs.h. */
37281 #include <math.h>
37282 #ifdef HAVE_IEEEFP_H
37283 #include <ieeefp.h>
37284 #endif
37287 main ()
37289 isinff(0);
37291 return 0;
37293 _ACEOF
37294 if ac_fn_cxx_try_compile "$LINENO"; then :
37295 glibcxx_cv_func_isinff_use=yes
37296 else
37297 glibcxx_cv_func_isinff_use=no
37299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37300 ac_ext=c
37301 ac_cpp='$CPP $CPPFLAGS'
37302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
37311 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
37313 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
37314 for ac_func in isinff
37315 do :
37316 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
37317 if test "x$ac_cv_func_isinff" = xyes; then :
37318 cat >>confdefs.h <<_ACEOF
37319 #define HAVE_ISINFF 1
37320 _ACEOF
37323 done
37325 else
37327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
37328 $as_echo_n "checking for _isinff declaration... " >&6; }
37329 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
37330 if ${glibcxx_cv_func__isinff_use+:} false; then :
37331 $as_echo_n "(cached) " >&6
37332 else
37335 ac_ext=cpp
37336 ac_cpp='$CXXCPP $CPPFLAGS'
37337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37342 /* end confdefs.h. */
37343 #include <math.h>
37344 #ifdef HAVE_IEEEFP_H
37345 #include <ieeefp.h>
37346 #endif
37349 main ()
37351 _isinff(0);
37353 return 0;
37355 _ACEOF
37356 if ac_fn_cxx_try_compile "$LINENO"; then :
37357 glibcxx_cv_func__isinff_use=yes
37358 else
37359 glibcxx_cv_func__isinff_use=no
37361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37362 ac_ext=c
37363 ac_cpp='$CPP $CPPFLAGS'
37364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
37373 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
37375 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
37376 for ac_func in _isinff
37377 do :
37378 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
37379 if test "x$ac_cv_func__isinff" = xyes; then :
37380 cat >>confdefs.h <<_ACEOF
37381 #define HAVE__ISINFF 1
37382 _ACEOF
37385 done
37394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
37395 $as_echo_n "checking for atan2f declaration... " >&6; }
37396 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
37397 if ${glibcxx_cv_func_atan2f_use+:} false; then :
37398 $as_echo_n "(cached) " >&6
37399 else
37402 ac_ext=cpp
37403 ac_cpp='$CXXCPP $CPPFLAGS'
37404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37409 /* end confdefs.h. */
37410 #include <math.h>
37412 main ()
37414 atan2f(0, 0);
37416 return 0;
37418 _ACEOF
37419 if ac_fn_cxx_try_compile "$LINENO"; then :
37420 glibcxx_cv_func_atan2f_use=yes
37421 else
37422 glibcxx_cv_func_atan2f_use=no
37424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37425 ac_ext=c
37426 ac_cpp='$CPP $CPPFLAGS'
37427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
37436 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
37438 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
37439 for ac_func in atan2f
37440 do :
37441 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
37442 if test "x$ac_cv_func_atan2f" = xyes; then :
37443 cat >>confdefs.h <<_ACEOF
37444 #define HAVE_ATAN2F 1
37445 _ACEOF
37448 done
37450 else
37452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
37453 $as_echo_n "checking for _atan2f declaration... " >&6; }
37454 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
37455 if ${glibcxx_cv_func__atan2f_use+:} false; then :
37456 $as_echo_n "(cached) " >&6
37457 else
37460 ac_ext=cpp
37461 ac_cpp='$CXXCPP $CPPFLAGS'
37462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37467 /* end confdefs.h. */
37468 #include <math.h>
37470 main ()
37472 _atan2f(0, 0);
37474 return 0;
37476 _ACEOF
37477 if ac_fn_cxx_try_compile "$LINENO"; then :
37478 glibcxx_cv_func__atan2f_use=yes
37479 else
37480 glibcxx_cv_func__atan2f_use=no
37482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37483 ac_ext=c
37484 ac_cpp='$CPP $CPPFLAGS'
37485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
37494 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
37496 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
37497 for ac_func in _atan2f
37498 do :
37499 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
37500 if test "x$ac_cv_func__atan2f" = xyes; then :
37501 cat >>confdefs.h <<_ACEOF
37502 #define HAVE__ATAN2F 1
37503 _ACEOF
37506 done
37515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
37516 $as_echo_n "checking for fabsf declaration... " >&6; }
37517 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
37518 if ${glibcxx_cv_func_fabsf_use+:} false; then :
37519 $as_echo_n "(cached) " >&6
37520 else
37523 ac_ext=cpp
37524 ac_cpp='$CXXCPP $CPPFLAGS'
37525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37530 /* end confdefs.h. */
37531 #include <math.h>
37532 #ifdef HAVE_IEEEFP_H
37533 #include <ieeefp.h>
37534 #endif
37537 main ()
37539 fabsf(0);
37541 return 0;
37543 _ACEOF
37544 if ac_fn_cxx_try_compile "$LINENO"; then :
37545 glibcxx_cv_func_fabsf_use=yes
37546 else
37547 glibcxx_cv_func_fabsf_use=no
37549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37550 ac_ext=c
37551 ac_cpp='$CPP $CPPFLAGS'
37552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
37561 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
37563 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
37564 for ac_func in fabsf
37565 do :
37566 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
37567 if test "x$ac_cv_func_fabsf" = xyes; then :
37568 cat >>confdefs.h <<_ACEOF
37569 #define HAVE_FABSF 1
37570 _ACEOF
37573 done
37575 else
37577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
37578 $as_echo_n "checking for _fabsf declaration... " >&6; }
37579 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
37580 if ${glibcxx_cv_func__fabsf_use+:} false; then :
37581 $as_echo_n "(cached) " >&6
37582 else
37585 ac_ext=cpp
37586 ac_cpp='$CXXCPP $CPPFLAGS'
37587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37592 /* end confdefs.h. */
37593 #include <math.h>
37594 #ifdef HAVE_IEEEFP_H
37595 #include <ieeefp.h>
37596 #endif
37599 main ()
37601 _fabsf(0);
37603 return 0;
37605 _ACEOF
37606 if ac_fn_cxx_try_compile "$LINENO"; then :
37607 glibcxx_cv_func__fabsf_use=yes
37608 else
37609 glibcxx_cv_func__fabsf_use=no
37611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37612 ac_ext=c
37613 ac_cpp='$CPP $CPPFLAGS'
37614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37623 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37625 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37626 for ac_func in _fabsf
37627 do :
37628 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37629 if test "x$ac_cv_func__fabsf" = xyes; then :
37630 cat >>confdefs.h <<_ACEOF
37631 #define HAVE__FABSF 1
37632 _ACEOF
37635 done
37644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37645 $as_echo_n "checking for fmodf declaration... " >&6; }
37646 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37647 if ${glibcxx_cv_func_fmodf_use+:} false; then :
37648 $as_echo_n "(cached) " >&6
37649 else
37652 ac_ext=cpp
37653 ac_cpp='$CXXCPP $CPPFLAGS'
37654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37659 /* end confdefs.h. */
37660 #include <math.h>
37662 main ()
37664 fmodf(0, 0);
37666 return 0;
37668 _ACEOF
37669 if ac_fn_cxx_try_compile "$LINENO"; then :
37670 glibcxx_cv_func_fmodf_use=yes
37671 else
37672 glibcxx_cv_func_fmodf_use=no
37674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37675 ac_ext=c
37676 ac_cpp='$CPP $CPPFLAGS'
37677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37686 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37688 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37689 for ac_func in fmodf
37690 do :
37691 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37692 if test "x$ac_cv_func_fmodf" = xyes; then :
37693 cat >>confdefs.h <<_ACEOF
37694 #define HAVE_FMODF 1
37695 _ACEOF
37698 done
37700 else
37702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37703 $as_echo_n "checking for _fmodf declaration... " >&6; }
37704 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37705 if ${glibcxx_cv_func__fmodf_use+:} false; then :
37706 $as_echo_n "(cached) " >&6
37707 else
37710 ac_ext=cpp
37711 ac_cpp='$CXXCPP $CPPFLAGS'
37712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37717 /* end confdefs.h. */
37718 #include <math.h>
37720 main ()
37722 _fmodf(0, 0);
37724 return 0;
37726 _ACEOF
37727 if ac_fn_cxx_try_compile "$LINENO"; then :
37728 glibcxx_cv_func__fmodf_use=yes
37729 else
37730 glibcxx_cv_func__fmodf_use=no
37732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37733 ac_ext=c
37734 ac_cpp='$CPP $CPPFLAGS'
37735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37744 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37746 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37747 for ac_func in _fmodf
37748 do :
37749 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37750 if test "x$ac_cv_func__fmodf" = xyes; then :
37751 cat >>confdefs.h <<_ACEOF
37752 #define HAVE__FMODF 1
37753 _ACEOF
37756 done
37765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37766 $as_echo_n "checking for frexpf declaration... " >&6; }
37767 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37768 if ${glibcxx_cv_func_frexpf_use+:} false; then :
37769 $as_echo_n "(cached) " >&6
37770 else
37773 ac_ext=cpp
37774 ac_cpp='$CXXCPP $CPPFLAGS'
37775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37780 /* end confdefs.h. */
37781 #include <math.h>
37783 main ()
37785 frexpf(0, 0);
37787 return 0;
37789 _ACEOF
37790 if ac_fn_cxx_try_compile "$LINENO"; then :
37791 glibcxx_cv_func_frexpf_use=yes
37792 else
37793 glibcxx_cv_func_frexpf_use=no
37795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37796 ac_ext=c
37797 ac_cpp='$CPP $CPPFLAGS'
37798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37807 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37809 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37810 for ac_func in frexpf
37811 do :
37812 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37813 if test "x$ac_cv_func_frexpf" = xyes; then :
37814 cat >>confdefs.h <<_ACEOF
37815 #define HAVE_FREXPF 1
37816 _ACEOF
37819 done
37821 else
37823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37824 $as_echo_n "checking for _frexpf declaration... " >&6; }
37825 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37826 if ${glibcxx_cv_func__frexpf_use+:} false; then :
37827 $as_echo_n "(cached) " >&6
37828 else
37831 ac_ext=cpp
37832 ac_cpp='$CXXCPP $CPPFLAGS'
37833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37838 /* end confdefs.h. */
37839 #include <math.h>
37841 main ()
37843 _frexpf(0, 0);
37845 return 0;
37847 _ACEOF
37848 if ac_fn_cxx_try_compile "$LINENO"; then :
37849 glibcxx_cv_func__frexpf_use=yes
37850 else
37851 glibcxx_cv_func__frexpf_use=no
37853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37854 ac_ext=c
37855 ac_cpp='$CPP $CPPFLAGS'
37856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37865 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37867 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37868 for ac_func in _frexpf
37869 do :
37870 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37871 if test "x$ac_cv_func__frexpf" = xyes; then :
37872 cat >>confdefs.h <<_ACEOF
37873 #define HAVE__FREXPF 1
37874 _ACEOF
37877 done
37886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37887 $as_echo_n "checking for hypotf declaration... " >&6; }
37888 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37889 if ${glibcxx_cv_func_hypotf_use+:} false; then :
37890 $as_echo_n "(cached) " >&6
37891 else
37894 ac_ext=cpp
37895 ac_cpp='$CXXCPP $CPPFLAGS'
37896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37901 /* end confdefs.h. */
37902 #include <math.h>
37904 main ()
37906 hypotf(0, 0);
37908 return 0;
37910 _ACEOF
37911 if ac_fn_cxx_try_compile "$LINENO"; then :
37912 glibcxx_cv_func_hypotf_use=yes
37913 else
37914 glibcxx_cv_func_hypotf_use=no
37916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37917 ac_ext=c
37918 ac_cpp='$CPP $CPPFLAGS'
37919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37928 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37930 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37931 for ac_func in hypotf
37932 do :
37933 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37934 if test "x$ac_cv_func_hypotf" = xyes; then :
37935 cat >>confdefs.h <<_ACEOF
37936 #define HAVE_HYPOTF 1
37937 _ACEOF
37940 done
37942 else
37944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37945 $as_echo_n "checking for _hypotf declaration... " >&6; }
37946 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37947 if ${glibcxx_cv_func__hypotf_use+:} false; then :
37948 $as_echo_n "(cached) " >&6
37949 else
37952 ac_ext=cpp
37953 ac_cpp='$CXXCPP $CPPFLAGS'
37954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37959 /* end confdefs.h. */
37960 #include <math.h>
37962 main ()
37964 _hypotf(0, 0);
37966 return 0;
37968 _ACEOF
37969 if ac_fn_cxx_try_compile "$LINENO"; then :
37970 glibcxx_cv_func__hypotf_use=yes
37971 else
37972 glibcxx_cv_func__hypotf_use=no
37974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37975 ac_ext=c
37976 ac_cpp='$CPP $CPPFLAGS'
37977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37986 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37988 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37989 for ac_func in _hypotf
37990 do :
37991 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37992 if test "x$ac_cv_func__hypotf" = xyes; then :
37993 cat >>confdefs.h <<_ACEOF
37994 #define HAVE__HYPOTF 1
37995 _ACEOF
37998 done
38007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
38008 $as_echo_n "checking for ldexpf declaration... " >&6; }
38009 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
38010 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
38011 $as_echo_n "(cached) " >&6
38012 else
38015 ac_ext=cpp
38016 ac_cpp='$CXXCPP $CPPFLAGS'
38017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38022 /* end confdefs.h. */
38023 #include <math.h>
38025 main ()
38027 ldexpf(0, 0);
38029 return 0;
38031 _ACEOF
38032 if ac_fn_cxx_try_compile "$LINENO"; then :
38033 glibcxx_cv_func_ldexpf_use=yes
38034 else
38035 glibcxx_cv_func_ldexpf_use=no
38037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38038 ac_ext=c
38039 ac_cpp='$CPP $CPPFLAGS'
38040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
38049 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
38051 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
38052 for ac_func in ldexpf
38053 do :
38054 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
38055 if test "x$ac_cv_func_ldexpf" = xyes; then :
38056 cat >>confdefs.h <<_ACEOF
38057 #define HAVE_LDEXPF 1
38058 _ACEOF
38061 done
38063 else
38065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
38066 $as_echo_n "checking for _ldexpf declaration... " >&6; }
38067 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
38068 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
38069 $as_echo_n "(cached) " >&6
38070 else
38073 ac_ext=cpp
38074 ac_cpp='$CXXCPP $CPPFLAGS'
38075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38080 /* end confdefs.h. */
38081 #include <math.h>
38083 main ()
38085 _ldexpf(0, 0);
38087 return 0;
38089 _ACEOF
38090 if ac_fn_cxx_try_compile "$LINENO"; then :
38091 glibcxx_cv_func__ldexpf_use=yes
38092 else
38093 glibcxx_cv_func__ldexpf_use=no
38095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38096 ac_ext=c
38097 ac_cpp='$CPP $CPPFLAGS'
38098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
38107 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
38109 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
38110 for ac_func in _ldexpf
38111 do :
38112 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
38113 if test "x$ac_cv_func__ldexpf" = xyes; then :
38114 cat >>confdefs.h <<_ACEOF
38115 #define HAVE__LDEXPF 1
38116 _ACEOF
38119 done
38128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
38129 $as_echo_n "checking for logf declaration... " >&6; }
38130 if test x${glibcxx_cv_func_logf_use+set} != xset; then
38131 if ${glibcxx_cv_func_logf_use+:} false; then :
38132 $as_echo_n "(cached) " >&6
38133 else
38136 ac_ext=cpp
38137 ac_cpp='$CXXCPP $CPPFLAGS'
38138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38143 /* end confdefs.h. */
38144 #include <math.h>
38145 #ifdef HAVE_IEEEFP_H
38146 #include <ieeefp.h>
38147 #endif
38150 main ()
38152 logf(0);
38154 return 0;
38156 _ACEOF
38157 if ac_fn_cxx_try_compile "$LINENO"; then :
38158 glibcxx_cv_func_logf_use=yes
38159 else
38160 glibcxx_cv_func_logf_use=no
38162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38163 ac_ext=c
38164 ac_cpp='$CPP $CPPFLAGS'
38165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
38174 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
38176 if test x$glibcxx_cv_func_logf_use = x"yes"; then
38177 for ac_func in logf
38178 do :
38179 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
38180 if test "x$ac_cv_func_logf" = xyes; then :
38181 cat >>confdefs.h <<_ACEOF
38182 #define HAVE_LOGF 1
38183 _ACEOF
38186 done
38188 else
38190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
38191 $as_echo_n "checking for _logf declaration... " >&6; }
38192 if test x${glibcxx_cv_func__logf_use+set} != xset; then
38193 if ${glibcxx_cv_func__logf_use+:} false; then :
38194 $as_echo_n "(cached) " >&6
38195 else
38198 ac_ext=cpp
38199 ac_cpp='$CXXCPP $CPPFLAGS'
38200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38205 /* end confdefs.h. */
38206 #include <math.h>
38207 #ifdef HAVE_IEEEFP_H
38208 #include <ieeefp.h>
38209 #endif
38212 main ()
38214 _logf(0);
38216 return 0;
38218 _ACEOF
38219 if ac_fn_cxx_try_compile "$LINENO"; then :
38220 glibcxx_cv_func__logf_use=yes
38221 else
38222 glibcxx_cv_func__logf_use=no
38224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38225 ac_ext=c
38226 ac_cpp='$CPP $CPPFLAGS'
38227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
38236 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
38238 if test x$glibcxx_cv_func__logf_use = x"yes"; then
38239 for ac_func in _logf
38240 do :
38241 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
38242 if test "x$ac_cv_func__logf" = xyes; then :
38243 cat >>confdefs.h <<_ACEOF
38244 #define HAVE__LOGF 1
38245 _ACEOF
38248 done
38257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
38258 $as_echo_n "checking for log10f declaration... " >&6; }
38259 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
38260 if ${glibcxx_cv_func_log10f_use+:} false; then :
38261 $as_echo_n "(cached) " >&6
38262 else
38265 ac_ext=cpp
38266 ac_cpp='$CXXCPP $CPPFLAGS'
38267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38272 /* end confdefs.h. */
38273 #include <math.h>
38274 #ifdef HAVE_IEEEFP_H
38275 #include <ieeefp.h>
38276 #endif
38279 main ()
38281 log10f(0);
38283 return 0;
38285 _ACEOF
38286 if ac_fn_cxx_try_compile "$LINENO"; then :
38287 glibcxx_cv_func_log10f_use=yes
38288 else
38289 glibcxx_cv_func_log10f_use=no
38291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38292 ac_ext=c
38293 ac_cpp='$CPP $CPPFLAGS'
38294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
38303 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
38305 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
38306 for ac_func in log10f
38307 do :
38308 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
38309 if test "x$ac_cv_func_log10f" = xyes; then :
38310 cat >>confdefs.h <<_ACEOF
38311 #define HAVE_LOG10F 1
38312 _ACEOF
38315 done
38317 else
38319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
38320 $as_echo_n "checking for _log10f declaration... " >&6; }
38321 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
38322 if ${glibcxx_cv_func__log10f_use+:} false; then :
38323 $as_echo_n "(cached) " >&6
38324 else
38327 ac_ext=cpp
38328 ac_cpp='$CXXCPP $CPPFLAGS'
38329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38334 /* end confdefs.h. */
38335 #include <math.h>
38336 #ifdef HAVE_IEEEFP_H
38337 #include <ieeefp.h>
38338 #endif
38341 main ()
38343 _log10f(0);
38345 return 0;
38347 _ACEOF
38348 if ac_fn_cxx_try_compile "$LINENO"; then :
38349 glibcxx_cv_func__log10f_use=yes
38350 else
38351 glibcxx_cv_func__log10f_use=no
38353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38354 ac_ext=c
38355 ac_cpp='$CPP $CPPFLAGS'
38356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
38365 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
38367 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
38368 for ac_func in _log10f
38369 do :
38370 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
38371 if test "x$ac_cv_func__log10f" = xyes; then :
38372 cat >>confdefs.h <<_ACEOF
38373 #define HAVE__LOG10F 1
38374 _ACEOF
38377 done
38386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
38387 $as_echo_n "checking for modff declaration... " >&6; }
38388 if test x${glibcxx_cv_func_modff_use+set} != xset; then
38389 if ${glibcxx_cv_func_modff_use+:} false; then :
38390 $as_echo_n "(cached) " >&6
38391 else
38394 ac_ext=cpp
38395 ac_cpp='$CXXCPP $CPPFLAGS'
38396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38401 /* end confdefs.h. */
38402 #include <math.h>
38404 main ()
38406 modff(0, 0);
38408 return 0;
38410 _ACEOF
38411 if ac_fn_cxx_try_compile "$LINENO"; then :
38412 glibcxx_cv_func_modff_use=yes
38413 else
38414 glibcxx_cv_func_modff_use=no
38416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38417 ac_ext=c
38418 ac_cpp='$CPP $CPPFLAGS'
38419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
38428 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
38430 if test x$glibcxx_cv_func_modff_use = x"yes"; then
38431 for ac_func in modff
38432 do :
38433 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
38434 if test "x$ac_cv_func_modff" = xyes; then :
38435 cat >>confdefs.h <<_ACEOF
38436 #define HAVE_MODFF 1
38437 _ACEOF
38440 done
38442 else
38444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
38445 $as_echo_n "checking for _modff declaration... " >&6; }
38446 if test x${glibcxx_cv_func__modff_use+set} != xset; then
38447 if ${glibcxx_cv_func__modff_use+:} false; then :
38448 $as_echo_n "(cached) " >&6
38449 else
38452 ac_ext=cpp
38453 ac_cpp='$CXXCPP $CPPFLAGS'
38454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38459 /* end confdefs.h. */
38460 #include <math.h>
38462 main ()
38464 _modff(0, 0);
38466 return 0;
38468 _ACEOF
38469 if ac_fn_cxx_try_compile "$LINENO"; then :
38470 glibcxx_cv_func__modff_use=yes
38471 else
38472 glibcxx_cv_func__modff_use=no
38474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38475 ac_ext=c
38476 ac_cpp='$CPP $CPPFLAGS'
38477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
38486 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
38488 if test x$glibcxx_cv_func__modff_use = x"yes"; then
38489 for ac_func in _modff
38490 do :
38491 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
38492 if test "x$ac_cv_func__modff" = xyes; then :
38493 cat >>confdefs.h <<_ACEOF
38494 #define HAVE__MODFF 1
38495 _ACEOF
38498 done
38507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
38508 $as_echo_n "checking for modf declaration... " >&6; }
38509 if test x${glibcxx_cv_func_modf_use+set} != xset; then
38510 if ${glibcxx_cv_func_modf_use+:} false; then :
38511 $as_echo_n "(cached) " >&6
38512 else
38515 ac_ext=cpp
38516 ac_cpp='$CXXCPP $CPPFLAGS'
38517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38522 /* end confdefs.h. */
38523 #include <math.h>
38525 main ()
38527 modf(0, 0);
38529 return 0;
38531 _ACEOF
38532 if ac_fn_cxx_try_compile "$LINENO"; then :
38533 glibcxx_cv_func_modf_use=yes
38534 else
38535 glibcxx_cv_func_modf_use=no
38537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38538 ac_ext=c
38539 ac_cpp='$CPP $CPPFLAGS'
38540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
38549 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
38551 if test x$glibcxx_cv_func_modf_use = x"yes"; then
38552 for ac_func in modf
38553 do :
38554 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
38555 if test "x$ac_cv_func_modf" = xyes; then :
38556 cat >>confdefs.h <<_ACEOF
38557 #define HAVE_MODF 1
38558 _ACEOF
38561 done
38563 else
38565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
38566 $as_echo_n "checking for _modf declaration... " >&6; }
38567 if test x${glibcxx_cv_func__modf_use+set} != xset; then
38568 if ${glibcxx_cv_func__modf_use+:} false; then :
38569 $as_echo_n "(cached) " >&6
38570 else
38573 ac_ext=cpp
38574 ac_cpp='$CXXCPP $CPPFLAGS'
38575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38580 /* end confdefs.h. */
38581 #include <math.h>
38583 main ()
38585 _modf(0, 0);
38587 return 0;
38589 _ACEOF
38590 if ac_fn_cxx_try_compile "$LINENO"; then :
38591 glibcxx_cv_func__modf_use=yes
38592 else
38593 glibcxx_cv_func__modf_use=no
38595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38596 ac_ext=c
38597 ac_cpp='$CPP $CPPFLAGS'
38598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
38607 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
38609 if test x$glibcxx_cv_func__modf_use = x"yes"; then
38610 for ac_func in _modf
38611 do :
38612 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
38613 if test "x$ac_cv_func__modf" = xyes; then :
38614 cat >>confdefs.h <<_ACEOF
38615 #define HAVE__MODF 1
38616 _ACEOF
38619 done
38628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38629 $as_echo_n "checking for powf declaration... " >&6; }
38630 if test x${glibcxx_cv_func_powf_use+set} != xset; then
38631 if ${glibcxx_cv_func_powf_use+:} false; then :
38632 $as_echo_n "(cached) " >&6
38633 else
38636 ac_ext=cpp
38637 ac_cpp='$CXXCPP $CPPFLAGS'
38638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38643 /* end confdefs.h. */
38644 #include <math.h>
38646 main ()
38648 powf(0, 0);
38650 return 0;
38652 _ACEOF
38653 if ac_fn_cxx_try_compile "$LINENO"; then :
38654 glibcxx_cv_func_powf_use=yes
38655 else
38656 glibcxx_cv_func_powf_use=no
38658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38659 ac_ext=c
38660 ac_cpp='$CPP $CPPFLAGS'
38661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38670 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
38672 if test x$glibcxx_cv_func_powf_use = x"yes"; then
38673 for ac_func in powf
38674 do :
38675 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38676 if test "x$ac_cv_func_powf" = xyes; then :
38677 cat >>confdefs.h <<_ACEOF
38678 #define HAVE_POWF 1
38679 _ACEOF
38682 done
38684 else
38686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38687 $as_echo_n "checking for _powf declaration... " >&6; }
38688 if test x${glibcxx_cv_func__powf_use+set} != xset; then
38689 if ${glibcxx_cv_func__powf_use+:} false; then :
38690 $as_echo_n "(cached) " >&6
38691 else
38694 ac_ext=cpp
38695 ac_cpp='$CXXCPP $CPPFLAGS'
38696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38701 /* end confdefs.h. */
38702 #include <math.h>
38704 main ()
38706 _powf(0, 0);
38708 return 0;
38710 _ACEOF
38711 if ac_fn_cxx_try_compile "$LINENO"; then :
38712 glibcxx_cv_func__powf_use=yes
38713 else
38714 glibcxx_cv_func__powf_use=no
38716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38717 ac_ext=c
38718 ac_cpp='$CPP $CPPFLAGS'
38719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38728 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
38730 if test x$glibcxx_cv_func__powf_use = x"yes"; then
38731 for ac_func in _powf
38732 do :
38733 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38734 if test "x$ac_cv_func__powf" = xyes; then :
38735 cat >>confdefs.h <<_ACEOF
38736 #define HAVE__POWF 1
38737 _ACEOF
38740 done
38749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38750 $as_echo_n "checking for sqrtf declaration... " >&6; }
38751 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38752 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
38753 $as_echo_n "(cached) " >&6
38754 else
38757 ac_ext=cpp
38758 ac_cpp='$CXXCPP $CPPFLAGS'
38759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38764 /* end confdefs.h. */
38765 #include <math.h>
38766 #ifdef HAVE_IEEEFP_H
38767 #include <ieeefp.h>
38768 #endif
38771 main ()
38773 sqrtf(0);
38775 return 0;
38777 _ACEOF
38778 if ac_fn_cxx_try_compile "$LINENO"; then :
38779 glibcxx_cv_func_sqrtf_use=yes
38780 else
38781 glibcxx_cv_func_sqrtf_use=no
38783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38784 ac_ext=c
38785 ac_cpp='$CPP $CPPFLAGS'
38786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38795 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38797 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38798 for ac_func in sqrtf
38799 do :
38800 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38801 if test "x$ac_cv_func_sqrtf" = xyes; then :
38802 cat >>confdefs.h <<_ACEOF
38803 #define HAVE_SQRTF 1
38804 _ACEOF
38807 done
38809 else
38811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38812 $as_echo_n "checking for _sqrtf declaration... " >&6; }
38813 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38814 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
38815 $as_echo_n "(cached) " >&6
38816 else
38819 ac_ext=cpp
38820 ac_cpp='$CXXCPP $CPPFLAGS'
38821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38826 /* end confdefs.h. */
38827 #include <math.h>
38828 #ifdef HAVE_IEEEFP_H
38829 #include <ieeefp.h>
38830 #endif
38833 main ()
38835 _sqrtf(0);
38837 return 0;
38839 _ACEOF
38840 if ac_fn_cxx_try_compile "$LINENO"; then :
38841 glibcxx_cv_func__sqrtf_use=yes
38842 else
38843 glibcxx_cv_func__sqrtf_use=no
38845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38846 ac_ext=c
38847 ac_cpp='$CPP $CPPFLAGS'
38848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38857 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38859 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38860 for ac_func in _sqrtf
38861 do :
38862 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38863 if test "x$ac_cv_func__sqrtf" = xyes; then :
38864 cat >>confdefs.h <<_ACEOF
38865 #define HAVE__SQRTF 1
38866 _ACEOF
38869 done
38878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38879 $as_echo_n "checking for sincosf declaration... " >&6; }
38880 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38881 if ${glibcxx_cv_func_sincosf_use+:} false; then :
38882 $as_echo_n "(cached) " >&6
38883 else
38886 ac_ext=cpp
38887 ac_cpp='$CXXCPP $CPPFLAGS'
38888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38893 /* end confdefs.h. */
38894 #include <math.h>
38896 main ()
38898 sincosf(0, 0, 0);
38900 return 0;
38902 _ACEOF
38903 if ac_fn_cxx_try_compile "$LINENO"; then :
38904 glibcxx_cv_func_sincosf_use=yes
38905 else
38906 glibcxx_cv_func_sincosf_use=no
38908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38909 ac_ext=c
38910 ac_cpp='$CPP $CPPFLAGS'
38911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38920 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38922 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38923 for ac_func in sincosf
38924 do :
38925 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38926 if test "x$ac_cv_func_sincosf" = xyes; then :
38927 cat >>confdefs.h <<_ACEOF
38928 #define HAVE_SINCOSF 1
38929 _ACEOF
38932 done
38934 else
38936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38937 $as_echo_n "checking for _sincosf declaration... " >&6; }
38938 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38939 if ${glibcxx_cv_func__sincosf_use+:} false; then :
38940 $as_echo_n "(cached) " >&6
38941 else
38944 ac_ext=cpp
38945 ac_cpp='$CXXCPP $CPPFLAGS'
38946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38951 /* end confdefs.h. */
38952 #include <math.h>
38954 main ()
38956 _sincosf(0, 0, 0);
38958 return 0;
38960 _ACEOF
38961 if ac_fn_cxx_try_compile "$LINENO"; then :
38962 glibcxx_cv_func__sincosf_use=yes
38963 else
38964 glibcxx_cv_func__sincosf_use=no
38966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38967 ac_ext=c
38968 ac_cpp='$CPP $CPPFLAGS'
38969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38978 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38980 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38981 for ac_func in _sincosf
38982 do :
38983 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38984 if test "x$ac_cv_func__sincosf" = xyes; then :
38985 cat >>confdefs.h <<_ACEOF
38986 #define HAVE__SINCOSF 1
38987 _ACEOF
38990 done
38999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
39000 $as_echo_n "checking for finitef declaration... " >&6; }
39001 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
39002 if ${glibcxx_cv_func_finitef_use+:} false; then :
39003 $as_echo_n "(cached) " >&6
39004 else
39007 ac_ext=cpp
39008 ac_cpp='$CXXCPP $CPPFLAGS'
39009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39014 /* end confdefs.h. */
39015 #include <math.h>
39016 #ifdef HAVE_IEEEFP_H
39017 #include <ieeefp.h>
39018 #endif
39021 main ()
39023 finitef(0);
39025 return 0;
39027 _ACEOF
39028 if ac_fn_cxx_try_compile "$LINENO"; then :
39029 glibcxx_cv_func_finitef_use=yes
39030 else
39031 glibcxx_cv_func_finitef_use=no
39033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39034 ac_ext=c
39035 ac_cpp='$CPP $CPPFLAGS'
39036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
39045 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
39047 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
39048 for ac_func in finitef
39049 do :
39050 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
39051 if test "x$ac_cv_func_finitef" = xyes; then :
39052 cat >>confdefs.h <<_ACEOF
39053 #define HAVE_FINITEF 1
39054 _ACEOF
39057 done
39059 else
39061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
39062 $as_echo_n "checking for _finitef declaration... " >&6; }
39063 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
39064 if ${glibcxx_cv_func__finitef_use+:} false; then :
39065 $as_echo_n "(cached) " >&6
39066 else
39069 ac_ext=cpp
39070 ac_cpp='$CXXCPP $CPPFLAGS'
39071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39076 /* end confdefs.h. */
39077 #include <math.h>
39078 #ifdef HAVE_IEEEFP_H
39079 #include <ieeefp.h>
39080 #endif
39083 main ()
39085 _finitef(0);
39087 return 0;
39089 _ACEOF
39090 if ac_fn_cxx_try_compile "$LINENO"; then :
39091 glibcxx_cv_func__finitef_use=yes
39092 else
39093 glibcxx_cv_func__finitef_use=no
39095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39096 ac_ext=c
39097 ac_cpp='$CPP $CPPFLAGS'
39098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
39107 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
39109 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
39110 for ac_func in _finitef
39111 do :
39112 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
39113 if test "x$ac_cv_func__finitef" = xyes; then :
39114 cat >>confdefs.h <<_ACEOF
39115 #define HAVE__FINITEF 1
39116 _ACEOF
39119 done
39128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
39129 $as_echo_n "checking for long double trig functions... " >&6; }
39130 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
39131 $as_echo_n "(cached) " >&6
39132 else
39135 ac_ext=cpp
39136 ac_cpp='$CXXCPP $CPPFLAGS'
39137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39142 /* end confdefs.h. */
39143 #include <math.h>
39145 main ()
39147 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
39149 return 0;
39151 _ACEOF
39152 if ac_fn_cxx_try_compile "$LINENO"; then :
39153 glibcxx_cv_func_long_double_trig_use=yes
39154 else
39155 glibcxx_cv_func_long_double_trig_use=no
39157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39158 ac_ext=c
39159 ac_cpp='$CPP $CPPFLAGS'
39160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
39167 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
39168 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
39169 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
39170 do :
39171 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39172 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39173 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
39174 cat >>confdefs.h <<_ACEOF
39175 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39176 _ACEOF
39179 done
39181 else
39182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
39183 $as_echo_n "checking for _long double trig functions... " >&6; }
39184 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
39185 $as_echo_n "(cached) " >&6
39186 else
39189 ac_ext=cpp
39190 ac_cpp='$CXXCPP $CPPFLAGS'
39191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39196 /* end confdefs.h. */
39197 #include <math.h>
39199 main ()
39201 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
39203 return 0;
39205 _ACEOF
39206 if ac_fn_cxx_try_compile "$LINENO"; then :
39207 glibcxx_cv_func__long_double_trig_use=yes
39208 else
39209 glibcxx_cv_func__long_double_trig_use=no
39211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39212 ac_ext=c
39213 ac_cpp='$CPP $CPPFLAGS'
39214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
39221 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
39222 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
39223 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
39224 do :
39225 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39226 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39227 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
39228 cat >>confdefs.h <<_ACEOF
39229 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39230 _ACEOF
39233 done
39242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
39243 $as_echo_n "checking for long double round functions... " >&6; }
39244 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
39245 $as_echo_n "(cached) " >&6
39246 else
39249 ac_ext=cpp
39250 ac_cpp='$CXXCPP $CPPFLAGS'
39251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39256 /* end confdefs.h. */
39257 #include <math.h>
39259 main ()
39261 ceill (0); floorl (0);
39263 return 0;
39265 _ACEOF
39266 if ac_fn_cxx_try_compile "$LINENO"; then :
39267 glibcxx_cv_func_long_double_round_use=yes
39268 else
39269 glibcxx_cv_func_long_double_round_use=no
39271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39272 ac_ext=c
39273 ac_cpp='$CPP $CPPFLAGS'
39274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
39281 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
39282 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
39283 for ac_func in ceill floorl
39284 do :
39285 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39286 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39287 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
39288 cat >>confdefs.h <<_ACEOF
39289 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39290 _ACEOF
39293 done
39295 else
39296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
39297 $as_echo_n "checking for _long double round functions... " >&6; }
39298 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
39299 $as_echo_n "(cached) " >&6
39300 else
39303 ac_ext=cpp
39304 ac_cpp='$CXXCPP $CPPFLAGS'
39305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39310 /* end confdefs.h. */
39311 #include <math.h>
39313 main ()
39315 _ceill (0); _floorl (0);
39317 return 0;
39319 _ACEOF
39320 if ac_fn_cxx_try_compile "$LINENO"; then :
39321 glibcxx_cv_func__long_double_round_use=yes
39322 else
39323 glibcxx_cv_func__long_double_round_use=no
39325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39326 ac_ext=c
39327 ac_cpp='$CPP $CPPFLAGS'
39328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
39335 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
39336 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
39337 for ac_func in _ceill _floorl
39338 do :
39339 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39340 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39341 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
39342 cat >>confdefs.h <<_ACEOF
39343 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39344 _ACEOF
39347 done
39357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
39358 $as_echo_n "checking for isnanl declaration... " >&6; }
39359 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
39360 if ${glibcxx_cv_func_isnanl_use+:} false; then :
39361 $as_echo_n "(cached) " >&6
39362 else
39365 ac_ext=cpp
39366 ac_cpp='$CXXCPP $CPPFLAGS'
39367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39372 /* end confdefs.h. */
39373 #include <math.h>
39374 #ifdef HAVE_IEEEFP_H
39375 #include <ieeefp.h>
39376 #endif
39379 main ()
39381 isnanl(0);
39383 return 0;
39385 _ACEOF
39386 if ac_fn_cxx_try_compile "$LINENO"; then :
39387 glibcxx_cv_func_isnanl_use=yes
39388 else
39389 glibcxx_cv_func_isnanl_use=no
39391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39392 ac_ext=c
39393 ac_cpp='$CPP $CPPFLAGS'
39394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
39403 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
39405 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
39406 for ac_func in isnanl
39407 do :
39408 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
39409 if test "x$ac_cv_func_isnanl" = xyes; then :
39410 cat >>confdefs.h <<_ACEOF
39411 #define HAVE_ISNANL 1
39412 _ACEOF
39415 done
39417 else
39419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
39420 $as_echo_n "checking for _isnanl declaration... " >&6; }
39421 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
39422 if ${glibcxx_cv_func__isnanl_use+:} false; then :
39423 $as_echo_n "(cached) " >&6
39424 else
39427 ac_ext=cpp
39428 ac_cpp='$CXXCPP $CPPFLAGS'
39429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39434 /* end confdefs.h. */
39435 #include <math.h>
39436 #ifdef HAVE_IEEEFP_H
39437 #include <ieeefp.h>
39438 #endif
39441 main ()
39443 _isnanl(0);
39445 return 0;
39447 _ACEOF
39448 if ac_fn_cxx_try_compile "$LINENO"; then :
39449 glibcxx_cv_func__isnanl_use=yes
39450 else
39451 glibcxx_cv_func__isnanl_use=no
39453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39454 ac_ext=c
39455 ac_cpp='$CPP $CPPFLAGS'
39456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
39465 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
39467 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
39468 for ac_func in _isnanl
39469 do :
39470 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
39471 if test "x$ac_cv_func__isnanl" = xyes; then :
39472 cat >>confdefs.h <<_ACEOF
39473 #define HAVE__ISNANL 1
39474 _ACEOF
39477 done
39486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
39487 $as_echo_n "checking for isinfl declaration... " >&6; }
39488 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
39489 if ${glibcxx_cv_func_isinfl_use+:} false; then :
39490 $as_echo_n "(cached) " >&6
39491 else
39494 ac_ext=cpp
39495 ac_cpp='$CXXCPP $CPPFLAGS'
39496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39501 /* end confdefs.h. */
39502 #include <math.h>
39503 #ifdef HAVE_IEEEFP_H
39504 #include <ieeefp.h>
39505 #endif
39508 main ()
39510 isinfl(0);
39512 return 0;
39514 _ACEOF
39515 if ac_fn_cxx_try_compile "$LINENO"; then :
39516 glibcxx_cv_func_isinfl_use=yes
39517 else
39518 glibcxx_cv_func_isinfl_use=no
39520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39521 ac_ext=c
39522 ac_cpp='$CPP $CPPFLAGS'
39523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
39532 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
39534 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
39535 for ac_func in isinfl
39536 do :
39537 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
39538 if test "x$ac_cv_func_isinfl" = xyes; then :
39539 cat >>confdefs.h <<_ACEOF
39540 #define HAVE_ISINFL 1
39541 _ACEOF
39544 done
39546 else
39548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
39549 $as_echo_n "checking for _isinfl declaration... " >&6; }
39550 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
39551 if ${glibcxx_cv_func__isinfl_use+:} false; then :
39552 $as_echo_n "(cached) " >&6
39553 else
39556 ac_ext=cpp
39557 ac_cpp='$CXXCPP $CPPFLAGS'
39558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39563 /* end confdefs.h. */
39564 #include <math.h>
39565 #ifdef HAVE_IEEEFP_H
39566 #include <ieeefp.h>
39567 #endif
39570 main ()
39572 _isinfl(0);
39574 return 0;
39576 _ACEOF
39577 if ac_fn_cxx_try_compile "$LINENO"; then :
39578 glibcxx_cv_func__isinfl_use=yes
39579 else
39580 glibcxx_cv_func__isinfl_use=no
39582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39583 ac_ext=c
39584 ac_cpp='$CPP $CPPFLAGS'
39585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
39594 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
39596 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
39597 for ac_func in _isinfl
39598 do :
39599 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
39600 if test "x$ac_cv_func__isinfl" = xyes; then :
39601 cat >>confdefs.h <<_ACEOF
39602 #define HAVE__ISINFL 1
39603 _ACEOF
39606 done
39615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
39616 $as_echo_n "checking for atan2l declaration... " >&6; }
39617 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
39618 if ${glibcxx_cv_func_atan2l_use+:} false; then :
39619 $as_echo_n "(cached) " >&6
39620 else
39623 ac_ext=cpp
39624 ac_cpp='$CXXCPP $CPPFLAGS'
39625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39630 /* end confdefs.h. */
39631 #include <math.h>
39633 main ()
39635 atan2l(0, 0);
39637 return 0;
39639 _ACEOF
39640 if ac_fn_cxx_try_compile "$LINENO"; then :
39641 glibcxx_cv_func_atan2l_use=yes
39642 else
39643 glibcxx_cv_func_atan2l_use=no
39645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39646 ac_ext=c
39647 ac_cpp='$CPP $CPPFLAGS'
39648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39657 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39659 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39660 for ac_func in atan2l
39661 do :
39662 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39663 if test "x$ac_cv_func_atan2l" = xyes; then :
39664 cat >>confdefs.h <<_ACEOF
39665 #define HAVE_ATAN2L 1
39666 _ACEOF
39669 done
39671 else
39673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39674 $as_echo_n "checking for _atan2l declaration... " >&6; }
39675 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39676 if ${glibcxx_cv_func__atan2l_use+:} false; then :
39677 $as_echo_n "(cached) " >&6
39678 else
39681 ac_ext=cpp
39682 ac_cpp='$CXXCPP $CPPFLAGS'
39683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39688 /* end confdefs.h. */
39689 #include <math.h>
39691 main ()
39693 _atan2l(0, 0);
39695 return 0;
39697 _ACEOF
39698 if ac_fn_cxx_try_compile "$LINENO"; then :
39699 glibcxx_cv_func__atan2l_use=yes
39700 else
39701 glibcxx_cv_func__atan2l_use=no
39703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39704 ac_ext=c
39705 ac_cpp='$CPP $CPPFLAGS'
39706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39715 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39717 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39718 for ac_func in _atan2l
39719 do :
39720 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39721 if test "x$ac_cv_func__atan2l" = xyes; then :
39722 cat >>confdefs.h <<_ACEOF
39723 #define HAVE__ATAN2L 1
39724 _ACEOF
39727 done
39736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39737 $as_echo_n "checking for expl declaration... " >&6; }
39738 if test x${glibcxx_cv_func_expl_use+set} != xset; then
39739 if ${glibcxx_cv_func_expl_use+:} false; then :
39740 $as_echo_n "(cached) " >&6
39741 else
39744 ac_ext=cpp
39745 ac_cpp='$CXXCPP $CPPFLAGS'
39746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39751 /* end confdefs.h. */
39752 #include <math.h>
39753 #ifdef HAVE_IEEEFP_H
39754 #include <ieeefp.h>
39755 #endif
39758 main ()
39760 expl(0);
39762 return 0;
39764 _ACEOF
39765 if ac_fn_cxx_try_compile "$LINENO"; then :
39766 glibcxx_cv_func_expl_use=yes
39767 else
39768 glibcxx_cv_func_expl_use=no
39770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39771 ac_ext=c
39772 ac_cpp='$CPP $CPPFLAGS'
39773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39782 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
39784 if test x$glibcxx_cv_func_expl_use = x"yes"; then
39785 for ac_func in expl
39786 do :
39787 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39788 if test "x$ac_cv_func_expl" = xyes; then :
39789 cat >>confdefs.h <<_ACEOF
39790 #define HAVE_EXPL 1
39791 _ACEOF
39794 done
39796 else
39798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39799 $as_echo_n "checking for _expl declaration... " >&6; }
39800 if test x${glibcxx_cv_func__expl_use+set} != xset; then
39801 if ${glibcxx_cv_func__expl_use+:} false; then :
39802 $as_echo_n "(cached) " >&6
39803 else
39806 ac_ext=cpp
39807 ac_cpp='$CXXCPP $CPPFLAGS'
39808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39813 /* end confdefs.h. */
39814 #include <math.h>
39815 #ifdef HAVE_IEEEFP_H
39816 #include <ieeefp.h>
39817 #endif
39820 main ()
39822 _expl(0);
39824 return 0;
39826 _ACEOF
39827 if ac_fn_cxx_try_compile "$LINENO"; then :
39828 glibcxx_cv_func__expl_use=yes
39829 else
39830 glibcxx_cv_func__expl_use=no
39832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39833 ac_ext=c
39834 ac_cpp='$CPP $CPPFLAGS'
39835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39844 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
39846 if test x$glibcxx_cv_func__expl_use = x"yes"; then
39847 for ac_func in _expl
39848 do :
39849 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39850 if test "x$ac_cv_func__expl" = xyes; then :
39851 cat >>confdefs.h <<_ACEOF
39852 #define HAVE__EXPL 1
39853 _ACEOF
39856 done
39865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39866 $as_echo_n "checking for fabsl declaration... " >&6; }
39867 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39868 if ${glibcxx_cv_func_fabsl_use+:} false; then :
39869 $as_echo_n "(cached) " >&6
39870 else
39873 ac_ext=cpp
39874 ac_cpp='$CXXCPP $CPPFLAGS'
39875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39880 /* end confdefs.h. */
39881 #include <math.h>
39882 #ifdef HAVE_IEEEFP_H
39883 #include <ieeefp.h>
39884 #endif
39887 main ()
39889 fabsl(0);
39891 return 0;
39893 _ACEOF
39894 if ac_fn_cxx_try_compile "$LINENO"; then :
39895 glibcxx_cv_func_fabsl_use=yes
39896 else
39897 glibcxx_cv_func_fabsl_use=no
39899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39900 ac_ext=c
39901 ac_cpp='$CPP $CPPFLAGS'
39902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39911 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39913 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39914 for ac_func in fabsl
39915 do :
39916 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39917 if test "x$ac_cv_func_fabsl" = xyes; then :
39918 cat >>confdefs.h <<_ACEOF
39919 #define HAVE_FABSL 1
39920 _ACEOF
39923 done
39925 else
39927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39928 $as_echo_n "checking for _fabsl declaration... " >&6; }
39929 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39930 if ${glibcxx_cv_func__fabsl_use+:} false; then :
39931 $as_echo_n "(cached) " >&6
39932 else
39935 ac_ext=cpp
39936 ac_cpp='$CXXCPP $CPPFLAGS'
39937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39942 /* end confdefs.h. */
39943 #include <math.h>
39944 #ifdef HAVE_IEEEFP_H
39945 #include <ieeefp.h>
39946 #endif
39949 main ()
39951 _fabsl(0);
39953 return 0;
39955 _ACEOF
39956 if ac_fn_cxx_try_compile "$LINENO"; then :
39957 glibcxx_cv_func__fabsl_use=yes
39958 else
39959 glibcxx_cv_func__fabsl_use=no
39961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39962 ac_ext=c
39963 ac_cpp='$CPP $CPPFLAGS'
39964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39973 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39975 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39976 for ac_func in _fabsl
39977 do :
39978 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39979 if test "x$ac_cv_func__fabsl" = xyes; then :
39980 cat >>confdefs.h <<_ACEOF
39981 #define HAVE__FABSL 1
39982 _ACEOF
39985 done
39994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39995 $as_echo_n "checking for fmodl declaration... " >&6; }
39996 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39997 if ${glibcxx_cv_func_fmodl_use+:} false; then :
39998 $as_echo_n "(cached) " >&6
39999 else
40002 ac_ext=cpp
40003 ac_cpp='$CXXCPP $CPPFLAGS'
40004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40009 /* end confdefs.h. */
40010 #include <math.h>
40012 main ()
40014 fmodl(0, 0);
40016 return 0;
40018 _ACEOF
40019 if ac_fn_cxx_try_compile "$LINENO"; then :
40020 glibcxx_cv_func_fmodl_use=yes
40021 else
40022 glibcxx_cv_func_fmodl_use=no
40024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40025 ac_ext=c
40026 ac_cpp='$CPP $CPPFLAGS'
40027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
40036 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
40038 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
40039 for ac_func in fmodl
40040 do :
40041 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
40042 if test "x$ac_cv_func_fmodl" = xyes; then :
40043 cat >>confdefs.h <<_ACEOF
40044 #define HAVE_FMODL 1
40045 _ACEOF
40048 done
40050 else
40052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
40053 $as_echo_n "checking for _fmodl declaration... " >&6; }
40054 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
40055 if ${glibcxx_cv_func__fmodl_use+:} false; then :
40056 $as_echo_n "(cached) " >&6
40057 else
40060 ac_ext=cpp
40061 ac_cpp='$CXXCPP $CPPFLAGS'
40062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40067 /* end confdefs.h. */
40068 #include <math.h>
40070 main ()
40072 _fmodl(0, 0);
40074 return 0;
40076 _ACEOF
40077 if ac_fn_cxx_try_compile "$LINENO"; then :
40078 glibcxx_cv_func__fmodl_use=yes
40079 else
40080 glibcxx_cv_func__fmodl_use=no
40082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40083 ac_ext=c
40084 ac_cpp='$CPP $CPPFLAGS'
40085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
40094 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
40096 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
40097 for ac_func in _fmodl
40098 do :
40099 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
40100 if test "x$ac_cv_func__fmodl" = xyes; then :
40101 cat >>confdefs.h <<_ACEOF
40102 #define HAVE__FMODL 1
40103 _ACEOF
40106 done
40115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
40116 $as_echo_n "checking for frexpl declaration... " >&6; }
40117 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
40118 if ${glibcxx_cv_func_frexpl_use+:} false; then :
40119 $as_echo_n "(cached) " >&6
40120 else
40123 ac_ext=cpp
40124 ac_cpp='$CXXCPP $CPPFLAGS'
40125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40130 /* end confdefs.h. */
40131 #include <math.h>
40133 main ()
40135 frexpl(0, 0);
40137 return 0;
40139 _ACEOF
40140 if ac_fn_cxx_try_compile "$LINENO"; then :
40141 glibcxx_cv_func_frexpl_use=yes
40142 else
40143 glibcxx_cv_func_frexpl_use=no
40145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40146 ac_ext=c
40147 ac_cpp='$CPP $CPPFLAGS'
40148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
40157 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
40159 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
40160 for ac_func in frexpl
40161 do :
40162 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
40163 if test "x$ac_cv_func_frexpl" = xyes; then :
40164 cat >>confdefs.h <<_ACEOF
40165 #define HAVE_FREXPL 1
40166 _ACEOF
40169 done
40171 else
40173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
40174 $as_echo_n "checking for _frexpl declaration... " >&6; }
40175 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
40176 if ${glibcxx_cv_func__frexpl_use+:} false; then :
40177 $as_echo_n "(cached) " >&6
40178 else
40181 ac_ext=cpp
40182 ac_cpp='$CXXCPP $CPPFLAGS'
40183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40188 /* end confdefs.h. */
40189 #include <math.h>
40191 main ()
40193 _frexpl(0, 0);
40195 return 0;
40197 _ACEOF
40198 if ac_fn_cxx_try_compile "$LINENO"; then :
40199 glibcxx_cv_func__frexpl_use=yes
40200 else
40201 glibcxx_cv_func__frexpl_use=no
40203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40204 ac_ext=c
40205 ac_cpp='$CPP $CPPFLAGS'
40206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
40215 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
40217 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
40218 for ac_func in _frexpl
40219 do :
40220 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
40221 if test "x$ac_cv_func__frexpl" = xyes; then :
40222 cat >>confdefs.h <<_ACEOF
40223 #define HAVE__FREXPL 1
40224 _ACEOF
40227 done
40236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
40237 $as_echo_n "checking for hypotl declaration... " >&6; }
40238 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
40239 if ${glibcxx_cv_func_hypotl_use+:} false; then :
40240 $as_echo_n "(cached) " >&6
40241 else
40244 ac_ext=cpp
40245 ac_cpp='$CXXCPP $CPPFLAGS'
40246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40251 /* end confdefs.h. */
40252 #include <math.h>
40254 main ()
40256 hypotl(0, 0);
40258 return 0;
40260 _ACEOF
40261 if ac_fn_cxx_try_compile "$LINENO"; then :
40262 glibcxx_cv_func_hypotl_use=yes
40263 else
40264 glibcxx_cv_func_hypotl_use=no
40266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40267 ac_ext=c
40268 ac_cpp='$CPP $CPPFLAGS'
40269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
40278 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
40280 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
40281 for ac_func in hypotl
40282 do :
40283 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
40284 if test "x$ac_cv_func_hypotl" = xyes; then :
40285 cat >>confdefs.h <<_ACEOF
40286 #define HAVE_HYPOTL 1
40287 _ACEOF
40290 done
40292 else
40294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
40295 $as_echo_n "checking for _hypotl declaration... " >&6; }
40296 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
40297 if ${glibcxx_cv_func__hypotl_use+:} false; then :
40298 $as_echo_n "(cached) " >&6
40299 else
40302 ac_ext=cpp
40303 ac_cpp='$CXXCPP $CPPFLAGS'
40304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40309 /* end confdefs.h. */
40310 #include <math.h>
40312 main ()
40314 _hypotl(0, 0);
40316 return 0;
40318 _ACEOF
40319 if ac_fn_cxx_try_compile "$LINENO"; then :
40320 glibcxx_cv_func__hypotl_use=yes
40321 else
40322 glibcxx_cv_func__hypotl_use=no
40324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40325 ac_ext=c
40326 ac_cpp='$CPP $CPPFLAGS'
40327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
40336 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
40338 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
40339 for ac_func in _hypotl
40340 do :
40341 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
40342 if test "x$ac_cv_func__hypotl" = xyes; then :
40343 cat >>confdefs.h <<_ACEOF
40344 #define HAVE__HYPOTL 1
40345 _ACEOF
40348 done
40357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
40358 $as_echo_n "checking for ldexpl declaration... " >&6; }
40359 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
40360 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
40361 $as_echo_n "(cached) " >&6
40362 else
40365 ac_ext=cpp
40366 ac_cpp='$CXXCPP $CPPFLAGS'
40367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40372 /* end confdefs.h. */
40373 #include <math.h>
40375 main ()
40377 ldexpl(0, 0);
40379 return 0;
40381 _ACEOF
40382 if ac_fn_cxx_try_compile "$LINENO"; then :
40383 glibcxx_cv_func_ldexpl_use=yes
40384 else
40385 glibcxx_cv_func_ldexpl_use=no
40387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40388 ac_ext=c
40389 ac_cpp='$CPP $CPPFLAGS'
40390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
40399 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
40401 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
40402 for ac_func in ldexpl
40403 do :
40404 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
40405 if test "x$ac_cv_func_ldexpl" = xyes; then :
40406 cat >>confdefs.h <<_ACEOF
40407 #define HAVE_LDEXPL 1
40408 _ACEOF
40411 done
40413 else
40415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
40416 $as_echo_n "checking for _ldexpl declaration... " >&6; }
40417 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
40418 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
40419 $as_echo_n "(cached) " >&6
40420 else
40423 ac_ext=cpp
40424 ac_cpp='$CXXCPP $CPPFLAGS'
40425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40430 /* end confdefs.h. */
40431 #include <math.h>
40433 main ()
40435 _ldexpl(0, 0);
40437 return 0;
40439 _ACEOF
40440 if ac_fn_cxx_try_compile "$LINENO"; then :
40441 glibcxx_cv_func__ldexpl_use=yes
40442 else
40443 glibcxx_cv_func__ldexpl_use=no
40445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40446 ac_ext=c
40447 ac_cpp='$CPP $CPPFLAGS'
40448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
40457 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
40459 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
40460 for ac_func in _ldexpl
40461 do :
40462 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
40463 if test "x$ac_cv_func__ldexpl" = xyes; then :
40464 cat >>confdefs.h <<_ACEOF
40465 #define HAVE__LDEXPL 1
40466 _ACEOF
40469 done
40478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
40479 $as_echo_n "checking for logl declaration... " >&6; }
40480 if test x${glibcxx_cv_func_logl_use+set} != xset; then
40481 if ${glibcxx_cv_func_logl_use+:} false; then :
40482 $as_echo_n "(cached) " >&6
40483 else
40486 ac_ext=cpp
40487 ac_cpp='$CXXCPP $CPPFLAGS'
40488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40493 /* end confdefs.h. */
40494 #include <math.h>
40495 #ifdef HAVE_IEEEFP_H
40496 #include <ieeefp.h>
40497 #endif
40500 main ()
40502 logl(0);
40504 return 0;
40506 _ACEOF
40507 if ac_fn_cxx_try_compile "$LINENO"; then :
40508 glibcxx_cv_func_logl_use=yes
40509 else
40510 glibcxx_cv_func_logl_use=no
40512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40513 ac_ext=c
40514 ac_cpp='$CPP $CPPFLAGS'
40515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
40524 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
40526 if test x$glibcxx_cv_func_logl_use = x"yes"; then
40527 for ac_func in logl
40528 do :
40529 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
40530 if test "x$ac_cv_func_logl" = xyes; then :
40531 cat >>confdefs.h <<_ACEOF
40532 #define HAVE_LOGL 1
40533 _ACEOF
40536 done
40538 else
40540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
40541 $as_echo_n "checking for _logl declaration... " >&6; }
40542 if test x${glibcxx_cv_func__logl_use+set} != xset; then
40543 if ${glibcxx_cv_func__logl_use+:} false; then :
40544 $as_echo_n "(cached) " >&6
40545 else
40548 ac_ext=cpp
40549 ac_cpp='$CXXCPP $CPPFLAGS'
40550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40555 /* end confdefs.h. */
40556 #include <math.h>
40557 #ifdef HAVE_IEEEFP_H
40558 #include <ieeefp.h>
40559 #endif
40562 main ()
40564 _logl(0);
40566 return 0;
40568 _ACEOF
40569 if ac_fn_cxx_try_compile "$LINENO"; then :
40570 glibcxx_cv_func__logl_use=yes
40571 else
40572 glibcxx_cv_func__logl_use=no
40574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40575 ac_ext=c
40576 ac_cpp='$CPP $CPPFLAGS'
40577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
40586 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
40588 if test x$glibcxx_cv_func__logl_use = x"yes"; then
40589 for ac_func in _logl
40590 do :
40591 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
40592 if test "x$ac_cv_func__logl" = xyes; then :
40593 cat >>confdefs.h <<_ACEOF
40594 #define HAVE__LOGL 1
40595 _ACEOF
40598 done
40607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
40608 $as_echo_n "checking for log10l declaration... " >&6; }
40609 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
40610 if ${glibcxx_cv_func_log10l_use+:} false; then :
40611 $as_echo_n "(cached) " >&6
40612 else
40615 ac_ext=cpp
40616 ac_cpp='$CXXCPP $CPPFLAGS'
40617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40622 /* end confdefs.h. */
40623 #include <math.h>
40624 #ifdef HAVE_IEEEFP_H
40625 #include <ieeefp.h>
40626 #endif
40629 main ()
40631 log10l(0);
40633 return 0;
40635 _ACEOF
40636 if ac_fn_cxx_try_compile "$LINENO"; then :
40637 glibcxx_cv_func_log10l_use=yes
40638 else
40639 glibcxx_cv_func_log10l_use=no
40641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40642 ac_ext=c
40643 ac_cpp='$CPP $CPPFLAGS'
40644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40653 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40655 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40656 for ac_func in log10l
40657 do :
40658 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40659 if test "x$ac_cv_func_log10l" = xyes; then :
40660 cat >>confdefs.h <<_ACEOF
40661 #define HAVE_LOG10L 1
40662 _ACEOF
40665 done
40667 else
40669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40670 $as_echo_n "checking for _log10l declaration... " >&6; }
40671 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40672 if ${glibcxx_cv_func__log10l_use+:} false; then :
40673 $as_echo_n "(cached) " >&6
40674 else
40677 ac_ext=cpp
40678 ac_cpp='$CXXCPP $CPPFLAGS'
40679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40684 /* end confdefs.h. */
40685 #include <math.h>
40686 #ifdef HAVE_IEEEFP_H
40687 #include <ieeefp.h>
40688 #endif
40691 main ()
40693 _log10l(0);
40695 return 0;
40697 _ACEOF
40698 if ac_fn_cxx_try_compile "$LINENO"; then :
40699 glibcxx_cv_func__log10l_use=yes
40700 else
40701 glibcxx_cv_func__log10l_use=no
40703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40704 ac_ext=c
40705 ac_cpp='$CPP $CPPFLAGS'
40706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40715 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40717 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40718 for ac_func in _log10l
40719 do :
40720 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40721 if test "x$ac_cv_func__log10l" = xyes; then :
40722 cat >>confdefs.h <<_ACEOF
40723 #define HAVE__LOG10L 1
40724 _ACEOF
40727 done
40736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40737 $as_echo_n "checking for modfl declaration... " >&6; }
40738 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40739 if ${glibcxx_cv_func_modfl_use+:} false; then :
40740 $as_echo_n "(cached) " >&6
40741 else
40744 ac_ext=cpp
40745 ac_cpp='$CXXCPP $CPPFLAGS'
40746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40751 /* end confdefs.h. */
40752 #include <math.h>
40754 main ()
40756 modfl(0, 0);
40758 return 0;
40760 _ACEOF
40761 if ac_fn_cxx_try_compile "$LINENO"; then :
40762 glibcxx_cv_func_modfl_use=yes
40763 else
40764 glibcxx_cv_func_modfl_use=no
40766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40767 ac_ext=c
40768 ac_cpp='$CPP $CPPFLAGS'
40769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40778 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40780 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40781 for ac_func in modfl
40782 do :
40783 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40784 if test "x$ac_cv_func_modfl" = xyes; then :
40785 cat >>confdefs.h <<_ACEOF
40786 #define HAVE_MODFL 1
40787 _ACEOF
40790 done
40792 else
40794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40795 $as_echo_n "checking for _modfl declaration... " >&6; }
40796 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40797 if ${glibcxx_cv_func__modfl_use+:} false; then :
40798 $as_echo_n "(cached) " >&6
40799 else
40802 ac_ext=cpp
40803 ac_cpp='$CXXCPP $CPPFLAGS'
40804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40809 /* end confdefs.h. */
40810 #include <math.h>
40812 main ()
40814 _modfl(0, 0);
40816 return 0;
40818 _ACEOF
40819 if ac_fn_cxx_try_compile "$LINENO"; then :
40820 glibcxx_cv_func__modfl_use=yes
40821 else
40822 glibcxx_cv_func__modfl_use=no
40824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40825 ac_ext=c
40826 ac_cpp='$CPP $CPPFLAGS'
40827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40836 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40838 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40839 for ac_func in _modfl
40840 do :
40841 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40842 if test "x$ac_cv_func__modfl" = xyes; then :
40843 cat >>confdefs.h <<_ACEOF
40844 #define HAVE__MODFL 1
40845 _ACEOF
40848 done
40857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40858 $as_echo_n "checking for powl declaration... " >&6; }
40859 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40860 if ${glibcxx_cv_func_powl_use+:} false; then :
40861 $as_echo_n "(cached) " >&6
40862 else
40865 ac_ext=cpp
40866 ac_cpp='$CXXCPP $CPPFLAGS'
40867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40872 /* end confdefs.h. */
40873 #include <math.h>
40875 main ()
40877 powl(0, 0);
40879 return 0;
40881 _ACEOF
40882 if ac_fn_cxx_try_compile "$LINENO"; then :
40883 glibcxx_cv_func_powl_use=yes
40884 else
40885 glibcxx_cv_func_powl_use=no
40887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40888 ac_ext=c
40889 ac_cpp='$CPP $CPPFLAGS'
40890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40899 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
40901 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40902 for ac_func in powl
40903 do :
40904 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40905 if test "x$ac_cv_func_powl" = xyes; then :
40906 cat >>confdefs.h <<_ACEOF
40907 #define HAVE_POWL 1
40908 _ACEOF
40911 done
40913 else
40915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40916 $as_echo_n "checking for _powl declaration... " >&6; }
40917 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40918 if ${glibcxx_cv_func__powl_use+:} false; then :
40919 $as_echo_n "(cached) " >&6
40920 else
40923 ac_ext=cpp
40924 ac_cpp='$CXXCPP $CPPFLAGS'
40925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40930 /* end confdefs.h. */
40931 #include <math.h>
40933 main ()
40935 _powl(0, 0);
40937 return 0;
40939 _ACEOF
40940 if ac_fn_cxx_try_compile "$LINENO"; then :
40941 glibcxx_cv_func__powl_use=yes
40942 else
40943 glibcxx_cv_func__powl_use=no
40945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40946 ac_ext=c
40947 ac_cpp='$CPP $CPPFLAGS'
40948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40957 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40959 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40960 for ac_func in _powl
40961 do :
40962 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40963 if test "x$ac_cv_func__powl" = xyes; then :
40964 cat >>confdefs.h <<_ACEOF
40965 #define HAVE__POWL 1
40966 _ACEOF
40969 done
40978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40979 $as_echo_n "checking for sqrtl declaration... " >&6; }
40980 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40981 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
40982 $as_echo_n "(cached) " >&6
40983 else
40986 ac_ext=cpp
40987 ac_cpp='$CXXCPP $CPPFLAGS'
40988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40993 /* end confdefs.h. */
40994 #include <math.h>
40995 #ifdef HAVE_IEEEFP_H
40996 #include <ieeefp.h>
40997 #endif
41000 main ()
41002 sqrtl(0);
41004 return 0;
41006 _ACEOF
41007 if ac_fn_cxx_try_compile "$LINENO"; then :
41008 glibcxx_cv_func_sqrtl_use=yes
41009 else
41010 glibcxx_cv_func_sqrtl_use=no
41012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41013 ac_ext=c
41014 ac_cpp='$CPP $CPPFLAGS'
41015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
41024 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
41026 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
41027 for ac_func in sqrtl
41028 do :
41029 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
41030 if test "x$ac_cv_func_sqrtl" = xyes; then :
41031 cat >>confdefs.h <<_ACEOF
41032 #define HAVE_SQRTL 1
41033 _ACEOF
41036 done
41038 else
41040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
41041 $as_echo_n "checking for _sqrtl declaration... " >&6; }
41042 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
41043 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
41044 $as_echo_n "(cached) " >&6
41045 else
41048 ac_ext=cpp
41049 ac_cpp='$CXXCPP $CPPFLAGS'
41050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41055 /* end confdefs.h. */
41056 #include <math.h>
41057 #ifdef HAVE_IEEEFP_H
41058 #include <ieeefp.h>
41059 #endif
41062 main ()
41064 _sqrtl(0);
41066 return 0;
41068 _ACEOF
41069 if ac_fn_cxx_try_compile "$LINENO"; then :
41070 glibcxx_cv_func__sqrtl_use=yes
41071 else
41072 glibcxx_cv_func__sqrtl_use=no
41074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41075 ac_ext=c
41076 ac_cpp='$CPP $CPPFLAGS'
41077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
41086 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
41088 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
41089 for ac_func in _sqrtl
41090 do :
41091 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
41092 if test "x$ac_cv_func__sqrtl" = xyes; then :
41093 cat >>confdefs.h <<_ACEOF
41094 #define HAVE__SQRTL 1
41095 _ACEOF
41098 done
41107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
41108 $as_echo_n "checking for sincosl declaration... " >&6; }
41109 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
41110 if ${glibcxx_cv_func_sincosl_use+:} false; then :
41111 $as_echo_n "(cached) " >&6
41112 else
41115 ac_ext=cpp
41116 ac_cpp='$CXXCPP $CPPFLAGS'
41117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41122 /* end confdefs.h. */
41123 #include <math.h>
41125 main ()
41127 sincosl(0, 0, 0);
41129 return 0;
41131 _ACEOF
41132 if ac_fn_cxx_try_compile "$LINENO"; then :
41133 glibcxx_cv_func_sincosl_use=yes
41134 else
41135 glibcxx_cv_func_sincosl_use=no
41137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41138 ac_ext=c
41139 ac_cpp='$CPP $CPPFLAGS'
41140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
41149 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
41151 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
41152 for ac_func in sincosl
41153 do :
41154 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
41155 if test "x$ac_cv_func_sincosl" = xyes; then :
41156 cat >>confdefs.h <<_ACEOF
41157 #define HAVE_SINCOSL 1
41158 _ACEOF
41161 done
41163 else
41165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
41166 $as_echo_n "checking for _sincosl declaration... " >&6; }
41167 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
41168 if ${glibcxx_cv_func__sincosl_use+:} false; then :
41169 $as_echo_n "(cached) " >&6
41170 else
41173 ac_ext=cpp
41174 ac_cpp='$CXXCPP $CPPFLAGS'
41175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41180 /* end confdefs.h. */
41181 #include <math.h>
41183 main ()
41185 _sincosl(0, 0, 0);
41187 return 0;
41189 _ACEOF
41190 if ac_fn_cxx_try_compile "$LINENO"; then :
41191 glibcxx_cv_func__sincosl_use=yes
41192 else
41193 glibcxx_cv_func__sincosl_use=no
41195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41196 ac_ext=c
41197 ac_cpp='$CPP $CPPFLAGS'
41198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
41207 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
41209 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
41210 for ac_func in _sincosl
41211 do :
41212 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
41213 if test "x$ac_cv_func__sincosl" = xyes; then :
41214 cat >>confdefs.h <<_ACEOF
41215 #define HAVE__SINCOSL 1
41216 _ACEOF
41219 done
41228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
41229 $as_echo_n "checking for finitel declaration... " >&6; }
41230 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
41231 if ${glibcxx_cv_func_finitel_use+:} false; then :
41232 $as_echo_n "(cached) " >&6
41233 else
41236 ac_ext=cpp
41237 ac_cpp='$CXXCPP $CPPFLAGS'
41238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41243 /* end confdefs.h. */
41244 #include <math.h>
41245 #ifdef HAVE_IEEEFP_H
41246 #include <ieeefp.h>
41247 #endif
41250 main ()
41252 finitel(0);
41254 return 0;
41256 _ACEOF
41257 if ac_fn_cxx_try_compile "$LINENO"; then :
41258 glibcxx_cv_func_finitel_use=yes
41259 else
41260 glibcxx_cv_func_finitel_use=no
41262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41263 ac_ext=c
41264 ac_cpp='$CPP $CPPFLAGS'
41265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
41274 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
41276 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
41277 for ac_func in finitel
41278 do :
41279 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
41280 if test "x$ac_cv_func_finitel" = xyes; then :
41281 cat >>confdefs.h <<_ACEOF
41282 #define HAVE_FINITEL 1
41283 _ACEOF
41286 done
41288 else
41290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
41291 $as_echo_n "checking for _finitel declaration... " >&6; }
41292 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
41293 if ${glibcxx_cv_func__finitel_use+:} false; then :
41294 $as_echo_n "(cached) " >&6
41295 else
41298 ac_ext=cpp
41299 ac_cpp='$CXXCPP $CPPFLAGS'
41300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41305 /* end confdefs.h. */
41306 #include <math.h>
41307 #ifdef HAVE_IEEEFP_H
41308 #include <ieeefp.h>
41309 #endif
41312 main ()
41314 _finitel(0);
41316 return 0;
41318 _ACEOF
41319 if ac_fn_cxx_try_compile "$LINENO"; then :
41320 glibcxx_cv_func__finitel_use=yes
41321 else
41322 glibcxx_cv_func__finitel_use=no
41324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41325 ac_ext=c
41326 ac_cpp='$CPP $CPPFLAGS'
41327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
41336 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
41338 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
41339 for ac_func in _finitel
41340 do :
41341 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
41342 if test "x$ac_cv_func__finitel" = xyes; then :
41343 cat >>confdefs.h <<_ACEOF
41344 #define HAVE__FINITEL 1
41345 _ACEOF
41348 done
41356 LIBS="$ac_save_LIBS"
41357 CXXFLAGS="$ac_save_CXXFLAGS"
41360 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41361 ac_save_CXXFLAGS="$CXXFLAGS"
41362 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
41366 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
41367 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
41368 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
41369 $as_echo_n "(cached) " >&6
41370 else
41373 ac_ext=cpp
41374 ac_cpp='$CXXCPP $CPPFLAGS'
41375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41380 /* end confdefs.h. */
41381 #include <stdlib.h>
41383 main ()
41385 at_quick_exit(0);
41387 return 0;
41389 _ACEOF
41390 if ac_fn_cxx_try_compile "$LINENO"; then :
41391 glibcxx_cv_func_at_quick_exit_use=yes
41392 else
41393 glibcxx_cv_func_at_quick_exit_use=no
41395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41396 ac_ext=c
41397 ac_cpp='$CPP $CPPFLAGS'
41398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
41407 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
41408 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
41409 for ac_func in at_quick_exit
41410 do :
41411 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
41412 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
41413 cat >>confdefs.h <<_ACEOF
41414 #define HAVE_AT_QUICK_EXIT 1
41415 _ACEOF
41418 done
41423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
41424 $as_echo_n "checking for quick_exit declaration... " >&6; }
41425 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
41426 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
41427 $as_echo_n "(cached) " >&6
41428 else
41431 ac_ext=cpp
41432 ac_cpp='$CXXCPP $CPPFLAGS'
41433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41438 /* end confdefs.h. */
41439 #include <stdlib.h>
41441 main ()
41443 quick_exit(0);
41445 return 0;
41447 _ACEOF
41448 if ac_fn_cxx_try_compile "$LINENO"; then :
41449 glibcxx_cv_func_quick_exit_use=yes
41450 else
41451 glibcxx_cv_func_quick_exit_use=no
41453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41454 ac_ext=c
41455 ac_cpp='$CPP $CPPFLAGS'
41456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
41465 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
41466 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
41467 for ac_func in quick_exit
41468 do :
41469 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
41470 if test "x$ac_cv_func_quick_exit" = xyes; then :
41471 cat >>confdefs.h <<_ACEOF
41472 #define HAVE_QUICK_EXIT 1
41473 _ACEOF
41476 done
41481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
41482 $as_echo_n "checking for strtold declaration... " >&6; }
41483 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
41484 if ${glibcxx_cv_func_strtold_use+:} false; then :
41485 $as_echo_n "(cached) " >&6
41486 else
41489 ac_ext=cpp
41490 ac_cpp='$CXXCPP $CPPFLAGS'
41491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41496 /* end confdefs.h. */
41497 #include <stdlib.h>
41499 main ()
41501 strtold(0, 0);
41503 return 0;
41505 _ACEOF
41506 if ac_fn_cxx_try_compile "$LINENO"; then :
41507 glibcxx_cv_func_strtold_use=yes
41508 else
41509 glibcxx_cv_func_strtold_use=no
41511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41512 ac_ext=c
41513 ac_cpp='$CPP $CPPFLAGS'
41514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
41523 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
41524 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
41525 for ac_func in strtold
41526 do :
41527 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
41528 if test "x$ac_cv_func_strtold" = xyes; then :
41529 cat >>confdefs.h <<_ACEOF
41530 #define HAVE_STRTOLD 1
41531 _ACEOF
41534 done
41541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
41542 $as_echo_n "checking for strtof declaration... " >&6; }
41543 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
41544 if ${glibcxx_cv_func_strtof_use+:} false; then :
41545 $as_echo_n "(cached) " >&6
41546 else
41549 ac_ext=cpp
41550 ac_cpp='$CXXCPP $CPPFLAGS'
41551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41556 /* end confdefs.h. */
41557 #include <stdlib.h>
41559 main ()
41561 strtof(0, 0);
41563 return 0;
41565 _ACEOF
41566 if ac_fn_cxx_try_compile "$LINENO"; then :
41567 glibcxx_cv_func_strtof_use=yes
41568 else
41569 glibcxx_cv_func_strtof_use=no
41571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41572 ac_ext=c
41573 ac_cpp='$CPP $CPPFLAGS'
41574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
41583 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
41584 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
41585 for ac_func in strtof
41586 do :
41587 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
41588 if test "x$ac_cv_func_strtof" = xyes; then :
41589 cat >>confdefs.h <<_ACEOF
41590 #define HAVE_STRTOF 1
41591 _ACEOF
41594 done
41601 CXXFLAGS="$ac_save_CXXFLAGS"
41603 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
41605 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
41607 # We don't yet support AIX's TLS ABI.
41608 #GCC_CHECK_TLS
41614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
41615 $as_echo_n "checking for iconv... " >&6; }
41616 if ${am_cv_func_iconv+:} false; then :
41617 $as_echo_n "(cached) " >&6
41618 else
41620 am_cv_func_iconv="no, consider installing GNU libiconv"
41621 am_cv_lib_iconv=no
41622 am_save_CPPFLAGS="$CPPFLAGS"
41623 CPPFLAGS="$CPPFLAGS $INCICONV"
41624 if test x$gcc_no_link = xyes; then
41625 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41628 /* end confdefs.h. */
41629 #include <stdlib.h>
41630 #include <iconv.h>
41632 main ()
41634 iconv_t cd = iconv_open("","");
41635 iconv(cd,NULL,NULL,NULL,NULL);
41636 iconv_close(cd);
41638 return 0;
41640 _ACEOF
41641 if ac_fn_c_try_link "$LINENO"; then :
41642 am_cv_func_iconv=yes
41644 rm -f core conftest.err conftest.$ac_objext \
41645 conftest$ac_exeext conftest.$ac_ext
41646 CPPFLAGS="$am_save_CPPFLAGS"
41648 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41649 for _libs in .libs _libs; do
41650 am_save_CPPFLAGS="$CPPFLAGS"
41651 am_save_LIBS="$LIBS"
41652 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41653 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41654 if test x$gcc_no_link = xyes; then
41655 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41658 /* end confdefs.h. */
41659 #include <stdlib.h>
41660 #include <iconv.h>
41662 main ()
41664 iconv_t cd = iconv_open("","");
41665 iconv(cd,NULL,NULL,NULL,NULL);
41666 iconv_close(cd);
41668 return 0;
41670 _ACEOF
41671 if ac_fn_c_try_link "$LINENO"; then :
41672 INCICONV="-I../libiconv/include"
41673 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41674 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41675 am_cv_lib_iconv=yes
41676 am_cv_func_iconv=yes
41678 rm -f core conftest.err conftest.$ac_objext \
41679 conftest$ac_exeext conftest.$ac_ext
41680 CPPFLAGS="$am_save_CPPFLAGS"
41681 LIBS="$am_save_LIBS"
41682 if test "$am_cv_func_iconv" = "yes"; then
41683 break
41685 done
41688 if test "$am_cv_func_iconv" != yes; then
41689 am_save_CPPFLAGS="$CPPFLAGS"
41690 am_save_LIBS="$LIBS"
41691 CPPFLAGS="$CPPFLAGS $INCICONV"
41692 LIBS="$LIBS $LIBICONV"
41693 if test x$gcc_no_link = xyes; then
41694 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41697 /* end confdefs.h. */
41698 #include <stdlib.h>
41699 #include <iconv.h>
41701 main ()
41703 iconv_t cd = iconv_open("","");
41704 iconv(cd,NULL,NULL,NULL,NULL);
41705 iconv_close(cd);
41707 return 0;
41709 _ACEOF
41710 if ac_fn_c_try_link "$LINENO"; then :
41711 am_cv_lib_iconv=yes
41712 am_cv_func_iconv=yes
41714 rm -f core conftest.err conftest.$ac_objext \
41715 conftest$ac_exeext conftest.$ac_ext
41716 CPPFLAGS="$am_save_CPPFLAGS"
41717 LIBS="$am_save_LIBS"
41721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41722 $as_echo "$am_cv_func_iconv" >&6; }
41723 if test "$am_cv_func_iconv" = yes; then
41725 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
41728 if test "$am_cv_lib_iconv" = yes; then
41730 for element in $INCICONV; do
41731 haveit=
41732 for x in $CPPFLAGS; do
41734 acl_save_prefix="$prefix"
41735 prefix="$acl_final_prefix"
41736 acl_save_exec_prefix="$exec_prefix"
41737 exec_prefix="$acl_final_exec_prefix"
41738 eval x=\"$x\"
41739 exec_prefix="$acl_save_exec_prefix"
41740 prefix="$acl_save_prefix"
41742 if test "X$x" = "X$element"; then
41743 haveit=yes
41744 break
41746 done
41747 if test -z "$haveit"; then
41748 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41750 done
41752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41753 $as_echo_n "checking how to link with libiconv... " >&6; }
41754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41755 $as_echo "$LIBICONV" >&6; }
41756 else
41757 LIBICONV=
41758 LTLIBICONV=
41763 if test "$am_cv_func_iconv" = yes; then
41764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41765 $as_echo_n "checking for iconv declaration... " >&6; }
41766 if ${am_cv_proto_iconv+:} false; then :
41767 $as_echo_n "(cached) " >&6
41768 else
41770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41771 /* end confdefs.h. */
41773 #include <stdlib.h>
41774 #include <iconv.h>
41775 extern
41776 #ifdef __cplusplus
41778 #endif
41779 #if defined(__STDC__) || defined(__cplusplus)
41780 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41781 #else
41782 size_t iconv();
41783 #endif
41786 main ()
41790 return 0;
41792 _ACEOF
41793 if ac_fn_c_try_compile "$LINENO"; then :
41794 am_cv_proto_iconv_arg1=""
41795 else
41796 am_cv_proto_iconv_arg1="const"
41798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41799 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);"
41802 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41804 }$am_cv_proto_iconv" >&5
41805 $as_echo "${ac_t:-
41806 }$am_cv_proto_iconv" >&6; }
41808 cat >>confdefs.h <<_ACEOF
41809 #define ICONV_CONST $am_cv_proto_iconv_arg1
41810 _ACEOF
41815 $as_echo "#define HAVE_USELOCALE 1" >>confdefs.h
41819 *-darwin*)
41820 # Darwin versions vary, but the linker should work in a cross environment,
41821 # so we just check for all the features here.
41822 # Check for available headers.
41824 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
41826 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41827 ac_save_CXXFLAGS="$CXXFLAGS"
41828 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41831 $as_echo_n "checking for sin in -lm... " >&6; }
41832 if ${ac_cv_lib_m_sin+:} false; then :
41833 $as_echo_n "(cached) " >&6
41834 else
41835 ac_check_lib_save_LIBS=$LIBS
41836 LIBS="-lm $LIBS"
41837 if test x$gcc_no_link = xyes; then
41838 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41841 /* end confdefs.h. */
41843 /* Override any GCC internal prototype to avoid an error.
41844 Use char because int might match the return type of a GCC
41845 builtin and then its argument prototype would still apply. */
41846 #ifdef __cplusplus
41847 extern "C"
41848 #endif
41849 char sin ();
41851 main ()
41853 return sin ();
41855 return 0;
41857 _ACEOF
41858 if ac_fn_c_try_link "$LINENO"; then :
41859 ac_cv_lib_m_sin=yes
41860 else
41861 ac_cv_lib_m_sin=no
41863 rm -f core conftest.err conftest.$ac_objext \
41864 conftest$ac_exeext conftest.$ac_ext
41865 LIBS=$ac_check_lib_save_LIBS
41867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41868 $as_echo "$ac_cv_lib_m_sin" >&6; }
41869 if test "x$ac_cv_lib_m_sin" = xyes; then :
41870 libm="-lm"
41873 ac_save_LIBS="$LIBS"
41874 LIBS="$LIBS $libm"
41878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41879 $as_echo_n "checking for isinf declaration... " >&6; }
41880 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41881 if ${glibcxx_cv_func_isinf_use+:} false; then :
41882 $as_echo_n "(cached) " >&6
41883 else
41886 ac_ext=cpp
41887 ac_cpp='$CXXCPP $CPPFLAGS'
41888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41893 /* end confdefs.h. */
41894 #include <math.h>
41895 #ifdef HAVE_IEEEFP_H
41896 #include <ieeefp.h>
41897 #endif
41900 main ()
41902 isinf(0);
41904 return 0;
41906 _ACEOF
41907 if ac_fn_cxx_try_compile "$LINENO"; then :
41908 glibcxx_cv_func_isinf_use=yes
41909 else
41910 glibcxx_cv_func_isinf_use=no
41912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41913 ac_ext=c
41914 ac_cpp='$CPP $CPPFLAGS'
41915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41924 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41926 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41927 for ac_func in isinf
41928 do :
41929 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41930 if test "x$ac_cv_func_isinf" = xyes; then :
41931 cat >>confdefs.h <<_ACEOF
41932 #define HAVE_ISINF 1
41933 _ACEOF
41936 done
41938 else
41940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41941 $as_echo_n "checking for _isinf declaration... " >&6; }
41942 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41943 if ${glibcxx_cv_func__isinf_use+:} false; then :
41944 $as_echo_n "(cached) " >&6
41945 else
41948 ac_ext=cpp
41949 ac_cpp='$CXXCPP $CPPFLAGS'
41950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41955 /* end confdefs.h. */
41956 #include <math.h>
41957 #ifdef HAVE_IEEEFP_H
41958 #include <ieeefp.h>
41959 #endif
41962 main ()
41964 _isinf(0);
41966 return 0;
41968 _ACEOF
41969 if ac_fn_cxx_try_compile "$LINENO"; then :
41970 glibcxx_cv_func__isinf_use=yes
41971 else
41972 glibcxx_cv_func__isinf_use=no
41974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41975 ac_ext=c
41976 ac_cpp='$CPP $CPPFLAGS'
41977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41986 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41988 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41989 for ac_func in _isinf
41990 do :
41991 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41992 if test "x$ac_cv_func__isinf" = xyes; then :
41993 cat >>confdefs.h <<_ACEOF
41994 #define HAVE__ISINF 1
41995 _ACEOF
41998 done
42007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
42008 $as_echo_n "checking for isnan declaration... " >&6; }
42009 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
42010 if ${glibcxx_cv_func_isnan_use+:} false; then :
42011 $as_echo_n "(cached) " >&6
42012 else
42015 ac_ext=cpp
42016 ac_cpp='$CXXCPP $CPPFLAGS'
42017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42022 /* end confdefs.h. */
42023 #include <math.h>
42024 #ifdef HAVE_IEEEFP_H
42025 #include <ieeefp.h>
42026 #endif
42029 main ()
42031 isnan(0);
42033 return 0;
42035 _ACEOF
42036 if ac_fn_cxx_try_compile "$LINENO"; then :
42037 glibcxx_cv_func_isnan_use=yes
42038 else
42039 glibcxx_cv_func_isnan_use=no
42041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42042 ac_ext=c
42043 ac_cpp='$CPP $CPPFLAGS'
42044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
42053 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
42055 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
42056 for ac_func in isnan
42057 do :
42058 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
42059 if test "x$ac_cv_func_isnan" = xyes; then :
42060 cat >>confdefs.h <<_ACEOF
42061 #define HAVE_ISNAN 1
42062 _ACEOF
42065 done
42067 else
42069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
42070 $as_echo_n "checking for _isnan declaration... " >&6; }
42071 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
42072 if ${glibcxx_cv_func__isnan_use+:} false; then :
42073 $as_echo_n "(cached) " >&6
42074 else
42077 ac_ext=cpp
42078 ac_cpp='$CXXCPP $CPPFLAGS'
42079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42084 /* end confdefs.h. */
42085 #include <math.h>
42086 #ifdef HAVE_IEEEFP_H
42087 #include <ieeefp.h>
42088 #endif
42091 main ()
42093 _isnan(0);
42095 return 0;
42097 _ACEOF
42098 if ac_fn_cxx_try_compile "$LINENO"; then :
42099 glibcxx_cv_func__isnan_use=yes
42100 else
42101 glibcxx_cv_func__isnan_use=no
42103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42104 ac_ext=c
42105 ac_cpp='$CPP $CPPFLAGS'
42106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
42115 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
42117 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
42118 for ac_func in _isnan
42119 do :
42120 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
42121 if test "x$ac_cv_func__isnan" = xyes; then :
42122 cat >>confdefs.h <<_ACEOF
42123 #define HAVE__ISNAN 1
42124 _ACEOF
42127 done
42136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
42137 $as_echo_n "checking for finite declaration... " >&6; }
42138 if test x${glibcxx_cv_func_finite_use+set} != xset; then
42139 if ${glibcxx_cv_func_finite_use+:} false; then :
42140 $as_echo_n "(cached) " >&6
42141 else
42144 ac_ext=cpp
42145 ac_cpp='$CXXCPP $CPPFLAGS'
42146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42151 /* end confdefs.h. */
42152 #include <math.h>
42153 #ifdef HAVE_IEEEFP_H
42154 #include <ieeefp.h>
42155 #endif
42158 main ()
42160 finite(0);
42162 return 0;
42164 _ACEOF
42165 if ac_fn_cxx_try_compile "$LINENO"; then :
42166 glibcxx_cv_func_finite_use=yes
42167 else
42168 glibcxx_cv_func_finite_use=no
42170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42171 ac_ext=c
42172 ac_cpp='$CPP $CPPFLAGS'
42173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
42182 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
42184 if test x$glibcxx_cv_func_finite_use = x"yes"; then
42185 for ac_func in finite
42186 do :
42187 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
42188 if test "x$ac_cv_func_finite" = xyes; then :
42189 cat >>confdefs.h <<_ACEOF
42190 #define HAVE_FINITE 1
42191 _ACEOF
42194 done
42196 else
42198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
42199 $as_echo_n "checking for _finite declaration... " >&6; }
42200 if test x${glibcxx_cv_func__finite_use+set} != xset; then
42201 if ${glibcxx_cv_func__finite_use+:} false; then :
42202 $as_echo_n "(cached) " >&6
42203 else
42206 ac_ext=cpp
42207 ac_cpp='$CXXCPP $CPPFLAGS'
42208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42213 /* end confdefs.h. */
42214 #include <math.h>
42215 #ifdef HAVE_IEEEFP_H
42216 #include <ieeefp.h>
42217 #endif
42220 main ()
42222 _finite(0);
42224 return 0;
42226 _ACEOF
42227 if ac_fn_cxx_try_compile "$LINENO"; then :
42228 glibcxx_cv_func__finite_use=yes
42229 else
42230 glibcxx_cv_func__finite_use=no
42232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42233 ac_ext=c
42234 ac_cpp='$CPP $CPPFLAGS'
42235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
42244 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
42246 if test x$glibcxx_cv_func__finite_use = x"yes"; then
42247 for ac_func in _finite
42248 do :
42249 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
42250 if test "x$ac_cv_func__finite" = xyes; then :
42251 cat >>confdefs.h <<_ACEOF
42252 #define HAVE__FINITE 1
42253 _ACEOF
42256 done
42265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
42266 $as_echo_n "checking for sincos declaration... " >&6; }
42267 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
42268 if ${glibcxx_cv_func_sincos_use+:} false; then :
42269 $as_echo_n "(cached) " >&6
42270 else
42273 ac_ext=cpp
42274 ac_cpp='$CXXCPP $CPPFLAGS'
42275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42280 /* end confdefs.h. */
42281 #include <math.h>
42283 main ()
42285 sincos(0, 0, 0);
42287 return 0;
42289 _ACEOF
42290 if ac_fn_cxx_try_compile "$LINENO"; then :
42291 glibcxx_cv_func_sincos_use=yes
42292 else
42293 glibcxx_cv_func_sincos_use=no
42295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42296 ac_ext=c
42297 ac_cpp='$CPP $CPPFLAGS'
42298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
42307 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
42309 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
42310 for ac_func in sincos
42311 do :
42312 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
42313 if test "x$ac_cv_func_sincos" = xyes; then :
42314 cat >>confdefs.h <<_ACEOF
42315 #define HAVE_SINCOS 1
42316 _ACEOF
42319 done
42321 else
42323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
42324 $as_echo_n "checking for _sincos declaration... " >&6; }
42325 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
42326 if ${glibcxx_cv_func__sincos_use+:} false; then :
42327 $as_echo_n "(cached) " >&6
42328 else
42331 ac_ext=cpp
42332 ac_cpp='$CXXCPP $CPPFLAGS'
42333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42338 /* end confdefs.h. */
42339 #include <math.h>
42341 main ()
42343 _sincos(0, 0, 0);
42345 return 0;
42347 _ACEOF
42348 if ac_fn_cxx_try_compile "$LINENO"; then :
42349 glibcxx_cv_func__sincos_use=yes
42350 else
42351 glibcxx_cv_func__sincos_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__sincos_use" >&5
42365 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
42367 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
42368 for ac_func in _sincos
42369 do :
42370 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
42371 if test "x$ac_cv_func__sincos" = xyes; then :
42372 cat >>confdefs.h <<_ACEOF
42373 #define HAVE__SINCOS 1
42374 _ACEOF
42377 done
42386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
42387 $as_echo_n "checking for fpclass declaration... " >&6; }
42388 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
42389 if ${glibcxx_cv_func_fpclass_use+:} false; then :
42390 $as_echo_n "(cached) " >&6
42391 else
42394 ac_ext=cpp
42395 ac_cpp='$CXXCPP $CPPFLAGS'
42396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42401 /* end confdefs.h. */
42402 #include <math.h>
42403 #ifdef HAVE_IEEEFP_H
42404 #include <ieeefp.h>
42405 #endif
42408 main ()
42410 fpclass(0);
42412 return 0;
42414 _ACEOF
42415 if ac_fn_cxx_try_compile "$LINENO"; then :
42416 glibcxx_cv_func_fpclass_use=yes
42417 else
42418 glibcxx_cv_func_fpclass_use=no
42420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42421 ac_ext=c
42422 ac_cpp='$CPP $CPPFLAGS'
42423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
42432 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
42434 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
42435 for ac_func in fpclass
42436 do :
42437 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
42438 if test "x$ac_cv_func_fpclass" = xyes; then :
42439 cat >>confdefs.h <<_ACEOF
42440 #define HAVE_FPCLASS 1
42441 _ACEOF
42444 done
42446 else
42448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
42449 $as_echo_n "checking for _fpclass declaration... " >&6; }
42450 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
42451 if ${glibcxx_cv_func__fpclass_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>
42465 #ifdef HAVE_IEEEFP_H
42466 #include <ieeefp.h>
42467 #endif
42470 main ()
42472 _fpclass(0);
42474 return 0;
42476 _ACEOF
42477 if ac_fn_cxx_try_compile "$LINENO"; then :
42478 glibcxx_cv_func__fpclass_use=yes
42479 else
42480 glibcxx_cv_func__fpclass_use=no
42482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42483 ac_ext=c
42484 ac_cpp='$CPP $CPPFLAGS'
42485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
42494 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
42496 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
42497 for ac_func in _fpclass
42498 do :
42499 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
42500 if test "x$ac_cv_func__fpclass" = xyes; then :
42501 cat >>confdefs.h <<_ACEOF
42502 #define HAVE__FPCLASS 1
42503 _ACEOF
42506 done
42515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42516 $as_echo_n "checking for qfpclass declaration... " >&6; }
42517 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42518 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
42519 $as_echo_n "(cached) " >&6
42520 else
42523 ac_ext=cpp
42524 ac_cpp='$CXXCPP $CPPFLAGS'
42525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42530 /* end confdefs.h. */
42531 #include <math.h>
42532 #ifdef HAVE_IEEEFP_H
42533 #include <ieeefp.h>
42534 #endif
42537 main ()
42539 qfpclass(0);
42541 return 0;
42543 _ACEOF
42544 if ac_fn_cxx_try_compile "$LINENO"; then :
42545 glibcxx_cv_func_qfpclass_use=yes
42546 else
42547 glibcxx_cv_func_qfpclass_use=no
42549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42550 ac_ext=c
42551 ac_cpp='$CPP $CPPFLAGS'
42552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42561 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42563 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42564 for ac_func in qfpclass
42565 do :
42566 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42567 if test "x$ac_cv_func_qfpclass" = xyes; then :
42568 cat >>confdefs.h <<_ACEOF
42569 #define HAVE_QFPCLASS 1
42570 _ACEOF
42573 done
42575 else
42577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42578 $as_echo_n "checking for _qfpclass declaration... " >&6; }
42579 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42580 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
42581 $as_echo_n "(cached) " >&6
42582 else
42585 ac_ext=cpp
42586 ac_cpp='$CXXCPP $CPPFLAGS'
42587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42592 /* end confdefs.h. */
42593 #include <math.h>
42594 #ifdef HAVE_IEEEFP_H
42595 #include <ieeefp.h>
42596 #endif
42599 main ()
42601 _qfpclass(0);
42603 return 0;
42605 _ACEOF
42606 if ac_fn_cxx_try_compile "$LINENO"; then :
42607 glibcxx_cv_func__qfpclass_use=yes
42608 else
42609 glibcxx_cv_func__qfpclass_use=no
42611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42612 ac_ext=c
42613 ac_cpp='$CPP $CPPFLAGS'
42614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42623 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42625 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42626 for ac_func in _qfpclass
42627 do :
42628 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42629 if test "x$ac_cv_func__qfpclass" = xyes; then :
42630 cat >>confdefs.h <<_ACEOF
42631 #define HAVE__QFPCLASS 1
42632 _ACEOF
42635 done
42644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42645 $as_echo_n "checking for hypot declaration... " >&6; }
42646 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42647 if ${glibcxx_cv_func_hypot_use+:} false; then :
42648 $as_echo_n "(cached) " >&6
42649 else
42652 ac_ext=cpp
42653 ac_cpp='$CXXCPP $CPPFLAGS'
42654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42659 /* end confdefs.h. */
42660 #include <math.h>
42662 main ()
42664 hypot(0, 0);
42666 return 0;
42668 _ACEOF
42669 if ac_fn_cxx_try_compile "$LINENO"; then :
42670 glibcxx_cv_func_hypot_use=yes
42671 else
42672 glibcxx_cv_func_hypot_use=no
42674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42675 ac_ext=c
42676 ac_cpp='$CPP $CPPFLAGS'
42677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42686 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42688 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42689 for ac_func in hypot
42690 do :
42691 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42692 if test "x$ac_cv_func_hypot" = xyes; then :
42693 cat >>confdefs.h <<_ACEOF
42694 #define HAVE_HYPOT 1
42695 _ACEOF
42698 done
42700 else
42702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42703 $as_echo_n "checking for _hypot declaration... " >&6; }
42704 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42705 if ${glibcxx_cv_func__hypot_use+:} false; then :
42706 $as_echo_n "(cached) " >&6
42707 else
42710 ac_ext=cpp
42711 ac_cpp='$CXXCPP $CPPFLAGS'
42712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42717 /* end confdefs.h. */
42718 #include <math.h>
42720 main ()
42722 _hypot(0, 0);
42724 return 0;
42726 _ACEOF
42727 if ac_fn_cxx_try_compile "$LINENO"; then :
42728 glibcxx_cv_func__hypot_use=yes
42729 else
42730 glibcxx_cv_func__hypot_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__hypot_use" >&5
42744 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42746 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42747 for ac_func in _hypot
42748 do :
42749 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42750 if test "x$ac_cv_func__hypot" = xyes; then :
42751 cat >>confdefs.h <<_ACEOF
42752 #define HAVE__HYPOT 1
42753 _ACEOF
42756 done
42765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42766 $as_echo_n "checking for float trig functions... " >&6; }
42767 if ${glibcxx_cv_func_float_trig_use+:} false; then :
42768 $as_echo_n "(cached) " >&6
42769 else
42772 ac_ext=cpp
42773 ac_cpp='$CXXCPP $CPPFLAGS'
42774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42779 /* end confdefs.h. */
42780 #include <math.h>
42782 main ()
42784 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42786 return 0;
42788 _ACEOF
42789 if ac_fn_cxx_try_compile "$LINENO"; then :
42790 glibcxx_cv_func_float_trig_use=yes
42791 else
42792 glibcxx_cv_func_float_trig_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
42803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42804 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42805 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42806 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42807 do :
42808 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42809 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42810 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42811 cat >>confdefs.h <<_ACEOF
42812 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42813 _ACEOF
42816 done
42818 else
42819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42820 $as_echo_n "checking for _float trig functions... " >&6; }
42821 if ${glibcxx_cv_func__float_trig_use+:} false; then :
42822 $as_echo_n "(cached) " >&6
42823 else
42826 ac_ext=cpp
42827 ac_cpp='$CXXCPP $CPPFLAGS'
42828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42833 /* end confdefs.h. */
42834 #include <math.h>
42836 main ()
42838 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42840 return 0;
42842 _ACEOF
42843 if ac_fn_cxx_try_compile "$LINENO"; then :
42844 glibcxx_cv_func__float_trig_use=yes
42845 else
42846 glibcxx_cv_func__float_trig_use=no
42848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42849 ac_ext=c
42850 ac_cpp='$CPP $CPPFLAGS'
42851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42858 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42859 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42860 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42861 do :
42862 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42863 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42864 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42865 cat >>confdefs.h <<_ACEOF
42866 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42867 _ACEOF
42870 done
42879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42880 $as_echo_n "checking for float round functions... " >&6; }
42881 if ${glibcxx_cv_func_float_round_use+:} false; then :
42882 $as_echo_n "(cached) " >&6
42883 else
42886 ac_ext=cpp
42887 ac_cpp='$CXXCPP $CPPFLAGS'
42888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42893 /* end confdefs.h. */
42894 #include <math.h>
42896 main ()
42898 ceilf (0); floorf (0);
42900 return 0;
42902 _ACEOF
42903 if ac_fn_cxx_try_compile "$LINENO"; then :
42904 glibcxx_cv_func_float_round_use=yes
42905 else
42906 glibcxx_cv_func_float_round_use=no
42908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42909 ac_ext=c
42910 ac_cpp='$CPP $CPPFLAGS'
42911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42918 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42919 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42920 for ac_func in ceilf floorf
42921 do :
42922 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42923 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42924 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42925 cat >>confdefs.h <<_ACEOF
42926 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42927 _ACEOF
42930 done
42932 else
42933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42934 $as_echo_n "checking for _float round functions... " >&6; }
42935 if ${glibcxx_cv_func__float_round_use+:} false; then :
42936 $as_echo_n "(cached) " >&6
42937 else
42940 ac_ext=cpp
42941 ac_cpp='$CXXCPP $CPPFLAGS'
42942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42947 /* end confdefs.h. */
42948 #include <math.h>
42950 main ()
42952 _ceilf (0); _floorf (0);
42954 return 0;
42956 _ACEOF
42957 if ac_fn_cxx_try_compile "$LINENO"; then :
42958 glibcxx_cv_func__float_round_use=yes
42959 else
42960 glibcxx_cv_func__float_round_use=no
42962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42963 ac_ext=c
42964 ac_cpp='$CPP $CPPFLAGS'
42965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42972 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42973 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42974 for ac_func in _ceilf _floorf
42975 do :
42976 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42977 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42978 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42979 cat >>confdefs.h <<_ACEOF
42980 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42981 _ACEOF
42984 done
42994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42995 $as_echo_n "checking for expf declaration... " >&6; }
42996 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42997 if ${glibcxx_cv_func_expf_use+:} false; then :
42998 $as_echo_n "(cached) " >&6
42999 else
43002 ac_ext=cpp
43003 ac_cpp='$CXXCPP $CPPFLAGS'
43004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43009 /* end confdefs.h. */
43010 #include <math.h>
43011 #ifdef HAVE_IEEEFP_H
43012 #include <ieeefp.h>
43013 #endif
43016 main ()
43018 expf(0);
43020 return 0;
43022 _ACEOF
43023 if ac_fn_cxx_try_compile "$LINENO"; then :
43024 glibcxx_cv_func_expf_use=yes
43025 else
43026 glibcxx_cv_func_expf_use=no
43028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43029 ac_ext=c
43030 ac_cpp='$CPP $CPPFLAGS'
43031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
43040 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
43042 if test x$glibcxx_cv_func_expf_use = x"yes"; then
43043 for ac_func in expf
43044 do :
43045 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
43046 if test "x$ac_cv_func_expf" = xyes; then :
43047 cat >>confdefs.h <<_ACEOF
43048 #define HAVE_EXPF 1
43049 _ACEOF
43052 done
43054 else
43056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
43057 $as_echo_n "checking for _expf declaration... " >&6; }
43058 if test x${glibcxx_cv_func__expf_use+set} != xset; then
43059 if ${glibcxx_cv_func__expf_use+:} false; then :
43060 $as_echo_n "(cached) " >&6
43061 else
43064 ac_ext=cpp
43065 ac_cpp='$CXXCPP $CPPFLAGS'
43066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43071 /* end confdefs.h. */
43072 #include <math.h>
43073 #ifdef HAVE_IEEEFP_H
43074 #include <ieeefp.h>
43075 #endif
43078 main ()
43080 _expf(0);
43082 return 0;
43084 _ACEOF
43085 if ac_fn_cxx_try_compile "$LINENO"; then :
43086 glibcxx_cv_func__expf_use=yes
43087 else
43088 glibcxx_cv_func__expf_use=no
43090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43091 ac_ext=c
43092 ac_cpp='$CPP $CPPFLAGS'
43093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
43102 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
43104 if test x$glibcxx_cv_func__expf_use = x"yes"; then
43105 for ac_func in _expf
43106 do :
43107 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
43108 if test "x$ac_cv_func__expf" = xyes; then :
43109 cat >>confdefs.h <<_ACEOF
43110 #define HAVE__EXPF 1
43111 _ACEOF
43114 done
43123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
43124 $as_echo_n "checking for isnanf declaration... " >&6; }
43125 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
43126 if ${glibcxx_cv_func_isnanf_use+:} false; then :
43127 $as_echo_n "(cached) " >&6
43128 else
43131 ac_ext=cpp
43132 ac_cpp='$CXXCPP $CPPFLAGS'
43133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43138 /* end confdefs.h. */
43139 #include <math.h>
43140 #ifdef HAVE_IEEEFP_H
43141 #include <ieeefp.h>
43142 #endif
43145 main ()
43147 isnanf(0);
43149 return 0;
43151 _ACEOF
43152 if ac_fn_cxx_try_compile "$LINENO"; then :
43153 glibcxx_cv_func_isnanf_use=yes
43154 else
43155 glibcxx_cv_func_isnanf_use=no
43157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43158 ac_ext=c
43159 ac_cpp='$CPP $CPPFLAGS'
43160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
43169 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
43171 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
43172 for ac_func in isnanf
43173 do :
43174 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
43175 if test "x$ac_cv_func_isnanf" = xyes; then :
43176 cat >>confdefs.h <<_ACEOF
43177 #define HAVE_ISNANF 1
43178 _ACEOF
43181 done
43183 else
43185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
43186 $as_echo_n "checking for _isnanf declaration... " >&6; }
43187 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
43188 if ${glibcxx_cv_func__isnanf_use+:} false; then :
43189 $as_echo_n "(cached) " >&6
43190 else
43193 ac_ext=cpp
43194 ac_cpp='$CXXCPP $CPPFLAGS'
43195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43200 /* end confdefs.h. */
43201 #include <math.h>
43202 #ifdef HAVE_IEEEFP_H
43203 #include <ieeefp.h>
43204 #endif
43207 main ()
43209 _isnanf(0);
43211 return 0;
43213 _ACEOF
43214 if ac_fn_cxx_try_compile "$LINENO"; then :
43215 glibcxx_cv_func__isnanf_use=yes
43216 else
43217 glibcxx_cv_func__isnanf_use=no
43219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43220 ac_ext=c
43221 ac_cpp='$CPP $CPPFLAGS'
43222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
43231 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
43233 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
43234 for ac_func in _isnanf
43235 do :
43236 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
43237 if test "x$ac_cv_func__isnanf" = xyes; then :
43238 cat >>confdefs.h <<_ACEOF
43239 #define HAVE__ISNANF 1
43240 _ACEOF
43243 done
43252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
43253 $as_echo_n "checking for isinff declaration... " >&6; }
43254 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
43255 if ${glibcxx_cv_func_isinff_use+:} false; then :
43256 $as_echo_n "(cached) " >&6
43257 else
43260 ac_ext=cpp
43261 ac_cpp='$CXXCPP $CPPFLAGS'
43262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43267 /* end confdefs.h. */
43268 #include <math.h>
43269 #ifdef HAVE_IEEEFP_H
43270 #include <ieeefp.h>
43271 #endif
43274 main ()
43276 isinff(0);
43278 return 0;
43280 _ACEOF
43281 if ac_fn_cxx_try_compile "$LINENO"; then :
43282 glibcxx_cv_func_isinff_use=yes
43283 else
43284 glibcxx_cv_func_isinff_use=no
43286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43287 ac_ext=c
43288 ac_cpp='$CPP $CPPFLAGS'
43289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
43298 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
43300 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
43301 for ac_func in isinff
43302 do :
43303 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
43304 if test "x$ac_cv_func_isinff" = xyes; then :
43305 cat >>confdefs.h <<_ACEOF
43306 #define HAVE_ISINFF 1
43307 _ACEOF
43310 done
43312 else
43314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
43315 $as_echo_n "checking for _isinff declaration... " >&6; }
43316 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
43317 if ${glibcxx_cv_func__isinff_use+:} false; then :
43318 $as_echo_n "(cached) " >&6
43319 else
43322 ac_ext=cpp
43323 ac_cpp='$CXXCPP $CPPFLAGS'
43324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43329 /* end confdefs.h. */
43330 #include <math.h>
43331 #ifdef HAVE_IEEEFP_H
43332 #include <ieeefp.h>
43333 #endif
43336 main ()
43338 _isinff(0);
43340 return 0;
43342 _ACEOF
43343 if ac_fn_cxx_try_compile "$LINENO"; then :
43344 glibcxx_cv_func__isinff_use=yes
43345 else
43346 glibcxx_cv_func__isinff_use=no
43348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43349 ac_ext=c
43350 ac_cpp='$CPP $CPPFLAGS'
43351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
43360 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
43362 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
43363 for ac_func in _isinff
43364 do :
43365 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
43366 if test "x$ac_cv_func__isinff" = xyes; then :
43367 cat >>confdefs.h <<_ACEOF
43368 #define HAVE__ISINFF 1
43369 _ACEOF
43372 done
43381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
43382 $as_echo_n "checking for atan2f declaration... " >&6; }
43383 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
43384 if ${glibcxx_cv_func_atan2f_use+:} false; then :
43385 $as_echo_n "(cached) " >&6
43386 else
43389 ac_ext=cpp
43390 ac_cpp='$CXXCPP $CPPFLAGS'
43391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43396 /* end confdefs.h. */
43397 #include <math.h>
43399 main ()
43401 atan2f(0, 0);
43403 return 0;
43405 _ACEOF
43406 if ac_fn_cxx_try_compile "$LINENO"; then :
43407 glibcxx_cv_func_atan2f_use=yes
43408 else
43409 glibcxx_cv_func_atan2f_use=no
43411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43412 ac_ext=c
43413 ac_cpp='$CPP $CPPFLAGS'
43414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
43423 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
43425 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
43426 for ac_func in atan2f
43427 do :
43428 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
43429 if test "x$ac_cv_func_atan2f" = xyes; then :
43430 cat >>confdefs.h <<_ACEOF
43431 #define HAVE_ATAN2F 1
43432 _ACEOF
43435 done
43437 else
43439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
43440 $as_echo_n "checking for _atan2f declaration... " >&6; }
43441 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
43442 if ${glibcxx_cv_func__atan2f_use+:} false; then :
43443 $as_echo_n "(cached) " >&6
43444 else
43447 ac_ext=cpp
43448 ac_cpp='$CXXCPP $CPPFLAGS'
43449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43454 /* end confdefs.h. */
43455 #include <math.h>
43457 main ()
43459 _atan2f(0, 0);
43461 return 0;
43463 _ACEOF
43464 if ac_fn_cxx_try_compile "$LINENO"; then :
43465 glibcxx_cv_func__atan2f_use=yes
43466 else
43467 glibcxx_cv_func__atan2f_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__atan2f_use" >&5
43481 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
43483 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
43484 for ac_func in _atan2f
43485 do :
43486 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
43487 if test "x$ac_cv_func__atan2f" = xyes; then :
43488 cat >>confdefs.h <<_ACEOF
43489 #define HAVE__ATAN2F 1
43490 _ACEOF
43493 done
43502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43503 $as_echo_n "checking for fabsf declaration... " >&6; }
43504 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43505 if ${glibcxx_cv_func_fabsf_use+:} false; then :
43506 $as_echo_n "(cached) " >&6
43507 else
43510 ac_ext=cpp
43511 ac_cpp='$CXXCPP $CPPFLAGS'
43512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43517 /* end confdefs.h. */
43518 #include <math.h>
43519 #ifdef HAVE_IEEEFP_H
43520 #include <ieeefp.h>
43521 #endif
43524 main ()
43526 fabsf(0);
43528 return 0;
43530 _ACEOF
43531 if ac_fn_cxx_try_compile "$LINENO"; then :
43532 glibcxx_cv_func_fabsf_use=yes
43533 else
43534 glibcxx_cv_func_fabsf_use=no
43536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43537 ac_ext=c
43538 ac_cpp='$CPP $CPPFLAGS'
43539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43548 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43550 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43551 for ac_func in fabsf
43552 do :
43553 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43554 if test "x$ac_cv_func_fabsf" = xyes; then :
43555 cat >>confdefs.h <<_ACEOF
43556 #define HAVE_FABSF 1
43557 _ACEOF
43560 done
43562 else
43564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43565 $as_echo_n "checking for _fabsf declaration... " >&6; }
43566 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43567 if ${glibcxx_cv_func__fabsf_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>
43581 #ifdef HAVE_IEEEFP_H
43582 #include <ieeefp.h>
43583 #endif
43586 main ()
43588 _fabsf(0);
43590 return 0;
43592 _ACEOF
43593 if ac_fn_cxx_try_compile "$LINENO"; then :
43594 glibcxx_cv_func__fabsf_use=yes
43595 else
43596 glibcxx_cv_func__fabsf_use=no
43598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43599 ac_ext=c
43600 ac_cpp='$CPP $CPPFLAGS'
43601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43610 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43612 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43613 for ac_func in _fabsf
43614 do :
43615 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43616 if test "x$ac_cv_func__fabsf" = xyes; then :
43617 cat >>confdefs.h <<_ACEOF
43618 #define HAVE__FABSF 1
43619 _ACEOF
43622 done
43631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43632 $as_echo_n "checking for fmodf declaration... " >&6; }
43633 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43634 if ${glibcxx_cv_func_fmodf_use+:} false; then :
43635 $as_echo_n "(cached) " >&6
43636 else
43639 ac_ext=cpp
43640 ac_cpp='$CXXCPP $CPPFLAGS'
43641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43646 /* end confdefs.h. */
43647 #include <math.h>
43649 main ()
43651 fmodf(0, 0);
43653 return 0;
43655 _ACEOF
43656 if ac_fn_cxx_try_compile "$LINENO"; then :
43657 glibcxx_cv_func_fmodf_use=yes
43658 else
43659 glibcxx_cv_func_fmodf_use=no
43661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43662 ac_ext=c
43663 ac_cpp='$CPP $CPPFLAGS'
43664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43673 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43675 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43676 for ac_func in fmodf
43677 do :
43678 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43679 if test "x$ac_cv_func_fmodf" = xyes; then :
43680 cat >>confdefs.h <<_ACEOF
43681 #define HAVE_FMODF 1
43682 _ACEOF
43685 done
43687 else
43689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43690 $as_echo_n "checking for _fmodf declaration... " >&6; }
43691 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43692 if ${glibcxx_cv_func__fmodf_use+:} false; then :
43693 $as_echo_n "(cached) " >&6
43694 else
43697 ac_ext=cpp
43698 ac_cpp='$CXXCPP $CPPFLAGS'
43699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43704 /* end confdefs.h. */
43705 #include <math.h>
43707 main ()
43709 _fmodf(0, 0);
43711 return 0;
43713 _ACEOF
43714 if ac_fn_cxx_try_compile "$LINENO"; then :
43715 glibcxx_cv_func__fmodf_use=yes
43716 else
43717 glibcxx_cv_func__fmodf_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__fmodf_use" >&5
43731 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43733 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43734 for ac_func in _fmodf
43735 do :
43736 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43737 if test "x$ac_cv_func__fmodf" = xyes; then :
43738 cat >>confdefs.h <<_ACEOF
43739 #define HAVE__FMODF 1
43740 _ACEOF
43743 done
43752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43753 $as_echo_n "checking for frexpf declaration... " >&6; }
43754 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43755 if ${glibcxx_cv_func_frexpf_use+:} false; then :
43756 $as_echo_n "(cached) " >&6
43757 else
43760 ac_ext=cpp
43761 ac_cpp='$CXXCPP $CPPFLAGS'
43762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43767 /* end confdefs.h. */
43768 #include <math.h>
43770 main ()
43772 frexpf(0, 0);
43774 return 0;
43776 _ACEOF
43777 if ac_fn_cxx_try_compile "$LINENO"; then :
43778 glibcxx_cv_func_frexpf_use=yes
43779 else
43780 glibcxx_cv_func_frexpf_use=no
43782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43783 ac_ext=c
43784 ac_cpp='$CPP $CPPFLAGS'
43785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43794 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43796 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43797 for ac_func in frexpf
43798 do :
43799 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43800 if test "x$ac_cv_func_frexpf" = xyes; then :
43801 cat >>confdefs.h <<_ACEOF
43802 #define HAVE_FREXPF 1
43803 _ACEOF
43806 done
43808 else
43810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43811 $as_echo_n "checking for _frexpf declaration... " >&6; }
43812 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43813 if ${glibcxx_cv_func__frexpf_use+:} false; then :
43814 $as_echo_n "(cached) " >&6
43815 else
43818 ac_ext=cpp
43819 ac_cpp='$CXXCPP $CPPFLAGS'
43820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43825 /* end confdefs.h. */
43826 #include <math.h>
43828 main ()
43830 _frexpf(0, 0);
43832 return 0;
43834 _ACEOF
43835 if ac_fn_cxx_try_compile "$LINENO"; then :
43836 glibcxx_cv_func__frexpf_use=yes
43837 else
43838 glibcxx_cv_func__frexpf_use=no
43840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43841 ac_ext=c
43842 ac_cpp='$CPP $CPPFLAGS'
43843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43852 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43854 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43855 for ac_func in _frexpf
43856 do :
43857 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43858 if test "x$ac_cv_func__frexpf" = xyes; then :
43859 cat >>confdefs.h <<_ACEOF
43860 #define HAVE__FREXPF 1
43861 _ACEOF
43864 done
43873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43874 $as_echo_n "checking for hypotf declaration... " >&6; }
43875 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43876 if ${glibcxx_cv_func_hypotf_use+:} false; then :
43877 $as_echo_n "(cached) " >&6
43878 else
43881 ac_ext=cpp
43882 ac_cpp='$CXXCPP $CPPFLAGS'
43883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43888 /* end confdefs.h. */
43889 #include <math.h>
43891 main ()
43893 hypotf(0, 0);
43895 return 0;
43897 _ACEOF
43898 if ac_fn_cxx_try_compile "$LINENO"; then :
43899 glibcxx_cv_func_hypotf_use=yes
43900 else
43901 glibcxx_cv_func_hypotf_use=no
43903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43904 ac_ext=c
43905 ac_cpp='$CPP $CPPFLAGS'
43906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43915 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43917 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43918 for ac_func in hypotf
43919 do :
43920 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43921 if test "x$ac_cv_func_hypotf" = xyes; then :
43922 cat >>confdefs.h <<_ACEOF
43923 #define HAVE_HYPOTF 1
43924 _ACEOF
43927 done
43929 else
43931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43932 $as_echo_n "checking for _hypotf declaration... " >&6; }
43933 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43934 if ${glibcxx_cv_func__hypotf_use+:} false; then :
43935 $as_echo_n "(cached) " >&6
43936 else
43939 ac_ext=cpp
43940 ac_cpp='$CXXCPP $CPPFLAGS'
43941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43946 /* end confdefs.h. */
43947 #include <math.h>
43949 main ()
43951 _hypotf(0, 0);
43953 return 0;
43955 _ACEOF
43956 if ac_fn_cxx_try_compile "$LINENO"; then :
43957 glibcxx_cv_func__hypotf_use=yes
43958 else
43959 glibcxx_cv_func__hypotf_use=no
43961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43962 ac_ext=c
43963 ac_cpp='$CPP $CPPFLAGS'
43964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43973 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43975 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43976 for ac_func in _hypotf
43977 do :
43978 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43979 if test "x$ac_cv_func__hypotf" = xyes; then :
43980 cat >>confdefs.h <<_ACEOF
43981 #define HAVE__HYPOTF 1
43982 _ACEOF
43985 done
43994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43995 $as_echo_n "checking for ldexpf declaration... " >&6; }
43996 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43997 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
43998 $as_echo_n "(cached) " >&6
43999 else
44002 ac_ext=cpp
44003 ac_cpp='$CXXCPP $CPPFLAGS'
44004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44009 /* end confdefs.h. */
44010 #include <math.h>
44012 main ()
44014 ldexpf(0, 0);
44016 return 0;
44018 _ACEOF
44019 if ac_fn_cxx_try_compile "$LINENO"; then :
44020 glibcxx_cv_func_ldexpf_use=yes
44021 else
44022 glibcxx_cv_func_ldexpf_use=no
44024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44025 ac_ext=c
44026 ac_cpp='$CPP $CPPFLAGS'
44027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
44036 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
44038 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
44039 for ac_func in ldexpf
44040 do :
44041 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
44042 if test "x$ac_cv_func_ldexpf" = xyes; then :
44043 cat >>confdefs.h <<_ACEOF
44044 #define HAVE_LDEXPF 1
44045 _ACEOF
44048 done
44050 else
44052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
44053 $as_echo_n "checking for _ldexpf declaration... " >&6; }
44054 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
44055 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
44056 $as_echo_n "(cached) " >&6
44057 else
44060 ac_ext=cpp
44061 ac_cpp='$CXXCPP $CPPFLAGS'
44062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44067 /* end confdefs.h. */
44068 #include <math.h>
44070 main ()
44072 _ldexpf(0, 0);
44074 return 0;
44076 _ACEOF
44077 if ac_fn_cxx_try_compile "$LINENO"; then :
44078 glibcxx_cv_func__ldexpf_use=yes
44079 else
44080 glibcxx_cv_func__ldexpf_use=no
44082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44083 ac_ext=c
44084 ac_cpp='$CPP $CPPFLAGS'
44085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
44094 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
44096 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
44097 for ac_func in _ldexpf
44098 do :
44099 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
44100 if test "x$ac_cv_func__ldexpf" = xyes; then :
44101 cat >>confdefs.h <<_ACEOF
44102 #define HAVE__LDEXPF 1
44103 _ACEOF
44106 done
44115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
44116 $as_echo_n "checking for logf declaration... " >&6; }
44117 if test x${glibcxx_cv_func_logf_use+set} != xset; then
44118 if ${glibcxx_cv_func_logf_use+:} false; then :
44119 $as_echo_n "(cached) " >&6
44120 else
44123 ac_ext=cpp
44124 ac_cpp='$CXXCPP $CPPFLAGS'
44125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44130 /* end confdefs.h. */
44131 #include <math.h>
44132 #ifdef HAVE_IEEEFP_H
44133 #include <ieeefp.h>
44134 #endif
44137 main ()
44139 logf(0);
44141 return 0;
44143 _ACEOF
44144 if ac_fn_cxx_try_compile "$LINENO"; then :
44145 glibcxx_cv_func_logf_use=yes
44146 else
44147 glibcxx_cv_func_logf_use=no
44149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44150 ac_ext=c
44151 ac_cpp='$CPP $CPPFLAGS'
44152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
44161 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
44163 if test x$glibcxx_cv_func_logf_use = x"yes"; then
44164 for ac_func in logf
44165 do :
44166 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
44167 if test "x$ac_cv_func_logf" = xyes; then :
44168 cat >>confdefs.h <<_ACEOF
44169 #define HAVE_LOGF 1
44170 _ACEOF
44173 done
44175 else
44177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
44178 $as_echo_n "checking for _logf declaration... " >&6; }
44179 if test x${glibcxx_cv_func__logf_use+set} != xset; then
44180 if ${glibcxx_cv_func__logf_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>
44194 #ifdef HAVE_IEEEFP_H
44195 #include <ieeefp.h>
44196 #endif
44199 main ()
44201 _logf(0);
44203 return 0;
44205 _ACEOF
44206 if ac_fn_cxx_try_compile "$LINENO"; then :
44207 glibcxx_cv_func__logf_use=yes
44208 else
44209 glibcxx_cv_func__logf_use=no
44211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44212 ac_ext=c
44213 ac_cpp='$CPP $CPPFLAGS'
44214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
44223 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
44225 if test x$glibcxx_cv_func__logf_use = x"yes"; then
44226 for ac_func in _logf
44227 do :
44228 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
44229 if test "x$ac_cv_func__logf" = xyes; then :
44230 cat >>confdefs.h <<_ACEOF
44231 #define HAVE__LOGF 1
44232 _ACEOF
44235 done
44244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
44245 $as_echo_n "checking for log10f declaration... " >&6; }
44246 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
44247 if ${glibcxx_cv_func_log10f_use+:} false; then :
44248 $as_echo_n "(cached) " >&6
44249 else
44252 ac_ext=cpp
44253 ac_cpp='$CXXCPP $CPPFLAGS'
44254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44259 /* end confdefs.h. */
44260 #include <math.h>
44261 #ifdef HAVE_IEEEFP_H
44262 #include <ieeefp.h>
44263 #endif
44266 main ()
44268 log10f(0);
44270 return 0;
44272 _ACEOF
44273 if ac_fn_cxx_try_compile "$LINENO"; then :
44274 glibcxx_cv_func_log10f_use=yes
44275 else
44276 glibcxx_cv_func_log10f_use=no
44278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44279 ac_ext=c
44280 ac_cpp='$CPP $CPPFLAGS'
44281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
44290 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
44292 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
44293 for ac_func in log10f
44294 do :
44295 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
44296 if test "x$ac_cv_func_log10f" = xyes; then :
44297 cat >>confdefs.h <<_ACEOF
44298 #define HAVE_LOG10F 1
44299 _ACEOF
44302 done
44304 else
44306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
44307 $as_echo_n "checking for _log10f declaration... " >&6; }
44308 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
44309 if ${glibcxx_cv_func__log10f_use+:} false; then :
44310 $as_echo_n "(cached) " >&6
44311 else
44314 ac_ext=cpp
44315 ac_cpp='$CXXCPP $CPPFLAGS'
44316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44321 /* end confdefs.h. */
44322 #include <math.h>
44323 #ifdef HAVE_IEEEFP_H
44324 #include <ieeefp.h>
44325 #endif
44328 main ()
44330 _log10f(0);
44332 return 0;
44334 _ACEOF
44335 if ac_fn_cxx_try_compile "$LINENO"; then :
44336 glibcxx_cv_func__log10f_use=yes
44337 else
44338 glibcxx_cv_func__log10f_use=no
44340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44341 ac_ext=c
44342 ac_cpp='$CPP $CPPFLAGS'
44343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
44352 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
44354 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
44355 for ac_func in _log10f
44356 do :
44357 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
44358 if test "x$ac_cv_func__log10f" = xyes; then :
44359 cat >>confdefs.h <<_ACEOF
44360 #define HAVE__LOG10F 1
44361 _ACEOF
44364 done
44373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
44374 $as_echo_n "checking for modff declaration... " >&6; }
44375 if test x${glibcxx_cv_func_modff_use+set} != xset; then
44376 if ${glibcxx_cv_func_modff_use+:} false; then :
44377 $as_echo_n "(cached) " >&6
44378 else
44381 ac_ext=cpp
44382 ac_cpp='$CXXCPP $CPPFLAGS'
44383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44388 /* end confdefs.h. */
44389 #include <math.h>
44391 main ()
44393 modff(0, 0);
44395 return 0;
44397 _ACEOF
44398 if ac_fn_cxx_try_compile "$LINENO"; then :
44399 glibcxx_cv_func_modff_use=yes
44400 else
44401 glibcxx_cv_func_modff_use=no
44403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44404 ac_ext=c
44405 ac_cpp='$CPP $CPPFLAGS'
44406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
44415 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
44417 if test x$glibcxx_cv_func_modff_use = x"yes"; then
44418 for ac_func in modff
44419 do :
44420 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
44421 if test "x$ac_cv_func_modff" = xyes; then :
44422 cat >>confdefs.h <<_ACEOF
44423 #define HAVE_MODFF 1
44424 _ACEOF
44427 done
44429 else
44431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
44432 $as_echo_n "checking for _modff declaration... " >&6; }
44433 if test x${glibcxx_cv_func__modff_use+set} != xset; then
44434 if ${glibcxx_cv_func__modff_use+:} false; then :
44435 $as_echo_n "(cached) " >&6
44436 else
44439 ac_ext=cpp
44440 ac_cpp='$CXXCPP $CPPFLAGS'
44441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44446 /* end confdefs.h. */
44447 #include <math.h>
44449 main ()
44451 _modff(0, 0);
44453 return 0;
44455 _ACEOF
44456 if ac_fn_cxx_try_compile "$LINENO"; then :
44457 glibcxx_cv_func__modff_use=yes
44458 else
44459 glibcxx_cv_func__modff_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__modff_use" >&5
44473 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
44475 if test x$glibcxx_cv_func__modff_use = x"yes"; then
44476 for ac_func in _modff
44477 do :
44478 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
44479 if test "x$ac_cv_func__modff" = xyes; then :
44480 cat >>confdefs.h <<_ACEOF
44481 #define HAVE__MODFF 1
44482 _ACEOF
44485 done
44494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
44495 $as_echo_n "checking for modf declaration... " >&6; }
44496 if test x${glibcxx_cv_func_modf_use+set} != xset; then
44497 if ${glibcxx_cv_func_modf_use+:} false; then :
44498 $as_echo_n "(cached) " >&6
44499 else
44502 ac_ext=cpp
44503 ac_cpp='$CXXCPP $CPPFLAGS'
44504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44509 /* end confdefs.h. */
44510 #include <math.h>
44512 main ()
44514 modf(0, 0);
44516 return 0;
44518 _ACEOF
44519 if ac_fn_cxx_try_compile "$LINENO"; then :
44520 glibcxx_cv_func_modf_use=yes
44521 else
44522 glibcxx_cv_func_modf_use=no
44524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44525 ac_ext=c
44526 ac_cpp='$CPP $CPPFLAGS'
44527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44536 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
44538 if test x$glibcxx_cv_func_modf_use = x"yes"; then
44539 for ac_func in modf
44540 do :
44541 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44542 if test "x$ac_cv_func_modf" = xyes; then :
44543 cat >>confdefs.h <<_ACEOF
44544 #define HAVE_MODF 1
44545 _ACEOF
44548 done
44550 else
44552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44553 $as_echo_n "checking for _modf declaration... " >&6; }
44554 if test x${glibcxx_cv_func__modf_use+set} != xset; then
44555 if ${glibcxx_cv_func__modf_use+:} false; then :
44556 $as_echo_n "(cached) " >&6
44557 else
44560 ac_ext=cpp
44561 ac_cpp='$CXXCPP $CPPFLAGS'
44562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44567 /* end confdefs.h. */
44568 #include <math.h>
44570 main ()
44572 _modf(0, 0);
44574 return 0;
44576 _ACEOF
44577 if ac_fn_cxx_try_compile "$LINENO"; then :
44578 glibcxx_cv_func__modf_use=yes
44579 else
44580 glibcxx_cv_func__modf_use=no
44582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44583 ac_ext=c
44584 ac_cpp='$CPP $CPPFLAGS'
44585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44594 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
44596 if test x$glibcxx_cv_func__modf_use = x"yes"; then
44597 for ac_func in _modf
44598 do :
44599 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44600 if test "x$ac_cv_func__modf" = xyes; then :
44601 cat >>confdefs.h <<_ACEOF
44602 #define HAVE__MODF 1
44603 _ACEOF
44606 done
44615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44616 $as_echo_n "checking for powf declaration... " >&6; }
44617 if test x${glibcxx_cv_func_powf_use+set} != xset; then
44618 if ${glibcxx_cv_func_powf_use+:} false; then :
44619 $as_echo_n "(cached) " >&6
44620 else
44623 ac_ext=cpp
44624 ac_cpp='$CXXCPP $CPPFLAGS'
44625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44630 /* end confdefs.h. */
44631 #include <math.h>
44633 main ()
44635 powf(0, 0);
44637 return 0;
44639 _ACEOF
44640 if ac_fn_cxx_try_compile "$LINENO"; then :
44641 glibcxx_cv_func_powf_use=yes
44642 else
44643 glibcxx_cv_func_powf_use=no
44645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44646 ac_ext=c
44647 ac_cpp='$CPP $CPPFLAGS'
44648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44657 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
44659 if test x$glibcxx_cv_func_powf_use = x"yes"; then
44660 for ac_func in powf
44661 do :
44662 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44663 if test "x$ac_cv_func_powf" = xyes; then :
44664 cat >>confdefs.h <<_ACEOF
44665 #define HAVE_POWF 1
44666 _ACEOF
44669 done
44671 else
44673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44674 $as_echo_n "checking for _powf declaration... " >&6; }
44675 if test x${glibcxx_cv_func__powf_use+set} != xset; then
44676 if ${glibcxx_cv_func__powf_use+:} false; then :
44677 $as_echo_n "(cached) " >&6
44678 else
44681 ac_ext=cpp
44682 ac_cpp='$CXXCPP $CPPFLAGS'
44683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44688 /* end confdefs.h. */
44689 #include <math.h>
44691 main ()
44693 _powf(0, 0);
44695 return 0;
44697 _ACEOF
44698 if ac_fn_cxx_try_compile "$LINENO"; then :
44699 glibcxx_cv_func__powf_use=yes
44700 else
44701 glibcxx_cv_func__powf_use=no
44703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44704 ac_ext=c
44705 ac_cpp='$CPP $CPPFLAGS'
44706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44715 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44717 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44718 for ac_func in _powf
44719 do :
44720 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44721 if test "x$ac_cv_func__powf" = xyes; then :
44722 cat >>confdefs.h <<_ACEOF
44723 #define HAVE__POWF 1
44724 _ACEOF
44727 done
44736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44737 $as_echo_n "checking for sqrtf declaration... " >&6; }
44738 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44739 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
44740 $as_echo_n "(cached) " >&6
44741 else
44744 ac_ext=cpp
44745 ac_cpp='$CXXCPP $CPPFLAGS'
44746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44751 /* end confdefs.h. */
44752 #include <math.h>
44753 #ifdef HAVE_IEEEFP_H
44754 #include <ieeefp.h>
44755 #endif
44758 main ()
44760 sqrtf(0);
44762 return 0;
44764 _ACEOF
44765 if ac_fn_cxx_try_compile "$LINENO"; then :
44766 glibcxx_cv_func_sqrtf_use=yes
44767 else
44768 glibcxx_cv_func_sqrtf_use=no
44770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44771 ac_ext=c
44772 ac_cpp='$CPP $CPPFLAGS'
44773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44782 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44784 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44785 for ac_func in sqrtf
44786 do :
44787 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44788 if test "x$ac_cv_func_sqrtf" = xyes; then :
44789 cat >>confdefs.h <<_ACEOF
44790 #define HAVE_SQRTF 1
44791 _ACEOF
44794 done
44796 else
44798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44799 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44800 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44801 if ${glibcxx_cv_func__sqrtf_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>
44815 #ifdef HAVE_IEEEFP_H
44816 #include <ieeefp.h>
44817 #endif
44820 main ()
44822 _sqrtf(0);
44824 return 0;
44826 _ACEOF
44827 if ac_fn_cxx_try_compile "$LINENO"; then :
44828 glibcxx_cv_func__sqrtf_use=yes
44829 else
44830 glibcxx_cv_func__sqrtf_use=no
44832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44833 ac_ext=c
44834 ac_cpp='$CPP $CPPFLAGS'
44835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44844 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44846 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44847 for ac_func in _sqrtf
44848 do :
44849 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44850 if test "x$ac_cv_func__sqrtf" = xyes; then :
44851 cat >>confdefs.h <<_ACEOF
44852 #define HAVE__SQRTF 1
44853 _ACEOF
44856 done
44865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44866 $as_echo_n "checking for sincosf declaration... " >&6; }
44867 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44868 if ${glibcxx_cv_func_sincosf_use+:} false; then :
44869 $as_echo_n "(cached) " >&6
44870 else
44873 ac_ext=cpp
44874 ac_cpp='$CXXCPP $CPPFLAGS'
44875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44880 /* end confdefs.h. */
44881 #include <math.h>
44883 main ()
44885 sincosf(0, 0, 0);
44887 return 0;
44889 _ACEOF
44890 if ac_fn_cxx_try_compile "$LINENO"; then :
44891 glibcxx_cv_func_sincosf_use=yes
44892 else
44893 glibcxx_cv_func_sincosf_use=no
44895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44896 ac_ext=c
44897 ac_cpp='$CPP $CPPFLAGS'
44898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44907 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44909 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44910 for ac_func in sincosf
44911 do :
44912 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44913 if test "x$ac_cv_func_sincosf" = xyes; then :
44914 cat >>confdefs.h <<_ACEOF
44915 #define HAVE_SINCOSF 1
44916 _ACEOF
44919 done
44921 else
44923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44924 $as_echo_n "checking for _sincosf declaration... " >&6; }
44925 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44926 if ${glibcxx_cv_func__sincosf_use+:} false; then :
44927 $as_echo_n "(cached) " >&6
44928 else
44931 ac_ext=cpp
44932 ac_cpp='$CXXCPP $CPPFLAGS'
44933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44938 /* end confdefs.h. */
44939 #include <math.h>
44941 main ()
44943 _sincosf(0, 0, 0);
44945 return 0;
44947 _ACEOF
44948 if ac_fn_cxx_try_compile "$LINENO"; then :
44949 glibcxx_cv_func__sincosf_use=yes
44950 else
44951 glibcxx_cv_func__sincosf_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__sincosf_use" >&5
44965 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44967 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44968 for ac_func in _sincosf
44969 do :
44970 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44971 if test "x$ac_cv_func__sincosf" = xyes; then :
44972 cat >>confdefs.h <<_ACEOF
44973 #define HAVE__SINCOSF 1
44974 _ACEOF
44977 done
44986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44987 $as_echo_n "checking for finitef declaration... " >&6; }
44988 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44989 if ${glibcxx_cv_func_finitef_use+:} false; then :
44990 $as_echo_n "(cached) " >&6
44991 else
44994 ac_ext=cpp
44995 ac_cpp='$CXXCPP $CPPFLAGS'
44996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45001 /* end confdefs.h. */
45002 #include <math.h>
45003 #ifdef HAVE_IEEEFP_H
45004 #include <ieeefp.h>
45005 #endif
45008 main ()
45010 finitef(0);
45012 return 0;
45014 _ACEOF
45015 if ac_fn_cxx_try_compile "$LINENO"; then :
45016 glibcxx_cv_func_finitef_use=yes
45017 else
45018 glibcxx_cv_func_finitef_use=no
45020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45021 ac_ext=c
45022 ac_cpp='$CPP $CPPFLAGS'
45023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
45032 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
45034 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
45035 for ac_func in finitef
45036 do :
45037 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
45038 if test "x$ac_cv_func_finitef" = xyes; then :
45039 cat >>confdefs.h <<_ACEOF
45040 #define HAVE_FINITEF 1
45041 _ACEOF
45044 done
45046 else
45048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
45049 $as_echo_n "checking for _finitef declaration... " >&6; }
45050 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
45051 if ${glibcxx_cv_func__finitef_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>
45065 #ifdef HAVE_IEEEFP_H
45066 #include <ieeefp.h>
45067 #endif
45070 main ()
45072 _finitef(0);
45074 return 0;
45076 _ACEOF
45077 if ac_fn_cxx_try_compile "$LINENO"; then :
45078 glibcxx_cv_func__finitef_use=yes
45079 else
45080 glibcxx_cv_func__finitef_use=no
45082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45083 ac_ext=c
45084 ac_cpp='$CPP $CPPFLAGS'
45085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
45094 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
45096 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
45097 for ac_func in _finitef
45098 do :
45099 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
45100 if test "x$ac_cv_func__finitef" = xyes; then :
45101 cat >>confdefs.h <<_ACEOF
45102 #define HAVE__FINITEF 1
45103 _ACEOF
45106 done
45115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
45116 $as_echo_n "checking for long double trig functions... " >&6; }
45117 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
45118 $as_echo_n "(cached) " >&6
45119 else
45122 ac_ext=cpp
45123 ac_cpp='$CXXCPP $CPPFLAGS'
45124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45129 /* end confdefs.h. */
45130 #include <math.h>
45132 main ()
45134 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
45136 return 0;
45138 _ACEOF
45139 if ac_fn_cxx_try_compile "$LINENO"; then :
45140 glibcxx_cv_func_long_double_trig_use=yes
45141 else
45142 glibcxx_cv_func_long_double_trig_use=no
45144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45145 ac_ext=c
45146 ac_cpp='$CPP $CPPFLAGS'
45147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
45154 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
45155 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
45156 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
45157 do :
45158 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45159 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45160 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45161 cat >>confdefs.h <<_ACEOF
45162 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45163 _ACEOF
45166 done
45168 else
45169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
45170 $as_echo_n "checking for _long double trig functions... " >&6; }
45171 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
45172 $as_echo_n "(cached) " >&6
45173 else
45176 ac_ext=cpp
45177 ac_cpp='$CXXCPP $CPPFLAGS'
45178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45183 /* end confdefs.h. */
45184 #include <math.h>
45186 main ()
45188 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
45190 return 0;
45192 _ACEOF
45193 if ac_fn_cxx_try_compile "$LINENO"; then :
45194 glibcxx_cv_func__long_double_trig_use=yes
45195 else
45196 glibcxx_cv_func__long_double_trig_use=no
45198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45199 ac_ext=c
45200 ac_cpp='$CPP $CPPFLAGS'
45201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
45208 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
45209 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
45210 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
45211 do :
45212 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45213 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45214 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45215 cat >>confdefs.h <<_ACEOF
45216 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45217 _ACEOF
45220 done
45229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
45230 $as_echo_n "checking for long double round functions... " >&6; }
45231 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
45232 $as_echo_n "(cached) " >&6
45233 else
45236 ac_ext=cpp
45237 ac_cpp='$CXXCPP $CPPFLAGS'
45238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45243 /* end confdefs.h. */
45244 #include <math.h>
45246 main ()
45248 ceill (0); floorl (0);
45250 return 0;
45252 _ACEOF
45253 if ac_fn_cxx_try_compile "$LINENO"; then :
45254 glibcxx_cv_func_long_double_round_use=yes
45255 else
45256 glibcxx_cv_func_long_double_round_use=no
45258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45259 ac_ext=c
45260 ac_cpp='$CPP $CPPFLAGS'
45261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
45268 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
45269 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
45270 for ac_func in ceill floorl
45271 do :
45272 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45273 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45274 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45275 cat >>confdefs.h <<_ACEOF
45276 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45277 _ACEOF
45280 done
45282 else
45283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
45284 $as_echo_n "checking for _long double round functions... " >&6; }
45285 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
45286 $as_echo_n "(cached) " >&6
45287 else
45290 ac_ext=cpp
45291 ac_cpp='$CXXCPP $CPPFLAGS'
45292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45297 /* end confdefs.h. */
45298 #include <math.h>
45300 main ()
45302 _ceill (0); _floorl (0);
45304 return 0;
45306 _ACEOF
45307 if ac_fn_cxx_try_compile "$LINENO"; then :
45308 glibcxx_cv_func__long_double_round_use=yes
45309 else
45310 glibcxx_cv_func__long_double_round_use=no
45312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45313 ac_ext=c
45314 ac_cpp='$CPP $CPPFLAGS'
45315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
45322 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
45323 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
45324 for ac_func in _ceill _floorl
45325 do :
45326 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45327 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45328 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45329 cat >>confdefs.h <<_ACEOF
45330 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45331 _ACEOF
45334 done
45344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
45345 $as_echo_n "checking for isnanl declaration... " >&6; }
45346 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
45347 if ${glibcxx_cv_func_isnanl_use+:} false; then :
45348 $as_echo_n "(cached) " >&6
45349 else
45352 ac_ext=cpp
45353 ac_cpp='$CXXCPP $CPPFLAGS'
45354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45359 /* end confdefs.h. */
45360 #include <math.h>
45361 #ifdef HAVE_IEEEFP_H
45362 #include <ieeefp.h>
45363 #endif
45366 main ()
45368 isnanl(0);
45370 return 0;
45372 _ACEOF
45373 if ac_fn_cxx_try_compile "$LINENO"; then :
45374 glibcxx_cv_func_isnanl_use=yes
45375 else
45376 glibcxx_cv_func_isnanl_use=no
45378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45379 ac_ext=c
45380 ac_cpp='$CPP $CPPFLAGS'
45381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
45390 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
45392 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
45393 for ac_func in isnanl
45394 do :
45395 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
45396 if test "x$ac_cv_func_isnanl" = xyes; then :
45397 cat >>confdefs.h <<_ACEOF
45398 #define HAVE_ISNANL 1
45399 _ACEOF
45402 done
45404 else
45406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
45407 $as_echo_n "checking for _isnanl declaration... " >&6; }
45408 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
45409 if ${glibcxx_cv_func__isnanl_use+:} false; then :
45410 $as_echo_n "(cached) " >&6
45411 else
45414 ac_ext=cpp
45415 ac_cpp='$CXXCPP $CPPFLAGS'
45416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45421 /* end confdefs.h. */
45422 #include <math.h>
45423 #ifdef HAVE_IEEEFP_H
45424 #include <ieeefp.h>
45425 #endif
45428 main ()
45430 _isnanl(0);
45432 return 0;
45434 _ACEOF
45435 if ac_fn_cxx_try_compile "$LINENO"; then :
45436 glibcxx_cv_func__isnanl_use=yes
45437 else
45438 glibcxx_cv_func__isnanl_use=no
45440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45441 ac_ext=c
45442 ac_cpp='$CPP $CPPFLAGS'
45443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
45452 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
45454 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
45455 for ac_func in _isnanl
45456 do :
45457 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
45458 if test "x$ac_cv_func__isnanl" = xyes; then :
45459 cat >>confdefs.h <<_ACEOF
45460 #define HAVE__ISNANL 1
45461 _ACEOF
45464 done
45473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
45474 $as_echo_n "checking for isinfl declaration... " >&6; }
45475 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
45476 if ${glibcxx_cv_func_isinfl_use+:} false; then :
45477 $as_echo_n "(cached) " >&6
45478 else
45481 ac_ext=cpp
45482 ac_cpp='$CXXCPP $CPPFLAGS'
45483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45488 /* end confdefs.h. */
45489 #include <math.h>
45490 #ifdef HAVE_IEEEFP_H
45491 #include <ieeefp.h>
45492 #endif
45495 main ()
45497 isinfl(0);
45499 return 0;
45501 _ACEOF
45502 if ac_fn_cxx_try_compile "$LINENO"; then :
45503 glibcxx_cv_func_isinfl_use=yes
45504 else
45505 glibcxx_cv_func_isinfl_use=no
45507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45508 ac_ext=c
45509 ac_cpp='$CPP $CPPFLAGS'
45510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45519 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45521 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45522 for ac_func in isinfl
45523 do :
45524 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45525 if test "x$ac_cv_func_isinfl" = xyes; then :
45526 cat >>confdefs.h <<_ACEOF
45527 #define HAVE_ISINFL 1
45528 _ACEOF
45531 done
45533 else
45535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45536 $as_echo_n "checking for _isinfl declaration... " >&6; }
45537 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45538 if ${glibcxx_cv_func__isinfl_use+:} false; then :
45539 $as_echo_n "(cached) " >&6
45540 else
45543 ac_ext=cpp
45544 ac_cpp='$CXXCPP $CPPFLAGS'
45545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45550 /* end confdefs.h. */
45551 #include <math.h>
45552 #ifdef HAVE_IEEEFP_H
45553 #include <ieeefp.h>
45554 #endif
45557 main ()
45559 _isinfl(0);
45561 return 0;
45563 _ACEOF
45564 if ac_fn_cxx_try_compile "$LINENO"; then :
45565 glibcxx_cv_func__isinfl_use=yes
45566 else
45567 glibcxx_cv_func__isinfl_use=no
45569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45570 ac_ext=c
45571 ac_cpp='$CPP $CPPFLAGS'
45572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45581 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45583 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45584 for ac_func in _isinfl
45585 do :
45586 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45587 if test "x$ac_cv_func__isinfl" = xyes; then :
45588 cat >>confdefs.h <<_ACEOF
45589 #define HAVE__ISINFL 1
45590 _ACEOF
45593 done
45602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45603 $as_echo_n "checking for atan2l declaration... " >&6; }
45604 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45605 if ${glibcxx_cv_func_atan2l_use+:} false; then :
45606 $as_echo_n "(cached) " >&6
45607 else
45610 ac_ext=cpp
45611 ac_cpp='$CXXCPP $CPPFLAGS'
45612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45617 /* end confdefs.h. */
45618 #include <math.h>
45620 main ()
45622 atan2l(0, 0);
45624 return 0;
45626 _ACEOF
45627 if ac_fn_cxx_try_compile "$LINENO"; then :
45628 glibcxx_cv_func_atan2l_use=yes
45629 else
45630 glibcxx_cv_func_atan2l_use=no
45632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45633 ac_ext=c
45634 ac_cpp='$CPP $CPPFLAGS'
45635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45644 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45646 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45647 for ac_func in atan2l
45648 do :
45649 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45650 if test "x$ac_cv_func_atan2l" = xyes; then :
45651 cat >>confdefs.h <<_ACEOF
45652 #define HAVE_ATAN2L 1
45653 _ACEOF
45656 done
45658 else
45660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45661 $as_echo_n "checking for _atan2l declaration... " >&6; }
45662 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45663 if ${glibcxx_cv_func__atan2l_use+:} false; then :
45664 $as_echo_n "(cached) " >&6
45665 else
45668 ac_ext=cpp
45669 ac_cpp='$CXXCPP $CPPFLAGS'
45670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45675 /* end confdefs.h. */
45676 #include <math.h>
45678 main ()
45680 _atan2l(0, 0);
45682 return 0;
45684 _ACEOF
45685 if ac_fn_cxx_try_compile "$LINENO"; then :
45686 glibcxx_cv_func__atan2l_use=yes
45687 else
45688 glibcxx_cv_func__atan2l_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__atan2l_use" >&5
45702 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45704 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45705 for ac_func in _atan2l
45706 do :
45707 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45708 if test "x$ac_cv_func__atan2l" = xyes; then :
45709 cat >>confdefs.h <<_ACEOF
45710 #define HAVE__ATAN2L 1
45711 _ACEOF
45714 done
45723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45724 $as_echo_n "checking for expl declaration... " >&6; }
45725 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45726 if ${glibcxx_cv_func_expl_use+:} false; then :
45727 $as_echo_n "(cached) " >&6
45728 else
45731 ac_ext=cpp
45732 ac_cpp='$CXXCPP $CPPFLAGS'
45733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45738 /* end confdefs.h. */
45739 #include <math.h>
45740 #ifdef HAVE_IEEEFP_H
45741 #include <ieeefp.h>
45742 #endif
45745 main ()
45747 expl(0);
45749 return 0;
45751 _ACEOF
45752 if ac_fn_cxx_try_compile "$LINENO"; then :
45753 glibcxx_cv_func_expl_use=yes
45754 else
45755 glibcxx_cv_func_expl_use=no
45757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45758 ac_ext=c
45759 ac_cpp='$CPP $CPPFLAGS'
45760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45769 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45771 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45772 for ac_func in expl
45773 do :
45774 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45775 if test "x$ac_cv_func_expl" = xyes; then :
45776 cat >>confdefs.h <<_ACEOF
45777 #define HAVE_EXPL 1
45778 _ACEOF
45781 done
45783 else
45785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45786 $as_echo_n "checking for _expl declaration... " >&6; }
45787 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45788 if ${glibcxx_cv_func__expl_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>
45802 #ifdef HAVE_IEEEFP_H
45803 #include <ieeefp.h>
45804 #endif
45807 main ()
45809 _expl(0);
45811 return 0;
45813 _ACEOF
45814 if ac_fn_cxx_try_compile "$LINENO"; then :
45815 glibcxx_cv_func__expl_use=yes
45816 else
45817 glibcxx_cv_func__expl_use=no
45819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45820 ac_ext=c
45821 ac_cpp='$CPP $CPPFLAGS'
45822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45831 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45833 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45834 for ac_func in _expl
45835 do :
45836 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45837 if test "x$ac_cv_func__expl" = xyes; then :
45838 cat >>confdefs.h <<_ACEOF
45839 #define HAVE__EXPL 1
45840 _ACEOF
45843 done
45852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45853 $as_echo_n "checking for fabsl declaration... " >&6; }
45854 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45855 if ${glibcxx_cv_func_fabsl_use+:} false; then :
45856 $as_echo_n "(cached) " >&6
45857 else
45860 ac_ext=cpp
45861 ac_cpp='$CXXCPP $CPPFLAGS'
45862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45867 /* end confdefs.h. */
45868 #include <math.h>
45869 #ifdef HAVE_IEEEFP_H
45870 #include <ieeefp.h>
45871 #endif
45874 main ()
45876 fabsl(0);
45878 return 0;
45880 _ACEOF
45881 if ac_fn_cxx_try_compile "$LINENO"; then :
45882 glibcxx_cv_func_fabsl_use=yes
45883 else
45884 glibcxx_cv_func_fabsl_use=no
45886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45887 ac_ext=c
45888 ac_cpp='$CPP $CPPFLAGS'
45889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45898 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45900 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45901 for ac_func in fabsl
45902 do :
45903 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45904 if test "x$ac_cv_func_fabsl" = xyes; then :
45905 cat >>confdefs.h <<_ACEOF
45906 #define HAVE_FABSL 1
45907 _ACEOF
45910 done
45912 else
45914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45915 $as_echo_n "checking for _fabsl declaration... " >&6; }
45916 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45917 if ${glibcxx_cv_func__fabsl_use+:} false; then :
45918 $as_echo_n "(cached) " >&6
45919 else
45922 ac_ext=cpp
45923 ac_cpp='$CXXCPP $CPPFLAGS'
45924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45929 /* end confdefs.h. */
45930 #include <math.h>
45931 #ifdef HAVE_IEEEFP_H
45932 #include <ieeefp.h>
45933 #endif
45936 main ()
45938 _fabsl(0);
45940 return 0;
45942 _ACEOF
45943 if ac_fn_cxx_try_compile "$LINENO"; then :
45944 glibcxx_cv_func__fabsl_use=yes
45945 else
45946 glibcxx_cv_func__fabsl_use=no
45948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45949 ac_ext=c
45950 ac_cpp='$CPP $CPPFLAGS'
45951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45960 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45962 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45963 for ac_func in _fabsl
45964 do :
45965 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45966 if test "x$ac_cv_func__fabsl" = xyes; then :
45967 cat >>confdefs.h <<_ACEOF
45968 #define HAVE__FABSL 1
45969 _ACEOF
45972 done
45981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45982 $as_echo_n "checking for fmodl declaration... " >&6; }
45983 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45984 if ${glibcxx_cv_func_fmodl_use+:} false; then :
45985 $as_echo_n "(cached) " >&6
45986 else
45989 ac_ext=cpp
45990 ac_cpp='$CXXCPP $CPPFLAGS'
45991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45996 /* end confdefs.h. */
45997 #include <math.h>
45999 main ()
46001 fmodl(0, 0);
46003 return 0;
46005 _ACEOF
46006 if ac_fn_cxx_try_compile "$LINENO"; then :
46007 glibcxx_cv_func_fmodl_use=yes
46008 else
46009 glibcxx_cv_func_fmodl_use=no
46011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46012 ac_ext=c
46013 ac_cpp='$CPP $CPPFLAGS'
46014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
46023 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
46025 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
46026 for ac_func in fmodl
46027 do :
46028 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
46029 if test "x$ac_cv_func_fmodl" = xyes; then :
46030 cat >>confdefs.h <<_ACEOF
46031 #define HAVE_FMODL 1
46032 _ACEOF
46035 done
46037 else
46039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
46040 $as_echo_n "checking for _fmodl declaration... " >&6; }
46041 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
46042 if ${glibcxx_cv_func__fmodl_use+:} false; then :
46043 $as_echo_n "(cached) " >&6
46044 else
46047 ac_ext=cpp
46048 ac_cpp='$CXXCPP $CPPFLAGS'
46049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46054 /* end confdefs.h. */
46055 #include <math.h>
46057 main ()
46059 _fmodl(0, 0);
46061 return 0;
46063 _ACEOF
46064 if ac_fn_cxx_try_compile "$LINENO"; then :
46065 glibcxx_cv_func__fmodl_use=yes
46066 else
46067 glibcxx_cv_func__fmodl_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__fmodl_use" >&5
46081 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
46083 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
46084 for ac_func in _fmodl
46085 do :
46086 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
46087 if test "x$ac_cv_func__fmodl" = xyes; then :
46088 cat >>confdefs.h <<_ACEOF
46089 #define HAVE__FMODL 1
46090 _ACEOF
46093 done
46102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
46103 $as_echo_n "checking for frexpl declaration... " >&6; }
46104 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
46105 if ${glibcxx_cv_func_frexpl_use+:} false; then :
46106 $as_echo_n "(cached) " >&6
46107 else
46110 ac_ext=cpp
46111 ac_cpp='$CXXCPP $CPPFLAGS'
46112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46117 /* end confdefs.h. */
46118 #include <math.h>
46120 main ()
46122 frexpl(0, 0);
46124 return 0;
46126 _ACEOF
46127 if ac_fn_cxx_try_compile "$LINENO"; then :
46128 glibcxx_cv_func_frexpl_use=yes
46129 else
46130 glibcxx_cv_func_frexpl_use=no
46132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46133 ac_ext=c
46134 ac_cpp='$CPP $CPPFLAGS'
46135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
46144 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
46146 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
46147 for ac_func in frexpl
46148 do :
46149 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
46150 if test "x$ac_cv_func_frexpl" = xyes; then :
46151 cat >>confdefs.h <<_ACEOF
46152 #define HAVE_FREXPL 1
46153 _ACEOF
46156 done
46158 else
46160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
46161 $as_echo_n "checking for _frexpl declaration... " >&6; }
46162 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
46163 if ${glibcxx_cv_func__frexpl_use+:} false; then :
46164 $as_echo_n "(cached) " >&6
46165 else
46168 ac_ext=cpp
46169 ac_cpp='$CXXCPP $CPPFLAGS'
46170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46175 /* end confdefs.h. */
46176 #include <math.h>
46178 main ()
46180 _frexpl(0, 0);
46182 return 0;
46184 _ACEOF
46185 if ac_fn_cxx_try_compile "$LINENO"; then :
46186 glibcxx_cv_func__frexpl_use=yes
46187 else
46188 glibcxx_cv_func__frexpl_use=no
46190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46191 ac_ext=c
46192 ac_cpp='$CPP $CPPFLAGS'
46193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
46202 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
46204 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
46205 for ac_func in _frexpl
46206 do :
46207 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
46208 if test "x$ac_cv_func__frexpl" = xyes; then :
46209 cat >>confdefs.h <<_ACEOF
46210 #define HAVE__FREXPL 1
46211 _ACEOF
46214 done
46223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
46224 $as_echo_n "checking for hypotl declaration... " >&6; }
46225 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
46226 if ${glibcxx_cv_func_hypotl_use+:} false; then :
46227 $as_echo_n "(cached) " >&6
46228 else
46231 ac_ext=cpp
46232 ac_cpp='$CXXCPP $CPPFLAGS'
46233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46238 /* end confdefs.h. */
46239 #include <math.h>
46241 main ()
46243 hypotl(0, 0);
46245 return 0;
46247 _ACEOF
46248 if ac_fn_cxx_try_compile "$LINENO"; then :
46249 glibcxx_cv_func_hypotl_use=yes
46250 else
46251 glibcxx_cv_func_hypotl_use=no
46253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46254 ac_ext=c
46255 ac_cpp='$CPP $CPPFLAGS'
46256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
46265 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
46267 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
46268 for ac_func in hypotl
46269 do :
46270 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
46271 if test "x$ac_cv_func_hypotl" = xyes; then :
46272 cat >>confdefs.h <<_ACEOF
46273 #define HAVE_HYPOTL 1
46274 _ACEOF
46277 done
46279 else
46281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
46282 $as_echo_n "checking for _hypotl declaration... " >&6; }
46283 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
46284 if ${glibcxx_cv_func__hypotl_use+:} false; then :
46285 $as_echo_n "(cached) " >&6
46286 else
46289 ac_ext=cpp
46290 ac_cpp='$CXXCPP $CPPFLAGS'
46291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46296 /* end confdefs.h. */
46297 #include <math.h>
46299 main ()
46301 _hypotl(0, 0);
46303 return 0;
46305 _ACEOF
46306 if ac_fn_cxx_try_compile "$LINENO"; then :
46307 glibcxx_cv_func__hypotl_use=yes
46308 else
46309 glibcxx_cv_func__hypotl_use=no
46311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46312 ac_ext=c
46313 ac_cpp='$CPP $CPPFLAGS'
46314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
46323 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
46325 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
46326 for ac_func in _hypotl
46327 do :
46328 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
46329 if test "x$ac_cv_func__hypotl" = xyes; then :
46330 cat >>confdefs.h <<_ACEOF
46331 #define HAVE__HYPOTL 1
46332 _ACEOF
46335 done
46344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
46345 $as_echo_n "checking for ldexpl declaration... " >&6; }
46346 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
46347 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
46348 $as_echo_n "(cached) " >&6
46349 else
46352 ac_ext=cpp
46353 ac_cpp='$CXXCPP $CPPFLAGS'
46354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46359 /* end confdefs.h. */
46360 #include <math.h>
46362 main ()
46364 ldexpl(0, 0);
46366 return 0;
46368 _ACEOF
46369 if ac_fn_cxx_try_compile "$LINENO"; then :
46370 glibcxx_cv_func_ldexpl_use=yes
46371 else
46372 glibcxx_cv_func_ldexpl_use=no
46374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46375 ac_ext=c
46376 ac_cpp='$CPP $CPPFLAGS'
46377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
46386 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
46388 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
46389 for ac_func in ldexpl
46390 do :
46391 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
46392 if test "x$ac_cv_func_ldexpl" = xyes; then :
46393 cat >>confdefs.h <<_ACEOF
46394 #define HAVE_LDEXPL 1
46395 _ACEOF
46398 done
46400 else
46402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
46403 $as_echo_n "checking for _ldexpl declaration... " >&6; }
46404 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
46405 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
46406 $as_echo_n "(cached) " >&6
46407 else
46410 ac_ext=cpp
46411 ac_cpp='$CXXCPP $CPPFLAGS'
46412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46417 /* end confdefs.h. */
46418 #include <math.h>
46420 main ()
46422 _ldexpl(0, 0);
46424 return 0;
46426 _ACEOF
46427 if ac_fn_cxx_try_compile "$LINENO"; then :
46428 glibcxx_cv_func__ldexpl_use=yes
46429 else
46430 glibcxx_cv_func__ldexpl_use=no
46432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46433 ac_ext=c
46434 ac_cpp='$CPP $CPPFLAGS'
46435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
46444 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
46446 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
46447 for ac_func in _ldexpl
46448 do :
46449 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
46450 if test "x$ac_cv_func__ldexpl" = xyes; then :
46451 cat >>confdefs.h <<_ACEOF
46452 #define HAVE__LDEXPL 1
46453 _ACEOF
46456 done
46465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
46466 $as_echo_n "checking for logl declaration... " >&6; }
46467 if test x${glibcxx_cv_func_logl_use+set} != xset; then
46468 if ${glibcxx_cv_func_logl_use+:} false; then :
46469 $as_echo_n "(cached) " >&6
46470 else
46473 ac_ext=cpp
46474 ac_cpp='$CXXCPP $CPPFLAGS'
46475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46480 /* end confdefs.h. */
46481 #include <math.h>
46482 #ifdef HAVE_IEEEFP_H
46483 #include <ieeefp.h>
46484 #endif
46487 main ()
46489 logl(0);
46491 return 0;
46493 _ACEOF
46494 if ac_fn_cxx_try_compile "$LINENO"; then :
46495 glibcxx_cv_func_logl_use=yes
46496 else
46497 glibcxx_cv_func_logl_use=no
46499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46500 ac_ext=c
46501 ac_cpp='$CPP $CPPFLAGS'
46502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46511 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
46513 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46514 for ac_func in logl
46515 do :
46516 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46517 if test "x$ac_cv_func_logl" = xyes; then :
46518 cat >>confdefs.h <<_ACEOF
46519 #define HAVE_LOGL 1
46520 _ACEOF
46523 done
46525 else
46527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46528 $as_echo_n "checking for _logl declaration... " >&6; }
46529 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46530 if ${glibcxx_cv_func__logl_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>
46544 #ifdef HAVE_IEEEFP_H
46545 #include <ieeefp.h>
46546 #endif
46549 main ()
46551 _logl(0);
46553 return 0;
46555 _ACEOF
46556 if ac_fn_cxx_try_compile "$LINENO"; then :
46557 glibcxx_cv_func__logl_use=yes
46558 else
46559 glibcxx_cv_func__logl_use=no
46561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46562 ac_ext=c
46563 ac_cpp='$CPP $CPPFLAGS'
46564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46573 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
46575 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46576 for ac_func in _logl
46577 do :
46578 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46579 if test "x$ac_cv_func__logl" = xyes; then :
46580 cat >>confdefs.h <<_ACEOF
46581 #define HAVE__LOGL 1
46582 _ACEOF
46585 done
46594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46595 $as_echo_n "checking for log10l declaration... " >&6; }
46596 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46597 if ${glibcxx_cv_func_log10l_use+:} false; then :
46598 $as_echo_n "(cached) " >&6
46599 else
46602 ac_ext=cpp
46603 ac_cpp='$CXXCPP $CPPFLAGS'
46604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46609 /* end confdefs.h. */
46610 #include <math.h>
46611 #ifdef HAVE_IEEEFP_H
46612 #include <ieeefp.h>
46613 #endif
46616 main ()
46618 log10l(0);
46620 return 0;
46622 _ACEOF
46623 if ac_fn_cxx_try_compile "$LINENO"; then :
46624 glibcxx_cv_func_log10l_use=yes
46625 else
46626 glibcxx_cv_func_log10l_use=no
46628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46629 ac_ext=c
46630 ac_cpp='$CPP $CPPFLAGS'
46631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46640 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46642 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46643 for ac_func in log10l
46644 do :
46645 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46646 if test "x$ac_cv_func_log10l" = xyes; then :
46647 cat >>confdefs.h <<_ACEOF
46648 #define HAVE_LOG10L 1
46649 _ACEOF
46652 done
46654 else
46656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46657 $as_echo_n "checking for _log10l declaration... " >&6; }
46658 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46659 if ${glibcxx_cv_func__log10l_use+:} false; then :
46660 $as_echo_n "(cached) " >&6
46661 else
46664 ac_ext=cpp
46665 ac_cpp='$CXXCPP $CPPFLAGS'
46666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46671 /* end confdefs.h. */
46672 #include <math.h>
46673 #ifdef HAVE_IEEEFP_H
46674 #include <ieeefp.h>
46675 #endif
46678 main ()
46680 _log10l(0);
46682 return 0;
46684 _ACEOF
46685 if ac_fn_cxx_try_compile "$LINENO"; then :
46686 glibcxx_cv_func__log10l_use=yes
46687 else
46688 glibcxx_cv_func__log10l_use=no
46690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46691 ac_ext=c
46692 ac_cpp='$CPP $CPPFLAGS'
46693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46702 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46704 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46705 for ac_func in _log10l
46706 do :
46707 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46708 if test "x$ac_cv_func__log10l" = xyes; then :
46709 cat >>confdefs.h <<_ACEOF
46710 #define HAVE__LOG10L 1
46711 _ACEOF
46714 done
46723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46724 $as_echo_n "checking for modfl declaration... " >&6; }
46725 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46726 if ${glibcxx_cv_func_modfl_use+:} false; then :
46727 $as_echo_n "(cached) " >&6
46728 else
46731 ac_ext=cpp
46732 ac_cpp='$CXXCPP $CPPFLAGS'
46733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46738 /* end confdefs.h. */
46739 #include <math.h>
46741 main ()
46743 modfl(0, 0);
46745 return 0;
46747 _ACEOF
46748 if ac_fn_cxx_try_compile "$LINENO"; then :
46749 glibcxx_cv_func_modfl_use=yes
46750 else
46751 glibcxx_cv_func_modfl_use=no
46753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46754 ac_ext=c
46755 ac_cpp='$CPP $CPPFLAGS'
46756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46765 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46767 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46768 for ac_func in modfl
46769 do :
46770 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46771 if test "x$ac_cv_func_modfl" = xyes; then :
46772 cat >>confdefs.h <<_ACEOF
46773 #define HAVE_MODFL 1
46774 _ACEOF
46777 done
46779 else
46781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46782 $as_echo_n "checking for _modfl declaration... " >&6; }
46783 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46784 if ${glibcxx_cv_func__modfl_use+:} false; then :
46785 $as_echo_n "(cached) " >&6
46786 else
46789 ac_ext=cpp
46790 ac_cpp='$CXXCPP $CPPFLAGS'
46791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46796 /* end confdefs.h. */
46797 #include <math.h>
46799 main ()
46801 _modfl(0, 0);
46803 return 0;
46805 _ACEOF
46806 if ac_fn_cxx_try_compile "$LINENO"; then :
46807 glibcxx_cv_func__modfl_use=yes
46808 else
46809 glibcxx_cv_func__modfl_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__modfl_use" >&5
46823 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46825 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46826 for ac_func in _modfl
46827 do :
46828 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46829 if test "x$ac_cv_func__modfl" = xyes; then :
46830 cat >>confdefs.h <<_ACEOF
46831 #define HAVE__MODFL 1
46832 _ACEOF
46835 done
46844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46845 $as_echo_n "checking for powl declaration... " >&6; }
46846 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46847 if ${glibcxx_cv_func_powl_use+:} false; then :
46848 $as_echo_n "(cached) " >&6
46849 else
46852 ac_ext=cpp
46853 ac_cpp='$CXXCPP $CPPFLAGS'
46854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46859 /* end confdefs.h. */
46860 #include <math.h>
46862 main ()
46864 powl(0, 0);
46866 return 0;
46868 _ACEOF
46869 if ac_fn_cxx_try_compile "$LINENO"; then :
46870 glibcxx_cv_func_powl_use=yes
46871 else
46872 glibcxx_cv_func_powl_use=no
46874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46875 ac_ext=c
46876 ac_cpp='$CPP $CPPFLAGS'
46877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46886 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46888 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46889 for ac_func in powl
46890 do :
46891 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46892 if test "x$ac_cv_func_powl" = xyes; then :
46893 cat >>confdefs.h <<_ACEOF
46894 #define HAVE_POWL 1
46895 _ACEOF
46898 done
46900 else
46902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46903 $as_echo_n "checking for _powl declaration... " >&6; }
46904 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46905 if ${glibcxx_cv_func__powl_use+:} false; then :
46906 $as_echo_n "(cached) " >&6
46907 else
46910 ac_ext=cpp
46911 ac_cpp='$CXXCPP $CPPFLAGS'
46912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46917 /* end confdefs.h. */
46918 #include <math.h>
46920 main ()
46922 _powl(0, 0);
46924 return 0;
46926 _ACEOF
46927 if ac_fn_cxx_try_compile "$LINENO"; then :
46928 glibcxx_cv_func__powl_use=yes
46929 else
46930 glibcxx_cv_func__powl_use=no
46932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46933 ac_ext=c
46934 ac_cpp='$CPP $CPPFLAGS'
46935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46944 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46946 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46947 for ac_func in _powl
46948 do :
46949 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46950 if test "x$ac_cv_func__powl" = xyes; then :
46951 cat >>confdefs.h <<_ACEOF
46952 #define HAVE__POWL 1
46953 _ACEOF
46956 done
46965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46966 $as_echo_n "checking for sqrtl declaration... " >&6; }
46967 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46968 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
46969 $as_echo_n "(cached) " >&6
46970 else
46973 ac_ext=cpp
46974 ac_cpp='$CXXCPP $CPPFLAGS'
46975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46980 /* end confdefs.h. */
46981 #include <math.h>
46982 #ifdef HAVE_IEEEFP_H
46983 #include <ieeefp.h>
46984 #endif
46987 main ()
46989 sqrtl(0);
46991 return 0;
46993 _ACEOF
46994 if ac_fn_cxx_try_compile "$LINENO"; then :
46995 glibcxx_cv_func_sqrtl_use=yes
46996 else
46997 glibcxx_cv_func_sqrtl_use=no
46999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47000 ac_ext=c
47001 ac_cpp='$CPP $CPPFLAGS'
47002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
47011 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
47013 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
47014 for ac_func in sqrtl
47015 do :
47016 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
47017 if test "x$ac_cv_func_sqrtl" = xyes; then :
47018 cat >>confdefs.h <<_ACEOF
47019 #define HAVE_SQRTL 1
47020 _ACEOF
47023 done
47025 else
47027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
47028 $as_echo_n "checking for _sqrtl declaration... " >&6; }
47029 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
47030 if ${glibcxx_cv_func__sqrtl_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>
47044 #ifdef HAVE_IEEEFP_H
47045 #include <ieeefp.h>
47046 #endif
47049 main ()
47051 _sqrtl(0);
47053 return 0;
47055 _ACEOF
47056 if ac_fn_cxx_try_compile "$LINENO"; then :
47057 glibcxx_cv_func__sqrtl_use=yes
47058 else
47059 glibcxx_cv_func__sqrtl_use=no
47061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47062 ac_ext=c
47063 ac_cpp='$CPP $CPPFLAGS'
47064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
47073 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
47075 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
47076 for ac_func in _sqrtl
47077 do :
47078 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
47079 if test "x$ac_cv_func__sqrtl" = xyes; then :
47080 cat >>confdefs.h <<_ACEOF
47081 #define HAVE__SQRTL 1
47082 _ACEOF
47085 done
47094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
47095 $as_echo_n "checking for sincosl declaration... " >&6; }
47096 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
47097 if ${glibcxx_cv_func_sincosl_use+:} false; then :
47098 $as_echo_n "(cached) " >&6
47099 else
47102 ac_ext=cpp
47103 ac_cpp='$CXXCPP $CPPFLAGS'
47104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47109 /* end confdefs.h. */
47110 #include <math.h>
47112 main ()
47114 sincosl(0, 0, 0);
47116 return 0;
47118 _ACEOF
47119 if ac_fn_cxx_try_compile "$LINENO"; then :
47120 glibcxx_cv_func_sincosl_use=yes
47121 else
47122 glibcxx_cv_func_sincosl_use=no
47124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47125 ac_ext=c
47126 ac_cpp='$CPP $CPPFLAGS'
47127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
47136 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
47138 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
47139 for ac_func in sincosl
47140 do :
47141 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
47142 if test "x$ac_cv_func_sincosl" = xyes; then :
47143 cat >>confdefs.h <<_ACEOF
47144 #define HAVE_SINCOSL 1
47145 _ACEOF
47148 done
47150 else
47152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
47153 $as_echo_n "checking for _sincosl declaration... " >&6; }
47154 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
47155 if ${glibcxx_cv_func__sincosl_use+:} false; then :
47156 $as_echo_n "(cached) " >&6
47157 else
47160 ac_ext=cpp
47161 ac_cpp='$CXXCPP $CPPFLAGS'
47162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47167 /* end confdefs.h. */
47168 #include <math.h>
47170 main ()
47172 _sincosl(0, 0, 0);
47174 return 0;
47176 _ACEOF
47177 if ac_fn_cxx_try_compile "$LINENO"; then :
47178 glibcxx_cv_func__sincosl_use=yes
47179 else
47180 glibcxx_cv_func__sincosl_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__sincosl_use" >&5
47194 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
47196 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
47197 for ac_func in _sincosl
47198 do :
47199 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
47200 if test "x$ac_cv_func__sincosl" = xyes; then :
47201 cat >>confdefs.h <<_ACEOF
47202 #define HAVE__SINCOSL 1
47203 _ACEOF
47206 done
47215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
47216 $as_echo_n "checking for finitel declaration... " >&6; }
47217 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
47218 if ${glibcxx_cv_func_finitel_use+:} false; then :
47219 $as_echo_n "(cached) " >&6
47220 else
47223 ac_ext=cpp
47224 ac_cpp='$CXXCPP $CPPFLAGS'
47225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47230 /* end confdefs.h. */
47231 #include <math.h>
47232 #ifdef HAVE_IEEEFP_H
47233 #include <ieeefp.h>
47234 #endif
47237 main ()
47239 finitel(0);
47241 return 0;
47243 _ACEOF
47244 if ac_fn_cxx_try_compile "$LINENO"; then :
47245 glibcxx_cv_func_finitel_use=yes
47246 else
47247 glibcxx_cv_func_finitel_use=no
47249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47250 ac_ext=c
47251 ac_cpp='$CPP $CPPFLAGS'
47252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
47261 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
47263 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
47264 for ac_func in finitel
47265 do :
47266 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
47267 if test "x$ac_cv_func_finitel" = xyes; then :
47268 cat >>confdefs.h <<_ACEOF
47269 #define HAVE_FINITEL 1
47270 _ACEOF
47273 done
47275 else
47277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
47278 $as_echo_n "checking for _finitel declaration... " >&6; }
47279 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
47280 if ${glibcxx_cv_func__finitel_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>
47294 #ifdef HAVE_IEEEFP_H
47295 #include <ieeefp.h>
47296 #endif
47299 main ()
47301 _finitel(0);
47303 return 0;
47305 _ACEOF
47306 if ac_fn_cxx_try_compile "$LINENO"; then :
47307 glibcxx_cv_func__finitel_use=yes
47308 else
47309 glibcxx_cv_func__finitel_use=no
47311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47312 ac_ext=c
47313 ac_cpp='$CPP $CPPFLAGS'
47314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
47323 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
47325 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
47326 for ac_func in _finitel
47327 do :
47328 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
47329 if test "x$ac_cv_func__finitel" = xyes; then :
47330 cat >>confdefs.h <<_ACEOF
47331 #define HAVE__FINITEL 1
47332 _ACEOF
47335 done
47343 LIBS="$ac_save_LIBS"
47344 CXXFLAGS="$ac_save_CXXFLAGS"
47347 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47348 ac_save_CXXFLAGS="$CXXFLAGS"
47349 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
47353 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
47354 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
47355 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
47356 $as_echo_n "(cached) " >&6
47357 else
47360 ac_ext=cpp
47361 ac_cpp='$CXXCPP $CPPFLAGS'
47362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47367 /* end confdefs.h. */
47368 #include <stdlib.h>
47370 main ()
47372 at_quick_exit(0);
47374 return 0;
47376 _ACEOF
47377 if ac_fn_cxx_try_compile "$LINENO"; then :
47378 glibcxx_cv_func_at_quick_exit_use=yes
47379 else
47380 glibcxx_cv_func_at_quick_exit_use=no
47382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47383 ac_ext=c
47384 ac_cpp='$CPP $CPPFLAGS'
47385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
47394 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
47395 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
47396 for ac_func in at_quick_exit
47397 do :
47398 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
47399 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
47400 cat >>confdefs.h <<_ACEOF
47401 #define HAVE_AT_QUICK_EXIT 1
47402 _ACEOF
47405 done
47410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
47411 $as_echo_n "checking for quick_exit declaration... " >&6; }
47412 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
47413 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
47414 $as_echo_n "(cached) " >&6
47415 else
47418 ac_ext=cpp
47419 ac_cpp='$CXXCPP $CPPFLAGS'
47420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47425 /* end confdefs.h. */
47426 #include <stdlib.h>
47428 main ()
47430 quick_exit(0);
47432 return 0;
47434 _ACEOF
47435 if ac_fn_cxx_try_compile "$LINENO"; then :
47436 glibcxx_cv_func_quick_exit_use=yes
47437 else
47438 glibcxx_cv_func_quick_exit_use=no
47440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47441 ac_ext=c
47442 ac_cpp='$CPP $CPPFLAGS'
47443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
47452 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
47453 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
47454 for ac_func in quick_exit
47455 do :
47456 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
47457 if test "x$ac_cv_func_quick_exit" = xyes; then :
47458 cat >>confdefs.h <<_ACEOF
47459 #define HAVE_QUICK_EXIT 1
47460 _ACEOF
47463 done
47468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
47469 $as_echo_n "checking for strtold declaration... " >&6; }
47470 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
47471 if ${glibcxx_cv_func_strtold_use+:} false; then :
47472 $as_echo_n "(cached) " >&6
47473 else
47476 ac_ext=cpp
47477 ac_cpp='$CXXCPP $CPPFLAGS'
47478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47483 /* end confdefs.h. */
47484 #include <stdlib.h>
47486 main ()
47488 strtold(0, 0);
47490 return 0;
47492 _ACEOF
47493 if ac_fn_cxx_try_compile "$LINENO"; then :
47494 glibcxx_cv_func_strtold_use=yes
47495 else
47496 glibcxx_cv_func_strtold_use=no
47498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47499 ac_ext=c
47500 ac_cpp='$CPP $CPPFLAGS'
47501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47510 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47511 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47512 for ac_func in strtold
47513 do :
47514 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47515 if test "x$ac_cv_func_strtold" = xyes; then :
47516 cat >>confdefs.h <<_ACEOF
47517 #define HAVE_STRTOLD 1
47518 _ACEOF
47521 done
47528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47529 $as_echo_n "checking for strtof declaration... " >&6; }
47530 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47531 if ${glibcxx_cv_func_strtof_use+:} false; then :
47532 $as_echo_n "(cached) " >&6
47533 else
47536 ac_ext=cpp
47537 ac_cpp='$CXXCPP $CPPFLAGS'
47538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47543 /* end confdefs.h. */
47544 #include <stdlib.h>
47546 main ()
47548 strtof(0, 0);
47550 return 0;
47552 _ACEOF
47553 if ac_fn_cxx_try_compile "$LINENO"; then :
47554 glibcxx_cv_func_strtof_use=yes
47555 else
47556 glibcxx_cv_func_strtof_use=no
47558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47559 ac_ext=c
47560 ac_cpp='$CPP $CPPFLAGS'
47561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47570 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47571 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47572 for ac_func in strtof
47573 do :
47574 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47575 if test "x$ac_cv_func_strtof" = xyes; then :
47576 cat >>confdefs.h <<_ACEOF
47577 #define HAVE_STRTOF 1
47578 _ACEOF
47581 done
47588 CXXFLAGS="$ac_save_CXXFLAGS"
47591 for ac_func in uselocale
47592 do :
47593 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
47594 if test "x$ac_cv_func_uselocale" = xyes; then :
47595 cat >>confdefs.h <<_ACEOF
47596 #define HAVE_USELOCALE 1
47597 _ACEOF
47600 done
47604 *djgpp)
47605 # GLIBCXX_CHECK_MATH_SUPPORT
47606 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47608 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47610 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47612 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
47614 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47618 *-freebsd*)
47619 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47622 # If we're not using GNU ld, then there's no point in even trying these
47623 # tests. Check for that first. We should have already tested for gld
47624 # by now (in libtool), but require it now just to be safe...
47625 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47626 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47630 # The name set by libtool depends on the version of libtool. Shame on us
47631 # for depending on an impl detail, but c'est la vie. Older versions used
47632 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47633 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47634 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
47635 # set (hence we're using an older libtool), then set it.
47636 if test x${with_gnu_ld+set} != xset; then
47637 if test x${ac_cv_prog_gnu_ld+set} != xset; then
47638 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
47639 with_gnu_ld=no
47640 else
47641 with_gnu_ld=$ac_cv_prog_gnu_ld
47645 # Start by getting the version number. I think the libtool test already
47646 # does some of this, but throws away the result.
47647 glibcxx_ld_is_gold=no
47648 glibcxx_ld_is_mold=no
47649 if test x"$with_gnu_ld" = x"yes"; then
47650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47651 $as_echo_n "checking for ld version... " >&6; }
47653 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47654 glibcxx_ld_is_gold=yes
47655 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
47656 glibcxx_ld_is_mold=yes
47658 ldver=`$LD --version 2>/dev/null |
47659 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47661 glibcxx_gnu_ld_version=`echo $ldver | \
47662 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47664 $as_echo "$glibcxx_gnu_ld_version" >&6; }
47667 # Set --gc-sections.
47668 glibcxx_have_gc_sections=no
47669 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
47670 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47671 glibcxx_have_gc_sections=yes
47673 else
47674 glibcxx_gcsections_min_ld=21602
47675 if test x"$with_gnu_ld" = x"yes" &&
47676 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47677 glibcxx_have_gc_sections=yes
47680 if test "$glibcxx_have_gc_sections" = "yes"; then
47681 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
47682 # NB: This flag only works reliably after 2.16.1. Configure tests
47683 # for this are difficult, so hard wire a value that should work.
47685 ac_test_CFLAGS="${CFLAGS+set}"
47686 ac_save_CFLAGS="$CFLAGS"
47687 CFLAGS='-Wl,--gc-sections'
47689 # Check for -Wl,--gc-sections
47690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47691 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47692 if test x$gcc_no_link = xyes; then
47693 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47696 /* end confdefs.h. */
47697 int one(void) { return 1; }
47698 int two(void) { return 2; }
47701 main ()
47703 two();
47705 return 0;
47707 _ACEOF
47708 if ac_fn_c_try_link "$LINENO"; then :
47709 ac_gcsections=yes
47710 else
47711 ac_gcsections=no
47713 rm -f core conftest.err conftest.$ac_objext \
47714 conftest$ac_exeext conftest.$ac_ext
47715 if test "$ac_gcsections" = "yes"; then
47716 rm -f conftest.c
47717 touch conftest.c
47718 if $CC -c conftest.c; then
47719 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
47720 grep "Warning: gc-sections option ignored" > /dev/null; then
47721 ac_gcsections=no
47724 rm -f conftest.c conftest.o conftest
47726 if test "$ac_gcsections" = "yes"; then
47727 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
47730 $as_echo "$ac_gcsections" >&6; }
47732 if test "$ac_test_CFLAGS" = set; then
47733 CFLAGS="$ac_save_CFLAGS"
47734 else
47735 # this is the suspicious part
47736 CFLAGS=''
47740 # Set -z,relro.
47741 # Note this is only for shared objects.
47742 ac_ld_relro=no
47743 if test x"$with_gnu_ld" = x"yes"; then
47744 # cygwin and mingw uses PE, which has no ELF relro support,
47745 # multi target ld may confuse configure machinery
47746 case "$host" in
47747 *-*-cygwin*)
47749 *-*-mingw*)
47752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
47753 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
47754 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
47755 if test -n "$cxx_z_relo"; then
47756 OPT_LDFLAGS="-Wl,-z,relro"
47757 ac_ld_relro=yes
47759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
47760 $as_echo "$ac_ld_relro" >&6; }
47761 esac
47764 # Set linker optimization flags.
47765 if test x"$with_gnu_ld" = x"yes"; then
47766 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
47772 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
47774 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
47776 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47778 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47780 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47782 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
47784 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47786 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47788 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
47791 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
47793 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
47795 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
47797 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
47799 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
47801 $as_echo "#define HAVE_COSF 1" >>confdefs.h
47803 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
47805 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
47807 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
47809 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
47811 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
47813 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47815 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
47817 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
47819 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
47821 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
47823 $as_echo "#define HAVE_POWF 1" >>confdefs.h
47825 $as_echo "#define HAVE_SINF 1" >>confdefs.h
47827 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
47829 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
47831 $as_echo "#define HAVE_TANF 1" >>confdefs.h
47833 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
47835 if test x"long_double_math_on_this_cpu" = x"yes"; then
47836 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
47838 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
47840 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
47843 for ac_func in __cxa_thread_atexit
47844 do :
47845 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
47846 if test "x$ac_cv_func___cxa_thread_atexit" = xyes; then :
47847 cat >>confdefs.h <<_ACEOF
47848 #define HAVE___CXA_THREAD_ATEXIT 1
47849 _ACEOF
47852 done
47854 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
47855 do :
47856 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47857 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47858 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
47859 cat >>confdefs.h <<_ACEOF
47860 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47861 _ACEOF
47864 done
47866 for ac_func in timespec_get
47867 do :
47868 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
47869 if test "x$ac_cv_func_timespec_get" = xyes; then :
47870 cat >>confdefs.h <<_ACEOF
47871 #define HAVE_TIMESPEC_GET 1
47872 _ACEOF
47875 done
47877 for ac_func in sockatmark
47878 do :
47879 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
47880 if test "x$ac_cv_func_sockatmark" = xyes; then :
47881 cat >>confdefs.h <<_ACEOF
47882 #define HAVE_SOCKATMARK 1
47883 _ACEOF
47886 done
47888 for ac_func in uselocale
47889 do :
47890 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
47891 if test "x$ac_cv_func_uselocale" = xyes; then :
47892 cat >>confdefs.h <<_ACEOF
47893 #define HAVE_USELOCALE 1
47894 _ACEOF
47897 done
47901 *-fuchsia*)
47902 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47906 *-hpux*)
47907 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47910 # If we're not using GNU ld, then there's no point in even trying these
47911 # tests. Check for that first. We should have already tested for gld
47912 # by now (in libtool), but require it now just to be safe...
47913 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47914 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47918 # The name set by libtool depends on the version of libtool. Shame on us
47919 # for depending on an impl detail, but c'est la vie. Older versions used
47920 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47921 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47922 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
47923 # set (hence we're using an older libtool), then set it.
47924 if test x${with_gnu_ld+set} != xset; then
47925 if test x${ac_cv_prog_gnu_ld+set} != xset; then
47926 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
47927 with_gnu_ld=no
47928 else
47929 with_gnu_ld=$ac_cv_prog_gnu_ld
47933 # Start by getting the version number. I think the libtool test already
47934 # does some of this, but throws away the result.
47935 glibcxx_ld_is_gold=no
47936 glibcxx_ld_is_mold=no
47937 if test x"$with_gnu_ld" = x"yes"; then
47938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47939 $as_echo_n "checking for ld version... " >&6; }
47941 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47942 glibcxx_ld_is_gold=yes
47943 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
47944 glibcxx_ld_is_mold=yes
47946 ldver=`$LD --version 2>/dev/null |
47947 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47949 glibcxx_gnu_ld_version=`echo $ldver | \
47950 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47952 $as_echo "$glibcxx_gnu_ld_version" >&6; }
47955 # Set --gc-sections.
47956 glibcxx_have_gc_sections=no
47957 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
47958 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47959 glibcxx_have_gc_sections=yes
47961 else
47962 glibcxx_gcsections_min_ld=21602
47963 if test x"$with_gnu_ld" = x"yes" &&
47964 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47965 glibcxx_have_gc_sections=yes
47968 if test "$glibcxx_have_gc_sections" = "yes"; then
47969 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
47970 # NB: This flag only works reliably after 2.16.1. Configure tests
47971 # for this are difficult, so hard wire a value that should work.
47973 ac_test_CFLAGS="${CFLAGS+set}"
47974 ac_save_CFLAGS="$CFLAGS"
47975 CFLAGS='-Wl,--gc-sections'
47977 # Check for -Wl,--gc-sections
47978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47979 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47980 if test x$gcc_no_link = xyes; then
47981 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47984 /* end confdefs.h. */
47985 int one(void) { return 1; }
47986 int two(void) { return 2; }
47989 main ()
47991 two();
47993 return 0;
47995 _ACEOF
47996 if ac_fn_c_try_link "$LINENO"; then :
47997 ac_gcsections=yes
47998 else
47999 ac_gcsections=no
48001 rm -f core conftest.err conftest.$ac_objext \
48002 conftest$ac_exeext conftest.$ac_ext
48003 if test "$ac_gcsections" = "yes"; then
48004 rm -f conftest.c
48005 touch conftest.c
48006 if $CC -c conftest.c; then
48007 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
48008 grep "Warning: gc-sections option ignored" > /dev/null; then
48009 ac_gcsections=no
48012 rm -f conftest.c conftest.o conftest
48014 if test "$ac_gcsections" = "yes"; then
48015 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
48017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
48018 $as_echo "$ac_gcsections" >&6; }
48020 if test "$ac_test_CFLAGS" = set; then
48021 CFLAGS="$ac_save_CFLAGS"
48022 else
48023 # this is the suspicious part
48024 CFLAGS=''
48028 # Set -z,relro.
48029 # Note this is only for shared objects.
48030 ac_ld_relro=no
48031 if test x"$with_gnu_ld" = x"yes"; then
48032 # cygwin and mingw uses PE, which has no ELF relro support,
48033 # multi target ld may confuse configure machinery
48034 case "$host" in
48035 *-*-cygwin*)
48037 *-*-mingw*)
48040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
48041 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
48042 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
48043 if test -n "$cxx_z_relo"; then
48044 OPT_LDFLAGS="-Wl,-z,relro"
48045 ac_ld_relro=yes
48047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
48048 $as_echo "$ac_ld_relro" >&6; }
48049 esac
48052 # Set linker optimization flags.
48053 if test x"$with_gnu_ld" = x"yes"; then
48054 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
48061 # GLIBCXX_CHECK_MATH_SUPPORT
48062 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
48064 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
48066 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
48068 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
48070 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
48072 $as_echo "#define HAVE_COSF 1" >>confdefs.h
48074 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
48076 $as_echo "#define HAVE_SINF 1" >>confdefs.h
48078 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
48080 $as_echo "#define HAVE_TANF 1" >>confdefs.h
48082 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
48084 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
48086 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
48088 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
48090 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
48092 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
48094 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
48096 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
48098 $as_echo "#define HAVE_MODF 1" >>confdefs.h
48100 $as_echo "#define HAVE_POWF 1" >>confdefs.h
48102 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
48105 # GLIBCXX_CHECK_STDLIB_SUPPORT
48106 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
48111 # Check whether --enable-tls was given.
48112 if test "${enable_tls+set}" = set; then :
48113 enableval=$enable_tls;
48114 case "$enableval" in
48115 yes|no) ;;
48116 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
48117 esac
48119 else
48120 enable_tls=yes
48124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
48125 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
48126 if ${gcc_cv_have_tls+:} false; then :
48127 $as_echo_n "(cached) " >&6
48128 else
48130 if test "$cross_compiling" = yes; then :
48131 if test x$gcc_no_link = xyes; then
48132 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48135 /* end confdefs.h. */
48136 __thread int a; int b; int main() { return a = b; }
48137 _ACEOF
48138 if ac_fn_c_try_link "$LINENO"; then :
48139 chktls_save_LDFLAGS="$LDFLAGS"
48140 case $host in
48141 *-*-linux* | -*-uclinuxfdpic*)
48142 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
48144 esac
48145 chktls_save_CFLAGS="$CFLAGS"
48146 CFLAGS="-fPIC $CFLAGS"
48147 if test x$gcc_no_link = xyes; then
48148 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48151 /* end confdefs.h. */
48152 int f() { return 0; }
48153 _ACEOF
48154 if ac_fn_c_try_link "$LINENO"; then :
48155 if test x$gcc_no_link = xyes; then
48156 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48159 /* end confdefs.h. */
48160 __thread int a; int b; int f() { return a = b; }
48161 _ACEOF
48162 if ac_fn_c_try_link "$LINENO"; then :
48163 gcc_cv_have_tls=yes
48164 else
48165 gcc_cv_have_tls=no
48167 rm -f core conftest.err conftest.$ac_objext \
48168 conftest$ac_exeext conftest.$ac_ext
48169 else
48170 gcc_cv_have_tls=yes
48172 rm -f core conftest.err conftest.$ac_objext \
48173 conftest$ac_exeext conftest.$ac_ext
48174 CFLAGS="$chktls_save_CFLAGS"
48175 LDFLAGS="$chktls_save_LDFLAGS"
48176 else
48177 gcc_cv_have_tls=no
48179 rm -f core conftest.err conftest.$ac_objext \
48180 conftest$ac_exeext conftest.$ac_ext
48183 else
48184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48185 /* end confdefs.h. */
48186 __thread int a; int b; int main() { return a = b; }
48187 _ACEOF
48188 if ac_fn_c_try_run "$LINENO"; then :
48189 chktls_save_LDFLAGS="$LDFLAGS"
48190 LDFLAGS="-static $LDFLAGS"
48191 if test x$gcc_no_link = xyes; then
48192 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48195 /* end confdefs.h. */
48196 int main() { return 0; }
48197 _ACEOF
48198 if ac_fn_c_try_link "$LINENO"; then :
48199 if test "$cross_compiling" = yes; then :
48200 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
48201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
48202 as_fn_error $? "cannot run test program while cross compiling
48203 See \`config.log' for more details" "$LINENO" 5; }
48204 else
48205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48206 /* end confdefs.h. */
48207 __thread int a; int b; int main() { return a = b; }
48208 _ACEOF
48209 if ac_fn_c_try_run "$LINENO"; then :
48210 gcc_cv_have_tls=yes
48211 else
48212 gcc_cv_have_tls=no
48214 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
48215 conftest.$ac_objext conftest.beam conftest.$ac_ext
48218 else
48219 gcc_cv_have_tls=yes
48221 rm -f core conftest.err conftest.$ac_objext \
48222 conftest$ac_exeext conftest.$ac_ext
48223 LDFLAGS="$chktls_save_LDFLAGS"
48224 if test $gcc_cv_have_tls = yes; then
48225 chktls_save_CFLAGS="$CFLAGS"
48226 thread_CFLAGS=failed
48227 for flag in '' '-pthread' '-lpthread'; do
48228 CFLAGS="$flag $chktls_save_CFLAGS"
48229 if test x$gcc_no_link = xyes; then
48230 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48233 /* end confdefs.h. */
48234 #include <pthread.h>
48235 void *g(void *d) { return NULL; }
48237 main ()
48239 pthread_t t; pthread_create(&t,NULL,g,NULL);
48241 return 0;
48243 _ACEOF
48244 if ac_fn_c_try_link "$LINENO"; then :
48245 thread_CFLAGS="$flag"
48247 rm -f core conftest.err conftest.$ac_objext \
48248 conftest$ac_exeext conftest.$ac_ext
48249 if test "X$thread_CFLAGS" != Xfailed; then
48250 break
48252 done
48253 CFLAGS="$chktls_save_CFLAGS"
48254 if test "X$thread_CFLAGS" != Xfailed; then
48255 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
48256 if test "$cross_compiling" = yes; then :
48257 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
48258 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
48259 as_fn_error $? "cannot run test program while cross compiling
48260 See \`config.log' for more details" "$LINENO" 5; }
48261 else
48262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48263 /* end confdefs.h. */
48264 #include <pthread.h>
48265 __thread int a;
48266 static int *volatile a_in_other_thread;
48267 static void *
48268 thread_func (void *arg)
48270 a_in_other_thread = &a;
48271 return (void *)0;
48274 main ()
48276 pthread_t thread;
48277 void *thread_retval;
48278 int *volatile a_in_main_thread;
48279 a_in_main_thread = &a;
48280 if (pthread_create (&thread, (pthread_attr_t *)0,
48281 thread_func, (void *)0))
48282 return 0;
48283 if (pthread_join (thread, &thread_retval))
48284 return 0;
48285 return (a_in_other_thread == a_in_main_thread);
48287 return 0;
48289 _ACEOF
48290 if ac_fn_c_try_run "$LINENO"; then :
48291 gcc_cv_have_tls=yes
48292 else
48293 gcc_cv_have_tls=no
48295 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
48296 conftest.$ac_objext conftest.beam conftest.$ac_ext
48299 CFLAGS="$chktls_save_CFLAGS"
48302 else
48303 gcc_cv_have_tls=no
48305 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
48306 conftest.$ac_objext conftest.beam conftest.$ac_ext
48310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
48311 $as_echo "$gcc_cv_have_tls" >&6; }
48312 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
48314 $as_echo "#define HAVE_TLS 1" >>confdefs.h
48318 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
48320 # All these tests are for C++; save the language and the compiler flags.
48321 # The CXXFLAGS thing is suspicious, but based on similar bits previously
48322 # found in GLIBCXX_CONFIGURE.
48324 ac_ext=cpp
48325 ac_cpp='$CXXCPP $CPPFLAGS'
48326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48330 ac_test_CXXFLAGS="${CXXFLAGS+set}"
48331 ac_save_CXXFLAGS="$CXXFLAGS"
48333 # Check for -ffunction-sections -fdata-sections
48334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
48335 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
48336 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
48337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48338 /* end confdefs.h. */
48339 int foo; void bar() { };
48341 main ()
48345 return 0;
48347 _ACEOF
48348 if ac_fn_cxx_try_compile "$LINENO"; then :
48349 ac_fdsections=yes
48350 else
48351 ac_fdsections=no
48353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48354 if test "$ac_test_CXXFLAGS" = set; then
48355 CXXFLAGS="$ac_save_CXXFLAGS"
48356 else
48357 # this is the suspicious part
48358 CXXFLAGS=''
48360 if test x"$ac_fdsections" = x"yes"; then
48361 SECTION_FLAGS='-ffunction-sections -fdata-sections'
48363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
48364 $as_echo "$ac_fdsections" >&6; }
48366 ac_ext=c
48367 ac_cpp='$CPP $CPPFLAGS'
48368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48375 # If we're not using GNU ld, then there's no point in even trying these
48376 # tests. Check for that first. We should have already tested for gld
48377 # by now (in libtool), but require it now just to be safe...
48378 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
48379 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
48383 # The name set by libtool depends on the version of libtool. Shame on us
48384 # for depending on an impl detail, but c'est la vie. Older versions used
48385 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
48386 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
48387 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
48388 # set (hence we're using an older libtool), then set it.
48389 if test x${with_gnu_ld+set} != xset; then
48390 if test x${ac_cv_prog_gnu_ld+set} != xset; then
48391 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
48392 with_gnu_ld=no
48393 else
48394 with_gnu_ld=$ac_cv_prog_gnu_ld
48398 # Start by getting the version number. I think the libtool test already
48399 # does some of this, but throws away the result.
48400 glibcxx_ld_is_gold=no
48401 glibcxx_ld_is_mold=no
48402 if test x"$with_gnu_ld" = x"yes"; then
48403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
48404 $as_echo_n "checking for ld version... " >&6; }
48406 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
48407 glibcxx_ld_is_gold=yes
48408 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
48409 glibcxx_ld_is_mold=yes
48411 ldver=`$LD --version 2>/dev/null |
48412 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
48414 glibcxx_gnu_ld_version=`echo $ldver | \
48415 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
48416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
48417 $as_echo "$glibcxx_gnu_ld_version" >&6; }
48420 # Set --gc-sections.
48421 glibcxx_have_gc_sections=no
48422 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
48423 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
48424 glibcxx_have_gc_sections=yes
48426 else
48427 glibcxx_gcsections_min_ld=21602
48428 if test x"$with_gnu_ld" = x"yes" &&
48429 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
48430 glibcxx_have_gc_sections=yes
48433 if test "$glibcxx_have_gc_sections" = "yes"; then
48434 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
48435 # NB: This flag only works reliably after 2.16.1. Configure tests
48436 # for this are difficult, so hard wire a value that should work.
48438 ac_test_CFLAGS="${CFLAGS+set}"
48439 ac_save_CFLAGS="$CFLAGS"
48440 CFLAGS='-Wl,--gc-sections'
48442 # Check for -Wl,--gc-sections
48443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
48444 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
48445 if test x$gcc_no_link = xyes; then
48446 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48449 /* end confdefs.h. */
48450 int one(void) { return 1; }
48451 int two(void) { return 2; }
48454 main ()
48456 two();
48458 return 0;
48460 _ACEOF
48461 if ac_fn_c_try_link "$LINENO"; then :
48462 ac_gcsections=yes
48463 else
48464 ac_gcsections=no
48466 rm -f core conftest.err conftest.$ac_objext \
48467 conftest$ac_exeext conftest.$ac_ext
48468 if test "$ac_gcsections" = "yes"; then
48469 rm -f conftest.c
48470 touch conftest.c
48471 if $CC -c conftest.c; then
48472 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
48473 grep "Warning: gc-sections option ignored" > /dev/null; then
48474 ac_gcsections=no
48477 rm -f conftest.c conftest.o conftest
48479 if test "$ac_gcsections" = "yes"; then
48480 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
48482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
48483 $as_echo "$ac_gcsections" >&6; }
48485 if test "$ac_test_CFLAGS" = set; then
48486 CFLAGS="$ac_save_CFLAGS"
48487 else
48488 # this is the suspicious part
48489 CFLAGS=''
48493 # Set -z,relro.
48494 # Note this is only for shared objects.
48495 ac_ld_relro=no
48496 if test x"$with_gnu_ld" = x"yes"; then
48497 # cygwin and mingw uses PE, which has no ELF relro support,
48498 # multi target ld may confuse configure machinery
48499 case "$host" in
48500 *-*-cygwin*)
48502 *-*-mingw*)
48505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
48506 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
48507 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
48508 if test -n "$cxx_z_relo"; then
48509 OPT_LDFLAGS="-Wl,-z,relro"
48510 ac_ld_relro=yes
48512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
48513 $as_echo "$ac_ld_relro" >&6; }
48514 esac
48517 # Set linker optimization flags.
48518 if test x"$with_gnu_ld" = x"yes"; then
48519 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
48526 ac_test_CXXFLAGS="${CXXFLAGS+set}"
48527 ac_save_CXXFLAGS="$CXXFLAGS"
48528 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
48530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
48531 $as_echo_n "checking for sin in -lm... " >&6; }
48532 if ${ac_cv_lib_m_sin+:} false; then :
48533 $as_echo_n "(cached) " >&6
48534 else
48535 ac_check_lib_save_LIBS=$LIBS
48536 LIBS="-lm $LIBS"
48537 if test x$gcc_no_link = xyes; then
48538 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48541 /* end confdefs.h. */
48543 /* Override any GCC internal prototype to avoid an error.
48544 Use char because int might match the return type of a GCC
48545 builtin and then its argument prototype would still apply. */
48546 #ifdef __cplusplus
48547 extern "C"
48548 #endif
48549 char sin ();
48551 main ()
48553 return sin ();
48555 return 0;
48557 _ACEOF
48558 if ac_fn_c_try_link "$LINENO"; then :
48559 ac_cv_lib_m_sin=yes
48560 else
48561 ac_cv_lib_m_sin=no
48563 rm -f core conftest.err conftest.$ac_objext \
48564 conftest$ac_exeext conftest.$ac_ext
48565 LIBS=$ac_check_lib_save_LIBS
48567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
48568 $as_echo "$ac_cv_lib_m_sin" >&6; }
48569 if test "x$ac_cv_lib_m_sin" = xyes; then :
48570 libm="-lm"
48573 ac_save_LIBS="$LIBS"
48574 LIBS="$LIBS $libm"
48578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
48579 $as_echo_n "checking for isinf declaration... " >&6; }
48580 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
48581 if ${glibcxx_cv_func_isinf_use+:} false; then :
48582 $as_echo_n "(cached) " >&6
48583 else
48586 ac_ext=cpp
48587 ac_cpp='$CXXCPP $CPPFLAGS'
48588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48593 /* end confdefs.h. */
48594 #include <math.h>
48595 #ifdef HAVE_IEEEFP_H
48596 #include <ieeefp.h>
48597 #endif
48600 main ()
48602 isinf(0);
48604 return 0;
48606 _ACEOF
48607 if ac_fn_cxx_try_compile "$LINENO"; then :
48608 glibcxx_cv_func_isinf_use=yes
48609 else
48610 glibcxx_cv_func_isinf_use=no
48612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48613 ac_ext=c
48614 ac_cpp='$CPP $CPPFLAGS'
48615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
48624 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
48626 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
48627 for ac_func in isinf
48628 do :
48629 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
48630 if test "x$ac_cv_func_isinf" = xyes; then :
48631 cat >>confdefs.h <<_ACEOF
48632 #define HAVE_ISINF 1
48633 _ACEOF
48636 done
48638 else
48640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
48641 $as_echo_n "checking for _isinf declaration... " >&6; }
48642 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
48643 if ${glibcxx_cv_func__isinf_use+:} false; then :
48644 $as_echo_n "(cached) " >&6
48645 else
48648 ac_ext=cpp
48649 ac_cpp='$CXXCPP $CPPFLAGS'
48650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48655 /* end confdefs.h. */
48656 #include <math.h>
48657 #ifdef HAVE_IEEEFP_H
48658 #include <ieeefp.h>
48659 #endif
48662 main ()
48664 _isinf(0);
48666 return 0;
48668 _ACEOF
48669 if ac_fn_cxx_try_compile "$LINENO"; then :
48670 glibcxx_cv_func__isinf_use=yes
48671 else
48672 glibcxx_cv_func__isinf_use=no
48674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48675 ac_ext=c
48676 ac_cpp='$CPP $CPPFLAGS'
48677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
48686 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
48688 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
48689 for ac_func in _isinf
48690 do :
48691 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
48692 if test "x$ac_cv_func__isinf" = xyes; then :
48693 cat >>confdefs.h <<_ACEOF
48694 #define HAVE__ISINF 1
48695 _ACEOF
48698 done
48707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
48708 $as_echo_n "checking for isnan declaration... " >&6; }
48709 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
48710 if ${glibcxx_cv_func_isnan_use+:} false; then :
48711 $as_echo_n "(cached) " >&6
48712 else
48715 ac_ext=cpp
48716 ac_cpp='$CXXCPP $CPPFLAGS'
48717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48722 /* end confdefs.h. */
48723 #include <math.h>
48724 #ifdef HAVE_IEEEFP_H
48725 #include <ieeefp.h>
48726 #endif
48729 main ()
48731 isnan(0);
48733 return 0;
48735 _ACEOF
48736 if ac_fn_cxx_try_compile "$LINENO"; then :
48737 glibcxx_cv_func_isnan_use=yes
48738 else
48739 glibcxx_cv_func_isnan_use=no
48741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48742 ac_ext=c
48743 ac_cpp='$CPP $CPPFLAGS'
48744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
48753 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
48755 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
48756 for ac_func in isnan
48757 do :
48758 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
48759 if test "x$ac_cv_func_isnan" = xyes; then :
48760 cat >>confdefs.h <<_ACEOF
48761 #define HAVE_ISNAN 1
48762 _ACEOF
48765 done
48767 else
48769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
48770 $as_echo_n "checking for _isnan declaration... " >&6; }
48771 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
48772 if ${glibcxx_cv_func__isnan_use+:} false; then :
48773 $as_echo_n "(cached) " >&6
48774 else
48777 ac_ext=cpp
48778 ac_cpp='$CXXCPP $CPPFLAGS'
48779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48784 /* end confdefs.h. */
48785 #include <math.h>
48786 #ifdef HAVE_IEEEFP_H
48787 #include <ieeefp.h>
48788 #endif
48791 main ()
48793 _isnan(0);
48795 return 0;
48797 _ACEOF
48798 if ac_fn_cxx_try_compile "$LINENO"; then :
48799 glibcxx_cv_func__isnan_use=yes
48800 else
48801 glibcxx_cv_func__isnan_use=no
48803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48804 ac_ext=c
48805 ac_cpp='$CPP $CPPFLAGS'
48806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
48815 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
48817 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
48818 for ac_func in _isnan
48819 do :
48820 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
48821 if test "x$ac_cv_func__isnan" = xyes; then :
48822 cat >>confdefs.h <<_ACEOF
48823 #define HAVE__ISNAN 1
48824 _ACEOF
48827 done
48836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
48837 $as_echo_n "checking for finite declaration... " >&6; }
48838 if test x${glibcxx_cv_func_finite_use+set} != xset; then
48839 if ${glibcxx_cv_func_finite_use+:} false; then :
48840 $as_echo_n "(cached) " >&6
48841 else
48844 ac_ext=cpp
48845 ac_cpp='$CXXCPP $CPPFLAGS'
48846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48851 /* end confdefs.h. */
48852 #include <math.h>
48853 #ifdef HAVE_IEEEFP_H
48854 #include <ieeefp.h>
48855 #endif
48858 main ()
48860 finite(0);
48862 return 0;
48864 _ACEOF
48865 if ac_fn_cxx_try_compile "$LINENO"; then :
48866 glibcxx_cv_func_finite_use=yes
48867 else
48868 glibcxx_cv_func_finite_use=no
48870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48871 ac_ext=c
48872 ac_cpp='$CPP $CPPFLAGS'
48873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
48882 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
48884 if test x$glibcxx_cv_func_finite_use = x"yes"; then
48885 for ac_func in finite
48886 do :
48887 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
48888 if test "x$ac_cv_func_finite" = xyes; then :
48889 cat >>confdefs.h <<_ACEOF
48890 #define HAVE_FINITE 1
48891 _ACEOF
48894 done
48896 else
48898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
48899 $as_echo_n "checking for _finite declaration... " >&6; }
48900 if test x${glibcxx_cv_func__finite_use+set} != xset; then
48901 if ${glibcxx_cv_func__finite_use+:} false; then :
48902 $as_echo_n "(cached) " >&6
48903 else
48906 ac_ext=cpp
48907 ac_cpp='$CXXCPP $CPPFLAGS'
48908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48913 /* end confdefs.h. */
48914 #include <math.h>
48915 #ifdef HAVE_IEEEFP_H
48916 #include <ieeefp.h>
48917 #endif
48920 main ()
48922 _finite(0);
48924 return 0;
48926 _ACEOF
48927 if ac_fn_cxx_try_compile "$LINENO"; then :
48928 glibcxx_cv_func__finite_use=yes
48929 else
48930 glibcxx_cv_func__finite_use=no
48932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48933 ac_ext=c
48934 ac_cpp='$CPP $CPPFLAGS'
48935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
48944 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
48946 if test x$glibcxx_cv_func__finite_use = x"yes"; then
48947 for ac_func in _finite
48948 do :
48949 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
48950 if test "x$ac_cv_func__finite" = xyes; then :
48951 cat >>confdefs.h <<_ACEOF
48952 #define HAVE__FINITE 1
48953 _ACEOF
48956 done
48965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
48966 $as_echo_n "checking for sincos declaration... " >&6; }
48967 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
48968 if ${glibcxx_cv_func_sincos_use+:} false; then :
48969 $as_echo_n "(cached) " >&6
48970 else
48973 ac_ext=cpp
48974 ac_cpp='$CXXCPP $CPPFLAGS'
48975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48980 /* end confdefs.h. */
48981 #include <math.h>
48983 main ()
48985 sincos(0, 0, 0);
48987 return 0;
48989 _ACEOF
48990 if ac_fn_cxx_try_compile "$LINENO"; then :
48991 glibcxx_cv_func_sincos_use=yes
48992 else
48993 glibcxx_cv_func_sincos_use=no
48995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48996 ac_ext=c
48997 ac_cpp='$CPP $CPPFLAGS'
48998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
49007 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
49009 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
49010 for ac_func in sincos
49011 do :
49012 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
49013 if test "x$ac_cv_func_sincos" = xyes; then :
49014 cat >>confdefs.h <<_ACEOF
49015 #define HAVE_SINCOS 1
49016 _ACEOF
49019 done
49021 else
49023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
49024 $as_echo_n "checking for _sincos declaration... " >&6; }
49025 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
49026 if ${glibcxx_cv_func__sincos_use+:} false; then :
49027 $as_echo_n "(cached) " >&6
49028 else
49031 ac_ext=cpp
49032 ac_cpp='$CXXCPP $CPPFLAGS'
49033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49038 /* end confdefs.h. */
49039 #include <math.h>
49041 main ()
49043 _sincos(0, 0, 0);
49045 return 0;
49047 _ACEOF
49048 if ac_fn_cxx_try_compile "$LINENO"; then :
49049 glibcxx_cv_func__sincos_use=yes
49050 else
49051 glibcxx_cv_func__sincos_use=no
49053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49054 ac_ext=c
49055 ac_cpp='$CPP $CPPFLAGS'
49056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
49065 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
49067 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
49068 for ac_func in _sincos
49069 do :
49070 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
49071 if test "x$ac_cv_func__sincos" = xyes; then :
49072 cat >>confdefs.h <<_ACEOF
49073 #define HAVE__SINCOS 1
49074 _ACEOF
49077 done
49086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
49087 $as_echo_n "checking for fpclass declaration... " >&6; }
49088 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
49089 if ${glibcxx_cv_func_fpclass_use+:} false; then :
49090 $as_echo_n "(cached) " >&6
49091 else
49094 ac_ext=cpp
49095 ac_cpp='$CXXCPP $CPPFLAGS'
49096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49101 /* end confdefs.h. */
49102 #include <math.h>
49103 #ifdef HAVE_IEEEFP_H
49104 #include <ieeefp.h>
49105 #endif
49108 main ()
49110 fpclass(0);
49112 return 0;
49114 _ACEOF
49115 if ac_fn_cxx_try_compile "$LINENO"; then :
49116 glibcxx_cv_func_fpclass_use=yes
49117 else
49118 glibcxx_cv_func_fpclass_use=no
49120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49121 ac_ext=c
49122 ac_cpp='$CPP $CPPFLAGS'
49123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
49132 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
49134 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
49135 for ac_func in fpclass
49136 do :
49137 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
49138 if test "x$ac_cv_func_fpclass" = xyes; then :
49139 cat >>confdefs.h <<_ACEOF
49140 #define HAVE_FPCLASS 1
49141 _ACEOF
49144 done
49146 else
49148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
49149 $as_echo_n "checking for _fpclass declaration... " >&6; }
49150 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
49151 if ${glibcxx_cv_func__fpclass_use+:} false; then :
49152 $as_echo_n "(cached) " >&6
49153 else
49156 ac_ext=cpp
49157 ac_cpp='$CXXCPP $CPPFLAGS'
49158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49163 /* end confdefs.h. */
49164 #include <math.h>
49165 #ifdef HAVE_IEEEFP_H
49166 #include <ieeefp.h>
49167 #endif
49170 main ()
49172 _fpclass(0);
49174 return 0;
49176 _ACEOF
49177 if ac_fn_cxx_try_compile "$LINENO"; then :
49178 glibcxx_cv_func__fpclass_use=yes
49179 else
49180 glibcxx_cv_func__fpclass_use=no
49182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49183 ac_ext=c
49184 ac_cpp='$CPP $CPPFLAGS'
49185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
49194 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
49196 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
49197 for ac_func in _fpclass
49198 do :
49199 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
49200 if test "x$ac_cv_func__fpclass" = xyes; then :
49201 cat >>confdefs.h <<_ACEOF
49202 #define HAVE__FPCLASS 1
49203 _ACEOF
49206 done
49215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
49216 $as_echo_n "checking for qfpclass declaration... " >&6; }
49217 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
49218 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
49219 $as_echo_n "(cached) " >&6
49220 else
49223 ac_ext=cpp
49224 ac_cpp='$CXXCPP $CPPFLAGS'
49225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49230 /* end confdefs.h. */
49231 #include <math.h>
49232 #ifdef HAVE_IEEEFP_H
49233 #include <ieeefp.h>
49234 #endif
49237 main ()
49239 qfpclass(0);
49241 return 0;
49243 _ACEOF
49244 if ac_fn_cxx_try_compile "$LINENO"; then :
49245 glibcxx_cv_func_qfpclass_use=yes
49246 else
49247 glibcxx_cv_func_qfpclass_use=no
49249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49250 ac_ext=c
49251 ac_cpp='$CPP $CPPFLAGS'
49252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
49261 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
49263 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
49264 for ac_func in qfpclass
49265 do :
49266 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
49267 if test "x$ac_cv_func_qfpclass" = xyes; then :
49268 cat >>confdefs.h <<_ACEOF
49269 #define HAVE_QFPCLASS 1
49270 _ACEOF
49273 done
49275 else
49277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
49278 $as_echo_n "checking for _qfpclass declaration... " >&6; }
49279 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
49280 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
49281 $as_echo_n "(cached) " >&6
49282 else
49285 ac_ext=cpp
49286 ac_cpp='$CXXCPP $CPPFLAGS'
49287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49292 /* end confdefs.h. */
49293 #include <math.h>
49294 #ifdef HAVE_IEEEFP_H
49295 #include <ieeefp.h>
49296 #endif
49299 main ()
49301 _qfpclass(0);
49303 return 0;
49305 _ACEOF
49306 if ac_fn_cxx_try_compile "$LINENO"; then :
49307 glibcxx_cv_func__qfpclass_use=yes
49308 else
49309 glibcxx_cv_func__qfpclass_use=no
49311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49312 ac_ext=c
49313 ac_cpp='$CPP $CPPFLAGS'
49314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
49323 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
49325 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
49326 for ac_func in _qfpclass
49327 do :
49328 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
49329 if test "x$ac_cv_func__qfpclass" = xyes; then :
49330 cat >>confdefs.h <<_ACEOF
49331 #define HAVE__QFPCLASS 1
49332 _ACEOF
49335 done
49344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
49345 $as_echo_n "checking for hypot declaration... " >&6; }
49346 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
49347 if ${glibcxx_cv_func_hypot_use+:} false; then :
49348 $as_echo_n "(cached) " >&6
49349 else
49352 ac_ext=cpp
49353 ac_cpp='$CXXCPP $CPPFLAGS'
49354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49359 /* end confdefs.h. */
49360 #include <math.h>
49362 main ()
49364 hypot(0, 0);
49366 return 0;
49368 _ACEOF
49369 if ac_fn_cxx_try_compile "$LINENO"; then :
49370 glibcxx_cv_func_hypot_use=yes
49371 else
49372 glibcxx_cv_func_hypot_use=no
49374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49375 ac_ext=c
49376 ac_cpp='$CPP $CPPFLAGS'
49377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
49386 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
49388 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
49389 for ac_func in hypot
49390 do :
49391 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
49392 if test "x$ac_cv_func_hypot" = xyes; then :
49393 cat >>confdefs.h <<_ACEOF
49394 #define HAVE_HYPOT 1
49395 _ACEOF
49398 done
49400 else
49402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
49403 $as_echo_n "checking for _hypot declaration... " >&6; }
49404 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
49405 if ${glibcxx_cv_func__hypot_use+:} false; then :
49406 $as_echo_n "(cached) " >&6
49407 else
49410 ac_ext=cpp
49411 ac_cpp='$CXXCPP $CPPFLAGS'
49412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49417 /* end confdefs.h. */
49418 #include <math.h>
49420 main ()
49422 _hypot(0, 0);
49424 return 0;
49426 _ACEOF
49427 if ac_fn_cxx_try_compile "$LINENO"; then :
49428 glibcxx_cv_func__hypot_use=yes
49429 else
49430 glibcxx_cv_func__hypot_use=no
49432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49433 ac_ext=c
49434 ac_cpp='$CPP $CPPFLAGS'
49435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
49444 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
49446 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
49447 for ac_func in _hypot
49448 do :
49449 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
49450 if test "x$ac_cv_func__hypot" = xyes; then :
49451 cat >>confdefs.h <<_ACEOF
49452 #define HAVE__HYPOT 1
49453 _ACEOF
49456 done
49465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
49466 $as_echo_n "checking for float trig functions... " >&6; }
49467 if ${glibcxx_cv_func_float_trig_use+:} false; then :
49468 $as_echo_n "(cached) " >&6
49469 else
49472 ac_ext=cpp
49473 ac_cpp='$CXXCPP $CPPFLAGS'
49474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49479 /* end confdefs.h. */
49480 #include <math.h>
49482 main ()
49484 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
49486 return 0;
49488 _ACEOF
49489 if ac_fn_cxx_try_compile "$LINENO"; then :
49490 glibcxx_cv_func_float_trig_use=yes
49491 else
49492 glibcxx_cv_func_float_trig_use=no
49494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49495 ac_ext=c
49496 ac_cpp='$CPP $CPPFLAGS'
49497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
49504 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
49505 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
49506 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
49507 do :
49508 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49509 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49510 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49511 cat >>confdefs.h <<_ACEOF
49512 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49513 _ACEOF
49516 done
49518 else
49519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
49520 $as_echo_n "checking for _float trig functions... " >&6; }
49521 if ${glibcxx_cv_func__float_trig_use+:} false; then :
49522 $as_echo_n "(cached) " >&6
49523 else
49526 ac_ext=cpp
49527 ac_cpp='$CXXCPP $CPPFLAGS'
49528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49533 /* end confdefs.h. */
49534 #include <math.h>
49536 main ()
49538 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
49540 return 0;
49542 _ACEOF
49543 if ac_fn_cxx_try_compile "$LINENO"; then :
49544 glibcxx_cv_func__float_trig_use=yes
49545 else
49546 glibcxx_cv_func__float_trig_use=no
49548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49549 ac_ext=c
49550 ac_cpp='$CPP $CPPFLAGS'
49551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
49558 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
49559 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
49560 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
49561 do :
49562 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49563 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49564 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49565 cat >>confdefs.h <<_ACEOF
49566 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49567 _ACEOF
49570 done
49579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
49580 $as_echo_n "checking for float round functions... " >&6; }
49581 if ${glibcxx_cv_func_float_round_use+:} false; then :
49582 $as_echo_n "(cached) " >&6
49583 else
49586 ac_ext=cpp
49587 ac_cpp='$CXXCPP $CPPFLAGS'
49588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49593 /* end confdefs.h. */
49594 #include <math.h>
49596 main ()
49598 ceilf (0); floorf (0);
49600 return 0;
49602 _ACEOF
49603 if ac_fn_cxx_try_compile "$LINENO"; then :
49604 glibcxx_cv_func_float_round_use=yes
49605 else
49606 glibcxx_cv_func_float_round_use=no
49608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49609 ac_ext=c
49610 ac_cpp='$CPP $CPPFLAGS'
49611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
49618 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
49619 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
49620 for ac_func in ceilf floorf
49621 do :
49622 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49623 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49624 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49625 cat >>confdefs.h <<_ACEOF
49626 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49627 _ACEOF
49630 done
49632 else
49633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
49634 $as_echo_n "checking for _float round functions... " >&6; }
49635 if ${glibcxx_cv_func__float_round_use+:} false; then :
49636 $as_echo_n "(cached) " >&6
49637 else
49640 ac_ext=cpp
49641 ac_cpp='$CXXCPP $CPPFLAGS'
49642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49647 /* end confdefs.h. */
49648 #include <math.h>
49650 main ()
49652 _ceilf (0); _floorf (0);
49654 return 0;
49656 _ACEOF
49657 if ac_fn_cxx_try_compile "$LINENO"; then :
49658 glibcxx_cv_func__float_round_use=yes
49659 else
49660 glibcxx_cv_func__float_round_use=no
49662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49663 ac_ext=c
49664 ac_cpp='$CPP $CPPFLAGS'
49665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
49672 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
49673 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
49674 for ac_func in _ceilf _floorf
49675 do :
49676 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49677 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49678 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49679 cat >>confdefs.h <<_ACEOF
49680 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49681 _ACEOF
49684 done
49694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
49695 $as_echo_n "checking for expf declaration... " >&6; }
49696 if test x${glibcxx_cv_func_expf_use+set} != xset; then
49697 if ${glibcxx_cv_func_expf_use+:} false; then :
49698 $as_echo_n "(cached) " >&6
49699 else
49702 ac_ext=cpp
49703 ac_cpp='$CXXCPP $CPPFLAGS'
49704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49709 /* end confdefs.h. */
49710 #include <math.h>
49711 #ifdef HAVE_IEEEFP_H
49712 #include <ieeefp.h>
49713 #endif
49716 main ()
49718 expf(0);
49720 return 0;
49722 _ACEOF
49723 if ac_fn_cxx_try_compile "$LINENO"; then :
49724 glibcxx_cv_func_expf_use=yes
49725 else
49726 glibcxx_cv_func_expf_use=no
49728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49729 ac_ext=c
49730 ac_cpp='$CPP $CPPFLAGS'
49731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
49740 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
49742 if test x$glibcxx_cv_func_expf_use = x"yes"; then
49743 for ac_func in expf
49744 do :
49745 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
49746 if test "x$ac_cv_func_expf" = xyes; then :
49747 cat >>confdefs.h <<_ACEOF
49748 #define HAVE_EXPF 1
49749 _ACEOF
49752 done
49754 else
49756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
49757 $as_echo_n "checking for _expf declaration... " >&6; }
49758 if test x${glibcxx_cv_func__expf_use+set} != xset; then
49759 if ${glibcxx_cv_func__expf_use+:} false; then :
49760 $as_echo_n "(cached) " >&6
49761 else
49764 ac_ext=cpp
49765 ac_cpp='$CXXCPP $CPPFLAGS'
49766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49771 /* end confdefs.h. */
49772 #include <math.h>
49773 #ifdef HAVE_IEEEFP_H
49774 #include <ieeefp.h>
49775 #endif
49778 main ()
49780 _expf(0);
49782 return 0;
49784 _ACEOF
49785 if ac_fn_cxx_try_compile "$LINENO"; then :
49786 glibcxx_cv_func__expf_use=yes
49787 else
49788 glibcxx_cv_func__expf_use=no
49790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49791 ac_ext=c
49792 ac_cpp='$CPP $CPPFLAGS'
49793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
49802 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
49804 if test x$glibcxx_cv_func__expf_use = x"yes"; then
49805 for ac_func in _expf
49806 do :
49807 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
49808 if test "x$ac_cv_func__expf" = xyes; then :
49809 cat >>confdefs.h <<_ACEOF
49810 #define HAVE__EXPF 1
49811 _ACEOF
49814 done
49823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
49824 $as_echo_n "checking for isnanf declaration... " >&6; }
49825 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
49826 if ${glibcxx_cv_func_isnanf_use+:} false; then :
49827 $as_echo_n "(cached) " >&6
49828 else
49831 ac_ext=cpp
49832 ac_cpp='$CXXCPP $CPPFLAGS'
49833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49838 /* end confdefs.h. */
49839 #include <math.h>
49840 #ifdef HAVE_IEEEFP_H
49841 #include <ieeefp.h>
49842 #endif
49845 main ()
49847 isnanf(0);
49849 return 0;
49851 _ACEOF
49852 if ac_fn_cxx_try_compile "$LINENO"; then :
49853 glibcxx_cv_func_isnanf_use=yes
49854 else
49855 glibcxx_cv_func_isnanf_use=no
49857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49858 ac_ext=c
49859 ac_cpp='$CPP $CPPFLAGS'
49860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
49869 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
49871 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
49872 for ac_func in isnanf
49873 do :
49874 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
49875 if test "x$ac_cv_func_isnanf" = xyes; then :
49876 cat >>confdefs.h <<_ACEOF
49877 #define HAVE_ISNANF 1
49878 _ACEOF
49881 done
49883 else
49885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
49886 $as_echo_n "checking for _isnanf declaration... " >&6; }
49887 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
49888 if ${glibcxx_cv_func__isnanf_use+:} false; then :
49889 $as_echo_n "(cached) " >&6
49890 else
49893 ac_ext=cpp
49894 ac_cpp='$CXXCPP $CPPFLAGS'
49895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49900 /* end confdefs.h. */
49901 #include <math.h>
49902 #ifdef HAVE_IEEEFP_H
49903 #include <ieeefp.h>
49904 #endif
49907 main ()
49909 _isnanf(0);
49911 return 0;
49913 _ACEOF
49914 if ac_fn_cxx_try_compile "$LINENO"; then :
49915 glibcxx_cv_func__isnanf_use=yes
49916 else
49917 glibcxx_cv_func__isnanf_use=no
49919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49920 ac_ext=c
49921 ac_cpp='$CPP $CPPFLAGS'
49922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
49931 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
49933 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
49934 for ac_func in _isnanf
49935 do :
49936 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
49937 if test "x$ac_cv_func__isnanf" = xyes; then :
49938 cat >>confdefs.h <<_ACEOF
49939 #define HAVE__ISNANF 1
49940 _ACEOF
49943 done
49952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
49953 $as_echo_n "checking for isinff declaration... " >&6; }
49954 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
49955 if ${glibcxx_cv_func_isinff_use+:} false; then :
49956 $as_echo_n "(cached) " >&6
49957 else
49960 ac_ext=cpp
49961 ac_cpp='$CXXCPP $CPPFLAGS'
49962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49967 /* end confdefs.h. */
49968 #include <math.h>
49969 #ifdef HAVE_IEEEFP_H
49970 #include <ieeefp.h>
49971 #endif
49974 main ()
49976 isinff(0);
49978 return 0;
49980 _ACEOF
49981 if ac_fn_cxx_try_compile "$LINENO"; then :
49982 glibcxx_cv_func_isinff_use=yes
49983 else
49984 glibcxx_cv_func_isinff_use=no
49986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49987 ac_ext=c
49988 ac_cpp='$CPP $CPPFLAGS'
49989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
49998 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
50000 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
50001 for ac_func in isinff
50002 do :
50003 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
50004 if test "x$ac_cv_func_isinff" = xyes; then :
50005 cat >>confdefs.h <<_ACEOF
50006 #define HAVE_ISINFF 1
50007 _ACEOF
50010 done
50012 else
50014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
50015 $as_echo_n "checking for _isinff declaration... " >&6; }
50016 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
50017 if ${glibcxx_cv_func__isinff_use+:} false; then :
50018 $as_echo_n "(cached) " >&6
50019 else
50022 ac_ext=cpp
50023 ac_cpp='$CXXCPP $CPPFLAGS'
50024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50029 /* end confdefs.h. */
50030 #include <math.h>
50031 #ifdef HAVE_IEEEFP_H
50032 #include <ieeefp.h>
50033 #endif
50036 main ()
50038 _isinff(0);
50040 return 0;
50042 _ACEOF
50043 if ac_fn_cxx_try_compile "$LINENO"; then :
50044 glibcxx_cv_func__isinff_use=yes
50045 else
50046 glibcxx_cv_func__isinff_use=no
50048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50049 ac_ext=c
50050 ac_cpp='$CPP $CPPFLAGS'
50051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
50060 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
50062 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
50063 for ac_func in _isinff
50064 do :
50065 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
50066 if test "x$ac_cv_func__isinff" = xyes; then :
50067 cat >>confdefs.h <<_ACEOF
50068 #define HAVE__ISINFF 1
50069 _ACEOF
50072 done
50081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
50082 $as_echo_n "checking for atan2f declaration... " >&6; }
50083 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
50084 if ${glibcxx_cv_func_atan2f_use+:} false; then :
50085 $as_echo_n "(cached) " >&6
50086 else
50089 ac_ext=cpp
50090 ac_cpp='$CXXCPP $CPPFLAGS'
50091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50096 /* end confdefs.h. */
50097 #include <math.h>
50099 main ()
50101 atan2f(0, 0);
50103 return 0;
50105 _ACEOF
50106 if ac_fn_cxx_try_compile "$LINENO"; then :
50107 glibcxx_cv_func_atan2f_use=yes
50108 else
50109 glibcxx_cv_func_atan2f_use=no
50111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50112 ac_ext=c
50113 ac_cpp='$CPP $CPPFLAGS'
50114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
50123 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
50125 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
50126 for ac_func in atan2f
50127 do :
50128 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
50129 if test "x$ac_cv_func_atan2f" = xyes; then :
50130 cat >>confdefs.h <<_ACEOF
50131 #define HAVE_ATAN2F 1
50132 _ACEOF
50135 done
50137 else
50139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
50140 $as_echo_n "checking for _atan2f declaration... " >&6; }
50141 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
50142 if ${glibcxx_cv_func__atan2f_use+:} false; then :
50143 $as_echo_n "(cached) " >&6
50144 else
50147 ac_ext=cpp
50148 ac_cpp='$CXXCPP $CPPFLAGS'
50149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50154 /* end confdefs.h. */
50155 #include <math.h>
50157 main ()
50159 _atan2f(0, 0);
50161 return 0;
50163 _ACEOF
50164 if ac_fn_cxx_try_compile "$LINENO"; then :
50165 glibcxx_cv_func__atan2f_use=yes
50166 else
50167 glibcxx_cv_func__atan2f_use=no
50169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50170 ac_ext=c
50171 ac_cpp='$CPP $CPPFLAGS'
50172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
50181 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
50183 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
50184 for ac_func in _atan2f
50185 do :
50186 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
50187 if test "x$ac_cv_func__atan2f" = xyes; then :
50188 cat >>confdefs.h <<_ACEOF
50189 #define HAVE__ATAN2F 1
50190 _ACEOF
50193 done
50202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
50203 $as_echo_n "checking for fabsf declaration... " >&6; }
50204 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
50205 if ${glibcxx_cv_func_fabsf_use+:} false; then :
50206 $as_echo_n "(cached) " >&6
50207 else
50210 ac_ext=cpp
50211 ac_cpp='$CXXCPP $CPPFLAGS'
50212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50217 /* end confdefs.h. */
50218 #include <math.h>
50219 #ifdef HAVE_IEEEFP_H
50220 #include <ieeefp.h>
50221 #endif
50224 main ()
50226 fabsf(0);
50228 return 0;
50230 _ACEOF
50231 if ac_fn_cxx_try_compile "$LINENO"; then :
50232 glibcxx_cv_func_fabsf_use=yes
50233 else
50234 glibcxx_cv_func_fabsf_use=no
50236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50237 ac_ext=c
50238 ac_cpp='$CPP $CPPFLAGS'
50239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
50248 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
50250 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
50251 for ac_func in fabsf
50252 do :
50253 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
50254 if test "x$ac_cv_func_fabsf" = xyes; then :
50255 cat >>confdefs.h <<_ACEOF
50256 #define HAVE_FABSF 1
50257 _ACEOF
50260 done
50262 else
50264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
50265 $as_echo_n "checking for _fabsf declaration... " >&6; }
50266 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
50267 if ${glibcxx_cv_func__fabsf_use+:} false; then :
50268 $as_echo_n "(cached) " >&6
50269 else
50272 ac_ext=cpp
50273 ac_cpp='$CXXCPP $CPPFLAGS'
50274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50279 /* end confdefs.h. */
50280 #include <math.h>
50281 #ifdef HAVE_IEEEFP_H
50282 #include <ieeefp.h>
50283 #endif
50286 main ()
50288 _fabsf(0);
50290 return 0;
50292 _ACEOF
50293 if ac_fn_cxx_try_compile "$LINENO"; then :
50294 glibcxx_cv_func__fabsf_use=yes
50295 else
50296 glibcxx_cv_func__fabsf_use=no
50298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50299 ac_ext=c
50300 ac_cpp='$CPP $CPPFLAGS'
50301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
50310 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
50312 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
50313 for ac_func in _fabsf
50314 do :
50315 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
50316 if test "x$ac_cv_func__fabsf" = xyes; then :
50317 cat >>confdefs.h <<_ACEOF
50318 #define HAVE__FABSF 1
50319 _ACEOF
50322 done
50331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
50332 $as_echo_n "checking for fmodf declaration... " >&6; }
50333 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
50334 if ${glibcxx_cv_func_fmodf_use+:} false; then :
50335 $as_echo_n "(cached) " >&6
50336 else
50339 ac_ext=cpp
50340 ac_cpp='$CXXCPP $CPPFLAGS'
50341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50346 /* end confdefs.h. */
50347 #include <math.h>
50349 main ()
50351 fmodf(0, 0);
50353 return 0;
50355 _ACEOF
50356 if ac_fn_cxx_try_compile "$LINENO"; then :
50357 glibcxx_cv_func_fmodf_use=yes
50358 else
50359 glibcxx_cv_func_fmodf_use=no
50361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50362 ac_ext=c
50363 ac_cpp='$CPP $CPPFLAGS'
50364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
50373 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
50375 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
50376 for ac_func in fmodf
50377 do :
50378 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
50379 if test "x$ac_cv_func_fmodf" = xyes; then :
50380 cat >>confdefs.h <<_ACEOF
50381 #define HAVE_FMODF 1
50382 _ACEOF
50385 done
50387 else
50389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
50390 $as_echo_n "checking for _fmodf declaration... " >&6; }
50391 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
50392 if ${glibcxx_cv_func__fmodf_use+:} false; then :
50393 $as_echo_n "(cached) " >&6
50394 else
50397 ac_ext=cpp
50398 ac_cpp='$CXXCPP $CPPFLAGS'
50399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50404 /* end confdefs.h. */
50405 #include <math.h>
50407 main ()
50409 _fmodf(0, 0);
50411 return 0;
50413 _ACEOF
50414 if ac_fn_cxx_try_compile "$LINENO"; then :
50415 glibcxx_cv_func__fmodf_use=yes
50416 else
50417 glibcxx_cv_func__fmodf_use=no
50419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50420 ac_ext=c
50421 ac_cpp='$CPP $CPPFLAGS'
50422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
50431 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
50433 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
50434 for ac_func in _fmodf
50435 do :
50436 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
50437 if test "x$ac_cv_func__fmodf" = xyes; then :
50438 cat >>confdefs.h <<_ACEOF
50439 #define HAVE__FMODF 1
50440 _ACEOF
50443 done
50452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
50453 $as_echo_n "checking for frexpf declaration... " >&6; }
50454 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
50455 if ${glibcxx_cv_func_frexpf_use+:} false; then :
50456 $as_echo_n "(cached) " >&6
50457 else
50460 ac_ext=cpp
50461 ac_cpp='$CXXCPP $CPPFLAGS'
50462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50467 /* end confdefs.h. */
50468 #include <math.h>
50470 main ()
50472 frexpf(0, 0);
50474 return 0;
50476 _ACEOF
50477 if ac_fn_cxx_try_compile "$LINENO"; then :
50478 glibcxx_cv_func_frexpf_use=yes
50479 else
50480 glibcxx_cv_func_frexpf_use=no
50482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50483 ac_ext=c
50484 ac_cpp='$CPP $CPPFLAGS'
50485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
50494 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
50496 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
50497 for ac_func in frexpf
50498 do :
50499 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
50500 if test "x$ac_cv_func_frexpf" = xyes; then :
50501 cat >>confdefs.h <<_ACEOF
50502 #define HAVE_FREXPF 1
50503 _ACEOF
50506 done
50508 else
50510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
50511 $as_echo_n "checking for _frexpf declaration... " >&6; }
50512 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
50513 if ${glibcxx_cv_func__frexpf_use+:} false; then :
50514 $as_echo_n "(cached) " >&6
50515 else
50518 ac_ext=cpp
50519 ac_cpp='$CXXCPP $CPPFLAGS'
50520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50525 /* end confdefs.h. */
50526 #include <math.h>
50528 main ()
50530 _frexpf(0, 0);
50532 return 0;
50534 _ACEOF
50535 if ac_fn_cxx_try_compile "$LINENO"; then :
50536 glibcxx_cv_func__frexpf_use=yes
50537 else
50538 glibcxx_cv_func__frexpf_use=no
50540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50541 ac_ext=c
50542 ac_cpp='$CPP $CPPFLAGS'
50543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
50552 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
50554 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
50555 for ac_func in _frexpf
50556 do :
50557 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
50558 if test "x$ac_cv_func__frexpf" = xyes; then :
50559 cat >>confdefs.h <<_ACEOF
50560 #define HAVE__FREXPF 1
50561 _ACEOF
50564 done
50573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
50574 $as_echo_n "checking for hypotf declaration... " >&6; }
50575 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
50576 if ${glibcxx_cv_func_hypotf_use+:} false; then :
50577 $as_echo_n "(cached) " >&6
50578 else
50581 ac_ext=cpp
50582 ac_cpp='$CXXCPP $CPPFLAGS'
50583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50588 /* end confdefs.h. */
50589 #include <math.h>
50591 main ()
50593 hypotf(0, 0);
50595 return 0;
50597 _ACEOF
50598 if ac_fn_cxx_try_compile "$LINENO"; then :
50599 glibcxx_cv_func_hypotf_use=yes
50600 else
50601 glibcxx_cv_func_hypotf_use=no
50603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50604 ac_ext=c
50605 ac_cpp='$CPP $CPPFLAGS'
50606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
50615 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
50617 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
50618 for ac_func in hypotf
50619 do :
50620 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
50621 if test "x$ac_cv_func_hypotf" = xyes; then :
50622 cat >>confdefs.h <<_ACEOF
50623 #define HAVE_HYPOTF 1
50624 _ACEOF
50627 done
50629 else
50631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
50632 $as_echo_n "checking for _hypotf declaration... " >&6; }
50633 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
50634 if ${glibcxx_cv_func__hypotf_use+:} false; then :
50635 $as_echo_n "(cached) " >&6
50636 else
50639 ac_ext=cpp
50640 ac_cpp='$CXXCPP $CPPFLAGS'
50641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50646 /* end confdefs.h. */
50647 #include <math.h>
50649 main ()
50651 _hypotf(0, 0);
50653 return 0;
50655 _ACEOF
50656 if ac_fn_cxx_try_compile "$LINENO"; then :
50657 glibcxx_cv_func__hypotf_use=yes
50658 else
50659 glibcxx_cv_func__hypotf_use=no
50661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50662 ac_ext=c
50663 ac_cpp='$CPP $CPPFLAGS'
50664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
50673 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
50675 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
50676 for ac_func in _hypotf
50677 do :
50678 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
50679 if test "x$ac_cv_func__hypotf" = xyes; then :
50680 cat >>confdefs.h <<_ACEOF
50681 #define HAVE__HYPOTF 1
50682 _ACEOF
50685 done
50694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
50695 $as_echo_n "checking for ldexpf declaration... " >&6; }
50696 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
50697 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
50698 $as_echo_n "(cached) " >&6
50699 else
50702 ac_ext=cpp
50703 ac_cpp='$CXXCPP $CPPFLAGS'
50704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50709 /* end confdefs.h. */
50710 #include <math.h>
50712 main ()
50714 ldexpf(0, 0);
50716 return 0;
50718 _ACEOF
50719 if ac_fn_cxx_try_compile "$LINENO"; then :
50720 glibcxx_cv_func_ldexpf_use=yes
50721 else
50722 glibcxx_cv_func_ldexpf_use=no
50724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50725 ac_ext=c
50726 ac_cpp='$CPP $CPPFLAGS'
50727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
50736 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
50738 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
50739 for ac_func in ldexpf
50740 do :
50741 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
50742 if test "x$ac_cv_func_ldexpf" = xyes; then :
50743 cat >>confdefs.h <<_ACEOF
50744 #define HAVE_LDEXPF 1
50745 _ACEOF
50748 done
50750 else
50752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
50753 $as_echo_n "checking for _ldexpf declaration... " >&6; }
50754 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
50755 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
50756 $as_echo_n "(cached) " >&6
50757 else
50760 ac_ext=cpp
50761 ac_cpp='$CXXCPP $CPPFLAGS'
50762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50767 /* end confdefs.h. */
50768 #include <math.h>
50770 main ()
50772 _ldexpf(0, 0);
50774 return 0;
50776 _ACEOF
50777 if ac_fn_cxx_try_compile "$LINENO"; then :
50778 glibcxx_cv_func__ldexpf_use=yes
50779 else
50780 glibcxx_cv_func__ldexpf_use=no
50782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50783 ac_ext=c
50784 ac_cpp='$CPP $CPPFLAGS'
50785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
50794 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
50796 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
50797 for ac_func in _ldexpf
50798 do :
50799 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
50800 if test "x$ac_cv_func__ldexpf" = xyes; then :
50801 cat >>confdefs.h <<_ACEOF
50802 #define HAVE__LDEXPF 1
50803 _ACEOF
50806 done
50815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
50816 $as_echo_n "checking for logf declaration... " >&6; }
50817 if test x${glibcxx_cv_func_logf_use+set} != xset; then
50818 if ${glibcxx_cv_func_logf_use+:} false; then :
50819 $as_echo_n "(cached) " >&6
50820 else
50823 ac_ext=cpp
50824 ac_cpp='$CXXCPP $CPPFLAGS'
50825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50830 /* end confdefs.h. */
50831 #include <math.h>
50832 #ifdef HAVE_IEEEFP_H
50833 #include <ieeefp.h>
50834 #endif
50837 main ()
50839 logf(0);
50841 return 0;
50843 _ACEOF
50844 if ac_fn_cxx_try_compile "$LINENO"; then :
50845 glibcxx_cv_func_logf_use=yes
50846 else
50847 glibcxx_cv_func_logf_use=no
50849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50850 ac_ext=c
50851 ac_cpp='$CPP $CPPFLAGS'
50852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
50861 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
50863 if test x$glibcxx_cv_func_logf_use = x"yes"; then
50864 for ac_func in logf
50865 do :
50866 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
50867 if test "x$ac_cv_func_logf" = xyes; then :
50868 cat >>confdefs.h <<_ACEOF
50869 #define HAVE_LOGF 1
50870 _ACEOF
50873 done
50875 else
50877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
50878 $as_echo_n "checking for _logf declaration... " >&6; }
50879 if test x${glibcxx_cv_func__logf_use+set} != xset; then
50880 if ${glibcxx_cv_func__logf_use+:} false; then :
50881 $as_echo_n "(cached) " >&6
50882 else
50885 ac_ext=cpp
50886 ac_cpp='$CXXCPP $CPPFLAGS'
50887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50892 /* end confdefs.h. */
50893 #include <math.h>
50894 #ifdef HAVE_IEEEFP_H
50895 #include <ieeefp.h>
50896 #endif
50899 main ()
50901 _logf(0);
50903 return 0;
50905 _ACEOF
50906 if ac_fn_cxx_try_compile "$LINENO"; then :
50907 glibcxx_cv_func__logf_use=yes
50908 else
50909 glibcxx_cv_func__logf_use=no
50911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50912 ac_ext=c
50913 ac_cpp='$CPP $CPPFLAGS'
50914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
50923 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
50925 if test x$glibcxx_cv_func__logf_use = x"yes"; then
50926 for ac_func in _logf
50927 do :
50928 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
50929 if test "x$ac_cv_func__logf" = xyes; then :
50930 cat >>confdefs.h <<_ACEOF
50931 #define HAVE__LOGF 1
50932 _ACEOF
50935 done
50944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
50945 $as_echo_n "checking for log10f declaration... " >&6; }
50946 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
50947 if ${glibcxx_cv_func_log10f_use+:} false; then :
50948 $as_echo_n "(cached) " >&6
50949 else
50952 ac_ext=cpp
50953 ac_cpp='$CXXCPP $CPPFLAGS'
50954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50959 /* end confdefs.h. */
50960 #include <math.h>
50961 #ifdef HAVE_IEEEFP_H
50962 #include <ieeefp.h>
50963 #endif
50966 main ()
50968 log10f(0);
50970 return 0;
50972 _ACEOF
50973 if ac_fn_cxx_try_compile "$LINENO"; then :
50974 glibcxx_cv_func_log10f_use=yes
50975 else
50976 glibcxx_cv_func_log10f_use=no
50978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50979 ac_ext=c
50980 ac_cpp='$CPP $CPPFLAGS'
50981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
50990 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
50992 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
50993 for ac_func in log10f
50994 do :
50995 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
50996 if test "x$ac_cv_func_log10f" = xyes; then :
50997 cat >>confdefs.h <<_ACEOF
50998 #define HAVE_LOG10F 1
50999 _ACEOF
51002 done
51004 else
51006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
51007 $as_echo_n "checking for _log10f declaration... " >&6; }
51008 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
51009 if ${glibcxx_cv_func__log10f_use+:} false; then :
51010 $as_echo_n "(cached) " >&6
51011 else
51014 ac_ext=cpp
51015 ac_cpp='$CXXCPP $CPPFLAGS'
51016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51021 /* end confdefs.h. */
51022 #include <math.h>
51023 #ifdef HAVE_IEEEFP_H
51024 #include <ieeefp.h>
51025 #endif
51028 main ()
51030 _log10f(0);
51032 return 0;
51034 _ACEOF
51035 if ac_fn_cxx_try_compile "$LINENO"; then :
51036 glibcxx_cv_func__log10f_use=yes
51037 else
51038 glibcxx_cv_func__log10f_use=no
51040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51041 ac_ext=c
51042 ac_cpp='$CPP $CPPFLAGS'
51043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
51052 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
51054 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
51055 for ac_func in _log10f
51056 do :
51057 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
51058 if test "x$ac_cv_func__log10f" = xyes; then :
51059 cat >>confdefs.h <<_ACEOF
51060 #define HAVE__LOG10F 1
51061 _ACEOF
51064 done
51073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
51074 $as_echo_n "checking for modff declaration... " >&6; }
51075 if test x${glibcxx_cv_func_modff_use+set} != xset; then
51076 if ${glibcxx_cv_func_modff_use+:} false; then :
51077 $as_echo_n "(cached) " >&6
51078 else
51081 ac_ext=cpp
51082 ac_cpp='$CXXCPP $CPPFLAGS'
51083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51088 /* end confdefs.h. */
51089 #include <math.h>
51091 main ()
51093 modff(0, 0);
51095 return 0;
51097 _ACEOF
51098 if ac_fn_cxx_try_compile "$LINENO"; then :
51099 glibcxx_cv_func_modff_use=yes
51100 else
51101 glibcxx_cv_func_modff_use=no
51103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51104 ac_ext=c
51105 ac_cpp='$CPP $CPPFLAGS'
51106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
51115 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
51117 if test x$glibcxx_cv_func_modff_use = x"yes"; then
51118 for ac_func in modff
51119 do :
51120 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
51121 if test "x$ac_cv_func_modff" = xyes; then :
51122 cat >>confdefs.h <<_ACEOF
51123 #define HAVE_MODFF 1
51124 _ACEOF
51127 done
51129 else
51131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
51132 $as_echo_n "checking for _modff declaration... " >&6; }
51133 if test x${glibcxx_cv_func__modff_use+set} != xset; then
51134 if ${glibcxx_cv_func__modff_use+:} false; then :
51135 $as_echo_n "(cached) " >&6
51136 else
51139 ac_ext=cpp
51140 ac_cpp='$CXXCPP $CPPFLAGS'
51141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51146 /* end confdefs.h. */
51147 #include <math.h>
51149 main ()
51151 _modff(0, 0);
51153 return 0;
51155 _ACEOF
51156 if ac_fn_cxx_try_compile "$LINENO"; then :
51157 glibcxx_cv_func__modff_use=yes
51158 else
51159 glibcxx_cv_func__modff_use=no
51161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51162 ac_ext=c
51163 ac_cpp='$CPP $CPPFLAGS'
51164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
51173 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
51175 if test x$glibcxx_cv_func__modff_use = x"yes"; then
51176 for ac_func in _modff
51177 do :
51178 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
51179 if test "x$ac_cv_func__modff" = xyes; then :
51180 cat >>confdefs.h <<_ACEOF
51181 #define HAVE__MODFF 1
51182 _ACEOF
51185 done
51194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
51195 $as_echo_n "checking for modf declaration... " >&6; }
51196 if test x${glibcxx_cv_func_modf_use+set} != xset; then
51197 if ${glibcxx_cv_func_modf_use+:} false; then :
51198 $as_echo_n "(cached) " >&6
51199 else
51202 ac_ext=cpp
51203 ac_cpp='$CXXCPP $CPPFLAGS'
51204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51209 /* end confdefs.h. */
51210 #include <math.h>
51212 main ()
51214 modf(0, 0);
51216 return 0;
51218 _ACEOF
51219 if ac_fn_cxx_try_compile "$LINENO"; then :
51220 glibcxx_cv_func_modf_use=yes
51221 else
51222 glibcxx_cv_func_modf_use=no
51224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51225 ac_ext=c
51226 ac_cpp='$CPP $CPPFLAGS'
51227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
51236 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
51238 if test x$glibcxx_cv_func_modf_use = x"yes"; then
51239 for ac_func in modf
51240 do :
51241 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
51242 if test "x$ac_cv_func_modf" = xyes; then :
51243 cat >>confdefs.h <<_ACEOF
51244 #define HAVE_MODF 1
51245 _ACEOF
51248 done
51250 else
51252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
51253 $as_echo_n "checking for _modf declaration... " >&6; }
51254 if test x${glibcxx_cv_func__modf_use+set} != xset; then
51255 if ${glibcxx_cv_func__modf_use+:} false; then :
51256 $as_echo_n "(cached) " >&6
51257 else
51260 ac_ext=cpp
51261 ac_cpp='$CXXCPP $CPPFLAGS'
51262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51267 /* end confdefs.h. */
51268 #include <math.h>
51270 main ()
51272 _modf(0, 0);
51274 return 0;
51276 _ACEOF
51277 if ac_fn_cxx_try_compile "$LINENO"; then :
51278 glibcxx_cv_func__modf_use=yes
51279 else
51280 glibcxx_cv_func__modf_use=no
51282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51283 ac_ext=c
51284 ac_cpp='$CPP $CPPFLAGS'
51285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
51294 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
51296 if test x$glibcxx_cv_func__modf_use = x"yes"; then
51297 for ac_func in _modf
51298 do :
51299 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
51300 if test "x$ac_cv_func__modf" = xyes; then :
51301 cat >>confdefs.h <<_ACEOF
51302 #define HAVE__MODF 1
51303 _ACEOF
51306 done
51315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
51316 $as_echo_n "checking for powf declaration... " >&6; }
51317 if test x${glibcxx_cv_func_powf_use+set} != xset; then
51318 if ${glibcxx_cv_func_powf_use+:} false; then :
51319 $as_echo_n "(cached) " >&6
51320 else
51323 ac_ext=cpp
51324 ac_cpp='$CXXCPP $CPPFLAGS'
51325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51330 /* end confdefs.h. */
51331 #include <math.h>
51333 main ()
51335 powf(0, 0);
51337 return 0;
51339 _ACEOF
51340 if ac_fn_cxx_try_compile "$LINENO"; then :
51341 glibcxx_cv_func_powf_use=yes
51342 else
51343 glibcxx_cv_func_powf_use=no
51345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51346 ac_ext=c
51347 ac_cpp='$CPP $CPPFLAGS'
51348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
51357 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
51359 if test x$glibcxx_cv_func_powf_use = x"yes"; then
51360 for ac_func in powf
51361 do :
51362 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
51363 if test "x$ac_cv_func_powf" = xyes; then :
51364 cat >>confdefs.h <<_ACEOF
51365 #define HAVE_POWF 1
51366 _ACEOF
51369 done
51371 else
51373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
51374 $as_echo_n "checking for _powf declaration... " >&6; }
51375 if test x${glibcxx_cv_func__powf_use+set} != xset; then
51376 if ${glibcxx_cv_func__powf_use+:} false; then :
51377 $as_echo_n "(cached) " >&6
51378 else
51381 ac_ext=cpp
51382 ac_cpp='$CXXCPP $CPPFLAGS'
51383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51388 /* end confdefs.h. */
51389 #include <math.h>
51391 main ()
51393 _powf(0, 0);
51395 return 0;
51397 _ACEOF
51398 if ac_fn_cxx_try_compile "$LINENO"; then :
51399 glibcxx_cv_func__powf_use=yes
51400 else
51401 glibcxx_cv_func__powf_use=no
51403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51404 ac_ext=c
51405 ac_cpp='$CPP $CPPFLAGS'
51406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
51415 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
51417 if test x$glibcxx_cv_func__powf_use = x"yes"; then
51418 for ac_func in _powf
51419 do :
51420 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
51421 if test "x$ac_cv_func__powf" = xyes; then :
51422 cat >>confdefs.h <<_ACEOF
51423 #define HAVE__POWF 1
51424 _ACEOF
51427 done
51436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
51437 $as_echo_n "checking for sqrtf declaration... " >&6; }
51438 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
51439 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
51440 $as_echo_n "(cached) " >&6
51441 else
51444 ac_ext=cpp
51445 ac_cpp='$CXXCPP $CPPFLAGS'
51446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51451 /* end confdefs.h. */
51452 #include <math.h>
51453 #ifdef HAVE_IEEEFP_H
51454 #include <ieeefp.h>
51455 #endif
51458 main ()
51460 sqrtf(0);
51462 return 0;
51464 _ACEOF
51465 if ac_fn_cxx_try_compile "$LINENO"; then :
51466 glibcxx_cv_func_sqrtf_use=yes
51467 else
51468 glibcxx_cv_func_sqrtf_use=no
51470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51471 ac_ext=c
51472 ac_cpp='$CPP $CPPFLAGS'
51473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
51482 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
51484 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
51485 for ac_func in sqrtf
51486 do :
51487 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
51488 if test "x$ac_cv_func_sqrtf" = xyes; then :
51489 cat >>confdefs.h <<_ACEOF
51490 #define HAVE_SQRTF 1
51491 _ACEOF
51494 done
51496 else
51498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
51499 $as_echo_n "checking for _sqrtf declaration... " >&6; }
51500 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
51501 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
51502 $as_echo_n "(cached) " >&6
51503 else
51506 ac_ext=cpp
51507 ac_cpp='$CXXCPP $CPPFLAGS'
51508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51513 /* end confdefs.h. */
51514 #include <math.h>
51515 #ifdef HAVE_IEEEFP_H
51516 #include <ieeefp.h>
51517 #endif
51520 main ()
51522 _sqrtf(0);
51524 return 0;
51526 _ACEOF
51527 if ac_fn_cxx_try_compile "$LINENO"; then :
51528 glibcxx_cv_func__sqrtf_use=yes
51529 else
51530 glibcxx_cv_func__sqrtf_use=no
51532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51533 ac_ext=c
51534 ac_cpp='$CPP $CPPFLAGS'
51535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
51544 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
51546 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
51547 for ac_func in _sqrtf
51548 do :
51549 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
51550 if test "x$ac_cv_func__sqrtf" = xyes; then :
51551 cat >>confdefs.h <<_ACEOF
51552 #define HAVE__SQRTF 1
51553 _ACEOF
51556 done
51565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
51566 $as_echo_n "checking for sincosf declaration... " >&6; }
51567 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
51568 if ${glibcxx_cv_func_sincosf_use+:} false; then :
51569 $as_echo_n "(cached) " >&6
51570 else
51573 ac_ext=cpp
51574 ac_cpp='$CXXCPP $CPPFLAGS'
51575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51580 /* end confdefs.h. */
51581 #include <math.h>
51583 main ()
51585 sincosf(0, 0, 0);
51587 return 0;
51589 _ACEOF
51590 if ac_fn_cxx_try_compile "$LINENO"; then :
51591 glibcxx_cv_func_sincosf_use=yes
51592 else
51593 glibcxx_cv_func_sincosf_use=no
51595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51596 ac_ext=c
51597 ac_cpp='$CPP $CPPFLAGS'
51598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
51607 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
51609 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
51610 for ac_func in sincosf
51611 do :
51612 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
51613 if test "x$ac_cv_func_sincosf" = xyes; then :
51614 cat >>confdefs.h <<_ACEOF
51615 #define HAVE_SINCOSF 1
51616 _ACEOF
51619 done
51621 else
51623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
51624 $as_echo_n "checking for _sincosf declaration... " >&6; }
51625 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
51626 if ${glibcxx_cv_func__sincosf_use+:} false; then :
51627 $as_echo_n "(cached) " >&6
51628 else
51631 ac_ext=cpp
51632 ac_cpp='$CXXCPP $CPPFLAGS'
51633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51638 /* end confdefs.h. */
51639 #include <math.h>
51641 main ()
51643 _sincosf(0, 0, 0);
51645 return 0;
51647 _ACEOF
51648 if ac_fn_cxx_try_compile "$LINENO"; then :
51649 glibcxx_cv_func__sincosf_use=yes
51650 else
51651 glibcxx_cv_func__sincosf_use=no
51653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51654 ac_ext=c
51655 ac_cpp='$CPP $CPPFLAGS'
51656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
51665 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
51667 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
51668 for ac_func in _sincosf
51669 do :
51670 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
51671 if test "x$ac_cv_func__sincosf" = xyes; then :
51672 cat >>confdefs.h <<_ACEOF
51673 #define HAVE__SINCOSF 1
51674 _ACEOF
51677 done
51686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
51687 $as_echo_n "checking for finitef declaration... " >&6; }
51688 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
51689 if ${glibcxx_cv_func_finitef_use+:} false; then :
51690 $as_echo_n "(cached) " >&6
51691 else
51694 ac_ext=cpp
51695 ac_cpp='$CXXCPP $CPPFLAGS'
51696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51701 /* end confdefs.h. */
51702 #include <math.h>
51703 #ifdef HAVE_IEEEFP_H
51704 #include <ieeefp.h>
51705 #endif
51708 main ()
51710 finitef(0);
51712 return 0;
51714 _ACEOF
51715 if ac_fn_cxx_try_compile "$LINENO"; then :
51716 glibcxx_cv_func_finitef_use=yes
51717 else
51718 glibcxx_cv_func_finitef_use=no
51720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51721 ac_ext=c
51722 ac_cpp='$CPP $CPPFLAGS'
51723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
51732 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
51734 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
51735 for ac_func in finitef
51736 do :
51737 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
51738 if test "x$ac_cv_func_finitef" = xyes; then :
51739 cat >>confdefs.h <<_ACEOF
51740 #define HAVE_FINITEF 1
51741 _ACEOF
51744 done
51746 else
51748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
51749 $as_echo_n "checking for _finitef declaration... " >&6; }
51750 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
51751 if ${glibcxx_cv_func__finitef_use+:} false; then :
51752 $as_echo_n "(cached) " >&6
51753 else
51756 ac_ext=cpp
51757 ac_cpp='$CXXCPP $CPPFLAGS'
51758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51763 /* end confdefs.h. */
51764 #include <math.h>
51765 #ifdef HAVE_IEEEFP_H
51766 #include <ieeefp.h>
51767 #endif
51770 main ()
51772 _finitef(0);
51774 return 0;
51776 _ACEOF
51777 if ac_fn_cxx_try_compile "$LINENO"; then :
51778 glibcxx_cv_func__finitef_use=yes
51779 else
51780 glibcxx_cv_func__finitef_use=no
51782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51783 ac_ext=c
51784 ac_cpp='$CPP $CPPFLAGS'
51785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
51794 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
51796 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
51797 for ac_func in _finitef
51798 do :
51799 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
51800 if test "x$ac_cv_func__finitef" = xyes; then :
51801 cat >>confdefs.h <<_ACEOF
51802 #define HAVE__FINITEF 1
51803 _ACEOF
51806 done
51815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
51816 $as_echo_n "checking for long double trig functions... " >&6; }
51817 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
51818 $as_echo_n "(cached) " >&6
51819 else
51822 ac_ext=cpp
51823 ac_cpp='$CXXCPP $CPPFLAGS'
51824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51829 /* end confdefs.h. */
51830 #include <math.h>
51832 main ()
51834 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
51836 return 0;
51838 _ACEOF
51839 if ac_fn_cxx_try_compile "$LINENO"; then :
51840 glibcxx_cv_func_long_double_trig_use=yes
51841 else
51842 glibcxx_cv_func_long_double_trig_use=no
51844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51845 ac_ext=c
51846 ac_cpp='$CPP $CPPFLAGS'
51847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
51854 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
51855 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
51856 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
51857 do :
51858 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51859 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51860 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51861 cat >>confdefs.h <<_ACEOF
51862 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51863 _ACEOF
51866 done
51868 else
51869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
51870 $as_echo_n "checking for _long double trig functions... " >&6; }
51871 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
51872 $as_echo_n "(cached) " >&6
51873 else
51876 ac_ext=cpp
51877 ac_cpp='$CXXCPP $CPPFLAGS'
51878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51883 /* end confdefs.h. */
51884 #include <math.h>
51886 main ()
51888 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
51890 return 0;
51892 _ACEOF
51893 if ac_fn_cxx_try_compile "$LINENO"; then :
51894 glibcxx_cv_func__long_double_trig_use=yes
51895 else
51896 glibcxx_cv_func__long_double_trig_use=no
51898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51899 ac_ext=c
51900 ac_cpp='$CPP $CPPFLAGS'
51901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
51908 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
51909 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
51910 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
51911 do :
51912 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51913 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51914 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51915 cat >>confdefs.h <<_ACEOF
51916 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51917 _ACEOF
51920 done
51929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
51930 $as_echo_n "checking for long double round functions... " >&6; }
51931 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
51932 $as_echo_n "(cached) " >&6
51933 else
51936 ac_ext=cpp
51937 ac_cpp='$CXXCPP $CPPFLAGS'
51938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51943 /* end confdefs.h. */
51944 #include <math.h>
51946 main ()
51948 ceill (0); floorl (0);
51950 return 0;
51952 _ACEOF
51953 if ac_fn_cxx_try_compile "$LINENO"; then :
51954 glibcxx_cv_func_long_double_round_use=yes
51955 else
51956 glibcxx_cv_func_long_double_round_use=no
51958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51959 ac_ext=c
51960 ac_cpp='$CPP $CPPFLAGS'
51961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
51968 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
51969 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
51970 for ac_func in ceill floorl
51971 do :
51972 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51973 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51974 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51975 cat >>confdefs.h <<_ACEOF
51976 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51977 _ACEOF
51980 done
51982 else
51983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
51984 $as_echo_n "checking for _long double round functions... " >&6; }
51985 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
51986 $as_echo_n "(cached) " >&6
51987 else
51990 ac_ext=cpp
51991 ac_cpp='$CXXCPP $CPPFLAGS'
51992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51997 /* end confdefs.h. */
51998 #include <math.h>
52000 main ()
52002 _ceill (0); _floorl (0);
52004 return 0;
52006 _ACEOF
52007 if ac_fn_cxx_try_compile "$LINENO"; then :
52008 glibcxx_cv_func__long_double_round_use=yes
52009 else
52010 glibcxx_cv_func__long_double_round_use=no
52012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52013 ac_ext=c
52014 ac_cpp='$CPP $CPPFLAGS'
52015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
52022 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
52023 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
52024 for ac_func in _ceill _floorl
52025 do :
52026 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52027 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52028 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
52029 cat >>confdefs.h <<_ACEOF
52030 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52031 _ACEOF
52034 done
52044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
52045 $as_echo_n "checking for isnanl declaration... " >&6; }
52046 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
52047 if ${glibcxx_cv_func_isnanl_use+:} false; then :
52048 $as_echo_n "(cached) " >&6
52049 else
52052 ac_ext=cpp
52053 ac_cpp='$CXXCPP $CPPFLAGS'
52054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52059 /* end confdefs.h. */
52060 #include <math.h>
52061 #ifdef HAVE_IEEEFP_H
52062 #include <ieeefp.h>
52063 #endif
52066 main ()
52068 isnanl(0);
52070 return 0;
52072 _ACEOF
52073 if ac_fn_cxx_try_compile "$LINENO"; then :
52074 glibcxx_cv_func_isnanl_use=yes
52075 else
52076 glibcxx_cv_func_isnanl_use=no
52078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52079 ac_ext=c
52080 ac_cpp='$CPP $CPPFLAGS'
52081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
52090 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
52092 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
52093 for ac_func in isnanl
52094 do :
52095 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
52096 if test "x$ac_cv_func_isnanl" = xyes; then :
52097 cat >>confdefs.h <<_ACEOF
52098 #define HAVE_ISNANL 1
52099 _ACEOF
52102 done
52104 else
52106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
52107 $as_echo_n "checking for _isnanl declaration... " >&6; }
52108 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
52109 if ${glibcxx_cv_func__isnanl_use+:} false; then :
52110 $as_echo_n "(cached) " >&6
52111 else
52114 ac_ext=cpp
52115 ac_cpp='$CXXCPP $CPPFLAGS'
52116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52121 /* end confdefs.h. */
52122 #include <math.h>
52123 #ifdef HAVE_IEEEFP_H
52124 #include <ieeefp.h>
52125 #endif
52128 main ()
52130 _isnanl(0);
52132 return 0;
52134 _ACEOF
52135 if ac_fn_cxx_try_compile "$LINENO"; then :
52136 glibcxx_cv_func__isnanl_use=yes
52137 else
52138 glibcxx_cv_func__isnanl_use=no
52140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52141 ac_ext=c
52142 ac_cpp='$CPP $CPPFLAGS'
52143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
52152 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
52154 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
52155 for ac_func in _isnanl
52156 do :
52157 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
52158 if test "x$ac_cv_func__isnanl" = xyes; then :
52159 cat >>confdefs.h <<_ACEOF
52160 #define HAVE__ISNANL 1
52161 _ACEOF
52164 done
52173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
52174 $as_echo_n "checking for isinfl declaration... " >&6; }
52175 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
52176 if ${glibcxx_cv_func_isinfl_use+:} false; then :
52177 $as_echo_n "(cached) " >&6
52178 else
52181 ac_ext=cpp
52182 ac_cpp='$CXXCPP $CPPFLAGS'
52183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52188 /* end confdefs.h. */
52189 #include <math.h>
52190 #ifdef HAVE_IEEEFP_H
52191 #include <ieeefp.h>
52192 #endif
52195 main ()
52197 isinfl(0);
52199 return 0;
52201 _ACEOF
52202 if ac_fn_cxx_try_compile "$LINENO"; then :
52203 glibcxx_cv_func_isinfl_use=yes
52204 else
52205 glibcxx_cv_func_isinfl_use=no
52207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52208 ac_ext=c
52209 ac_cpp='$CPP $CPPFLAGS'
52210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
52219 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
52221 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
52222 for ac_func in isinfl
52223 do :
52224 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
52225 if test "x$ac_cv_func_isinfl" = xyes; then :
52226 cat >>confdefs.h <<_ACEOF
52227 #define HAVE_ISINFL 1
52228 _ACEOF
52231 done
52233 else
52235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
52236 $as_echo_n "checking for _isinfl declaration... " >&6; }
52237 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
52238 if ${glibcxx_cv_func__isinfl_use+:} false; then :
52239 $as_echo_n "(cached) " >&6
52240 else
52243 ac_ext=cpp
52244 ac_cpp='$CXXCPP $CPPFLAGS'
52245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52250 /* end confdefs.h. */
52251 #include <math.h>
52252 #ifdef HAVE_IEEEFP_H
52253 #include <ieeefp.h>
52254 #endif
52257 main ()
52259 _isinfl(0);
52261 return 0;
52263 _ACEOF
52264 if ac_fn_cxx_try_compile "$LINENO"; then :
52265 glibcxx_cv_func__isinfl_use=yes
52266 else
52267 glibcxx_cv_func__isinfl_use=no
52269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52270 ac_ext=c
52271 ac_cpp='$CPP $CPPFLAGS'
52272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
52281 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
52283 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
52284 for ac_func in _isinfl
52285 do :
52286 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
52287 if test "x$ac_cv_func__isinfl" = xyes; then :
52288 cat >>confdefs.h <<_ACEOF
52289 #define HAVE__ISINFL 1
52290 _ACEOF
52293 done
52302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
52303 $as_echo_n "checking for atan2l declaration... " >&6; }
52304 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
52305 if ${glibcxx_cv_func_atan2l_use+:} false; then :
52306 $as_echo_n "(cached) " >&6
52307 else
52310 ac_ext=cpp
52311 ac_cpp='$CXXCPP $CPPFLAGS'
52312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52317 /* end confdefs.h. */
52318 #include <math.h>
52320 main ()
52322 atan2l(0, 0);
52324 return 0;
52326 _ACEOF
52327 if ac_fn_cxx_try_compile "$LINENO"; then :
52328 glibcxx_cv_func_atan2l_use=yes
52329 else
52330 glibcxx_cv_func_atan2l_use=no
52332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52333 ac_ext=c
52334 ac_cpp='$CPP $CPPFLAGS'
52335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
52344 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
52346 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
52347 for ac_func in atan2l
52348 do :
52349 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
52350 if test "x$ac_cv_func_atan2l" = xyes; then :
52351 cat >>confdefs.h <<_ACEOF
52352 #define HAVE_ATAN2L 1
52353 _ACEOF
52356 done
52358 else
52360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
52361 $as_echo_n "checking for _atan2l declaration... " >&6; }
52362 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
52363 if ${glibcxx_cv_func__atan2l_use+:} false; then :
52364 $as_echo_n "(cached) " >&6
52365 else
52368 ac_ext=cpp
52369 ac_cpp='$CXXCPP $CPPFLAGS'
52370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52375 /* end confdefs.h. */
52376 #include <math.h>
52378 main ()
52380 _atan2l(0, 0);
52382 return 0;
52384 _ACEOF
52385 if ac_fn_cxx_try_compile "$LINENO"; then :
52386 glibcxx_cv_func__atan2l_use=yes
52387 else
52388 glibcxx_cv_func__atan2l_use=no
52390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52391 ac_ext=c
52392 ac_cpp='$CPP $CPPFLAGS'
52393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
52402 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
52404 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
52405 for ac_func in _atan2l
52406 do :
52407 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
52408 if test "x$ac_cv_func__atan2l" = xyes; then :
52409 cat >>confdefs.h <<_ACEOF
52410 #define HAVE__ATAN2L 1
52411 _ACEOF
52414 done
52423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
52424 $as_echo_n "checking for expl declaration... " >&6; }
52425 if test x${glibcxx_cv_func_expl_use+set} != xset; then
52426 if ${glibcxx_cv_func_expl_use+:} false; then :
52427 $as_echo_n "(cached) " >&6
52428 else
52431 ac_ext=cpp
52432 ac_cpp='$CXXCPP $CPPFLAGS'
52433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52438 /* end confdefs.h. */
52439 #include <math.h>
52440 #ifdef HAVE_IEEEFP_H
52441 #include <ieeefp.h>
52442 #endif
52445 main ()
52447 expl(0);
52449 return 0;
52451 _ACEOF
52452 if ac_fn_cxx_try_compile "$LINENO"; then :
52453 glibcxx_cv_func_expl_use=yes
52454 else
52455 glibcxx_cv_func_expl_use=no
52457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52458 ac_ext=c
52459 ac_cpp='$CPP $CPPFLAGS'
52460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
52469 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
52471 if test x$glibcxx_cv_func_expl_use = x"yes"; then
52472 for ac_func in expl
52473 do :
52474 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
52475 if test "x$ac_cv_func_expl" = xyes; then :
52476 cat >>confdefs.h <<_ACEOF
52477 #define HAVE_EXPL 1
52478 _ACEOF
52481 done
52483 else
52485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
52486 $as_echo_n "checking for _expl declaration... " >&6; }
52487 if test x${glibcxx_cv_func__expl_use+set} != xset; then
52488 if ${glibcxx_cv_func__expl_use+:} false; then :
52489 $as_echo_n "(cached) " >&6
52490 else
52493 ac_ext=cpp
52494 ac_cpp='$CXXCPP $CPPFLAGS'
52495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52500 /* end confdefs.h. */
52501 #include <math.h>
52502 #ifdef HAVE_IEEEFP_H
52503 #include <ieeefp.h>
52504 #endif
52507 main ()
52509 _expl(0);
52511 return 0;
52513 _ACEOF
52514 if ac_fn_cxx_try_compile "$LINENO"; then :
52515 glibcxx_cv_func__expl_use=yes
52516 else
52517 glibcxx_cv_func__expl_use=no
52519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52520 ac_ext=c
52521 ac_cpp='$CPP $CPPFLAGS'
52522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
52531 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
52533 if test x$glibcxx_cv_func__expl_use = x"yes"; then
52534 for ac_func in _expl
52535 do :
52536 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
52537 if test "x$ac_cv_func__expl" = xyes; then :
52538 cat >>confdefs.h <<_ACEOF
52539 #define HAVE__EXPL 1
52540 _ACEOF
52543 done
52552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
52553 $as_echo_n "checking for fabsl declaration... " >&6; }
52554 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
52555 if ${glibcxx_cv_func_fabsl_use+:} false; then :
52556 $as_echo_n "(cached) " >&6
52557 else
52560 ac_ext=cpp
52561 ac_cpp='$CXXCPP $CPPFLAGS'
52562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52567 /* end confdefs.h. */
52568 #include <math.h>
52569 #ifdef HAVE_IEEEFP_H
52570 #include <ieeefp.h>
52571 #endif
52574 main ()
52576 fabsl(0);
52578 return 0;
52580 _ACEOF
52581 if ac_fn_cxx_try_compile "$LINENO"; then :
52582 glibcxx_cv_func_fabsl_use=yes
52583 else
52584 glibcxx_cv_func_fabsl_use=no
52586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52587 ac_ext=c
52588 ac_cpp='$CPP $CPPFLAGS'
52589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
52598 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
52600 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
52601 for ac_func in fabsl
52602 do :
52603 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
52604 if test "x$ac_cv_func_fabsl" = xyes; then :
52605 cat >>confdefs.h <<_ACEOF
52606 #define HAVE_FABSL 1
52607 _ACEOF
52610 done
52612 else
52614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
52615 $as_echo_n "checking for _fabsl declaration... " >&6; }
52616 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
52617 if ${glibcxx_cv_func__fabsl_use+:} false; then :
52618 $as_echo_n "(cached) " >&6
52619 else
52622 ac_ext=cpp
52623 ac_cpp='$CXXCPP $CPPFLAGS'
52624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52629 /* end confdefs.h. */
52630 #include <math.h>
52631 #ifdef HAVE_IEEEFP_H
52632 #include <ieeefp.h>
52633 #endif
52636 main ()
52638 _fabsl(0);
52640 return 0;
52642 _ACEOF
52643 if ac_fn_cxx_try_compile "$LINENO"; then :
52644 glibcxx_cv_func__fabsl_use=yes
52645 else
52646 glibcxx_cv_func__fabsl_use=no
52648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52649 ac_ext=c
52650 ac_cpp='$CPP $CPPFLAGS'
52651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
52660 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
52662 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
52663 for ac_func in _fabsl
52664 do :
52665 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
52666 if test "x$ac_cv_func__fabsl" = xyes; then :
52667 cat >>confdefs.h <<_ACEOF
52668 #define HAVE__FABSL 1
52669 _ACEOF
52672 done
52681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
52682 $as_echo_n "checking for fmodl declaration... " >&6; }
52683 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
52684 if ${glibcxx_cv_func_fmodl_use+:} false; then :
52685 $as_echo_n "(cached) " >&6
52686 else
52689 ac_ext=cpp
52690 ac_cpp='$CXXCPP $CPPFLAGS'
52691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52696 /* end confdefs.h. */
52697 #include <math.h>
52699 main ()
52701 fmodl(0, 0);
52703 return 0;
52705 _ACEOF
52706 if ac_fn_cxx_try_compile "$LINENO"; then :
52707 glibcxx_cv_func_fmodl_use=yes
52708 else
52709 glibcxx_cv_func_fmodl_use=no
52711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52712 ac_ext=c
52713 ac_cpp='$CPP $CPPFLAGS'
52714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
52723 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
52725 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
52726 for ac_func in fmodl
52727 do :
52728 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
52729 if test "x$ac_cv_func_fmodl" = xyes; then :
52730 cat >>confdefs.h <<_ACEOF
52731 #define HAVE_FMODL 1
52732 _ACEOF
52735 done
52737 else
52739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
52740 $as_echo_n "checking for _fmodl declaration... " >&6; }
52741 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
52742 if ${glibcxx_cv_func__fmodl_use+:} false; then :
52743 $as_echo_n "(cached) " >&6
52744 else
52747 ac_ext=cpp
52748 ac_cpp='$CXXCPP $CPPFLAGS'
52749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52754 /* end confdefs.h. */
52755 #include <math.h>
52757 main ()
52759 _fmodl(0, 0);
52761 return 0;
52763 _ACEOF
52764 if ac_fn_cxx_try_compile "$LINENO"; then :
52765 glibcxx_cv_func__fmodl_use=yes
52766 else
52767 glibcxx_cv_func__fmodl_use=no
52769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52770 ac_ext=c
52771 ac_cpp='$CPP $CPPFLAGS'
52772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
52781 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
52783 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
52784 for ac_func in _fmodl
52785 do :
52786 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
52787 if test "x$ac_cv_func__fmodl" = xyes; then :
52788 cat >>confdefs.h <<_ACEOF
52789 #define HAVE__FMODL 1
52790 _ACEOF
52793 done
52802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
52803 $as_echo_n "checking for frexpl declaration... " >&6; }
52804 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
52805 if ${glibcxx_cv_func_frexpl_use+:} false; then :
52806 $as_echo_n "(cached) " >&6
52807 else
52810 ac_ext=cpp
52811 ac_cpp='$CXXCPP $CPPFLAGS'
52812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52817 /* end confdefs.h. */
52818 #include <math.h>
52820 main ()
52822 frexpl(0, 0);
52824 return 0;
52826 _ACEOF
52827 if ac_fn_cxx_try_compile "$LINENO"; then :
52828 glibcxx_cv_func_frexpl_use=yes
52829 else
52830 glibcxx_cv_func_frexpl_use=no
52832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52833 ac_ext=c
52834 ac_cpp='$CPP $CPPFLAGS'
52835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
52844 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
52846 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
52847 for ac_func in frexpl
52848 do :
52849 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
52850 if test "x$ac_cv_func_frexpl" = xyes; then :
52851 cat >>confdefs.h <<_ACEOF
52852 #define HAVE_FREXPL 1
52853 _ACEOF
52856 done
52858 else
52860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
52861 $as_echo_n "checking for _frexpl declaration... " >&6; }
52862 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
52863 if ${glibcxx_cv_func__frexpl_use+:} false; then :
52864 $as_echo_n "(cached) " >&6
52865 else
52868 ac_ext=cpp
52869 ac_cpp='$CXXCPP $CPPFLAGS'
52870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52875 /* end confdefs.h. */
52876 #include <math.h>
52878 main ()
52880 _frexpl(0, 0);
52882 return 0;
52884 _ACEOF
52885 if ac_fn_cxx_try_compile "$LINENO"; then :
52886 glibcxx_cv_func__frexpl_use=yes
52887 else
52888 glibcxx_cv_func__frexpl_use=no
52890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52891 ac_ext=c
52892 ac_cpp='$CPP $CPPFLAGS'
52893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
52902 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
52904 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
52905 for ac_func in _frexpl
52906 do :
52907 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
52908 if test "x$ac_cv_func__frexpl" = xyes; then :
52909 cat >>confdefs.h <<_ACEOF
52910 #define HAVE__FREXPL 1
52911 _ACEOF
52914 done
52923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
52924 $as_echo_n "checking for hypotl declaration... " >&6; }
52925 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
52926 if ${glibcxx_cv_func_hypotl_use+:} false; then :
52927 $as_echo_n "(cached) " >&6
52928 else
52931 ac_ext=cpp
52932 ac_cpp='$CXXCPP $CPPFLAGS'
52933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52938 /* end confdefs.h. */
52939 #include <math.h>
52941 main ()
52943 hypotl(0, 0);
52945 return 0;
52947 _ACEOF
52948 if ac_fn_cxx_try_compile "$LINENO"; then :
52949 glibcxx_cv_func_hypotl_use=yes
52950 else
52951 glibcxx_cv_func_hypotl_use=no
52953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52954 ac_ext=c
52955 ac_cpp='$CPP $CPPFLAGS'
52956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
52965 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
52967 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
52968 for ac_func in hypotl
52969 do :
52970 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
52971 if test "x$ac_cv_func_hypotl" = xyes; then :
52972 cat >>confdefs.h <<_ACEOF
52973 #define HAVE_HYPOTL 1
52974 _ACEOF
52977 done
52979 else
52981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
52982 $as_echo_n "checking for _hypotl declaration... " >&6; }
52983 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
52984 if ${glibcxx_cv_func__hypotl_use+:} false; then :
52985 $as_echo_n "(cached) " >&6
52986 else
52989 ac_ext=cpp
52990 ac_cpp='$CXXCPP $CPPFLAGS'
52991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52996 /* end confdefs.h. */
52997 #include <math.h>
52999 main ()
53001 _hypotl(0, 0);
53003 return 0;
53005 _ACEOF
53006 if ac_fn_cxx_try_compile "$LINENO"; then :
53007 glibcxx_cv_func__hypotl_use=yes
53008 else
53009 glibcxx_cv_func__hypotl_use=no
53011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53012 ac_ext=c
53013 ac_cpp='$CPP $CPPFLAGS'
53014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
53023 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
53025 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
53026 for ac_func in _hypotl
53027 do :
53028 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
53029 if test "x$ac_cv_func__hypotl" = xyes; then :
53030 cat >>confdefs.h <<_ACEOF
53031 #define HAVE__HYPOTL 1
53032 _ACEOF
53035 done
53044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
53045 $as_echo_n "checking for ldexpl declaration... " >&6; }
53046 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
53047 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
53048 $as_echo_n "(cached) " >&6
53049 else
53052 ac_ext=cpp
53053 ac_cpp='$CXXCPP $CPPFLAGS'
53054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53059 /* end confdefs.h. */
53060 #include <math.h>
53062 main ()
53064 ldexpl(0, 0);
53066 return 0;
53068 _ACEOF
53069 if ac_fn_cxx_try_compile "$LINENO"; then :
53070 glibcxx_cv_func_ldexpl_use=yes
53071 else
53072 glibcxx_cv_func_ldexpl_use=no
53074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53075 ac_ext=c
53076 ac_cpp='$CPP $CPPFLAGS'
53077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
53086 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
53088 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
53089 for ac_func in ldexpl
53090 do :
53091 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
53092 if test "x$ac_cv_func_ldexpl" = xyes; then :
53093 cat >>confdefs.h <<_ACEOF
53094 #define HAVE_LDEXPL 1
53095 _ACEOF
53098 done
53100 else
53102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
53103 $as_echo_n "checking for _ldexpl declaration... " >&6; }
53104 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
53105 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
53106 $as_echo_n "(cached) " >&6
53107 else
53110 ac_ext=cpp
53111 ac_cpp='$CXXCPP $CPPFLAGS'
53112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53117 /* end confdefs.h. */
53118 #include <math.h>
53120 main ()
53122 _ldexpl(0, 0);
53124 return 0;
53126 _ACEOF
53127 if ac_fn_cxx_try_compile "$LINENO"; then :
53128 glibcxx_cv_func__ldexpl_use=yes
53129 else
53130 glibcxx_cv_func__ldexpl_use=no
53132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53133 ac_ext=c
53134 ac_cpp='$CPP $CPPFLAGS'
53135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
53144 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
53146 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
53147 for ac_func in _ldexpl
53148 do :
53149 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
53150 if test "x$ac_cv_func__ldexpl" = xyes; then :
53151 cat >>confdefs.h <<_ACEOF
53152 #define HAVE__LDEXPL 1
53153 _ACEOF
53156 done
53165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
53166 $as_echo_n "checking for logl declaration... " >&6; }
53167 if test x${glibcxx_cv_func_logl_use+set} != xset; then
53168 if ${glibcxx_cv_func_logl_use+:} false; then :
53169 $as_echo_n "(cached) " >&6
53170 else
53173 ac_ext=cpp
53174 ac_cpp='$CXXCPP $CPPFLAGS'
53175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53180 /* end confdefs.h. */
53181 #include <math.h>
53182 #ifdef HAVE_IEEEFP_H
53183 #include <ieeefp.h>
53184 #endif
53187 main ()
53189 logl(0);
53191 return 0;
53193 _ACEOF
53194 if ac_fn_cxx_try_compile "$LINENO"; then :
53195 glibcxx_cv_func_logl_use=yes
53196 else
53197 glibcxx_cv_func_logl_use=no
53199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53200 ac_ext=c
53201 ac_cpp='$CPP $CPPFLAGS'
53202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
53211 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
53213 if test x$glibcxx_cv_func_logl_use = x"yes"; then
53214 for ac_func in logl
53215 do :
53216 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
53217 if test "x$ac_cv_func_logl" = xyes; then :
53218 cat >>confdefs.h <<_ACEOF
53219 #define HAVE_LOGL 1
53220 _ACEOF
53223 done
53225 else
53227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
53228 $as_echo_n "checking for _logl declaration... " >&6; }
53229 if test x${glibcxx_cv_func__logl_use+set} != xset; then
53230 if ${glibcxx_cv_func__logl_use+:} false; then :
53231 $as_echo_n "(cached) " >&6
53232 else
53235 ac_ext=cpp
53236 ac_cpp='$CXXCPP $CPPFLAGS'
53237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53242 /* end confdefs.h. */
53243 #include <math.h>
53244 #ifdef HAVE_IEEEFP_H
53245 #include <ieeefp.h>
53246 #endif
53249 main ()
53251 _logl(0);
53253 return 0;
53255 _ACEOF
53256 if ac_fn_cxx_try_compile "$LINENO"; then :
53257 glibcxx_cv_func__logl_use=yes
53258 else
53259 glibcxx_cv_func__logl_use=no
53261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53262 ac_ext=c
53263 ac_cpp='$CPP $CPPFLAGS'
53264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
53273 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
53275 if test x$glibcxx_cv_func__logl_use = x"yes"; then
53276 for ac_func in _logl
53277 do :
53278 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
53279 if test "x$ac_cv_func__logl" = xyes; then :
53280 cat >>confdefs.h <<_ACEOF
53281 #define HAVE__LOGL 1
53282 _ACEOF
53285 done
53294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
53295 $as_echo_n "checking for log10l declaration... " >&6; }
53296 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
53297 if ${glibcxx_cv_func_log10l_use+:} false; then :
53298 $as_echo_n "(cached) " >&6
53299 else
53302 ac_ext=cpp
53303 ac_cpp='$CXXCPP $CPPFLAGS'
53304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53309 /* end confdefs.h. */
53310 #include <math.h>
53311 #ifdef HAVE_IEEEFP_H
53312 #include <ieeefp.h>
53313 #endif
53316 main ()
53318 log10l(0);
53320 return 0;
53322 _ACEOF
53323 if ac_fn_cxx_try_compile "$LINENO"; then :
53324 glibcxx_cv_func_log10l_use=yes
53325 else
53326 glibcxx_cv_func_log10l_use=no
53328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53329 ac_ext=c
53330 ac_cpp='$CPP $CPPFLAGS'
53331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
53340 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
53342 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
53343 for ac_func in log10l
53344 do :
53345 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
53346 if test "x$ac_cv_func_log10l" = xyes; then :
53347 cat >>confdefs.h <<_ACEOF
53348 #define HAVE_LOG10L 1
53349 _ACEOF
53352 done
53354 else
53356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
53357 $as_echo_n "checking for _log10l declaration... " >&6; }
53358 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
53359 if ${glibcxx_cv_func__log10l_use+:} false; then :
53360 $as_echo_n "(cached) " >&6
53361 else
53364 ac_ext=cpp
53365 ac_cpp='$CXXCPP $CPPFLAGS'
53366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53371 /* end confdefs.h. */
53372 #include <math.h>
53373 #ifdef HAVE_IEEEFP_H
53374 #include <ieeefp.h>
53375 #endif
53378 main ()
53380 _log10l(0);
53382 return 0;
53384 _ACEOF
53385 if ac_fn_cxx_try_compile "$LINENO"; then :
53386 glibcxx_cv_func__log10l_use=yes
53387 else
53388 glibcxx_cv_func__log10l_use=no
53390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53391 ac_ext=c
53392 ac_cpp='$CPP $CPPFLAGS'
53393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
53402 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
53404 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
53405 for ac_func in _log10l
53406 do :
53407 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
53408 if test "x$ac_cv_func__log10l" = xyes; then :
53409 cat >>confdefs.h <<_ACEOF
53410 #define HAVE__LOG10L 1
53411 _ACEOF
53414 done
53423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
53424 $as_echo_n "checking for modfl declaration... " >&6; }
53425 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
53426 if ${glibcxx_cv_func_modfl_use+:} false; then :
53427 $as_echo_n "(cached) " >&6
53428 else
53431 ac_ext=cpp
53432 ac_cpp='$CXXCPP $CPPFLAGS'
53433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53438 /* end confdefs.h. */
53439 #include <math.h>
53441 main ()
53443 modfl(0, 0);
53445 return 0;
53447 _ACEOF
53448 if ac_fn_cxx_try_compile "$LINENO"; then :
53449 glibcxx_cv_func_modfl_use=yes
53450 else
53451 glibcxx_cv_func_modfl_use=no
53453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53454 ac_ext=c
53455 ac_cpp='$CPP $CPPFLAGS'
53456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
53465 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
53467 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
53468 for ac_func in modfl
53469 do :
53470 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
53471 if test "x$ac_cv_func_modfl" = xyes; then :
53472 cat >>confdefs.h <<_ACEOF
53473 #define HAVE_MODFL 1
53474 _ACEOF
53477 done
53479 else
53481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
53482 $as_echo_n "checking for _modfl declaration... " >&6; }
53483 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
53484 if ${glibcxx_cv_func__modfl_use+:} false; then :
53485 $as_echo_n "(cached) " >&6
53486 else
53489 ac_ext=cpp
53490 ac_cpp='$CXXCPP $CPPFLAGS'
53491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53496 /* end confdefs.h. */
53497 #include <math.h>
53499 main ()
53501 _modfl(0, 0);
53503 return 0;
53505 _ACEOF
53506 if ac_fn_cxx_try_compile "$LINENO"; then :
53507 glibcxx_cv_func__modfl_use=yes
53508 else
53509 glibcxx_cv_func__modfl_use=no
53511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53512 ac_ext=c
53513 ac_cpp='$CPP $CPPFLAGS'
53514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
53523 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
53525 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
53526 for ac_func in _modfl
53527 do :
53528 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
53529 if test "x$ac_cv_func__modfl" = xyes; then :
53530 cat >>confdefs.h <<_ACEOF
53531 #define HAVE__MODFL 1
53532 _ACEOF
53535 done
53544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
53545 $as_echo_n "checking for powl declaration... " >&6; }
53546 if test x${glibcxx_cv_func_powl_use+set} != xset; then
53547 if ${glibcxx_cv_func_powl_use+:} false; then :
53548 $as_echo_n "(cached) " >&6
53549 else
53552 ac_ext=cpp
53553 ac_cpp='$CXXCPP $CPPFLAGS'
53554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53559 /* end confdefs.h. */
53560 #include <math.h>
53562 main ()
53564 powl(0, 0);
53566 return 0;
53568 _ACEOF
53569 if ac_fn_cxx_try_compile "$LINENO"; then :
53570 glibcxx_cv_func_powl_use=yes
53571 else
53572 glibcxx_cv_func_powl_use=no
53574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53575 ac_ext=c
53576 ac_cpp='$CPP $CPPFLAGS'
53577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
53586 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
53588 if test x$glibcxx_cv_func_powl_use = x"yes"; then
53589 for ac_func in powl
53590 do :
53591 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
53592 if test "x$ac_cv_func_powl" = xyes; then :
53593 cat >>confdefs.h <<_ACEOF
53594 #define HAVE_POWL 1
53595 _ACEOF
53598 done
53600 else
53602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
53603 $as_echo_n "checking for _powl declaration... " >&6; }
53604 if test x${glibcxx_cv_func__powl_use+set} != xset; then
53605 if ${glibcxx_cv_func__powl_use+:} false; then :
53606 $as_echo_n "(cached) " >&6
53607 else
53610 ac_ext=cpp
53611 ac_cpp='$CXXCPP $CPPFLAGS'
53612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53617 /* end confdefs.h. */
53618 #include <math.h>
53620 main ()
53622 _powl(0, 0);
53624 return 0;
53626 _ACEOF
53627 if ac_fn_cxx_try_compile "$LINENO"; then :
53628 glibcxx_cv_func__powl_use=yes
53629 else
53630 glibcxx_cv_func__powl_use=no
53632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53633 ac_ext=c
53634 ac_cpp='$CPP $CPPFLAGS'
53635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
53644 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
53646 if test x$glibcxx_cv_func__powl_use = x"yes"; then
53647 for ac_func in _powl
53648 do :
53649 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
53650 if test "x$ac_cv_func__powl" = xyes; then :
53651 cat >>confdefs.h <<_ACEOF
53652 #define HAVE__POWL 1
53653 _ACEOF
53656 done
53665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
53666 $as_echo_n "checking for sqrtl declaration... " >&6; }
53667 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
53668 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
53669 $as_echo_n "(cached) " >&6
53670 else
53673 ac_ext=cpp
53674 ac_cpp='$CXXCPP $CPPFLAGS'
53675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53680 /* end confdefs.h. */
53681 #include <math.h>
53682 #ifdef HAVE_IEEEFP_H
53683 #include <ieeefp.h>
53684 #endif
53687 main ()
53689 sqrtl(0);
53691 return 0;
53693 _ACEOF
53694 if ac_fn_cxx_try_compile "$LINENO"; then :
53695 glibcxx_cv_func_sqrtl_use=yes
53696 else
53697 glibcxx_cv_func_sqrtl_use=no
53699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53700 ac_ext=c
53701 ac_cpp='$CPP $CPPFLAGS'
53702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
53711 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
53713 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
53714 for ac_func in sqrtl
53715 do :
53716 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
53717 if test "x$ac_cv_func_sqrtl" = xyes; then :
53718 cat >>confdefs.h <<_ACEOF
53719 #define HAVE_SQRTL 1
53720 _ACEOF
53723 done
53725 else
53727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
53728 $as_echo_n "checking for _sqrtl declaration... " >&6; }
53729 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
53730 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
53731 $as_echo_n "(cached) " >&6
53732 else
53735 ac_ext=cpp
53736 ac_cpp='$CXXCPP $CPPFLAGS'
53737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53742 /* end confdefs.h. */
53743 #include <math.h>
53744 #ifdef HAVE_IEEEFP_H
53745 #include <ieeefp.h>
53746 #endif
53749 main ()
53751 _sqrtl(0);
53753 return 0;
53755 _ACEOF
53756 if ac_fn_cxx_try_compile "$LINENO"; then :
53757 glibcxx_cv_func__sqrtl_use=yes
53758 else
53759 glibcxx_cv_func__sqrtl_use=no
53761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53762 ac_ext=c
53763 ac_cpp='$CPP $CPPFLAGS'
53764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
53773 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
53775 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
53776 for ac_func in _sqrtl
53777 do :
53778 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
53779 if test "x$ac_cv_func__sqrtl" = xyes; then :
53780 cat >>confdefs.h <<_ACEOF
53781 #define HAVE__SQRTL 1
53782 _ACEOF
53785 done
53794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
53795 $as_echo_n "checking for sincosl declaration... " >&6; }
53796 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
53797 if ${glibcxx_cv_func_sincosl_use+:} false; then :
53798 $as_echo_n "(cached) " >&6
53799 else
53802 ac_ext=cpp
53803 ac_cpp='$CXXCPP $CPPFLAGS'
53804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53809 /* end confdefs.h. */
53810 #include <math.h>
53812 main ()
53814 sincosl(0, 0, 0);
53816 return 0;
53818 _ACEOF
53819 if ac_fn_cxx_try_compile "$LINENO"; then :
53820 glibcxx_cv_func_sincosl_use=yes
53821 else
53822 glibcxx_cv_func_sincosl_use=no
53824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53825 ac_ext=c
53826 ac_cpp='$CPP $CPPFLAGS'
53827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
53836 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
53838 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
53839 for ac_func in sincosl
53840 do :
53841 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
53842 if test "x$ac_cv_func_sincosl" = xyes; then :
53843 cat >>confdefs.h <<_ACEOF
53844 #define HAVE_SINCOSL 1
53845 _ACEOF
53848 done
53850 else
53852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
53853 $as_echo_n "checking for _sincosl declaration... " >&6; }
53854 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
53855 if ${glibcxx_cv_func__sincosl_use+:} false; then :
53856 $as_echo_n "(cached) " >&6
53857 else
53860 ac_ext=cpp
53861 ac_cpp='$CXXCPP $CPPFLAGS'
53862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53867 /* end confdefs.h. */
53868 #include <math.h>
53870 main ()
53872 _sincosl(0, 0, 0);
53874 return 0;
53876 _ACEOF
53877 if ac_fn_cxx_try_compile "$LINENO"; then :
53878 glibcxx_cv_func__sincosl_use=yes
53879 else
53880 glibcxx_cv_func__sincosl_use=no
53882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53883 ac_ext=c
53884 ac_cpp='$CPP $CPPFLAGS'
53885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
53894 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
53896 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
53897 for ac_func in _sincosl
53898 do :
53899 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
53900 if test "x$ac_cv_func__sincosl" = xyes; then :
53901 cat >>confdefs.h <<_ACEOF
53902 #define HAVE__SINCOSL 1
53903 _ACEOF
53906 done
53915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
53916 $as_echo_n "checking for finitel declaration... " >&6; }
53917 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
53918 if ${glibcxx_cv_func_finitel_use+:} false; then :
53919 $as_echo_n "(cached) " >&6
53920 else
53923 ac_ext=cpp
53924 ac_cpp='$CXXCPP $CPPFLAGS'
53925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53930 /* end confdefs.h. */
53931 #include <math.h>
53932 #ifdef HAVE_IEEEFP_H
53933 #include <ieeefp.h>
53934 #endif
53937 main ()
53939 finitel(0);
53941 return 0;
53943 _ACEOF
53944 if ac_fn_cxx_try_compile "$LINENO"; then :
53945 glibcxx_cv_func_finitel_use=yes
53946 else
53947 glibcxx_cv_func_finitel_use=no
53949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53950 ac_ext=c
53951 ac_cpp='$CPP $CPPFLAGS'
53952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
53961 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
53963 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
53964 for ac_func in finitel
53965 do :
53966 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
53967 if test "x$ac_cv_func_finitel" = xyes; then :
53968 cat >>confdefs.h <<_ACEOF
53969 #define HAVE_FINITEL 1
53970 _ACEOF
53973 done
53975 else
53977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
53978 $as_echo_n "checking for _finitel declaration... " >&6; }
53979 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
53980 if ${glibcxx_cv_func__finitel_use+:} false; then :
53981 $as_echo_n "(cached) " >&6
53982 else
53985 ac_ext=cpp
53986 ac_cpp='$CXXCPP $CPPFLAGS'
53987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53992 /* end confdefs.h. */
53993 #include <math.h>
53994 #ifdef HAVE_IEEEFP_H
53995 #include <ieeefp.h>
53996 #endif
53999 main ()
54001 _finitel(0);
54003 return 0;
54005 _ACEOF
54006 if ac_fn_cxx_try_compile "$LINENO"; then :
54007 glibcxx_cv_func__finitel_use=yes
54008 else
54009 glibcxx_cv_func__finitel_use=no
54011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54012 ac_ext=c
54013 ac_cpp='$CPP $CPPFLAGS'
54014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
54023 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
54025 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
54026 for ac_func in _finitel
54027 do :
54028 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
54029 if test "x$ac_cv_func__finitel" = xyes; then :
54030 cat >>confdefs.h <<_ACEOF
54031 #define HAVE__FINITEL 1
54032 _ACEOF
54035 done
54043 LIBS="$ac_save_LIBS"
54044 CXXFLAGS="$ac_save_CXXFLAGS"
54047 ac_test_CXXFLAGS="${CXXFLAGS+set}"
54048 ac_save_CXXFLAGS="$CXXFLAGS"
54049 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
54053 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
54054 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
54055 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
54056 $as_echo_n "(cached) " >&6
54057 else
54060 ac_ext=cpp
54061 ac_cpp='$CXXCPP $CPPFLAGS'
54062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54067 /* end confdefs.h. */
54068 #include <stdlib.h>
54070 main ()
54072 at_quick_exit(0);
54074 return 0;
54076 _ACEOF
54077 if ac_fn_cxx_try_compile "$LINENO"; then :
54078 glibcxx_cv_func_at_quick_exit_use=yes
54079 else
54080 glibcxx_cv_func_at_quick_exit_use=no
54082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54083 ac_ext=c
54084 ac_cpp='$CPP $CPPFLAGS'
54085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
54094 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
54095 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
54096 for ac_func in at_quick_exit
54097 do :
54098 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
54099 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
54100 cat >>confdefs.h <<_ACEOF
54101 #define HAVE_AT_QUICK_EXIT 1
54102 _ACEOF
54105 done
54110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
54111 $as_echo_n "checking for quick_exit declaration... " >&6; }
54112 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
54113 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
54114 $as_echo_n "(cached) " >&6
54115 else
54118 ac_ext=cpp
54119 ac_cpp='$CXXCPP $CPPFLAGS'
54120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54125 /* end confdefs.h. */
54126 #include <stdlib.h>
54128 main ()
54130 quick_exit(0);
54132 return 0;
54134 _ACEOF
54135 if ac_fn_cxx_try_compile "$LINENO"; then :
54136 glibcxx_cv_func_quick_exit_use=yes
54137 else
54138 glibcxx_cv_func_quick_exit_use=no
54140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54141 ac_ext=c
54142 ac_cpp='$CPP $CPPFLAGS'
54143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
54152 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
54153 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
54154 for ac_func in quick_exit
54155 do :
54156 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
54157 if test "x$ac_cv_func_quick_exit" = xyes; then :
54158 cat >>confdefs.h <<_ACEOF
54159 #define HAVE_QUICK_EXIT 1
54160 _ACEOF
54163 done
54168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
54169 $as_echo_n "checking for strtold declaration... " >&6; }
54170 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
54171 if ${glibcxx_cv_func_strtold_use+:} false; then :
54172 $as_echo_n "(cached) " >&6
54173 else
54176 ac_ext=cpp
54177 ac_cpp='$CXXCPP $CPPFLAGS'
54178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54183 /* end confdefs.h. */
54184 #include <stdlib.h>
54186 main ()
54188 strtold(0, 0);
54190 return 0;
54192 _ACEOF
54193 if ac_fn_cxx_try_compile "$LINENO"; then :
54194 glibcxx_cv_func_strtold_use=yes
54195 else
54196 glibcxx_cv_func_strtold_use=no
54198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54199 ac_ext=c
54200 ac_cpp='$CPP $CPPFLAGS'
54201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
54210 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
54211 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
54212 for ac_func in strtold
54213 do :
54214 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
54215 if test "x$ac_cv_func_strtold" = xyes; then :
54216 cat >>confdefs.h <<_ACEOF
54217 #define HAVE_STRTOLD 1
54218 _ACEOF
54221 done
54228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
54229 $as_echo_n "checking for strtof declaration... " >&6; }
54230 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
54231 if ${glibcxx_cv_func_strtof_use+:} false; then :
54232 $as_echo_n "(cached) " >&6
54233 else
54236 ac_ext=cpp
54237 ac_cpp='$CXXCPP $CPPFLAGS'
54238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54243 /* end confdefs.h. */
54244 #include <stdlib.h>
54246 main ()
54248 strtof(0, 0);
54250 return 0;
54252 _ACEOF
54253 if ac_fn_cxx_try_compile "$LINENO"; then :
54254 glibcxx_cv_func_strtof_use=yes
54255 else
54256 glibcxx_cv_func_strtof_use=no
54258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54259 ac_ext=c
54260 ac_cpp='$CPP $CPPFLAGS'
54261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
54270 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
54271 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
54272 for ac_func in strtof
54273 do :
54274 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
54275 if test "x$ac_cv_func_strtof" = xyes; then :
54276 cat >>confdefs.h <<_ACEOF
54277 #define HAVE_STRTOF 1
54278 _ACEOF
54281 done
54288 CXXFLAGS="$ac_save_CXXFLAGS"
54290 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
54292 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
54296 # Check whether --enable-tls was given.
54297 if test "${enable_tls+set}" = set; then :
54298 enableval=$enable_tls;
54299 case "$enableval" in
54300 yes|no) ;;
54301 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
54302 esac
54304 else
54305 enable_tls=yes
54309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
54310 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
54311 if ${gcc_cv_have_tls+:} false; then :
54312 $as_echo_n "(cached) " >&6
54313 else
54315 if test "$cross_compiling" = yes; then :
54316 if test x$gcc_no_link = xyes; then
54317 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54320 /* end confdefs.h. */
54321 __thread int a; int b; int main() { return a = b; }
54322 _ACEOF
54323 if ac_fn_c_try_link "$LINENO"; then :
54324 chktls_save_LDFLAGS="$LDFLAGS"
54325 case $host in
54326 *-*-linux* | -*-uclinuxfdpic*)
54327 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
54329 esac
54330 chktls_save_CFLAGS="$CFLAGS"
54331 CFLAGS="-fPIC $CFLAGS"
54332 if test x$gcc_no_link = xyes; then
54333 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54336 /* end confdefs.h. */
54337 int f() { return 0; }
54338 _ACEOF
54339 if ac_fn_c_try_link "$LINENO"; then :
54340 if test x$gcc_no_link = xyes; then
54341 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54344 /* end confdefs.h. */
54345 __thread int a; int b; int f() { return a = b; }
54346 _ACEOF
54347 if ac_fn_c_try_link "$LINENO"; then :
54348 gcc_cv_have_tls=yes
54349 else
54350 gcc_cv_have_tls=no
54352 rm -f core conftest.err conftest.$ac_objext \
54353 conftest$ac_exeext conftest.$ac_ext
54354 else
54355 gcc_cv_have_tls=yes
54357 rm -f core conftest.err conftest.$ac_objext \
54358 conftest$ac_exeext conftest.$ac_ext
54359 CFLAGS="$chktls_save_CFLAGS"
54360 LDFLAGS="$chktls_save_LDFLAGS"
54361 else
54362 gcc_cv_have_tls=no
54364 rm -f core conftest.err conftest.$ac_objext \
54365 conftest$ac_exeext conftest.$ac_ext
54368 else
54369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54370 /* end confdefs.h. */
54371 __thread int a; int b; int main() { return a = b; }
54372 _ACEOF
54373 if ac_fn_c_try_run "$LINENO"; then :
54374 chktls_save_LDFLAGS="$LDFLAGS"
54375 LDFLAGS="-static $LDFLAGS"
54376 if test x$gcc_no_link = xyes; then
54377 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54380 /* end confdefs.h. */
54381 int main() { return 0; }
54382 _ACEOF
54383 if ac_fn_c_try_link "$LINENO"; then :
54384 if test "$cross_compiling" = yes; then :
54385 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
54386 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
54387 as_fn_error $? "cannot run test program while cross compiling
54388 See \`config.log' for more details" "$LINENO" 5; }
54389 else
54390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54391 /* end confdefs.h. */
54392 __thread int a; int b; int main() { return a = b; }
54393 _ACEOF
54394 if ac_fn_c_try_run "$LINENO"; then :
54395 gcc_cv_have_tls=yes
54396 else
54397 gcc_cv_have_tls=no
54399 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54400 conftest.$ac_objext conftest.beam conftest.$ac_ext
54403 else
54404 gcc_cv_have_tls=yes
54406 rm -f core conftest.err conftest.$ac_objext \
54407 conftest$ac_exeext conftest.$ac_ext
54408 LDFLAGS="$chktls_save_LDFLAGS"
54409 if test $gcc_cv_have_tls = yes; then
54410 chktls_save_CFLAGS="$CFLAGS"
54411 thread_CFLAGS=failed
54412 for flag in '' '-pthread' '-lpthread'; do
54413 CFLAGS="$flag $chktls_save_CFLAGS"
54414 if test x$gcc_no_link = xyes; then
54415 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54418 /* end confdefs.h. */
54419 #include <pthread.h>
54420 void *g(void *d) { return NULL; }
54422 main ()
54424 pthread_t t; pthread_create(&t,NULL,g,NULL);
54426 return 0;
54428 _ACEOF
54429 if ac_fn_c_try_link "$LINENO"; then :
54430 thread_CFLAGS="$flag"
54432 rm -f core conftest.err conftest.$ac_objext \
54433 conftest$ac_exeext conftest.$ac_ext
54434 if test "X$thread_CFLAGS" != Xfailed; then
54435 break
54437 done
54438 CFLAGS="$chktls_save_CFLAGS"
54439 if test "X$thread_CFLAGS" != Xfailed; then
54440 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
54441 if test "$cross_compiling" = yes; then :
54442 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
54443 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
54444 as_fn_error $? "cannot run test program while cross compiling
54445 See \`config.log' for more details" "$LINENO" 5; }
54446 else
54447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54448 /* end confdefs.h. */
54449 #include <pthread.h>
54450 __thread int a;
54451 static int *volatile a_in_other_thread;
54452 static void *
54453 thread_func (void *arg)
54455 a_in_other_thread = &a;
54456 return (void *)0;
54459 main ()
54461 pthread_t thread;
54462 void *thread_retval;
54463 int *volatile a_in_main_thread;
54464 a_in_main_thread = &a;
54465 if (pthread_create (&thread, (pthread_attr_t *)0,
54466 thread_func, (void *)0))
54467 return 0;
54468 if (pthread_join (thread, &thread_retval))
54469 return 0;
54470 return (a_in_other_thread == a_in_main_thread);
54472 return 0;
54474 _ACEOF
54475 if ac_fn_c_try_run "$LINENO"; then :
54476 gcc_cv_have_tls=yes
54477 else
54478 gcc_cv_have_tls=no
54480 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54481 conftest.$ac_objext conftest.beam conftest.$ac_ext
54484 CFLAGS="$chktls_save_CFLAGS"
54487 else
54488 gcc_cv_have_tls=no
54490 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54491 conftest.$ac_objext conftest.beam conftest.$ac_ext
54495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
54496 $as_echo "$gcc_cv_have_tls" >&6; }
54497 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
54499 $as_echo "#define HAVE_TLS 1" >>confdefs.h
54502 for ac_func in __cxa_thread_atexit_impl
54503 do :
54504 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
54505 if test "x$ac_cv_func___cxa_thread_atexit_impl" = xyes; then :
54506 cat >>confdefs.h <<_ACEOF
54507 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
54508 _ACEOF
54511 done
54513 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
54514 do :
54515 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54516 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54517 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
54518 cat >>confdefs.h <<_ACEOF
54519 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54520 _ACEOF
54523 done
54525 for ac_func in timespec_get
54526 do :
54527 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
54528 if test "x$ac_cv_func_timespec_get" = xyes; then :
54529 cat >>confdefs.h <<_ACEOF
54530 #define HAVE_TIMESPEC_GET 1
54531 _ACEOF
54534 done
54536 for ac_func in sockatmark
54537 do :
54538 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
54539 if test "x$ac_cv_func_sockatmark" = xyes; then :
54540 cat >>confdefs.h <<_ACEOF
54541 #define HAVE_SOCKATMARK 1
54542 _ACEOF
54545 done
54547 for ac_func in uselocale
54548 do :
54549 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
54550 if test "x$ac_cv_func_uselocale" = xyes; then :
54551 cat >>confdefs.h <<_ACEOF
54552 #define HAVE_USELOCALE 1
54553 _ACEOF
54556 done
54558 for ac_func in secure_getenv
54559 do :
54560 ac_fn_c_check_func "$LINENO" "secure_getenv" "ac_cv_func_secure_getenv"
54561 if test "x$ac_cv_func_secure_getenv" = xyes; then :
54562 cat >>confdefs.h <<_ACEOF
54563 #define HAVE_SECURE_GETENV 1
54564 _ACEOF
54567 done
54574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
54575 $as_echo_n "checking for iconv... " >&6; }
54576 if ${am_cv_func_iconv+:} false; then :
54577 $as_echo_n "(cached) " >&6
54578 else
54580 am_cv_func_iconv="no, consider installing GNU libiconv"
54581 am_cv_lib_iconv=no
54582 am_save_CPPFLAGS="$CPPFLAGS"
54583 CPPFLAGS="$CPPFLAGS $INCICONV"
54584 if test x$gcc_no_link = xyes; then
54585 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54588 /* end confdefs.h. */
54589 #include <stdlib.h>
54590 #include <iconv.h>
54592 main ()
54594 iconv_t cd = iconv_open("","");
54595 iconv(cd,NULL,NULL,NULL,NULL);
54596 iconv_close(cd);
54598 return 0;
54600 _ACEOF
54601 if ac_fn_c_try_link "$LINENO"; then :
54602 am_cv_func_iconv=yes
54604 rm -f core conftest.err conftest.$ac_objext \
54605 conftest$ac_exeext conftest.$ac_ext
54606 CPPFLAGS="$am_save_CPPFLAGS"
54608 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
54609 for _libs in .libs _libs; do
54610 am_save_CPPFLAGS="$CPPFLAGS"
54611 am_save_LIBS="$LIBS"
54612 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
54613 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
54614 if test x$gcc_no_link = xyes; then
54615 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54618 /* end confdefs.h. */
54619 #include <stdlib.h>
54620 #include <iconv.h>
54622 main ()
54624 iconv_t cd = iconv_open("","");
54625 iconv(cd,NULL,NULL,NULL,NULL);
54626 iconv_close(cd);
54628 return 0;
54630 _ACEOF
54631 if ac_fn_c_try_link "$LINENO"; then :
54632 INCICONV="-I../libiconv/include"
54633 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
54634 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
54635 am_cv_lib_iconv=yes
54636 am_cv_func_iconv=yes
54638 rm -f core conftest.err conftest.$ac_objext \
54639 conftest$ac_exeext conftest.$ac_ext
54640 CPPFLAGS="$am_save_CPPFLAGS"
54641 LIBS="$am_save_LIBS"
54642 if test "$am_cv_func_iconv" = "yes"; then
54643 break
54645 done
54648 if test "$am_cv_func_iconv" != yes; then
54649 am_save_CPPFLAGS="$CPPFLAGS"
54650 am_save_LIBS="$LIBS"
54651 CPPFLAGS="$CPPFLAGS $INCICONV"
54652 LIBS="$LIBS $LIBICONV"
54653 if test x$gcc_no_link = xyes; then
54654 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54657 /* end confdefs.h. */
54658 #include <stdlib.h>
54659 #include <iconv.h>
54661 main ()
54663 iconv_t cd = iconv_open("","");
54664 iconv(cd,NULL,NULL,NULL,NULL);
54665 iconv_close(cd);
54667 return 0;
54669 _ACEOF
54670 if ac_fn_c_try_link "$LINENO"; then :
54671 am_cv_lib_iconv=yes
54672 am_cv_func_iconv=yes
54674 rm -f core conftest.err conftest.$ac_objext \
54675 conftest$ac_exeext conftest.$ac_ext
54676 CPPFLAGS="$am_save_CPPFLAGS"
54677 LIBS="$am_save_LIBS"
54681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
54682 $as_echo "$am_cv_func_iconv" >&6; }
54683 if test "$am_cv_func_iconv" = yes; then
54685 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
54688 if test "$am_cv_lib_iconv" = yes; then
54690 for element in $INCICONV; do
54691 haveit=
54692 for x in $CPPFLAGS; do
54694 acl_save_prefix="$prefix"
54695 prefix="$acl_final_prefix"
54696 acl_save_exec_prefix="$exec_prefix"
54697 exec_prefix="$acl_final_exec_prefix"
54698 eval x=\"$x\"
54699 exec_prefix="$acl_save_exec_prefix"
54700 prefix="$acl_save_prefix"
54702 if test "X$x" = "X$element"; then
54703 haveit=yes
54704 break
54706 done
54707 if test -z "$haveit"; then
54708 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
54710 done
54712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
54713 $as_echo_n "checking how to link with libiconv... " >&6; }
54714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
54715 $as_echo "$LIBICONV" >&6; }
54716 else
54717 LIBICONV=
54718 LTLIBICONV=
54723 if test "$am_cv_func_iconv" = yes; then
54724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
54725 $as_echo_n "checking for iconv declaration... " >&6; }
54726 if ${am_cv_proto_iconv+:} false; then :
54727 $as_echo_n "(cached) " >&6
54728 else
54730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54731 /* end confdefs.h. */
54733 #include <stdlib.h>
54734 #include <iconv.h>
54735 extern
54736 #ifdef __cplusplus
54738 #endif
54739 #if defined(__STDC__) || defined(__cplusplus)
54740 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
54741 #else
54742 size_t iconv();
54743 #endif
54746 main ()
54750 return 0;
54752 _ACEOF
54753 if ac_fn_c_try_compile "$LINENO"; then :
54754 am_cv_proto_iconv_arg1=""
54755 else
54756 am_cv_proto_iconv_arg1="const"
54758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54759 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);"
54762 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
54763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
54764 }$am_cv_proto_iconv" >&5
54765 $as_echo "${ac_t:-
54766 }$am_cv_proto_iconv" >&6; }
54768 cat >>confdefs.h <<_ACEOF
54769 #define ICONV_CONST $am_cv_proto_iconv_arg1
54770 _ACEOF
54775 *-mingw32*)
54777 # If we're not using GNU ld, then there's no point in even trying these
54778 # tests. Check for that first. We should have already tested for gld
54779 # by now (in libtool), but require it now just to be safe...
54780 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54781 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54785 # The name set by libtool depends on the version of libtool. Shame on us
54786 # for depending on an impl detail, but c'est la vie. Older versions used
54787 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54788 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54789 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
54790 # set (hence we're using an older libtool), then set it.
54791 if test x${with_gnu_ld+set} != xset; then
54792 if test x${ac_cv_prog_gnu_ld+set} != xset; then
54793 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
54794 with_gnu_ld=no
54795 else
54796 with_gnu_ld=$ac_cv_prog_gnu_ld
54800 # Start by getting the version number. I think the libtool test already
54801 # does some of this, but throws away the result.
54802 glibcxx_ld_is_gold=no
54803 glibcxx_ld_is_mold=no
54804 if test x"$with_gnu_ld" = x"yes"; then
54805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
54806 $as_echo_n "checking for ld version... " >&6; }
54808 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
54809 glibcxx_ld_is_gold=yes
54810 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
54811 glibcxx_ld_is_mold=yes
54813 ldver=`$LD --version 2>/dev/null |
54814 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
54816 glibcxx_gnu_ld_version=`echo $ldver | \
54817 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
54819 $as_echo "$glibcxx_gnu_ld_version" >&6; }
54822 # Set --gc-sections.
54823 glibcxx_have_gc_sections=no
54824 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
54825 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
54826 glibcxx_have_gc_sections=yes
54828 else
54829 glibcxx_gcsections_min_ld=21602
54830 if test x"$with_gnu_ld" = x"yes" &&
54831 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
54832 glibcxx_have_gc_sections=yes
54835 if test "$glibcxx_have_gc_sections" = "yes"; then
54836 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
54837 # NB: This flag only works reliably after 2.16.1. Configure tests
54838 # for this are difficult, so hard wire a value that should work.
54840 ac_test_CFLAGS="${CFLAGS+set}"
54841 ac_save_CFLAGS="$CFLAGS"
54842 CFLAGS='-Wl,--gc-sections'
54844 # Check for -Wl,--gc-sections
54845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
54846 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
54847 if test x$gcc_no_link = xyes; then
54848 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54851 /* end confdefs.h. */
54852 int one(void) { return 1; }
54853 int two(void) { return 2; }
54856 main ()
54858 two();
54860 return 0;
54862 _ACEOF
54863 if ac_fn_c_try_link "$LINENO"; then :
54864 ac_gcsections=yes
54865 else
54866 ac_gcsections=no
54868 rm -f core conftest.err conftest.$ac_objext \
54869 conftest$ac_exeext conftest.$ac_ext
54870 if test "$ac_gcsections" = "yes"; then
54871 rm -f conftest.c
54872 touch conftest.c
54873 if $CC -c conftest.c; then
54874 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
54875 grep "Warning: gc-sections option ignored" > /dev/null; then
54876 ac_gcsections=no
54879 rm -f conftest.c conftest.o conftest
54881 if test "$ac_gcsections" = "yes"; then
54882 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
54885 $as_echo "$ac_gcsections" >&6; }
54887 if test "$ac_test_CFLAGS" = set; then
54888 CFLAGS="$ac_save_CFLAGS"
54889 else
54890 # this is the suspicious part
54891 CFLAGS=''
54895 # Set -z,relro.
54896 # Note this is only for shared objects.
54897 ac_ld_relro=no
54898 if test x"$with_gnu_ld" = x"yes"; then
54899 # cygwin and mingw uses PE, which has no ELF relro support,
54900 # multi target ld may confuse configure machinery
54901 case "$host" in
54902 *-*-cygwin*)
54904 *-*-mingw*)
54907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
54908 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
54909 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
54910 if test -n "$cxx_z_relo"; then
54911 OPT_LDFLAGS="-Wl,-z,relro"
54912 ac_ld_relro=yes
54914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
54915 $as_echo "$ac_ld_relro" >&6; }
54916 esac
54919 # Set linker optimization flags.
54920 if test x"$with_gnu_ld" = x"yes"; then
54921 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54928 ac_test_CXXFLAGS="${CXXFLAGS+set}"
54929 ac_save_CXXFLAGS="$CXXFLAGS"
54930 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
54933 $as_echo_n "checking for sin in -lm... " >&6; }
54934 if ${ac_cv_lib_m_sin+:} false; then :
54935 $as_echo_n "(cached) " >&6
54936 else
54937 ac_check_lib_save_LIBS=$LIBS
54938 LIBS="-lm $LIBS"
54939 if test x$gcc_no_link = xyes; then
54940 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54943 /* end confdefs.h. */
54945 /* Override any GCC internal prototype to avoid an error.
54946 Use char because int might match the return type of a GCC
54947 builtin and then its argument prototype would still apply. */
54948 #ifdef __cplusplus
54949 extern "C"
54950 #endif
54951 char sin ();
54953 main ()
54955 return sin ();
54957 return 0;
54959 _ACEOF
54960 if ac_fn_c_try_link "$LINENO"; then :
54961 ac_cv_lib_m_sin=yes
54962 else
54963 ac_cv_lib_m_sin=no
54965 rm -f core conftest.err conftest.$ac_objext \
54966 conftest$ac_exeext conftest.$ac_ext
54967 LIBS=$ac_check_lib_save_LIBS
54969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
54970 $as_echo "$ac_cv_lib_m_sin" >&6; }
54971 if test "x$ac_cv_lib_m_sin" = xyes; then :
54972 libm="-lm"
54975 ac_save_LIBS="$LIBS"
54976 LIBS="$LIBS $libm"
54980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
54981 $as_echo_n "checking for isinf declaration... " >&6; }
54982 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54983 if ${glibcxx_cv_func_isinf_use+:} false; then :
54984 $as_echo_n "(cached) " >&6
54985 else
54988 ac_ext=cpp
54989 ac_cpp='$CXXCPP $CPPFLAGS'
54990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54995 /* end confdefs.h. */
54996 #include <math.h>
54997 #ifdef HAVE_IEEEFP_H
54998 #include <ieeefp.h>
54999 #endif
55002 main ()
55004 isinf(0);
55006 return 0;
55008 _ACEOF
55009 if ac_fn_cxx_try_compile "$LINENO"; then :
55010 glibcxx_cv_func_isinf_use=yes
55011 else
55012 glibcxx_cv_func_isinf_use=no
55014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55015 ac_ext=c
55016 ac_cpp='$CPP $CPPFLAGS'
55017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
55026 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
55028 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
55029 for ac_func in isinf
55030 do :
55031 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
55032 if test "x$ac_cv_func_isinf" = xyes; then :
55033 cat >>confdefs.h <<_ACEOF
55034 #define HAVE_ISINF 1
55035 _ACEOF
55038 done
55040 else
55042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
55043 $as_echo_n "checking for _isinf declaration... " >&6; }
55044 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
55045 if ${glibcxx_cv_func__isinf_use+:} false; then :
55046 $as_echo_n "(cached) " >&6
55047 else
55050 ac_ext=cpp
55051 ac_cpp='$CXXCPP $CPPFLAGS'
55052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55057 /* end confdefs.h. */
55058 #include <math.h>
55059 #ifdef HAVE_IEEEFP_H
55060 #include <ieeefp.h>
55061 #endif
55064 main ()
55066 _isinf(0);
55068 return 0;
55070 _ACEOF
55071 if ac_fn_cxx_try_compile "$LINENO"; then :
55072 glibcxx_cv_func__isinf_use=yes
55073 else
55074 glibcxx_cv_func__isinf_use=no
55076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55077 ac_ext=c
55078 ac_cpp='$CPP $CPPFLAGS'
55079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
55088 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
55090 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
55091 for ac_func in _isinf
55092 do :
55093 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
55094 if test "x$ac_cv_func__isinf" = xyes; then :
55095 cat >>confdefs.h <<_ACEOF
55096 #define HAVE__ISINF 1
55097 _ACEOF
55100 done
55109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
55110 $as_echo_n "checking for isnan declaration... " >&6; }
55111 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
55112 if ${glibcxx_cv_func_isnan_use+:} false; then :
55113 $as_echo_n "(cached) " >&6
55114 else
55117 ac_ext=cpp
55118 ac_cpp='$CXXCPP $CPPFLAGS'
55119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55124 /* end confdefs.h. */
55125 #include <math.h>
55126 #ifdef HAVE_IEEEFP_H
55127 #include <ieeefp.h>
55128 #endif
55131 main ()
55133 isnan(0);
55135 return 0;
55137 _ACEOF
55138 if ac_fn_cxx_try_compile "$LINENO"; then :
55139 glibcxx_cv_func_isnan_use=yes
55140 else
55141 glibcxx_cv_func_isnan_use=no
55143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55144 ac_ext=c
55145 ac_cpp='$CPP $CPPFLAGS'
55146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
55155 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
55157 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
55158 for ac_func in isnan
55159 do :
55160 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
55161 if test "x$ac_cv_func_isnan" = xyes; then :
55162 cat >>confdefs.h <<_ACEOF
55163 #define HAVE_ISNAN 1
55164 _ACEOF
55167 done
55169 else
55171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
55172 $as_echo_n "checking for _isnan declaration... " >&6; }
55173 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
55174 if ${glibcxx_cv_func__isnan_use+:} false; then :
55175 $as_echo_n "(cached) " >&6
55176 else
55179 ac_ext=cpp
55180 ac_cpp='$CXXCPP $CPPFLAGS'
55181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55186 /* end confdefs.h. */
55187 #include <math.h>
55188 #ifdef HAVE_IEEEFP_H
55189 #include <ieeefp.h>
55190 #endif
55193 main ()
55195 _isnan(0);
55197 return 0;
55199 _ACEOF
55200 if ac_fn_cxx_try_compile "$LINENO"; then :
55201 glibcxx_cv_func__isnan_use=yes
55202 else
55203 glibcxx_cv_func__isnan_use=no
55205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55206 ac_ext=c
55207 ac_cpp='$CPP $CPPFLAGS'
55208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
55217 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
55219 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
55220 for ac_func in _isnan
55221 do :
55222 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
55223 if test "x$ac_cv_func__isnan" = xyes; then :
55224 cat >>confdefs.h <<_ACEOF
55225 #define HAVE__ISNAN 1
55226 _ACEOF
55229 done
55238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
55239 $as_echo_n "checking for finite declaration... " >&6; }
55240 if test x${glibcxx_cv_func_finite_use+set} != xset; then
55241 if ${glibcxx_cv_func_finite_use+:} false; then :
55242 $as_echo_n "(cached) " >&6
55243 else
55246 ac_ext=cpp
55247 ac_cpp='$CXXCPP $CPPFLAGS'
55248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55253 /* end confdefs.h. */
55254 #include <math.h>
55255 #ifdef HAVE_IEEEFP_H
55256 #include <ieeefp.h>
55257 #endif
55260 main ()
55262 finite(0);
55264 return 0;
55266 _ACEOF
55267 if ac_fn_cxx_try_compile "$LINENO"; then :
55268 glibcxx_cv_func_finite_use=yes
55269 else
55270 glibcxx_cv_func_finite_use=no
55272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55273 ac_ext=c
55274 ac_cpp='$CPP $CPPFLAGS'
55275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
55284 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
55286 if test x$glibcxx_cv_func_finite_use = x"yes"; then
55287 for ac_func in finite
55288 do :
55289 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
55290 if test "x$ac_cv_func_finite" = xyes; then :
55291 cat >>confdefs.h <<_ACEOF
55292 #define HAVE_FINITE 1
55293 _ACEOF
55296 done
55298 else
55300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
55301 $as_echo_n "checking for _finite declaration... " >&6; }
55302 if test x${glibcxx_cv_func__finite_use+set} != xset; then
55303 if ${glibcxx_cv_func__finite_use+:} false; then :
55304 $as_echo_n "(cached) " >&6
55305 else
55308 ac_ext=cpp
55309 ac_cpp='$CXXCPP $CPPFLAGS'
55310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55315 /* end confdefs.h. */
55316 #include <math.h>
55317 #ifdef HAVE_IEEEFP_H
55318 #include <ieeefp.h>
55319 #endif
55322 main ()
55324 _finite(0);
55326 return 0;
55328 _ACEOF
55329 if ac_fn_cxx_try_compile "$LINENO"; then :
55330 glibcxx_cv_func__finite_use=yes
55331 else
55332 glibcxx_cv_func__finite_use=no
55334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55335 ac_ext=c
55336 ac_cpp='$CPP $CPPFLAGS'
55337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
55346 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
55348 if test x$glibcxx_cv_func__finite_use = x"yes"; then
55349 for ac_func in _finite
55350 do :
55351 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
55352 if test "x$ac_cv_func__finite" = xyes; then :
55353 cat >>confdefs.h <<_ACEOF
55354 #define HAVE__FINITE 1
55355 _ACEOF
55358 done
55367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
55368 $as_echo_n "checking for sincos declaration... " >&6; }
55369 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
55370 if ${glibcxx_cv_func_sincos_use+:} false; then :
55371 $as_echo_n "(cached) " >&6
55372 else
55375 ac_ext=cpp
55376 ac_cpp='$CXXCPP $CPPFLAGS'
55377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55382 /* end confdefs.h. */
55383 #include <math.h>
55385 main ()
55387 sincos(0, 0, 0);
55389 return 0;
55391 _ACEOF
55392 if ac_fn_cxx_try_compile "$LINENO"; then :
55393 glibcxx_cv_func_sincos_use=yes
55394 else
55395 glibcxx_cv_func_sincos_use=no
55397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55398 ac_ext=c
55399 ac_cpp='$CPP $CPPFLAGS'
55400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
55409 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
55411 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
55412 for ac_func in sincos
55413 do :
55414 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
55415 if test "x$ac_cv_func_sincos" = xyes; then :
55416 cat >>confdefs.h <<_ACEOF
55417 #define HAVE_SINCOS 1
55418 _ACEOF
55421 done
55423 else
55425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
55426 $as_echo_n "checking for _sincos declaration... " >&6; }
55427 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
55428 if ${glibcxx_cv_func__sincos_use+:} false; then :
55429 $as_echo_n "(cached) " >&6
55430 else
55433 ac_ext=cpp
55434 ac_cpp='$CXXCPP $CPPFLAGS'
55435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55440 /* end confdefs.h. */
55441 #include <math.h>
55443 main ()
55445 _sincos(0, 0, 0);
55447 return 0;
55449 _ACEOF
55450 if ac_fn_cxx_try_compile "$LINENO"; then :
55451 glibcxx_cv_func__sincos_use=yes
55452 else
55453 glibcxx_cv_func__sincos_use=no
55455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55456 ac_ext=c
55457 ac_cpp='$CPP $CPPFLAGS'
55458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
55467 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
55469 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
55470 for ac_func in _sincos
55471 do :
55472 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
55473 if test "x$ac_cv_func__sincos" = xyes; then :
55474 cat >>confdefs.h <<_ACEOF
55475 #define HAVE__SINCOS 1
55476 _ACEOF
55479 done
55488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
55489 $as_echo_n "checking for fpclass declaration... " >&6; }
55490 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
55491 if ${glibcxx_cv_func_fpclass_use+:} false; then :
55492 $as_echo_n "(cached) " >&6
55493 else
55496 ac_ext=cpp
55497 ac_cpp='$CXXCPP $CPPFLAGS'
55498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55503 /* end confdefs.h. */
55504 #include <math.h>
55505 #ifdef HAVE_IEEEFP_H
55506 #include <ieeefp.h>
55507 #endif
55510 main ()
55512 fpclass(0);
55514 return 0;
55516 _ACEOF
55517 if ac_fn_cxx_try_compile "$LINENO"; then :
55518 glibcxx_cv_func_fpclass_use=yes
55519 else
55520 glibcxx_cv_func_fpclass_use=no
55522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55523 ac_ext=c
55524 ac_cpp='$CPP $CPPFLAGS'
55525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
55534 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
55536 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55537 for ac_func in fpclass
55538 do :
55539 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
55540 if test "x$ac_cv_func_fpclass" = xyes; then :
55541 cat >>confdefs.h <<_ACEOF
55542 #define HAVE_FPCLASS 1
55543 _ACEOF
55546 done
55548 else
55550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
55551 $as_echo_n "checking for _fpclass declaration... " >&6; }
55552 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55553 if ${glibcxx_cv_func__fpclass_use+:} false; then :
55554 $as_echo_n "(cached) " >&6
55555 else
55558 ac_ext=cpp
55559 ac_cpp='$CXXCPP $CPPFLAGS'
55560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55565 /* end confdefs.h. */
55566 #include <math.h>
55567 #ifdef HAVE_IEEEFP_H
55568 #include <ieeefp.h>
55569 #endif
55572 main ()
55574 _fpclass(0);
55576 return 0;
55578 _ACEOF
55579 if ac_fn_cxx_try_compile "$LINENO"; then :
55580 glibcxx_cv_func__fpclass_use=yes
55581 else
55582 glibcxx_cv_func__fpclass_use=no
55584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55585 ac_ext=c
55586 ac_cpp='$CPP $CPPFLAGS'
55587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
55596 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
55598 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55599 for ac_func in _fpclass
55600 do :
55601 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
55602 if test "x$ac_cv_func__fpclass" = xyes; then :
55603 cat >>confdefs.h <<_ACEOF
55604 #define HAVE__FPCLASS 1
55605 _ACEOF
55608 done
55617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
55618 $as_echo_n "checking for qfpclass declaration... " >&6; }
55619 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55620 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
55621 $as_echo_n "(cached) " >&6
55622 else
55625 ac_ext=cpp
55626 ac_cpp='$CXXCPP $CPPFLAGS'
55627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55632 /* end confdefs.h. */
55633 #include <math.h>
55634 #ifdef HAVE_IEEEFP_H
55635 #include <ieeefp.h>
55636 #endif
55639 main ()
55641 qfpclass(0);
55643 return 0;
55645 _ACEOF
55646 if ac_fn_cxx_try_compile "$LINENO"; then :
55647 glibcxx_cv_func_qfpclass_use=yes
55648 else
55649 glibcxx_cv_func_qfpclass_use=no
55651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55652 ac_ext=c
55653 ac_cpp='$CPP $CPPFLAGS'
55654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
55663 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
55665 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
55666 for ac_func in qfpclass
55667 do :
55668 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
55669 if test "x$ac_cv_func_qfpclass" = xyes; then :
55670 cat >>confdefs.h <<_ACEOF
55671 #define HAVE_QFPCLASS 1
55672 _ACEOF
55675 done
55677 else
55679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
55680 $as_echo_n "checking for _qfpclass declaration... " >&6; }
55681 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
55682 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
55683 $as_echo_n "(cached) " >&6
55684 else
55687 ac_ext=cpp
55688 ac_cpp='$CXXCPP $CPPFLAGS'
55689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55694 /* end confdefs.h. */
55695 #include <math.h>
55696 #ifdef HAVE_IEEEFP_H
55697 #include <ieeefp.h>
55698 #endif
55701 main ()
55703 _qfpclass(0);
55705 return 0;
55707 _ACEOF
55708 if ac_fn_cxx_try_compile "$LINENO"; then :
55709 glibcxx_cv_func__qfpclass_use=yes
55710 else
55711 glibcxx_cv_func__qfpclass_use=no
55713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55714 ac_ext=c
55715 ac_cpp='$CPP $CPPFLAGS'
55716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
55725 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
55727 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
55728 for ac_func in _qfpclass
55729 do :
55730 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
55731 if test "x$ac_cv_func__qfpclass" = xyes; then :
55732 cat >>confdefs.h <<_ACEOF
55733 #define HAVE__QFPCLASS 1
55734 _ACEOF
55737 done
55746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
55747 $as_echo_n "checking for hypot declaration... " >&6; }
55748 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
55749 if ${glibcxx_cv_func_hypot_use+:} false; then :
55750 $as_echo_n "(cached) " >&6
55751 else
55754 ac_ext=cpp
55755 ac_cpp='$CXXCPP $CPPFLAGS'
55756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55761 /* end confdefs.h. */
55762 #include <math.h>
55764 main ()
55766 hypot(0, 0);
55768 return 0;
55770 _ACEOF
55771 if ac_fn_cxx_try_compile "$LINENO"; then :
55772 glibcxx_cv_func_hypot_use=yes
55773 else
55774 glibcxx_cv_func_hypot_use=no
55776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55777 ac_ext=c
55778 ac_cpp='$CPP $CPPFLAGS'
55779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
55788 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
55790 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
55791 for ac_func in hypot
55792 do :
55793 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
55794 if test "x$ac_cv_func_hypot" = xyes; then :
55795 cat >>confdefs.h <<_ACEOF
55796 #define HAVE_HYPOT 1
55797 _ACEOF
55800 done
55802 else
55804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
55805 $as_echo_n "checking for _hypot declaration... " >&6; }
55806 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
55807 if ${glibcxx_cv_func__hypot_use+:} false; then :
55808 $as_echo_n "(cached) " >&6
55809 else
55812 ac_ext=cpp
55813 ac_cpp='$CXXCPP $CPPFLAGS'
55814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55819 /* end confdefs.h. */
55820 #include <math.h>
55822 main ()
55824 _hypot(0, 0);
55826 return 0;
55828 _ACEOF
55829 if ac_fn_cxx_try_compile "$LINENO"; then :
55830 glibcxx_cv_func__hypot_use=yes
55831 else
55832 glibcxx_cv_func__hypot_use=no
55834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55835 ac_ext=c
55836 ac_cpp='$CPP $CPPFLAGS'
55837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
55846 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
55848 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
55849 for ac_func in _hypot
55850 do :
55851 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
55852 if test "x$ac_cv_func__hypot" = xyes; then :
55853 cat >>confdefs.h <<_ACEOF
55854 #define HAVE__HYPOT 1
55855 _ACEOF
55858 done
55867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
55868 $as_echo_n "checking for float trig functions... " >&6; }
55869 if ${glibcxx_cv_func_float_trig_use+:} false; then :
55870 $as_echo_n "(cached) " >&6
55871 else
55874 ac_ext=cpp
55875 ac_cpp='$CXXCPP $CPPFLAGS'
55876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55881 /* end confdefs.h. */
55882 #include <math.h>
55884 main ()
55886 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
55888 return 0;
55890 _ACEOF
55891 if ac_fn_cxx_try_compile "$LINENO"; then :
55892 glibcxx_cv_func_float_trig_use=yes
55893 else
55894 glibcxx_cv_func_float_trig_use=no
55896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55897 ac_ext=c
55898 ac_cpp='$CPP $CPPFLAGS'
55899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
55906 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
55907 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
55908 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
55909 do :
55910 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55911 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55912 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55913 cat >>confdefs.h <<_ACEOF
55914 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55915 _ACEOF
55918 done
55920 else
55921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
55922 $as_echo_n "checking for _float trig functions... " >&6; }
55923 if ${glibcxx_cv_func__float_trig_use+:} false; then :
55924 $as_echo_n "(cached) " >&6
55925 else
55928 ac_ext=cpp
55929 ac_cpp='$CXXCPP $CPPFLAGS'
55930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55935 /* end confdefs.h. */
55936 #include <math.h>
55938 main ()
55940 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
55942 return 0;
55944 _ACEOF
55945 if ac_fn_cxx_try_compile "$LINENO"; then :
55946 glibcxx_cv_func__float_trig_use=yes
55947 else
55948 glibcxx_cv_func__float_trig_use=no
55950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55951 ac_ext=c
55952 ac_cpp='$CPP $CPPFLAGS'
55953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
55960 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
55961 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
55962 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
55963 do :
55964 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55965 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55966 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55967 cat >>confdefs.h <<_ACEOF
55968 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55969 _ACEOF
55972 done
55981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
55982 $as_echo_n "checking for float round functions... " >&6; }
55983 if ${glibcxx_cv_func_float_round_use+:} false; then :
55984 $as_echo_n "(cached) " >&6
55985 else
55988 ac_ext=cpp
55989 ac_cpp='$CXXCPP $CPPFLAGS'
55990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55995 /* end confdefs.h. */
55996 #include <math.h>
55998 main ()
56000 ceilf (0); floorf (0);
56002 return 0;
56004 _ACEOF
56005 if ac_fn_cxx_try_compile "$LINENO"; then :
56006 glibcxx_cv_func_float_round_use=yes
56007 else
56008 glibcxx_cv_func_float_round_use=no
56010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56011 ac_ext=c
56012 ac_cpp='$CPP $CPPFLAGS'
56013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
56020 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
56021 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
56022 for ac_func in ceilf floorf
56023 do :
56024 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56025 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56026 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
56027 cat >>confdefs.h <<_ACEOF
56028 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56029 _ACEOF
56032 done
56034 else
56035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
56036 $as_echo_n "checking for _float round functions... " >&6; }
56037 if ${glibcxx_cv_func__float_round_use+:} false; then :
56038 $as_echo_n "(cached) " >&6
56039 else
56042 ac_ext=cpp
56043 ac_cpp='$CXXCPP $CPPFLAGS'
56044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56049 /* end confdefs.h. */
56050 #include <math.h>
56052 main ()
56054 _ceilf (0); _floorf (0);
56056 return 0;
56058 _ACEOF
56059 if ac_fn_cxx_try_compile "$LINENO"; then :
56060 glibcxx_cv_func__float_round_use=yes
56061 else
56062 glibcxx_cv_func__float_round_use=no
56064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56065 ac_ext=c
56066 ac_cpp='$CPP $CPPFLAGS'
56067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
56074 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
56075 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
56076 for ac_func in _ceilf _floorf
56077 do :
56078 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56079 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56080 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
56081 cat >>confdefs.h <<_ACEOF
56082 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56083 _ACEOF
56086 done
56096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
56097 $as_echo_n "checking for expf declaration... " >&6; }
56098 if test x${glibcxx_cv_func_expf_use+set} != xset; then
56099 if ${glibcxx_cv_func_expf_use+:} false; then :
56100 $as_echo_n "(cached) " >&6
56101 else
56104 ac_ext=cpp
56105 ac_cpp='$CXXCPP $CPPFLAGS'
56106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56111 /* end confdefs.h. */
56112 #include <math.h>
56113 #ifdef HAVE_IEEEFP_H
56114 #include <ieeefp.h>
56115 #endif
56118 main ()
56120 expf(0);
56122 return 0;
56124 _ACEOF
56125 if ac_fn_cxx_try_compile "$LINENO"; then :
56126 glibcxx_cv_func_expf_use=yes
56127 else
56128 glibcxx_cv_func_expf_use=no
56130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56131 ac_ext=c
56132 ac_cpp='$CPP $CPPFLAGS'
56133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
56142 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
56144 if test x$glibcxx_cv_func_expf_use = x"yes"; then
56145 for ac_func in expf
56146 do :
56147 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
56148 if test "x$ac_cv_func_expf" = xyes; then :
56149 cat >>confdefs.h <<_ACEOF
56150 #define HAVE_EXPF 1
56151 _ACEOF
56154 done
56156 else
56158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
56159 $as_echo_n "checking for _expf declaration... " >&6; }
56160 if test x${glibcxx_cv_func__expf_use+set} != xset; then
56161 if ${glibcxx_cv_func__expf_use+:} false; then :
56162 $as_echo_n "(cached) " >&6
56163 else
56166 ac_ext=cpp
56167 ac_cpp='$CXXCPP $CPPFLAGS'
56168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56173 /* end confdefs.h. */
56174 #include <math.h>
56175 #ifdef HAVE_IEEEFP_H
56176 #include <ieeefp.h>
56177 #endif
56180 main ()
56182 _expf(0);
56184 return 0;
56186 _ACEOF
56187 if ac_fn_cxx_try_compile "$LINENO"; then :
56188 glibcxx_cv_func__expf_use=yes
56189 else
56190 glibcxx_cv_func__expf_use=no
56192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56193 ac_ext=c
56194 ac_cpp='$CPP $CPPFLAGS'
56195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
56204 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
56206 if test x$glibcxx_cv_func__expf_use = x"yes"; then
56207 for ac_func in _expf
56208 do :
56209 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
56210 if test "x$ac_cv_func__expf" = xyes; then :
56211 cat >>confdefs.h <<_ACEOF
56212 #define HAVE__EXPF 1
56213 _ACEOF
56216 done
56225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
56226 $as_echo_n "checking for isnanf declaration... " >&6; }
56227 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
56228 if ${glibcxx_cv_func_isnanf_use+:} false; then :
56229 $as_echo_n "(cached) " >&6
56230 else
56233 ac_ext=cpp
56234 ac_cpp='$CXXCPP $CPPFLAGS'
56235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56240 /* end confdefs.h. */
56241 #include <math.h>
56242 #ifdef HAVE_IEEEFP_H
56243 #include <ieeefp.h>
56244 #endif
56247 main ()
56249 isnanf(0);
56251 return 0;
56253 _ACEOF
56254 if ac_fn_cxx_try_compile "$LINENO"; then :
56255 glibcxx_cv_func_isnanf_use=yes
56256 else
56257 glibcxx_cv_func_isnanf_use=no
56259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56260 ac_ext=c
56261 ac_cpp='$CPP $CPPFLAGS'
56262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
56271 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
56273 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
56274 for ac_func in isnanf
56275 do :
56276 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
56277 if test "x$ac_cv_func_isnanf" = xyes; then :
56278 cat >>confdefs.h <<_ACEOF
56279 #define HAVE_ISNANF 1
56280 _ACEOF
56283 done
56285 else
56287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
56288 $as_echo_n "checking for _isnanf declaration... " >&6; }
56289 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
56290 if ${glibcxx_cv_func__isnanf_use+:} false; then :
56291 $as_echo_n "(cached) " >&6
56292 else
56295 ac_ext=cpp
56296 ac_cpp='$CXXCPP $CPPFLAGS'
56297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56302 /* end confdefs.h. */
56303 #include <math.h>
56304 #ifdef HAVE_IEEEFP_H
56305 #include <ieeefp.h>
56306 #endif
56309 main ()
56311 _isnanf(0);
56313 return 0;
56315 _ACEOF
56316 if ac_fn_cxx_try_compile "$LINENO"; then :
56317 glibcxx_cv_func__isnanf_use=yes
56318 else
56319 glibcxx_cv_func__isnanf_use=no
56321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56322 ac_ext=c
56323 ac_cpp='$CPP $CPPFLAGS'
56324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
56333 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
56335 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
56336 for ac_func in _isnanf
56337 do :
56338 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
56339 if test "x$ac_cv_func__isnanf" = xyes; then :
56340 cat >>confdefs.h <<_ACEOF
56341 #define HAVE__ISNANF 1
56342 _ACEOF
56345 done
56354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
56355 $as_echo_n "checking for isinff declaration... " >&6; }
56356 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
56357 if ${glibcxx_cv_func_isinff_use+:} false; then :
56358 $as_echo_n "(cached) " >&6
56359 else
56362 ac_ext=cpp
56363 ac_cpp='$CXXCPP $CPPFLAGS'
56364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56369 /* end confdefs.h. */
56370 #include <math.h>
56371 #ifdef HAVE_IEEEFP_H
56372 #include <ieeefp.h>
56373 #endif
56376 main ()
56378 isinff(0);
56380 return 0;
56382 _ACEOF
56383 if ac_fn_cxx_try_compile "$LINENO"; then :
56384 glibcxx_cv_func_isinff_use=yes
56385 else
56386 glibcxx_cv_func_isinff_use=no
56388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56389 ac_ext=c
56390 ac_cpp='$CPP $CPPFLAGS'
56391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
56400 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
56402 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
56403 for ac_func in isinff
56404 do :
56405 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
56406 if test "x$ac_cv_func_isinff" = xyes; then :
56407 cat >>confdefs.h <<_ACEOF
56408 #define HAVE_ISINFF 1
56409 _ACEOF
56412 done
56414 else
56416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
56417 $as_echo_n "checking for _isinff declaration... " >&6; }
56418 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
56419 if ${glibcxx_cv_func__isinff_use+:} false; then :
56420 $as_echo_n "(cached) " >&6
56421 else
56424 ac_ext=cpp
56425 ac_cpp='$CXXCPP $CPPFLAGS'
56426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56431 /* end confdefs.h. */
56432 #include <math.h>
56433 #ifdef HAVE_IEEEFP_H
56434 #include <ieeefp.h>
56435 #endif
56438 main ()
56440 _isinff(0);
56442 return 0;
56444 _ACEOF
56445 if ac_fn_cxx_try_compile "$LINENO"; then :
56446 glibcxx_cv_func__isinff_use=yes
56447 else
56448 glibcxx_cv_func__isinff_use=no
56450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56451 ac_ext=c
56452 ac_cpp='$CPP $CPPFLAGS'
56453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
56462 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
56464 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
56465 for ac_func in _isinff
56466 do :
56467 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
56468 if test "x$ac_cv_func__isinff" = xyes; then :
56469 cat >>confdefs.h <<_ACEOF
56470 #define HAVE__ISINFF 1
56471 _ACEOF
56474 done
56483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
56484 $as_echo_n "checking for atan2f declaration... " >&6; }
56485 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
56486 if ${glibcxx_cv_func_atan2f_use+:} false; then :
56487 $as_echo_n "(cached) " >&6
56488 else
56491 ac_ext=cpp
56492 ac_cpp='$CXXCPP $CPPFLAGS'
56493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56498 /* end confdefs.h. */
56499 #include <math.h>
56501 main ()
56503 atan2f(0, 0);
56505 return 0;
56507 _ACEOF
56508 if ac_fn_cxx_try_compile "$LINENO"; then :
56509 glibcxx_cv_func_atan2f_use=yes
56510 else
56511 glibcxx_cv_func_atan2f_use=no
56513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56514 ac_ext=c
56515 ac_cpp='$CPP $CPPFLAGS'
56516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
56525 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
56527 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
56528 for ac_func in atan2f
56529 do :
56530 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
56531 if test "x$ac_cv_func_atan2f" = xyes; then :
56532 cat >>confdefs.h <<_ACEOF
56533 #define HAVE_ATAN2F 1
56534 _ACEOF
56537 done
56539 else
56541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
56542 $as_echo_n "checking for _atan2f declaration... " >&6; }
56543 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
56544 if ${glibcxx_cv_func__atan2f_use+:} false; then :
56545 $as_echo_n "(cached) " >&6
56546 else
56549 ac_ext=cpp
56550 ac_cpp='$CXXCPP $CPPFLAGS'
56551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56556 /* end confdefs.h. */
56557 #include <math.h>
56559 main ()
56561 _atan2f(0, 0);
56563 return 0;
56565 _ACEOF
56566 if ac_fn_cxx_try_compile "$LINENO"; then :
56567 glibcxx_cv_func__atan2f_use=yes
56568 else
56569 glibcxx_cv_func__atan2f_use=no
56571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56572 ac_ext=c
56573 ac_cpp='$CPP $CPPFLAGS'
56574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
56583 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
56585 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
56586 for ac_func in _atan2f
56587 do :
56588 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
56589 if test "x$ac_cv_func__atan2f" = xyes; then :
56590 cat >>confdefs.h <<_ACEOF
56591 #define HAVE__ATAN2F 1
56592 _ACEOF
56595 done
56604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
56605 $as_echo_n "checking for fabsf declaration... " >&6; }
56606 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
56607 if ${glibcxx_cv_func_fabsf_use+:} false; then :
56608 $as_echo_n "(cached) " >&6
56609 else
56612 ac_ext=cpp
56613 ac_cpp='$CXXCPP $CPPFLAGS'
56614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56619 /* end confdefs.h. */
56620 #include <math.h>
56621 #ifdef HAVE_IEEEFP_H
56622 #include <ieeefp.h>
56623 #endif
56626 main ()
56628 fabsf(0);
56630 return 0;
56632 _ACEOF
56633 if ac_fn_cxx_try_compile "$LINENO"; then :
56634 glibcxx_cv_func_fabsf_use=yes
56635 else
56636 glibcxx_cv_func_fabsf_use=no
56638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56639 ac_ext=c
56640 ac_cpp='$CPP $CPPFLAGS'
56641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
56650 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
56652 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
56653 for ac_func in fabsf
56654 do :
56655 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
56656 if test "x$ac_cv_func_fabsf" = xyes; then :
56657 cat >>confdefs.h <<_ACEOF
56658 #define HAVE_FABSF 1
56659 _ACEOF
56662 done
56664 else
56666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
56667 $as_echo_n "checking for _fabsf declaration... " >&6; }
56668 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
56669 if ${glibcxx_cv_func__fabsf_use+:} false; then :
56670 $as_echo_n "(cached) " >&6
56671 else
56674 ac_ext=cpp
56675 ac_cpp='$CXXCPP $CPPFLAGS'
56676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56681 /* end confdefs.h. */
56682 #include <math.h>
56683 #ifdef HAVE_IEEEFP_H
56684 #include <ieeefp.h>
56685 #endif
56688 main ()
56690 _fabsf(0);
56692 return 0;
56694 _ACEOF
56695 if ac_fn_cxx_try_compile "$LINENO"; then :
56696 glibcxx_cv_func__fabsf_use=yes
56697 else
56698 glibcxx_cv_func__fabsf_use=no
56700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56701 ac_ext=c
56702 ac_cpp='$CPP $CPPFLAGS'
56703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
56712 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
56714 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
56715 for ac_func in _fabsf
56716 do :
56717 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
56718 if test "x$ac_cv_func__fabsf" = xyes; then :
56719 cat >>confdefs.h <<_ACEOF
56720 #define HAVE__FABSF 1
56721 _ACEOF
56724 done
56733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
56734 $as_echo_n "checking for fmodf declaration... " >&6; }
56735 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
56736 if ${glibcxx_cv_func_fmodf_use+:} false; then :
56737 $as_echo_n "(cached) " >&6
56738 else
56741 ac_ext=cpp
56742 ac_cpp='$CXXCPP $CPPFLAGS'
56743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56748 /* end confdefs.h. */
56749 #include <math.h>
56751 main ()
56753 fmodf(0, 0);
56755 return 0;
56757 _ACEOF
56758 if ac_fn_cxx_try_compile "$LINENO"; then :
56759 glibcxx_cv_func_fmodf_use=yes
56760 else
56761 glibcxx_cv_func_fmodf_use=no
56763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56764 ac_ext=c
56765 ac_cpp='$CPP $CPPFLAGS'
56766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
56775 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
56777 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
56778 for ac_func in fmodf
56779 do :
56780 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
56781 if test "x$ac_cv_func_fmodf" = xyes; then :
56782 cat >>confdefs.h <<_ACEOF
56783 #define HAVE_FMODF 1
56784 _ACEOF
56787 done
56789 else
56791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
56792 $as_echo_n "checking for _fmodf declaration... " >&6; }
56793 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
56794 if ${glibcxx_cv_func__fmodf_use+:} false; then :
56795 $as_echo_n "(cached) " >&6
56796 else
56799 ac_ext=cpp
56800 ac_cpp='$CXXCPP $CPPFLAGS'
56801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56806 /* end confdefs.h. */
56807 #include <math.h>
56809 main ()
56811 _fmodf(0, 0);
56813 return 0;
56815 _ACEOF
56816 if ac_fn_cxx_try_compile "$LINENO"; then :
56817 glibcxx_cv_func__fmodf_use=yes
56818 else
56819 glibcxx_cv_func__fmodf_use=no
56821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56822 ac_ext=c
56823 ac_cpp='$CPP $CPPFLAGS'
56824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
56833 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
56835 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
56836 for ac_func in _fmodf
56837 do :
56838 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
56839 if test "x$ac_cv_func__fmodf" = xyes; then :
56840 cat >>confdefs.h <<_ACEOF
56841 #define HAVE__FMODF 1
56842 _ACEOF
56845 done
56854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
56855 $as_echo_n "checking for frexpf declaration... " >&6; }
56856 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
56857 if ${glibcxx_cv_func_frexpf_use+:} false; then :
56858 $as_echo_n "(cached) " >&6
56859 else
56862 ac_ext=cpp
56863 ac_cpp='$CXXCPP $CPPFLAGS'
56864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56869 /* end confdefs.h. */
56870 #include <math.h>
56872 main ()
56874 frexpf(0, 0);
56876 return 0;
56878 _ACEOF
56879 if ac_fn_cxx_try_compile "$LINENO"; then :
56880 glibcxx_cv_func_frexpf_use=yes
56881 else
56882 glibcxx_cv_func_frexpf_use=no
56884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56885 ac_ext=c
56886 ac_cpp='$CPP $CPPFLAGS'
56887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
56896 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
56898 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
56899 for ac_func in frexpf
56900 do :
56901 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
56902 if test "x$ac_cv_func_frexpf" = xyes; then :
56903 cat >>confdefs.h <<_ACEOF
56904 #define HAVE_FREXPF 1
56905 _ACEOF
56908 done
56910 else
56912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
56913 $as_echo_n "checking for _frexpf declaration... " >&6; }
56914 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
56915 if ${glibcxx_cv_func__frexpf_use+:} false; then :
56916 $as_echo_n "(cached) " >&6
56917 else
56920 ac_ext=cpp
56921 ac_cpp='$CXXCPP $CPPFLAGS'
56922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56927 /* end confdefs.h. */
56928 #include <math.h>
56930 main ()
56932 _frexpf(0, 0);
56934 return 0;
56936 _ACEOF
56937 if ac_fn_cxx_try_compile "$LINENO"; then :
56938 glibcxx_cv_func__frexpf_use=yes
56939 else
56940 glibcxx_cv_func__frexpf_use=no
56942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56943 ac_ext=c
56944 ac_cpp='$CPP $CPPFLAGS'
56945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
56954 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
56956 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
56957 for ac_func in _frexpf
56958 do :
56959 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
56960 if test "x$ac_cv_func__frexpf" = xyes; then :
56961 cat >>confdefs.h <<_ACEOF
56962 #define HAVE__FREXPF 1
56963 _ACEOF
56966 done
56975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
56976 $as_echo_n "checking for hypotf declaration... " >&6; }
56977 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
56978 if ${glibcxx_cv_func_hypotf_use+:} false; then :
56979 $as_echo_n "(cached) " >&6
56980 else
56983 ac_ext=cpp
56984 ac_cpp='$CXXCPP $CPPFLAGS'
56985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56990 /* end confdefs.h. */
56991 #include <math.h>
56993 main ()
56995 hypotf(0, 0);
56997 return 0;
56999 _ACEOF
57000 if ac_fn_cxx_try_compile "$LINENO"; then :
57001 glibcxx_cv_func_hypotf_use=yes
57002 else
57003 glibcxx_cv_func_hypotf_use=no
57005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57006 ac_ext=c
57007 ac_cpp='$CPP $CPPFLAGS'
57008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
57017 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
57019 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
57020 for ac_func in hypotf
57021 do :
57022 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
57023 if test "x$ac_cv_func_hypotf" = xyes; then :
57024 cat >>confdefs.h <<_ACEOF
57025 #define HAVE_HYPOTF 1
57026 _ACEOF
57029 done
57031 else
57033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
57034 $as_echo_n "checking for _hypotf declaration... " >&6; }
57035 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
57036 if ${glibcxx_cv_func__hypotf_use+:} false; then :
57037 $as_echo_n "(cached) " >&6
57038 else
57041 ac_ext=cpp
57042 ac_cpp='$CXXCPP $CPPFLAGS'
57043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57048 /* end confdefs.h. */
57049 #include <math.h>
57051 main ()
57053 _hypotf(0, 0);
57055 return 0;
57057 _ACEOF
57058 if ac_fn_cxx_try_compile "$LINENO"; then :
57059 glibcxx_cv_func__hypotf_use=yes
57060 else
57061 glibcxx_cv_func__hypotf_use=no
57063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57064 ac_ext=c
57065 ac_cpp='$CPP $CPPFLAGS'
57066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
57075 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
57077 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
57078 for ac_func in _hypotf
57079 do :
57080 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
57081 if test "x$ac_cv_func__hypotf" = xyes; then :
57082 cat >>confdefs.h <<_ACEOF
57083 #define HAVE__HYPOTF 1
57084 _ACEOF
57087 done
57096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
57097 $as_echo_n "checking for ldexpf declaration... " >&6; }
57098 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
57099 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
57100 $as_echo_n "(cached) " >&6
57101 else
57104 ac_ext=cpp
57105 ac_cpp='$CXXCPP $CPPFLAGS'
57106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57111 /* end confdefs.h. */
57112 #include <math.h>
57114 main ()
57116 ldexpf(0, 0);
57118 return 0;
57120 _ACEOF
57121 if ac_fn_cxx_try_compile "$LINENO"; then :
57122 glibcxx_cv_func_ldexpf_use=yes
57123 else
57124 glibcxx_cv_func_ldexpf_use=no
57126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57127 ac_ext=c
57128 ac_cpp='$CPP $CPPFLAGS'
57129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
57138 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
57140 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
57141 for ac_func in ldexpf
57142 do :
57143 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
57144 if test "x$ac_cv_func_ldexpf" = xyes; then :
57145 cat >>confdefs.h <<_ACEOF
57146 #define HAVE_LDEXPF 1
57147 _ACEOF
57150 done
57152 else
57154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
57155 $as_echo_n "checking for _ldexpf declaration... " >&6; }
57156 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
57157 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
57158 $as_echo_n "(cached) " >&6
57159 else
57162 ac_ext=cpp
57163 ac_cpp='$CXXCPP $CPPFLAGS'
57164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57169 /* end confdefs.h. */
57170 #include <math.h>
57172 main ()
57174 _ldexpf(0, 0);
57176 return 0;
57178 _ACEOF
57179 if ac_fn_cxx_try_compile "$LINENO"; then :
57180 glibcxx_cv_func__ldexpf_use=yes
57181 else
57182 glibcxx_cv_func__ldexpf_use=no
57184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57185 ac_ext=c
57186 ac_cpp='$CPP $CPPFLAGS'
57187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
57196 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
57198 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
57199 for ac_func in _ldexpf
57200 do :
57201 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
57202 if test "x$ac_cv_func__ldexpf" = xyes; then :
57203 cat >>confdefs.h <<_ACEOF
57204 #define HAVE__LDEXPF 1
57205 _ACEOF
57208 done
57217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
57218 $as_echo_n "checking for logf declaration... " >&6; }
57219 if test x${glibcxx_cv_func_logf_use+set} != xset; then
57220 if ${glibcxx_cv_func_logf_use+:} false; then :
57221 $as_echo_n "(cached) " >&6
57222 else
57225 ac_ext=cpp
57226 ac_cpp='$CXXCPP $CPPFLAGS'
57227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57232 /* end confdefs.h. */
57233 #include <math.h>
57234 #ifdef HAVE_IEEEFP_H
57235 #include <ieeefp.h>
57236 #endif
57239 main ()
57241 logf(0);
57243 return 0;
57245 _ACEOF
57246 if ac_fn_cxx_try_compile "$LINENO"; then :
57247 glibcxx_cv_func_logf_use=yes
57248 else
57249 glibcxx_cv_func_logf_use=no
57251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57252 ac_ext=c
57253 ac_cpp='$CPP $CPPFLAGS'
57254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
57263 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
57265 if test x$glibcxx_cv_func_logf_use = x"yes"; then
57266 for ac_func in logf
57267 do :
57268 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
57269 if test "x$ac_cv_func_logf" = xyes; then :
57270 cat >>confdefs.h <<_ACEOF
57271 #define HAVE_LOGF 1
57272 _ACEOF
57275 done
57277 else
57279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
57280 $as_echo_n "checking for _logf declaration... " >&6; }
57281 if test x${glibcxx_cv_func__logf_use+set} != xset; then
57282 if ${glibcxx_cv_func__logf_use+:} false; then :
57283 $as_echo_n "(cached) " >&6
57284 else
57287 ac_ext=cpp
57288 ac_cpp='$CXXCPP $CPPFLAGS'
57289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57294 /* end confdefs.h. */
57295 #include <math.h>
57296 #ifdef HAVE_IEEEFP_H
57297 #include <ieeefp.h>
57298 #endif
57301 main ()
57303 _logf(0);
57305 return 0;
57307 _ACEOF
57308 if ac_fn_cxx_try_compile "$LINENO"; then :
57309 glibcxx_cv_func__logf_use=yes
57310 else
57311 glibcxx_cv_func__logf_use=no
57313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57314 ac_ext=c
57315 ac_cpp='$CPP $CPPFLAGS'
57316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
57325 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
57327 if test x$glibcxx_cv_func__logf_use = x"yes"; then
57328 for ac_func in _logf
57329 do :
57330 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
57331 if test "x$ac_cv_func__logf" = xyes; then :
57332 cat >>confdefs.h <<_ACEOF
57333 #define HAVE__LOGF 1
57334 _ACEOF
57337 done
57346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
57347 $as_echo_n "checking for log10f declaration... " >&6; }
57348 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
57349 if ${glibcxx_cv_func_log10f_use+:} false; then :
57350 $as_echo_n "(cached) " >&6
57351 else
57354 ac_ext=cpp
57355 ac_cpp='$CXXCPP $CPPFLAGS'
57356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57361 /* end confdefs.h. */
57362 #include <math.h>
57363 #ifdef HAVE_IEEEFP_H
57364 #include <ieeefp.h>
57365 #endif
57368 main ()
57370 log10f(0);
57372 return 0;
57374 _ACEOF
57375 if ac_fn_cxx_try_compile "$LINENO"; then :
57376 glibcxx_cv_func_log10f_use=yes
57377 else
57378 glibcxx_cv_func_log10f_use=no
57380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57381 ac_ext=c
57382 ac_cpp='$CPP $CPPFLAGS'
57383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
57392 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
57394 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
57395 for ac_func in log10f
57396 do :
57397 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
57398 if test "x$ac_cv_func_log10f" = xyes; then :
57399 cat >>confdefs.h <<_ACEOF
57400 #define HAVE_LOG10F 1
57401 _ACEOF
57404 done
57406 else
57408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
57409 $as_echo_n "checking for _log10f declaration... " >&6; }
57410 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
57411 if ${glibcxx_cv_func__log10f_use+:} false; then :
57412 $as_echo_n "(cached) " >&6
57413 else
57416 ac_ext=cpp
57417 ac_cpp='$CXXCPP $CPPFLAGS'
57418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57423 /* end confdefs.h. */
57424 #include <math.h>
57425 #ifdef HAVE_IEEEFP_H
57426 #include <ieeefp.h>
57427 #endif
57430 main ()
57432 _log10f(0);
57434 return 0;
57436 _ACEOF
57437 if ac_fn_cxx_try_compile "$LINENO"; then :
57438 glibcxx_cv_func__log10f_use=yes
57439 else
57440 glibcxx_cv_func__log10f_use=no
57442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57443 ac_ext=c
57444 ac_cpp='$CPP $CPPFLAGS'
57445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
57454 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
57456 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
57457 for ac_func in _log10f
57458 do :
57459 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
57460 if test "x$ac_cv_func__log10f" = xyes; then :
57461 cat >>confdefs.h <<_ACEOF
57462 #define HAVE__LOG10F 1
57463 _ACEOF
57466 done
57475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
57476 $as_echo_n "checking for modff declaration... " >&6; }
57477 if test x${glibcxx_cv_func_modff_use+set} != xset; then
57478 if ${glibcxx_cv_func_modff_use+:} false; then :
57479 $as_echo_n "(cached) " >&6
57480 else
57483 ac_ext=cpp
57484 ac_cpp='$CXXCPP $CPPFLAGS'
57485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57490 /* end confdefs.h. */
57491 #include <math.h>
57493 main ()
57495 modff(0, 0);
57497 return 0;
57499 _ACEOF
57500 if ac_fn_cxx_try_compile "$LINENO"; then :
57501 glibcxx_cv_func_modff_use=yes
57502 else
57503 glibcxx_cv_func_modff_use=no
57505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57506 ac_ext=c
57507 ac_cpp='$CPP $CPPFLAGS'
57508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
57517 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
57519 if test x$glibcxx_cv_func_modff_use = x"yes"; then
57520 for ac_func in modff
57521 do :
57522 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
57523 if test "x$ac_cv_func_modff" = xyes; then :
57524 cat >>confdefs.h <<_ACEOF
57525 #define HAVE_MODFF 1
57526 _ACEOF
57529 done
57531 else
57533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
57534 $as_echo_n "checking for _modff declaration... " >&6; }
57535 if test x${glibcxx_cv_func__modff_use+set} != xset; then
57536 if ${glibcxx_cv_func__modff_use+:} false; then :
57537 $as_echo_n "(cached) " >&6
57538 else
57541 ac_ext=cpp
57542 ac_cpp='$CXXCPP $CPPFLAGS'
57543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57548 /* end confdefs.h. */
57549 #include <math.h>
57551 main ()
57553 _modff(0, 0);
57555 return 0;
57557 _ACEOF
57558 if ac_fn_cxx_try_compile "$LINENO"; then :
57559 glibcxx_cv_func__modff_use=yes
57560 else
57561 glibcxx_cv_func__modff_use=no
57563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57564 ac_ext=c
57565 ac_cpp='$CPP $CPPFLAGS'
57566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
57575 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
57577 if test x$glibcxx_cv_func__modff_use = x"yes"; then
57578 for ac_func in _modff
57579 do :
57580 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
57581 if test "x$ac_cv_func__modff" = xyes; then :
57582 cat >>confdefs.h <<_ACEOF
57583 #define HAVE__MODFF 1
57584 _ACEOF
57587 done
57596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
57597 $as_echo_n "checking for modf declaration... " >&6; }
57598 if test x${glibcxx_cv_func_modf_use+set} != xset; then
57599 if ${glibcxx_cv_func_modf_use+:} false; then :
57600 $as_echo_n "(cached) " >&6
57601 else
57604 ac_ext=cpp
57605 ac_cpp='$CXXCPP $CPPFLAGS'
57606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57611 /* end confdefs.h. */
57612 #include <math.h>
57614 main ()
57616 modf(0, 0);
57618 return 0;
57620 _ACEOF
57621 if ac_fn_cxx_try_compile "$LINENO"; then :
57622 glibcxx_cv_func_modf_use=yes
57623 else
57624 glibcxx_cv_func_modf_use=no
57626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57627 ac_ext=c
57628 ac_cpp='$CPP $CPPFLAGS'
57629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
57638 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
57640 if test x$glibcxx_cv_func_modf_use = x"yes"; then
57641 for ac_func in modf
57642 do :
57643 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
57644 if test "x$ac_cv_func_modf" = xyes; then :
57645 cat >>confdefs.h <<_ACEOF
57646 #define HAVE_MODF 1
57647 _ACEOF
57650 done
57652 else
57654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
57655 $as_echo_n "checking for _modf declaration... " >&6; }
57656 if test x${glibcxx_cv_func__modf_use+set} != xset; then
57657 if ${glibcxx_cv_func__modf_use+:} false; then :
57658 $as_echo_n "(cached) " >&6
57659 else
57662 ac_ext=cpp
57663 ac_cpp='$CXXCPP $CPPFLAGS'
57664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57669 /* end confdefs.h. */
57670 #include <math.h>
57672 main ()
57674 _modf(0, 0);
57676 return 0;
57678 _ACEOF
57679 if ac_fn_cxx_try_compile "$LINENO"; then :
57680 glibcxx_cv_func__modf_use=yes
57681 else
57682 glibcxx_cv_func__modf_use=no
57684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57685 ac_ext=c
57686 ac_cpp='$CPP $CPPFLAGS'
57687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
57696 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
57698 if test x$glibcxx_cv_func__modf_use = x"yes"; then
57699 for ac_func in _modf
57700 do :
57701 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
57702 if test "x$ac_cv_func__modf" = xyes; then :
57703 cat >>confdefs.h <<_ACEOF
57704 #define HAVE__MODF 1
57705 _ACEOF
57708 done
57717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
57718 $as_echo_n "checking for powf declaration... " >&6; }
57719 if test x${glibcxx_cv_func_powf_use+set} != xset; then
57720 if ${glibcxx_cv_func_powf_use+:} false; then :
57721 $as_echo_n "(cached) " >&6
57722 else
57725 ac_ext=cpp
57726 ac_cpp='$CXXCPP $CPPFLAGS'
57727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57732 /* end confdefs.h. */
57733 #include <math.h>
57735 main ()
57737 powf(0, 0);
57739 return 0;
57741 _ACEOF
57742 if ac_fn_cxx_try_compile "$LINENO"; then :
57743 glibcxx_cv_func_powf_use=yes
57744 else
57745 glibcxx_cv_func_powf_use=no
57747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57748 ac_ext=c
57749 ac_cpp='$CPP $CPPFLAGS'
57750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
57759 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
57761 if test x$glibcxx_cv_func_powf_use = x"yes"; then
57762 for ac_func in powf
57763 do :
57764 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
57765 if test "x$ac_cv_func_powf" = xyes; then :
57766 cat >>confdefs.h <<_ACEOF
57767 #define HAVE_POWF 1
57768 _ACEOF
57771 done
57773 else
57775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
57776 $as_echo_n "checking for _powf declaration... " >&6; }
57777 if test x${glibcxx_cv_func__powf_use+set} != xset; then
57778 if ${glibcxx_cv_func__powf_use+:} false; then :
57779 $as_echo_n "(cached) " >&6
57780 else
57783 ac_ext=cpp
57784 ac_cpp='$CXXCPP $CPPFLAGS'
57785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57790 /* end confdefs.h. */
57791 #include <math.h>
57793 main ()
57795 _powf(0, 0);
57797 return 0;
57799 _ACEOF
57800 if ac_fn_cxx_try_compile "$LINENO"; then :
57801 glibcxx_cv_func__powf_use=yes
57802 else
57803 glibcxx_cv_func__powf_use=no
57805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57806 ac_ext=c
57807 ac_cpp='$CPP $CPPFLAGS'
57808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
57817 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
57819 if test x$glibcxx_cv_func__powf_use = x"yes"; then
57820 for ac_func in _powf
57821 do :
57822 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
57823 if test "x$ac_cv_func__powf" = xyes; then :
57824 cat >>confdefs.h <<_ACEOF
57825 #define HAVE__POWF 1
57826 _ACEOF
57829 done
57838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
57839 $as_echo_n "checking for sqrtf declaration... " >&6; }
57840 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
57841 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
57842 $as_echo_n "(cached) " >&6
57843 else
57846 ac_ext=cpp
57847 ac_cpp='$CXXCPP $CPPFLAGS'
57848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57853 /* end confdefs.h. */
57854 #include <math.h>
57855 #ifdef HAVE_IEEEFP_H
57856 #include <ieeefp.h>
57857 #endif
57860 main ()
57862 sqrtf(0);
57864 return 0;
57866 _ACEOF
57867 if ac_fn_cxx_try_compile "$LINENO"; then :
57868 glibcxx_cv_func_sqrtf_use=yes
57869 else
57870 glibcxx_cv_func_sqrtf_use=no
57872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57873 ac_ext=c
57874 ac_cpp='$CPP $CPPFLAGS'
57875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
57884 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
57886 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
57887 for ac_func in sqrtf
57888 do :
57889 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
57890 if test "x$ac_cv_func_sqrtf" = xyes; then :
57891 cat >>confdefs.h <<_ACEOF
57892 #define HAVE_SQRTF 1
57893 _ACEOF
57896 done
57898 else
57900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
57901 $as_echo_n "checking for _sqrtf declaration... " >&6; }
57902 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
57903 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
57904 $as_echo_n "(cached) " >&6
57905 else
57908 ac_ext=cpp
57909 ac_cpp='$CXXCPP $CPPFLAGS'
57910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57915 /* end confdefs.h. */
57916 #include <math.h>
57917 #ifdef HAVE_IEEEFP_H
57918 #include <ieeefp.h>
57919 #endif
57922 main ()
57924 _sqrtf(0);
57926 return 0;
57928 _ACEOF
57929 if ac_fn_cxx_try_compile "$LINENO"; then :
57930 glibcxx_cv_func__sqrtf_use=yes
57931 else
57932 glibcxx_cv_func__sqrtf_use=no
57934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57935 ac_ext=c
57936 ac_cpp='$CPP $CPPFLAGS'
57937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
57946 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
57948 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
57949 for ac_func in _sqrtf
57950 do :
57951 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
57952 if test "x$ac_cv_func__sqrtf" = xyes; then :
57953 cat >>confdefs.h <<_ACEOF
57954 #define HAVE__SQRTF 1
57955 _ACEOF
57958 done
57967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
57968 $as_echo_n "checking for sincosf declaration... " >&6; }
57969 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
57970 if ${glibcxx_cv_func_sincosf_use+:} false; then :
57971 $as_echo_n "(cached) " >&6
57972 else
57975 ac_ext=cpp
57976 ac_cpp='$CXXCPP $CPPFLAGS'
57977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57982 /* end confdefs.h. */
57983 #include <math.h>
57985 main ()
57987 sincosf(0, 0, 0);
57989 return 0;
57991 _ACEOF
57992 if ac_fn_cxx_try_compile "$LINENO"; then :
57993 glibcxx_cv_func_sincosf_use=yes
57994 else
57995 glibcxx_cv_func_sincosf_use=no
57997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57998 ac_ext=c
57999 ac_cpp='$CPP $CPPFLAGS'
58000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
58009 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
58011 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
58012 for ac_func in sincosf
58013 do :
58014 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
58015 if test "x$ac_cv_func_sincosf" = xyes; then :
58016 cat >>confdefs.h <<_ACEOF
58017 #define HAVE_SINCOSF 1
58018 _ACEOF
58021 done
58023 else
58025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
58026 $as_echo_n "checking for _sincosf declaration... " >&6; }
58027 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
58028 if ${glibcxx_cv_func__sincosf_use+:} false; then :
58029 $as_echo_n "(cached) " >&6
58030 else
58033 ac_ext=cpp
58034 ac_cpp='$CXXCPP $CPPFLAGS'
58035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58040 /* end confdefs.h. */
58041 #include <math.h>
58043 main ()
58045 _sincosf(0, 0, 0);
58047 return 0;
58049 _ACEOF
58050 if ac_fn_cxx_try_compile "$LINENO"; then :
58051 glibcxx_cv_func__sincosf_use=yes
58052 else
58053 glibcxx_cv_func__sincosf_use=no
58055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58056 ac_ext=c
58057 ac_cpp='$CPP $CPPFLAGS'
58058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
58067 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
58069 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
58070 for ac_func in _sincosf
58071 do :
58072 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
58073 if test "x$ac_cv_func__sincosf" = xyes; then :
58074 cat >>confdefs.h <<_ACEOF
58075 #define HAVE__SINCOSF 1
58076 _ACEOF
58079 done
58088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
58089 $as_echo_n "checking for finitef declaration... " >&6; }
58090 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
58091 if ${glibcxx_cv_func_finitef_use+:} false; then :
58092 $as_echo_n "(cached) " >&6
58093 else
58096 ac_ext=cpp
58097 ac_cpp='$CXXCPP $CPPFLAGS'
58098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58103 /* end confdefs.h. */
58104 #include <math.h>
58105 #ifdef HAVE_IEEEFP_H
58106 #include <ieeefp.h>
58107 #endif
58110 main ()
58112 finitef(0);
58114 return 0;
58116 _ACEOF
58117 if ac_fn_cxx_try_compile "$LINENO"; then :
58118 glibcxx_cv_func_finitef_use=yes
58119 else
58120 glibcxx_cv_func_finitef_use=no
58122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58123 ac_ext=c
58124 ac_cpp='$CPP $CPPFLAGS'
58125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
58134 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
58136 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
58137 for ac_func in finitef
58138 do :
58139 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
58140 if test "x$ac_cv_func_finitef" = xyes; then :
58141 cat >>confdefs.h <<_ACEOF
58142 #define HAVE_FINITEF 1
58143 _ACEOF
58146 done
58148 else
58150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
58151 $as_echo_n "checking for _finitef declaration... " >&6; }
58152 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
58153 if ${glibcxx_cv_func__finitef_use+:} false; then :
58154 $as_echo_n "(cached) " >&6
58155 else
58158 ac_ext=cpp
58159 ac_cpp='$CXXCPP $CPPFLAGS'
58160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58165 /* end confdefs.h. */
58166 #include <math.h>
58167 #ifdef HAVE_IEEEFP_H
58168 #include <ieeefp.h>
58169 #endif
58172 main ()
58174 _finitef(0);
58176 return 0;
58178 _ACEOF
58179 if ac_fn_cxx_try_compile "$LINENO"; then :
58180 glibcxx_cv_func__finitef_use=yes
58181 else
58182 glibcxx_cv_func__finitef_use=no
58184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58185 ac_ext=c
58186 ac_cpp='$CPP $CPPFLAGS'
58187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
58196 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
58198 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
58199 for ac_func in _finitef
58200 do :
58201 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
58202 if test "x$ac_cv_func__finitef" = xyes; then :
58203 cat >>confdefs.h <<_ACEOF
58204 #define HAVE__FINITEF 1
58205 _ACEOF
58208 done
58217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
58218 $as_echo_n "checking for long double trig functions... " >&6; }
58219 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
58220 $as_echo_n "(cached) " >&6
58221 else
58224 ac_ext=cpp
58225 ac_cpp='$CXXCPP $CPPFLAGS'
58226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58231 /* end confdefs.h. */
58232 #include <math.h>
58234 main ()
58236 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
58238 return 0;
58240 _ACEOF
58241 if ac_fn_cxx_try_compile "$LINENO"; then :
58242 glibcxx_cv_func_long_double_trig_use=yes
58243 else
58244 glibcxx_cv_func_long_double_trig_use=no
58246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58247 ac_ext=c
58248 ac_cpp='$CPP $CPPFLAGS'
58249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
58256 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
58257 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
58258 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
58259 do :
58260 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58261 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58262 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58263 cat >>confdefs.h <<_ACEOF
58264 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58265 _ACEOF
58268 done
58270 else
58271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
58272 $as_echo_n "checking for _long double trig functions... " >&6; }
58273 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
58274 $as_echo_n "(cached) " >&6
58275 else
58278 ac_ext=cpp
58279 ac_cpp='$CXXCPP $CPPFLAGS'
58280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58285 /* end confdefs.h. */
58286 #include <math.h>
58288 main ()
58290 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
58292 return 0;
58294 _ACEOF
58295 if ac_fn_cxx_try_compile "$LINENO"; then :
58296 glibcxx_cv_func__long_double_trig_use=yes
58297 else
58298 glibcxx_cv_func__long_double_trig_use=no
58300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58301 ac_ext=c
58302 ac_cpp='$CPP $CPPFLAGS'
58303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
58310 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
58311 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
58312 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
58313 do :
58314 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58315 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58316 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58317 cat >>confdefs.h <<_ACEOF
58318 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58319 _ACEOF
58322 done
58331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
58332 $as_echo_n "checking for long double round functions... " >&6; }
58333 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
58334 $as_echo_n "(cached) " >&6
58335 else
58338 ac_ext=cpp
58339 ac_cpp='$CXXCPP $CPPFLAGS'
58340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58345 /* end confdefs.h. */
58346 #include <math.h>
58348 main ()
58350 ceill (0); floorl (0);
58352 return 0;
58354 _ACEOF
58355 if ac_fn_cxx_try_compile "$LINENO"; then :
58356 glibcxx_cv_func_long_double_round_use=yes
58357 else
58358 glibcxx_cv_func_long_double_round_use=no
58360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58361 ac_ext=c
58362 ac_cpp='$CPP $CPPFLAGS'
58363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
58370 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
58371 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
58372 for ac_func in ceill floorl
58373 do :
58374 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58375 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58376 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58377 cat >>confdefs.h <<_ACEOF
58378 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58379 _ACEOF
58382 done
58384 else
58385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
58386 $as_echo_n "checking for _long double round functions... " >&6; }
58387 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
58388 $as_echo_n "(cached) " >&6
58389 else
58392 ac_ext=cpp
58393 ac_cpp='$CXXCPP $CPPFLAGS'
58394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58399 /* end confdefs.h. */
58400 #include <math.h>
58402 main ()
58404 _ceill (0); _floorl (0);
58406 return 0;
58408 _ACEOF
58409 if ac_fn_cxx_try_compile "$LINENO"; then :
58410 glibcxx_cv_func__long_double_round_use=yes
58411 else
58412 glibcxx_cv_func__long_double_round_use=no
58414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58415 ac_ext=c
58416 ac_cpp='$CPP $CPPFLAGS'
58417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
58424 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
58425 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
58426 for ac_func in _ceill _floorl
58427 do :
58428 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58429 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58430 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58431 cat >>confdefs.h <<_ACEOF
58432 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58433 _ACEOF
58436 done
58446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
58447 $as_echo_n "checking for isnanl declaration... " >&6; }
58448 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
58449 if ${glibcxx_cv_func_isnanl_use+:} false; then :
58450 $as_echo_n "(cached) " >&6
58451 else
58454 ac_ext=cpp
58455 ac_cpp='$CXXCPP $CPPFLAGS'
58456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58461 /* end confdefs.h. */
58462 #include <math.h>
58463 #ifdef HAVE_IEEEFP_H
58464 #include <ieeefp.h>
58465 #endif
58468 main ()
58470 isnanl(0);
58472 return 0;
58474 _ACEOF
58475 if ac_fn_cxx_try_compile "$LINENO"; then :
58476 glibcxx_cv_func_isnanl_use=yes
58477 else
58478 glibcxx_cv_func_isnanl_use=no
58480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58481 ac_ext=c
58482 ac_cpp='$CPP $CPPFLAGS'
58483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
58492 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
58494 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
58495 for ac_func in isnanl
58496 do :
58497 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
58498 if test "x$ac_cv_func_isnanl" = xyes; then :
58499 cat >>confdefs.h <<_ACEOF
58500 #define HAVE_ISNANL 1
58501 _ACEOF
58504 done
58506 else
58508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
58509 $as_echo_n "checking for _isnanl declaration... " >&6; }
58510 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
58511 if ${glibcxx_cv_func__isnanl_use+:} false; then :
58512 $as_echo_n "(cached) " >&6
58513 else
58516 ac_ext=cpp
58517 ac_cpp='$CXXCPP $CPPFLAGS'
58518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58523 /* end confdefs.h. */
58524 #include <math.h>
58525 #ifdef HAVE_IEEEFP_H
58526 #include <ieeefp.h>
58527 #endif
58530 main ()
58532 _isnanl(0);
58534 return 0;
58536 _ACEOF
58537 if ac_fn_cxx_try_compile "$LINENO"; then :
58538 glibcxx_cv_func__isnanl_use=yes
58539 else
58540 glibcxx_cv_func__isnanl_use=no
58542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58543 ac_ext=c
58544 ac_cpp='$CPP $CPPFLAGS'
58545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
58554 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
58556 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
58557 for ac_func in _isnanl
58558 do :
58559 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
58560 if test "x$ac_cv_func__isnanl" = xyes; then :
58561 cat >>confdefs.h <<_ACEOF
58562 #define HAVE__ISNANL 1
58563 _ACEOF
58566 done
58575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
58576 $as_echo_n "checking for isinfl declaration... " >&6; }
58577 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
58578 if ${glibcxx_cv_func_isinfl_use+:} false; then :
58579 $as_echo_n "(cached) " >&6
58580 else
58583 ac_ext=cpp
58584 ac_cpp='$CXXCPP $CPPFLAGS'
58585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58590 /* end confdefs.h. */
58591 #include <math.h>
58592 #ifdef HAVE_IEEEFP_H
58593 #include <ieeefp.h>
58594 #endif
58597 main ()
58599 isinfl(0);
58601 return 0;
58603 _ACEOF
58604 if ac_fn_cxx_try_compile "$LINENO"; then :
58605 glibcxx_cv_func_isinfl_use=yes
58606 else
58607 glibcxx_cv_func_isinfl_use=no
58609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58610 ac_ext=c
58611 ac_cpp='$CPP $CPPFLAGS'
58612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
58621 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
58623 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
58624 for ac_func in isinfl
58625 do :
58626 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
58627 if test "x$ac_cv_func_isinfl" = xyes; then :
58628 cat >>confdefs.h <<_ACEOF
58629 #define HAVE_ISINFL 1
58630 _ACEOF
58633 done
58635 else
58637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
58638 $as_echo_n "checking for _isinfl declaration... " >&6; }
58639 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
58640 if ${glibcxx_cv_func__isinfl_use+:} false; then :
58641 $as_echo_n "(cached) " >&6
58642 else
58645 ac_ext=cpp
58646 ac_cpp='$CXXCPP $CPPFLAGS'
58647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58652 /* end confdefs.h. */
58653 #include <math.h>
58654 #ifdef HAVE_IEEEFP_H
58655 #include <ieeefp.h>
58656 #endif
58659 main ()
58661 _isinfl(0);
58663 return 0;
58665 _ACEOF
58666 if ac_fn_cxx_try_compile "$LINENO"; then :
58667 glibcxx_cv_func__isinfl_use=yes
58668 else
58669 glibcxx_cv_func__isinfl_use=no
58671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58672 ac_ext=c
58673 ac_cpp='$CPP $CPPFLAGS'
58674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
58683 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
58685 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
58686 for ac_func in _isinfl
58687 do :
58688 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
58689 if test "x$ac_cv_func__isinfl" = xyes; then :
58690 cat >>confdefs.h <<_ACEOF
58691 #define HAVE__ISINFL 1
58692 _ACEOF
58695 done
58704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
58705 $as_echo_n "checking for atan2l declaration... " >&6; }
58706 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
58707 if ${glibcxx_cv_func_atan2l_use+:} false; then :
58708 $as_echo_n "(cached) " >&6
58709 else
58712 ac_ext=cpp
58713 ac_cpp='$CXXCPP $CPPFLAGS'
58714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58719 /* end confdefs.h. */
58720 #include <math.h>
58722 main ()
58724 atan2l(0, 0);
58726 return 0;
58728 _ACEOF
58729 if ac_fn_cxx_try_compile "$LINENO"; then :
58730 glibcxx_cv_func_atan2l_use=yes
58731 else
58732 glibcxx_cv_func_atan2l_use=no
58734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58735 ac_ext=c
58736 ac_cpp='$CPP $CPPFLAGS'
58737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
58746 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
58748 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
58749 for ac_func in atan2l
58750 do :
58751 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
58752 if test "x$ac_cv_func_atan2l" = xyes; then :
58753 cat >>confdefs.h <<_ACEOF
58754 #define HAVE_ATAN2L 1
58755 _ACEOF
58758 done
58760 else
58762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
58763 $as_echo_n "checking for _atan2l declaration... " >&6; }
58764 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
58765 if ${glibcxx_cv_func__atan2l_use+:} false; then :
58766 $as_echo_n "(cached) " >&6
58767 else
58770 ac_ext=cpp
58771 ac_cpp='$CXXCPP $CPPFLAGS'
58772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58777 /* end confdefs.h. */
58778 #include <math.h>
58780 main ()
58782 _atan2l(0, 0);
58784 return 0;
58786 _ACEOF
58787 if ac_fn_cxx_try_compile "$LINENO"; then :
58788 glibcxx_cv_func__atan2l_use=yes
58789 else
58790 glibcxx_cv_func__atan2l_use=no
58792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58793 ac_ext=c
58794 ac_cpp='$CPP $CPPFLAGS'
58795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
58804 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
58806 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
58807 for ac_func in _atan2l
58808 do :
58809 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
58810 if test "x$ac_cv_func__atan2l" = xyes; then :
58811 cat >>confdefs.h <<_ACEOF
58812 #define HAVE__ATAN2L 1
58813 _ACEOF
58816 done
58825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
58826 $as_echo_n "checking for expl declaration... " >&6; }
58827 if test x${glibcxx_cv_func_expl_use+set} != xset; then
58828 if ${glibcxx_cv_func_expl_use+:} false; then :
58829 $as_echo_n "(cached) " >&6
58830 else
58833 ac_ext=cpp
58834 ac_cpp='$CXXCPP $CPPFLAGS'
58835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58840 /* end confdefs.h. */
58841 #include <math.h>
58842 #ifdef HAVE_IEEEFP_H
58843 #include <ieeefp.h>
58844 #endif
58847 main ()
58849 expl(0);
58851 return 0;
58853 _ACEOF
58854 if ac_fn_cxx_try_compile "$LINENO"; then :
58855 glibcxx_cv_func_expl_use=yes
58856 else
58857 glibcxx_cv_func_expl_use=no
58859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58860 ac_ext=c
58861 ac_cpp='$CPP $CPPFLAGS'
58862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
58871 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
58873 if test x$glibcxx_cv_func_expl_use = x"yes"; then
58874 for ac_func in expl
58875 do :
58876 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
58877 if test "x$ac_cv_func_expl" = xyes; then :
58878 cat >>confdefs.h <<_ACEOF
58879 #define HAVE_EXPL 1
58880 _ACEOF
58883 done
58885 else
58887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
58888 $as_echo_n "checking for _expl declaration... " >&6; }
58889 if test x${glibcxx_cv_func__expl_use+set} != xset; then
58890 if ${glibcxx_cv_func__expl_use+:} false; then :
58891 $as_echo_n "(cached) " >&6
58892 else
58895 ac_ext=cpp
58896 ac_cpp='$CXXCPP $CPPFLAGS'
58897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58902 /* end confdefs.h. */
58903 #include <math.h>
58904 #ifdef HAVE_IEEEFP_H
58905 #include <ieeefp.h>
58906 #endif
58909 main ()
58911 _expl(0);
58913 return 0;
58915 _ACEOF
58916 if ac_fn_cxx_try_compile "$LINENO"; then :
58917 glibcxx_cv_func__expl_use=yes
58918 else
58919 glibcxx_cv_func__expl_use=no
58921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58922 ac_ext=c
58923 ac_cpp='$CPP $CPPFLAGS'
58924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
58933 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
58935 if test x$glibcxx_cv_func__expl_use = x"yes"; then
58936 for ac_func in _expl
58937 do :
58938 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
58939 if test "x$ac_cv_func__expl" = xyes; then :
58940 cat >>confdefs.h <<_ACEOF
58941 #define HAVE__EXPL 1
58942 _ACEOF
58945 done
58954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
58955 $as_echo_n "checking for fabsl declaration... " >&6; }
58956 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
58957 if ${glibcxx_cv_func_fabsl_use+:} false; then :
58958 $as_echo_n "(cached) " >&6
58959 else
58962 ac_ext=cpp
58963 ac_cpp='$CXXCPP $CPPFLAGS'
58964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58969 /* end confdefs.h. */
58970 #include <math.h>
58971 #ifdef HAVE_IEEEFP_H
58972 #include <ieeefp.h>
58973 #endif
58976 main ()
58978 fabsl(0);
58980 return 0;
58982 _ACEOF
58983 if ac_fn_cxx_try_compile "$LINENO"; then :
58984 glibcxx_cv_func_fabsl_use=yes
58985 else
58986 glibcxx_cv_func_fabsl_use=no
58988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58989 ac_ext=c
58990 ac_cpp='$CPP $CPPFLAGS'
58991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
59000 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
59002 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
59003 for ac_func in fabsl
59004 do :
59005 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
59006 if test "x$ac_cv_func_fabsl" = xyes; then :
59007 cat >>confdefs.h <<_ACEOF
59008 #define HAVE_FABSL 1
59009 _ACEOF
59012 done
59014 else
59016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
59017 $as_echo_n "checking for _fabsl declaration... " >&6; }
59018 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
59019 if ${glibcxx_cv_func__fabsl_use+:} false; then :
59020 $as_echo_n "(cached) " >&6
59021 else
59024 ac_ext=cpp
59025 ac_cpp='$CXXCPP $CPPFLAGS'
59026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59031 /* end confdefs.h. */
59032 #include <math.h>
59033 #ifdef HAVE_IEEEFP_H
59034 #include <ieeefp.h>
59035 #endif
59038 main ()
59040 _fabsl(0);
59042 return 0;
59044 _ACEOF
59045 if ac_fn_cxx_try_compile "$LINENO"; then :
59046 glibcxx_cv_func__fabsl_use=yes
59047 else
59048 glibcxx_cv_func__fabsl_use=no
59050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59051 ac_ext=c
59052 ac_cpp='$CPP $CPPFLAGS'
59053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
59062 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
59064 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
59065 for ac_func in _fabsl
59066 do :
59067 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
59068 if test "x$ac_cv_func__fabsl" = xyes; then :
59069 cat >>confdefs.h <<_ACEOF
59070 #define HAVE__FABSL 1
59071 _ACEOF
59074 done
59083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
59084 $as_echo_n "checking for fmodl declaration... " >&6; }
59085 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
59086 if ${glibcxx_cv_func_fmodl_use+:} false; then :
59087 $as_echo_n "(cached) " >&6
59088 else
59091 ac_ext=cpp
59092 ac_cpp='$CXXCPP $CPPFLAGS'
59093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59098 /* end confdefs.h. */
59099 #include <math.h>
59101 main ()
59103 fmodl(0, 0);
59105 return 0;
59107 _ACEOF
59108 if ac_fn_cxx_try_compile "$LINENO"; then :
59109 glibcxx_cv_func_fmodl_use=yes
59110 else
59111 glibcxx_cv_func_fmodl_use=no
59113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59114 ac_ext=c
59115 ac_cpp='$CPP $CPPFLAGS'
59116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
59125 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
59127 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
59128 for ac_func in fmodl
59129 do :
59130 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
59131 if test "x$ac_cv_func_fmodl" = xyes; then :
59132 cat >>confdefs.h <<_ACEOF
59133 #define HAVE_FMODL 1
59134 _ACEOF
59137 done
59139 else
59141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
59142 $as_echo_n "checking for _fmodl declaration... " >&6; }
59143 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
59144 if ${glibcxx_cv_func__fmodl_use+:} false; then :
59145 $as_echo_n "(cached) " >&6
59146 else
59149 ac_ext=cpp
59150 ac_cpp='$CXXCPP $CPPFLAGS'
59151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59156 /* end confdefs.h. */
59157 #include <math.h>
59159 main ()
59161 _fmodl(0, 0);
59163 return 0;
59165 _ACEOF
59166 if ac_fn_cxx_try_compile "$LINENO"; then :
59167 glibcxx_cv_func__fmodl_use=yes
59168 else
59169 glibcxx_cv_func__fmodl_use=no
59171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59172 ac_ext=c
59173 ac_cpp='$CPP $CPPFLAGS'
59174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
59183 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
59185 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
59186 for ac_func in _fmodl
59187 do :
59188 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
59189 if test "x$ac_cv_func__fmodl" = xyes; then :
59190 cat >>confdefs.h <<_ACEOF
59191 #define HAVE__FMODL 1
59192 _ACEOF
59195 done
59204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
59205 $as_echo_n "checking for frexpl declaration... " >&6; }
59206 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
59207 if ${glibcxx_cv_func_frexpl_use+:} false; then :
59208 $as_echo_n "(cached) " >&6
59209 else
59212 ac_ext=cpp
59213 ac_cpp='$CXXCPP $CPPFLAGS'
59214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59219 /* end confdefs.h. */
59220 #include <math.h>
59222 main ()
59224 frexpl(0, 0);
59226 return 0;
59228 _ACEOF
59229 if ac_fn_cxx_try_compile "$LINENO"; then :
59230 glibcxx_cv_func_frexpl_use=yes
59231 else
59232 glibcxx_cv_func_frexpl_use=no
59234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59235 ac_ext=c
59236 ac_cpp='$CPP $CPPFLAGS'
59237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
59246 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
59248 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
59249 for ac_func in frexpl
59250 do :
59251 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
59252 if test "x$ac_cv_func_frexpl" = xyes; then :
59253 cat >>confdefs.h <<_ACEOF
59254 #define HAVE_FREXPL 1
59255 _ACEOF
59258 done
59260 else
59262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
59263 $as_echo_n "checking for _frexpl declaration... " >&6; }
59264 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
59265 if ${glibcxx_cv_func__frexpl_use+:} false; then :
59266 $as_echo_n "(cached) " >&6
59267 else
59270 ac_ext=cpp
59271 ac_cpp='$CXXCPP $CPPFLAGS'
59272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59277 /* end confdefs.h. */
59278 #include <math.h>
59280 main ()
59282 _frexpl(0, 0);
59284 return 0;
59286 _ACEOF
59287 if ac_fn_cxx_try_compile "$LINENO"; then :
59288 glibcxx_cv_func__frexpl_use=yes
59289 else
59290 glibcxx_cv_func__frexpl_use=no
59292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59293 ac_ext=c
59294 ac_cpp='$CPP $CPPFLAGS'
59295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
59304 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
59306 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
59307 for ac_func in _frexpl
59308 do :
59309 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
59310 if test "x$ac_cv_func__frexpl" = xyes; then :
59311 cat >>confdefs.h <<_ACEOF
59312 #define HAVE__FREXPL 1
59313 _ACEOF
59316 done
59325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
59326 $as_echo_n "checking for hypotl declaration... " >&6; }
59327 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
59328 if ${glibcxx_cv_func_hypotl_use+:} false; then :
59329 $as_echo_n "(cached) " >&6
59330 else
59333 ac_ext=cpp
59334 ac_cpp='$CXXCPP $CPPFLAGS'
59335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59340 /* end confdefs.h. */
59341 #include <math.h>
59343 main ()
59345 hypotl(0, 0);
59347 return 0;
59349 _ACEOF
59350 if ac_fn_cxx_try_compile "$LINENO"; then :
59351 glibcxx_cv_func_hypotl_use=yes
59352 else
59353 glibcxx_cv_func_hypotl_use=no
59355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59356 ac_ext=c
59357 ac_cpp='$CPP $CPPFLAGS'
59358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
59367 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
59369 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
59370 for ac_func in hypotl
59371 do :
59372 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
59373 if test "x$ac_cv_func_hypotl" = xyes; then :
59374 cat >>confdefs.h <<_ACEOF
59375 #define HAVE_HYPOTL 1
59376 _ACEOF
59379 done
59381 else
59383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
59384 $as_echo_n "checking for _hypotl declaration... " >&6; }
59385 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
59386 if ${glibcxx_cv_func__hypotl_use+:} false; then :
59387 $as_echo_n "(cached) " >&6
59388 else
59391 ac_ext=cpp
59392 ac_cpp='$CXXCPP $CPPFLAGS'
59393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59398 /* end confdefs.h. */
59399 #include <math.h>
59401 main ()
59403 _hypotl(0, 0);
59405 return 0;
59407 _ACEOF
59408 if ac_fn_cxx_try_compile "$LINENO"; then :
59409 glibcxx_cv_func__hypotl_use=yes
59410 else
59411 glibcxx_cv_func__hypotl_use=no
59413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59414 ac_ext=c
59415 ac_cpp='$CPP $CPPFLAGS'
59416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
59425 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
59427 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
59428 for ac_func in _hypotl
59429 do :
59430 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
59431 if test "x$ac_cv_func__hypotl" = xyes; then :
59432 cat >>confdefs.h <<_ACEOF
59433 #define HAVE__HYPOTL 1
59434 _ACEOF
59437 done
59446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
59447 $as_echo_n "checking for ldexpl declaration... " >&6; }
59448 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
59449 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
59450 $as_echo_n "(cached) " >&6
59451 else
59454 ac_ext=cpp
59455 ac_cpp='$CXXCPP $CPPFLAGS'
59456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59461 /* end confdefs.h. */
59462 #include <math.h>
59464 main ()
59466 ldexpl(0, 0);
59468 return 0;
59470 _ACEOF
59471 if ac_fn_cxx_try_compile "$LINENO"; then :
59472 glibcxx_cv_func_ldexpl_use=yes
59473 else
59474 glibcxx_cv_func_ldexpl_use=no
59476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59477 ac_ext=c
59478 ac_cpp='$CPP $CPPFLAGS'
59479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
59488 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
59490 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
59491 for ac_func in ldexpl
59492 do :
59493 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
59494 if test "x$ac_cv_func_ldexpl" = xyes; then :
59495 cat >>confdefs.h <<_ACEOF
59496 #define HAVE_LDEXPL 1
59497 _ACEOF
59500 done
59502 else
59504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
59505 $as_echo_n "checking for _ldexpl declaration... " >&6; }
59506 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
59507 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
59508 $as_echo_n "(cached) " >&6
59509 else
59512 ac_ext=cpp
59513 ac_cpp='$CXXCPP $CPPFLAGS'
59514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59519 /* end confdefs.h. */
59520 #include <math.h>
59522 main ()
59524 _ldexpl(0, 0);
59526 return 0;
59528 _ACEOF
59529 if ac_fn_cxx_try_compile "$LINENO"; then :
59530 glibcxx_cv_func__ldexpl_use=yes
59531 else
59532 glibcxx_cv_func__ldexpl_use=no
59534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59535 ac_ext=c
59536 ac_cpp='$CPP $CPPFLAGS'
59537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
59546 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
59548 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
59549 for ac_func in _ldexpl
59550 do :
59551 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
59552 if test "x$ac_cv_func__ldexpl" = xyes; then :
59553 cat >>confdefs.h <<_ACEOF
59554 #define HAVE__LDEXPL 1
59555 _ACEOF
59558 done
59567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
59568 $as_echo_n "checking for logl declaration... " >&6; }
59569 if test x${glibcxx_cv_func_logl_use+set} != xset; then
59570 if ${glibcxx_cv_func_logl_use+:} false; then :
59571 $as_echo_n "(cached) " >&6
59572 else
59575 ac_ext=cpp
59576 ac_cpp='$CXXCPP $CPPFLAGS'
59577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59582 /* end confdefs.h. */
59583 #include <math.h>
59584 #ifdef HAVE_IEEEFP_H
59585 #include <ieeefp.h>
59586 #endif
59589 main ()
59591 logl(0);
59593 return 0;
59595 _ACEOF
59596 if ac_fn_cxx_try_compile "$LINENO"; then :
59597 glibcxx_cv_func_logl_use=yes
59598 else
59599 glibcxx_cv_func_logl_use=no
59601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59602 ac_ext=c
59603 ac_cpp='$CPP $CPPFLAGS'
59604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
59613 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
59615 if test x$glibcxx_cv_func_logl_use = x"yes"; then
59616 for ac_func in logl
59617 do :
59618 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
59619 if test "x$ac_cv_func_logl" = xyes; then :
59620 cat >>confdefs.h <<_ACEOF
59621 #define HAVE_LOGL 1
59622 _ACEOF
59625 done
59627 else
59629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
59630 $as_echo_n "checking for _logl declaration... " >&6; }
59631 if test x${glibcxx_cv_func__logl_use+set} != xset; then
59632 if ${glibcxx_cv_func__logl_use+:} false; then :
59633 $as_echo_n "(cached) " >&6
59634 else
59637 ac_ext=cpp
59638 ac_cpp='$CXXCPP $CPPFLAGS'
59639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59644 /* end confdefs.h. */
59645 #include <math.h>
59646 #ifdef HAVE_IEEEFP_H
59647 #include <ieeefp.h>
59648 #endif
59651 main ()
59653 _logl(0);
59655 return 0;
59657 _ACEOF
59658 if ac_fn_cxx_try_compile "$LINENO"; then :
59659 glibcxx_cv_func__logl_use=yes
59660 else
59661 glibcxx_cv_func__logl_use=no
59663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59664 ac_ext=c
59665 ac_cpp='$CPP $CPPFLAGS'
59666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
59675 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
59677 if test x$glibcxx_cv_func__logl_use = x"yes"; then
59678 for ac_func in _logl
59679 do :
59680 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
59681 if test "x$ac_cv_func__logl" = xyes; then :
59682 cat >>confdefs.h <<_ACEOF
59683 #define HAVE__LOGL 1
59684 _ACEOF
59687 done
59696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
59697 $as_echo_n "checking for log10l declaration... " >&6; }
59698 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
59699 if ${glibcxx_cv_func_log10l_use+:} false; then :
59700 $as_echo_n "(cached) " >&6
59701 else
59704 ac_ext=cpp
59705 ac_cpp='$CXXCPP $CPPFLAGS'
59706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59711 /* end confdefs.h. */
59712 #include <math.h>
59713 #ifdef HAVE_IEEEFP_H
59714 #include <ieeefp.h>
59715 #endif
59718 main ()
59720 log10l(0);
59722 return 0;
59724 _ACEOF
59725 if ac_fn_cxx_try_compile "$LINENO"; then :
59726 glibcxx_cv_func_log10l_use=yes
59727 else
59728 glibcxx_cv_func_log10l_use=no
59730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59731 ac_ext=c
59732 ac_cpp='$CPP $CPPFLAGS'
59733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
59742 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
59744 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
59745 for ac_func in log10l
59746 do :
59747 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
59748 if test "x$ac_cv_func_log10l" = xyes; then :
59749 cat >>confdefs.h <<_ACEOF
59750 #define HAVE_LOG10L 1
59751 _ACEOF
59754 done
59756 else
59758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
59759 $as_echo_n "checking for _log10l declaration... " >&6; }
59760 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
59761 if ${glibcxx_cv_func__log10l_use+:} false; then :
59762 $as_echo_n "(cached) " >&6
59763 else
59766 ac_ext=cpp
59767 ac_cpp='$CXXCPP $CPPFLAGS'
59768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59773 /* end confdefs.h. */
59774 #include <math.h>
59775 #ifdef HAVE_IEEEFP_H
59776 #include <ieeefp.h>
59777 #endif
59780 main ()
59782 _log10l(0);
59784 return 0;
59786 _ACEOF
59787 if ac_fn_cxx_try_compile "$LINENO"; then :
59788 glibcxx_cv_func__log10l_use=yes
59789 else
59790 glibcxx_cv_func__log10l_use=no
59792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59793 ac_ext=c
59794 ac_cpp='$CPP $CPPFLAGS'
59795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
59804 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
59806 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
59807 for ac_func in _log10l
59808 do :
59809 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
59810 if test "x$ac_cv_func__log10l" = xyes; then :
59811 cat >>confdefs.h <<_ACEOF
59812 #define HAVE__LOG10L 1
59813 _ACEOF
59816 done
59825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
59826 $as_echo_n "checking for modfl declaration... " >&6; }
59827 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
59828 if ${glibcxx_cv_func_modfl_use+:} false; then :
59829 $as_echo_n "(cached) " >&6
59830 else
59833 ac_ext=cpp
59834 ac_cpp='$CXXCPP $CPPFLAGS'
59835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59840 /* end confdefs.h. */
59841 #include <math.h>
59843 main ()
59845 modfl(0, 0);
59847 return 0;
59849 _ACEOF
59850 if ac_fn_cxx_try_compile "$LINENO"; then :
59851 glibcxx_cv_func_modfl_use=yes
59852 else
59853 glibcxx_cv_func_modfl_use=no
59855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59856 ac_ext=c
59857 ac_cpp='$CPP $CPPFLAGS'
59858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
59867 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
59869 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
59870 for ac_func in modfl
59871 do :
59872 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
59873 if test "x$ac_cv_func_modfl" = xyes; then :
59874 cat >>confdefs.h <<_ACEOF
59875 #define HAVE_MODFL 1
59876 _ACEOF
59879 done
59881 else
59883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
59884 $as_echo_n "checking for _modfl declaration... " >&6; }
59885 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
59886 if ${glibcxx_cv_func__modfl_use+:} false; then :
59887 $as_echo_n "(cached) " >&6
59888 else
59891 ac_ext=cpp
59892 ac_cpp='$CXXCPP $CPPFLAGS'
59893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59898 /* end confdefs.h. */
59899 #include <math.h>
59901 main ()
59903 _modfl(0, 0);
59905 return 0;
59907 _ACEOF
59908 if ac_fn_cxx_try_compile "$LINENO"; then :
59909 glibcxx_cv_func__modfl_use=yes
59910 else
59911 glibcxx_cv_func__modfl_use=no
59913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59914 ac_ext=c
59915 ac_cpp='$CPP $CPPFLAGS'
59916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
59925 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
59927 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
59928 for ac_func in _modfl
59929 do :
59930 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
59931 if test "x$ac_cv_func__modfl" = xyes; then :
59932 cat >>confdefs.h <<_ACEOF
59933 #define HAVE__MODFL 1
59934 _ACEOF
59937 done
59946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
59947 $as_echo_n "checking for powl declaration... " >&6; }
59948 if test x${glibcxx_cv_func_powl_use+set} != xset; then
59949 if ${glibcxx_cv_func_powl_use+:} false; then :
59950 $as_echo_n "(cached) " >&6
59951 else
59954 ac_ext=cpp
59955 ac_cpp='$CXXCPP $CPPFLAGS'
59956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59961 /* end confdefs.h. */
59962 #include <math.h>
59964 main ()
59966 powl(0, 0);
59968 return 0;
59970 _ACEOF
59971 if ac_fn_cxx_try_compile "$LINENO"; then :
59972 glibcxx_cv_func_powl_use=yes
59973 else
59974 glibcxx_cv_func_powl_use=no
59976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59977 ac_ext=c
59978 ac_cpp='$CPP $CPPFLAGS'
59979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
59988 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
59990 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59991 for ac_func in powl
59992 do :
59993 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
59994 if test "x$ac_cv_func_powl" = xyes; then :
59995 cat >>confdefs.h <<_ACEOF
59996 #define HAVE_POWL 1
59997 _ACEOF
60000 done
60002 else
60004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
60005 $as_echo_n "checking for _powl declaration... " >&6; }
60006 if test x${glibcxx_cv_func__powl_use+set} != xset; then
60007 if ${glibcxx_cv_func__powl_use+:} false; then :
60008 $as_echo_n "(cached) " >&6
60009 else
60012 ac_ext=cpp
60013 ac_cpp='$CXXCPP $CPPFLAGS'
60014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60019 /* end confdefs.h. */
60020 #include <math.h>
60022 main ()
60024 _powl(0, 0);
60026 return 0;
60028 _ACEOF
60029 if ac_fn_cxx_try_compile "$LINENO"; then :
60030 glibcxx_cv_func__powl_use=yes
60031 else
60032 glibcxx_cv_func__powl_use=no
60034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60035 ac_ext=c
60036 ac_cpp='$CPP $CPPFLAGS'
60037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
60046 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
60048 if test x$glibcxx_cv_func__powl_use = x"yes"; then
60049 for ac_func in _powl
60050 do :
60051 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
60052 if test "x$ac_cv_func__powl" = xyes; then :
60053 cat >>confdefs.h <<_ACEOF
60054 #define HAVE__POWL 1
60055 _ACEOF
60058 done
60067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
60068 $as_echo_n "checking for sqrtl declaration... " >&6; }
60069 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
60070 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
60071 $as_echo_n "(cached) " >&6
60072 else
60075 ac_ext=cpp
60076 ac_cpp='$CXXCPP $CPPFLAGS'
60077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60082 /* end confdefs.h. */
60083 #include <math.h>
60084 #ifdef HAVE_IEEEFP_H
60085 #include <ieeefp.h>
60086 #endif
60089 main ()
60091 sqrtl(0);
60093 return 0;
60095 _ACEOF
60096 if ac_fn_cxx_try_compile "$LINENO"; then :
60097 glibcxx_cv_func_sqrtl_use=yes
60098 else
60099 glibcxx_cv_func_sqrtl_use=no
60101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60102 ac_ext=c
60103 ac_cpp='$CPP $CPPFLAGS'
60104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
60113 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
60115 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
60116 for ac_func in sqrtl
60117 do :
60118 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
60119 if test "x$ac_cv_func_sqrtl" = xyes; then :
60120 cat >>confdefs.h <<_ACEOF
60121 #define HAVE_SQRTL 1
60122 _ACEOF
60125 done
60127 else
60129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
60130 $as_echo_n "checking for _sqrtl declaration... " >&6; }
60131 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
60132 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
60133 $as_echo_n "(cached) " >&6
60134 else
60137 ac_ext=cpp
60138 ac_cpp='$CXXCPP $CPPFLAGS'
60139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60144 /* end confdefs.h. */
60145 #include <math.h>
60146 #ifdef HAVE_IEEEFP_H
60147 #include <ieeefp.h>
60148 #endif
60151 main ()
60153 _sqrtl(0);
60155 return 0;
60157 _ACEOF
60158 if ac_fn_cxx_try_compile "$LINENO"; then :
60159 glibcxx_cv_func__sqrtl_use=yes
60160 else
60161 glibcxx_cv_func__sqrtl_use=no
60163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60164 ac_ext=c
60165 ac_cpp='$CPP $CPPFLAGS'
60166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
60175 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
60177 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
60178 for ac_func in _sqrtl
60179 do :
60180 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
60181 if test "x$ac_cv_func__sqrtl" = xyes; then :
60182 cat >>confdefs.h <<_ACEOF
60183 #define HAVE__SQRTL 1
60184 _ACEOF
60187 done
60196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
60197 $as_echo_n "checking for sincosl declaration... " >&6; }
60198 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
60199 if ${glibcxx_cv_func_sincosl_use+:} false; then :
60200 $as_echo_n "(cached) " >&6
60201 else
60204 ac_ext=cpp
60205 ac_cpp='$CXXCPP $CPPFLAGS'
60206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60211 /* end confdefs.h. */
60212 #include <math.h>
60214 main ()
60216 sincosl(0, 0, 0);
60218 return 0;
60220 _ACEOF
60221 if ac_fn_cxx_try_compile "$LINENO"; then :
60222 glibcxx_cv_func_sincosl_use=yes
60223 else
60224 glibcxx_cv_func_sincosl_use=no
60226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60227 ac_ext=c
60228 ac_cpp='$CPP $CPPFLAGS'
60229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
60238 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
60240 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
60241 for ac_func in sincosl
60242 do :
60243 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
60244 if test "x$ac_cv_func_sincosl" = xyes; then :
60245 cat >>confdefs.h <<_ACEOF
60246 #define HAVE_SINCOSL 1
60247 _ACEOF
60250 done
60252 else
60254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
60255 $as_echo_n "checking for _sincosl declaration... " >&6; }
60256 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
60257 if ${glibcxx_cv_func__sincosl_use+:} false; then :
60258 $as_echo_n "(cached) " >&6
60259 else
60262 ac_ext=cpp
60263 ac_cpp='$CXXCPP $CPPFLAGS'
60264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60269 /* end confdefs.h. */
60270 #include <math.h>
60272 main ()
60274 _sincosl(0, 0, 0);
60276 return 0;
60278 _ACEOF
60279 if ac_fn_cxx_try_compile "$LINENO"; then :
60280 glibcxx_cv_func__sincosl_use=yes
60281 else
60282 glibcxx_cv_func__sincosl_use=no
60284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60285 ac_ext=c
60286 ac_cpp='$CPP $CPPFLAGS'
60287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
60296 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
60298 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
60299 for ac_func in _sincosl
60300 do :
60301 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
60302 if test "x$ac_cv_func__sincosl" = xyes; then :
60303 cat >>confdefs.h <<_ACEOF
60304 #define HAVE__SINCOSL 1
60305 _ACEOF
60308 done
60317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
60318 $as_echo_n "checking for finitel declaration... " >&6; }
60319 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
60320 if ${glibcxx_cv_func_finitel_use+:} false; then :
60321 $as_echo_n "(cached) " >&6
60322 else
60325 ac_ext=cpp
60326 ac_cpp='$CXXCPP $CPPFLAGS'
60327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60332 /* end confdefs.h. */
60333 #include <math.h>
60334 #ifdef HAVE_IEEEFP_H
60335 #include <ieeefp.h>
60336 #endif
60339 main ()
60341 finitel(0);
60343 return 0;
60345 _ACEOF
60346 if ac_fn_cxx_try_compile "$LINENO"; then :
60347 glibcxx_cv_func_finitel_use=yes
60348 else
60349 glibcxx_cv_func_finitel_use=no
60351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60352 ac_ext=c
60353 ac_cpp='$CPP $CPPFLAGS'
60354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
60363 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
60365 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
60366 for ac_func in finitel
60367 do :
60368 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
60369 if test "x$ac_cv_func_finitel" = xyes; then :
60370 cat >>confdefs.h <<_ACEOF
60371 #define HAVE_FINITEL 1
60372 _ACEOF
60375 done
60377 else
60379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
60380 $as_echo_n "checking for _finitel declaration... " >&6; }
60381 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
60382 if ${glibcxx_cv_func__finitel_use+:} false; then :
60383 $as_echo_n "(cached) " >&6
60384 else
60387 ac_ext=cpp
60388 ac_cpp='$CXXCPP $CPPFLAGS'
60389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60394 /* end confdefs.h. */
60395 #include <math.h>
60396 #ifdef HAVE_IEEEFP_H
60397 #include <ieeefp.h>
60398 #endif
60401 main ()
60403 _finitel(0);
60405 return 0;
60407 _ACEOF
60408 if ac_fn_cxx_try_compile "$LINENO"; then :
60409 glibcxx_cv_func__finitel_use=yes
60410 else
60411 glibcxx_cv_func__finitel_use=no
60413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60414 ac_ext=c
60415 ac_cpp='$CPP $CPPFLAGS'
60416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
60425 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
60427 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
60428 for ac_func in _finitel
60429 do :
60430 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
60431 if test "x$ac_cv_func__finitel" = xyes; then :
60432 cat >>confdefs.h <<_ACEOF
60433 #define HAVE__FINITEL 1
60434 _ACEOF
60437 done
60445 LIBS="$ac_save_LIBS"
60446 CXXFLAGS="$ac_save_CXXFLAGS"
60449 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60450 ac_save_CXXFLAGS="$CXXFLAGS"
60451 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
60455 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
60456 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
60457 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
60458 $as_echo_n "(cached) " >&6
60459 else
60462 ac_ext=cpp
60463 ac_cpp='$CXXCPP $CPPFLAGS'
60464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60469 /* end confdefs.h. */
60470 #include <stdlib.h>
60472 main ()
60474 at_quick_exit(0);
60476 return 0;
60478 _ACEOF
60479 if ac_fn_cxx_try_compile "$LINENO"; then :
60480 glibcxx_cv_func_at_quick_exit_use=yes
60481 else
60482 glibcxx_cv_func_at_quick_exit_use=no
60484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60485 ac_ext=c
60486 ac_cpp='$CPP $CPPFLAGS'
60487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
60496 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
60497 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
60498 for ac_func in at_quick_exit
60499 do :
60500 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
60501 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
60502 cat >>confdefs.h <<_ACEOF
60503 #define HAVE_AT_QUICK_EXIT 1
60504 _ACEOF
60507 done
60512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
60513 $as_echo_n "checking for quick_exit declaration... " >&6; }
60514 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
60515 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
60516 $as_echo_n "(cached) " >&6
60517 else
60520 ac_ext=cpp
60521 ac_cpp='$CXXCPP $CPPFLAGS'
60522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60527 /* end confdefs.h. */
60528 #include <stdlib.h>
60530 main ()
60532 quick_exit(0);
60534 return 0;
60536 _ACEOF
60537 if ac_fn_cxx_try_compile "$LINENO"; then :
60538 glibcxx_cv_func_quick_exit_use=yes
60539 else
60540 glibcxx_cv_func_quick_exit_use=no
60542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60543 ac_ext=c
60544 ac_cpp='$CPP $CPPFLAGS'
60545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
60554 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
60555 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
60556 for ac_func in quick_exit
60557 do :
60558 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
60559 if test "x$ac_cv_func_quick_exit" = xyes; then :
60560 cat >>confdefs.h <<_ACEOF
60561 #define HAVE_QUICK_EXIT 1
60562 _ACEOF
60565 done
60570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
60571 $as_echo_n "checking for strtold declaration... " >&6; }
60572 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
60573 if ${glibcxx_cv_func_strtold_use+:} false; then :
60574 $as_echo_n "(cached) " >&6
60575 else
60578 ac_ext=cpp
60579 ac_cpp='$CXXCPP $CPPFLAGS'
60580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60585 /* end confdefs.h. */
60586 #include <stdlib.h>
60588 main ()
60590 strtold(0, 0);
60592 return 0;
60594 _ACEOF
60595 if ac_fn_cxx_try_compile "$LINENO"; then :
60596 glibcxx_cv_func_strtold_use=yes
60597 else
60598 glibcxx_cv_func_strtold_use=no
60600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60601 ac_ext=c
60602 ac_cpp='$CPP $CPPFLAGS'
60603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
60612 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
60613 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
60614 for ac_func in strtold
60615 do :
60616 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
60617 if test "x$ac_cv_func_strtold" = xyes; then :
60618 cat >>confdefs.h <<_ACEOF
60619 #define HAVE_STRTOLD 1
60620 _ACEOF
60623 done
60630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
60631 $as_echo_n "checking for strtof declaration... " >&6; }
60632 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
60633 if ${glibcxx_cv_func_strtof_use+:} false; then :
60634 $as_echo_n "(cached) " >&6
60635 else
60638 ac_ext=cpp
60639 ac_cpp='$CXXCPP $CPPFLAGS'
60640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60645 /* end confdefs.h. */
60646 #include <stdlib.h>
60648 main ()
60650 strtof(0, 0);
60652 return 0;
60654 _ACEOF
60655 if ac_fn_cxx_try_compile "$LINENO"; then :
60656 glibcxx_cv_func_strtof_use=yes
60657 else
60658 glibcxx_cv_func_strtof_use=no
60660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60661 ac_ext=c
60662 ac_cpp='$CPP $CPPFLAGS'
60663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
60672 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
60673 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
60674 for ac_func in strtof
60675 do :
60676 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
60677 if test "x$ac_cv_func_strtof" = xyes; then :
60678 cat >>confdefs.h <<_ACEOF
60679 #define HAVE_STRTOF 1
60680 _ACEOF
60683 done
60690 CXXFLAGS="$ac_save_CXXFLAGS"
60692 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60693 do :
60694 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60695 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60696 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60697 cat >>confdefs.h <<_ACEOF
60698 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60699 _ACEOF
60702 done
60704 for ac_func in _wfopen
60705 do :
60706 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
60707 if test "x$ac_cv_func__wfopen" = xyes; then :
60708 cat >>confdefs.h <<_ACEOF
60709 #define HAVE__WFOPEN 1
60710 _ACEOF
60713 done
60717 # Check whether --enable-tls was given.
60718 if test "${enable_tls+set}" = set; then :
60719 enableval=$enable_tls;
60720 case "$enableval" in
60721 yes|no) ;;
60722 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
60723 esac
60725 else
60726 enable_tls=yes
60730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
60731 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
60732 if ${gcc_cv_have_tls+:} false; then :
60733 $as_echo_n "(cached) " >&6
60734 else
60736 if test "$cross_compiling" = yes; then :
60737 if test x$gcc_no_link = xyes; then
60738 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60741 /* end confdefs.h. */
60742 __thread int a; int b; int main() { return a = b; }
60743 _ACEOF
60744 if ac_fn_c_try_link "$LINENO"; then :
60745 chktls_save_LDFLAGS="$LDFLAGS"
60746 case $host in
60747 *-*-linux* | -*-uclinuxfdpic*)
60748 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
60750 esac
60751 chktls_save_CFLAGS="$CFLAGS"
60752 CFLAGS="-fPIC $CFLAGS"
60753 if test x$gcc_no_link = xyes; then
60754 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60757 /* end confdefs.h. */
60758 int f() { return 0; }
60759 _ACEOF
60760 if ac_fn_c_try_link "$LINENO"; then :
60761 if test x$gcc_no_link = xyes; then
60762 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60765 /* end confdefs.h. */
60766 __thread int a; int b; int f() { return a = b; }
60767 _ACEOF
60768 if ac_fn_c_try_link "$LINENO"; then :
60769 gcc_cv_have_tls=yes
60770 else
60771 gcc_cv_have_tls=no
60773 rm -f core conftest.err conftest.$ac_objext \
60774 conftest$ac_exeext conftest.$ac_ext
60775 else
60776 gcc_cv_have_tls=yes
60778 rm -f core conftest.err conftest.$ac_objext \
60779 conftest$ac_exeext conftest.$ac_ext
60780 CFLAGS="$chktls_save_CFLAGS"
60781 LDFLAGS="$chktls_save_LDFLAGS"
60782 else
60783 gcc_cv_have_tls=no
60785 rm -f core conftest.err conftest.$ac_objext \
60786 conftest$ac_exeext conftest.$ac_ext
60789 else
60790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60791 /* end confdefs.h. */
60792 __thread int a; int b; int main() { return a = b; }
60793 _ACEOF
60794 if ac_fn_c_try_run "$LINENO"; then :
60795 chktls_save_LDFLAGS="$LDFLAGS"
60796 LDFLAGS="-static $LDFLAGS"
60797 if test x$gcc_no_link = xyes; then
60798 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60801 /* end confdefs.h. */
60802 int main() { return 0; }
60803 _ACEOF
60804 if ac_fn_c_try_link "$LINENO"; then :
60805 if test "$cross_compiling" = yes; then :
60806 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
60807 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
60808 as_fn_error $? "cannot run test program while cross compiling
60809 See \`config.log' for more details" "$LINENO" 5; }
60810 else
60811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60812 /* end confdefs.h. */
60813 __thread int a; int b; int main() { return a = b; }
60814 _ACEOF
60815 if ac_fn_c_try_run "$LINENO"; then :
60816 gcc_cv_have_tls=yes
60817 else
60818 gcc_cv_have_tls=no
60820 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60821 conftest.$ac_objext conftest.beam conftest.$ac_ext
60824 else
60825 gcc_cv_have_tls=yes
60827 rm -f core conftest.err conftest.$ac_objext \
60828 conftest$ac_exeext conftest.$ac_ext
60829 LDFLAGS="$chktls_save_LDFLAGS"
60830 if test $gcc_cv_have_tls = yes; then
60831 chktls_save_CFLAGS="$CFLAGS"
60832 thread_CFLAGS=failed
60833 for flag in '' '-pthread' '-lpthread'; do
60834 CFLAGS="$flag $chktls_save_CFLAGS"
60835 if test x$gcc_no_link = xyes; then
60836 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60839 /* end confdefs.h. */
60840 #include <pthread.h>
60841 void *g(void *d) { return NULL; }
60843 main ()
60845 pthread_t t; pthread_create(&t,NULL,g,NULL);
60847 return 0;
60849 _ACEOF
60850 if ac_fn_c_try_link "$LINENO"; then :
60851 thread_CFLAGS="$flag"
60853 rm -f core conftest.err conftest.$ac_objext \
60854 conftest$ac_exeext conftest.$ac_ext
60855 if test "X$thread_CFLAGS" != Xfailed; then
60856 break
60858 done
60859 CFLAGS="$chktls_save_CFLAGS"
60860 if test "X$thread_CFLAGS" != Xfailed; then
60861 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
60862 if test "$cross_compiling" = yes; then :
60863 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
60864 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
60865 as_fn_error $? "cannot run test program while cross compiling
60866 See \`config.log' for more details" "$LINENO" 5; }
60867 else
60868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60869 /* end confdefs.h. */
60870 #include <pthread.h>
60871 __thread int a;
60872 static int *volatile a_in_other_thread;
60873 static void *
60874 thread_func (void *arg)
60876 a_in_other_thread = &a;
60877 return (void *)0;
60880 main ()
60882 pthread_t thread;
60883 void *thread_retval;
60884 int *volatile a_in_main_thread;
60885 a_in_main_thread = &a;
60886 if (pthread_create (&thread, (pthread_attr_t *)0,
60887 thread_func, (void *)0))
60888 return 0;
60889 if (pthread_join (thread, &thread_retval))
60890 return 0;
60891 return (a_in_other_thread == a_in_main_thread);
60893 return 0;
60895 _ACEOF
60896 if ac_fn_c_try_run "$LINENO"; then :
60897 gcc_cv_have_tls=yes
60898 else
60899 gcc_cv_have_tls=no
60901 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60902 conftest.$ac_objext conftest.beam conftest.$ac_ext
60905 CFLAGS="$chktls_save_CFLAGS"
60908 else
60909 gcc_cv_have_tls=no
60911 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60912 conftest.$ac_objext conftest.beam conftest.$ac_ext
60916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
60917 $as_echo "$gcc_cv_have_tls" >&6; }
60918 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
60920 $as_echo "#define HAVE_TLS 1" >>confdefs.h
60924 *-netbsd* | *-openbsd*)
60925 SECTION_FLAGS='-ffunction-sections -fdata-sections'
60928 # If we're not using GNU ld, then there's no point in even trying these
60929 # tests. Check for that first. We should have already tested for gld
60930 # by now (in libtool), but require it now just to be safe...
60931 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60932 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60936 # The name set by libtool depends on the version of libtool. Shame on us
60937 # for depending on an impl detail, but c'est la vie. Older versions used
60938 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60939 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60940 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60941 # set (hence we're using an older libtool), then set it.
60942 if test x${with_gnu_ld+set} != xset; then
60943 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60944 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60945 with_gnu_ld=no
60946 else
60947 with_gnu_ld=$ac_cv_prog_gnu_ld
60951 # Start by getting the version number. I think the libtool test already
60952 # does some of this, but throws away the result.
60953 glibcxx_ld_is_gold=no
60954 glibcxx_ld_is_mold=no
60955 if test x"$with_gnu_ld" = x"yes"; then
60956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60957 $as_echo_n "checking for ld version... " >&6; }
60959 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60960 glibcxx_ld_is_gold=yes
60961 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
60962 glibcxx_ld_is_mold=yes
60964 ldver=`$LD --version 2>/dev/null |
60965 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60967 glibcxx_gnu_ld_version=`echo $ldver | \
60968 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60970 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60973 # Set --gc-sections.
60974 glibcxx_have_gc_sections=no
60975 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
60976 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60977 glibcxx_have_gc_sections=yes
60979 else
60980 glibcxx_gcsections_min_ld=21602
60981 if test x"$with_gnu_ld" = x"yes" &&
60982 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60983 glibcxx_have_gc_sections=yes
60986 if test "$glibcxx_have_gc_sections" = "yes"; then
60987 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60988 # NB: This flag only works reliably after 2.16.1. Configure tests
60989 # for this are difficult, so hard wire a value that should work.
60991 ac_test_CFLAGS="${CFLAGS+set}"
60992 ac_save_CFLAGS="$CFLAGS"
60993 CFLAGS='-Wl,--gc-sections'
60995 # Check for -Wl,--gc-sections
60996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60997 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60998 if test x$gcc_no_link = xyes; then
60999 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
61001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61002 /* end confdefs.h. */
61003 int one(void) { return 1; }
61004 int two(void) { return 2; }
61007 main ()
61009 two();
61011 return 0;
61013 _ACEOF
61014 if ac_fn_c_try_link "$LINENO"; then :
61015 ac_gcsections=yes
61016 else
61017 ac_gcsections=no
61019 rm -f core conftest.err conftest.$ac_objext \
61020 conftest$ac_exeext conftest.$ac_ext
61021 if test "$ac_gcsections" = "yes"; then
61022 rm -f conftest.c
61023 touch conftest.c
61024 if $CC -c conftest.c; then
61025 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
61026 grep "Warning: gc-sections option ignored" > /dev/null; then
61027 ac_gcsections=no
61030 rm -f conftest.c conftest.o conftest
61032 if test "$ac_gcsections" = "yes"; then
61033 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
61035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
61036 $as_echo "$ac_gcsections" >&6; }
61038 if test "$ac_test_CFLAGS" = set; then
61039 CFLAGS="$ac_save_CFLAGS"
61040 else
61041 # this is the suspicious part
61042 CFLAGS=''
61046 # Set -z,relro.
61047 # Note this is only for shared objects.
61048 ac_ld_relro=no
61049 if test x"$with_gnu_ld" = x"yes"; then
61050 # cygwin and mingw uses PE, which has no ELF relro support,
61051 # multi target ld may confuse configure machinery
61052 case "$host" in
61053 *-*-cygwin*)
61055 *-*-mingw*)
61058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
61059 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
61060 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
61061 if test -n "$cxx_z_relo"; then
61062 OPT_LDFLAGS="-Wl,-z,relro"
61063 ac_ld_relro=yes
61065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
61066 $as_echo "$ac_ld_relro" >&6; }
61067 esac
61070 # Set linker optimization flags.
61071 if test x"$with_gnu_ld" = x"yes"; then
61072 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
61078 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
61080 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
61082 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
61084 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
61086 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
61088 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
61090 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
61092 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
61094 if test x"long_double_math_on_this_cpu" = x"yes"; then
61095 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
61097 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
61099 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
61102 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
61103 do :
61104 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61105 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61106 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61107 cat >>confdefs.h <<_ACEOF
61108 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61109 _ACEOF
61112 done
61114 for ac_func in timespec_get
61115 do :
61116 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
61117 if test "x$ac_cv_func_timespec_get" = xyes; then :
61118 cat >>confdefs.h <<_ACEOF
61119 #define HAVE_TIMESPEC_GET 1
61120 _ACEOF
61123 done
61125 for ac_func in sockatmark
61126 do :
61127 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
61128 if test "x$ac_cv_func_sockatmark" = xyes; then :
61129 cat >>confdefs.h <<_ACEOF
61130 #define HAVE_SOCKATMARK 1
61131 _ACEOF
61134 done
61137 *-qnx6.1* | *-qnx6.2*)
61138 SECTION_FLAGS='-ffunction-sections -fdata-sections'
61141 # If we're not using GNU ld, then there's no point in even trying these
61142 # tests. Check for that first. We should have already tested for gld
61143 # by now (in libtool), but require it now just to be safe...
61144 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
61145 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
61149 # The name set by libtool depends on the version of libtool. Shame on us
61150 # for depending on an impl detail, but c'est la vie. Older versions used
61151 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
61152 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
61153 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
61154 # set (hence we're using an older libtool), then set it.
61155 if test x${with_gnu_ld+set} != xset; then
61156 if test x${ac_cv_prog_gnu_ld+set} != xset; then
61157 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
61158 with_gnu_ld=no
61159 else
61160 with_gnu_ld=$ac_cv_prog_gnu_ld
61164 # Start by getting the version number. I think the libtool test already
61165 # does some of this, but throws away the result.
61166 glibcxx_ld_is_gold=no
61167 glibcxx_ld_is_mold=no
61168 if test x"$with_gnu_ld" = x"yes"; then
61169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
61170 $as_echo_n "checking for ld version... " >&6; }
61172 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
61173 glibcxx_ld_is_gold=yes
61174 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
61175 glibcxx_ld_is_mold=yes
61177 ldver=`$LD --version 2>/dev/null |
61178 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
61180 glibcxx_gnu_ld_version=`echo $ldver | \
61181 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
61182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
61183 $as_echo "$glibcxx_gnu_ld_version" >&6; }
61186 # Set --gc-sections.
61187 glibcxx_have_gc_sections=no
61188 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
61189 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
61190 glibcxx_have_gc_sections=yes
61192 else
61193 glibcxx_gcsections_min_ld=21602
61194 if test x"$with_gnu_ld" = x"yes" &&
61195 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
61196 glibcxx_have_gc_sections=yes
61199 if test "$glibcxx_have_gc_sections" = "yes"; then
61200 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
61201 # NB: This flag only works reliably after 2.16.1. Configure tests
61202 # for this are difficult, so hard wire a value that should work.
61204 ac_test_CFLAGS="${CFLAGS+set}"
61205 ac_save_CFLAGS="$CFLAGS"
61206 CFLAGS='-Wl,--gc-sections'
61208 # Check for -Wl,--gc-sections
61209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
61210 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
61211 if test x$gcc_no_link = xyes; then
61212 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
61214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61215 /* end confdefs.h. */
61216 int one(void) { return 1; }
61217 int two(void) { return 2; }
61220 main ()
61222 two();
61224 return 0;
61226 _ACEOF
61227 if ac_fn_c_try_link "$LINENO"; then :
61228 ac_gcsections=yes
61229 else
61230 ac_gcsections=no
61232 rm -f core conftest.err conftest.$ac_objext \
61233 conftest$ac_exeext conftest.$ac_ext
61234 if test "$ac_gcsections" = "yes"; then
61235 rm -f conftest.c
61236 touch conftest.c
61237 if $CC -c conftest.c; then
61238 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
61239 grep "Warning: gc-sections option ignored" > /dev/null; then
61240 ac_gcsections=no
61243 rm -f conftest.c conftest.o conftest
61245 if test "$ac_gcsections" = "yes"; then
61246 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
61248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
61249 $as_echo "$ac_gcsections" >&6; }
61251 if test "$ac_test_CFLAGS" = set; then
61252 CFLAGS="$ac_save_CFLAGS"
61253 else
61254 # this is the suspicious part
61255 CFLAGS=''
61259 # Set -z,relro.
61260 # Note this is only for shared objects.
61261 ac_ld_relro=no
61262 if test x"$with_gnu_ld" = x"yes"; then
61263 # cygwin and mingw uses PE, which has no ELF relro support,
61264 # multi target ld may confuse configure machinery
61265 case "$host" in
61266 *-*-cygwin*)
61268 *-*-mingw*)
61271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
61272 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
61273 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
61274 if test -n "$cxx_z_relo"; then
61275 OPT_LDFLAGS="-Wl,-z,relro"
61276 ac_ld_relro=yes
61278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
61279 $as_echo "$ac_ld_relro" >&6; }
61280 esac
61283 # Set linker optimization flags.
61284 if test x"$with_gnu_ld" = x"yes"; then
61285 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
61291 $as_echo "#define HAVE_COSF 1" >>confdefs.h
61293 $as_echo "#define HAVE_COSL 1" >>confdefs.h
61295 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
61297 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
61299 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
61301 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
61303 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
61305 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
61307 $as_echo "#define HAVE_SINF 1" >>confdefs.h
61309 $as_echo "#define HAVE_SINL 1" >>confdefs.h
61311 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
61313 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
61316 *-tpf)
61317 SECTION_FLAGS='-ffunction-sections -fdata-sections'
61318 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
61320 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
61322 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
61324 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
61326 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
61328 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
61330 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
61332 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
61334 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
61336 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
61338 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
61340 if test x"long_double_math_on_this_cpu" = x"yes"; then
61341 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
61343 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
61345 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
61347 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
61351 *-*vms*)
61352 # Check for available headers.
61353 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
61355 ac_test_CXXFLAGS="${CXXFLAGS+set}"
61356 ac_save_CXXFLAGS="$CXXFLAGS"
61357 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
61359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
61360 $as_echo_n "checking for sin in -lm... " >&6; }
61361 if ${ac_cv_lib_m_sin+:} false; then :
61362 $as_echo_n "(cached) " >&6
61363 else
61364 ac_check_lib_save_LIBS=$LIBS
61365 LIBS="-lm $LIBS"
61366 if test x$gcc_no_link = xyes; then
61367 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
61369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61370 /* end confdefs.h. */
61372 /* Override any GCC internal prototype to avoid an error.
61373 Use char because int might match the return type of a GCC
61374 builtin and then its argument prototype would still apply. */
61375 #ifdef __cplusplus
61376 extern "C"
61377 #endif
61378 char sin ();
61380 main ()
61382 return sin ();
61384 return 0;
61386 _ACEOF
61387 if ac_fn_c_try_link "$LINENO"; then :
61388 ac_cv_lib_m_sin=yes
61389 else
61390 ac_cv_lib_m_sin=no
61392 rm -f core conftest.err conftest.$ac_objext \
61393 conftest$ac_exeext conftest.$ac_ext
61394 LIBS=$ac_check_lib_save_LIBS
61396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
61397 $as_echo "$ac_cv_lib_m_sin" >&6; }
61398 if test "x$ac_cv_lib_m_sin" = xyes; then :
61399 libm="-lm"
61402 ac_save_LIBS="$LIBS"
61403 LIBS="$LIBS $libm"
61407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
61408 $as_echo_n "checking for isinf declaration... " >&6; }
61409 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
61410 if ${glibcxx_cv_func_isinf_use+:} false; then :
61411 $as_echo_n "(cached) " >&6
61412 else
61415 ac_ext=cpp
61416 ac_cpp='$CXXCPP $CPPFLAGS'
61417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61422 /* end confdefs.h. */
61423 #include <math.h>
61424 #ifdef HAVE_IEEEFP_H
61425 #include <ieeefp.h>
61426 #endif
61429 main ()
61431 isinf(0);
61433 return 0;
61435 _ACEOF
61436 if ac_fn_cxx_try_compile "$LINENO"; then :
61437 glibcxx_cv_func_isinf_use=yes
61438 else
61439 glibcxx_cv_func_isinf_use=no
61441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61442 ac_ext=c
61443 ac_cpp='$CPP $CPPFLAGS'
61444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
61453 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
61455 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
61456 for ac_func in isinf
61457 do :
61458 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
61459 if test "x$ac_cv_func_isinf" = xyes; then :
61460 cat >>confdefs.h <<_ACEOF
61461 #define HAVE_ISINF 1
61462 _ACEOF
61465 done
61467 else
61469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
61470 $as_echo_n "checking for _isinf declaration... " >&6; }
61471 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
61472 if ${glibcxx_cv_func__isinf_use+:} false; then :
61473 $as_echo_n "(cached) " >&6
61474 else
61477 ac_ext=cpp
61478 ac_cpp='$CXXCPP $CPPFLAGS'
61479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61484 /* end confdefs.h. */
61485 #include <math.h>
61486 #ifdef HAVE_IEEEFP_H
61487 #include <ieeefp.h>
61488 #endif
61491 main ()
61493 _isinf(0);
61495 return 0;
61497 _ACEOF
61498 if ac_fn_cxx_try_compile "$LINENO"; then :
61499 glibcxx_cv_func__isinf_use=yes
61500 else
61501 glibcxx_cv_func__isinf_use=no
61503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61504 ac_ext=c
61505 ac_cpp='$CPP $CPPFLAGS'
61506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
61515 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
61517 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
61518 for ac_func in _isinf
61519 do :
61520 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
61521 if test "x$ac_cv_func__isinf" = xyes; then :
61522 cat >>confdefs.h <<_ACEOF
61523 #define HAVE__ISINF 1
61524 _ACEOF
61527 done
61536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
61537 $as_echo_n "checking for isnan declaration... " >&6; }
61538 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
61539 if ${glibcxx_cv_func_isnan_use+:} false; then :
61540 $as_echo_n "(cached) " >&6
61541 else
61544 ac_ext=cpp
61545 ac_cpp='$CXXCPP $CPPFLAGS'
61546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61551 /* end confdefs.h. */
61552 #include <math.h>
61553 #ifdef HAVE_IEEEFP_H
61554 #include <ieeefp.h>
61555 #endif
61558 main ()
61560 isnan(0);
61562 return 0;
61564 _ACEOF
61565 if ac_fn_cxx_try_compile "$LINENO"; then :
61566 glibcxx_cv_func_isnan_use=yes
61567 else
61568 glibcxx_cv_func_isnan_use=no
61570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61571 ac_ext=c
61572 ac_cpp='$CPP $CPPFLAGS'
61573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
61582 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
61584 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
61585 for ac_func in isnan
61586 do :
61587 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
61588 if test "x$ac_cv_func_isnan" = xyes; then :
61589 cat >>confdefs.h <<_ACEOF
61590 #define HAVE_ISNAN 1
61591 _ACEOF
61594 done
61596 else
61598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
61599 $as_echo_n "checking for _isnan declaration... " >&6; }
61600 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
61601 if ${glibcxx_cv_func__isnan_use+:} false; then :
61602 $as_echo_n "(cached) " >&6
61603 else
61606 ac_ext=cpp
61607 ac_cpp='$CXXCPP $CPPFLAGS'
61608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61613 /* end confdefs.h. */
61614 #include <math.h>
61615 #ifdef HAVE_IEEEFP_H
61616 #include <ieeefp.h>
61617 #endif
61620 main ()
61622 _isnan(0);
61624 return 0;
61626 _ACEOF
61627 if ac_fn_cxx_try_compile "$LINENO"; then :
61628 glibcxx_cv_func__isnan_use=yes
61629 else
61630 glibcxx_cv_func__isnan_use=no
61632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61633 ac_ext=c
61634 ac_cpp='$CPP $CPPFLAGS'
61635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
61644 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
61646 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
61647 for ac_func in _isnan
61648 do :
61649 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
61650 if test "x$ac_cv_func__isnan" = xyes; then :
61651 cat >>confdefs.h <<_ACEOF
61652 #define HAVE__ISNAN 1
61653 _ACEOF
61656 done
61665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
61666 $as_echo_n "checking for finite declaration... " >&6; }
61667 if test x${glibcxx_cv_func_finite_use+set} != xset; then
61668 if ${glibcxx_cv_func_finite_use+:} false; then :
61669 $as_echo_n "(cached) " >&6
61670 else
61673 ac_ext=cpp
61674 ac_cpp='$CXXCPP $CPPFLAGS'
61675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61680 /* end confdefs.h. */
61681 #include <math.h>
61682 #ifdef HAVE_IEEEFP_H
61683 #include <ieeefp.h>
61684 #endif
61687 main ()
61689 finite(0);
61691 return 0;
61693 _ACEOF
61694 if ac_fn_cxx_try_compile "$LINENO"; then :
61695 glibcxx_cv_func_finite_use=yes
61696 else
61697 glibcxx_cv_func_finite_use=no
61699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61700 ac_ext=c
61701 ac_cpp='$CPP $CPPFLAGS'
61702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
61711 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
61713 if test x$glibcxx_cv_func_finite_use = x"yes"; then
61714 for ac_func in finite
61715 do :
61716 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
61717 if test "x$ac_cv_func_finite" = xyes; then :
61718 cat >>confdefs.h <<_ACEOF
61719 #define HAVE_FINITE 1
61720 _ACEOF
61723 done
61725 else
61727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
61728 $as_echo_n "checking for _finite declaration... " >&6; }
61729 if test x${glibcxx_cv_func__finite_use+set} != xset; then
61730 if ${glibcxx_cv_func__finite_use+:} false; then :
61731 $as_echo_n "(cached) " >&6
61732 else
61735 ac_ext=cpp
61736 ac_cpp='$CXXCPP $CPPFLAGS'
61737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61742 /* end confdefs.h. */
61743 #include <math.h>
61744 #ifdef HAVE_IEEEFP_H
61745 #include <ieeefp.h>
61746 #endif
61749 main ()
61751 _finite(0);
61753 return 0;
61755 _ACEOF
61756 if ac_fn_cxx_try_compile "$LINENO"; then :
61757 glibcxx_cv_func__finite_use=yes
61758 else
61759 glibcxx_cv_func__finite_use=no
61761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61762 ac_ext=c
61763 ac_cpp='$CPP $CPPFLAGS'
61764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
61773 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
61775 if test x$glibcxx_cv_func__finite_use = x"yes"; then
61776 for ac_func in _finite
61777 do :
61778 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
61779 if test "x$ac_cv_func__finite" = xyes; then :
61780 cat >>confdefs.h <<_ACEOF
61781 #define HAVE__FINITE 1
61782 _ACEOF
61785 done
61794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
61795 $as_echo_n "checking for sincos declaration... " >&6; }
61796 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
61797 if ${glibcxx_cv_func_sincos_use+:} false; then :
61798 $as_echo_n "(cached) " >&6
61799 else
61802 ac_ext=cpp
61803 ac_cpp='$CXXCPP $CPPFLAGS'
61804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61809 /* end confdefs.h. */
61810 #include <math.h>
61812 main ()
61814 sincos(0, 0, 0);
61816 return 0;
61818 _ACEOF
61819 if ac_fn_cxx_try_compile "$LINENO"; then :
61820 glibcxx_cv_func_sincos_use=yes
61821 else
61822 glibcxx_cv_func_sincos_use=no
61824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61825 ac_ext=c
61826 ac_cpp='$CPP $CPPFLAGS'
61827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
61836 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
61838 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
61839 for ac_func in sincos
61840 do :
61841 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
61842 if test "x$ac_cv_func_sincos" = xyes; then :
61843 cat >>confdefs.h <<_ACEOF
61844 #define HAVE_SINCOS 1
61845 _ACEOF
61848 done
61850 else
61852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
61853 $as_echo_n "checking for _sincos declaration... " >&6; }
61854 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
61855 if ${glibcxx_cv_func__sincos_use+:} false; then :
61856 $as_echo_n "(cached) " >&6
61857 else
61860 ac_ext=cpp
61861 ac_cpp='$CXXCPP $CPPFLAGS'
61862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61867 /* end confdefs.h. */
61868 #include <math.h>
61870 main ()
61872 _sincos(0, 0, 0);
61874 return 0;
61876 _ACEOF
61877 if ac_fn_cxx_try_compile "$LINENO"; then :
61878 glibcxx_cv_func__sincos_use=yes
61879 else
61880 glibcxx_cv_func__sincos_use=no
61882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61883 ac_ext=c
61884 ac_cpp='$CPP $CPPFLAGS'
61885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
61894 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
61896 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
61897 for ac_func in _sincos
61898 do :
61899 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
61900 if test "x$ac_cv_func__sincos" = xyes; then :
61901 cat >>confdefs.h <<_ACEOF
61902 #define HAVE__SINCOS 1
61903 _ACEOF
61906 done
61915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
61916 $as_echo_n "checking for fpclass declaration... " >&6; }
61917 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
61918 if ${glibcxx_cv_func_fpclass_use+:} false; then :
61919 $as_echo_n "(cached) " >&6
61920 else
61923 ac_ext=cpp
61924 ac_cpp='$CXXCPP $CPPFLAGS'
61925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61930 /* end confdefs.h. */
61931 #include <math.h>
61932 #ifdef HAVE_IEEEFP_H
61933 #include <ieeefp.h>
61934 #endif
61937 main ()
61939 fpclass(0);
61941 return 0;
61943 _ACEOF
61944 if ac_fn_cxx_try_compile "$LINENO"; then :
61945 glibcxx_cv_func_fpclass_use=yes
61946 else
61947 glibcxx_cv_func_fpclass_use=no
61949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61950 ac_ext=c
61951 ac_cpp='$CPP $CPPFLAGS'
61952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
61961 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
61963 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
61964 for ac_func in fpclass
61965 do :
61966 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
61967 if test "x$ac_cv_func_fpclass" = xyes; then :
61968 cat >>confdefs.h <<_ACEOF
61969 #define HAVE_FPCLASS 1
61970 _ACEOF
61973 done
61975 else
61977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
61978 $as_echo_n "checking for _fpclass declaration... " >&6; }
61979 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
61980 if ${glibcxx_cv_func__fpclass_use+:} false; then :
61981 $as_echo_n "(cached) " >&6
61982 else
61985 ac_ext=cpp
61986 ac_cpp='$CXXCPP $CPPFLAGS'
61987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61992 /* end confdefs.h. */
61993 #include <math.h>
61994 #ifdef HAVE_IEEEFP_H
61995 #include <ieeefp.h>
61996 #endif
61999 main ()
62001 _fpclass(0);
62003 return 0;
62005 _ACEOF
62006 if ac_fn_cxx_try_compile "$LINENO"; then :
62007 glibcxx_cv_func__fpclass_use=yes
62008 else
62009 glibcxx_cv_func__fpclass_use=no
62011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62012 ac_ext=c
62013 ac_cpp='$CPP $CPPFLAGS'
62014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
62023 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
62025 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
62026 for ac_func in _fpclass
62027 do :
62028 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
62029 if test "x$ac_cv_func__fpclass" = xyes; then :
62030 cat >>confdefs.h <<_ACEOF
62031 #define HAVE__FPCLASS 1
62032 _ACEOF
62035 done
62044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
62045 $as_echo_n "checking for qfpclass declaration... " >&6; }
62046 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
62047 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
62048 $as_echo_n "(cached) " >&6
62049 else
62052 ac_ext=cpp
62053 ac_cpp='$CXXCPP $CPPFLAGS'
62054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62059 /* end confdefs.h. */
62060 #include <math.h>
62061 #ifdef HAVE_IEEEFP_H
62062 #include <ieeefp.h>
62063 #endif
62066 main ()
62068 qfpclass(0);
62070 return 0;
62072 _ACEOF
62073 if ac_fn_cxx_try_compile "$LINENO"; then :
62074 glibcxx_cv_func_qfpclass_use=yes
62075 else
62076 glibcxx_cv_func_qfpclass_use=no
62078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62079 ac_ext=c
62080 ac_cpp='$CPP $CPPFLAGS'
62081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
62090 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
62092 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
62093 for ac_func in qfpclass
62094 do :
62095 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
62096 if test "x$ac_cv_func_qfpclass" = xyes; then :
62097 cat >>confdefs.h <<_ACEOF
62098 #define HAVE_QFPCLASS 1
62099 _ACEOF
62102 done
62104 else
62106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
62107 $as_echo_n "checking for _qfpclass declaration... " >&6; }
62108 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
62109 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
62110 $as_echo_n "(cached) " >&6
62111 else
62114 ac_ext=cpp
62115 ac_cpp='$CXXCPP $CPPFLAGS'
62116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62121 /* end confdefs.h. */
62122 #include <math.h>
62123 #ifdef HAVE_IEEEFP_H
62124 #include <ieeefp.h>
62125 #endif
62128 main ()
62130 _qfpclass(0);
62132 return 0;
62134 _ACEOF
62135 if ac_fn_cxx_try_compile "$LINENO"; then :
62136 glibcxx_cv_func__qfpclass_use=yes
62137 else
62138 glibcxx_cv_func__qfpclass_use=no
62140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62141 ac_ext=c
62142 ac_cpp='$CPP $CPPFLAGS'
62143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
62152 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
62154 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
62155 for ac_func in _qfpclass
62156 do :
62157 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
62158 if test "x$ac_cv_func__qfpclass" = xyes; then :
62159 cat >>confdefs.h <<_ACEOF
62160 #define HAVE__QFPCLASS 1
62161 _ACEOF
62164 done
62173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
62174 $as_echo_n "checking for hypot declaration... " >&6; }
62175 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
62176 if ${glibcxx_cv_func_hypot_use+:} false; then :
62177 $as_echo_n "(cached) " >&6
62178 else
62181 ac_ext=cpp
62182 ac_cpp='$CXXCPP $CPPFLAGS'
62183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62188 /* end confdefs.h. */
62189 #include <math.h>
62191 main ()
62193 hypot(0, 0);
62195 return 0;
62197 _ACEOF
62198 if ac_fn_cxx_try_compile "$LINENO"; then :
62199 glibcxx_cv_func_hypot_use=yes
62200 else
62201 glibcxx_cv_func_hypot_use=no
62203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62204 ac_ext=c
62205 ac_cpp='$CPP $CPPFLAGS'
62206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
62215 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
62217 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
62218 for ac_func in hypot
62219 do :
62220 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
62221 if test "x$ac_cv_func_hypot" = xyes; then :
62222 cat >>confdefs.h <<_ACEOF
62223 #define HAVE_HYPOT 1
62224 _ACEOF
62227 done
62229 else
62231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
62232 $as_echo_n "checking for _hypot declaration... " >&6; }
62233 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
62234 if ${glibcxx_cv_func__hypot_use+:} false; then :
62235 $as_echo_n "(cached) " >&6
62236 else
62239 ac_ext=cpp
62240 ac_cpp='$CXXCPP $CPPFLAGS'
62241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62246 /* end confdefs.h. */
62247 #include <math.h>
62249 main ()
62251 _hypot(0, 0);
62253 return 0;
62255 _ACEOF
62256 if ac_fn_cxx_try_compile "$LINENO"; then :
62257 glibcxx_cv_func__hypot_use=yes
62258 else
62259 glibcxx_cv_func__hypot_use=no
62261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62262 ac_ext=c
62263 ac_cpp='$CPP $CPPFLAGS'
62264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
62273 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
62275 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
62276 for ac_func in _hypot
62277 do :
62278 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
62279 if test "x$ac_cv_func__hypot" = xyes; then :
62280 cat >>confdefs.h <<_ACEOF
62281 #define HAVE__HYPOT 1
62282 _ACEOF
62285 done
62294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
62295 $as_echo_n "checking for float trig functions... " >&6; }
62296 if ${glibcxx_cv_func_float_trig_use+:} false; then :
62297 $as_echo_n "(cached) " >&6
62298 else
62301 ac_ext=cpp
62302 ac_cpp='$CXXCPP $CPPFLAGS'
62303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62308 /* end confdefs.h. */
62309 #include <math.h>
62311 main ()
62313 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
62315 return 0;
62317 _ACEOF
62318 if ac_fn_cxx_try_compile "$LINENO"; then :
62319 glibcxx_cv_func_float_trig_use=yes
62320 else
62321 glibcxx_cv_func_float_trig_use=no
62323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62324 ac_ext=c
62325 ac_cpp='$CPP $CPPFLAGS'
62326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
62333 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
62334 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
62335 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
62336 do :
62337 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62338 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62339 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62340 cat >>confdefs.h <<_ACEOF
62341 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62342 _ACEOF
62345 done
62347 else
62348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
62349 $as_echo_n "checking for _float trig functions... " >&6; }
62350 if ${glibcxx_cv_func__float_trig_use+:} false; then :
62351 $as_echo_n "(cached) " >&6
62352 else
62355 ac_ext=cpp
62356 ac_cpp='$CXXCPP $CPPFLAGS'
62357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62362 /* end confdefs.h. */
62363 #include <math.h>
62365 main ()
62367 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
62369 return 0;
62371 _ACEOF
62372 if ac_fn_cxx_try_compile "$LINENO"; then :
62373 glibcxx_cv_func__float_trig_use=yes
62374 else
62375 glibcxx_cv_func__float_trig_use=no
62377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62378 ac_ext=c
62379 ac_cpp='$CPP $CPPFLAGS'
62380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
62387 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
62388 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
62389 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
62390 do :
62391 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62392 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62393 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62394 cat >>confdefs.h <<_ACEOF
62395 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62396 _ACEOF
62399 done
62408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
62409 $as_echo_n "checking for float round functions... " >&6; }
62410 if ${glibcxx_cv_func_float_round_use+:} false; then :
62411 $as_echo_n "(cached) " >&6
62412 else
62415 ac_ext=cpp
62416 ac_cpp='$CXXCPP $CPPFLAGS'
62417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62422 /* end confdefs.h. */
62423 #include <math.h>
62425 main ()
62427 ceilf (0); floorf (0);
62429 return 0;
62431 _ACEOF
62432 if ac_fn_cxx_try_compile "$LINENO"; then :
62433 glibcxx_cv_func_float_round_use=yes
62434 else
62435 glibcxx_cv_func_float_round_use=no
62437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62438 ac_ext=c
62439 ac_cpp='$CPP $CPPFLAGS'
62440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
62447 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
62448 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
62449 for ac_func in ceilf floorf
62450 do :
62451 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62452 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62453 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62454 cat >>confdefs.h <<_ACEOF
62455 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62456 _ACEOF
62459 done
62461 else
62462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
62463 $as_echo_n "checking for _float round functions... " >&6; }
62464 if ${glibcxx_cv_func__float_round_use+:} false; then :
62465 $as_echo_n "(cached) " >&6
62466 else
62469 ac_ext=cpp
62470 ac_cpp='$CXXCPP $CPPFLAGS'
62471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62476 /* end confdefs.h. */
62477 #include <math.h>
62479 main ()
62481 _ceilf (0); _floorf (0);
62483 return 0;
62485 _ACEOF
62486 if ac_fn_cxx_try_compile "$LINENO"; then :
62487 glibcxx_cv_func__float_round_use=yes
62488 else
62489 glibcxx_cv_func__float_round_use=no
62491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62492 ac_ext=c
62493 ac_cpp='$CPP $CPPFLAGS'
62494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
62501 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
62502 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
62503 for ac_func in _ceilf _floorf
62504 do :
62505 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62506 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62507 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62508 cat >>confdefs.h <<_ACEOF
62509 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62510 _ACEOF
62513 done
62523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
62524 $as_echo_n "checking for expf declaration... " >&6; }
62525 if test x${glibcxx_cv_func_expf_use+set} != xset; then
62526 if ${glibcxx_cv_func_expf_use+:} false; then :
62527 $as_echo_n "(cached) " >&6
62528 else
62531 ac_ext=cpp
62532 ac_cpp='$CXXCPP $CPPFLAGS'
62533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62538 /* end confdefs.h. */
62539 #include <math.h>
62540 #ifdef HAVE_IEEEFP_H
62541 #include <ieeefp.h>
62542 #endif
62545 main ()
62547 expf(0);
62549 return 0;
62551 _ACEOF
62552 if ac_fn_cxx_try_compile "$LINENO"; then :
62553 glibcxx_cv_func_expf_use=yes
62554 else
62555 glibcxx_cv_func_expf_use=no
62557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62558 ac_ext=c
62559 ac_cpp='$CPP $CPPFLAGS'
62560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
62569 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
62571 if test x$glibcxx_cv_func_expf_use = x"yes"; then
62572 for ac_func in expf
62573 do :
62574 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
62575 if test "x$ac_cv_func_expf" = xyes; then :
62576 cat >>confdefs.h <<_ACEOF
62577 #define HAVE_EXPF 1
62578 _ACEOF
62581 done
62583 else
62585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
62586 $as_echo_n "checking for _expf declaration... " >&6; }
62587 if test x${glibcxx_cv_func__expf_use+set} != xset; then
62588 if ${glibcxx_cv_func__expf_use+:} false; then :
62589 $as_echo_n "(cached) " >&6
62590 else
62593 ac_ext=cpp
62594 ac_cpp='$CXXCPP $CPPFLAGS'
62595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62600 /* end confdefs.h. */
62601 #include <math.h>
62602 #ifdef HAVE_IEEEFP_H
62603 #include <ieeefp.h>
62604 #endif
62607 main ()
62609 _expf(0);
62611 return 0;
62613 _ACEOF
62614 if ac_fn_cxx_try_compile "$LINENO"; then :
62615 glibcxx_cv_func__expf_use=yes
62616 else
62617 glibcxx_cv_func__expf_use=no
62619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62620 ac_ext=c
62621 ac_cpp='$CPP $CPPFLAGS'
62622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
62631 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
62633 if test x$glibcxx_cv_func__expf_use = x"yes"; then
62634 for ac_func in _expf
62635 do :
62636 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
62637 if test "x$ac_cv_func__expf" = xyes; then :
62638 cat >>confdefs.h <<_ACEOF
62639 #define HAVE__EXPF 1
62640 _ACEOF
62643 done
62652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
62653 $as_echo_n "checking for isnanf declaration... " >&6; }
62654 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
62655 if ${glibcxx_cv_func_isnanf_use+:} false; then :
62656 $as_echo_n "(cached) " >&6
62657 else
62660 ac_ext=cpp
62661 ac_cpp='$CXXCPP $CPPFLAGS'
62662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62667 /* end confdefs.h. */
62668 #include <math.h>
62669 #ifdef HAVE_IEEEFP_H
62670 #include <ieeefp.h>
62671 #endif
62674 main ()
62676 isnanf(0);
62678 return 0;
62680 _ACEOF
62681 if ac_fn_cxx_try_compile "$LINENO"; then :
62682 glibcxx_cv_func_isnanf_use=yes
62683 else
62684 glibcxx_cv_func_isnanf_use=no
62686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62687 ac_ext=c
62688 ac_cpp='$CPP $CPPFLAGS'
62689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
62698 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
62700 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
62701 for ac_func in isnanf
62702 do :
62703 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
62704 if test "x$ac_cv_func_isnanf" = xyes; then :
62705 cat >>confdefs.h <<_ACEOF
62706 #define HAVE_ISNANF 1
62707 _ACEOF
62710 done
62712 else
62714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
62715 $as_echo_n "checking for _isnanf declaration... " >&6; }
62716 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
62717 if ${glibcxx_cv_func__isnanf_use+:} false; then :
62718 $as_echo_n "(cached) " >&6
62719 else
62722 ac_ext=cpp
62723 ac_cpp='$CXXCPP $CPPFLAGS'
62724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62729 /* end confdefs.h. */
62730 #include <math.h>
62731 #ifdef HAVE_IEEEFP_H
62732 #include <ieeefp.h>
62733 #endif
62736 main ()
62738 _isnanf(0);
62740 return 0;
62742 _ACEOF
62743 if ac_fn_cxx_try_compile "$LINENO"; then :
62744 glibcxx_cv_func__isnanf_use=yes
62745 else
62746 glibcxx_cv_func__isnanf_use=no
62748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62749 ac_ext=c
62750 ac_cpp='$CPP $CPPFLAGS'
62751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
62760 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
62762 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
62763 for ac_func in _isnanf
62764 do :
62765 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
62766 if test "x$ac_cv_func__isnanf" = xyes; then :
62767 cat >>confdefs.h <<_ACEOF
62768 #define HAVE__ISNANF 1
62769 _ACEOF
62772 done
62781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
62782 $as_echo_n "checking for isinff declaration... " >&6; }
62783 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
62784 if ${glibcxx_cv_func_isinff_use+:} false; then :
62785 $as_echo_n "(cached) " >&6
62786 else
62789 ac_ext=cpp
62790 ac_cpp='$CXXCPP $CPPFLAGS'
62791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62796 /* end confdefs.h. */
62797 #include <math.h>
62798 #ifdef HAVE_IEEEFP_H
62799 #include <ieeefp.h>
62800 #endif
62803 main ()
62805 isinff(0);
62807 return 0;
62809 _ACEOF
62810 if ac_fn_cxx_try_compile "$LINENO"; then :
62811 glibcxx_cv_func_isinff_use=yes
62812 else
62813 glibcxx_cv_func_isinff_use=no
62815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62816 ac_ext=c
62817 ac_cpp='$CPP $CPPFLAGS'
62818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
62827 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
62829 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
62830 for ac_func in isinff
62831 do :
62832 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
62833 if test "x$ac_cv_func_isinff" = xyes; then :
62834 cat >>confdefs.h <<_ACEOF
62835 #define HAVE_ISINFF 1
62836 _ACEOF
62839 done
62841 else
62843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
62844 $as_echo_n "checking for _isinff declaration... " >&6; }
62845 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
62846 if ${glibcxx_cv_func__isinff_use+:} false; then :
62847 $as_echo_n "(cached) " >&6
62848 else
62851 ac_ext=cpp
62852 ac_cpp='$CXXCPP $CPPFLAGS'
62853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62858 /* end confdefs.h. */
62859 #include <math.h>
62860 #ifdef HAVE_IEEEFP_H
62861 #include <ieeefp.h>
62862 #endif
62865 main ()
62867 _isinff(0);
62869 return 0;
62871 _ACEOF
62872 if ac_fn_cxx_try_compile "$LINENO"; then :
62873 glibcxx_cv_func__isinff_use=yes
62874 else
62875 glibcxx_cv_func__isinff_use=no
62877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62878 ac_ext=c
62879 ac_cpp='$CPP $CPPFLAGS'
62880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
62889 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
62891 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
62892 for ac_func in _isinff
62893 do :
62894 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
62895 if test "x$ac_cv_func__isinff" = xyes; then :
62896 cat >>confdefs.h <<_ACEOF
62897 #define HAVE__ISINFF 1
62898 _ACEOF
62901 done
62910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
62911 $as_echo_n "checking for atan2f declaration... " >&6; }
62912 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
62913 if ${glibcxx_cv_func_atan2f_use+:} false; then :
62914 $as_echo_n "(cached) " >&6
62915 else
62918 ac_ext=cpp
62919 ac_cpp='$CXXCPP $CPPFLAGS'
62920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62925 /* end confdefs.h. */
62926 #include <math.h>
62928 main ()
62930 atan2f(0, 0);
62932 return 0;
62934 _ACEOF
62935 if ac_fn_cxx_try_compile "$LINENO"; then :
62936 glibcxx_cv_func_atan2f_use=yes
62937 else
62938 glibcxx_cv_func_atan2f_use=no
62940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62941 ac_ext=c
62942 ac_cpp='$CPP $CPPFLAGS'
62943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
62952 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
62954 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
62955 for ac_func in atan2f
62956 do :
62957 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
62958 if test "x$ac_cv_func_atan2f" = xyes; then :
62959 cat >>confdefs.h <<_ACEOF
62960 #define HAVE_ATAN2F 1
62961 _ACEOF
62964 done
62966 else
62968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
62969 $as_echo_n "checking for _atan2f declaration... " >&6; }
62970 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
62971 if ${glibcxx_cv_func__atan2f_use+:} false; then :
62972 $as_echo_n "(cached) " >&6
62973 else
62976 ac_ext=cpp
62977 ac_cpp='$CXXCPP $CPPFLAGS'
62978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62983 /* end confdefs.h. */
62984 #include <math.h>
62986 main ()
62988 _atan2f(0, 0);
62990 return 0;
62992 _ACEOF
62993 if ac_fn_cxx_try_compile "$LINENO"; then :
62994 glibcxx_cv_func__atan2f_use=yes
62995 else
62996 glibcxx_cv_func__atan2f_use=no
62998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62999 ac_ext=c
63000 ac_cpp='$CPP $CPPFLAGS'
63001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
63010 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
63012 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
63013 for ac_func in _atan2f
63014 do :
63015 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
63016 if test "x$ac_cv_func__atan2f" = xyes; then :
63017 cat >>confdefs.h <<_ACEOF
63018 #define HAVE__ATAN2F 1
63019 _ACEOF
63022 done
63031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
63032 $as_echo_n "checking for fabsf declaration... " >&6; }
63033 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
63034 if ${glibcxx_cv_func_fabsf_use+:} false; then :
63035 $as_echo_n "(cached) " >&6
63036 else
63039 ac_ext=cpp
63040 ac_cpp='$CXXCPP $CPPFLAGS'
63041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63046 /* end confdefs.h. */
63047 #include <math.h>
63048 #ifdef HAVE_IEEEFP_H
63049 #include <ieeefp.h>
63050 #endif
63053 main ()
63055 fabsf(0);
63057 return 0;
63059 _ACEOF
63060 if ac_fn_cxx_try_compile "$LINENO"; then :
63061 glibcxx_cv_func_fabsf_use=yes
63062 else
63063 glibcxx_cv_func_fabsf_use=no
63065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63066 ac_ext=c
63067 ac_cpp='$CPP $CPPFLAGS'
63068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
63077 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
63079 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
63080 for ac_func in fabsf
63081 do :
63082 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
63083 if test "x$ac_cv_func_fabsf" = xyes; then :
63084 cat >>confdefs.h <<_ACEOF
63085 #define HAVE_FABSF 1
63086 _ACEOF
63089 done
63091 else
63093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
63094 $as_echo_n "checking for _fabsf declaration... " >&6; }
63095 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
63096 if ${glibcxx_cv_func__fabsf_use+:} false; then :
63097 $as_echo_n "(cached) " >&6
63098 else
63101 ac_ext=cpp
63102 ac_cpp='$CXXCPP $CPPFLAGS'
63103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63108 /* end confdefs.h. */
63109 #include <math.h>
63110 #ifdef HAVE_IEEEFP_H
63111 #include <ieeefp.h>
63112 #endif
63115 main ()
63117 _fabsf(0);
63119 return 0;
63121 _ACEOF
63122 if ac_fn_cxx_try_compile "$LINENO"; then :
63123 glibcxx_cv_func__fabsf_use=yes
63124 else
63125 glibcxx_cv_func__fabsf_use=no
63127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63128 ac_ext=c
63129 ac_cpp='$CPP $CPPFLAGS'
63130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
63139 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
63141 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
63142 for ac_func in _fabsf
63143 do :
63144 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
63145 if test "x$ac_cv_func__fabsf" = xyes; then :
63146 cat >>confdefs.h <<_ACEOF
63147 #define HAVE__FABSF 1
63148 _ACEOF
63151 done
63160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
63161 $as_echo_n "checking for fmodf declaration... " >&6; }
63162 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
63163 if ${glibcxx_cv_func_fmodf_use+:} false; then :
63164 $as_echo_n "(cached) " >&6
63165 else
63168 ac_ext=cpp
63169 ac_cpp='$CXXCPP $CPPFLAGS'
63170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63175 /* end confdefs.h. */
63176 #include <math.h>
63178 main ()
63180 fmodf(0, 0);
63182 return 0;
63184 _ACEOF
63185 if ac_fn_cxx_try_compile "$LINENO"; then :
63186 glibcxx_cv_func_fmodf_use=yes
63187 else
63188 glibcxx_cv_func_fmodf_use=no
63190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63191 ac_ext=c
63192 ac_cpp='$CPP $CPPFLAGS'
63193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
63202 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
63204 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
63205 for ac_func in fmodf
63206 do :
63207 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
63208 if test "x$ac_cv_func_fmodf" = xyes; then :
63209 cat >>confdefs.h <<_ACEOF
63210 #define HAVE_FMODF 1
63211 _ACEOF
63214 done
63216 else
63218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
63219 $as_echo_n "checking for _fmodf declaration... " >&6; }
63220 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
63221 if ${glibcxx_cv_func__fmodf_use+:} false; then :
63222 $as_echo_n "(cached) " >&6
63223 else
63226 ac_ext=cpp
63227 ac_cpp='$CXXCPP $CPPFLAGS'
63228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63233 /* end confdefs.h. */
63234 #include <math.h>
63236 main ()
63238 _fmodf(0, 0);
63240 return 0;
63242 _ACEOF
63243 if ac_fn_cxx_try_compile "$LINENO"; then :
63244 glibcxx_cv_func__fmodf_use=yes
63245 else
63246 glibcxx_cv_func__fmodf_use=no
63248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63249 ac_ext=c
63250 ac_cpp='$CPP $CPPFLAGS'
63251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
63260 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
63262 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
63263 for ac_func in _fmodf
63264 do :
63265 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
63266 if test "x$ac_cv_func__fmodf" = xyes; then :
63267 cat >>confdefs.h <<_ACEOF
63268 #define HAVE__FMODF 1
63269 _ACEOF
63272 done
63281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
63282 $as_echo_n "checking for frexpf declaration... " >&6; }
63283 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
63284 if ${glibcxx_cv_func_frexpf_use+:} false; then :
63285 $as_echo_n "(cached) " >&6
63286 else
63289 ac_ext=cpp
63290 ac_cpp='$CXXCPP $CPPFLAGS'
63291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63296 /* end confdefs.h. */
63297 #include <math.h>
63299 main ()
63301 frexpf(0, 0);
63303 return 0;
63305 _ACEOF
63306 if ac_fn_cxx_try_compile "$LINENO"; then :
63307 glibcxx_cv_func_frexpf_use=yes
63308 else
63309 glibcxx_cv_func_frexpf_use=no
63311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63312 ac_ext=c
63313 ac_cpp='$CPP $CPPFLAGS'
63314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
63323 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
63325 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
63326 for ac_func in frexpf
63327 do :
63328 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
63329 if test "x$ac_cv_func_frexpf" = xyes; then :
63330 cat >>confdefs.h <<_ACEOF
63331 #define HAVE_FREXPF 1
63332 _ACEOF
63335 done
63337 else
63339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
63340 $as_echo_n "checking for _frexpf declaration... " >&6; }
63341 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
63342 if ${glibcxx_cv_func__frexpf_use+:} false; then :
63343 $as_echo_n "(cached) " >&6
63344 else
63347 ac_ext=cpp
63348 ac_cpp='$CXXCPP $CPPFLAGS'
63349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63354 /* end confdefs.h. */
63355 #include <math.h>
63357 main ()
63359 _frexpf(0, 0);
63361 return 0;
63363 _ACEOF
63364 if ac_fn_cxx_try_compile "$LINENO"; then :
63365 glibcxx_cv_func__frexpf_use=yes
63366 else
63367 glibcxx_cv_func__frexpf_use=no
63369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63370 ac_ext=c
63371 ac_cpp='$CPP $CPPFLAGS'
63372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
63381 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
63383 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
63384 for ac_func in _frexpf
63385 do :
63386 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
63387 if test "x$ac_cv_func__frexpf" = xyes; then :
63388 cat >>confdefs.h <<_ACEOF
63389 #define HAVE__FREXPF 1
63390 _ACEOF
63393 done
63402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
63403 $as_echo_n "checking for hypotf declaration... " >&6; }
63404 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
63405 if ${glibcxx_cv_func_hypotf_use+:} false; then :
63406 $as_echo_n "(cached) " >&6
63407 else
63410 ac_ext=cpp
63411 ac_cpp='$CXXCPP $CPPFLAGS'
63412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63417 /* end confdefs.h. */
63418 #include <math.h>
63420 main ()
63422 hypotf(0, 0);
63424 return 0;
63426 _ACEOF
63427 if ac_fn_cxx_try_compile "$LINENO"; then :
63428 glibcxx_cv_func_hypotf_use=yes
63429 else
63430 glibcxx_cv_func_hypotf_use=no
63432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63433 ac_ext=c
63434 ac_cpp='$CPP $CPPFLAGS'
63435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
63444 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
63446 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
63447 for ac_func in hypotf
63448 do :
63449 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
63450 if test "x$ac_cv_func_hypotf" = xyes; then :
63451 cat >>confdefs.h <<_ACEOF
63452 #define HAVE_HYPOTF 1
63453 _ACEOF
63456 done
63458 else
63460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
63461 $as_echo_n "checking for _hypotf declaration... " >&6; }
63462 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
63463 if ${glibcxx_cv_func__hypotf_use+:} false; then :
63464 $as_echo_n "(cached) " >&6
63465 else
63468 ac_ext=cpp
63469 ac_cpp='$CXXCPP $CPPFLAGS'
63470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63475 /* end confdefs.h. */
63476 #include <math.h>
63478 main ()
63480 _hypotf(0, 0);
63482 return 0;
63484 _ACEOF
63485 if ac_fn_cxx_try_compile "$LINENO"; then :
63486 glibcxx_cv_func__hypotf_use=yes
63487 else
63488 glibcxx_cv_func__hypotf_use=no
63490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63491 ac_ext=c
63492 ac_cpp='$CPP $CPPFLAGS'
63493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
63502 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
63504 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
63505 for ac_func in _hypotf
63506 do :
63507 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
63508 if test "x$ac_cv_func__hypotf" = xyes; then :
63509 cat >>confdefs.h <<_ACEOF
63510 #define HAVE__HYPOTF 1
63511 _ACEOF
63514 done
63523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
63524 $as_echo_n "checking for ldexpf declaration... " >&6; }
63525 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
63526 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
63527 $as_echo_n "(cached) " >&6
63528 else
63531 ac_ext=cpp
63532 ac_cpp='$CXXCPP $CPPFLAGS'
63533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63538 /* end confdefs.h. */
63539 #include <math.h>
63541 main ()
63543 ldexpf(0, 0);
63545 return 0;
63547 _ACEOF
63548 if ac_fn_cxx_try_compile "$LINENO"; then :
63549 glibcxx_cv_func_ldexpf_use=yes
63550 else
63551 glibcxx_cv_func_ldexpf_use=no
63553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63554 ac_ext=c
63555 ac_cpp='$CPP $CPPFLAGS'
63556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
63565 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
63567 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
63568 for ac_func in ldexpf
63569 do :
63570 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
63571 if test "x$ac_cv_func_ldexpf" = xyes; then :
63572 cat >>confdefs.h <<_ACEOF
63573 #define HAVE_LDEXPF 1
63574 _ACEOF
63577 done
63579 else
63581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
63582 $as_echo_n "checking for _ldexpf declaration... " >&6; }
63583 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
63584 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
63585 $as_echo_n "(cached) " >&6
63586 else
63589 ac_ext=cpp
63590 ac_cpp='$CXXCPP $CPPFLAGS'
63591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63596 /* end confdefs.h. */
63597 #include <math.h>
63599 main ()
63601 _ldexpf(0, 0);
63603 return 0;
63605 _ACEOF
63606 if ac_fn_cxx_try_compile "$LINENO"; then :
63607 glibcxx_cv_func__ldexpf_use=yes
63608 else
63609 glibcxx_cv_func__ldexpf_use=no
63611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63612 ac_ext=c
63613 ac_cpp='$CPP $CPPFLAGS'
63614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
63623 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
63625 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
63626 for ac_func in _ldexpf
63627 do :
63628 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
63629 if test "x$ac_cv_func__ldexpf" = xyes; then :
63630 cat >>confdefs.h <<_ACEOF
63631 #define HAVE__LDEXPF 1
63632 _ACEOF
63635 done
63644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
63645 $as_echo_n "checking for logf declaration... " >&6; }
63646 if test x${glibcxx_cv_func_logf_use+set} != xset; then
63647 if ${glibcxx_cv_func_logf_use+:} false; then :
63648 $as_echo_n "(cached) " >&6
63649 else
63652 ac_ext=cpp
63653 ac_cpp='$CXXCPP $CPPFLAGS'
63654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63659 /* end confdefs.h. */
63660 #include <math.h>
63661 #ifdef HAVE_IEEEFP_H
63662 #include <ieeefp.h>
63663 #endif
63666 main ()
63668 logf(0);
63670 return 0;
63672 _ACEOF
63673 if ac_fn_cxx_try_compile "$LINENO"; then :
63674 glibcxx_cv_func_logf_use=yes
63675 else
63676 glibcxx_cv_func_logf_use=no
63678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63679 ac_ext=c
63680 ac_cpp='$CPP $CPPFLAGS'
63681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
63690 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
63692 if test x$glibcxx_cv_func_logf_use = x"yes"; then
63693 for ac_func in logf
63694 do :
63695 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
63696 if test "x$ac_cv_func_logf" = xyes; then :
63697 cat >>confdefs.h <<_ACEOF
63698 #define HAVE_LOGF 1
63699 _ACEOF
63702 done
63704 else
63706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
63707 $as_echo_n "checking for _logf declaration... " >&6; }
63708 if test x${glibcxx_cv_func__logf_use+set} != xset; then
63709 if ${glibcxx_cv_func__logf_use+:} false; then :
63710 $as_echo_n "(cached) " >&6
63711 else
63714 ac_ext=cpp
63715 ac_cpp='$CXXCPP $CPPFLAGS'
63716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63721 /* end confdefs.h. */
63722 #include <math.h>
63723 #ifdef HAVE_IEEEFP_H
63724 #include <ieeefp.h>
63725 #endif
63728 main ()
63730 _logf(0);
63732 return 0;
63734 _ACEOF
63735 if ac_fn_cxx_try_compile "$LINENO"; then :
63736 glibcxx_cv_func__logf_use=yes
63737 else
63738 glibcxx_cv_func__logf_use=no
63740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63741 ac_ext=c
63742 ac_cpp='$CPP $CPPFLAGS'
63743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
63752 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
63754 if test x$glibcxx_cv_func__logf_use = x"yes"; then
63755 for ac_func in _logf
63756 do :
63757 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
63758 if test "x$ac_cv_func__logf" = xyes; then :
63759 cat >>confdefs.h <<_ACEOF
63760 #define HAVE__LOGF 1
63761 _ACEOF
63764 done
63773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
63774 $as_echo_n "checking for log10f declaration... " >&6; }
63775 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
63776 if ${glibcxx_cv_func_log10f_use+:} false; then :
63777 $as_echo_n "(cached) " >&6
63778 else
63781 ac_ext=cpp
63782 ac_cpp='$CXXCPP $CPPFLAGS'
63783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63788 /* end confdefs.h. */
63789 #include <math.h>
63790 #ifdef HAVE_IEEEFP_H
63791 #include <ieeefp.h>
63792 #endif
63795 main ()
63797 log10f(0);
63799 return 0;
63801 _ACEOF
63802 if ac_fn_cxx_try_compile "$LINENO"; then :
63803 glibcxx_cv_func_log10f_use=yes
63804 else
63805 glibcxx_cv_func_log10f_use=no
63807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63808 ac_ext=c
63809 ac_cpp='$CPP $CPPFLAGS'
63810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
63819 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
63821 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
63822 for ac_func in log10f
63823 do :
63824 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
63825 if test "x$ac_cv_func_log10f" = xyes; then :
63826 cat >>confdefs.h <<_ACEOF
63827 #define HAVE_LOG10F 1
63828 _ACEOF
63831 done
63833 else
63835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
63836 $as_echo_n "checking for _log10f declaration... " >&6; }
63837 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
63838 if ${glibcxx_cv_func__log10f_use+:} false; then :
63839 $as_echo_n "(cached) " >&6
63840 else
63843 ac_ext=cpp
63844 ac_cpp='$CXXCPP $CPPFLAGS'
63845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63850 /* end confdefs.h. */
63851 #include <math.h>
63852 #ifdef HAVE_IEEEFP_H
63853 #include <ieeefp.h>
63854 #endif
63857 main ()
63859 _log10f(0);
63861 return 0;
63863 _ACEOF
63864 if ac_fn_cxx_try_compile "$LINENO"; then :
63865 glibcxx_cv_func__log10f_use=yes
63866 else
63867 glibcxx_cv_func__log10f_use=no
63869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63870 ac_ext=c
63871 ac_cpp='$CPP $CPPFLAGS'
63872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
63881 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
63883 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
63884 for ac_func in _log10f
63885 do :
63886 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
63887 if test "x$ac_cv_func__log10f" = xyes; then :
63888 cat >>confdefs.h <<_ACEOF
63889 #define HAVE__LOG10F 1
63890 _ACEOF
63893 done
63902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
63903 $as_echo_n "checking for modff declaration... " >&6; }
63904 if test x${glibcxx_cv_func_modff_use+set} != xset; then
63905 if ${glibcxx_cv_func_modff_use+:} false; then :
63906 $as_echo_n "(cached) " >&6
63907 else
63910 ac_ext=cpp
63911 ac_cpp='$CXXCPP $CPPFLAGS'
63912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63917 /* end confdefs.h. */
63918 #include <math.h>
63920 main ()
63922 modff(0, 0);
63924 return 0;
63926 _ACEOF
63927 if ac_fn_cxx_try_compile "$LINENO"; then :
63928 glibcxx_cv_func_modff_use=yes
63929 else
63930 glibcxx_cv_func_modff_use=no
63932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63933 ac_ext=c
63934 ac_cpp='$CPP $CPPFLAGS'
63935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
63944 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
63946 if test x$glibcxx_cv_func_modff_use = x"yes"; then
63947 for ac_func in modff
63948 do :
63949 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
63950 if test "x$ac_cv_func_modff" = xyes; then :
63951 cat >>confdefs.h <<_ACEOF
63952 #define HAVE_MODFF 1
63953 _ACEOF
63956 done
63958 else
63960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
63961 $as_echo_n "checking for _modff declaration... " >&6; }
63962 if test x${glibcxx_cv_func__modff_use+set} != xset; then
63963 if ${glibcxx_cv_func__modff_use+:} false; then :
63964 $as_echo_n "(cached) " >&6
63965 else
63968 ac_ext=cpp
63969 ac_cpp='$CXXCPP $CPPFLAGS'
63970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63975 /* end confdefs.h. */
63976 #include <math.h>
63978 main ()
63980 _modff(0, 0);
63982 return 0;
63984 _ACEOF
63985 if ac_fn_cxx_try_compile "$LINENO"; then :
63986 glibcxx_cv_func__modff_use=yes
63987 else
63988 glibcxx_cv_func__modff_use=no
63990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63991 ac_ext=c
63992 ac_cpp='$CPP $CPPFLAGS'
63993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
64002 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
64004 if test x$glibcxx_cv_func__modff_use = x"yes"; then
64005 for ac_func in _modff
64006 do :
64007 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
64008 if test "x$ac_cv_func__modff" = xyes; then :
64009 cat >>confdefs.h <<_ACEOF
64010 #define HAVE__MODFF 1
64011 _ACEOF
64014 done
64023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
64024 $as_echo_n "checking for modf declaration... " >&6; }
64025 if test x${glibcxx_cv_func_modf_use+set} != xset; then
64026 if ${glibcxx_cv_func_modf_use+:} false; then :
64027 $as_echo_n "(cached) " >&6
64028 else
64031 ac_ext=cpp
64032 ac_cpp='$CXXCPP $CPPFLAGS'
64033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64038 /* end confdefs.h. */
64039 #include <math.h>
64041 main ()
64043 modf(0, 0);
64045 return 0;
64047 _ACEOF
64048 if ac_fn_cxx_try_compile "$LINENO"; then :
64049 glibcxx_cv_func_modf_use=yes
64050 else
64051 glibcxx_cv_func_modf_use=no
64053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64054 ac_ext=c
64055 ac_cpp='$CPP $CPPFLAGS'
64056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
64065 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
64067 if test x$glibcxx_cv_func_modf_use = x"yes"; then
64068 for ac_func in modf
64069 do :
64070 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
64071 if test "x$ac_cv_func_modf" = xyes; then :
64072 cat >>confdefs.h <<_ACEOF
64073 #define HAVE_MODF 1
64074 _ACEOF
64077 done
64079 else
64081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
64082 $as_echo_n "checking for _modf declaration... " >&6; }
64083 if test x${glibcxx_cv_func__modf_use+set} != xset; then
64084 if ${glibcxx_cv_func__modf_use+:} false; then :
64085 $as_echo_n "(cached) " >&6
64086 else
64089 ac_ext=cpp
64090 ac_cpp='$CXXCPP $CPPFLAGS'
64091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64096 /* end confdefs.h. */
64097 #include <math.h>
64099 main ()
64101 _modf(0, 0);
64103 return 0;
64105 _ACEOF
64106 if ac_fn_cxx_try_compile "$LINENO"; then :
64107 glibcxx_cv_func__modf_use=yes
64108 else
64109 glibcxx_cv_func__modf_use=no
64111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64112 ac_ext=c
64113 ac_cpp='$CPP $CPPFLAGS'
64114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
64123 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
64125 if test x$glibcxx_cv_func__modf_use = x"yes"; then
64126 for ac_func in _modf
64127 do :
64128 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
64129 if test "x$ac_cv_func__modf" = xyes; then :
64130 cat >>confdefs.h <<_ACEOF
64131 #define HAVE__MODF 1
64132 _ACEOF
64135 done
64144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
64145 $as_echo_n "checking for powf declaration... " >&6; }
64146 if test x${glibcxx_cv_func_powf_use+set} != xset; then
64147 if ${glibcxx_cv_func_powf_use+:} false; then :
64148 $as_echo_n "(cached) " >&6
64149 else
64152 ac_ext=cpp
64153 ac_cpp='$CXXCPP $CPPFLAGS'
64154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64159 /* end confdefs.h. */
64160 #include <math.h>
64162 main ()
64164 powf(0, 0);
64166 return 0;
64168 _ACEOF
64169 if ac_fn_cxx_try_compile "$LINENO"; then :
64170 glibcxx_cv_func_powf_use=yes
64171 else
64172 glibcxx_cv_func_powf_use=no
64174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64175 ac_ext=c
64176 ac_cpp='$CPP $CPPFLAGS'
64177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
64186 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
64188 if test x$glibcxx_cv_func_powf_use = x"yes"; then
64189 for ac_func in powf
64190 do :
64191 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
64192 if test "x$ac_cv_func_powf" = xyes; then :
64193 cat >>confdefs.h <<_ACEOF
64194 #define HAVE_POWF 1
64195 _ACEOF
64198 done
64200 else
64202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
64203 $as_echo_n "checking for _powf declaration... " >&6; }
64204 if test x${glibcxx_cv_func__powf_use+set} != xset; then
64205 if ${glibcxx_cv_func__powf_use+:} false; then :
64206 $as_echo_n "(cached) " >&6
64207 else
64210 ac_ext=cpp
64211 ac_cpp='$CXXCPP $CPPFLAGS'
64212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64217 /* end confdefs.h. */
64218 #include <math.h>
64220 main ()
64222 _powf(0, 0);
64224 return 0;
64226 _ACEOF
64227 if ac_fn_cxx_try_compile "$LINENO"; then :
64228 glibcxx_cv_func__powf_use=yes
64229 else
64230 glibcxx_cv_func__powf_use=no
64232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64233 ac_ext=c
64234 ac_cpp='$CPP $CPPFLAGS'
64235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
64244 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
64246 if test x$glibcxx_cv_func__powf_use = x"yes"; then
64247 for ac_func in _powf
64248 do :
64249 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
64250 if test "x$ac_cv_func__powf" = xyes; then :
64251 cat >>confdefs.h <<_ACEOF
64252 #define HAVE__POWF 1
64253 _ACEOF
64256 done
64265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
64266 $as_echo_n "checking for sqrtf declaration... " >&6; }
64267 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
64268 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
64269 $as_echo_n "(cached) " >&6
64270 else
64273 ac_ext=cpp
64274 ac_cpp='$CXXCPP $CPPFLAGS'
64275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64280 /* end confdefs.h. */
64281 #include <math.h>
64282 #ifdef HAVE_IEEEFP_H
64283 #include <ieeefp.h>
64284 #endif
64287 main ()
64289 sqrtf(0);
64291 return 0;
64293 _ACEOF
64294 if ac_fn_cxx_try_compile "$LINENO"; then :
64295 glibcxx_cv_func_sqrtf_use=yes
64296 else
64297 glibcxx_cv_func_sqrtf_use=no
64299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64300 ac_ext=c
64301 ac_cpp='$CPP $CPPFLAGS'
64302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
64311 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
64313 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
64314 for ac_func in sqrtf
64315 do :
64316 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
64317 if test "x$ac_cv_func_sqrtf" = xyes; then :
64318 cat >>confdefs.h <<_ACEOF
64319 #define HAVE_SQRTF 1
64320 _ACEOF
64323 done
64325 else
64327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
64328 $as_echo_n "checking for _sqrtf declaration... " >&6; }
64329 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
64330 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
64331 $as_echo_n "(cached) " >&6
64332 else
64335 ac_ext=cpp
64336 ac_cpp='$CXXCPP $CPPFLAGS'
64337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64342 /* end confdefs.h. */
64343 #include <math.h>
64344 #ifdef HAVE_IEEEFP_H
64345 #include <ieeefp.h>
64346 #endif
64349 main ()
64351 _sqrtf(0);
64353 return 0;
64355 _ACEOF
64356 if ac_fn_cxx_try_compile "$LINENO"; then :
64357 glibcxx_cv_func__sqrtf_use=yes
64358 else
64359 glibcxx_cv_func__sqrtf_use=no
64361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64362 ac_ext=c
64363 ac_cpp='$CPP $CPPFLAGS'
64364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
64373 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
64375 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
64376 for ac_func in _sqrtf
64377 do :
64378 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
64379 if test "x$ac_cv_func__sqrtf" = xyes; then :
64380 cat >>confdefs.h <<_ACEOF
64381 #define HAVE__SQRTF 1
64382 _ACEOF
64385 done
64394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
64395 $as_echo_n "checking for sincosf declaration... " >&6; }
64396 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
64397 if ${glibcxx_cv_func_sincosf_use+:} false; then :
64398 $as_echo_n "(cached) " >&6
64399 else
64402 ac_ext=cpp
64403 ac_cpp='$CXXCPP $CPPFLAGS'
64404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64409 /* end confdefs.h. */
64410 #include <math.h>
64412 main ()
64414 sincosf(0, 0, 0);
64416 return 0;
64418 _ACEOF
64419 if ac_fn_cxx_try_compile "$LINENO"; then :
64420 glibcxx_cv_func_sincosf_use=yes
64421 else
64422 glibcxx_cv_func_sincosf_use=no
64424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64425 ac_ext=c
64426 ac_cpp='$CPP $CPPFLAGS'
64427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
64436 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
64438 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
64439 for ac_func in sincosf
64440 do :
64441 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
64442 if test "x$ac_cv_func_sincosf" = xyes; then :
64443 cat >>confdefs.h <<_ACEOF
64444 #define HAVE_SINCOSF 1
64445 _ACEOF
64448 done
64450 else
64452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
64453 $as_echo_n "checking for _sincosf declaration... " >&6; }
64454 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
64455 if ${glibcxx_cv_func__sincosf_use+:} false; then :
64456 $as_echo_n "(cached) " >&6
64457 else
64460 ac_ext=cpp
64461 ac_cpp='$CXXCPP $CPPFLAGS'
64462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64467 /* end confdefs.h. */
64468 #include <math.h>
64470 main ()
64472 _sincosf(0, 0, 0);
64474 return 0;
64476 _ACEOF
64477 if ac_fn_cxx_try_compile "$LINENO"; then :
64478 glibcxx_cv_func__sincosf_use=yes
64479 else
64480 glibcxx_cv_func__sincosf_use=no
64482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64483 ac_ext=c
64484 ac_cpp='$CPP $CPPFLAGS'
64485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
64494 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
64496 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
64497 for ac_func in _sincosf
64498 do :
64499 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
64500 if test "x$ac_cv_func__sincosf" = xyes; then :
64501 cat >>confdefs.h <<_ACEOF
64502 #define HAVE__SINCOSF 1
64503 _ACEOF
64506 done
64515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
64516 $as_echo_n "checking for finitef declaration... " >&6; }
64517 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
64518 if ${glibcxx_cv_func_finitef_use+:} false; then :
64519 $as_echo_n "(cached) " >&6
64520 else
64523 ac_ext=cpp
64524 ac_cpp='$CXXCPP $CPPFLAGS'
64525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64530 /* end confdefs.h. */
64531 #include <math.h>
64532 #ifdef HAVE_IEEEFP_H
64533 #include <ieeefp.h>
64534 #endif
64537 main ()
64539 finitef(0);
64541 return 0;
64543 _ACEOF
64544 if ac_fn_cxx_try_compile "$LINENO"; then :
64545 glibcxx_cv_func_finitef_use=yes
64546 else
64547 glibcxx_cv_func_finitef_use=no
64549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64550 ac_ext=c
64551 ac_cpp='$CPP $CPPFLAGS'
64552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
64561 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
64563 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
64564 for ac_func in finitef
64565 do :
64566 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
64567 if test "x$ac_cv_func_finitef" = xyes; then :
64568 cat >>confdefs.h <<_ACEOF
64569 #define HAVE_FINITEF 1
64570 _ACEOF
64573 done
64575 else
64577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
64578 $as_echo_n "checking for _finitef declaration... " >&6; }
64579 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
64580 if ${glibcxx_cv_func__finitef_use+:} false; then :
64581 $as_echo_n "(cached) " >&6
64582 else
64585 ac_ext=cpp
64586 ac_cpp='$CXXCPP $CPPFLAGS'
64587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64592 /* end confdefs.h. */
64593 #include <math.h>
64594 #ifdef HAVE_IEEEFP_H
64595 #include <ieeefp.h>
64596 #endif
64599 main ()
64601 _finitef(0);
64603 return 0;
64605 _ACEOF
64606 if ac_fn_cxx_try_compile "$LINENO"; then :
64607 glibcxx_cv_func__finitef_use=yes
64608 else
64609 glibcxx_cv_func__finitef_use=no
64611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64612 ac_ext=c
64613 ac_cpp='$CPP $CPPFLAGS'
64614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
64623 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
64625 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
64626 for ac_func in _finitef
64627 do :
64628 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
64629 if test "x$ac_cv_func__finitef" = xyes; then :
64630 cat >>confdefs.h <<_ACEOF
64631 #define HAVE__FINITEF 1
64632 _ACEOF
64635 done
64644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
64645 $as_echo_n "checking for long double trig functions... " >&6; }
64646 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
64647 $as_echo_n "(cached) " >&6
64648 else
64651 ac_ext=cpp
64652 ac_cpp='$CXXCPP $CPPFLAGS'
64653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64658 /* end confdefs.h. */
64659 #include <math.h>
64661 main ()
64663 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
64665 return 0;
64667 _ACEOF
64668 if ac_fn_cxx_try_compile "$LINENO"; then :
64669 glibcxx_cv_func_long_double_trig_use=yes
64670 else
64671 glibcxx_cv_func_long_double_trig_use=no
64673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64674 ac_ext=c
64675 ac_cpp='$CPP $CPPFLAGS'
64676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
64683 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
64684 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
64685 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
64686 do :
64687 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64688 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64689 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64690 cat >>confdefs.h <<_ACEOF
64691 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64692 _ACEOF
64695 done
64697 else
64698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
64699 $as_echo_n "checking for _long double trig functions... " >&6; }
64700 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
64701 $as_echo_n "(cached) " >&6
64702 else
64705 ac_ext=cpp
64706 ac_cpp='$CXXCPP $CPPFLAGS'
64707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64712 /* end confdefs.h. */
64713 #include <math.h>
64715 main ()
64717 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
64719 return 0;
64721 _ACEOF
64722 if ac_fn_cxx_try_compile "$LINENO"; then :
64723 glibcxx_cv_func__long_double_trig_use=yes
64724 else
64725 glibcxx_cv_func__long_double_trig_use=no
64727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64728 ac_ext=c
64729 ac_cpp='$CPP $CPPFLAGS'
64730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
64737 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
64738 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
64739 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
64740 do :
64741 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64742 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64743 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64744 cat >>confdefs.h <<_ACEOF
64745 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64746 _ACEOF
64749 done
64758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
64759 $as_echo_n "checking for long double round functions... " >&6; }
64760 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
64761 $as_echo_n "(cached) " >&6
64762 else
64765 ac_ext=cpp
64766 ac_cpp='$CXXCPP $CPPFLAGS'
64767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64772 /* end confdefs.h. */
64773 #include <math.h>
64775 main ()
64777 ceill (0); floorl (0);
64779 return 0;
64781 _ACEOF
64782 if ac_fn_cxx_try_compile "$LINENO"; then :
64783 glibcxx_cv_func_long_double_round_use=yes
64784 else
64785 glibcxx_cv_func_long_double_round_use=no
64787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64788 ac_ext=c
64789 ac_cpp='$CPP $CPPFLAGS'
64790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
64797 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
64798 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
64799 for ac_func in ceill floorl
64800 do :
64801 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64802 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64803 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64804 cat >>confdefs.h <<_ACEOF
64805 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64806 _ACEOF
64809 done
64811 else
64812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
64813 $as_echo_n "checking for _long double round functions... " >&6; }
64814 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
64815 $as_echo_n "(cached) " >&6
64816 else
64819 ac_ext=cpp
64820 ac_cpp='$CXXCPP $CPPFLAGS'
64821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64826 /* end confdefs.h. */
64827 #include <math.h>
64829 main ()
64831 _ceill (0); _floorl (0);
64833 return 0;
64835 _ACEOF
64836 if ac_fn_cxx_try_compile "$LINENO"; then :
64837 glibcxx_cv_func__long_double_round_use=yes
64838 else
64839 glibcxx_cv_func__long_double_round_use=no
64841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64842 ac_ext=c
64843 ac_cpp='$CPP $CPPFLAGS'
64844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
64851 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
64852 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
64853 for ac_func in _ceill _floorl
64854 do :
64855 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64856 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64857 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64858 cat >>confdefs.h <<_ACEOF
64859 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64860 _ACEOF
64863 done
64873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
64874 $as_echo_n "checking for isnanl declaration... " >&6; }
64875 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
64876 if ${glibcxx_cv_func_isnanl_use+:} false; then :
64877 $as_echo_n "(cached) " >&6
64878 else
64881 ac_ext=cpp
64882 ac_cpp='$CXXCPP $CPPFLAGS'
64883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64888 /* end confdefs.h. */
64889 #include <math.h>
64890 #ifdef HAVE_IEEEFP_H
64891 #include <ieeefp.h>
64892 #endif
64895 main ()
64897 isnanl(0);
64899 return 0;
64901 _ACEOF
64902 if ac_fn_cxx_try_compile "$LINENO"; then :
64903 glibcxx_cv_func_isnanl_use=yes
64904 else
64905 glibcxx_cv_func_isnanl_use=no
64907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64908 ac_ext=c
64909 ac_cpp='$CPP $CPPFLAGS'
64910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
64919 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
64921 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
64922 for ac_func in isnanl
64923 do :
64924 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
64925 if test "x$ac_cv_func_isnanl" = xyes; then :
64926 cat >>confdefs.h <<_ACEOF
64927 #define HAVE_ISNANL 1
64928 _ACEOF
64931 done
64933 else
64935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
64936 $as_echo_n "checking for _isnanl declaration... " >&6; }
64937 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
64938 if ${glibcxx_cv_func__isnanl_use+:} false; then :
64939 $as_echo_n "(cached) " >&6
64940 else
64943 ac_ext=cpp
64944 ac_cpp='$CXXCPP $CPPFLAGS'
64945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64950 /* end confdefs.h. */
64951 #include <math.h>
64952 #ifdef HAVE_IEEEFP_H
64953 #include <ieeefp.h>
64954 #endif
64957 main ()
64959 _isnanl(0);
64961 return 0;
64963 _ACEOF
64964 if ac_fn_cxx_try_compile "$LINENO"; then :
64965 glibcxx_cv_func__isnanl_use=yes
64966 else
64967 glibcxx_cv_func__isnanl_use=no
64969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64970 ac_ext=c
64971 ac_cpp='$CPP $CPPFLAGS'
64972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
64981 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
64983 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
64984 for ac_func in _isnanl
64985 do :
64986 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
64987 if test "x$ac_cv_func__isnanl" = xyes; then :
64988 cat >>confdefs.h <<_ACEOF
64989 #define HAVE__ISNANL 1
64990 _ACEOF
64993 done
65002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
65003 $as_echo_n "checking for isinfl declaration... " >&6; }
65004 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
65005 if ${glibcxx_cv_func_isinfl_use+:} false; then :
65006 $as_echo_n "(cached) " >&6
65007 else
65010 ac_ext=cpp
65011 ac_cpp='$CXXCPP $CPPFLAGS'
65012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65017 /* end confdefs.h. */
65018 #include <math.h>
65019 #ifdef HAVE_IEEEFP_H
65020 #include <ieeefp.h>
65021 #endif
65024 main ()
65026 isinfl(0);
65028 return 0;
65030 _ACEOF
65031 if ac_fn_cxx_try_compile "$LINENO"; then :
65032 glibcxx_cv_func_isinfl_use=yes
65033 else
65034 glibcxx_cv_func_isinfl_use=no
65036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65037 ac_ext=c
65038 ac_cpp='$CPP $CPPFLAGS'
65039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
65048 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
65050 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
65051 for ac_func in isinfl
65052 do :
65053 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
65054 if test "x$ac_cv_func_isinfl" = xyes; then :
65055 cat >>confdefs.h <<_ACEOF
65056 #define HAVE_ISINFL 1
65057 _ACEOF
65060 done
65062 else
65064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
65065 $as_echo_n "checking for _isinfl declaration... " >&6; }
65066 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
65067 if ${glibcxx_cv_func__isinfl_use+:} false; then :
65068 $as_echo_n "(cached) " >&6
65069 else
65072 ac_ext=cpp
65073 ac_cpp='$CXXCPP $CPPFLAGS'
65074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65079 /* end confdefs.h. */
65080 #include <math.h>
65081 #ifdef HAVE_IEEEFP_H
65082 #include <ieeefp.h>
65083 #endif
65086 main ()
65088 _isinfl(0);
65090 return 0;
65092 _ACEOF
65093 if ac_fn_cxx_try_compile "$LINENO"; then :
65094 glibcxx_cv_func__isinfl_use=yes
65095 else
65096 glibcxx_cv_func__isinfl_use=no
65098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65099 ac_ext=c
65100 ac_cpp='$CPP $CPPFLAGS'
65101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
65110 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
65112 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
65113 for ac_func in _isinfl
65114 do :
65115 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
65116 if test "x$ac_cv_func__isinfl" = xyes; then :
65117 cat >>confdefs.h <<_ACEOF
65118 #define HAVE__ISINFL 1
65119 _ACEOF
65122 done
65131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
65132 $as_echo_n "checking for atan2l declaration... " >&6; }
65133 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
65134 if ${glibcxx_cv_func_atan2l_use+:} false; then :
65135 $as_echo_n "(cached) " >&6
65136 else
65139 ac_ext=cpp
65140 ac_cpp='$CXXCPP $CPPFLAGS'
65141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65146 /* end confdefs.h. */
65147 #include <math.h>
65149 main ()
65151 atan2l(0, 0);
65153 return 0;
65155 _ACEOF
65156 if ac_fn_cxx_try_compile "$LINENO"; then :
65157 glibcxx_cv_func_atan2l_use=yes
65158 else
65159 glibcxx_cv_func_atan2l_use=no
65161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65162 ac_ext=c
65163 ac_cpp='$CPP $CPPFLAGS'
65164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
65173 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
65175 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
65176 for ac_func in atan2l
65177 do :
65178 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
65179 if test "x$ac_cv_func_atan2l" = xyes; then :
65180 cat >>confdefs.h <<_ACEOF
65181 #define HAVE_ATAN2L 1
65182 _ACEOF
65185 done
65187 else
65189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
65190 $as_echo_n "checking for _atan2l declaration... " >&6; }
65191 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
65192 if ${glibcxx_cv_func__atan2l_use+:} false; then :
65193 $as_echo_n "(cached) " >&6
65194 else
65197 ac_ext=cpp
65198 ac_cpp='$CXXCPP $CPPFLAGS'
65199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65204 /* end confdefs.h. */
65205 #include <math.h>
65207 main ()
65209 _atan2l(0, 0);
65211 return 0;
65213 _ACEOF
65214 if ac_fn_cxx_try_compile "$LINENO"; then :
65215 glibcxx_cv_func__atan2l_use=yes
65216 else
65217 glibcxx_cv_func__atan2l_use=no
65219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65220 ac_ext=c
65221 ac_cpp='$CPP $CPPFLAGS'
65222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
65231 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
65233 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
65234 for ac_func in _atan2l
65235 do :
65236 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
65237 if test "x$ac_cv_func__atan2l" = xyes; then :
65238 cat >>confdefs.h <<_ACEOF
65239 #define HAVE__ATAN2L 1
65240 _ACEOF
65243 done
65252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
65253 $as_echo_n "checking for expl declaration... " >&6; }
65254 if test x${glibcxx_cv_func_expl_use+set} != xset; then
65255 if ${glibcxx_cv_func_expl_use+:} false; then :
65256 $as_echo_n "(cached) " >&6
65257 else
65260 ac_ext=cpp
65261 ac_cpp='$CXXCPP $CPPFLAGS'
65262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65267 /* end confdefs.h. */
65268 #include <math.h>
65269 #ifdef HAVE_IEEEFP_H
65270 #include <ieeefp.h>
65271 #endif
65274 main ()
65276 expl(0);
65278 return 0;
65280 _ACEOF
65281 if ac_fn_cxx_try_compile "$LINENO"; then :
65282 glibcxx_cv_func_expl_use=yes
65283 else
65284 glibcxx_cv_func_expl_use=no
65286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65287 ac_ext=c
65288 ac_cpp='$CPP $CPPFLAGS'
65289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
65298 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
65300 if test x$glibcxx_cv_func_expl_use = x"yes"; then
65301 for ac_func in expl
65302 do :
65303 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
65304 if test "x$ac_cv_func_expl" = xyes; then :
65305 cat >>confdefs.h <<_ACEOF
65306 #define HAVE_EXPL 1
65307 _ACEOF
65310 done
65312 else
65314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
65315 $as_echo_n "checking for _expl declaration... " >&6; }
65316 if test x${glibcxx_cv_func__expl_use+set} != xset; then
65317 if ${glibcxx_cv_func__expl_use+:} false; then :
65318 $as_echo_n "(cached) " >&6
65319 else
65322 ac_ext=cpp
65323 ac_cpp='$CXXCPP $CPPFLAGS'
65324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65329 /* end confdefs.h. */
65330 #include <math.h>
65331 #ifdef HAVE_IEEEFP_H
65332 #include <ieeefp.h>
65333 #endif
65336 main ()
65338 _expl(0);
65340 return 0;
65342 _ACEOF
65343 if ac_fn_cxx_try_compile "$LINENO"; then :
65344 glibcxx_cv_func__expl_use=yes
65345 else
65346 glibcxx_cv_func__expl_use=no
65348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65349 ac_ext=c
65350 ac_cpp='$CPP $CPPFLAGS'
65351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
65360 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
65362 if test x$glibcxx_cv_func__expl_use = x"yes"; then
65363 for ac_func in _expl
65364 do :
65365 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
65366 if test "x$ac_cv_func__expl" = xyes; then :
65367 cat >>confdefs.h <<_ACEOF
65368 #define HAVE__EXPL 1
65369 _ACEOF
65372 done
65381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
65382 $as_echo_n "checking for fabsl declaration... " >&6; }
65383 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
65384 if ${glibcxx_cv_func_fabsl_use+:} false; then :
65385 $as_echo_n "(cached) " >&6
65386 else
65389 ac_ext=cpp
65390 ac_cpp='$CXXCPP $CPPFLAGS'
65391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65396 /* end confdefs.h. */
65397 #include <math.h>
65398 #ifdef HAVE_IEEEFP_H
65399 #include <ieeefp.h>
65400 #endif
65403 main ()
65405 fabsl(0);
65407 return 0;
65409 _ACEOF
65410 if ac_fn_cxx_try_compile "$LINENO"; then :
65411 glibcxx_cv_func_fabsl_use=yes
65412 else
65413 glibcxx_cv_func_fabsl_use=no
65415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65416 ac_ext=c
65417 ac_cpp='$CPP $CPPFLAGS'
65418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
65427 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
65429 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
65430 for ac_func in fabsl
65431 do :
65432 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
65433 if test "x$ac_cv_func_fabsl" = xyes; then :
65434 cat >>confdefs.h <<_ACEOF
65435 #define HAVE_FABSL 1
65436 _ACEOF
65439 done
65441 else
65443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
65444 $as_echo_n "checking for _fabsl declaration... " >&6; }
65445 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
65446 if ${glibcxx_cv_func__fabsl_use+:} false; then :
65447 $as_echo_n "(cached) " >&6
65448 else
65451 ac_ext=cpp
65452 ac_cpp='$CXXCPP $CPPFLAGS'
65453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65458 /* end confdefs.h. */
65459 #include <math.h>
65460 #ifdef HAVE_IEEEFP_H
65461 #include <ieeefp.h>
65462 #endif
65465 main ()
65467 _fabsl(0);
65469 return 0;
65471 _ACEOF
65472 if ac_fn_cxx_try_compile "$LINENO"; then :
65473 glibcxx_cv_func__fabsl_use=yes
65474 else
65475 glibcxx_cv_func__fabsl_use=no
65477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65478 ac_ext=c
65479 ac_cpp='$CPP $CPPFLAGS'
65480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
65489 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
65491 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
65492 for ac_func in _fabsl
65493 do :
65494 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
65495 if test "x$ac_cv_func__fabsl" = xyes; then :
65496 cat >>confdefs.h <<_ACEOF
65497 #define HAVE__FABSL 1
65498 _ACEOF
65501 done
65510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
65511 $as_echo_n "checking for fmodl declaration... " >&6; }
65512 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
65513 if ${glibcxx_cv_func_fmodl_use+:} false; then :
65514 $as_echo_n "(cached) " >&6
65515 else
65518 ac_ext=cpp
65519 ac_cpp='$CXXCPP $CPPFLAGS'
65520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65525 /* end confdefs.h. */
65526 #include <math.h>
65528 main ()
65530 fmodl(0, 0);
65532 return 0;
65534 _ACEOF
65535 if ac_fn_cxx_try_compile "$LINENO"; then :
65536 glibcxx_cv_func_fmodl_use=yes
65537 else
65538 glibcxx_cv_func_fmodl_use=no
65540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65541 ac_ext=c
65542 ac_cpp='$CPP $CPPFLAGS'
65543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
65552 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
65554 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
65555 for ac_func in fmodl
65556 do :
65557 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
65558 if test "x$ac_cv_func_fmodl" = xyes; then :
65559 cat >>confdefs.h <<_ACEOF
65560 #define HAVE_FMODL 1
65561 _ACEOF
65564 done
65566 else
65568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
65569 $as_echo_n "checking for _fmodl declaration... " >&6; }
65570 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
65571 if ${glibcxx_cv_func__fmodl_use+:} false; then :
65572 $as_echo_n "(cached) " >&6
65573 else
65576 ac_ext=cpp
65577 ac_cpp='$CXXCPP $CPPFLAGS'
65578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65583 /* end confdefs.h. */
65584 #include <math.h>
65586 main ()
65588 _fmodl(0, 0);
65590 return 0;
65592 _ACEOF
65593 if ac_fn_cxx_try_compile "$LINENO"; then :
65594 glibcxx_cv_func__fmodl_use=yes
65595 else
65596 glibcxx_cv_func__fmodl_use=no
65598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65599 ac_ext=c
65600 ac_cpp='$CPP $CPPFLAGS'
65601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
65610 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
65612 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
65613 for ac_func in _fmodl
65614 do :
65615 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
65616 if test "x$ac_cv_func__fmodl" = xyes; then :
65617 cat >>confdefs.h <<_ACEOF
65618 #define HAVE__FMODL 1
65619 _ACEOF
65622 done
65631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
65632 $as_echo_n "checking for frexpl declaration... " >&6; }
65633 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
65634 if ${glibcxx_cv_func_frexpl_use+:} false; then :
65635 $as_echo_n "(cached) " >&6
65636 else
65639 ac_ext=cpp
65640 ac_cpp='$CXXCPP $CPPFLAGS'
65641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65646 /* end confdefs.h. */
65647 #include <math.h>
65649 main ()
65651 frexpl(0, 0);
65653 return 0;
65655 _ACEOF
65656 if ac_fn_cxx_try_compile "$LINENO"; then :
65657 glibcxx_cv_func_frexpl_use=yes
65658 else
65659 glibcxx_cv_func_frexpl_use=no
65661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65662 ac_ext=c
65663 ac_cpp='$CPP $CPPFLAGS'
65664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
65673 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
65675 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
65676 for ac_func in frexpl
65677 do :
65678 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
65679 if test "x$ac_cv_func_frexpl" = xyes; then :
65680 cat >>confdefs.h <<_ACEOF
65681 #define HAVE_FREXPL 1
65682 _ACEOF
65685 done
65687 else
65689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
65690 $as_echo_n "checking for _frexpl declaration... " >&6; }
65691 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
65692 if ${glibcxx_cv_func__frexpl_use+:} false; then :
65693 $as_echo_n "(cached) " >&6
65694 else
65697 ac_ext=cpp
65698 ac_cpp='$CXXCPP $CPPFLAGS'
65699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65704 /* end confdefs.h. */
65705 #include <math.h>
65707 main ()
65709 _frexpl(0, 0);
65711 return 0;
65713 _ACEOF
65714 if ac_fn_cxx_try_compile "$LINENO"; then :
65715 glibcxx_cv_func__frexpl_use=yes
65716 else
65717 glibcxx_cv_func__frexpl_use=no
65719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65720 ac_ext=c
65721 ac_cpp='$CPP $CPPFLAGS'
65722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
65731 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
65733 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
65734 for ac_func in _frexpl
65735 do :
65736 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
65737 if test "x$ac_cv_func__frexpl" = xyes; then :
65738 cat >>confdefs.h <<_ACEOF
65739 #define HAVE__FREXPL 1
65740 _ACEOF
65743 done
65752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
65753 $as_echo_n "checking for hypotl declaration... " >&6; }
65754 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
65755 if ${glibcxx_cv_func_hypotl_use+:} false; then :
65756 $as_echo_n "(cached) " >&6
65757 else
65760 ac_ext=cpp
65761 ac_cpp='$CXXCPP $CPPFLAGS'
65762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65767 /* end confdefs.h. */
65768 #include <math.h>
65770 main ()
65772 hypotl(0, 0);
65774 return 0;
65776 _ACEOF
65777 if ac_fn_cxx_try_compile "$LINENO"; then :
65778 glibcxx_cv_func_hypotl_use=yes
65779 else
65780 glibcxx_cv_func_hypotl_use=no
65782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65783 ac_ext=c
65784 ac_cpp='$CPP $CPPFLAGS'
65785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
65794 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
65796 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
65797 for ac_func in hypotl
65798 do :
65799 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
65800 if test "x$ac_cv_func_hypotl" = xyes; then :
65801 cat >>confdefs.h <<_ACEOF
65802 #define HAVE_HYPOTL 1
65803 _ACEOF
65806 done
65808 else
65810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
65811 $as_echo_n "checking for _hypotl declaration... " >&6; }
65812 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
65813 if ${glibcxx_cv_func__hypotl_use+:} false; then :
65814 $as_echo_n "(cached) " >&6
65815 else
65818 ac_ext=cpp
65819 ac_cpp='$CXXCPP $CPPFLAGS'
65820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65825 /* end confdefs.h. */
65826 #include <math.h>
65828 main ()
65830 _hypotl(0, 0);
65832 return 0;
65834 _ACEOF
65835 if ac_fn_cxx_try_compile "$LINENO"; then :
65836 glibcxx_cv_func__hypotl_use=yes
65837 else
65838 glibcxx_cv_func__hypotl_use=no
65840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65841 ac_ext=c
65842 ac_cpp='$CPP $CPPFLAGS'
65843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
65852 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
65854 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
65855 for ac_func in _hypotl
65856 do :
65857 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
65858 if test "x$ac_cv_func__hypotl" = xyes; then :
65859 cat >>confdefs.h <<_ACEOF
65860 #define HAVE__HYPOTL 1
65861 _ACEOF
65864 done
65873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
65874 $as_echo_n "checking for ldexpl declaration... " >&6; }
65875 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
65876 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
65877 $as_echo_n "(cached) " >&6
65878 else
65881 ac_ext=cpp
65882 ac_cpp='$CXXCPP $CPPFLAGS'
65883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65888 /* end confdefs.h. */
65889 #include <math.h>
65891 main ()
65893 ldexpl(0, 0);
65895 return 0;
65897 _ACEOF
65898 if ac_fn_cxx_try_compile "$LINENO"; then :
65899 glibcxx_cv_func_ldexpl_use=yes
65900 else
65901 glibcxx_cv_func_ldexpl_use=no
65903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65904 ac_ext=c
65905 ac_cpp='$CPP $CPPFLAGS'
65906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
65915 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
65917 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
65918 for ac_func in ldexpl
65919 do :
65920 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
65921 if test "x$ac_cv_func_ldexpl" = xyes; then :
65922 cat >>confdefs.h <<_ACEOF
65923 #define HAVE_LDEXPL 1
65924 _ACEOF
65927 done
65929 else
65931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
65932 $as_echo_n "checking for _ldexpl declaration... " >&6; }
65933 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
65934 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
65935 $as_echo_n "(cached) " >&6
65936 else
65939 ac_ext=cpp
65940 ac_cpp='$CXXCPP $CPPFLAGS'
65941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65946 /* end confdefs.h. */
65947 #include <math.h>
65949 main ()
65951 _ldexpl(0, 0);
65953 return 0;
65955 _ACEOF
65956 if ac_fn_cxx_try_compile "$LINENO"; then :
65957 glibcxx_cv_func__ldexpl_use=yes
65958 else
65959 glibcxx_cv_func__ldexpl_use=no
65961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65962 ac_ext=c
65963 ac_cpp='$CPP $CPPFLAGS'
65964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
65973 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
65975 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
65976 for ac_func in _ldexpl
65977 do :
65978 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
65979 if test "x$ac_cv_func__ldexpl" = xyes; then :
65980 cat >>confdefs.h <<_ACEOF
65981 #define HAVE__LDEXPL 1
65982 _ACEOF
65985 done
65994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
65995 $as_echo_n "checking for logl declaration... " >&6; }
65996 if test x${glibcxx_cv_func_logl_use+set} != xset; then
65997 if ${glibcxx_cv_func_logl_use+:} false; then :
65998 $as_echo_n "(cached) " >&6
65999 else
66002 ac_ext=cpp
66003 ac_cpp='$CXXCPP $CPPFLAGS'
66004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66009 /* end confdefs.h. */
66010 #include <math.h>
66011 #ifdef HAVE_IEEEFP_H
66012 #include <ieeefp.h>
66013 #endif
66016 main ()
66018 logl(0);
66020 return 0;
66022 _ACEOF
66023 if ac_fn_cxx_try_compile "$LINENO"; then :
66024 glibcxx_cv_func_logl_use=yes
66025 else
66026 glibcxx_cv_func_logl_use=no
66028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66029 ac_ext=c
66030 ac_cpp='$CPP $CPPFLAGS'
66031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
66040 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
66042 if test x$glibcxx_cv_func_logl_use = x"yes"; then
66043 for ac_func in logl
66044 do :
66045 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
66046 if test "x$ac_cv_func_logl" = xyes; then :
66047 cat >>confdefs.h <<_ACEOF
66048 #define HAVE_LOGL 1
66049 _ACEOF
66052 done
66054 else
66056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
66057 $as_echo_n "checking for _logl declaration... " >&6; }
66058 if test x${glibcxx_cv_func__logl_use+set} != xset; then
66059 if ${glibcxx_cv_func__logl_use+:} false; then :
66060 $as_echo_n "(cached) " >&6
66061 else
66064 ac_ext=cpp
66065 ac_cpp='$CXXCPP $CPPFLAGS'
66066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66071 /* end confdefs.h. */
66072 #include <math.h>
66073 #ifdef HAVE_IEEEFP_H
66074 #include <ieeefp.h>
66075 #endif
66078 main ()
66080 _logl(0);
66082 return 0;
66084 _ACEOF
66085 if ac_fn_cxx_try_compile "$LINENO"; then :
66086 glibcxx_cv_func__logl_use=yes
66087 else
66088 glibcxx_cv_func__logl_use=no
66090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66091 ac_ext=c
66092 ac_cpp='$CPP $CPPFLAGS'
66093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
66102 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
66104 if test x$glibcxx_cv_func__logl_use = x"yes"; then
66105 for ac_func in _logl
66106 do :
66107 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
66108 if test "x$ac_cv_func__logl" = xyes; then :
66109 cat >>confdefs.h <<_ACEOF
66110 #define HAVE__LOGL 1
66111 _ACEOF
66114 done
66123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
66124 $as_echo_n "checking for log10l declaration... " >&6; }
66125 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
66126 if ${glibcxx_cv_func_log10l_use+:} false; then :
66127 $as_echo_n "(cached) " >&6
66128 else
66131 ac_ext=cpp
66132 ac_cpp='$CXXCPP $CPPFLAGS'
66133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66138 /* end confdefs.h. */
66139 #include <math.h>
66140 #ifdef HAVE_IEEEFP_H
66141 #include <ieeefp.h>
66142 #endif
66145 main ()
66147 log10l(0);
66149 return 0;
66151 _ACEOF
66152 if ac_fn_cxx_try_compile "$LINENO"; then :
66153 glibcxx_cv_func_log10l_use=yes
66154 else
66155 glibcxx_cv_func_log10l_use=no
66157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66158 ac_ext=c
66159 ac_cpp='$CPP $CPPFLAGS'
66160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
66169 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
66171 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
66172 for ac_func in log10l
66173 do :
66174 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
66175 if test "x$ac_cv_func_log10l" = xyes; then :
66176 cat >>confdefs.h <<_ACEOF
66177 #define HAVE_LOG10L 1
66178 _ACEOF
66181 done
66183 else
66185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
66186 $as_echo_n "checking for _log10l declaration... " >&6; }
66187 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
66188 if ${glibcxx_cv_func__log10l_use+:} false; then :
66189 $as_echo_n "(cached) " >&6
66190 else
66193 ac_ext=cpp
66194 ac_cpp='$CXXCPP $CPPFLAGS'
66195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66200 /* end confdefs.h. */
66201 #include <math.h>
66202 #ifdef HAVE_IEEEFP_H
66203 #include <ieeefp.h>
66204 #endif
66207 main ()
66209 _log10l(0);
66211 return 0;
66213 _ACEOF
66214 if ac_fn_cxx_try_compile "$LINENO"; then :
66215 glibcxx_cv_func__log10l_use=yes
66216 else
66217 glibcxx_cv_func__log10l_use=no
66219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66220 ac_ext=c
66221 ac_cpp='$CPP $CPPFLAGS'
66222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
66231 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
66233 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
66234 for ac_func in _log10l
66235 do :
66236 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
66237 if test "x$ac_cv_func__log10l" = xyes; then :
66238 cat >>confdefs.h <<_ACEOF
66239 #define HAVE__LOG10L 1
66240 _ACEOF
66243 done
66252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
66253 $as_echo_n "checking for modfl declaration... " >&6; }
66254 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
66255 if ${glibcxx_cv_func_modfl_use+:} false; then :
66256 $as_echo_n "(cached) " >&6
66257 else
66260 ac_ext=cpp
66261 ac_cpp='$CXXCPP $CPPFLAGS'
66262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66267 /* end confdefs.h. */
66268 #include <math.h>
66270 main ()
66272 modfl(0, 0);
66274 return 0;
66276 _ACEOF
66277 if ac_fn_cxx_try_compile "$LINENO"; then :
66278 glibcxx_cv_func_modfl_use=yes
66279 else
66280 glibcxx_cv_func_modfl_use=no
66282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66283 ac_ext=c
66284 ac_cpp='$CPP $CPPFLAGS'
66285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
66294 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
66296 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
66297 for ac_func in modfl
66298 do :
66299 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
66300 if test "x$ac_cv_func_modfl" = xyes; then :
66301 cat >>confdefs.h <<_ACEOF
66302 #define HAVE_MODFL 1
66303 _ACEOF
66306 done
66308 else
66310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
66311 $as_echo_n "checking for _modfl declaration... " >&6; }
66312 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
66313 if ${glibcxx_cv_func__modfl_use+:} false; then :
66314 $as_echo_n "(cached) " >&6
66315 else
66318 ac_ext=cpp
66319 ac_cpp='$CXXCPP $CPPFLAGS'
66320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66325 /* end confdefs.h. */
66326 #include <math.h>
66328 main ()
66330 _modfl(0, 0);
66332 return 0;
66334 _ACEOF
66335 if ac_fn_cxx_try_compile "$LINENO"; then :
66336 glibcxx_cv_func__modfl_use=yes
66337 else
66338 glibcxx_cv_func__modfl_use=no
66340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66341 ac_ext=c
66342 ac_cpp='$CPP $CPPFLAGS'
66343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
66352 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
66354 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
66355 for ac_func in _modfl
66356 do :
66357 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
66358 if test "x$ac_cv_func__modfl" = xyes; then :
66359 cat >>confdefs.h <<_ACEOF
66360 #define HAVE__MODFL 1
66361 _ACEOF
66364 done
66373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
66374 $as_echo_n "checking for powl declaration... " >&6; }
66375 if test x${glibcxx_cv_func_powl_use+set} != xset; then
66376 if ${glibcxx_cv_func_powl_use+:} false; then :
66377 $as_echo_n "(cached) " >&6
66378 else
66381 ac_ext=cpp
66382 ac_cpp='$CXXCPP $CPPFLAGS'
66383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66388 /* end confdefs.h. */
66389 #include <math.h>
66391 main ()
66393 powl(0, 0);
66395 return 0;
66397 _ACEOF
66398 if ac_fn_cxx_try_compile "$LINENO"; then :
66399 glibcxx_cv_func_powl_use=yes
66400 else
66401 glibcxx_cv_func_powl_use=no
66403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66404 ac_ext=c
66405 ac_cpp='$CPP $CPPFLAGS'
66406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
66415 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
66417 if test x$glibcxx_cv_func_powl_use = x"yes"; then
66418 for ac_func in powl
66419 do :
66420 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
66421 if test "x$ac_cv_func_powl" = xyes; then :
66422 cat >>confdefs.h <<_ACEOF
66423 #define HAVE_POWL 1
66424 _ACEOF
66427 done
66429 else
66431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
66432 $as_echo_n "checking for _powl declaration... " >&6; }
66433 if test x${glibcxx_cv_func__powl_use+set} != xset; then
66434 if ${glibcxx_cv_func__powl_use+:} false; then :
66435 $as_echo_n "(cached) " >&6
66436 else
66439 ac_ext=cpp
66440 ac_cpp='$CXXCPP $CPPFLAGS'
66441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66446 /* end confdefs.h. */
66447 #include <math.h>
66449 main ()
66451 _powl(0, 0);
66453 return 0;
66455 _ACEOF
66456 if ac_fn_cxx_try_compile "$LINENO"; then :
66457 glibcxx_cv_func__powl_use=yes
66458 else
66459 glibcxx_cv_func__powl_use=no
66461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66462 ac_ext=c
66463 ac_cpp='$CPP $CPPFLAGS'
66464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
66473 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
66475 if test x$glibcxx_cv_func__powl_use = x"yes"; then
66476 for ac_func in _powl
66477 do :
66478 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
66479 if test "x$ac_cv_func__powl" = xyes; then :
66480 cat >>confdefs.h <<_ACEOF
66481 #define HAVE__POWL 1
66482 _ACEOF
66485 done
66494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
66495 $as_echo_n "checking for sqrtl declaration... " >&6; }
66496 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
66497 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
66498 $as_echo_n "(cached) " >&6
66499 else
66502 ac_ext=cpp
66503 ac_cpp='$CXXCPP $CPPFLAGS'
66504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66509 /* end confdefs.h. */
66510 #include <math.h>
66511 #ifdef HAVE_IEEEFP_H
66512 #include <ieeefp.h>
66513 #endif
66516 main ()
66518 sqrtl(0);
66520 return 0;
66522 _ACEOF
66523 if ac_fn_cxx_try_compile "$LINENO"; then :
66524 glibcxx_cv_func_sqrtl_use=yes
66525 else
66526 glibcxx_cv_func_sqrtl_use=no
66528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66529 ac_ext=c
66530 ac_cpp='$CPP $CPPFLAGS'
66531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
66540 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
66542 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
66543 for ac_func in sqrtl
66544 do :
66545 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
66546 if test "x$ac_cv_func_sqrtl" = xyes; then :
66547 cat >>confdefs.h <<_ACEOF
66548 #define HAVE_SQRTL 1
66549 _ACEOF
66552 done
66554 else
66556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
66557 $as_echo_n "checking for _sqrtl declaration... " >&6; }
66558 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
66559 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
66560 $as_echo_n "(cached) " >&6
66561 else
66564 ac_ext=cpp
66565 ac_cpp='$CXXCPP $CPPFLAGS'
66566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66571 /* end confdefs.h. */
66572 #include <math.h>
66573 #ifdef HAVE_IEEEFP_H
66574 #include <ieeefp.h>
66575 #endif
66578 main ()
66580 _sqrtl(0);
66582 return 0;
66584 _ACEOF
66585 if ac_fn_cxx_try_compile "$LINENO"; then :
66586 glibcxx_cv_func__sqrtl_use=yes
66587 else
66588 glibcxx_cv_func__sqrtl_use=no
66590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66591 ac_ext=c
66592 ac_cpp='$CPP $CPPFLAGS'
66593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
66602 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
66604 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
66605 for ac_func in _sqrtl
66606 do :
66607 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
66608 if test "x$ac_cv_func__sqrtl" = xyes; then :
66609 cat >>confdefs.h <<_ACEOF
66610 #define HAVE__SQRTL 1
66611 _ACEOF
66614 done
66623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
66624 $as_echo_n "checking for sincosl declaration... " >&6; }
66625 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
66626 if ${glibcxx_cv_func_sincosl_use+:} false; then :
66627 $as_echo_n "(cached) " >&6
66628 else
66631 ac_ext=cpp
66632 ac_cpp='$CXXCPP $CPPFLAGS'
66633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66638 /* end confdefs.h. */
66639 #include <math.h>
66641 main ()
66643 sincosl(0, 0, 0);
66645 return 0;
66647 _ACEOF
66648 if ac_fn_cxx_try_compile "$LINENO"; then :
66649 glibcxx_cv_func_sincosl_use=yes
66650 else
66651 glibcxx_cv_func_sincosl_use=no
66653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66654 ac_ext=c
66655 ac_cpp='$CPP $CPPFLAGS'
66656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
66665 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
66667 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
66668 for ac_func in sincosl
66669 do :
66670 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
66671 if test "x$ac_cv_func_sincosl" = xyes; then :
66672 cat >>confdefs.h <<_ACEOF
66673 #define HAVE_SINCOSL 1
66674 _ACEOF
66677 done
66679 else
66681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
66682 $as_echo_n "checking for _sincosl declaration... " >&6; }
66683 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
66684 if ${glibcxx_cv_func__sincosl_use+:} false; then :
66685 $as_echo_n "(cached) " >&6
66686 else
66689 ac_ext=cpp
66690 ac_cpp='$CXXCPP $CPPFLAGS'
66691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66696 /* end confdefs.h. */
66697 #include <math.h>
66699 main ()
66701 _sincosl(0, 0, 0);
66703 return 0;
66705 _ACEOF
66706 if ac_fn_cxx_try_compile "$LINENO"; then :
66707 glibcxx_cv_func__sincosl_use=yes
66708 else
66709 glibcxx_cv_func__sincosl_use=no
66711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66712 ac_ext=c
66713 ac_cpp='$CPP $CPPFLAGS'
66714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
66723 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
66725 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
66726 for ac_func in _sincosl
66727 do :
66728 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
66729 if test "x$ac_cv_func__sincosl" = xyes; then :
66730 cat >>confdefs.h <<_ACEOF
66731 #define HAVE__SINCOSL 1
66732 _ACEOF
66735 done
66744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
66745 $as_echo_n "checking for finitel declaration... " >&6; }
66746 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
66747 if ${glibcxx_cv_func_finitel_use+:} false; then :
66748 $as_echo_n "(cached) " >&6
66749 else
66752 ac_ext=cpp
66753 ac_cpp='$CXXCPP $CPPFLAGS'
66754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66759 /* end confdefs.h. */
66760 #include <math.h>
66761 #ifdef HAVE_IEEEFP_H
66762 #include <ieeefp.h>
66763 #endif
66766 main ()
66768 finitel(0);
66770 return 0;
66772 _ACEOF
66773 if ac_fn_cxx_try_compile "$LINENO"; then :
66774 glibcxx_cv_func_finitel_use=yes
66775 else
66776 glibcxx_cv_func_finitel_use=no
66778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66779 ac_ext=c
66780 ac_cpp='$CPP $CPPFLAGS'
66781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
66790 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
66792 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
66793 for ac_func in finitel
66794 do :
66795 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
66796 if test "x$ac_cv_func_finitel" = xyes; then :
66797 cat >>confdefs.h <<_ACEOF
66798 #define HAVE_FINITEL 1
66799 _ACEOF
66802 done
66804 else
66806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
66807 $as_echo_n "checking for _finitel declaration... " >&6; }
66808 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
66809 if ${glibcxx_cv_func__finitel_use+:} false; then :
66810 $as_echo_n "(cached) " >&6
66811 else
66814 ac_ext=cpp
66815 ac_cpp='$CXXCPP $CPPFLAGS'
66816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66821 /* end confdefs.h. */
66822 #include <math.h>
66823 #ifdef HAVE_IEEEFP_H
66824 #include <ieeefp.h>
66825 #endif
66828 main ()
66830 _finitel(0);
66832 return 0;
66834 _ACEOF
66835 if ac_fn_cxx_try_compile "$LINENO"; then :
66836 glibcxx_cv_func__finitel_use=yes
66837 else
66838 glibcxx_cv_func__finitel_use=no
66840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66841 ac_ext=c
66842 ac_cpp='$CPP $CPPFLAGS'
66843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
66852 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
66854 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
66855 for ac_func in _finitel
66856 do :
66857 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
66858 if test "x$ac_cv_func__finitel" = xyes; then :
66859 cat >>confdefs.h <<_ACEOF
66860 #define HAVE__FINITEL 1
66861 _ACEOF
66864 done
66872 LIBS="$ac_save_LIBS"
66873 CXXFLAGS="$ac_save_CXXFLAGS"
66876 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66877 ac_save_CXXFLAGS="$CXXFLAGS"
66878 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
66882 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
66883 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
66884 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
66885 $as_echo_n "(cached) " >&6
66886 else
66889 ac_ext=cpp
66890 ac_cpp='$CXXCPP $CPPFLAGS'
66891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66896 /* end confdefs.h. */
66897 #include <stdlib.h>
66899 main ()
66901 at_quick_exit(0);
66903 return 0;
66905 _ACEOF
66906 if ac_fn_cxx_try_compile "$LINENO"; then :
66907 glibcxx_cv_func_at_quick_exit_use=yes
66908 else
66909 glibcxx_cv_func_at_quick_exit_use=no
66911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66912 ac_ext=c
66913 ac_cpp='$CPP $CPPFLAGS'
66914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
66923 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
66924 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
66925 for ac_func in at_quick_exit
66926 do :
66927 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
66928 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
66929 cat >>confdefs.h <<_ACEOF
66930 #define HAVE_AT_QUICK_EXIT 1
66931 _ACEOF
66934 done
66939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
66940 $as_echo_n "checking for quick_exit declaration... " >&6; }
66941 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
66942 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
66943 $as_echo_n "(cached) " >&6
66944 else
66947 ac_ext=cpp
66948 ac_cpp='$CXXCPP $CPPFLAGS'
66949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66954 /* end confdefs.h. */
66955 #include <stdlib.h>
66957 main ()
66959 quick_exit(0);
66961 return 0;
66963 _ACEOF
66964 if ac_fn_cxx_try_compile "$LINENO"; then :
66965 glibcxx_cv_func_quick_exit_use=yes
66966 else
66967 glibcxx_cv_func_quick_exit_use=no
66969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66970 ac_ext=c
66971 ac_cpp='$CPP $CPPFLAGS'
66972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
66981 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
66982 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
66983 for ac_func in quick_exit
66984 do :
66985 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
66986 if test "x$ac_cv_func_quick_exit" = xyes; then :
66987 cat >>confdefs.h <<_ACEOF
66988 #define HAVE_QUICK_EXIT 1
66989 _ACEOF
66992 done
66997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
66998 $as_echo_n "checking for strtold declaration... " >&6; }
66999 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
67000 if ${glibcxx_cv_func_strtold_use+:} false; then :
67001 $as_echo_n "(cached) " >&6
67002 else
67005 ac_ext=cpp
67006 ac_cpp='$CXXCPP $CPPFLAGS'
67007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67012 /* end confdefs.h. */
67013 #include <stdlib.h>
67015 main ()
67017 strtold(0, 0);
67019 return 0;
67021 _ACEOF
67022 if ac_fn_cxx_try_compile "$LINENO"; then :
67023 glibcxx_cv_func_strtold_use=yes
67024 else
67025 glibcxx_cv_func_strtold_use=no
67027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67028 ac_ext=c
67029 ac_cpp='$CPP $CPPFLAGS'
67030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
67039 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
67040 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
67041 for ac_func in strtold
67042 do :
67043 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
67044 if test "x$ac_cv_func_strtold" = xyes; then :
67045 cat >>confdefs.h <<_ACEOF
67046 #define HAVE_STRTOLD 1
67047 _ACEOF
67050 done
67057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
67058 $as_echo_n "checking for strtof declaration... " >&6; }
67059 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
67060 if ${glibcxx_cv_func_strtof_use+:} false; then :
67061 $as_echo_n "(cached) " >&6
67062 else
67065 ac_ext=cpp
67066 ac_cpp='$CXXCPP $CPPFLAGS'
67067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67072 /* end confdefs.h. */
67073 #include <stdlib.h>
67075 main ()
67077 strtof(0, 0);
67079 return 0;
67081 _ACEOF
67082 if ac_fn_cxx_try_compile "$LINENO"; then :
67083 glibcxx_cv_func_strtof_use=yes
67084 else
67085 glibcxx_cv_func_strtof_use=no
67087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67088 ac_ext=c
67089 ac_cpp='$CPP $CPPFLAGS'
67090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
67099 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
67100 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
67101 for ac_func in strtof
67102 do :
67103 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
67104 if test "x$ac_cv_func_strtof" = xyes; then :
67105 cat >>confdefs.h <<_ACEOF
67106 #define HAVE_STRTOF 1
67107 _ACEOF
67110 done
67117 CXXFLAGS="$ac_save_CXXFLAGS"
67120 *-vxworks*)
67121 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
67123 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
67125 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
67127 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
67129 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
67131 $as_echo "#define HAVE_COSF 1" >>confdefs.h
67133 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
67135 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
67137 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
67139 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
67141 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
67143 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
67145 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
67147 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
67149 $as_echo "#define HAVE_POWF 1" >>confdefs.h
67151 $as_echo "#define HAVE_SINF 1" >>confdefs.h
67153 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
67155 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
67157 $as_echo "#define HAVE_TANF 1" >>confdefs.h
67159 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
67165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl declaration" >&5
67166 $as_echo_n "checking for acosl declaration... " >&6; }
67167 if ${glibcxx_cv_func_acosl_use+:} false; then :
67168 $as_echo_n "(cached) " >&6
67169 else
67172 ac_ext=c
67173 ac_cpp='$CPP $CPPFLAGS'
67174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67179 /* end confdefs.h. */
67181 #include <math.h>
67182 #ifdef HAVE_IEEEFP_H
67183 # include <ieeefp.h>
67184 #endif
67185 #undef acosl
67188 main ()
67191 void (*f)(void) = (void (*)(void))acosl;
67194 return 0;
67196 _ACEOF
67197 if ac_fn_c_try_compile "$LINENO"; then :
67198 glibcxx_cv_func_acosl_use=yes
67200 else
67201 glibcxx_cv_func_acosl_use=no
67203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_acosl_use" >&5
67206 $as_echo "$glibcxx_cv_func_acosl_use" >&6; }
67207 if test "x$glibcxx_cv_func_acosl_use" = xyes; then
67208 cat >>confdefs.h <<_ACEOF
67209 #define HAVE_ACOSL 1
67210 _ACEOF
67216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl declaration" >&5
67217 $as_echo_n "checking for asinl declaration... " >&6; }
67218 if ${glibcxx_cv_func_asinl_use+:} false; then :
67219 $as_echo_n "(cached) " >&6
67220 else
67223 ac_ext=c
67224 ac_cpp='$CPP $CPPFLAGS'
67225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67230 /* end confdefs.h. */
67232 #include <math.h>
67233 #ifdef HAVE_IEEEFP_H
67234 # include <ieeefp.h>
67235 #endif
67236 #undef asinl
67239 main ()
67242 void (*f)(void) = (void (*)(void))asinl;
67245 return 0;
67247 _ACEOF
67248 if ac_fn_c_try_compile "$LINENO"; then :
67249 glibcxx_cv_func_asinl_use=yes
67251 else
67252 glibcxx_cv_func_asinl_use=no
67254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_asinl_use" >&5
67257 $as_echo "$glibcxx_cv_func_asinl_use" >&6; }
67258 if test "x$glibcxx_cv_func_asinl_use" = xyes; then
67259 cat >>confdefs.h <<_ACEOF
67260 #define HAVE_ASINL 1
67261 _ACEOF
67267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
67268 $as_echo_n "checking for atan2l declaration... " >&6; }
67269 if ${glibcxx_cv_func_atan2l_use+:} false; then :
67270 $as_echo_n "(cached) " >&6
67271 else
67274 ac_ext=c
67275 ac_cpp='$CPP $CPPFLAGS'
67276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67281 /* end confdefs.h. */
67283 #include <math.h>
67284 #ifdef HAVE_IEEEFP_H
67285 # include <ieeefp.h>
67286 #endif
67287 #undef atan2l
67290 main ()
67293 void (*f)(void) = (void (*)(void))atan2l;
67296 return 0;
67298 _ACEOF
67299 if ac_fn_c_try_compile "$LINENO"; then :
67300 glibcxx_cv_func_atan2l_use=yes
67302 else
67303 glibcxx_cv_func_atan2l_use=no
67305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
67308 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
67309 if test "x$glibcxx_cv_func_atan2l_use" = xyes; then
67310 cat >>confdefs.h <<_ACEOF
67311 #define HAVE_ATAN2L 1
67312 _ACEOF
67318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl declaration" >&5
67319 $as_echo_n "checking for atanl declaration... " >&6; }
67320 if ${glibcxx_cv_func_atanl_use+:} false; then :
67321 $as_echo_n "(cached) " >&6
67322 else
67325 ac_ext=c
67326 ac_cpp='$CPP $CPPFLAGS'
67327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67332 /* end confdefs.h. */
67334 #include <math.h>
67335 #ifdef HAVE_IEEEFP_H
67336 # include <ieeefp.h>
67337 #endif
67338 #undef atanl
67341 main ()
67344 void (*f)(void) = (void (*)(void))atanl;
67347 return 0;
67349 _ACEOF
67350 if ac_fn_c_try_compile "$LINENO"; then :
67351 glibcxx_cv_func_atanl_use=yes
67353 else
67354 glibcxx_cv_func_atanl_use=no
67356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atanl_use" >&5
67359 $as_echo "$glibcxx_cv_func_atanl_use" >&6; }
67360 if test "x$glibcxx_cv_func_atanl_use" = xyes; then
67361 cat >>confdefs.h <<_ACEOF
67362 #define HAVE_ATANL 1
67363 _ACEOF
67369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill declaration" >&5
67370 $as_echo_n "checking for ceill declaration... " >&6; }
67371 if ${glibcxx_cv_func_ceill_use+:} false; then :
67372 $as_echo_n "(cached) " >&6
67373 else
67376 ac_ext=c
67377 ac_cpp='$CPP $CPPFLAGS'
67378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67383 /* end confdefs.h. */
67385 #include <math.h>
67386 #ifdef HAVE_IEEEFP_H
67387 # include <ieeefp.h>
67388 #endif
67389 #undef ceill
67392 main ()
67395 void (*f)(void) = (void (*)(void))ceill;
67398 return 0;
67400 _ACEOF
67401 if ac_fn_c_try_compile "$LINENO"; then :
67402 glibcxx_cv_func_ceill_use=yes
67404 else
67405 glibcxx_cv_func_ceill_use=no
67407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ceill_use" >&5
67410 $as_echo "$glibcxx_cv_func_ceill_use" >&6; }
67411 if test "x$glibcxx_cv_func_ceill_use" = xyes; then
67412 cat >>confdefs.h <<_ACEOF
67413 #define HAVE_CEILL 1
67414 _ACEOF
67420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl declaration" >&5
67421 $as_echo_n "checking for cosl declaration... " >&6; }
67422 if ${glibcxx_cv_func_cosl_use+:} false; then :
67423 $as_echo_n "(cached) " >&6
67424 else
67427 ac_ext=c
67428 ac_cpp='$CPP $CPPFLAGS'
67429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67434 /* end confdefs.h. */
67436 #include <math.h>
67437 #ifdef HAVE_IEEEFP_H
67438 # include <ieeefp.h>
67439 #endif
67440 #undef cosl
67443 main ()
67446 void (*f)(void) = (void (*)(void))cosl;
67449 return 0;
67451 _ACEOF
67452 if ac_fn_c_try_compile "$LINENO"; then :
67453 glibcxx_cv_func_cosl_use=yes
67455 else
67456 glibcxx_cv_func_cosl_use=no
67458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_cosl_use" >&5
67461 $as_echo "$glibcxx_cv_func_cosl_use" >&6; }
67462 if test "x$glibcxx_cv_func_cosl_use" = xyes; then
67463 cat >>confdefs.h <<_ACEOF
67464 #define HAVE_COSL 1
67465 _ACEOF
67471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl declaration" >&5
67472 $as_echo_n "checking for coshl declaration... " >&6; }
67473 if ${glibcxx_cv_func_coshl_use+:} false; then :
67474 $as_echo_n "(cached) " >&6
67475 else
67478 ac_ext=c
67479 ac_cpp='$CPP $CPPFLAGS'
67480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67485 /* end confdefs.h. */
67487 #include <math.h>
67488 #ifdef HAVE_IEEEFP_H
67489 # include <ieeefp.h>
67490 #endif
67491 #undef coshl
67494 main ()
67497 void (*f)(void) = (void (*)(void))coshl;
67500 return 0;
67502 _ACEOF
67503 if ac_fn_c_try_compile "$LINENO"; then :
67504 glibcxx_cv_func_coshl_use=yes
67506 else
67507 glibcxx_cv_func_coshl_use=no
67509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_coshl_use" >&5
67512 $as_echo "$glibcxx_cv_func_coshl_use" >&6; }
67513 if test "x$glibcxx_cv_func_coshl_use" = xyes; then
67514 cat >>confdefs.h <<_ACEOF
67515 #define HAVE_COSHL 1
67516 _ACEOF
67522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
67523 $as_echo_n "checking for expl declaration... " >&6; }
67524 if ${glibcxx_cv_func_expl_use+:} false; then :
67525 $as_echo_n "(cached) " >&6
67526 else
67529 ac_ext=c
67530 ac_cpp='$CPP $CPPFLAGS'
67531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67536 /* end confdefs.h. */
67538 #include <math.h>
67539 #ifdef HAVE_IEEEFP_H
67540 # include <ieeefp.h>
67541 #endif
67542 #undef expl
67545 main ()
67548 void (*f)(void) = (void (*)(void))expl;
67551 return 0;
67553 _ACEOF
67554 if ac_fn_c_try_compile "$LINENO"; then :
67555 glibcxx_cv_func_expl_use=yes
67557 else
67558 glibcxx_cv_func_expl_use=no
67560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
67563 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
67564 if test "x$glibcxx_cv_func_expl_use" = xyes; then
67565 cat >>confdefs.h <<_ACEOF
67566 #define HAVE_EXPL 1
67567 _ACEOF
67573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
67574 $as_echo_n "checking for fabsl declaration... " >&6; }
67575 if ${glibcxx_cv_func_fabsl_use+:} false; then :
67576 $as_echo_n "(cached) " >&6
67577 else
67580 ac_ext=c
67581 ac_cpp='$CPP $CPPFLAGS'
67582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67587 /* end confdefs.h. */
67589 #include <math.h>
67590 #ifdef HAVE_IEEEFP_H
67591 # include <ieeefp.h>
67592 #endif
67593 #undef fabsl
67596 main ()
67599 void (*f)(void) = (void (*)(void))fabsl;
67602 return 0;
67604 _ACEOF
67605 if ac_fn_c_try_compile "$LINENO"; then :
67606 glibcxx_cv_func_fabsl_use=yes
67608 else
67609 glibcxx_cv_func_fabsl_use=no
67611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
67614 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
67615 if test "x$glibcxx_cv_func_fabsl_use" = xyes; then
67616 cat >>confdefs.h <<_ACEOF
67617 #define HAVE_FABSL 1
67618 _ACEOF
67624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl declaration" >&5
67625 $as_echo_n "checking for floorl declaration... " >&6; }
67626 if ${glibcxx_cv_func_floorl_use+:} false; then :
67627 $as_echo_n "(cached) " >&6
67628 else
67631 ac_ext=c
67632 ac_cpp='$CPP $CPPFLAGS'
67633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67638 /* end confdefs.h. */
67640 #include <math.h>
67641 #ifdef HAVE_IEEEFP_H
67642 # include <ieeefp.h>
67643 #endif
67644 #undef floorl
67647 main ()
67650 void (*f)(void) = (void (*)(void))floorl;
67653 return 0;
67655 _ACEOF
67656 if ac_fn_c_try_compile "$LINENO"; then :
67657 glibcxx_cv_func_floorl_use=yes
67659 else
67660 glibcxx_cv_func_floorl_use=no
67662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_floorl_use" >&5
67665 $as_echo "$glibcxx_cv_func_floorl_use" >&6; }
67666 if test "x$glibcxx_cv_func_floorl_use" = xyes; then
67667 cat >>confdefs.h <<_ACEOF
67668 #define HAVE_FLOORL 1
67669 _ACEOF
67675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
67676 $as_echo_n "checking for fmodl declaration... " >&6; }
67677 if ${glibcxx_cv_func_fmodl_use+:} false; then :
67678 $as_echo_n "(cached) " >&6
67679 else
67682 ac_ext=c
67683 ac_cpp='$CPP $CPPFLAGS'
67684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67689 /* end confdefs.h. */
67691 #include <math.h>
67692 #ifdef HAVE_IEEEFP_H
67693 # include <ieeefp.h>
67694 #endif
67695 #undef fmodl
67698 main ()
67701 void (*f)(void) = (void (*)(void))fmodl;
67704 return 0;
67706 _ACEOF
67707 if ac_fn_c_try_compile "$LINENO"; then :
67708 glibcxx_cv_func_fmodl_use=yes
67710 else
67711 glibcxx_cv_func_fmodl_use=no
67713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
67716 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
67717 if test "x$glibcxx_cv_func_fmodl_use" = xyes; then
67718 cat >>confdefs.h <<_ACEOF
67719 #define HAVE_FMODL 1
67720 _ACEOF
67726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
67727 $as_echo_n "checking for frexpl declaration... " >&6; }
67728 if ${glibcxx_cv_func_frexpl_use+:} false; then :
67729 $as_echo_n "(cached) " >&6
67730 else
67733 ac_ext=c
67734 ac_cpp='$CPP $CPPFLAGS'
67735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67740 /* end confdefs.h. */
67742 #include <math.h>
67743 #ifdef HAVE_IEEEFP_H
67744 # include <ieeefp.h>
67745 #endif
67746 #undef frexpl
67749 main ()
67752 void (*f)(void) = (void (*)(void))frexpl;
67755 return 0;
67757 _ACEOF
67758 if ac_fn_c_try_compile "$LINENO"; then :
67759 glibcxx_cv_func_frexpl_use=yes
67761 else
67762 glibcxx_cv_func_frexpl_use=no
67764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
67767 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
67768 if test "x$glibcxx_cv_func_frexpl_use" = xyes; then
67769 cat >>confdefs.h <<_ACEOF
67770 #define HAVE_FREXPL 1
67771 _ACEOF
67777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
67778 $as_echo_n "checking for ldexpl declaration... " >&6; }
67779 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
67780 $as_echo_n "(cached) " >&6
67781 else
67784 ac_ext=c
67785 ac_cpp='$CPP $CPPFLAGS'
67786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67791 /* end confdefs.h. */
67793 #include <math.h>
67794 #ifdef HAVE_IEEEFP_H
67795 # include <ieeefp.h>
67796 #endif
67797 #undef ldexpl
67800 main ()
67803 void (*f)(void) = (void (*)(void))ldexpl;
67806 return 0;
67808 _ACEOF
67809 if ac_fn_c_try_compile "$LINENO"; then :
67810 glibcxx_cv_func_ldexpl_use=yes
67812 else
67813 glibcxx_cv_func_ldexpl_use=no
67815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
67818 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
67819 if test "x$glibcxx_cv_func_ldexpl_use" = xyes; then
67820 cat >>confdefs.h <<_ACEOF
67821 #define HAVE_LDEXPL 1
67822 _ACEOF
67828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
67829 $as_echo_n "checking for log10l declaration... " >&6; }
67830 if ${glibcxx_cv_func_log10l_use+:} false; then :
67831 $as_echo_n "(cached) " >&6
67832 else
67835 ac_ext=c
67836 ac_cpp='$CPP $CPPFLAGS'
67837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67842 /* end confdefs.h. */
67844 #include <math.h>
67845 #ifdef HAVE_IEEEFP_H
67846 # include <ieeefp.h>
67847 #endif
67848 #undef log10l
67851 main ()
67854 void (*f)(void) = (void (*)(void))log10l;
67857 return 0;
67859 _ACEOF
67860 if ac_fn_c_try_compile "$LINENO"; then :
67861 glibcxx_cv_func_log10l_use=yes
67863 else
67864 glibcxx_cv_func_log10l_use=no
67866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
67869 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
67870 if test "x$glibcxx_cv_func_log10l_use" = xyes; then
67871 cat >>confdefs.h <<_ACEOF
67872 #define HAVE_LOG10L 1
67873 _ACEOF
67879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
67880 $as_echo_n "checking for logl declaration... " >&6; }
67881 if ${glibcxx_cv_func_logl_use+:} false; then :
67882 $as_echo_n "(cached) " >&6
67883 else
67886 ac_ext=c
67887 ac_cpp='$CPP $CPPFLAGS'
67888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67893 /* end confdefs.h. */
67895 #include <math.h>
67896 #ifdef HAVE_IEEEFP_H
67897 # include <ieeefp.h>
67898 #endif
67899 #undef logl
67902 main ()
67905 void (*f)(void) = (void (*)(void))logl;
67908 return 0;
67910 _ACEOF
67911 if ac_fn_c_try_compile "$LINENO"; then :
67912 glibcxx_cv_func_logl_use=yes
67914 else
67915 glibcxx_cv_func_logl_use=no
67917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
67920 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
67921 if test "x$glibcxx_cv_func_logl_use" = xyes; then
67922 cat >>confdefs.h <<_ACEOF
67923 #define HAVE_LOGL 1
67924 _ACEOF
67930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
67931 $as_echo_n "checking for modfl declaration... " >&6; }
67932 if ${glibcxx_cv_func_modfl_use+:} false; then :
67933 $as_echo_n "(cached) " >&6
67934 else
67937 ac_ext=c
67938 ac_cpp='$CPP $CPPFLAGS'
67939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67944 /* end confdefs.h. */
67946 #include <math.h>
67947 #ifdef HAVE_IEEEFP_H
67948 # include <ieeefp.h>
67949 #endif
67950 #undef modfl
67953 main ()
67956 void (*f)(void) = (void (*)(void))modfl;
67959 return 0;
67961 _ACEOF
67962 if ac_fn_c_try_compile "$LINENO"; then :
67963 glibcxx_cv_func_modfl_use=yes
67965 else
67966 glibcxx_cv_func_modfl_use=no
67968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
67971 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
67972 if test "x$glibcxx_cv_func_modfl_use" = xyes; then
67973 cat >>confdefs.h <<_ACEOF
67974 #define HAVE_MODFL 1
67975 _ACEOF
67981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
67982 $as_echo_n "checking for powl declaration... " >&6; }
67983 if ${glibcxx_cv_func_powl_use+:} false; then :
67984 $as_echo_n "(cached) " >&6
67985 else
67988 ac_ext=c
67989 ac_cpp='$CPP $CPPFLAGS'
67990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67995 /* end confdefs.h. */
67997 #include <math.h>
67998 #ifdef HAVE_IEEEFP_H
67999 # include <ieeefp.h>
68000 #endif
68001 #undef powl
68004 main ()
68007 void (*f)(void) = (void (*)(void))powl;
68010 return 0;
68012 _ACEOF
68013 if ac_fn_c_try_compile "$LINENO"; then :
68014 glibcxx_cv_func_powl_use=yes
68016 else
68017 glibcxx_cv_func_powl_use=no
68019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
68022 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
68023 if test "x$glibcxx_cv_func_powl_use" = xyes; then
68024 cat >>confdefs.h <<_ACEOF
68025 #define HAVE_POWL 1
68026 _ACEOF
68032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl declaration" >&5
68033 $as_echo_n "checking for sinl declaration... " >&6; }
68034 if ${glibcxx_cv_func_sinl_use+:} false; then :
68035 $as_echo_n "(cached) " >&6
68036 else
68039 ac_ext=c
68040 ac_cpp='$CPP $CPPFLAGS'
68041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68046 /* end confdefs.h. */
68048 #include <math.h>
68049 #ifdef HAVE_IEEEFP_H
68050 # include <ieeefp.h>
68051 #endif
68052 #undef sinl
68055 main ()
68058 void (*f)(void) = (void (*)(void))sinl;
68061 return 0;
68063 _ACEOF
68064 if ac_fn_c_try_compile "$LINENO"; then :
68065 glibcxx_cv_func_sinl_use=yes
68067 else
68068 glibcxx_cv_func_sinl_use=no
68070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinl_use" >&5
68073 $as_echo "$glibcxx_cv_func_sinl_use" >&6; }
68074 if test "x$glibcxx_cv_func_sinl_use" = xyes; then
68075 cat >>confdefs.h <<_ACEOF
68076 #define HAVE_SINL 1
68077 _ACEOF
68083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl declaration" >&5
68084 $as_echo_n "checking for sinhl declaration... " >&6; }
68085 if ${glibcxx_cv_func_sinhl_use+:} false; then :
68086 $as_echo_n "(cached) " >&6
68087 else
68090 ac_ext=c
68091 ac_cpp='$CPP $CPPFLAGS'
68092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68097 /* end confdefs.h. */
68099 #include <math.h>
68100 #ifdef HAVE_IEEEFP_H
68101 # include <ieeefp.h>
68102 #endif
68103 #undef sinhl
68106 main ()
68109 void (*f)(void) = (void (*)(void))sinhl;
68112 return 0;
68114 _ACEOF
68115 if ac_fn_c_try_compile "$LINENO"; then :
68116 glibcxx_cv_func_sinhl_use=yes
68118 else
68119 glibcxx_cv_func_sinhl_use=no
68121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinhl_use" >&5
68124 $as_echo "$glibcxx_cv_func_sinhl_use" >&6; }
68125 if test "x$glibcxx_cv_func_sinhl_use" = xyes; then
68126 cat >>confdefs.h <<_ACEOF
68127 #define HAVE_SINHL 1
68128 _ACEOF
68134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
68135 $as_echo_n "checking for sqrtl declaration... " >&6; }
68136 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
68137 $as_echo_n "(cached) " >&6
68138 else
68141 ac_ext=c
68142 ac_cpp='$CPP $CPPFLAGS'
68143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68148 /* end confdefs.h. */
68150 #include <math.h>
68151 #ifdef HAVE_IEEEFP_H
68152 # include <ieeefp.h>
68153 #endif
68154 #undef sqrtl
68157 main ()
68160 void (*f)(void) = (void (*)(void))sqrtl;
68163 return 0;
68165 _ACEOF
68166 if ac_fn_c_try_compile "$LINENO"; then :
68167 glibcxx_cv_func_sqrtl_use=yes
68169 else
68170 glibcxx_cv_func_sqrtl_use=no
68172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
68175 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
68176 if test "x$glibcxx_cv_func_sqrtl_use" = xyes; then
68177 cat >>confdefs.h <<_ACEOF
68178 #define HAVE_SQRTL 1
68179 _ACEOF
68185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl declaration" >&5
68186 $as_echo_n "checking for tanl declaration... " >&6; }
68187 if ${glibcxx_cv_func_tanl_use+:} false; then :
68188 $as_echo_n "(cached) " >&6
68189 else
68192 ac_ext=c
68193 ac_cpp='$CPP $CPPFLAGS'
68194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68199 /* end confdefs.h. */
68201 #include <math.h>
68202 #ifdef HAVE_IEEEFP_H
68203 # include <ieeefp.h>
68204 #endif
68205 #undef tanl
68208 main ()
68211 void (*f)(void) = (void (*)(void))tanl;
68214 return 0;
68216 _ACEOF
68217 if ac_fn_c_try_compile "$LINENO"; then :
68218 glibcxx_cv_func_tanl_use=yes
68220 else
68221 glibcxx_cv_func_tanl_use=no
68223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanl_use" >&5
68226 $as_echo "$glibcxx_cv_func_tanl_use" >&6; }
68227 if test "x$glibcxx_cv_func_tanl_use" = xyes; then
68228 cat >>confdefs.h <<_ACEOF
68229 #define HAVE_TANL 1
68230 _ACEOF
68236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl declaration" >&5
68237 $as_echo_n "checking for tanhl declaration... " >&6; }
68238 if ${glibcxx_cv_func_tanhl_use+:} false; then :
68239 $as_echo_n "(cached) " >&6
68240 else
68243 ac_ext=c
68244 ac_cpp='$CPP $CPPFLAGS'
68245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68250 /* end confdefs.h. */
68252 #include <math.h>
68253 #ifdef HAVE_IEEEFP_H
68254 # include <ieeefp.h>
68255 #endif
68256 #undef tanhl
68259 main ()
68262 void (*f)(void) = (void (*)(void))tanhl;
68265 return 0;
68267 _ACEOF
68268 if ac_fn_c_try_compile "$LINENO"; then :
68269 glibcxx_cv_func_tanhl_use=yes
68271 else
68272 glibcxx_cv_func_tanhl_use=no
68274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanhl_use" >&5
68277 $as_echo "$glibcxx_cv_func_tanhl_use" >&6; }
68278 if test "x$glibcxx_cv_func_tanhl_use" = xyes; then
68279 cat >>confdefs.h <<_ACEOF
68280 #define HAVE_TANHL 1
68281 _ACEOF
68287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
68288 $as_echo_n "checking for hypotl declaration... " >&6; }
68289 if ${glibcxx_cv_func_hypotl_use+:} false; then :
68290 $as_echo_n "(cached) " >&6
68291 else
68294 ac_ext=c
68295 ac_cpp='$CPP $CPPFLAGS'
68296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68301 /* end confdefs.h. */
68303 #include <math.h>
68304 #ifdef HAVE_IEEEFP_H
68305 # include <ieeefp.h>
68306 #endif
68307 #undef hypotl
68310 main ()
68313 void (*f)(void) = (void (*)(void))hypotl;
68316 return 0;
68318 _ACEOF
68319 if ac_fn_c_try_compile "$LINENO"; then :
68320 glibcxx_cv_func_hypotl_use=yes
68322 else
68323 glibcxx_cv_func_hypotl_use=no
68325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
68328 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
68329 if test "x$glibcxx_cv_func_hypotl_use" = xyes; then
68330 cat >>confdefs.h <<_ACEOF
68331 #define HAVE_HYPOTL 1
68332 _ACEOF
68338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
68339 $as_echo_n "checking for ldexpf declaration... " >&6; }
68340 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
68341 $as_echo_n "(cached) " >&6
68342 else
68345 ac_ext=c
68346 ac_cpp='$CPP $CPPFLAGS'
68347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68352 /* end confdefs.h. */
68354 #include <math.h>
68355 #ifdef HAVE_IEEEFP_H
68356 # include <ieeefp.h>
68357 #endif
68358 #undef ldexpf
68361 main ()
68364 void (*f)(void) = (void (*)(void))ldexpf;
68367 return 0;
68369 _ACEOF
68370 if ac_fn_c_try_compile "$LINENO"; then :
68371 glibcxx_cv_func_ldexpf_use=yes
68373 else
68374 glibcxx_cv_func_ldexpf_use=no
68376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
68379 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
68380 if test "x$glibcxx_cv_func_ldexpf_use" = xyes; then
68381 cat >>confdefs.h <<_ACEOF
68382 #define HAVE_LDEXPF 1
68383 _ACEOF
68389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
68390 $as_echo_n "checking for modff declaration... " >&6; }
68391 if ${glibcxx_cv_func_modff_use+:} false; then :
68392 $as_echo_n "(cached) " >&6
68393 else
68396 ac_ext=c
68397 ac_cpp='$CPP $CPPFLAGS'
68398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68403 /* end confdefs.h. */
68405 #include <math.h>
68406 #ifdef HAVE_IEEEFP_H
68407 # include <ieeefp.h>
68408 #endif
68409 #undef modff
68412 main ()
68415 void (*f)(void) = (void (*)(void))modff;
68418 return 0;
68420 _ACEOF
68421 if ac_fn_c_try_compile "$LINENO"; then :
68422 glibcxx_cv_func_modff_use=yes
68424 else
68425 glibcxx_cv_func_modff_use=no
68427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
68430 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
68431 if test "x$glibcxx_cv_func_modff_use" = xyes; then
68432 cat >>confdefs.h <<_ACEOF
68433 #define HAVE_MODFF 1
68434 _ACEOF
68440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68441 $as_echo_n "checking for hypotf declaration... " >&6; }
68442 if ${glibcxx_cv_func_hypotf_use+:} false; then :
68443 $as_echo_n "(cached) " >&6
68444 else
68447 ac_ext=c
68448 ac_cpp='$CPP $CPPFLAGS'
68449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68454 /* end confdefs.h. */
68456 #include <math.h>
68457 #ifdef HAVE_IEEEFP_H
68458 # include <ieeefp.h>
68459 #endif
68460 #undef hypotf
68463 main ()
68466 void (*f)(void) = (void (*)(void))hypotf;
68469 return 0;
68471 _ACEOF
68472 if ac_fn_c_try_compile "$LINENO"; then :
68473 glibcxx_cv_func_hypotf_use=yes
68475 else
68476 glibcxx_cv_func_hypotf_use=no
68478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
68481 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
68482 if test "x$glibcxx_cv_func_hypotf_use" = xyes; then
68483 cat >>confdefs.h <<_ACEOF
68484 #define HAVE_HYPOTF 1
68485 _ACEOF
68491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68492 $as_echo_n "checking for frexpf declaration... " >&6; }
68493 if ${glibcxx_cv_func_frexpf_use+:} false; then :
68494 $as_echo_n "(cached) " >&6
68495 else
68498 ac_ext=c
68499 ac_cpp='$CPP $CPPFLAGS'
68500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68505 /* end confdefs.h. */
68507 #include <math.h>
68508 #ifdef HAVE_IEEEFP_H
68509 # include <ieeefp.h>
68510 #endif
68511 #undef frexpf
68514 main ()
68517 void (*f)(void) = (void (*)(void))frexpf;
68520 return 0;
68522 _ACEOF
68523 if ac_fn_c_try_compile "$LINENO"; then :
68524 glibcxx_cv_func_frexpf_use=yes
68526 else
68527 glibcxx_cv_func_frexpf_use=no
68529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68532 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68533 if test "x$glibcxx_cv_func_frexpf_use" = xyes; then
68534 cat >>confdefs.h <<_ACEOF
68535 #define HAVE_FREXPF 1
68536 _ACEOF
68544 as_fn_error $? "No support for this host/target combination." "$LINENO" 5
68546 esac
68550 # At some point, we should differentiate between architectures
68551 # like x86, which have long double versions, and alpha/powerpc/etc.,
68552 # which don't. For the time being, punt.
68553 if test x"long_double_math_on_this_cpu" = x"yes"; then
68554 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
68556 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
68558 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
68560 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
68562 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
68564 $as_echo "#define HAVE_COSL 1" >>confdefs.h
68566 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
68568 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
68570 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
68572 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
68574 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
68576 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
68578 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
68580 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
68582 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
68584 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
68586 $as_echo "#define HAVE_POWL 1" >>confdefs.h
68588 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
68590 $as_echo "#define HAVE_SINL 1" >>confdefs.h
68592 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
68594 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
68596 $as_echo "#define HAVE_TANL 1" >>confdefs.h
68598 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
68603 # Check for _Unwind_GetIPInfo.
68606 # Check whether --with-system-libunwind was given.
68607 if test "${with_system_libunwind+set}" = set; then :
68608 withval=$with_system_libunwind;
68611 # If system-libunwind was not specifically set, pick a default setting.
68612 if test x$with_system_libunwind = x; then
68613 case ${target} in
68614 ia64-*-hpux*) with_system_libunwind=yes ;;
68615 *) with_system_libunwind=no ;;
68616 esac
68618 # Based on system-libunwind and target, do we have ipinfo?
68619 if test x$with_system_libunwind = xyes; then
68620 case ${target} in
68621 ia64-*-*) have_unwind_getipinfo=no ;;
68622 *) have_unwind_getipinfo=yes ;;
68623 esac
68624 else
68625 # Darwin before version 9 does not have _Unwind_GetIPInfo.
68627 case ${target} in
68628 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
68629 *) have_unwind_getipinfo=yes ;;
68630 esac
68634 if test x$have_unwind_getipinfo = xyes; then
68636 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
68641 # Check whether --enable-linux-futex was given.
68642 if test "${enable_linux_futex+set}" = set; then :
68643 enableval=$enable_linux_futex;
68644 case "$enableval" in
68645 yes|no|default) ;;
68646 *) as_fn_error $? "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
68647 esac
68649 else
68650 enable_linux_futex=default
68654 case "$target" in
68655 *-linux* | *-uclinux*)
68656 case "$enable_linux_futex" in
68657 default)
68658 # If headers don't have gettid/futex syscalls definition, then
68659 # default to no, otherwise there will be compile time failures.
68660 # Otherwise, default to yes. If we don't detect we are
68661 # compiled/linked against NPTL and not cross-compiling, check
68662 # if programs are run by default against NPTL and if not, issue
68663 # a warning.
68664 enable_linux_futex=no
68665 if test x$gcc_no_link = xyes; then
68666 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
68668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68669 /* end confdefs.h. */
68670 #include <sys/syscall.h>
68671 #include <unistd.h>
68672 int lk;
68674 main ()
68676 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
68678 return 0;
68680 _ACEOF
68681 if ac_fn_c_try_link "$LINENO"; then :
68682 save_LIBS="$LIBS"
68683 LIBS="-lpthread $LIBS"
68684 if test x$gcc_no_link = xyes; then
68685 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
68687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68688 /* end confdefs.h. */
68689 #ifndef _GNU_SOURCE
68690 #define _GNU_SOURCE 1
68691 #endif
68692 #include <pthread.h>
68693 pthread_t th; void *status;
68695 main ()
68697 pthread_tryjoin_np (th, &status);
68699 return 0;
68701 _ACEOF
68702 if ac_fn_c_try_link "$LINENO"; then :
68703 enable_linux_futex=yes
68704 else
68705 if test x$cross_compiling = xno; then
68706 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
68707 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
68708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
68709 If so, please configure with --disable-linux-futex" >&5
68710 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
68711 If so, please configure with --disable-linux-futex" >&2;}
68714 enable_linux_futex=yes
68716 rm -f core conftest.err conftest.$ac_objext \
68717 conftest$ac_exeext conftest.$ac_ext
68718 LIBS="$save_LIBS"
68720 rm -f core conftest.err conftest.$ac_objext \
68721 conftest$ac_exeext conftest.$ac_ext
68723 yes)
68724 if test x$gcc_no_link = xyes; then
68725 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
68727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68728 /* end confdefs.h. */
68729 #include <sys/syscall.h>
68730 #include <unistd.h>
68731 int lk;
68733 main ()
68735 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
68737 return 0;
68739 _ACEOF
68740 if ac_fn_c_try_link "$LINENO"; then :
68742 else
68743 as_fn_error $? "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
68745 rm -f core conftest.err conftest.$ac_objext \
68746 conftest$ac_exeext conftest.$ac_ext
68748 esac
68751 enable_linux_futex=no
68753 esac
68754 if test x$enable_linux_futex = xyes; then
68756 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
68762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
68763 $as_echo_n "checking for GNU c++filt... " >&6; }
68764 if ${ac_cv_path_CXXFILT+:} false; then :
68765 $as_echo_n "(cached) " >&6
68766 else
68767 if test -z "$CXXFILT"; then
68768 ac_path_CXXFILT_found=false
68769 # Loop through the user's path and test for each of PROGNAME-LIST
68770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
68771 for as_dir in $PATH
68773 IFS=$as_save_IFS
68774 test -z "$as_dir" && as_dir=.
68775 for ac_prog in c++filt gc++filt; do
68776 for ac_exec_ext in '' $ac_executable_extensions; do
68777 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
68778 as_fn_executable_p "$ac_path_CXXFILT" || continue
68779 # Check for GNU $ac_path_CXXFILT
68780 case `"$ac_path_CXXFILT" --version 2>&1` in
68781 *GNU*)
68782 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
68783 esac
68785 $ac_path_CXXFILT_found && break 3
68786 done
68787 done
68788 done
68789 IFS=$as_save_IFS
68790 if test -z "$ac_cv_path_CXXFILT"; then
68793 else
68794 ac_cv_path_CXXFILT=$CXXFILT
68798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
68799 $as_echo "$ac_cv_path_CXXFILT" >&6; }
68800 CXXFILT=$ac_cv_path_CXXFILT
68804 # Check whether --enable-symvers was given.
68805 if test "${enable_symvers+set}" = set; then :
68806 enableval=$enable_symvers;
68807 case "$enableval" in
68808 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
68809 *) as_fn_error $? "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
68810 esac
68812 else
68813 enable_symvers=yes
68818 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
68819 # don't know enough about $LD to do tricks...
68821 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
68822 # with extern "C++" in version scripts.
68825 # Turn a 'yes' into a suitable default.
68826 if test x$enable_symvers = xyes ; then
68827 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
68828 enable_symvers=no
68829 else
68830 if test $with_gnu_ld = yes ; then
68831 case ${target_os} in
68832 hpux*)
68833 enable_symvers=no ;;
68835 enable_symvers=gnu ;;
68836 esac
68837 else
68838 case ${target_os} in
68839 darwin*)
68840 enable_symvers=darwin ;;
68841 # Sun symbol versioning exists since Solaris 2.5.
68842 solaris2.[5-9]* | solaris2.1[0-9]*)
68843 # make_sunver.pl needs GNU c++filt to support extern "C++" in
68844 # version scripts, so disable symbol versioning if none can be
68845 # found.
68846 if test -z "$ac_cv_path_CXXFILT"; then
68847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
68848 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
68849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
68850 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
68851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
68852 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
68853 enable_symvers=no
68854 else
68855 enable_symvers=sun
68859 enable_symvers=no ;;
68860 esac
68865 # Check to see if 'darwin' or 'darwin-export' can win.
68866 if test x$enable_symvers = xdarwin-export ; then
68867 enable_symvers=darwin
68870 # Check if 'sun' was requested on non-Solaris 2 platforms.
68871 if test x$enable_symvers = xsun ; then
68872 case ${target_os} in
68873 solaris2*)
68874 # All fine.
68877 # Unlikely to work.
68878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
68879 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
68880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
68881 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
68882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
68883 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
68884 enable_symvers=no
68886 esac
68889 # Check to see if 'gnu' can win.
68890 if test $enable_symvers = gnu ||
68891 test $enable_symvers = gnu-versioned-namespace ||
68892 test $enable_symvers = sun; then
68893 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
68894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
68895 $as_echo_n "checking for shared libgcc... " >&6; }
68896 ac_save_CFLAGS="$CFLAGS"
68897 CFLAGS=' -lgcc_s'
68898 if test x$gcc_no_link = xyes; then
68899 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
68901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68902 /* end confdefs.h. */
68905 main ()
68907 return 0;
68909 return 0;
68911 _ACEOF
68912 if ac_fn_c_try_link "$LINENO"; then :
68913 glibcxx_shared_libgcc=yes
68914 else
68915 glibcxx_shared_libgcc=no
68917 rm -f core conftest.err conftest.$ac_objext \
68918 conftest$ac_exeext conftest.$ac_ext
68919 CFLAGS="$ac_save_CFLAGS"
68920 if test $glibcxx_shared_libgcc = no; then
68921 cat > conftest.c <<EOF
68922 int main (void) { return 0; }
68924 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
68925 -shared -shared-libgcc -o conftest.so \
68926 conftest.c -v 2>&1 >/dev/null \
68927 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
68928 rm -f conftest.c conftest.so
68929 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
68930 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
68931 if test x$gcc_no_link = xyes; then
68932 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
68934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68935 /* end confdefs.h. */
68938 main ()
68940 return 0;
68942 return 0;
68944 _ACEOF
68945 if ac_fn_c_try_link "$LINENO"; then :
68946 glibcxx_shared_libgcc=yes
68948 rm -f core conftest.err conftest.$ac_objext \
68949 conftest$ac_exeext conftest.$ac_ext
68950 CFLAGS="$ac_save_CFLAGS"
68953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
68954 $as_echo "$glibcxx_shared_libgcc" >&6; }
68956 # For GNU ld, we need at least this version. The format is described in
68957 # GLIBCXX_CHECK_LINKER_FEATURES above.
68958 glibcxx_min_gnu_ld_version=21400
68960 # If no shared libgcc, can't win.
68961 if test $glibcxx_shared_libgcc != yes; then
68962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
68963 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
68964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
68965 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
68966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
68967 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
68968 enable_symvers=no
68969 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
68970 : All interesting versions of Sun ld support sun style symbol versioning.
68971 elif test $with_gnu_ld != yes ; then
68972 # just fail for now
68973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
68974 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
68975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
68976 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
68977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
68978 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
68979 enable_symvers=no
68980 elif test $glibcxx_ld_is_gold = yes ; then
68981 : All versions of gold support symbol versioning.
68982 elif test $glibcxx_ld_is_mold = yes ; then
68983 : All versions of mold support symbol versioning.
68984 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
68985 # The right tools, the right setup, but too old. Fallbacks?
68986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
68987 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
68988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
68989 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
68990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
68991 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
68992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
68993 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
68994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
68995 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
68996 enable_symvers=no
69000 # For libtool versioning info, format is CURRENT:REVISION:AGE
69001 libtool_VERSION=6:32:0
69003 # Everything parsed; figure out what files and settings to use.
69004 case $enable_symvers in
69006 SYMVER_FILE=config/abi/pre/none.ver
69008 gnu)
69009 SYMVER_FILE=config/abi/pre/gnu.ver
69011 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
69014 gnu-versioned-namespace)
69015 libtool_VERSION=8:0:0
69016 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
69018 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
69021 darwin)
69022 SYMVER_FILE=config/abi/pre/gnu.ver
69024 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
69027 sun)
69028 SYMVER_FILE=config/abi/pre/gnu.ver
69030 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
69033 esac
69035 if test x$enable_symvers != xno ; then
69037 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
69041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
69042 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
69043 if ${glibcxx_cv_have_as_symver_directive+:} false; then :
69044 $as_echo_n "(cached) " >&6
69045 else
69047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69048 /* end confdefs.h. */
69049 void foo (void); __asm (".symver foo, bar@SYMVER");
69051 main ()
69055 return 0;
69057 _ACEOF
69058 if ac_fn_c_try_compile "$LINENO"; then :
69059 glibcxx_cv_have_as_symver_directive=yes
69060 else
69061 glibcxx_cv_have_as_symver_directive=no
69063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
69066 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
69067 if test $glibcxx_cv_have_as_symver_directive = yes; then
69069 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
69080 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
69081 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
69083 if test $enable_symvers != no ; then
69084 case ${target_os} in
69085 # The Solaris 2 runtime linker doesn't support the GNU extension of
69086 # binding the same symbol to different versions
69087 solaris2*)
69089 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
69092 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
69095 esac
69098 # Now, set up compatibility support, if any.
69099 # In addition, need this to deal with std::size_t mangling in
69100 # src/compatibility.cc. In a perfect world, could use
69101 # typeid(std::size_t).name()[0] to do direct substitution.
69102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
69103 $as_echo_n "checking for size_t as unsigned int... " >&6; }
69104 ac_save_CFLAGS="$CFLAGS"
69105 CFLAGS="-Werror"
69106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69107 /* end confdefs.h. */
69110 main ()
69112 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
69114 return 0;
69116 _ACEOF
69117 if ac_fn_c_try_compile "$LINENO"; then :
69118 glibcxx_size_t_is_i=yes
69119 else
69120 glibcxx_size_t_is_i=no
69122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69123 CFLAGS=$ac_save_CFLAGS
69124 if test "$glibcxx_size_t_is_i" = yes; then
69126 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
69129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
69130 $as_echo "$glibcxx_size_t_is_i" >&6; }
69132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
69133 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
69134 ac_save_CFLAGS="$CFLAGS"
69135 CFLAGS="-Werror"
69136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69137 /* end confdefs.h. */
69140 main ()
69142 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
69144 return 0;
69146 _ACEOF
69147 if ac_fn_c_try_compile "$LINENO"; then :
69148 glibcxx_ptrdiff_t_is_i=yes
69149 else
69150 glibcxx_ptrdiff_t_is_i=no
69152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69153 CFLAGS=$ac_save_CFLAGS
69154 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
69156 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
69159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
69160 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
69165 # Check whether --enable-libstdcxx-visibility was given.
69166 if test "${enable_libstdcxx_visibility+set}" = set; then :
69167 enableval=$enable_libstdcxx_visibility;
69168 case "$enableval" in
69169 yes|no) ;;
69170 *) as_fn_error $? "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
69171 esac
69173 else
69174 enable_libstdcxx_visibility=yes
69179 if test x$enable_libstdcxx_visibility = xyes ; then
69180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
69181 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
69182 if ${glibcxx_cv_have_attribute_visibility+:} false; then :
69183 $as_echo_n "(cached) " >&6
69184 else
69186 save_CFLAGS="$CFLAGS"
69187 CFLAGS="$CFLAGS -Werror"
69188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69189 /* end confdefs.h. */
69190 void __attribute__((visibility("hidden"))) foo(void) { }
69192 main ()
69196 return 0;
69198 _ACEOF
69199 if ac_fn_c_try_compile "$LINENO"; then :
69200 glibcxx_cv_have_attribute_visibility=yes
69201 else
69202 glibcxx_cv_have_attribute_visibility=no
69204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69205 CFLAGS="$save_CFLAGS"
69207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
69208 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
69209 if test $glibcxx_cv_have_attribute_visibility = no; then
69210 enable_libstdcxx_visibility=no
69215 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
69216 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
69220 # Check whether --enable-libstdcxx-dual-abi was given.
69221 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
69222 enableval=$enable_libstdcxx_dual_abi;
69223 case "$enableval" in
69224 yes|no) ;;
69225 *) as_fn_error $? "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
69226 esac
69228 else
69229 enable_libstdcxx_dual_abi=yes
69233 if test x$enable_symvers = xgnu-versioned-namespace; then
69234 # gnu-versioned-namespace is incompatible with the dual ABI.
69235 enable_libstdcxx_dual_abi="no"
69237 if test x"$enable_libstdcxx_dual_abi" != xyes; then
69238 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
69239 $as_echo "$as_me: dual ABI is disabled" >&6;}
69240 default_libstdcxx_abi="gcc4-compatible"
69245 if test x$enable_libstdcxx_dual_abi = xyes; then
69246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
69247 $as_echo_n "checking for default std::string ABI to use... " >&6; }
69249 # Check whether --with-default-libstdcxx-abi was given.
69250 if test "${with_default_libstdcxx_abi+set}" = set; then :
69251 withval=$with_default_libstdcxx_abi; case "$withval" in
69252 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
69253 new|cxx11) default_libstdcxx_abi="new" ;;
69254 c++*|gnu++*) as_fn_error $? "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
69255 *) as_fn_error $? "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
69256 esac
69258 else
69259 default_libstdcxx_abi="new"
69262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
69263 $as_echo "${default_libstdcxx_abi}" >&6; }
69265 if test $default_libstdcxx_abi = "new"; then
69266 glibcxx_cxx11_abi=1
69267 glibcxx_cxx98_abi=0
69268 else
69269 glibcxx_cxx11_abi=0
69270 glibcxx_cxx98_abi=1
69276 ac_ldbl_compat=no
69277 ac_ldbl_alt128_compat=no
69278 ac_ldbl_ieee128_default=no
69279 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
69280 LONG_DOUBLE_128_FLAGS=
69281 LONG_DOUBLE_ALT128_COMPAT_FLAGS=
69282 case "$target" in
69283 powerpc*-*-linux* | \
69284 sparc*-*-linux* | \
69285 s390*-*-linux* | \
69286 alpha*-*-linux*)
69287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69288 /* end confdefs.h. */
69291 main ()
69294 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
69295 #error no need for long double compatibility
69296 #endif
69299 return 0;
69301 _ACEOF
69302 if ac_fn_c_try_compile "$LINENO"; then :
69303 ac_ldbl_compat=yes
69304 else
69305 ac_ldbl_compat=no
69307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69308 if test "$ac_ldbl_compat" = yes; then
69310 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
69312 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
69313 case "$target" in
69314 powerpc*-*-linux*)
69315 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute"
69316 # Check for IEEE128 support in libm:
69317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __frexpieee128 in -lm" >&5
69318 $as_echo_n "checking for __frexpieee128 in -lm... " >&6; }
69319 if ${ac_cv_lib_m___frexpieee128+:} false; then :
69320 $as_echo_n "(cached) " >&6
69321 else
69322 ac_check_lib_save_LIBS=$LIBS
69323 LIBS="-lm $LIBS"
69324 if test x$gcc_no_link = xyes; then
69325 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69328 /* end confdefs.h. */
69330 /* Override any GCC internal prototype to avoid an error.
69331 Use char because int might match the return type of a GCC
69332 builtin and then its argument prototype would still apply. */
69333 #ifdef __cplusplus
69334 extern "C"
69335 #endif
69336 char __frexpieee128 ();
69338 main ()
69340 return __frexpieee128 ();
69342 return 0;
69344 _ACEOF
69345 if ac_fn_c_try_link "$LINENO"; then :
69346 ac_cv_lib_m___frexpieee128=yes
69347 else
69348 ac_cv_lib_m___frexpieee128=no
69350 rm -f core conftest.err conftest.$ac_objext \
69351 conftest$ac_exeext conftest.$ac_ext
69352 LIBS=$ac_check_lib_save_LIBS
69354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___frexpieee128" >&5
69355 $as_echo "$ac_cv_lib_m___frexpieee128" >&6; }
69356 if test "x$ac_cv_lib_m___frexpieee128" = xyes; then :
69357 ac_ldbl_ieee128_in_libc=yes
69358 else
69359 ac_ldbl_ieee128_in_libc=no
69362 if test $ac_ldbl_ieee128_in_libc = yes; then
69363 # Determine which long double format is the compiler's default:
69364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69365 /* end confdefs.h. */
69368 main ()
69371 #ifndef __LONG_DOUBLE_IEEE128__
69372 #error compiler defaults to ibm128
69373 #endif
69376 return 0;
69378 _ACEOF
69379 if ac_fn_c_try_compile "$LINENO"; then :
69380 ac_ldbl_ieee128_default=yes
69381 else
69382 ac_ldbl_ieee128_default=no
69384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69385 # Library objects should use default long double format.
69386 if test "$ac_ldbl_ieee128_default" = yes; then
69387 LONG_DOUBLE_128_FLAGS="-mno-gnu-attribute"
69388 # Except for the ones that explicitly use these flags:
69389 LONG_DOUBLE_ALT128_COMPAT_FLAGS="-mabi=ibmlongdouble -mno-gnu-attribute -Wno-psabi"
69390 else
69391 LONG_DOUBLE_128_FLAGS="-mno-gnu-attribute"
69392 LONG_DOUBLE_ALT128_COMPAT_FLAGS="-mabi=ieeelongdouble -mno-gnu-attribute -Wno-psabi"
69395 $as_echo "#define _GLIBCXX_LONG_DOUBLE_ALT128_COMPAT 1" >>confdefs.h
69397 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/os/gnu-linux/ldbl-ieee128-extra.ver"
69398 ac_ldbl_alt128_compat=yes
69399 else
69400 ac_ldbl_alt128_compat=no
69403 esac
69405 esac
69412 # Check if assembler supports disabling hardware capability support.
69414 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
69416 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
69417 # with a different meaning.
69418 case ${target_os} in
69419 solaris2*)
69420 ac_save_CFLAGS="$CFLAGS"
69421 CFLAGS="$CFLAGS -Wa,-nH"
69423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
69424 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
69425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69426 /* end confdefs.h. */
69429 main ()
69431 return 0;
69433 return 0;
69435 _ACEOF
69436 if ac_fn_c_try_compile "$LINENO"; then :
69437 ac_hwcap_flags=yes
69438 else
69439 ac_hwcap_flags=no
69441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69442 if test "$ac_hwcap_flags" = "yes"; then
69443 HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
69445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
69446 $as_echo "$ac_hwcap_flags" >&6; }
69448 CFLAGS="$ac_save_CFLAGS"
69450 esac
69455 # Check if assembler supports rdrand opcode.
69457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
69458 $as_echo_n "checking for rdrand support in assembler... " >&6; }
69459 if ${ac_cv_x86_rdrand+:} false; then :
69460 $as_echo_n "(cached) " >&6
69461 else
69463 ac_cv_x86_rdrand=no
69464 case "$target" in
69465 i?86-*-* | \
69466 x86_64-*-*)
69467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69468 /* end confdefs.h. */
69471 main ()
69473 asm("rdrand %eax");
69475 return 0;
69477 _ACEOF
69478 if ac_fn_c_try_compile "$LINENO"; then :
69479 ac_cv_x86_rdrand=yes
69480 else
69481 ac_cv_x86_rdrand=no
69483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69484 esac
69487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
69488 $as_echo "$ac_cv_x86_rdrand" >&6; }
69489 if test $ac_cv_x86_rdrand = yes; then
69491 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
69495 # Check if assembler supports rdseed opcode.
69497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdseed support in assembler" >&5
69498 $as_echo_n "checking for rdseed support in assembler... " >&6; }
69499 if ${ac_cv_x86_rdseed+:} false; then :
69500 $as_echo_n "(cached) " >&6
69501 else
69503 ac_cv_x86_rdseed=no
69504 case "$target" in
69505 i?86-*-* | \
69506 x86_64-*-*)
69507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69508 /* end confdefs.h. */
69511 main ()
69513 asm("rdseed %eax");
69515 return 0;
69517 _ACEOF
69518 if ac_fn_c_try_compile "$LINENO"; then :
69519 ac_cv_x86_rdseed=yes
69520 else
69521 ac_cv_x86_rdseed=no
69523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69524 esac
69527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdseed" >&5
69528 $as_echo "$ac_cv_x86_rdseed" >&6; }
69529 if test $ac_cv_x86_rdseed = yes; then
69531 $as_echo "#define _GLIBCXX_X86_RDSEED 1" >>confdefs.h
69536 # Check for other random number APIs
69540 ac_ext=cpp
69541 ac_cpp='$CXXCPP $CPPFLAGS'
69542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getentropy" >&5
69547 $as_echo_n "checking for getentropy... " >&6; }
69548 if ${glibcxx_cv_getentropy+:} false; then :
69549 $as_echo_n "(cached) " >&6
69550 else
69552 if test x$gcc_no_link = xyes; then
69553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69554 /* end confdefs.h. */
69555 #include <unistd.h>
69557 main ()
69559 unsigned i;
69560 ::getentropy(&i, sizeof(i));
69562 return 0;
69564 _ACEOF
69565 if ac_fn_cxx_try_compile "$LINENO"; then :
69566 glibcxx_cv_getentropy=yes
69567 else
69568 glibcxx_cv_getentropy=no
69570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69571 else
69572 if test x$gcc_no_link = xyes; then
69573 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69576 /* end confdefs.h. */
69577 #include <unistd.h>
69579 main ()
69581 unsigned i;
69582 ::getentropy(&i, sizeof(i));
69584 return 0;
69586 _ACEOF
69587 if ac_fn_cxx_try_link "$LINENO"; then :
69588 glibcxx_cv_getentropy=yes
69589 else
69590 glibcxx_cv_getentropy=no
69592 rm -f core conftest.err conftest.$ac_objext \
69593 conftest$ac_exeext conftest.$ac_ext
69597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_getentropy" >&5
69598 $as_echo "$glibcxx_cv_getentropy" >&6; }
69600 if test $glibcxx_cv_getentropy = yes; then
69602 $as_echo "#define HAVE_GETENTROPY 1" >>confdefs.h
69605 ac_ext=c
69606 ac_cpp='$CPP $CPPFLAGS'
69607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69615 ac_ext=cpp
69616 ac_cpp='$CXXCPP $CPPFLAGS'
69617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for arc4random" >&5
69622 $as_echo_n "checking for arc4random... " >&6; }
69623 if ${glibcxx_cv_arc4random+:} false; then :
69624 $as_echo_n "(cached) " >&6
69625 else
69627 if test x$gcc_no_link = xyes; then
69628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69629 /* end confdefs.h. */
69630 #include <stdlib.h>
69632 main ()
69634 unsigned i = ::arc4random();
69636 return 0;
69638 _ACEOF
69639 if ac_fn_cxx_try_compile "$LINENO"; then :
69640 glibcxx_cv_arc4random=yes
69641 else
69642 glibcxx_cv_arc4random=no
69644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69645 else
69646 if test x$gcc_no_link = xyes; then
69647 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69650 /* end confdefs.h. */
69651 #include <stdlib.h>
69653 main ()
69655 unsigned i = ::arc4random();
69657 return 0;
69659 _ACEOF
69660 if ac_fn_cxx_try_link "$LINENO"; then :
69661 glibcxx_cv_arc4random=yes
69662 else
69663 glibcxx_cv_arc4random=no
69665 rm -f core conftest.err conftest.$ac_objext \
69666 conftest$ac_exeext conftest.$ac_ext
69670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_arc4random" >&5
69671 $as_echo "$glibcxx_cv_arc4random" >&6; }
69673 if test $glibcxx_cv_arc4random = yes; then
69675 $as_echo "#define HAVE_ARC4RANDOM 1" >>confdefs.h
69678 ac_ext=c
69679 ac_cpp='$CPP $CPPFLAGS'
69680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69686 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
69688 # Do checks for resource limit functions.
69691 ac_ext=cpp
69692 ac_cpp='$CXXCPP $CPPFLAGS'
69693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69697 setrlimit_have_headers=yes
69698 for ac_header in unistd.h sys/time.h sys/resource.h
69699 do :
69700 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
69701 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
69702 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
69703 cat >>confdefs.h <<_ACEOF
69704 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
69705 _ACEOF
69707 else
69708 setrlimit_have_headers=no
69711 done
69713 # If don't have the headers, then we can't run the tests now, and we
69714 # won't be seeing any of these during testsuite compilation.
69715 if test $setrlimit_have_headers = yes; then
69716 # Can't do these in a loop, else the resulting syntax is wrong.
69718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
69719 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
69720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69721 /* end confdefs.h. */
69722 #include <unistd.h>
69723 #include <sys/time.h>
69724 #include <sys/resource.h>
69727 main ()
69729 int f = RLIMIT_DATA ;
69731 return 0;
69733 _ACEOF
69734 if ac_fn_cxx_try_compile "$LINENO"; then :
69735 glibcxx_mresult=1
69736 else
69737 glibcxx_mresult=0
69739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69741 cat >>confdefs.h <<_ACEOF
69742 #define HAVE_LIMIT_DATA $glibcxx_mresult
69743 _ACEOF
69745 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
69746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
69747 $as_echo "$res" >&6; }
69750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
69751 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
69752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69753 /* end confdefs.h. */
69754 #include <unistd.h>
69755 #include <sys/time.h>
69756 #include <sys/resource.h>
69759 main ()
69761 int f = RLIMIT_RSS ;
69763 return 0;
69765 _ACEOF
69766 if ac_fn_cxx_try_compile "$LINENO"; then :
69767 glibcxx_mresult=1
69768 else
69769 glibcxx_mresult=0
69771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69773 cat >>confdefs.h <<_ACEOF
69774 #define HAVE_LIMIT_RSS $glibcxx_mresult
69775 _ACEOF
69777 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
69778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
69779 $as_echo "$res" >&6; }
69782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
69783 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
69784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69785 /* end confdefs.h. */
69786 #include <unistd.h>
69787 #include <sys/time.h>
69788 #include <sys/resource.h>
69791 main ()
69793 int f = RLIMIT_VMEM ;
69795 return 0;
69797 _ACEOF
69798 if ac_fn_cxx_try_compile "$LINENO"; then :
69799 glibcxx_mresult=1
69800 else
69801 glibcxx_mresult=0
69803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69805 cat >>confdefs.h <<_ACEOF
69806 #define HAVE_LIMIT_VMEM $glibcxx_mresult
69807 _ACEOF
69809 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
69810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
69811 $as_echo "$res" >&6; }
69814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
69815 $as_echo_n "checking for RLIMIT_AS... " >&6; }
69816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69817 /* end confdefs.h. */
69818 #include <unistd.h>
69819 #include <sys/time.h>
69820 #include <sys/resource.h>
69823 main ()
69825 int f = RLIMIT_AS ;
69827 return 0;
69829 _ACEOF
69830 if ac_fn_cxx_try_compile "$LINENO"; then :
69831 glibcxx_mresult=1
69832 else
69833 glibcxx_mresult=0
69835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69837 cat >>confdefs.h <<_ACEOF
69838 #define HAVE_LIMIT_AS $glibcxx_mresult
69839 _ACEOF
69841 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
69842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
69843 $as_echo "$res" >&6; }
69846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
69847 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
69848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69849 /* end confdefs.h. */
69850 #include <unistd.h>
69851 #include <sys/time.h>
69852 #include <sys/resource.h>
69855 main ()
69857 int f = RLIMIT_FSIZE ;
69859 return 0;
69861 _ACEOF
69862 if ac_fn_cxx_try_compile "$LINENO"; then :
69863 glibcxx_mresult=1
69864 else
69865 glibcxx_mresult=0
69867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69869 cat >>confdefs.h <<_ACEOF
69870 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
69871 _ACEOF
69873 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
69874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
69875 $as_echo "$res" >&6; }
69878 # Check for rlimit, setrlimit.
69879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
69880 $as_echo_n "checking for testsuite resource limits support... " >&6; }
69881 if ${glibcxx_cv_setrlimit+:} false; then :
69882 $as_echo_n "(cached) " >&6
69883 else
69885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69886 /* end confdefs.h. */
69887 #include <unistd.h>
69888 #include <sys/time.h>
69889 #include <sys/resource.h>
69892 main ()
69894 struct rlimit r;
69895 setrlimit(0, &r);
69897 return 0;
69899 _ACEOF
69900 if ac_fn_cxx_try_compile "$LINENO"; then :
69901 glibcxx_cv_setrlimit=yes
69902 else
69903 glibcxx_cv_setrlimit=no
69905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_setrlimit" >&5
69909 $as_echo "$glibcxx_cv_setrlimit" >&6; }
69911 if test $glibcxx_cv_setrlimit = yes; then
69913 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
69917 ac_ext=c
69918 ac_cpp='$CPP $CPPFLAGS'
69919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69925 if $GLIBCXX_IS_NATIVE ; then
69926 # Look for setenv, so that extended locale tests can be performed.
69928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
69929 $as_echo_n "checking for setenv declaration... " >&6; }
69930 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
69931 if ${glibcxx_cv_func_setenv_use+:} false; then :
69932 $as_echo_n "(cached) " >&6
69933 else
69936 ac_ext=cpp
69937 ac_cpp='$CXXCPP $CPPFLAGS'
69938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69943 /* end confdefs.h. */
69944 #include <stdlib.h>
69946 main ()
69948 setenv(0, 0, 0);
69950 return 0;
69952 _ACEOF
69953 if ac_fn_cxx_try_compile "$LINENO"; then :
69954 glibcxx_cv_func_setenv_use=yes
69955 else
69956 glibcxx_cv_func_setenv_use=no
69958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69959 ac_ext=c
69960 ac_cpp='$CPP $CPPFLAGS'
69961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
69970 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
69971 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
69972 for ac_func in setenv
69973 do :
69974 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
69975 if test "x$ac_cv_func_setenv" = xyes; then :
69976 cat >>confdefs.h <<_ACEOF
69977 #define HAVE_SETENV 1
69978 _ACEOF
69981 done
69987 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
69988 test $enable_symvers != no; then
69989 case "$host" in
69990 *-*-cygwin*)
69991 enable_abi_check=no ;;
69993 enable_abi_check=yes ;;
69994 esac
69995 else
69996 # Only build this as native, since automake does not understand
69997 # CXX_FOR_BUILD.
69998 enable_abi_check=no
70001 # Export file names for ABI checking.
70002 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
70004 baseline_subdir_switch="$abi_baseline_subdir_switch"
70008 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
70010 # Check whether --enable-libstdcxx-threads was given.
70011 if test "${enable_libstdcxx_threads+set}" = set; then :
70012 enableval=$enable_libstdcxx_threads;
70013 case "$enableval" in
70014 yes|no) ;;
70015 *) as_fn_error $? "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
70016 esac
70018 else
70019 enable_libstdcxx_threads=auto
70024 if test x$enable_libstdcxx_threads = xauto ||
70025 test x$enable_libstdcxx_threads = xyes; then
70028 ac_ext=cpp
70029 ac_cpp='$CXXCPP $CPPFLAGS'
70030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70035 ac_save_CXXFLAGS="$CXXFLAGS"
70036 CXXFLAGS="$CXXFLAGS -fno-exceptions \
70037 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
70039 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
70040 case $target_thread_file in
70041 posix)
70042 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
70044 win32)
70045 CXXFLAGS="$CXXFLAGS -D_WIN32_THREADS"
70046 # The support of condition variables is disabled by default in
70047 # the Win32 gthreads library, so enable it on explicit request.
70048 if test x$enable_libstdcxx_threads = xyes; then
70049 CXXFLAGS="$CXXFLAGS -D_WIN32_WINNT=0x0600"
70052 esac
70054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
70055 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
70057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70058 /* end confdefs.h. */
70059 #include <unistd.h>
70061 main ()
70064 // In case of POSIX threads check _POSIX_TIMEOUTS.
70065 #if (defined(_PTHREADS) \
70066 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
70067 #error
70068 // In case of Win32 threads there is no support.
70069 #elif defined(_WIN32_THREADS)
70070 #error
70071 #endif
70074 return 0;
70076 _ACEOF
70077 if ac_fn_cxx_try_compile "$LINENO"; then :
70078 ac_gthread_use_mutex_timedlock=1
70079 else
70080 ac_gthread_use_mutex_timedlock=0
70082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70085 cat >>confdefs.h <<_ACEOF
70086 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
70087 _ACEOF
70090 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
70091 else res_mutex_timedlock=no ; fi
70092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
70093 $as_echo "$res_mutex_timedlock" >&6; }
70095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
70096 $as_echo_n "checking for gthreads library... " >&6; }
70098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70099 /* end confdefs.h. */
70100 #include "gthr.h"
70102 main ()
70105 #ifndef __GTHREADS_CXX0X
70106 #error
70107 #endif
70110 return 0;
70112 _ACEOF
70113 if ac_fn_cxx_try_compile "$LINENO"; then :
70114 ac_has_gthreads=yes
70115 else
70116 ac_has_gthreads=no
70118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70119 else
70120 ac_has_gthreads=no
70123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
70124 $as_echo "$ac_has_gthreads" >&6; }
70126 if test x"$ac_has_gthreads" = x"yes"; then
70128 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
70131 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
70132 # but only do so if we're using pthread in the gthread library.
70133 # On VxWorks for example, pthread_rwlock_t is defined in sys/types.h
70134 # but the pthread library is not there by default and the gthread library
70135 # does not use it.
70136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70137 /* end confdefs.h. */
70138 #include "gthr.h"
70140 main ()
70143 #if (!defined(_PTHREADS))
70144 #error
70145 #endif
70148 return 0;
70150 _ACEOF
70151 if ac_fn_cxx_try_compile "$LINENO"; then :
70152 ac_gthread_use_pthreads=yes
70153 else
70154 ac_gthread_use_pthreads=no
70156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70157 if test x"$ac_gthread_use_pthreads" = x"yes"; then
70158 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
70160 if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
70162 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
70168 # See above for the rationale.
70169 if test $target_thread_file = win32; then
70170 CPPFLAGS="$CPPFLAGS -D_WIN32_WINNT=0x0600"
70174 ac_fn_cxx_check_header_mongrel "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default"
70175 if test "x$ac_cv_header_semaphore_h" = xyes; then :
70177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX Semaphores and sem_timedwait" >&5
70178 $as_echo_n "checking for POSIX Semaphores and sem_timedwait... " >&6; }
70179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70180 /* end confdefs.h. */
70182 #include <unistd.h>
70183 #include <semaphore.h>
70184 #include <limits.h>
70187 main ()
70190 #if !defined _POSIX_TIMEOUTS || _POSIX_TIMEOUTS <= 0
70191 # error "POSIX Timeouts option not supported"
70192 #elif !defined _POSIX_SEMAPHORES || _POSIX_SEMAPHORES <= 0
70193 # error "POSIX Semaphores option not supported"
70194 #else
70195 #if defined SEM_VALUE_MAX
70196 constexpr int sem_value_max = SEM_VALUE_MAX;
70197 #elif defined _POSIX_SEM_VALUE_MAX
70198 constexpr int sem_value_max = _POSIX_SEM_VALUE_MAX;
70199 #else
70200 # error "SEM_VALUE_MAX not available"
70201 #endif
70202 sem_t sem;
70203 sem_init(&sem, 0, sem_value_max);
70204 struct timespec ts = { 0 };
70205 sem_timedwait(&sem, &ts);
70206 #endif
70209 return 0;
70211 _ACEOF
70212 if ac_fn_cxx_try_compile "$LINENO"; then :
70213 ac_have_posix_semaphore=yes
70214 else
70215 ac_have_posix_semaphore=no
70217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70218 else
70219 ac_have_posix_semaphore=no
70224 if test $ac_have_posix_semaphore = yes ; then
70226 $as_echo "#define HAVE_POSIX_SEMAPHORE 1" >>confdefs.h
70229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_have_posix_semaphore" >&5
70230 $as_echo "$ac_have_posix_semaphore" >&6; }
70232 CXXFLAGS="$ac_save_CXXFLAGS"
70233 ac_ext=c
70234 ac_cpp='$CPP $CPPFLAGS'
70235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70241 # For Filesystem TS.
70242 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
70243 do :
70244 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
70245 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
70246 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
70247 cat >>confdefs.h <<_ACEOF
70248 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
70249 _ACEOF
70253 done
70256 # Check whether --enable-libstdcxx-filesystem-ts was given.
70257 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
70258 enableval=$enable_libstdcxx_filesystem_ts;
70259 case "$enableval" in
70260 yes|no|auto) ;;
70261 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
70262 esac
70264 else
70265 enable_libstdcxx_filesystem_ts=auto
70270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
70271 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
70272 if test x"$ac_cv_header_dirent_h" != x"yes"; then
70273 enable_libstdcxx_filesystem_ts=no
70275 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
70276 case "${target_os}" in
70277 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
70278 enable_libstdcxx_filesystem_ts=yes
70280 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu | uclinux*)
70281 enable_libstdcxx_filesystem_ts=yes
70283 rtems*)
70284 enable_libstdcxx_filesystem_ts=yes
70286 solaris*)
70287 enable_libstdcxx_filesystem_ts=yes
70289 mingw*)
70290 enable_libstdcxx_filesystem_ts=yes
70293 enable_libstdcxx_filesystem_ts=no
70295 esac
70297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
70298 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
70302 ac_ext=cpp
70303 ac_cpp='$CXXCPP $CPPFLAGS'
70304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70308 ac_save_CXXFLAGS="$CXXFLAGS"
70309 CXXFLAGS="$CXXFLAGS -fno-exceptions"
70310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
70311 $as_echo_n "checking for struct dirent.d_type... " >&6; }
70312 if ${glibcxx_cv_dirent_d_type+:} false; then :
70313 $as_echo_n "(cached) " >&6
70314 else
70315 if test x$gcc_no_link = xyes; then
70316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70317 /* end confdefs.h. */
70318 #include <dirent.h>
70320 main ()
70323 struct dirent d;
70324 if (sizeof d.d_type) return 0;
70327 return 0;
70329 _ACEOF
70330 if ac_fn_cxx_try_compile "$LINENO"; then :
70331 glibcxx_cv_dirent_d_type=yes
70332 else
70333 glibcxx_cv_dirent_d_type=no
70335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70336 else
70337 if test x$gcc_no_link = xyes; then
70338 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70341 /* end confdefs.h. */
70342 #include <dirent.h>
70344 main ()
70347 struct dirent d;
70348 if (sizeof d.d_type) return 0;
70351 return 0;
70353 _ACEOF
70354 if ac_fn_cxx_try_link "$LINENO"; then :
70355 glibcxx_cv_dirent_d_type=yes
70356 else
70357 glibcxx_cv_dirent_d_type=no
70359 rm -f core conftest.err conftest.$ac_objext \
70360 conftest$ac_exeext conftest.$ac_ext
70364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
70365 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
70366 if test $glibcxx_cv_dirent_d_type = yes; then
70368 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
70371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
70372 $as_echo_n "checking for realpath... " >&6; }
70373 if ${glibcxx_cv_realpath+:} false; then :
70374 $as_echo_n "(cached) " >&6
70375 else
70376 if test x$gcc_no_link = xyes; then
70377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70378 /* end confdefs.h. */
70380 #include <limits.h>
70381 #include <stdlib.h>
70382 #include <unistd.h>
70385 main ()
70388 #if _XOPEN_VERSION < 500
70389 #error
70390 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
70391 char *tmp = realpath((const char*)NULL, (char*)NULL);
70392 #else
70393 #error
70394 #endif
70397 return 0;
70399 _ACEOF
70400 if ac_fn_cxx_try_compile "$LINENO"; then :
70401 glibcxx_cv_realpath=yes
70402 else
70403 glibcxx_cv_realpath=no
70405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70406 else
70407 if test x$gcc_no_link = xyes; then
70408 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70411 /* end confdefs.h. */
70413 #include <limits.h>
70414 #include <stdlib.h>
70415 #include <unistd.h>
70418 main ()
70421 #if _XOPEN_VERSION < 500
70422 #error
70423 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
70424 char *tmp = realpath((const char*)NULL, (char*)NULL);
70425 #else
70426 #error
70427 #endif
70430 return 0;
70432 _ACEOF
70433 if ac_fn_cxx_try_link "$LINENO"; then :
70434 glibcxx_cv_realpath=yes
70435 else
70436 glibcxx_cv_realpath=no
70438 rm -f core conftest.err conftest.$ac_objext \
70439 conftest$ac_exeext conftest.$ac_ext
70443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
70444 $as_echo "$glibcxx_cv_realpath" >&6; }
70445 if test $glibcxx_cv_realpath = yes; then
70447 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
70450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
70451 $as_echo_n "checking for utimensat... " >&6; }
70452 if ${glibcxx_cv_utimensat+:} false; then :
70453 $as_echo_n "(cached) " >&6
70454 else
70455 if test x$gcc_no_link = xyes; then
70456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70457 /* end confdefs.h. */
70459 #include <fcntl.h>
70460 #include <sys/stat.h>
70463 main ()
70466 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
70467 int i = utimensat(AT_FDCWD, "path", ts, 0);
70470 return 0;
70472 _ACEOF
70473 if ac_fn_cxx_try_compile "$LINENO"; then :
70474 glibcxx_cv_utimensat=yes
70475 else
70476 glibcxx_cv_utimensat=no
70478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70479 else
70480 if test x$gcc_no_link = xyes; then
70481 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70484 /* end confdefs.h. */
70486 #include <fcntl.h>
70487 #include <sys/stat.h>
70490 main ()
70493 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
70494 int i = utimensat(AT_FDCWD, "path", ts, 0);
70497 return 0;
70499 _ACEOF
70500 if ac_fn_cxx_try_link "$LINENO"; then :
70501 glibcxx_cv_utimensat=yes
70502 else
70503 glibcxx_cv_utimensat=no
70505 rm -f core conftest.err conftest.$ac_objext \
70506 conftest$ac_exeext conftest.$ac_ext
70510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
70511 $as_echo "$glibcxx_cv_utimensat" >&6; }
70512 if test $glibcxx_cv_utimensat = yes; then
70514 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
70517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utime" >&5
70518 $as_echo_n "checking for utime... " >&6; }
70519 if ${glibcxx_cv_utime+:} false; then :
70520 $as_echo_n "(cached) " >&6
70521 else
70522 if test x$gcc_no_link = xyes; then
70523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70524 /* end confdefs.h. */
70526 #include <utime.h>
70529 main ()
70532 struct utimbuf t = { 1, 1 };
70533 int i = utime("path", &t);
70536 return 0;
70538 _ACEOF
70539 if ac_fn_cxx_try_compile "$LINENO"; then :
70540 glibcxx_cv_utime=yes
70541 else
70542 glibcxx_cv_utime=no
70544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70545 else
70546 if test x$gcc_no_link = xyes; then
70547 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70550 /* end confdefs.h. */
70552 #include <utime.h>
70555 main ()
70558 struct utimbuf t = { 1, 1 };
70559 int i = utime("path", &t);
70562 return 0;
70564 _ACEOF
70565 if ac_fn_cxx_try_link "$LINENO"; then :
70566 glibcxx_cv_utime=yes
70567 else
70568 glibcxx_cv_utime=no
70570 rm -f core conftest.err conftest.$ac_objext \
70571 conftest$ac_exeext conftest.$ac_ext
70575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utime" >&5
70576 $as_echo "$glibcxx_cv_utime" >&6; }
70577 if test $glibcxx_cv_utime = yes; then
70579 $as_echo "#define _GLIBCXX_USE_UTIME 1" >>confdefs.h
70582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lstat" >&5
70583 $as_echo_n "checking for lstat... " >&6; }
70584 if ${glibcxx_cv_lstat+:} false; then :
70585 $as_echo_n "(cached) " >&6
70586 else
70587 if test x$gcc_no_link = xyes; then
70588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70589 /* end confdefs.h. */
70590 #include <sys/stat.h>
70592 main ()
70595 struct stat st;
70596 int i = lstat("path", &st);
70599 return 0;
70601 _ACEOF
70602 if ac_fn_cxx_try_compile "$LINENO"; then :
70603 glibcxx_cv_lstat=yes
70604 else
70605 glibcxx_cv_lstat=no
70607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70608 else
70609 if test x$gcc_no_link = xyes; then
70610 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70613 /* end confdefs.h. */
70614 #include <sys/stat.h>
70616 main ()
70619 struct stat st;
70620 int i = lstat("path", &st);
70623 return 0;
70625 _ACEOF
70626 if ac_fn_cxx_try_link "$LINENO"; then :
70627 glibcxx_cv_lstat=yes
70628 else
70629 glibcxx_cv_lstat=no
70631 rm -f core conftest.err conftest.$ac_objext \
70632 conftest$ac_exeext conftest.$ac_ext
70636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_lstat" >&5
70637 $as_echo "$glibcxx_cv_lstat" >&6; }
70638 if test $glibcxx_cv_lstat = yes; then
70640 $as_echo "#define _GLIBCXX_USE_LSTAT 1" >>confdefs.h
70643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
70644 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
70645 if ${glibcxx_cv_st_mtim+:} false; then :
70646 $as_echo_n "(cached) " >&6
70647 else
70648 if test x$gcc_no_link = xyes; then
70649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70650 /* end confdefs.h. */
70651 #include <sys/stat.h>
70653 main ()
70656 struct stat st;
70657 return st.st_mtim.tv_nsec;
70660 return 0;
70662 _ACEOF
70663 if ac_fn_cxx_try_compile "$LINENO"; then :
70664 glibcxx_cv_st_mtim=yes
70665 else
70666 glibcxx_cv_st_mtim=no
70668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70669 else
70670 if test x$gcc_no_link = xyes; then
70671 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70674 /* end confdefs.h. */
70675 #include <sys/stat.h>
70677 main ()
70680 struct stat st;
70681 return st.st_mtim.tv_nsec;
70684 return 0;
70686 _ACEOF
70687 if ac_fn_cxx_try_link "$LINENO"; then :
70688 glibcxx_cv_st_mtim=yes
70689 else
70690 glibcxx_cv_st_mtim=no
70692 rm -f core conftest.err conftest.$ac_objext \
70693 conftest$ac_exeext conftest.$ac_ext
70697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
70698 $as_echo "$glibcxx_cv_st_mtim" >&6; }
70699 if test $glibcxx_cv_st_mtim = yes; then
70701 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
70704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
70705 $as_echo_n "checking for fchmod... " >&6; }
70706 if ${glibcxx_cv_fchmod+:} false; then :
70707 $as_echo_n "(cached) " >&6
70708 else
70709 if test x$gcc_no_link = xyes; then
70710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70711 /* end confdefs.h. */
70712 #include <sys/stat.h>
70714 main ()
70716 fchmod(1, S_IWUSR);
70718 return 0;
70720 _ACEOF
70721 if ac_fn_cxx_try_compile "$LINENO"; then :
70722 glibcxx_cv_fchmod=yes
70723 else
70724 glibcxx_cv_fchmod=no
70726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70727 else
70728 if test x$gcc_no_link = xyes; then
70729 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70732 /* end confdefs.h. */
70733 #include <sys/stat.h>
70735 main ()
70737 fchmod(1, S_IWUSR);
70739 return 0;
70741 _ACEOF
70742 if ac_fn_cxx_try_link "$LINENO"; then :
70743 glibcxx_cv_fchmod=yes
70744 else
70745 glibcxx_cv_fchmod=no
70747 rm -f core conftest.err conftest.$ac_objext \
70748 conftest$ac_exeext conftest.$ac_ext
70752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
70753 $as_echo "$glibcxx_cv_fchmod" >&6; }
70754 if test $glibcxx_cv_fchmod = yes; then
70756 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
70759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
70760 $as_echo_n "checking for fchmodat... " >&6; }
70761 if ${glibcxx_cv_fchmodat+:} false; then :
70762 $as_echo_n "(cached) " >&6
70763 else
70764 if test x$gcc_no_link = xyes; then
70765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70766 /* end confdefs.h. */
70768 #include <fcntl.h>
70769 #include <sys/stat.h>
70772 main ()
70774 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
70776 return 0;
70778 _ACEOF
70779 if ac_fn_cxx_try_compile "$LINENO"; then :
70780 glibcxx_cv_fchmodat=yes
70781 else
70782 glibcxx_cv_fchmodat=no
70784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70785 else
70786 if test x$gcc_no_link = xyes; then
70787 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70790 /* end confdefs.h. */
70792 #include <fcntl.h>
70793 #include <sys/stat.h>
70796 main ()
70798 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
70800 return 0;
70802 _ACEOF
70803 if ac_fn_cxx_try_link "$LINENO"; then :
70804 glibcxx_cv_fchmodat=yes
70805 else
70806 glibcxx_cv_fchmodat=no
70808 rm -f core conftest.err conftest.$ac_objext \
70809 conftest$ac_exeext conftest.$ac_ext
70813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
70814 $as_echo "$glibcxx_cv_fchmodat" >&6; }
70815 if test $glibcxx_cv_fchmodat = yes; then
70817 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
70820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
70821 $as_echo_n "checking for sendfile that can copy files... " >&6; }
70822 if ${glibcxx_cv_sendfile+:} false; then :
70823 $as_echo_n "(cached) " >&6
70824 else
70825 case "${target_os}" in
70826 gnu* | linux* | solaris* | uclinux*)
70827 if test x$gcc_no_link = xyes; then
70828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70829 /* end confdefs.h. */
70830 #include <sys/sendfile.h>
70832 main ()
70834 sendfile(1, 2, (off_t*)0, sizeof 1);
70836 return 0;
70838 _ACEOF
70839 if ac_fn_cxx_try_compile "$LINENO"; then :
70840 glibcxx_cv_sendfile=yes
70841 else
70842 glibcxx_cv_sendfile=no
70844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70845 else
70846 if test x$gcc_no_link = xyes; then
70847 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70850 /* end confdefs.h. */
70851 #include <sys/sendfile.h>
70853 main ()
70855 sendfile(1, 2, (off_t*)0, sizeof 1);
70857 return 0;
70859 _ACEOF
70860 if ac_fn_cxx_try_link "$LINENO"; then :
70861 glibcxx_cv_sendfile=yes
70862 else
70863 glibcxx_cv_sendfile=no
70865 rm -f core conftest.err conftest.$ac_objext \
70866 conftest$ac_exeext conftest.$ac_ext
70870 glibcxx_cv_sendfile=no
70872 esac
70875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
70876 $as_echo "$glibcxx_cv_sendfile" >&6; }
70877 if test $glibcxx_cv_sendfile = yes; then
70879 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
70882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
70883 $as_echo_n "checking for link... " >&6; }
70884 if ${glibcxx_cv_link+:} false; then :
70885 $as_echo_n "(cached) " >&6
70886 else
70887 if test x$gcc_no_link = xyes; then
70888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70889 /* end confdefs.h. */
70890 #include <unistd.h>
70892 main ()
70894 link("", "");
70896 return 0;
70898 _ACEOF
70899 if ac_fn_cxx_try_compile "$LINENO"; then :
70900 glibcxx_cv_link=yes
70901 else
70902 glibcxx_cv_link=no
70904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70905 else
70906 if test x$gcc_no_link = xyes; then
70907 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70910 /* end confdefs.h. */
70911 #include <unistd.h>
70913 main ()
70915 link("", "");
70917 return 0;
70919 _ACEOF
70920 if ac_fn_cxx_try_link "$LINENO"; then :
70921 glibcxx_cv_link=yes
70922 else
70923 glibcxx_cv_link=no
70925 rm -f core conftest.err conftest.$ac_objext \
70926 conftest$ac_exeext conftest.$ac_ext
70930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_link" >&5
70931 $as_echo "$glibcxx_cv_link" >&6; }
70932 if test $glibcxx_cv_link = yes; then
70934 $as_echo "#define HAVE_LINK 1" >>confdefs.h
70937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readlink" >&5
70938 $as_echo_n "checking for readlink... " >&6; }
70939 if ${glibcxx_cv_readlink+:} false; then :
70940 $as_echo_n "(cached) " >&6
70941 else
70942 if test x$gcc_no_link = xyes; then
70943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70944 /* end confdefs.h. */
70945 #include <unistd.h>
70947 main ()
70949 char buf[32]; readlink("", buf, sizeof(buf));
70951 return 0;
70953 _ACEOF
70954 if ac_fn_cxx_try_compile "$LINENO"; then :
70955 glibcxx_cv_readlink=yes
70956 else
70957 glibcxx_cv_readlink=no
70959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70960 else
70961 if test x$gcc_no_link = xyes; then
70962 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70965 /* end confdefs.h. */
70966 #include <unistd.h>
70968 main ()
70970 char buf[32]; readlink("", buf, sizeof(buf));
70972 return 0;
70974 _ACEOF
70975 if ac_fn_cxx_try_link "$LINENO"; then :
70976 glibcxx_cv_readlink=yes
70977 else
70978 glibcxx_cv_readlink=no
70980 rm -f core conftest.err conftest.$ac_objext \
70981 conftest$ac_exeext conftest.$ac_ext
70985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_readlink" >&5
70986 $as_echo "$glibcxx_cv_readlink" >&6; }
70987 if test $glibcxx_cv_readlink = yes; then
70989 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
70992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
70993 $as_echo_n "checking for symlink... " >&6; }
70994 if ${glibcxx_cv_symlink+:} false; then :
70995 $as_echo_n "(cached) " >&6
70996 else
70997 if test x$gcc_no_link = xyes; then
70998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70999 /* end confdefs.h. */
71000 #include <unistd.h>
71002 main ()
71004 symlink("", "");
71006 return 0;
71008 _ACEOF
71009 if ac_fn_cxx_try_compile "$LINENO"; then :
71010 glibcxx_cv_symlink=yes
71011 else
71012 glibcxx_cv_symlink=no
71014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71015 else
71016 if test x$gcc_no_link = xyes; then
71017 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71020 /* end confdefs.h. */
71021 #include <unistd.h>
71023 main ()
71025 symlink("", "");
71027 return 0;
71029 _ACEOF
71030 if ac_fn_cxx_try_link "$LINENO"; then :
71031 glibcxx_cv_symlink=yes
71032 else
71033 glibcxx_cv_symlink=no
71035 rm -f core conftest.err conftest.$ac_objext \
71036 conftest$ac_exeext conftest.$ac_ext
71040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_symlink" >&5
71041 $as_echo "$glibcxx_cv_symlink" >&6; }
71042 if test $glibcxx_cv_symlink = yes; then
71044 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
71047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncate" >&5
71048 $as_echo_n "checking for truncate... " >&6; }
71049 if ${glibcxx_cv_truncate+:} false; then :
71050 $as_echo_n "(cached) " >&6
71051 else
71052 if test x$gcc_no_link = xyes; then
71053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71054 /* end confdefs.h. */
71055 #include <unistd.h>
71057 main ()
71059 truncate("", 99);
71061 return 0;
71063 _ACEOF
71064 if ac_fn_cxx_try_compile "$LINENO"; then :
71065 glibcxx_cv_truncate=yes
71066 else
71067 glibcxx_cv_truncate=no
71069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71070 else
71071 if test x$gcc_no_link = xyes; then
71072 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71075 /* end confdefs.h. */
71076 #include <unistd.h>
71078 main ()
71080 truncate("", 99);
71082 return 0;
71084 _ACEOF
71085 if ac_fn_cxx_try_link "$LINENO"; then :
71086 glibcxx_cv_truncate=yes
71087 else
71088 glibcxx_cv_truncate=no
71090 rm -f core conftest.err conftest.$ac_objext \
71091 conftest$ac_exeext conftest.$ac_ext
71095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_truncate" >&5
71096 $as_echo "$glibcxx_cv_truncate" >&6; }
71097 if test $glibcxx_cv_truncate = yes; then
71099 $as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
71102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fdopendir" >&5
71103 $as_echo_n "checking for fdopendir... " >&6; }
71104 if ${glibcxx_cv_fdopendir+:} false; then :
71105 $as_echo_n "(cached) " >&6
71106 else
71107 if test x$gcc_no_link = xyes; then
71108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71109 /* end confdefs.h. */
71110 #include <dirent.h>
71112 main ()
71114 ::DIR* dir = ::fdopendir(1);
71116 return 0;
71118 _ACEOF
71119 if ac_fn_cxx_try_compile "$LINENO"; then :
71120 glibcxx_cv_fdopendir=yes
71121 else
71122 glibcxx_cv_fdopendir=no
71124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71125 else
71126 if test x$gcc_no_link = xyes; then
71127 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71130 /* end confdefs.h. */
71131 #include <dirent.h>
71133 main ()
71135 ::DIR* dir = ::fdopendir(1);
71137 return 0;
71139 _ACEOF
71140 if ac_fn_cxx_try_link "$LINENO"; then :
71141 glibcxx_cv_fdopendir=yes
71142 else
71143 glibcxx_cv_fdopendir=no
71145 rm -f core conftest.err conftest.$ac_objext \
71146 conftest$ac_exeext conftest.$ac_ext
71150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fdopendir" >&5
71151 $as_echo "$glibcxx_cv_fdopendir" >&6; }
71152 if test $glibcxx_cv_fdopendir = yes; then
71154 $as_echo "#define HAVE_FDOPENDIR 1" >>confdefs.h
71157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dirfd" >&5
71158 $as_echo_n "checking for dirfd... " >&6; }
71159 if ${glibcxx_cv_dirfd+:} false; then :
71160 $as_echo_n "(cached) " >&6
71161 else
71162 if test x$gcc_no_link = xyes; then
71163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71164 /* end confdefs.h. */
71165 #include <dirent.h>
71167 main ()
71169 int fd = ::dirfd((::DIR*)0);
71171 return 0;
71173 _ACEOF
71174 if ac_fn_cxx_try_compile "$LINENO"; then :
71175 glibcxx_cv_dirfd=yes
71176 else
71177 glibcxx_cv_dirfd=no
71179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71180 else
71181 if test x$gcc_no_link = xyes; then
71182 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71185 /* end confdefs.h. */
71186 #include <dirent.h>
71188 main ()
71190 int fd = ::dirfd((::DIR*)0);
71192 return 0;
71194 _ACEOF
71195 if ac_fn_cxx_try_link "$LINENO"; then :
71196 glibcxx_cv_dirfd=yes
71197 else
71198 glibcxx_cv_dirfd=no
71200 rm -f core conftest.err conftest.$ac_objext \
71201 conftest$ac_exeext conftest.$ac_ext
71205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirfd" >&5
71206 $as_echo "$glibcxx_cv_dirfd" >&6; }
71207 if test $glibcxx_cv_dirfd = yes; then
71209 $as_echo "#define HAVE_DIRFD 1" >>confdefs.h
71212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openat" >&5
71213 $as_echo_n "checking for openat... " >&6; }
71214 if ${glibcxx_cv_openat+:} false; then :
71215 $as_echo_n "(cached) " >&6
71216 else
71217 if test x$gcc_no_link = xyes; then
71218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71219 /* end confdefs.h. */
71220 #include <fcntl.h>
71222 main ()
71224 int fd = ::openat(AT_FDCWD, "", 0);
71226 return 0;
71228 _ACEOF
71229 if ac_fn_cxx_try_compile "$LINENO"; then :
71230 glibcxx_cv_openat=yes
71231 else
71232 glibcxx_cv_openat=no
71234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71235 else
71236 if test x$gcc_no_link = xyes; then
71237 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71240 /* end confdefs.h. */
71241 #include <fcntl.h>
71243 main ()
71245 int fd = ::openat(AT_FDCWD, "", 0);
71247 return 0;
71249 _ACEOF
71250 if ac_fn_cxx_try_link "$LINENO"; then :
71251 glibcxx_cv_openat=yes
71252 else
71253 glibcxx_cv_openat=no
71255 rm -f core conftest.err conftest.$ac_objext \
71256 conftest$ac_exeext conftest.$ac_ext
71260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_openat" >&5
71261 $as_echo "$glibcxx_cv_openat" >&6; }
71262 if test $glibcxx_cv_openat = yes; then
71264 $as_echo "#define HAVE_OPENAT 1" >>confdefs.h
71267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unlinkat" >&5
71268 $as_echo_n "checking for unlinkat... " >&6; }
71269 if ${glibcxx_cv_unlinkat+:} false; then :
71270 $as_echo_n "(cached) " >&6
71271 else
71272 if test x$gcc_no_link = xyes; then
71273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71274 /* end confdefs.h. */
71275 #include <fcntl.h>
71276 #include <unistd.h>
71278 main ()
71280 ::unlinkat(AT_FDCWD, "", AT_REMOVEDIR);
71282 return 0;
71284 _ACEOF
71285 if ac_fn_cxx_try_compile "$LINENO"; then :
71286 glibcxx_cv_unlinkat=yes
71287 else
71288 glibcxx_cv_unlinkat=no
71290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71291 else
71292 if test x$gcc_no_link = xyes; then
71293 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71296 /* end confdefs.h. */
71297 #include <fcntl.h>
71298 #include <unistd.h>
71300 main ()
71302 ::unlinkat(AT_FDCWD, "", AT_REMOVEDIR);
71304 return 0;
71306 _ACEOF
71307 if ac_fn_cxx_try_link "$LINENO"; then :
71308 glibcxx_cv_unlinkat=yes
71309 else
71310 glibcxx_cv_unlinkat=no
71312 rm -f core conftest.err conftest.$ac_objext \
71313 conftest$ac_exeext conftest.$ac_ext
71317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_unlinkat" >&5
71318 $as_echo "$glibcxx_cv_unlinkat" >&6; }
71319 if test $glibcxx_cv_unlinkat = yes; then
71321 $as_echo "#define HAVE_UNLINKAT 1" >>confdefs.h
71324 CXXFLAGS="$ac_save_CXXFLAGS"
71325 ac_ext=c
71326 ac_cpp='$CPP $CPPFLAGS'
71327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71334 # Check whether --enable-libstdcxx-backtrace was given.
71335 if test "${enable_libstdcxx_backtrace+set}" = set; then :
71336 enableval=$enable_libstdcxx_backtrace;
71337 case "$enableval" in
71338 yes|no|auto) ;;
71339 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-backtrace" "$LINENO" 5 ;;
71340 esac
71342 else
71343 enable_libstdcxx_backtrace=auto
71348 # Most of this is adapted from libsanitizer/configure.ac
71350 BACKTRACE_CPPFLAGS=
71352 # libbacktrace only needs atomics for int, which we've already tested
71353 if test "$glibcxx_cv_atomic_int" = "yes"; then
71354 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_ATOMIC_FUNCTIONS=1"
71357 # Test for __sync support.
71358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __sync extensions" >&5
71359 $as_echo_n "checking __sync extensions... " >&6; }
71360 if ${glibcxx_cv_sys_sync+:} false; then :
71361 $as_echo_n "(cached) " >&6
71362 else
71363 if test x$gcc_no_link = xyes; then
71364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71365 /* end confdefs.h. */
71366 int i;
71368 main ()
71370 __sync_bool_compare_and_swap (&i, i, i);
71371 __sync_lock_test_and_set (&i, 1);
71372 __sync_lock_release (&i);
71374 return 0;
71376 _ACEOF
71377 if ac_fn_c_try_compile "$LINENO"; then :
71378 glibcxx_cv_sys_sync=yes
71379 else
71380 glibcxx_cv_sys_sync=no
71382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71383 else
71384 if test x$gcc_no_link = xyes; then
71385 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71388 /* end confdefs.h. */
71389 int i;
71391 main ()
71393 __sync_bool_compare_and_swap (&i, i, i);
71394 __sync_lock_test_and_set (&i, 1);
71395 __sync_lock_release (&i);
71397 return 0;
71399 _ACEOF
71400 if ac_fn_c_try_link "$LINENO"; then :
71401 glibcxx_cv_sys_sync=yes
71402 else
71403 glibcxx_cv_sys_sync=no
71405 rm -f core conftest.err conftest.$ac_objext \
71406 conftest$ac_exeext conftest.$ac_ext
71410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sync" >&5
71411 $as_echo "$glibcxx_cv_sys_sync" >&6; }
71412 if test "$glibcxx_cv_sys_sync" = "yes"; then
71413 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_SYNC_FUNCTIONS=1"
71416 # Check for dl_iterate_phdr.
71417 for ac_header in link.h
71418 do :
71419 ac_fn_c_check_header_mongrel "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
71420 if test "x$ac_cv_header_link_h" = xyes; then :
71421 cat >>confdefs.h <<_ACEOF
71422 #define HAVE_LINK_H 1
71423 _ACEOF
71427 done
71429 if test "$ac_cv_header_link_h" = "no"; then
71430 have_dl_iterate_phdr=no
71431 else
71432 # When built as a GCC target library, we can't do a link test.
71433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71434 /* end confdefs.h. */
71435 #include <link.h>
71437 _ACEOF
71438 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
71439 $EGREP "dl_iterate_phdr" >/dev/null 2>&1; then :
71440 have_dl_iterate_phdr=yes
71441 else
71442 have_dl_iterate_phdr=no
71444 rm -f conftest*
71447 if test "$have_dl_iterate_phdr" = "yes"; then
71448 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_DL_ITERATE_PHDR=1"
71450 for ac_header in windows.h
71451 do :
71452 ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
71453 if test "x$ac_cv_header_windows_h" = xyes; then :
71454 cat >>confdefs.h <<_ACEOF
71455 #define HAVE_WINDOWS_H 1
71456 _ACEOF
71460 done
71463 # Check for the fcntl function.
71464 if test -n "${with_target_subdir}"; then
71465 case "${host}" in
71466 *-*-mingw*) have_fcntl=no ;;
71467 *) have_fcntl=yes ;;
71468 esac
71469 else
71470 ac_fn_c_check_func "$LINENO" "fcntl" "ac_cv_func_fcntl"
71471 if test "x$ac_cv_func_fcntl" = xyes; then :
71472 have_fcntl=yes
71473 else
71474 have_fcntl=no
71478 if test "$have_fcntl" = "yes"; then
71479 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_FCNTL=1"
71482 ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
71483 if test "x$ac_cv_have_decl_strnlen" = xyes; then :
71484 ac_have_decl=1
71485 else
71486 ac_have_decl=0
71489 cat >>confdefs.h <<_ACEOF
71490 #define HAVE_DECL_STRNLEN $ac_have_decl
71491 _ACEOF
71494 # Check for getexecname function.
71495 if test -n "${with_target_subdir}"; then
71496 case "${host}" in
71497 *-*-solaris2*) have_getexecname=yes ;;
71498 *) have_getexecname=no ;;
71499 esac
71500 else
71501 ac_fn_c_check_func "$LINENO" "getexecname" "ac_cv_func_getexecname"
71502 if test "x$ac_cv_func_getexecname" = xyes; then :
71503 have_getexecname=yes
71504 else
71505 have_getexecname=no
71509 if test "$have_getexecname" = "yes"; then
71510 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_GETEXECNAME=1"
71513 # The library needs to be able to read the executable itself. Compile
71514 # a file to determine the executable format. The awk script
71515 # filetype.awk prints out the file type.
71516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking output filetype" >&5
71517 $as_echo_n "checking output filetype... " >&6; }
71518 if ${glibcxx_cv_sys_filetype+:} false; then :
71519 $as_echo_n "(cached) " >&6
71520 else
71521 filetype=
71522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71523 /* end confdefs.h. */
71524 int i;
71526 main ()
71528 int j;
71530 return 0;
71532 _ACEOF
71533 if ac_fn_c_try_compile "$LINENO"; then :
71534 filetype=`${AWK} -f $srcdir/../libbacktrace/filetype.awk conftest.$ac_objext`
71535 else
71536 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71537 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71538 as_fn_error $? "compiler failed
71539 See \`config.log' for more details" "$LINENO" 5; }
71541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71542 glibcxx_cv_sys_filetype=$filetype
71544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_filetype" >&5
71545 $as_echo "$glibcxx_cv_sys_filetype" >&6; }
71547 # Match the file type to decide what files to compile.
71548 FORMAT_FILE=
71549 case "$glibcxx_cv_sys_filetype" in
71550 elf*) FORMAT_FILE="elf.lo" ;;
71551 pecoff*) FORMAT_FILE="pecoff.lo" ;;
71552 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine output file type" >&5
71553 $as_echo "$as_me: WARNING: could not determine output file type" >&2;}
71554 FORMAT_FILE="unknown.lo"
71555 enable_libstdcxx_backtrace=no
71557 esac
71560 # ELF defines.
71561 elfsize=
71562 case "$glibcxx_cv_sys_filetype" in
71563 elf32) elfsize=32 ;;
71564 elf64) elfsize=64 ;;
71565 esac
71566 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DBACKTRACE_ELF_SIZE=$elfsize"
71568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build libbacktrace support" >&5
71569 $as_echo_n "checking whether to build libbacktrace support... " >&6; }
71570 if test "$enable_libstdcxx_backtrace" = "auto"; then
71571 enable_libstdcxx_backtrace=no
71573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_backtrace" >&5
71574 $as_echo "$enable_libstdcxx_backtrace" >&6; }
71575 if test "$enable_libstdcxx_backtrace" = "yes"; then
71576 BACKTRACE_SUPPORTED=1
71578 for ac_header in sys/mman.h
71579 do :
71580 ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
71581 if test "x$ac_cv_header_sys_mman_h" = xyes; then :
71582 cat >>confdefs.h <<_ACEOF
71583 #define HAVE_SYS_MMAN_H 1
71584 _ACEOF
71588 done
71590 case "${host}" in
71591 *-*-msdosdjgpp) # DJGPP has sys/man.h, but no mmap
71592 have_mmap=no ;;
71593 *-*-*)
71594 have_mmap="$ac_cv_header_sys_mman_h" ;;
71595 esac
71597 if test "$have_mmap" = "no"; then
71598 VIEW_FILE=read.lo
71599 ALLOC_FILE=alloc.lo
71600 else
71601 VIEW_FILE=mmapio.lo
71602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71603 /* end confdefs.h. */
71605 #include <sys/mman.h>
71606 #if !defined(MAP_ANONYMOUS) && !defined(MAP_ANON)
71607 #error no MAP_ANONYMOUS
71608 #endif
71610 _ACEOF
71611 if ac_fn_c_try_cpp "$LINENO"; then :
71612 ALLOC_FILE=mmap.lo
71613 else
71614 ALLOC_FILE=alloc.lo
71616 rm -f conftest.err conftest.i conftest.$ac_ext
71621 BACKTRACE_USES_MALLOC=0
71622 if test "$ALLOC_FILE" = "alloc.lo"; then
71623 BACKTRACE_USES_MALLOC=1
71626 if test "$ac_has_gthreads" = "yes"; then
71627 BACKTRACE_SUPPORTS_THREADS=1
71628 else
71629 BACKTRACE_SUPPORTS_THREADS=0
71636 $as_echo "#define HAVE_STACKTRACE 1" >>confdefs.h
71638 else
71639 BACKTRACE_SUPPORTED=0
71640 BACKTRACE_USES_MALLOC=0
71641 BACKTRACE_SUPPORTS_THREADS=0
71646 # For Networking TS.
71647 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
71648 do :
71649 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
71650 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
71651 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
71652 cat >>confdefs.h <<_ACEOF
71653 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
71654 _ACEOF
71658 done
71660 ac_fn_c_check_decl "$LINENO" "F_GETFL" "ac_cv_have_decl_F_GETFL" "#include <fcntl.h>
71662 if test "x$ac_cv_have_decl_F_GETFL" = xyes; then :
71666 ac_fn_c_check_decl "$LINENO" "F_SETFL" "ac_cv_have_decl_F_SETFL" "#include <fcntl.h>
71668 if test "x$ac_cv_have_decl_F_SETFL" = xyes; then :
71672 if test "$ac_cv_have_decl_F_GETFL$ac_cv_have_decl_F_SETFL" = yesyes ; then
71673 ac_fn_c_check_decl "$LINENO" "O_NONBLOCK" "ac_cv_have_decl_O_NONBLOCK" "#include <fcntl.h>
71675 if test "x$ac_cv_have_decl_O_NONBLOCK" = xyes; then :
71681 # For Transactional Memory TS
71683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
71684 $as_echo_n "checking how size_t is mangled... " >&6; }
71685 if ${glibcxx_cv_size_t_mangling+:} false; then :
71686 $as_echo_n "(cached) " >&6
71687 else
71689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71690 /* end confdefs.h. */
71693 main ()
71695 extern __SIZE_TYPE__ x; extern unsigned long x;
71697 return 0;
71699 _ACEOF
71700 if ac_fn_c_try_compile "$LINENO"; then :
71701 glibcxx_cv_size_t_mangling=m
71702 else
71704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71705 /* end confdefs.h. */
71708 main ()
71710 extern __SIZE_TYPE__ x; extern unsigned int x;
71712 return 0;
71714 _ACEOF
71715 if ac_fn_c_try_compile "$LINENO"; then :
71716 glibcxx_cv_size_t_mangling=j
71717 else
71719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71720 /* end confdefs.h. */
71723 main ()
71725 extern __SIZE_TYPE__ x; extern unsigned long long x;
71727 return 0;
71729 _ACEOF
71730 if ac_fn_c_try_compile "$LINENO"; then :
71731 glibcxx_cv_size_t_mangling=y
71732 else
71734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71735 /* end confdefs.h. */
71738 main ()
71740 extern __SIZE_TYPE__ x; extern unsigned short x;
71742 return 0;
71744 _ACEOF
71745 if ac_fn_c_try_compile "$LINENO"; then :
71746 glibcxx_cv_size_t_mangling=t
71747 else
71749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71750 /* end confdefs.h. */
71753 main ()
71755 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
71757 return 0;
71759 _ACEOF
71760 if ac_fn_c_try_compile "$LINENO"; then :
71761 glibcxx_cv_size_t_mangling=u6uint20
71762 else
71763 glibcxx_cv_size_t_mangling=x
71765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
71781 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
71782 if test $glibcxx_cv_size_t_mangling = x; then
71783 as_fn_error $? "Unknown underlying type for size_t" "$LINENO" 5
71786 cat >>confdefs.h <<_ACEOF
71787 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
71788 _ACEOF
71792 # Check which release added std::exception_ptr for the target
71794 if test $enable_symvers != no; then
71795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
71796 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
71797 case ${target} in
71798 aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
71799 m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
71800 ac_exception_ptr_since_gcc46=yes
71803 # If the value of this macro changes then we will need to hardcode
71804 # yes/no here for additional targets based on the original value.
71805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71806 /* end confdefs.h. */
71809 main ()
71812 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
71813 # error atomic int not always lock free
71814 #endif
71817 return 0;
71819 _ACEOF
71820 if ac_fn_c_try_compile "$LINENO"; then :
71821 ac_exception_ptr_since_gcc46=yes
71822 else
71823 ac_exception_ptr_since_gcc46=no
71825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71827 esac
71828 if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
71830 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
71832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
71833 $as_echo "4.6.0" >&6; }
71834 else
71835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
71836 $as_echo "7.1.0" >&6; }
71841 # For libsupc++/eh_alloc.cc defaults.
71843 eh_pool_static=
71844 eh_pool_nobjs=
71845 # Check whether --enable-libstdcxx-static-eh-pool was given.
71846 if test "${enable_libstdcxx_static_eh_pool+set}" = set; then :
71847 enableval=$enable_libstdcxx_static_eh_pool; if test "${enableval}" = yes; then
71848 eh_pool_static="-D_GLIBCXX_EH_POOL_STATIC"
71849 { $as_echo "$as_me:${as_lineno-$LINENO}: EH pool using static buffer" >&5
71850 $as_echo "$as_me: EH pool using static buffer" >&6;}
71856 # Check whether --with-libstdcxx-eh-pool-obj-count was given.
71857 if test "${with_libstdcxx_eh_pool_obj_count+set}" = set; then :
71858 withval=$with_libstdcxx_eh_pool_obj_count; if test "${withval}" -ge 0 2>/dev/null; then
71859 eh_pool_obj_count="-D_GLIBCXX_EH_POOL_NOBJS=${withval}"
71860 { $as_echo "$as_me:${as_lineno-$LINENO}: EH pool object count: ${withval}" >&5
71861 $as_echo "$as_me: EH pool object count: ${withval}" >&6;}
71862 else
71863 as_fn_error $? "EH pool obj count must be a non-negative integer: $withval" "$LINENO" 5
71868 EH_POOL_FLAGS="$eh_pool_static $eh_pool_obj_count"
71872 # For src/c++20/tzdb.cc defaults.
71875 # Check whether --with-libstdcxx-zoneinfo was given.
71876 if test "${with_libstdcxx_zoneinfo+set}" = set; then :
71877 withval=$with_libstdcxx_zoneinfo;
71878 else
71879 with_libstdcxx_zoneinfo=yes
71883 if test "x${with_libstdcxx_zoneinfo}" = xyes; then
71884 # Pick a default when no specific path is set.
71885 case "$target_os" in
71886 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
71887 # Not all distros ship tzdata.zi in this dir.
71888 zoneinfo_dir="/usr/share/zoneinfo"
71890 aix*)
71891 # Binary tzfile files are in /usr/share/lib/zoneinfo
71892 # but tzdata.zi is not present there.
71893 zoneinfo_dir=none
71895 darwin2*)
71896 # Binary tzfile files are in /usr/share/lib/zoneinfo.default
71897 # but tzdata.zi is not present there.
71898 zoneinfo_dir=none
71901 # Binary tzfile files are commonly found in /usr/share/zoneinfo
71902 # but tzdata.zi is not present there.
71903 zoneinfo_dir=none
71905 esac
71906 case "$host" in
71907 avr-*-* | msp430-*-* ) embed_zoneinfo=no ;;
71909 # Also embed a copy of the tzdata.zi file as a static string.
71910 embed_zoneinfo=yes ;;
71911 esac
71912 elif test "x${with_libstdcxx_zoneinfo}" = xno; then
71913 # Disable tzdb support completely.
71914 zoneinfo_dir=none
71915 embed_zoneinfo=no
71916 else
71917 case "${with_libstdcxx_zoneinfo}" in
71918 static)
71919 # Do not attempt to read from disk, always use embedded data.
71920 zoneinfo_dir=none
71921 embed_zoneinfo=yes
71923 static,* | *,static)
71924 # Try to read from disk, use embedded data as fallback.
71925 zoneinfo_dir="${with_libstdcxx_zoneinfo#static,}"
71926 zoneinfo_dir="${with_libstdcxx_zoneinfo%,static}"
71927 embed_zoneinfo=yes
71930 zoneinfo_dir="${with_libstdcxx_zoneinfo}"
71931 embed_zoneinfo=no
71933 esac
71935 { $as_echo "$as_me:${as_lineno-$LINENO}: zoneinfo data directory: ${zoneinfo_dir}" >&5
71936 $as_echo "$as_me: zoneinfo data directory: ${zoneinfo_dir}" >&6;}
71937 if test "x${zoneinfo_dir}" != xnone; then
71939 cat >>confdefs.h <<_ACEOF
71940 #define _GLIBCXX_ZONEINFO_DIR "${zoneinfo_dir}"
71941 _ACEOF
71943 if $GLIBCXX_IS_NATIVE && ! test -f "$zoneinfo_dir/tzdata.zi"; then
71944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"$zoneinfo_dir does not contain tzdata.zi file\"" >&5
71945 $as_echo "$as_me: WARNING: \"$zoneinfo_dir does not contain tzdata.zi file\"" >&2;}
71949 if test "x${embed_zoneinfo}" = xyes; then
71950 { $as_echo "$as_me:${as_lineno-$LINENO}: static tzdata.zi file will be compiled into the library" >&5
71951 $as_echo "$as_me: static tzdata.zi file will be compiled into the library" >&6;}
71953 cat >>confdefs.h <<_ACEOF
71954 #define _GLIBCXX_STATIC_TZDATA 1
71955 _ACEOF
71960 # For src/c++11/shared_ptr.cc alignment.
71963 ac_ext=cpp
71964 ac_cpp='$CXXCPP $CPPFLAGS'
71965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether static objects can be aligned to the cacheline size" >&5
71971 $as_echo_n "checking whether static objects can be aligned to the cacheline size... " >&6; }
71972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71973 /* end confdefs.h. */
71976 main ()
71978 struct alignas(__GCC_DESTRUCTIVE_SIZE) Aligned { };
71979 alignas(Aligned) static char buf[sizeof(Aligned) * 16];
71982 return 0;
71984 _ACEOF
71985 if ac_fn_cxx_try_compile "$LINENO"; then :
71986 ac_alignas_cacheline=yes
71987 else
71988 ac_alignas_cacheline=no
71990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71991 if test "$ac_alignas_cacheline" = yes; then
71993 cat >>confdefs.h <<_ACEOF
71994 #define _GLIBCXX_CAN_ALIGNAS_DESTRUCTIVE_SIZE 1
71995 _ACEOF
71998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_alignas_cacheline" >&5
71999 $as_echo "$ac_alignas_cacheline" >&6; }
72001 ac_ext=c
72002 ac_cpp='$CPP $CPPFLAGS'
72003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72009 # Define documentation rules conditionally.
72011 # See if makeinfo has been installed and is modern enough
72012 # that we can use it.
72014 # Extract the first word of "makeinfo", so it can be a program name with args.
72015 set dummy makeinfo; ac_word=$2
72016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72017 $as_echo_n "checking for $ac_word... " >&6; }
72018 if ${ac_cv_prog_MAKEINFO+:} false; then :
72019 $as_echo_n "(cached) " >&6
72020 else
72021 if test -n "$MAKEINFO"; then
72022 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
72023 else
72024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72025 for as_dir in $PATH
72027 IFS=$as_save_IFS
72028 test -z "$as_dir" && as_dir=.
72029 for ac_exec_ext in '' $ac_executable_extensions; do
72030 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
72031 ac_cv_prog_MAKEINFO="makeinfo"
72032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72033 break 2
72035 done
72036 done
72037 IFS=$as_save_IFS
72041 MAKEINFO=$ac_cv_prog_MAKEINFO
72042 if test -n "$MAKEINFO"; then
72043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
72044 $as_echo "$MAKEINFO" >&6; }
72045 else
72046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72047 $as_echo "no" >&6; }
72051 if test -n "$MAKEINFO"; then
72052 # Found it, now check the version.
72053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
72054 $as_echo_n "checking for modern makeinfo... " >&6; }
72055 if ${gcc_cv_prog_makeinfo_modern+:} false; then :
72056 $as_echo_n "(cached) " >&6
72057 else
72058 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
72059 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
72061 case $ac_prog_version in
72062 '') gcc_cv_prog_makeinfo_modern=no;;
72063 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
72064 *) gcc_cv_prog_makeinfo_modern=no;;
72065 esac
72068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
72069 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
72070 else
72071 gcc_cv_prog_makeinfo_modern=no
72073 if test $gcc_cv_prog_makeinfo_modern = no; then
72074 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
72077 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
72078 BUILD_INFO_TRUE=
72079 BUILD_INFO_FALSE='#'
72080 else
72081 BUILD_INFO_TRUE='#'
72082 BUILD_INFO_FALSE=
72086 # Check for doxygen
72087 # Extract the first word of "doxygen", so it can be a program name with args.
72088 set dummy doxygen; ac_word=$2
72089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72090 $as_echo_n "checking for $ac_word... " >&6; }
72091 if ${ac_cv_prog_DOXYGEN+:} false; then :
72092 $as_echo_n "(cached) " >&6
72093 else
72094 if test -n "$DOXYGEN"; then
72095 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
72096 else
72097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72098 for as_dir in $PATH
72100 IFS=$as_save_IFS
72101 test -z "$as_dir" && as_dir=.
72102 for ac_exec_ext in '' $ac_executable_extensions; do
72103 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
72104 ac_cv_prog_DOXYGEN="yes"
72105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72106 break 2
72108 done
72109 done
72110 IFS=$as_save_IFS
72112 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
72115 DOXYGEN=$ac_cv_prog_DOXYGEN
72116 if test -n "$DOXYGEN"; then
72117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
72118 $as_echo "$DOXYGEN" >&6; }
72119 else
72120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72121 $as_echo "no" >&6; }
72125 # Extract the first word of "dot", so it can be a program name with args.
72126 set dummy dot; ac_word=$2
72127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72128 $as_echo_n "checking for $ac_word... " >&6; }
72129 if ${ac_cv_prog_DOT+:} false; then :
72130 $as_echo_n "(cached) " >&6
72131 else
72132 if test -n "$DOT"; then
72133 ac_cv_prog_DOT="$DOT" # Let the user override the test.
72134 else
72135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72136 for as_dir in $PATH
72138 IFS=$as_save_IFS
72139 test -z "$as_dir" && as_dir=.
72140 for ac_exec_ext in '' $ac_executable_extensions; do
72141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
72142 ac_cv_prog_DOT="yes"
72143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72144 break 2
72146 done
72147 done
72148 IFS=$as_save_IFS
72150 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
72153 DOT=$ac_cv_prog_DOT
72154 if test -n "$DOT"; then
72155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
72156 $as_echo "$DOT" >&6; }
72157 else
72158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72159 $as_echo "no" >&6; }
72164 # Check for docbook
72165 # Extract the first word of "xmlcatalog", so it can be a program name with args.
72166 set dummy xmlcatalog; ac_word=$2
72167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72168 $as_echo_n "checking for $ac_word... " >&6; }
72169 if ${ac_cv_prog_XMLCATALOG+:} false; then :
72170 $as_echo_n "(cached) " >&6
72171 else
72172 if test -n "$XMLCATALOG"; then
72173 ac_cv_prog_XMLCATALOG="$XMLCATALOG" # Let the user override the test.
72174 else
72175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72176 for as_dir in $PATH
72178 IFS=$as_save_IFS
72179 test -z "$as_dir" && as_dir=.
72180 for ac_exec_ext in '' $ac_executable_extensions; do
72181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
72182 ac_cv_prog_XMLCATALOG="yes"
72183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72184 break 2
72186 done
72187 done
72188 IFS=$as_save_IFS
72190 test -z "$ac_cv_prog_XMLCATALOG" && ac_cv_prog_XMLCATALOG="no"
72193 XMLCATALOG=$ac_cv_prog_XMLCATALOG
72194 if test -n "$XMLCATALOG"; then
72195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLCATALOG" >&5
72196 $as_echo "$XMLCATALOG" >&6; }
72197 else
72198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72199 $as_echo "no" >&6; }
72203 # Extract the first word of "xsltproc", so it can be a program name with args.
72204 set dummy xsltproc; ac_word=$2
72205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72206 $as_echo_n "checking for $ac_word... " >&6; }
72207 if ${ac_cv_prog_XSLTPROC+:} false; then :
72208 $as_echo_n "(cached) " >&6
72209 else
72210 if test -n "$XSLTPROC"; then
72211 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
72212 else
72213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72214 for as_dir in $PATH
72216 IFS=$as_save_IFS
72217 test -z "$as_dir" && as_dir=.
72218 for ac_exec_ext in '' $ac_executable_extensions; do
72219 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
72220 ac_cv_prog_XSLTPROC="yes"
72221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72222 break 2
72224 done
72225 done
72226 IFS=$as_save_IFS
72228 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
72231 XSLTPROC=$ac_cv_prog_XSLTPROC
72232 if test -n "$XSLTPROC"; then
72233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
72234 $as_echo "$XSLTPROC" >&6; }
72235 else
72236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72237 $as_echo "no" >&6; }
72241 # Extract the first word of "xmllint", so it can be a program name with args.
72242 set dummy xmllint; ac_word=$2
72243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72244 $as_echo_n "checking for $ac_word... " >&6; }
72245 if ${ac_cv_prog_XMLLINT+:} false; then :
72246 $as_echo_n "(cached) " >&6
72247 else
72248 if test -n "$XMLLINT"; then
72249 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
72250 else
72251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72252 for as_dir in $PATH
72254 IFS=$as_save_IFS
72255 test -z "$as_dir" && as_dir=.
72256 for ac_exec_ext in '' $ac_executable_extensions; do
72257 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
72258 ac_cv_prog_XMLLINT="yes"
72259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72260 break 2
72262 done
72263 done
72264 IFS=$as_save_IFS
72266 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
72269 XMLLINT=$ac_cv_prog_XMLLINT
72270 if test -n "$XMLLINT"; then
72271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
72272 $as_echo "$XMLLINT" >&6; }
72273 else
72274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72275 $as_echo "no" >&6; }
72281 glibcxx_docbook_url=http://docbook.sourceforge.net/release/xsl-ns/current/
72283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
72284 $as_echo_n "checking for local stylesheet directory... " >&6; }
72285 glibcxx_local_stylesheets=no
72286 if test x${XMLCATALOG} = xyes && xsl_style_dir=`xmlcatalog "" $glibcxx_docbook_url 2>/dev/null`
72287 then
72288 XSL_STYLE_DIR=`echo $xsl_style_dir | sed -n 's;^file://;;p'`
72289 glibcxx_local_stylesheets=yes
72290 else
72291 for dir in \
72292 /usr/share/sgml/docbook/xsl-ns-stylesheets \
72293 /usr/share/xml/docbook/stylesheet/docbook-xsl-ns \
72294 /usr/share/xml/docbook/stylesheet/nwalsh5/current \
72295 /usr/share/xml/docbook/stylesheet/nwalsh/current
72297 if test -d $dir; then
72298 glibcxx_local_stylesheets=yes
72299 XSL_STYLE_DIR=$dir
72300 break
72302 done
72304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
72305 $as_echo "$glibcxx_local_stylesheets" >&6; }
72307 if test x"$glibcxx_local_stylesheets" = x"yes"; then
72309 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
72310 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
72312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
72313 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
72314 glibcxx_stylesheets=no
72315 if test x${XMLCATALOG} = xno || xmlcatalog "" $glibcxx_docbook_url/xhtml/docbook.xsl >/dev/null 2>&1; then
72316 if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude $glibcxx_docbook_url/xhtml/docbook.xsl - 2>/dev/null; then
72317 glibcxx_stylesheets=yes
72320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
72321 $as_echo "$glibcxx_stylesheets" >&6; }
72323 else
72324 glibcxx_stylesheets=no
72327 # Check for epub3 dependencies.
72328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
72329 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
72330 glibcxx_epub_stylesheets=no
72331 if test x"$glibcxx_local_stylesheets" = x"yes"; then
72332 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
72333 glibcxx_epub_stylesheets=yes
72336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
72337 $as_echo "$glibcxx_epub_stylesheets" >&6; }
72338 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
72339 BUILD_EPUB_TRUE=
72340 BUILD_EPUB_FALSE='#'
72341 else
72342 BUILD_EPUB_TRUE='#'
72343 BUILD_EPUB_FALSE=
72349 # Check for xml/html dependencies.
72350 if test $ac_cv_prog_DOXYGEN = "yes" &&
72351 test $ac_cv_prog_DOT = "yes" &&
72352 test $ac_cv_prog_XSLTPROC = "yes" &&
72353 test $ac_cv_prog_XMLLINT = "yes" &&
72354 test $glibcxx_stylesheets = "yes"; then
72355 BUILD_XML_TRUE=
72356 BUILD_XML_FALSE='#'
72357 else
72358 BUILD_XML_TRUE='#'
72359 BUILD_XML_FALSE=
72363 if test $ac_cv_prog_DOXYGEN = "yes" &&
72364 test $ac_cv_prog_DOT = "yes" &&
72365 test $ac_cv_prog_XSLTPROC = "yes" &&
72366 test $ac_cv_prog_XMLLINT = "yes" &&
72367 test $glibcxx_stylesheets = "yes"; then
72368 BUILD_HTML_TRUE=
72369 BUILD_HTML_FALSE='#'
72370 else
72371 BUILD_HTML_TRUE='#'
72372 BUILD_HTML_FALSE=
72376 # Check for man dependencies.
72377 if test $ac_cv_prog_DOXYGEN = "yes" &&
72378 test $ac_cv_prog_DOT = "yes"; then
72379 BUILD_MAN_TRUE=
72380 BUILD_MAN_FALSE='#'
72381 else
72382 BUILD_MAN_TRUE='#'
72383 BUILD_MAN_FALSE=
72387 # Check for pdf dependencies.
72388 # Extract the first word of "dblatex", so it can be a program name with args.
72389 set dummy dblatex; ac_word=$2
72390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72391 $as_echo_n "checking for $ac_word... " >&6; }
72392 if ${ac_cv_prog_DBLATEX+:} false; then :
72393 $as_echo_n "(cached) " >&6
72394 else
72395 if test -n "$DBLATEX"; then
72396 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
72397 else
72398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72399 for as_dir in $PATH
72401 IFS=$as_save_IFS
72402 test -z "$as_dir" && as_dir=.
72403 for ac_exec_ext in '' $ac_executable_extensions; do
72404 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
72405 ac_cv_prog_DBLATEX="yes"
72406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72407 break 2
72409 done
72410 done
72411 IFS=$as_save_IFS
72413 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
72416 DBLATEX=$ac_cv_prog_DBLATEX
72417 if test -n "$DBLATEX"; then
72418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
72419 $as_echo "$DBLATEX" >&6; }
72420 else
72421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72422 $as_echo "no" >&6; }
72426 # Extract the first word of "pdflatex", so it can be a program name with args.
72427 set dummy pdflatex; ac_word=$2
72428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72429 $as_echo_n "checking for $ac_word... " >&6; }
72430 if ${ac_cv_prog_PDFLATEX+:} false; then :
72431 $as_echo_n "(cached) " >&6
72432 else
72433 if test -n "$PDFLATEX"; then
72434 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
72435 else
72436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72437 for as_dir in $PATH
72439 IFS=$as_save_IFS
72440 test -z "$as_dir" && as_dir=.
72441 for ac_exec_ext in '' $ac_executable_extensions; do
72442 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
72443 ac_cv_prog_PDFLATEX="yes"
72444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72445 break 2
72447 done
72448 done
72449 IFS=$as_save_IFS
72451 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
72454 PDFLATEX=$ac_cv_prog_PDFLATEX
72455 if test -n "$PDFLATEX"; then
72456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
72457 $as_echo "$PDFLATEX" >&6; }
72458 else
72459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72460 $as_echo "no" >&6; }
72464 if test $ac_cv_prog_DOXYGEN = "yes" &&
72465 test $ac_cv_prog_DOT = "yes" &&
72466 test $ac_cv_prog_XSLTPROC = "yes" &&
72467 test $ac_cv_prog_XMLLINT = "yes" &&
72468 test $ac_cv_prog_DBLATEX = "yes" &&
72469 test $ac_cv_prog_PDFLATEX = "yes"; then
72470 BUILD_PDF_TRUE=
72471 BUILD_PDF_FALSE='#'
72472 else
72473 BUILD_PDF_TRUE='#'
72474 BUILD_PDF_FALSE=
72478 case "$build" in
72479 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
72480 * ) glibcxx_include_dir_notparallel=no ;;
72481 esac
72482 if test $glibcxx_include_dir_notparallel = "yes"; then
72483 INCLUDE_DIR_NOTPARALLEL_TRUE=
72484 INCLUDE_DIR_NOTPARALLEL_FALSE='#'
72485 else
72486 INCLUDE_DIR_NOTPARALLEL_TRUE='#'
72487 INCLUDE_DIR_NOTPARALLEL_FALSE=
72491 # Propagate the target-specific source directories through the build chain.
72492 ATOMICITY_SRCDIR=config/${atomicity_dir}
72493 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
72494 ATOMIC_FLAGS=${atomic_flags}
72495 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
72496 OS_INC_SRCDIR=config/${os_include_dir}
72497 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
72498 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
72499 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
72500 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
72511 # Conditionalize the makefile for this target machine.
72512 tmake_file_=
72513 for f in ${tmake_file}
72515 if test -f ${srcdir}/config/$f
72516 then
72517 tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
72519 done
72520 tmake_file="${tmake_file_}"
72523 # Add CET specific flags if Intel CET is enabled.
72524 # Check whether --enable-cet was given.
72525 if test "${enable_cet+set}" = set; then :
72526 enableval=$enable_cet;
72527 case "$enableval" in
72528 yes|no|auto) ;;
72529 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
72530 esac
72532 else
72533 enable_cet=auto
72537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
72538 $as_echo_n "checking for CET support... " >&6; }
72540 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
72541 case "$host" in
72542 i[34567]86-*-linux* | x86_64-*-linux*)
72543 case "$enable_cet" in
72544 auto)
72545 # Check if target supports multi-byte NOPs
72546 # and if compiler and assembler support CET insn.
72547 cet_save_CFLAGS="$CFLAGS"
72548 CFLAGS="$CFLAGS -fcf-protection"
72549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72550 /* end confdefs.h. */
72553 main ()
72556 #if !defined(__SSE2__)
72557 #error target does not support multi-byte NOPs
72558 #else
72559 asm ("setssbsy");
72560 #endif
72563 return 0;
72565 _ACEOF
72566 if ac_fn_c_try_compile "$LINENO"; then :
72567 enable_cet=yes
72568 else
72569 enable_cet=no
72571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72572 CFLAGS="$cet_save_CFLAGS"
72574 yes)
72575 # Check if assembler supports CET.
72576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72577 /* end confdefs.h. */
72580 main ()
72582 asm ("setssbsy");
72584 return 0;
72586 _ACEOF
72587 if ac_fn_c_try_compile "$LINENO"; then :
72589 else
72590 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
72592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72594 esac
72597 enable_cet=no
72599 esac
72600 if test x$enable_cet = xyes; then
72601 CET_FLAGS="-fcf-protection -mshstk"
72602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
72603 $as_echo "yes" >&6; }
72604 else
72605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72606 $as_echo "no" >&6; }
72609 EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
72610 EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
72614 # Determine cross-compile flags and AM_CONDITIONALs.
72615 #AC_SUBST(GLIBCXX_IS_NATIVE)
72616 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
72617 if test $is_hosted = yes; then
72618 GLIBCXX_HOSTED_TRUE=
72619 GLIBCXX_HOSTED_FALSE='#'
72620 else
72621 GLIBCXX_HOSTED_TRUE='#'
72622 GLIBCXX_HOSTED_FALSE=
72626 if test $enable_libstdcxx_pch = yes; then
72627 GLIBCXX_BUILD_PCH_TRUE=
72628 GLIBCXX_BUILD_PCH_FALSE='#'
72629 else
72630 GLIBCXX_BUILD_PCH_TRUE='#'
72631 GLIBCXX_BUILD_PCH_FALSE=
72635 if test $enable_float128 = yes; then
72636 ENABLE_FLOAT128_TRUE=
72637 ENABLE_FLOAT128_FALSE='#'
72638 else
72639 ENABLE_FLOAT128_TRUE='#'
72640 ENABLE_FLOAT128_FALSE=
72644 if test $enable_libstdcxx_allocator_flag = new; then
72645 ENABLE_ALLOCATOR_NEW_TRUE=
72646 ENABLE_ALLOCATOR_NEW_FALSE='#'
72647 else
72648 ENABLE_ALLOCATOR_NEW_TRUE='#'
72649 ENABLE_ALLOCATOR_NEW_FALSE=
72653 if test $enable_cheaders = c; then
72654 GLIBCXX_C_HEADERS_C_TRUE=
72655 GLIBCXX_C_HEADERS_C_FALSE='#'
72656 else
72657 GLIBCXX_C_HEADERS_C_TRUE='#'
72658 GLIBCXX_C_HEADERS_C_FALSE=
72662 if test $enable_cheaders = c_std; then
72663 GLIBCXX_C_HEADERS_C_STD_TRUE=
72664 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
72665 else
72666 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
72667 GLIBCXX_C_HEADERS_C_STD_FALSE=
72671 if test $enable_cheaders = c_global; then
72672 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
72673 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
72674 else
72675 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
72676 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
72680 if test $c_compatibility = yes; then
72681 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
72682 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
72683 else
72684 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
72685 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
72689 if test $enable_libstdcxx_debug = yes; then
72690 GLIBCXX_BUILD_DEBUG_TRUE=
72691 GLIBCXX_BUILD_DEBUG_FALSE='#'
72692 else
72693 GLIBCXX_BUILD_DEBUG_TRUE='#'
72694 GLIBCXX_BUILD_DEBUG_FALSE=
72698 if test $enable_extern_template = yes; then
72699 ENABLE_EXTERN_TEMPLATE_TRUE=
72700 ENABLE_EXTERN_TEMPLATE_FALSE='#'
72701 else
72702 ENABLE_EXTERN_TEMPLATE_TRUE='#'
72703 ENABLE_EXTERN_TEMPLATE_FALSE=
72707 if test $python_mod_dir != no; then
72708 ENABLE_PYTHONDIR_TRUE=
72709 ENABLE_PYTHONDIR_FALSE='#'
72710 else
72711 ENABLE_PYTHONDIR_TRUE='#'
72712 ENABLE_PYTHONDIR_FALSE=
72716 if test $enable_werror = yes; then
72717 ENABLE_WERROR_TRUE=
72718 ENABLE_WERROR_FALSE='#'
72719 else
72720 ENABLE_WERROR_TRUE='#'
72721 ENABLE_WERROR_FALSE=
72725 if test $enable_vtable_verify = yes; then
72726 ENABLE_VTABLE_VERIFY_TRUE=
72727 ENABLE_VTABLE_VERIFY_FALSE='#'
72728 else
72729 ENABLE_VTABLE_VERIFY_TRUE='#'
72730 ENABLE_VTABLE_VERIFY_FALSE=
72734 if test $enable_symvers != no; then
72735 ENABLE_SYMVERS_TRUE=
72736 ENABLE_SYMVERS_FALSE='#'
72737 else
72738 ENABLE_SYMVERS_TRUE='#'
72739 ENABLE_SYMVERS_FALSE=
72743 if test $enable_symvers = gnu; then
72744 ENABLE_SYMVERS_GNU_TRUE=
72745 ENABLE_SYMVERS_GNU_FALSE='#'
72746 else
72747 ENABLE_SYMVERS_GNU_TRUE='#'
72748 ENABLE_SYMVERS_GNU_FALSE=
72752 if test $enable_symvers = gnu-versioned-namespace; then
72753 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
72754 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
72755 else
72756 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
72757 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
72761 if test $enable_symvers = darwin; then
72762 ENABLE_SYMVERS_DARWIN_TRUE=
72763 ENABLE_SYMVERS_DARWIN_FALSE='#'
72764 else
72765 ENABLE_SYMVERS_DARWIN_TRUE='#'
72766 ENABLE_SYMVERS_DARWIN_FALSE=
72770 if test $enable_symvers = sun; then
72771 ENABLE_SYMVERS_SUN_TRUE=
72772 ENABLE_SYMVERS_SUN_FALSE='#'
72773 else
72774 ENABLE_SYMVERS_SUN_TRUE='#'
72775 ENABLE_SYMVERS_SUN_FALSE=
72779 if test $enable_libstdcxx_visibility = yes; then
72780 ENABLE_VISIBILITY_TRUE=
72781 ENABLE_VISIBILITY_FALSE='#'
72782 else
72783 ENABLE_VISIBILITY_TRUE='#'
72784 ENABLE_VISIBILITY_FALSE=
72788 if test $enable_libstdcxx_dual_abi = yes; then
72789 ENABLE_DUAL_ABI_TRUE=
72790 ENABLE_DUAL_ABI_FALSE='#'
72791 else
72792 ENABLE_DUAL_ABI_TRUE='#'
72793 ENABLE_DUAL_ABI_FALSE=
72797 if test $glibcxx_cxx11_abi = 1; then
72798 ENABLE_CXX11_ABI_TRUE=
72799 ENABLE_CXX11_ABI_FALSE='#'
72800 else
72801 ENABLE_CXX11_ABI_TRUE='#'
72802 ENABLE_CXX11_ABI_FALSE=
72806 if test $ac_ldbl_compat = yes; then
72807 GLIBCXX_LDBL_COMPAT_TRUE=
72808 GLIBCXX_LDBL_COMPAT_FALSE='#'
72809 else
72810 GLIBCXX_LDBL_COMPAT_TRUE='#'
72811 GLIBCXX_LDBL_COMPAT_FALSE=
72815 if test $ac_ldbl_alt128_compat = yes; then
72816 GLIBCXX_LDBL_ALT128_COMPAT_TRUE=
72817 GLIBCXX_LDBL_ALT128_COMPAT_FALSE='#'
72818 else
72819 GLIBCXX_LDBL_ALT128_COMPAT_TRUE='#'
72820 GLIBCXX_LDBL_ALT128_COMPAT_FALSE=
72824 if test $enable_libstdcxx_filesystem_ts = yes; then
72825 ENABLE_FILESYSTEM_TS_TRUE=
72826 ENABLE_FILESYSTEM_TS_FALSE='#'
72827 else
72828 ENABLE_FILESYSTEM_TS_TRUE='#'
72829 ENABLE_FILESYSTEM_TS_FALSE=
72833 if test "$enable_libstdcxx_backtrace" = yes; then
72834 ENABLE_BACKTRACE_TRUE=
72835 ENABLE_BACKTRACE_FALSE='#'
72836 else
72837 ENABLE_BACKTRACE_TRUE='#'
72838 ENABLE_BACKTRACE_FALSE=
72842 if test "${embed_zoneinfo}" = yes; then
72843 USE_STATIC_TZDATA_TRUE=
72844 USE_STATIC_TZDATA_FALSE='#'
72845 else
72846 USE_STATIC_TZDATA_TRUE='#'
72847 USE_STATIC_TZDATA_FALSE=
72853 cat >confcache <<\_ACEOF
72854 # This file is a shell script that caches the results of configure
72855 # tests run on this system so they can be shared between configure
72856 # scripts and configure runs, see configure's option --config-cache.
72857 # It is not useful on other systems. If it contains results you don't
72858 # want to keep, you may remove or edit it.
72860 # config.status only pays attention to the cache file if you give it
72861 # the --recheck option to rerun configure.
72863 # `ac_cv_env_foo' variables (set or unset) will be overridden when
72864 # loading this file, other *unset* `ac_cv_foo' will be assigned the
72865 # following values.
72867 _ACEOF
72869 # The following way of writing the cache mishandles newlines in values,
72870 # but we know of no workaround that is simple, portable, and efficient.
72871 # So, we kill variables containing newlines.
72872 # Ultrix sh set writes to stderr and can't be redirected directly,
72873 # and sets the high bit in the cache file unless we assign to the vars.
72875 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
72876 eval ac_val=\$$ac_var
72877 case $ac_val in #(
72878 *${as_nl}*)
72879 case $ac_var in #(
72880 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
72881 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
72882 esac
72883 case $ac_var in #(
72884 _ | IFS | as_nl) ;; #(
72885 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
72886 *) { eval $ac_var=; unset $ac_var;} ;;
72887 esac ;;
72888 esac
72889 done
72891 (set) 2>&1 |
72892 case $as_nl`(ac_space=' '; set) 2>&1` in #(
72893 *${as_nl}ac_space=\ *)
72894 # `set' does not quote correctly, so add quotes: double-quote
72895 # substitution turns \\\\ into \\, and sed turns \\ into \.
72896 sed -n \
72897 "s/'/'\\\\''/g;
72898 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
72899 ;; #(
72901 # `set' quotes correctly as required by POSIX, so do not add quotes.
72902 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
72904 esac |
72905 sort
72907 sed '
72908 /^ac_cv_env_/b end
72909 t clear
72910 :clear
72911 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
72912 t end
72913 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
72914 :end' >>confcache
72915 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
72916 if test -w "$cache_file"; then
72917 if test "x$cache_file" != "x/dev/null"; then
72918 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
72919 $as_echo "$as_me: updating cache $cache_file" >&6;}
72920 if test ! -f "$cache_file" || test -h "$cache_file"; then
72921 cat confcache >"$cache_file"
72922 else
72923 case $cache_file in #(
72924 */* | ?:*)
72925 mv -f confcache "$cache_file"$$ &&
72926 mv -f "$cache_file"$$ "$cache_file" ;; #(
72928 mv -f confcache "$cache_file" ;;
72929 esac
72932 else
72933 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
72934 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
72937 rm -f confcache
72939 if test ${multilib} = yes; then
72940 multilib_arg="--enable-multilib"
72941 else
72942 multilib_arg=
72945 # Export all the install information.
72947 glibcxx_toolexecdir=no
72948 glibcxx_toolexeclibdir=no
72949 glibcxx_prefixdir=$prefix
72951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
72952 $as_echo_n "checking for gxx-include-dir... " >&6; }
72954 # Check whether --with-gxx-include-dir was given.
72955 if test "${with_gxx_include_dir+set}" = set; then :
72956 withval=$with_gxx_include_dir; case "$withval" in
72957 yes) as_fn_error $? "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
72958 no) gxx_include_dir=no ;;
72959 *) gxx_include_dir=$withval ;;
72960 esac
72961 else
72962 gxx_include_dir=no
72965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
72966 $as_echo "$gxx_include_dir" >&6; }
72968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
72969 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
72970 # Check whether --enable-version-specific-runtime-libs was given.
72971 if test "${enable_version_specific_runtime_libs+set}" = set; then :
72972 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
72973 yes) version_specific_libs=yes ;;
72974 no) version_specific_libs=no ;;
72975 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
72976 esac
72977 else
72978 version_specific_libs=no
72981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
72982 $as_echo "$version_specific_libs" >&6; }
72985 # Check whether --with-toolexeclibdir was given.
72986 if test "${with_toolexeclibdir+set}" = set; then :
72987 withval=$with_toolexeclibdir; case ${with_toolexeclibdir} in
72991 with_toolexeclibdir=`echo $with_toolexeclibdir | sed 's,/$,,'`
72993 esac
72994 else
72995 with_toolexeclibdir=no
73000 # Default case for install directory for include files.
73001 if test $version_specific_libs = no && test $gxx_include_dir = no; then
73002 gxx_include_dir='include/c++/${gcc_version}'
73003 if test -n "$with_cross_host" &&
73004 test x"$with_cross_host" != x"no"; then
73005 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
73006 else
73007 gxx_include_dir='${prefix}/'"$gxx_include_dir"
73011 # Version-specific runtime libs processing.
73012 if test $version_specific_libs = yes; then
73013 # Need the gcc compiler version to know where to install libraries
73014 # and header files if --enable-version-specific-runtime-libs option
73015 # is selected. FIXME: these variables are misnamed, there are
73016 # no executables installed in _toolexecdir or _toolexeclibdir.
73017 if test x"$gxx_include_dir" = x"no"; then
73018 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
73020 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
73021 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
73024 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
73025 # Install a library built with a cross compiler in tooldir, not libdir.
73026 if test x"$glibcxx_toolexecdir" = x"no"; then
73027 if test -n "$with_cross_host" &&
73028 test x"$with_cross_host" != x"no"; then
73029 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
73030 case ${with_toolexeclibdir} in
73032 glibcxx_toolexeclibdir='${toolexecdir}/lib'
73035 glibcxx_toolexeclibdir=${with_toolexeclibdir}
73037 esac
73038 else
73039 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
73040 glibcxx_toolexeclibdir='${libdir}'
73042 multi_os_directory=`$CXX -print-multi-os-directory`
73043 case $multi_os_directory in
73044 .) ;; # Avoid trailing /.
73045 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
73046 esac
73049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
73050 $as_echo_n "checking for install location... " >&6; }
73051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
73052 $as_echo "$gxx_include_dir" >&6; }
73060 # Export all the include and flag information to Makefiles.
73062 # Used for every C++ compile we perform.
73063 GLIBCXX_INCLUDES="\
73064 -I$glibcxx_builddir/include/$host_alias \
73065 -I$glibcxx_builddir/include \
73066 -I$glibcxx_srcdir/libsupc++"
73068 # For Canadian crosses, pick this up too.
73069 if test $CANADIAN = yes; then
73070 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
73073 # Stuff in the actual top level. Currently only used by libsupc++ to
73074 # get unwind* headers from the libgcc dir.
73075 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
73076 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
73078 # Now, export this to all the little Makefiles....
73085 # Optimization flags that are probably a good idea for thrill-seekers. Just
73086 # uncomment the lines below and make, everything else is ready to go...
73087 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
73088 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
73091 WARN_FLAGS="-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2"
73095 # Determine what GCC version number to use in filesystem paths.
73097 get_gcc_base_ver="cat"
73099 # Check whether --with-gcc-major-version-only was given.
73100 if test "${with_gcc_major_version_only+set}" = set; then :
73101 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
73102 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
73110 ac_config_files="$ac_config_files Makefile"
73112 ac_config_files="$ac_config_files scripts/testsuite_flags"
73114 ac_config_files="$ac_config_files scripts/extract_symvers"
73116 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
73118 ac_config_files="$ac_config_files src/libbacktrace/backtrace-supported.h"
73121 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
73122 # that multilib installs will end up installed in the correct place.
73123 # The testsuite needs it for multilib-aware ABI baseline files.
73124 # To work around this not being passed down from config-ml.in ->
73125 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
73126 # append it here. Only modify Makefiles that have just been created.
73128 # Also, get rid of this simulated-VPATH thing that automake does.
73129 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile src/c++17/Makefile src/c++20/Makefile src/filesystem/Makefile src/libbacktrace/Makefile src/experimental/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
73132 ac_config_commands="$ac_config_commands generate-headers"
73135 cat >confcache <<\_ACEOF
73136 # This file is a shell script that caches the results of configure
73137 # tests run on this system so they can be shared between configure
73138 # scripts and configure runs, see configure's option --config-cache.
73139 # It is not useful on other systems. If it contains results you don't
73140 # want to keep, you may remove or edit it.
73142 # config.status only pays attention to the cache file if you give it
73143 # the --recheck option to rerun configure.
73145 # `ac_cv_env_foo' variables (set or unset) will be overridden when
73146 # loading this file, other *unset* `ac_cv_foo' will be assigned the
73147 # following values.
73149 _ACEOF
73151 # The following way of writing the cache mishandles newlines in values,
73152 # but we know of no workaround that is simple, portable, and efficient.
73153 # So, we kill variables containing newlines.
73154 # Ultrix sh set writes to stderr and can't be redirected directly,
73155 # and sets the high bit in the cache file unless we assign to the vars.
73157 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
73158 eval ac_val=\$$ac_var
73159 case $ac_val in #(
73160 *${as_nl}*)
73161 case $ac_var in #(
73162 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
73163 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
73164 esac
73165 case $ac_var in #(
73166 _ | IFS | as_nl) ;; #(
73167 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
73168 *) { eval $ac_var=; unset $ac_var;} ;;
73169 esac ;;
73170 esac
73171 done
73173 (set) 2>&1 |
73174 case $as_nl`(ac_space=' '; set) 2>&1` in #(
73175 *${as_nl}ac_space=\ *)
73176 # `set' does not quote correctly, so add quotes: double-quote
73177 # substitution turns \\\\ into \\, and sed turns \\ into \.
73178 sed -n \
73179 "s/'/'\\\\''/g;
73180 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
73181 ;; #(
73183 # `set' quotes correctly as required by POSIX, so do not add quotes.
73184 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
73186 esac |
73187 sort
73189 sed '
73190 /^ac_cv_env_/b end
73191 t clear
73192 :clear
73193 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
73194 t end
73195 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
73196 :end' >>confcache
73197 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
73198 if test -w "$cache_file"; then
73199 if test "x$cache_file" != "x/dev/null"; then
73200 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
73201 $as_echo "$as_me: updating cache $cache_file" >&6;}
73202 if test ! -f "$cache_file" || test -h "$cache_file"; then
73203 cat confcache >"$cache_file"
73204 else
73205 case $cache_file in #(
73206 */* | ?:*)
73207 mv -f confcache "$cache_file"$$ &&
73208 mv -f "$cache_file"$$ "$cache_file" ;; #(
73210 mv -f confcache "$cache_file" ;;
73211 esac
73214 else
73215 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
73216 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
73219 rm -f confcache
73221 test "x$prefix" = xNONE && prefix=$ac_default_prefix
73222 # Let make expand exec_prefix.
73223 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
73225 DEFS=-DHAVE_CONFIG_H
73227 ac_libobjs=
73228 ac_ltlibobjs=
73230 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
73231 # 1. Remove the extension, and $U if already installed.
73232 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
73233 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
73234 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
73235 # will be set to the directory where LIBOBJS objects are built.
73236 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
73237 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
73238 done
73239 LIBOBJS=$ac_libobjs
73241 LTLIBOBJS=$ac_ltlibobjs
73244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
73245 $as_echo_n "checking that generated files are newer than configure... " >&6; }
73246 if test -n "$am_sleep_pid"; then
73247 # Hide warnings about reused PIDs.
73248 wait $am_sleep_pid 2>/dev/null
73250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
73251 $as_echo "done" >&6; }
73252 if test -n "$EXEEXT"; then
73253 am__EXEEXT_TRUE=
73254 am__EXEEXT_FALSE='#'
73255 else
73256 am__EXEEXT_TRUE='#'
73257 am__EXEEXT_FALSE=
73260 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
73261 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
73262 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73264 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
73265 as_fn_error $? "conditional \"GLIBCXX_HOSTED\" was never defined.
73266 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73268 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
73269 as_fn_error $? "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
73270 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73272 if test -z "${ENABLE_FLOAT128_TRUE}" && test -z "${ENABLE_FLOAT128_FALSE}"; then
73273 as_fn_error $? "conditional \"ENABLE_FLOAT128\" was never defined.
73274 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73276 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
73277 as_fn_error $? "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
73278 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73280 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
73281 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
73282 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73284 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
73285 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
73286 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73288 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
73289 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
73290 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73292 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
73293 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
73294 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73296 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
73297 as_fn_error $? "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
73298 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73300 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
73301 as_fn_error $? "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
73302 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73304 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
73305 as_fn_error $? "conditional \"ENABLE_PYTHONDIR\" was never defined.
73306 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73308 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
73309 as_fn_error $? "conditional \"ENABLE_WERROR\" was never defined.
73310 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73312 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
73313 as_fn_error $? "conditional \"VTV_CYGMIN\" was never defined.
73314 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73316 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
73317 as_fn_error $? "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
73318 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73320 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
73321 as_fn_error $? "conditional \"ENABLE_SYMVERS\" was never defined.
73322 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73324 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
73325 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
73326 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73328 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
73329 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
73330 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73332 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
73333 as_fn_error $? "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
73334 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73336 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
73337 as_fn_error $? "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
73338 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73340 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
73341 as_fn_error $? "conditional \"ENABLE_VISIBILITY\" was never defined.
73342 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73344 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
73345 as_fn_error $? "conditional \"ENABLE_DUAL_ABI\" was never defined.
73346 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73348 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
73349 as_fn_error $? "conditional \"ENABLE_CXX11_ABI\" was never defined.
73350 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73352 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
73353 as_fn_error $? "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
73354 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73356 if test -z "${GLIBCXX_LDBL_ALT128_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_ALT128_COMPAT_FALSE}"; then
73357 as_fn_error $? "conditional \"GLIBCXX_LDBL_ALT128_COMPAT\" was never defined.
73358 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73360 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
73361 as_fn_error $? "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
73362 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73364 if test -z "${ENABLE_BACKTRACE_TRUE}" && test -z "${ENABLE_BACKTRACE_FALSE}"; then
73365 as_fn_error $? "conditional \"ENABLE_BACKTRACE\" was never defined.
73366 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73368 if test -z "${USE_STATIC_TZDATA_TRUE}" && test -z "${USE_STATIC_TZDATA_FALSE}"; then
73369 as_fn_error $? "conditional \"USE_STATIC_TZDATA\" was never defined.
73370 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73372 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
73373 as_fn_error $? "conditional \"BUILD_INFO\" was never defined.
73374 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73376 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
73377 as_fn_error $? "conditional \"BUILD_EPUB\" was never defined.
73378 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73380 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
73381 as_fn_error $? "conditional \"BUILD_XML\" was never defined.
73382 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73384 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
73385 as_fn_error $? "conditional \"BUILD_HTML\" was never defined.
73386 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73388 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
73389 as_fn_error $? "conditional \"BUILD_MAN\" was never defined.
73390 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73392 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
73393 as_fn_error $? "conditional \"BUILD_PDF\" was never defined.
73394 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73396 if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
73397 as_fn_error $? "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
73398 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73401 : "${CONFIG_STATUS=./config.status}"
73402 ac_write_fail=0
73403 ac_clean_files_save=$ac_clean_files
73404 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
73405 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
73406 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
73407 as_write_fail=0
73408 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
73409 #! $SHELL
73410 # Generated by $as_me.
73411 # Run this file to recreate the current configuration.
73412 # Compiler output produced by configure, useful for debugging
73413 # configure, is in config.log if it exists.
73415 debug=false
73416 ac_cs_recheck=false
73417 ac_cs_silent=false
73419 SHELL=\${CONFIG_SHELL-$SHELL}
73420 export SHELL
73421 _ASEOF
73422 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
73423 ## -------------------- ##
73424 ## M4sh Initialization. ##
73425 ## -------------------- ##
73427 # Be more Bourne compatible
73428 DUALCASE=1; export DUALCASE # for MKS sh
73429 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
73430 emulate sh
73431 NULLCMD=:
73432 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
73433 # is contrary to our usage. Disable this feature.
73434 alias -g '${1+"$@"}'='"$@"'
73435 setopt NO_GLOB_SUBST
73436 else
73437 case `(set -o) 2>/dev/null` in #(
73438 *posix*) :
73439 set -o posix ;; #(
73440 *) :
73442 esac
73446 as_nl='
73448 export as_nl
73449 # Printing a long string crashes Solaris 7 /usr/bin/printf.
73450 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
73451 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
73452 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
73453 # Prefer a ksh shell builtin over an external printf program on Solaris,
73454 # but without wasting forks for bash or zsh.
73455 if test -z "$BASH_VERSION$ZSH_VERSION" \
73456 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
73457 as_echo='print -r --'
73458 as_echo_n='print -rn --'
73459 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
73460 as_echo='printf %s\n'
73461 as_echo_n='printf %s'
73462 else
73463 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
73464 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
73465 as_echo_n='/usr/ucb/echo -n'
73466 else
73467 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
73468 as_echo_n_body='eval
73469 arg=$1;
73470 case $arg in #(
73471 *"$as_nl"*)
73472 expr "X$arg" : "X\\(.*\\)$as_nl";
73473 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
73474 esac;
73475 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
73477 export as_echo_n_body
73478 as_echo_n='sh -c $as_echo_n_body as_echo'
73480 export as_echo_body
73481 as_echo='sh -c $as_echo_body as_echo'
73484 # The user is always right.
73485 if test "${PATH_SEPARATOR+set}" != set; then
73486 PATH_SEPARATOR=:
73487 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
73488 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
73489 PATH_SEPARATOR=';'
73494 # IFS
73495 # We need space, tab and new line, in precisely that order. Quoting is
73496 # there to prevent editors from complaining about space-tab.
73497 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
73498 # splitting by setting IFS to empty value.)
73499 IFS=" "" $as_nl"
73501 # Find who we are. Look in the path if we contain no directory separator.
73502 as_myself=
73503 case $0 in #((
73504 *[\\/]* ) as_myself=$0 ;;
73505 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73506 for as_dir in $PATH
73508 IFS=$as_save_IFS
73509 test -z "$as_dir" && as_dir=.
73510 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
73511 done
73512 IFS=$as_save_IFS
73515 esac
73516 # We did not find ourselves, most probably we were run as `sh COMMAND'
73517 # in which case we are not to be found in the path.
73518 if test "x$as_myself" = x; then
73519 as_myself=$0
73521 if test ! -f "$as_myself"; then
73522 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
73523 exit 1
73526 # Unset variables that we do not need and which cause bugs (e.g. in
73527 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
73528 # suppresses any "Segmentation fault" message there. '((' could
73529 # trigger a bug in pdksh 5.2.14.
73530 for as_var in BASH_ENV ENV MAIL MAILPATH
73531 do eval test x\${$as_var+set} = xset \
73532 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
73533 done
73534 PS1='$ '
73535 PS2='> '
73536 PS4='+ '
73538 # NLS nuisances.
73539 LC_ALL=C
73540 export LC_ALL
73541 LANGUAGE=C
73542 export LANGUAGE
73544 # CDPATH.
73545 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
73548 # as_fn_error STATUS ERROR [LINENO LOG_FD]
73549 # ----------------------------------------
73550 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
73551 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
73552 # script with STATUS, using 1 if that was 0.
73553 as_fn_error ()
73555 as_status=$1; test $as_status -eq 0 && as_status=1
73556 if test "$4"; then
73557 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
73558 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
73560 $as_echo "$as_me: error: $2" >&2
73561 as_fn_exit $as_status
73562 } # as_fn_error
73565 # as_fn_set_status STATUS
73566 # -----------------------
73567 # Set $? to STATUS, without forking.
73568 as_fn_set_status ()
73570 return $1
73571 } # as_fn_set_status
73573 # as_fn_exit STATUS
73574 # -----------------
73575 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
73576 as_fn_exit ()
73578 set +e
73579 as_fn_set_status $1
73580 exit $1
73581 } # as_fn_exit
73583 # as_fn_unset VAR
73584 # ---------------
73585 # Portably unset VAR.
73586 as_fn_unset ()
73588 { eval $1=; unset $1;}
73590 as_unset=as_fn_unset
73591 # as_fn_append VAR VALUE
73592 # ----------------------
73593 # Append the text in VALUE to the end of the definition contained in VAR. Take
73594 # advantage of any shell optimizations that allow amortized linear growth over
73595 # repeated appends, instead of the typical quadratic growth present in naive
73596 # implementations.
73597 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
73598 eval 'as_fn_append ()
73600 eval $1+=\$2
73602 else
73603 as_fn_append ()
73605 eval $1=\$$1\$2
73607 fi # as_fn_append
73609 # as_fn_arith ARG...
73610 # ------------------
73611 # Perform arithmetic evaluation on the ARGs, and store the result in the
73612 # global $as_val. Take advantage of shells that can avoid forks. The arguments
73613 # must be portable across $(()) and expr.
73614 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
73615 eval 'as_fn_arith ()
73617 as_val=$(( $* ))
73619 else
73620 as_fn_arith ()
73622 as_val=`expr "$@" || test $? -eq 1`
73624 fi # as_fn_arith
73627 if expr a : '\(a\)' >/dev/null 2>&1 &&
73628 test "X`expr 00001 : '.*\(...\)'`" = X001; then
73629 as_expr=expr
73630 else
73631 as_expr=false
73634 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
73635 as_basename=basename
73636 else
73637 as_basename=false
73640 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
73641 as_dirname=dirname
73642 else
73643 as_dirname=false
73646 as_me=`$as_basename -- "$0" ||
73647 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
73648 X"$0" : 'X\(//\)$' \| \
73649 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
73650 $as_echo X/"$0" |
73651 sed '/^.*\/\([^/][^/]*\)\/*$/{
73652 s//\1/
73655 /^X\/\(\/\/\)$/{
73656 s//\1/
73659 /^X\/\(\/\).*/{
73660 s//\1/
73663 s/.*/./; q'`
73665 # Avoid depending upon Character Ranges.
73666 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
73667 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
73668 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
73669 as_cr_digits='0123456789'
73670 as_cr_alnum=$as_cr_Letters$as_cr_digits
73672 ECHO_C= ECHO_N= ECHO_T=
73673 case `echo -n x` in #(((((
73674 -n*)
73675 case `echo 'xy\c'` in
73676 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
73677 xy) ECHO_C='\c';;
73678 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
73679 ECHO_T=' ';;
73680 esac;;
73682 ECHO_N='-n';;
73683 esac
73685 rm -f conf$$ conf$$.exe conf$$.file
73686 if test -d conf$$.dir; then
73687 rm -f conf$$.dir/conf$$.file
73688 else
73689 rm -f conf$$.dir
73690 mkdir conf$$.dir 2>/dev/null
73692 if (echo >conf$$.file) 2>/dev/null; then
73693 if ln -s conf$$.file conf$$ 2>/dev/null; then
73694 as_ln_s='ln -s'
73695 # ... but there are two gotchas:
73696 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
73697 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
73698 # In both cases, we have to default to `cp -pR'.
73699 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
73700 as_ln_s='cp -pR'
73701 elif ln conf$$.file conf$$ 2>/dev/null; then
73702 as_ln_s=ln
73703 else
73704 as_ln_s='cp -pR'
73706 else
73707 as_ln_s='cp -pR'
73709 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
73710 rmdir conf$$.dir 2>/dev/null
73713 # as_fn_mkdir_p
73714 # -------------
73715 # Create "$as_dir" as a directory, including parents if necessary.
73716 as_fn_mkdir_p ()
73719 case $as_dir in #(
73720 -*) as_dir=./$as_dir;;
73721 esac
73722 test -d "$as_dir" || eval $as_mkdir_p || {
73723 as_dirs=
73724 while :; do
73725 case $as_dir in #(
73726 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
73727 *) as_qdir=$as_dir;;
73728 esac
73729 as_dirs="'$as_qdir' $as_dirs"
73730 as_dir=`$as_dirname -- "$as_dir" ||
73731 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73732 X"$as_dir" : 'X\(//\)[^/]' \| \
73733 X"$as_dir" : 'X\(//\)$' \| \
73734 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
73735 $as_echo X"$as_dir" |
73736 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73737 s//\1/
73740 /^X\(\/\/\)[^/].*/{
73741 s//\1/
73744 /^X\(\/\/\)$/{
73745 s//\1/
73748 /^X\(\/\).*/{
73749 s//\1/
73752 s/.*/./; q'`
73753 test -d "$as_dir" && break
73754 done
73755 test -z "$as_dirs" || eval "mkdir $as_dirs"
73756 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
73759 } # as_fn_mkdir_p
73760 if mkdir -p . 2>/dev/null; then
73761 as_mkdir_p='mkdir -p "$as_dir"'
73762 else
73763 test -d ./-p && rmdir ./-p
73764 as_mkdir_p=false
73768 # as_fn_executable_p FILE
73769 # -----------------------
73770 # Test if FILE is an executable regular file.
73771 as_fn_executable_p ()
73773 test -f "$1" && test -x "$1"
73774 } # as_fn_executable_p
73775 as_test_x='test -x'
73776 as_executable_p=as_fn_executable_p
73778 # Sed expression to map a string onto a valid CPP name.
73779 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
73781 # Sed expression to map a string onto a valid variable name.
73782 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
73785 exec 6>&1
73786 ## ----------------------------------- ##
73787 ## Main body of $CONFIG_STATUS script. ##
73788 ## ----------------------------------- ##
73789 _ASEOF
73790 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
73792 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73793 # Save the log message, to keep $0 and so on meaningful, and to
73794 # report actual input values of CONFIG_FILES etc. instead of their
73795 # values after options handling.
73796 ac_log="
73797 This file was extended by package-unused $as_me version-unused, which was
73798 generated by GNU Autoconf 2.69. Invocation command line was
73800 CONFIG_FILES = $CONFIG_FILES
73801 CONFIG_HEADERS = $CONFIG_HEADERS
73802 CONFIG_LINKS = $CONFIG_LINKS
73803 CONFIG_COMMANDS = $CONFIG_COMMANDS
73804 $ $0 $@
73806 on `(hostname || uname -n) 2>/dev/null | sed 1q`
73809 _ACEOF
73811 case $ac_config_files in *"
73812 "*) set x $ac_config_files; shift; ac_config_files=$*;;
73813 esac
73815 case $ac_config_headers in *"
73816 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
73817 esac
73820 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73821 # Files that config.status was made for.
73822 config_files="$ac_config_files"
73823 config_headers="$ac_config_headers"
73824 config_commands="$ac_config_commands"
73826 _ACEOF
73828 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73829 ac_cs_usage="\
73830 \`$as_me' instantiates files and other configuration actions
73831 from templates according to the current configuration. Unless the files
73832 and actions are specified as TAGs, all are instantiated by default.
73834 Usage: $0 [OPTION]... [TAG]...
73836 -h, --help print this help, then exit
73837 -V, --version print version number and configuration settings, then exit
73838 --config print configuration, then exit
73839 -q, --quiet, --silent
73840 do not print progress messages
73841 -d, --debug don't remove temporary files
73842 --recheck update $as_me by reconfiguring in the same conditions
73843 --file=FILE[:TEMPLATE]
73844 instantiate the configuration file FILE
73845 --header=FILE[:TEMPLATE]
73846 instantiate the configuration header FILE
73848 Configuration files:
73849 $config_files
73851 Configuration headers:
73852 $config_headers
73854 Configuration commands:
73855 $config_commands
73857 Report bugs to the package provider."
73859 _ACEOF
73860 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73861 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
73862 ac_cs_version="\\
73863 package-unused config.status version-unused
73864 configured by $0, generated by GNU Autoconf 2.69,
73865 with options \\"\$ac_cs_config\\"
73867 Copyright (C) 2012 Free Software Foundation, Inc.
73868 This config.status script is free software; the Free Software Foundation
73869 gives unlimited permission to copy, distribute and modify it."
73871 ac_pwd='$ac_pwd'
73872 srcdir='$srcdir'
73873 INSTALL='$INSTALL'
73874 MKDIR_P='$MKDIR_P'
73875 AWK='$AWK'
73876 test -n "\$AWK" || AWK=awk
73877 _ACEOF
73879 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73880 # The default lists apply if the user does not specify any file.
73881 ac_need_defaults=:
73882 while test $# != 0
73884 case $1 in
73885 --*=?*)
73886 ac_option=`expr "X$1" : 'X\([^=]*\)='`
73887 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
73888 ac_shift=:
73890 --*=)
73891 ac_option=`expr "X$1" : 'X\([^=]*\)='`
73892 ac_optarg=
73893 ac_shift=:
73896 ac_option=$1
73897 ac_optarg=$2
73898 ac_shift=shift
73900 esac
73902 case $ac_option in
73903 # Handling of the options.
73904 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
73905 ac_cs_recheck=: ;;
73906 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
73907 $as_echo "$ac_cs_version"; exit ;;
73908 --config | --confi | --conf | --con | --co | --c )
73909 $as_echo "$ac_cs_config"; exit ;;
73910 --debug | --debu | --deb | --de | --d | -d )
73911 debug=: ;;
73912 --file | --fil | --fi | --f )
73913 $ac_shift
73914 case $ac_optarg in
73915 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
73916 '') as_fn_error $? "missing file argument" ;;
73917 esac
73918 as_fn_append CONFIG_FILES " '$ac_optarg'"
73919 ac_need_defaults=false;;
73920 --header | --heade | --head | --hea )
73921 $ac_shift
73922 case $ac_optarg in
73923 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
73924 esac
73925 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
73926 ac_need_defaults=false;;
73927 --he | --h)
73928 # Conflict between --help and --header
73929 as_fn_error $? "ambiguous option: \`$1'
73930 Try \`$0 --help' for more information.";;
73931 --help | --hel | -h )
73932 $as_echo "$ac_cs_usage"; exit ;;
73933 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
73934 | -silent | --silent | --silen | --sile | --sil | --si | --s)
73935 ac_cs_silent=: ;;
73937 # This is an error.
73938 -*) as_fn_error $? "unrecognized option: \`$1'
73939 Try \`$0 --help' for more information." ;;
73941 *) as_fn_append ac_config_targets " $1"
73942 ac_need_defaults=false ;;
73944 esac
73945 shift
73946 done
73948 ac_configure_extra_args=
73950 if $ac_cs_silent; then
73951 exec 6>/dev/null
73952 ac_configure_extra_args="$ac_configure_extra_args --silent"
73955 _ACEOF
73956 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73957 if \$ac_cs_recheck; then
73958 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
73959 shift
73960 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
73961 CONFIG_SHELL='$SHELL'
73962 export CONFIG_SHELL
73963 exec "\$@"
73966 _ACEOF
73967 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73968 exec 5>>config.log
73970 echo
73971 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
73972 ## Running $as_me. ##
73973 _ASBOX
73974 $as_echo "$ac_log"
73975 } >&5
73977 _ACEOF
73978 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73980 # INIT-COMMANDS
73983 srcdir="$srcdir"
73984 host="$host"
73985 target="$target"
73986 with_multisubdir="$with_multisubdir"
73987 with_multisrctop="$with_multisrctop"
73988 with_target_subdir="$with_target_subdir"
73989 ac_configure_args="${multilib_arg} ${ac_configure_args}"
73990 multi_basedir="$multi_basedir"
73991 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
73992 CC="$CC"
73993 CXX="$CXX"
73994 GFORTRAN="$GFORTRAN"
73995 GDC="$GDC"
73998 # The HP-UX ksh and POSIX shell print the target directory to stdout
73999 # if CDPATH is set.
74000 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
74002 sed_quote_subst='$sed_quote_subst'
74003 double_quote_subst='$double_quote_subst'
74004 delay_variable_subst='$delay_variable_subst'
74005 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
74006 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
74007 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
74008 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
74009 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
74010 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
74011 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
74012 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
74013 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
74014 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
74015 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
74016 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
74017 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
74018 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
74019 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
74020 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
74021 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
74022 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
74023 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
74024 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
74025 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
74026 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
74027 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
74028 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
74029 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
74030 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
74031 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
74032 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
74033 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
74034 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
74035 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
74036 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
74037 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
74038 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
74039 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
74040 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
74041 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
74042 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
74043 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
74044 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
74045 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
74046 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
74047 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
74048 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
74049 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
74050 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
74051 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
74052 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
74053 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"`'
74054 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
74055 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
74056 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
74057 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
74058 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
74059 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
74060 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
74061 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
74062 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
74063 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
74064 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
74065 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
74066 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
74067 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
74068 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
74069 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
74070 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
74071 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
74072 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
74073 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
74074 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
74075 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
74076 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
74077 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
74078 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
74079 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
74080 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
74081 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
74082 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
74083 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
74084 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
74085 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
74086 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
74087 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
74088 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
74089 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
74090 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
74091 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
74092 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
74093 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
74094 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
74095 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
74096 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
74097 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
74098 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
74099 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
74100 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
74101 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
74102 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
74103 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
74104 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
74105 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
74106 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
74107 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
74108 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
74109 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
74110 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
74111 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
74112 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
74113 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
74114 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
74115 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
74116 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
74117 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
74118 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
74119 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
74120 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
74121 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
74122 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
74123 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
74124 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
74125 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
74126 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
74127 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
74128 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
74129 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
74130 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
74131 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
74132 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
74133 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74134 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74135 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
74136 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
74137 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
74138 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
74139 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
74140 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
74141 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
74142 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
74143 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
74144 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74145 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74146 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
74147 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74148 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74149 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74150 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74151 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74152 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74153 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
74154 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
74155 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
74156 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74157 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
74158 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
74159 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
74160 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
74161 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
74162 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
74163 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
74164 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
74165 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
74166 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
74167 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
74168 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74169 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
74170 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
74171 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74172 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
74173 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
74174 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
74175 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
74176 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
74177 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
74178 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
74179 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
74181 LTCC='$LTCC'
74182 LTCFLAGS='$LTCFLAGS'
74183 compiler='$compiler_DEFAULT'
74185 # A function that is used when there is no print builtin or printf.
74186 func_fallback_echo ()
74188 eval 'cat <<_LTECHO_EOF
74190 _LTECHO_EOF'
74193 # Quote evaled strings.
74194 for var in SHELL \
74195 ECHO \
74196 SED \
74197 GREP \
74198 EGREP \
74199 FGREP \
74200 LD \
74201 NM \
74202 LN_S \
74203 lt_SP2NL \
74204 lt_NL2SP \
74205 reload_flag \
74206 OBJDUMP \
74207 deplibs_check_method \
74208 file_magic_cmd \
74209 AR \
74210 AR_FLAGS \
74211 STRIP \
74212 RANLIB \
74213 CC \
74214 CFLAGS \
74215 compiler \
74216 lt_cv_sys_global_symbol_pipe \
74217 lt_cv_sys_global_symbol_to_cdecl \
74218 lt_cv_sys_global_symbol_to_c_name_address \
74219 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
74220 lt_prog_compiler_no_builtin_flag \
74221 lt_prog_compiler_wl \
74222 lt_prog_compiler_pic \
74223 lt_prog_compiler_static \
74224 lt_cv_prog_compiler_c_o \
74225 need_locks \
74226 DSYMUTIL \
74227 NMEDIT \
74228 LIPO \
74229 OTOOL \
74230 OTOOL64 \
74231 shrext_cmds \
74232 export_dynamic_flag_spec \
74233 whole_archive_flag_spec \
74234 compiler_needs_object \
74235 with_gnu_ld \
74236 allow_undefined_flag \
74237 no_undefined_flag \
74238 hardcode_libdir_flag_spec \
74239 hardcode_libdir_flag_spec_ld \
74240 hardcode_libdir_separator \
74241 fix_srcfile_path \
74242 exclude_expsyms \
74243 include_expsyms \
74244 file_list_spec \
74245 variables_saved_for_relink \
74246 libname_spec \
74247 library_names_spec \
74248 soname_spec \
74249 install_override_mode \
74250 finish_eval \
74251 old_striplib \
74252 striplib \
74253 compiler_lib_search_dirs \
74254 predep_objects \
74255 postdep_objects \
74256 predeps \
74257 postdeps \
74258 compiler_lib_search_path \
74259 LD_CXX \
74260 reload_flag_CXX \
74261 compiler_CXX \
74262 lt_prog_compiler_no_builtin_flag_CXX \
74263 lt_prog_compiler_wl_CXX \
74264 lt_prog_compiler_pic_CXX \
74265 lt_prog_compiler_static_CXX \
74266 lt_cv_prog_compiler_c_o_CXX \
74267 export_dynamic_flag_spec_CXX \
74268 whole_archive_flag_spec_CXX \
74269 compiler_needs_object_CXX \
74270 with_gnu_ld_CXX \
74271 allow_undefined_flag_CXX \
74272 no_undefined_flag_CXX \
74273 hardcode_libdir_flag_spec_CXX \
74274 hardcode_libdir_flag_spec_ld_CXX \
74275 hardcode_libdir_separator_CXX \
74276 fix_srcfile_path_CXX \
74277 exclude_expsyms_CXX \
74278 include_expsyms_CXX \
74279 file_list_spec_CXX \
74280 compiler_lib_search_dirs_CXX \
74281 predep_objects_CXX \
74282 postdep_objects_CXX \
74283 predeps_CXX \
74284 postdeps_CXX \
74285 compiler_lib_search_path_CXX; do
74286 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
74287 *[\\\\\\\`\\"\\\$]*)
74288 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
74291 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
74293 esac
74294 done
74296 # Double-quote double-evaled strings.
74297 for var in reload_cmds \
74298 old_postinstall_cmds \
74299 old_postuninstall_cmds \
74300 old_archive_cmds \
74301 extract_expsyms_cmds \
74302 old_archive_from_new_cmds \
74303 old_archive_from_expsyms_cmds \
74304 archive_cmds \
74305 archive_expsym_cmds \
74306 module_cmds \
74307 module_expsym_cmds \
74308 export_symbols_cmds \
74309 prelink_cmds \
74310 postinstall_cmds \
74311 postuninstall_cmds \
74312 finish_cmds \
74313 sys_lib_search_path_spec \
74314 sys_lib_dlsearch_path_spec \
74315 reload_cmds_CXX \
74316 old_archive_cmds_CXX \
74317 old_archive_from_new_cmds_CXX \
74318 old_archive_from_expsyms_cmds_CXX \
74319 archive_cmds_CXX \
74320 archive_expsym_cmds_CXX \
74321 module_cmds_CXX \
74322 module_expsym_cmds_CXX \
74323 export_symbols_cmds_CXX \
74324 prelink_cmds_CXX; do
74325 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
74326 *[\\\\\\\`\\"\\\$]*)
74327 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
74330 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
74332 esac
74333 done
74335 ac_aux_dir='$ac_aux_dir'
74336 xsi_shell='$xsi_shell'
74337 lt_shell_append='$lt_shell_append'
74339 # See if we are running on zsh, and set the options which allow our
74340 # commands through without removal of \ escapes INIT.
74341 if test -n "\${ZSH_VERSION+set}" ; then
74342 setopt NO_GLOB_SUBST
74346 PACKAGE='$PACKAGE'
74347 VERSION='$VERSION'
74348 TIMESTAMP='$TIMESTAMP'
74349 RM='$RM'
74350 ofile='$ofile'
74357 _ACEOF
74359 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74361 # Handling of arguments.
74362 for ac_config_target in $ac_config_targets
74364 case $ac_config_target in
74365 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
74366 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
74367 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
74368 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
74369 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
74370 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
74371 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
74372 "src/libbacktrace/backtrace-supported.h") CONFIG_FILES="$CONFIG_FILES src/libbacktrace/backtrace-supported.h" ;;
74373 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
74374 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
74375 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
74376 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
74377 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
74378 "src/c++17/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++17/Makefile" ;;
74379 "src/c++20/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++20/Makefile" ;;
74380 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
74381 "src/libbacktrace/Makefile") CONFIG_FILES="$CONFIG_FILES src/libbacktrace/Makefile" ;;
74382 "src/experimental/Makefile") CONFIG_FILES="$CONFIG_FILES src/experimental/Makefile" ;;
74383 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
74384 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
74385 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
74386 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
74387 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
74389 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
74390 esac
74391 done
74394 # If the user did not use the arguments to specify the items to instantiate,
74395 # then the envvar interface is used. Set only those that are not.
74396 # We use the long form for the default assignment because of an extremely
74397 # bizarre bug on SunOS 4.1.3.
74398 if $ac_need_defaults; then
74399 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
74400 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
74401 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
74404 # Have a temporary directory for convenience. Make it in the build tree
74405 # simply because there is no reason against having it here, and in addition,
74406 # creating and moving files from /tmp can sometimes cause problems.
74407 # Hook for its removal unless debugging.
74408 # Note that there is a small window in which the directory will not be cleaned:
74409 # after its creation but before its name has been assigned to `$tmp'.
74410 $debug ||
74412 tmp= ac_tmp=
74413 trap 'exit_status=$?
74414 : "${ac_tmp:=$tmp}"
74415 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
74417 trap 'as_fn_exit 1' 1 2 13 15
74419 # Create a (secure) tmp directory for tmp files.
74422 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
74423 test -d "$tmp"
74424 } ||
74426 tmp=./conf$$-$RANDOM
74427 (umask 077 && mkdir "$tmp")
74428 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
74429 ac_tmp=$tmp
74431 # Set up the scripts for CONFIG_FILES section.
74432 # No need to generate them if there are no CONFIG_FILES.
74433 # This happens for instance with `./config.status config.h'.
74434 if test -n "$CONFIG_FILES"; then
74437 ac_cr=`echo X | tr X '\015'`
74438 # On cygwin, bash can eat \r inside `` if the user requested igncr.
74439 # But we know of no other shell where ac_cr would be empty at this
74440 # point, so we can use a bashism as a fallback.
74441 if test "x$ac_cr" = x; then
74442 eval ac_cr=\$\'\\r\'
74444 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
74445 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
74446 ac_cs_awk_cr='\\r'
74447 else
74448 ac_cs_awk_cr=$ac_cr
74451 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
74452 _ACEOF
74456 echo "cat >conf$$subs.awk <<_ACEOF" &&
74457 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
74458 echo "_ACEOF"
74459 } >conf$$subs.sh ||
74460 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
74461 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
74462 ac_delim='%!_!# '
74463 for ac_last_try in false false false false false :; do
74464 . ./conf$$subs.sh ||
74465 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
74467 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
74468 if test $ac_delim_n = $ac_delim_num; then
74469 break
74470 elif $ac_last_try; then
74471 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
74472 else
74473 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
74475 done
74476 rm -f conf$$subs.sh
74478 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74479 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
74480 _ACEOF
74481 sed -n '
74483 s/^/S["/; s/!.*/"]=/
74486 s/^[^!]*!//
74487 :repl
74488 t repl
74489 s/'"$ac_delim"'$//
74490 t delim
74493 s/\(.\{148\}\)..*/\1/
74494 t more1
74495 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
74498 b repl
74499 :more1
74500 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
74503 s/.\{148\}//
74504 t nl
74505 :delim
74507 s/\(.\{148\}\)..*/\1/
74508 t more2
74509 s/["\\]/\\&/g; s/^/"/; s/$/"/
74512 :more2
74513 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
74516 s/.\{148\}//
74517 t delim
74518 ' <conf$$subs.awk | sed '
74519 /^[^""]/{
74521 s/\n//
74523 ' >>$CONFIG_STATUS || ac_write_fail=1
74524 rm -f conf$$subs.awk
74525 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74526 _ACAWK
74527 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
74528 for (key in S) S_is_set[key] = 1
74529 FS = "\a"
74533 line = $ 0
74534 nfields = split(line, field, "@")
74535 substed = 0
74536 len = length(field[1])
74537 for (i = 2; i < nfields; i++) {
74538 key = field[i]
74539 keylen = length(key)
74540 if (S_is_set[key]) {
74541 value = S[key]
74542 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
74543 len += length(value) + length(field[++i])
74544 substed = 1
74545 } else
74546 len += 1 + keylen
74549 print line
74552 _ACAWK
74553 _ACEOF
74554 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74555 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
74556 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
74557 else
74559 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
74560 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
74561 _ACEOF
74563 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
74564 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
74565 # trailing colons and then remove the whole line if VPATH becomes empty
74566 # (actually we leave an empty line to preserve line numbers).
74567 if test "x$srcdir" = x.; then
74568 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
74570 s///
74571 s/^/:/
74572 s/[ ]*$/:/
74573 s/:\$(srcdir):/:/g
74574 s/:\${srcdir}:/:/g
74575 s/:@srcdir@:/:/g
74576 s/^:*//
74577 s/:*$//
74579 s/\(=[ ]*\).*/\1/
74581 s/\n//
74582 s/^[^=]*=[ ]*$//
74586 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74587 fi # test -n "$CONFIG_FILES"
74589 # Set up the scripts for CONFIG_HEADERS section.
74590 # No need to generate them if there are no CONFIG_HEADERS.
74591 # This happens for instance with `./config.status Makefile'.
74592 if test -n "$CONFIG_HEADERS"; then
74593 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
74594 BEGIN {
74595 _ACEOF
74597 # Transform confdefs.h into an awk script `defines.awk', embedded as
74598 # here-document in config.status, that substitutes the proper values into
74599 # config.h.in to produce config.h.
74601 # Create a delimiter string that does not exist in confdefs.h, to ease
74602 # handling of long lines.
74603 ac_delim='%!_!# '
74604 for ac_last_try in false false :; do
74605 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
74606 if test -z "$ac_tt"; then
74607 break
74608 elif $ac_last_try; then
74609 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
74610 else
74611 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
74613 done
74615 # For the awk script, D is an array of macro values keyed by name,
74616 # likewise P contains macro parameters if any. Preserve backslash
74617 # newline sequences.
74619 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
74620 sed -n '
74621 s/.\{148\}/&'"$ac_delim"'/g
74622 t rset
74623 :rset
74624 s/^[ ]*#[ ]*define[ ][ ]*/ /
74625 t def
74627 :def
74628 s/\\$//
74629 t bsnl
74630 s/["\\]/\\&/g
74631 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
74632 D["\1"]=" \3"/p
74633 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
74635 :bsnl
74636 s/["\\]/\\&/g
74637 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
74638 D["\1"]=" \3\\\\\\n"\\/p
74639 t cont
74640 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
74641 t cont
74643 :cont
74645 s/.\{148\}/&'"$ac_delim"'/g
74646 t clear
74647 :clear
74648 s/\\$//
74649 t bsnlc
74650 s/["\\]/\\&/g; s/^/"/; s/$/"/p
74652 :bsnlc
74653 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
74654 b cont
74655 ' <confdefs.h | sed '
74656 s/'"$ac_delim"'/"\\\
74657 "/g' >>$CONFIG_STATUS || ac_write_fail=1
74659 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74660 for (key in D) D_is_set[key] = 1
74661 FS = "\a"
74663 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
74664 line = \$ 0
74665 split(line, arg, " ")
74666 if (arg[1] == "#") {
74667 defundef = arg[2]
74668 mac1 = arg[3]
74669 } else {
74670 defundef = substr(arg[1], 2)
74671 mac1 = arg[2]
74673 split(mac1, mac2, "(") #)
74674 macro = mac2[1]
74675 prefix = substr(line, 1, index(line, defundef) - 1)
74676 if (D_is_set[macro]) {
74677 # Preserve the white space surrounding the "#".
74678 print prefix "define", macro P[macro] D[macro]
74679 next
74680 } else {
74681 # Replace #undef with comments. This is necessary, for example,
74682 # in the case of _POSIX_SOURCE, which is predefined and required
74683 # on some systems where configure will not decide to define it.
74684 if (defundef == "undef") {
74685 print "/*", prefix defundef, macro, "*/"
74686 next
74690 { print }
74691 _ACAWK
74692 _ACEOF
74693 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74694 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
74695 fi # test -n "$CONFIG_HEADERS"
74698 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
74699 shift
74700 for ac_tag
74702 case $ac_tag in
74703 :[FHLC]) ac_mode=$ac_tag; continue;;
74704 esac
74705 case $ac_mode$ac_tag in
74706 :[FHL]*:*);;
74707 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
74708 :[FH]-) ac_tag=-:-;;
74709 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
74710 esac
74711 ac_save_IFS=$IFS
74712 IFS=:
74713 set x $ac_tag
74714 IFS=$ac_save_IFS
74715 shift
74716 ac_file=$1
74717 shift
74719 case $ac_mode in
74720 :L) ac_source=$1;;
74721 :[FH])
74722 ac_file_inputs=
74723 for ac_f
74725 case $ac_f in
74726 -) ac_f="$ac_tmp/stdin";;
74727 *) # Look for the file first in the build tree, then in the source tree
74728 # (if the path is not absolute). The absolute path cannot be DOS-style,
74729 # because $ac_f cannot contain `:'.
74730 test -f "$ac_f" ||
74731 case $ac_f in
74732 [\\/$]*) false;;
74733 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
74734 esac ||
74735 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
74736 esac
74737 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
74738 as_fn_append ac_file_inputs " '$ac_f'"
74739 done
74741 # Let's still pretend it is `configure' which instantiates (i.e., don't
74742 # use $as_me), people would be surprised to read:
74743 # /* config.h. Generated by config.status. */
74744 configure_input='Generated from '`
74745 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
74746 `' by configure.'
74747 if test x"$ac_file" != x-; then
74748 configure_input="$ac_file. $configure_input"
74749 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
74750 $as_echo "$as_me: creating $ac_file" >&6;}
74752 # Neutralize special characters interpreted by sed in replacement strings.
74753 case $configure_input in #(
74754 *\&* | *\|* | *\\* )
74755 ac_sed_conf_input=`$as_echo "$configure_input" |
74756 sed 's/[\\\\&|]/\\\\&/g'`;; #(
74757 *) ac_sed_conf_input=$configure_input;;
74758 esac
74760 case $ac_tag in
74761 *:-:* | *:-) cat >"$ac_tmp/stdin" \
74762 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
74763 esac
74765 esac
74767 ac_dir=`$as_dirname -- "$ac_file" ||
74768 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74769 X"$ac_file" : 'X\(//\)[^/]' \| \
74770 X"$ac_file" : 'X\(//\)$' \| \
74771 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
74772 $as_echo X"$ac_file" |
74773 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
74774 s//\1/
74777 /^X\(\/\/\)[^/].*/{
74778 s//\1/
74781 /^X\(\/\/\)$/{
74782 s//\1/
74785 /^X\(\/\).*/{
74786 s//\1/
74789 s/.*/./; q'`
74790 as_dir="$ac_dir"; as_fn_mkdir_p
74791 ac_builddir=.
74793 case "$ac_dir" in
74794 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
74796 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
74797 # A ".." for each directory in $ac_dir_suffix.
74798 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
74799 case $ac_top_builddir_sub in
74800 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
74801 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
74802 esac ;;
74803 esac
74804 ac_abs_top_builddir=$ac_pwd
74805 ac_abs_builddir=$ac_pwd$ac_dir_suffix
74806 # for backward compatibility:
74807 ac_top_builddir=$ac_top_build_prefix
74809 case $srcdir in
74810 .) # We are building in place.
74811 ac_srcdir=.
74812 ac_top_srcdir=$ac_top_builddir_sub
74813 ac_abs_top_srcdir=$ac_pwd ;;
74814 [\\/]* | ?:[\\/]* ) # Absolute name.
74815 ac_srcdir=$srcdir$ac_dir_suffix;
74816 ac_top_srcdir=$srcdir
74817 ac_abs_top_srcdir=$srcdir ;;
74818 *) # Relative name.
74819 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
74820 ac_top_srcdir=$ac_top_build_prefix$srcdir
74821 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
74822 esac
74823 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
74826 case $ac_mode in
74829 # CONFIG_FILE
74832 case $INSTALL in
74833 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
74834 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
74835 esac
74836 ac_MKDIR_P=$MKDIR_P
74837 case $MKDIR_P in
74838 [\\/$]* | ?:[\\/]* ) ;;
74839 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
74840 esac
74841 _ACEOF
74843 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74844 # If the template does not know about datarootdir, expand it.
74845 # FIXME: This hack should be removed a few years after 2.60.
74846 ac_datarootdir_hack=; ac_datarootdir_seen=
74847 ac_sed_dataroot='
74848 /datarootdir/ {
74852 /@datadir@/p
74853 /@docdir@/p
74854 /@infodir@/p
74855 /@localedir@/p
74856 /@mandir@/p'
74857 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
74858 *datarootdir*) ac_datarootdir_seen=yes;;
74859 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
74860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
74861 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
74862 _ACEOF
74863 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74864 ac_datarootdir_hack='
74865 s&@datadir@&$datadir&g
74866 s&@docdir@&$docdir&g
74867 s&@infodir@&$infodir&g
74868 s&@localedir@&$localedir&g
74869 s&@mandir@&$mandir&g
74870 s&\\\${datarootdir}&$datarootdir&g' ;;
74871 esac
74872 _ACEOF
74874 # Neutralize VPATH when `$srcdir' = `.'.
74875 # Shell code in configure.ac might set extrasub.
74876 # FIXME: do we really want to maintain this feature?
74877 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74878 ac_sed_extra="$ac_vpsub
74879 $extrasub
74880 _ACEOF
74881 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74883 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
74884 s|@configure_input@|$ac_sed_conf_input|;t t
74885 s&@top_builddir@&$ac_top_builddir_sub&;t t
74886 s&@top_build_prefix@&$ac_top_build_prefix&;t t
74887 s&@srcdir@&$ac_srcdir&;t t
74888 s&@abs_srcdir@&$ac_abs_srcdir&;t t
74889 s&@top_srcdir@&$ac_top_srcdir&;t t
74890 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
74891 s&@builddir@&$ac_builddir&;t t
74892 s&@abs_builddir@&$ac_abs_builddir&;t t
74893 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
74894 s&@INSTALL@&$ac_INSTALL&;t t
74895 s&@MKDIR_P@&$ac_MKDIR_P&;t t
74896 $ac_datarootdir_hack
74898 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
74899 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
74901 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
74902 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
74903 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
74904 "$ac_tmp/out"`; test -z "$ac_out"; } &&
74905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
74906 which seems to be undefined. Please make sure it is defined" >&5
74907 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
74908 which seems to be undefined. Please make sure it is defined" >&2;}
74910 rm -f "$ac_tmp/stdin"
74911 case $ac_file in
74912 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
74913 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
74914 esac \
74915 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
74919 # CONFIG_HEADER
74921 if test x"$ac_file" != x-; then
74923 $as_echo "/* $configure_input */" \
74924 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
74925 } >"$ac_tmp/config.h" \
74926 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
74927 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
74928 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
74929 $as_echo "$as_me: $ac_file is unchanged" >&6;}
74930 else
74931 rm -f "$ac_file"
74932 mv "$ac_tmp/config.h" "$ac_file" \
74933 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
74935 else
74936 $as_echo "/* $configure_input */" \
74937 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
74938 || as_fn_error $? "could not create -" "$LINENO" 5
74940 # Compute "$ac_file"'s index in $config_headers.
74941 _am_arg="$ac_file"
74942 _am_stamp_count=1
74943 for _am_header in $config_headers :; do
74944 case $_am_header in
74945 $_am_arg | $_am_arg:* )
74946 break ;;
74948 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
74949 esac
74950 done
74951 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
74952 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74953 X"$_am_arg" : 'X\(//\)[^/]' \| \
74954 X"$_am_arg" : 'X\(//\)$' \| \
74955 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
74956 $as_echo X"$_am_arg" |
74957 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
74958 s//\1/
74961 /^X\(\/\/\)[^/].*/{
74962 s//\1/
74965 /^X\(\/\/\)$/{
74966 s//\1/
74969 /^X\(\/\).*/{
74970 s//\1/
74973 s/.*/./; q'`/stamp-h$_am_stamp_count
74976 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
74977 $as_echo "$as_me: executing $ac_file commands" >&6;}
74979 esac
74982 case $ac_file$ac_mode in
74983 "default-1":C)
74984 # Only add multilib support code if we just rebuilt the top-level
74985 # Makefile.
74986 case " $CONFIG_FILES " in
74987 *" Makefile "*)
74988 ac_file=Makefile . ${multi_basedir}/config-ml.in
74990 esac ;;
74991 "libtool":C)
74993 # See if we are running on zsh, and set the options which allow our
74994 # commands through without removal of \ escapes.
74995 if test -n "${ZSH_VERSION+set}" ; then
74996 setopt NO_GLOB_SUBST
74999 cfgfile="${ofile}T"
75000 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
75001 $RM "$cfgfile"
75003 cat <<_LT_EOF >> "$cfgfile"
75004 #! $SHELL
75006 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
75007 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
75008 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
75009 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
75011 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
75012 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
75013 # Written by Gordon Matzigkeit, 1996
75015 # This file is part of GNU Libtool.
75017 # GNU Libtool is free software; you can redistribute it and/or
75018 # modify it under the terms of the GNU General Public License as
75019 # published by the Free Software Foundation; either version 2 of
75020 # the License, or (at your option) any later version.
75022 # As a special exception to the GNU General Public License,
75023 # if you distribute this file as part of a program or library that
75024 # is built using GNU Libtool, you may include this file under the
75025 # same distribution terms that you use for the rest of that program.
75027 # GNU Libtool is distributed in the hope that it will be useful,
75028 # but WITHOUT ANY WARRANTY; without even the implied warranty of
75029 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
75030 # GNU General Public License for more details.
75032 # You should have received a copy of the GNU General Public License
75033 # along with GNU Libtool; see the file COPYING. If not, a copy
75034 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
75035 # obtained by writing to the Free Software Foundation, Inc.,
75036 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
75039 # The names of the tagged configurations supported by this script.
75040 available_tags="CXX "
75042 # ### BEGIN LIBTOOL CONFIG
75044 # Which release of libtool.m4 was used?
75045 macro_version=$macro_version
75046 macro_revision=$macro_revision
75048 # Whether or not to build shared libraries.
75049 build_libtool_libs=$enable_shared
75051 # Whether or not to build static libraries.
75052 build_old_libs=$enable_static
75054 # What type of objects to build.
75055 pic_mode=$pic_mode
75057 # Whether or not to optimize for fast installation.
75058 fast_install=$enable_fast_install
75060 # Shell to use when invoking shell scripts.
75061 SHELL=$lt_SHELL
75063 # An echo program that protects backslashes.
75064 ECHO=$lt_ECHO
75066 # The host system.
75067 host_alias=$host_alias
75068 host=$host
75069 host_os=$host_os
75071 # The build system.
75072 build_alias=$build_alias
75073 build=$build
75074 build_os=$build_os
75076 # A sed program that does not truncate output.
75077 SED=$lt_SED
75079 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
75080 Xsed="\$SED -e 1s/^X//"
75082 # A grep program that handles long lines.
75083 GREP=$lt_GREP
75085 # An ERE matcher.
75086 EGREP=$lt_EGREP
75088 # A literal string matcher.
75089 FGREP=$lt_FGREP
75091 # A BSD- or MS-compatible name lister.
75092 NM=$lt_NM
75094 # Whether we need soft or hard links.
75095 LN_S=$lt_LN_S
75097 # What is the maximum length of a command?
75098 max_cmd_len=$max_cmd_len
75100 # Object file suffix (normally "o").
75101 objext=$ac_objext
75103 # Executable file suffix (normally "").
75104 exeext=$exeext
75106 # whether the shell understands "unset".
75107 lt_unset=$lt_unset
75109 # turn spaces into newlines.
75110 SP2NL=$lt_lt_SP2NL
75112 # turn newlines into spaces.
75113 NL2SP=$lt_lt_NL2SP
75115 # An object symbol dumper.
75116 OBJDUMP=$lt_OBJDUMP
75118 # Method to check whether dependent libraries are shared objects.
75119 deplibs_check_method=$lt_deplibs_check_method
75121 # Command to use when deplibs_check_method == "file_magic".
75122 file_magic_cmd=$lt_file_magic_cmd
75124 # The archiver.
75125 AR=$lt_AR
75126 AR_FLAGS=$lt_AR_FLAGS
75128 # A symbol stripping program.
75129 STRIP=$lt_STRIP
75131 # Commands used to install an old-style archive.
75132 RANLIB=$lt_RANLIB
75133 old_postinstall_cmds=$lt_old_postinstall_cmds
75134 old_postuninstall_cmds=$lt_old_postuninstall_cmds
75136 # Whether to use a lock for old archive extraction.
75137 lock_old_archive_extraction=$lock_old_archive_extraction
75139 # A C compiler.
75140 LTCC=$lt_CC
75142 # LTCC compiler flags.
75143 LTCFLAGS=$lt_CFLAGS
75145 # Take the output of nm and produce a listing of raw symbols and C names.
75146 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
75148 # Transform the output of nm in a proper C declaration.
75149 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
75151 # Transform the output of nm in a C name address pair.
75152 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
75154 # Transform the output of nm in a C name address pair when lib prefix is needed.
75155 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
75157 # The name of the directory that contains temporary libtool files.
75158 objdir=$objdir
75160 # Used to examine libraries when file_magic_cmd begins with "file".
75161 MAGIC_CMD=$MAGIC_CMD
75163 # Must we lock files when doing compilation?
75164 need_locks=$lt_need_locks
75166 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
75167 DSYMUTIL=$lt_DSYMUTIL
75169 # Tool to change global to local symbols on Mac OS X.
75170 NMEDIT=$lt_NMEDIT
75172 # Tool to manipulate fat objects and archives on Mac OS X.
75173 LIPO=$lt_LIPO
75175 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
75176 OTOOL=$lt_OTOOL
75178 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
75179 OTOOL64=$lt_OTOOL64
75181 # Old archive suffix (normally "a").
75182 libext=$libext
75184 # Shared library suffix (normally ".so").
75185 shrext_cmds=$lt_shrext_cmds
75187 # The commands to extract the exported symbol list from a shared archive.
75188 extract_expsyms_cmds=$lt_extract_expsyms_cmds
75190 # Variables whose values should be saved in libtool wrapper scripts and
75191 # restored at link time.
75192 variables_saved_for_relink=$lt_variables_saved_for_relink
75194 # Do we need the "lib" prefix for modules?
75195 need_lib_prefix=$need_lib_prefix
75197 # Do we need a version for libraries?
75198 need_version=$need_version
75200 # Library versioning type.
75201 version_type=$version_type
75203 # Shared library runtime path variable.
75204 runpath_var=$runpath_var
75206 # Shared library path variable.
75207 shlibpath_var=$shlibpath_var
75209 # Is shlibpath searched before the hard-coded library search path?
75210 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
75212 # Format of library name prefix.
75213 libname_spec=$lt_libname_spec
75215 # List of archive names. First name is the real one, the rest are links.
75216 # The last name is the one that the linker finds with -lNAME
75217 library_names_spec=$lt_library_names_spec
75219 # The coded name of the library, if different from the real name.
75220 soname_spec=$lt_soname_spec
75222 # Permission mode override for installation of shared libraries.
75223 install_override_mode=$lt_install_override_mode
75225 # Command to use after installation of a shared archive.
75226 postinstall_cmds=$lt_postinstall_cmds
75228 # Command to use after uninstallation of a shared archive.
75229 postuninstall_cmds=$lt_postuninstall_cmds
75231 # Commands used to finish a libtool library installation in a directory.
75232 finish_cmds=$lt_finish_cmds
75234 # As "finish_cmds", except a single script fragment to be evaled but
75235 # not shown.
75236 finish_eval=$lt_finish_eval
75238 # Whether we should hardcode library paths into libraries.
75239 hardcode_into_libs=$hardcode_into_libs
75241 # Compile-time system search path for libraries.
75242 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
75244 # Run-time system search path for libraries.
75245 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
75247 # Whether dlopen is supported.
75248 dlopen_support=$enable_dlopen
75250 # Whether dlopen of programs is supported.
75251 dlopen_self=$enable_dlopen_self
75253 # Whether dlopen of statically linked programs is supported.
75254 dlopen_self_static=$enable_dlopen_self_static
75256 # Commands to strip libraries.
75257 old_striplib=$lt_old_striplib
75258 striplib=$lt_striplib
75261 # The linker used to build libraries.
75262 LD=$lt_LD
75264 # How to create reloadable object files.
75265 reload_flag=$lt_reload_flag
75266 reload_cmds=$lt_reload_cmds
75268 # Commands used to build an old-style archive.
75269 old_archive_cmds=$lt_old_archive_cmds
75271 # A language specific compiler.
75272 CC=$lt_compiler
75274 # Is the compiler the GNU compiler?
75275 with_gcc=$GCC
75277 # Compiler flag to turn off builtin functions.
75278 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
75280 # How to pass a linker flag through the compiler.
75281 wl=$lt_lt_prog_compiler_wl
75283 # Additional compiler flags for building library objects.
75284 pic_flag=$lt_lt_prog_compiler_pic
75286 # Compiler flag to prevent dynamic linking.
75287 link_static_flag=$lt_lt_prog_compiler_static
75289 # Does compiler simultaneously support -c and -o options?
75290 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
75292 # Whether or not to add -lc for building shared libraries.
75293 build_libtool_need_lc=$archive_cmds_need_lc
75295 # Whether or not to disallow shared libs when runtime libs are static.
75296 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
75298 # Compiler flag to allow reflexive dlopens.
75299 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
75301 # Compiler flag to generate shared objects directly from archives.
75302 whole_archive_flag_spec=$lt_whole_archive_flag_spec
75304 # Whether the compiler copes with passing no objects directly.
75305 compiler_needs_object=$lt_compiler_needs_object
75307 # Create an old-style archive from a shared archive.
75308 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
75310 # Create a temporary old-style archive to link instead of a shared archive.
75311 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
75313 # Commands used to build a shared archive.
75314 archive_cmds=$lt_archive_cmds
75315 archive_expsym_cmds=$lt_archive_expsym_cmds
75317 # Commands used to build a loadable module if different from building
75318 # a shared archive.
75319 module_cmds=$lt_module_cmds
75320 module_expsym_cmds=$lt_module_expsym_cmds
75322 # Whether we are building with GNU ld or not.
75323 with_gnu_ld=$lt_with_gnu_ld
75325 # Flag that allows shared libraries with undefined symbols to be built.
75326 allow_undefined_flag=$lt_allow_undefined_flag
75328 # Flag that enforces no undefined symbols.
75329 no_undefined_flag=$lt_no_undefined_flag
75331 # Flag to hardcode \$libdir into a binary during linking.
75332 # This must work even if \$libdir does not exist
75333 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
75335 # If ld is used when linking, flag to hardcode \$libdir into a binary
75336 # during linking. This must work even if \$libdir does not exist.
75337 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
75339 # Whether we need a single "-rpath" flag with a separated argument.
75340 hardcode_libdir_separator=$lt_hardcode_libdir_separator
75342 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75343 # DIR into the resulting binary.
75344 hardcode_direct=$hardcode_direct
75346 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75347 # DIR into the resulting binary and the resulting library dependency is
75348 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
75349 # library is relocated.
75350 hardcode_direct_absolute=$hardcode_direct_absolute
75352 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
75353 # into the resulting binary.
75354 hardcode_minus_L=$hardcode_minus_L
75356 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
75357 # into the resulting binary.
75358 hardcode_shlibpath_var=$hardcode_shlibpath_var
75360 # Set to "yes" if building a shared library automatically hardcodes DIR
75361 # into the library and all subsequent libraries and executables linked
75362 # against it.
75363 hardcode_automatic=$hardcode_automatic
75365 # Set to yes if linker adds runtime paths of dependent libraries
75366 # to runtime path list.
75367 inherit_rpath=$inherit_rpath
75369 # Whether libtool must link a program against all its dependency libraries.
75370 link_all_deplibs=$link_all_deplibs
75372 # Fix the shell variable \$srcfile for the compiler.
75373 fix_srcfile_path=$lt_fix_srcfile_path
75375 # Set to "yes" if exported symbols are required.
75376 always_export_symbols=$always_export_symbols
75378 # The commands to list exported symbols.
75379 export_symbols_cmds=$lt_export_symbols_cmds
75381 # Symbols that should not be listed in the preloaded symbols.
75382 exclude_expsyms=$lt_exclude_expsyms
75384 # Symbols that must always be exported.
75385 include_expsyms=$lt_include_expsyms
75387 # Commands necessary for linking programs (against libraries) with templates.
75388 prelink_cmds=$lt_prelink_cmds
75390 # Specify filename containing input files.
75391 file_list_spec=$lt_file_list_spec
75393 # How to hardcode a shared library path into an executable.
75394 hardcode_action=$hardcode_action
75396 # The directories searched by this compiler when creating a shared library.
75397 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
75399 # Dependencies to place before and after the objects being linked to
75400 # create a shared library.
75401 predep_objects=$lt_predep_objects
75402 postdep_objects=$lt_postdep_objects
75403 predeps=$lt_predeps
75404 postdeps=$lt_postdeps
75406 # The library search path used internally by the compiler when linking
75407 # a shared library.
75408 compiler_lib_search_path=$lt_compiler_lib_search_path
75410 # ### END LIBTOOL CONFIG
75412 _LT_EOF
75414 case $host_os in
75415 aix3*)
75416 cat <<\_LT_EOF >> "$cfgfile"
75417 # AIX sometimes has problems with the GCC collect2 program. For some
75418 # reason, if we set the COLLECT_NAMES environment variable, the problems
75419 # vanish in a puff of smoke.
75420 if test "X${COLLECT_NAMES+set}" != Xset; then
75421 COLLECT_NAMES=
75422 export COLLECT_NAMES
75424 _LT_EOF
75426 esac
75429 ltmain="$ac_aux_dir/ltmain.sh"
75432 # We use sed instead of cat because bash on DJGPP gets confused if
75433 # if finds mixed CR/LF and LF-only lines. Since sed operates in
75434 # text mode, it properly converts lines to CR/LF. This bash problem
75435 # is reportedly fixed, but why not run on old versions too?
75436 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
75437 || (rm -f "$cfgfile"; exit 1)
75439 case $xsi_shell in
75440 yes)
75441 cat << \_LT_EOF >> "$cfgfile"
75443 # func_dirname file append nondir_replacement
75444 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
75445 # otherwise set result to NONDIR_REPLACEMENT.
75446 func_dirname ()
75448 case ${1} in
75449 */*) func_dirname_result="${1%/*}${2}" ;;
75450 * ) func_dirname_result="${3}" ;;
75451 esac
75454 # func_basename file
75455 func_basename ()
75457 func_basename_result="${1##*/}"
75460 # func_dirname_and_basename file append nondir_replacement
75461 # perform func_basename and func_dirname in a single function
75462 # call:
75463 # dirname: Compute the dirname of FILE. If nonempty,
75464 # add APPEND to the result, otherwise set result
75465 # to NONDIR_REPLACEMENT.
75466 # value returned in "$func_dirname_result"
75467 # basename: Compute filename of FILE.
75468 # value retuned in "$func_basename_result"
75469 # Implementation must be kept synchronized with func_dirname
75470 # and func_basename. For efficiency, we do not delegate to
75471 # those functions but instead duplicate the functionality here.
75472 func_dirname_and_basename ()
75474 case ${1} in
75475 */*) func_dirname_result="${1%/*}${2}" ;;
75476 * ) func_dirname_result="${3}" ;;
75477 esac
75478 func_basename_result="${1##*/}"
75481 # func_stripname prefix suffix name
75482 # strip PREFIX and SUFFIX off of NAME.
75483 # PREFIX and SUFFIX must not contain globbing or regex special
75484 # characters, hashes, percent signs, but SUFFIX may contain a leading
75485 # dot (in which case that matches only a dot).
75486 func_stripname ()
75488 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
75489 # positional parameters, so assign one to ordinary parameter first.
75490 func_stripname_result=${3}
75491 func_stripname_result=${func_stripname_result#"${1}"}
75492 func_stripname_result=${func_stripname_result%"${2}"}
75495 # func_opt_split
75496 func_opt_split ()
75498 func_opt_split_opt=${1%%=*}
75499 func_opt_split_arg=${1#*=}
75502 # func_lo2o object
75503 func_lo2o ()
75505 case ${1} in
75506 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
75507 *) func_lo2o_result=${1} ;;
75508 esac
75511 # func_xform libobj-or-source
75512 func_xform ()
75514 func_xform_result=${1%.*}.lo
75517 # func_arith arithmetic-term...
75518 func_arith ()
75520 func_arith_result=$(( $* ))
75523 # func_len string
75524 # STRING may not start with a hyphen.
75525 func_len ()
75527 func_len_result=${#1}
75530 _LT_EOF
75532 *) # Bourne compatible functions.
75533 cat << \_LT_EOF >> "$cfgfile"
75535 # func_dirname file append nondir_replacement
75536 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
75537 # otherwise set result to NONDIR_REPLACEMENT.
75538 func_dirname ()
75540 # Extract subdirectory from the argument.
75541 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
75542 if test "X$func_dirname_result" = "X${1}"; then
75543 func_dirname_result="${3}"
75544 else
75545 func_dirname_result="$func_dirname_result${2}"
75549 # func_basename file
75550 func_basename ()
75552 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
75556 # func_stripname prefix suffix name
75557 # strip PREFIX and SUFFIX off of NAME.
75558 # PREFIX and SUFFIX must not contain globbing or regex special
75559 # characters, hashes, percent signs, but SUFFIX may contain a leading
75560 # dot (in which case that matches only a dot).
75561 # func_strip_suffix prefix name
75562 func_stripname ()
75564 case ${2} in
75565 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
75566 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
75567 esac
75570 # sed scripts:
75571 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
75572 my_sed_long_arg='1s/^-[^=]*=//'
75574 # func_opt_split
75575 func_opt_split ()
75577 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
75578 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
75581 # func_lo2o object
75582 func_lo2o ()
75584 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
75587 # func_xform libobj-or-source
75588 func_xform ()
75590 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
75593 # func_arith arithmetic-term...
75594 func_arith ()
75596 func_arith_result=`expr "$@"`
75599 # func_len string
75600 # STRING may not start with a hyphen.
75601 func_len ()
75603 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
75606 _LT_EOF
75607 esac
75609 case $lt_shell_append in
75610 yes)
75611 cat << \_LT_EOF >> "$cfgfile"
75613 # func_append var value
75614 # Append VALUE to the end of shell variable VAR.
75615 func_append ()
75617 eval "$1+=\$2"
75619 _LT_EOF
75622 cat << \_LT_EOF >> "$cfgfile"
75624 # func_append var value
75625 # Append VALUE to the end of shell variable VAR.
75626 func_append ()
75628 eval "$1=\$$1\$2"
75631 _LT_EOF
75633 esac
75636 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
75637 || (rm -f "$cfgfile"; exit 1)
75639 mv -f "$cfgfile" "$ofile" ||
75640 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
75641 chmod +x "$ofile"
75644 cat <<_LT_EOF >> "$ofile"
75646 # ### BEGIN LIBTOOL TAG CONFIG: CXX
75648 # The linker used to build libraries.
75649 LD=$lt_LD_CXX
75651 # How to create reloadable object files.
75652 reload_flag=$lt_reload_flag_CXX
75653 reload_cmds=$lt_reload_cmds_CXX
75655 # Commands used to build an old-style archive.
75656 old_archive_cmds=$lt_old_archive_cmds_CXX
75658 # A language specific compiler.
75659 CC=$lt_compiler_CXX
75661 # Is the compiler the GNU compiler?
75662 with_gcc=$GCC_CXX
75664 # Compiler flag to turn off builtin functions.
75665 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
75667 # How to pass a linker flag through the compiler.
75668 wl=$lt_lt_prog_compiler_wl_CXX
75670 # Additional compiler flags for building library objects.
75671 pic_flag=$lt_lt_prog_compiler_pic_CXX
75673 # Compiler flag to prevent dynamic linking.
75674 link_static_flag=$lt_lt_prog_compiler_static_CXX
75676 # Does compiler simultaneously support -c and -o options?
75677 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
75679 # Whether or not to add -lc for building shared libraries.
75680 build_libtool_need_lc=$archive_cmds_need_lc_CXX
75682 # Whether or not to disallow shared libs when runtime libs are static.
75683 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
75685 # Compiler flag to allow reflexive dlopens.
75686 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
75688 # Compiler flag to generate shared objects directly from archives.
75689 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
75691 # Whether the compiler copes with passing no objects directly.
75692 compiler_needs_object=$lt_compiler_needs_object_CXX
75694 # Create an old-style archive from a shared archive.
75695 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
75697 # Create a temporary old-style archive to link instead of a shared archive.
75698 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
75700 # Commands used to build a shared archive.
75701 archive_cmds=$lt_archive_cmds_CXX
75702 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
75704 # Commands used to build a loadable module if different from building
75705 # a shared archive.
75706 module_cmds=$lt_module_cmds_CXX
75707 module_expsym_cmds=$lt_module_expsym_cmds_CXX
75709 # Whether we are building with GNU ld or not.
75710 with_gnu_ld=$lt_with_gnu_ld_CXX
75712 # Flag that allows shared libraries with undefined symbols to be built.
75713 allow_undefined_flag=$lt_allow_undefined_flag_CXX
75715 # Flag that enforces no undefined symbols.
75716 no_undefined_flag=$lt_no_undefined_flag_CXX
75718 # Flag to hardcode \$libdir into a binary during linking.
75719 # This must work even if \$libdir does not exist
75720 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
75722 # If ld is used when linking, flag to hardcode \$libdir into a binary
75723 # during linking. This must work even if \$libdir does not exist.
75724 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
75726 # Whether we need a single "-rpath" flag with a separated argument.
75727 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
75729 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75730 # DIR into the resulting binary.
75731 hardcode_direct=$hardcode_direct_CXX
75733 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75734 # DIR into the resulting binary and the resulting library dependency is
75735 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
75736 # library is relocated.
75737 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
75739 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
75740 # into the resulting binary.
75741 hardcode_minus_L=$hardcode_minus_L_CXX
75743 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
75744 # into the resulting binary.
75745 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
75747 # Set to "yes" if building a shared library automatically hardcodes DIR
75748 # into the library and all subsequent libraries and executables linked
75749 # against it.
75750 hardcode_automatic=$hardcode_automatic_CXX
75752 # Set to yes if linker adds runtime paths of dependent libraries
75753 # to runtime path list.
75754 inherit_rpath=$inherit_rpath_CXX
75756 # Whether libtool must link a program against all its dependency libraries.
75757 link_all_deplibs=$link_all_deplibs_CXX
75759 # Fix the shell variable \$srcfile for the compiler.
75760 fix_srcfile_path=$lt_fix_srcfile_path_CXX
75762 # Set to "yes" if exported symbols are required.
75763 always_export_symbols=$always_export_symbols_CXX
75765 # The commands to list exported symbols.
75766 export_symbols_cmds=$lt_export_symbols_cmds_CXX
75768 # Symbols that should not be listed in the preloaded symbols.
75769 exclude_expsyms=$lt_exclude_expsyms_CXX
75771 # Symbols that must always be exported.
75772 include_expsyms=$lt_include_expsyms_CXX
75774 # Commands necessary for linking programs (against libraries) with templates.
75775 prelink_cmds=$lt_prelink_cmds_CXX
75777 # Specify filename containing input files.
75778 file_list_spec=$lt_file_list_spec_CXX
75780 # How to hardcode a shared library path into an executable.
75781 hardcode_action=$hardcode_action_CXX
75783 # The directories searched by this compiler when creating a shared library.
75784 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
75786 # Dependencies to place before and after the objects being linked to
75787 # create a shared library.
75788 predep_objects=$lt_predep_objects_CXX
75789 postdep_objects=$lt_postdep_objects_CXX
75790 predeps=$lt_predeps_CXX
75791 postdeps=$lt_postdeps_CXX
75793 # The library search path used internally by the compiler when linking
75794 # a shared library.
75795 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
75797 # ### END LIBTOOL TAG CONFIG: CXX
75798 _LT_EOF
75801 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
75802 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
75803 "include/Makefile":F) cat > vpsed$$ << \_EOF
75804 s!`test -f '$<' || echo '$(srcdir)/'`!!
75805 _EOF
75806 sed -f vpsed$$ $ac_file > tmp$$
75807 mv tmp$$ $ac_file
75808 rm vpsed$$
75809 echo 'MULTISUBDIR =' >> $ac_file
75810 ml_norecursion=yes
75811 . ${multi_basedir}/config-ml.in
75812 { ml_norecursion=; unset ml_norecursion;}
75814 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
75815 s!`test -f '$<' || echo '$(srcdir)/'`!!
75816 _EOF
75817 sed -f vpsed$$ $ac_file > tmp$$
75818 mv tmp$$ $ac_file
75819 rm vpsed$$
75820 echo 'MULTISUBDIR =' >> $ac_file
75821 ml_norecursion=yes
75822 . ${multi_basedir}/config-ml.in
75823 { ml_norecursion=; unset ml_norecursion;}
75825 "src/Makefile":F) cat > vpsed$$ << \_EOF
75826 s!`test -f '$<' || echo '$(srcdir)/'`!!
75827 _EOF
75828 sed -f vpsed$$ $ac_file > tmp$$
75829 mv tmp$$ $ac_file
75830 rm vpsed$$
75831 echo 'MULTISUBDIR =' >> $ac_file
75832 ml_norecursion=yes
75833 . ${multi_basedir}/config-ml.in
75834 { ml_norecursion=; unset ml_norecursion;}
75836 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
75837 s!`test -f '$<' || echo '$(srcdir)/'`!!
75838 _EOF
75839 sed -f vpsed$$ $ac_file > tmp$$
75840 mv tmp$$ $ac_file
75841 rm vpsed$$
75842 echo 'MULTISUBDIR =' >> $ac_file
75843 ml_norecursion=yes
75844 . ${multi_basedir}/config-ml.in
75845 { ml_norecursion=; unset ml_norecursion;}
75847 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
75848 s!`test -f '$<' || echo '$(srcdir)/'`!!
75849 _EOF
75850 sed -f vpsed$$ $ac_file > tmp$$
75851 mv tmp$$ $ac_file
75852 rm vpsed$$
75853 echo 'MULTISUBDIR =' >> $ac_file
75854 ml_norecursion=yes
75855 . ${multi_basedir}/config-ml.in
75856 { ml_norecursion=; unset ml_norecursion;}
75858 "src/c++17/Makefile":F) cat > vpsed$$ << \_EOF
75859 s!`test -f '$<' || echo '$(srcdir)/'`!!
75860 _EOF
75861 sed -f vpsed$$ $ac_file > tmp$$
75862 mv tmp$$ $ac_file
75863 rm vpsed$$
75864 echo 'MULTISUBDIR =' >> $ac_file
75865 ml_norecursion=yes
75866 . ${multi_basedir}/config-ml.in
75867 { ml_norecursion=; unset ml_norecursion;}
75869 "src/c++20/Makefile":F) cat > vpsed$$ << \_EOF
75870 s!`test -f '$<' || echo '$(srcdir)/'`!!
75871 _EOF
75872 sed -f vpsed$$ $ac_file > tmp$$
75873 mv tmp$$ $ac_file
75874 rm vpsed$$
75875 echo 'MULTISUBDIR =' >> $ac_file
75876 ml_norecursion=yes
75877 . ${multi_basedir}/config-ml.in
75878 { ml_norecursion=; unset ml_norecursion;}
75880 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
75881 s!`test -f '$<' || echo '$(srcdir)/'`!!
75882 _EOF
75883 sed -f vpsed$$ $ac_file > tmp$$
75884 mv tmp$$ $ac_file
75885 rm vpsed$$
75886 echo 'MULTISUBDIR =' >> $ac_file
75887 ml_norecursion=yes
75888 . ${multi_basedir}/config-ml.in
75889 { ml_norecursion=; unset ml_norecursion;}
75891 "src/libbacktrace/Makefile":F) cat > vpsed$$ << \_EOF
75892 s!`test -f '$<' || echo '$(srcdir)/'`!!
75893 _EOF
75894 sed -f vpsed$$ $ac_file > tmp$$
75895 mv tmp$$ $ac_file
75896 rm vpsed$$
75897 echo 'MULTISUBDIR =' >> $ac_file
75898 ml_norecursion=yes
75899 . ${multi_basedir}/config-ml.in
75900 { ml_norecursion=; unset ml_norecursion;}
75902 "src/experimental/Makefile":F) cat > vpsed$$ << \_EOF
75903 s!`test -f '$<' || echo '$(srcdir)/'`!!
75904 _EOF
75905 sed -f vpsed$$ $ac_file > tmp$$
75906 mv tmp$$ $ac_file
75907 rm vpsed$$
75908 echo 'MULTISUBDIR =' >> $ac_file
75909 ml_norecursion=yes
75910 . ${multi_basedir}/config-ml.in
75911 { ml_norecursion=; unset ml_norecursion;}
75913 "doc/Makefile":F) cat > vpsed$$ << \_EOF
75914 s!`test -f '$<' || echo '$(srcdir)/'`!!
75915 _EOF
75916 sed -f vpsed$$ $ac_file > tmp$$
75917 mv tmp$$ $ac_file
75918 rm vpsed$$
75919 echo 'MULTISUBDIR =' >> $ac_file
75920 ml_norecursion=yes
75921 . ${multi_basedir}/config-ml.in
75922 { ml_norecursion=; unset ml_norecursion;}
75924 "po/Makefile":F) cat > vpsed$$ << \_EOF
75925 s!`test -f '$<' || echo '$(srcdir)/'`!!
75926 _EOF
75927 sed -f vpsed$$ $ac_file > tmp$$
75928 mv tmp$$ $ac_file
75929 rm vpsed$$
75930 echo 'MULTISUBDIR =' >> $ac_file
75931 ml_norecursion=yes
75932 . ${multi_basedir}/config-ml.in
75933 { ml_norecursion=; unset ml_norecursion;}
75935 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
75936 s!`test -f '$<' || echo '$(srcdir)/'`!!
75937 _EOF
75938 sed -f vpsed$$ $ac_file > tmp$$
75939 mv tmp$$ $ac_file
75940 rm vpsed$$
75941 echo 'MULTISUBDIR =' >> $ac_file
75942 ml_norecursion=yes
75943 . ${multi_basedir}/config-ml.in
75944 { ml_norecursion=; unset ml_norecursion;}
75946 "python/Makefile":F) cat > vpsed$$ << \_EOF
75947 s!`test -f '$<' || echo '$(srcdir)/'`!!
75948 _EOF
75949 sed -f vpsed$$ $ac_file > tmp$$
75950 mv tmp$$ $ac_file
75951 rm vpsed$$
75952 echo 'MULTISUBDIR =' >> $ac_file
75953 ml_norecursion=yes
75954 . ${multi_basedir}/config-ml.in
75955 { ml_norecursion=; unset ml_norecursion;}
75957 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
75959 esac
75960 done # for ac_tag
75963 as_fn_exit 0
75964 _ACEOF
75965 ac_clean_files=$ac_clean_files_save
75967 test $ac_write_fail = 0 ||
75968 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
75971 # configure is writing to config.log, and then calls config.status.
75972 # config.status does its own redirection, appending to config.log.
75973 # Unfortunately, on DOS this fails, as config.log is still kept open
75974 # by configure, so config.status won't be able to write to it; its
75975 # output is simply discarded. So we exec the FD to /dev/null,
75976 # effectively closing config.log, so it can be properly (re)opened and
75977 # appended to by config.status. When coming back to configure, we
75978 # need to make the FD available again.
75979 if test "$no_create" != yes; then
75980 ac_cs_success=:
75981 ac_config_status_args=
75982 test "$silent" = yes &&
75983 ac_config_status_args="$ac_config_status_args --quiet"
75984 exec 5>/dev/null
75985 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
75986 exec 5>>config.log
75987 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
75988 # would make configure fail if this is the last instruction.
75989 $ac_cs_success || as_fn_exit 1
75991 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
75992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
75993 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}