diagnostics: add automatic URL-ification within messages
[official-gcc.git] / libstdc++-v3 / configure
bloba4b12de1f8a8eecab0c17714407130897262f32c
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_DARWIN_AT_RPATH_FALSE
793 ENABLE_DARWIN_AT_RPATH_TRUE
794 enable_static
795 enable_shared
796 lt_host_flags
797 CXXCPP
798 OTOOL64
799 OTOOL
800 LIPO
801 NMEDIT
802 DSYMUTIL
803 OBJDUMP
805 ac_ct_DUMPBIN
806 DUMPBIN
808 FGREP
810 LIBTOOL
811 EGREP
812 GREP
814 MAINT
815 MAINTAINER_MODE_FALSE
816 MAINTAINER_MODE_TRUE
817 RANLIB
820 LN_S
821 toplevel_srcdir
822 toplevel_builddir
823 glibcxx_srcdir
824 glibcxx_builddir
825 ac_ct_CXX
826 CXXFLAGS
828 OBJEXT
829 EXEEXT
830 ac_ct_CC
831 CPPFLAGS
832 LDFLAGS
833 CFLAGS
835 AM_BACKSLASH
836 AM_DEFAULT_VERBOSITY
837 AM_DEFAULT_V
838 AM_V
839 am__untar
840 am__tar
841 AMTAR
842 am__leading_dot
843 SET_MAKE
845 mkdir_p
846 MKDIR_P
847 INSTALL_STRIP_PROGRAM
848 STRIP
849 install_sh
850 MAKEINFO
851 AUTOHEADER
852 AUTOMAKE
853 AUTOCONF
854 ACLOCAL
855 VERSION
856 PACKAGE
857 CYGPATH_W
858 am__isrc
859 INSTALL_DATA
860 INSTALL_SCRIPT
861 INSTALL_PROGRAM
862 target_os
863 target_vendor
864 target_cpu
865 target
866 host_os
867 host_vendor
868 host_cpu
869 host
870 build_os
871 build_vendor
872 build_cpu
873 build
874 multi_basedir
875 target_alias
876 host_alias
877 build_alias
878 LIBS
879 ECHO_T
880 ECHO_N
881 ECHO_C
882 DEFS
883 mandir
884 localedir
885 libdir
886 psdir
887 pdfdir
888 dvidir
889 htmldir
890 infodir
891 docdir
892 oldincludedir
893 includedir
894 localstatedir
895 sharedstatedir
896 sysconfdir
897 datadir
898 datarootdir
899 libexecdir
900 sbindir
901 bindir
902 program_transform_name
903 prefix
904 exec_prefix
905 PACKAGE_URL
906 PACKAGE_BUGREPORT
907 PACKAGE_STRING
908 PACKAGE_VERSION
909 PACKAGE_TARNAME
910 PACKAGE_NAME
911 PATH_SEPARATOR
912 SHELL'
913 ac_subst_files=''
914 ac_user_opts='
915 enable_option_checking
916 enable_multilib
917 enable_silent_rules
918 enable_largefile
919 with_target_subdir
920 with_cross_host
921 with_newlib
922 enable_maintainer_mode
923 enable_shared
924 enable_static
925 with_pic
926 enable_fast_install
927 with_gnu_ld
928 enable_libtool_lock
929 enable_darwin_at_rpath
930 enable_hosted_libstdcxx
931 enable_libstdcxx_hosted
932 enable_libstdcxx_verbose
933 enable_libstdcxx_pch
934 with_libstdcxx_lock_policy
935 enable_cstdio
936 enable_clocale
937 enable_nls
938 enable_libstdcxx_allocator
939 enable_cheaders_obsolete
940 enable_cheaders
941 enable_long_long
942 enable_wchar_t
943 enable_c99
944 enable_concept_checks
945 enable_libstdcxx_debug_flags
946 enable_libstdcxx_debug
947 enable_cxx_flags
948 enable_fully_dynamic_string
949 enable_extern_template
950 with_python_dir
951 enable_werror
952 enable_vtable_verify
953 enable_libstdcxx_time
954 enable_tls
955 enable_rpath
956 with_libiconv_prefix
957 with_libiconv_type
958 with_system_libunwind
959 enable_linux_futex
960 enable_symvers
961 enable_libstdcxx_visibility
962 enable_libstdcxx_dual_abi
963 with_default_libstdcxx_abi
964 enable_libstdcxx_threads
965 enable_libstdcxx_filesystem_ts
966 enable_libstdcxx_backtrace
967 enable_libstdcxx_static_eh_pool
968 with_libstdcxx_eh_pool_obj_count
969 with_libstdcxx_zoneinfo
970 enable_cet
971 with_gxx_include_dir
972 enable_version_specific_runtime_libs
973 with_toolexeclibdir
974 with_gcc_major_version_only
976 ac_precious_vars='build_alias
977 host_alias
978 target_alias
980 CFLAGS
981 LDFLAGS
982 LIBS
983 CPPFLAGS
985 CXXFLAGS
988 CXXCPP
989 CXXFILT'
992 # Initialize some variables set by options.
993 ac_init_help=
994 ac_init_version=false
995 ac_unrecognized_opts=
996 ac_unrecognized_sep=
997 # The variables have the same names as the options, with
998 # dashes changed to underlines.
999 cache_file=/dev/null
1000 exec_prefix=NONE
1001 no_create=
1002 no_recursion=
1003 prefix=NONE
1004 program_prefix=NONE
1005 program_suffix=NONE
1006 program_transform_name=s,x,x,
1007 silent=
1008 site=
1009 srcdir=
1010 verbose=
1011 x_includes=NONE
1012 x_libraries=NONE
1014 # Installation directory options.
1015 # These are left unexpanded so users can "make install exec_prefix=/foo"
1016 # and all the variables that are supposed to be based on exec_prefix
1017 # by default will actually change.
1018 # Use braces instead of parens because sh, perl, etc. also accept them.
1019 # (The list follows the same order as the GNU Coding Standards.)
1020 bindir='${exec_prefix}/bin'
1021 sbindir='${exec_prefix}/sbin'
1022 libexecdir='${exec_prefix}/libexec'
1023 datarootdir='${prefix}/share'
1024 datadir='${datarootdir}'
1025 sysconfdir='${prefix}/etc'
1026 sharedstatedir='${prefix}/com'
1027 localstatedir='${prefix}/var'
1028 includedir='${prefix}/include'
1029 oldincludedir='/usr/include'
1030 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1031 infodir='${datarootdir}/info'
1032 htmldir='${docdir}'
1033 dvidir='${docdir}'
1034 pdfdir='${docdir}'
1035 psdir='${docdir}'
1036 libdir='${exec_prefix}/lib'
1037 localedir='${datarootdir}/locale'
1038 mandir='${datarootdir}/man'
1040 ac_prev=
1041 ac_dashdash=
1042 for ac_option
1044 # If the previous option needs an argument, assign it.
1045 if test -n "$ac_prev"; then
1046 eval $ac_prev=\$ac_option
1047 ac_prev=
1048 continue
1051 case $ac_option in
1052 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1053 *=) ac_optarg= ;;
1054 *) ac_optarg=yes ;;
1055 esac
1057 # Accept the important Cygnus configure options, so we can diagnose typos.
1059 case $ac_dashdash$ac_option in
1061 ac_dashdash=yes ;;
1063 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1064 ac_prev=bindir ;;
1065 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1066 bindir=$ac_optarg ;;
1068 -build | --build | --buil | --bui | --bu)
1069 ac_prev=build_alias ;;
1070 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1071 build_alias=$ac_optarg ;;
1073 -cache-file | --cache-file | --cache-fil | --cache-fi \
1074 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1075 ac_prev=cache_file ;;
1076 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1077 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1078 cache_file=$ac_optarg ;;
1080 --config-cache | -C)
1081 cache_file=config.cache ;;
1083 -datadir | --datadir | --datadi | --datad)
1084 ac_prev=datadir ;;
1085 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1086 datadir=$ac_optarg ;;
1088 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1089 | --dataroo | --dataro | --datar)
1090 ac_prev=datarootdir ;;
1091 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1092 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1093 datarootdir=$ac_optarg ;;
1095 -disable-* | --disable-*)
1096 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1097 # Reject names that are not valid shell variable names.
1098 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1099 as_fn_error $? "invalid feature name: $ac_useropt"
1100 ac_useropt_orig=$ac_useropt
1101 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1102 case $ac_user_opts in
1104 "enable_$ac_useropt"
1105 "*) ;;
1106 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1107 ac_unrecognized_sep=', ';;
1108 esac
1109 eval enable_$ac_useropt=no ;;
1111 -docdir | --docdir | --docdi | --doc | --do)
1112 ac_prev=docdir ;;
1113 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1114 docdir=$ac_optarg ;;
1116 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1117 ac_prev=dvidir ;;
1118 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1119 dvidir=$ac_optarg ;;
1121 -enable-* | --enable-*)
1122 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1123 # Reject names that are not valid shell variable names.
1124 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1125 as_fn_error $? "invalid feature name: $ac_useropt"
1126 ac_useropt_orig=$ac_useropt
1127 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1128 case $ac_user_opts in
1130 "enable_$ac_useropt"
1131 "*) ;;
1132 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1133 ac_unrecognized_sep=', ';;
1134 esac
1135 eval enable_$ac_useropt=\$ac_optarg ;;
1137 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1138 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1139 | --exec | --exe | --ex)
1140 ac_prev=exec_prefix ;;
1141 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1142 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1143 | --exec=* | --exe=* | --ex=*)
1144 exec_prefix=$ac_optarg ;;
1146 -gas | --gas | --ga | --g)
1147 # Obsolete; use --with-gas.
1148 with_gas=yes ;;
1150 -help | --help | --hel | --he | -h)
1151 ac_init_help=long ;;
1152 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1153 ac_init_help=recursive ;;
1154 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1155 ac_init_help=short ;;
1157 -host | --host | --hos | --ho)
1158 ac_prev=host_alias ;;
1159 -host=* | --host=* | --hos=* | --ho=*)
1160 host_alias=$ac_optarg ;;
1162 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1163 ac_prev=htmldir ;;
1164 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1165 | --ht=*)
1166 htmldir=$ac_optarg ;;
1168 -includedir | --includedir | --includedi | --included | --include \
1169 | --includ | --inclu | --incl | --inc)
1170 ac_prev=includedir ;;
1171 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1172 | --includ=* | --inclu=* | --incl=* | --inc=*)
1173 includedir=$ac_optarg ;;
1175 -infodir | --infodir | --infodi | --infod | --info | --inf)
1176 ac_prev=infodir ;;
1177 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1178 infodir=$ac_optarg ;;
1180 -libdir | --libdir | --libdi | --libd)
1181 ac_prev=libdir ;;
1182 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1183 libdir=$ac_optarg ;;
1185 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1186 | --libexe | --libex | --libe)
1187 ac_prev=libexecdir ;;
1188 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1189 | --libexe=* | --libex=* | --libe=*)
1190 libexecdir=$ac_optarg ;;
1192 -localedir | --localedir | --localedi | --localed | --locale)
1193 ac_prev=localedir ;;
1194 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1195 localedir=$ac_optarg ;;
1197 -localstatedir | --localstatedir | --localstatedi | --localstated \
1198 | --localstate | --localstat | --localsta | --localst | --locals)
1199 ac_prev=localstatedir ;;
1200 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1201 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1202 localstatedir=$ac_optarg ;;
1204 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1205 ac_prev=mandir ;;
1206 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1207 mandir=$ac_optarg ;;
1209 -nfp | --nfp | --nf)
1210 # Obsolete; use --without-fp.
1211 with_fp=no ;;
1213 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1214 | --no-cr | --no-c | -n)
1215 no_create=yes ;;
1217 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1218 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1219 no_recursion=yes ;;
1221 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1222 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1223 | --oldin | --oldi | --old | --ol | --o)
1224 ac_prev=oldincludedir ;;
1225 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1226 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1227 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1228 oldincludedir=$ac_optarg ;;
1230 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1231 ac_prev=prefix ;;
1232 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1233 prefix=$ac_optarg ;;
1235 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1236 | --program-pre | --program-pr | --program-p)
1237 ac_prev=program_prefix ;;
1238 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1239 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1240 program_prefix=$ac_optarg ;;
1242 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1243 | --program-suf | --program-su | --program-s)
1244 ac_prev=program_suffix ;;
1245 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1246 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1247 program_suffix=$ac_optarg ;;
1249 -program-transform-name | --program-transform-name \
1250 | --program-transform-nam | --program-transform-na \
1251 | --program-transform-n | --program-transform- \
1252 | --program-transform | --program-transfor \
1253 | --program-transfo | --program-transf \
1254 | --program-trans | --program-tran \
1255 | --progr-tra | --program-tr | --program-t)
1256 ac_prev=program_transform_name ;;
1257 -program-transform-name=* | --program-transform-name=* \
1258 | --program-transform-nam=* | --program-transform-na=* \
1259 | --program-transform-n=* | --program-transform-=* \
1260 | --program-transform=* | --program-transfor=* \
1261 | --program-transfo=* | --program-transf=* \
1262 | --program-trans=* | --program-tran=* \
1263 | --progr-tra=* | --program-tr=* | --program-t=*)
1264 program_transform_name=$ac_optarg ;;
1266 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1267 ac_prev=pdfdir ;;
1268 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1269 pdfdir=$ac_optarg ;;
1271 -psdir | --psdir | --psdi | --psd | --ps)
1272 ac_prev=psdir ;;
1273 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1274 psdir=$ac_optarg ;;
1276 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1277 | -silent | --silent | --silen | --sile | --sil)
1278 silent=yes ;;
1280 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1281 ac_prev=sbindir ;;
1282 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1283 | --sbi=* | --sb=*)
1284 sbindir=$ac_optarg ;;
1286 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1287 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1288 | --sharedst | --shareds | --shared | --share | --shar \
1289 | --sha | --sh)
1290 ac_prev=sharedstatedir ;;
1291 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1292 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1293 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1294 | --sha=* | --sh=*)
1295 sharedstatedir=$ac_optarg ;;
1297 -site | --site | --sit)
1298 ac_prev=site ;;
1299 -site=* | --site=* | --sit=*)
1300 site=$ac_optarg ;;
1302 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1303 ac_prev=srcdir ;;
1304 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1305 srcdir=$ac_optarg ;;
1307 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1308 | --syscon | --sysco | --sysc | --sys | --sy)
1309 ac_prev=sysconfdir ;;
1310 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1311 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1312 sysconfdir=$ac_optarg ;;
1314 -target | --target | --targe | --targ | --tar | --ta | --t)
1315 ac_prev=target_alias ;;
1316 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1317 target_alias=$ac_optarg ;;
1319 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1320 verbose=yes ;;
1322 -version | --version | --versio | --versi | --vers | -V)
1323 ac_init_version=: ;;
1325 -with-* | --with-*)
1326 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1327 # Reject names that are not valid shell variable names.
1328 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1329 as_fn_error $? "invalid package name: $ac_useropt"
1330 ac_useropt_orig=$ac_useropt
1331 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1332 case $ac_user_opts in
1334 "with_$ac_useropt"
1335 "*) ;;
1336 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1337 ac_unrecognized_sep=', ';;
1338 esac
1339 eval with_$ac_useropt=\$ac_optarg ;;
1341 -without-* | --without-*)
1342 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1343 # Reject names that are not valid shell variable names.
1344 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1345 as_fn_error $? "invalid package name: $ac_useropt"
1346 ac_useropt_orig=$ac_useropt
1347 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1348 case $ac_user_opts in
1350 "with_$ac_useropt"
1351 "*) ;;
1352 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1353 ac_unrecognized_sep=', ';;
1354 esac
1355 eval with_$ac_useropt=no ;;
1357 --x)
1358 # Obsolete; use --with-x.
1359 with_x=yes ;;
1361 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1362 | --x-incl | --x-inc | --x-in | --x-i)
1363 ac_prev=x_includes ;;
1364 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1365 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1366 x_includes=$ac_optarg ;;
1368 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1369 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1370 ac_prev=x_libraries ;;
1371 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1372 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1373 x_libraries=$ac_optarg ;;
1375 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1376 Try \`$0 --help' for more information"
1379 *=*)
1380 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1381 # Reject names that are not valid shell variable names.
1382 case $ac_envvar in #(
1383 '' | [0-9]* | *[!_$as_cr_alnum]* )
1384 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1385 esac
1386 eval $ac_envvar=\$ac_optarg
1387 export $ac_envvar ;;
1390 # FIXME: should be removed in autoconf 3.0.
1391 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1392 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1393 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1394 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1397 esac
1398 done
1400 if test -n "$ac_prev"; then
1401 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1402 as_fn_error $? "missing argument to $ac_option"
1405 if test -n "$ac_unrecognized_opts"; then
1406 case $enable_option_checking in
1407 no) ;;
1408 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1409 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1410 esac
1413 # Check all directory arguments for consistency.
1414 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1415 datadir sysconfdir sharedstatedir localstatedir includedir \
1416 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1417 libdir localedir mandir
1419 eval ac_val=\$$ac_var
1420 # Remove trailing slashes.
1421 case $ac_val in
1422 */ )
1423 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1424 eval $ac_var=\$ac_val;;
1425 esac
1426 # Be sure to have absolute directory names.
1427 case $ac_val in
1428 [\\/$]* | ?:[\\/]* ) continue;;
1429 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1430 esac
1431 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1432 done
1434 # There might be people who depend on the old broken behavior: `$host'
1435 # used to hold the argument of --host etc.
1436 # FIXME: To remove some day.
1437 build=$build_alias
1438 host=$host_alias
1439 target=$target_alias
1441 # FIXME: To remove some day.
1442 if test "x$host_alias" != x; then
1443 if test "x$build_alias" = x; then
1444 cross_compiling=maybe
1445 elif test "x$build_alias" != "x$host_alias"; then
1446 cross_compiling=yes
1450 ac_tool_prefix=
1451 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1453 test "$silent" = yes && exec 6>/dev/null
1456 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1457 ac_ls_di=`ls -di .` &&
1458 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1459 as_fn_error $? "working directory cannot be determined"
1460 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1461 as_fn_error $? "pwd does not report name of working directory"
1464 # Find the source files, if location was not specified.
1465 if test -z "$srcdir"; then
1466 ac_srcdir_defaulted=yes
1467 # Try the directory containing this script, then the parent directory.
1468 ac_confdir=`$as_dirname -- "$as_myself" ||
1469 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1470 X"$as_myself" : 'X\(//\)[^/]' \| \
1471 X"$as_myself" : 'X\(//\)$' \| \
1472 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1473 $as_echo X"$as_myself" |
1474 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1475 s//\1/
1478 /^X\(\/\/\)[^/].*/{
1479 s//\1/
1482 /^X\(\/\/\)$/{
1483 s//\1/
1486 /^X\(\/\).*/{
1487 s//\1/
1490 s/.*/./; q'`
1491 srcdir=$ac_confdir
1492 if test ! -r "$srcdir/$ac_unique_file"; then
1493 srcdir=..
1495 else
1496 ac_srcdir_defaulted=no
1498 if test ! -r "$srcdir/$ac_unique_file"; then
1499 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1500 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1502 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1503 ac_abs_confdir=`(
1504 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1505 pwd)`
1506 # When building in place, set srcdir=.
1507 if test "$ac_abs_confdir" = "$ac_pwd"; then
1508 srcdir=.
1510 # Remove unnecessary trailing slashes from srcdir.
1511 # Double slashes in file names in object file debugging info
1512 # mess up M-x gdb in Emacs.
1513 case $srcdir in
1514 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1515 esac
1516 for ac_var in $ac_precious_vars; do
1517 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1518 eval ac_env_${ac_var}_value=\$${ac_var}
1519 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1520 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1521 done
1524 # Report the --help message.
1526 if test "$ac_init_help" = "long"; then
1527 # Omit some internal or obsolete options to make the list less imposing.
1528 # This message is too long to be a string in the A/UX 3.1 sh.
1529 cat <<_ACEOF
1530 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1532 Usage: $0 [OPTION]... [VAR=VALUE]...
1534 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1535 VAR=VALUE. See below for descriptions of some of the useful variables.
1537 Defaults for the options are specified in brackets.
1539 Configuration:
1540 -h, --help display this help and exit
1541 --help=short display options specific to this package
1542 --help=recursive display the short help of all the included packages
1543 -V, --version display version information and exit
1544 -q, --quiet, --silent do not print \`checking ...' messages
1545 --cache-file=FILE cache test results in FILE [disabled]
1546 -C, --config-cache alias for \`--cache-file=config.cache'
1547 -n, --no-create do not create output files
1548 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1550 Installation directories:
1551 --prefix=PREFIX install architecture-independent files in PREFIX
1552 [$ac_default_prefix]
1553 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1554 [PREFIX]
1556 By default, \`make install' will install all the files in
1557 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1558 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1559 for instance \`--prefix=\$HOME'.
1561 For better control, use the options below.
1563 Fine tuning of the installation directories:
1564 --bindir=DIR user executables [EPREFIX/bin]
1565 --sbindir=DIR system admin executables [EPREFIX/sbin]
1566 --libexecdir=DIR program executables [EPREFIX/libexec]
1567 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1568 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1569 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1570 --libdir=DIR object code libraries [EPREFIX/lib]
1571 --includedir=DIR C header files [PREFIX/include]
1572 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1573 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1574 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1575 --infodir=DIR info documentation [DATAROOTDIR/info]
1576 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1577 --mandir=DIR man documentation [DATAROOTDIR/man]
1578 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1579 --htmldir=DIR html documentation [DOCDIR]
1580 --dvidir=DIR dvi documentation [DOCDIR]
1581 --pdfdir=DIR pdf documentation [DOCDIR]
1582 --psdir=DIR ps documentation [DOCDIR]
1583 _ACEOF
1585 cat <<\_ACEOF
1587 Program names:
1588 --program-prefix=PREFIX prepend PREFIX to installed program names
1589 --program-suffix=SUFFIX append SUFFIX to installed program names
1590 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1592 System types:
1593 --build=BUILD configure for building on BUILD [guessed]
1594 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1595 --target=TARGET configure for building compilers for TARGET [HOST]
1596 _ACEOF
1599 if test -n "$ac_init_help"; then
1600 case $ac_init_help in
1601 short | recursive ) echo "Configuration of package-unused version-unused:";;
1602 esac
1603 cat <<\_ACEOF
1605 Optional Features:
1606 --disable-option-checking ignore unrecognized --enable/--with options
1607 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1608 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1609 --enable-multilib build many library versions (default)
1610 --enable-silent-rules less verbose build output (undo: "make V=1")
1611 --disable-silent-rules verbose build output (undo: "make V=0")
1612 --disable-largefile omit support for large files
1613 --enable-maintainer-mode
1614 enable make rules and dependencies not useful (and
1615 sometimes confusing) to the casual installer
1616 --enable-shared[=PKGS] build shared libraries [default=yes]
1617 --enable-static[=PKGS] build static libraries [default=yes]
1618 --enable-fast-install[=PKGS]
1619 optimize for fast installation [default=yes]
1620 --disable-libtool-lock avoid locking (might break parallel builds)
1621 --enable-darwin-at-rpath
1622 install libraries with @rpath/library-name, requires
1623 rpaths to be added to executables
1624 --disable-hosted-libstdcxx
1625 only build freestanding C++ runtime support
1626 --disable-libstdcxx-hosted
1627 alias for --disable-hosted-libstdcxx
1628 --disable-libstdcxx-verbose
1629 disable termination messages to standard error
1630 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1631 [default=$is_hosted]
1632 --enable-cstdio[=PACKAGE]
1633 use target-specific I/O package [default=stdio]
1634 --enable-clocale[=MODEL]
1635 use MODEL for target locale package [default=auto]
1636 --enable-nls use Native Language Support (default)
1637 --enable-libstdcxx-allocator[=KIND]
1638 use KIND for target std::allocator base
1639 [default=auto]
1640 --enable-cheaders-obsolete
1641 allow use of obsolete "C" headers for g++
1642 [default=no]
1643 --enable-cheaders[=KIND]
1644 construct "C" headers for g++ [default=$c_model]
1645 --enable-long-long enable template specializations for 'long long'
1646 [default=yes]
1647 --enable-wchar_t enable template specializations for 'wchar_t'
1648 [default=yes]
1649 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1650 --enable-concept-checks use Boost-derived template checks [default=no]
1651 --enable-libstdcxx-debug-flags=FLAGS
1652 pass compiler FLAGS when building debug library
1653 [default="-g3 -O0 -D_GLIBCXX_ASSERTIONS"]
1654 --enable-libstdcxx-debug
1655 build extra debug library [default=no]
1656 --enable-cxx-flags=FLAGS
1657 pass compiler FLAGS when building library [default=]
1658 --enable-fully-dynamic-string
1659 do not put empty strings in per-process static
1660 memory [default=no]
1661 --enable-extern-template
1662 enable extern template [default=yes]
1663 --enable-werror turns on -Werror [default=no]
1664 --enable-vtable-verify enable vtable verify [default=no]
1665 --enable-libstdcxx-time[=KIND]
1666 use KIND for check type [default=auto]
1667 --enable-tls Use thread-local storage [default=yes]
1668 --disable-rpath do not hardcode runtime library paths
1669 --enable-linux-futex use the Linux futex system call [default=default]
1670 --enable-symvers[=STYLE]
1671 enables symbol versioning of the shared library
1672 [default=yes]
1673 --enable-libstdcxx-visibility
1674 enables visibility safe usage [default=yes]
1675 --enable-libstdcxx-dual-abi
1676 support two versions of std::string [default=yes]
1677 --enable-libstdcxx-threads
1678 enable C++11 threads support [default=auto]
1679 --enable-libstdcxx-filesystem-ts
1680 turns on ISO/IEC TS 18822 support [default=auto]
1681 --enable-libstdcxx-backtrace
1682 turns on libbacktrace support [default=auto]
1683 --enable-libstdcxx-static-eh-pool
1684 use a fixed-size static buffer for allocating
1685 exceptions if malloc fails
1686 --enable-cet enable Intel CET in target libraries [default=auto]
1687 --enable-version-specific-runtime-libs
1688 Specify that runtime libraries should be installed
1689 in a compiler-specific directory
1691 Optional Packages:
1692 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1693 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1694 --with-target-subdir=SUBDIR
1695 configuring in a subdirectory
1696 --with-cross-host=HOST configuring with a cross compiler
1697 --with-newlib assume newlib as a system C library
1698 --with-pic try to use only PIC/non-PIC objects [default=use
1699 both]
1700 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1701 --with-libstdcxx-lock-policy={atomic,mutex,auto}
1702 synchronization policy for shared_ptr reference
1703 counting [default=auto]
1704 --with-python-dir the location to install Python modules. This path is
1705 relative starting from the prefix.
1706 --with-gnu-ld assume the C compiler uses GNU ld default=no
1707 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1708 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1709 --with-libiconv-type=TYPE type of library to search for (auto/static/shared)
1710 --with-system-libunwind use installed libunwind
1711 --with-default-libstdcxx-abi
1712 set the std::string ABI to use by default
1713 --with-libstdcxx-eh-pool-obj-count
1714 the number of exceptions that can be allocated from
1715 the pool if malloc fails
1716 --with-libstdcxx-zoneinfo
1717 the location to use for tzdata
1718 --with-gxx-include-dir=DIR
1719 installation directory for include files
1720 --with-toolexeclibdir=DIR
1721 install libraries built with a cross compiler within
1723 --with-gcc-major-version-only
1724 use only GCC major number in filesystem paths
1726 Some influential environment variables:
1727 CC C compiler command
1728 CFLAGS C compiler flags
1729 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1730 nonstandard directory <lib dir>
1731 LIBS libraries to pass to the linker, e.g. -l<library>
1732 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1733 you have headers in a nonstandard directory <include dir>
1734 CXX C++ compiler command
1735 CXXFLAGS C++ compiler flags
1736 CPP C preprocessor
1737 CXXCPP C++ preprocessor
1738 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1739 `c++filt', `gc++filt' on PATH.
1741 Use these variables to override the choices made by `configure' or to help
1742 it to find libraries and programs with nonstandard names/locations.
1744 Report bugs to the package provider.
1745 _ACEOF
1746 ac_status=$?
1749 if test "$ac_init_help" = "recursive"; then
1750 # If there are subdirs, report their specific --help.
1751 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1752 test -d "$ac_dir" ||
1753 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1754 continue
1755 ac_builddir=.
1757 case "$ac_dir" in
1758 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1760 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1761 # A ".." for each directory in $ac_dir_suffix.
1762 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1763 case $ac_top_builddir_sub in
1764 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1765 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1766 esac ;;
1767 esac
1768 ac_abs_top_builddir=$ac_pwd
1769 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1770 # for backward compatibility:
1771 ac_top_builddir=$ac_top_build_prefix
1773 case $srcdir in
1774 .) # We are building in place.
1775 ac_srcdir=.
1776 ac_top_srcdir=$ac_top_builddir_sub
1777 ac_abs_top_srcdir=$ac_pwd ;;
1778 [\\/]* | ?:[\\/]* ) # Absolute name.
1779 ac_srcdir=$srcdir$ac_dir_suffix;
1780 ac_top_srcdir=$srcdir
1781 ac_abs_top_srcdir=$srcdir ;;
1782 *) # Relative name.
1783 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1784 ac_top_srcdir=$ac_top_build_prefix$srcdir
1785 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1786 esac
1787 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1789 cd "$ac_dir" || { ac_status=$?; continue; }
1790 # Check for guested configure.
1791 if test -f "$ac_srcdir/configure.gnu"; then
1792 echo &&
1793 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1794 elif test -f "$ac_srcdir/configure"; then
1795 echo &&
1796 $SHELL "$ac_srcdir/configure" --help=recursive
1797 else
1798 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1799 fi || ac_status=$?
1800 cd "$ac_pwd" || { ac_status=$?; break; }
1801 done
1804 test -n "$ac_init_help" && exit $ac_status
1805 if $ac_init_version; then
1806 cat <<\_ACEOF
1807 package-unused configure version-unused
1808 generated by GNU Autoconf 2.69
1810 Copyright (C) 2012 Free Software Foundation, Inc.
1811 This configure script is free software; the Free Software Foundation
1812 gives unlimited permission to copy, distribute and modify it.
1813 _ACEOF
1814 exit
1817 ## ------------------------ ##
1818 ## Autoconf initialization. ##
1819 ## ------------------------ ##
1821 # ac_fn_c_try_compile LINENO
1822 # --------------------------
1823 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1824 ac_fn_c_try_compile ()
1826 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1827 rm -f conftest.$ac_objext
1828 if { { ac_try="$ac_compile"
1829 case "(($ac_try" in
1830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1831 *) ac_try_echo=$ac_try;;
1832 esac
1833 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1834 $as_echo "$ac_try_echo"; } >&5
1835 (eval "$ac_compile") 2>conftest.err
1836 ac_status=$?
1837 if test -s conftest.err; then
1838 grep -v '^ *+' conftest.err >conftest.er1
1839 cat conftest.er1 >&5
1840 mv -f conftest.er1 conftest.err
1842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1843 test $ac_status = 0; } && {
1844 test -z "$ac_c_werror_flag" ||
1845 test ! -s conftest.err
1846 } && test -s conftest.$ac_objext; then :
1847 ac_retval=0
1848 else
1849 $as_echo "$as_me: failed program was:" >&5
1850 sed 's/^/| /' conftest.$ac_ext >&5
1852 ac_retval=1
1854 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1855 as_fn_set_status $ac_retval
1857 } # ac_fn_c_try_compile
1859 # ac_fn_cxx_try_compile LINENO
1860 # ----------------------------
1861 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1862 ac_fn_cxx_try_compile ()
1864 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1865 rm -f conftest.$ac_objext
1866 if { { ac_try="$ac_compile"
1867 case "(($ac_try" in
1868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1869 *) ac_try_echo=$ac_try;;
1870 esac
1871 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1872 $as_echo "$ac_try_echo"; } >&5
1873 (eval "$ac_compile") 2>conftest.err
1874 ac_status=$?
1875 if test -s conftest.err; then
1876 grep -v '^ *+' conftest.err >conftest.er1
1877 cat conftest.er1 >&5
1878 mv -f conftest.er1 conftest.err
1880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1881 test $ac_status = 0; } && {
1882 test -z "$ac_cxx_werror_flag" ||
1883 test ! -s conftest.err
1884 } && test -s conftest.$ac_objext; then :
1885 ac_retval=0
1886 else
1887 $as_echo "$as_me: failed program was:" >&5
1888 sed 's/^/| /' conftest.$ac_ext >&5
1890 ac_retval=1
1892 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1893 as_fn_set_status $ac_retval
1895 } # ac_fn_cxx_try_compile
1897 # ac_fn_c_try_cpp LINENO
1898 # ----------------------
1899 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1900 ac_fn_c_try_cpp ()
1902 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1903 if { { ac_try="$ac_cpp conftest.$ac_ext"
1904 case "(($ac_try" in
1905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1906 *) ac_try_echo=$ac_try;;
1907 esac
1908 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1909 $as_echo "$ac_try_echo"; } >&5
1910 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1911 ac_status=$?
1912 if test -s conftest.err; then
1913 grep -v '^ *+' conftest.err >conftest.er1
1914 cat conftest.er1 >&5
1915 mv -f conftest.er1 conftest.err
1917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1918 test $ac_status = 0; } > conftest.i && {
1919 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1920 test ! -s conftest.err
1921 }; then :
1922 ac_retval=0
1923 else
1924 $as_echo "$as_me: failed program was:" >&5
1925 sed 's/^/| /' conftest.$ac_ext >&5
1927 ac_retval=1
1929 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1930 as_fn_set_status $ac_retval
1932 } # ac_fn_c_try_cpp
1934 # ac_fn_c_try_link LINENO
1935 # -----------------------
1936 # Try to link conftest.$ac_ext, and return whether this succeeded.
1937 ac_fn_c_try_link ()
1939 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1940 rm -f conftest.$ac_objext conftest$ac_exeext
1941 if { { ac_try="$ac_link"
1942 case "(($ac_try" in
1943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1944 *) ac_try_echo=$ac_try;;
1945 esac
1946 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1947 $as_echo "$ac_try_echo"; } >&5
1948 (eval "$ac_link") 2>conftest.err
1949 ac_status=$?
1950 if test -s conftest.err; then
1951 grep -v '^ *+' conftest.err >conftest.er1
1952 cat conftest.er1 >&5
1953 mv -f conftest.er1 conftest.err
1955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1956 test $ac_status = 0; } && {
1957 test -z "$ac_c_werror_flag" ||
1958 test ! -s conftest.err
1959 } && test -s conftest$ac_exeext && {
1960 test "$cross_compiling" = yes ||
1961 test -x conftest$ac_exeext
1962 }; then :
1963 ac_retval=0
1964 else
1965 $as_echo "$as_me: failed program was:" >&5
1966 sed 's/^/| /' conftest.$ac_ext >&5
1968 ac_retval=1
1970 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1971 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1972 # interfere with the next link command; also delete a directory that is
1973 # left behind by Apple's compiler. We do this before executing the actions.
1974 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1975 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1976 as_fn_set_status $ac_retval
1978 } # ac_fn_c_try_link
1980 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1981 # -------------------------------------------------------
1982 # Tests whether HEADER exists and can be compiled using the include files in
1983 # INCLUDES, setting the cache variable VAR accordingly.
1984 ac_fn_c_check_header_compile ()
1986 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1988 $as_echo_n "checking for $2... " >&6; }
1989 if eval \${$3+:} false; then :
1990 $as_echo_n "(cached) " >&6
1991 else
1992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1993 /* end confdefs.h. */
1995 #include <$2>
1996 _ACEOF
1997 if ac_fn_c_try_compile "$LINENO"; then :
1998 eval "$3=yes"
1999 else
2000 eval "$3=no"
2002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2004 eval ac_res=\$$3
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2006 $as_echo "$ac_res" >&6; }
2007 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2009 } # ac_fn_c_check_header_compile
2011 # ac_fn_c_try_run LINENO
2012 # ----------------------
2013 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2014 # that executables *can* be run.
2015 ac_fn_c_try_run ()
2017 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2018 if { { ac_try="$ac_link"
2019 case "(($ac_try" in
2020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2021 *) ac_try_echo=$ac_try;;
2022 esac
2023 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2024 $as_echo "$ac_try_echo"; } >&5
2025 (eval "$ac_link") 2>&5
2026 ac_status=$?
2027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2028 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2029 { { case "(($ac_try" in
2030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2031 *) ac_try_echo=$ac_try;;
2032 esac
2033 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2034 $as_echo "$ac_try_echo"; } >&5
2035 (eval "$ac_try") 2>&5
2036 ac_status=$?
2037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2038 test $ac_status = 0; }; }; then :
2039 ac_retval=0
2040 else
2041 $as_echo "$as_me: program exited with status $ac_status" >&5
2042 $as_echo "$as_me: failed program was:" >&5
2043 sed 's/^/| /' conftest.$ac_ext >&5
2045 ac_retval=$ac_status
2047 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2048 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2049 as_fn_set_status $ac_retval
2051 } # ac_fn_c_try_run
2053 # ac_fn_c_check_func LINENO FUNC VAR
2054 # ----------------------------------
2055 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2056 ac_fn_c_check_func ()
2058 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2060 $as_echo_n "checking for $2... " >&6; }
2061 if eval \${$3+:} false; then :
2062 $as_echo_n "(cached) " >&6
2063 else
2064 if test x$gcc_no_link = xyes; then
2065 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2068 /* end confdefs.h. */
2069 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2070 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2071 #define $2 innocuous_$2
2073 /* System header to define __stub macros and hopefully few prototypes,
2074 which can conflict with char $2 (); below.
2075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2076 <limits.h> exists even on freestanding compilers. */
2078 #ifdef __STDC__
2079 # include <limits.h>
2080 #else
2081 # include <assert.h>
2082 #endif
2084 #undef $2
2086 /* Override any GCC internal prototype to avoid an error.
2087 Use char because int might match the return type of a GCC
2088 builtin and then its argument prototype would still apply. */
2089 #ifdef __cplusplus
2090 extern "C"
2091 #endif
2092 char $2 ();
2093 /* The GNU C library defines this for functions which it implements
2094 to always fail with ENOSYS. Some functions are actually named
2095 something starting with __ and the normal name is an alias. */
2096 #if defined __stub_$2 || defined __stub___$2
2097 choke me
2098 #endif
2101 main ()
2103 return $2 ();
2105 return 0;
2107 _ACEOF
2108 if ac_fn_c_try_link "$LINENO"; then :
2109 eval "$3=yes"
2110 else
2111 eval "$3=no"
2113 rm -f core conftest.err conftest.$ac_objext \
2114 conftest$ac_exeext conftest.$ac_ext
2116 eval ac_res=\$$3
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2118 $as_echo "$ac_res" >&6; }
2119 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2121 } # ac_fn_c_check_func
2123 # ac_fn_cxx_try_cpp LINENO
2124 # ------------------------
2125 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2126 ac_fn_cxx_try_cpp ()
2128 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2129 if { { ac_try="$ac_cpp conftest.$ac_ext"
2130 case "(($ac_try" in
2131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2132 *) ac_try_echo=$ac_try;;
2133 esac
2134 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2135 $as_echo "$ac_try_echo"; } >&5
2136 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2137 ac_status=$?
2138 if test -s conftest.err; then
2139 grep -v '^ *+' conftest.err >conftest.er1
2140 cat conftest.er1 >&5
2141 mv -f conftest.er1 conftest.err
2143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2144 test $ac_status = 0; } > conftest.i && {
2145 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2146 test ! -s conftest.err
2147 }; then :
2148 ac_retval=0
2149 else
2150 $as_echo "$as_me: failed program was:" >&5
2151 sed 's/^/| /' conftest.$ac_ext >&5
2153 ac_retval=1
2155 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2156 as_fn_set_status $ac_retval
2158 } # ac_fn_cxx_try_cpp
2160 # ac_fn_cxx_try_link LINENO
2161 # -------------------------
2162 # Try to link conftest.$ac_ext, and return whether this succeeded.
2163 ac_fn_cxx_try_link ()
2165 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2166 rm -f conftest.$ac_objext conftest$ac_exeext
2167 if { { ac_try="$ac_link"
2168 case "(($ac_try" in
2169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2170 *) ac_try_echo=$ac_try;;
2171 esac
2172 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2173 $as_echo "$ac_try_echo"; } >&5
2174 (eval "$ac_link") 2>conftest.err
2175 ac_status=$?
2176 if test -s conftest.err; then
2177 grep -v '^ *+' conftest.err >conftest.er1
2178 cat conftest.er1 >&5
2179 mv -f conftest.er1 conftest.err
2181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2182 test $ac_status = 0; } && {
2183 test -z "$ac_cxx_werror_flag" ||
2184 test ! -s conftest.err
2185 } && test -s conftest$ac_exeext && {
2186 test "$cross_compiling" = yes ||
2187 test -x conftest$ac_exeext
2188 }; then :
2189 ac_retval=0
2190 else
2191 $as_echo "$as_me: failed program was:" >&5
2192 sed 's/^/| /' conftest.$ac_ext >&5
2194 ac_retval=1
2196 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2197 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2198 # interfere with the next link command; also delete a directory that is
2199 # left behind by Apple's compiler. We do this before executing the actions.
2200 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2201 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2202 as_fn_set_status $ac_retval
2204 } # ac_fn_cxx_try_link
2206 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2207 # -------------------------------------------------------
2208 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2209 # the include files in INCLUDES and setting the cache variable VAR
2210 # accordingly.
2211 ac_fn_c_check_header_mongrel ()
2213 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2214 if eval \${$3+:} false; then :
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2216 $as_echo_n "checking for $2... " >&6; }
2217 if eval \${$3+:} false; then :
2218 $as_echo_n "(cached) " >&6
2220 eval ac_res=\$$3
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2222 $as_echo "$ac_res" >&6; }
2223 else
2224 # Is the header compilable?
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2226 $as_echo_n "checking $2 usability... " >&6; }
2227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2228 /* end confdefs.h. */
2230 #include <$2>
2231 _ACEOF
2232 if ac_fn_c_try_compile "$LINENO"; then :
2233 ac_header_compiler=yes
2234 else
2235 ac_header_compiler=no
2237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2239 $as_echo "$ac_header_compiler" >&6; }
2241 # Is the header present?
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2243 $as_echo_n "checking $2 presence... " >&6; }
2244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2245 /* end confdefs.h. */
2246 #include <$2>
2247 _ACEOF
2248 if ac_fn_c_try_cpp "$LINENO"; then :
2249 ac_header_preproc=yes
2250 else
2251 ac_header_preproc=no
2253 rm -f conftest.err conftest.i conftest.$ac_ext
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2255 $as_echo "$ac_header_preproc" >&6; }
2257 # So? What about this header?
2258 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2259 yes:no: )
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2261 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2263 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2265 no:yes:* )
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2267 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2269 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2271 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2273 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2275 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2277 esac
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2279 $as_echo_n "checking for $2... " >&6; }
2280 if eval \${$3+:} false; then :
2281 $as_echo_n "(cached) " >&6
2282 else
2283 eval "$3=\$ac_header_compiler"
2285 eval ac_res=\$$3
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2287 $as_echo "$ac_res" >&6; }
2289 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2291 } # ac_fn_c_check_header_mongrel
2293 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2294 # ---------------------------------------------------------
2295 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2296 # the include files in INCLUDES and setting the cache variable VAR
2297 # accordingly.
2298 ac_fn_cxx_check_header_mongrel ()
2300 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2301 if eval \${$3+:} false; then :
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2303 $as_echo_n "checking for $2... " >&6; }
2304 if eval \${$3+:} false; then :
2305 $as_echo_n "(cached) " >&6
2307 eval ac_res=\$$3
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2309 $as_echo "$ac_res" >&6; }
2310 else
2311 # Is the header compilable?
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2313 $as_echo_n "checking $2 usability... " >&6; }
2314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2315 /* end confdefs.h. */
2317 #include <$2>
2318 _ACEOF
2319 if ac_fn_cxx_try_compile "$LINENO"; then :
2320 ac_header_compiler=yes
2321 else
2322 ac_header_compiler=no
2324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2326 $as_echo "$ac_header_compiler" >&6; }
2328 # Is the header present?
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2330 $as_echo_n "checking $2 presence... " >&6; }
2331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2332 /* end confdefs.h. */
2333 #include <$2>
2334 _ACEOF
2335 if ac_fn_cxx_try_cpp "$LINENO"; then :
2336 ac_header_preproc=yes
2337 else
2338 ac_header_preproc=no
2340 rm -f conftest.err conftest.i conftest.$ac_ext
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2342 $as_echo "$ac_header_preproc" >&6; }
2344 # So? What about this header?
2345 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2346 yes:no: )
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2348 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2350 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2352 no:yes:* )
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2354 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2356 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2358 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2360 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2362 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2364 esac
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2366 $as_echo_n "checking for $2... " >&6; }
2367 if eval \${$3+:} false; then :
2368 $as_echo_n "(cached) " >&6
2369 else
2370 eval "$3=\$ac_header_compiler"
2372 eval ac_res=\$$3
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2374 $as_echo "$ac_res" >&6; }
2376 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2378 } # ac_fn_cxx_check_header_mongrel
2380 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2381 # --------------------------------------------
2382 # Tries to find the compile-time value of EXPR in a program that includes
2383 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2384 # computed
2385 ac_fn_c_compute_int ()
2387 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2388 if test "$cross_compiling" = yes; then
2389 # Depending upon the size, compute the lo and hi bounds.
2390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2391 /* end confdefs.h. */
2394 main ()
2396 static int test_array [1 - 2 * !(($2) >= 0)];
2397 test_array [0] = 0;
2398 return test_array [0];
2401 return 0;
2403 _ACEOF
2404 if ac_fn_c_try_compile "$LINENO"; then :
2405 ac_lo=0 ac_mid=0
2406 while :; do
2407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2408 /* end confdefs.h. */
2411 main ()
2413 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2414 test_array [0] = 0;
2415 return test_array [0];
2418 return 0;
2420 _ACEOF
2421 if ac_fn_c_try_compile "$LINENO"; then :
2422 ac_hi=$ac_mid; break
2423 else
2424 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2425 if test $ac_lo -le $ac_mid; then
2426 ac_lo= ac_hi=
2427 break
2429 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2432 done
2433 else
2434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2435 /* end confdefs.h. */
2438 main ()
2440 static int test_array [1 - 2 * !(($2) < 0)];
2441 test_array [0] = 0;
2442 return test_array [0];
2445 return 0;
2447 _ACEOF
2448 if ac_fn_c_try_compile "$LINENO"; then :
2449 ac_hi=-1 ac_mid=-1
2450 while :; do
2451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2452 /* end confdefs.h. */
2455 main ()
2457 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2458 test_array [0] = 0;
2459 return test_array [0];
2462 return 0;
2464 _ACEOF
2465 if ac_fn_c_try_compile "$LINENO"; then :
2466 ac_lo=$ac_mid; break
2467 else
2468 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2469 if test $ac_mid -le $ac_hi; then
2470 ac_lo= ac_hi=
2471 break
2473 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2476 done
2477 else
2478 ac_lo= ac_hi=
2480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2483 # Binary search between lo and hi bounds.
2484 while test "x$ac_lo" != "x$ac_hi"; do
2485 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2487 /* end confdefs.h. */
2490 main ()
2492 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2493 test_array [0] = 0;
2494 return test_array [0];
2497 return 0;
2499 _ACEOF
2500 if ac_fn_c_try_compile "$LINENO"; then :
2501 ac_hi=$ac_mid
2502 else
2503 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2506 done
2507 case $ac_lo in #((
2508 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2509 '') ac_retval=1 ;;
2510 esac
2511 else
2512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2513 /* end confdefs.h. */
2515 static long int longval () { return $2; }
2516 static unsigned long int ulongval () { return $2; }
2517 #include <stdio.h>
2518 #include <stdlib.h>
2520 main ()
2523 FILE *f = fopen ("conftest.val", "w");
2524 if (! f)
2525 return 1;
2526 if (($2) < 0)
2528 long int i = longval ();
2529 if (i != ($2))
2530 return 1;
2531 fprintf (f, "%ld", i);
2533 else
2535 unsigned long int i = ulongval ();
2536 if (i != ($2))
2537 return 1;
2538 fprintf (f, "%lu", i);
2540 /* Do not output a trailing newline, as this causes \r\n confusion
2541 on some platforms. */
2542 return ferror (f) || fclose (f) != 0;
2545 return 0;
2547 _ACEOF
2548 if ac_fn_c_try_run "$LINENO"; then :
2549 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2550 else
2551 ac_retval=1
2553 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2554 conftest.$ac_objext conftest.beam conftest.$ac_ext
2555 rm -f conftest.val
2558 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2559 as_fn_set_status $ac_retval
2561 } # ac_fn_c_compute_int
2563 # ac_fn_cxx_check_func LINENO FUNC VAR
2564 # ------------------------------------
2565 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2566 ac_fn_cxx_check_func ()
2568 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2570 $as_echo_n "checking for $2... " >&6; }
2571 if eval \${$3+:} false; then :
2572 $as_echo_n "(cached) " >&6
2573 else
2574 if test x$gcc_no_link = xyes; then
2575 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2578 /* end confdefs.h. */
2579 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2581 #define $2 innocuous_$2
2583 /* System header to define __stub macros and hopefully few prototypes,
2584 which can conflict with char $2 (); below.
2585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2586 <limits.h> exists even on freestanding compilers. */
2588 #ifdef __STDC__
2589 # include <limits.h>
2590 #else
2591 # include <assert.h>
2592 #endif
2594 #undef $2
2596 /* Override any GCC internal prototype to avoid an error.
2597 Use char because int might match the return type of a GCC
2598 builtin and then its argument prototype would still apply. */
2599 #ifdef __cplusplus
2600 extern "C"
2601 #endif
2602 char $2 ();
2603 /* The GNU C library defines this for functions which it implements
2604 to always fail with ENOSYS. Some functions are actually named
2605 something starting with __ and the normal name is an alias. */
2606 #if defined __stub_$2 || defined __stub___$2
2607 choke me
2608 #endif
2611 main ()
2613 return $2 ();
2615 return 0;
2617 _ACEOF
2618 if ac_fn_cxx_try_link "$LINENO"; then :
2619 eval "$3=yes"
2620 else
2621 eval "$3=no"
2623 rm -f core conftest.err conftest.$ac_objext \
2624 conftest$ac_exeext conftest.$ac_ext
2626 eval ac_res=\$$3
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2628 $as_echo "$ac_res" >&6; }
2629 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2631 } # ac_fn_cxx_check_func
2633 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2634 # ---------------------------------------------
2635 # Tests whether TYPE exists after having included INCLUDES, setting cache
2636 # variable VAR accordingly.
2637 ac_fn_cxx_check_type ()
2639 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2641 $as_echo_n "checking for $2... " >&6; }
2642 if eval \${$3+:} false; then :
2643 $as_echo_n "(cached) " >&6
2644 else
2645 eval "$3=no"
2646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2647 /* end confdefs.h. */
2650 main ()
2652 if (sizeof ($2))
2653 return 0;
2655 return 0;
2657 _ACEOF
2658 if ac_fn_cxx_try_compile "$LINENO"; then :
2659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2660 /* end confdefs.h. */
2663 main ()
2665 if (sizeof (($2)))
2666 return 0;
2668 return 0;
2670 _ACEOF
2671 if ac_fn_cxx_try_compile "$LINENO"; then :
2673 else
2674 eval "$3=yes"
2676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2680 eval ac_res=\$$3
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2682 $as_echo "$ac_res" >&6; }
2683 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2685 } # ac_fn_cxx_check_type
2687 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2688 # ---------------------------------------------
2689 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2690 # accordingly.
2691 ac_fn_c_check_decl ()
2693 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2694 as_decl_name=`echo $2|sed 's/ *(.*//'`
2695 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2697 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2698 if eval \${$3+:} false; then :
2699 $as_echo_n "(cached) " >&6
2700 else
2701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2702 /* end confdefs.h. */
2705 main ()
2707 #ifndef $as_decl_name
2708 #ifdef __cplusplus
2709 (void) $as_decl_use;
2710 #else
2711 (void) $as_decl_name;
2712 #endif
2713 #endif
2716 return 0;
2718 _ACEOF
2719 if ac_fn_c_try_compile "$LINENO"; then :
2720 eval "$3=yes"
2721 else
2722 eval "$3=no"
2724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2726 eval ac_res=\$$3
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2728 $as_echo "$ac_res" >&6; }
2729 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2731 } # ac_fn_c_check_decl
2732 cat >config.log <<_ACEOF
2733 This file contains any messages produced by compilers while
2734 running configure, to aid debugging if configure makes a mistake.
2736 It was created by package-unused $as_me version-unused, which was
2737 generated by GNU Autoconf 2.69. Invocation command line was
2739 $ $0 $@
2741 _ACEOF
2742 exec 5>>config.log
2744 cat <<_ASUNAME
2745 ## --------- ##
2746 ## Platform. ##
2747 ## --------- ##
2749 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2750 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2751 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2752 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2753 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2755 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2756 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2758 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2759 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2760 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2761 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2762 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2763 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2764 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2766 _ASUNAME
2768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2769 for as_dir in $PATH
2771 IFS=$as_save_IFS
2772 test -z "$as_dir" && as_dir=.
2773 $as_echo "PATH: $as_dir"
2774 done
2775 IFS=$as_save_IFS
2777 } >&5
2779 cat >&5 <<_ACEOF
2782 ## ----------- ##
2783 ## Core tests. ##
2784 ## ----------- ##
2786 _ACEOF
2789 # Keep a trace of the command line.
2790 # Strip out --no-create and --no-recursion so they do not pile up.
2791 # Strip out --silent because we don't want to record it for future runs.
2792 # Also quote any args containing shell meta-characters.
2793 # Make two passes to allow for proper duplicate-argument suppression.
2794 ac_configure_args=
2795 ac_configure_args0=
2796 ac_configure_args1=
2797 ac_must_keep_next=false
2798 for ac_pass in 1 2
2800 for ac_arg
2802 case $ac_arg in
2803 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2804 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2805 | -silent | --silent | --silen | --sile | --sil)
2806 continue ;;
2807 *\'*)
2808 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2809 esac
2810 case $ac_pass in
2811 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2813 as_fn_append ac_configure_args1 " '$ac_arg'"
2814 if test $ac_must_keep_next = true; then
2815 ac_must_keep_next=false # Got value, back to normal.
2816 else
2817 case $ac_arg in
2818 *=* | --config-cache | -C | -disable-* | --disable-* \
2819 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2820 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2821 | -with-* | --with-* | -without-* | --without-* | --x)
2822 case "$ac_configure_args0 " in
2823 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2824 esac
2826 -* ) ac_must_keep_next=true ;;
2827 esac
2829 as_fn_append ac_configure_args " '$ac_arg'"
2831 esac
2832 done
2833 done
2834 { ac_configure_args0=; unset ac_configure_args0;}
2835 { ac_configure_args1=; unset ac_configure_args1;}
2837 # When interrupted or exit'd, cleanup temporary files, and complete
2838 # config.log. We remove comments because anyway the quotes in there
2839 # would cause problems or look ugly.
2840 # WARNING: Use '\'' to represent an apostrophe within the trap.
2841 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2842 trap 'exit_status=$?
2843 # Save into config.log some information that might help in debugging.
2845 echo
2847 $as_echo "## ---------------- ##
2848 ## Cache variables. ##
2849 ## ---------------- ##"
2850 echo
2851 # The following way of writing the cache mishandles newlines in values,
2853 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2854 eval ac_val=\$$ac_var
2855 case $ac_val in #(
2856 *${as_nl}*)
2857 case $ac_var in #(
2858 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2859 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2860 esac
2861 case $ac_var in #(
2862 _ | IFS | as_nl) ;; #(
2863 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2864 *) { eval $ac_var=; unset $ac_var;} ;;
2865 esac ;;
2866 esac
2867 done
2868 (set) 2>&1 |
2869 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2870 *${as_nl}ac_space=\ *)
2871 sed -n \
2872 "s/'\''/'\''\\\\'\'''\''/g;
2873 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2874 ;; #(
2876 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2878 esac |
2879 sort
2881 echo
2883 $as_echo "## ----------------- ##
2884 ## Output variables. ##
2885 ## ----------------- ##"
2886 echo
2887 for ac_var in $ac_subst_vars
2889 eval ac_val=\$$ac_var
2890 case $ac_val in
2891 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2892 esac
2893 $as_echo "$ac_var='\''$ac_val'\''"
2894 done | sort
2895 echo
2897 if test -n "$ac_subst_files"; then
2898 $as_echo "## ------------------- ##
2899 ## File substitutions. ##
2900 ## ------------------- ##"
2901 echo
2902 for ac_var in $ac_subst_files
2904 eval ac_val=\$$ac_var
2905 case $ac_val in
2906 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2907 esac
2908 $as_echo "$ac_var='\''$ac_val'\''"
2909 done | sort
2910 echo
2913 if test -s confdefs.h; then
2914 $as_echo "## ----------- ##
2915 ## confdefs.h. ##
2916 ## ----------- ##"
2917 echo
2918 cat confdefs.h
2919 echo
2921 test "$ac_signal" != 0 &&
2922 $as_echo "$as_me: caught signal $ac_signal"
2923 $as_echo "$as_me: exit $exit_status"
2924 } >&5
2925 rm -f core *.core core.conftest.* &&
2926 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2927 exit $exit_status
2929 for ac_signal in 1 2 13 15; do
2930 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2931 done
2932 ac_signal=0
2934 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2935 rm -f -r conftest* confdefs.h
2937 $as_echo "/* confdefs.h */" > confdefs.h
2939 # Predefined preprocessor variables.
2941 cat >>confdefs.h <<_ACEOF
2942 #define PACKAGE_NAME "$PACKAGE_NAME"
2943 _ACEOF
2945 cat >>confdefs.h <<_ACEOF
2946 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2947 _ACEOF
2949 cat >>confdefs.h <<_ACEOF
2950 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2951 _ACEOF
2953 cat >>confdefs.h <<_ACEOF
2954 #define PACKAGE_STRING "$PACKAGE_STRING"
2955 _ACEOF
2957 cat >>confdefs.h <<_ACEOF
2958 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2959 _ACEOF
2961 cat >>confdefs.h <<_ACEOF
2962 #define PACKAGE_URL "$PACKAGE_URL"
2963 _ACEOF
2966 # Let the site file select an alternate cache file if it wants to.
2967 # Prefer an explicitly selected file to automatically selected ones.
2968 ac_site_file1=NONE
2969 ac_site_file2=NONE
2970 if test -n "$CONFIG_SITE"; then
2971 # We do not want a PATH search for config.site.
2972 case $CONFIG_SITE in #((
2973 -*) ac_site_file1=./$CONFIG_SITE;;
2974 */*) ac_site_file1=$CONFIG_SITE;;
2975 *) ac_site_file1=./$CONFIG_SITE;;
2976 esac
2977 elif test "x$prefix" != xNONE; then
2978 ac_site_file1=$prefix/share/config.site
2979 ac_site_file2=$prefix/etc/config.site
2980 else
2981 ac_site_file1=$ac_default_prefix/share/config.site
2982 ac_site_file2=$ac_default_prefix/etc/config.site
2984 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2986 test "x$ac_site_file" = xNONE && continue
2987 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2989 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2990 sed 's/^/| /' "$ac_site_file" >&5
2991 . "$ac_site_file" \
2992 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2993 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2994 as_fn_error $? "failed to load site script $ac_site_file
2995 See \`config.log' for more details" "$LINENO" 5; }
2997 done
2999 if test -r "$cache_file"; then
3000 # Some versions of bash will fail to source /dev/null (special files
3001 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3002 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3004 $as_echo "$as_me: loading cache $cache_file" >&6;}
3005 case $cache_file in
3006 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3007 *) . "./$cache_file";;
3008 esac
3010 else
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3012 $as_echo "$as_me: creating cache $cache_file" >&6;}
3013 >$cache_file
3016 # Check that the precious variables saved in the cache have kept the same
3017 # value.
3018 ac_cache_corrupted=false
3019 for ac_var in $ac_precious_vars; do
3020 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3021 eval ac_new_set=\$ac_env_${ac_var}_set
3022 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3023 eval ac_new_val=\$ac_env_${ac_var}_value
3024 case $ac_old_set,$ac_new_set in
3025 set,)
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3027 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3028 ac_cache_corrupted=: ;;
3029 ,set)
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3031 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3032 ac_cache_corrupted=: ;;
3033 ,);;
3035 if test "x$ac_old_val" != "x$ac_new_val"; then
3036 # differences in whitespace do not lead to failure.
3037 ac_old_val_w=`echo x $ac_old_val`
3038 ac_new_val_w=`echo x $ac_new_val`
3039 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3041 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3042 ac_cache_corrupted=:
3043 else
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3045 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3046 eval $ac_var=\$ac_old_val
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3049 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3051 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3052 fi;;
3053 esac
3054 # Pass precious variables to config.status.
3055 if test "$ac_new_set" = set; then
3056 case $ac_new_val in
3057 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3058 *) ac_arg=$ac_var=$ac_new_val ;;
3059 esac
3060 case " $ac_configure_args " in
3061 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3062 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3063 esac
3065 done
3066 if $ac_cache_corrupted; then
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3068 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3070 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3071 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3073 ## -------------------- ##
3074 ## Main body of script. ##
3075 ## -------------------- ##
3077 ac_ext=c
3078 ac_cpp='$CPP $CPPFLAGS'
3079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3088 ac_config_headers="$ac_config_headers config.h"
3091 # This works around the fact that libtool configuration may change LD
3092 # for this particular configuration, but some shells, instead of
3093 # keeping the changes in LD private, export them just because LD is
3094 # exported. Only used at the end of this file.
3095 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
3097 # Find the rest of the source tree framework.
3098 # Default to --enable-multilib
3099 # Check whether --enable-multilib was given.
3100 if test "${enable_multilib+set}" = set; then :
3101 enableval=$enable_multilib; case "$enableval" in
3102 yes) multilib=yes ;;
3103 no) multilib=no ;;
3104 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
3105 esac
3106 else
3107 multilib=yes
3111 # We may get other options which we leave undocumented:
3112 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3113 # See config-ml.in if you want the gory details.
3115 if test "$srcdir" = "."; then
3116 if test "$with_target_subdir" != "."; then
3117 multi_basedir="$srcdir/$with_multisrctop../.."
3118 else
3119 multi_basedir="$srcdir/$with_multisrctop.."
3121 else
3122 multi_basedir="$srcdir/.."
3126 # Even if the default multilib is not a cross compilation,
3127 # it may be that some of the other multilibs are.
3128 if test $cross_compiling = no && test $multilib = yes \
3129 && test "x${with_multisubdir}" != x ; then
3130 cross_compiling=maybe
3133 ac_config_commands="$ac_config_commands default-1"
3136 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
3138 # You will slowly go insane if you do not grok the following fact: when
3139 # building v3 as part of the compiler, the top-level /target/ becomes the
3140 # library's /host/. configure then causes --target to default to --host,
3141 # exactly like any other package using autoconf. Therefore, 'target' and
3142 # 'host' will always be the same. This makes sense both for native and
3143 # cross compilers, just think about it for a little while. :-)
3145 # Also, if v3 is being configured as part of a cross compiler, the top-level
3146 # configure script will pass the "real" host as $with_cross_host.
3148 # Do not delete or change the following two lines. For why, see
3149 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
3150 ac_aux_dir=
3151 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3152 if test -f "$ac_dir/install-sh"; then
3153 ac_aux_dir=$ac_dir
3154 ac_install_sh="$ac_aux_dir/install-sh -c"
3155 break
3156 elif test -f "$ac_dir/install.sh"; then
3157 ac_aux_dir=$ac_dir
3158 ac_install_sh="$ac_aux_dir/install.sh -c"
3159 break
3160 elif test -f "$ac_dir/shtool"; then
3161 ac_aux_dir=$ac_dir
3162 ac_install_sh="$ac_aux_dir/shtool install -c"
3163 break
3165 done
3166 if test -z "$ac_aux_dir"; then
3167 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3170 # These three variables are undocumented and unsupported,
3171 # and are intended to be withdrawn in a future Autoconf release.
3172 # They can cause serious problems if a builder's source tree is in a directory
3173 # whose full name contains unusual characters.
3174 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3175 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3176 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3179 # Make sure we can run config.sub.
3180 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3181 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3184 $as_echo_n "checking build system type... " >&6; }
3185 if ${ac_cv_build+:} false; then :
3186 $as_echo_n "(cached) " >&6
3187 else
3188 ac_build_alias=$build_alias
3189 test "x$ac_build_alias" = x &&
3190 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3191 test "x$ac_build_alias" = x &&
3192 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3193 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3194 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3198 $as_echo "$ac_cv_build" >&6; }
3199 case $ac_cv_build in
3200 *-*-*) ;;
3201 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3202 esac
3203 build=$ac_cv_build
3204 ac_save_IFS=$IFS; IFS='-'
3205 set x $ac_cv_build
3206 shift
3207 build_cpu=$1
3208 build_vendor=$2
3209 shift; shift
3210 # Remember, the first character of IFS is used to create $*,
3211 # except with old shells:
3212 build_os=$*
3213 IFS=$ac_save_IFS
3214 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3218 $as_echo_n "checking host system type... " >&6; }
3219 if ${ac_cv_host+:} false; then :
3220 $as_echo_n "(cached) " >&6
3221 else
3222 if test "x$host_alias" = x; then
3223 ac_cv_host=$ac_cv_build
3224 else
3225 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3226 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3231 $as_echo "$ac_cv_host" >&6; }
3232 case $ac_cv_host in
3233 *-*-*) ;;
3234 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3235 esac
3236 host=$ac_cv_host
3237 ac_save_IFS=$IFS; IFS='-'
3238 set x $ac_cv_host
3239 shift
3240 host_cpu=$1
3241 host_vendor=$2
3242 shift; shift
3243 # Remember, the first character of IFS is used to create $*,
3244 # except with old shells:
3245 host_os=$*
3246 IFS=$ac_save_IFS
3247 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3251 $as_echo_n "checking target system type... " >&6; }
3252 if ${ac_cv_target+:} false; then :
3253 $as_echo_n "(cached) " >&6
3254 else
3255 if test "x$target_alias" = x; then
3256 ac_cv_target=$ac_cv_host
3257 else
3258 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3259 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3264 $as_echo "$ac_cv_target" >&6; }
3265 case $ac_cv_target in
3266 *-*-*) ;;
3267 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
3268 esac
3269 target=$ac_cv_target
3270 ac_save_IFS=$IFS; IFS='-'
3271 set x $ac_cv_target
3272 shift
3273 target_cpu=$1
3274 target_vendor=$2
3275 shift; shift
3276 # Remember, the first character of IFS is used to create $*,
3277 # except with old shells:
3278 target_os=$*
3279 IFS=$ac_save_IFS
3280 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3283 # The aliases save the names the user supplied, while $host etc.
3284 # will get canonicalized.
3285 test -n "$target_alias" &&
3286 test "$program_prefix$program_suffix$program_transform_name" = \
3287 NONENONEs,x,x, &&
3288 program_prefix=${target_alias}-
3290 target_alias=${target_alias-$host_alias}
3292 # Handy for debugging:
3293 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3295 if test "$build" != "$host"; then
3296 # We are being configured with some form of cross compiler.
3297 GLIBCXX_IS_NATIVE=false
3298 case "$host","$target" in
3299 # Darwin crosses can use the host system's libraries and headers,
3300 # because of the fat library support. Of course, it must be the
3301 # same version of Darwin on both sides. Allow the user to
3302 # just say --target=foo-darwin without a version number to mean
3303 # "the version on this system".
3304 *-*-darwin*,*-*-darwin*)
3305 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3306 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3307 if test $hostos = $targetos || test $targetos = darwin ; then
3308 GLIBCXX_IS_NATIVE=true
3315 esac
3316 else
3317 GLIBCXX_IS_NATIVE=true
3320 # In the case that we're building without headers, we won't have <stdio.h>
3321 # available. In these cases, we have to instruct autotools to never include
3322 # <stdio.h> as a part of default headers.
3324 if test "x$with_headers" = "xno"; then
3325 ac_includes_default=`echo "$ac_includes_default" | sed '/^#include <stdio.h>$/d'`
3329 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3330 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3331 # 1.x: minimum required version
3332 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3333 # of other PACKAGE_* variables will, however, and there's nothing
3334 # we can do about that; they come from AC_INIT).
3335 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3336 # file in the top srcdir, etc, etc), so stop complaining.
3337 # no-dependencies: turns off auto dependency generation (just for now)
3338 # no-dist: we don't want 'dist' and related rules.
3339 # -Wall: turns on all automake warnings...
3340 # -Wno-portability: ...except this one, since GNU make is now required.
3341 am__api_version='1.15'
3343 # Find a good install program. We prefer a C program (faster),
3344 # so one script is as good as another. But avoid the broken or
3345 # incompatible versions:
3346 # SysV /etc/install, /usr/sbin/install
3347 # SunOS /usr/etc/install
3348 # IRIX /sbin/install
3349 # AIX /bin/install
3350 # AmigaOS /C/install, which installs bootblocks on floppy discs
3351 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3352 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3353 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3354 # OS/2's system install, which has a completely different semantic
3355 # ./install, which can be erroneously created by make from ./install.sh.
3356 # Reject install programs that cannot install multiple files.
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3358 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3359 if test -z "$INSTALL"; then
3360 if ${ac_cv_path_install+:} false; then :
3361 $as_echo_n "(cached) " >&6
3362 else
3363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3364 for as_dir in $PATH
3366 IFS=$as_save_IFS
3367 test -z "$as_dir" && as_dir=.
3368 # Account for people who put trailing slashes in PATH elements.
3369 case $as_dir/ in #((
3370 ./ | .// | /[cC]/* | \
3371 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3372 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3373 /usr/ucb/* ) ;;
3375 # OSF1 and SCO ODT 3.0 have their own names for install.
3376 # Don't use installbsd from OSF since it installs stuff as root
3377 # by default.
3378 for ac_prog in ginstall scoinst install; do
3379 for ac_exec_ext in '' $ac_executable_extensions; do
3380 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3381 if test $ac_prog = install &&
3382 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3383 # AIX install. It has an incompatible calling convention.
3385 elif test $ac_prog = install &&
3386 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3387 # program-specific install script used by HP pwplus--don't use.
3389 else
3390 rm -rf conftest.one conftest.two conftest.dir
3391 echo one > conftest.one
3392 echo two > conftest.two
3393 mkdir conftest.dir
3394 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3395 test -s conftest.one && test -s conftest.two &&
3396 test -s conftest.dir/conftest.one &&
3397 test -s conftest.dir/conftest.two
3398 then
3399 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3400 break 3
3404 done
3405 done
3407 esac
3409 done
3410 IFS=$as_save_IFS
3412 rm -rf conftest.one conftest.two conftest.dir
3415 if test "${ac_cv_path_install+set}" = set; then
3416 INSTALL=$ac_cv_path_install
3417 else
3418 # As a last resort, use the slow shell script. Don't cache a
3419 # value for INSTALL within a source directory, because that will
3420 # break other packages using the cache if that directory is
3421 # removed, or if the value is a relative name.
3422 INSTALL=$ac_install_sh
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3426 $as_echo "$INSTALL" >&6; }
3428 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3429 # It thinks the first close brace ends the variable substitution.
3430 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3432 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3434 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3437 $as_echo_n "checking whether build environment is sane... " >&6; }
3438 # Reject unsafe characters in $srcdir or the absolute working directory
3439 # name. Accept space and tab only in the latter.
3440 am_lf='
3442 case `pwd` in
3443 *[\\\"\#\$\&\'\`$am_lf]*)
3444 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3445 esac
3446 case $srcdir in
3447 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3448 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3449 esac
3451 # Do 'set' in a subshell so we don't clobber the current shell's
3452 # arguments. Must try -L first in case configure is actually a
3453 # symlink; some systems play weird games with the mod time of symlinks
3454 # (eg FreeBSD returns the mod time of the symlink's containing
3455 # directory).
3456 if (
3457 am_has_slept=no
3458 for am_try in 1 2; do
3459 echo "timestamp, slept: $am_has_slept" > conftest.file
3460 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3461 if test "$*" = "X"; then
3462 # -L didn't work.
3463 set X `ls -t "$srcdir/configure" conftest.file`
3465 if test "$*" != "X $srcdir/configure conftest.file" \
3466 && test "$*" != "X conftest.file $srcdir/configure"; then
3468 # If neither matched, then we have a broken ls. This can happen
3469 # if, for instance, CONFIG_SHELL is bash and it inherits a
3470 # broken ls alias from the environment. This has actually
3471 # happened. Such a system could not be considered "sane".
3472 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3473 alias in your environment" "$LINENO" 5
3475 if test "$2" = conftest.file || test $am_try -eq 2; then
3476 break
3478 # Just in case.
3479 sleep 1
3480 am_has_slept=yes
3481 done
3482 test "$2" = conftest.file
3484 then
3485 # Ok.
3487 else
3488 as_fn_error $? "newly created file is older than distributed files!
3489 Check your system clock" "$LINENO" 5
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3492 $as_echo "yes" >&6; }
3493 # If we didn't sleep, we still need to ensure time stamps of config.status and
3494 # generated files are strictly newer.
3495 am_sleep_pid=
3496 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3497 ( sleep 1 ) &
3498 am_sleep_pid=$!
3501 rm -f conftest.file
3503 test "$program_prefix" != NONE &&
3504 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3505 # Use a double $ so make ignores it.
3506 test "$program_suffix" != NONE &&
3507 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3508 # Double any \ or $.
3509 # By default was `s,x,x', remove it if useless.
3510 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3511 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3513 # Expand $ac_aux_dir to an absolute path.
3514 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3516 if test x"${MISSING+set}" != xset; then
3517 case $am_aux_dir in
3518 *\ * | *\ *)
3519 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3521 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3522 esac
3524 # Use eval to expand $SHELL
3525 if eval "$MISSING --is-lightweight"; then
3526 am_missing_run="$MISSING "
3527 else
3528 am_missing_run=
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3530 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3533 if test x"${install_sh+set}" != xset; then
3534 case $am_aux_dir in
3535 *\ * | *\ *)
3536 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3538 install_sh="\${SHELL} $am_aux_dir/install-sh"
3539 esac
3542 # Installed binaries are usually stripped using 'strip' when the user
3543 # run "make install-strip". However 'strip' might not be the right
3544 # tool to use in cross-compilation environments, therefore Automake
3545 # will honor the 'STRIP' environment variable to overrule this program.
3546 if test "$cross_compiling" != no; then
3547 if test -n "$ac_tool_prefix"; then
3548 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3549 set dummy ${ac_tool_prefix}strip; ac_word=$2
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3551 $as_echo_n "checking for $ac_word... " >&6; }
3552 if ${ac_cv_prog_STRIP+:} false; then :
3553 $as_echo_n "(cached) " >&6
3554 else
3555 if test -n "$STRIP"; then
3556 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3557 else
3558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3559 for as_dir in $PATH
3561 IFS=$as_save_IFS
3562 test -z "$as_dir" && as_dir=.
3563 for ac_exec_ext in '' $ac_executable_extensions; do
3564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3565 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3567 break 2
3569 done
3570 done
3571 IFS=$as_save_IFS
3575 STRIP=$ac_cv_prog_STRIP
3576 if test -n "$STRIP"; then
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3578 $as_echo "$STRIP" >&6; }
3579 else
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3581 $as_echo "no" >&6; }
3586 if test -z "$ac_cv_prog_STRIP"; then
3587 ac_ct_STRIP=$STRIP
3588 # Extract the first word of "strip", so it can be a program name with args.
3589 set dummy strip; ac_word=$2
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3591 $as_echo_n "checking for $ac_word... " >&6; }
3592 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3593 $as_echo_n "(cached) " >&6
3594 else
3595 if test -n "$ac_ct_STRIP"; then
3596 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3597 else
3598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3599 for as_dir in $PATH
3601 IFS=$as_save_IFS
3602 test -z "$as_dir" && as_dir=.
3603 for ac_exec_ext in '' $ac_executable_extensions; do
3604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3605 ac_cv_prog_ac_ct_STRIP="strip"
3606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3607 break 2
3609 done
3610 done
3611 IFS=$as_save_IFS
3615 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3616 if test -n "$ac_ct_STRIP"; then
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3618 $as_echo "$ac_ct_STRIP" >&6; }
3619 else
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3621 $as_echo "no" >&6; }
3624 if test "x$ac_ct_STRIP" = x; then
3625 STRIP=":"
3626 else
3627 case $cross_compiling:$ac_tool_warned in
3628 yes:)
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3630 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3631 ac_tool_warned=yes ;;
3632 esac
3633 STRIP=$ac_ct_STRIP
3635 else
3636 STRIP="$ac_cv_prog_STRIP"
3640 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3643 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3644 if test -z "$MKDIR_P"; then
3645 if ${ac_cv_path_mkdir+:} false; then :
3646 $as_echo_n "(cached) " >&6
3647 else
3648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3649 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3651 IFS=$as_save_IFS
3652 test -z "$as_dir" && as_dir=.
3653 for ac_prog in mkdir gmkdir; do
3654 for ac_exec_ext in '' $ac_executable_extensions; do
3655 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3656 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3657 'mkdir (GNU coreutils) '* | \
3658 'mkdir (coreutils) '* | \
3659 'mkdir (fileutils) '4.1*)
3660 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3661 break 3;;
3662 esac
3663 done
3664 done
3665 done
3666 IFS=$as_save_IFS
3670 test -d ./--version && rmdir ./--version
3671 if test "${ac_cv_path_mkdir+set}" = set; then
3672 MKDIR_P="$ac_cv_path_mkdir -p"
3673 else
3674 # As a last resort, use the slow shell script. Don't cache a
3675 # value for MKDIR_P within a source directory, because that will
3676 # break other packages using the cache if that directory is
3677 # removed, or if the value is a relative name.
3678 MKDIR_P="$ac_install_sh -d"
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3682 $as_echo "$MKDIR_P" >&6; }
3684 for ac_prog in gawk mawk nawk awk
3686 # Extract the first word of "$ac_prog", so it can be a program name with args.
3687 set dummy $ac_prog; ac_word=$2
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3689 $as_echo_n "checking for $ac_word... " >&6; }
3690 if ${ac_cv_prog_AWK+:} false; then :
3691 $as_echo_n "(cached) " >&6
3692 else
3693 if test -n "$AWK"; then
3694 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3695 else
3696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3697 for as_dir in $PATH
3699 IFS=$as_save_IFS
3700 test -z "$as_dir" && as_dir=.
3701 for ac_exec_ext in '' $ac_executable_extensions; do
3702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3703 ac_cv_prog_AWK="$ac_prog"
3704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3705 break 2
3707 done
3708 done
3709 IFS=$as_save_IFS
3713 AWK=$ac_cv_prog_AWK
3714 if test -n "$AWK"; then
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3716 $as_echo "$AWK" >&6; }
3717 else
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3719 $as_echo "no" >&6; }
3723 test -n "$AWK" && break
3724 done
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3727 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3728 set x ${MAKE-make}
3729 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3730 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3731 $as_echo_n "(cached) " >&6
3732 else
3733 cat >conftest.make <<\_ACEOF
3734 SHELL = /bin/sh
3735 all:
3736 @echo '@@@%%%=$(MAKE)=@@@%%%'
3737 _ACEOF
3738 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3739 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3740 *@@@%%%=?*=@@@%%%*)
3741 eval ac_cv_prog_make_${ac_make}_set=yes;;
3743 eval ac_cv_prog_make_${ac_make}_set=no;;
3744 esac
3745 rm -f conftest.make
3747 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3749 $as_echo "yes" >&6; }
3750 SET_MAKE=
3751 else
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3753 $as_echo "no" >&6; }
3754 SET_MAKE="MAKE=${MAKE-make}"
3757 rm -rf .tst 2>/dev/null
3758 mkdir .tst 2>/dev/null
3759 if test -d .tst; then
3760 am__leading_dot=.
3761 else
3762 am__leading_dot=_
3764 rmdir .tst 2>/dev/null
3766 # Check whether --enable-silent-rules was given.
3767 if test "${enable_silent_rules+set}" = set; then :
3768 enableval=$enable_silent_rules;
3771 case $enable_silent_rules in # (((
3772 yes) AM_DEFAULT_VERBOSITY=0;;
3773 no) AM_DEFAULT_VERBOSITY=1;;
3774 *) AM_DEFAULT_VERBOSITY=1;;
3775 esac
3776 am_make=${MAKE-make}
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3778 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3779 if ${am_cv_make_support_nested_variables+:} false; then :
3780 $as_echo_n "(cached) " >&6
3781 else
3782 if $as_echo 'TRUE=$(BAR$(V))
3783 BAR0=false
3784 BAR1=true
3786 am__doit:
3787 @$(TRUE)
3788 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3789 am_cv_make_support_nested_variables=yes
3790 else
3791 am_cv_make_support_nested_variables=no
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3795 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3796 if test $am_cv_make_support_nested_variables = yes; then
3797 AM_V='$(V)'
3798 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3799 else
3800 AM_V=$AM_DEFAULT_VERBOSITY
3801 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3803 AM_BACKSLASH='\'
3805 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3806 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3807 # is not polluted with repeated "-I."
3808 am__isrc=' -I$(srcdir)'
3809 # test to see if srcdir already configured
3810 if test -f $srcdir/config.status; then
3811 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3815 # test whether we have cygpath
3816 if test -z "$CYGPATH_W"; then
3817 if (cygpath --version) >/dev/null 2>/dev/null; then
3818 CYGPATH_W='cygpath -w'
3819 else
3820 CYGPATH_W=echo
3825 # Define the identity of the package.
3826 PACKAGE='libstdc++'
3827 VERSION='version-unused'
3830 # Some tools Automake needs.
3832 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3835 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3838 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3841 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3844 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3846 # For better backward compatibility. To be removed once Automake 1.9.x
3847 # dies out for good. For more background, see:
3848 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3849 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3850 mkdir_p='$(MKDIR_P)'
3852 # We need awk for the "check" target (and possibly the TAP driver). The
3853 # system "awk" is bad on some platforms.
3854 # Always define AMTAR for backward compatibility. Yes, it's still used
3855 # in the wild :-( We should find a proper way to deprecate it ...
3856 AMTAR='$${TAR-tar}'
3859 # We'll loop over all known methods to create a tar archive until one works.
3860 _am_tools='gnutar pax cpio none'
3862 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3869 # POSIX will say in a future version that running "rm -f" with no argument
3870 # is OK; and we want to be able to make that assumption in our Makefile
3871 # recipes. So use an aggressive probe to check that the usage we want is
3872 # actually supported "in the wild" to an acceptable degree.
3873 # See automake bug#10828.
3874 # To make any issue more visible, cause the running configure to be aborted
3875 # by default if the 'rm' program in use doesn't match our expectations; the
3876 # user can still override this though.
3877 if rm -f && rm -fr && rm -rf; then : OK; else
3878 cat >&2 <<'END'
3879 Oops!
3881 Your 'rm' program seems unable to run without file operands specified
3882 on the command line, even when the '-f' option is present. This is contrary
3883 to the behaviour of most rm programs out there, and not conforming with
3884 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3886 Please tell bug-automake@gnu.org about your system, including the value
3887 of your $PATH and any error possibly output before this message. This
3888 can help us improve future automake versions.
3891 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3892 echo 'Configuration will proceed anyway, since you have set the' >&2
3893 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3894 echo >&2
3895 else
3896 cat >&2 <<'END'
3897 Aborting the configuration process, to ensure you take notice of the issue.
3899 You can download and install GNU coreutils to get an 'rm' implementation
3900 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3902 If you want to complete the configuration process using your problematic
3903 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3904 to "yes", and re-run configure.
3907 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3914 # -fno-builtin must be present here so that a non-conflicting form of
3915 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3917 save_CXXFLAGS="$CXXFLAGS"
3918 CXXFLAGS="$CXXFLAGS -fno-builtin"
3919 ac_ext=c
3920 ac_cpp='$CPP $CPPFLAGS'
3921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3924 if test -n "$ac_tool_prefix"; then
3925 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3926 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3928 $as_echo_n "checking for $ac_word... " >&6; }
3929 if ${ac_cv_prog_CC+:} false; then :
3930 $as_echo_n "(cached) " >&6
3931 else
3932 if test -n "$CC"; then
3933 ac_cv_prog_CC="$CC" # Let the user override the test.
3934 else
3935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3936 for as_dir in $PATH
3938 IFS=$as_save_IFS
3939 test -z "$as_dir" && as_dir=.
3940 for ac_exec_ext in '' $ac_executable_extensions; do
3941 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3942 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3944 break 2
3946 done
3947 done
3948 IFS=$as_save_IFS
3952 CC=$ac_cv_prog_CC
3953 if test -n "$CC"; then
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3955 $as_echo "$CC" >&6; }
3956 else
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3958 $as_echo "no" >&6; }
3963 if test -z "$ac_cv_prog_CC"; then
3964 ac_ct_CC=$CC
3965 # Extract the first word of "gcc", so it can be a program name with args.
3966 set dummy gcc; ac_word=$2
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3968 $as_echo_n "checking for $ac_word... " >&6; }
3969 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3970 $as_echo_n "(cached) " >&6
3971 else
3972 if test -n "$ac_ct_CC"; then
3973 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3974 else
3975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3976 for as_dir in $PATH
3978 IFS=$as_save_IFS
3979 test -z "$as_dir" && as_dir=.
3980 for ac_exec_ext in '' $ac_executable_extensions; do
3981 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3982 ac_cv_prog_ac_ct_CC="gcc"
3983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3984 break 2
3986 done
3987 done
3988 IFS=$as_save_IFS
3992 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3993 if test -n "$ac_ct_CC"; then
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3995 $as_echo "$ac_ct_CC" >&6; }
3996 else
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3998 $as_echo "no" >&6; }
4001 if test "x$ac_ct_CC" = x; then
4002 CC=""
4003 else
4004 case $cross_compiling:$ac_tool_warned in
4005 yes:)
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4007 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4008 ac_tool_warned=yes ;;
4009 esac
4010 CC=$ac_ct_CC
4012 else
4013 CC="$ac_cv_prog_CC"
4016 if test -z "$CC"; then
4017 if test -n "$ac_tool_prefix"; then
4018 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4019 set dummy ${ac_tool_prefix}cc; ac_word=$2
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4021 $as_echo_n "checking for $ac_word... " >&6; }
4022 if ${ac_cv_prog_CC+:} false; then :
4023 $as_echo_n "(cached) " >&6
4024 else
4025 if test -n "$CC"; then
4026 ac_cv_prog_CC="$CC" # Let the user override the test.
4027 else
4028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4029 for as_dir in $PATH
4031 IFS=$as_save_IFS
4032 test -z "$as_dir" && as_dir=.
4033 for ac_exec_ext in '' $ac_executable_extensions; do
4034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4035 ac_cv_prog_CC="${ac_tool_prefix}cc"
4036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4037 break 2
4039 done
4040 done
4041 IFS=$as_save_IFS
4045 CC=$ac_cv_prog_CC
4046 if test -n "$CC"; then
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4048 $as_echo "$CC" >&6; }
4049 else
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4051 $as_echo "no" >&6; }
4057 if test -z "$CC"; then
4058 # Extract the first word of "cc", so it can be a program name with args.
4059 set dummy cc; ac_word=$2
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4061 $as_echo_n "checking for $ac_word... " >&6; }
4062 if ${ac_cv_prog_CC+:} false; then :
4063 $as_echo_n "(cached) " >&6
4064 else
4065 if test -n "$CC"; then
4066 ac_cv_prog_CC="$CC" # Let the user override the test.
4067 else
4068 ac_prog_rejected=no
4069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4070 for as_dir in $PATH
4072 IFS=$as_save_IFS
4073 test -z "$as_dir" && as_dir=.
4074 for ac_exec_ext in '' $ac_executable_extensions; do
4075 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4076 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4077 ac_prog_rejected=yes
4078 continue
4080 ac_cv_prog_CC="cc"
4081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4082 break 2
4084 done
4085 done
4086 IFS=$as_save_IFS
4088 if test $ac_prog_rejected = yes; then
4089 # We found a bogon in the path, so make sure we never use it.
4090 set dummy $ac_cv_prog_CC
4091 shift
4092 if test $# != 0; then
4093 # We chose a different compiler from the bogus one.
4094 # However, it has the same basename, so the bogon will be chosen
4095 # first if we set CC to just the basename; use the full file name.
4096 shift
4097 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4102 CC=$ac_cv_prog_CC
4103 if test -n "$CC"; then
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4105 $as_echo "$CC" >&6; }
4106 else
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4108 $as_echo "no" >&6; }
4113 if test -z "$CC"; then
4114 if test -n "$ac_tool_prefix"; then
4115 for ac_prog in cl.exe
4117 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4118 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4120 $as_echo_n "checking for $ac_word... " >&6; }
4121 if ${ac_cv_prog_CC+:} false; then :
4122 $as_echo_n "(cached) " >&6
4123 else
4124 if test -n "$CC"; then
4125 ac_cv_prog_CC="$CC" # Let the user override the test.
4126 else
4127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4128 for as_dir in $PATH
4130 IFS=$as_save_IFS
4131 test -z "$as_dir" && as_dir=.
4132 for ac_exec_ext in '' $ac_executable_extensions; do
4133 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4134 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4136 break 2
4138 done
4139 done
4140 IFS=$as_save_IFS
4144 CC=$ac_cv_prog_CC
4145 if test -n "$CC"; then
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4147 $as_echo "$CC" >&6; }
4148 else
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4150 $as_echo "no" >&6; }
4154 test -n "$CC" && break
4155 done
4157 if test -z "$CC"; then
4158 ac_ct_CC=$CC
4159 for ac_prog in cl.exe
4161 # Extract the first word of "$ac_prog", so it can be a program name with args.
4162 set dummy $ac_prog; ac_word=$2
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4164 $as_echo_n "checking for $ac_word... " >&6; }
4165 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4166 $as_echo_n "(cached) " >&6
4167 else
4168 if test -n "$ac_ct_CC"; then
4169 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4170 else
4171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4172 for as_dir in $PATH
4174 IFS=$as_save_IFS
4175 test -z "$as_dir" && as_dir=.
4176 for ac_exec_ext in '' $ac_executable_extensions; do
4177 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4178 ac_cv_prog_ac_ct_CC="$ac_prog"
4179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4180 break 2
4182 done
4183 done
4184 IFS=$as_save_IFS
4188 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4189 if test -n "$ac_ct_CC"; then
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4191 $as_echo "$ac_ct_CC" >&6; }
4192 else
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4194 $as_echo "no" >&6; }
4198 test -n "$ac_ct_CC" && break
4199 done
4201 if test "x$ac_ct_CC" = x; then
4202 CC=""
4203 else
4204 case $cross_compiling:$ac_tool_warned in
4205 yes:)
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4207 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4208 ac_tool_warned=yes ;;
4209 esac
4210 CC=$ac_ct_CC
4217 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4218 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4219 as_fn_error $? "no acceptable C compiler found in \$PATH
4220 See \`config.log' for more details" "$LINENO" 5; }
4222 # Provide some information about the compiler.
4223 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4224 set X $ac_compile
4225 ac_compiler=$2
4226 for ac_option in --version -v -V -qversion; do
4227 { { ac_try="$ac_compiler $ac_option >&5"
4228 case "(($ac_try" in
4229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4230 *) ac_try_echo=$ac_try;;
4231 esac
4232 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4233 $as_echo "$ac_try_echo"; } >&5
4234 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4235 ac_status=$?
4236 if test -s conftest.err; then
4237 sed '10a\
4238 ... rest of stderr output deleted ...
4239 10q' conftest.err >conftest.er1
4240 cat conftest.er1 >&5
4242 rm -f conftest.er1 conftest.err
4243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4244 test $ac_status = 0; }
4245 done
4247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4248 /* end confdefs.h. */
4249 #include <stdio.h>
4251 main ()
4253 printf ("hello world\n");
4255 return 0;
4257 _ACEOF
4258 # FIXME: Cleanup?
4259 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4260 (eval $ac_link) 2>&5
4261 ac_status=$?
4262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4263 test $ac_status = 0; }; then :
4264 gcc_no_link=no
4265 else
4266 gcc_no_link=yes
4268 if test x$gcc_no_link = xyes; then
4269 # Setting cross_compile will disable run tests; it will
4270 # also disable AC_CHECK_FILE but that's generally
4271 # correct if we can't link.
4272 cross_compiling=yes
4273 EXEEXT=
4274 else
4275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4276 /* end confdefs.h. */
4279 main ()
4283 return 0;
4285 _ACEOF
4286 ac_clean_files_save=$ac_clean_files
4287 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4288 # Try to create an executable without -o first, disregard a.out.
4289 # It will help us diagnose broken compilers, and finding out an intuition
4290 # of exeext.
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4292 $as_echo_n "checking whether the C compiler works... " >&6; }
4293 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4295 # The possible output files:
4296 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4298 ac_rmfiles=
4299 for ac_file in $ac_files
4301 case $ac_file in
4302 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4303 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4304 esac
4305 done
4306 rm -f $ac_rmfiles
4308 if { { ac_try="$ac_link_default"
4309 case "(($ac_try" in
4310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4311 *) ac_try_echo=$ac_try;;
4312 esac
4313 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4314 $as_echo "$ac_try_echo"; } >&5
4315 (eval "$ac_link_default") 2>&5
4316 ac_status=$?
4317 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4318 test $ac_status = 0; }; then :
4319 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4320 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4321 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4322 # so that the user can short-circuit this test for compilers unknown to
4323 # Autoconf.
4324 for ac_file in $ac_files ''
4326 test -f "$ac_file" || continue
4327 case $ac_file in
4328 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4330 [ab].out )
4331 # We found the default executable, but exeext='' is most
4332 # certainly right.
4333 break;;
4334 *.* )
4335 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4336 then :; else
4337 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4339 # We set ac_cv_exeext here because the later test for it is not
4340 # safe: cross compilers may not add the suffix if given an `-o'
4341 # argument, so we may need to know it at that point already.
4342 # Even if this section looks crufty: it has the advantage of
4343 # actually working.
4344 break;;
4346 break;;
4347 esac
4348 done
4349 test "$ac_cv_exeext" = no && ac_cv_exeext=
4351 else
4352 ac_file=''
4354 if test -z "$ac_file"; then :
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4356 $as_echo "no" >&6; }
4357 $as_echo "$as_me: failed program was:" >&5
4358 sed 's/^/| /' conftest.$ac_ext >&5
4360 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4361 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4362 as_fn_error 77 "C compiler cannot create executables
4363 See \`config.log' for more details" "$LINENO" 5; }
4364 else
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4366 $as_echo "yes" >&6; }
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4369 $as_echo_n "checking for C compiler default output file name... " >&6; }
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4371 $as_echo "$ac_file" >&6; }
4372 ac_exeext=$ac_cv_exeext
4374 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4375 ac_clean_files=$ac_clean_files_save
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4377 $as_echo_n "checking for suffix of executables... " >&6; }
4378 if { { ac_try="$ac_link"
4379 case "(($ac_try" in
4380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4381 *) ac_try_echo=$ac_try;;
4382 esac
4383 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4384 $as_echo "$ac_try_echo"; } >&5
4385 (eval "$ac_link") 2>&5
4386 ac_status=$?
4387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4388 test $ac_status = 0; }; then :
4389 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4390 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4391 # work properly (i.e., refer to `conftest.exe'), while it won't with
4392 # `rm'.
4393 for ac_file in conftest.exe conftest conftest.*; do
4394 test -f "$ac_file" || continue
4395 case $ac_file in
4396 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4397 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4398 break;;
4399 * ) break;;
4400 esac
4401 done
4402 else
4403 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4404 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4405 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4406 See \`config.log' for more details" "$LINENO" 5; }
4408 rm -f conftest conftest$ac_cv_exeext
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4410 $as_echo "$ac_cv_exeext" >&6; }
4412 rm -f conftest.$ac_ext
4413 EXEEXT=$ac_cv_exeext
4414 ac_exeext=$EXEEXT
4415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4416 /* end confdefs.h. */
4417 #include <stdio.h>
4419 main ()
4421 FILE *f = fopen ("conftest.out", "w");
4422 return ferror (f) || fclose (f) != 0;
4425 return 0;
4427 _ACEOF
4428 ac_clean_files="$ac_clean_files conftest.out"
4429 # Check that the compiler produces executables we can run. If not, either
4430 # the compiler is broken, or we cross compile.
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4432 $as_echo_n "checking whether we are cross compiling... " >&6; }
4433 if test "$cross_compiling" != yes; then
4434 { { ac_try="$ac_link"
4435 case "(($ac_try" in
4436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4437 *) ac_try_echo=$ac_try;;
4438 esac
4439 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4440 $as_echo "$ac_try_echo"; } >&5
4441 (eval "$ac_link") 2>&5
4442 ac_status=$?
4443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4444 test $ac_status = 0; }
4445 if { ac_try='./conftest$ac_cv_exeext'
4446 { { case "(($ac_try" in
4447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4448 *) ac_try_echo=$ac_try;;
4449 esac
4450 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4451 $as_echo "$ac_try_echo"; } >&5
4452 (eval "$ac_try") 2>&5
4453 ac_status=$?
4454 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4455 test $ac_status = 0; }; }; then
4456 cross_compiling=no
4457 else
4458 if test "$cross_compiling" = maybe; then
4459 cross_compiling=yes
4460 else
4461 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4462 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4463 as_fn_error $? "cannot run C compiled programs.
4464 If you meant to cross compile, use \`--host'.
4465 See \`config.log' for more details" "$LINENO" 5; }
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4470 $as_echo "$cross_compiling" >&6; }
4472 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4473 ac_clean_files=$ac_clean_files_save
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4476 $as_echo_n "checking for suffix of object files... " >&6; }
4477 if ${ac_cv_objext+:} false; then :
4478 $as_echo_n "(cached) " >&6
4479 else
4480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4481 /* end confdefs.h. */
4484 main ()
4488 return 0;
4490 _ACEOF
4491 rm -f conftest.o conftest.obj
4492 if { { ac_try="$ac_compile"
4493 case "(($ac_try" in
4494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4495 *) ac_try_echo=$ac_try;;
4496 esac
4497 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4498 $as_echo "$ac_try_echo"; } >&5
4499 (eval "$ac_compile") 2>&5
4500 ac_status=$?
4501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4502 test $ac_status = 0; }; then :
4503 for ac_file in conftest.o conftest.obj conftest.*; do
4504 test -f "$ac_file" || continue;
4505 case $ac_file in
4506 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4507 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4508 break;;
4509 esac
4510 done
4511 else
4512 $as_echo "$as_me: failed program was:" >&5
4513 sed 's/^/| /' conftest.$ac_ext >&5
4515 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4516 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4517 as_fn_error $? "cannot compute suffix of object files: cannot compile
4518 See \`config.log' for more details" "$LINENO" 5; }
4520 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4523 $as_echo "$ac_cv_objext" >&6; }
4524 OBJEXT=$ac_cv_objext
4525 ac_objext=$OBJEXT
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4527 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4528 if ${ac_cv_c_compiler_gnu+:} false; then :
4529 $as_echo_n "(cached) " >&6
4530 else
4531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4532 /* end confdefs.h. */
4535 main ()
4537 #ifndef __GNUC__
4538 choke me
4539 #endif
4542 return 0;
4544 _ACEOF
4545 if ac_fn_c_try_compile "$LINENO"; then :
4546 ac_compiler_gnu=yes
4547 else
4548 ac_compiler_gnu=no
4550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4551 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4555 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4556 if test $ac_compiler_gnu = yes; then
4557 GCC=yes
4558 else
4559 GCC=
4561 ac_test_CFLAGS=${CFLAGS+set}
4562 ac_save_CFLAGS=$CFLAGS
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4564 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4565 if ${ac_cv_prog_cc_g+:} false; then :
4566 $as_echo_n "(cached) " >&6
4567 else
4568 ac_save_c_werror_flag=$ac_c_werror_flag
4569 ac_c_werror_flag=yes
4570 ac_cv_prog_cc_g=no
4571 CFLAGS="-g"
4572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4573 /* end confdefs.h. */
4576 main ()
4580 return 0;
4582 _ACEOF
4583 if ac_fn_c_try_compile "$LINENO"; then :
4584 ac_cv_prog_cc_g=yes
4585 else
4586 CFLAGS=""
4587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4588 /* end confdefs.h. */
4591 main ()
4595 return 0;
4597 _ACEOF
4598 if ac_fn_c_try_compile "$LINENO"; then :
4600 else
4601 ac_c_werror_flag=$ac_save_c_werror_flag
4602 CFLAGS="-g"
4603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4604 /* end confdefs.h. */
4607 main ()
4611 return 0;
4613 _ACEOF
4614 if ac_fn_c_try_compile "$LINENO"; then :
4615 ac_cv_prog_cc_g=yes
4617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4622 ac_c_werror_flag=$ac_save_c_werror_flag
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4625 $as_echo "$ac_cv_prog_cc_g" >&6; }
4626 if test "$ac_test_CFLAGS" = set; then
4627 CFLAGS=$ac_save_CFLAGS
4628 elif test $ac_cv_prog_cc_g = yes; then
4629 if test "$GCC" = yes; then
4630 CFLAGS="-g -O2"
4631 else
4632 CFLAGS="-g"
4634 else
4635 if test "$GCC" = yes; then
4636 CFLAGS="-O2"
4637 else
4638 CFLAGS=
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4642 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4643 if ${ac_cv_prog_cc_c89+:} false; then :
4644 $as_echo_n "(cached) " >&6
4645 else
4646 ac_cv_prog_cc_c89=no
4647 ac_save_CC=$CC
4648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4649 /* end confdefs.h. */
4650 #include <stdarg.h>
4651 #include <stdio.h>
4652 struct stat;
4653 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4654 struct buf { int x; };
4655 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4656 static char *e (p, i)
4657 char **p;
4658 int i;
4660 return p[i];
4662 static char *f (char * (*g) (char **, int), char **p, ...)
4664 char *s;
4665 va_list v;
4666 va_start (v,p);
4667 s = g (p, va_arg (v,int));
4668 va_end (v);
4669 return s;
4672 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4673 function prototypes and stuff, but not '\xHH' hex character constants.
4674 These don't provoke an error unfortunately, instead are silently treated
4675 as 'x'. The following induces an error, until -std is added to get
4676 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4677 array size at least. It's necessary to write '\x00'==0 to get something
4678 that's true only with -std. */
4679 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4681 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4682 inside strings and character constants. */
4683 #define FOO(x) 'x'
4684 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4686 int test (int i, double x);
4687 struct s1 {int (*f) (int a);};
4688 struct s2 {int (*f) (double a);};
4689 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4690 int argc;
4691 char **argv;
4693 main ()
4695 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4697 return 0;
4699 _ACEOF
4700 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4701 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4703 CC="$ac_save_CC $ac_arg"
4704 if ac_fn_c_try_compile "$LINENO"; then :
4705 ac_cv_prog_cc_c89=$ac_arg
4707 rm -f core conftest.err conftest.$ac_objext
4708 test "x$ac_cv_prog_cc_c89" != "xno" && break
4709 done
4710 rm -f conftest.$ac_ext
4711 CC=$ac_save_CC
4714 # AC_CACHE_VAL
4715 case "x$ac_cv_prog_cc_c89" in
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4718 $as_echo "none needed" >&6; } ;;
4719 xno)
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4721 $as_echo "unsupported" >&6; } ;;
4723 CC="$CC $ac_cv_prog_cc_c89"
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4725 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4726 esac
4727 if test "x$ac_cv_prog_cc_c89" != xno; then :
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
4737 ac_ext=c
4738 ac_cpp='$CPP $CPPFLAGS'
4739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4743 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4744 if ${am_cv_prog_cc_c_o+:} false; then :
4745 $as_echo_n "(cached) " >&6
4746 else
4747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4748 /* end confdefs.h. */
4751 main ()
4755 return 0;
4757 _ACEOF
4758 # Make sure it works both with $CC and with simple cc.
4759 # Following AC_PROG_CC_C_O, we do the test twice because some
4760 # compilers refuse to overwrite an existing .o file with -o,
4761 # though they will create one.
4762 am_cv_prog_cc_c_o=yes
4763 for am_i in 1 2; do
4764 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4765 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4766 ac_status=$?
4767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4768 (exit $ac_status); } \
4769 && test -f conftest2.$ac_objext; then
4770 : OK
4771 else
4772 am_cv_prog_cc_c_o=no
4773 break
4775 done
4776 rm -f core conftest*
4777 unset am_i
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4780 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4781 if test "$am_cv_prog_cc_c_o" != yes; then
4782 # Losing compiler, so override with the script.
4783 # FIXME: It is wrong to rewrite CC.
4784 # But if we don't then we get into trouble of one sort or another.
4785 # A longer-term fix would be to have automake use am__CC in this case,
4786 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4787 CC="$am_aux_dir/compile $CC"
4789 ac_ext=c
4790 ac_cpp='$CPP $CPPFLAGS'
4791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4796 ac_ext=cpp
4797 ac_cpp='$CXXCPP $CPPFLAGS'
4798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4801 if test -z "$CXX"; then
4802 if test -n "$CCC"; then
4803 CXX=$CCC
4804 else
4805 if test -n "$ac_tool_prefix"; then
4806 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4808 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4809 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4811 $as_echo_n "checking for $ac_word... " >&6; }
4812 if ${ac_cv_prog_CXX+:} false; then :
4813 $as_echo_n "(cached) " >&6
4814 else
4815 if test -n "$CXX"; then
4816 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4817 else
4818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4819 for as_dir in $PATH
4821 IFS=$as_save_IFS
4822 test -z "$as_dir" && as_dir=.
4823 for ac_exec_ext in '' $ac_executable_extensions; do
4824 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4825 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4827 break 2
4829 done
4830 done
4831 IFS=$as_save_IFS
4835 CXX=$ac_cv_prog_CXX
4836 if test -n "$CXX"; then
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4838 $as_echo "$CXX" >&6; }
4839 else
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4841 $as_echo "no" >&6; }
4845 test -n "$CXX" && break
4846 done
4848 if test -z "$CXX"; then
4849 ac_ct_CXX=$CXX
4850 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4852 # Extract the first word of "$ac_prog", so it can be a program name with args.
4853 set dummy $ac_prog; ac_word=$2
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4855 $as_echo_n "checking for $ac_word... " >&6; }
4856 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4857 $as_echo_n "(cached) " >&6
4858 else
4859 if test -n "$ac_ct_CXX"; then
4860 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4861 else
4862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4863 for as_dir in $PATH
4865 IFS=$as_save_IFS
4866 test -z "$as_dir" && as_dir=.
4867 for ac_exec_ext in '' $ac_executable_extensions; do
4868 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4869 ac_cv_prog_ac_ct_CXX="$ac_prog"
4870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4871 break 2
4873 done
4874 done
4875 IFS=$as_save_IFS
4879 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4880 if test -n "$ac_ct_CXX"; then
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4882 $as_echo "$ac_ct_CXX" >&6; }
4883 else
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4885 $as_echo "no" >&6; }
4889 test -n "$ac_ct_CXX" && break
4890 done
4892 if test "x$ac_ct_CXX" = x; then
4893 CXX="g++"
4894 else
4895 case $cross_compiling:$ac_tool_warned in
4896 yes:)
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4898 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4899 ac_tool_warned=yes ;;
4900 esac
4901 CXX=$ac_ct_CXX
4907 # Provide some information about the compiler.
4908 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4909 set X $ac_compile
4910 ac_compiler=$2
4911 for ac_option in --version -v -V -qversion; do
4912 { { ac_try="$ac_compiler $ac_option >&5"
4913 case "(($ac_try" in
4914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4915 *) ac_try_echo=$ac_try;;
4916 esac
4917 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4918 $as_echo "$ac_try_echo"; } >&5
4919 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4920 ac_status=$?
4921 if test -s conftest.err; then
4922 sed '10a\
4923 ... rest of stderr output deleted ...
4924 10q' conftest.err >conftest.er1
4925 cat conftest.er1 >&5
4927 rm -f conftest.er1 conftest.err
4928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4929 test $ac_status = 0; }
4930 done
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4933 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4934 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4935 $as_echo_n "(cached) " >&6
4936 else
4937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4938 /* end confdefs.h. */
4941 main ()
4943 #ifndef __GNUC__
4944 choke me
4945 #endif
4948 return 0;
4950 _ACEOF
4951 if ac_fn_cxx_try_compile "$LINENO"; then :
4952 ac_compiler_gnu=yes
4953 else
4954 ac_compiler_gnu=no
4956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4957 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4961 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4962 if test $ac_compiler_gnu = yes; then
4963 GXX=yes
4964 else
4965 GXX=
4967 ac_test_CXXFLAGS=${CXXFLAGS+set}
4968 ac_save_CXXFLAGS=$CXXFLAGS
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4970 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4971 if ${ac_cv_prog_cxx_g+:} false; then :
4972 $as_echo_n "(cached) " >&6
4973 else
4974 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4975 ac_cxx_werror_flag=yes
4976 ac_cv_prog_cxx_g=no
4977 CXXFLAGS="-g"
4978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4979 /* end confdefs.h. */
4982 main ()
4986 return 0;
4988 _ACEOF
4989 if ac_fn_cxx_try_compile "$LINENO"; then :
4990 ac_cv_prog_cxx_g=yes
4991 else
4992 CXXFLAGS=""
4993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4994 /* end confdefs.h. */
4997 main ()
5001 return 0;
5003 _ACEOF
5004 if ac_fn_cxx_try_compile "$LINENO"; then :
5006 else
5007 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5008 CXXFLAGS="-g"
5009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5010 /* end confdefs.h. */
5013 main ()
5017 return 0;
5019 _ACEOF
5020 if ac_fn_cxx_try_compile "$LINENO"; then :
5021 ac_cv_prog_cxx_g=yes
5023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5028 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5031 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5032 if test "$ac_test_CXXFLAGS" = set; then
5033 CXXFLAGS=$ac_save_CXXFLAGS
5034 elif test $ac_cv_prog_cxx_g = yes; then
5035 if test "$GXX" = yes; then
5036 CXXFLAGS="-g -O2"
5037 else
5038 CXXFLAGS="-g"
5040 else
5041 if test "$GXX" = yes; then
5042 CXXFLAGS="-O2"
5043 else
5044 CXXFLAGS=
5047 ac_ext=c
5048 ac_cpp='$CPP $CPPFLAGS'
5049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5053 CXXFLAGS="$save_CXXFLAGS"
5056 # Check whether --enable-largefile was given.
5057 if test "${enable_largefile+set}" = set; then :
5058 enableval=$enable_largefile;
5061 if test "$enable_largefile" != no; then
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5064 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5065 if ${ac_cv_sys_largefile_CC+:} false; then :
5066 $as_echo_n "(cached) " >&6
5067 else
5068 ac_cv_sys_largefile_CC=no
5069 if test "$GCC" != yes; then
5070 ac_save_CC=$CC
5071 while :; do
5072 # IRIX 6.2 and later do not support large files by default,
5073 # so use the C compiler's -n32 option if that helps.
5074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5075 /* end confdefs.h. */
5076 #include <sys/types.h>
5077 /* Check that off_t can represent 2**63 - 1 correctly.
5078 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5079 since some C++ compilers masquerading as C compilers
5080 incorrectly reject 9223372036854775807. */
5081 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5082 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5083 && LARGE_OFF_T % 2147483647 == 1)
5084 ? 1 : -1];
5086 main ()
5090 return 0;
5092 _ACEOF
5093 if ac_fn_c_try_compile "$LINENO"; then :
5094 break
5096 rm -f core conftest.err conftest.$ac_objext
5097 CC="$CC -n32"
5098 if ac_fn_c_try_compile "$LINENO"; then :
5099 ac_cv_sys_largefile_CC=' -n32'; break
5101 rm -f core conftest.err conftest.$ac_objext
5102 break
5103 done
5104 CC=$ac_save_CC
5105 rm -f conftest.$ac_ext
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5109 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5110 if test "$ac_cv_sys_largefile_CC" != no; then
5111 CC=$CC$ac_cv_sys_largefile_CC
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5115 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5116 if ${ac_cv_sys_file_offset_bits+:} false; then :
5117 $as_echo_n "(cached) " >&6
5118 else
5119 while :; do
5120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5121 /* end confdefs.h. */
5122 #include <sys/types.h>
5123 /* Check that off_t can represent 2**63 - 1 correctly.
5124 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5125 since some C++ compilers masquerading as C compilers
5126 incorrectly reject 9223372036854775807. */
5127 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5128 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5129 && LARGE_OFF_T % 2147483647 == 1)
5130 ? 1 : -1];
5132 main ()
5136 return 0;
5138 _ACEOF
5139 if ac_fn_c_try_compile "$LINENO"; then :
5140 ac_cv_sys_file_offset_bits=no; break
5142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5144 /* end confdefs.h. */
5145 #define _FILE_OFFSET_BITS 64
5146 #include <sys/types.h>
5147 /* Check that off_t can represent 2**63 - 1 correctly.
5148 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5149 since some C++ compilers masquerading as C compilers
5150 incorrectly reject 9223372036854775807. */
5151 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5152 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5153 && LARGE_OFF_T % 2147483647 == 1)
5154 ? 1 : -1];
5156 main ()
5160 return 0;
5162 _ACEOF
5163 if ac_fn_c_try_compile "$LINENO"; then :
5164 ac_cv_sys_file_offset_bits=64; break
5166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5167 ac_cv_sys_file_offset_bits=unknown
5168 break
5169 done
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5172 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5173 case $ac_cv_sys_file_offset_bits in #(
5174 no | unknown) ;;
5176 cat >>confdefs.h <<_ACEOF
5177 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5178 _ACEOF
5180 esac
5181 rm -rf conftest*
5182 if test $ac_cv_sys_file_offset_bits = unknown; then
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5184 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5185 if ${ac_cv_sys_large_files+:} false; then :
5186 $as_echo_n "(cached) " >&6
5187 else
5188 while :; do
5189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5190 /* end confdefs.h. */
5191 #include <sys/types.h>
5192 /* Check that off_t can represent 2**63 - 1 correctly.
5193 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5194 since some C++ compilers masquerading as C compilers
5195 incorrectly reject 9223372036854775807. */
5196 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5197 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5198 && LARGE_OFF_T % 2147483647 == 1)
5199 ? 1 : -1];
5201 main ()
5205 return 0;
5207 _ACEOF
5208 if ac_fn_c_try_compile "$LINENO"; then :
5209 ac_cv_sys_large_files=no; break
5211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5213 /* end confdefs.h. */
5214 #define _LARGE_FILES 1
5215 #include <sys/types.h>
5216 /* Check that off_t can represent 2**63 - 1 correctly.
5217 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5218 since some C++ compilers masquerading as C compilers
5219 incorrectly reject 9223372036854775807. */
5220 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5221 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5222 && LARGE_OFF_T % 2147483647 == 1)
5223 ? 1 : -1];
5225 main ()
5229 return 0;
5231 _ACEOF
5232 if ac_fn_c_try_compile "$LINENO"; then :
5233 ac_cv_sys_large_files=1; break
5235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5236 ac_cv_sys_large_files=unknown
5237 break
5238 done
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5241 $as_echo "$ac_cv_sys_large_files" >&6; }
5242 case $ac_cv_sys_large_files in #(
5243 no | unknown) ;;
5245 cat >>confdefs.h <<_ACEOF
5246 #define _LARGE_FILES $ac_cv_sys_large_files
5247 _ACEOF
5249 esac
5250 rm -rf conftest*
5257 # Runs configure.host, and assorted other critical bits. Sets
5258 # up critical shell variables.
5259 ac_ext=c
5260 ac_cpp='$CPP $CPPFLAGS'
5261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5265 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5266 # On Suns, sometimes $CPP names a directory.
5267 if test -n "$CPP" && test -d "$CPP"; then
5268 CPP=
5270 if test -z "$CPP"; then
5271 if ${ac_cv_prog_CPP+:} false; then :
5272 $as_echo_n "(cached) " >&6
5273 else
5274 # Double quotes because CPP needs to be expanded
5275 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5277 ac_preproc_ok=false
5278 for ac_c_preproc_warn_flag in '' yes
5280 # Use a header file that comes with gcc, so configuring glibc
5281 # with a fresh cross-compiler works.
5282 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5283 # <limits.h> exists even on freestanding compilers.
5284 # On the NeXT, cc -E runs the code through the compiler's parser,
5285 # not just through cpp. "Syntax error" is here to catch this case.
5286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5287 /* end confdefs.h. */
5288 #ifdef __STDC__
5289 # include <limits.h>
5290 #else
5291 # include <assert.h>
5292 #endif
5293 Syntax error
5294 _ACEOF
5295 if ac_fn_c_try_cpp "$LINENO"; then :
5297 else
5298 # Broken: fails on valid input.
5299 continue
5301 rm -f conftest.err conftest.i conftest.$ac_ext
5303 # OK, works on sane cases. Now check whether nonexistent headers
5304 # can be detected and how.
5305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5306 /* end confdefs.h. */
5307 #include <ac_nonexistent.h>
5308 _ACEOF
5309 if ac_fn_c_try_cpp "$LINENO"; then :
5310 # Broken: success on invalid input.
5311 continue
5312 else
5313 # Passes both tests.
5314 ac_preproc_ok=:
5315 break
5317 rm -f conftest.err conftest.i conftest.$ac_ext
5319 done
5320 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5321 rm -f conftest.i conftest.err conftest.$ac_ext
5322 if $ac_preproc_ok; then :
5323 break
5326 done
5327 ac_cv_prog_CPP=$CPP
5330 CPP=$ac_cv_prog_CPP
5331 else
5332 ac_cv_prog_CPP=$CPP
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5335 $as_echo "$CPP" >&6; }
5336 ac_preproc_ok=false
5337 for ac_c_preproc_warn_flag in '' yes
5339 # Use a header file that comes with gcc, so configuring glibc
5340 # with a fresh cross-compiler works.
5341 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5342 # <limits.h> exists even on freestanding compilers.
5343 # On the NeXT, cc -E runs the code through the compiler's parser,
5344 # not just through cpp. "Syntax error" is here to catch this case.
5345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5346 /* end confdefs.h. */
5347 #ifdef __STDC__
5348 # include <limits.h>
5349 #else
5350 # include <assert.h>
5351 #endif
5352 Syntax error
5353 _ACEOF
5354 if ac_fn_c_try_cpp "$LINENO"; then :
5356 else
5357 # Broken: fails on valid input.
5358 continue
5360 rm -f conftest.err conftest.i conftest.$ac_ext
5362 # OK, works on sane cases. Now check whether nonexistent headers
5363 # can be detected and how.
5364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5365 /* end confdefs.h. */
5366 #include <ac_nonexistent.h>
5367 _ACEOF
5368 if ac_fn_c_try_cpp "$LINENO"; then :
5369 # Broken: success on invalid input.
5370 continue
5371 else
5372 # Passes both tests.
5373 ac_preproc_ok=:
5374 break
5376 rm -f conftest.err conftest.i conftest.$ac_ext
5378 done
5379 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5380 rm -f conftest.i conftest.err conftest.$ac_ext
5381 if $ac_preproc_ok; then :
5383 else
5384 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5385 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5386 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5387 See \`config.log' for more details" "$LINENO" 5; }
5390 ac_ext=c
5391 ac_cpp='$CPP $CPPFLAGS'
5392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5398 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5399 if ${ac_cv_path_GREP+:} false; then :
5400 $as_echo_n "(cached) " >&6
5401 else
5402 if test -z "$GREP"; then
5403 ac_path_GREP_found=false
5404 # Loop through the user's path and test for each of PROGNAME-LIST
5405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5406 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5408 IFS=$as_save_IFS
5409 test -z "$as_dir" && as_dir=.
5410 for ac_prog in grep ggrep; do
5411 for ac_exec_ext in '' $ac_executable_extensions; do
5412 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5413 as_fn_executable_p "$ac_path_GREP" || continue
5414 # Check for GNU ac_path_GREP and select it if it is found.
5415 # Check for GNU $ac_path_GREP
5416 case `"$ac_path_GREP" --version 2>&1` in
5417 *GNU*)
5418 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5420 ac_count=0
5421 $as_echo_n 0123456789 >"conftest.in"
5422 while :
5424 cat "conftest.in" "conftest.in" >"conftest.tmp"
5425 mv "conftest.tmp" "conftest.in"
5426 cp "conftest.in" "conftest.nl"
5427 $as_echo 'GREP' >> "conftest.nl"
5428 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5429 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5430 as_fn_arith $ac_count + 1 && ac_count=$as_val
5431 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5432 # Best one so far, save it but keep looking for a better one
5433 ac_cv_path_GREP="$ac_path_GREP"
5434 ac_path_GREP_max=$ac_count
5436 # 10*(2^10) chars as input seems more than enough
5437 test $ac_count -gt 10 && break
5438 done
5439 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5440 esac
5442 $ac_path_GREP_found && break 3
5443 done
5444 done
5445 done
5446 IFS=$as_save_IFS
5447 if test -z "$ac_cv_path_GREP"; then
5448 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5450 else
5451 ac_cv_path_GREP=$GREP
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5456 $as_echo "$ac_cv_path_GREP" >&6; }
5457 GREP="$ac_cv_path_GREP"
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5461 $as_echo_n "checking for egrep... " >&6; }
5462 if ${ac_cv_path_EGREP+:} false; then :
5463 $as_echo_n "(cached) " >&6
5464 else
5465 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5466 then ac_cv_path_EGREP="$GREP -E"
5467 else
5468 if test -z "$EGREP"; then
5469 ac_path_EGREP_found=false
5470 # Loop through the user's path and test for each of PROGNAME-LIST
5471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5472 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5474 IFS=$as_save_IFS
5475 test -z "$as_dir" && as_dir=.
5476 for ac_prog in egrep; do
5477 for ac_exec_ext in '' $ac_executable_extensions; do
5478 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5479 as_fn_executable_p "$ac_path_EGREP" || continue
5480 # Check for GNU ac_path_EGREP and select it if it is found.
5481 # Check for GNU $ac_path_EGREP
5482 case `"$ac_path_EGREP" --version 2>&1` in
5483 *GNU*)
5484 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5486 ac_count=0
5487 $as_echo_n 0123456789 >"conftest.in"
5488 while :
5490 cat "conftest.in" "conftest.in" >"conftest.tmp"
5491 mv "conftest.tmp" "conftest.in"
5492 cp "conftest.in" "conftest.nl"
5493 $as_echo 'EGREP' >> "conftest.nl"
5494 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5495 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5496 as_fn_arith $ac_count + 1 && ac_count=$as_val
5497 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5498 # Best one so far, save it but keep looking for a better one
5499 ac_cv_path_EGREP="$ac_path_EGREP"
5500 ac_path_EGREP_max=$ac_count
5502 # 10*(2^10) chars as input seems more than enough
5503 test $ac_count -gt 10 && break
5504 done
5505 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5506 esac
5508 $ac_path_EGREP_found && break 3
5509 done
5510 done
5511 done
5512 IFS=$as_save_IFS
5513 if test -z "$ac_cv_path_EGREP"; then
5514 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5516 else
5517 ac_cv_path_EGREP=$EGREP
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5523 $as_echo "$ac_cv_path_EGREP" >&6; }
5524 EGREP="$ac_cv_path_EGREP"
5528 # Keep these sync'd with the list in Makefile.am. The first provides an
5529 # expandable list at autoconf time; the second provides an expandable list
5530 # (i.e., shell variable) at configure time.
5532 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/c++17 src/c++20 src/c++23 src/filesystem src/libbacktrace src/experimental doc po testsuite python'
5534 # These need to be absolute paths, yet at the same time need to
5535 # canonicalize only relative paths, because then amd will not unmount
5536 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
5537 glibcxx_builddir=`${PWDCMD-pwd}`
5538 case $srcdir in
5539 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
5540 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
5541 esac
5542 toplevel_builddir=${glibcxx_builddir}/..
5543 toplevel_srcdir=${glibcxx_srcdir}/..
5549 # We use these options to decide which functions to include. They are
5550 # set from the top level.
5552 # Check whether --with-target-subdir was given.
5553 if test "${with_target_subdir+set}" = set; then :
5554 withval=$with_target_subdir;
5559 # Check whether --with-cross-host was given.
5560 if test "${with_cross_host+set}" = set; then :
5561 withval=$with_cross_host;
5566 # Check whether --with-newlib was given.
5567 if test "${with_newlib+set}" = set; then :
5568 withval=$with_newlib;
5572 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5573 # available). Uncomment the next line to force a particular method.
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5575 $as_echo_n "checking whether ln -s works... " >&6; }
5576 LN_S=$as_ln_s
5577 if test "$LN_S" = "ln -s"; then
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5579 $as_echo "yes" >&6; }
5580 else
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5582 $as_echo "no, using $LN_S" >&6; }
5585 #LN_S='cp -p'
5587 if test -n "$ac_tool_prefix"; then
5588 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5589 set dummy ${ac_tool_prefix}as; ac_word=$2
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5591 $as_echo_n "checking for $ac_word... " >&6; }
5592 if ${ac_cv_prog_AS+:} false; then :
5593 $as_echo_n "(cached) " >&6
5594 else
5595 if test -n "$AS"; then
5596 ac_cv_prog_AS="$AS" # Let the user override the test.
5597 else
5598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5599 for as_dir in $PATH
5601 IFS=$as_save_IFS
5602 test -z "$as_dir" && as_dir=.
5603 for ac_exec_ext in '' $ac_executable_extensions; do
5604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5605 ac_cv_prog_AS="${ac_tool_prefix}as"
5606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5607 break 2
5609 done
5610 done
5611 IFS=$as_save_IFS
5615 AS=$ac_cv_prog_AS
5616 if test -n "$AS"; then
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5618 $as_echo "$AS" >&6; }
5619 else
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5621 $as_echo "no" >&6; }
5626 if test -z "$ac_cv_prog_AS"; then
5627 ac_ct_AS=$AS
5628 # Extract the first word of "as", so it can be a program name with args.
5629 set dummy as; ac_word=$2
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5631 $as_echo_n "checking for $ac_word... " >&6; }
5632 if ${ac_cv_prog_ac_ct_AS+:} false; then :
5633 $as_echo_n "(cached) " >&6
5634 else
5635 if test -n "$ac_ct_AS"; then
5636 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5637 else
5638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5639 for as_dir in $PATH
5641 IFS=$as_save_IFS
5642 test -z "$as_dir" && as_dir=.
5643 for ac_exec_ext in '' $ac_executable_extensions; do
5644 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5645 ac_cv_prog_ac_ct_AS="as"
5646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5647 break 2
5649 done
5650 done
5651 IFS=$as_save_IFS
5655 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5656 if test -n "$ac_ct_AS"; then
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5658 $as_echo "$ac_ct_AS" >&6; }
5659 else
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5661 $as_echo "no" >&6; }
5664 if test "x$ac_ct_AS" = x; then
5665 AS=""
5666 else
5667 case $cross_compiling:$ac_tool_warned in
5668 yes:)
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5670 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5671 ac_tool_warned=yes ;;
5672 esac
5673 AS=$ac_ct_AS
5675 else
5676 AS="$ac_cv_prog_AS"
5679 if test -n "$ac_tool_prefix"; then
5680 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5681 set dummy ${ac_tool_prefix}ar; ac_word=$2
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5683 $as_echo_n "checking for $ac_word... " >&6; }
5684 if ${ac_cv_prog_AR+:} false; then :
5685 $as_echo_n "(cached) " >&6
5686 else
5687 if test -n "$AR"; then
5688 ac_cv_prog_AR="$AR" # Let the user override the test.
5689 else
5690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5691 for as_dir in $PATH
5693 IFS=$as_save_IFS
5694 test -z "$as_dir" && as_dir=.
5695 for ac_exec_ext in '' $ac_executable_extensions; do
5696 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5697 ac_cv_prog_AR="${ac_tool_prefix}ar"
5698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5699 break 2
5701 done
5702 done
5703 IFS=$as_save_IFS
5707 AR=$ac_cv_prog_AR
5708 if test -n "$AR"; then
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5710 $as_echo "$AR" >&6; }
5711 else
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5713 $as_echo "no" >&6; }
5718 if test -z "$ac_cv_prog_AR"; then
5719 ac_ct_AR=$AR
5720 # Extract the first word of "ar", so it can be a program name with args.
5721 set dummy ar; ac_word=$2
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5723 $as_echo_n "checking for $ac_word... " >&6; }
5724 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5725 $as_echo_n "(cached) " >&6
5726 else
5727 if test -n "$ac_ct_AR"; then
5728 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5729 else
5730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5731 for as_dir in $PATH
5733 IFS=$as_save_IFS
5734 test -z "$as_dir" && as_dir=.
5735 for ac_exec_ext in '' $ac_executable_extensions; do
5736 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5737 ac_cv_prog_ac_ct_AR="ar"
5738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5739 break 2
5741 done
5742 done
5743 IFS=$as_save_IFS
5747 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5748 if test -n "$ac_ct_AR"; then
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5750 $as_echo "$ac_ct_AR" >&6; }
5751 else
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5753 $as_echo "no" >&6; }
5756 if test "x$ac_ct_AR" = x; then
5757 AR=""
5758 else
5759 case $cross_compiling:$ac_tool_warned in
5760 yes:)
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5762 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5763 ac_tool_warned=yes ;;
5764 esac
5765 AR=$ac_ct_AR
5767 else
5768 AR="$ac_cv_prog_AR"
5771 if test -n "$ac_tool_prefix"; then
5772 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5773 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5775 $as_echo_n "checking for $ac_word... " >&6; }
5776 if ${ac_cv_prog_RANLIB+:} false; then :
5777 $as_echo_n "(cached) " >&6
5778 else
5779 if test -n "$RANLIB"; then
5780 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5781 else
5782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5783 for as_dir in $PATH
5785 IFS=$as_save_IFS
5786 test -z "$as_dir" && as_dir=.
5787 for ac_exec_ext in '' $ac_executable_extensions; do
5788 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5789 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5791 break 2
5793 done
5794 done
5795 IFS=$as_save_IFS
5799 RANLIB=$ac_cv_prog_RANLIB
5800 if test -n "$RANLIB"; then
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5802 $as_echo "$RANLIB" >&6; }
5803 else
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5805 $as_echo "no" >&6; }
5810 if test -z "$ac_cv_prog_RANLIB"; then
5811 ac_ct_RANLIB=$RANLIB
5812 # Extract the first word of "ranlib", so it can be a program name with args.
5813 set dummy ranlib; ac_word=$2
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5815 $as_echo_n "checking for $ac_word... " >&6; }
5816 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5817 $as_echo_n "(cached) " >&6
5818 else
5819 if test -n "$ac_ct_RANLIB"; then
5820 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5821 else
5822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5823 for as_dir in $PATH
5825 IFS=$as_save_IFS
5826 test -z "$as_dir" && as_dir=.
5827 for ac_exec_ext in '' $ac_executable_extensions; do
5828 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5829 ac_cv_prog_ac_ct_RANLIB="ranlib"
5830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5831 break 2
5833 done
5834 done
5835 IFS=$as_save_IFS
5839 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5840 if test -n "$ac_ct_RANLIB"; then
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5842 $as_echo "$ac_ct_RANLIB" >&6; }
5843 else
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5845 $as_echo "no" >&6; }
5848 if test "x$ac_ct_RANLIB" = x; then
5849 RANLIB="ranlib-not-found-in-path-error"
5850 else
5851 case $cross_compiling:$ac_tool_warned in
5852 yes:)
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5854 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5855 ac_tool_warned=yes ;;
5856 esac
5857 RANLIB=$ac_ct_RANLIB
5859 else
5860 RANLIB="$ac_cv_prog_RANLIB"
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5866 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5867 # Check whether --enable-maintainer-mode was given.
5868 if test "${enable_maintainer_mode+set}" = set; then :
5869 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5870 else
5871 USE_MAINTAINER_MODE=no
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5875 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5876 if test $USE_MAINTAINER_MODE = yes; then
5877 MAINTAINER_MODE_TRUE=
5878 MAINTAINER_MODE_FALSE='#'
5879 else
5880 MAINTAINER_MODE_TRUE='#'
5881 MAINTAINER_MODE_FALSE=
5884 MAINT=$MAINTAINER_MODE_TRUE
5888 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5889 # which are themselves conditionally expanded.
5890 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5891 ## other macros from doing the same. This should be automated.) -pme
5893 # Check for C library flavor since GNU/Linux platforms use different
5894 # configuration directories depending on the C library in use.
5895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5896 /* end confdefs.h. */
5898 #include <stdio.h>
5899 #if __UCLIBC__
5900 _using_uclibc
5901 #endif
5903 _ACEOF
5904 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5905 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5906 uclibc=yes
5907 else
5908 uclibc=no
5910 rm -f conftest*
5913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5914 /* end confdefs.h. */
5916 #include <stdio.h>
5917 #if __BIONIC__
5918 _using_bionic
5919 #endif
5921 _ACEOF
5922 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5923 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5924 bionic=yes
5925 else
5926 bionic=no
5928 rm -f conftest*
5931 # Find platform-specific directories containing configuration info.
5932 # Also possibly modify flags used elsewhere, as needed by the platform.
5934 . $glibcxx_srcdir/configure.host
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5936 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5938 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5942 # Libtool setup.
5943 if test "x${with_newlib}" != "xyes" &&
5944 test "x${with_avrlibc}" != "xyes" &&
5945 test "x$with_headers" != "xno"; then
5946 enable_dlopen=yes
5951 case `pwd` in
5952 *\ * | *\ *)
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5954 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5955 esac
5959 macro_version='2.2.7a'
5960 macro_revision='1.3134'
5974 ltmain="$ac_aux_dir/ltmain.sh"
5976 # Backslashify metacharacters that are still active within
5977 # double-quoted strings.
5978 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5980 # Same as above, but do not quote variable references.
5981 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5983 # Sed substitution to delay expansion of an escaped shell variable in a
5984 # double_quote_subst'ed string.
5985 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5987 # Sed substitution to delay expansion of an escaped single quote.
5988 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5990 # Sed substitution to avoid accidental globbing in evaled expressions
5991 no_glob_subst='s/\*/\\\*/g'
5993 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5994 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5995 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5998 $as_echo_n "checking how to print strings... " >&6; }
5999 # Test print first, because it will be a builtin if present.
6000 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6001 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6002 ECHO='print -r --'
6003 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6004 ECHO='printf %s\n'
6005 else
6006 # Use this function as a fallback that always works.
6007 func_fallback_echo ()
6009 eval 'cat <<_LTECHO_EOF
6011 _LTECHO_EOF'
6013 ECHO='func_fallback_echo'
6016 # func_echo_all arg...
6017 # Invoke $ECHO with all args, space-separated.
6018 func_echo_all ()
6020 $ECHO ""
6023 case "$ECHO" in
6024 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6025 $as_echo "printf" >&6; } ;;
6026 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6027 $as_echo "print -r" >&6; } ;;
6028 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6029 $as_echo "cat" >&6; } ;;
6030 esac
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6046 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6047 if ${ac_cv_path_SED+:} false; then :
6048 $as_echo_n "(cached) " >&6
6049 else
6050 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6051 for ac_i in 1 2 3 4 5 6 7; do
6052 ac_script="$ac_script$as_nl$ac_script"
6053 done
6054 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6055 { ac_script=; unset ac_script;}
6056 if test -z "$SED"; then
6057 ac_path_SED_found=false
6058 # Loop through the user's path and test for each of PROGNAME-LIST
6059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6060 for as_dir in $PATH
6062 IFS=$as_save_IFS
6063 test -z "$as_dir" && as_dir=.
6064 for ac_prog in sed gsed; do
6065 for ac_exec_ext in '' $ac_executable_extensions; do
6066 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6067 as_fn_executable_p "$ac_path_SED" || continue
6068 # Check for GNU ac_path_SED and select it if it is found.
6069 # Check for GNU $ac_path_SED
6070 case `"$ac_path_SED" --version 2>&1` in
6071 *GNU*)
6072 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6074 ac_count=0
6075 $as_echo_n 0123456789 >"conftest.in"
6076 while :
6078 cat "conftest.in" "conftest.in" >"conftest.tmp"
6079 mv "conftest.tmp" "conftest.in"
6080 cp "conftest.in" "conftest.nl"
6081 $as_echo '' >> "conftest.nl"
6082 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6083 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6084 as_fn_arith $ac_count + 1 && ac_count=$as_val
6085 if test $ac_count -gt ${ac_path_SED_max-0}; then
6086 # Best one so far, save it but keep looking for a better one
6087 ac_cv_path_SED="$ac_path_SED"
6088 ac_path_SED_max=$ac_count
6090 # 10*(2^10) chars as input seems more than enough
6091 test $ac_count -gt 10 && break
6092 done
6093 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6094 esac
6096 $ac_path_SED_found && break 3
6097 done
6098 done
6099 done
6100 IFS=$as_save_IFS
6101 if test -z "$ac_cv_path_SED"; then
6102 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6104 else
6105 ac_cv_path_SED=$SED
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6110 $as_echo "$ac_cv_path_SED" >&6; }
6111 SED="$ac_cv_path_SED"
6112 rm -f conftest.sed
6114 test -z "$SED" && SED=sed
6115 Xsed="$SED -e 1s/^X//"
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6128 $as_echo_n "checking for fgrep... " >&6; }
6129 if ${ac_cv_path_FGREP+:} false; then :
6130 $as_echo_n "(cached) " >&6
6131 else
6132 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6133 then ac_cv_path_FGREP="$GREP -F"
6134 else
6135 if test -z "$FGREP"; then
6136 ac_path_FGREP_found=false
6137 # Loop through the user's path and test for each of PROGNAME-LIST
6138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6139 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6141 IFS=$as_save_IFS
6142 test -z "$as_dir" && as_dir=.
6143 for ac_prog in fgrep; do
6144 for ac_exec_ext in '' $ac_executable_extensions; do
6145 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6146 as_fn_executable_p "$ac_path_FGREP" || continue
6147 # Check for GNU ac_path_FGREP and select it if it is found.
6148 # Check for GNU $ac_path_FGREP
6149 case `"$ac_path_FGREP" --version 2>&1` in
6150 *GNU*)
6151 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6153 ac_count=0
6154 $as_echo_n 0123456789 >"conftest.in"
6155 while :
6157 cat "conftest.in" "conftest.in" >"conftest.tmp"
6158 mv "conftest.tmp" "conftest.in"
6159 cp "conftest.in" "conftest.nl"
6160 $as_echo 'FGREP' >> "conftest.nl"
6161 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6162 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6163 as_fn_arith $ac_count + 1 && ac_count=$as_val
6164 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6165 # Best one so far, save it but keep looking for a better one
6166 ac_cv_path_FGREP="$ac_path_FGREP"
6167 ac_path_FGREP_max=$ac_count
6169 # 10*(2^10) chars as input seems more than enough
6170 test $ac_count -gt 10 && break
6171 done
6172 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6173 esac
6175 $ac_path_FGREP_found && break 3
6176 done
6177 done
6178 done
6179 IFS=$as_save_IFS
6180 if test -z "$ac_cv_path_FGREP"; then
6181 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6183 else
6184 ac_cv_path_FGREP=$FGREP
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6190 $as_echo "$ac_cv_path_FGREP" >&6; }
6191 FGREP="$ac_cv_path_FGREP"
6194 test -z "$GREP" && GREP=grep
6214 # Check whether --with-gnu-ld was given.
6215 if test "${with_gnu_ld+set}" = set; then :
6216 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6217 else
6218 with_gnu_ld=no
6221 ac_prog=ld
6222 if test "$GCC" = yes; then
6223 # Check if gcc -print-prog-name=ld gives a path.
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6225 $as_echo_n "checking for ld used by $CC... " >&6; }
6226 case $host in
6227 *-*-mingw*)
6228 # gcc leaves a trailing carriage return which upsets mingw
6229 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6231 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6232 esac
6233 case $ac_prog in
6234 # Accept absolute paths.
6235 [\\/]* | ?:[\\/]*)
6236 re_direlt='/[^/][^/]*/\.\./'
6237 # Canonicalize the pathname of ld
6238 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6239 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6240 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6241 done
6242 test -z "$LD" && LD="$ac_prog"
6245 # If it fails, then pretend we aren't using GCC.
6246 ac_prog=ld
6249 # If it is relative, then search for the first ld in PATH.
6250 with_gnu_ld=unknown
6252 esac
6253 elif test "$with_gnu_ld" = yes; then
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6255 $as_echo_n "checking for GNU ld... " >&6; }
6256 else
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6258 $as_echo_n "checking for non-GNU ld... " >&6; }
6260 if ${lt_cv_path_LD+:} false; then :
6261 $as_echo_n "(cached) " >&6
6262 else
6263 if test -z "$LD"; then
6264 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6265 for ac_dir in $PATH; do
6266 IFS="$lt_save_ifs"
6267 test -z "$ac_dir" && ac_dir=.
6268 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6269 lt_cv_path_LD="$ac_dir/$ac_prog"
6270 # Check to see if the program is GNU ld. I'd rather use --version,
6271 # but apparently some variants of GNU ld only accept -v.
6272 # Break only if it was the GNU/non-GNU ld that we prefer.
6273 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6274 *GNU* | *'with BFD'*)
6275 test "$with_gnu_ld" != no && break
6278 test "$with_gnu_ld" != yes && break
6280 esac
6282 done
6283 IFS="$lt_save_ifs"
6284 else
6285 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6289 LD="$lt_cv_path_LD"
6290 if test -n "$LD"; then
6291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6292 $as_echo "$LD" >&6; }
6293 else
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6295 $as_echo "no" >&6; }
6297 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6299 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6300 if ${lt_cv_prog_gnu_ld+:} false; then :
6301 $as_echo_n "(cached) " >&6
6302 else
6303 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6304 case `$LD -v 2>&1 </dev/null` in
6305 *GNU* | *'with BFD'*)
6306 lt_cv_prog_gnu_ld=yes
6309 lt_cv_prog_gnu_ld=no
6311 esac
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6314 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6315 with_gnu_ld=$lt_cv_prog_gnu_ld
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6326 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6327 if ${lt_cv_path_NM+:} false; then :
6328 $as_echo_n "(cached) " >&6
6329 else
6330 if test -n "$NM"; then
6331 # Let the user override the nm to test.
6332 lt_nm_to_check="$NM"
6333 else
6334 lt_nm_to_check="${ac_tool_prefix}nm"
6335 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6336 lt_nm_to_check="$lt_nm_to_check nm"
6339 for lt_tmp_nm in "$lt_nm_to_check"; do
6340 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6341 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6342 IFS="$lt_save_ifs"
6343 test -z "$ac_dir" && ac_dir=.
6344 # Strip out any user-provided options from the nm to test twice,
6345 # the first time to test to see if nm (rather than its options) has
6346 # an explicit path, the second time to yield a file which can be
6347 # nm'ed itself.
6348 tmp_nm_path="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
6349 case "$tmp_nm_path" in
6350 */*|*\\*) tmp_nm="$lt_tmp_nm";;
6351 *) tmp_nm="$ac_dir/$lt_tmp_nm";;
6352 esac
6353 tmp_nm_to_nm="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
6354 if test -f "$tmp_nm_to_nm" || test -f "$tmp_nm_to_nm$ac_exeext" ; then
6355 # Check to see if the nm accepts a BSD-compat flag.
6356 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6357 # nm: unknown option "B" ignored
6358 case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
6359 *$tmp_nm*) lt_cv_path_NM="$tmp_nm -B"
6360 break
6363 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
6364 *$tmp_nm*)
6365 lt_cv_path_NM="$tmp_nm -p"
6366 break
6369 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6370 continue # so that we can try to find one that supports BSD flags
6372 esac
6374 esac
6376 done
6377 IFS="$lt_save_ifs"
6378 done
6379 : ${lt_cv_path_NM=no}
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6382 $as_echo "$lt_cv_path_NM" >&6; }
6383 if test "$lt_cv_path_NM" != "no"; then
6384 NM="$lt_cv_path_NM"
6385 else
6386 # Didn't find any BSD compatible name lister, look for dumpbin.
6387 if test -n "$DUMPBIN"; then :
6388 # Let the user override the test.
6389 else
6390 if test -n "$ac_tool_prefix"; then
6391 for ac_prog in dumpbin "link -dump"
6393 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6394 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6396 $as_echo_n "checking for $ac_word... " >&6; }
6397 if ${ac_cv_prog_DUMPBIN+:} false; then :
6398 $as_echo_n "(cached) " >&6
6399 else
6400 if test -n "$DUMPBIN"; then
6401 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6402 else
6403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6404 for as_dir in $PATH
6406 IFS=$as_save_IFS
6407 test -z "$as_dir" && as_dir=.
6408 for ac_exec_ext in '' $ac_executable_extensions; do
6409 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6410 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6412 break 2
6414 done
6415 done
6416 IFS=$as_save_IFS
6420 DUMPBIN=$ac_cv_prog_DUMPBIN
6421 if test -n "$DUMPBIN"; then
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6423 $as_echo "$DUMPBIN" >&6; }
6424 else
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6426 $as_echo "no" >&6; }
6430 test -n "$DUMPBIN" && break
6431 done
6433 if test -z "$DUMPBIN"; then
6434 ac_ct_DUMPBIN=$DUMPBIN
6435 for ac_prog in dumpbin "link -dump"
6437 # Extract the first word of "$ac_prog", so it can be a program name with args.
6438 set dummy $ac_prog; ac_word=$2
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6440 $as_echo_n "checking for $ac_word... " >&6; }
6441 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6442 $as_echo_n "(cached) " >&6
6443 else
6444 if test -n "$ac_ct_DUMPBIN"; then
6445 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6446 else
6447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6448 for as_dir in $PATH
6450 IFS=$as_save_IFS
6451 test -z "$as_dir" && as_dir=.
6452 for ac_exec_ext in '' $ac_executable_extensions; do
6453 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6454 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6456 break 2
6458 done
6459 done
6460 IFS=$as_save_IFS
6464 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6465 if test -n "$ac_ct_DUMPBIN"; then
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6467 $as_echo "$ac_ct_DUMPBIN" >&6; }
6468 else
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6470 $as_echo "no" >&6; }
6474 test -n "$ac_ct_DUMPBIN" && break
6475 done
6477 if test "x$ac_ct_DUMPBIN" = x; then
6478 DUMPBIN=":"
6479 else
6480 case $cross_compiling:$ac_tool_warned in
6481 yes:)
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6484 ac_tool_warned=yes ;;
6485 esac
6486 DUMPBIN=$ac_ct_DUMPBIN
6490 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6491 *COFF*)
6492 DUMPBIN="$DUMPBIN -symbols"
6495 DUMPBIN=:
6497 esac
6500 if test "$DUMPBIN" != ":"; then
6501 NM="$DUMPBIN"
6504 test -z "$NM" && NM=nm
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6512 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6513 if ${lt_cv_nm_interface+:} false; then :
6514 $as_echo_n "(cached) " >&6
6515 else
6516 lt_cv_nm_interface="BSD nm"
6517 echo "int some_variable = 0;" > conftest.$ac_ext
6518 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6519 (eval "$ac_compile" 2>conftest.err)
6520 cat conftest.err >&5
6521 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6522 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6523 cat conftest.err >&5
6524 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6525 cat conftest.out >&5
6526 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6527 lt_cv_nm_interface="MS dumpbin"
6529 rm -f conftest*
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6532 $as_echo "$lt_cv_nm_interface" >&6; }
6534 # find the maximum length of command line arguments
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6536 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6537 if ${lt_cv_sys_max_cmd_len+:} false; then :
6538 $as_echo_n "(cached) " >&6
6539 else
6541 teststring="ABCD"
6543 case $build_os in
6544 msdosdjgpp*)
6545 # On DJGPP, this test can blow up pretty badly due to problems in libc
6546 # (any single argument exceeding 2000 bytes causes a buffer overrun
6547 # during glob expansion). Even if it were fixed, the result of this
6548 # check would be larger than it should be.
6549 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6552 gnu*)
6553 # Under GNU Hurd, this test is not required because there is
6554 # no limit to the length of command line arguments.
6555 # Libtool will interpret -1 as no limit whatsoever
6556 lt_cv_sys_max_cmd_len=-1;
6559 cygwin* | mingw* | cegcc*)
6560 # On Win9x/ME, this test blows up -- it succeeds, but takes
6561 # about 5 minutes as the teststring grows exponentially.
6562 # Worse, since 9x/ME are not pre-emptively multitasking,
6563 # you end up with a "frozen" computer, even though with patience
6564 # the test eventually succeeds (with a max line length of 256k).
6565 # Instead, let's just punt: use the minimum linelength reported by
6566 # all of the supported platforms: 8192 (on NT/2K/XP).
6567 lt_cv_sys_max_cmd_len=8192;
6570 mint*)
6571 # On MiNT this can take a long time and run out of memory.
6572 lt_cv_sys_max_cmd_len=8192;
6575 amigaos*)
6576 # On AmigaOS with pdksh, this test takes hours, literally.
6577 # So we just punt and use a minimum line length of 8192.
6578 lt_cv_sys_max_cmd_len=8192;
6581 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6582 # This has been around since 386BSD, at least. Likely further.
6583 if test -x /sbin/sysctl; then
6584 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6585 elif test -x /usr/sbin/sysctl; then
6586 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6587 else
6588 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6590 # And add a safety zone
6591 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6592 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6595 interix*)
6596 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6597 lt_cv_sys_max_cmd_len=196608
6600 osf*)
6601 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6602 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6603 # nice to cause kernel panics so lets avoid the loop below.
6604 # First set a reasonable default.
6605 lt_cv_sys_max_cmd_len=16384
6607 if test -x /sbin/sysconfig; then
6608 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6609 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6610 esac
6613 sco3.2v5*)
6614 lt_cv_sys_max_cmd_len=102400
6616 sysv5* | sco5v6* | sysv4.2uw2*)
6617 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6618 if test -n "$kargmax"; then
6619 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6620 else
6621 lt_cv_sys_max_cmd_len=32768
6625 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6626 if test -n "$lt_cv_sys_max_cmd_len"; then
6627 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6628 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6629 else
6630 # Make teststring a little bigger before we do anything with it.
6631 # a 1K string should be a reasonable start.
6632 for i in 1 2 3 4 5 6 7 8 ; do
6633 teststring=$teststring$teststring
6634 done
6635 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6636 # If test is not a shell built-in, we'll probably end up computing a
6637 # maximum length that is only half of the actual maximum length, but
6638 # we can't tell.
6639 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6640 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6641 test $i != 17 # 1/2 MB should be enough
6643 i=`expr $i + 1`
6644 teststring=$teststring$teststring
6645 done
6646 # Only check the string length outside the loop.
6647 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6648 teststring=
6649 # Add a significant safety factor because C++ compilers can tack on
6650 # massive amounts of additional arguments before passing them to the
6651 # linker. It appears as though 1/2 is a usable value.
6652 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6655 esac
6659 if test -n $lt_cv_sys_max_cmd_len ; then
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6661 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6662 else
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6664 $as_echo "none" >&6; }
6666 max_cmd_len=$lt_cv_sys_max_cmd_len
6673 : ${CP="cp -f"}
6674 : ${MV="mv -f"}
6675 : ${RM="rm -f"}
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6678 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6679 # Try some XSI features
6680 xsi_shell=no
6681 ( _lt_dummy="a/b/c"
6682 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6683 = c,a/b,, \
6684 && eval 'test $(( 1 + 1 )) -eq 2 \
6685 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6686 && xsi_shell=yes
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6688 $as_echo "$xsi_shell" >&6; }
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6692 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6693 lt_shell_append=no
6694 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6695 >/dev/null 2>&1 \
6696 && lt_shell_append=yes
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6698 $as_echo "$lt_shell_append" >&6; }
6701 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6702 lt_unset=unset
6703 else
6704 lt_unset=false
6711 # test EBCDIC or ASCII
6712 case `echo X|tr X '\101'` in
6713 A) # ASCII based system
6714 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6715 lt_SP2NL='tr \040 \012'
6716 lt_NL2SP='tr \015\012 \040\040'
6718 *) # EBCDIC based system
6719 lt_SP2NL='tr \100 \n'
6720 lt_NL2SP='tr \r\n \100\100'
6722 esac
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6733 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6734 if ${lt_cv_ld_reload_flag+:} false; then :
6735 $as_echo_n "(cached) " >&6
6736 else
6737 lt_cv_ld_reload_flag='-r'
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6740 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6741 reload_flag=$lt_cv_ld_reload_flag
6742 case $reload_flag in
6743 "" | " "*) ;;
6744 *) reload_flag=" $reload_flag" ;;
6745 esac
6746 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6747 case $host_os in
6748 darwin*)
6749 if test "$GCC" = yes; then
6750 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6751 else
6752 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6755 esac
6765 if test -n "$ac_tool_prefix"; then
6766 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6767 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6769 $as_echo_n "checking for $ac_word... " >&6; }
6770 if ${ac_cv_prog_OBJDUMP+:} false; then :
6771 $as_echo_n "(cached) " >&6
6772 else
6773 if test -n "$OBJDUMP"; then
6774 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6775 else
6776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6777 for as_dir in $PATH
6779 IFS=$as_save_IFS
6780 test -z "$as_dir" && as_dir=.
6781 for ac_exec_ext in '' $ac_executable_extensions; do
6782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6783 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6785 break 2
6787 done
6788 done
6789 IFS=$as_save_IFS
6793 OBJDUMP=$ac_cv_prog_OBJDUMP
6794 if test -n "$OBJDUMP"; then
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6796 $as_echo "$OBJDUMP" >&6; }
6797 else
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6799 $as_echo "no" >&6; }
6804 if test -z "$ac_cv_prog_OBJDUMP"; then
6805 ac_ct_OBJDUMP=$OBJDUMP
6806 # Extract the first word of "objdump", so it can be a program name with args.
6807 set dummy objdump; ac_word=$2
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6809 $as_echo_n "checking for $ac_word... " >&6; }
6810 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6811 $as_echo_n "(cached) " >&6
6812 else
6813 if test -n "$ac_ct_OBJDUMP"; then
6814 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6815 else
6816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6817 for as_dir in $PATH
6819 IFS=$as_save_IFS
6820 test -z "$as_dir" && as_dir=.
6821 for ac_exec_ext in '' $ac_executable_extensions; do
6822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6823 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6825 break 2
6827 done
6828 done
6829 IFS=$as_save_IFS
6833 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6834 if test -n "$ac_ct_OBJDUMP"; then
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6836 $as_echo "$ac_ct_OBJDUMP" >&6; }
6837 else
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6839 $as_echo "no" >&6; }
6842 if test "x$ac_ct_OBJDUMP" = x; then
6843 OBJDUMP="false"
6844 else
6845 case $cross_compiling:$ac_tool_warned in
6846 yes:)
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6848 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6849 ac_tool_warned=yes ;;
6850 esac
6851 OBJDUMP=$ac_ct_OBJDUMP
6853 else
6854 OBJDUMP="$ac_cv_prog_OBJDUMP"
6857 test -z "$OBJDUMP" && OBJDUMP=objdump
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6868 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6869 if ${lt_cv_deplibs_check_method+:} false; then :
6870 $as_echo_n "(cached) " >&6
6871 else
6872 lt_cv_file_magic_cmd='$MAGIC_CMD'
6873 lt_cv_file_magic_test_file=
6874 lt_cv_deplibs_check_method='unknown'
6875 # Need to set the preceding variable on all platforms that support
6876 # interlibrary dependencies.
6877 # 'none' -- dependencies not supported.
6878 # `unknown' -- same as none, but documents that we really don't know.
6879 # 'pass_all' -- all dependencies passed with no checks.
6880 # 'test_compile' -- check by making test program.
6881 # 'file_magic [[regex]]' -- check by looking for files in library path
6882 # which responds to the $file_magic_cmd with a given extended regex.
6883 # If you have `file' or equivalent on your system and you're not sure
6884 # whether `pass_all' will *always* work, you probably want this one.
6886 case $host_os in
6887 aix[4-9]*)
6888 lt_cv_deplibs_check_method=pass_all
6891 beos*)
6892 lt_cv_deplibs_check_method=pass_all
6895 bsdi[45]*)
6896 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6897 lt_cv_file_magic_cmd='/usr/bin/file -L'
6898 lt_cv_file_magic_test_file=/shlib/libc.so
6901 cygwin*)
6902 # func_win32_libid is a shell function defined in ltmain.sh
6903 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6904 lt_cv_file_magic_cmd='func_win32_libid'
6907 mingw* | pw32*)
6908 # Base MSYS/MinGW do not provide the 'file' command needed by
6909 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6910 # unless we find 'file', for example because we are cross-compiling.
6911 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6912 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6913 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6914 lt_cv_file_magic_cmd='func_win32_libid'
6915 else
6916 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6917 lt_cv_file_magic_cmd='$OBJDUMP -f'
6921 cegcc*)
6922 # use the weaker test based on 'objdump'. See mingw*.
6923 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6924 lt_cv_file_magic_cmd='$OBJDUMP -f'
6927 darwin* | rhapsody*)
6928 lt_cv_deplibs_check_method=pass_all
6931 freebsd* | dragonfly*)
6932 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6933 case $host_cpu in
6934 i*86 )
6935 # Not sure whether the presence of OpenBSD here was a mistake.
6936 # Let's accept both of them until this is cleared up.
6937 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6938 lt_cv_file_magic_cmd=/usr/bin/file
6939 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6941 esac
6942 else
6943 lt_cv_deplibs_check_method=pass_all
6947 gnu*)
6948 lt_cv_deplibs_check_method=pass_all
6951 haiku*)
6952 lt_cv_deplibs_check_method=pass_all
6955 hpux10.20* | hpux11*)
6956 lt_cv_file_magic_cmd=/usr/bin/file
6957 case $host_cpu in
6958 ia64*)
6959 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6960 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6962 hppa*64*)
6963 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]'
6964 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6967 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6968 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6970 esac
6973 interix[3-9]*)
6974 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6975 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6978 irix5* | irix6* | nonstopux*)
6979 case $LD in
6980 *-32|*"-32 ") libmagic=32-bit;;
6981 *-n32|*"-n32 ") libmagic=N32;;
6982 *-64|*"-64 ") libmagic=64-bit;;
6983 *) libmagic=never-match;;
6984 esac
6985 lt_cv_deplibs_check_method=pass_all
6988 # This must be Linux ELF.
6989 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
6990 lt_cv_deplibs_check_method=pass_all
6993 netbsd*)
6994 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6995 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6996 else
6997 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7001 newos6*)
7002 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7003 lt_cv_file_magic_cmd=/usr/bin/file
7004 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7007 *nto* | *qnx*)
7008 lt_cv_deplibs_check_method=pass_all
7011 openbsd*)
7012 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7013 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7014 else
7015 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7019 osf3* | osf4* | osf5*)
7020 lt_cv_deplibs_check_method=pass_all
7023 rdos*)
7024 lt_cv_deplibs_check_method=pass_all
7027 solaris*)
7028 lt_cv_deplibs_check_method=pass_all
7031 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7032 lt_cv_deplibs_check_method=pass_all
7035 sysv4 | sysv4.3*)
7036 case $host_vendor in
7037 motorola)
7038 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]'
7039 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7041 ncr)
7042 lt_cv_deplibs_check_method=pass_all
7044 sequent)
7045 lt_cv_file_magic_cmd='/bin/file'
7046 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7048 sni)
7049 lt_cv_file_magic_cmd='/bin/file'
7050 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7051 lt_cv_file_magic_test_file=/lib/libc.so
7053 siemens)
7054 lt_cv_deplibs_check_method=pass_all
7057 lt_cv_deplibs_check_method=pass_all
7059 esac
7062 tpf*)
7063 lt_cv_deplibs_check_method=pass_all
7065 vxworks*)
7066 # Assume VxWorks cross toolchains are built on Linux, possibly
7067 # as canadian for Windows hosts.
7068 lt_cv_deplibs_check_method=pass_all
7070 esac
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7074 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7075 file_magic_cmd=$lt_cv_file_magic_cmd
7076 deplibs_check_method=$lt_cv_deplibs_check_method
7077 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7090 plugin_option=
7091 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
7092 for plugin in $plugin_names; do
7093 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
7094 if test x$plugin_so = x$plugin; then
7095 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
7097 if test x$plugin_so != x$plugin; then
7098 plugin_option="--plugin $plugin_so"
7099 break
7101 done
7103 if test -n "$ac_tool_prefix"; then
7104 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7105 set dummy ${ac_tool_prefix}ar; ac_word=$2
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7107 $as_echo_n "checking for $ac_word... " >&6; }
7108 if ${ac_cv_prog_AR+:} false; then :
7109 $as_echo_n "(cached) " >&6
7110 else
7111 if test -n "$AR"; then
7112 ac_cv_prog_AR="$AR" # Let the user override the test.
7113 else
7114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7115 for as_dir in $PATH
7117 IFS=$as_save_IFS
7118 test -z "$as_dir" && as_dir=.
7119 for ac_exec_ext in '' $ac_executable_extensions; do
7120 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7121 ac_cv_prog_AR="${ac_tool_prefix}ar"
7122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7123 break 2
7125 done
7126 done
7127 IFS=$as_save_IFS
7131 AR=$ac_cv_prog_AR
7132 if test -n "$AR"; then
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7134 $as_echo "$AR" >&6; }
7135 else
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7137 $as_echo "no" >&6; }
7142 if test -z "$ac_cv_prog_AR"; then
7143 ac_ct_AR=$AR
7144 # Extract the first word of "ar", so it can be a program name with args.
7145 set dummy ar; ac_word=$2
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7147 $as_echo_n "checking for $ac_word... " >&6; }
7148 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7149 $as_echo_n "(cached) " >&6
7150 else
7151 if test -n "$ac_ct_AR"; then
7152 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7153 else
7154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7155 for as_dir in $PATH
7157 IFS=$as_save_IFS
7158 test -z "$as_dir" && as_dir=.
7159 for ac_exec_ext in '' $ac_executable_extensions; do
7160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7161 ac_cv_prog_ac_ct_AR="ar"
7162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7163 break 2
7165 done
7166 done
7167 IFS=$as_save_IFS
7171 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7172 if test -n "$ac_ct_AR"; then
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7174 $as_echo "$ac_ct_AR" >&6; }
7175 else
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7177 $as_echo "no" >&6; }
7180 if test "x$ac_ct_AR" = x; then
7181 AR="false"
7182 else
7183 case $cross_compiling:$ac_tool_warned in
7184 yes:)
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7186 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7187 ac_tool_warned=yes ;;
7188 esac
7189 AR=$ac_ct_AR
7191 else
7192 AR="$ac_cv_prog_AR"
7195 test -z "$AR" && AR=ar
7196 if test -n "$plugin_option"; then
7197 if $AR --help 2>&1 | grep -q "\--plugin"; then
7198 touch conftest.c
7199 $AR $plugin_option rc conftest.a conftest.c
7200 if test "$?" != 0; then
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
7202 $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
7203 else
7204 AR="$AR $plugin_option"
7206 rm -f conftest.*
7209 test -z "$AR_FLAGS" && AR_FLAGS=cru
7221 if test -n "$ac_tool_prefix"; then
7222 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7223 set dummy ${ac_tool_prefix}strip; ac_word=$2
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7225 $as_echo_n "checking for $ac_word... " >&6; }
7226 if ${ac_cv_prog_STRIP+:} false; then :
7227 $as_echo_n "(cached) " >&6
7228 else
7229 if test -n "$STRIP"; then
7230 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7231 else
7232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7233 for as_dir in $PATH
7235 IFS=$as_save_IFS
7236 test -z "$as_dir" && as_dir=.
7237 for ac_exec_ext in '' $ac_executable_extensions; do
7238 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7239 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7241 break 2
7243 done
7244 done
7245 IFS=$as_save_IFS
7249 STRIP=$ac_cv_prog_STRIP
7250 if test -n "$STRIP"; then
7251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7252 $as_echo "$STRIP" >&6; }
7253 else
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7255 $as_echo "no" >&6; }
7260 if test -z "$ac_cv_prog_STRIP"; then
7261 ac_ct_STRIP=$STRIP
7262 # Extract the first word of "strip", so it can be a program name with args.
7263 set dummy strip; ac_word=$2
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7265 $as_echo_n "checking for $ac_word... " >&6; }
7266 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7267 $as_echo_n "(cached) " >&6
7268 else
7269 if test -n "$ac_ct_STRIP"; then
7270 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7271 else
7272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7273 for as_dir in $PATH
7275 IFS=$as_save_IFS
7276 test -z "$as_dir" && as_dir=.
7277 for ac_exec_ext in '' $ac_executable_extensions; do
7278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7279 ac_cv_prog_ac_ct_STRIP="strip"
7280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7281 break 2
7283 done
7284 done
7285 IFS=$as_save_IFS
7289 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7290 if test -n "$ac_ct_STRIP"; then
7291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7292 $as_echo "$ac_ct_STRIP" >&6; }
7293 else
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7295 $as_echo "no" >&6; }
7298 if test "x$ac_ct_STRIP" = x; then
7299 STRIP=":"
7300 else
7301 case $cross_compiling:$ac_tool_warned in
7302 yes:)
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7304 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7305 ac_tool_warned=yes ;;
7306 esac
7307 STRIP=$ac_ct_STRIP
7309 else
7310 STRIP="$ac_cv_prog_STRIP"
7313 test -z "$STRIP" && STRIP=:
7320 if test -n "$ac_tool_prefix"; then
7321 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7322 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7324 $as_echo_n "checking for $ac_word... " >&6; }
7325 if ${ac_cv_prog_RANLIB+:} false; then :
7326 $as_echo_n "(cached) " >&6
7327 else
7328 if test -n "$RANLIB"; then
7329 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7330 else
7331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7332 for as_dir in $PATH
7334 IFS=$as_save_IFS
7335 test -z "$as_dir" && as_dir=.
7336 for ac_exec_ext in '' $ac_executable_extensions; do
7337 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7338 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7340 break 2
7342 done
7343 done
7344 IFS=$as_save_IFS
7348 RANLIB=$ac_cv_prog_RANLIB
7349 if test -n "$RANLIB"; then
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7351 $as_echo "$RANLIB" >&6; }
7352 else
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7354 $as_echo "no" >&6; }
7359 if test -z "$ac_cv_prog_RANLIB"; then
7360 ac_ct_RANLIB=$RANLIB
7361 # Extract the first word of "ranlib", so it can be a program name with args.
7362 set dummy ranlib; ac_word=$2
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7364 $as_echo_n "checking for $ac_word... " >&6; }
7365 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7366 $as_echo_n "(cached) " >&6
7367 else
7368 if test -n "$ac_ct_RANLIB"; then
7369 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7370 else
7371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7372 for as_dir in $PATH
7374 IFS=$as_save_IFS
7375 test -z "$as_dir" && as_dir=.
7376 for ac_exec_ext in '' $ac_executable_extensions; do
7377 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7378 ac_cv_prog_ac_ct_RANLIB="ranlib"
7379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7380 break 2
7382 done
7383 done
7384 IFS=$as_save_IFS
7388 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7389 if test -n "$ac_ct_RANLIB"; then
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7391 $as_echo "$ac_ct_RANLIB" >&6; }
7392 else
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7394 $as_echo "no" >&6; }
7397 if test "x$ac_ct_RANLIB" = x; then
7398 RANLIB=":"
7399 else
7400 case $cross_compiling:$ac_tool_warned in
7401 yes:)
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7403 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7404 ac_tool_warned=yes ;;
7405 esac
7406 RANLIB=$ac_ct_RANLIB
7408 else
7409 RANLIB="$ac_cv_prog_RANLIB"
7412 test -z "$RANLIB" && RANLIB=:
7413 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
7414 if $RANLIB --help 2>&1 | grep -q "\--plugin"; then
7415 RANLIB="$RANLIB $plugin_option"
7424 # Determine commands to create old-style static archives.
7425 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7426 old_postinstall_cmds='chmod 644 $oldlib'
7427 old_postuninstall_cmds=
7429 if test -n "$RANLIB"; then
7430 case $host_os in
7431 openbsd*)
7432 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7435 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7437 esac
7438 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7441 case $host_os in
7442 darwin*)
7443 lock_old_archive_extraction=yes ;;
7445 lock_old_archive_extraction=no ;;
7446 esac
7486 # If no C compiler was specified, use CC.
7487 LTCC=${LTCC-"$CC"}
7489 # If no C compiler flags were specified, use CFLAGS.
7490 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7492 # Allow CC to be a program name with arguments.
7493 compiler=$CC
7496 # Check for command to grab the raw symbol name followed by C symbol from nm.
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7498 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7499 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7500 $as_echo_n "(cached) " >&6
7501 else
7503 # These are sane defaults that work on at least a few old systems.
7504 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7506 # Character class describing NM global symbol codes.
7507 symcode='[BCDEGRST]'
7509 # Regexp to match symbols that can be accessed directly from C.
7510 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7512 # Define system-specific variables.
7513 case $host_os in
7514 aix*)
7515 symcode='[BCDT]'
7517 cygwin* | mingw* | pw32* | cegcc*)
7518 symcode='[ABCDGISTW]'
7520 hpux*)
7521 if test "$host_cpu" = ia64; then
7522 symcode='[ABCDEGRST]'
7525 irix* | nonstopux*)
7526 symcode='[BCDEGRST]'
7528 osf*)
7529 symcode='[BCDEGQRST]'
7531 solaris*)
7532 symcode='[BCDRT]'
7534 sco3.2v5*)
7535 symcode='[DT]'
7537 sysv4.2uw2*)
7538 symcode='[DT]'
7540 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7541 symcode='[ABDT]'
7543 sysv4)
7544 symcode='[DFNSTU]'
7546 esac
7548 # If we're using GNU nm, then use its standard symbol codes.
7549 case `$NM -V 2>&1` in
7550 *GNU* | *'with BFD'*)
7551 symcode='[ABCDGIRSTW]' ;;
7552 esac
7554 # Transform an extracted symbol line into a proper C declaration.
7555 # Some systems (esp. on ia64) link data and code symbols differently,
7556 # so use this general approach.
7557 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7559 # Transform an extracted symbol line into symbol name and symbol address
7560 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7561 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'"
7563 # Handle CRLF in mingw tool chain
7564 opt_cr=
7565 case $build_os in
7566 mingw*)
7567 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7569 esac
7571 # Try without a prefix underscore, then with it.
7572 for ac_symprfx in "" "_"; do
7574 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7575 symxfrm="\\1 $ac_symprfx\\2 \\2"
7577 # Write the raw and C identifiers.
7578 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7579 # Fake it for dumpbin and say T for any non-static function
7580 # and D for any global variable.
7581 # Also find C++ and __fastcall symbols from MSVC++,
7582 # which start with @ or ?.
7583 lt_cv_sys_global_symbol_pipe="$AWK '"\
7584 " {last_section=section; section=\$ 3};"\
7585 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7586 " \$ 0!~/External *\|/{next};"\
7587 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7588 " {if(hide[section]) next};"\
7589 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7590 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7591 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7592 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7593 " ' prfx=^$ac_symprfx"
7594 else
7595 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7598 # Check to see that the pipe works correctly.
7599 pipe_works=no
7601 rm -f conftest*
7602 cat > conftest.$ac_ext <<_LT_EOF
7603 #ifdef __cplusplus
7604 extern "C" {
7605 #endif
7606 char nm_test_var;
7607 void nm_test_func(void);
7608 void nm_test_func(void){}
7609 #ifdef __cplusplus
7611 #endif
7612 int main(){nm_test_var='a';nm_test_func();return(0);}
7613 _LT_EOF
7615 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7616 (eval $ac_compile) 2>&5
7617 ac_status=$?
7618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7619 test $ac_status = 0; }; then
7620 # Now try to grab the symbols.
7621 nlist=conftest.nm
7622 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7623 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7624 ac_status=$?
7625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7626 test $ac_status = 0; } && test -s "$nlist"; then
7627 # Try sorting and uniquifying the output.
7628 if sort "$nlist" | uniq > "$nlist"T; then
7629 mv -f "$nlist"T "$nlist"
7630 else
7631 rm -f "$nlist"T
7634 # Make sure that we snagged all the symbols we need.
7635 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7636 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7637 cat <<_LT_EOF > conftest.$ac_ext
7638 #ifdef __cplusplus
7639 extern "C" {
7640 #endif
7642 _LT_EOF
7643 # Now generate the symbol file.
7644 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7646 cat <<_LT_EOF >> conftest.$ac_ext
7648 /* The mapping between symbol names and symbols. */
7649 const struct {
7650 const char *name;
7651 void *address;
7653 lt__PROGRAM__LTX_preloaded_symbols[] =
7655 { "@PROGRAM@", (void *) 0 },
7656 _LT_EOF
7657 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7658 cat <<\_LT_EOF >> conftest.$ac_ext
7659 {0, (void *) 0}
7662 /* This works around a problem in FreeBSD linker */
7663 #ifdef FREEBSD_WORKAROUND
7664 static const void *lt_preloaded_setup() {
7665 return lt__PROGRAM__LTX_preloaded_symbols;
7667 #endif
7669 #ifdef __cplusplus
7671 #endif
7672 _LT_EOF
7673 # Now try linking the two files.
7674 mv conftest.$ac_objext conftstm.$ac_objext
7675 lt_save_LIBS="$LIBS"
7676 lt_save_CFLAGS="$CFLAGS"
7677 LIBS="conftstm.$ac_objext"
7678 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7679 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7680 (eval $ac_link) 2>&5
7681 ac_status=$?
7682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7683 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7684 pipe_works=yes
7686 LIBS="$lt_save_LIBS"
7687 CFLAGS="$lt_save_CFLAGS"
7688 else
7689 echo "cannot find nm_test_func in $nlist" >&5
7691 else
7692 echo "cannot find nm_test_var in $nlist" >&5
7694 else
7695 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7697 else
7698 echo "$progname: failed program was:" >&5
7699 cat conftest.$ac_ext >&5
7701 rm -rf conftest* conftst*
7703 # Do not use the global_symbol_pipe unless it works.
7704 if test "$pipe_works" = yes; then
7705 break
7706 else
7707 lt_cv_sys_global_symbol_pipe=
7709 done
7713 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7714 lt_cv_sys_global_symbol_to_cdecl=
7716 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7718 $as_echo "failed" >&6; }
7719 else
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7721 $as_echo "ok" >&6; }
7745 # Check whether --enable-libtool-lock was given.
7746 if test "${enable_libtool_lock+set}" = set; then :
7747 enableval=$enable_libtool_lock;
7750 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7752 # Some flags need to be propagated to the compiler or linker for good
7753 # libtool support.
7754 case $host in
7755 ia64-*-hpux*)
7756 # Find out which ABI we are using.
7757 echo 'int i;' > conftest.$ac_ext
7758 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7759 (eval $ac_compile) 2>&5
7760 ac_status=$?
7761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7762 test $ac_status = 0; }; then
7763 case `/usr/bin/file conftest.$ac_objext` in
7764 *ELF-32*)
7765 HPUX_IA64_MODE="32"
7767 *ELF-64*)
7768 HPUX_IA64_MODE="64"
7770 esac
7772 rm -rf conftest*
7774 *-*-irix6*)
7775 # Find out which ABI we are using.
7776 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7777 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7778 (eval $ac_compile) 2>&5
7779 ac_status=$?
7780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7781 test $ac_status = 0; }; then
7782 if test "$lt_cv_prog_gnu_ld" = yes; then
7783 case `/usr/bin/file conftest.$ac_objext` in
7784 *32-bit*)
7785 LD="${LD-ld} -melf32bsmip"
7787 *N32*)
7788 LD="${LD-ld} -melf32bmipn32"
7790 *64-bit*)
7791 LD="${LD-ld} -melf64bmip"
7793 esac
7794 else
7795 case `/usr/bin/file conftest.$ac_objext` in
7796 *32-bit*)
7797 LD="${LD-ld} -32"
7799 *N32*)
7800 LD="${LD-ld} -n32"
7802 *64-bit*)
7803 LD="${LD-ld} -64"
7805 esac
7808 rm -rf conftest*
7811 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7812 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7813 # Find out which ABI we are using.
7814 echo 'int i;' > conftest.$ac_ext
7815 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7816 (eval $ac_compile) 2>&5
7817 ac_status=$?
7818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7819 test $ac_status = 0; }; then
7820 case `/usr/bin/file conftest.o` in
7821 *32-bit*)
7822 case $host in
7823 x86_64-*kfreebsd*-gnu)
7824 LD="${LD-ld} -m elf_i386_fbsd"
7826 x86_64-*linux*)
7827 case `/usr/bin/file conftest.o` in
7828 *x86-64*)
7829 LD="${LD-ld} -m elf32_x86_64"
7832 LD="${LD-ld} -m elf_i386"
7834 esac
7836 powerpc64le-*linux*)
7837 LD="${LD-ld} -m elf32lppclinux"
7839 powerpc64-*linux*)
7840 LD="${LD-ld} -m elf32ppclinux"
7842 s390x-*linux*)
7843 LD="${LD-ld} -m elf_s390"
7845 sparc64-*linux*)
7846 LD="${LD-ld} -m elf32_sparc"
7848 esac
7850 *64-bit*)
7851 case $host in
7852 x86_64-*kfreebsd*-gnu)
7853 LD="${LD-ld} -m elf_x86_64_fbsd"
7855 x86_64-*linux*)
7856 LD="${LD-ld} -m elf_x86_64"
7858 powerpcle-*linux*)
7859 LD="${LD-ld} -m elf64lppc"
7861 powerpc-*linux*)
7862 LD="${LD-ld} -m elf64ppc"
7864 s390*-*linux*|s390*-*tpf*)
7865 LD="${LD-ld} -m elf64_s390"
7867 sparc*-*linux*)
7868 LD="${LD-ld} -m elf64_sparc"
7870 esac
7872 esac
7874 rm -rf conftest*
7877 *-*-sco3.2v5*)
7878 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7879 SAVE_CFLAGS="$CFLAGS"
7880 CFLAGS="$CFLAGS -belf"
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7882 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7883 if ${lt_cv_cc_needs_belf+:} false; then :
7884 $as_echo_n "(cached) " >&6
7885 else
7886 ac_ext=c
7887 ac_cpp='$CPP $CPPFLAGS'
7888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7892 if test x$gcc_no_link = xyes; then
7893 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7896 /* end confdefs.h. */
7899 main ()
7903 return 0;
7905 _ACEOF
7906 if ac_fn_c_try_link "$LINENO"; then :
7907 lt_cv_cc_needs_belf=yes
7908 else
7909 lt_cv_cc_needs_belf=no
7911 rm -f core conftest.err conftest.$ac_objext \
7912 conftest$ac_exeext conftest.$ac_ext
7913 ac_ext=c
7914 ac_cpp='$CPP $CPPFLAGS'
7915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7921 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7922 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7923 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7924 CFLAGS="$SAVE_CFLAGS"
7927 sparc*-*solaris*)
7928 # Find out which ABI we are using.
7929 echo 'int i;' > conftest.$ac_ext
7930 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7931 (eval $ac_compile) 2>&5
7932 ac_status=$?
7933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7934 test $ac_status = 0; }; then
7935 case `/usr/bin/file conftest.o` in
7936 *64-bit*)
7937 case $lt_cv_prog_gnu_ld in
7938 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7940 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7941 LD="${LD-ld} -64"
7944 esac
7946 esac
7948 rm -rf conftest*
7950 esac
7952 need_locks="$enable_libtool_lock"
7955 case $host_os in
7956 rhapsody* | darwin*)
7957 if test -n "$ac_tool_prefix"; then
7958 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7959 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7961 $as_echo_n "checking for $ac_word... " >&6; }
7962 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7963 $as_echo_n "(cached) " >&6
7964 else
7965 if test -n "$DSYMUTIL"; then
7966 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7967 else
7968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7969 for as_dir in $PATH
7971 IFS=$as_save_IFS
7972 test -z "$as_dir" && as_dir=.
7973 for ac_exec_ext in '' $ac_executable_extensions; do
7974 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7975 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7977 break 2
7979 done
7980 done
7981 IFS=$as_save_IFS
7985 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7986 if test -n "$DSYMUTIL"; then
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7988 $as_echo "$DSYMUTIL" >&6; }
7989 else
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7991 $as_echo "no" >&6; }
7996 if test -z "$ac_cv_prog_DSYMUTIL"; then
7997 ac_ct_DSYMUTIL=$DSYMUTIL
7998 # Extract the first word of "dsymutil", so it can be a program name with args.
7999 set dummy dsymutil; ac_word=$2
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8001 $as_echo_n "checking for $ac_word... " >&6; }
8002 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8003 $as_echo_n "(cached) " >&6
8004 else
8005 if test -n "$ac_ct_DSYMUTIL"; then
8006 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8007 else
8008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8009 for as_dir in $PATH
8011 IFS=$as_save_IFS
8012 test -z "$as_dir" && as_dir=.
8013 for ac_exec_ext in '' $ac_executable_extensions; do
8014 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8015 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8017 break 2
8019 done
8020 done
8021 IFS=$as_save_IFS
8025 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8026 if test -n "$ac_ct_DSYMUTIL"; then
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8028 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8029 else
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8031 $as_echo "no" >&6; }
8034 if test "x$ac_ct_DSYMUTIL" = x; then
8035 DSYMUTIL=":"
8036 else
8037 case $cross_compiling:$ac_tool_warned in
8038 yes:)
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8040 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8041 ac_tool_warned=yes ;;
8042 esac
8043 DSYMUTIL=$ac_ct_DSYMUTIL
8045 else
8046 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8049 if test -n "$ac_tool_prefix"; then
8050 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8051 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8053 $as_echo_n "checking for $ac_word... " >&6; }
8054 if ${ac_cv_prog_NMEDIT+:} false; then :
8055 $as_echo_n "(cached) " >&6
8056 else
8057 if test -n "$NMEDIT"; then
8058 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8059 else
8060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8061 for as_dir in $PATH
8063 IFS=$as_save_IFS
8064 test -z "$as_dir" && as_dir=.
8065 for ac_exec_ext in '' $ac_executable_extensions; do
8066 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8067 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8069 break 2
8071 done
8072 done
8073 IFS=$as_save_IFS
8077 NMEDIT=$ac_cv_prog_NMEDIT
8078 if test -n "$NMEDIT"; then
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8080 $as_echo "$NMEDIT" >&6; }
8081 else
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8083 $as_echo "no" >&6; }
8088 if test -z "$ac_cv_prog_NMEDIT"; then
8089 ac_ct_NMEDIT=$NMEDIT
8090 # Extract the first word of "nmedit", so it can be a program name with args.
8091 set dummy nmedit; ac_word=$2
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8093 $as_echo_n "checking for $ac_word... " >&6; }
8094 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8095 $as_echo_n "(cached) " >&6
8096 else
8097 if test -n "$ac_ct_NMEDIT"; then
8098 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8099 else
8100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8101 for as_dir in $PATH
8103 IFS=$as_save_IFS
8104 test -z "$as_dir" && as_dir=.
8105 for ac_exec_ext in '' $ac_executable_extensions; do
8106 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8107 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8109 break 2
8111 done
8112 done
8113 IFS=$as_save_IFS
8117 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8118 if test -n "$ac_ct_NMEDIT"; then
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8120 $as_echo "$ac_ct_NMEDIT" >&6; }
8121 else
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8123 $as_echo "no" >&6; }
8126 if test "x$ac_ct_NMEDIT" = x; then
8127 NMEDIT=":"
8128 else
8129 case $cross_compiling:$ac_tool_warned in
8130 yes:)
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8132 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8133 ac_tool_warned=yes ;;
8134 esac
8135 NMEDIT=$ac_ct_NMEDIT
8137 else
8138 NMEDIT="$ac_cv_prog_NMEDIT"
8141 if test -n "$ac_tool_prefix"; then
8142 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8143 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8145 $as_echo_n "checking for $ac_word... " >&6; }
8146 if ${ac_cv_prog_LIPO+:} false; then :
8147 $as_echo_n "(cached) " >&6
8148 else
8149 if test -n "$LIPO"; then
8150 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8151 else
8152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8153 for as_dir in $PATH
8155 IFS=$as_save_IFS
8156 test -z "$as_dir" && as_dir=.
8157 for ac_exec_ext in '' $ac_executable_extensions; do
8158 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8159 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8161 break 2
8163 done
8164 done
8165 IFS=$as_save_IFS
8169 LIPO=$ac_cv_prog_LIPO
8170 if test -n "$LIPO"; then
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8172 $as_echo "$LIPO" >&6; }
8173 else
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8175 $as_echo "no" >&6; }
8180 if test -z "$ac_cv_prog_LIPO"; then
8181 ac_ct_LIPO=$LIPO
8182 # Extract the first word of "lipo", so it can be a program name with args.
8183 set dummy lipo; ac_word=$2
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8185 $as_echo_n "checking for $ac_word... " >&6; }
8186 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8187 $as_echo_n "(cached) " >&6
8188 else
8189 if test -n "$ac_ct_LIPO"; then
8190 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8191 else
8192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8193 for as_dir in $PATH
8195 IFS=$as_save_IFS
8196 test -z "$as_dir" && as_dir=.
8197 for ac_exec_ext in '' $ac_executable_extensions; do
8198 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8199 ac_cv_prog_ac_ct_LIPO="lipo"
8200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8201 break 2
8203 done
8204 done
8205 IFS=$as_save_IFS
8209 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8210 if test -n "$ac_ct_LIPO"; then
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8212 $as_echo "$ac_ct_LIPO" >&6; }
8213 else
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8215 $as_echo "no" >&6; }
8218 if test "x$ac_ct_LIPO" = x; then
8219 LIPO=":"
8220 else
8221 case $cross_compiling:$ac_tool_warned in
8222 yes:)
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8224 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8225 ac_tool_warned=yes ;;
8226 esac
8227 LIPO=$ac_ct_LIPO
8229 else
8230 LIPO="$ac_cv_prog_LIPO"
8233 if test -n "$ac_tool_prefix"; then
8234 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8235 set dummy ${ac_tool_prefix}otool; ac_word=$2
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8237 $as_echo_n "checking for $ac_word... " >&6; }
8238 if ${ac_cv_prog_OTOOL+:} false; then :
8239 $as_echo_n "(cached) " >&6
8240 else
8241 if test -n "$OTOOL"; then
8242 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8243 else
8244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8245 for as_dir in $PATH
8247 IFS=$as_save_IFS
8248 test -z "$as_dir" && as_dir=.
8249 for ac_exec_ext in '' $ac_executable_extensions; do
8250 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8251 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8253 break 2
8255 done
8256 done
8257 IFS=$as_save_IFS
8261 OTOOL=$ac_cv_prog_OTOOL
8262 if test -n "$OTOOL"; then
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8264 $as_echo "$OTOOL" >&6; }
8265 else
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8267 $as_echo "no" >&6; }
8272 if test -z "$ac_cv_prog_OTOOL"; then
8273 ac_ct_OTOOL=$OTOOL
8274 # Extract the first word of "otool", so it can be a program name with args.
8275 set dummy otool; ac_word=$2
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8277 $as_echo_n "checking for $ac_word... " >&6; }
8278 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8279 $as_echo_n "(cached) " >&6
8280 else
8281 if test -n "$ac_ct_OTOOL"; then
8282 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8283 else
8284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8285 for as_dir in $PATH
8287 IFS=$as_save_IFS
8288 test -z "$as_dir" && as_dir=.
8289 for ac_exec_ext in '' $ac_executable_extensions; do
8290 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8291 ac_cv_prog_ac_ct_OTOOL="otool"
8292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8293 break 2
8295 done
8296 done
8297 IFS=$as_save_IFS
8301 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8302 if test -n "$ac_ct_OTOOL"; then
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8304 $as_echo "$ac_ct_OTOOL" >&6; }
8305 else
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8307 $as_echo "no" >&6; }
8310 if test "x$ac_ct_OTOOL" = x; then
8311 OTOOL=":"
8312 else
8313 case $cross_compiling:$ac_tool_warned in
8314 yes:)
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8316 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8317 ac_tool_warned=yes ;;
8318 esac
8319 OTOOL=$ac_ct_OTOOL
8321 else
8322 OTOOL="$ac_cv_prog_OTOOL"
8325 if test -n "$ac_tool_prefix"; then
8326 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8327 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8329 $as_echo_n "checking for $ac_word... " >&6; }
8330 if ${ac_cv_prog_OTOOL64+:} false; then :
8331 $as_echo_n "(cached) " >&6
8332 else
8333 if test -n "$OTOOL64"; then
8334 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8335 else
8336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8337 for as_dir in $PATH
8339 IFS=$as_save_IFS
8340 test -z "$as_dir" && as_dir=.
8341 for ac_exec_ext in '' $ac_executable_extensions; do
8342 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8343 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8345 break 2
8347 done
8348 done
8349 IFS=$as_save_IFS
8353 OTOOL64=$ac_cv_prog_OTOOL64
8354 if test -n "$OTOOL64"; then
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8356 $as_echo "$OTOOL64" >&6; }
8357 else
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8359 $as_echo "no" >&6; }
8364 if test -z "$ac_cv_prog_OTOOL64"; then
8365 ac_ct_OTOOL64=$OTOOL64
8366 # Extract the first word of "otool64", so it can be a program name with args.
8367 set dummy otool64; ac_word=$2
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8369 $as_echo_n "checking for $ac_word... " >&6; }
8370 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8371 $as_echo_n "(cached) " >&6
8372 else
8373 if test -n "$ac_ct_OTOOL64"; then
8374 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8375 else
8376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8377 for as_dir in $PATH
8379 IFS=$as_save_IFS
8380 test -z "$as_dir" && as_dir=.
8381 for ac_exec_ext in '' $ac_executable_extensions; do
8382 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8383 ac_cv_prog_ac_ct_OTOOL64="otool64"
8384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8385 break 2
8387 done
8388 done
8389 IFS=$as_save_IFS
8393 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8394 if test -n "$ac_ct_OTOOL64"; then
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8396 $as_echo "$ac_ct_OTOOL64" >&6; }
8397 else
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8399 $as_echo "no" >&6; }
8402 if test "x$ac_ct_OTOOL64" = x; then
8403 OTOOL64=":"
8404 else
8405 case $cross_compiling:$ac_tool_warned in
8406 yes:)
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8408 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8409 ac_tool_warned=yes ;;
8410 esac
8411 OTOOL64=$ac_ct_OTOOL64
8413 else
8414 OTOOL64="$ac_cv_prog_OTOOL64"
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8444 $as_echo_n "checking for -single_module linker flag... " >&6; }
8445 if ${lt_cv_apple_cc_single_mod+:} false; then :
8446 $as_echo_n "(cached) " >&6
8447 else
8448 lt_cv_apple_cc_single_mod=no
8449 if test -z "${LT_MULTI_MODULE}"; then
8450 # By default we will add the -single_module flag. You can override
8451 # by either setting the environment variable LT_MULTI_MODULE
8452 # non-empty at configure time, or by adding -multi_module to the
8453 # link flags.
8454 rm -rf libconftest.dylib*
8455 echo "int foo(void){return 1;}" > conftest.c
8456 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8457 -dynamiclib -Wl,-single_module conftest.c" >&5
8458 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8459 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8460 _lt_result=$?
8461 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8462 lt_cv_apple_cc_single_mod=yes
8463 else
8464 cat conftest.err >&5
8466 rm -rf libconftest.dylib*
8467 rm -f conftest.*
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8471 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8473 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8474 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8475 $as_echo_n "(cached) " >&6
8476 else
8477 lt_cv_ld_exported_symbols_list=no
8478 save_LDFLAGS=$LDFLAGS
8479 echo "_main" > conftest.sym
8480 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8481 if test x$gcc_no_link = xyes; then
8482 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8485 /* end confdefs.h. */
8488 main ()
8492 return 0;
8494 _ACEOF
8495 if ac_fn_c_try_link "$LINENO"; then :
8496 lt_cv_ld_exported_symbols_list=yes
8497 else
8498 lt_cv_ld_exported_symbols_list=no
8500 rm -f core conftest.err conftest.$ac_objext \
8501 conftest$ac_exeext conftest.$ac_ext
8502 LDFLAGS="$save_LDFLAGS"
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8506 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8508 $as_echo_n "checking for -force_load linker flag... " >&6; }
8509 if ${lt_cv_ld_force_load+:} false; then :
8510 $as_echo_n "(cached) " >&6
8511 else
8512 lt_cv_ld_force_load=no
8513 cat > conftest.c << _LT_EOF
8514 int forced_loaded() { return 2;}
8515 _LT_EOF
8516 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8517 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8518 echo "$AR cru libconftest.a conftest.o" >&5
8519 $AR cru libconftest.a conftest.o 2>&5
8520 cat > conftest.c << _LT_EOF
8521 int main() { return 0;}
8522 _LT_EOF
8523 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8524 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8525 _lt_result=$?
8526 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8527 lt_cv_ld_force_load=yes
8528 else
8529 cat conftest.err >&5
8531 rm -f conftest.err libconftest.a conftest conftest.c
8532 rm -rf conftest.dSYM
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8536 $as_echo "$lt_cv_ld_force_load" >&6; }
8537 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
8538 # build without first building modern cctools / linker.
8539 case $host_cpu-$host_os in
8540 *-rhapsody* | *-darwin1.[012])
8541 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8542 *-darwin1.*)
8543 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8544 *-darwin*)
8545 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
8546 # deployment target is forced to an earlier version.
8547 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
8548 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0-9]*)
8550 10.[012][,.]*)
8551 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8555 esac
8557 esac
8558 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8559 _lt_dar_single_mod='$single_module'
8561 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8562 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8563 else
8564 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8566 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8567 _lt_dsymutil='~$DSYMUTIL $lib || :'
8568 else
8569 _lt_dsymutil=
8572 esac
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8575 $as_echo_n "checking for ANSI C header files... " >&6; }
8576 if ${ac_cv_header_stdc+:} false; then :
8577 $as_echo_n "(cached) " >&6
8578 else
8579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8580 /* end confdefs.h. */
8581 #include <stdlib.h>
8582 #include <stdarg.h>
8583 #include <string.h>
8584 #include <float.h>
8587 main ()
8591 return 0;
8593 _ACEOF
8594 if ac_fn_c_try_compile "$LINENO"; then :
8595 ac_cv_header_stdc=yes
8596 else
8597 ac_cv_header_stdc=no
8599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8601 if test $ac_cv_header_stdc = yes; then
8602 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8604 /* end confdefs.h. */
8605 #include <string.h>
8607 _ACEOF
8608 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8609 $EGREP "memchr" >/dev/null 2>&1; then :
8611 else
8612 ac_cv_header_stdc=no
8614 rm -f conftest*
8618 if test $ac_cv_header_stdc = yes; then
8619 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8621 /* end confdefs.h. */
8622 #include <stdlib.h>
8624 _ACEOF
8625 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8626 $EGREP "free" >/dev/null 2>&1; then :
8628 else
8629 ac_cv_header_stdc=no
8631 rm -f conftest*
8635 if test $ac_cv_header_stdc = yes; then
8636 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8637 if test "$cross_compiling" = yes; then :
8639 else
8640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8641 /* end confdefs.h. */
8642 #include <ctype.h>
8643 #include <stdlib.h>
8644 #if ((' ' & 0x0FF) == 0x020)
8645 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8646 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8647 #else
8648 # define ISLOWER(c) \
8649 (('a' <= (c) && (c) <= 'i') \
8650 || ('j' <= (c) && (c) <= 'r') \
8651 || ('s' <= (c) && (c) <= 'z'))
8652 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8653 #endif
8655 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8657 main ()
8659 int i;
8660 for (i = 0; i < 256; i++)
8661 if (XOR (islower (i), ISLOWER (i))
8662 || toupper (i) != TOUPPER (i))
8663 return 2;
8664 return 0;
8666 _ACEOF
8667 if ac_fn_c_try_run "$LINENO"; then :
8669 else
8670 ac_cv_header_stdc=no
8672 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8673 conftest.$ac_objext conftest.beam conftest.$ac_ext
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8679 $as_echo "$ac_cv_header_stdc" >&6; }
8680 if test $ac_cv_header_stdc = yes; then
8682 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8686 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8687 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8688 inttypes.h stdint.h unistd.h
8689 do :
8690 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8691 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8693 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8694 cat >>confdefs.h <<_ACEOF
8695 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8696 _ACEOF
8700 done
8703 for ac_header in dlfcn.h
8704 do :
8705 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8707 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8708 cat >>confdefs.h <<_ACEOF
8709 #define HAVE_DLFCN_H 1
8710 _ACEOF
8714 done
8721 # Set options
8726 enable_win32_dll=no
8729 # Check whether --enable-shared was given.
8730 if test "${enable_shared+set}" = set; then :
8731 enableval=$enable_shared; p=${PACKAGE-default}
8732 case $enableval in
8733 yes) enable_shared=yes ;;
8734 no) enable_shared=no ;;
8736 enable_shared=no
8737 # Look at the argument we got. We use all the common list separators.
8738 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8739 for pkg in $enableval; do
8740 IFS="$lt_save_ifs"
8741 if test "X$pkg" = "X$p"; then
8742 enable_shared=yes
8744 done
8745 IFS="$lt_save_ifs"
8747 esac
8748 else
8749 enable_shared=yes
8760 # Check whether --enable-static was given.
8761 if test "${enable_static+set}" = set; then :
8762 enableval=$enable_static; p=${PACKAGE-default}
8763 case $enableval in
8764 yes) enable_static=yes ;;
8765 no) enable_static=no ;;
8767 enable_static=no
8768 # Look at the argument we got. We use all the common list separators.
8769 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8770 for pkg in $enableval; do
8771 IFS="$lt_save_ifs"
8772 if test "X$pkg" = "X$p"; then
8773 enable_static=yes
8775 done
8776 IFS="$lt_save_ifs"
8778 esac
8779 else
8780 enable_static=yes
8792 # Check whether --with-pic was given.
8793 if test "${with_pic+set}" = set; then :
8794 withval=$with_pic; pic_mode="$withval"
8795 else
8796 pic_mode=default
8800 test -z "$pic_mode" && pic_mode=default
8808 # Check whether --enable-fast-install was given.
8809 if test "${enable_fast_install+set}" = set; then :
8810 enableval=$enable_fast_install; p=${PACKAGE-default}
8811 case $enableval in
8812 yes) enable_fast_install=yes ;;
8813 no) enable_fast_install=no ;;
8815 enable_fast_install=no
8816 # Look at the argument we got. We use all the common list separators.
8817 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8818 for pkg in $enableval; do
8819 IFS="$lt_save_ifs"
8820 if test "X$pkg" = "X$p"; then
8821 enable_fast_install=yes
8823 done
8824 IFS="$lt_save_ifs"
8826 esac
8827 else
8828 enable_fast_install=yes
8841 # This can be used to rebuild libtool when needed
8842 LIBTOOL_DEPS="$ltmain"
8844 # Always use our own libtool.
8845 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8872 test -z "$LN_S" && LN_S="ln -s"
8887 if test -n "${ZSH_VERSION+set}" ; then
8888 setopt NO_GLOB_SUBST
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8892 $as_echo_n "checking for objdir... " >&6; }
8893 if ${lt_cv_objdir+:} false; then :
8894 $as_echo_n "(cached) " >&6
8895 else
8896 rm -f .libs 2>/dev/null
8897 mkdir .libs 2>/dev/null
8898 if test -d .libs; then
8899 lt_cv_objdir=.libs
8900 else
8901 # MS-DOS does not allow filenames that begin with a dot.
8902 lt_cv_objdir=_libs
8904 rmdir .libs 2>/dev/null
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8907 $as_echo "$lt_cv_objdir" >&6; }
8908 objdir=$lt_cv_objdir
8914 cat >>confdefs.h <<_ACEOF
8915 #define LT_OBJDIR "$lt_cv_objdir/"
8916 _ACEOF
8921 case $host_os in
8922 aix3*)
8923 # AIX sometimes has problems with the GCC collect2 program. For some
8924 # reason, if we set the COLLECT_NAMES environment variable, the problems
8925 # vanish in a puff of smoke.
8926 if test "X${COLLECT_NAMES+set}" != Xset; then
8927 COLLECT_NAMES=
8928 export COLLECT_NAMES
8931 esac
8933 # Global variables:
8934 ofile=libtool
8935 can_build_shared=yes
8937 # All known linkers require a `.a' archive for static linking (except MSVC,
8938 # which needs '.lib').
8939 libext=a
8941 with_gnu_ld="$lt_cv_prog_gnu_ld"
8943 old_CC="$CC"
8944 old_CFLAGS="$CFLAGS"
8946 # Set sane defaults for various variables
8947 test -z "$CC" && CC=cc
8948 test -z "$LTCC" && LTCC=$CC
8949 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8950 test -z "$LD" && LD=ld
8951 test -z "$ac_objext" && ac_objext=o
8953 for cc_temp in $compiler""; do
8954 case $cc_temp in
8955 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8956 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8957 \-*) ;;
8958 *) break;;
8959 esac
8960 done
8961 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8964 # Only perform the check for file, if the check method requires it
8965 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8966 case $deplibs_check_method in
8967 file_magic*)
8968 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8970 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8971 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8972 $as_echo_n "(cached) " >&6
8973 else
8974 case $MAGIC_CMD in
8975 [\\/*] | ?:[\\/]*)
8976 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8979 lt_save_MAGIC_CMD="$MAGIC_CMD"
8980 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8981 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8982 for ac_dir in $ac_dummy; do
8983 IFS="$lt_save_ifs"
8984 test -z "$ac_dir" && ac_dir=.
8985 if test -f $ac_dir/${ac_tool_prefix}file; then
8986 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8987 if test -n "$file_magic_test_file"; then
8988 case $deplibs_check_method in
8989 "file_magic "*)
8990 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8991 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8992 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8993 $EGREP "$file_magic_regex" > /dev/null; then
8995 else
8996 cat <<_LT_EOF 1>&2
8998 *** Warning: the command libtool uses to detect shared libraries,
8999 *** $file_magic_cmd, produces output that libtool cannot recognize.
9000 *** The result is that libtool may fail to recognize shared libraries
9001 *** as such. This will affect the creation of libtool libraries that
9002 *** depend on shared libraries, but programs linked with such libtool
9003 *** libraries will work regardless of this problem. Nevertheless, you
9004 *** may want to report the problem to your system manager and/or to
9005 *** bug-libtool@gnu.org
9007 _LT_EOF
9008 fi ;;
9009 esac
9011 break
9013 done
9014 IFS="$lt_save_ifs"
9015 MAGIC_CMD="$lt_save_MAGIC_CMD"
9017 esac
9020 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9021 if test -n "$MAGIC_CMD"; then
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9023 $as_echo "$MAGIC_CMD" >&6; }
9024 else
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9026 $as_echo "no" >&6; }
9033 if test -z "$lt_cv_path_MAGIC_CMD"; then
9034 if test -n "$ac_tool_prefix"; then
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9036 $as_echo_n "checking for file... " >&6; }
9037 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9038 $as_echo_n "(cached) " >&6
9039 else
9040 case $MAGIC_CMD in
9041 [\\/*] | ?:[\\/]*)
9042 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9045 lt_save_MAGIC_CMD="$MAGIC_CMD"
9046 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9047 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9048 for ac_dir in $ac_dummy; do
9049 IFS="$lt_save_ifs"
9050 test -z "$ac_dir" && ac_dir=.
9051 if test -f $ac_dir/file; then
9052 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9053 if test -n "$file_magic_test_file"; then
9054 case $deplibs_check_method in
9055 "file_magic "*)
9056 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9057 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9058 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9059 $EGREP "$file_magic_regex" > /dev/null; then
9061 else
9062 cat <<_LT_EOF 1>&2
9064 *** Warning: the command libtool uses to detect shared libraries,
9065 *** $file_magic_cmd, produces output that libtool cannot recognize.
9066 *** The result is that libtool may fail to recognize shared libraries
9067 *** as such. This will affect the creation of libtool libraries that
9068 *** depend on shared libraries, but programs linked with such libtool
9069 *** libraries will work regardless of this problem. Nevertheless, you
9070 *** may want to report the problem to your system manager and/or to
9071 *** bug-libtool@gnu.org
9073 _LT_EOF
9074 fi ;;
9075 esac
9077 break
9079 done
9080 IFS="$lt_save_ifs"
9081 MAGIC_CMD="$lt_save_MAGIC_CMD"
9083 esac
9086 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9087 if test -n "$MAGIC_CMD"; then
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9089 $as_echo "$MAGIC_CMD" >&6; }
9090 else
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9092 $as_echo "no" >&6; }
9096 else
9097 MAGIC_CMD=:
9103 esac
9105 # Use C for the default configuration in the libtool script
9107 lt_save_CC="$CC"
9108 ac_ext=c
9109 ac_cpp='$CPP $CPPFLAGS'
9110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9115 # Source file extension for C test sources.
9116 ac_ext=c
9118 # Object file extension for compiled C test sources.
9119 objext=o
9120 objext=$objext
9122 # Code to be used in simple compile tests
9123 lt_simple_compile_test_code="int some_variable = 0;"
9125 # Code to be used in simple link tests
9126 lt_simple_link_test_code='int main(){return(0);}'
9134 # If no C compiler was specified, use CC.
9135 LTCC=${LTCC-"$CC"}
9137 # If no C compiler flags were specified, use CFLAGS.
9138 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9140 # Allow CC to be a program name with arguments.
9141 compiler=$CC
9143 # Save the default compiler, since it gets overwritten when the other
9144 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9145 compiler_DEFAULT=$CC
9147 # save warnings/boilerplate of simple test code
9148 ac_outfile=conftest.$ac_objext
9149 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9150 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9151 _lt_compiler_boilerplate=`cat conftest.err`
9152 $RM conftest*
9154 ac_outfile=conftest.$ac_objext
9155 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9156 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9157 _lt_linker_boilerplate=`cat conftest.err`
9158 $RM -r conftest*
9161 ## CAVEAT EMPTOR:
9162 ## There is no encapsulation within the following macros, do not change
9163 ## the running order or otherwise move them around unless you know exactly
9164 ## what you are doing...
9165 if test -n "$compiler"; then
9167 lt_prog_compiler_no_builtin_flag=
9169 if test "$GCC" = yes; then
9170 case $cc_basename in
9171 nvcc*)
9172 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9174 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9175 esac
9177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9178 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9179 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9180 $as_echo_n "(cached) " >&6
9181 else
9182 lt_cv_prog_compiler_rtti_exceptions=no
9183 ac_outfile=conftest.$ac_objext
9184 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9185 lt_compiler_flag="-fno-rtti -fno-exceptions"
9186 # Insert the option either (1) after the last *FLAGS variable, or
9187 # (2) before a word containing "conftest.", or (3) at the end.
9188 # Note that $ac_compile itself does not contain backslashes and begins
9189 # with a dollar sign (not a hyphen), so the echo should work correctly.
9190 # The option is referenced via a variable to avoid confusing sed.
9191 lt_compile=`echo "$ac_compile" | $SED \
9192 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9193 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9194 -e 's:$: $lt_compiler_flag:'`
9195 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9196 (eval "$lt_compile" 2>conftest.err)
9197 ac_status=$?
9198 cat conftest.err >&5
9199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9200 if (exit $ac_status) && test -s "$ac_outfile"; then
9201 # The compiler can only warn and ignore the option if not recognized
9202 # So say no if there are warnings other than the usual output.
9203 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9204 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9205 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9206 lt_cv_prog_compiler_rtti_exceptions=yes
9209 $RM conftest*
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9213 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9215 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9216 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9217 else
9228 lt_prog_compiler_wl=
9229 lt_prog_compiler_pic=
9230 lt_prog_compiler_static=
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9233 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9235 if test "$GCC" = yes; then
9236 lt_prog_compiler_wl='-Wl,'
9237 lt_prog_compiler_static='-static'
9239 case $host_os in
9240 aix*)
9241 # All AIX code is PIC.
9242 if test "$host_cpu" = ia64; then
9243 # AIX 5 now supports IA64 processor
9244 lt_prog_compiler_static='-Bstatic'
9246 lt_prog_compiler_pic='-fPIC'
9249 amigaos*)
9250 case $host_cpu in
9251 powerpc)
9252 # see comment about AmigaOS4 .so support
9253 lt_prog_compiler_pic='-fPIC'
9255 m68k)
9256 # FIXME: we need at least 68020 code to build shared libraries, but
9257 # adding the `-m68020' flag to GCC prevents building anything better,
9258 # like `-m68040'.
9259 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9261 esac
9264 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9265 # PIC is the default for these OSes.
9268 mingw* | cygwin* | pw32* | os2* | cegcc*)
9269 # This hack is so that the source file can tell whether it is being
9270 # built for inclusion in a dll (and should export symbols for example).
9271 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9272 # (--disable-auto-import) libraries
9273 lt_prog_compiler_pic='-DDLL_EXPORT'
9276 darwin* | rhapsody*)
9277 # PIC is the default on this platform
9278 # Common symbols not allowed in MH_DYLIB files
9279 lt_prog_compiler_pic='-fno-common'
9282 haiku*)
9283 # PIC is the default for Haiku.
9284 # The "-static" flag exists, but is broken.
9285 lt_prog_compiler_static=
9288 hpux*)
9289 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9290 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9291 # sets the default TLS model and affects inlining.
9292 case $host_cpu in
9293 hppa*64*)
9294 # +Z the default
9297 lt_prog_compiler_pic='-fPIC'
9299 esac
9302 interix[3-9]*)
9303 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9304 # Instead, we relocate shared libraries at runtime.
9307 msdosdjgpp*)
9308 # Just because we use GCC doesn't mean we suddenly get shared libraries
9309 # on systems that don't support them.
9310 lt_prog_compiler_can_build_shared=no
9311 enable_shared=no
9314 *nto* | *qnx*)
9315 # QNX uses GNU C++, but need to define -shared option too, otherwise
9316 # it will coredump.
9317 lt_prog_compiler_pic='-fPIC -shared'
9320 sysv4*MP*)
9321 if test -d /usr/nec; then
9322 lt_prog_compiler_pic=-Kconform_pic
9327 lt_prog_compiler_pic='-fPIC'
9329 esac
9331 case $cc_basename in
9332 nvcc*) # Cuda Compiler Driver 2.2
9333 lt_prog_compiler_wl='-Xlinker '
9334 lt_prog_compiler_pic='-Xcompiler -fPIC'
9336 esac
9337 else
9338 # PORTME Check for flag to pass linker flags through the system compiler.
9339 case $host_os in
9340 aix*)
9341 lt_prog_compiler_wl='-Wl,'
9342 if test "$host_cpu" = ia64; then
9343 # AIX 5 now supports IA64 processor
9344 lt_prog_compiler_static='-Bstatic'
9345 else
9346 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9350 mingw* | cygwin* | pw32* | os2* | cegcc*)
9351 # This hack is so that the source file can tell whether it is being
9352 # built for inclusion in a dll (and should export symbols for example).
9353 lt_prog_compiler_pic='-DDLL_EXPORT'
9356 hpux9* | hpux10* | hpux11*)
9357 lt_prog_compiler_wl='-Wl,'
9358 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9359 # not for PA HP-UX.
9360 case $host_cpu in
9361 hppa*64*|ia64*)
9362 # +Z the default
9365 lt_prog_compiler_pic='+Z'
9367 esac
9368 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9369 lt_prog_compiler_static='${wl}-a ${wl}archive'
9372 irix5* | irix6* | nonstopux*)
9373 lt_prog_compiler_wl='-Wl,'
9374 # PIC (with -KPIC) is the default.
9375 lt_prog_compiler_static='-non_shared'
9378 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9379 case $cc_basename in
9380 # old Intel for x86_64 which still supported -KPIC.
9381 ecc*)
9382 lt_prog_compiler_wl='-Wl,'
9383 lt_prog_compiler_pic='-KPIC'
9384 lt_prog_compiler_static='-static'
9386 # icc used to be incompatible with GCC.
9387 # ICC 10 doesn't accept -KPIC any more.
9388 icc* | ifort*)
9389 lt_prog_compiler_wl='-Wl,'
9390 lt_prog_compiler_pic='-fPIC'
9391 lt_prog_compiler_static='-static'
9393 # Lahey Fortran 8.1.
9394 lf95*)
9395 lt_prog_compiler_wl='-Wl,'
9396 lt_prog_compiler_pic='--shared'
9397 lt_prog_compiler_static='--static'
9399 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9400 # Portland Group compilers (*not* the Pentium gcc compiler,
9401 # which looks to be a dead project)
9402 lt_prog_compiler_wl='-Wl,'
9403 lt_prog_compiler_pic='-fpic'
9404 lt_prog_compiler_static='-Bstatic'
9406 ccc*)
9407 lt_prog_compiler_wl='-Wl,'
9408 # All Alpha code is PIC.
9409 lt_prog_compiler_static='-non_shared'
9411 xl* | bgxl* | bgf* | mpixl*)
9412 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9413 lt_prog_compiler_wl='-Wl,'
9414 lt_prog_compiler_pic='-qpic'
9415 lt_prog_compiler_static='-qstaticlink'
9418 case `$CC -V 2>&1 | sed 5q` in
9419 *Sun\ F* | *Sun*Fortran*)
9420 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9421 lt_prog_compiler_pic='-KPIC'
9422 lt_prog_compiler_static='-Bstatic'
9423 lt_prog_compiler_wl=''
9425 *Sun\ C*)
9426 # Sun C 5.9
9427 lt_prog_compiler_pic='-KPIC'
9428 lt_prog_compiler_static='-Bstatic'
9429 lt_prog_compiler_wl='-Wl,'
9431 esac
9433 esac
9436 newsos6)
9437 lt_prog_compiler_pic='-KPIC'
9438 lt_prog_compiler_static='-Bstatic'
9441 *nto* | *qnx*)
9442 # QNX uses GNU C++, but need to define -shared option too, otherwise
9443 # it will coredump.
9444 lt_prog_compiler_pic='-fPIC -shared'
9447 osf3* | osf4* | osf5*)
9448 lt_prog_compiler_wl='-Wl,'
9449 # All OSF/1 code is PIC.
9450 lt_prog_compiler_static='-non_shared'
9453 rdos*)
9454 lt_prog_compiler_static='-non_shared'
9457 solaris*)
9458 lt_prog_compiler_pic='-KPIC'
9459 lt_prog_compiler_static='-Bstatic'
9460 case $cc_basename in
9461 f77* | f90* | f95*)
9462 lt_prog_compiler_wl='-Qoption ld ';;
9464 lt_prog_compiler_wl='-Wl,';;
9465 esac
9468 sunos4*)
9469 lt_prog_compiler_wl='-Qoption ld '
9470 lt_prog_compiler_pic='-PIC'
9471 lt_prog_compiler_static='-Bstatic'
9474 sysv4 | sysv4.2uw2* | sysv4.3*)
9475 lt_prog_compiler_wl='-Wl,'
9476 lt_prog_compiler_pic='-KPIC'
9477 lt_prog_compiler_static='-Bstatic'
9480 sysv4*MP*)
9481 if test -d /usr/nec ;then
9482 lt_prog_compiler_pic='-Kconform_pic'
9483 lt_prog_compiler_static='-Bstatic'
9487 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9488 lt_prog_compiler_wl='-Wl,'
9489 lt_prog_compiler_pic='-KPIC'
9490 lt_prog_compiler_static='-Bstatic'
9493 unicos*)
9494 lt_prog_compiler_wl='-Wl,'
9495 lt_prog_compiler_can_build_shared=no
9498 uts4*)
9499 lt_prog_compiler_pic='-pic'
9500 lt_prog_compiler_static='-Bstatic'
9504 lt_prog_compiler_can_build_shared=no
9506 esac
9509 case $host_os in
9510 # For platforms which do not support PIC, -DPIC is meaningless:
9511 *djgpp*)
9512 lt_prog_compiler_pic=
9515 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9517 esac
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9519 $as_echo "$lt_prog_compiler_pic" >&6; }
9527 # Check to make sure the PIC flag actually works.
9529 if test -n "$lt_prog_compiler_pic"; then
9530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9531 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9532 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9533 $as_echo_n "(cached) " >&6
9534 else
9535 lt_cv_prog_compiler_pic_works=no
9536 ac_outfile=conftest.$ac_objext
9537 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9538 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9539 # Insert the option either (1) after the last *FLAGS variable, or
9540 # (2) before a word containing "conftest.", or (3) at the end.
9541 # Note that $ac_compile itself does not contain backslashes and begins
9542 # with a dollar sign (not a hyphen), so the echo should work correctly.
9543 # The option is referenced via a variable to avoid confusing sed.
9544 lt_compile=`echo "$ac_compile" | $SED \
9545 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9546 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9547 -e 's:$: $lt_compiler_flag:'`
9548 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9549 (eval "$lt_compile" 2>conftest.err)
9550 ac_status=$?
9551 cat conftest.err >&5
9552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9553 if (exit $ac_status) && test -s "$ac_outfile"; then
9554 # The compiler can only warn and ignore the option if not recognized
9555 # So say no if there are warnings other than the usual output.
9556 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9557 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9558 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9559 lt_cv_prog_compiler_pic_works=yes
9562 $RM conftest*
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9566 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9568 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9569 case $lt_prog_compiler_pic in
9570 "" | " "*) ;;
9571 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9572 esac
9573 else
9574 lt_prog_compiler_pic=
9575 lt_prog_compiler_can_build_shared=no
9586 # Check to make sure the static flag actually works.
9588 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9590 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9591 if ${lt_cv_prog_compiler_static_works+:} false; then :
9592 $as_echo_n "(cached) " >&6
9593 else
9594 lt_cv_prog_compiler_static_works=no
9595 save_LDFLAGS="$LDFLAGS"
9596 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9597 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9598 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9599 # The linker can only warn and ignore the option if not recognized
9600 # So say no if there are warnings
9601 if test -s conftest.err; then
9602 # Append any errors to the config.log.
9603 cat conftest.err 1>&5
9604 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9605 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9606 if diff conftest.exp conftest.er2 >/dev/null; then
9607 lt_cv_prog_compiler_static_works=yes
9609 else
9610 lt_cv_prog_compiler_static_works=yes
9613 $RM -r conftest*
9614 LDFLAGS="$save_LDFLAGS"
9617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9618 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9620 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9622 else
9623 lt_prog_compiler_static=
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9633 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9634 if ${lt_cv_prog_compiler_c_o+:} false; then :
9635 $as_echo_n "(cached) " >&6
9636 else
9637 lt_cv_prog_compiler_c_o=no
9638 $RM -r conftest 2>/dev/null
9639 mkdir conftest
9640 cd conftest
9641 mkdir out
9642 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9644 lt_compiler_flag="-o out/conftest2.$ac_objext"
9645 # Insert the option either (1) after the last *FLAGS variable, or
9646 # (2) before a word containing "conftest.", or (3) at the end.
9647 # Note that $ac_compile itself does not contain backslashes and begins
9648 # with a dollar sign (not a hyphen), so the echo should work correctly.
9649 lt_compile=`echo "$ac_compile" | $SED \
9650 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9651 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9652 -e 's:$: $lt_compiler_flag:'`
9653 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9654 (eval "$lt_compile" 2>out/conftest.err)
9655 ac_status=$?
9656 cat out/conftest.err >&5
9657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9658 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9659 then
9660 # The compiler can only warn and ignore the option if not recognized
9661 # So say no if there are warnings
9662 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9663 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9664 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9665 lt_cv_prog_compiler_c_o=yes
9668 chmod u+w . 2>&5
9669 $RM conftest*
9670 # SGI C++ compiler will create directory out/ii_files/ for
9671 # template instantiation
9672 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9673 $RM out/* && rmdir out
9674 cd ..
9675 $RM -r conftest
9676 $RM conftest*
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9680 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9688 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9689 if ${lt_cv_prog_compiler_c_o+:} false; then :
9690 $as_echo_n "(cached) " >&6
9691 else
9692 lt_cv_prog_compiler_c_o=no
9693 $RM -r conftest 2>/dev/null
9694 mkdir conftest
9695 cd conftest
9696 mkdir out
9697 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9699 lt_compiler_flag="-o out/conftest2.$ac_objext"
9700 # Insert the option either (1) after the last *FLAGS variable, or
9701 # (2) before a word containing "conftest.", or (3) at the end.
9702 # Note that $ac_compile itself does not contain backslashes and begins
9703 # with a dollar sign (not a hyphen), so the echo should work correctly.
9704 lt_compile=`echo "$ac_compile" | $SED \
9705 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9706 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9707 -e 's:$: $lt_compiler_flag:'`
9708 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9709 (eval "$lt_compile" 2>out/conftest.err)
9710 ac_status=$?
9711 cat out/conftest.err >&5
9712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9713 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9714 then
9715 # The compiler can only warn and ignore the option if not recognized
9716 # So say no if there are warnings
9717 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9718 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9719 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9720 lt_cv_prog_compiler_c_o=yes
9723 chmod u+w . 2>&5
9724 $RM conftest*
9725 # SGI C++ compiler will create directory out/ii_files/ for
9726 # template instantiation
9727 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9728 $RM out/* && rmdir out
9729 cd ..
9730 $RM -r conftest
9731 $RM conftest*
9734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9735 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9740 hard_links="nottested"
9741 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9742 # do not overwrite the value of need_locks provided by the user
9743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9744 $as_echo_n "checking if we can lock with hard links... " >&6; }
9745 hard_links=yes
9746 $RM conftest*
9747 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9748 touch conftest.a
9749 ln conftest.a conftest.b 2>&5 || hard_links=no
9750 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9752 $as_echo "$hard_links" >&6; }
9753 if test "$hard_links" = no; then
9754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9755 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9756 need_locks=warn
9758 else
9759 need_locks=no
9767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9768 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9770 runpath_var=
9771 allow_undefined_flag=
9772 always_export_symbols=no
9773 archive_cmds=
9774 archive_expsym_cmds=
9775 compiler_needs_object=no
9776 enable_shared_with_static_runtimes=no
9777 export_dynamic_flag_spec=
9778 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9779 hardcode_automatic=no
9780 hardcode_direct=no
9781 hardcode_direct_absolute=no
9782 hardcode_libdir_flag_spec=
9783 hardcode_libdir_flag_spec_ld=
9784 hardcode_libdir_separator=
9785 hardcode_minus_L=no
9786 hardcode_shlibpath_var=unsupported
9787 inherit_rpath=no
9788 link_all_deplibs=unknown
9789 module_cmds=
9790 module_expsym_cmds=
9791 old_archive_from_new_cmds=
9792 old_archive_from_expsyms_cmds=
9793 thread_safe_flag_spec=
9794 whole_archive_flag_spec=
9795 # include_expsyms should be a list of space-separated symbols to be *always*
9796 # included in the symbol list
9797 include_expsyms=
9798 # exclude_expsyms can be an extended regexp of symbols to exclude
9799 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9800 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9801 # as well as any symbol that contains `d'.
9802 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9803 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9804 # platforms (ab)use it in PIC code, but their linkers get confused if
9805 # the symbol is explicitly referenced. Since portable code cannot
9806 # rely on this symbol name, it's probably fine to never include it in
9807 # preloaded symbol tables.
9808 # Exclude shared library initialization/finalization symbols.
9809 extract_expsyms_cmds=
9811 case $host_os in
9812 cygwin* | mingw* | pw32* | cegcc*)
9813 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9814 # When not using gcc, we currently assume that we are using
9815 # Microsoft Visual C++.
9816 if test "$GCC" != yes; then
9817 with_gnu_ld=no
9820 interix*)
9821 # we just hope/assume this is gcc and not c89 (= MSVC++)
9822 with_gnu_ld=yes
9824 openbsd*)
9825 with_gnu_ld=no
9827 esac
9829 ld_shlibs=yes
9831 # On some targets, GNU ld is compatible enough with the native linker
9832 # that we're better off using the native interface for both.
9833 lt_use_gnu_ld_interface=no
9834 if test "$with_gnu_ld" = yes; then
9835 case $host_os in
9836 aix*)
9837 # The AIX port of GNU ld has always aspired to compatibility
9838 # with the native linker. However, as the warning in the GNU ld
9839 # block says, versions before 2.19.5* couldn't really create working
9840 # shared libraries, regardless of the interface used.
9841 case `$LD -v 2>&1` in
9842 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9843 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9844 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9846 lt_use_gnu_ld_interface=yes
9848 esac
9851 lt_use_gnu_ld_interface=yes
9853 esac
9856 if test "$lt_use_gnu_ld_interface" = yes; then
9857 # If archive_cmds runs LD, not CC, wlarc should be empty
9858 wlarc='${wl}'
9860 # Set some defaults for GNU ld with shared library support. These
9861 # are reset later if shared libraries are not supported. Putting them
9862 # here allows them to be overridden if necessary.
9863 runpath_var=LD_RUN_PATH
9864 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9865 export_dynamic_flag_spec='${wl}--export-dynamic'
9866 # ancient GNU ld didn't support --whole-archive et. al.
9867 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9868 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9869 else
9870 whole_archive_flag_spec=
9872 supports_anon_versioning=no
9873 case `$LD -v 2>&1` in
9874 *GNU\ gold*) supports_anon_versioning=yes ;;
9875 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9876 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9877 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9878 *\ 2.11.*) ;; # other 2.11 versions
9879 *) supports_anon_versioning=yes ;;
9880 esac
9882 # See if GNU ld supports shared libraries.
9883 case $host_os in
9884 aix[3-9]*)
9885 # On AIX/PPC, the GNU linker is very broken
9886 if test "$host_cpu" != ia64; then
9887 ld_shlibs=no
9888 cat <<_LT_EOF 1>&2
9890 *** Warning: the GNU linker, at least up to release 2.19, is reported
9891 *** to be unable to reliably create shared libraries on AIX.
9892 *** Therefore, libtool is disabling shared libraries support. If you
9893 *** really care for shared libraries, you may want to install binutils
9894 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9895 *** You will then need to restart the configuration process.
9897 _LT_EOF
9901 amigaos*)
9902 case $host_cpu in
9903 powerpc)
9904 # see comment about AmigaOS4 .so support
9905 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9906 archive_expsym_cmds=''
9908 m68k)
9909 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)'
9910 hardcode_libdir_flag_spec='-L$libdir'
9911 hardcode_minus_L=yes
9913 esac
9916 beos*)
9917 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9918 allow_undefined_flag=unsupported
9919 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9920 # support --undefined. This deserves some investigation. FIXME
9921 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9922 else
9923 ld_shlibs=no
9927 cygwin* | mingw* | pw32* | cegcc*)
9928 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9929 # as there is no search path for DLLs.
9930 hardcode_libdir_flag_spec='-L$libdir'
9931 export_dynamic_flag_spec='${wl}--export-all-symbols'
9932 allow_undefined_flag=unsupported
9933 always_export_symbols=no
9934 enable_shared_with_static_runtimes=yes
9935 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9937 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9938 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9939 # If the export-symbols file already is a .def file (1st line
9940 # is EXPORTS), use it as is; otherwise, prepend...
9941 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9942 cp $export_symbols $output_objdir/$soname.def;
9943 else
9944 echo EXPORTS > $output_objdir/$soname.def;
9945 cat $export_symbols >> $output_objdir/$soname.def;
9947 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9948 else
9949 ld_shlibs=no
9953 haiku*)
9954 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9955 link_all_deplibs=yes
9958 interix[3-9]*)
9959 hardcode_direct=no
9960 hardcode_shlibpath_var=no
9961 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9962 export_dynamic_flag_spec='${wl}-E'
9963 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9964 # Instead, shared libraries are loaded at an image base (0x10000000 by
9965 # default) and relocated if they conflict, which is a slow very memory
9966 # consuming and fragmenting process. To avoid this, we pick a random,
9967 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9968 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9969 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9970 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'
9973 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
9974 tmp_diet=no
9975 if test "$host_os" = linux-dietlibc; then
9976 case $cc_basename in
9977 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9978 esac
9980 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9981 && test "$tmp_diet" = no
9982 then
9983 tmp_addflag=' $pic_flag'
9984 tmp_sharedflag='-shared'
9985 case $cc_basename,$host_cpu in
9986 pgcc*) # Portland Group C compiler
9987 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'
9988 tmp_addflag=' $pic_flag'
9990 pgf77* | pgf90* | pgf95* | pgfortran*)
9991 # Portland Group f77 and f90 compilers
9992 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'
9993 tmp_addflag=' $pic_flag -Mnomain' ;;
9994 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9995 tmp_addflag=' -i_dynamic' ;;
9996 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9997 tmp_addflag=' -i_dynamic -nofor_main' ;;
9998 ifc* | ifort*) # Intel Fortran compiler
9999 tmp_addflag=' -nofor_main' ;;
10000 lf95*) # Lahey Fortran 8.1
10001 whole_archive_flag_spec=
10002 tmp_sharedflag='--shared' ;;
10003 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10004 tmp_sharedflag='-qmkshrobj'
10005 tmp_addflag= ;;
10006 nvcc*) # Cuda Compiler Driver 2.2
10007 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'
10008 compiler_needs_object=yes
10010 esac
10011 case `$CC -V 2>&1 | sed 5q` in
10012 *Sun\ C*) # Sun C 5.9
10013 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'
10014 compiler_needs_object=yes
10015 tmp_sharedflag='-G' ;;
10016 *Sun\ F*) # Sun Fortran 8.3
10017 tmp_sharedflag='-G' ;;
10018 esac
10019 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10021 if test "x$supports_anon_versioning" = xyes; then
10022 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10023 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10024 echo "local: *; };" >> $output_objdir/$libname.ver~
10025 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10028 case $cc_basename in
10029 xlf* | bgf* | bgxlf* | mpixlf*)
10030 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10031 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10032 hardcode_libdir_flag_spec=
10033 hardcode_libdir_flag_spec_ld='-rpath $libdir'
10034 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10035 if test "x$supports_anon_versioning" = xyes; then
10036 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10037 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10038 echo "local: *; };" >> $output_objdir/$libname.ver~
10039 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10042 esac
10043 else
10044 ld_shlibs=no
10048 netbsd*)
10049 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10050 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10051 wlarc=
10052 else
10053 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10054 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10058 solaris*)
10059 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10060 ld_shlibs=no
10061 cat <<_LT_EOF 1>&2
10063 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10064 *** create shared libraries on Solaris systems. Therefore, libtool
10065 *** is disabling shared libraries support. We urge you to upgrade GNU
10066 *** binutils to release 2.9.1 or newer. Another option is to modify
10067 *** your PATH or compiler configuration so that the native linker is
10068 *** used, and then restart.
10070 _LT_EOF
10071 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10072 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10073 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10074 else
10075 ld_shlibs=no
10079 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10080 case `$LD -v 2>&1` in
10081 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10082 ld_shlibs=no
10083 cat <<_LT_EOF 1>&2
10085 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10086 *** reliably create shared libraries on SCO systems. Therefore, libtool
10087 *** is disabling shared libraries support. We urge you to upgrade GNU
10088 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10089 *** your PATH or compiler configuration so that the native linker is
10090 *** used, and then restart.
10092 _LT_EOF
10095 # For security reasons, it is highly recommended that you always
10096 # use absolute paths for naming shared libraries, and exclude the
10097 # DT_RUNPATH tag from executables and libraries. But doing so
10098 # requires that you compile everything twice, which is a pain.
10099 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10100 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10101 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10102 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10103 else
10104 ld_shlibs=no
10107 esac
10110 sunos4*)
10111 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10112 wlarc=
10113 hardcode_direct=yes
10114 hardcode_shlibpath_var=no
10118 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10119 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10120 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10121 else
10122 ld_shlibs=no
10125 esac
10127 if test "$ld_shlibs" = no; then
10128 runpath_var=
10129 hardcode_libdir_flag_spec=
10130 export_dynamic_flag_spec=
10131 whole_archive_flag_spec=
10133 else
10134 # PORTME fill in a description of your system's linker (not GNU ld)
10135 case $host_os in
10136 aix3*)
10137 allow_undefined_flag=unsupported
10138 always_export_symbols=yes
10139 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'
10140 # Note: this linker hardcodes the directories in LIBPATH if there
10141 # are no directories specified by -L.
10142 hardcode_minus_L=yes
10143 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10144 # Neither direct hardcoding nor static linking is supported with a
10145 # broken collect2.
10146 hardcode_direct=unsupported
10150 aix[4-9]*)
10151 if test "$host_cpu" = ia64; then
10152 # On IA64, the linker does run time linking by default, so we don't
10153 # have to do anything special.
10154 aix_use_runtimelinking=no
10155 exp_sym_flag='-Bexport'
10156 no_entry_flag=""
10157 else
10158 # If we're using GNU nm, then we don't want the "-C" option.
10159 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10160 # Also, AIX nm treats weak defined symbols like other global
10161 # defined symbols, whereas GNU nm marks them as "W".
10162 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10163 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'
10164 else
10165 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'
10167 aix_use_runtimelinking=no
10169 # Test if we are trying to use run time linking or normal
10170 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10171 # need to do runtime linking.
10172 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10173 for ld_flag in $LDFLAGS; do
10174 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10175 aix_use_runtimelinking=yes
10176 break
10178 done
10180 esac
10182 exp_sym_flag='-bexport'
10183 no_entry_flag='-bnoentry'
10186 # When large executables or shared objects are built, AIX ld can
10187 # have problems creating the table of contents. If linking a library
10188 # or program results in "error TOC overflow" add -mminimal-toc to
10189 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10190 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10192 archive_cmds=''
10193 hardcode_direct=yes
10194 hardcode_direct_absolute=yes
10195 hardcode_libdir_separator=':'
10196 link_all_deplibs=yes
10197 file_list_spec='${wl}-f,'
10199 if test "$GCC" = yes; then
10200 case $host_os in aix4.[012]|aix4.[012].*)
10201 # We only want to do this on AIX 4.2 and lower, the check
10202 # below for broken collect2 doesn't work under 4.3+
10203 collect2name=`${CC} -print-prog-name=collect2`
10204 if test -f "$collect2name" &&
10205 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10206 then
10207 # We have reworked collect2
10209 else
10210 # We have old collect2
10211 hardcode_direct=unsupported
10212 # It fails to find uninstalled libraries when the uninstalled
10213 # path is not listed in the libpath. Setting hardcode_minus_L
10214 # to unsupported forces relinking
10215 hardcode_minus_L=yes
10216 hardcode_libdir_flag_spec='-L$libdir'
10217 hardcode_libdir_separator=
10220 esac
10221 shared_flag='-shared'
10222 if test "$aix_use_runtimelinking" = yes; then
10223 shared_flag="$shared_flag "'${wl}-G'
10225 else
10226 # not using gcc
10227 if test "$host_cpu" = ia64; then
10228 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10229 # chokes on -Wl,-G. The following line is correct:
10230 shared_flag='-G'
10231 else
10232 if test "$aix_use_runtimelinking" = yes; then
10233 shared_flag='${wl}-G'
10234 else
10235 shared_flag='${wl}-bM:SRE'
10240 export_dynamic_flag_spec='${wl}-bexpall'
10241 # It seems that -bexpall does not export symbols beginning with
10242 # underscore (_), so it is better to generate a list of symbols to export.
10243 always_export_symbols=yes
10244 if test "$aix_use_runtimelinking" = yes; then
10245 # Warning - without using the other runtime loading flags (-brtl),
10246 # -berok will link without error, but may produce a broken library.
10247 allow_undefined_flag='-berok'
10248 # Determine the default libpath from the value encoded in an
10249 # empty executable.
10250 if test x$gcc_no_link = xyes; then
10251 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10254 /* end confdefs.h. */
10257 main ()
10261 return 0;
10263 _ACEOF
10264 if ac_fn_c_try_link "$LINENO"; then :
10266 lt_aix_libpath_sed='
10267 /Import File Strings/,/^$/ {
10268 /^0/ {
10269 s/^0 *\(.*\)$/\1/
10273 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10274 # Check for a 64-bit object if we didn't find anything.
10275 if test -z "$aix_libpath"; then
10276 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10279 rm -f core conftest.err conftest.$ac_objext \
10280 conftest$ac_exeext conftest.$ac_ext
10281 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10283 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10284 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"
10285 else
10286 if test "$host_cpu" = ia64; then
10287 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10288 allow_undefined_flag="-z nodefs"
10289 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"
10290 else
10291 # Determine the default libpath from the value encoded in an
10292 # empty executable.
10293 if test x$gcc_no_link = xyes; then
10294 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10297 /* end confdefs.h. */
10300 main ()
10304 return 0;
10306 _ACEOF
10307 if ac_fn_c_try_link "$LINENO"; then :
10309 lt_aix_libpath_sed='
10310 /Import File Strings/,/^$/ {
10311 /^0/ {
10312 s/^0 *\(.*\)$/\1/
10316 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10317 # Check for a 64-bit object if we didn't find anything.
10318 if test -z "$aix_libpath"; then
10319 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10322 rm -f core conftest.err conftest.$ac_objext \
10323 conftest$ac_exeext conftest.$ac_ext
10324 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10326 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10327 # Warning - without using the other run time loading flags,
10328 # -berok will link without error, but may produce a broken library.
10329 no_undefined_flag=' ${wl}-bernotok'
10330 allow_undefined_flag=' ${wl}-berok'
10331 if test "$with_gnu_ld" = yes; then
10332 # We only use this code for GNU lds that support --whole-archive.
10333 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10334 else
10335 # Exported symbols can be pulled into shared objects from archives
10336 whole_archive_flag_spec='$convenience'
10338 archive_cmds_need_lc=yes
10339 # This is similar to how AIX traditionally builds its shared libraries.
10340 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'
10345 amigaos*)
10346 case $host_cpu in
10347 powerpc)
10348 # see comment about AmigaOS4 .so support
10349 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10350 archive_expsym_cmds=''
10352 m68k)
10353 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)'
10354 hardcode_libdir_flag_spec='-L$libdir'
10355 hardcode_minus_L=yes
10357 esac
10360 bsdi[45]*)
10361 export_dynamic_flag_spec=-rdynamic
10364 cygwin* | mingw* | pw32* | cegcc*)
10365 # When not using gcc, we currently assume that we are using
10366 # Microsoft Visual C++.
10367 # hardcode_libdir_flag_spec is actually meaningless, as there is
10368 # no search path for DLLs.
10369 hardcode_libdir_flag_spec=' '
10370 allow_undefined_flag=unsupported
10371 # Tell ltmain to make .lib files, not .a files.
10372 libext=lib
10373 # Tell ltmain to make .dll files, not .so files.
10374 shrext_cmds=".dll"
10375 # FIXME: Setting linknames here is a bad hack.
10376 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10377 # The linker will automatically build a .lib file if we build a DLL.
10378 old_archive_from_new_cmds='true'
10379 # FIXME: Should let the user specify the lib program.
10380 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10381 fix_srcfile_path='`cygpath -w "$srcfile"`'
10382 enable_shared_with_static_runtimes=yes
10385 darwin* | rhapsody*)
10389 # Publish an arg to allow the user to select that Darwin host (and target)
10390 # libraries should be given install-names like @rpath/libfoo.dylib. This
10391 # requires that the user of the library then adds an 'rpath' to the DSO that
10392 # needs access.
10393 # NOTE: there are defaults below, for systems that support rpaths. The person
10394 # configuring can override the defaults for any system version that supports
10395 # them - they are, however, forced off for system versions without support.
10396 # Check whether --enable-darwin-at-rpath was given.
10397 if test "${enable_darwin_at_rpath+set}" = set; then :
10398 enableval=$enable_darwin_at_rpath; if test "x$enable_darwin_at_rpath" = "xyes"; then
10399 # This is not supported before macOS 10.5 / Darwin9.
10400 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
10401 UNSET,darwin[4-8]*|UNSET,rhapsody*|10.[0-4][,.]*)
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&5
10403 $as_echo "$as_me: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&2;}
10404 enable_darwin_at_rpath=no
10406 esac
10408 else
10409 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
10410 # As above, before 10.5 / Darwin9 this does not work.
10411 UNSET,darwin[4-8]*|UNSET,rhapsody*|10.[0-4][,.]*)
10412 enable_darwin_at_rpath=no
10415 # We cannot build and test reliably on macOS 10.11+ (Darwin15+) without use
10416 # of rpaths, since runpaths set via DYLD_LIBRARY_PATH are elided by key
10417 # system executables (e.g. /bin/sh). Force rpaths on for these systems.
10418 UNSET,darwin1[5-9]*|UNSET,darwin2*|10.1[1-9][,.]*|1[1-9].*[,.]* )
10419 { $as_echo "$as_me:${as_lineno-$LINENO}: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&5
10420 $as_echo "$as_me: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&6;}
10421 enable_darwin_at_rpath=yes
10423 # NOTE: we are not (yet) doing anything for 10.5 .. 10.10, since they can
10424 # work with either DYLD_LIBRARY_PATH or embedded rpaths.
10426 esac
10431 archive_cmds_need_lc=no
10432 hardcode_direct=no
10433 hardcode_automatic=yes
10434 hardcode_shlibpath_var=unsupported
10435 if test "$lt_cv_ld_force_load" = "yes"; then
10436 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\"`'
10437 else
10438 whole_archive_flag_spec=''
10440 link_all_deplibs=yes
10441 allow_undefined_flag="$_lt_dar_allow_undefined"
10442 case $cc_basename in
10443 ifort*) _lt_dar_can_shared=yes ;;
10444 *) _lt_dar_can_shared=$GCC ;;
10445 esac
10446 if test "$_lt_dar_can_shared" = "yes"; then
10447 output_verbose_link_cmd=func_echo_all
10448 _lt_install_name='\$rpath/\$soname'
10449 if test "x$enable_darwin_at_rpath" = "xyes"; then
10450 _lt_install_name='@rpath/\$soname'
10452 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dsymutil}"
10453 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10454 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 ${_lt_install_name} \$verstring ${_lt_dar_export_syms}${_lt_dsymutil}"
10455 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}"
10457 else
10458 ld_shlibs=no
10463 dgux*)
10464 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10465 hardcode_libdir_flag_spec='-L$libdir'
10466 hardcode_shlibpath_var=no
10469 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10470 # support. Future versions do this automatically, but an explicit c++rt0.o
10471 # does not break anything, and helps significantly (at the cost of a little
10472 # extra space).
10473 freebsd2.2*)
10474 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10475 hardcode_libdir_flag_spec='-R$libdir'
10476 hardcode_direct=yes
10477 hardcode_shlibpath_var=no
10480 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10481 freebsd2.*)
10482 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10483 hardcode_direct=yes
10484 hardcode_minus_L=yes
10485 hardcode_shlibpath_var=no
10488 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10489 freebsd* | dragonfly*)
10490 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10491 hardcode_libdir_flag_spec='-R$libdir'
10492 hardcode_direct=yes
10493 hardcode_shlibpath_var=no
10496 hpux9*)
10497 if test "$GCC" = yes; then
10498 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'
10499 else
10500 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'
10502 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10503 hardcode_libdir_separator=:
10504 hardcode_direct=yes
10506 # hardcode_minus_L: Not really in the search PATH,
10507 # but as the default location of the library.
10508 hardcode_minus_L=yes
10509 export_dynamic_flag_spec='${wl}-E'
10512 hpux10*)
10513 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10514 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10515 else
10516 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10518 if test "$with_gnu_ld" = no; then
10519 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10520 hardcode_libdir_flag_spec_ld='+b $libdir'
10521 hardcode_libdir_separator=:
10522 hardcode_direct=yes
10523 hardcode_direct_absolute=yes
10524 export_dynamic_flag_spec='${wl}-E'
10525 # hardcode_minus_L: Not really in the search PATH,
10526 # but as the default location of the library.
10527 hardcode_minus_L=yes
10531 hpux11*)
10532 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10533 case $host_cpu in
10534 hppa*64*)
10535 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10537 ia64*)
10538 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10541 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10543 esac
10544 else
10545 case $host_cpu in
10546 hppa*64*)
10547 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10549 ia64*)
10550 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10554 # Older versions of the 11.00 compiler do not understand -b yet
10555 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10557 $as_echo_n "checking if $CC understands -b... " >&6; }
10558 if ${lt_cv_prog_compiler__b+:} false; then :
10559 $as_echo_n "(cached) " >&6
10560 else
10561 lt_cv_prog_compiler__b=no
10562 save_LDFLAGS="$LDFLAGS"
10563 LDFLAGS="$LDFLAGS -b"
10564 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10565 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10566 # The linker can only warn and ignore the option if not recognized
10567 # So say no if there are warnings
10568 if test -s conftest.err; then
10569 # Append any errors to the config.log.
10570 cat conftest.err 1>&5
10571 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10572 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10573 if diff conftest.exp conftest.er2 >/dev/null; then
10574 lt_cv_prog_compiler__b=yes
10576 else
10577 lt_cv_prog_compiler__b=yes
10580 $RM -r conftest*
10581 LDFLAGS="$save_LDFLAGS"
10584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10585 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10587 if test x"$lt_cv_prog_compiler__b" = xyes; then
10588 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10589 else
10590 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10594 esac
10596 if test "$with_gnu_ld" = no; then
10597 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10598 hardcode_libdir_separator=:
10600 case $host_cpu in
10601 hppa*64*|ia64*)
10602 hardcode_direct=no
10603 hardcode_shlibpath_var=no
10606 hardcode_direct=yes
10607 hardcode_direct_absolute=yes
10608 export_dynamic_flag_spec='${wl}-E'
10610 # hardcode_minus_L: Not really in the search PATH,
10611 # but as the default location of the library.
10612 hardcode_minus_L=yes
10614 esac
10618 irix5* | irix6* | nonstopux*)
10619 if test "$GCC" = yes; then
10620 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'
10621 # Try to use the -exported_symbol ld option, if it does not
10622 # work, assume that -exports_file does not work either and
10623 # implicitly export all symbols.
10624 save_LDFLAGS="$LDFLAGS"
10625 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10626 if test x$gcc_no_link = xyes; then
10627 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10630 /* end confdefs.h. */
10631 int foo(void) {}
10632 _ACEOF
10633 if ac_fn_c_try_link "$LINENO"; then :
10634 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'
10637 rm -f core conftest.err conftest.$ac_objext \
10638 conftest$ac_exeext conftest.$ac_ext
10639 LDFLAGS="$save_LDFLAGS"
10640 else
10641 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'
10642 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'
10644 archive_cmds_need_lc='no'
10645 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10646 hardcode_libdir_separator=:
10647 inherit_rpath=yes
10648 link_all_deplibs=yes
10651 netbsd*)
10652 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10653 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10654 else
10655 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10657 hardcode_libdir_flag_spec='-R$libdir'
10658 hardcode_direct=yes
10659 hardcode_shlibpath_var=no
10662 newsos6)
10663 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10664 hardcode_direct=yes
10665 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10666 hardcode_libdir_separator=:
10667 hardcode_shlibpath_var=no
10670 *nto* | *qnx*)
10673 openbsd*)
10674 if test -f /usr/libexec/ld.so; then
10675 hardcode_direct=yes
10676 hardcode_shlibpath_var=no
10677 hardcode_direct_absolute=yes
10678 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10679 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10680 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10681 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10682 export_dynamic_flag_spec='${wl}-E'
10683 else
10684 case $host_os in
10685 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10686 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10687 hardcode_libdir_flag_spec='-R$libdir'
10690 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10691 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10693 esac
10695 else
10696 ld_shlibs=no
10700 os2*)
10701 hardcode_libdir_flag_spec='-L$libdir'
10702 hardcode_minus_L=yes
10703 allow_undefined_flag=unsupported
10704 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'
10705 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10708 osf3*)
10709 if test "$GCC" = yes; then
10710 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10711 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'
10712 else
10713 allow_undefined_flag=' -expect_unresolved \*'
10714 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'
10716 archive_cmds_need_lc='no'
10717 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10718 hardcode_libdir_separator=:
10721 osf4* | osf5*) # as osf3* with the addition of -msym flag
10722 if test "$GCC" = yes; then
10723 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10724 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'
10725 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10726 else
10727 allow_undefined_flag=' -expect_unresolved \*'
10728 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'
10729 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~
10730 $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'
10732 # Both c and cxx compiler support -rpath directly
10733 hardcode_libdir_flag_spec='-rpath $libdir'
10735 archive_cmds_need_lc='no'
10736 hardcode_libdir_separator=:
10739 solaris*)
10740 no_undefined_flag=' -z defs'
10741 if test "$GCC" = yes; then
10742 wlarc='${wl}'
10743 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10744 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10745 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10746 else
10747 case `$CC -V 2>&1` in
10748 *"Compilers 5.0"*)
10749 wlarc=''
10750 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10751 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10752 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10755 wlarc='${wl}'
10756 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10757 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10758 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10760 esac
10762 hardcode_libdir_flag_spec='-R$libdir'
10763 hardcode_shlibpath_var=no
10764 case $host_os in
10765 solaris2.[0-5] | solaris2.[0-5].*) ;;
10767 # The compiler driver will combine and reorder linker options,
10768 # but understands `-z linker_flag'. GCC discards it without `$wl',
10769 # but is careful enough not to reorder.
10770 # Supported since Solaris 2.6 (maybe 2.5.1?)
10771 if test "$GCC" = yes; then
10772 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10773 else
10774 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10777 esac
10778 link_all_deplibs=yes
10781 sunos4*)
10782 if test "x$host_vendor" = xsequent; then
10783 # Use $CC to link under sequent, because it throws in some extra .o
10784 # files that make .init and .fini sections work.
10785 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10786 else
10787 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10789 hardcode_libdir_flag_spec='-L$libdir'
10790 hardcode_direct=yes
10791 hardcode_minus_L=yes
10792 hardcode_shlibpath_var=no
10795 sysv4)
10796 case $host_vendor in
10797 sni)
10798 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10799 hardcode_direct=yes # is this really true???
10801 siemens)
10802 ## LD is ld it makes a PLAMLIB
10803 ## CC just makes a GrossModule.
10804 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10805 reload_cmds='$CC -r -o $output$reload_objs'
10806 hardcode_direct=no
10808 motorola)
10809 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10810 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10812 esac
10813 runpath_var='LD_RUN_PATH'
10814 hardcode_shlibpath_var=no
10817 sysv4.3*)
10818 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10819 hardcode_shlibpath_var=no
10820 export_dynamic_flag_spec='-Bexport'
10823 sysv4*MP*)
10824 if test -d /usr/nec; then
10825 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10826 hardcode_shlibpath_var=no
10827 runpath_var=LD_RUN_PATH
10828 hardcode_runpath_var=yes
10829 ld_shlibs=yes
10833 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10834 no_undefined_flag='${wl}-z,text'
10835 archive_cmds_need_lc=no
10836 hardcode_shlibpath_var=no
10837 runpath_var='LD_RUN_PATH'
10839 if test "$GCC" = yes; then
10840 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10841 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10842 else
10843 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10844 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10848 sysv5* | sco3.2v5* | sco5v6*)
10849 # Note: We can NOT use -z defs as we might desire, because we do not
10850 # link with -lc, and that would cause any symbols used from libc to
10851 # always be unresolved, which means just about no library would
10852 # ever link correctly. If we're not using GNU ld we use -z text
10853 # though, which does catch some bad symbols but isn't as heavy-handed
10854 # as -z defs.
10855 no_undefined_flag='${wl}-z,text'
10856 allow_undefined_flag='${wl}-z,nodefs'
10857 archive_cmds_need_lc=no
10858 hardcode_shlibpath_var=no
10859 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10860 hardcode_libdir_separator=':'
10861 link_all_deplibs=yes
10862 export_dynamic_flag_spec='${wl}-Bexport'
10863 runpath_var='LD_RUN_PATH'
10865 if test "$GCC" = yes; then
10866 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10867 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10868 else
10869 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10870 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10874 uts4*)
10875 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10876 hardcode_libdir_flag_spec='-L$libdir'
10877 hardcode_shlibpath_var=no
10881 ld_shlibs=no
10883 esac
10885 if test x$host_vendor = xsni; then
10886 case $host in
10887 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10888 export_dynamic_flag_spec='${wl}-Blargedynsym'
10890 esac
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10895 $as_echo "$ld_shlibs" >&6; }
10896 test "$ld_shlibs" = no && can_build_shared=no
10898 with_gnu_ld=$with_gnu_ld
10915 # Do we need to explicitly link libc?
10917 case "x$archive_cmds_need_lc" in
10918 x|xyes)
10919 # Assume -lc should be added
10920 archive_cmds_need_lc=yes
10922 if test "$enable_shared" = yes && test "$GCC" = yes; then
10923 case $archive_cmds in
10924 *'~'*)
10925 # FIXME: we may have to deal with multi-command sequences.
10927 '$CC '*)
10928 # Test whether the compiler implicitly links with -lc since on some
10929 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10930 # to ld, don't add -lc before -lgcc.
10931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10932 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10933 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10934 $as_echo_n "(cached) " >&6
10935 else
10936 $RM conftest*
10937 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10939 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10940 (eval $ac_compile) 2>&5
10941 ac_status=$?
10942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10943 test $ac_status = 0; } 2>conftest.err; then
10944 soname=conftest
10945 lib=conftest
10946 libobjs=conftest.$ac_objext
10947 deplibs=
10948 wl=$lt_prog_compiler_wl
10949 pic_flag=$lt_prog_compiler_pic
10950 compiler_flags=-v
10951 linker_flags=-v
10952 verstring=
10953 output_objdir=.
10954 libname=conftest
10955 lt_save_allow_undefined_flag=$allow_undefined_flag
10956 allow_undefined_flag=
10957 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10958 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10959 ac_status=$?
10960 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10961 test $ac_status = 0; }
10962 then
10963 lt_cv_archive_cmds_need_lc=no
10964 else
10965 lt_cv_archive_cmds_need_lc=yes
10967 allow_undefined_flag=$lt_save_allow_undefined_flag
10968 else
10969 cat conftest.err 1>&5
10971 $RM conftest*
10974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10975 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10976 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10978 esac
10981 esac
11139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11140 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11142 if test "$GCC" = yes; then
11143 case $host_os in
11144 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11145 *) lt_awk_arg="/^libraries:/" ;;
11146 esac
11147 case $host_os in
11148 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11149 *) lt_sed_strip_eq="s,=/,/,g" ;;
11150 esac
11151 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11152 case $lt_search_path_spec in
11153 *\;*)
11154 # if the path contains ";" then we assume it to be the separator
11155 # otherwise default to the standard path separator (i.e. ":") - it is
11156 # assumed that no part of a normal pathname contains ";" but that should
11157 # okay in the real world where ";" in dirpaths is itself problematic.
11158 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11161 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11163 esac
11164 # Ok, now we have the path, separated by spaces, we can step through it
11165 # and add multilib dir if necessary.
11166 lt_tmp_lt_search_path_spec=
11167 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11168 for lt_sys_path in $lt_search_path_spec; do
11169 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11170 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11171 else
11172 test -d "$lt_sys_path" && \
11173 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11175 done
11176 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11177 BEGIN {RS=" "; FS="/|\n";} {
11178 lt_foo="";
11179 lt_count=0;
11180 for (lt_i = NF; lt_i > 0; lt_i--) {
11181 if ($lt_i != "" && $lt_i != ".") {
11182 if ($lt_i == "..") {
11183 lt_count++;
11184 } else {
11185 if (lt_count == 0) {
11186 lt_foo="/" $lt_i lt_foo;
11187 } else {
11188 lt_count--;
11193 if (lt_foo != "") { lt_freq[lt_foo]++; }
11194 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11196 # AWK program above erroneously prepends '/' to C:/dos/paths
11197 # for these hosts.
11198 case $host_os in
11199 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11200 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11201 esac
11202 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11203 else
11204 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11206 library_names_spec=
11207 libname_spec='lib$name'
11208 soname_spec=
11209 shrext_cmds=".so"
11210 postinstall_cmds=
11211 postuninstall_cmds=
11212 finish_cmds=
11213 finish_eval=
11214 shlibpath_var=
11215 shlibpath_overrides_runpath=unknown
11216 version_type=none
11217 dynamic_linker="$host_os ld.so"
11218 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11219 need_lib_prefix=unknown
11220 hardcode_into_libs=no
11222 # when you set need_version to no, make sure it does not cause -set_version
11223 # flags to be left without arguments
11224 need_version=unknown
11226 case $host_os in
11227 aix3*)
11228 version_type=linux
11229 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11230 shlibpath_var=LIBPATH
11232 # AIX 3 has no versioning support, so we append a major version to the name.
11233 soname_spec='${libname}${release}${shared_ext}$major'
11236 aix[4-9]*)
11237 version_type=linux
11238 need_lib_prefix=no
11239 need_version=no
11240 hardcode_into_libs=yes
11241 if test "$host_cpu" = ia64; then
11242 # AIX 5 supports IA64
11243 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11244 shlibpath_var=LD_LIBRARY_PATH
11245 else
11246 # With GCC up to 2.95.x, collect2 would create an import file
11247 # for dependence libraries. The import file would start with
11248 # the line `#! .'. This would cause the generated library to
11249 # depend on `.', always an invalid library. This was fixed in
11250 # development snapshots of GCC prior to 3.0.
11251 case $host_os in
11252 aix4 | aix4.[01] | aix4.[01].*)
11253 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11254 echo ' yes '
11255 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11257 else
11258 can_build_shared=no
11261 esac
11262 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11263 # soname into executable. Probably we can add versioning support to
11264 # collect2, so additional links can be useful in future.
11265 if test "$aix_use_runtimelinking" = yes; then
11266 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11267 # instead of lib<name>.a to let people know that these are not
11268 # typical AIX shared libraries.
11269 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11270 else
11271 # We preserve .a as extension for shared libraries through AIX4.2
11272 # and later when we are not doing run time linking.
11273 library_names_spec='${libname}${release}.a $libname.a'
11274 soname_spec='${libname}${release}${shared_ext}$major'
11276 shlibpath_var=LIBPATH
11280 amigaos*)
11281 case $host_cpu in
11282 powerpc)
11283 # Since July 2007 AmigaOS4 officially supports .so libraries.
11284 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11285 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11287 m68k)
11288 library_names_spec='$libname.ixlibrary $libname.a'
11289 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11290 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'
11292 esac
11295 beos*)
11296 library_names_spec='${libname}${shared_ext}'
11297 dynamic_linker="$host_os ld.so"
11298 shlibpath_var=LIBRARY_PATH
11301 bsdi[45]*)
11302 version_type=linux
11303 need_version=no
11304 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11305 soname_spec='${libname}${release}${shared_ext}$major'
11306 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11307 shlibpath_var=LD_LIBRARY_PATH
11308 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11309 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11310 # the default ld.so.conf also contains /usr/contrib/lib and
11311 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11312 # libtool to hard-code these into programs
11315 cygwin* | mingw* | pw32* | cegcc*)
11316 version_type=windows
11317 shrext_cmds=".dll"
11318 need_version=no
11319 need_lib_prefix=no
11321 case $GCC,$host_os in
11322 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11323 library_names_spec='$libname.dll.a'
11324 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11325 postinstall_cmds='base_file=`basename \${file}`~
11326 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11327 dldir=$destdir/`dirname \$dlpath`~
11328 test -d \$dldir || mkdir -p \$dldir~
11329 $install_prog $dir/$dlname \$dldir/$dlname~
11330 chmod a+x \$dldir/$dlname~
11331 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11332 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11334 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11335 dlpath=$dir/\$dldll~
11336 $RM \$dlpath'
11337 shlibpath_overrides_runpath=yes
11339 case $host_os in
11340 cygwin*)
11341 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11342 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11344 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11346 mingw* | cegcc*)
11347 # MinGW DLLs use traditional 'lib' prefix
11348 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11350 pw32*)
11351 # pw32 DLLs use 'pw' prefix rather than 'lib'
11352 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11354 esac
11358 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11360 esac
11361 dynamic_linker='Win32 ld.exe'
11362 # FIXME: first we should search . and the directory the executable is in
11363 shlibpath_var=PATH
11366 darwin* | rhapsody*)
11367 dynamic_linker="$host_os dyld"
11368 version_type=darwin
11369 need_lib_prefix=no
11370 need_version=no
11371 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11372 soname_spec='${libname}${release}${major}$shared_ext'
11373 shlibpath_overrides_runpath=yes
11374 shlibpath_var=DYLD_LIBRARY_PATH
11375 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11377 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11378 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11381 dgux*)
11382 version_type=linux
11383 need_lib_prefix=no
11384 need_version=no
11385 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11386 soname_spec='${libname}${release}${shared_ext}$major'
11387 shlibpath_var=LD_LIBRARY_PATH
11390 freebsd* | dragonfly*)
11391 # DragonFly does not have aout. When/if they implement a new
11392 # versioning mechanism, adjust this.
11393 if test -x /usr/bin/objformat; then
11394 objformat=`/usr/bin/objformat`
11395 else
11396 case $host_os in
11397 freebsd[23].*) objformat=aout ;;
11398 *) objformat=elf ;;
11399 esac
11401 version_type=freebsd-$objformat
11402 case $version_type in
11403 freebsd-elf*)
11404 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11405 need_version=no
11406 need_lib_prefix=no
11408 freebsd-*)
11409 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11410 need_version=yes
11412 esac
11413 shlibpath_var=LD_LIBRARY_PATH
11414 case $host_os in
11415 freebsd2.*)
11416 shlibpath_overrides_runpath=yes
11418 freebsd3.[01]* | freebsdelf3.[01]*)
11419 shlibpath_overrides_runpath=yes
11420 hardcode_into_libs=yes
11422 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11423 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11424 shlibpath_overrides_runpath=no
11425 hardcode_into_libs=yes
11427 *) # from 4.6 on, and DragonFly
11428 shlibpath_overrides_runpath=yes
11429 hardcode_into_libs=yes
11431 esac
11434 haiku*)
11435 version_type=linux
11436 need_lib_prefix=no
11437 need_version=no
11438 dynamic_linker="$host_os runtime_loader"
11439 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11440 soname_spec='${libname}${release}${shared_ext}$major'
11441 shlibpath_var=LIBRARY_PATH
11442 shlibpath_overrides_runpath=yes
11443 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11444 hardcode_into_libs=yes
11447 hpux9* | hpux10* | hpux11*)
11448 # Give a soname corresponding to the major version so that dld.sl refuses to
11449 # link against other versions.
11450 version_type=sunos
11451 need_lib_prefix=no
11452 need_version=no
11453 case $host_cpu in
11454 ia64*)
11455 shrext_cmds='.so'
11456 hardcode_into_libs=yes
11457 dynamic_linker="$host_os dld.so"
11458 shlibpath_var=LD_LIBRARY_PATH
11459 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11460 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11461 soname_spec='${libname}${release}${shared_ext}$major'
11462 if test "X$HPUX_IA64_MODE" = X32; then
11463 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11464 else
11465 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11467 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11469 hppa*64*)
11470 shrext_cmds='.sl'
11471 hardcode_into_libs=yes
11472 dynamic_linker="$host_os dld.sl"
11473 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11474 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11475 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11476 soname_spec='${libname}${release}${shared_ext}$major'
11477 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11478 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11481 shrext_cmds='.sl'
11482 dynamic_linker="$host_os dld.sl"
11483 shlibpath_var=SHLIB_PATH
11484 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11485 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11486 soname_spec='${libname}${release}${shared_ext}$major'
11488 esac
11489 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11490 postinstall_cmds='chmod 555 $lib'
11491 # or fails outright, so override atomically:
11492 install_override_mode=555
11495 interix[3-9]*)
11496 version_type=linux
11497 need_lib_prefix=no
11498 need_version=no
11499 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11500 soname_spec='${libname}${release}${shared_ext}$major'
11501 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11502 shlibpath_var=LD_LIBRARY_PATH
11503 shlibpath_overrides_runpath=no
11504 hardcode_into_libs=yes
11507 irix5* | irix6* | nonstopux*)
11508 case $host_os in
11509 nonstopux*) version_type=nonstopux ;;
11511 if test "$lt_cv_prog_gnu_ld" = yes; then
11512 version_type=linux
11513 else
11514 version_type=irix
11515 fi ;;
11516 esac
11517 need_lib_prefix=no
11518 need_version=no
11519 soname_spec='${libname}${release}${shared_ext}$major'
11520 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11521 case $host_os in
11522 irix5* | nonstopux*)
11523 libsuff= shlibsuff=
11526 case $LD in # libtool.m4 will add one of these switches to LD
11527 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11528 libsuff= shlibsuff= libmagic=32-bit;;
11529 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11530 libsuff=32 shlibsuff=N32 libmagic=N32;;
11531 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11532 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11533 *) libsuff= shlibsuff= libmagic=never-match;;
11534 esac
11536 esac
11537 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11538 shlibpath_overrides_runpath=no
11539 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11540 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11541 hardcode_into_libs=yes
11544 # No shared lib support for Linux oldld, aout, or coff.
11545 linux*oldld* | linux*aout* | linux*coff*)
11546 dynamic_linker=no
11549 # This must be Linux ELF.
11551 # uclinux* changes (here and below) have been submitted to the libtool
11552 # project, but have not yet been accepted: they are GCC-local changes
11553 # for the time being. (See
11554 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
11555 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
11556 version_type=linux
11557 need_lib_prefix=no
11558 need_version=no
11559 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11560 soname_spec='${libname}${release}${shared_ext}$major'
11561 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11562 shlibpath_var=LD_LIBRARY_PATH
11563 shlibpath_overrides_runpath=no
11565 # Some binutils ld are patched to set DT_RUNPATH
11566 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11567 $as_echo_n "(cached) " >&6
11568 else
11569 lt_cv_shlibpath_overrides_runpath=no
11570 save_LDFLAGS=$LDFLAGS
11571 save_libdir=$libdir
11572 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11573 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11574 if test x$gcc_no_link = xyes; then
11575 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11578 /* end confdefs.h. */
11581 main ()
11585 return 0;
11587 _ACEOF
11588 if ac_fn_c_try_link "$LINENO"; then :
11589 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11590 lt_cv_shlibpath_overrides_runpath=yes
11593 rm -f core conftest.err conftest.$ac_objext \
11594 conftest$ac_exeext conftest.$ac_ext
11595 LDFLAGS=$save_LDFLAGS
11596 libdir=$save_libdir
11600 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11602 # This implies no fast_install, which is unacceptable.
11603 # Some rework will be needed to allow for fast_install
11604 # before this can be enabled.
11605 hardcode_into_libs=yes
11607 # Append ld.so.conf contents to the search path
11608 if test -f /etc/ld.so.conf; then
11609 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' ' '`
11610 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11613 # We used to test for /lib/ld.so.1 and disable shared libraries on
11614 # powerpc, because MkLinux only supported shared libraries with the
11615 # GNU dynamic linker. Since this was broken with cross compilers,
11616 # most powerpc-linux boxes support dynamic linking these days and
11617 # people can always --disable-shared, the test was removed, and we
11618 # assume the GNU/Linux dynamic linker is in use.
11619 dynamic_linker='GNU/Linux ld.so'
11622 netbsd*)
11623 version_type=sunos
11624 need_lib_prefix=no
11625 need_version=no
11626 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11627 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11628 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11629 dynamic_linker='NetBSD (a.out) ld.so'
11630 else
11631 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11632 soname_spec='${libname}${release}${shared_ext}$major'
11633 dynamic_linker='NetBSD ld.elf_so'
11635 shlibpath_var=LD_LIBRARY_PATH
11636 shlibpath_overrides_runpath=yes
11637 hardcode_into_libs=yes
11640 newsos6)
11641 version_type=linux
11642 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11643 shlibpath_var=LD_LIBRARY_PATH
11644 shlibpath_overrides_runpath=yes
11647 *nto* | *qnx*)
11648 version_type=qnx
11649 need_lib_prefix=no
11650 need_version=no
11651 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11652 soname_spec='${libname}${release}${shared_ext}$major'
11653 shlibpath_var=LD_LIBRARY_PATH
11654 shlibpath_overrides_runpath=no
11655 hardcode_into_libs=yes
11656 dynamic_linker='ldqnx.so'
11659 openbsd*)
11660 version_type=sunos
11661 sys_lib_dlsearch_path_spec="/usr/lib"
11662 need_lib_prefix=no
11663 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11664 case $host_os in
11665 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11666 *) need_version=no ;;
11667 esac
11668 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11669 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11670 shlibpath_var=LD_LIBRARY_PATH
11671 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11672 case $host_os in
11673 openbsd2.[89] | openbsd2.[89].*)
11674 shlibpath_overrides_runpath=no
11677 shlibpath_overrides_runpath=yes
11679 esac
11680 else
11681 shlibpath_overrides_runpath=yes
11685 os2*)
11686 libname_spec='$name'
11687 shrext_cmds=".dll"
11688 need_lib_prefix=no
11689 library_names_spec='$libname${shared_ext} $libname.a'
11690 dynamic_linker='OS/2 ld.exe'
11691 shlibpath_var=LIBPATH
11694 osf3* | osf4* | osf5*)
11695 version_type=osf
11696 need_lib_prefix=no
11697 need_version=no
11698 soname_spec='${libname}${release}${shared_ext}$major'
11699 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11700 shlibpath_var=LD_LIBRARY_PATH
11701 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11702 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11705 rdos*)
11706 dynamic_linker=no
11709 solaris*)
11710 version_type=linux
11711 need_lib_prefix=no
11712 need_version=no
11713 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11714 soname_spec='${libname}${release}${shared_ext}$major'
11715 shlibpath_var=LD_LIBRARY_PATH
11716 shlibpath_overrides_runpath=yes
11717 hardcode_into_libs=yes
11718 # ldd complains unless libraries are executable
11719 postinstall_cmds='chmod +x $lib'
11722 sunos4*)
11723 version_type=sunos
11724 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11725 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11726 shlibpath_var=LD_LIBRARY_PATH
11727 shlibpath_overrides_runpath=yes
11728 if test "$with_gnu_ld" = yes; then
11729 need_lib_prefix=no
11731 need_version=yes
11734 sysv4 | sysv4.3*)
11735 version_type=linux
11736 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11737 soname_spec='${libname}${release}${shared_ext}$major'
11738 shlibpath_var=LD_LIBRARY_PATH
11739 case $host_vendor in
11740 sni)
11741 shlibpath_overrides_runpath=no
11742 need_lib_prefix=no
11743 runpath_var=LD_RUN_PATH
11745 siemens)
11746 need_lib_prefix=no
11748 motorola)
11749 need_lib_prefix=no
11750 need_version=no
11751 shlibpath_overrides_runpath=no
11752 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11754 esac
11757 sysv4*MP*)
11758 if test -d /usr/nec ;then
11759 version_type=linux
11760 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11761 soname_spec='$libname${shared_ext}.$major'
11762 shlibpath_var=LD_LIBRARY_PATH
11766 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11767 version_type=freebsd-elf
11768 need_lib_prefix=no
11769 need_version=no
11770 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11771 soname_spec='${libname}${release}${shared_ext}$major'
11772 shlibpath_var=LD_LIBRARY_PATH
11773 shlibpath_overrides_runpath=yes
11774 hardcode_into_libs=yes
11775 if test "$with_gnu_ld" = yes; then
11776 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11777 else
11778 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11779 case $host_os in
11780 sco3.2v5*)
11781 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11783 esac
11785 sys_lib_dlsearch_path_spec='/usr/lib'
11788 tpf*)
11789 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11790 version_type=linux
11791 need_lib_prefix=no
11792 need_version=no
11793 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11794 shlibpath_var=LD_LIBRARY_PATH
11795 shlibpath_overrides_runpath=no
11796 hardcode_into_libs=yes
11799 uts4*)
11800 version_type=linux
11801 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11802 soname_spec='${libname}${release}${shared_ext}$major'
11803 shlibpath_var=LD_LIBRARY_PATH
11806 # Shared libraries for VwWorks, >= 7 only at this stage
11807 # and (fpic) still incompatible with "large" code models
11808 # in a few configurations. Only for RTP mode in any case,
11809 # and upon explicit request at configure time.
11810 vxworks7*)
11811 dynamic_linker=no
11812 case ${with_multisubdir}-${enable_shared} in
11813 *large*)
11815 *mrtp*-yes)
11816 version_type=linux
11817 need_lib_prefix=no
11818 need_version=no
11819 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11820 soname_spec='${libname}${release}${shared_ext}$major'
11821 dynamic_linker="$host_os module_loader"
11823 esac
11826 dynamic_linker=no
11828 esac
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11830 $as_echo "$dynamic_linker" >&6; }
11831 test "$dynamic_linker" = no && can_build_shared=no
11833 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11834 if test "$GCC" = yes; then
11835 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11838 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11839 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11841 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11842 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11937 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11938 hardcode_action=
11939 if test -n "$hardcode_libdir_flag_spec" ||
11940 test -n "$runpath_var" ||
11941 test "X$hardcode_automatic" = "Xyes" ; then
11943 # We can hardcode non-existent directories.
11944 if test "$hardcode_direct" != no &&
11945 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11946 # have to relink, otherwise we might link with an installed library
11947 # when we should be linking with a yet-to-be-installed one
11948 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11949 test "$hardcode_minus_L" != no; then
11950 # Linking always hardcodes the temporary library directory.
11951 hardcode_action=relink
11952 else
11953 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11954 hardcode_action=immediate
11956 else
11957 # We cannot hardcode anything, or else we can only hardcode existing
11958 # directories.
11959 hardcode_action=unsupported
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11962 $as_echo "$hardcode_action" >&6; }
11964 if test "$hardcode_action" = relink ||
11965 test "$inherit_rpath" = yes; then
11966 # Fast installation is not supported
11967 enable_fast_install=no
11968 elif test "$shlibpath_overrides_runpath" = yes ||
11969 test "$enable_shared" = no; then
11970 # Fast installation is not necessary
11971 enable_fast_install=needless
11979 if test "x$enable_dlopen" != xyes; then
11980 enable_dlopen=unknown
11981 enable_dlopen_self=unknown
11982 enable_dlopen_self_static=unknown
11983 else
11984 lt_cv_dlopen=no
11985 lt_cv_dlopen_libs=
11987 case $host_os in
11988 beos*)
11989 lt_cv_dlopen="load_add_on"
11990 lt_cv_dlopen_libs=
11991 lt_cv_dlopen_self=yes
11994 mingw* | pw32* | cegcc*)
11995 lt_cv_dlopen="LoadLibrary"
11996 lt_cv_dlopen_libs=
11999 cygwin*)
12000 lt_cv_dlopen="dlopen"
12001 lt_cv_dlopen_libs=
12004 darwin*)
12005 # if libdl is installed we need to link against it
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12007 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12008 if ${ac_cv_lib_dl_dlopen+:} false; then :
12009 $as_echo_n "(cached) " >&6
12010 else
12011 ac_check_lib_save_LIBS=$LIBS
12012 LIBS="-ldl $LIBS"
12013 if test x$gcc_no_link = xyes; then
12014 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12017 /* end confdefs.h. */
12019 /* Override any GCC internal prototype to avoid an error.
12020 Use char because int might match the return type of a GCC
12021 builtin and then its argument prototype would still apply. */
12022 #ifdef __cplusplus
12023 extern "C"
12024 #endif
12025 char dlopen ();
12027 main ()
12029 return dlopen ();
12031 return 0;
12033 _ACEOF
12034 if ac_fn_c_try_link "$LINENO"; then :
12035 ac_cv_lib_dl_dlopen=yes
12036 else
12037 ac_cv_lib_dl_dlopen=no
12039 rm -f core conftest.err conftest.$ac_objext \
12040 conftest$ac_exeext conftest.$ac_ext
12041 LIBS=$ac_check_lib_save_LIBS
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12044 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12045 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12046 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12047 else
12049 lt_cv_dlopen="dyld"
12050 lt_cv_dlopen_libs=
12051 lt_cv_dlopen_self=yes
12058 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12059 if test "x$ac_cv_func_shl_load" = xyes; then :
12060 lt_cv_dlopen="shl_load"
12061 else
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12063 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12064 if ${ac_cv_lib_dld_shl_load+:} false; then :
12065 $as_echo_n "(cached) " >&6
12066 else
12067 ac_check_lib_save_LIBS=$LIBS
12068 LIBS="-ldld $LIBS"
12069 if test x$gcc_no_link = xyes; then
12070 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12073 /* end confdefs.h. */
12075 /* Override any GCC internal prototype to avoid an error.
12076 Use char because int might match the return type of a GCC
12077 builtin and then its argument prototype would still apply. */
12078 #ifdef __cplusplus
12079 extern "C"
12080 #endif
12081 char shl_load ();
12083 main ()
12085 return shl_load ();
12087 return 0;
12089 _ACEOF
12090 if ac_fn_c_try_link "$LINENO"; then :
12091 ac_cv_lib_dld_shl_load=yes
12092 else
12093 ac_cv_lib_dld_shl_load=no
12095 rm -f core conftest.err conftest.$ac_objext \
12096 conftest$ac_exeext conftest.$ac_ext
12097 LIBS=$ac_check_lib_save_LIBS
12099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12100 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12101 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12102 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12103 else
12104 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12105 if test "x$ac_cv_func_dlopen" = xyes; then :
12106 lt_cv_dlopen="dlopen"
12107 else
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12109 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12110 if ${ac_cv_lib_dl_dlopen+:} false; then :
12111 $as_echo_n "(cached) " >&6
12112 else
12113 ac_check_lib_save_LIBS=$LIBS
12114 LIBS="-ldl $LIBS"
12115 if test x$gcc_no_link = xyes; then
12116 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12119 /* end confdefs.h. */
12121 /* Override any GCC internal prototype to avoid an error.
12122 Use char because int might match the return type of a GCC
12123 builtin and then its argument prototype would still apply. */
12124 #ifdef __cplusplus
12125 extern "C"
12126 #endif
12127 char dlopen ();
12129 main ()
12131 return dlopen ();
12133 return 0;
12135 _ACEOF
12136 if ac_fn_c_try_link "$LINENO"; then :
12137 ac_cv_lib_dl_dlopen=yes
12138 else
12139 ac_cv_lib_dl_dlopen=no
12141 rm -f core conftest.err conftest.$ac_objext \
12142 conftest$ac_exeext conftest.$ac_ext
12143 LIBS=$ac_check_lib_save_LIBS
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12146 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12147 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12148 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12149 else
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12151 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12152 if ${ac_cv_lib_svld_dlopen+:} false; then :
12153 $as_echo_n "(cached) " >&6
12154 else
12155 ac_check_lib_save_LIBS=$LIBS
12156 LIBS="-lsvld $LIBS"
12157 if test x$gcc_no_link = xyes; then
12158 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12161 /* end confdefs.h. */
12163 /* Override any GCC internal prototype to avoid an error.
12164 Use char because int might match the return type of a GCC
12165 builtin and then its argument prototype would still apply. */
12166 #ifdef __cplusplus
12167 extern "C"
12168 #endif
12169 char dlopen ();
12171 main ()
12173 return dlopen ();
12175 return 0;
12177 _ACEOF
12178 if ac_fn_c_try_link "$LINENO"; then :
12179 ac_cv_lib_svld_dlopen=yes
12180 else
12181 ac_cv_lib_svld_dlopen=no
12183 rm -f core conftest.err conftest.$ac_objext \
12184 conftest$ac_exeext conftest.$ac_ext
12185 LIBS=$ac_check_lib_save_LIBS
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12188 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12189 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12190 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12191 else
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12193 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12194 if ${ac_cv_lib_dld_dld_link+:} false; then :
12195 $as_echo_n "(cached) " >&6
12196 else
12197 ac_check_lib_save_LIBS=$LIBS
12198 LIBS="-ldld $LIBS"
12199 if test x$gcc_no_link = xyes; then
12200 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12203 /* end confdefs.h. */
12205 /* Override any GCC internal prototype to avoid an error.
12206 Use char because int might match the return type of a GCC
12207 builtin and then its argument prototype would still apply. */
12208 #ifdef __cplusplus
12209 extern "C"
12210 #endif
12211 char dld_link ();
12213 main ()
12215 return dld_link ();
12217 return 0;
12219 _ACEOF
12220 if ac_fn_c_try_link "$LINENO"; then :
12221 ac_cv_lib_dld_dld_link=yes
12222 else
12223 ac_cv_lib_dld_dld_link=no
12225 rm -f core conftest.err conftest.$ac_objext \
12226 conftest$ac_exeext conftest.$ac_ext
12227 LIBS=$ac_check_lib_save_LIBS
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12230 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12231 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12232 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12251 esac
12253 if test "x$lt_cv_dlopen" != xno; then
12254 enable_dlopen=yes
12255 else
12256 enable_dlopen=no
12259 case $lt_cv_dlopen in
12260 dlopen)
12261 save_CPPFLAGS="$CPPFLAGS"
12262 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12264 save_LDFLAGS="$LDFLAGS"
12265 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12267 save_LIBS="$LIBS"
12268 LIBS="$lt_cv_dlopen_libs $LIBS"
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12271 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12272 if ${lt_cv_dlopen_self+:} false; then :
12273 $as_echo_n "(cached) " >&6
12274 else
12275 if test "$cross_compiling" = yes; then :
12276 lt_cv_dlopen_self=cross
12277 else
12278 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12279 lt_status=$lt_dlunknown
12280 cat > conftest.$ac_ext <<_LT_EOF
12281 #line 12281 "configure"
12282 #include "confdefs.h"
12284 #if HAVE_DLFCN_H
12285 #include <dlfcn.h>
12286 #endif
12288 #include <stdio.h>
12290 #ifdef RTLD_GLOBAL
12291 # define LT_DLGLOBAL RTLD_GLOBAL
12292 #else
12293 # ifdef DL_GLOBAL
12294 # define LT_DLGLOBAL DL_GLOBAL
12295 # else
12296 # define LT_DLGLOBAL 0
12297 # endif
12298 #endif
12300 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12301 find out it does not work in some platform. */
12302 #ifndef LT_DLLAZY_OR_NOW
12303 # ifdef RTLD_LAZY
12304 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12305 # else
12306 # ifdef DL_LAZY
12307 # define LT_DLLAZY_OR_NOW DL_LAZY
12308 # else
12309 # ifdef RTLD_NOW
12310 # define LT_DLLAZY_OR_NOW RTLD_NOW
12311 # else
12312 # ifdef DL_NOW
12313 # define LT_DLLAZY_OR_NOW DL_NOW
12314 # else
12315 # define LT_DLLAZY_OR_NOW 0
12316 # endif
12317 # endif
12318 # endif
12319 # endif
12320 #endif
12322 /* When -fvisbility=hidden is used, assume the code has been annotated
12323 correspondingly for the symbols needed. */
12324 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12325 void fnord () __attribute__((visibility("default")));
12326 #endif
12328 void fnord () { int i=42; }
12329 int main ()
12331 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12332 int status = $lt_dlunknown;
12334 if (self)
12336 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12337 else
12339 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12340 else puts (dlerror ());
12342 /* dlclose (self); */
12344 else
12345 puts (dlerror ());
12347 return status;
12349 _LT_EOF
12350 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12351 (eval $ac_link) 2>&5
12352 ac_status=$?
12353 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12354 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12355 (./conftest; exit; ) >&5 2>/dev/null
12356 lt_status=$?
12357 case x$lt_status in
12358 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12359 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12360 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12361 esac
12362 else :
12363 # compilation failed
12364 lt_cv_dlopen_self=no
12367 rm -fr conftest*
12371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12372 $as_echo "$lt_cv_dlopen_self" >&6; }
12374 if test "x$lt_cv_dlopen_self" = xyes; then
12375 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12377 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12378 if ${lt_cv_dlopen_self_static+:} false; then :
12379 $as_echo_n "(cached) " >&6
12380 else
12381 if test "$cross_compiling" = yes; then :
12382 lt_cv_dlopen_self_static=cross
12383 else
12384 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12385 lt_status=$lt_dlunknown
12386 cat > conftest.$ac_ext <<_LT_EOF
12387 #line 12387 "configure"
12388 #include "confdefs.h"
12390 #if HAVE_DLFCN_H
12391 #include <dlfcn.h>
12392 #endif
12394 #include <stdio.h>
12396 #ifdef RTLD_GLOBAL
12397 # define LT_DLGLOBAL RTLD_GLOBAL
12398 #else
12399 # ifdef DL_GLOBAL
12400 # define LT_DLGLOBAL DL_GLOBAL
12401 # else
12402 # define LT_DLGLOBAL 0
12403 # endif
12404 #endif
12406 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12407 find out it does not work in some platform. */
12408 #ifndef LT_DLLAZY_OR_NOW
12409 # ifdef RTLD_LAZY
12410 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12411 # else
12412 # ifdef DL_LAZY
12413 # define LT_DLLAZY_OR_NOW DL_LAZY
12414 # else
12415 # ifdef RTLD_NOW
12416 # define LT_DLLAZY_OR_NOW RTLD_NOW
12417 # else
12418 # ifdef DL_NOW
12419 # define LT_DLLAZY_OR_NOW DL_NOW
12420 # else
12421 # define LT_DLLAZY_OR_NOW 0
12422 # endif
12423 # endif
12424 # endif
12425 # endif
12426 #endif
12428 /* When -fvisbility=hidden is used, assume the code has been annotated
12429 correspondingly for the symbols needed. */
12430 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12431 void fnord () __attribute__((visibility("default")));
12432 #endif
12434 void fnord () { int i=42; }
12435 int main ()
12437 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12438 int status = $lt_dlunknown;
12440 if (self)
12442 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12443 else
12445 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12446 else puts (dlerror ());
12448 /* dlclose (self); */
12450 else
12451 puts (dlerror ());
12453 return status;
12455 _LT_EOF
12456 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12457 (eval $ac_link) 2>&5
12458 ac_status=$?
12459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12460 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12461 (./conftest; exit; ) >&5 2>/dev/null
12462 lt_status=$?
12463 case x$lt_status in
12464 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12465 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12466 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12467 esac
12468 else :
12469 # compilation failed
12470 lt_cv_dlopen_self_static=no
12473 rm -fr conftest*
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12478 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12481 CPPFLAGS="$save_CPPFLAGS"
12482 LDFLAGS="$save_LDFLAGS"
12483 LIBS="$save_LIBS"
12485 esac
12487 case $lt_cv_dlopen_self in
12488 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12489 *) enable_dlopen_self=unknown ;;
12490 esac
12492 case $lt_cv_dlopen_self_static in
12493 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12494 *) enable_dlopen_self_static=unknown ;;
12495 esac
12514 striplib=
12515 old_striplib=
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12517 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12518 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12519 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12520 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12522 $as_echo "yes" >&6; }
12523 else
12524 # FIXME - insert some real tests, host_os isn't really good enough
12525 case $host_os in
12526 darwin*)
12527 if test -n "$STRIP" ; then
12528 striplib="$STRIP -x"
12529 old_striplib="$STRIP -S"
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12531 $as_echo "yes" >&6; }
12532 else
12533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12534 $as_echo "no" >&6; }
12538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12539 $as_echo "no" >&6; }
12541 esac
12555 # Report which library types will actually be built
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12557 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12559 $as_echo "$can_build_shared" >&6; }
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12562 $as_echo_n "checking whether to build shared libraries... " >&6; }
12563 test "$can_build_shared" = "no" && enable_shared=no
12565 # On AIX, shared libraries and static libraries use the same namespace, and
12566 # are all built from PIC.
12567 case $host_os in
12568 aix3*)
12569 test "$enable_shared" = yes && enable_static=no
12570 if test -n "$RANLIB"; then
12571 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12572 postinstall_cmds='$RANLIB $lib'
12576 aix[4-9]*)
12577 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12578 test "$enable_shared" = yes && enable_static=no
12581 esac
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12583 $as_echo "$enable_shared" >&6; }
12585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12586 $as_echo_n "checking whether to build static libraries... " >&6; }
12587 # Make sure either enable_shared or enable_static is yes.
12588 test "$enable_shared" = yes || enable_static=yes
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12590 $as_echo "$enable_static" >&6; }
12596 ac_ext=c
12597 ac_cpp='$CPP $CPPFLAGS'
12598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12602 CC="$lt_save_CC"
12604 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12605 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12606 (test "X$CXX" != "Xg++"))) ; then
12607 ac_ext=cpp
12608 ac_cpp='$CXXCPP $CPPFLAGS'
12609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12613 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12614 if test -z "$CXXCPP"; then
12615 if ${ac_cv_prog_CXXCPP+:} false; then :
12616 $as_echo_n "(cached) " >&6
12617 else
12618 # Double quotes because CXXCPP needs to be expanded
12619 for CXXCPP in "$CXX -E" "/lib/cpp"
12621 ac_preproc_ok=false
12622 for ac_cxx_preproc_warn_flag in '' yes
12624 # Use a header file that comes with gcc, so configuring glibc
12625 # with a fresh cross-compiler works.
12626 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12627 # <limits.h> exists even on freestanding compilers.
12628 # On the NeXT, cc -E runs the code through the compiler's parser,
12629 # not just through cpp. "Syntax error" is here to catch this case.
12630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12631 /* end confdefs.h. */
12632 #ifdef __STDC__
12633 # include <limits.h>
12634 #else
12635 # include <assert.h>
12636 #endif
12637 Syntax error
12638 _ACEOF
12639 if ac_fn_cxx_try_cpp "$LINENO"; then :
12641 else
12642 # Broken: fails on valid input.
12643 continue
12645 rm -f conftest.err conftest.i conftest.$ac_ext
12647 # OK, works on sane cases. Now check whether nonexistent headers
12648 # can be detected and how.
12649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12650 /* end confdefs.h. */
12651 #include <ac_nonexistent.h>
12652 _ACEOF
12653 if ac_fn_cxx_try_cpp "$LINENO"; then :
12654 # Broken: success on invalid input.
12655 continue
12656 else
12657 # Passes both tests.
12658 ac_preproc_ok=:
12659 break
12661 rm -f conftest.err conftest.i conftest.$ac_ext
12663 done
12664 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12665 rm -f conftest.i conftest.err conftest.$ac_ext
12666 if $ac_preproc_ok; then :
12667 break
12670 done
12671 ac_cv_prog_CXXCPP=$CXXCPP
12674 CXXCPP=$ac_cv_prog_CXXCPP
12675 else
12676 ac_cv_prog_CXXCPP=$CXXCPP
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12679 $as_echo "$CXXCPP" >&6; }
12680 ac_preproc_ok=false
12681 for ac_cxx_preproc_warn_flag in '' yes
12683 # Use a header file that comes with gcc, so configuring glibc
12684 # with a fresh cross-compiler works.
12685 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12686 # <limits.h> exists even on freestanding compilers.
12687 # On the NeXT, cc -E runs the code through the compiler's parser,
12688 # not just through cpp. "Syntax error" is here to catch this case.
12689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12690 /* end confdefs.h. */
12691 #ifdef __STDC__
12692 # include <limits.h>
12693 #else
12694 # include <assert.h>
12695 #endif
12696 Syntax error
12697 _ACEOF
12698 if ac_fn_cxx_try_cpp "$LINENO"; then :
12700 else
12701 # Broken: fails on valid input.
12702 continue
12704 rm -f conftest.err conftest.i conftest.$ac_ext
12706 # OK, works on sane cases. Now check whether nonexistent headers
12707 # can be detected and how.
12708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12709 /* end confdefs.h. */
12710 #include <ac_nonexistent.h>
12711 _ACEOF
12712 if ac_fn_cxx_try_cpp "$LINENO"; then :
12713 # Broken: success on invalid input.
12714 continue
12715 else
12716 # Passes both tests.
12717 ac_preproc_ok=:
12718 break
12720 rm -f conftest.err conftest.i conftest.$ac_ext
12722 done
12723 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12724 rm -f conftest.i conftest.err conftest.$ac_ext
12725 if $ac_preproc_ok; then :
12727 else
12728 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12729 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12730 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12731 See \`config.log' for more details" "$LINENO" 5; }
12734 ac_ext=c
12735 ac_cpp='$CPP $CPPFLAGS'
12736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12740 else
12741 _lt_caught_CXX_error=yes
12744 ac_ext=cpp
12745 ac_cpp='$CXXCPP $CPPFLAGS'
12746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12750 archive_cmds_need_lc_CXX=no
12751 allow_undefined_flag_CXX=
12752 always_export_symbols_CXX=no
12753 archive_expsym_cmds_CXX=
12754 compiler_needs_object_CXX=no
12755 export_dynamic_flag_spec_CXX=
12756 hardcode_direct_CXX=no
12757 hardcode_direct_absolute_CXX=no
12758 hardcode_libdir_flag_spec_CXX=
12759 hardcode_libdir_flag_spec_ld_CXX=
12760 hardcode_libdir_separator_CXX=
12761 hardcode_minus_L_CXX=no
12762 hardcode_shlibpath_var_CXX=unsupported
12763 hardcode_automatic_CXX=no
12764 inherit_rpath_CXX=no
12765 module_cmds_CXX=
12766 module_expsym_cmds_CXX=
12767 link_all_deplibs_CXX=unknown
12768 old_archive_cmds_CXX=$old_archive_cmds
12769 reload_flag_CXX=$reload_flag
12770 reload_cmds_CXX=$reload_cmds
12771 no_undefined_flag_CXX=
12772 whole_archive_flag_spec_CXX=
12773 enable_shared_with_static_runtimes_CXX=no
12775 # Source file extension for C++ test sources.
12776 ac_ext=cpp
12778 # Object file extension for compiled C++ test sources.
12779 objext=o
12780 objext_CXX=$objext
12782 # No sense in running all these tests if we already determined that
12783 # the CXX compiler isn't working. Some variables (like enable_shared)
12784 # are currently assumed to apply to all compilers on this platform,
12785 # and will be corrupted by setting them based on a non-working compiler.
12786 if test "$_lt_caught_CXX_error" != yes; then
12787 # Code to be used in simple compile tests
12788 lt_simple_compile_test_code="int some_variable = 0;"
12790 # Code to be used in simple link tests
12791 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12793 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12800 # If no C compiler was specified, use CC.
12801 LTCC=${LTCC-"$CC"}
12803 # If no C compiler flags were specified, use CFLAGS.
12804 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12806 # Allow CC to be a program name with arguments.
12807 compiler=$CC
12810 # save warnings/boilerplate of simple test code
12811 ac_outfile=conftest.$ac_objext
12812 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12813 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12814 _lt_compiler_boilerplate=`cat conftest.err`
12815 $RM conftest*
12817 ac_outfile=conftest.$ac_objext
12818 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12819 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12820 _lt_linker_boilerplate=`cat conftest.err`
12821 $RM -r conftest*
12824 # Allow CC to be a program name with arguments.
12825 lt_save_CC=$CC
12826 lt_save_LD=$LD
12827 lt_save_GCC=$GCC
12828 GCC=$GXX
12829 lt_save_with_gnu_ld=$with_gnu_ld
12830 lt_save_path_LD=$lt_cv_path_LD
12831 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12832 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12833 else
12834 $as_unset lt_cv_prog_gnu_ld
12836 if test -n "${lt_cv_path_LDCXX+set}"; then
12837 lt_cv_path_LD=$lt_cv_path_LDCXX
12838 else
12839 $as_unset lt_cv_path_LD
12841 test -z "${LDCXX+set}" || LD=$LDCXX
12842 CC=${CXX-"c++"}
12843 compiler=$CC
12844 compiler_CXX=$CC
12845 for cc_temp in $compiler""; do
12846 case $cc_temp in
12847 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12848 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12849 \-*) ;;
12850 *) break;;
12851 esac
12852 done
12853 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12856 if test -n "$compiler"; then
12857 # We don't want -fno-exception when compiling C++ code, so set the
12858 # no_builtin_flag separately
12859 if test "$GXX" = yes; then
12860 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12861 else
12862 lt_prog_compiler_no_builtin_flag_CXX=
12865 if test "$GXX" = yes; then
12866 # Set up default GNU C++ configuration
12870 # Check whether --with-gnu-ld was given.
12871 if test "${with_gnu_ld+set}" = set; then :
12872 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12873 else
12874 with_gnu_ld=no
12877 ac_prog=ld
12878 if test "$GCC" = yes; then
12879 # Check if gcc -print-prog-name=ld gives a path.
12880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12881 $as_echo_n "checking for ld used by $CC... " >&6; }
12882 case $host in
12883 *-*-mingw*)
12884 # gcc leaves a trailing carriage return which upsets mingw
12885 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12887 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12888 esac
12889 case $ac_prog in
12890 # Accept absolute paths.
12891 [\\/]* | ?:[\\/]*)
12892 re_direlt='/[^/][^/]*/\.\./'
12893 # Canonicalize the pathname of ld
12894 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12895 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12896 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12897 done
12898 test -z "$LD" && LD="$ac_prog"
12901 # If it fails, then pretend we aren't using GCC.
12902 ac_prog=ld
12905 # If it is relative, then search for the first ld in PATH.
12906 with_gnu_ld=unknown
12908 esac
12909 elif test "$with_gnu_ld" = yes; then
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12911 $as_echo_n "checking for GNU ld... " >&6; }
12912 else
12913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12914 $as_echo_n "checking for non-GNU ld... " >&6; }
12916 if ${lt_cv_path_LD+:} false; then :
12917 $as_echo_n "(cached) " >&6
12918 else
12919 if test -z "$LD"; then
12920 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12921 for ac_dir in $PATH; do
12922 IFS="$lt_save_ifs"
12923 test -z "$ac_dir" && ac_dir=.
12924 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12925 lt_cv_path_LD="$ac_dir/$ac_prog"
12926 # Check to see if the program is GNU ld. I'd rather use --version,
12927 # but apparently some variants of GNU ld only accept -v.
12928 # Break only if it was the GNU/non-GNU ld that we prefer.
12929 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12930 *GNU* | *'with BFD'*)
12931 test "$with_gnu_ld" != no && break
12934 test "$with_gnu_ld" != yes && break
12936 esac
12938 done
12939 IFS="$lt_save_ifs"
12940 else
12941 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12945 LD="$lt_cv_path_LD"
12946 if test -n "$LD"; then
12947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12948 $as_echo "$LD" >&6; }
12949 else
12950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12951 $as_echo "no" >&6; }
12953 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12955 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12956 if ${lt_cv_prog_gnu_ld+:} false; then :
12957 $as_echo_n "(cached) " >&6
12958 else
12959 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12960 case `$LD -v 2>&1 </dev/null` in
12961 *GNU* | *'with BFD'*)
12962 lt_cv_prog_gnu_ld=yes
12965 lt_cv_prog_gnu_ld=no
12967 esac
12969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12970 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12971 with_gnu_ld=$lt_cv_prog_gnu_ld
12979 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12980 # archiving commands below assume that GNU ld is being used.
12981 if test "$with_gnu_ld" = yes; then
12982 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12983 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'
12985 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12986 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12988 # If archive_cmds runs LD, not CC, wlarc should be empty
12989 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12990 # investigate it a little bit more. (MM)
12991 wlarc='${wl}'
12993 # ancient GNU ld didn't support --whole-archive et. al.
12994 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12995 $GREP 'no-whole-archive' > /dev/null; then
12996 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12997 else
12998 whole_archive_flag_spec_CXX=
13000 else
13001 with_gnu_ld=no
13002 wlarc=
13004 # A generic and very simple default shared library creation
13005 # command for GNU C++ for the case where it uses the native
13006 # linker, instead of GNU ld. If possible, this setting should
13007 # overridden to take advantage of the native linker features on
13008 # the platform it is being used on.
13009 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13012 # Commands to make compiler produce verbose output that lists
13013 # what "hidden" libraries, object files and flags are used when
13014 # linking a shared library.
13015 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13017 else
13018 GXX=no
13019 with_gnu_ld=no
13020 wlarc=
13023 # PORTME: fill in a description of your system's C++ link characteristics
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13025 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13026 ld_shlibs_CXX=yes
13027 case $host_os in
13028 aix3*)
13029 # FIXME: insert proper C++ library support
13030 ld_shlibs_CXX=no
13032 aix[4-9]*)
13033 if test "$host_cpu" = ia64; then
13034 # On IA64, the linker does run time linking by default, so we don't
13035 # have to do anything special.
13036 aix_use_runtimelinking=no
13037 exp_sym_flag='-Bexport'
13038 no_entry_flag=""
13039 else
13040 aix_use_runtimelinking=no
13042 # Test if we are trying to use run time linking or normal
13043 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13044 # need to do runtime linking.
13045 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13046 for ld_flag in $LDFLAGS; do
13047 case $ld_flag in
13048 *-brtl*)
13049 aix_use_runtimelinking=yes
13050 break
13052 esac
13053 done
13055 esac
13057 exp_sym_flag='-bexport'
13058 no_entry_flag='-bnoentry'
13061 # When large executables or shared objects are built, AIX ld can
13062 # have problems creating the table of contents. If linking a library
13063 # or program results in "error TOC overflow" add -mminimal-toc to
13064 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13065 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13067 archive_cmds_CXX=''
13068 hardcode_direct_CXX=yes
13069 hardcode_direct_absolute_CXX=yes
13070 hardcode_libdir_separator_CXX=':'
13071 link_all_deplibs_CXX=yes
13072 file_list_spec_CXX='${wl}-f,'
13074 if test "$GXX" = yes; then
13075 case $host_os in aix4.[012]|aix4.[012].*)
13076 # We only want to do this on AIX 4.2 and lower, the check
13077 # below for broken collect2 doesn't work under 4.3+
13078 collect2name=`${CC} -print-prog-name=collect2`
13079 if test -f "$collect2name" &&
13080 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13081 then
13082 # We have reworked collect2
13084 else
13085 # We have old collect2
13086 hardcode_direct_CXX=unsupported
13087 # It fails to find uninstalled libraries when the uninstalled
13088 # path is not listed in the libpath. Setting hardcode_minus_L
13089 # to unsupported forces relinking
13090 hardcode_minus_L_CXX=yes
13091 hardcode_libdir_flag_spec_CXX='-L$libdir'
13092 hardcode_libdir_separator_CXX=
13094 esac
13095 shared_flag='-shared'
13096 if test "$aix_use_runtimelinking" = yes; then
13097 shared_flag="$shared_flag "'${wl}-G'
13099 else
13100 # not using gcc
13101 if test "$host_cpu" = ia64; then
13102 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13103 # chokes on -Wl,-G. The following line is correct:
13104 shared_flag='-G'
13105 else
13106 if test "$aix_use_runtimelinking" = yes; then
13107 shared_flag='${wl}-G'
13108 else
13109 shared_flag='${wl}-bM:SRE'
13114 export_dynamic_flag_spec_CXX='${wl}-bexpall'
13115 # It seems that -bexpall does not export symbols beginning with
13116 # underscore (_), so it is better to generate a list of symbols to
13117 # export.
13118 always_export_symbols_CXX=yes
13119 if test "$aix_use_runtimelinking" = yes; then
13120 # Warning - without using the other runtime loading flags (-brtl),
13121 # -berok will link without error, but may produce a broken library.
13122 allow_undefined_flag_CXX='-berok'
13123 # Determine the default libpath from the value encoded in an empty
13124 # executable.
13125 if test x$gcc_no_link = xyes; then
13126 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13129 /* end confdefs.h. */
13132 main ()
13136 return 0;
13138 _ACEOF
13139 if ac_fn_cxx_try_link "$LINENO"; then :
13141 lt_aix_libpath_sed='
13142 /Import File Strings/,/^$/ {
13143 /^0/ {
13144 s/^0 *\(.*\)$/\1/
13148 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13149 # Check for a 64-bit object if we didn't find anything.
13150 if test -z "$aix_libpath"; then
13151 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13154 rm -f core conftest.err conftest.$ac_objext \
13155 conftest$ac_exeext conftest.$ac_ext
13156 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13158 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13160 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"
13161 else
13162 if test "$host_cpu" = ia64; then
13163 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13164 allow_undefined_flag_CXX="-z nodefs"
13165 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"
13166 else
13167 # Determine the default libpath from the value encoded in an
13168 # empty executable.
13169 if test x$gcc_no_link = xyes; then
13170 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13173 /* end confdefs.h. */
13176 main ()
13180 return 0;
13182 _ACEOF
13183 if ac_fn_cxx_try_link "$LINENO"; then :
13185 lt_aix_libpath_sed='
13186 /Import File Strings/,/^$/ {
13187 /^0/ {
13188 s/^0 *\(.*\)$/\1/
13192 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13193 # Check for a 64-bit object if we didn't find anything.
13194 if test -z "$aix_libpath"; then
13195 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13198 rm -f core conftest.err conftest.$ac_objext \
13199 conftest$ac_exeext conftest.$ac_ext
13200 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13202 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13203 # Warning - without using the other run time loading flags,
13204 # -berok will link without error, but may produce a broken library.
13205 no_undefined_flag_CXX=' ${wl}-bernotok'
13206 allow_undefined_flag_CXX=' ${wl}-berok'
13207 if test "$with_gnu_ld" = yes; then
13208 # We only use this code for GNU lds that support --whole-archive.
13209 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13210 else
13211 # Exported symbols can be pulled into shared objects from archives
13212 whole_archive_flag_spec_CXX='$convenience'
13214 archive_cmds_need_lc_CXX=yes
13215 # This is similar to how AIX traditionally builds its shared
13216 # libraries.
13217 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'
13222 beos*)
13223 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13224 allow_undefined_flag_CXX=unsupported
13225 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13226 # support --undefined. This deserves some investigation. FIXME
13227 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13228 else
13229 ld_shlibs_CXX=no
13233 chorus*)
13234 case $cc_basename in
13236 # FIXME: insert proper C++ library support
13237 ld_shlibs_CXX=no
13239 esac
13242 cygwin* | mingw* | pw32* | cegcc*)
13243 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13244 # as there is no search path for DLLs.
13245 hardcode_libdir_flag_spec_CXX='-L$libdir'
13246 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13247 allow_undefined_flag_CXX=unsupported
13248 always_export_symbols_CXX=no
13249 enable_shared_with_static_runtimes_CXX=yes
13251 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13252 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'
13253 # If the export-symbols file already is a .def file (1st line
13254 # is EXPORTS), use it as is; otherwise, prepend...
13255 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13256 cp $export_symbols $output_objdir/$soname.def;
13257 else
13258 echo EXPORTS > $output_objdir/$soname.def;
13259 cat $export_symbols >> $output_objdir/$soname.def;
13261 $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'
13262 else
13263 ld_shlibs_CXX=no
13266 darwin* | rhapsody*)
13270 # Publish an arg to allow the user to select that Darwin host (and target)
13271 # libraries should be given install-names like @rpath/libfoo.dylib. This
13272 # requires that the user of the library then adds an 'rpath' to the DSO that
13273 # needs access.
13274 # NOTE: there are defaults below, for systems that support rpaths. The person
13275 # configuring can override the defaults for any system version that supports
13276 # them - they are, however, forced off for system versions without support.
13277 # Check whether --enable-darwin-at-rpath was given.
13278 if test "${enable_darwin_at_rpath+set}" = set; then :
13279 enableval=$enable_darwin_at_rpath; if test "x$enable_darwin_at_rpath" = "xyes"; then
13280 # This is not supported before macOS 10.5 / Darwin9.
13281 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
13282 UNSET,darwin[4-8]*|UNSET,rhapsody*|10.[0-4][,.]*)
13283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&5
13284 $as_echo "$as_me: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&2;}
13285 enable_darwin_at_rpath=no
13287 esac
13289 else
13290 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
13291 # As above, before 10.5 / Darwin9 this does not work.
13292 UNSET,darwin[4-8]*|UNSET,rhapsody*|10.[0-4][,.]*)
13293 enable_darwin_at_rpath=no
13296 # We cannot build and test reliably on macOS 10.11+ (Darwin15+) without use
13297 # of rpaths, since runpaths set via DYLD_LIBRARY_PATH are elided by key
13298 # system executables (e.g. /bin/sh). Force rpaths on for these systems.
13299 UNSET,darwin1[5-9]*|UNSET,darwin2*|10.1[1-9][,.]*|1[1-9].*[,.]* )
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&5
13301 $as_echo "$as_me: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&6;}
13302 enable_darwin_at_rpath=yes
13304 # NOTE: we are not (yet) doing anything for 10.5 .. 10.10, since they can
13305 # work with either DYLD_LIBRARY_PATH or embedded rpaths.
13307 esac
13312 archive_cmds_need_lc_CXX=no
13313 hardcode_direct_CXX=no
13314 hardcode_automatic_CXX=yes
13315 hardcode_shlibpath_var_CXX=unsupported
13316 if test "$lt_cv_ld_force_load" = "yes"; then
13317 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\"`'
13318 else
13319 whole_archive_flag_spec_CXX=''
13321 link_all_deplibs_CXX=yes
13322 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13323 case $cc_basename in
13324 ifort*) _lt_dar_can_shared=yes ;;
13325 *) _lt_dar_can_shared=$GCC ;;
13326 esac
13327 if test "$_lt_dar_can_shared" = "yes"; then
13328 output_verbose_link_cmd=func_echo_all
13329 _lt_install_name='\$rpath/\$soname'
13330 if test "x$enable_darwin_at_rpath" = "xyes"; then
13331 _lt_install_name='@rpath/\$soname'
13333 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dsymutil}"
13334 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13335 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 ${_lt_install_name} \$verstring ${_lt_dar_export_syms}${_lt_dsymutil}"
13336 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}"
13337 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13338 _lt_install_name='\$rpath/\$soname'
13339 if test "x$enable_darwin_at_rpath" = "xyes"; then
13340 _lt_install_name='@rpath/\$soname'
13342 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 ${_lt_install_name} \$verstring${_lt_dsymutil}"
13343 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}"
13346 else
13347 ld_shlibs_CXX=no
13352 dgux*)
13353 case $cc_basename in
13354 ec++*)
13355 # FIXME: insert proper C++ library support
13356 ld_shlibs_CXX=no
13358 ghcx*)
13359 # Green Hills C++ Compiler
13360 # FIXME: insert proper C++ library support
13361 ld_shlibs_CXX=no
13364 # FIXME: insert proper C++ library support
13365 ld_shlibs_CXX=no
13367 esac
13370 freebsd2.*)
13371 # C++ shared libraries reported to be fairly broken before
13372 # switch to ELF
13373 ld_shlibs_CXX=no
13376 freebsd-elf*)
13377 archive_cmds_need_lc_CXX=no
13380 freebsd* | dragonfly*)
13381 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13382 # conventions
13383 ld_shlibs_CXX=yes
13386 gnu*)
13389 haiku*)
13390 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13391 link_all_deplibs_CXX=yes
13394 hpux9*)
13395 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13396 hardcode_libdir_separator_CXX=:
13397 export_dynamic_flag_spec_CXX='${wl}-E'
13398 hardcode_direct_CXX=yes
13399 hardcode_minus_L_CXX=yes # Not in the search PATH,
13400 # but as the default
13401 # location of the library.
13403 case $cc_basename in
13404 CC*)
13405 # FIXME: insert proper C++ library support
13406 ld_shlibs_CXX=no
13408 aCC*)
13409 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'
13410 # Commands to make compiler produce verbose output that lists
13411 # what "hidden" libraries, object files and flags are used when
13412 # linking a shared library.
13414 # There doesn't appear to be a way to prevent this compiler from
13415 # explicitly linking system object files so we need to strip them
13416 # from the output so that they don't get included in the library
13417 # dependencies.
13418 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"'
13421 if test "$GXX" = yes; then
13422 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'
13423 else
13424 # FIXME: insert proper C++ library support
13425 ld_shlibs_CXX=no
13428 esac
13431 hpux10*|hpux11*)
13432 if test $with_gnu_ld = no; then
13433 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13434 hardcode_libdir_separator_CXX=:
13436 case $host_cpu in
13437 hppa*64*|ia64*)
13440 export_dynamic_flag_spec_CXX='${wl}-E'
13442 esac
13444 case $host_cpu in
13445 hppa*64*|ia64*)
13446 hardcode_direct_CXX=no
13447 hardcode_shlibpath_var_CXX=no
13450 hardcode_direct_CXX=yes
13451 hardcode_direct_absolute_CXX=yes
13452 hardcode_minus_L_CXX=yes # Not in the search PATH,
13453 # but as the default
13454 # location of the library.
13456 esac
13458 case $cc_basename in
13459 CC*)
13460 # FIXME: insert proper C++ library support
13461 ld_shlibs_CXX=no
13463 aCC*)
13464 case $host_cpu in
13465 hppa*64*)
13466 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13468 ia64*)
13469 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13472 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13474 esac
13475 # Commands to make compiler produce verbose output that lists
13476 # what "hidden" libraries, object files and flags are used when
13477 # linking a shared library.
13479 # There doesn't appear to be a way to prevent this compiler from
13480 # explicitly linking system object files so we need to strip them
13481 # from the output so that they don't get included in the library
13482 # dependencies.
13483 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"'
13486 if test "$GXX" = yes; then
13487 if test $with_gnu_ld = no; then
13488 case $host_cpu in
13489 hppa*64*)
13490 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13492 ia64*)
13493 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13496 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'
13498 esac
13500 else
13501 # FIXME: insert proper C++ library support
13502 ld_shlibs_CXX=no
13505 esac
13508 interix[3-9]*)
13509 hardcode_direct_CXX=no
13510 hardcode_shlibpath_var_CXX=no
13511 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13512 export_dynamic_flag_spec_CXX='${wl}-E'
13513 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13514 # Instead, shared libraries are loaded at an image base (0x10000000 by
13515 # default) and relocated if they conflict, which is a slow very memory
13516 # consuming and fragmenting process. To avoid this, we pick a random,
13517 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13518 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13519 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'
13520 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'
13522 irix5* | irix6*)
13523 case $cc_basename in
13524 CC*)
13525 # SGI C++
13526 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'
13528 # Archives containing C++ object files must be created using
13529 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13530 # necessary to make sure instantiated templates are included
13531 # in the archive.
13532 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13535 if test "$GXX" = yes; then
13536 if test "$with_gnu_ld" = no; then
13537 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'
13538 else
13539 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'
13542 link_all_deplibs_CXX=yes
13544 esac
13545 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13546 hardcode_libdir_separator_CXX=:
13547 inherit_rpath_CXX=yes
13550 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13551 case $cc_basename in
13552 KCC*)
13553 # Kuck and Associates, Inc. (KAI) C++ Compiler
13555 # KCC will only create a shared library if the output file
13556 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13557 # to its proper name (with version) after linking.
13558 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'
13559 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'
13560 # Commands to make compiler produce verbose output that lists
13561 # what "hidden" libraries, object files and flags are used when
13562 # linking a shared library.
13564 # There doesn't appear to be a way to prevent this compiler from
13565 # explicitly linking system object files so we need to strip them
13566 # from the output so that they don't get included in the library
13567 # dependencies.
13568 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"'
13570 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13571 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13573 # Archives containing C++ object files must be created using
13574 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13575 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13577 icpc* | ecpc* )
13578 # Intel C++
13579 with_gnu_ld=yes
13580 # version 8.0 and above of icpc choke on multiply defined symbols
13581 # if we add $predep_objects and $postdep_objects, however 7.1 and
13582 # earlier do not add the objects themselves.
13583 case `$CC -V 2>&1` in
13584 *"Version 7."*)
13585 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13586 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'
13588 *) # Version 8.0 or newer
13589 tmp_idyn=
13590 case $host_cpu in
13591 ia64*) tmp_idyn=' -i_dynamic';;
13592 esac
13593 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13594 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'
13596 esac
13597 archive_cmds_need_lc_CXX=no
13598 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13599 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13600 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13602 pgCC* | pgcpp*)
13603 # Portland Group C++ compiler
13604 case `$CC -V` in
13605 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13606 prelink_cmds_CXX='tpldir=Template.dir~
13607 rm -rf $tpldir~
13608 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13609 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13610 old_archive_cmds_CXX='tpldir=Template.dir~
13611 rm -rf $tpldir~
13612 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13613 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13614 $RANLIB $oldlib'
13615 archive_cmds_CXX='tpldir=Template.dir~
13616 rm -rf $tpldir~
13617 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13618 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13619 archive_expsym_cmds_CXX='tpldir=Template.dir~
13620 rm -rf $tpldir~
13621 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13622 $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'
13624 *) # Version 6 and above use weak symbols
13625 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13626 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'
13628 esac
13630 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13631 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13632 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'
13634 cxx*)
13635 # Compaq C++
13636 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13637 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'
13639 runpath_var=LD_RUN_PATH
13640 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13641 hardcode_libdir_separator_CXX=:
13643 # Commands to make compiler produce verbose output that lists
13644 # what "hidden" libraries, object files and flags are used when
13645 # linking a shared library.
13647 # There doesn't appear to be a way to prevent this compiler from
13648 # explicitly linking system object files so we need to strip them
13649 # from the output so that they don't get included in the library
13650 # dependencies.
13651 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'
13653 xl* | mpixl* | bgxl*)
13654 # IBM XL 8.0 on PPC, with GNU ld
13655 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13656 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13657 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13658 if test "x$supports_anon_versioning" = xyes; then
13659 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13660 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13661 echo "local: *; };" >> $output_objdir/$libname.ver~
13662 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13666 case `$CC -V 2>&1 | sed 5q` in
13667 *Sun\ C*)
13668 # Sun C++ 5.9
13669 no_undefined_flag_CXX=' -zdefs'
13670 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13671 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'
13672 hardcode_libdir_flag_spec_CXX='-R$libdir'
13673 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'
13674 compiler_needs_object_CXX=yes
13676 # Not sure whether something based on
13677 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13678 # would be better.
13679 output_verbose_link_cmd='func_echo_all'
13681 # Archives containing C++ object files must be created using
13682 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13683 # necessary to make sure instantiated templates are included
13684 # in the archive.
13685 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13687 esac
13689 esac
13692 lynxos*)
13693 # FIXME: insert proper C++ library support
13694 ld_shlibs_CXX=no
13697 m88k*)
13698 # FIXME: insert proper C++ library support
13699 ld_shlibs_CXX=no
13702 mvs*)
13703 case $cc_basename in
13704 cxx*)
13705 # FIXME: insert proper C++ library support
13706 ld_shlibs_CXX=no
13709 # FIXME: insert proper C++ library support
13710 ld_shlibs_CXX=no
13712 esac
13715 netbsd*)
13716 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13717 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13718 wlarc=
13719 hardcode_libdir_flag_spec_CXX='-R$libdir'
13720 hardcode_direct_CXX=yes
13721 hardcode_shlibpath_var_CXX=no
13723 # Workaround some broken pre-1.5 toolchains
13724 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13727 *nto* | *qnx*)
13728 ld_shlibs_CXX=yes
13731 openbsd2*)
13732 # C++ shared libraries are fairly broken
13733 ld_shlibs_CXX=no
13736 openbsd*)
13737 if test -f /usr/libexec/ld.so; then
13738 hardcode_direct_CXX=yes
13739 hardcode_shlibpath_var_CXX=no
13740 hardcode_direct_absolute_CXX=yes
13741 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13742 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13743 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13744 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13745 export_dynamic_flag_spec_CXX='${wl}-E'
13746 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13748 output_verbose_link_cmd=func_echo_all
13749 else
13750 ld_shlibs_CXX=no
13754 osf3* | osf4* | osf5*)
13755 case $cc_basename in
13756 KCC*)
13757 # Kuck and Associates, Inc. (KAI) C++ Compiler
13759 # KCC will only create a shared library if the output file
13760 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13761 # to its proper name (with version) after linking.
13762 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'
13764 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13765 hardcode_libdir_separator_CXX=:
13767 # Archives containing C++ object files must be created using
13768 # the KAI C++ compiler.
13769 case $host in
13770 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13771 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13772 esac
13774 RCC*)
13775 # Rational C++ 2.4.1
13776 # FIXME: insert proper C++ library support
13777 ld_shlibs_CXX=no
13779 cxx*)
13780 case $host in
13781 osf3*)
13782 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13783 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'
13784 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13787 allow_undefined_flag_CXX=' -expect_unresolved \*'
13788 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'
13789 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13790 echo "-hidden">> $lib.exp~
13791 $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~
13792 $RM $lib.exp'
13793 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13795 esac
13797 hardcode_libdir_separator_CXX=:
13799 # Commands to make compiler produce verbose output that lists
13800 # what "hidden" libraries, object files and flags are used when
13801 # linking a shared library.
13803 # There doesn't appear to be a way to prevent this compiler from
13804 # explicitly linking system object files so we need to strip them
13805 # from the output so that they don't get included in the library
13806 # dependencies.
13807 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"'
13810 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13811 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13812 case $host in
13813 osf3*)
13814 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'
13817 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'
13819 esac
13821 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13822 hardcode_libdir_separator_CXX=:
13824 # Commands to make compiler produce verbose output that lists
13825 # what "hidden" libraries, object files and flags are used when
13826 # linking a shared library.
13827 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13829 else
13830 # FIXME: insert proper C++ library support
13831 ld_shlibs_CXX=no
13834 esac
13837 psos*)
13838 # FIXME: insert proper C++ library support
13839 ld_shlibs_CXX=no
13842 sunos4*)
13843 case $cc_basename in
13844 CC*)
13845 # Sun C++ 4.x
13846 # FIXME: insert proper C++ library support
13847 ld_shlibs_CXX=no
13849 lcc*)
13850 # Lucid
13851 # FIXME: insert proper C++ library support
13852 ld_shlibs_CXX=no
13855 # FIXME: insert proper C++ library support
13856 ld_shlibs_CXX=no
13858 esac
13861 solaris*)
13862 case $cc_basename in
13863 CC*)
13864 # Sun C++ 4.2, 5.x and Centerline C++
13865 archive_cmds_need_lc_CXX=yes
13866 no_undefined_flag_CXX=' -zdefs'
13867 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13868 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13869 $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'
13871 hardcode_libdir_flag_spec_CXX='-R$libdir'
13872 hardcode_shlibpath_var_CXX=no
13873 case $host_os in
13874 solaris2.[0-5] | solaris2.[0-5].*) ;;
13876 # The compiler driver will combine and reorder linker options,
13877 # but understands `-z linker_flag'.
13878 # Supported since Solaris 2.6 (maybe 2.5.1?)
13879 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13881 esac
13882 link_all_deplibs_CXX=yes
13884 output_verbose_link_cmd='func_echo_all'
13886 # Archives containing C++ object files must be created using
13887 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13888 # necessary to make sure instantiated templates are included
13889 # in the archive.
13890 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13892 gcx*)
13893 # Green Hills C++ Compiler
13894 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13896 # The C++ compiler must be used to create the archive.
13897 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13900 # GNU C++ compiler with Solaris linker
13901 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13902 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13903 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13904 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13905 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13906 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13908 # Commands to make compiler produce verbose output that lists
13909 # what "hidden" libraries, object files and flags are used when
13910 # linking a shared library.
13911 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13912 else
13913 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13914 # platform.
13915 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13916 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13917 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13919 # Commands to make compiler produce verbose output that lists
13920 # what "hidden" libraries, object files and flags are used when
13921 # linking a shared library.
13922 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13925 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13926 case $host_os in
13927 solaris2.[0-5] | solaris2.[0-5].*) ;;
13929 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13931 esac
13934 esac
13937 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13938 no_undefined_flag_CXX='${wl}-z,text'
13939 archive_cmds_need_lc_CXX=no
13940 hardcode_shlibpath_var_CXX=no
13941 runpath_var='LD_RUN_PATH'
13943 case $cc_basename in
13944 CC*)
13945 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13946 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13949 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13950 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13952 esac
13955 sysv5* | sco3.2v5* | sco5v6*)
13956 # Note: We can NOT use -z defs as we might desire, because we do not
13957 # link with -lc, and that would cause any symbols used from libc to
13958 # always be unresolved, which means just about no library would
13959 # ever link correctly. If we're not using GNU ld we use -z text
13960 # though, which does catch some bad symbols but isn't as heavy-handed
13961 # as -z defs.
13962 no_undefined_flag_CXX='${wl}-z,text'
13963 allow_undefined_flag_CXX='${wl}-z,nodefs'
13964 archive_cmds_need_lc_CXX=no
13965 hardcode_shlibpath_var_CXX=no
13966 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13967 hardcode_libdir_separator_CXX=':'
13968 link_all_deplibs_CXX=yes
13969 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13970 runpath_var='LD_RUN_PATH'
13972 case $cc_basename in
13973 CC*)
13974 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13975 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13976 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13977 '"$old_archive_cmds_CXX"
13978 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13979 '"$reload_cmds_CXX"
13982 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13983 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13985 esac
13988 tandem*)
13989 case $cc_basename in
13990 NCC*)
13991 # NonStop-UX NCC 3.20
13992 # FIXME: insert proper C++ library support
13993 ld_shlibs_CXX=no
13996 # FIXME: insert proper C++ library support
13997 ld_shlibs_CXX=no
13999 esac
14002 vxworks*)
14003 # For VxWorks ports, we assume the use of a GNU linker with
14004 # standard elf conventions.
14005 ld_shlibs_CXX=yes
14009 # FIXME: insert proper C++ library support
14010 ld_shlibs_CXX=no
14012 esac
14014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14015 $as_echo "$ld_shlibs_CXX" >&6; }
14016 test "$ld_shlibs_CXX" = no && can_build_shared=no
14018 GCC_CXX="$GXX"
14019 LD_CXX="$LD"
14021 ## CAVEAT EMPTOR:
14022 ## There is no encapsulation within the following macros, do not change
14023 ## the running order or otherwise move them around unless you know exactly
14024 ## what you are doing...
14025 # Dependencies to place before and after the object being linked:
14026 predep_objects_CXX=
14027 postdep_objects_CXX=
14028 predeps_CXX=
14029 postdeps_CXX=
14030 compiler_lib_search_path_CXX=
14032 cat > conftest.$ac_ext <<_LT_EOF
14033 class Foo
14035 public:
14036 Foo (void) { a = 0; }
14037 private:
14038 int a;
14040 _LT_EOF
14042 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14043 (eval $ac_compile) 2>&5
14044 ac_status=$?
14045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14046 test $ac_status = 0; }; then
14047 # Parse the compiler output and extract the necessary
14048 # objects, libraries and library flags.
14050 # Sentinel used to keep track of whether or not we are before
14051 # the conftest object file.
14052 pre_test_object_deps_done=no
14054 for p in `eval "$output_verbose_link_cmd"`; do
14055 case $p in
14057 -L* | -R* | -l*)
14058 # Some compilers place space between "-{L,R}" and the path.
14059 # Remove the space.
14060 if test $p = "-L" ||
14061 test $p = "-R"; then
14062 prev=$p
14063 continue
14064 else
14065 prev=
14068 if test "$pre_test_object_deps_done" = no; then
14069 case $p in
14070 -L* | -R*)
14071 # Internal compiler library paths should come after those
14072 # provided the user. The postdeps already come after the
14073 # user supplied libs so there is no need to process them.
14074 if test -z "$compiler_lib_search_path_CXX"; then
14075 compiler_lib_search_path_CXX="${prev}${p}"
14076 else
14077 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14080 # The "-l" case would never come before the object being
14081 # linked, so don't bother handling this case.
14082 esac
14083 else
14084 if test -z "$postdeps_CXX"; then
14085 postdeps_CXX="${prev}${p}"
14086 else
14087 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14092 *.$objext)
14093 # This assumes that the test object file only shows up
14094 # once in the compiler output.
14095 if test "$p" = "conftest.$objext"; then
14096 pre_test_object_deps_done=yes
14097 continue
14100 if test "$pre_test_object_deps_done" = no; then
14101 if test -z "$predep_objects_CXX"; then
14102 predep_objects_CXX="$p"
14103 else
14104 predep_objects_CXX="$predep_objects_CXX $p"
14106 else
14107 if test -z "$postdep_objects_CXX"; then
14108 postdep_objects_CXX="$p"
14109 else
14110 postdep_objects_CXX="$postdep_objects_CXX $p"
14115 *) ;; # Ignore the rest.
14117 esac
14118 done
14120 # Clean up.
14121 rm -f a.out a.exe
14122 else
14123 echo "libtool.m4: error: problem compiling CXX test program"
14126 $RM -f confest.$objext
14128 # PORTME: override above test on systems where it is broken
14129 case $host_os in
14130 interix[3-9]*)
14131 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14132 # hack all around it, let's just trust "g++" to DTRT.
14133 predep_objects_CXX=
14134 postdep_objects_CXX=
14135 postdeps_CXX=
14138 linux*)
14139 case `$CC -V 2>&1 | sed 5q` in
14140 *Sun\ C*)
14141 # Sun C++ 5.9
14143 # The more standards-conforming stlport4 library is
14144 # incompatible with the Cstd library. Avoid specifying
14145 # it if it's in CXXFLAGS. Ignore libCrun as
14146 # -library=stlport4 depends on it.
14147 case " $CXX $CXXFLAGS " in
14148 *" -library=stlport4 "*)
14149 solaris_use_stlport4=yes
14151 esac
14153 if test "$solaris_use_stlport4" != yes; then
14154 postdeps_CXX='-library=Cstd -library=Crun'
14157 esac
14160 solaris*)
14161 case $cc_basename in
14162 CC*)
14163 # The more standards-conforming stlport4 library is
14164 # incompatible with the Cstd library. Avoid specifying
14165 # it if it's in CXXFLAGS. Ignore libCrun as
14166 # -library=stlport4 depends on it.
14167 case " $CXX $CXXFLAGS " in
14168 *" -library=stlport4 "*)
14169 solaris_use_stlport4=yes
14171 esac
14173 # Adding this requires a known-good setup of shared libraries for
14174 # Sun compiler versions before 5.6, else PIC objects from an old
14175 # archive will be linked into the output, leading to subtle bugs.
14176 if test "$solaris_use_stlport4" != yes; then
14177 postdeps_CXX='-library=Cstd -library=Crun'
14180 esac
14182 esac
14185 case " $postdeps_CXX " in
14186 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14187 esac
14188 compiler_lib_search_dirs_CXX=
14189 if test -n "${compiler_lib_search_path_CXX}"; then
14190 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14223 lt_prog_compiler_wl_CXX=
14224 lt_prog_compiler_pic_CXX=
14225 lt_prog_compiler_static_CXX=
14227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14228 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14230 # C++ specific cases for pic, static, wl, etc.
14231 if test "$GXX" = yes; then
14232 lt_prog_compiler_wl_CXX='-Wl,'
14233 lt_prog_compiler_static_CXX='-static'
14235 case $host_os in
14236 aix*)
14237 # All AIX code is PIC.
14238 if test "$host_cpu" = ia64; then
14239 # AIX 5 now supports IA64 processor
14240 lt_prog_compiler_static_CXX='-Bstatic'
14242 lt_prog_compiler_pic_CXX='-fPIC'
14245 amigaos*)
14246 case $host_cpu in
14247 powerpc)
14248 # see comment about AmigaOS4 .so support
14249 lt_prog_compiler_pic_CXX='-fPIC'
14251 m68k)
14252 # FIXME: we need at least 68020 code to build shared libraries, but
14253 # adding the `-m68020' flag to GCC prevents building anything better,
14254 # like `-m68040'.
14255 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14257 esac
14260 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14261 # PIC is the default for these OSes.
14263 mingw* | cygwin* | os2* | pw32* | cegcc*)
14264 # This hack is so that the source file can tell whether it is being
14265 # built for inclusion in a dll (and should export symbols for example).
14266 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14267 # (--disable-auto-import) libraries
14268 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14270 darwin* | rhapsody*)
14271 # PIC is the default on this platform
14272 # Common symbols not allowed in MH_DYLIB files
14273 lt_prog_compiler_pic_CXX='-fno-common'
14275 *djgpp*)
14276 # DJGPP does not support shared libraries at all
14277 lt_prog_compiler_pic_CXX=
14279 haiku*)
14280 # PIC is the default for Haiku.
14281 # The "-static" flag exists, but is broken.
14282 lt_prog_compiler_static_CXX=
14284 interix[3-9]*)
14285 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14286 # Instead, we relocate shared libraries at runtime.
14288 sysv4*MP*)
14289 if test -d /usr/nec; then
14290 lt_prog_compiler_pic_CXX=-Kconform_pic
14293 hpux*)
14294 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14295 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14296 # sets the default TLS model and affects inlining.
14297 case $host_cpu in
14298 hppa*64*)
14301 lt_prog_compiler_pic_CXX='-fPIC'
14303 esac
14305 *qnx* | *nto*)
14306 # QNX uses GNU C++, but need to define -shared option too, otherwise
14307 # it will coredump.
14308 lt_prog_compiler_pic_CXX='-fPIC -shared'
14311 lt_prog_compiler_pic_CXX='-fPIC'
14313 esac
14314 else
14315 case $host_os in
14316 aix[4-9]*)
14317 # All AIX code is PIC.
14318 if test "$host_cpu" = ia64; then
14319 # AIX 5 now supports IA64 processor
14320 lt_prog_compiler_static_CXX='-Bstatic'
14321 else
14322 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14325 chorus*)
14326 case $cc_basename in
14327 cxch68*)
14328 # Green Hills C++ Compiler
14329 # _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"
14331 esac
14333 dgux*)
14334 case $cc_basename in
14335 ec++*)
14336 lt_prog_compiler_pic_CXX='-KPIC'
14338 ghcx*)
14339 # Green Hills C++ Compiler
14340 lt_prog_compiler_pic_CXX='-pic'
14344 esac
14346 freebsd* | dragonfly*)
14347 # FreeBSD uses GNU C++
14349 hpux9* | hpux10* | hpux11*)
14350 case $cc_basename in
14351 CC*)
14352 lt_prog_compiler_wl_CXX='-Wl,'
14353 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14354 if test "$host_cpu" != ia64; then
14355 lt_prog_compiler_pic_CXX='+Z'
14358 aCC*)
14359 lt_prog_compiler_wl_CXX='-Wl,'
14360 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14361 case $host_cpu in
14362 hppa*64*|ia64*)
14363 # +Z the default
14366 lt_prog_compiler_pic_CXX='+Z'
14368 esac
14372 esac
14374 interix*)
14375 # This is c89, which is MS Visual C++ (no shared libs)
14376 # Anyone wants to do a port?
14378 irix5* | irix6* | nonstopux*)
14379 case $cc_basename in
14380 CC*)
14381 lt_prog_compiler_wl_CXX='-Wl,'
14382 lt_prog_compiler_static_CXX='-non_shared'
14383 # CC pic flag -KPIC is the default.
14387 esac
14389 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14390 case $cc_basename in
14391 KCC*)
14392 # KAI C++ Compiler
14393 lt_prog_compiler_wl_CXX='--backend -Wl,'
14394 lt_prog_compiler_pic_CXX='-fPIC'
14396 ecpc* )
14397 # old Intel C++ for x86_64 which still supported -KPIC.
14398 lt_prog_compiler_wl_CXX='-Wl,'
14399 lt_prog_compiler_pic_CXX='-KPIC'
14400 lt_prog_compiler_static_CXX='-static'
14402 icpc* )
14403 # Intel C++, used to be incompatible with GCC.
14404 # ICC 10 doesn't accept -KPIC any more.
14405 lt_prog_compiler_wl_CXX='-Wl,'
14406 lt_prog_compiler_pic_CXX='-fPIC'
14407 lt_prog_compiler_static_CXX='-static'
14409 pgCC* | pgcpp*)
14410 # Portland Group C++ compiler
14411 lt_prog_compiler_wl_CXX='-Wl,'
14412 lt_prog_compiler_pic_CXX='-fpic'
14413 lt_prog_compiler_static_CXX='-Bstatic'
14415 cxx*)
14416 # Compaq C++
14417 # Make sure the PIC flag is empty. It appears that all Alpha
14418 # Linux and Compaq Tru64 Unix objects are PIC.
14419 lt_prog_compiler_pic_CXX=
14420 lt_prog_compiler_static_CXX='-non_shared'
14422 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14423 # IBM XL 8.0, 9.0 on PPC and BlueGene
14424 lt_prog_compiler_wl_CXX='-Wl,'
14425 lt_prog_compiler_pic_CXX='-qpic'
14426 lt_prog_compiler_static_CXX='-qstaticlink'
14429 case `$CC -V 2>&1 | sed 5q` in
14430 *Sun\ C*)
14431 # Sun C++ 5.9
14432 lt_prog_compiler_pic_CXX='-KPIC'
14433 lt_prog_compiler_static_CXX='-Bstatic'
14434 lt_prog_compiler_wl_CXX='-Qoption ld '
14436 esac
14438 esac
14440 lynxos*)
14442 m88k*)
14444 mvs*)
14445 case $cc_basename in
14446 cxx*)
14447 lt_prog_compiler_pic_CXX='-W c,exportall'
14451 esac
14453 netbsd*)
14455 *qnx* | *nto*)
14456 # QNX uses GNU C++, but need to define -shared option too, otherwise
14457 # it will coredump.
14458 lt_prog_compiler_pic_CXX='-fPIC -shared'
14460 osf3* | osf4* | osf5*)
14461 case $cc_basename in
14462 KCC*)
14463 lt_prog_compiler_wl_CXX='--backend -Wl,'
14465 RCC*)
14466 # Rational C++ 2.4.1
14467 lt_prog_compiler_pic_CXX='-pic'
14469 cxx*)
14470 # Digital/Compaq C++
14471 lt_prog_compiler_wl_CXX='-Wl,'
14472 # Make sure the PIC flag is empty. It appears that all Alpha
14473 # Linux and Compaq Tru64 Unix objects are PIC.
14474 lt_prog_compiler_pic_CXX=
14475 lt_prog_compiler_static_CXX='-non_shared'
14479 esac
14481 psos*)
14483 solaris*)
14484 case $cc_basename in
14485 CC*)
14486 # Sun C++ 4.2, 5.x and Centerline C++
14487 lt_prog_compiler_pic_CXX='-KPIC'
14488 lt_prog_compiler_static_CXX='-Bstatic'
14489 lt_prog_compiler_wl_CXX='-Qoption ld '
14491 gcx*)
14492 # Green Hills C++ Compiler
14493 lt_prog_compiler_pic_CXX='-PIC'
14497 esac
14499 sunos4*)
14500 case $cc_basename in
14501 CC*)
14502 # Sun C++ 4.x
14503 lt_prog_compiler_pic_CXX='-pic'
14504 lt_prog_compiler_static_CXX='-Bstatic'
14506 lcc*)
14507 # Lucid
14508 lt_prog_compiler_pic_CXX='-pic'
14512 esac
14514 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14515 case $cc_basename in
14516 CC*)
14517 lt_prog_compiler_wl_CXX='-Wl,'
14518 lt_prog_compiler_pic_CXX='-KPIC'
14519 lt_prog_compiler_static_CXX='-Bstatic'
14521 esac
14523 tandem*)
14524 case $cc_basename in
14525 NCC*)
14526 # NonStop-UX NCC 3.20
14527 lt_prog_compiler_pic_CXX='-KPIC'
14531 esac
14533 vxworks*)
14536 lt_prog_compiler_can_build_shared_CXX=no
14538 esac
14541 case $host_os in
14542 # For platforms which do not support PIC, -DPIC is meaningless:
14543 *djgpp*)
14544 lt_prog_compiler_pic_CXX=
14547 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14549 esac
14550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14551 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14556 # Check to make sure the PIC flag actually works.
14558 if test -n "$lt_prog_compiler_pic_CXX"; then
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14560 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14561 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14562 $as_echo_n "(cached) " >&6
14563 else
14564 lt_cv_prog_compiler_pic_works_CXX=no
14565 ac_outfile=conftest.$ac_objext
14566 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14567 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14568 # Insert the option either (1) after the last *FLAGS variable, or
14569 # (2) before a word containing "conftest.", or (3) at the end.
14570 # Note that $ac_compile itself does not contain backslashes and begins
14571 # with a dollar sign (not a hyphen), so the echo should work correctly.
14572 # The option is referenced via a variable to avoid confusing sed.
14573 lt_compile=`echo "$ac_compile" | $SED \
14574 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14575 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14576 -e 's:$: $lt_compiler_flag:'`
14577 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14578 (eval "$lt_compile" 2>conftest.err)
14579 ac_status=$?
14580 cat conftest.err >&5
14581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14582 if (exit $ac_status) && test -s "$ac_outfile"; then
14583 # The compiler can only warn and ignore the option if not recognized
14584 # So say no if there are warnings other than the usual output.
14585 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14586 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14587 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14588 lt_cv_prog_compiler_pic_works_CXX=yes
14591 $RM conftest*
14594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14595 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14597 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14598 case $lt_prog_compiler_pic_CXX in
14599 "" | " "*) ;;
14600 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14601 esac
14602 else
14603 lt_prog_compiler_pic_CXX=
14604 lt_prog_compiler_can_build_shared_CXX=no
14612 # Check to make sure the static flag actually works.
14614 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14616 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14617 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14618 $as_echo_n "(cached) " >&6
14619 else
14620 lt_cv_prog_compiler_static_works_CXX=no
14621 save_LDFLAGS="$LDFLAGS"
14622 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14623 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14624 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14625 # The linker can only warn and ignore the option if not recognized
14626 # So say no if there are warnings
14627 if test -s conftest.err; then
14628 # Append any errors to the config.log.
14629 cat conftest.err 1>&5
14630 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14631 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14632 if diff conftest.exp conftest.er2 >/dev/null; then
14633 lt_cv_prog_compiler_static_works_CXX=yes
14635 else
14636 lt_cv_prog_compiler_static_works_CXX=yes
14639 $RM -r conftest*
14640 LDFLAGS="$save_LDFLAGS"
14643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14644 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14646 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14648 else
14649 lt_prog_compiler_static_CXX=
14655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14656 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14657 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14658 $as_echo_n "(cached) " >&6
14659 else
14660 lt_cv_prog_compiler_c_o_CXX=no
14661 $RM -r conftest 2>/dev/null
14662 mkdir conftest
14663 cd conftest
14664 mkdir out
14665 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14667 lt_compiler_flag="-o out/conftest2.$ac_objext"
14668 # Insert the option either (1) after the last *FLAGS variable, or
14669 # (2) before a word containing "conftest.", or (3) at the end.
14670 # Note that $ac_compile itself does not contain backslashes and begins
14671 # with a dollar sign (not a hyphen), so the echo should work correctly.
14672 lt_compile=`echo "$ac_compile" | $SED \
14673 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14674 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14675 -e 's:$: $lt_compiler_flag:'`
14676 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14677 (eval "$lt_compile" 2>out/conftest.err)
14678 ac_status=$?
14679 cat out/conftest.err >&5
14680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14681 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14682 then
14683 # The compiler can only warn and ignore the option if not recognized
14684 # So say no if there are warnings
14685 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14686 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14687 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14688 lt_cv_prog_compiler_c_o_CXX=yes
14691 chmod u+w . 2>&5
14692 $RM conftest*
14693 # SGI C++ compiler will create directory out/ii_files/ for
14694 # template instantiation
14695 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14696 $RM out/* && rmdir out
14697 cd ..
14698 $RM -r conftest
14699 $RM conftest*
14702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14703 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14708 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14709 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14710 $as_echo_n "(cached) " >&6
14711 else
14712 lt_cv_prog_compiler_c_o_CXX=no
14713 $RM -r conftest 2>/dev/null
14714 mkdir conftest
14715 cd conftest
14716 mkdir out
14717 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14719 lt_compiler_flag="-o out/conftest2.$ac_objext"
14720 # Insert the option either (1) after the last *FLAGS variable, or
14721 # (2) before a word containing "conftest.", or (3) at the end.
14722 # Note that $ac_compile itself does not contain backslashes and begins
14723 # with a dollar sign (not a hyphen), so the echo should work correctly.
14724 lt_compile=`echo "$ac_compile" | $SED \
14725 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14726 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14727 -e 's:$: $lt_compiler_flag:'`
14728 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14729 (eval "$lt_compile" 2>out/conftest.err)
14730 ac_status=$?
14731 cat out/conftest.err >&5
14732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14733 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14734 then
14735 # The compiler can only warn and ignore the option if not recognized
14736 # So say no if there are warnings
14737 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14738 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14739 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14740 lt_cv_prog_compiler_c_o_CXX=yes
14743 chmod u+w . 2>&5
14744 $RM conftest*
14745 # SGI C++ compiler will create directory out/ii_files/ for
14746 # template instantiation
14747 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14748 $RM out/* && rmdir out
14749 cd ..
14750 $RM -r conftest
14751 $RM conftest*
14754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14755 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14760 hard_links="nottested"
14761 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14762 # do not overwrite the value of need_locks provided by the user
14763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14764 $as_echo_n "checking if we can lock with hard links... " >&6; }
14765 hard_links=yes
14766 $RM conftest*
14767 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14768 touch conftest.a
14769 ln conftest.a conftest.b 2>&5 || hard_links=no
14770 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14772 $as_echo "$hard_links" >&6; }
14773 if test "$hard_links" = no; then
14774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14775 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14776 need_locks=warn
14778 else
14779 need_locks=no
14784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14785 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14787 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14788 case $host_os in
14789 aix[4-9]*)
14790 # If we're using GNU nm, then we don't want the "-C" option.
14791 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14792 # Also, AIX nm treats weak defined symbols like other global defined
14793 # symbols, whereas GNU nm marks them as "W".
14794 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14795 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'
14796 else
14797 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'
14800 pw32*)
14801 export_symbols_cmds_CXX="$ltdll_cmds"
14803 cygwin* | mingw* | cegcc*)
14804 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'
14807 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14809 esac
14810 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14813 $as_echo "$ld_shlibs_CXX" >&6; }
14814 test "$ld_shlibs_CXX" = no && can_build_shared=no
14816 with_gnu_ld_CXX=$with_gnu_ld
14824 # Do we need to explicitly link libc?
14826 case "x$archive_cmds_need_lc_CXX" in
14827 x|xyes)
14828 # Assume -lc should be added
14829 archive_cmds_need_lc_CXX=yes
14831 if test "$enable_shared" = yes && test "$GCC" = yes; then
14832 case $archive_cmds_CXX in
14833 *'~'*)
14834 # FIXME: we may have to deal with multi-command sequences.
14836 '$CC '*)
14837 # Test whether the compiler implicitly links with -lc since on some
14838 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14839 # to ld, don't add -lc before -lgcc.
14840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14841 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14842 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14843 $as_echo_n "(cached) " >&6
14844 else
14845 $RM conftest*
14846 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14848 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14849 (eval $ac_compile) 2>&5
14850 ac_status=$?
14851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14852 test $ac_status = 0; } 2>conftest.err; then
14853 soname=conftest
14854 lib=conftest
14855 libobjs=conftest.$ac_objext
14856 deplibs=
14857 wl=$lt_prog_compiler_wl_CXX
14858 pic_flag=$lt_prog_compiler_pic_CXX
14859 compiler_flags=-v
14860 linker_flags=-v
14861 verstring=
14862 output_objdir=.
14863 libname=conftest
14864 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14865 allow_undefined_flag_CXX=
14866 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14867 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14868 ac_status=$?
14869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14870 test $ac_status = 0; }
14871 then
14872 lt_cv_archive_cmds_need_lc_CXX=no
14873 else
14874 lt_cv_archive_cmds_need_lc_CXX=yes
14876 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14877 else
14878 cat conftest.err 1>&5
14880 $RM conftest*
14883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14884 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14885 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14887 esac
14890 esac
14955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14956 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14958 library_names_spec=
14959 libname_spec='lib$name'
14960 soname_spec=
14961 shrext_cmds=".so"
14962 postinstall_cmds=
14963 postuninstall_cmds=
14964 finish_cmds=
14965 finish_eval=
14966 shlibpath_var=
14967 shlibpath_overrides_runpath=unknown
14968 version_type=none
14969 dynamic_linker="$host_os ld.so"
14970 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14971 need_lib_prefix=unknown
14972 hardcode_into_libs=no
14974 # when you set need_version to no, make sure it does not cause -set_version
14975 # flags to be left without arguments
14976 need_version=unknown
14978 case $host_os in
14979 aix3*)
14980 version_type=linux
14981 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14982 shlibpath_var=LIBPATH
14984 # AIX 3 has no versioning support, so we append a major version to the name.
14985 soname_spec='${libname}${release}${shared_ext}$major'
14988 aix[4-9]*)
14989 version_type=linux
14990 need_lib_prefix=no
14991 need_version=no
14992 hardcode_into_libs=yes
14993 if test "$host_cpu" = ia64; then
14994 # AIX 5 supports IA64
14995 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14996 shlibpath_var=LD_LIBRARY_PATH
14997 else
14998 # With GCC up to 2.95.x, collect2 would create an import file
14999 # for dependence libraries. The import file would start with
15000 # the line `#! .'. This would cause the generated library to
15001 # depend on `.', always an invalid library. This was fixed in
15002 # development snapshots of GCC prior to 3.0.
15003 case $host_os in
15004 aix4 | aix4.[01] | aix4.[01].*)
15005 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15006 echo ' yes '
15007 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15009 else
15010 can_build_shared=no
15013 esac
15014 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15015 # soname into executable. Probably we can add versioning support to
15016 # collect2, so additional links can be useful in future.
15017 if test "$aix_use_runtimelinking" = yes; then
15018 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15019 # instead of lib<name>.a to let people know that these are not
15020 # typical AIX shared libraries.
15021 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15022 else
15023 # We preserve .a as extension for shared libraries through AIX4.2
15024 # and later when we are not doing run time linking.
15025 library_names_spec='${libname}${release}.a $libname.a'
15026 soname_spec='${libname}${release}${shared_ext}$major'
15028 shlibpath_var=LIBPATH
15032 amigaos*)
15033 case $host_cpu in
15034 powerpc)
15035 # Since July 2007 AmigaOS4 officially supports .so libraries.
15036 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15037 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15039 m68k)
15040 library_names_spec='$libname.ixlibrary $libname.a'
15041 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15042 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'
15044 esac
15047 beos*)
15048 library_names_spec='${libname}${shared_ext}'
15049 dynamic_linker="$host_os ld.so"
15050 shlibpath_var=LIBRARY_PATH
15053 bsdi[45]*)
15054 version_type=linux
15055 need_version=no
15056 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15057 soname_spec='${libname}${release}${shared_ext}$major'
15058 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15059 shlibpath_var=LD_LIBRARY_PATH
15060 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15061 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15062 # the default ld.so.conf also contains /usr/contrib/lib and
15063 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15064 # libtool to hard-code these into programs
15067 cygwin* | mingw* | pw32* | cegcc*)
15068 version_type=windows
15069 shrext_cmds=".dll"
15070 need_version=no
15071 need_lib_prefix=no
15073 case $GCC,$host_os in
15074 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
15075 library_names_spec='$libname.dll.a'
15076 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15077 postinstall_cmds='base_file=`basename \${file}`~
15078 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15079 dldir=$destdir/`dirname \$dlpath`~
15080 test -d \$dldir || mkdir -p \$dldir~
15081 $install_prog $dir/$dlname \$dldir/$dlname~
15082 chmod a+x \$dldir/$dlname~
15083 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15084 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15086 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15087 dlpath=$dir/\$dldll~
15088 $RM \$dlpath'
15089 shlibpath_overrides_runpath=yes
15091 case $host_os in
15092 cygwin*)
15093 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15094 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15097 mingw* | cegcc*)
15098 # MinGW DLLs use traditional 'lib' prefix
15099 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15101 pw32*)
15102 # pw32 DLLs use 'pw' prefix rather than 'lib'
15103 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15105 esac
15109 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15111 esac
15112 dynamic_linker='Win32 ld.exe'
15113 # FIXME: first we should search . and the directory the executable is in
15114 shlibpath_var=PATH
15117 darwin* | rhapsody*)
15118 dynamic_linker="$host_os dyld"
15119 version_type=darwin
15120 need_lib_prefix=no
15121 need_version=no
15122 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15123 soname_spec='${libname}${release}${major}$shared_ext'
15124 shlibpath_overrides_runpath=yes
15125 shlibpath_var=DYLD_LIBRARY_PATH
15126 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15128 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15131 dgux*)
15132 version_type=linux
15133 need_lib_prefix=no
15134 need_version=no
15135 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15136 soname_spec='${libname}${release}${shared_ext}$major'
15137 shlibpath_var=LD_LIBRARY_PATH
15140 freebsd* | dragonfly*)
15141 # DragonFly does not have aout. When/if they implement a new
15142 # versioning mechanism, adjust this.
15143 if test -x /usr/bin/objformat; then
15144 objformat=`/usr/bin/objformat`
15145 else
15146 case $host_os in
15147 freebsd[23].*) objformat=aout ;;
15148 *) objformat=elf ;;
15149 esac
15151 version_type=freebsd-$objformat
15152 case $version_type in
15153 freebsd-elf*)
15154 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15155 need_version=no
15156 need_lib_prefix=no
15158 freebsd-*)
15159 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15160 need_version=yes
15162 esac
15163 shlibpath_var=LD_LIBRARY_PATH
15164 case $host_os in
15165 freebsd2.*)
15166 shlibpath_overrides_runpath=yes
15168 freebsd3.[01]* | freebsdelf3.[01]*)
15169 shlibpath_overrides_runpath=yes
15170 hardcode_into_libs=yes
15172 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15173 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15174 shlibpath_overrides_runpath=no
15175 hardcode_into_libs=yes
15177 *) # from 4.6 on, and DragonFly
15178 shlibpath_overrides_runpath=yes
15179 hardcode_into_libs=yes
15181 esac
15184 haiku*)
15185 version_type=linux
15186 need_lib_prefix=no
15187 need_version=no
15188 dynamic_linker="$host_os runtime_loader"
15189 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15190 soname_spec='${libname}${release}${shared_ext}$major'
15191 shlibpath_var=LIBRARY_PATH
15192 shlibpath_overrides_runpath=yes
15193 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15194 hardcode_into_libs=yes
15197 hpux9* | hpux10* | hpux11*)
15198 # Give a soname corresponding to the major version so that dld.sl refuses to
15199 # link against other versions.
15200 version_type=sunos
15201 need_lib_prefix=no
15202 need_version=no
15203 case $host_cpu in
15204 ia64*)
15205 shrext_cmds='.so'
15206 hardcode_into_libs=yes
15207 dynamic_linker="$host_os dld.so"
15208 shlibpath_var=LD_LIBRARY_PATH
15209 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15210 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15211 soname_spec='${libname}${release}${shared_ext}$major'
15212 if test "X$HPUX_IA64_MODE" = X32; then
15213 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15214 else
15215 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15217 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15219 hppa*64*)
15220 shrext_cmds='.sl'
15221 hardcode_into_libs=yes
15222 dynamic_linker="$host_os dld.sl"
15223 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15224 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15225 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15226 soname_spec='${libname}${release}${shared_ext}$major'
15227 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15228 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15231 shrext_cmds='.sl'
15232 dynamic_linker="$host_os dld.sl"
15233 shlibpath_var=SHLIB_PATH
15234 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15235 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15236 soname_spec='${libname}${release}${shared_ext}$major'
15238 esac
15239 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15240 postinstall_cmds='chmod 555 $lib'
15241 # or fails outright, so override atomically:
15242 install_override_mode=555
15245 interix[3-9]*)
15246 version_type=linux
15247 need_lib_prefix=no
15248 need_version=no
15249 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15250 soname_spec='${libname}${release}${shared_ext}$major'
15251 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15252 shlibpath_var=LD_LIBRARY_PATH
15253 shlibpath_overrides_runpath=no
15254 hardcode_into_libs=yes
15257 irix5* | irix6* | nonstopux*)
15258 case $host_os in
15259 nonstopux*) version_type=nonstopux ;;
15261 if test "$lt_cv_prog_gnu_ld" = yes; then
15262 version_type=linux
15263 else
15264 version_type=irix
15265 fi ;;
15266 esac
15267 need_lib_prefix=no
15268 need_version=no
15269 soname_spec='${libname}${release}${shared_ext}$major'
15270 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15271 case $host_os in
15272 irix5* | nonstopux*)
15273 libsuff= shlibsuff=
15276 case $LD in # libtool.m4 will add one of these switches to LD
15277 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15278 libsuff= shlibsuff= libmagic=32-bit;;
15279 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15280 libsuff=32 shlibsuff=N32 libmagic=N32;;
15281 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15282 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15283 *) libsuff= shlibsuff= libmagic=never-match;;
15284 esac
15286 esac
15287 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15288 shlibpath_overrides_runpath=no
15289 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15290 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15291 hardcode_into_libs=yes
15294 # No shared lib support for Linux oldld, aout, or coff.
15295 linux*oldld* | linux*aout* | linux*coff*)
15296 dynamic_linker=no
15299 # This must be Linux ELF.
15301 # uclinux* changes (here and below) have been submitted to the libtool
15302 # project, but have not yet been accepted: they are GCC-local changes
15303 # for the time being. (See
15304 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15305 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
15306 version_type=linux
15307 need_lib_prefix=no
15308 need_version=no
15309 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15310 soname_spec='${libname}${release}${shared_ext}$major'
15311 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15312 shlibpath_var=LD_LIBRARY_PATH
15313 shlibpath_overrides_runpath=no
15315 # Some binutils ld are patched to set DT_RUNPATH
15316 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15317 $as_echo_n "(cached) " >&6
15318 else
15319 lt_cv_shlibpath_overrides_runpath=no
15320 save_LDFLAGS=$LDFLAGS
15321 save_libdir=$libdir
15322 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15323 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15324 if test x$gcc_no_link = xyes; then
15325 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15328 /* end confdefs.h. */
15331 main ()
15335 return 0;
15337 _ACEOF
15338 if ac_fn_cxx_try_link "$LINENO"; then :
15339 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15340 lt_cv_shlibpath_overrides_runpath=yes
15343 rm -f core conftest.err conftest.$ac_objext \
15344 conftest$ac_exeext conftest.$ac_ext
15345 LDFLAGS=$save_LDFLAGS
15346 libdir=$save_libdir
15350 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15352 # This implies no fast_install, which is unacceptable.
15353 # Some rework will be needed to allow for fast_install
15354 # before this can be enabled.
15355 hardcode_into_libs=yes
15357 # Append ld.so.conf contents to the search path
15358 if test -f /etc/ld.so.conf; then
15359 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' ' '`
15360 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15363 # We used to test for /lib/ld.so.1 and disable shared libraries on
15364 # powerpc, because MkLinux only supported shared libraries with the
15365 # GNU dynamic linker. Since this was broken with cross compilers,
15366 # most powerpc-linux boxes support dynamic linking these days and
15367 # people can always --disable-shared, the test was removed, and we
15368 # assume the GNU/Linux dynamic linker is in use.
15369 dynamic_linker='GNU/Linux ld.so'
15372 netbsd*)
15373 version_type=sunos
15374 need_lib_prefix=no
15375 need_version=no
15376 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15377 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15378 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15379 dynamic_linker='NetBSD (a.out) ld.so'
15380 else
15381 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15382 soname_spec='${libname}${release}${shared_ext}$major'
15383 dynamic_linker='NetBSD ld.elf_so'
15385 shlibpath_var=LD_LIBRARY_PATH
15386 shlibpath_overrides_runpath=yes
15387 hardcode_into_libs=yes
15390 newsos6)
15391 version_type=linux
15392 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15393 shlibpath_var=LD_LIBRARY_PATH
15394 shlibpath_overrides_runpath=yes
15397 *nto* | *qnx*)
15398 version_type=qnx
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 soname_spec='${libname}${release}${shared_ext}$major'
15403 shlibpath_var=LD_LIBRARY_PATH
15404 shlibpath_overrides_runpath=no
15405 hardcode_into_libs=yes
15406 dynamic_linker='ldqnx.so'
15409 openbsd*)
15410 version_type=sunos
15411 sys_lib_dlsearch_path_spec="/usr/lib"
15412 need_lib_prefix=no
15413 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15414 case $host_os in
15415 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15416 *) need_version=no ;;
15417 esac
15418 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15419 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15420 shlibpath_var=LD_LIBRARY_PATH
15421 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15422 case $host_os in
15423 openbsd2.[89] | openbsd2.[89].*)
15424 shlibpath_overrides_runpath=no
15427 shlibpath_overrides_runpath=yes
15429 esac
15430 else
15431 shlibpath_overrides_runpath=yes
15435 os2*)
15436 libname_spec='$name'
15437 shrext_cmds=".dll"
15438 need_lib_prefix=no
15439 library_names_spec='$libname${shared_ext} $libname.a'
15440 dynamic_linker='OS/2 ld.exe'
15441 shlibpath_var=LIBPATH
15444 osf3* | osf4* | osf5*)
15445 version_type=osf
15446 need_lib_prefix=no
15447 need_version=no
15448 soname_spec='${libname}${release}${shared_ext}$major'
15449 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15450 shlibpath_var=LD_LIBRARY_PATH
15451 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15452 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15455 rdos*)
15456 dynamic_linker=no
15459 solaris*)
15460 version_type=linux
15461 need_lib_prefix=no
15462 need_version=no
15463 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15464 soname_spec='${libname}${release}${shared_ext}$major'
15465 shlibpath_var=LD_LIBRARY_PATH
15466 shlibpath_overrides_runpath=yes
15467 hardcode_into_libs=yes
15468 # ldd complains unless libraries are executable
15469 postinstall_cmds='chmod +x $lib'
15472 sunos4*)
15473 version_type=sunos
15474 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15475 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15476 shlibpath_var=LD_LIBRARY_PATH
15477 shlibpath_overrides_runpath=yes
15478 if test "$with_gnu_ld" = yes; then
15479 need_lib_prefix=no
15481 need_version=yes
15484 sysv4 | sysv4.3*)
15485 version_type=linux
15486 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15487 soname_spec='${libname}${release}${shared_ext}$major'
15488 shlibpath_var=LD_LIBRARY_PATH
15489 case $host_vendor in
15490 sni)
15491 shlibpath_overrides_runpath=no
15492 need_lib_prefix=no
15493 runpath_var=LD_RUN_PATH
15495 siemens)
15496 need_lib_prefix=no
15498 motorola)
15499 need_lib_prefix=no
15500 need_version=no
15501 shlibpath_overrides_runpath=no
15502 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15504 esac
15507 sysv4*MP*)
15508 if test -d /usr/nec ;then
15509 version_type=linux
15510 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15511 soname_spec='$libname${shared_ext}.$major'
15512 shlibpath_var=LD_LIBRARY_PATH
15516 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15517 version_type=freebsd-elf
15518 need_lib_prefix=no
15519 need_version=no
15520 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15521 soname_spec='${libname}${release}${shared_ext}$major'
15522 shlibpath_var=LD_LIBRARY_PATH
15523 shlibpath_overrides_runpath=yes
15524 hardcode_into_libs=yes
15525 if test "$with_gnu_ld" = yes; then
15526 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15527 else
15528 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15529 case $host_os in
15530 sco3.2v5*)
15531 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15533 esac
15535 sys_lib_dlsearch_path_spec='/usr/lib'
15538 tpf*)
15539 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15540 version_type=linux
15541 need_lib_prefix=no
15542 need_version=no
15543 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15544 shlibpath_var=LD_LIBRARY_PATH
15545 shlibpath_overrides_runpath=no
15546 hardcode_into_libs=yes
15549 uts4*)
15550 version_type=linux
15551 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15552 soname_spec='${libname}${release}${shared_ext}$major'
15553 shlibpath_var=LD_LIBRARY_PATH
15556 # Shared libraries for VwWorks, >= 7 only at this stage
15557 # and (fpic) still incompatible with "large" code models
15558 # in a few configurations. Only for RTP mode in any case,
15559 # and upon explicit request at configure time.
15560 vxworks7*)
15561 dynamic_linker=no
15562 case ${with_multisubdir}-${enable_shared} in
15563 *large*)
15565 *mrtp*-yes)
15566 version_type=linux
15567 need_lib_prefix=no
15568 need_version=no
15569 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15570 soname_spec='${libname}${release}${shared_ext}$major'
15571 dynamic_linker="$host_os module_loader"
15573 esac
15576 dynamic_linker=no
15578 esac
15579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15580 $as_echo "$dynamic_linker" >&6; }
15581 test "$dynamic_linker" = no && can_build_shared=no
15583 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15584 if test "$GCC" = yes; then
15585 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15588 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15589 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15591 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15592 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15633 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15634 hardcode_action_CXX=
15635 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15636 test -n "$runpath_var_CXX" ||
15637 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15639 # We can hardcode non-existent directories.
15640 if test "$hardcode_direct_CXX" != no &&
15641 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15642 # have to relink, otherwise we might link with an installed library
15643 # when we should be linking with a yet-to-be-installed one
15644 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15645 test "$hardcode_minus_L_CXX" != no; then
15646 # Linking always hardcodes the temporary library directory.
15647 hardcode_action_CXX=relink
15648 else
15649 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15650 hardcode_action_CXX=immediate
15652 else
15653 # We cannot hardcode anything, or else we can only hardcode existing
15654 # directories.
15655 hardcode_action_CXX=unsupported
15657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15658 $as_echo "$hardcode_action_CXX" >&6; }
15660 if test "$hardcode_action_CXX" = relink ||
15661 test "$inherit_rpath_CXX" = yes; then
15662 # Fast installation is not supported
15663 enable_fast_install=no
15664 elif test "$shlibpath_overrides_runpath" = yes ||
15665 test "$enable_shared" = no; then
15666 # Fast installation is not necessary
15667 enable_fast_install=needless
15676 fi # test -n "$compiler"
15678 CC=$lt_save_CC
15679 LDCXX=$LD
15680 LD=$lt_save_LD
15681 GCC=$lt_save_GCC
15682 with_gnu_ld=$lt_save_with_gnu_ld
15683 lt_cv_path_LDCXX=$lt_cv_path_LD
15684 lt_cv_path_LD=$lt_save_path_LD
15685 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15686 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15687 fi # test "$_lt_caught_CXX_error" != yes
15689 ac_ext=c
15690 ac_cpp='$CPP $CPPFLAGS'
15691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15707 ac_config_commands="$ac_config_commands libtool"
15712 # Only expand once:
15718 case $host in
15719 *-cygwin* | *-mingw*)
15720 # 'host' will be top-level target in the case of a target lib,
15721 # we must compare to with_cross_host to decide if this is a native
15722 # or cross-compiler and select where to install dlls appropriately.
15723 if test -n "$with_cross_host" &&
15724 test x"$with_cross_host" != x"no"; then
15725 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
15726 else
15727 lt_host_flags='-no-undefined -bindir "$(bindir)"';
15731 lt_host_flags=
15733 esac
15739 if test x$enable_darwin_at_rpath = xyes; then
15740 ENABLE_DARWIN_AT_RPATH_TRUE=
15741 ENABLE_DARWIN_AT_RPATH_FALSE='#'
15742 else
15743 ENABLE_DARWIN_AT_RPATH_TRUE='#'
15744 ENABLE_DARWIN_AT_RPATH_FALSE=
15748 if test "$enable_vtable_verify" = yes; then
15749 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15750 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15754 # libtool variables for C++ shared and position-independent compiles.
15756 # Use glibcxx_lt_pic_flag to designate the automake variable
15757 # used to encapsulate the default libtool approach to creating objects
15758 # with position-independent code. Default: -prefer-pic.
15760 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15761 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15763 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15764 # creating position-independent objects. This varies with the target
15765 # hardware and operating system, but is often: -DPIC -fPIC.
15766 if test "$enable_shared" = yes; then
15767 glibcxx_lt_pic_flag="-prefer-pic"
15768 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15769 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15771 else
15772 glibcxx_lt_pic_flag=
15773 glibcxx_compiler_pic_flag=
15774 glibcxx_compiler_shared_flag=
15780 # Override the libtool's pic_flag and pic_mode.
15781 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15782 # NB: this impacts --with-pic and --without-pic.
15783 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15784 pic_mode='default'
15786 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15787 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15789 # Possibly disable most of the library.
15790 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15791 ## than just ignoring the results. Faster /and/ more correct, win win.
15793 # Check whether --enable-hosted-libstdcxx was given.
15794 if test "${enable_hosted_libstdcxx+set}" = set; then :
15795 enableval=$enable_hosted_libstdcxx; enable_hosted_libstdcxx_was_given=yes
15796 else
15797 case "$host" in
15798 arm*-*-symbianelf*)
15799 enable_hosted_libstdcxx=no
15802 case "${with_newlib}-${with_headers}" in
15803 no-no) enable_hosted_libstdcxx=no ;;
15804 *) enable_hosted_libstdcxx=yes ;;
15805 esac
15807 esac
15811 # Because most configure args are --enable-libstdcxx-foo add an alias
15812 # of that form for --enable-hosted-libstdcxx.
15813 # Check whether --enable-libstdcxx-hosted was given.
15814 if test "${enable_libstdcxx_hosted+set}" = set; then :
15815 enableval=$enable_libstdcxx_hosted; if test "$enable_hosted_libstdcxx_was_given" = yes; then
15816 if test "$enable_hosted_libstdcxx" != "$enableval"; then
15817 as_fn_error $? "--enable-libstdcxx-hosted=$enableval conflicts with --enable-hosted-libstdcxx=$enable_hosted_libstdcxx" "$LINENO" 5
15819 else
15820 enable_hosted_libstdcxx=${enableval}
15826 freestanding_flags=
15827 if test "$enable_hosted_libstdcxx" = no; then
15828 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15829 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15830 is_hosted=no
15831 hosted_define=0
15832 enable_abi_check=no
15833 enable_libstdcxx_pch=no
15834 if test "x$with_headers" = xno; then
15835 freestanding_flags="-ffreestanding"
15837 else
15838 is_hosted=yes
15839 hosted_define=__STDC_HOSTED__
15843 cat >>confdefs.h <<_ACEOF
15844 #define _GLIBCXX_HOSTED $hosted_define
15845 _ACEOF
15847 FREESTANDING_FLAGS="$freestanding_flags"
15851 # Enable descriptive messages to standard output on termination.
15853 # Check whether --enable-libstdcxx-verbose was given.
15854 if test "${enable_libstdcxx_verbose+set}" = set; then :
15855 enableval=$enable_libstdcxx_verbose;
15856 else
15857 enable_libstdcxx_verbose=yes
15860 if test x"$enable_libstdcxx_verbose" = xyes; then
15861 verbose_define=1
15862 else
15863 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15864 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15865 verbose_define=0
15868 cat >>confdefs.h <<_ACEOF
15869 #define _GLIBCXX_VERBOSE $verbose_define
15870 _ACEOF
15874 # Enable compiler support that doesn't require linking.
15876 # Check whether --enable-libstdcxx-pch was given.
15877 if test "${enable_libstdcxx_pch+set}" = set; then :
15878 enableval=$enable_libstdcxx_pch;
15879 case "$enableval" in
15880 yes|no) ;;
15881 *) as_fn_error $? "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15882 esac
15884 else
15885 enable_libstdcxx_pch=$is_hosted
15889 if test $enable_libstdcxx_pch = yes; then
15890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15891 $as_echo_n "checking for compiler with PCH support... " >&6; }
15892 if ${glibcxx_cv_prog_CXX_pch+:} false; then :
15893 $as_echo_n "(cached) " >&6
15894 else
15895 ac_save_CXXFLAGS="$CXXFLAGS"
15896 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15898 ac_ext=cpp
15899 ac_cpp='$CXXCPP $CPPFLAGS'
15900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15904 echo '#include <math.h>' > conftest.h
15905 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15906 -o conftest.h.gch 1>&5 2>&1 &&
15907 echo '#error "pch failed"' > conftest.h &&
15908 echo '#include "conftest.h"' > conftest.cc &&
15909 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15910 then
15911 glibcxx_cv_prog_CXX_pch=yes
15912 else
15913 glibcxx_cv_prog_CXX_pch=no
15915 rm -f conftest*
15916 CXXFLAGS=$ac_save_CXXFLAGS
15917 ac_ext=c
15918 ac_cpp='$CPP $CPPFLAGS'
15919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15926 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15927 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15931 $as_echo_n "checking for enabled PCH... " >&6; }
15932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15933 $as_echo "$enable_libstdcxx_pch" >&6; }
15936 if test $enable_libstdcxx_pch = yes; then
15937 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15938 else
15939 glibcxx_PCHFLAGS=""
15944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15945 $as_echo_n "checking for thread model used by GCC... " >&6; }
15946 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15948 $as_echo "$target_thread_file" >&6; }
15950 case $target_thread_file in
15951 aix) thread_header=config/rs6000/gthr-aix.h ;;
15952 dce) thread_header=config/pa/gthr-dce.h ;;
15953 gcn) thread_header=config/gcn/gthr-gcn.h ;;
15954 lynx) thread_header=config/gthr-lynx.h ;;
15955 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15956 posix) thread_header=gthr-posix.h ;;
15957 rtems) thread_header=config/gthr-rtems.h ;;
15958 single) thread_header=gthr-single.h ;;
15959 tpf) thread_header=config/s390/gthr-tpf.h ;;
15960 vxworks) thread_header=config/gthr-vxworks.h ;;
15961 win32) thread_header=config/i386/gthr-win32.h ;;
15962 mcf) thread_header=config/i386/gthr-mcf.h ;;
15963 esac
15969 ac_ext=cpp
15970 ac_cpp='$CXXCPP $CPPFLAGS'
15971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15975 old_CXXFLAGS="$CXXFLAGS"
15977 # Do link tests if possible, instead asm tests, limited to some platforms
15978 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15979 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15980 atomic_builtins_link_tests=no
15981 if test x$gcc_no_link != xyes; then
15982 # Can do link tests. Limit to some tested platforms
15983 case "$host" in
15984 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15985 atomic_builtins_link_tests=yes
15987 esac
15990 if test x$atomic_builtins_link_tests = xyes; then
15992 # Do link tests.
15994 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15997 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15998 if ${glibcxx_cv_atomic_bool+:} false; then :
15999 $as_echo_n "(cached) " >&6
16000 else
16002 if test x$gcc_no_link = xyes; then
16003 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16006 /* end confdefs.h. */
16009 main ()
16011 typedef bool atomic_type;
16012 atomic_type c1;
16013 atomic_type c2;
16014 atomic_type c3(0);
16015 // N.B. __atomic_fetch_add is not supported for bool.
16016 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16017 __ATOMIC_RELAXED);
16018 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16019 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16022 return 0;
16024 _ACEOF
16025 if ac_fn_cxx_try_link "$LINENO"; then :
16026 glibcxx_cv_atomic_bool=yes
16027 else
16028 glibcxx_cv_atomic_bool=no
16030 rm -f core conftest.err conftest.$ac_objext \
16031 conftest$ac_exeext conftest.$ac_ext
16034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
16035 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
16037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
16038 $as_echo_n "checking for atomic builtins for short... " >&6; }
16039 if ${glibcxx_cv_atomic_short+:} false; then :
16040 $as_echo_n "(cached) " >&6
16041 else
16043 if test x$gcc_no_link = xyes; then
16044 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16047 /* end confdefs.h. */
16050 main ()
16052 typedef short atomic_type;
16053 atomic_type c1;
16054 atomic_type c2;
16055 atomic_type c3(0);
16056 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16057 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16058 __ATOMIC_RELAXED);
16059 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16060 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16063 return 0;
16065 _ACEOF
16066 if ac_fn_cxx_try_link "$LINENO"; then :
16067 glibcxx_cv_atomic_short=yes
16068 else
16069 glibcxx_cv_atomic_short=no
16071 rm -f core conftest.err conftest.$ac_objext \
16072 conftest$ac_exeext conftest.$ac_ext
16075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
16076 $as_echo "$glibcxx_cv_atomic_short" >&6; }
16078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
16079 $as_echo_n "checking for atomic builtins for int... " >&6; }
16080 if ${glibcxx_cv_atomic_int+:} false; then :
16081 $as_echo_n "(cached) " >&6
16082 else
16084 if test x$gcc_no_link = xyes; then
16085 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16088 /* end confdefs.h. */
16091 main ()
16093 typedef int atomic_type;
16094 atomic_type c1;
16095 atomic_type c2;
16096 atomic_type c3(0);
16097 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16098 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16099 __ATOMIC_RELAXED);
16100 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16101 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16104 return 0;
16106 _ACEOF
16107 if ac_fn_cxx_try_link "$LINENO"; then :
16108 glibcxx_cv_atomic_int=yes
16109 else
16110 glibcxx_cv_atomic_int=no
16112 rm -f core conftest.err conftest.$ac_objext \
16113 conftest$ac_exeext conftest.$ac_ext
16116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
16117 $as_echo "$glibcxx_cv_atomic_int" >&6; }
16119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
16120 $as_echo_n "checking for atomic builtins for long long... " >&6; }
16121 if ${glibcxx_cv_atomic_long_long+:} false; then :
16122 $as_echo_n "(cached) " >&6
16123 else
16125 if test x$gcc_no_link = xyes; then
16126 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16129 /* end confdefs.h. */
16132 main ()
16134 typedef long long atomic_type;
16135 atomic_type c1;
16136 atomic_type c2;
16137 atomic_type c3(0);
16138 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16139 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16140 __ATOMIC_RELAXED);
16141 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16142 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16145 return 0;
16147 _ACEOF
16148 if ac_fn_cxx_try_link "$LINENO"; then :
16149 glibcxx_cv_atomic_long_long=yes
16150 else
16151 glibcxx_cv_atomic_long_long=no
16153 rm -f core conftest.err conftest.$ac_objext \
16154 conftest$ac_exeext conftest.$ac_ext
16157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
16158 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
16160 else
16162 # Do asm tests.
16164 # Compile unoptimized.
16165 CXXFLAGS='-O0 -S'
16167 # Fake what AC_TRY_COMPILE does.
16169 cat > conftest.$ac_ext << EOF
16170 #line 16170 "configure"
16171 int main()
16173 typedef bool atomic_type;
16174 atomic_type c1;
16175 atomic_type c2;
16176 atomic_type c3(0);
16177 // N.B. __atomic_fetch_add is not supported for bool.
16178 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16179 __ATOMIC_RELAXED);
16180 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16181 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16183 return 0;
16187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
16188 $as_echo_n "checking for atomic builtins for bool... " >&6; }
16189 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16190 (eval $ac_compile) 2>&5
16191 ac_status=$?
16192 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16193 test $ac_status = 0; }; then
16194 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16195 glibcxx_cv_atomic_bool=no
16196 else
16197 glibcxx_cv_atomic_bool=yes
16200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
16201 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
16202 rm -f conftest*
16204 cat > conftest.$ac_ext << EOF
16205 #line 16205 "configure"
16206 int main()
16208 typedef short atomic_type;
16209 atomic_type c1;
16210 atomic_type c2;
16211 atomic_type c3(0);
16212 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16213 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16214 __ATOMIC_RELAXED);
16215 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16216 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16218 return 0;
16222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
16223 $as_echo_n "checking for atomic builtins for short... " >&6; }
16224 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16225 (eval $ac_compile) 2>&5
16226 ac_status=$?
16227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16228 test $ac_status = 0; }; then
16229 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16230 glibcxx_cv_atomic_short=no
16231 else
16232 glibcxx_cv_atomic_short=yes
16235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
16236 $as_echo "$glibcxx_cv_atomic_short" >&6; }
16237 rm -f conftest*
16239 cat > conftest.$ac_ext << EOF
16240 #line 16240 "configure"
16241 int main()
16243 // NB: _Atomic_word not necessarily int.
16244 typedef int atomic_type;
16245 atomic_type c1;
16246 atomic_type c2;
16247 atomic_type c3(0);
16248 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16249 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16250 __ATOMIC_RELAXED);
16251 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16252 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16254 return 0;
16258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
16259 $as_echo_n "checking for atomic builtins for int... " >&6; }
16260 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16261 (eval $ac_compile) 2>&5
16262 ac_status=$?
16263 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16264 test $ac_status = 0; }; then
16265 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16266 glibcxx_cv_atomic_int=no
16267 else
16268 glibcxx_cv_atomic_int=yes
16271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
16272 $as_echo "$glibcxx_cv_atomic_int" >&6; }
16273 rm -f conftest*
16275 cat > conftest.$ac_ext << EOF
16276 #line 16276 "configure"
16277 int main()
16279 typedef long long atomic_type;
16280 atomic_type c1;
16281 atomic_type c2;
16282 atomic_type c3(0);
16283 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16284 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16285 __ATOMIC_RELAXED);
16286 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16287 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16289 return 0;
16293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
16294 $as_echo_n "checking for atomic builtins for long long... " >&6; }
16295 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16296 (eval $ac_compile) 2>&5
16297 ac_status=$?
16298 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16299 test $ac_status = 0; }; then
16300 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16301 glibcxx_cv_atomic_long_long=no
16302 else
16303 glibcxx_cv_atomic_long_long=yes
16306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
16307 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
16308 rm -f conftest*
16312 CXXFLAGS="$old_CXXFLAGS"
16313 ac_ext=c
16314 ac_cpp='$CPP $CPPFLAGS'
16315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16320 # Set atomicity_dir to builtins if all but the long long test above passes,
16321 # or if the builtins were already chosen (e.g. by configure.host).
16322 if { test "$glibcxx_cv_atomic_bool" = yes \
16323 && test "$glibcxx_cv_atomic_short" = yes \
16324 && test "$glibcxx_cv_atomic_int" = yes; } \
16325 || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
16327 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
16329 atomicity_dir=cpu/generic/atomicity_builtins
16332 # If still generic, set to mutex.
16333 if test $atomicity_dir = "cpu/generic" ; then
16334 atomicity_dir=cpu/generic/atomicity_mutex
16335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
16336 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
16337 if test "x$target_thread_file" = xsingle; then
16338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
16339 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
16340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
16341 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
16342 else
16343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
16344 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
16345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
16346 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
16354 # Check whether --with-libstdcxx-lock-policy was given.
16355 if test "${with_libstdcxx_lock_policy+set}" = set; then :
16356 withval=$with_libstdcxx_lock_policy; libstdcxx_atomic_lock_policy=$withval
16357 else
16358 libstdcxx_atomic_lock_policy=auto
16362 case "$libstdcxx_atomic_lock_policy" in
16363 atomic|mutex|auto) ;;
16364 *) as_fn_error $? "Invalid argument for --with-libstdcxx-lock-policy" "$LINENO" 5 ;;
16365 esac
16366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lock policy for shared_ptr reference counts" >&5
16367 $as_echo_n "checking for lock policy for shared_ptr reference counts... " >&6; }
16369 if test x"$libstdcxx_atomic_lock_policy" = x"auto"; then
16371 ac_ext=cpp
16372 ac_cpp='$CXXCPP $CPPFLAGS'
16373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16377 ac_save_CXXFLAGS="$CXXFLAGS"
16379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16380 /* end confdefs.h. */
16382 #if defined __riscv
16383 # error "Defaulting to mutex-based locks for ABI compatibility"
16384 #endif
16385 #if ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
16386 # error "No 2-byte compare-and-swap"
16387 #elif ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
16388 # error "No 4-byte compare-and-swap"
16389 #endif
16392 main ()
16396 return 0;
16398 _ACEOF
16399 if ac_fn_cxx_try_compile "$LINENO"; then :
16400 libstdcxx_atomic_lock_policy=atomic
16401 else
16402 libstdcxx_atomic_lock_policy=mutex
16404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16405 ac_ext=c
16406 ac_cpp='$CPP $CPPFLAGS'
16407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16411 CXXFLAGS="$ac_save_CXXFLAGS"
16414 if test x"$libstdcxx_atomic_lock_policy" = x"atomic"; then
16415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: atomic" >&5
16416 $as_echo "atomic" >&6; }
16418 $as_echo "#define HAVE_ATOMIC_LOCK_POLICY 1" >>confdefs.h
16420 else
16421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mutex" >&5
16422 $as_echo "mutex" >&6; }
16428 # Fake what AC_TRY_COMPILE does, without linking as this is
16429 # unnecessary for this test.
16431 cat > conftest.$ac_ext << EOF
16432 #line 16432 "configure"
16433 int main()
16435 _Decimal32 d1;
16436 _Decimal64 d2;
16437 _Decimal128 d3;
16438 return 0;
16442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
16443 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
16444 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16445 (eval $ac_compile) 2>&5
16446 ac_status=$?
16447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16448 test $ac_status = 0; }; then
16450 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
16452 enable_dfp=yes
16453 else
16454 enable_dfp=no
16456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
16457 $as_echo "$enable_dfp" >&6; }
16458 rm -f conftest*
16463 ac_ext=cpp
16464 ac_cpp='$CXXCPP $CPPFLAGS'
16465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16470 # Fake what AC_TRY_COMPILE does, without linking as this is
16471 # unnecessary for this test.
16473 cat > conftest.$ac_ext << EOF
16474 #line 16474 "configure"
16475 template<typename T1, typename T2>
16476 struct same
16477 { typedef T2 type; };
16479 template<typename T>
16480 struct same<T, T>;
16482 int main()
16484 typename same<double, __float128>::type f1;
16485 typename same<long double, __float128>::type f2;
16489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
16490 $as_echo_n "checking for __float128... " >&6; }
16491 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16492 (eval $ac_compile) 2>&5
16493 ac_status=$?
16494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16495 test $ac_status = 0; }; then
16496 enable_float128=yes
16497 else
16498 enable_float128=no
16500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
16501 $as_echo "$enable_float128" >&6; }
16503 rm -f conftest*
16505 ac_ext=c
16506 ac_cpp='$CPP $CPPFLAGS'
16507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16512 if test "$enable_float128" = yes; then
16513 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
16516 # Checks for compiler support that doesn't require linking.
16518 # All these tests are for C++; save the language and the compiler flags.
16519 # The CXXFLAGS thing is suspicious, but based on similar bits previously
16520 # found in GLIBCXX_CONFIGURE.
16522 ac_ext=cpp
16523 ac_cpp='$CXXCPP $CPPFLAGS'
16524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16528 ac_test_CXXFLAGS="${CXXFLAGS+set}"
16529 ac_save_CXXFLAGS="$CXXFLAGS"
16531 # Check for -ffunction-sections -fdata-sections
16532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
16533 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
16534 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
16535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16536 /* end confdefs.h. */
16537 int foo; void bar() { };
16539 main ()
16543 return 0;
16545 _ACEOF
16546 if ac_fn_cxx_try_compile "$LINENO"; then :
16547 ac_fdsections=yes
16548 else
16549 ac_fdsections=no
16551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16552 if test "$ac_test_CXXFLAGS" = set; then
16553 CXXFLAGS="$ac_save_CXXFLAGS"
16554 else
16555 # this is the suspicious part
16556 CXXFLAGS=''
16558 if test x"$ac_fdsections" = x"yes"; then
16559 SECTION_FLAGS='-ffunction-sections -fdata-sections'
16561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
16562 $as_echo "$ac_fdsections" >&6; }
16564 ac_ext=c
16565 ac_cpp='$CPP $CPPFLAGS'
16566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16573 # Enable all the variable C++ runtime options that don't require linking.
16575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
16576 $as_echo_n "checking for underlying I/O to use... " >&6; }
16577 # Check whether --enable-cstdio was given.
16578 if test "${enable_cstdio+set}" = set; then :
16579 enableval=$enable_cstdio;
16580 case "$enableval" in
16581 stdio|stdio_posix|stdio_pure) ;;
16582 *) as_fn_error $? "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
16583 esac
16585 else
16586 enable_cstdio=stdio
16591 # The only available I/O model is based on stdio, via basic_file_stdio.
16592 # The default "stdio" is actually "stdio + POSIX" because it uses fdopen(3)
16593 # to get a file descriptor and then uses read(3) and write(3) with it.
16594 # The "stdio_pure" model doesn't use fdopen and only uses FILE* for I/O.
16595 case ${enable_cstdio} in
16596 stdio*)
16597 CSTDIO_H=config/io/c_io_stdio.h
16598 BASIC_FILE_H=config/io/basic_file_stdio.h
16599 BASIC_FILE_CC=config/io/basic_file_stdio.cc
16601 if test "x$enable_cstdio" = "xstdio_pure" ; then
16602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio (without POSIX read/write)" >&5
16603 $as_echo "stdio (without POSIX read/write)" >&6; }
16605 $as_echo "#define _GLIBCXX_USE_STDIO_PURE 1" >>confdefs.h
16607 else
16608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio (with POSIX read/write)" >&5
16609 $as_echo "stdio (with POSIX read/write)" >&6; }
16612 esac
16619 # Check whether --enable-clocale was given.
16620 if test "${enable_clocale+set}" = set; then :
16621 enableval=$enable_clocale;
16622 case "$enableval" in
16623 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
16624 *) as_fn_error $? "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
16625 esac
16627 else
16628 enable_clocale=auto
16633 # Deal with gettext issues. Default to not using it (=no) until we detect
16634 # support for it later. Let the user turn it off via --e/d, but let that
16635 # default to on for easier handling.
16636 USE_NLS=no
16637 # Check whether --enable-nls was given.
16638 if test "${enable_nls+set}" = set; then :
16639 enableval=$enable_nls;
16640 else
16641 enable_nls=yes
16645 # Either a known package, or "auto"
16646 if test $enable_clocale = no || test $enable_clocale = yes; then
16647 enable_clocale=auto
16649 enable_clocale_flag=$enable_clocale
16651 # Probe for locale model to use if none specified.
16652 # Default to "generic".
16653 if test $enable_clocale_flag = auto; then
16654 case ${target_os} in
16655 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16656 enable_clocale_flag=gnu
16658 darwin*)
16659 enable_clocale_flag=darwin
16661 vxworks*)
16662 enable_clocale_flag=vxworks
16664 dragonfly* | freebsd*)
16665 enable_clocale_flag=dragonfly
16667 openbsd*)
16668 enable_clocale_flag=newlib
16671 if test x"$with_newlib" = x"yes"; then
16672 enable_clocale_flag=newlib
16673 else
16674 enable_clocale_flag=generic
16677 esac
16680 # Sanity check model, and test for special functionality.
16681 if test $enable_clocale_flag = gnu; then
16682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16683 /* end confdefs.h. */
16685 #include <features.h>
16686 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
16687 _GLIBCXX_ok
16688 #endif
16690 _ACEOF
16691 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16692 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
16693 enable_clocale_flag=gnu
16694 else
16695 enable_clocale_flag=generic
16697 rm -f conftest*
16700 # Set it to scream when it hurts.
16701 ac_save_CFLAGS="$CFLAGS"
16702 CFLAGS="-Wimplicit-function-declaration -Werror"
16704 # Use strxfrm_l if available.
16705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16706 /* end confdefs.h. */
16707 #define _GNU_SOURCE 1
16708 #include <string.h>
16709 #include <locale.h>
16711 main ()
16713 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
16715 return 0;
16717 _ACEOF
16718 if ac_fn_c_try_compile "$LINENO"; then :
16720 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
16723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16725 # Use strerror_l if available.
16726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16727 /* end confdefs.h. */
16728 #define _GNU_SOURCE 1
16729 #include <string.h>
16730 #include <locale.h>
16732 main ()
16734 __locale_t loc; strerror_l(5, loc);
16736 return 0;
16738 _ACEOF
16739 if ac_fn_c_try_compile "$LINENO"; then :
16741 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
16744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16746 CFLAGS="$ac_save_CFLAGS"
16749 # Perhaps use strerror_r if available, and strerror_l isn't.
16750 ac_save_CFLAGS="$CFLAGS"
16751 CFLAGS="-Wimplicit-function-declaration -Werror"
16752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16753 /* end confdefs.h. */
16754 #define _GNU_SOURCE 1
16755 #include <string.h>
16756 #include <locale.h>
16758 main ()
16760 char s[128]; strerror_r(5, s, 128);
16762 return 0;
16764 _ACEOF
16765 if ac_fn_c_try_compile "$LINENO"; then :
16767 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16771 CFLAGS="$ac_save_CFLAGS"
16773 # Set configure bits for specified locale package
16774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
16775 $as_echo_n "checking for C locale to use... " >&6; }
16776 case ${enable_clocale_flag} in
16777 generic)
16778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
16779 $as_echo "generic" >&6; }
16781 CLOCALE_H=config/locale/generic/c_locale.h
16782 CLOCALE_CC=config/locale/generic/c_locale.cc
16783 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16784 CCOLLATE_CC=config/locale/generic/collate_members.cc
16785 CCTYPE_CC=config/locale/generic/ctype_members.cc
16786 CMESSAGES_H=config/locale/generic/messages_members.h
16787 CMESSAGES_CC=config/locale/generic/messages_members.cc
16788 CMONEY_CC=config/locale/generic/monetary_members.cc
16789 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16790 CTIME_H=config/locale/generic/time_members.h
16791 CTIME_CC=config/locale/generic/time_members.cc
16792 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16794 darwin)
16795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
16796 $as_echo "darwin" >&6; }
16798 CLOCALE_H=config/locale/generic/c_locale.h
16799 CLOCALE_CC=config/locale/generic/c_locale.cc
16800 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16801 CCOLLATE_CC=config/locale/generic/collate_members.cc
16802 CCTYPE_CC=config/locale/darwin/ctype_members.cc
16803 CMESSAGES_H=config/locale/generic/messages_members.h
16804 CMESSAGES_CC=config/locale/generic/messages_members.cc
16805 CMONEY_CC=config/locale/generic/monetary_members.cc
16806 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16807 CTIME_H=config/locale/generic/time_members.h
16808 CTIME_CC=config/locale/generic/time_members.cc
16809 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16811 vxworks)
16812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: vxworks" >&5
16813 $as_echo "vxworks" >&6; }
16815 CLOCALE_H=config/locale/generic/c_locale.h
16816 CLOCALE_CC=config/locale/generic/c_locale.cc
16817 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16818 CCOLLATE_CC=config/locale/generic/collate_members.cc
16819 CCTYPE_CC=config/locale/vxworks/ctype_members.cc
16820 CMESSAGES_H=config/locale/generic/messages_members.h
16821 CMESSAGES_CC=config/locale/generic/messages_members.cc
16822 CMONEY_CC=config/locale/generic/monetary_members.cc
16823 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16824 CTIME_H=config/locale/generic/time_members.h
16825 CTIME_CC=config/locale/generic/time_members.cc
16826 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16828 dragonfly)
16829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
16830 $as_echo "dragonfly or freebsd" >&6; }
16832 CLOCALE_H=config/locale/dragonfly/c_locale.h
16833 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16834 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16835 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16836 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16837 CMESSAGES_H=config/locale/generic/messages_members.h
16838 CMESSAGES_CC=config/locale/generic/messages_members.cc
16839 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16840 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16841 CTIME_H=config/locale/dragonfly/time_members.h
16842 CTIME_CC=config/locale/dragonfly/time_members.cc
16843 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16846 gnu)
16847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16848 $as_echo "gnu" >&6; }
16850 # Declare intention to use gettext, and add support for specific
16851 # languages.
16852 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16853 ALL_LINGUAS="de fr"
16855 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16856 # Extract the first word of "msgfmt", so it can be a program name with args.
16857 set dummy msgfmt; ac_word=$2
16858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16859 $as_echo_n "checking for $ac_word... " >&6; }
16860 if ${ac_cv_prog_check_msgfmt+:} false; then :
16861 $as_echo_n "(cached) " >&6
16862 else
16863 if test -n "$check_msgfmt"; then
16864 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16865 else
16866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16867 for as_dir in $PATH
16869 IFS=$as_save_IFS
16870 test -z "$as_dir" && as_dir=.
16871 for ac_exec_ext in '' $ac_executable_extensions; do
16872 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16873 ac_cv_prog_check_msgfmt="yes"
16874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16875 break 2
16877 done
16878 done
16879 IFS=$as_save_IFS
16881 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16884 check_msgfmt=$ac_cv_prog_check_msgfmt
16885 if test -n "$check_msgfmt"; then
16886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16887 $as_echo "$check_msgfmt" >&6; }
16888 else
16889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16890 $as_echo "no" >&6; }
16894 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16895 USE_NLS=yes
16897 # Export the build objects.
16898 for ling in $ALL_LINGUAS; do \
16899 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16900 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16901 done
16905 CLOCALE_H=config/locale/gnu/c_locale.h
16906 CLOCALE_CC=config/locale/gnu/c_locale.cc
16907 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16908 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16909 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16910 CMESSAGES_H=config/locale/gnu/messages_members.h
16911 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16912 CMONEY_CC=config/locale/gnu/monetary_members.cc
16913 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16914 CTIME_H=config/locale/gnu/time_members.h
16915 CTIME_CC=config/locale/gnu/time_members.cc
16916 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16918 ieee_1003.1-2001)
16919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16920 $as_echo "IEEE 1003.1" >&6; }
16922 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16923 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16924 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16925 CCOLLATE_CC=config/locale/generic/collate_members.cc
16926 CCTYPE_CC=config/locale/generic/ctype_members.cc
16927 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16928 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16929 CMONEY_CC=config/locale/generic/monetary_members.cc
16930 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16931 CTIME_H=config/locale/generic/time_members.h
16932 CTIME_CC=config/locale/generic/time_members.cc
16933 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16935 newlib)
16936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16937 $as_echo "newlib" >&6; }
16939 CLOCALE_H=config/locale/generic/c_locale.h
16940 CLOCALE_CC=config/locale/generic/c_locale.cc
16941 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16942 CCOLLATE_CC=config/locale/generic/collate_members.cc
16943 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16944 CMESSAGES_H=config/locale/generic/messages_members.h
16945 CMESSAGES_CC=config/locale/generic/messages_members.cc
16946 CMONEY_CC=config/locale/generic/monetary_members.cc
16947 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16948 CTIME_H=config/locale/generic/time_members.h
16949 CTIME_CC=config/locale/generic/time_members.cc
16950 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16952 esac
16954 # This is where the testsuite looks for locale catalogs, using the
16955 # -DLOCALEDIR define during testsuite compilation.
16956 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16959 # A standalone libintl (e.g., GNU libintl) may be in use.
16960 if test $USE_NLS = yes; then
16961 for ac_header in libintl.h
16962 do :
16963 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16964 if test "x$ac_cv_header_libintl_h" = xyes; then :
16965 cat >>confdefs.h <<_ACEOF
16966 #define HAVE_LIBINTL_H 1
16967 _ACEOF
16969 else
16970 USE_NLS=no
16973 done
16975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16976 $as_echo_n "checking for library containing gettext... " >&6; }
16977 if ${ac_cv_search_gettext+:} false; then :
16978 $as_echo_n "(cached) " >&6
16979 else
16980 ac_func_search_save_LIBS=$LIBS
16981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16982 /* end confdefs.h. */
16984 /* Override any GCC internal prototype to avoid an error.
16985 Use char because int might match the return type of a GCC
16986 builtin and then its argument prototype would still apply. */
16987 #ifdef __cplusplus
16988 extern "C"
16989 #endif
16990 char gettext ();
16992 main ()
16994 return gettext ();
16996 return 0;
16998 _ACEOF
16999 for ac_lib in '' intl; do
17000 if test -z "$ac_lib"; then
17001 ac_res="none required"
17002 else
17003 ac_res=-l$ac_lib
17004 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17006 if test x$gcc_no_link = xyes; then
17007 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17009 if ac_fn_c_try_link "$LINENO"; then :
17010 ac_cv_search_gettext=$ac_res
17012 rm -f core conftest.err conftest.$ac_objext \
17013 conftest$ac_exeext
17014 if ${ac_cv_search_gettext+:} false; then :
17015 break
17017 done
17018 if ${ac_cv_search_gettext+:} false; then :
17020 else
17021 ac_cv_search_gettext=no
17023 rm conftest.$ac_ext
17024 LIBS=$ac_func_search_save_LIBS
17026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
17027 $as_echo "$ac_cv_search_gettext" >&6; }
17028 ac_res=$ac_cv_search_gettext
17029 if test "$ac_res" != no; then :
17030 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17032 else
17033 USE_NLS=no
17037 if test $USE_NLS = yes; then
17039 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
17058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
17059 $as_echo_n "checking for std::allocator base class... " >&6; }
17060 # Check whether --enable-libstdcxx-allocator was given.
17061 if test "${enable_libstdcxx_allocator+set}" = set; then :
17062 enableval=$enable_libstdcxx_allocator;
17063 case "$enableval" in
17064 new|malloc|yes|no|auto) ;;
17065 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
17066 esac
17068 else
17069 enable_libstdcxx_allocator=auto
17074 # If they didn't use this option switch, or if they specified --enable
17075 # with no specific model, we'll have to look for one. If they
17076 # specified --disable (???), do likewise.
17077 if test $enable_libstdcxx_allocator = no ||
17078 test $enable_libstdcxx_allocator = yes;
17079 then
17080 enable_libstdcxx_allocator=auto
17083 # Either a known package, or "auto". Auto implies the default choice
17084 # for a particular platform.
17085 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
17087 # Probe for host-specific support if no specific model is specified.
17088 # Default to "new".
17089 if test $enable_libstdcxx_allocator_flag = auto; then
17090 case ${target_os} in
17091 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
17092 enable_libstdcxx_allocator_flag=new
17095 enable_libstdcxx_allocator_flag=new
17097 esac
17099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
17100 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
17103 # Set configure bits for specified locale package
17104 case ${enable_libstdcxx_allocator_flag} in
17105 malloc)
17106 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
17107 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
17109 new)
17110 ALLOCATOR_H=config/allocator/new_allocator_base.h
17111 ALLOCATOR_NAME=__gnu_cxx::new_allocator
17113 esac
17120 # Check whether --enable-cheaders-obsolete was given.
17121 if test "${enable_cheaders_obsolete+set}" = set; then :
17122 enableval=$enable_cheaders_obsolete;
17123 case "$enableval" in
17124 yes|no) ;;
17125 *) as_fn_error $? "Argument to enable/disable cheaders-obsolete must be yes or no" "$LINENO" 5 ;;
17126 esac
17128 else
17129 enable_cheaders_obsolete=no
17133 # Check whether --enable-cheaders was given.
17134 if test "${enable_cheaders+set}" = set; then :
17135 enableval=$enable_cheaders;
17136 case "$enableval" in
17137 c|c_global|c_std) ;;
17138 *) as_fn_error $? "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
17139 esac
17141 else
17142 enable_cheaders=$c_model
17146 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
17147 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
17148 if test $enable_cheaders = c_std ; then
17149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: the --enable-cheaders=c_std configuration is obsolete, c_global should be used instead" >&5
17150 $as_echo "$as_me: WARNING: the --enable-cheaders=c_std configuration is obsolete, c_global should be used instead" >&2;}
17151 { $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
17152 $as_echo "$as_me: WARNING: if you are unable to use c_global please report a bug or inform libstdc++@gcc.gnu.org" >&2;}
17153 if test $enable_cheaders_obsolete != yes ; then
17154 as_fn_error $? "use --enable-cheaders-obsolete to use c_std \"C\" headers" "$LINENO" 5
17158 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
17160 # Allow overrides to configure.host here.
17161 if test $enable_cheaders = c_global; then
17162 c_compatibility=yes
17171 # Check whether --enable-long-long was given.
17172 if test "${enable_long_long+set}" = set; then :
17173 enableval=$enable_long_long;
17174 case "$enableval" in
17175 yes|no) ;;
17176 *) as_fn_error $? "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
17177 esac
17179 else
17180 enable_long_long=yes
17184 if test $enable_long_long = yes; then
17186 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
17189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
17190 $as_echo_n "checking for enabled long long specializations... " >&6; }
17191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
17192 $as_echo "$enable_long_long" >&6; }
17195 # Check whether --enable-wchar_t was given.
17196 if test "${enable_wchar_t+set}" = set; then :
17197 enableval=$enable_wchar_t;
17198 case "$enableval" in
17199 yes|no) ;;
17200 *) as_fn_error $? "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
17201 esac
17203 else
17204 enable_wchar_t=yes
17209 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
17210 for ac_header in wchar.h
17211 do :
17212 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
17213 if test "x$ac_cv_header_wchar_h" = xyes; then :
17214 cat >>confdefs.h <<_ACEOF
17215 #define HAVE_WCHAR_H 1
17216 _ACEOF
17217 ac_has_wchar_h=yes
17218 else
17219 ac_has_wchar_h=no
17222 done
17224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
17225 $as_echo_n "checking for mbstate_t... " >&6; }
17226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17227 /* end confdefs.h. */
17228 #include <wchar.h>
17230 main ()
17232 mbstate_t teststate;
17234 return 0;
17236 _ACEOF
17237 if ac_fn_c_try_compile "$LINENO"; then :
17238 have_mbstate_t=yes
17239 else
17240 have_mbstate_t=no
17242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
17244 $as_echo "$have_mbstate_t" >&6; }
17245 if test x"$have_mbstate_t" = xyes; then
17247 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
17251 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
17252 # ac_has_wchar_h.
17253 for ac_header in wctype.h
17254 do :
17255 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
17256 if test "x$ac_cv_header_wctype_h" = xyes; then :
17257 cat >>confdefs.h <<_ACEOF
17258 #define HAVE_WCTYPE_H 1
17259 _ACEOF
17260 ac_has_wctype_h=yes
17261 else
17262 ac_has_wctype_h=no
17265 done
17268 if test x"$enable_wchar_t" = x"yes"; then
17271 ac_ext=cpp
17272 ac_cpp='$CXXCPP $CPPFLAGS'
17273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17278 if test x"$ac_has_wchar_h" = xyes &&
17279 test x"$ac_has_wctype_h" = xyes; then
17280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17281 /* end confdefs.h. */
17282 #include <wchar.h>
17283 #include <stddef.h>
17284 wint_t i;
17285 long l = WEOF;
17286 long j = WCHAR_MIN;
17287 long k = WCHAR_MAX;
17288 namespace test
17290 using ::btowc;
17291 using ::fgetwc;
17292 using ::fgetws;
17293 using ::fputwc;
17294 using ::fputws;
17295 using ::fwide;
17296 using ::fwprintf;
17297 using ::fwscanf;
17298 using ::getwc;
17299 using ::getwchar;
17300 using ::mbrlen;
17301 using ::mbrtowc;
17302 using ::mbsinit;
17303 using ::mbsrtowcs;
17304 using ::putwc;
17305 using ::putwchar;
17306 using ::swprintf;
17307 using ::swscanf;
17308 using ::ungetwc;
17309 using ::vfwprintf;
17310 using ::vswprintf;
17311 using ::vwprintf;
17312 using ::wcrtomb;
17313 using ::wcscat;
17314 using ::wcschr;
17315 using ::wcscmp;
17316 using ::wcscoll;
17317 using ::wcscpy;
17318 using ::wcscspn;
17319 using ::wcsftime;
17320 using ::wcslen;
17321 using ::wcsncat;
17322 using ::wcsncmp;
17323 using ::wcsncpy;
17324 using ::wcspbrk;
17325 using ::wcsrchr;
17326 using ::wcsrtombs;
17327 using ::wcsspn;
17328 using ::wcsstr;
17329 using ::wcstod;
17330 using ::wcstok;
17331 using ::wcstol;
17332 using ::wcstoul;
17333 using ::wcsxfrm;
17334 using ::wctob;
17335 using ::wmemchr;
17336 using ::wmemcmp;
17337 using ::wmemcpy;
17338 using ::wmemmove;
17339 using ::wmemset;
17340 using ::wprintf;
17341 using ::wscanf;
17345 main ()
17349 return 0;
17351 _ACEOF
17352 if ac_fn_cxx_try_compile "$LINENO"; then :
17354 else
17355 enable_wchar_t=no
17357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17358 else
17359 enable_wchar_t=no
17362 ac_ext=c
17363 ac_cpp='$CPP $CPPFLAGS'
17364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17370 if test x"$enable_wchar_t" = x"yes"; then
17372 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
17376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
17377 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
17378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
17379 $as_echo "$enable_wchar_t" >&6; }
17383 # Check whether --enable-c99 was given.
17384 if test "${enable_c99+set}" = set; then :
17385 enableval=$enable_c99;
17386 case "$enableval" in
17387 yes|no) ;;
17388 *) as_fn_error $? "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
17389 esac
17391 else
17392 enable_c99=yes
17397 if test x"$enable_c99" = x"yes"; then
17399 ac_ext=cpp
17400 ac_cpp='$CXXCPP $CPPFLAGS'
17401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17406 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
17407 # undefined may cause fake C99 facilities, like pre-standard snprintf,
17408 # to be spuriously enabled.
17409 ac_save_CXXFLAGS="$CXXFLAGS"
17410 CXXFLAGS="$CXXFLAGS -std=c++98"
17411 ac_save_LIBS="$LIBS"
17412 ac_save_gcc_no_link="$gcc_no_link"
17414 if test x$gcc_no_link != xyes; then
17415 # Use -fno-exceptions to that the C driver can link these tests without
17416 # hitting undefined references to personality routines.
17417 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17419 $as_echo_n "checking for sin in -lm... " >&6; }
17420 if ${ac_cv_lib_m_sin+:} false; then :
17421 $as_echo_n "(cached) " >&6
17422 else
17423 ac_check_lib_save_LIBS=$LIBS
17424 LIBS="-lm $LIBS"
17425 if test x$gcc_no_link = xyes; then
17426 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17429 /* end confdefs.h. */
17431 /* Override any GCC internal prototype to avoid an error.
17432 Use char because int might match the return type of a GCC
17433 builtin and then its argument prototype would still apply. */
17434 #ifdef __cplusplus
17435 extern "C"
17436 #endif
17437 char sin ();
17439 main ()
17441 return sin ();
17443 return 0;
17445 _ACEOF
17446 if ac_fn_cxx_try_link "$LINENO"; then :
17447 ac_cv_lib_m_sin=yes
17448 else
17449 ac_cv_lib_m_sin=no
17451 rm -f core conftest.err conftest.$ac_objext \
17452 conftest$ac_exeext conftest.$ac_ext
17453 LIBS=$ac_check_lib_save_LIBS
17455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17456 $as_echo "$ac_cv_lib_m_sin" >&6; }
17457 if test "x$ac_cv_lib_m_sin" = xyes; then :
17458 LIBS="$LIBS -lm"
17459 else
17461 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17462 gcc_no_link=yes
17468 # Check for the existence of <math.h> functions used if C99 is enabled.
17469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
17470 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
17471 if ${glibcxx_cv_c99_math_cxx98+:} false; then :
17472 $as_echo_n "(cached) " >&6
17473 else
17475 if test x$gcc_no_link = xyes; then
17476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17477 /* end confdefs.h. */
17478 #include <math.h>
17479 volatile double d1, d2;
17480 volatile int i;
17482 main ()
17484 i = fpclassify(d1);
17485 i = isfinite(d1);
17486 i = isinf(d1);
17487 i = isnan(d1);
17488 i = isnormal(d1);
17489 i = signbit(d1);
17490 i = isgreater(d1, d2);
17491 i = isgreaterequal(d1, d2);
17492 i = isless(d1, d2);
17493 i = islessequal(d1, d2);
17494 i = islessgreater(d1, d2);
17495 i = islessgreater(d1, d2);
17496 i = isunordered(d1, d2);
17499 return 0;
17501 _ACEOF
17502 if ac_fn_cxx_try_compile "$LINENO"; then :
17503 glibcxx_cv_c99_math_cxx98=yes
17504 else
17505 glibcxx_cv_c99_math_cxx98=no
17507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17508 else
17509 if test x$gcc_no_link = xyes; then
17510 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17513 /* end confdefs.h. */
17514 #include <math.h>
17515 volatile double d1, d2;
17516 volatile int i;
17518 main ()
17520 i = fpclassify(d1);
17521 i = isfinite(d1);
17522 i = isinf(d1);
17523 i = isnan(d1);
17524 i = isnormal(d1);
17525 i = signbit(d1);
17526 i = isgreater(d1, d2);
17527 i = isgreaterequal(d1, d2);
17528 i = isless(d1, d2);
17529 i = islessequal(d1, d2);
17530 i = islessgreater(d1, d2);
17531 i = islessgreater(d1, d2);
17532 i = isunordered(d1, d2);
17535 return 0;
17537 _ACEOF
17538 if ac_fn_cxx_try_link "$LINENO"; then :
17539 glibcxx_cv_c99_math_cxx98=yes
17540 else
17541 glibcxx_cv_c99_math_cxx98=no
17543 rm -f core conftest.err conftest.$ac_objext \
17544 conftest$ac_exeext conftest.$ac_ext
17548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
17549 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
17550 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
17552 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
17556 # Check for the existence of <complex.h> complex math functions.
17557 # This is necessary even though libstdc++ uses the builtin versions
17558 # of these functions, because if the builtin cannot be used, a reference
17559 # to the library function is emitted.
17560 for ac_header in tgmath.h
17561 do :
17562 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17563 if test "x$ac_cv_header_tgmath_h" = xyes; then :
17564 cat >>confdefs.h <<_ACEOF
17565 #define HAVE_TGMATH_H 1
17566 _ACEOF
17567 ac_has_tgmath_h=yes
17568 else
17569 ac_has_tgmath_h=no
17572 done
17574 for ac_header in complex.h
17575 do :
17576 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17577 if test "x$ac_cv_header_complex_h" = xyes; then :
17578 cat >>confdefs.h <<_ACEOF
17579 #define HAVE_COMPLEX_H 1
17580 _ACEOF
17581 ac_has_complex_h=yes
17582 else
17583 ac_has_complex_h=no
17586 done
17588 if test x"$ac_has_complex_h" = x"yes"; then
17589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
17590 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
17591 if ${glibcxx_cv_c99_complex_cxx98+:} false; then :
17592 $as_echo_n "(cached) " >&6
17593 else
17595 if test x$gcc_no_link = xyes; then
17596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17597 /* end confdefs.h. */
17598 #include <complex.h>
17599 typedef __complex__ float float_type;
17600 typedef __complex__ double double_type;
17601 typedef __complex__ long double ld_type;
17602 volatile float_type tmpf;
17603 volatile double_type tmpd;
17604 volatile ld_type tmpld;
17605 volatile float f;
17606 volatile double d;
17607 volatile long double ld;
17609 main ()
17611 f = cabsf(tmpf);
17612 f = cargf(tmpf);
17613 tmpf = ccosf(tmpf);
17614 tmpf = ccoshf(tmpf);
17615 tmpf = cexpf(tmpf);
17616 tmpf = clogf(tmpf);
17617 tmpf = csinf(tmpf);
17618 tmpf = csinhf(tmpf);
17619 tmpf = csqrtf(tmpf);
17620 tmpf = ctanf(tmpf);
17621 tmpf = ctanhf(tmpf);
17622 tmpf = cpowf(tmpf, tmpf);
17623 tmpf = cprojf(tmpf);
17624 d = cabs(tmpd);
17625 d = carg(tmpd);
17626 tmpd = ccos(tmpd);
17627 tmpd = ccosh(tmpd);
17628 tmpd = cexp(tmpd);
17629 tmpd = clog(tmpd);
17630 tmpd = csin(tmpd);
17631 tmpd = csinh(tmpd);
17632 tmpd = csqrt(tmpd);
17633 tmpd = ctan(tmpd);
17634 tmpd = ctanh(tmpd);
17635 tmpd = cpow(tmpd, tmpd);
17636 tmpd = cproj(tmpd);
17637 ld = cabsl(tmpld);
17638 ld = cargl(tmpld);
17639 tmpld = ccosl(tmpld);
17640 tmpld = ccoshl(tmpld);
17641 tmpld = cexpl(tmpld);
17642 tmpld = clogl(tmpld);
17643 tmpld = csinl(tmpld);
17644 tmpld = csinhl(tmpld);
17645 tmpld = csqrtl(tmpld);
17646 tmpld = ctanl(tmpld);
17647 tmpld = ctanhl(tmpld);
17648 tmpld = cpowl(tmpld, tmpld);
17649 tmpld = cprojl(tmpld);
17652 return 0;
17654 _ACEOF
17655 if ac_fn_cxx_try_compile "$LINENO"; then :
17656 glibcxx_cv_c99_complex_cxx98=yes
17657 else
17658 glibcxx_cv_c99_complex_cxx98=no
17660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17661 else
17662 if test x$gcc_no_link = xyes; then
17663 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17666 /* end confdefs.h. */
17667 #include <complex.h>
17668 typedef __complex__ float float_type;
17669 typedef __complex__ double double_type;
17670 typedef __complex__ long double ld_type;
17671 volatile float_type tmpf;
17672 volatile double_type tmpd;
17673 volatile ld_type tmpld;
17674 volatile float f;
17675 volatile double d;
17676 volatile long double ld;
17678 main ()
17680 f = cabsf(tmpf);
17681 f = cargf(tmpf);
17682 tmpf = ccosf(tmpf);
17683 tmpf = ccoshf(tmpf);
17684 tmpf = cexpf(tmpf);
17685 tmpf = clogf(tmpf);
17686 tmpf = csinf(tmpf);
17687 tmpf = csinhf(tmpf);
17688 tmpf = csqrtf(tmpf);
17689 tmpf = ctanf(tmpf);
17690 tmpf = ctanhf(tmpf);
17691 tmpf = cpowf(tmpf, tmpf);
17692 tmpf = cprojf(tmpf);
17693 d = cabs(tmpd);
17694 d = carg(tmpd);
17695 tmpd = ccos(tmpd);
17696 tmpd = ccosh(tmpd);
17697 tmpd = cexp(tmpd);
17698 tmpd = clog(tmpd);
17699 tmpd = csin(tmpd);
17700 tmpd = csinh(tmpd);
17701 tmpd = csqrt(tmpd);
17702 tmpd = ctan(tmpd);
17703 tmpd = ctanh(tmpd);
17704 tmpd = cpow(tmpd, tmpd);
17705 tmpd = cproj(tmpd);
17706 ld = cabsl(tmpld);
17707 ld = cargl(tmpld);
17708 tmpld = ccosl(tmpld);
17709 tmpld = ccoshl(tmpld);
17710 tmpld = cexpl(tmpld);
17711 tmpld = clogl(tmpld);
17712 tmpld = csinl(tmpld);
17713 tmpld = csinhl(tmpld);
17714 tmpld = csqrtl(tmpld);
17715 tmpld = ctanl(tmpld);
17716 tmpld = ctanhl(tmpld);
17717 tmpld = cpowl(tmpld, tmpld);
17718 tmpld = cprojl(tmpld);
17721 return 0;
17723 _ACEOF
17724 if ac_fn_cxx_try_link "$LINENO"; then :
17725 glibcxx_cv_c99_complex_cxx98=yes
17726 else
17727 glibcxx_cv_c99_complex_cxx98=no
17729 rm -f core conftest.err conftest.$ac_objext \
17730 conftest$ac_exeext conftest.$ac_ext
17734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
17735 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
17737 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
17739 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
17743 # Check for the existence in <stdio.h> of vscanf, et. al.
17744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
17745 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
17746 if ${glibcxx_cv_c99_stdio_cxx98+:} false; then :
17747 $as_echo_n "(cached) " >&6
17748 else
17750 if test x$gcc_no_link = xyes; then
17751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17752 /* end confdefs.h. */
17753 #include <stdio.h>
17754 #include <stdarg.h>
17755 void foo(char* fmt, ...)
17757 va_list args; va_start(args, fmt);
17758 vfscanf(stderr, "%i", args);
17759 vscanf("%i", args);
17760 vsnprintf(fmt, 0, "%i", args);
17761 vsscanf(fmt, "%i", args);
17762 snprintf(fmt, 0, "%i", 1);
17765 main ()
17769 return 0;
17771 _ACEOF
17772 if ac_fn_cxx_try_compile "$LINENO"; then :
17773 glibcxx_cv_c99_stdio_cxx98=yes
17774 else
17775 glibcxx_cv_c99_stdio_cxx98=no
17777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17778 else
17779 if test x$gcc_no_link = xyes; then
17780 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17783 /* end confdefs.h. */
17784 #include <stdio.h>
17785 #include <stdarg.h>
17786 void foo(char* fmt, ...)
17788 va_list args; va_start(args, fmt);
17789 vfscanf(stderr, "%i", args);
17790 vscanf("%i", args);
17791 vsnprintf(fmt, 0, "%i", args);
17792 vsscanf(fmt, "%i", args);
17793 snprintf(fmt, 0, "%i", 1);
17796 main ()
17800 return 0;
17802 _ACEOF
17803 if ac_fn_cxx_try_link "$LINENO"; then :
17804 glibcxx_cv_c99_stdio_cxx98=yes
17805 else
17806 glibcxx_cv_c99_stdio_cxx98=no
17808 rm -f core conftest.err conftest.$ac_objext \
17809 conftest$ac_exeext conftest.$ac_ext
17813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
17814 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
17815 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
17817 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
17821 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
17823 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
17824 if ${glibcxx_cv_c99_stdlib_cxx98+:} false; then :
17825 $as_echo_n "(cached) " >&6
17826 else
17828 if test x$gcc_no_link = xyes; then
17829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17830 /* end confdefs.h. */
17831 #include <stdlib.h>
17832 volatile float f;
17833 volatile long double ld;
17834 volatile unsigned long long ll;
17835 lldiv_t mydivt;
17837 main ()
17839 char* tmp;
17840 f = strtof("gnu", &tmp);
17841 ld = strtold("gnu", &tmp);
17842 ll = strtoll("gnu", &tmp, 10);
17843 ll = strtoull("gnu", &tmp, 10);
17844 ll = llabs(10);
17845 mydivt = lldiv(10,1);
17846 ll = mydivt.quot;
17847 ll = mydivt.rem;
17848 ll = atoll("10");
17849 _Exit(0);
17852 return 0;
17854 _ACEOF
17855 if ac_fn_cxx_try_compile "$LINENO"; then :
17856 glibcxx_cv_c99_stdlib_cxx98=yes
17857 else
17858 glibcxx_cv_c99_stdlib_cxx98=no
17860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17861 else
17862 if test x$gcc_no_link = xyes; then
17863 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17866 /* end confdefs.h. */
17867 #include <stdlib.h>
17868 volatile float f;
17869 volatile long double ld;
17870 volatile unsigned long long ll;
17871 lldiv_t mydivt;
17873 main ()
17875 char* tmp;
17876 f = strtof("gnu", &tmp);
17877 ld = strtold("gnu", &tmp);
17878 ll = strtoll("gnu", &tmp, 10);
17879 ll = strtoull("gnu", &tmp, 10);
17880 ll = llabs(10);
17881 mydivt = lldiv(10,1);
17882 ll = mydivt.quot;
17883 ll = mydivt.rem;
17884 ll = atoll("10");
17885 _Exit(0);
17888 return 0;
17890 _ACEOF
17891 if ac_fn_cxx_try_link "$LINENO"; then :
17892 glibcxx_cv_c99_stdlib_cxx98=yes
17893 else
17894 glibcxx_cv_c99_stdlib_cxx98=no
17896 rm -f core conftest.err conftest.$ac_objext \
17897 conftest$ac_exeext conftest.$ac_ext
17901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17902 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17903 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17905 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17909 # Check for the existence in <wchar.h> of wcstold, etc.
17910 if test x"$ac_has_wchar_h" = xyes &&
17911 test x"$ac_has_wctype_h" = xyes; then
17912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17913 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17914 if ${glibcxx_cv_c99_wchar_cxx98+:} false; then :
17915 $as_echo_n "(cached) " >&6
17916 else
17918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17919 /* end confdefs.h. */
17920 #include <wchar.h>
17921 namespace test
17923 using ::wcstold;
17924 using ::wcstoll;
17925 using ::wcstoull;
17929 main ()
17933 return 0;
17935 _ACEOF
17936 if ac_fn_cxx_try_compile "$LINENO"; then :
17937 glibcxx_cv_c99_wchar_cxx98=yes
17938 else
17939 glibcxx_cv_c99_wchar_cxx98=no
17941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17945 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17947 # Checks for wide character functions that may not be present.
17948 # Injection of these is wrapped with guard macros.
17949 # NB: only put functions here, instead of immediately above, if
17950 # absolutely necessary.
17951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17952 /* end confdefs.h. */
17953 #include <wchar.h>
17954 namespace test { using ::vfwscanf; }
17956 main ()
17960 return 0;
17962 _ACEOF
17963 if ac_fn_cxx_try_compile "$LINENO"; then :
17965 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17971 /* end confdefs.h. */
17972 #include <wchar.h>
17973 namespace test { using ::vswscanf; }
17975 main ()
17979 return 0;
17981 _ACEOF
17982 if ac_fn_cxx_try_compile "$LINENO"; then :
17984 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17990 /* end confdefs.h. */
17991 #include <wchar.h>
17992 namespace test { using ::vwscanf; }
17994 main ()
17998 return 0;
18000 _ACEOF
18001 if ac_fn_cxx_try_compile "$LINENO"; then :
18003 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
18006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18009 /* end confdefs.h. */
18010 #include <wchar.h>
18011 namespace test { using ::wcstof; }
18013 main ()
18017 return 0;
18019 _ACEOF
18020 if ac_fn_cxx_try_compile "$LINENO"; then :
18022 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
18025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18028 /* end confdefs.h. */
18029 #include <wctype.h>
18031 main ()
18033 wint_t t; int i = iswblank(t);
18035 return 0;
18037 _ACEOF
18038 if ac_fn_cxx_try_compile "$LINENO"; then :
18040 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
18043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18045 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
18047 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
18052 # Option parsed, now set things appropriately.
18053 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
18054 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
18055 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
18056 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
18057 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
18058 enable_c99=no;
18059 else
18061 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
18065 gcc_no_link="$ac_save_gcc_no_link"
18066 LIBS="$ac_save_LIBS"
18067 CXXFLAGS="$ac_save_CXXFLAGS"
18068 ac_ext=c
18069 ac_cpp='$CPP $CPPFLAGS'
18070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18076 ac_ext=cpp
18077 ac_cpp='$CXXCPP $CPPFLAGS'
18078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18083 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
18084 # For the reasons given above we use -std=c++11 not -std=gnu++11.
18085 ac_save_CXXFLAGS="$CXXFLAGS"
18086 CXXFLAGS="$CXXFLAGS -std=c++11"
18087 ac_save_LIBS="$LIBS"
18088 ac_save_gcc_no_link="$gcc_no_link"
18090 if test x$gcc_no_link != xyes; then
18091 # Use -fno-exceptions to that the C driver can link these tests without
18092 # hitting undefined references to personality routines.
18093 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
18095 $as_echo_n "checking for sin in -lm... " >&6; }
18096 if ${ac_cv_lib_m_sin+:} false; then :
18097 $as_echo_n "(cached) " >&6
18098 else
18099 ac_check_lib_save_LIBS=$LIBS
18100 LIBS="-lm $LIBS"
18101 if test x$gcc_no_link = xyes; then
18102 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18105 /* end confdefs.h. */
18107 /* Override any GCC internal prototype to avoid an error.
18108 Use char because int might match the return type of a GCC
18109 builtin and then its argument prototype would still apply. */
18110 #ifdef __cplusplus
18111 extern "C"
18112 #endif
18113 char sin ();
18115 main ()
18117 return sin ();
18119 return 0;
18121 _ACEOF
18122 if ac_fn_cxx_try_link "$LINENO"; then :
18123 ac_cv_lib_m_sin=yes
18124 else
18125 ac_cv_lib_m_sin=no
18127 rm -f core conftest.err conftest.$ac_objext \
18128 conftest$ac_exeext conftest.$ac_ext
18129 LIBS=$ac_check_lib_save_LIBS
18131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
18132 $as_echo "$ac_cv_lib_m_sin" >&6; }
18133 if test "x$ac_cv_lib_m_sin" = xyes; then :
18134 LIBS="$LIBS -lm"
18135 else
18137 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
18138 gcc_no_link=yes
18144 # Check for the existence of <stdint.h> types.
18145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdint.h> for C++11" >&5
18146 $as_echo_n "checking for ISO C99 support in <stdint.h> for C++11... " >&6; }
18147 if ${glibcxx_cv_c99_stdint+:} false; then :
18148 $as_echo_n "(cached) " >&6
18149 else
18151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18152 /* end confdefs.h. */
18153 #define __STDC_LIMIT_MACROS
18154 #define __STDC_CONSTANT_MACROS
18155 #include <stdint.h>
18157 main ()
18159 typedef int8_t my_int8_t;
18160 my_int8_t i8 = INT8_MIN;
18161 i8 = INT8_MAX;
18162 typedef int16_t my_int16_t;
18163 my_int16_t i16 = INT16_MIN;
18164 i16 = INT16_MAX;
18165 typedef int32_t my_int32_t;
18166 my_int32_t i32 = INT32_MIN;
18167 i32 = INT32_MAX;
18168 typedef int64_t my_int64_t;
18169 my_int64_t i64 = INT64_MIN;
18170 i64 = INT64_MAX;
18171 typedef int_fast8_t my_int_fast8_t;
18172 my_int_fast8_t if8 = INT_FAST8_MIN;
18173 if8 = INT_FAST8_MAX;
18174 typedef int_fast16_t my_int_fast16_t;
18175 my_int_fast16_t if16 = INT_FAST16_MIN;
18176 if16 = INT_FAST16_MAX;
18177 typedef int_fast32_t my_int_fast32_t;
18178 my_int_fast32_t if32 = INT_FAST32_MIN;
18179 if32 = INT_FAST32_MAX;
18180 typedef int_fast64_t my_int_fast64_t;
18181 my_int_fast64_t if64 = INT_FAST64_MIN;
18182 if64 = INT_FAST64_MAX;
18183 typedef int_least8_t my_int_least8_t;
18184 my_int_least8_t il8 = INT_LEAST8_MIN;
18185 il8 = INT_LEAST8_MAX;
18186 typedef int_least16_t my_int_least16_t;
18187 my_int_least16_t il16 = INT_LEAST16_MIN;
18188 il16 = INT_LEAST16_MAX;
18189 typedef int_least32_t my_int_least32_t;
18190 my_int_least32_t il32 = INT_LEAST32_MIN;
18191 il32 = INT_LEAST32_MAX;
18192 typedef int_least64_t my_int_least64_t;
18193 my_int_least64_t il64 = INT_LEAST64_MIN;
18194 il64 = INT_LEAST64_MAX;
18195 typedef intmax_t my_intmax_t;
18196 my_intmax_t im = INTMAX_MAX;
18197 im = INTMAX_MIN;
18198 typedef intptr_t my_intptr_t;
18199 my_intptr_t ip = INTPTR_MAX;
18200 ip = INTPTR_MIN;
18201 typedef uint8_t my_uint8_t;
18202 my_uint8_t ui8 = UINT8_MAX;
18203 ui8 = UINT8_MAX;
18204 typedef uint16_t my_uint16_t;
18205 my_uint16_t ui16 = UINT16_MAX;
18206 ui16 = UINT16_MAX;
18207 typedef uint32_t my_uint32_t;
18208 my_uint32_t ui32 = UINT32_MAX;
18209 ui32 = UINT32_MAX;
18210 typedef uint64_t my_uint64_t;
18211 my_uint64_t ui64 = UINT64_MAX;
18212 ui64 = UINT64_MAX;
18213 typedef uint_fast8_t my_uint_fast8_t;
18214 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18215 uif8 = UINT_FAST8_MAX;
18216 typedef uint_fast16_t my_uint_fast16_t;
18217 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18218 uif16 = UINT_FAST16_MAX;
18219 typedef uint_fast32_t my_uint_fast32_t;
18220 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18221 uif32 = UINT_FAST32_MAX;
18222 typedef uint_fast64_t my_uint_fast64_t;
18223 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18224 uif64 = UINT_FAST64_MAX;
18225 typedef uint_least8_t my_uint_least8_t;
18226 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18227 uil8 = UINT_LEAST8_MAX;
18228 typedef uint_least16_t my_uint_least16_t;
18229 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18230 uil16 = UINT_LEAST16_MAX;
18231 typedef uint_least32_t my_uint_least32_t;
18232 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18233 uil32 = UINT_LEAST32_MAX;
18234 typedef uint_least64_t my_uint_least64_t;
18235 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18236 uil64 = UINT_LEAST64_MAX;
18237 typedef uintmax_t my_uintmax_t;
18238 my_uintmax_t uim = UINTMAX_MAX;
18239 uim = UINTMAX_MAX;
18240 typedef uintptr_t my_uintptr_t;
18241 my_uintptr_t uip = UINTPTR_MAX;
18242 uip = UINTPTR_MAX;
18245 return 0;
18247 _ACEOF
18248 if ac_fn_cxx_try_compile "$LINENO"; then :
18249 glibcxx_cv_c99_stdint=yes
18250 else
18251 glibcxx_cv_c99_stdint=no
18253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint" >&5
18257 $as_echo "$glibcxx_cv_c99_stdint" >&6; }
18258 if test x"$glibcxx_cv_c99_stdint" = x"yes"; then
18260 $as_echo "#define _GLIBCXX_USE_C99_STDINT 1" >>confdefs.h
18264 # Check for the existence of <inttypes.h> functions (NB: doesn't make
18265 # sense if the glibcxx_cv_c99_stdint check fails, per C99, 7.8/1).
18266 ac_c99_inttypes=no;
18267 if test x"$glibcxx_cv_c99_stdint" = x"yes"; then
18268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support for C++11 in <inttypes.h>" >&5
18269 $as_echo_n "checking for ISO C99 support for C++11 in <inttypes.h>... " >&6; }
18270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18271 /* end confdefs.h. */
18272 #include <inttypes.h>
18274 main ()
18276 intmax_t i, numer, denom, base;
18277 const char* s;
18278 char** endptr;
18279 intmax_t ret = imaxabs(i);
18280 imaxdiv_t dret = imaxdiv(numer, denom);
18281 ret = strtoimax(s, endptr, base);
18282 uintmax_t uret = strtoumax(s, endptr, base);
18285 return 0;
18287 _ACEOF
18288 if ac_fn_cxx_try_compile "$LINENO"; then :
18289 ac_c99_inttypes=yes
18290 else
18291 ac_c99_inttypes=no
18293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes" >&5
18295 $as_echo "$ac_c99_inttypes" >&6; }
18297 if test x"$ac_c99_inttypes" = x"yes"; then
18299 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES 1" >>confdefs.h
18303 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
18304 # make sense if the glibcxx_cv_c99_stdint check fails, per C99, 7.8/1).
18305 ac_c99_inttypes_wchar_t=no;
18306 if test x"$glibcxx_cv_c99_stdint" = x"yes"; then
18307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support for C++11 in <inttypes.h>" >&5
18308 $as_echo_n "checking for wchar_t ISO C99 support for C++11 in <inttypes.h>... " >&6; }
18309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18310 /* end confdefs.h. */
18311 #include <inttypes.h>
18313 main ()
18315 intmax_t base;
18316 const wchar_t* s;
18317 wchar_t** endptr;
18318 intmax_t ret = wcstoimax(s, endptr, base);
18319 uintmax_t uret = wcstoumax(s, endptr, base);
18322 return 0;
18324 _ACEOF
18325 if ac_fn_cxx_try_compile "$LINENO"; then :
18326 ac_c99_inttypes_wchar_t=yes
18327 else
18328 ac_c99_inttypes_wchar_t=no
18330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t" >&5
18332 $as_echo "$ac_c99_inttypes_wchar_t" >&6; }
18334 if test x"$ac_c99_inttypes_wchar_t" = x"yes"; then
18336 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T 1" >>confdefs.h
18340 # Check for the existence of <math.h> generic macros used if C99 is enabled.
18341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 generic macro support in <math.h> for C++11" >&5
18342 $as_echo_n "checking for ISO C99 generic macro support in <math.h> for C++11... " >&6; }
18343 if ${glibcxx_cv_c99_math_cxx11+:} false; then :
18344 $as_echo_n "(cached) " >&6
18345 else
18347 if test x$gcc_no_link = xyes; then
18348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18349 /* end confdefs.h. */
18350 #include <math.h>
18351 volatile double d1, d2;
18352 volatile int i;
18354 main ()
18356 i = fpclassify(d1);
18357 i = isfinite(d1);
18358 i = isinf(d1);
18359 i = isnan(d1);
18360 i = isnormal(d1);
18361 i = signbit(d1);
18362 i = isgreater(d1, d2);
18363 i = isgreaterequal(d1, d2);
18364 i = isless(d1, d2);
18365 i = islessequal(d1, d2);
18366 i = islessgreater(d1, d2);
18367 i = islessgreater(d1, d2);
18368 i = isunordered(d1, d2);
18371 return 0;
18373 _ACEOF
18374 if ac_fn_cxx_try_compile "$LINENO"; then :
18375 glibcxx_cv_c99_math_cxx11=yes
18376 else
18377 glibcxx_cv_c99_math_cxx11=no
18379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18380 else
18381 if test x$gcc_no_link = xyes; then
18382 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18385 /* end confdefs.h. */
18386 #include <math.h>
18387 volatile double d1, d2;
18388 volatile int i;
18390 main ()
18392 i = fpclassify(d1);
18393 i = isfinite(d1);
18394 i = isinf(d1);
18395 i = isnan(d1);
18396 i = isnormal(d1);
18397 i = signbit(d1);
18398 i = isgreater(d1, d2);
18399 i = isgreaterequal(d1, d2);
18400 i = isless(d1, d2);
18401 i = islessequal(d1, d2);
18402 i = islessgreater(d1, d2);
18403 i = islessgreater(d1, d2);
18404 i = isunordered(d1, d2);
18407 return 0;
18409 _ACEOF
18410 if ac_fn_cxx_try_link "$LINENO"; then :
18411 glibcxx_cv_c99_math_cxx11=yes
18412 else
18413 glibcxx_cv_c99_math_cxx11=no
18415 rm -f core conftest.err conftest.$ac_objext \
18416 conftest$ac_exeext conftest.$ac_ext
18420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
18421 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
18422 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
18424 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
18428 # Check for the existence of <math.h> typedefs.
18429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 float types for C++11 in <math.h>" >&5
18430 $as_echo_n "checking for ISO C99 float types for C++11 in <math.h>... " >&6; }
18431 if ${glibcxx_cv_c99_flt_eval_types+:} false; then :
18432 $as_echo_n "(cached) " >&6
18433 else
18435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18436 /* end confdefs.h. */
18437 #include <math.h>
18439 main ()
18441 // Types
18442 typedef double_t my_double_t;
18443 typedef float_t my_float_t;
18446 return 0;
18448 _ACEOF
18449 if ac_fn_cxx_try_compile "$LINENO"; then :
18450 glibcxx_cv_c99_flt_eval_types=yes
18451 else
18452 glibcxx_cv_c99_flt_eval_types=no
18454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_flt_eval_types" >&5
18458 $as_echo "$glibcxx_cv_c99_flt_eval_types" >&6; }
18459 if test x"$glibcxx_cv_c99_flt_eval_types" = x"yes"; then
18461 $as_echo "#define HAVE_C99_FLT_EVAL_TYPES 1" >>confdefs.h
18465 # Check for the existence of <math.h> functions.
18466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 function support for C++11 in <math.h>" >&5
18467 $as_echo_n "checking for ISO C99 function support for C++11 in <math.h>... " >&6; }
18468 if ${glibcxx_cv_c99_math_funcs+:} false; then :
18469 $as_echo_n "(cached) " >&6
18470 else
18472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18473 /* end confdefs.h. */
18474 #include <math.h>
18476 main ()
18479 // Hyperbolic
18480 acosh(0.0);
18481 acoshf(0.0f);
18482 acoshl(0.0l);
18483 asinh(0.0);
18484 asinhf(0.0f);
18485 asinhl(0.0l);
18486 atanh(0.0);
18487 atanhf(0.0f);
18488 atanhl(0.0l);
18489 // Exponential and logarithmic
18490 exp2(0.0);
18491 exp2f(0.0f);
18492 exp2l(0.0l);
18493 expm1(0.0);
18494 expm1f(0.0f);
18495 expm1l(0.0l);
18496 ilogb(0.0);
18497 ilogbf(0.0f);
18498 ilogbl(0.0l);
18499 log1p(0.0);
18500 log1pf(0.0f);
18501 log1pl(0.0l);
18502 log2(0.0);
18503 log2f(0.0f);
18504 log2l(0.0l);
18505 logb(0.0);
18506 logbf(0.0f);
18507 logbl(0.0l);
18508 scalbln(0.0, 0l);
18509 scalblnf(0.0f, 0l);
18510 scalblnl(0.0l, 0l);
18511 scalbn(0.0, 0);
18512 scalbnf(0.0f, 0);
18513 scalbnl(0.0l, 0);
18514 // Power and absolute-value
18515 cbrt(0.0);
18516 cbrtf(0.0f);
18517 cbrtl(0.0l);
18518 hypot(0.0, 0.0);
18519 hypotf(0.0f, 0.0f);
18520 hypotl(0.0l, 0.0l);
18521 // Error and gamma
18522 erf(0.0);
18523 erff(0.0f);
18524 erfl(0.0l);
18525 erfc(0.0);
18526 erfcf(0.0f);
18527 erfcl(0.0l);
18528 lgamma(0.0);
18529 lgammaf(0.0f);
18530 lgammal(0.0l);
18531 tgamma(0.0);
18532 tgammaf(0.0f);
18533 tgammal(0.0l);
18534 // Nearest integer
18535 nearbyint(0.0);
18536 nearbyintf(0.0f);
18537 nearbyintl(0.0l);
18538 rint(0.0);
18539 rintf(0.0f);
18540 rintl(0.0l);
18541 round(0.0);
18542 roundf(0.0f);
18543 roundl(0.0l);
18544 lrint(0.0);
18545 lrintf(0.0f);
18546 lrintl(0.0l);
18547 lround(0.0);
18548 lroundf(0.0f);
18549 lroundl(0.0l);
18550 #ifndef __APPLE__ /* see below */
18551 llrint(0.0);
18552 llrintf(0.0f);
18553 llrintl(0.0l);
18554 llround(0.0);
18555 llroundf(0.0f);
18556 llroundl(0.0l);
18557 #endif
18558 trunc(0.0);
18559 truncf(0.0f);
18560 truncl(0.0l);
18561 // Remainder
18562 remainder(0.0, 0.0);
18563 remainderf(0.0f, 0.0f);
18564 remainderl(0.0l, 0.0l);
18565 remquo(0.0, 0.0, 0);
18566 remquof(0.0f, 0.0f, 0);
18567 remquol(0.0l, 0.0l, 0);
18568 // Manipulation
18569 copysign(0.0, 0.0);
18570 copysignf(0.0f, 0.0f);
18571 copysignl(0.0l, 0.0l);
18572 nan("");
18573 nanf("");
18574 nanl("");
18575 nextafter(0.0, 0.0);
18576 nextafterf(0.0f, 0.0f);
18577 nextafterl(0.0l, 0.0l);
18578 nexttoward(0.0, 0.0);
18579 nexttowardf(0.0f, 0.0f);
18580 nexttowardl(0.0l, 0.0l);
18581 // Max, min, positive difference
18582 fdim(0.0, 0.0);
18583 fdimf(0.0f, 0.0f);
18584 fdiml(0.0l, 0.0l);
18585 fmax(0.0, 0.0);
18586 fmaxf(0.0f, 0.0f);
18587 fmaxl(0.0l, 0.0l);
18588 fmin(0.0, 0.0);
18589 fminf(0.0f, 0.0f);
18590 fminl(0.0l, 0.0l);
18591 // FP Multiply-add
18592 fma(0.0, 0.0, 0.0);
18593 fmaf(0.0f, 0.0f, 0.0f);
18594 fmal(0.0l, 0.0l, 0.0l);
18597 return 0;
18599 _ACEOF
18600 if ac_fn_cxx_try_compile "$LINENO"; then :
18601 glibcxx_cv_c99_math_funcs=yes
18602 else
18603 glibcxx_cv_c99_math_funcs=no
18605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_funcs" >&5
18609 $as_echo "$glibcxx_cv_c99_math_funcs" >&6; }
18610 if test x"$glibcxx_cv_c99_math_funcs" = x"yes"; then
18612 $as_echo "#define _GLIBCXX_USE_C99_MATH_FUNCS 1" >>confdefs.h
18615 case "${target_os}" in
18616 darwin*)
18617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
18618 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
18619 if ${glibcxx_cv_c99_math_llround+:} false; then :
18620 $as_echo_n "(cached) " >&6
18621 else
18623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18624 /* end confdefs.h. */
18625 #include <math.h>
18627 main ()
18629 llrint(0.0);
18630 llrintf(0.0f);
18631 llrintl(0.0l);
18632 llround(0.0);
18633 llroundf(0.0f);
18634 llroundl(0.0l);
18637 return 0;
18639 _ACEOF
18640 if ac_fn_cxx_try_compile "$LINENO"; then :
18641 glibcxx_cv_c99_math_llround=yes
18642 else
18643 glibcxx_cv_c99_math_llround=no
18645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
18649 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
18651 esac
18652 if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
18654 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
18659 # Check for the existence of <complex.h> complex math functions.
18660 # This is necessary even though libstdc++ uses the builtin versions
18661 # of these functions, because if the builtin cannot be used, a reference
18662 # to the library function is emitted.
18663 for ac_header in tgmath.h
18664 do :
18665 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
18666 if test "x$ac_cv_header_tgmath_h" = xyes; then :
18667 cat >>confdefs.h <<_ACEOF
18668 #define HAVE_TGMATH_H 1
18669 _ACEOF
18670 ac_has_tgmath_h=yes
18671 else
18672 ac_has_tgmath_h=no
18675 done
18677 for ac_header in complex.h
18678 do :
18679 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18680 if test "x$ac_cv_header_complex_h" = xyes; then :
18681 cat >>confdefs.h <<_ACEOF
18682 #define HAVE_COMPLEX_H 1
18683 _ACEOF
18684 ac_has_complex_h=yes
18685 else
18686 ac_has_complex_h=no
18689 done
18691 if test x"$ac_has_complex_h" = x"yes"; then
18692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
18693 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
18694 if ${glibcxx_cv_c99_complex_cxx11+:} false; then :
18695 $as_echo_n "(cached) " >&6
18696 else
18698 if test x$gcc_no_link = xyes; then
18699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18700 /* end confdefs.h. */
18701 #include <complex.h>
18702 typedef __complex__ float float_type;
18703 typedef __complex__ double double_type;
18704 typedef __complex__ long double ld_type;
18705 volatile float_type tmpf;
18706 volatile double_type tmpd;
18707 volatile ld_type tmpld;
18708 volatile float f;
18709 volatile double d;
18710 volatile long double ld;
18712 main ()
18714 f = cabsf(tmpf);
18715 f = cargf(tmpf);
18716 tmpf = ccosf(tmpf);
18717 tmpf = ccoshf(tmpf);
18718 tmpf = cexpf(tmpf);
18719 tmpf = clogf(tmpf);
18720 tmpf = csinf(tmpf);
18721 tmpf = csinhf(tmpf);
18722 tmpf = csqrtf(tmpf);
18723 tmpf = ctanf(tmpf);
18724 tmpf = ctanhf(tmpf);
18725 tmpf = cpowf(tmpf, tmpf);
18726 tmpf = cprojf(tmpf);
18727 d = cabs(tmpd);
18728 d = carg(tmpd);
18729 tmpd = ccos(tmpd);
18730 tmpd = ccosh(tmpd);
18731 tmpd = cexp(tmpd);
18732 tmpd = clog(tmpd);
18733 tmpd = csin(tmpd);
18734 tmpd = csinh(tmpd);
18735 tmpd = csqrt(tmpd);
18736 tmpd = ctan(tmpd);
18737 tmpd = ctanh(tmpd);
18738 tmpd = cpow(tmpd, tmpd);
18739 tmpd = cproj(tmpd);
18740 ld = cabsl(tmpld);
18741 ld = cargl(tmpld);
18742 tmpld = ccosl(tmpld);
18743 tmpld = ccoshl(tmpld);
18744 tmpld = cexpl(tmpld);
18745 tmpld = clogl(tmpld);
18746 tmpld = csinl(tmpld);
18747 tmpld = csinhl(tmpld);
18748 tmpld = csqrtl(tmpld);
18749 tmpld = ctanl(tmpld);
18750 tmpld = ctanhl(tmpld);
18751 tmpld = cpowl(tmpld, tmpld);
18752 tmpld = cprojl(tmpld);
18755 return 0;
18757 _ACEOF
18758 if ac_fn_cxx_try_compile "$LINENO"; then :
18759 glibcxx_cv_c99_complex_cxx11=yes
18760 else
18761 glibcxx_cv_c99_complex_cxx11=no
18763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18764 else
18765 if test x$gcc_no_link = xyes; then
18766 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18769 /* end confdefs.h. */
18770 #include <complex.h>
18771 typedef __complex__ float float_type;
18772 typedef __complex__ double double_type;
18773 typedef __complex__ long double ld_type;
18774 volatile float_type tmpf;
18775 volatile double_type tmpd;
18776 volatile ld_type tmpld;
18777 volatile float f;
18778 volatile double d;
18779 volatile long double ld;
18781 main ()
18783 f = cabsf(tmpf);
18784 f = cargf(tmpf);
18785 tmpf = ccosf(tmpf);
18786 tmpf = ccoshf(tmpf);
18787 tmpf = cexpf(tmpf);
18788 tmpf = clogf(tmpf);
18789 tmpf = csinf(tmpf);
18790 tmpf = csinhf(tmpf);
18791 tmpf = csqrtf(tmpf);
18792 tmpf = ctanf(tmpf);
18793 tmpf = ctanhf(tmpf);
18794 tmpf = cpowf(tmpf, tmpf);
18795 tmpf = cprojf(tmpf);
18796 d = cabs(tmpd);
18797 d = carg(tmpd);
18798 tmpd = ccos(tmpd);
18799 tmpd = ccosh(tmpd);
18800 tmpd = cexp(tmpd);
18801 tmpd = clog(tmpd);
18802 tmpd = csin(tmpd);
18803 tmpd = csinh(tmpd);
18804 tmpd = csqrt(tmpd);
18805 tmpd = ctan(tmpd);
18806 tmpd = ctanh(tmpd);
18807 tmpd = cpow(tmpd, tmpd);
18808 tmpd = cproj(tmpd);
18809 ld = cabsl(tmpld);
18810 ld = cargl(tmpld);
18811 tmpld = ccosl(tmpld);
18812 tmpld = ccoshl(tmpld);
18813 tmpld = cexpl(tmpld);
18814 tmpld = clogl(tmpld);
18815 tmpld = csinl(tmpld);
18816 tmpld = csinhl(tmpld);
18817 tmpld = csqrtl(tmpld);
18818 tmpld = ctanl(tmpld);
18819 tmpld = ctanhl(tmpld);
18820 tmpld = cpowl(tmpld, tmpld);
18821 tmpld = cprojl(tmpld);
18824 return 0;
18826 _ACEOF
18827 if ac_fn_cxx_try_link "$LINENO"; then :
18828 glibcxx_cv_c99_complex_cxx11=yes
18829 else
18830 glibcxx_cv_c99_complex_cxx11=no
18832 rm -f core conftest.err conftest.$ac_objext \
18833 conftest$ac_exeext conftest.$ac_ext
18837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
18838 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
18840 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
18842 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
18846 # Check for the existence of <complex.h> complex inverse trigonometric
18847 # math functions used by <complex> for C++11 and later.
18848 ac_c99_complex_arc=no;
18849 if test x"$ac_has_complex_h" = x"yes"; then
18850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support for inverse trig functions in <complex.h>" >&5
18851 $as_echo_n "checking for ISO C99 support for inverse trig functions in <complex.h>... " >&6; }
18852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18853 /* end confdefs.h. */
18854 #include <complex.h>
18856 main ()
18858 typedef __complex__ float float_type; float_type tmpf;
18859 cacosf(tmpf);
18860 casinf(tmpf);
18861 catanf(tmpf);
18862 cacoshf(tmpf);
18863 casinhf(tmpf);
18864 catanhf(tmpf);
18865 typedef __complex__ double double_type; double_type tmpd;
18866 cacos(tmpd);
18867 casin(tmpd);
18868 catan(tmpd);
18869 cacosh(tmpd);
18870 casinh(tmpd);
18871 catanh(tmpd);
18872 typedef __complex__ long double ld_type; ld_type tmpld;
18873 cacosl(tmpld);
18874 casinl(tmpld);
18875 catanl(tmpld);
18876 cacoshl(tmpld);
18877 casinhl(tmpld);
18878 catanhl(tmpld);
18881 return 0;
18883 _ACEOF
18884 if ac_fn_cxx_try_compile "$LINENO"; then :
18885 ac_c99_complex_arc=yes
18886 else
18887 ac_c99_complex_arc=no
18889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_arc" >&5
18892 $as_echo "$ac_c99_complex_arc" >&6; }
18893 if test x"$ac_c99_complex_arc" = x"yes"; then
18895 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_ARC 1" >>confdefs.h
18899 # Check for the existence in <stdio.h> of vscanf, et. al.
18900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
18901 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
18902 if ${glibcxx_cv_c99_stdio_cxx11+:} false; then :
18903 $as_echo_n "(cached) " >&6
18904 else
18906 if test x$gcc_no_link = xyes; then
18907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18908 /* end confdefs.h. */
18909 #include <stdio.h>
18910 #include <stdarg.h>
18911 void foo(char* fmt, ...)
18913 va_list args; va_start(args, fmt);
18914 vfscanf(stderr, "%i", args);
18915 vscanf("%i", args);
18916 vsnprintf(fmt, 0, "%i", args);
18917 vsscanf(fmt, "%i", args);
18918 snprintf(fmt, 0, "%i", 1);
18921 main ()
18925 return 0;
18927 _ACEOF
18928 if ac_fn_cxx_try_compile "$LINENO"; then :
18929 glibcxx_cv_c99_stdio_cxx11=yes
18930 else
18931 glibcxx_cv_c99_stdio_cxx11=no
18933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18934 else
18935 if test x$gcc_no_link = xyes; then
18936 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18939 /* end confdefs.h. */
18940 #include <stdio.h>
18941 #include <stdarg.h>
18942 void foo(char* fmt, ...)
18944 va_list args; va_start(args, fmt);
18945 vfscanf(stderr, "%i", args);
18946 vscanf("%i", args);
18947 vsnprintf(fmt, 0, "%i", args);
18948 vsscanf(fmt, "%i", args);
18949 snprintf(fmt, 0, "%i", 1);
18952 main ()
18956 return 0;
18958 _ACEOF
18959 if ac_fn_cxx_try_link "$LINENO"; then :
18960 glibcxx_cv_c99_stdio_cxx11=yes
18961 else
18962 glibcxx_cv_c99_stdio_cxx11=no
18964 rm -f core conftest.err conftest.$ac_objext \
18965 conftest$ac_exeext conftest.$ac_ext
18969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
18970 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
18971 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
18973 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
18977 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
18978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
18979 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
18980 if ${glibcxx_cv_c99_stdlib_cxx11+:} false; then :
18981 $as_echo_n "(cached) " >&6
18982 else
18984 if test x$gcc_no_link = xyes; then
18985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18986 /* end confdefs.h. */
18987 #include <stdlib.h>
18988 volatile float f;
18989 volatile long double ld;
18990 volatile unsigned long long ll;
18991 lldiv_t mydivt;
18993 main ()
18995 char* tmp;
18996 f = strtof("gnu", &tmp);
18997 ld = strtold("gnu", &tmp);
18998 ll = strtoll("gnu", &tmp, 10);
18999 ll = strtoull("gnu", &tmp, 10);
19000 ll = llabs(10);
19001 mydivt = lldiv(10,1);
19002 ll = mydivt.quot;
19003 ll = mydivt.rem;
19004 ll = atoll("10");
19005 _Exit(0);
19008 return 0;
19010 _ACEOF
19011 if ac_fn_cxx_try_compile "$LINENO"; then :
19012 glibcxx_cv_c99_stdlib_cxx11=yes
19013 else
19014 glibcxx_cv_c99_stdlib_cxx11=no
19016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19017 else
19018 if test x$gcc_no_link = xyes; then
19019 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19022 /* end confdefs.h. */
19023 #include <stdlib.h>
19024 volatile float f;
19025 volatile long double ld;
19026 volatile unsigned long long ll;
19027 lldiv_t mydivt;
19029 main ()
19031 char* tmp;
19032 f = strtof("gnu", &tmp);
19033 ld = strtold("gnu", &tmp);
19034 ll = strtoll("gnu", &tmp, 10);
19035 ll = strtoull("gnu", &tmp, 10);
19036 ll = llabs(10);
19037 mydivt = lldiv(10,1);
19038 ll = mydivt.quot;
19039 ll = mydivt.rem;
19040 ll = atoll("10");
19041 _Exit(0);
19044 return 0;
19046 _ACEOF
19047 if ac_fn_cxx_try_link "$LINENO"; then :
19048 glibcxx_cv_c99_stdlib_cxx11=yes
19049 else
19050 glibcxx_cv_c99_stdlib_cxx11=no
19052 rm -f core conftest.err conftest.$ac_objext \
19053 conftest$ac_exeext conftest.$ac_ext
19057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
19058 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
19059 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
19061 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
19065 # Check for the existence in <wchar.h> of wcstold, etc.
19066 if test x"$ac_has_wchar_h" = xyes &&
19067 test x"$ac_has_wctype_h" = xyes; then
19068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
19069 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
19070 if ${glibcxx_cv_c99_wchar_cxx11+:} false; then :
19071 $as_echo_n "(cached) " >&6
19072 else
19074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19075 /* end confdefs.h. */
19076 #include <wchar.h>
19077 namespace test
19079 using ::wcstold;
19080 using ::wcstoll;
19081 using ::wcstoull;
19085 main ()
19089 return 0;
19091 _ACEOF
19092 if ac_fn_cxx_try_compile "$LINENO"; then :
19093 glibcxx_cv_c99_wchar_cxx11=yes
19094 else
19095 glibcxx_cv_c99_wchar_cxx11=no
19097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
19101 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
19103 # Checks for wide character functions that may not be present.
19104 # Injection of these is wrapped with guard macros.
19105 # NB: only put functions here, instead of immediately above, if
19106 # absolutely necessary.
19107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19108 /* end confdefs.h. */
19109 #include <wchar.h>
19110 namespace test { using ::vfwscanf; }
19112 main ()
19116 return 0;
19118 _ACEOF
19119 if ac_fn_cxx_try_compile "$LINENO"; then :
19121 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
19124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19127 /* end confdefs.h. */
19128 #include <wchar.h>
19129 namespace test { using ::vswscanf; }
19131 main ()
19135 return 0;
19137 _ACEOF
19138 if ac_fn_cxx_try_compile "$LINENO"; then :
19140 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
19143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19146 /* end confdefs.h. */
19147 #include <wchar.h>
19148 namespace test { using ::vwscanf; }
19150 main ()
19154 return 0;
19156 _ACEOF
19157 if ac_fn_cxx_try_compile "$LINENO"; then :
19159 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
19162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19165 /* end confdefs.h. */
19166 #include <wchar.h>
19167 namespace test { using ::wcstof; }
19169 main ()
19173 return 0;
19175 _ACEOF
19176 if ac_fn_cxx_try_compile "$LINENO"; then :
19178 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
19181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19184 /* end confdefs.h. */
19185 #include <wctype.h>
19187 main ()
19189 wint_t t; int i = iswblank(t);
19191 return 0;
19193 _ACEOF
19194 if ac_fn_cxx_try_compile "$LINENO"; then :
19196 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
19199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19201 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
19203 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
19208 # Check for the existence of <ctype.h> functions.
19209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support for C++11 in <ctype.h>" >&5
19210 $as_echo_n "checking for ISO C99 support for C++11 in <ctype.h>... " >&6; }
19211 if ${glibcxx_cv_c99_ctype+:} false; then :
19212 $as_echo_n "(cached) " >&6
19213 else
19215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19216 /* end confdefs.h. */
19217 #include <ctype.h>
19219 main ()
19221 int ch;
19222 int ret;
19223 ret = isblank(ch);
19226 return 0;
19228 _ACEOF
19229 if ac_fn_cxx_try_compile "$LINENO"; then :
19230 glibcxx_cv_c99_ctype=yes
19231 else
19232 glibcxx_cv_c99_ctype=no
19234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype" >&5
19238 $as_echo "$glibcxx_cv_c99_ctype" >&6; }
19239 if test x"$glibcxx_cv_c99_ctype" = x"yes"; then
19241 $as_echo "#define _GLIBCXX_USE_C99_CTYPE 1" >>confdefs.h
19245 # Check for the existence of <fenv.h> functions.
19246 for ac_header in fenv.h
19247 do :
19248 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19249 if test "x$ac_cv_header_fenv_h" = xyes; then :
19250 cat >>confdefs.h <<_ACEOF
19251 #define HAVE_FENV_H 1
19252 _ACEOF
19253 ac_has_fenv_h=yes
19254 else
19255 ac_has_fenv_h=no
19258 done
19260 ac_c99_fenv=no;
19261 if test x"$ac_has_fenv_h" = x"yes"; then
19262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support for C++11 in <fenv.h>" >&5
19263 $as_echo_n "checking for ISO C99 support for C++11 in <fenv.h>... " >&6; }
19264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19265 /* end confdefs.h. */
19266 #include <fenv.h>
19268 main ()
19270 int except, mode;
19271 fexcept_t* pflag;
19272 fenv_t* penv;
19273 int ret;
19274 ret = feclearexcept(except);
19275 ret = fegetexceptflag(pflag, except);
19276 ret = feraiseexcept(except);
19277 ret = fesetexceptflag(pflag, except);
19278 ret = fetestexcept(except);
19279 ret = fegetround();
19280 ret = fesetround(mode);
19281 ret = fegetenv(penv);
19282 ret = feholdexcept(penv);
19283 ret = fesetenv(penv);
19284 ret = feupdateenv(penv);
19287 return 0;
19289 _ACEOF
19290 if ac_fn_cxx_try_compile "$LINENO"; then :
19291 ac_c99_fenv=yes
19292 else
19293 ac_c99_fenv=no
19295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv" >&5
19297 $as_echo "$ac_c99_fenv" >&6; }
19299 if test x"$ac_c99_fenv" = x"yes"; then
19301 $as_echo "#define _GLIBCXX_USE_C99_FENV 1" >>confdefs.h
19305 gcc_no_link="$ac_save_gcc_no_link"
19306 LIBS="$ac_save_LIBS"
19307 CXXFLAGS="$ac_save_CXXFLAGS"
19308 ac_ext=c
19309 ac_cpp='$CPP $CPPFLAGS'
19310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
19317 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
19318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
19319 $as_echo "$enable_c99" >&6; }
19322 # Check whether --enable-concept-checks was given.
19323 if test "${enable_concept_checks+set}" = set; then :
19324 enableval=$enable_concept_checks;
19325 case "$enableval" in
19326 yes|no) ;;
19327 *) as_fn_error $? "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
19328 esac
19330 else
19331 enable_concept_checks=no
19335 if test $enable_concept_checks = yes; then
19337 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
19342 # Check whether --enable-libstdcxx-debug-flags was given.
19343 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
19344 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
19345 xno | x) enable_libstdcxx_debug_flags= ;;
19346 x-*) ;;
19347 *) as_fn_error $? "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
19348 esac
19349 else
19350 enable_libstdcxx_debug_flags="-g3 -O0 -D_GLIBCXX_ASSERTIONS"
19355 # Option parsed, now set things appropriately
19356 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
19359 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
19360 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
19363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
19364 $as_echo_n "checking for additional debug build... " >&6; }
19365 skip_debug_build=
19366 # Check whether --enable-libstdcxx-debug was given.
19367 if test "${enable_libstdcxx_debug+set}" = set; then :
19368 enableval=$enable_libstdcxx_debug;
19369 case "$enableval" in
19370 yes|no) ;;
19371 *) as_fn_error $? "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
19372 esac
19374 else
19375 enable_libstdcxx_debug=no
19379 if test x$enable_libstdcxx_debug = xyes; then
19380 if test -f $toplevel_builddir/../stage_final \
19381 && test -f $toplevel_builddir/../stage_current; then
19382 stage_final=`cat $toplevel_builddir/../stage_final`
19383 stage_current=`cat $toplevel_builddir/../stage_current`
19384 if test x$stage_current != x$stage_final ; then
19385 skip_debug_build=" (skipped for bootstrap stage $stage_current)"
19386 enable_libstdcxx_debug=no
19390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug$skip_debug_build" >&5
19391 $as_echo "$enable_libstdcxx_debug$skip_debug_build" >&6; }
19396 enable_parallel=no;
19398 # See if configured libgomp/omp.h exists. (libgomp may be in
19399 # noconfigdirs but not explicitly disabled.)
19400 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
19401 enable_parallel=yes;
19402 else
19403 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
19404 $as_echo "$as_me: target-libgomp not built" >&6;}
19407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
19408 $as_echo_n "checking for parallel mode support... " >&6; }
19409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
19410 $as_echo "$enable_parallel" >&6; }
19412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
19413 $as_echo_n "checking for extra compiler flags for building... " >&6; }
19414 # Check whether --enable-cxx-flags was given.
19415 if test "${enable_cxx_flags+set}" = set; then :
19416 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
19417 xno | x) enable_cxx_flags= ;;
19418 x-*) ;;
19419 *) as_fn_error $? "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
19420 esac
19421 else
19422 enable_cxx_flags=
19427 # Run through flags (either default or command-line) and set anything
19428 # extra (e.g., #defines) that must accompany particular g++ options.
19429 if test -n "$enable_cxx_flags"; then
19430 for f in $enable_cxx_flags; do
19431 case "$f" in
19432 -fhonor-std) ;;
19433 -*) ;;
19434 *) # and we're trying to pass /what/ exactly?
19435 as_fn_error $? "compiler flags start with a -" "$LINENO" 5 ;;
19436 esac
19437 done
19440 EXTRA_CXX_FLAGS="$enable_cxx_flags"
19441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
19442 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
19446 # Check whether --enable-fully-dynamic-string was given.
19447 if test "${enable_fully_dynamic_string+set}" = set; then :
19448 enableval=$enable_fully_dynamic_string;
19449 case "$enableval" in
19450 yes|no) ;;
19451 *) as_fn_error $? "Unknown argument to enable/disable fully-dynamic-string" "$LINENO" 5 ;;
19452 esac
19454 else
19455 enable_fully_dynamic_string=no
19459 if test $enable_fully_dynamic_string = yes; then
19460 enable_fully_dynamic_string_def=1
19461 else
19462 enable_fully_dynamic_string_def=0
19465 cat >>confdefs.h <<_ACEOF
19466 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
19467 _ACEOF
19472 # Check whether --enable-extern-template was given.
19473 if test "${enable_extern_template+set}" = set; then :
19474 enableval=$enable_extern_template;
19475 case "$enableval" in
19476 yes|no) ;;
19477 *) as_fn_error $? "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
19478 esac
19480 else
19481 enable_extern_template=yes
19486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
19487 $as_echo_n "checking for extern template support... " >&6; }
19488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
19489 $as_echo "$enable_extern_template" >&6; }
19495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
19496 $as_echo_n "checking for custom python install directory... " >&6; }
19498 # Check whether --with-python-dir was given.
19499 if test "${with_python_dir+set}" = set; then :
19500 withval=$with_python_dir; with_python_dir=$withval
19501 else
19502 with_python_dir="no"
19505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
19506 $as_echo "${with_python_dir}" >&6; }
19508 # Needed for installing Python modules during make install.
19509 python_mod_dir="${with_python_dir}"
19514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
19515 $as_echo_n "checking for -Werror... " >&6; }
19516 # Check whether --enable-werror was given.
19517 if test "${enable_werror+set}" = set; then :
19518 enableval=$enable_werror;
19519 case "$enableval" in
19520 yes|no) ;;
19521 *) as_fn_error $? "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
19522 esac
19524 else
19525 enable_werror=no
19529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
19530 $as_echo "$enable_werror" >&6; }
19535 # Check whether --enable-vtable-verify was given.
19536 if test "${enable_vtable_verify+set}" = set; then :
19537 enableval=$enable_vtable_verify;
19538 case "$enableval" in
19539 yes|no) ;;
19540 *) as_fn_error $? "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
19541 esac
19543 else
19544 enable_vtable_verify=no
19549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
19550 $as_echo_n "checking for vtable verify support... " >&6; }
19551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
19552 $as_echo "$enable_vtable_verify" >&6; }
19554 vtv_cygmin=no
19555 if test $enable_vtable_verify = yes; then
19556 case ${target_os} in
19557 cygwin*|mingw32*)
19558 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
19559 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
19560 vtv_cygmin=yes
19562 darwin*)
19563 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
19564 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
19566 solaris2*)
19567 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
19568 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
19571 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
19572 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
19574 esac
19575 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
19576 else
19577 VTV_CXXFLAGS=
19578 VTV_PCH_CXXFLAGS=
19579 VTV_CXXLINKFLAGS=
19585 if test x$vtv_cygmin = xyes; then
19586 VTV_CYGMIN_TRUE=
19587 VTV_CYGMIN_FALSE='#'
19588 else
19589 VTV_CYGMIN_TRUE='#'
19590 VTV_CYGMIN_FALSE=
19596 # Checks for operating systems support that doesn't require linking.
19600 ac_ext=cpp
19601 ac_cpp='$CXXCPP $CPPFLAGS'
19602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19606 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
19607 # and we don't need a declaration for C++14 anyway.
19608 ac_save_CXXFLAGS="$CXXFLAGS"
19609 CXXFLAGS="$CXXFLAGS -std=gnu++11"
19611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
19612 $as_echo_n "checking for gets declaration... " >&6; }
19613 if ${glibcxx_cv_gets+:} false; then :
19614 $as_echo_n "(cached) " >&6
19615 else
19617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19618 /* end confdefs.h. */
19619 #include <stdio.h>
19620 namespace test
19622 using ::gets;
19625 _ACEOF
19626 if ac_fn_cxx_try_compile "$LINENO"; then :
19627 glibcxx_cv_gets=yes
19628 else
19629 glibcxx_cv_gets=no
19632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
19635 $as_echo "$glibcxx_cv_gets" >&6; }
19637 if test $glibcxx_cv_gets = yes; then
19639 $as_echo "#define HAVE_GETS 1" >>confdefs.h
19643 CXXFLAGS="$ac_save_CXXFLAGS"
19644 ac_ext=c
19645 ac_cpp='$CPP $CPPFLAGS'
19646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19654 ac_ext=cpp
19655 ac_cpp='$CXXCPP $CPPFLAGS'
19656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19660 ac_save_CXXFLAGS="$CXXFLAGS"
19661 CXXFLAGS="$CXXFLAGS -std=c++11"
19663 case "$host" in
19664 *-*-solaris2.*)
19665 # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
19666 # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
19667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
19668 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
19669 if ${glibcxx_cv_math11_fp_overload+:} false; then :
19670 $as_echo_n "(cached) " >&6
19671 else
19673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19674 /* end confdefs.h. */
19675 #include <math.h>
19676 #undef isfinite
19677 namespace std {
19678 inline bool isfinite(float __x)
19679 { return __builtin_isfinite(__x); }
19682 _ACEOF
19683 if ac_fn_cxx_try_compile "$LINENO"; then :
19684 glibcxx_cv_math11_fp_overload=no
19685 else
19686 glibcxx_cv_math11_fp_overload=yes
19689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
19692 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
19694 # autoheader cannot handle indented templates.
19697 if test $glibcxx_cv_math11_fp_overload = yes; then
19698 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
19702 # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
19703 # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
19704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
19705 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
19706 if ${glibcxx_cv_math11_int_overload+:} false; then :
19707 $as_echo_n "(cached) " >&6
19708 else
19710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19711 /* end confdefs.h. */
19712 #include <math.h>
19713 namespace std {
19714 template<typename _Tp>
19715 struct __is_integer;
19716 template<>
19717 struct __is_integer<int>
19719 enum { __value = 1 };
19722 namespace __gnu_cxx {
19723 template<bool, typename>
19724 struct __enable_if;
19725 template<typename _Tp>
19726 struct __enable_if<true, _Tp>
19727 { typedef _Tp __type; };
19729 namespace std {
19730 template<typename _Tp>
19731 constexpr typename __gnu_cxx::__enable_if
19732 <__is_integer<_Tp>::__value, double>::__type
19733 log2(_Tp __x)
19734 { return __builtin_log2(__x); }
19737 main (void)
19739 int i = 1000;
19740 return std::log2(i);
19743 _ACEOF
19744 if ac_fn_cxx_try_compile "$LINENO"; then :
19745 glibcxx_cv_math11_int_overload=no
19746 else
19747 glibcxx_cv_math11_int_overload=yes
19750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
19753 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
19755 # autoheader cannot handle indented templates.
19758 if test $glibcxx_cv_math11_int_overload = yes; then
19759 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
19764 # If <math.h> defines the obsolete isinf(double) and isnan(double)
19765 # functions (instead of or as well as the C99 generic macros) then we
19766 # can't define std::isinf(double) and std::isnan(double) in <cmath>
19767 # and must use the ones from <math.h> instead.
19768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
19769 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
19770 if ${glibcxx_cv_obsolete_isinf+:} false; then :
19771 $as_echo_n "(cached) " >&6
19772 else
19774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19775 /* end confdefs.h. */
19776 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
19777 #include <math.h>
19778 #undef isinf
19779 namespace std {
19780 using ::isinf;
19781 bool isinf(float);
19782 bool isinf(long double);
19784 using std::isinf;
19785 bool b = isinf(0.0);
19787 _ACEOF
19788 if ac_fn_cxx_try_compile "$LINENO"; then :
19789 glibcxx_cv_obsolete_isinf=yes
19790 else
19791 glibcxx_cv_obsolete_isinf=no
19794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
19797 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
19798 if test $glibcxx_cv_obsolete_isinf = yes; then
19800 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
19804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
19805 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
19806 if ${glibcxx_cv_obsolete_isnan+:} false; then :
19807 $as_echo_n "(cached) " >&6
19808 else
19810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19811 /* end confdefs.h. */
19812 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
19813 #include <math.h>
19814 #undef isnan
19815 namespace std {
19816 using ::isnan;
19817 bool isnan(float);
19818 bool isnan(long double);
19820 using std::isnan;
19821 bool b = isnan(0.0);
19823 _ACEOF
19824 if ac_fn_cxx_try_compile "$LINENO"; then :
19825 glibcxx_cv_obsolete_isnan=yes
19826 else
19827 glibcxx_cv_obsolete_isnan=no
19830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
19833 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
19834 if test $glibcxx_cv_obsolete_isnan = yes; then
19836 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
19840 esac
19842 CXXFLAGS="$ac_save_CXXFLAGS"
19843 ac_ext=c
19844 ac_cpp='$CPP $CPPFLAGS'
19845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19852 # Test uchar.h.
19853 for ac_header in uchar.h
19854 do :
19855 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19856 if test "x$ac_cv_header_uchar_h" = xyes; then :
19857 cat >>confdefs.h <<_ACEOF
19858 #define HAVE_UCHAR_H 1
19859 _ACEOF
19860 ac_has_uchar_h=yes
19861 else
19862 ac_has_uchar_h=no
19865 done
19869 ac_ext=cpp
19870 ac_cpp='$CXXCPP $CPPFLAGS'
19871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19875 ac_save_CXXFLAGS="$CXXFLAGS"
19876 CXXFLAGS="$CXXFLAGS -std=c++11"
19878 if test x"$ac_has_uchar_h" = x"yes"; then
19879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19880 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19882 /* end confdefs.h. */
19883 #include <uchar.h>
19884 #ifdef __STDC_UTF_16__
19885 long i = __STDC_UTF_16__;
19886 #endif
19887 #ifdef __STDC_UTF_32__
19888 long j = __STDC_UTF_32__;
19889 #endif
19890 namespace test
19892 using ::c16rtomb;
19893 using ::c32rtomb;
19894 using ::mbrtoc16;
19895 using ::mbrtoc32;
19899 main ()
19903 return 0;
19905 _ACEOF
19906 if ac_fn_cxx_try_compile "$LINENO"; then :
19907 ac_c11_uchar_cxx11=yes
19908 else
19909 ac_c11_uchar_cxx11=no
19911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19913 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19914 else
19915 ac_c11_uchar_cxx11=no
19917 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19919 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19923 CXXFLAGS="$CXXFLAGS -fchar8_t"
19924 if test x"$ac_has_uchar_h" = x"yes"; then
19925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c8rtomb and mbrtoc8 in <uchar.h> with -fchar8_t" >&5
19926 $as_echo_n "checking for c8rtomb and mbrtoc8 in <uchar.h> with -fchar8_t... " >&6; }
19927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19928 /* end confdefs.h. */
19929 #include <uchar.h>
19930 namespace test
19932 using ::c8rtomb;
19933 using ::mbrtoc8;
19937 main ()
19941 return 0;
19943 _ACEOF
19944 if ac_fn_cxx_try_compile "$LINENO"; then :
19945 ac_uchar_c8rtomb_mbrtoc8_fchar8_t=yes
19946 else
19947 ac_uchar_c8rtomb_mbrtoc8_fchar8_t=no
19949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_uchar_c8rtomb_mbrtoc8_fchar8_t" >&5
19951 $as_echo "$ac_uchar_c8rtomb_mbrtoc8_fchar8_t" >&6; }
19952 else
19953 ac_uchar_c8rtomb_mbrtoc8_fchar8_t=no
19955 if test x"$ac_uchar_c8rtomb_mbrtoc8_fchar8_t" = x"yes"; then
19957 $as_echo "#define _GLIBCXX_USE_UCHAR_C8RTOMB_MBRTOC8_FCHAR8_T 1" >>confdefs.h
19961 CXXFLAGS="$CXXFLAGS -std=c++20"
19962 if test x"$ac_has_uchar_h" = x"yes"; then
19963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c8rtomb and mbrtoc8 in <uchar.h> with -std=c++20" >&5
19964 $as_echo_n "checking for c8rtomb and mbrtoc8 in <uchar.h> with -std=c++20... " >&6; }
19965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19966 /* end confdefs.h. */
19967 #include <uchar.h>
19968 namespace test
19970 using ::c8rtomb;
19971 using ::mbrtoc8;
19975 main ()
19979 return 0;
19981 _ACEOF
19982 if ac_fn_cxx_try_compile "$LINENO"; then :
19983 ac_uchar_c8rtomb_mbrtoc8_cxx20=yes
19984 else
19985 ac_uchar_c8rtomb_mbrtoc8_cxx20=no
19987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_uchar_c8rtomb_mbrtoc8_cxx20" >&5
19989 $as_echo "$ac_uchar_c8rtomb_mbrtoc8_cxx20" >&6; }
19990 else
19991 ac_uchar_c8rtomb_mbrtoc8_cxx20=no
19993 if test x"$ac_uchar_c8rtomb_mbrtoc8_cxx20" = x"yes"; then
19995 $as_echo "#define _GLIBCXX_USE_UCHAR_C8RTOMB_MBRTOC8_CXX20 1" >>confdefs.h
19999 CXXFLAGS="$ac_save_CXXFLAGS"
20000 ac_ext=c
20001 ac_cpp='$CPP $CPPFLAGS'
20002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20008 # For LFS support.
20011 ac_ext=cpp
20012 ac_cpp='$CXXCPP $CPPFLAGS'
20013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20017 ac_save_CXXFLAGS="$CXXFLAGS"
20018 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
20020 $as_echo_n "checking for LFS support... " >&6; }
20021 if ${glibcxx_cv_LFS+:} false; then :
20022 $as_echo_n "(cached) " >&6
20023 else
20025 if test x$gcc_no_link = xyes; then
20026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20027 /* end confdefs.h. */
20028 #include <unistd.h>
20029 #include <stdio.h>
20030 #include <sys/stat.h>
20033 main ()
20035 FILE* fp;
20036 fopen64("t", "w");
20037 fseeko64(fp, 0, SEEK_CUR);
20038 ftello64(fp);
20039 lseek64(1, 0, SEEK_CUR);
20040 struct stat64 buf;
20041 fstat64(1, &buf);
20043 return 0;
20045 _ACEOF
20046 if ac_fn_cxx_try_compile "$LINENO"; then :
20047 glibcxx_cv_LFS=yes
20048 else
20049 glibcxx_cv_LFS=no
20051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20052 else
20053 if test x$gcc_no_link = xyes; then
20054 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20057 /* end confdefs.h. */
20058 #include <unistd.h>
20059 #include <stdio.h>
20060 #include <sys/stat.h>
20063 main ()
20065 FILE* fp;
20066 fopen64("t", "w");
20067 fseeko64(fp, 0, SEEK_CUR);
20068 ftello64(fp);
20069 lseek64(1, 0, SEEK_CUR);
20070 struct stat64 buf;
20071 fstat64(1, &buf);
20073 return 0;
20075 _ACEOF
20076 if ac_fn_cxx_try_link "$LINENO"; then :
20077 glibcxx_cv_LFS=yes
20078 else
20079 glibcxx_cv_LFS=no
20081 rm -f core conftest.err conftest.$ac_objext \
20082 conftest$ac_exeext conftest.$ac_ext
20086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
20087 $as_echo "$glibcxx_cv_LFS" >&6; }
20088 if test $glibcxx_cv_LFS = yes; then
20090 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
20094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fseeko and ftello" >&5
20095 $as_echo_n "checking for fseeko and ftello... " >&6; }
20096 if ${glibcxx_cv_posix_lfs+:} false; then :
20097 $as_echo_n "(cached) " >&6
20098 else
20100 if test x$gcc_no_link = xyes; then
20101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20102 /* end confdefs.h. */
20103 #include <stdio.h>
20106 main ()
20108 FILE* fp;
20109 fseeko(fp, 0, SEEK_CUR);
20110 ftello(fp);
20113 return 0;
20115 _ACEOF
20116 if ac_fn_cxx_try_compile "$LINENO"; then :
20117 glibcxx_cv_posix_lfs=yes
20118 else
20119 glibcxx_cv_posix_lfs=no
20121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20122 else
20123 if test x$gcc_no_link = xyes; then
20124 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20127 /* end confdefs.h. */
20128 #include <stdio.h>
20131 main ()
20133 FILE* fp;
20134 fseeko(fp, 0, SEEK_CUR);
20135 ftello(fp);
20138 return 0;
20140 _ACEOF
20141 if ac_fn_cxx_try_link "$LINENO"; then :
20142 glibcxx_cv_posix_lfs=yes
20143 else
20144 glibcxx_cv_posix_lfs=no
20146 rm -f core conftest.err conftest.$ac_objext \
20147 conftest$ac_exeext conftest.$ac_ext
20151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_posix_lfs" >&5
20152 $as_echo "$glibcxx_cv_posix_lfs" >&6; }
20153 if test $glibcxx_cv_posix_lfs = yes; then
20155 $as_echo "#define _GLIBCXX_USE_FSEEKO_FTELLO 1" >>confdefs.h
20159 CXXFLAGS="$ac_save_CXXFLAGS"
20160 ac_ext=c
20161 ac_cpp='$CPP $CPPFLAGS'
20162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20168 # For showmanyc_helper().
20169 for ac_header in sys/ioctl.h sys/filio.h
20170 do :
20171 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20172 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20173 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20174 cat >>confdefs.h <<_ACEOF
20175 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20176 _ACEOF
20180 done
20185 ac_ext=cpp
20186 ac_cpp='$CXXCPP $CPPFLAGS'
20187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20191 ac_save_CXXFLAGS="$CXXFLAGS"
20192 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
20195 $as_echo_n "checking for poll... " >&6; }
20196 if ${glibcxx_cv_POLL+:} false; then :
20197 $as_echo_n "(cached) " >&6
20198 else
20200 if test x$gcc_no_link = xyes; then
20201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20202 /* end confdefs.h. */
20203 #include <poll.h>
20205 main ()
20207 struct pollfd pfd[1];
20208 pfd[0].events = POLLIN;
20209 poll(pfd, 1, 0);
20211 return 0;
20213 _ACEOF
20214 if ac_fn_cxx_try_compile "$LINENO"; then :
20215 glibcxx_cv_POLL=yes
20216 else
20217 glibcxx_cv_POLL=no
20219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20220 else
20221 if test x$gcc_no_link = xyes; then
20222 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20225 /* end confdefs.h. */
20226 #include <poll.h>
20228 main ()
20230 struct pollfd pfd[1];
20231 pfd[0].events = POLLIN;
20232 poll(pfd, 1, 0);
20234 return 0;
20236 _ACEOF
20237 if ac_fn_cxx_try_link "$LINENO"; then :
20238 glibcxx_cv_POLL=yes
20239 else
20240 glibcxx_cv_POLL=no
20242 rm -f core conftest.err conftest.$ac_objext \
20243 conftest$ac_exeext conftest.$ac_ext
20247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
20248 $as_echo "$glibcxx_cv_POLL" >&6; }
20249 if test $glibcxx_cv_POLL = yes; then
20251 $as_echo "#define HAVE_POLL 1" >>confdefs.h
20255 CXXFLAGS="$ac_save_CXXFLAGS"
20256 ac_ext=c
20257 ac_cpp='$CPP $CPPFLAGS'
20258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20266 ac_ext=cpp
20267 ac_cpp='$CXXCPP $CPPFLAGS'
20268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20272 ac_save_CXXFLAGS="$CXXFLAGS"
20273 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
20276 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
20277 if ${glibcxx_cv_S_ISREG+:} false; then :
20278 $as_echo_n "(cached) " >&6
20279 else
20281 if test x$gcc_no_link = xyes; then
20282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20283 /* end confdefs.h. */
20284 #include <sys/stat.h>
20286 main ()
20288 struct stat buffer;
20289 fstat(0, &buffer);
20290 S_ISREG(buffer.st_mode);
20292 return 0;
20294 _ACEOF
20295 if ac_fn_cxx_try_compile "$LINENO"; then :
20296 glibcxx_cv_S_ISREG=yes
20297 else
20298 glibcxx_cv_S_ISREG=no
20300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20301 else
20302 if test x$gcc_no_link = xyes; then
20303 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20306 /* end confdefs.h. */
20307 #include <sys/stat.h>
20309 main ()
20311 struct stat buffer;
20312 fstat(0, &buffer);
20313 S_ISREG(buffer.st_mode);
20315 return 0;
20317 _ACEOF
20318 if ac_fn_cxx_try_link "$LINENO"; then :
20319 glibcxx_cv_S_ISREG=yes
20320 else
20321 glibcxx_cv_S_ISREG=no
20323 rm -f core conftest.err conftest.$ac_objext \
20324 conftest$ac_exeext conftest.$ac_ext
20329 if ${glibcxx_cv_S_IFREG+:} false; then :
20330 $as_echo_n "(cached) " >&6
20331 else
20333 if test x$gcc_no_link = xyes; then
20334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20335 /* end confdefs.h. */
20336 #include <sys/stat.h>
20338 main ()
20340 struct stat buffer;
20341 fstat(0, &buffer);
20342 S_IFREG & buffer.st_mode;
20344 return 0;
20346 _ACEOF
20347 if ac_fn_cxx_try_compile "$LINENO"; then :
20348 glibcxx_cv_S_IFREG=yes
20349 else
20350 glibcxx_cv_S_IFREG=no
20352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20353 else
20354 if test x$gcc_no_link = xyes; then
20355 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20358 /* end confdefs.h. */
20359 #include <sys/stat.h>
20361 main ()
20363 struct stat buffer;
20364 fstat(0, &buffer);
20365 S_IFREG & buffer.st_mode;
20367 return 0;
20369 _ACEOF
20370 if ac_fn_cxx_try_link "$LINENO"; then :
20371 glibcxx_cv_S_IFREG=yes
20372 else
20373 glibcxx_cv_S_IFREG=no
20375 rm -f core conftest.err conftest.$ac_objext \
20376 conftest$ac_exeext conftest.$ac_ext
20381 res=no
20382 if test $glibcxx_cv_S_ISREG = yes; then
20384 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
20386 res=S_ISREG
20387 elif test $glibcxx_cv_S_IFREG = yes; then
20389 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
20391 res=S_IFREG
20393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
20394 $as_echo "$res" >&6; }
20396 CXXFLAGS="$ac_save_CXXFLAGS"
20397 ac_ext=c
20398 ac_cpp='$CPP $CPPFLAGS'
20399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20405 # For xsputn_2().
20406 for ac_header in sys/uio.h
20407 do :
20408 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
20409 if test "x$ac_cv_header_sys_uio_h" = xyes; then :
20410 cat >>confdefs.h <<_ACEOF
20411 #define HAVE_SYS_UIO_H 1
20412 _ACEOF
20416 done
20421 ac_ext=cpp
20422 ac_cpp='$CXXCPP $CPPFLAGS'
20423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20427 ac_save_CXXFLAGS="$CXXFLAGS"
20428 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
20431 $as_echo_n "checking for writev... " >&6; }
20432 if ${glibcxx_cv_WRITEV+:} false; then :
20433 $as_echo_n "(cached) " >&6
20434 else
20436 if test x$gcc_no_link = xyes; then
20437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20438 /* end confdefs.h. */
20439 #include <sys/uio.h>
20441 main ()
20443 struct iovec iov[2];
20444 writev(0, iov, 0);
20446 return 0;
20448 _ACEOF
20449 if ac_fn_cxx_try_compile "$LINENO"; then :
20450 glibcxx_cv_WRITEV=yes
20451 else
20452 glibcxx_cv_WRITEV=no
20454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20455 else
20456 if test x$gcc_no_link = xyes; then
20457 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20460 /* end confdefs.h. */
20461 #include <sys/uio.h>
20463 main ()
20465 struct iovec iov[2];
20466 writev(0, iov, 0);
20468 return 0;
20470 _ACEOF
20471 if ac_fn_cxx_try_link "$LINENO"; then :
20472 glibcxx_cv_WRITEV=yes
20473 else
20474 glibcxx_cv_WRITEV=no
20476 rm -f core conftest.err conftest.$ac_objext \
20477 conftest$ac_exeext conftest.$ac_ext
20481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
20482 $as_echo "$glibcxx_cv_WRITEV" >&6; }
20483 if test $glibcxx_cv_WRITEV = yes; then
20485 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
20489 CXXFLAGS="$ac_save_CXXFLAGS"
20490 ac_ext=c
20491 ac_cpp='$CPP $CPPFLAGS'
20492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20498 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
20499 # so that the check is done with the C compiler (not C++).
20500 # Checking with C++ can break a canadian cross build if either
20501 # file does not exist in C but does in C++.
20502 for ac_header in fenv.h complex.h
20503 do :
20504 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20505 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20506 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20507 cat >>confdefs.h <<_ACEOF
20508 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20509 _ACEOF
20513 done
20516 # For C99 support to TR1.
20520 ac_ext=cpp
20521 ac_cpp='$CXXCPP $CPPFLAGS'
20522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20527 # Use -std=c++98 because -std=gnu++98 leaves __STRICT_ANSI__
20528 # undefined and fake C99 facilities may be spuriously enabled.
20529 ac_save_CXXFLAGS="$CXXFLAGS"
20530 CXXFLAGS="$CXXFLAGS -std=c++98"
20532 # Check for the existence of <complex.h> complex math functions used
20533 # by tr1/complex.
20534 for ac_header in complex.h
20535 do :
20536 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
20537 if test "x$ac_cv_header_complex_h" = xyes; then :
20538 cat >>confdefs.h <<_ACEOF
20539 #define HAVE_COMPLEX_H 1
20540 _ACEOF
20541 ac_has_complex_h=yes
20542 else
20543 ac_has_complex_h=no
20546 done
20548 ac_c99_complex_tr1=no;
20549 if test x"$ac_has_complex_h" = x"yes"; then
20550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
20551 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
20552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20553 /* end confdefs.h. */
20554 #include <complex.h>
20556 main ()
20558 typedef __complex__ float float_type; float_type tmpf;
20559 cacosf(tmpf);
20560 casinf(tmpf);
20561 catanf(tmpf);
20562 cacoshf(tmpf);
20563 casinhf(tmpf);
20564 catanhf(tmpf);
20565 typedef __complex__ double double_type; double_type tmpd;
20566 cacos(tmpd);
20567 casin(tmpd);
20568 catan(tmpd);
20569 cacosh(tmpd);
20570 casinh(tmpd);
20571 catanh(tmpd);
20572 typedef __complex__ long double ld_type; ld_type tmpld;
20573 cacosl(tmpld);
20574 casinl(tmpld);
20575 catanl(tmpld);
20576 cacoshl(tmpld);
20577 casinhl(tmpld);
20578 catanhl(tmpld);
20581 return 0;
20583 _ACEOF
20584 if ac_fn_cxx_try_compile "$LINENO"; then :
20585 ac_c99_complex_tr1=yes
20586 else
20587 ac_c99_complex_tr1=no
20589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
20592 $as_echo "$ac_c99_complex_tr1" >&6; }
20593 if test x"$ac_c99_complex_tr1" = x"yes"; then
20595 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
20599 # Check for the existence of <ctype.h> functions.
20600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
20601 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
20602 if ${glibcxx_cv_c99_ctype_tr1+:} false; then :
20603 $as_echo_n "(cached) " >&6
20604 else
20606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20607 /* end confdefs.h. */
20608 #include <ctype.h>
20610 main ()
20612 int ch;
20613 int ret;
20614 ret = isblank(ch);
20617 return 0;
20619 _ACEOF
20620 if ac_fn_cxx_try_compile "$LINENO"; then :
20621 glibcxx_cv_c99_ctype_tr1=yes
20622 else
20623 glibcxx_cv_c99_ctype_tr1=no
20625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
20629 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
20630 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
20632 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
20636 # Check for the existence of <fenv.h> functions.
20637 for ac_header in fenv.h
20638 do :
20639 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
20640 if test "x$ac_cv_header_fenv_h" = xyes; then :
20641 cat >>confdefs.h <<_ACEOF
20642 #define HAVE_FENV_H 1
20643 _ACEOF
20644 ac_has_fenv_h=yes
20645 else
20646 ac_has_fenv_h=no
20649 done
20651 ac_c99_fenv_tr1=no;
20652 if test x"$ac_has_fenv_h" = x"yes"; then
20653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
20654 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
20655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20656 /* end confdefs.h. */
20657 #include <fenv.h>
20659 main ()
20661 int except, mode;
20662 fexcept_t* pflag;
20663 fenv_t* penv;
20664 int ret;
20665 ret = feclearexcept(except);
20666 ret = fegetexceptflag(pflag, except);
20667 ret = feraiseexcept(except);
20668 ret = fesetexceptflag(pflag, except);
20669 ret = fetestexcept(except);
20670 ret = fegetround();
20671 ret = fesetround(mode);
20672 ret = fegetenv(penv);
20673 ret = feholdexcept(penv);
20674 ret = fesetenv(penv);
20675 ret = feupdateenv(penv);
20678 return 0;
20680 _ACEOF
20681 if ac_fn_cxx_try_compile "$LINENO"; then :
20682 ac_c99_fenv_tr1=yes
20683 else
20684 ac_c99_fenv_tr1=no
20686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
20688 $as_echo "$ac_c99_fenv_tr1" >&6; }
20690 if test x"$ac_c99_fenv_tr1" = x"yes"; then
20692 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
20696 # Check for the existence of <stdint.h> types.
20697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
20698 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
20699 if ${glibcxx_cv_c99_stdint_tr1+:} false; then :
20700 $as_echo_n "(cached) " >&6
20701 else
20703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20704 /* end confdefs.h. */
20705 #define __STDC_LIMIT_MACROS
20706 #define __STDC_CONSTANT_MACROS
20707 #include <stdint.h>
20709 main ()
20711 typedef int8_t my_int8_t;
20712 my_int8_t i8 = INT8_MIN;
20713 i8 = INT8_MAX;
20714 typedef int16_t my_int16_t;
20715 my_int16_t i16 = INT16_MIN;
20716 i16 = INT16_MAX;
20717 typedef int32_t my_int32_t;
20718 my_int32_t i32 = INT32_MIN;
20719 i32 = INT32_MAX;
20720 typedef int64_t my_int64_t;
20721 my_int64_t i64 = INT64_MIN;
20722 i64 = INT64_MAX;
20723 typedef int_fast8_t my_int_fast8_t;
20724 my_int_fast8_t if8 = INT_FAST8_MIN;
20725 if8 = INT_FAST8_MAX;
20726 typedef int_fast16_t my_int_fast16_t;
20727 my_int_fast16_t if16 = INT_FAST16_MIN;
20728 if16 = INT_FAST16_MAX;
20729 typedef int_fast32_t my_int_fast32_t;
20730 my_int_fast32_t if32 = INT_FAST32_MIN;
20731 if32 = INT_FAST32_MAX;
20732 typedef int_fast64_t my_int_fast64_t;
20733 my_int_fast64_t if64 = INT_FAST64_MIN;
20734 if64 = INT_FAST64_MAX;
20735 typedef int_least8_t my_int_least8_t;
20736 my_int_least8_t il8 = INT_LEAST8_MIN;
20737 il8 = INT_LEAST8_MAX;
20738 typedef int_least16_t my_int_least16_t;
20739 my_int_least16_t il16 = INT_LEAST16_MIN;
20740 il16 = INT_LEAST16_MAX;
20741 typedef int_least32_t my_int_least32_t;
20742 my_int_least32_t il32 = INT_LEAST32_MIN;
20743 il32 = INT_LEAST32_MAX;
20744 typedef int_least64_t my_int_least64_t;
20745 my_int_least64_t il64 = INT_LEAST64_MIN;
20746 il64 = INT_LEAST64_MAX;
20747 typedef intmax_t my_intmax_t;
20748 my_intmax_t im = INTMAX_MAX;
20749 im = INTMAX_MIN;
20750 typedef intptr_t my_intptr_t;
20751 my_intptr_t ip = INTPTR_MAX;
20752 ip = INTPTR_MIN;
20753 typedef uint8_t my_uint8_t;
20754 my_uint8_t ui8 = UINT8_MAX;
20755 ui8 = UINT8_MAX;
20756 typedef uint16_t my_uint16_t;
20757 my_uint16_t ui16 = UINT16_MAX;
20758 ui16 = UINT16_MAX;
20759 typedef uint32_t my_uint32_t;
20760 my_uint32_t ui32 = UINT32_MAX;
20761 ui32 = UINT32_MAX;
20762 typedef uint64_t my_uint64_t;
20763 my_uint64_t ui64 = UINT64_MAX;
20764 ui64 = UINT64_MAX;
20765 typedef uint_fast8_t my_uint_fast8_t;
20766 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
20767 uif8 = UINT_FAST8_MAX;
20768 typedef uint_fast16_t my_uint_fast16_t;
20769 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
20770 uif16 = UINT_FAST16_MAX;
20771 typedef uint_fast32_t my_uint_fast32_t;
20772 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
20773 uif32 = UINT_FAST32_MAX;
20774 typedef uint_fast64_t my_uint_fast64_t;
20775 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
20776 uif64 = UINT_FAST64_MAX;
20777 typedef uint_least8_t my_uint_least8_t;
20778 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
20779 uil8 = UINT_LEAST8_MAX;
20780 typedef uint_least16_t my_uint_least16_t;
20781 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
20782 uil16 = UINT_LEAST16_MAX;
20783 typedef uint_least32_t my_uint_least32_t;
20784 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
20785 uil32 = UINT_LEAST32_MAX;
20786 typedef uint_least64_t my_uint_least64_t;
20787 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
20788 uil64 = UINT_LEAST64_MAX;
20789 typedef uintmax_t my_uintmax_t;
20790 my_uintmax_t uim = UINTMAX_MAX;
20791 uim = UINTMAX_MAX;
20792 typedef uintptr_t my_uintptr_t;
20793 my_uintptr_t uip = UINTPTR_MAX;
20794 uip = UINTPTR_MAX;
20797 return 0;
20799 _ACEOF
20800 if ac_fn_cxx_try_compile "$LINENO"; then :
20801 glibcxx_cv_c99_stdint_tr1=yes
20802 else
20803 glibcxx_cv_c99_stdint_tr1=no
20805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
20809 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
20810 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20812 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
20816 # Check for the existence of <math.h> functions.
20817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
20818 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
20819 if ${glibcxx_cv_c99_math_tr1+:} false; then :
20820 $as_echo_n "(cached) " >&6
20821 else
20823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20824 /* end confdefs.h. */
20825 #include <math.h>
20827 main ()
20829 typedef double_t my_double_t;
20830 typedef float_t my_float_t;
20831 acosh(0.0);
20832 acoshf(0.0f);
20833 acoshl(0.0l);
20834 asinh(0.0);
20835 asinhf(0.0f);
20836 asinhl(0.0l);
20837 atanh(0.0);
20838 atanhf(0.0f);
20839 atanhl(0.0l);
20840 cbrt(0.0);
20841 cbrtf(0.0f);
20842 cbrtl(0.0l);
20843 copysign(0.0, 0.0);
20844 copysignf(0.0f, 0.0f);
20845 copysignl(0.0l, 0.0l);
20846 erf(0.0);
20847 erff(0.0f);
20848 erfl(0.0l);
20849 erfc(0.0);
20850 erfcf(0.0f);
20851 erfcl(0.0l);
20852 exp2(0.0);
20853 exp2f(0.0f);
20854 exp2l(0.0l);
20855 expm1(0.0);
20856 expm1f(0.0f);
20857 expm1l(0.0l);
20858 fdim(0.0, 0.0);
20859 fdimf(0.0f, 0.0f);
20860 fdiml(0.0l, 0.0l);
20861 fma(0.0, 0.0, 0.0);
20862 fmaf(0.0f, 0.0f, 0.0f);
20863 fmal(0.0l, 0.0l, 0.0l);
20864 fmax(0.0, 0.0);
20865 fmaxf(0.0f, 0.0f);
20866 fmaxl(0.0l, 0.0l);
20867 fmin(0.0, 0.0);
20868 fminf(0.0f, 0.0f);
20869 fminl(0.0l, 0.0l);
20870 hypot(0.0, 0.0);
20871 hypotf(0.0f, 0.0f);
20872 hypotl(0.0l, 0.0l);
20873 ilogb(0.0);
20874 ilogbf(0.0f);
20875 ilogbl(0.0l);
20876 lgamma(0.0);
20877 lgammaf(0.0f);
20878 lgammal(0.0l);
20879 #ifndef __APPLE__ /* see below */
20880 llrint(0.0);
20881 llrintf(0.0f);
20882 llrintl(0.0l);
20883 llround(0.0);
20884 llroundf(0.0f);
20885 llroundl(0.0l);
20886 #endif
20887 log1p(0.0);
20888 log1pf(0.0f);
20889 log1pl(0.0l);
20890 log2(0.0);
20891 log2f(0.0f);
20892 log2l(0.0l);
20893 logb(0.0);
20894 logbf(0.0f);
20895 logbl(0.0l);
20896 lrint(0.0);
20897 lrintf(0.0f);
20898 lrintl(0.0l);
20899 lround(0.0);
20900 lroundf(0.0f);
20901 lroundl(0.0l);
20902 nan("");
20903 nanf("");
20904 nanl("");
20905 nearbyint(0.0);
20906 nearbyintf(0.0f);
20907 nearbyintl(0.0l);
20908 nextafter(0.0, 0.0);
20909 nextafterf(0.0f, 0.0f);
20910 nextafterl(0.0l, 0.0l);
20911 nexttoward(0.0, 0.0);
20912 nexttowardf(0.0f, 0.0f);
20913 nexttowardl(0.0l, 0.0l);
20914 remainder(0.0, 0.0);
20915 remainderf(0.0f, 0.0f);
20916 remainderl(0.0l, 0.0l);
20917 remquo(0.0, 0.0, 0);
20918 remquof(0.0f, 0.0f, 0);
20919 remquol(0.0l, 0.0l, 0);
20920 rint(0.0);
20921 rintf(0.0f);
20922 rintl(0.0l);
20923 round(0.0);
20924 roundf(0.0f);
20925 roundl(0.0l);
20926 scalbln(0.0, 0l);
20927 scalblnf(0.0f, 0l);
20928 scalblnl(0.0l, 0l);
20929 scalbn(0.0, 0);
20930 scalbnf(0.0f, 0);
20931 scalbnl(0.0l, 0);
20932 tgamma(0.0);
20933 tgammaf(0.0f);
20934 tgammal(0.0l);
20935 trunc(0.0);
20936 truncf(0.0f);
20937 truncl(0.0l);
20940 return 0;
20942 _ACEOF
20943 if ac_fn_cxx_try_compile "$LINENO"; then :
20944 glibcxx_cv_c99_math_tr1=yes
20945 else
20946 glibcxx_cv_c99_math_tr1=no
20948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20952 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20953 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20955 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20959 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20960 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20961 ac_c99_inttypes_tr1=no;
20962 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20964 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20966 /* end confdefs.h. */
20967 #include <inttypes.h>
20969 main ()
20971 intmax_t i, numer, denom, base;
20972 const char* s;
20973 char** endptr;
20974 intmax_t ret = imaxabs(i);
20975 imaxdiv_t dret = imaxdiv(numer, denom);
20976 ret = strtoimax(s, endptr, base);
20977 uintmax_t uret = strtoumax(s, endptr, base);
20980 return 0;
20982 _ACEOF
20983 if ac_fn_cxx_try_compile "$LINENO"; then :
20984 ac_c99_inttypes_tr1=yes
20985 else
20986 ac_c99_inttypes_tr1=no
20988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20990 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20992 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20994 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20998 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20999 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
21000 ac_c99_inttypes_wchar_t_tr1=no;
21001 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
21002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
21003 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
21004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21005 /* end confdefs.h. */
21006 #include <inttypes.h>
21008 main ()
21010 intmax_t base;
21011 const wchar_t* s;
21012 wchar_t** endptr;
21013 intmax_t ret = wcstoimax(s, endptr, base);
21014 uintmax_t uret = wcstoumax(s, endptr, base);
21017 return 0;
21019 _ACEOF
21020 if ac_fn_cxx_try_compile "$LINENO"; then :
21021 ac_c99_inttypes_wchar_t_tr1=yes
21022 else
21023 ac_c99_inttypes_wchar_t_tr1=no
21025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
21027 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
21029 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
21031 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
21035 # Check for the existence of the <stdbool.h> header.
21036 for ac_header in stdbool.h
21037 do :
21038 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
21039 if test "x$ac_cv_header_stdbool_h" = xyes; then :
21040 cat >>confdefs.h <<_ACEOF
21041 #define HAVE_STDBOOL_H 1
21042 _ACEOF
21046 done
21049 # Check for the existence of the <stdalign.h> header.
21050 for ac_header in stdalign.h
21051 do :
21052 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
21053 if test "x$ac_cv_header_stdalign_h" = xyes; then :
21054 cat >>confdefs.h <<_ACEOF
21055 #define HAVE_STDALIGN_H 1
21056 _ACEOF
21060 done
21063 CXXFLAGS="$ac_save_CXXFLAGS"
21064 ac_ext=c
21065 ac_cpp='$CPP $CPPFLAGS'
21066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21072 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
21075 if test "$is_hosted" = yes; then
21076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
21077 $as_echo_n "checking for the value of EOF... " >&6; }
21078 if ${glibcxx_cv_stdio_eof+:} false; then :
21079 $as_echo_n "(cached) " >&6
21080 else
21082 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
21084 else
21085 as_fn_error $? "computing EOF failed" "$LINENO" 5
21090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
21091 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
21093 cat >>confdefs.h <<_ACEOF
21094 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
21095 _ACEOF
21098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
21099 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
21100 if ${glibcxx_cv_stdio_seek_cur+:} false; then :
21101 $as_echo_n "(cached) " >&6
21102 else
21104 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
21106 else
21107 as_fn_error $? "computing SEEK_CUR failed" "$LINENO" 5
21112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
21113 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
21115 cat >>confdefs.h <<_ACEOF
21116 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
21117 _ACEOF
21120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
21121 $as_echo_n "checking for the value of SEEK_END... " >&6; }
21122 if ${glibcxx_cv_stdio_seek_end+:} false; then :
21123 $as_echo_n "(cached) " >&6
21124 else
21126 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
21128 else
21129 as_fn_error $? "computing SEEK_END failed" "$LINENO" 5
21134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
21135 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
21137 cat >>confdefs.h <<_ACEOF
21138 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
21139 _ACEOF
21144 # For gettimeofday support.
21147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
21148 $as_echo_n "checking for gettimeofday... " >&6; }
21151 ac_ext=cpp
21152 ac_cpp='$CXXCPP $CPPFLAGS'
21153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21157 ac_save_CXXFLAGS="$CXXFLAGS"
21158 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21160 ac_has_gettimeofday=no;
21161 for ac_header in sys/time.h
21162 do :
21163 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
21164 if test "x$ac_cv_header_sys_time_h" = xyes; then :
21165 cat >>confdefs.h <<_ACEOF
21166 #define HAVE_SYS_TIME_H 1
21167 _ACEOF
21168 ac_has_sys_time_h=yes
21169 else
21170 ac_has_sys_time_h=no
21173 done
21175 if test x"$ac_has_sys_time_h" = x"yes"; then
21176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
21177 $as_echo_n "checking for gettimeofday... " >&6; }
21178 if test x$gcc_no_link = xyes; then
21179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21180 /* end confdefs.h. */
21181 #include <sys/time.h>
21183 main ()
21185 timeval tv; gettimeofday(&tv, 0);
21187 return 0;
21189 _ACEOF
21190 if ac_fn_cxx_try_compile "$LINENO"; then :
21191 ac_has_gettimeofday=yes
21192 else
21193 ac_has_gettimeofday=no
21195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21196 else
21197 if test x$gcc_no_link = xyes; then
21198 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21201 /* end confdefs.h. */
21202 #include <sys/time.h>
21204 main ()
21206 timeval tv; gettimeofday(&tv, 0);
21208 return 0;
21210 _ACEOF
21211 if ac_fn_cxx_try_link "$LINENO"; then :
21212 ac_has_gettimeofday=yes
21213 else
21214 ac_has_gettimeofday=no
21216 rm -f core conftest.err conftest.$ac_objext \
21217 conftest$ac_exeext conftest.$ac_ext
21220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
21221 $as_echo "$ac_has_gettimeofday" >&6; }
21224 if test x"$ac_has_gettimeofday" = x"yes"; then
21226 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
21230 CXXFLAGS="$ac_save_CXXFLAGS"
21231 ac_ext=c
21232 ac_cpp='$CPP $CPPFLAGS'
21233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21239 # For clock_gettime, nanosleep and sched_yield support.
21242 # Check whether --enable-libstdcxx-time was given.
21243 if test "${enable_libstdcxx_time+set}" = set; then :
21244 enableval=$enable_libstdcxx_time;
21245 case "$enableval" in
21246 yes|no|rt) ;;
21247 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
21248 esac
21250 else
21251 enable_libstdcxx_time=auto
21257 ac_ext=cpp
21258 ac_cpp='$CXXCPP $CPPFLAGS'
21259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21263 ac_save_CXXFLAGS="$CXXFLAGS"
21264 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21265 ac_save_LIBS="$LIBS"
21267 ac_has_clock_monotonic=no
21268 ac_has_clock_realtime=no
21269 ac_has_nanosleep=no
21270 ac_has_sched_yield=no
21272 if test x"$enable_libstdcxx_time" = x"auto"; then
21274 case "${target_os}" in
21275 cygwin*)
21276 ac_has_nanosleep=yes
21278 mingw*)
21279 ac_has_win32_sleep=yes
21280 ac_has_sched_yield=yes
21282 darwin*)
21283 ac_has_nanosleep=yes
21284 ac_has_sched_yield=yes
21286 # VxWorks has nanosleep as soon as the kernel is configured with
21287 # INCLUDE_POSIX_TIMERS, which is normally/most-often the case.
21288 vxworks*)
21289 ac_has_nanosleep=yes
21291 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
21292 # Don't use link test for freestanding library, in case gcc_no_link=yes
21293 if test x"$is_hosted" = xyes; then
21294 # Versions of glibc before 2.17 needed -lrt for clock_gettime.
21295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
21296 $as_echo_n "checking for library containing clock_gettime... " >&6; }
21297 if ${ac_cv_search_clock_gettime+:} false; then :
21298 $as_echo_n "(cached) " >&6
21299 else
21300 ac_func_search_save_LIBS=$LIBS
21301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21302 /* end confdefs.h. */
21304 /* Override any GCC internal prototype to avoid an error.
21305 Use char because int might match the return type of a GCC
21306 builtin and then its argument prototype would still apply. */
21307 #ifdef __cplusplus
21308 extern "C"
21309 #endif
21310 char clock_gettime ();
21312 main ()
21314 return clock_gettime ();
21316 return 0;
21318 _ACEOF
21319 for ac_lib in '' rt; do
21320 if test -z "$ac_lib"; then
21321 ac_res="none required"
21322 else
21323 ac_res=-l$ac_lib
21324 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21326 if test x$gcc_no_link = xyes; then
21327 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21329 if ac_fn_cxx_try_link "$LINENO"; then :
21330 ac_cv_search_clock_gettime=$ac_res
21332 rm -f core conftest.err conftest.$ac_objext \
21333 conftest$ac_exeext
21334 if ${ac_cv_search_clock_gettime+:} false; then :
21335 break
21337 done
21338 if ${ac_cv_search_clock_gettime+:} false; then :
21340 else
21341 ac_cv_search_clock_gettime=no
21343 rm conftest.$ac_ext
21344 LIBS=$ac_func_search_save_LIBS
21346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
21347 $as_echo "$ac_cv_search_clock_gettime" >&6; }
21348 ac_res=$ac_cv_search_clock_gettime
21349 if test "$ac_res" != no; then :
21350 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21354 if test x"$ac_cv_search_clock_gettime" = x"none required"; then
21355 ac_has_clock_monotonic=yes
21356 ac_has_clock_realtime=yes
21359 ac_has_nanosleep=yes
21360 ac_has_sched_yield=yes
21362 freebsd*|netbsd*|dragonfly*|rtems*)
21363 ac_has_clock_monotonic=yes
21364 ac_has_clock_realtime=yes
21365 ac_has_nanosleep=yes
21366 ac_has_sched_yield=yes
21368 openbsd*)
21369 ac_has_clock_monotonic=yes
21370 ac_has_clock_realtime=yes
21371 ac_has_nanosleep=yes
21373 solaris*)
21374 ac_has_clock_monotonic=yes
21375 ac_has_clock_realtime=yes
21376 ac_has_nanosleep=yes
21377 ac_has_sched_yield=yes
21379 uclinux*)
21380 ac_has_nanosleep=yes
21381 ac_has_sched_yield=yes
21382 esac
21384 elif test x"$enable_libstdcxx_time" != x"no"; then
21386 if test x"$enable_libstdcxx_time" = x"rt"; then
21387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
21388 $as_echo_n "checking for library containing clock_gettime... " >&6; }
21389 if ${ac_cv_search_clock_gettime+:} false; then :
21390 $as_echo_n "(cached) " >&6
21391 else
21392 ac_func_search_save_LIBS=$LIBS
21393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21394 /* end confdefs.h. */
21396 /* Override any GCC internal prototype to avoid an error.
21397 Use char because int might match the return type of a GCC
21398 builtin and then its argument prototype would still apply. */
21399 #ifdef __cplusplus
21400 extern "C"
21401 #endif
21402 char clock_gettime ();
21404 main ()
21406 return clock_gettime ();
21408 return 0;
21410 _ACEOF
21411 for ac_lib in '' rt; do
21412 if test -z "$ac_lib"; then
21413 ac_res="none required"
21414 else
21415 ac_res=-l$ac_lib
21416 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21418 if test x$gcc_no_link = xyes; then
21419 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21421 if ac_fn_cxx_try_link "$LINENO"; then :
21422 ac_cv_search_clock_gettime=$ac_res
21424 rm -f core conftest.err conftest.$ac_objext \
21425 conftest$ac_exeext
21426 if ${ac_cv_search_clock_gettime+:} false; then :
21427 break
21429 done
21430 if ${ac_cv_search_clock_gettime+:} false; then :
21432 else
21433 ac_cv_search_clock_gettime=no
21435 rm conftest.$ac_ext
21436 LIBS=$ac_func_search_save_LIBS
21438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
21439 $as_echo "$ac_cv_search_clock_gettime" >&6; }
21440 ac_res=$ac_cv_search_clock_gettime
21441 if test "$ac_res" != no; then :
21442 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
21447 $as_echo_n "checking for library containing nanosleep... " >&6; }
21448 if ${ac_cv_search_nanosleep+:} false; then :
21449 $as_echo_n "(cached) " >&6
21450 else
21451 ac_func_search_save_LIBS=$LIBS
21452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21453 /* end confdefs.h. */
21455 /* Override any GCC internal prototype to avoid an error.
21456 Use char because int might match the return type of a GCC
21457 builtin and then its argument prototype would still apply. */
21458 #ifdef __cplusplus
21459 extern "C"
21460 #endif
21461 char nanosleep ();
21463 main ()
21465 return nanosleep ();
21467 return 0;
21469 _ACEOF
21470 for ac_lib in '' rt; do
21471 if test -z "$ac_lib"; then
21472 ac_res="none required"
21473 else
21474 ac_res=-l$ac_lib
21475 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21477 if test x$gcc_no_link = xyes; then
21478 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21480 if ac_fn_cxx_try_link "$LINENO"; then :
21481 ac_cv_search_nanosleep=$ac_res
21483 rm -f core conftest.err conftest.$ac_objext \
21484 conftest$ac_exeext
21485 if ${ac_cv_search_nanosleep+:} false; then :
21486 break
21488 done
21489 if ${ac_cv_search_nanosleep+:} false; then :
21491 else
21492 ac_cv_search_nanosleep=no
21494 rm conftest.$ac_ext
21495 LIBS=$ac_func_search_save_LIBS
21497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
21498 $as_echo "$ac_cv_search_nanosleep" >&6; }
21499 ac_res=$ac_cv_search_nanosleep
21500 if test "$ac_res" != no; then :
21501 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21505 else
21506 ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
21507 if test "x$ac_cv_func_clock_gettime" = xyes; then :
21511 ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
21512 if test "x$ac_cv_func_nanosleep" = xyes; then :
21518 case "$ac_cv_search_clock_gettime" in
21519 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
21521 esac
21522 case "$ac_cv_search_nanosleep" in
21523 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
21525 esac
21527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
21528 $as_echo_n "checking for library containing sched_yield... " >&6; }
21529 if ${ac_cv_search_sched_yield+:} false; then :
21530 $as_echo_n "(cached) " >&6
21531 else
21532 ac_func_search_save_LIBS=$LIBS
21533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21534 /* end confdefs.h. */
21536 /* Override any GCC internal prototype to avoid an error.
21537 Use char because int might match the return type of a GCC
21538 builtin and then its argument prototype would still apply. */
21539 #ifdef __cplusplus
21540 extern "C"
21541 #endif
21542 char sched_yield ();
21544 main ()
21546 return sched_yield ();
21548 return 0;
21550 _ACEOF
21551 for ac_lib in '' rt; do
21552 if test -z "$ac_lib"; then
21553 ac_res="none required"
21554 else
21555 ac_res=-l$ac_lib
21556 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21558 if test x$gcc_no_link = xyes; then
21559 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21561 if ac_fn_cxx_try_link "$LINENO"; then :
21562 ac_cv_search_sched_yield=$ac_res
21564 rm -f core conftest.err conftest.$ac_objext \
21565 conftest$ac_exeext
21566 if ${ac_cv_search_sched_yield+:} false; then :
21567 break
21569 done
21570 if ${ac_cv_search_sched_yield+:} false; then :
21572 else
21573 ac_cv_search_sched_yield=no
21575 rm conftest.$ac_ext
21576 LIBS=$ac_func_search_save_LIBS
21578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
21579 $as_echo "$ac_cv_search_sched_yield" >&6; }
21580 ac_res=$ac_cv_search_sched_yield
21581 if test "$ac_res" != no; then :
21582 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21587 case "$ac_cv_search_sched_yield" in
21588 -lrt*)
21589 if test x"$enable_libstdcxx_time" = x"rt"; then
21590 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
21591 ac_has_sched_yield=yes
21595 ac_has_sched_yield=yes
21597 esac
21599 for ac_header in unistd.h
21600 do :
21601 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21602 if test "x$ac_cv_header_unistd_h" = xyes; then :
21603 cat >>confdefs.h <<_ACEOF
21604 #define HAVE_UNISTD_H 1
21605 _ACEOF
21606 ac_has_unistd_h=yes
21607 else
21608 ac_has_unistd_h=no
21611 done
21614 if test x"$ac_has_unistd_h" = x"yes"; then
21615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
21616 $as_echo_n "checking for monotonic clock... " >&6; }
21617 if test x$gcc_no_link = xyes; then
21618 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21621 /* end confdefs.h. */
21622 #include <unistd.h>
21623 #include <time.h>
21626 main ()
21628 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21629 timespec tp;
21630 #endif
21631 clock_gettime(CLOCK_MONOTONIC, &tp);
21634 return 0;
21636 _ACEOF
21637 if ac_fn_cxx_try_link "$LINENO"; then :
21638 ac_has_clock_monotonic=yes
21639 else
21640 ac_has_clock_monotonic=no
21642 rm -f core conftest.err conftest.$ac_objext \
21643 conftest$ac_exeext conftest.$ac_ext
21645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
21646 $as_echo "$ac_has_clock_monotonic" >&6; }
21648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
21649 $as_echo_n "checking for realtime clock... " >&6; }
21650 if test x$gcc_no_link = xyes; then
21651 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21654 /* end confdefs.h. */
21655 #include <unistd.h>
21656 #include <time.h>
21659 main ()
21661 #if _POSIX_TIMERS > 0
21662 timespec tp;
21663 #endif
21664 clock_gettime(CLOCK_REALTIME, &tp);
21667 return 0;
21669 _ACEOF
21670 if ac_fn_cxx_try_link "$LINENO"; then :
21671 ac_has_clock_realtime=yes
21672 else
21673 ac_has_clock_realtime=no
21675 rm -f core conftest.err conftest.$ac_objext \
21676 conftest$ac_exeext conftest.$ac_ext
21678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
21679 $as_echo "$ac_has_clock_realtime" >&6; }
21681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
21682 $as_echo_n "checking for nanosleep... " >&6; }
21683 if test x$gcc_no_link = xyes; then
21684 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21687 /* end confdefs.h. */
21688 #include <unistd.h>
21689 #include <time.h>
21692 main ()
21694 #if _POSIX_TIMERS > 0
21695 timespec tp;
21696 #endif
21697 nanosleep(&tp, 0);
21700 return 0;
21702 _ACEOF
21703 if ac_fn_cxx_try_link "$LINENO"; then :
21704 ac_has_nanosleep=yes
21705 else
21706 ac_has_nanosleep=no
21708 rm -f core conftest.err conftest.$ac_objext \
21709 conftest$ac_exeext conftest.$ac_ext
21711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
21712 $as_echo "$ac_has_nanosleep" >&6; }
21716 if test x"$ac_has_clock_monotonic" != x"yes"; then
21717 case ${target_os} in
21718 linux* | uclinux*)
21719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
21720 $as_echo_n "checking for clock_gettime syscall... " >&6; }
21721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21722 /* end confdefs.h. */
21723 #include <unistd.h>
21724 #include <time.h>
21725 #include <sys/syscall.h>
21728 main ()
21730 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21731 timespec tp;
21732 #endif
21733 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
21734 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
21737 return 0;
21739 _ACEOF
21740 if ac_fn_cxx_try_compile "$LINENO"; then :
21741 ac_has_clock_gettime_syscall=yes
21742 else
21743 ac_has_clock_gettime_syscall=no
21745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_gettime_syscall" >&5
21747 $as_echo "$ac_has_clock_gettime_syscall" >&6; }
21748 if test x"$ac_has_clock_gettime_syscall" = x"yes"; then
21750 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
21752 ac_has_clock_monotonic=yes
21753 ac_has_clock_realtime=yes
21754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec that matches syscall" >&5
21755 $as_echo_n "checking for struct timespec that matches syscall... " >&6; }
21756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21757 /* end confdefs.h. */
21758 #include <time.h>
21759 #include <sys/syscall.h>
21762 main ()
21764 #ifdef SYS_clock_gettime64
21765 #if SYS_clock_gettime64 != SYS_clock_gettime
21766 // We need to use SYS_clock_gettime and libc appears to
21767 // also know about the SYS_clock_gettime64 syscall.
21768 // Check that userspace doesn't use time64 version of timespec.
21769 static_assert(sizeof(timespec::tv_sec) == sizeof(long),
21770 "struct timespec must be compatible with SYS_clock_gettime");
21771 #endif
21772 #endif
21775 return 0;
21777 _ACEOF
21778 if ac_fn_cxx_try_compile "$LINENO"; then :
21779 ac_timespec_matches_syscall=yes
21780 else
21781 ac_timespec_matches_syscall=no
21783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_timespec_matches_syscall" >&5
21785 $as_echo "$ac_timespec_matches_syscall" >&6; }
21786 if test x"$ac_timespec_matches_syscall" = no; then
21787 as_fn_error $? "struct timespec is not compatible with SYS_clock_gettime, please report a bug to http://gcc.gnu.org/bugzilla" "$LINENO" 5
21789 fi;;
21790 esac
21793 if test x"$ac_has_clock_monotonic" = x"yes"; then
21795 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21799 if test x"$ac_has_clock_realtime" = x"yes"; then
21801 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21805 if test x"$ac_has_sched_yield" = x"yes"; then
21807 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21811 if test x"$ac_has_nanosleep" = x"yes"; then
21813 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21815 elif test x"$ac_has_win32_sleep" = x"yes"; then
21817 $as_echo "#define _GLIBCXX_USE_WIN32_SLEEP 1" >>confdefs.h
21819 else
21820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21821 $as_echo_n "checking for sleep... " >&6; }
21822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21823 /* end confdefs.h. */
21824 #include <unistd.h>
21826 main ()
21828 sleep(1)
21830 return 0;
21832 _ACEOF
21833 if ac_fn_cxx_try_compile "$LINENO"; then :
21834 ac_has_sleep=yes
21835 else
21836 ac_has_sleep=no
21838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21839 if test x"$ac_has_sleep" = x"yes"; then
21841 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21845 $as_echo "$ac_has_sleep" >&6; }
21846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21847 $as_echo_n "checking for usleep... " >&6; }
21848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21849 /* end confdefs.h. */
21850 #include <unistd.h>
21852 main ()
21854 sleep(1);
21855 usleep(100);
21857 return 0;
21859 _ACEOF
21860 if ac_fn_cxx_try_compile "$LINENO"; then :
21861 ac_has_usleep=yes
21862 else
21863 ac_has_usleep=no
21865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21866 if test x"$ac_has_usleep" = x"yes"; then
21868 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21872 $as_echo "$ac_has_usleep" >&6; }
21875 if test x"$ac_has_nanosleep$ac_has_win32_sleep$ac_has_sleep" = x"nonono"; then
21877 $as_echo "#define _GLIBCXX_NO_SLEEP 1" >>confdefs.h
21883 CXXFLAGS="$ac_save_CXXFLAGS"
21884 LIBS="$ac_save_LIBS"
21885 ac_ext=c
21886 ac_cpp='$CPP $CPPFLAGS'
21887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21893 # Check for tmpnam which is obsolescent in POSIX.1-2008
21895 ac_ext=cpp
21896 ac_cpp='$CXXCPP $CPPFLAGS'
21897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21901 ac_save_CXXFLAGS="$CXXFLAGS"
21902 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21904 $as_echo_n "checking for tmpnam... " >&6; }
21905 if ${glibcxx_cv_TMPNAM+:} false; then :
21906 $as_echo_n "(cached) " >&6
21907 else
21908 if test x$gcc_no_link = xyes; then
21909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21910 /* end confdefs.h. */
21911 #include <stdio.h>
21913 main ()
21915 char *tmp = tmpnam(NULL);
21917 return 0;
21919 _ACEOF
21920 if ac_fn_cxx_try_compile "$LINENO"; then :
21921 glibcxx_cv_TMPNAM=yes
21922 else
21923 glibcxx_cv_TMPNAM=no
21925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21926 else
21927 if test x$gcc_no_link = xyes; then
21928 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21931 /* end confdefs.h. */
21932 #include <stdio.h>
21934 main ()
21936 char *tmp = tmpnam(NULL);
21938 return 0;
21940 _ACEOF
21941 if ac_fn_cxx_try_link "$LINENO"; then :
21942 glibcxx_cv_TMPNAM=yes
21943 else
21944 glibcxx_cv_TMPNAM=no
21946 rm -f core conftest.err conftest.$ac_objext \
21947 conftest$ac_exeext conftest.$ac_ext
21951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21952 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21953 if test $glibcxx_cv_TMPNAM = yes; then
21955 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21958 CXXFLAGS="$ac_save_CXXFLAGS"
21959 ac_ext=c
21960 ac_cpp='$CPP $CPPFLAGS'
21961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21967 # For pthread_cond_clockwait
21971 ac_ext=cpp
21972 ac_cpp='$CXXCPP $CPPFLAGS'
21973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21977 ac_save_CXXFLAGS="$CXXFLAGS"
21978 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21979 ac_save_LIBS="$LIBS"
21980 LIBS="$LIBS -lpthread"
21982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_clockwait" >&5
21983 $as_echo_n "checking for pthread_cond_clockwait... " >&6; }
21984 if ${glibcxx_cv_PTHREAD_COND_CLOCKWAIT+:} false; then :
21985 $as_echo_n "(cached) " >&6
21986 else
21988 if test x$gcc_no_link = xyes; then
21989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21990 /* end confdefs.h. */
21991 #include <pthread.h>
21993 main ()
21995 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21997 return 0;
21999 _ACEOF
22000 if ac_fn_cxx_try_compile "$LINENO"; then :
22001 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
22002 else
22003 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
22005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22006 else
22007 if test x$gcc_no_link = xyes; then
22008 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22011 /* end confdefs.h. */
22012 #include <pthread.h>
22014 main ()
22016 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
22018 return 0;
22020 _ACEOF
22021 if ac_fn_cxx_try_link "$LINENO"; then :
22022 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
22023 else
22024 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
22026 rm -f core conftest.err conftest.$ac_objext \
22027 conftest$ac_exeext conftest.$ac_ext
22031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&5
22032 $as_echo "$glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&6; }
22033 if test $glibcxx_cv_PTHREAD_COND_CLOCKWAIT = yes; then
22035 $as_echo "#define _GLIBCXX_USE_PTHREAD_COND_CLOCKWAIT 1" >>confdefs.h
22039 CXXFLAGS="$ac_save_CXXFLAGS"
22040 LIBS="$ac_save_LIBS"
22041 ac_ext=c
22042 ac_cpp='$CPP $CPPFLAGS'
22043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22049 # For pthread_mutex_clocklock
22053 ac_ext=cpp
22054 ac_cpp='$CXXCPP $CPPFLAGS'
22055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22059 ac_save_CXXFLAGS="$CXXFLAGS"
22060 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22061 ac_save_LIBS="$LIBS"
22062 LIBS="$LIBS -lpthread"
22064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_clocklock" >&5
22065 $as_echo_n "checking for pthread_mutex_clocklock... " >&6; }
22066 if ${glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK+:} false; then :
22067 $as_echo_n "(cached) " >&6
22068 else
22070 if test x$gcc_no_link = xyes; then
22071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22072 /* end confdefs.h. */
22073 #include <pthread.h>
22075 main ()
22077 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
22079 return 0;
22081 _ACEOF
22082 if ac_fn_cxx_try_compile "$LINENO"; then :
22083 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
22084 else
22085 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
22087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22088 else
22089 if test x$gcc_no_link = xyes; then
22090 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22093 /* end confdefs.h. */
22094 #include <pthread.h>
22096 main ()
22098 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
22100 return 0;
22102 _ACEOF
22103 if ac_fn_cxx_try_link "$LINENO"; then :
22104 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
22105 else
22106 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
22108 rm -f core conftest.err conftest.$ac_objext \
22109 conftest$ac_exeext conftest.$ac_ext
22113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&5
22114 $as_echo "$glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&6; }
22115 if test $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK = yes; then
22117 $as_echo "#define _GLIBCXX_USE_PTHREAD_MUTEX_CLOCKLOCK (_GLIBCXX_TSAN==0)" >>confdefs.h
22121 CXXFLAGS="$ac_save_CXXFLAGS"
22122 LIBS="$ac_save_LIBS"
22123 ac_ext=c
22124 ac_cpp='$CPP $CPPFLAGS'
22125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22131 # For pthread_rwlock_clockrdlock and pthread_rwlock_clockwrlock
22135 ac_ext=cpp
22136 ac_cpp='$CXXCPP $CPPFLAGS'
22137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22141 ac_save_CXXFLAGS="$CXXFLAGS"
22142 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22143 ac_save_LIBS="$LIBS"
22144 LIBS="$LIBS -lpthread"
22146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock" >&5
22147 $as_echo_n "checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock... " >&6; }
22148 if ${glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK+:} false; then :
22149 $as_echo_n "(cached) " >&6
22150 else
22152 if test x$gcc_no_link = xyes; then
22153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22154 /* end confdefs.h. */
22155 #include <pthread.h>
22157 main ()
22159 pthread_rwlock_t rwl; struct timespec ts;
22160 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
22161 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
22163 return 0;
22165 _ACEOF
22166 if ac_fn_cxx_try_compile "$LINENO"; then :
22167 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
22168 else
22169 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
22171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22172 else
22173 if test x$gcc_no_link = xyes; then
22174 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22177 /* end confdefs.h. */
22178 #include <pthread.h>
22180 main ()
22182 pthread_rwlock_t rwl; struct timespec ts;
22183 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
22184 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
22186 return 0;
22188 _ACEOF
22189 if ac_fn_cxx_try_link "$LINENO"; then :
22190 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
22191 else
22192 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
22194 rm -f core conftest.err conftest.$ac_objext \
22195 conftest$ac_exeext conftest.$ac_ext
22199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&5
22200 $as_echo "$glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&6; }
22201 if test $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK = yes; then
22203 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_CLOCKLOCK 1" >>confdefs.h
22207 CXXFLAGS="$ac_save_CXXFLAGS"
22208 LIBS="$ac_save_LIBS"
22209 ac_ext=c
22210 ac_cpp='$CPP $CPPFLAGS'
22211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22218 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
22219 if test "x$ac_cv_header_locale_h" = xyes; then :
22221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
22222 $as_echo_n "checking for LC_MESSAGES... " >&6; }
22223 if ${ac_cv_val_LC_MESSAGES+:} false; then :
22224 $as_echo_n "(cached) " >&6
22225 else
22226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22227 /* end confdefs.h. */
22228 #include <locale.h>
22230 main ()
22232 return LC_MESSAGES
22234 return 0;
22236 _ACEOF
22237 if ac_fn_c_try_compile "$LINENO"; then :
22238 ac_cv_val_LC_MESSAGES=yes
22239 else
22240 ac_cv_val_LC_MESSAGES=no
22242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
22245 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
22246 if test $ac_cv_val_LC_MESSAGES = yes; then
22248 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
22257 # For hardware_concurrency
22258 for ac_header in sys/sysinfo.h
22259 do :
22260 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
22261 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
22262 cat >>confdefs.h <<_ACEOF
22263 #define HAVE_SYS_SYSINFO_H 1
22264 _ACEOF
22268 done
22273 ac_ext=cpp
22274 ac_cpp='$CXXCPP $CPPFLAGS'
22275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22279 ac_save_CXXFLAGS="$CXXFLAGS"
22280 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
22283 $as_echo_n "checking for get_nprocs... " >&6; }
22284 if ${glibcxx_cv_GET_NPROCS+:} false; then :
22285 $as_echo_n "(cached) " >&6
22286 else
22288 if test x$gcc_no_link = xyes; then
22289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22290 /* end confdefs.h. */
22291 #include <sys/sysinfo.h>
22293 main ()
22295 int n = get_nprocs();
22297 return 0;
22299 _ACEOF
22300 if ac_fn_cxx_try_compile "$LINENO"; then :
22301 glibcxx_cv_GET_NPROCS=yes
22302 else
22303 glibcxx_cv_GET_NPROCS=no
22305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22306 else
22307 if test x$gcc_no_link = xyes; then
22308 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22311 /* end confdefs.h. */
22312 #include <sys/sysinfo.h>
22314 main ()
22316 int n = get_nprocs();
22318 return 0;
22320 _ACEOF
22321 if ac_fn_cxx_try_link "$LINENO"; then :
22322 glibcxx_cv_GET_NPROCS=yes
22323 else
22324 glibcxx_cv_GET_NPROCS=no
22326 rm -f core conftest.err conftest.$ac_objext \
22327 conftest$ac_exeext conftest.$ac_ext
22331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
22332 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
22333 if test $glibcxx_cv_GET_NPROCS = yes; then
22335 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
22339 CXXFLAGS="$ac_save_CXXFLAGS"
22340 ac_ext=c
22341 ac_cpp='$CPP $CPPFLAGS'
22342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22347 for ac_header in unistd.h
22348 do :
22349 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
22350 if test "x$ac_cv_header_unistd_h" = xyes; then :
22351 cat >>confdefs.h <<_ACEOF
22352 #define HAVE_UNISTD_H 1
22353 _ACEOF
22357 done
22362 ac_ext=cpp
22363 ac_cpp='$CXXCPP $CPPFLAGS'
22364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22368 ac_save_CXXFLAGS="$CXXFLAGS"
22369 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
22372 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
22373 if ${glibcxx_cv_SC_NPROCESSORS_ONLN+:} false; then :
22374 $as_echo_n "(cached) " >&6
22375 else
22377 if test x$gcc_no_link = xyes; then
22378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22379 /* end confdefs.h. */
22380 #include <unistd.h>
22382 main ()
22384 int n = sysconf(_SC_NPROCESSORS_ONLN);
22386 return 0;
22388 _ACEOF
22389 if ac_fn_cxx_try_compile "$LINENO"; then :
22390 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
22391 else
22392 glibcxx_cv_SC_NPROCESSORS_ONLN=no
22394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22395 else
22396 if test x$gcc_no_link = xyes; then
22397 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22400 /* end confdefs.h. */
22401 #include <unistd.h>
22403 main ()
22405 int n = sysconf(_SC_NPROCESSORS_ONLN);
22407 return 0;
22409 _ACEOF
22410 if ac_fn_cxx_try_link "$LINENO"; then :
22411 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
22412 else
22413 glibcxx_cv_SC_NPROCESSORS_ONLN=no
22415 rm -f core conftest.err conftest.$ac_objext \
22416 conftest$ac_exeext conftest.$ac_ext
22420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
22421 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
22422 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
22424 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
22428 CXXFLAGS="$ac_save_CXXFLAGS"
22429 ac_ext=c
22430 ac_cpp='$CPP $CPPFLAGS'
22431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22439 ac_ext=cpp
22440 ac_cpp='$CXXCPP $CPPFLAGS'
22441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22445 ac_save_CXXFLAGS="$CXXFLAGS"
22446 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
22449 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
22450 if ${glibcxx_cv_SC_NPROC_ONLN+:} false; then :
22451 $as_echo_n "(cached) " >&6
22452 else
22454 if test x$gcc_no_link = xyes; then
22455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22456 /* end confdefs.h. */
22457 #include <unistd.h>
22459 main ()
22461 int n = sysconf(_SC_NPROC_ONLN);
22463 return 0;
22465 _ACEOF
22466 if ac_fn_cxx_try_compile "$LINENO"; then :
22467 glibcxx_cv_SC_NPROC_ONLN=yes
22468 else
22469 glibcxx_cv_SC_NPROC_ONLN=no
22471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22472 else
22473 if test x$gcc_no_link = xyes; then
22474 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22477 /* end confdefs.h. */
22478 #include <unistd.h>
22480 main ()
22482 int n = sysconf(_SC_NPROC_ONLN);
22484 return 0;
22486 _ACEOF
22487 if ac_fn_cxx_try_link "$LINENO"; then :
22488 glibcxx_cv_SC_NPROC_ONLN=yes
22489 else
22490 glibcxx_cv_SC_NPROC_ONLN=no
22492 rm -f core conftest.err conftest.$ac_objext \
22493 conftest$ac_exeext conftest.$ac_ext
22497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
22498 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
22499 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
22501 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
22505 CXXFLAGS="$ac_save_CXXFLAGS"
22506 ac_ext=c
22507 ac_cpp='$CPP $CPPFLAGS'
22508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22516 ac_ext=cpp
22517 ac_cpp='$CXXCPP $CPPFLAGS'
22518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22522 ac_save_CXXFLAGS="$CXXFLAGS"
22523 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
22526 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
22527 if ${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+:} false; then :
22528 $as_echo_n "(cached) " >&6
22529 else
22531 if test x$gcc_no_link = xyes; then
22532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22533 /* end confdefs.h. */
22534 #include <pthread.h>
22536 main ()
22538 int n = pthread_num_processors_np();
22540 return 0;
22542 _ACEOF
22543 if ac_fn_cxx_try_compile "$LINENO"; then :
22544 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
22545 else
22546 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
22548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22549 else
22550 if test x$gcc_no_link = xyes; then
22551 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22554 /* end confdefs.h. */
22555 #include <pthread.h>
22557 main ()
22559 int n = pthread_num_processors_np();
22561 return 0;
22563 _ACEOF
22564 if ac_fn_cxx_try_link "$LINENO"; then :
22565 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
22566 else
22567 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
22569 rm -f core conftest.err conftest.$ac_objext \
22570 conftest$ac_exeext conftest.$ac_ext
22574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
22575 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
22576 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
22578 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
22582 CXXFLAGS="$ac_save_CXXFLAGS"
22583 ac_ext=c
22584 ac_cpp='$CPP $CPPFLAGS'
22585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22593 ac_ext=cpp
22594 ac_cpp='$CXXCPP $CPPFLAGS'
22595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22599 ac_save_CXXFLAGS="$CXXFLAGS"
22600 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
22603 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
22604 if ${glibcxx_cv_SYSCTL_HW_NCPU+:} false; then :
22605 $as_echo_n "(cached) " >&6
22606 else
22608 if test x$gcc_no_link = xyes; then
22609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22610 /* end confdefs.h. */
22612 #include <stddef.h>
22613 #include <sys/sysctl.h>
22616 main ()
22619 int count;
22620 size_t size = sizeof(count);
22621 int mib[] = { CTL_HW, HW_NCPU };
22622 sysctl(mib, 2, &count, &size, NULL, 0);
22625 return 0;
22627 _ACEOF
22628 if ac_fn_cxx_try_compile "$LINENO"; then :
22629 glibcxx_cv_SYSCTL_HW_NCPU=yes
22630 else
22631 glibcxx_cv_SYSCTL_HW_NCPU=no
22633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22634 else
22635 if test x$gcc_no_link = xyes; then
22636 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22639 /* end confdefs.h. */
22641 #include <stddef.h>
22642 #include <sys/sysctl.h>
22645 main ()
22648 int count;
22649 size_t size = sizeof(count);
22650 int mib[] = { CTL_HW, HW_NCPU };
22651 sysctl(mib, 2, &count, &size, NULL, 0);
22654 return 0;
22656 _ACEOF
22657 if ac_fn_cxx_try_link "$LINENO"; then :
22658 glibcxx_cv_SYSCTL_HW_NCPU=yes
22659 else
22660 glibcxx_cv_SYSCTL_HW_NCPU=no
22662 rm -f core conftest.err conftest.$ac_objext \
22663 conftest$ac_exeext conftest.$ac_ext
22667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
22668 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
22669 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
22671 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
22675 CXXFLAGS="$ac_save_CXXFLAGS"
22676 ac_ext=c
22677 ac_cpp='$CPP $CPPFLAGS'
22678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22684 # Note that this test has to be run with the C language.
22685 # Otherwise, sdt.h will try to include some headers from
22686 # libstdc++ itself.
22688 ac_ext=c
22689 ac_cpp='$CPP $CPPFLAGS'
22690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
22695 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
22696 if ${glibcxx_cv_sys_sdt_h+:} false; then :
22697 $as_echo_n "(cached) " >&6
22698 else
22700 # Because we have to run the test in C, we use grep rather
22701 # than the compiler to check for the bug. The bug is that
22702 # were strings without trailing whitespace, causing g++
22703 # to look for operator"". The pattern searches for the fixed
22704 # output.
22705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22706 /* end confdefs.h. */
22708 #include <sys/sdt.h>
22709 int f() { STAP_PROBE(hi, bob); }
22711 _ACEOF
22712 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22713 $EGREP " \",\" " >/dev/null 2>&1; then :
22714 glibcxx_cv_sys_sdt_h=yes
22715 else
22716 glibcxx_cv_sys_sdt_h=no
22718 rm -f conftest*
22722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
22723 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
22724 ac_ext=c
22725 ac_cpp='$CPP $CPPFLAGS'
22726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22730 if test $glibcxx_cv_sys_sdt_h = yes; then
22732 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
22737 # Check for available headers.
22738 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
22739 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
22740 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
22741 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
22742 wchar.h wctype.h linux/types.h
22743 do :
22744 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22745 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
22746 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
22747 cat >>confdefs.h <<_ACEOF
22748 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22749 _ACEOF
22753 done
22756 for ac_header in linux/random.h
22757 do :
22758 ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
22759 # include <linux/types.h>
22760 #endif
22763 if test "x$ac_cv_header_linux_random_h" = xyes; then :
22764 cat >>confdefs.h <<_ACEOF
22765 #define HAVE_LINUX_RANDOM_H 1
22766 _ACEOF
22770 done
22773 for ac_header in xlocale.h
22774 do :
22775 ac_fn_c_check_header_mongrel "$LINENO" "xlocale.h" "ac_cv_header_xlocale_h" "$ac_includes_default"
22776 if test "x$ac_cv_header_xlocale_h" = xyes; then :
22777 cat >>confdefs.h <<_ACEOF
22778 #define HAVE_XLOCALE_H 1
22779 _ACEOF
22783 done
22786 # Only do link tests if native. Else, hardcode.
22787 if $GLIBCXX_IS_NATIVE; then
22789 # We can do more elaborate tests that assume a working linker.
22790 CANADIAN=no
22794 # Check whether --with-gnu-ld was given.
22795 if test "${with_gnu_ld+set}" = set; then :
22796 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
22797 else
22798 with_gnu_ld=no
22801 ac_prog=ld
22802 if test "$GCC" = yes; then
22803 # Check if gcc -print-prog-name=ld gives a path.
22804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
22805 $as_echo_n "checking for ld used by $CC... " >&6; }
22806 case $host in
22807 *-*-mingw*)
22808 # gcc leaves a trailing carriage return which upsets mingw
22809 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
22811 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
22812 esac
22813 case $ac_prog in
22814 # Accept absolute paths.
22815 [\\/]* | ?:[\\/]*)
22816 re_direlt='/[^/][^/]*/\.\./'
22817 # Canonicalize the pathname of ld
22818 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
22819 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
22820 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
22821 done
22822 test -z "$LD" && LD="$ac_prog"
22825 # If it fails, then pretend we aren't using GCC.
22826 ac_prog=ld
22829 # If it is relative, then search for the first ld in PATH.
22830 with_gnu_ld=unknown
22832 esac
22833 elif test "$with_gnu_ld" = yes; then
22834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
22835 $as_echo_n "checking for GNU ld... " >&6; }
22836 else
22837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
22838 $as_echo_n "checking for non-GNU ld... " >&6; }
22840 if ${lt_cv_path_LD+:} false; then :
22841 $as_echo_n "(cached) " >&6
22842 else
22843 if test -z "$LD"; then
22844 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
22845 for ac_dir in $PATH; do
22846 IFS="$lt_save_ifs"
22847 test -z "$ac_dir" && ac_dir=.
22848 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
22849 lt_cv_path_LD="$ac_dir/$ac_prog"
22850 # Check to see if the program is GNU ld. I'd rather use --version,
22851 # but apparently some variants of GNU ld only accept -v.
22852 # Break only if it was the GNU/non-GNU ld that we prefer.
22853 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
22854 *GNU* | *'with BFD'*)
22855 test "$with_gnu_ld" != no && break
22858 test "$with_gnu_ld" != yes && break
22860 esac
22862 done
22863 IFS="$lt_save_ifs"
22864 else
22865 lt_cv_path_LD="$LD" # Let the user override the test with a path.
22869 LD="$lt_cv_path_LD"
22870 if test -n "$LD"; then
22871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
22872 $as_echo "$LD" >&6; }
22873 else
22874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22875 $as_echo "no" >&6; }
22877 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
22878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
22879 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
22880 if ${lt_cv_prog_gnu_ld+:} false; then :
22881 $as_echo_n "(cached) " >&6
22882 else
22883 # I'd rather use --version here, but apparently some GNU lds only accept -v.
22884 case `$LD -v 2>&1 </dev/null` in
22885 *GNU* | *'with BFD'*)
22886 lt_cv_prog_gnu_ld=yes
22889 lt_cv_prog_gnu_ld=no
22891 esac
22893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
22894 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
22895 with_gnu_ld=$lt_cv_prog_gnu_ld
22903 # If we're not using GNU ld, then there's no point in even trying these
22904 # tests. Check for that first. We should have already tested for gld
22905 # by now (in libtool), but require it now just to be safe...
22906 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
22907 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
22911 # The name set by libtool depends on the version of libtool. Shame on us
22912 # for depending on an impl detail, but c'est la vie. Older versions used
22913 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
22914 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
22915 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
22916 # set (hence we're using an older libtool), then set it.
22917 if test x${with_gnu_ld+set} != xset; then
22918 if test x${ac_cv_prog_gnu_ld+set} != xset; then
22919 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
22920 with_gnu_ld=no
22921 else
22922 with_gnu_ld=$ac_cv_prog_gnu_ld
22926 # Start by getting the version number. I think the libtool test already
22927 # does some of this, but throws away the result.
22928 glibcxx_ld_is_gold=no
22929 glibcxx_ld_is_mold=no
22930 if test x"$with_gnu_ld" = x"yes"; then
22931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
22932 $as_echo_n "checking for ld version... " >&6; }
22934 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
22935 glibcxx_ld_is_gold=yes
22936 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
22937 glibcxx_ld_is_mold=yes
22939 ldver=`$LD --version 2>/dev/null |
22940 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
22942 glibcxx_gnu_ld_version=`echo $ldver | \
22943 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
22944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
22945 $as_echo "$glibcxx_gnu_ld_version" >&6; }
22948 # Set --gc-sections.
22949 glibcxx_have_gc_sections=no
22950 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
22951 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
22952 glibcxx_have_gc_sections=yes
22954 else
22955 glibcxx_gcsections_min_ld=21602
22956 if test x"$with_gnu_ld" = x"yes" &&
22957 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
22958 glibcxx_have_gc_sections=yes
22961 if test "$glibcxx_have_gc_sections" = "yes"; then
22962 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
22963 # NB: This flag only works reliably after 2.16.1. Configure tests
22964 # for this are difficult, so hard wire a value that should work.
22966 ac_test_CFLAGS="${CFLAGS+set}"
22967 ac_save_CFLAGS="$CFLAGS"
22968 CFLAGS='-Wl,--gc-sections'
22970 # Check for -Wl,--gc-sections
22971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22972 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22973 if test x$gcc_no_link = xyes; then
22974 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22977 /* end confdefs.h. */
22978 int one(void) { return 1; }
22979 int two(void) { return 2; }
22982 main ()
22984 two();
22986 return 0;
22988 _ACEOF
22989 if ac_fn_c_try_link "$LINENO"; then :
22990 ac_gcsections=yes
22991 else
22992 ac_gcsections=no
22994 rm -f core conftest.err conftest.$ac_objext \
22995 conftest$ac_exeext conftest.$ac_ext
22996 if test "$ac_gcsections" = "yes"; then
22997 rm -f conftest.c
22998 touch conftest.c
22999 if $CC -c conftest.c; then
23000 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
23001 grep "Warning: gc-sections option ignored" > /dev/null; then
23002 ac_gcsections=no
23005 rm -f conftest.c conftest.o conftest
23007 if test "$ac_gcsections" = "yes"; then
23008 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
23010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
23011 $as_echo "$ac_gcsections" >&6; }
23013 if test "$ac_test_CFLAGS" = set; then
23014 CFLAGS="$ac_save_CFLAGS"
23015 else
23016 # this is the suspicious part
23017 CFLAGS=''
23021 # Set -z,relro.
23022 # Note this is only for shared objects.
23023 ac_ld_relro=no
23024 if test x"$with_gnu_ld" = x"yes"; then
23025 # cygwin and mingw uses PE, which has no ELF relro support,
23026 # multi target ld may confuse configure machinery
23027 case "$host" in
23028 *-*-cygwin*)
23030 *-*-mingw*)
23033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
23034 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
23035 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
23036 if test -n "$cxx_z_relo"; then
23037 OPT_LDFLAGS="-Wl,-z,relro"
23038 ac_ld_relro=yes
23040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
23041 $as_echo "$ac_ld_relro" >&6; }
23042 esac
23045 # Set linker optimization flags.
23046 if test x"$with_gnu_ld" = x"yes"; then
23047 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
23054 ac_test_CXXFLAGS="${CXXFLAGS+set}"
23055 ac_save_CXXFLAGS="$CXXFLAGS"
23056 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
23058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
23059 $as_echo_n "checking for sin in -lm... " >&6; }
23060 if ${ac_cv_lib_m_sin+:} false; then :
23061 $as_echo_n "(cached) " >&6
23062 else
23063 ac_check_lib_save_LIBS=$LIBS
23064 LIBS="-lm $LIBS"
23065 if test x$gcc_no_link = xyes; then
23066 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23069 /* end confdefs.h. */
23071 /* Override any GCC internal prototype to avoid an error.
23072 Use char because int might match the return type of a GCC
23073 builtin and then its argument prototype would still apply. */
23074 #ifdef __cplusplus
23075 extern "C"
23076 #endif
23077 char sin ();
23079 main ()
23081 return sin ();
23083 return 0;
23085 _ACEOF
23086 if ac_fn_c_try_link "$LINENO"; then :
23087 ac_cv_lib_m_sin=yes
23088 else
23089 ac_cv_lib_m_sin=no
23091 rm -f core conftest.err conftest.$ac_objext \
23092 conftest$ac_exeext conftest.$ac_ext
23093 LIBS=$ac_check_lib_save_LIBS
23095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
23096 $as_echo "$ac_cv_lib_m_sin" >&6; }
23097 if test "x$ac_cv_lib_m_sin" = xyes; then :
23098 libm="-lm"
23101 ac_save_LIBS="$LIBS"
23102 LIBS="$LIBS $libm"
23106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
23107 $as_echo_n "checking for isinf declaration... " >&6; }
23108 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
23109 if ${glibcxx_cv_func_isinf_use+:} false; then :
23110 $as_echo_n "(cached) " >&6
23111 else
23114 ac_ext=cpp
23115 ac_cpp='$CXXCPP $CPPFLAGS'
23116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23121 /* end confdefs.h. */
23122 #include <math.h>
23123 #ifdef HAVE_IEEEFP_H
23124 #include <ieeefp.h>
23125 #endif
23128 main ()
23130 isinf(0);
23132 return 0;
23134 _ACEOF
23135 if ac_fn_cxx_try_compile "$LINENO"; then :
23136 glibcxx_cv_func_isinf_use=yes
23137 else
23138 glibcxx_cv_func_isinf_use=no
23140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23141 ac_ext=c
23142 ac_cpp='$CPP $CPPFLAGS'
23143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
23152 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
23154 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
23155 for ac_func in isinf
23156 do :
23157 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
23158 if test "x$ac_cv_func_isinf" = xyes; then :
23159 cat >>confdefs.h <<_ACEOF
23160 #define HAVE_ISINF 1
23161 _ACEOF
23164 done
23166 else
23168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
23169 $as_echo_n "checking for _isinf declaration... " >&6; }
23170 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
23171 if ${glibcxx_cv_func__isinf_use+:} false; then :
23172 $as_echo_n "(cached) " >&6
23173 else
23176 ac_ext=cpp
23177 ac_cpp='$CXXCPP $CPPFLAGS'
23178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23183 /* end confdefs.h. */
23184 #include <math.h>
23185 #ifdef HAVE_IEEEFP_H
23186 #include <ieeefp.h>
23187 #endif
23190 main ()
23192 _isinf(0);
23194 return 0;
23196 _ACEOF
23197 if ac_fn_cxx_try_compile "$LINENO"; then :
23198 glibcxx_cv_func__isinf_use=yes
23199 else
23200 glibcxx_cv_func__isinf_use=no
23202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23203 ac_ext=c
23204 ac_cpp='$CPP $CPPFLAGS'
23205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
23214 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
23216 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
23217 for ac_func in _isinf
23218 do :
23219 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
23220 if test "x$ac_cv_func__isinf" = xyes; then :
23221 cat >>confdefs.h <<_ACEOF
23222 #define HAVE__ISINF 1
23223 _ACEOF
23226 done
23235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
23236 $as_echo_n "checking for isnan declaration... " >&6; }
23237 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
23238 if ${glibcxx_cv_func_isnan_use+:} false; then :
23239 $as_echo_n "(cached) " >&6
23240 else
23243 ac_ext=cpp
23244 ac_cpp='$CXXCPP $CPPFLAGS'
23245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23250 /* end confdefs.h. */
23251 #include <math.h>
23252 #ifdef HAVE_IEEEFP_H
23253 #include <ieeefp.h>
23254 #endif
23257 main ()
23259 isnan(0);
23261 return 0;
23263 _ACEOF
23264 if ac_fn_cxx_try_compile "$LINENO"; then :
23265 glibcxx_cv_func_isnan_use=yes
23266 else
23267 glibcxx_cv_func_isnan_use=no
23269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23270 ac_ext=c
23271 ac_cpp='$CPP $CPPFLAGS'
23272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
23281 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
23283 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
23284 for ac_func in isnan
23285 do :
23286 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
23287 if test "x$ac_cv_func_isnan" = xyes; then :
23288 cat >>confdefs.h <<_ACEOF
23289 #define HAVE_ISNAN 1
23290 _ACEOF
23293 done
23295 else
23297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
23298 $as_echo_n "checking for _isnan declaration... " >&6; }
23299 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
23300 if ${glibcxx_cv_func__isnan_use+:} false; then :
23301 $as_echo_n "(cached) " >&6
23302 else
23305 ac_ext=cpp
23306 ac_cpp='$CXXCPP $CPPFLAGS'
23307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23312 /* end confdefs.h. */
23313 #include <math.h>
23314 #ifdef HAVE_IEEEFP_H
23315 #include <ieeefp.h>
23316 #endif
23319 main ()
23321 _isnan(0);
23323 return 0;
23325 _ACEOF
23326 if ac_fn_cxx_try_compile "$LINENO"; then :
23327 glibcxx_cv_func__isnan_use=yes
23328 else
23329 glibcxx_cv_func__isnan_use=no
23331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23332 ac_ext=c
23333 ac_cpp='$CPP $CPPFLAGS'
23334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
23343 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
23345 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
23346 for ac_func in _isnan
23347 do :
23348 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
23349 if test "x$ac_cv_func__isnan" = xyes; then :
23350 cat >>confdefs.h <<_ACEOF
23351 #define HAVE__ISNAN 1
23352 _ACEOF
23355 done
23364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
23365 $as_echo_n "checking for finite declaration... " >&6; }
23366 if test x${glibcxx_cv_func_finite_use+set} != xset; then
23367 if ${glibcxx_cv_func_finite_use+:} false; then :
23368 $as_echo_n "(cached) " >&6
23369 else
23372 ac_ext=cpp
23373 ac_cpp='$CXXCPP $CPPFLAGS'
23374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23379 /* end confdefs.h. */
23380 #include <math.h>
23381 #ifdef HAVE_IEEEFP_H
23382 #include <ieeefp.h>
23383 #endif
23386 main ()
23388 finite(0);
23390 return 0;
23392 _ACEOF
23393 if ac_fn_cxx_try_compile "$LINENO"; then :
23394 glibcxx_cv_func_finite_use=yes
23395 else
23396 glibcxx_cv_func_finite_use=no
23398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23399 ac_ext=c
23400 ac_cpp='$CPP $CPPFLAGS'
23401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
23410 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
23412 if test x$glibcxx_cv_func_finite_use = x"yes"; then
23413 for ac_func in finite
23414 do :
23415 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
23416 if test "x$ac_cv_func_finite" = xyes; then :
23417 cat >>confdefs.h <<_ACEOF
23418 #define HAVE_FINITE 1
23419 _ACEOF
23422 done
23424 else
23426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
23427 $as_echo_n "checking for _finite declaration... " >&6; }
23428 if test x${glibcxx_cv_func__finite_use+set} != xset; then
23429 if ${glibcxx_cv_func__finite_use+:} false; then :
23430 $as_echo_n "(cached) " >&6
23431 else
23434 ac_ext=cpp
23435 ac_cpp='$CXXCPP $CPPFLAGS'
23436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23441 /* end confdefs.h. */
23442 #include <math.h>
23443 #ifdef HAVE_IEEEFP_H
23444 #include <ieeefp.h>
23445 #endif
23448 main ()
23450 _finite(0);
23452 return 0;
23454 _ACEOF
23455 if ac_fn_cxx_try_compile "$LINENO"; then :
23456 glibcxx_cv_func__finite_use=yes
23457 else
23458 glibcxx_cv_func__finite_use=no
23460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23461 ac_ext=c
23462 ac_cpp='$CPP $CPPFLAGS'
23463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
23472 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
23474 if test x$glibcxx_cv_func__finite_use = x"yes"; then
23475 for ac_func in _finite
23476 do :
23477 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
23478 if test "x$ac_cv_func__finite" = xyes; then :
23479 cat >>confdefs.h <<_ACEOF
23480 #define HAVE__FINITE 1
23481 _ACEOF
23484 done
23493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
23494 $as_echo_n "checking for sincos declaration... " >&6; }
23495 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
23496 if ${glibcxx_cv_func_sincos_use+:} false; then :
23497 $as_echo_n "(cached) " >&6
23498 else
23501 ac_ext=cpp
23502 ac_cpp='$CXXCPP $CPPFLAGS'
23503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23508 /* end confdefs.h. */
23509 #include <math.h>
23511 main ()
23513 sincos(0, 0, 0);
23515 return 0;
23517 _ACEOF
23518 if ac_fn_cxx_try_compile "$LINENO"; then :
23519 glibcxx_cv_func_sincos_use=yes
23520 else
23521 glibcxx_cv_func_sincos_use=no
23523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23524 ac_ext=c
23525 ac_cpp='$CPP $CPPFLAGS'
23526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
23535 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
23537 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
23538 for ac_func in sincos
23539 do :
23540 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
23541 if test "x$ac_cv_func_sincos" = xyes; then :
23542 cat >>confdefs.h <<_ACEOF
23543 #define HAVE_SINCOS 1
23544 _ACEOF
23547 done
23549 else
23551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
23552 $as_echo_n "checking for _sincos declaration... " >&6; }
23553 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
23554 if ${glibcxx_cv_func__sincos_use+:} false; then :
23555 $as_echo_n "(cached) " >&6
23556 else
23559 ac_ext=cpp
23560 ac_cpp='$CXXCPP $CPPFLAGS'
23561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23566 /* end confdefs.h. */
23567 #include <math.h>
23569 main ()
23571 _sincos(0, 0, 0);
23573 return 0;
23575 _ACEOF
23576 if ac_fn_cxx_try_compile "$LINENO"; then :
23577 glibcxx_cv_func__sincos_use=yes
23578 else
23579 glibcxx_cv_func__sincos_use=no
23581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23582 ac_ext=c
23583 ac_cpp='$CPP $CPPFLAGS'
23584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
23593 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
23595 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
23596 for ac_func in _sincos
23597 do :
23598 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
23599 if test "x$ac_cv_func__sincos" = xyes; then :
23600 cat >>confdefs.h <<_ACEOF
23601 #define HAVE__SINCOS 1
23602 _ACEOF
23605 done
23614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
23615 $as_echo_n "checking for fpclass declaration... " >&6; }
23616 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
23617 if ${glibcxx_cv_func_fpclass_use+:} false; then :
23618 $as_echo_n "(cached) " >&6
23619 else
23622 ac_ext=cpp
23623 ac_cpp='$CXXCPP $CPPFLAGS'
23624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23629 /* end confdefs.h. */
23630 #include <math.h>
23631 #ifdef HAVE_IEEEFP_H
23632 #include <ieeefp.h>
23633 #endif
23636 main ()
23638 fpclass(0);
23640 return 0;
23642 _ACEOF
23643 if ac_fn_cxx_try_compile "$LINENO"; then :
23644 glibcxx_cv_func_fpclass_use=yes
23645 else
23646 glibcxx_cv_func_fpclass_use=no
23648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23649 ac_ext=c
23650 ac_cpp='$CPP $CPPFLAGS'
23651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
23660 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
23662 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
23663 for ac_func in fpclass
23664 do :
23665 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
23666 if test "x$ac_cv_func_fpclass" = xyes; then :
23667 cat >>confdefs.h <<_ACEOF
23668 #define HAVE_FPCLASS 1
23669 _ACEOF
23672 done
23674 else
23676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
23677 $as_echo_n "checking for _fpclass declaration... " >&6; }
23678 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
23679 if ${glibcxx_cv_func__fpclass_use+:} false; then :
23680 $as_echo_n "(cached) " >&6
23681 else
23684 ac_ext=cpp
23685 ac_cpp='$CXXCPP $CPPFLAGS'
23686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23691 /* end confdefs.h. */
23692 #include <math.h>
23693 #ifdef HAVE_IEEEFP_H
23694 #include <ieeefp.h>
23695 #endif
23698 main ()
23700 _fpclass(0);
23702 return 0;
23704 _ACEOF
23705 if ac_fn_cxx_try_compile "$LINENO"; then :
23706 glibcxx_cv_func__fpclass_use=yes
23707 else
23708 glibcxx_cv_func__fpclass_use=no
23710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23711 ac_ext=c
23712 ac_cpp='$CPP $CPPFLAGS'
23713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
23722 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
23724 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
23725 for ac_func in _fpclass
23726 do :
23727 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
23728 if test "x$ac_cv_func__fpclass" = xyes; then :
23729 cat >>confdefs.h <<_ACEOF
23730 #define HAVE__FPCLASS 1
23731 _ACEOF
23734 done
23743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
23744 $as_echo_n "checking for qfpclass declaration... " >&6; }
23745 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
23746 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
23747 $as_echo_n "(cached) " >&6
23748 else
23751 ac_ext=cpp
23752 ac_cpp='$CXXCPP $CPPFLAGS'
23753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23758 /* end confdefs.h. */
23759 #include <math.h>
23760 #ifdef HAVE_IEEEFP_H
23761 #include <ieeefp.h>
23762 #endif
23765 main ()
23767 qfpclass(0);
23769 return 0;
23771 _ACEOF
23772 if ac_fn_cxx_try_compile "$LINENO"; then :
23773 glibcxx_cv_func_qfpclass_use=yes
23774 else
23775 glibcxx_cv_func_qfpclass_use=no
23777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23778 ac_ext=c
23779 ac_cpp='$CPP $CPPFLAGS'
23780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
23789 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
23791 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
23792 for ac_func in qfpclass
23793 do :
23794 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
23795 if test "x$ac_cv_func_qfpclass" = xyes; then :
23796 cat >>confdefs.h <<_ACEOF
23797 #define HAVE_QFPCLASS 1
23798 _ACEOF
23801 done
23803 else
23805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
23806 $as_echo_n "checking for _qfpclass declaration... " >&6; }
23807 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
23808 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
23809 $as_echo_n "(cached) " >&6
23810 else
23813 ac_ext=cpp
23814 ac_cpp='$CXXCPP $CPPFLAGS'
23815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23820 /* end confdefs.h. */
23821 #include <math.h>
23822 #ifdef HAVE_IEEEFP_H
23823 #include <ieeefp.h>
23824 #endif
23827 main ()
23829 _qfpclass(0);
23831 return 0;
23833 _ACEOF
23834 if ac_fn_cxx_try_compile "$LINENO"; then :
23835 glibcxx_cv_func__qfpclass_use=yes
23836 else
23837 glibcxx_cv_func__qfpclass_use=no
23839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23840 ac_ext=c
23841 ac_cpp='$CPP $CPPFLAGS'
23842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
23851 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
23853 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
23854 for ac_func in _qfpclass
23855 do :
23856 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
23857 if test "x$ac_cv_func__qfpclass" = xyes; then :
23858 cat >>confdefs.h <<_ACEOF
23859 #define HAVE__QFPCLASS 1
23860 _ACEOF
23863 done
23872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
23873 $as_echo_n "checking for hypot declaration... " >&6; }
23874 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
23875 if ${glibcxx_cv_func_hypot_use+:} false; then :
23876 $as_echo_n "(cached) " >&6
23877 else
23880 ac_ext=cpp
23881 ac_cpp='$CXXCPP $CPPFLAGS'
23882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23887 /* end confdefs.h. */
23888 #include <math.h>
23890 main ()
23892 hypot(0, 0);
23894 return 0;
23896 _ACEOF
23897 if ac_fn_cxx_try_compile "$LINENO"; then :
23898 glibcxx_cv_func_hypot_use=yes
23899 else
23900 glibcxx_cv_func_hypot_use=no
23902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23903 ac_ext=c
23904 ac_cpp='$CPP $CPPFLAGS'
23905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
23914 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
23916 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
23917 for ac_func in hypot
23918 do :
23919 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
23920 if test "x$ac_cv_func_hypot" = xyes; then :
23921 cat >>confdefs.h <<_ACEOF
23922 #define HAVE_HYPOT 1
23923 _ACEOF
23926 done
23928 else
23930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
23931 $as_echo_n "checking for _hypot declaration... " >&6; }
23932 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
23933 if ${glibcxx_cv_func__hypot_use+:} false; then :
23934 $as_echo_n "(cached) " >&6
23935 else
23938 ac_ext=cpp
23939 ac_cpp='$CXXCPP $CPPFLAGS'
23940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23945 /* end confdefs.h. */
23946 #include <math.h>
23948 main ()
23950 _hypot(0, 0);
23952 return 0;
23954 _ACEOF
23955 if ac_fn_cxx_try_compile "$LINENO"; then :
23956 glibcxx_cv_func__hypot_use=yes
23957 else
23958 glibcxx_cv_func__hypot_use=no
23960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23961 ac_ext=c
23962 ac_cpp='$CPP $CPPFLAGS'
23963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23972 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23974 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23975 for ac_func in _hypot
23976 do :
23977 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23978 if test "x$ac_cv_func__hypot" = xyes; then :
23979 cat >>confdefs.h <<_ACEOF
23980 #define HAVE__HYPOT 1
23981 _ACEOF
23984 done
23993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23994 $as_echo_n "checking for float trig functions... " >&6; }
23995 if ${glibcxx_cv_func_float_trig_use+:} false; then :
23996 $as_echo_n "(cached) " >&6
23997 else
24000 ac_ext=cpp
24001 ac_cpp='$CXXCPP $CPPFLAGS'
24002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24007 /* end confdefs.h. */
24008 #include <math.h>
24010 main ()
24012 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
24014 return 0;
24016 _ACEOF
24017 if ac_fn_cxx_try_compile "$LINENO"; then :
24018 glibcxx_cv_func_float_trig_use=yes
24019 else
24020 glibcxx_cv_func_float_trig_use=no
24022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24023 ac_ext=c
24024 ac_cpp='$CPP $CPPFLAGS'
24025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
24032 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
24033 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
24034 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
24035 do :
24036 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24037 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24038 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
24039 cat >>confdefs.h <<_ACEOF
24040 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24041 _ACEOF
24044 done
24046 else
24047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
24048 $as_echo_n "checking for _float trig functions... " >&6; }
24049 if ${glibcxx_cv_func__float_trig_use+:} false; then :
24050 $as_echo_n "(cached) " >&6
24051 else
24054 ac_ext=cpp
24055 ac_cpp='$CXXCPP $CPPFLAGS'
24056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24061 /* end confdefs.h. */
24062 #include <math.h>
24064 main ()
24066 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
24068 return 0;
24070 _ACEOF
24071 if ac_fn_cxx_try_compile "$LINENO"; then :
24072 glibcxx_cv_func__float_trig_use=yes
24073 else
24074 glibcxx_cv_func__float_trig_use=no
24076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24077 ac_ext=c
24078 ac_cpp='$CPP $CPPFLAGS'
24079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
24086 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
24087 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
24088 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
24089 do :
24090 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24091 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24092 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
24093 cat >>confdefs.h <<_ACEOF
24094 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24095 _ACEOF
24098 done
24107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
24108 $as_echo_n "checking for float round functions... " >&6; }
24109 if ${glibcxx_cv_func_float_round_use+:} false; then :
24110 $as_echo_n "(cached) " >&6
24111 else
24114 ac_ext=cpp
24115 ac_cpp='$CXXCPP $CPPFLAGS'
24116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24121 /* end confdefs.h. */
24122 #include <math.h>
24124 main ()
24126 ceilf (0); floorf (0);
24128 return 0;
24130 _ACEOF
24131 if ac_fn_cxx_try_compile "$LINENO"; then :
24132 glibcxx_cv_func_float_round_use=yes
24133 else
24134 glibcxx_cv_func_float_round_use=no
24136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24137 ac_ext=c
24138 ac_cpp='$CPP $CPPFLAGS'
24139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
24146 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
24147 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
24148 for ac_func in ceilf floorf
24149 do :
24150 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24151 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24152 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
24153 cat >>confdefs.h <<_ACEOF
24154 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24155 _ACEOF
24158 done
24160 else
24161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
24162 $as_echo_n "checking for _float round functions... " >&6; }
24163 if ${glibcxx_cv_func__float_round_use+:} false; then :
24164 $as_echo_n "(cached) " >&6
24165 else
24168 ac_ext=cpp
24169 ac_cpp='$CXXCPP $CPPFLAGS'
24170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24175 /* end confdefs.h. */
24176 #include <math.h>
24178 main ()
24180 _ceilf (0); _floorf (0);
24182 return 0;
24184 _ACEOF
24185 if ac_fn_cxx_try_compile "$LINENO"; then :
24186 glibcxx_cv_func__float_round_use=yes
24187 else
24188 glibcxx_cv_func__float_round_use=no
24190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24191 ac_ext=c
24192 ac_cpp='$CPP $CPPFLAGS'
24193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
24200 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
24201 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
24202 for ac_func in _ceilf _floorf
24203 do :
24204 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24205 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24206 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
24207 cat >>confdefs.h <<_ACEOF
24208 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24209 _ACEOF
24212 done
24222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
24223 $as_echo_n "checking for expf declaration... " >&6; }
24224 if test x${glibcxx_cv_func_expf_use+set} != xset; then
24225 if ${glibcxx_cv_func_expf_use+:} false; then :
24226 $as_echo_n "(cached) " >&6
24227 else
24230 ac_ext=cpp
24231 ac_cpp='$CXXCPP $CPPFLAGS'
24232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24237 /* end confdefs.h. */
24238 #include <math.h>
24239 #ifdef HAVE_IEEEFP_H
24240 #include <ieeefp.h>
24241 #endif
24244 main ()
24246 expf(0);
24248 return 0;
24250 _ACEOF
24251 if ac_fn_cxx_try_compile "$LINENO"; then :
24252 glibcxx_cv_func_expf_use=yes
24253 else
24254 glibcxx_cv_func_expf_use=no
24256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24257 ac_ext=c
24258 ac_cpp='$CPP $CPPFLAGS'
24259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
24268 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
24270 if test x$glibcxx_cv_func_expf_use = x"yes"; then
24271 for ac_func in expf
24272 do :
24273 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
24274 if test "x$ac_cv_func_expf" = xyes; then :
24275 cat >>confdefs.h <<_ACEOF
24276 #define HAVE_EXPF 1
24277 _ACEOF
24280 done
24282 else
24284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
24285 $as_echo_n "checking for _expf declaration... " >&6; }
24286 if test x${glibcxx_cv_func__expf_use+set} != xset; then
24287 if ${glibcxx_cv_func__expf_use+:} false; then :
24288 $as_echo_n "(cached) " >&6
24289 else
24292 ac_ext=cpp
24293 ac_cpp='$CXXCPP $CPPFLAGS'
24294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24299 /* end confdefs.h. */
24300 #include <math.h>
24301 #ifdef HAVE_IEEEFP_H
24302 #include <ieeefp.h>
24303 #endif
24306 main ()
24308 _expf(0);
24310 return 0;
24312 _ACEOF
24313 if ac_fn_cxx_try_compile "$LINENO"; then :
24314 glibcxx_cv_func__expf_use=yes
24315 else
24316 glibcxx_cv_func__expf_use=no
24318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24319 ac_ext=c
24320 ac_cpp='$CPP $CPPFLAGS'
24321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
24330 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
24332 if test x$glibcxx_cv_func__expf_use = x"yes"; then
24333 for ac_func in _expf
24334 do :
24335 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
24336 if test "x$ac_cv_func__expf" = xyes; then :
24337 cat >>confdefs.h <<_ACEOF
24338 #define HAVE__EXPF 1
24339 _ACEOF
24342 done
24351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
24352 $as_echo_n "checking for isnanf declaration... " >&6; }
24353 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
24354 if ${glibcxx_cv_func_isnanf_use+:} false; then :
24355 $as_echo_n "(cached) " >&6
24356 else
24359 ac_ext=cpp
24360 ac_cpp='$CXXCPP $CPPFLAGS'
24361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24366 /* end confdefs.h. */
24367 #include <math.h>
24368 #ifdef HAVE_IEEEFP_H
24369 #include <ieeefp.h>
24370 #endif
24373 main ()
24375 isnanf(0);
24377 return 0;
24379 _ACEOF
24380 if ac_fn_cxx_try_compile "$LINENO"; then :
24381 glibcxx_cv_func_isnanf_use=yes
24382 else
24383 glibcxx_cv_func_isnanf_use=no
24385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24386 ac_ext=c
24387 ac_cpp='$CPP $CPPFLAGS'
24388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
24397 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
24399 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
24400 for ac_func in isnanf
24401 do :
24402 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
24403 if test "x$ac_cv_func_isnanf" = xyes; then :
24404 cat >>confdefs.h <<_ACEOF
24405 #define HAVE_ISNANF 1
24406 _ACEOF
24409 done
24411 else
24413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
24414 $as_echo_n "checking for _isnanf declaration... " >&6; }
24415 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
24416 if ${glibcxx_cv_func__isnanf_use+:} false; then :
24417 $as_echo_n "(cached) " >&6
24418 else
24421 ac_ext=cpp
24422 ac_cpp='$CXXCPP $CPPFLAGS'
24423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24428 /* end confdefs.h. */
24429 #include <math.h>
24430 #ifdef HAVE_IEEEFP_H
24431 #include <ieeefp.h>
24432 #endif
24435 main ()
24437 _isnanf(0);
24439 return 0;
24441 _ACEOF
24442 if ac_fn_cxx_try_compile "$LINENO"; then :
24443 glibcxx_cv_func__isnanf_use=yes
24444 else
24445 glibcxx_cv_func__isnanf_use=no
24447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24448 ac_ext=c
24449 ac_cpp='$CPP $CPPFLAGS'
24450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
24459 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
24461 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
24462 for ac_func in _isnanf
24463 do :
24464 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
24465 if test "x$ac_cv_func__isnanf" = xyes; then :
24466 cat >>confdefs.h <<_ACEOF
24467 #define HAVE__ISNANF 1
24468 _ACEOF
24471 done
24480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
24481 $as_echo_n "checking for isinff declaration... " >&6; }
24482 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
24483 if ${glibcxx_cv_func_isinff_use+:} false; then :
24484 $as_echo_n "(cached) " >&6
24485 else
24488 ac_ext=cpp
24489 ac_cpp='$CXXCPP $CPPFLAGS'
24490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24495 /* end confdefs.h. */
24496 #include <math.h>
24497 #ifdef HAVE_IEEEFP_H
24498 #include <ieeefp.h>
24499 #endif
24502 main ()
24504 isinff(0);
24506 return 0;
24508 _ACEOF
24509 if ac_fn_cxx_try_compile "$LINENO"; then :
24510 glibcxx_cv_func_isinff_use=yes
24511 else
24512 glibcxx_cv_func_isinff_use=no
24514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24515 ac_ext=c
24516 ac_cpp='$CPP $CPPFLAGS'
24517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
24526 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
24528 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
24529 for ac_func in isinff
24530 do :
24531 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
24532 if test "x$ac_cv_func_isinff" = xyes; then :
24533 cat >>confdefs.h <<_ACEOF
24534 #define HAVE_ISINFF 1
24535 _ACEOF
24538 done
24540 else
24542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
24543 $as_echo_n "checking for _isinff declaration... " >&6; }
24544 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
24545 if ${glibcxx_cv_func__isinff_use+:} false; then :
24546 $as_echo_n "(cached) " >&6
24547 else
24550 ac_ext=cpp
24551 ac_cpp='$CXXCPP $CPPFLAGS'
24552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24557 /* end confdefs.h. */
24558 #include <math.h>
24559 #ifdef HAVE_IEEEFP_H
24560 #include <ieeefp.h>
24561 #endif
24564 main ()
24566 _isinff(0);
24568 return 0;
24570 _ACEOF
24571 if ac_fn_cxx_try_compile "$LINENO"; then :
24572 glibcxx_cv_func__isinff_use=yes
24573 else
24574 glibcxx_cv_func__isinff_use=no
24576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24577 ac_ext=c
24578 ac_cpp='$CPP $CPPFLAGS'
24579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
24588 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
24590 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
24591 for ac_func in _isinff
24592 do :
24593 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
24594 if test "x$ac_cv_func__isinff" = xyes; then :
24595 cat >>confdefs.h <<_ACEOF
24596 #define HAVE__ISINFF 1
24597 _ACEOF
24600 done
24609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
24610 $as_echo_n "checking for atan2f declaration... " >&6; }
24611 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
24612 if ${glibcxx_cv_func_atan2f_use+:} false; then :
24613 $as_echo_n "(cached) " >&6
24614 else
24617 ac_ext=cpp
24618 ac_cpp='$CXXCPP $CPPFLAGS'
24619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24624 /* end confdefs.h. */
24625 #include <math.h>
24627 main ()
24629 atan2f(0, 0);
24631 return 0;
24633 _ACEOF
24634 if ac_fn_cxx_try_compile "$LINENO"; then :
24635 glibcxx_cv_func_atan2f_use=yes
24636 else
24637 glibcxx_cv_func_atan2f_use=no
24639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24640 ac_ext=c
24641 ac_cpp='$CPP $CPPFLAGS'
24642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
24651 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
24653 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
24654 for ac_func in atan2f
24655 do :
24656 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
24657 if test "x$ac_cv_func_atan2f" = xyes; then :
24658 cat >>confdefs.h <<_ACEOF
24659 #define HAVE_ATAN2F 1
24660 _ACEOF
24663 done
24665 else
24667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
24668 $as_echo_n "checking for _atan2f declaration... " >&6; }
24669 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
24670 if ${glibcxx_cv_func__atan2f_use+:} false; then :
24671 $as_echo_n "(cached) " >&6
24672 else
24675 ac_ext=cpp
24676 ac_cpp='$CXXCPP $CPPFLAGS'
24677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24682 /* end confdefs.h. */
24683 #include <math.h>
24685 main ()
24687 _atan2f(0, 0);
24689 return 0;
24691 _ACEOF
24692 if ac_fn_cxx_try_compile "$LINENO"; then :
24693 glibcxx_cv_func__atan2f_use=yes
24694 else
24695 glibcxx_cv_func__atan2f_use=no
24697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24698 ac_ext=c
24699 ac_cpp='$CPP $CPPFLAGS'
24700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
24709 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
24711 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
24712 for ac_func in _atan2f
24713 do :
24714 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
24715 if test "x$ac_cv_func__atan2f" = xyes; then :
24716 cat >>confdefs.h <<_ACEOF
24717 #define HAVE__ATAN2F 1
24718 _ACEOF
24721 done
24730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
24731 $as_echo_n "checking for fabsf declaration... " >&6; }
24732 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
24733 if ${glibcxx_cv_func_fabsf_use+:} false; then :
24734 $as_echo_n "(cached) " >&6
24735 else
24738 ac_ext=cpp
24739 ac_cpp='$CXXCPP $CPPFLAGS'
24740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24745 /* end confdefs.h. */
24746 #include <math.h>
24747 #ifdef HAVE_IEEEFP_H
24748 #include <ieeefp.h>
24749 #endif
24752 main ()
24754 fabsf(0);
24756 return 0;
24758 _ACEOF
24759 if ac_fn_cxx_try_compile "$LINENO"; then :
24760 glibcxx_cv_func_fabsf_use=yes
24761 else
24762 glibcxx_cv_func_fabsf_use=no
24764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24765 ac_ext=c
24766 ac_cpp='$CPP $CPPFLAGS'
24767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
24776 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
24778 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
24779 for ac_func in fabsf
24780 do :
24781 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
24782 if test "x$ac_cv_func_fabsf" = xyes; then :
24783 cat >>confdefs.h <<_ACEOF
24784 #define HAVE_FABSF 1
24785 _ACEOF
24788 done
24790 else
24792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
24793 $as_echo_n "checking for _fabsf declaration... " >&6; }
24794 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
24795 if ${glibcxx_cv_func__fabsf_use+:} false; then :
24796 $as_echo_n "(cached) " >&6
24797 else
24800 ac_ext=cpp
24801 ac_cpp='$CXXCPP $CPPFLAGS'
24802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24807 /* end confdefs.h. */
24808 #include <math.h>
24809 #ifdef HAVE_IEEEFP_H
24810 #include <ieeefp.h>
24811 #endif
24814 main ()
24816 _fabsf(0);
24818 return 0;
24820 _ACEOF
24821 if ac_fn_cxx_try_compile "$LINENO"; then :
24822 glibcxx_cv_func__fabsf_use=yes
24823 else
24824 glibcxx_cv_func__fabsf_use=no
24826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24827 ac_ext=c
24828 ac_cpp='$CPP $CPPFLAGS'
24829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
24838 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
24840 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24841 for ac_func in _fabsf
24842 do :
24843 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
24844 if test "x$ac_cv_func__fabsf" = xyes; then :
24845 cat >>confdefs.h <<_ACEOF
24846 #define HAVE__FABSF 1
24847 _ACEOF
24850 done
24859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
24860 $as_echo_n "checking for fmodf declaration... " >&6; }
24861 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24862 if ${glibcxx_cv_func_fmodf_use+:} false; then :
24863 $as_echo_n "(cached) " >&6
24864 else
24867 ac_ext=cpp
24868 ac_cpp='$CXXCPP $CPPFLAGS'
24869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24874 /* end confdefs.h. */
24875 #include <math.h>
24877 main ()
24879 fmodf(0, 0);
24881 return 0;
24883 _ACEOF
24884 if ac_fn_cxx_try_compile "$LINENO"; then :
24885 glibcxx_cv_func_fmodf_use=yes
24886 else
24887 glibcxx_cv_func_fmodf_use=no
24889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24890 ac_ext=c
24891 ac_cpp='$CPP $CPPFLAGS'
24892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
24901 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
24903 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24904 for ac_func in fmodf
24905 do :
24906 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
24907 if test "x$ac_cv_func_fmodf" = xyes; then :
24908 cat >>confdefs.h <<_ACEOF
24909 #define HAVE_FMODF 1
24910 _ACEOF
24913 done
24915 else
24917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
24918 $as_echo_n "checking for _fmodf declaration... " >&6; }
24919 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24920 if ${glibcxx_cv_func__fmodf_use+:} false; then :
24921 $as_echo_n "(cached) " >&6
24922 else
24925 ac_ext=cpp
24926 ac_cpp='$CXXCPP $CPPFLAGS'
24927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24932 /* end confdefs.h. */
24933 #include <math.h>
24935 main ()
24937 _fmodf(0, 0);
24939 return 0;
24941 _ACEOF
24942 if ac_fn_cxx_try_compile "$LINENO"; then :
24943 glibcxx_cv_func__fmodf_use=yes
24944 else
24945 glibcxx_cv_func__fmodf_use=no
24947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24948 ac_ext=c
24949 ac_cpp='$CPP $CPPFLAGS'
24950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
24959 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
24961 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24962 for ac_func in _fmodf
24963 do :
24964 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
24965 if test "x$ac_cv_func__fmodf" = xyes; then :
24966 cat >>confdefs.h <<_ACEOF
24967 #define HAVE__FMODF 1
24968 _ACEOF
24971 done
24980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24981 $as_echo_n "checking for frexpf declaration... " >&6; }
24982 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24983 if ${glibcxx_cv_func_frexpf_use+:} false; then :
24984 $as_echo_n "(cached) " >&6
24985 else
24988 ac_ext=cpp
24989 ac_cpp='$CXXCPP $CPPFLAGS'
24990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24995 /* end confdefs.h. */
24996 #include <math.h>
24998 main ()
25000 frexpf(0, 0);
25002 return 0;
25004 _ACEOF
25005 if ac_fn_cxx_try_compile "$LINENO"; then :
25006 glibcxx_cv_func_frexpf_use=yes
25007 else
25008 glibcxx_cv_func_frexpf_use=no
25010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25011 ac_ext=c
25012 ac_cpp='$CPP $CPPFLAGS'
25013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
25022 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
25024 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
25025 for ac_func in frexpf
25026 do :
25027 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
25028 if test "x$ac_cv_func_frexpf" = xyes; then :
25029 cat >>confdefs.h <<_ACEOF
25030 #define HAVE_FREXPF 1
25031 _ACEOF
25034 done
25036 else
25038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
25039 $as_echo_n "checking for _frexpf declaration... " >&6; }
25040 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
25041 if ${glibcxx_cv_func__frexpf_use+:} false; then :
25042 $as_echo_n "(cached) " >&6
25043 else
25046 ac_ext=cpp
25047 ac_cpp='$CXXCPP $CPPFLAGS'
25048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25053 /* end confdefs.h. */
25054 #include <math.h>
25056 main ()
25058 _frexpf(0, 0);
25060 return 0;
25062 _ACEOF
25063 if ac_fn_cxx_try_compile "$LINENO"; then :
25064 glibcxx_cv_func__frexpf_use=yes
25065 else
25066 glibcxx_cv_func__frexpf_use=no
25068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25069 ac_ext=c
25070 ac_cpp='$CPP $CPPFLAGS'
25071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
25080 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
25082 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
25083 for ac_func in _frexpf
25084 do :
25085 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
25086 if test "x$ac_cv_func__frexpf" = xyes; then :
25087 cat >>confdefs.h <<_ACEOF
25088 #define HAVE__FREXPF 1
25089 _ACEOF
25092 done
25101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
25102 $as_echo_n "checking for hypotf declaration... " >&6; }
25103 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
25104 if ${glibcxx_cv_func_hypotf_use+:} false; then :
25105 $as_echo_n "(cached) " >&6
25106 else
25109 ac_ext=cpp
25110 ac_cpp='$CXXCPP $CPPFLAGS'
25111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25116 /* end confdefs.h. */
25117 #include <math.h>
25119 main ()
25121 hypotf(0, 0);
25123 return 0;
25125 _ACEOF
25126 if ac_fn_cxx_try_compile "$LINENO"; then :
25127 glibcxx_cv_func_hypotf_use=yes
25128 else
25129 glibcxx_cv_func_hypotf_use=no
25131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25132 ac_ext=c
25133 ac_cpp='$CPP $CPPFLAGS'
25134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
25143 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
25145 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
25146 for ac_func in hypotf
25147 do :
25148 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
25149 if test "x$ac_cv_func_hypotf" = xyes; then :
25150 cat >>confdefs.h <<_ACEOF
25151 #define HAVE_HYPOTF 1
25152 _ACEOF
25155 done
25157 else
25159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
25160 $as_echo_n "checking for _hypotf declaration... " >&6; }
25161 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
25162 if ${glibcxx_cv_func__hypotf_use+:} false; then :
25163 $as_echo_n "(cached) " >&6
25164 else
25167 ac_ext=cpp
25168 ac_cpp='$CXXCPP $CPPFLAGS'
25169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25174 /* end confdefs.h. */
25175 #include <math.h>
25177 main ()
25179 _hypotf(0, 0);
25181 return 0;
25183 _ACEOF
25184 if ac_fn_cxx_try_compile "$LINENO"; then :
25185 glibcxx_cv_func__hypotf_use=yes
25186 else
25187 glibcxx_cv_func__hypotf_use=no
25189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25190 ac_ext=c
25191 ac_cpp='$CPP $CPPFLAGS'
25192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
25201 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
25203 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
25204 for ac_func in _hypotf
25205 do :
25206 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
25207 if test "x$ac_cv_func__hypotf" = xyes; then :
25208 cat >>confdefs.h <<_ACEOF
25209 #define HAVE__HYPOTF 1
25210 _ACEOF
25213 done
25222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
25223 $as_echo_n "checking for ldexpf declaration... " >&6; }
25224 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
25225 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
25226 $as_echo_n "(cached) " >&6
25227 else
25230 ac_ext=cpp
25231 ac_cpp='$CXXCPP $CPPFLAGS'
25232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25237 /* end confdefs.h. */
25238 #include <math.h>
25240 main ()
25242 ldexpf(0, 0);
25244 return 0;
25246 _ACEOF
25247 if ac_fn_cxx_try_compile "$LINENO"; then :
25248 glibcxx_cv_func_ldexpf_use=yes
25249 else
25250 glibcxx_cv_func_ldexpf_use=no
25252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25253 ac_ext=c
25254 ac_cpp='$CPP $CPPFLAGS'
25255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
25264 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
25266 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
25267 for ac_func in ldexpf
25268 do :
25269 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
25270 if test "x$ac_cv_func_ldexpf" = xyes; then :
25271 cat >>confdefs.h <<_ACEOF
25272 #define HAVE_LDEXPF 1
25273 _ACEOF
25276 done
25278 else
25280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
25281 $as_echo_n "checking for _ldexpf declaration... " >&6; }
25282 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
25283 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
25284 $as_echo_n "(cached) " >&6
25285 else
25288 ac_ext=cpp
25289 ac_cpp='$CXXCPP $CPPFLAGS'
25290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25295 /* end confdefs.h. */
25296 #include <math.h>
25298 main ()
25300 _ldexpf(0, 0);
25302 return 0;
25304 _ACEOF
25305 if ac_fn_cxx_try_compile "$LINENO"; then :
25306 glibcxx_cv_func__ldexpf_use=yes
25307 else
25308 glibcxx_cv_func__ldexpf_use=no
25310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25311 ac_ext=c
25312 ac_cpp='$CPP $CPPFLAGS'
25313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
25322 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
25324 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
25325 for ac_func in _ldexpf
25326 do :
25327 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
25328 if test "x$ac_cv_func__ldexpf" = xyes; then :
25329 cat >>confdefs.h <<_ACEOF
25330 #define HAVE__LDEXPF 1
25331 _ACEOF
25334 done
25343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
25344 $as_echo_n "checking for logf declaration... " >&6; }
25345 if test x${glibcxx_cv_func_logf_use+set} != xset; then
25346 if ${glibcxx_cv_func_logf_use+:} false; then :
25347 $as_echo_n "(cached) " >&6
25348 else
25351 ac_ext=cpp
25352 ac_cpp='$CXXCPP $CPPFLAGS'
25353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25358 /* end confdefs.h. */
25359 #include <math.h>
25360 #ifdef HAVE_IEEEFP_H
25361 #include <ieeefp.h>
25362 #endif
25365 main ()
25367 logf(0);
25369 return 0;
25371 _ACEOF
25372 if ac_fn_cxx_try_compile "$LINENO"; then :
25373 glibcxx_cv_func_logf_use=yes
25374 else
25375 glibcxx_cv_func_logf_use=no
25377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25378 ac_ext=c
25379 ac_cpp='$CPP $CPPFLAGS'
25380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
25389 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
25391 if test x$glibcxx_cv_func_logf_use = x"yes"; then
25392 for ac_func in logf
25393 do :
25394 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
25395 if test "x$ac_cv_func_logf" = xyes; then :
25396 cat >>confdefs.h <<_ACEOF
25397 #define HAVE_LOGF 1
25398 _ACEOF
25401 done
25403 else
25405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
25406 $as_echo_n "checking for _logf declaration... " >&6; }
25407 if test x${glibcxx_cv_func__logf_use+set} != xset; then
25408 if ${glibcxx_cv_func__logf_use+:} false; then :
25409 $as_echo_n "(cached) " >&6
25410 else
25413 ac_ext=cpp
25414 ac_cpp='$CXXCPP $CPPFLAGS'
25415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25420 /* end confdefs.h. */
25421 #include <math.h>
25422 #ifdef HAVE_IEEEFP_H
25423 #include <ieeefp.h>
25424 #endif
25427 main ()
25429 _logf(0);
25431 return 0;
25433 _ACEOF
25434 if ac_fn_cxx_try_compile "$LINENO"; then :
25435 glibcxx_cv_func__logf_use=yes
25436 else
25437 glibcxx_cv_func__logf_use=no
25439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25440 ac_ext=c
25441 ac_cpp='$CPP $CPPFLAGS'
25442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
25451 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
25453 if test x$glibcxx_cv_func__logf_use = x"yes"; then
25454 for ac_func in _logf
25455 do :
25456 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
25457 if test "x$ac_cv_func__logf" = xyes; then :
25458 cat >>confdefs.h <<_ACEOF
25459 #define HAVE__LOGF 1
25460 _ACEOF
25463 done
25472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
25473 $as_echo_n "checking for log10f declaration... " >&6; }
25474 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
25475 if ${glibcxx_cv_func_log10f_use+:} false; then :
25476 $as_echo_n "(cached) " >&6
25477 else
25480 ac_ext=cpp
25481 ac_cpp='$CXXCPP $CPPFLAGS'
25482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25487 /* end confdefs.h. */
25488 #include <math.h>
25489 #ifdef HAVE_IEEEFP_H
25490 #include <ieeefp.h>
25491 #endif
25494 main ()
25496 log10f(0);
25498 return 0;
25500 _ACEOF
25501 if ac_fn_cxx_try_compile "$LINENO"; then :
25502 glibcxx_cv_func_log10f_use=yes
25503 else
25504 glibcxx_cv_func_log10f_use=no
25506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25507 ac_ext=c
25508 ac_cpp='$CPP $CPPFLAGS'
25509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
25518 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
25520 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
25521 for ac_func in log10f
25522 do :
25523 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
25524 if test "x$ac_cv_func_log10f" = xyes; then :
25525 cat >>confdefs.h <<_ACEOF
25526 #define HAVE_LOG10F 1
25527 _ACEOF
25530 done
25532 else
25534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
25535 $as_echo_n "checking for _log10f declaration... " >&6; }
25536 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
25537 if ${glibcxx_cv_func__log10f_use+:} false; then :
25538 $as_echo_n "(cached) " >&6
25539 else
25542 ac_ext=cpp
25543 ac_cpp='$CXXCPP $CPPFLAGS'
25544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25549 /* end confdefs.h. */
25550 #include <math.h>
25551 #ifdef HAVE_IEEEFP_H
25552 #include <ieeefp.h>
25553 #endif
25556 main ()
25558 _log10f(0);
25560 return 0;
25562 _ACEOF
25563 if ac_fn_cxx_try_compile "$LINENO"; then :
25564 glibcxx_cv_func__log10f_use=yes
25565 else
25566 glibcxx_cv_func__log10f_use=no
25568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25569 ac_ext=c
25570 ac_cpp='$CPP $CPPFLAGS'
25571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
25580 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
25582 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
25583 for ac_func in _log10f
25584 do :
25585 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
25586 if test "x$ac_cv_func__log10f" = xyes; then :
25587 cat >>confdefs.h <<_ACEOF
25588 #define HAVE__LOG10F 1
25589 _ACEOF
25592 done
25601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
25602 $as_echo_n "checking for modff declaration... " >&6; }
25603 if test x${glibcxx_cv_func_modff_use+set} != xset; then
25604 if ${glibcxx_cv_func_modff_use+:} false; then :
25605 $as_echo_n "(cached) " >&6
25606 else
25609 ac_ext=cpp
25610 ac_cpp='$CXXCPP $CPPFLAGS'
25611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25616 /* end confdefs.h. */
25617 #include <math.h>
25619 main ()
25621 modff(0, 0);
25623 return 0;
25625 _ACEOF
25626 if ac_fn_cxx_try_compile "$LINENO"; then :
25627 glibcxx_cv_func_modff_use=yes
25628 else
25629 glibcxx_cv_func_modff_use=no
25631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25632 ac_ext=c
25633 ac_cpp='$CPP $CPPFLAGS'
25634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
25643 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
25645 if test x$glibcxx_cv_func_modff_use = x"yes"; then
25646 for ac_func in modff
25647 do :
25648 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
25649 if test "x$ac_cv_func_modff" = xyes; then :
25650 cat >>confdefs.h <<_ACEOF
25651 #define HAVE_MODFF 1
25652 _ACEOF
25655 done
25657 else
25659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
25660 $as_echo_n "checking for _modff declaration... " >&6; }
25661 if test x${glibcxx_cv_func__modff_use+set} != xset; then
25662 if ${glibcxx_cv_func__modff_use+:} false; then :
25663 $as_echo_n "(cached) " >&6
25664 else
25667 ac_ext=cpp
25668 ac_cpp='$CXXCPP $CPPFLAGS'
25669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25674 /* end confdefs.h. */
25675 #include <math.h>
25677 main ()
25679 _modff(0, 0);
25681 return 0;
25683 _ACEOF
25684 if ac_fn_cxx_try_compile "$LINENO"; then :
25685 glibcxx_cv_func__modff_use=yes
25686 else
25687 glibcxx_cv_func__modff_use=no
25689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25690 ac_ext=c
25691 ac_cpp='$CPP $CPPFLAGS'
25692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
25701 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
25703 if test x$glibcxx_cv_func__modff_use = x"yes"; then
25704 for ac_func in _modff
25705 do :
25706 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
25707 if test "x$ac_cv_func__modff" = xyes; then :
25708 cat >>confdefs.h <<_ACEOF
25709 #define HAVE__MODFF 1
25710 _ACEOF
25713 done
25722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
25723 $as_echo_n "checking for modf declaration... " >&6; }
25724 if test x${glibcxx_cv_func_modf_use+set} != xset; then
25725 if ${glibcxx_cv_func_modf_use+:} false; then :
25726 $as_echo_n "(cached) " >&6
25727 else
25730 ac_ext=cpp
25731 ac_cpp='$CXXCPP $CPPFLAGS'
25732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25737 /* end confdefs.h. */
25738 #include <math.h>
25740 main ()
25742 modf(0, 0);
25744 return 0;
25746 _ACEOF
25747 if ac_fn_cxx_try_compile "$LINENO"; then :
25748 glibcxx_cv_func_modf_use=yes
25749 else
25750 glibcxx_cv_func_modf_use=no
25752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25753 ac_ext=c
25754 ac_cpp='$CPP $CPPFLAGS'
25755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
25764 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
25766 if test x$glibcxx_cv_func_modf_use = x"yes"; then
25767 for ac_func in modf
25768 do :
25769 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
25770 if test "x$ac_cv_func_modf" = xyes; then :
25771 cat >>confdefs.h <<_ACEOF
25772 #define HAVE_MODF 1
25773 _ACEOF
25776 done
25778 else
25780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
25781 $as_echo_n "checking for _modf declaration... " >&6; }
25782 if test x${glibcxx_cv_func__modf_use+set} != xset; then
25783 if ${glibcxx_cv_func__modf_use+:} false; then :
25784 $as_echo_n "(cached) " >&6
25785 else
25788 ac_ext=cpp
25789 ac_cpp='$CXXCPP $CPPFLAGS'
25790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25795 /* end confdefs.h. */
25796 #include <math.h>
25798 main ()
25800 _modf(0, 0);
25802 return 0;
25804 _ACEOF
25805 if ac_fn_cxx_try_compile "$LINENO"; then :
25806 glibcxx_cv_func__modf_use=yes
25807 else
25808 glibcxx_cv_func__modf_use=no
25810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25811 ac_ext=c
25812 ac_cpp='$CPP $CPPFLAGS'
25813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
25822 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
25824 if test x$glibcxx_cv_func__modf_use = x"yes"; then
25825 for ac_func in _modf
25826 do :
25827 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
25828 if test "x$ac_cv_func__modf" = xyes; then :
25829 cat >>confdefs.h <<_ACEOF
25830 #define HAVE__MODF 1
25831 _ACEOF
25834 done
25843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
25844 $as_echo_n "checking for powf declaration... " >&6; }
25845 if test x${glibcxx_cv_func_powf_use+set} != xset; then
25846 if ${glibcxx_cv_func_powf_use+:} false; then :
25847 $as_echo_n "(cached) " >&6
25848 else
25851 ac_ext=cpp
25852 ac_cpp='$CXXCPP $CPPFLAGS'
25853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25858 /* end confdefs.h. */
25859 #include <math.h>
25861 main ()
25863 powf(0, 0);
25865 return 0;
25867 _ACEOF
25868 if ac_fn_cxx_try_compile "$LINENO"; then :
25869 glibcxx_cv_func_powf_use=yes
25870 else
25871 glibcxx_cv_func_powf_use=no
25873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25874 ac_ext=c
25875 ac_cpp='$CPP $CPPFLAGS'
25876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
25885 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
25887 if test x$glibcxx_cv_func_powf_use = x"yes"; then
25888 for ac_func in powf
25889 do :
25890 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
25891 if test "x$ac_cv_func_powf" = xyes; then :
25892 cat >>confdefs.h <<_ACEOF
25893 #define HAVE_POWF 1
25894 _ACEOF
25897 done
25899 else
25901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
25902 $as_echo_n "checking for _powf declaration... " >&6; }
25903 if test x${glibcxx_cv_func__powf_use+set} != xset; then
25904 if ${glibcxx_cv_func__powf_use+:} false; then :
25905 $as_echo_n "(cached) " >&6
25906 else
25909 ac_ext=cpp
25910 ac_cpp='$CXXCPP $CPPFLAGS'
25911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25916 /* end confdefs.h. */
25917 #include <math.h>
25919 main ()
25921 _powf(0, 0);
25923 return 0;
25925 _ACEOF
25926 if ac_fn_cxx_try_compile "$LINENO"; then :
25927 glibcxx_cv_func__powf_use=yes
25928 else
25929 glibcxx_cv_func__powf_use=no
25931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25932 ac_ext=c
25933 ac_cpp='$CPP $CPPFLAGS'
25934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
25943 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
25945 if test x$glibcxx_cv_func__powf_use = x"yes"; then
25946 for ac_func in _powf
25947 do :
25948 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
25949 if test "x$ac_cv_func__powf" = xyes; then :
25950 cat >>confdefs.h <<_ACEOF
25951 #define HAVE__POWF 1
25952 _ACEOF
25955 done
25964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
25965 $as_echo_n "checking for sqrtf declaration... " >&6; }
25966 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
25967 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
25968 $as_echo_n "(cached) " >&6
25969 else
25972 ac_ext=cpp
25973 ac_cpp='$CXXCPP $CPPFLAGS'
25974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25979 /* end confdefs.h. */
25980 #include <math.h>
25981 #ifdef HAVE_IEEEFP_H
25982 #include <ieeefp.h>
25983 #endif
25986 main ()
25988 sqrtf(0);
25990 return 0;
25992 _ACEOF
25993 if ac_fn_cxx_try_compile "$LINENO"; then :
25994 glibcxx_cv_func_sqrtf_use=yes
25995 else
25996 glibcxx_cv_func_sqrtf_use=no
25998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25999 ac_ext=c
26000 ac_cpp='$CPP $CPPFLAGS'
26001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
26010 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
26012 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
26013 for ac_func in sqrtf
26014 do :
26015 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
26016 if test "x$ac_cv_func_sqrtf" = xyes; then :
26017 cat >>confdefs.h <<_ACEOF
26018 #define HAVE_SQRTF 1
26019 _ACEOF
26022 done
26024 else
26026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
26027 $as_echo_n "checking for _sqrtf declaration... " >&6; }
26028 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
26029 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
26030 $as_echo_n "(cached) " >&6
26031 else
26034 ac_ext=cpp
26035 ac_cpp='$CXXCPP $CPPFLAGS'
26036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26041 /* end confdefs.h. */
26042 #include <math.h>
26043 #ifdef HAVE_IEEEFP_H
26044 #include <ieeefp.h>
26045 #endif
26048 main ()
26050 _sqrtf(0);
26052 return 0;
26054 _ACEOF
26055 if ac_fn_cxx_try_compile "$LINENO"; then :
26056 glibcxx_cv_func__sqrtf_use=yes
26057 else
26058 glibcxx_cv_func__sqrtf_use=no
26060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26061 ac_ext=c
26062 ac_cpp='$CPP $CPPFLAGS'
26063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
26072 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
26074 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
26075 for ac_func in _sqrtf
26076 do :
26077 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
26078 if test "x$ac_cv_func__sqrtf" = xyes; then :
26079 cat >>confdefs.h <<_ACEOF
26080 #define HAVE__SQRTF 1
26081 _ACEOF
26084 done
26093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
26094 $as_echo_n "checking for sincosf declaration... " >&6; }
26095 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
26096 if ${glibcxx_cv_func_sincosf_use+:} false; then :
26097 $as_echo_n "(cached) " >&6
26098 else
26101 ac_ext=cpp
26102 ac_cpp='$CXXCPP $CPPFLAGS'
26103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26108 /* end confdefs.h. */
26109 #include <math.h>
26111 main ()
26113 sincosf(0, 0, 0);
26115 return 0;
26117 _ACEOF
26118 if ac_fn_cxx_try_compile "$LINENO"; then :
26119 glibcxx_cv_func_sincosf_use=yes
26120 else
26121 glibcxx_cv_func_sincosf_use=no
26123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26124 ac_ext=c
26125 ac_cpp='$CPP $CPPFLAGS'
26126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
26135 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
26137 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
26138 for ac_func in sincosf
26139 do :
26140 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
26141 if test "x$ac_cv_func_sincosf" = xyes; then :
26142 cat >>confdefs.h <<_ACEOF
26143 #define HAVE_SINCOSF 1
26144 _ACEOF
26147 done
26149 else
26151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
26152 $as_echo_n "checking for _sincosf declaration... " >&6; }
26153 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
26154 if ${glibcxx_cv_func__sincosf_use+:} false; then :
26155 $as_echo_n "(cached) " >&6
26156 else
26159 ac_ext=cpp
26160 ac_cpp='$CXXCPP $CPPFLAGS'
26161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26166 /* end confdefs.h. */
26167 #include <math.h>
26169 main ()
26171 _sincosf(0, 0, 0);
26173 return 0;
26175 _ACEOF
26176 if ac_fn_cxx_try_compile "$LINENO"; then :
26177 glibcxx_cv_func__sincosf_use=yes
26178 else
26179 glibcxx_cv_func__sincosf_use=no
26181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26182 ac_ext=c
26183 ac_cpp='$CPP $CPPFLAGS'
26184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
26193 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
26195 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
26196 for ac_func in _sincosf
26197 do :
26198 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
26199 if test "x$ac_cv_func__sincosf" = xyes; then :
26200 cat >>confdefs.h <<_ACEOF
26201 #define HAVE__SINCOSF 1
26202 _ACEOF
26205 done
26214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
26215 $as_echo_n "checking for finitef declaration... " >&6; }
26216 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
26217 if ${glibcxx_cv_func_finitef_use+:} false; then :
26218 $as_echo_n "(cached) " >&6
26219 else
26222 ac_ext=cpp
26223 ac_cpp='$CXXCPP $CPPFLAGS'
26224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26229 /* end confdefs.h. */
26230 #include <math.h>
26231 #ifdef HAVE_IEEEFP_H
26232 #include <ieeefp.h>
26233 #endif
26236 main ()
26238 finitef(0);
26240 return 0;
26242 _ACEOF
26243 if ac_fn_cxx_try_compile "$LINENO"; then :
26244 glibcxx_cv_func_finitef_use=yes
26245 else
26246 glibcxx_cv_func_finitef_use=no
26248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26249 ac_ext=c
26250 ac_cpp='$CPP $CPPFLAGS'
26251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
26260 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
26262 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
26263 for ac_func in finitef
26264 do :
26265 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
26266 if test "x$ac_cv_func_finitef" = xyes; then :
26267 cat >>confdefs.h <<_ACEOF
26268 #define HAVE_FINITEF 1
26269 _ACEOF
26272 done
26274 else
26276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
26277 $as_echo_n "checking for _finitef declaration... " >&6; }
26278 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
26279 if ${glibcxx_cv_func__finitef_use+:} false; then :
26280 $as_echo_n "(cached) " >&6
26281 else
26284 ac_ext=cpp
26285 ac_cpp='$CXXCPP $CPPFLAGS'
26286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26291 /* end confdefs.h. */
26292 #include <math.h>
26293 #ifdef HAVE_IEEEFP_H
26294 #include <ieeefp.h>
26295 #endif
26298 main ()
26300 _finitef(0);
26302 return 0;
26304 _ACEOF
26305 if ac_fn_cxx_try_compile "$LINENO"; then :
26306 glibcxx_cv_func__finitef_use=yes
26307 else
26308 glibcxx_cv_func__finitef_use=no
26310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26311 ac_ext=c
26312 ac_cpp='$CPP $CPPFLAGS'
26313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
26322 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
26324 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
26325 for ac_func in _finitef
26326 do :
26327 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
26328 if test "x$ac_cv_func__finitef" = xyes; then :
26329 cat >>confdefs.h <<_ACEOF
26330 #define HAVE__FINITEF 1
26331 _ACEOF
26334 done
26343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
26344 $as_echo_n "checking for long double trig functions... " >&6; }
26345 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
26346 $as_echo_n "(cached) " >&6
26347 else
26350 ac_ext=cpp
26351 ac_cpp='$CXXCPP $CPPFLAGS'
26352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26357 /* end confdefs.h. */
26358 #include <math.h>
26360 main ()
26362 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
26364 return 0;
26366 _ACEOF
26367 if ac_fn_cxx_try_compile "$LINENO"; then :
26368 glibcxx_cv_func_long_double_trig_use=yes
26369 else
26370 glibcxx_cv_func_long_double_trig_use=no
26372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26373 ac_ext=c
26374 ac_cpp='$CPP $CPPFLAGS'
26375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
26382 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
26383 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
26384 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
26385 do :
26386 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26387 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26388 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26389 cat >>confdefs.h <<_ACEOF
26390 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26391 _ACEOF
26394 done
26396 else
26397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
26398 $as_echo_n "checking for _long double trig functions... " >&6; }
26399 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
26400 $as_echo_n "(cached) " >&6
26401 else
26404 ac_ext=cpp
26405 ac_cpp='$CXXCPP $CPPFLAGS'
26406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26411 /* end confdefs.h. */
26412 #include <math.h>
26414 main ()
26416 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
26418 return 0;
26420 _ACEOF
26421 if ac_fn_cxx_try_compile "$LINENO"; then :
26422 glibcxx_cv_func__long_double_trig_use=yes
26423 else
26424 glibcxx_cv_func__long_double_trig_use=no
26426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26427 ac_ext=c
26428 ac_cpp='$CPP $CPPFLAGS'
26429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
26436 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
26437 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
26438 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
26439 do :
26440 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26441 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26442 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26443 cat >>confdefs.h <<_ACEOF
26444 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26445 _ACEOF
26448 done
26457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
26458 $as_echo_n "checking for long double round functions... " >&6; }
26459 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
26460 $as_echo_n "(cached) " >&6
26461 else
26464 ac_ext=cpp
26465 ac_cpp='$CXXCPP $CPPFLAGS'
26466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26471 /* end confdefs.h. */
26472 #include <math.h>
26474 main ()
26476 ceill (0); floorl (0);
26478 return 0;
26480 _ACEOF
26481 if ac_fn_cxx_try_compile "$LINENO"; then :
26482 glibcxx_cv_func_long_double_round_use=yes
26483 else
26484 glibcxx_cv_func_long_double_round_use=no
26486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26487 ac_ext=c
26488 ac_cpp='$CPP $CPPFLAGS'
26489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
26496 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
26497 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
26498 for ac_func in ceill floorl
26499 do :
26500 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26501 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26502 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26503 cat >>confdefs.h <<_ACEOF
26504 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26505 _ACEOF
26508 done
26510 else
26511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
26512 $as_echo_n "checking for _long double round functions... " >&6; }
26513 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
26514 $as_echo_n "(cached) " >&6
26515 else
26518 ac_ext=cpp
26519 ac_cpp='$CXXCPP $CPPFLAGS'
26520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26525 /* end confdefs.h. */
26526 #include <math.h>
26528 main ()
26530 _ceill (0); _floorl (0);
26532 return 0;
26534 _ACEOF
26535 if ac_fn_cxx_try_compile "$LINENO"; then :
26536 glibcxx_cv_func__long_double_round_use=yes
26537 else
26538 glibcxx_cv_func__long_double_round_use=no
26540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26541 ac_ext=c
26542 ac_cpp='$CPP $CPPFLAGS'
26543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
26550 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
26551 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
26552 for ac_func in _ceill _floorl
26553 do :
26554 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26555 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26556 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26557 cat >>confdefs.h <<_ACEOF
26558 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26559 _ACEOF
26562 done
26572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
26573 $as_echo_n "checking for isnanl declaration... " >&6; }
26574 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
26575 if ${glibcxx_cv_func_isnanl_use+:} false; then :
26576 $as_echo_n "(cached) " >&6
26577 else
26580 ac_ext=cpp
26581 ac_cpp='$CXXCPP $CPPFLAGS'
26582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26587 /* end confdefs.h. */
26588 #include <math.h>
26589 #ifdef HAVE_IEEEFP_H
26590 #include <ieeefp.h>
26591 #endif
26594 main ()
26596 isnanl(0);
26598 return 0;
26600 _ACEOF
26601 if ac_fn_cxx_try_compile "$LINENO"; then :
26602 glibcxx_cv_func_isnanl_use=yes
26603 else
26604 glibcxx_cv_func_isnanl_use=no
26606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26607 ac_ext=c
26608 ac_cpp='$CPP $CPPFLAGS'
26609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
26618 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
26620 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
26621 for ac_func in isnanl
26622 do :
26623 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
26624 if test "x$ac_cv_func_isnanl" = xyes; then :
26625 cat >>confdefs.h <<_ACEOF
26626 #define HAVE_ISNANL 1
26627 _ACEOF
26630 done
26632 else
26634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
26635 $as_echo_n "checking for _isnanl declaration... " >&6; }
26636 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
26637 if ${glibcxx_cv_func__isnanl_use+:} false; then :
26638 $as_echo_n "(cached) " >&6
26639 else
26642 ac_ext=cpp
26643 ac_cpp='$CXXCPP $CPPFLAGS'
26644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26649 /* end confdefs.h. */
26650 #include <math.h>
26651 #ifdef HAVE_IEEEFP_H
26652 #include <ieeefp.h>
26653 #endif
26656 main ()
26658 _isnanl(0);
26660 return 0;
26662 _ACEOF
26663 if ac_fn_cxx_try_compile "$LINENO"; then :
26664 glibcxx_cv_func__isnanl_use=yes
26665 else
26666 glibcxx_cv_func__isnanl_use=no
26668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26669 ac_ext=c
26670 ac_cpp='$CPP $CPPFLAGS'
26671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
26680 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
26682 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
26683 for ac_func in _isnanl
26684 do :
26685 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
26686 if test "x$ac_cv_func__isnanl" = xyes; then :
26687 cat >>confdefs.h <<_ACEOF
26688 #define HAVE__ISNANL 1
26689 _ACEOF
26692 done
26701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
26702 $as_echo_n "checking for isinfl declaration... " >&6; }
26703 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
26704 if ${glibcxx_cv_func_isinfl_use+:} false; then :
26705 $as_echo_n "(cached) " >&6
26706 else
26709 ac_ext=cpp
26710 ac_cpp='$CXXCPP $CPPFLAGS'
26711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26716 /* end confdefs.h. */
26717 #include <math.h>
26718 #ifdef HAVE_IEEEFP_H
26719 #include <ieeefp.h>
26720 #endif
26723 main ()
26725 isinfl(0);
26727 return 0;
26729 _ACEOF
26730 if ac_fn_cxx_try_compile "$LINENO"; then :
26731 glibcxx_cv_func_isinfl_use=yes
26732 else
26733 glibcxx_cv_func_isinfl_use=no
26735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26736 ac_ext=c
26737 ac_cpp='$CPP $CPPFLAGS'
26738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
26747 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
26749 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
26750 for ac_func in isinfl
26751 do :
26752 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
26753 if test "x$ac_cv_func_isinfl" = xyes; then :
26754 cat >>confdefs.h <<_ACEOF
26755 #define HAVE_ISINFL 1
26756 _ACEOF
26759 done
26761 else
26763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
26764 $as_echo_n "checking for _isinfl declaration... " >&6; }
26765 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
26766 if ${glibcxx_cv_func__isinfl_use+:} false; then :
26767 $as_echo_n "(cached) " >&6
26768 else
26771 ac_ext=cpp
26772 ac_cpp='$CXXCPP $CPPFLAGS'
26773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26778 /* end confdefs.h. */
26779 #include <math.h>
26780 #ifdef HAVE_IEEEFP_H
26781 #include <ieeefp.h>
26782 #endif
26785 main ()
26787 _isinfl(0);
26789 return 0;
26791 _ACEOF
26792 if ac_fn_cxx_try_compile "$LINENO"; then :
26793 glibcxx_cv_func__isinfl_use=yes
26794 else
26795 glibcxx_cv_func__isinfl_use=no
26797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26798 ac_ext=c
26799 ac_cpp='$CPP $CPPFLAGS'
26800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
26809 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
26811 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
26812 for ac_func in _isinfl
26813 do :
26814 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
26815 if test "x$ac_cv_func__isinfl" = xyes; then :
26816 cat >>confdefs.h <<_ACEOF
26817 #define HAVE__ISINFL 1
26818 _ACEOF
26821 done
26830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
26831 $as_echo_n "checking for atan2l declaration... " >&6; }
26832 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
26833 if ${glibcxx_cv_func_atan2l_use+:} false; then :
26834 $as_echo_n "(cached) " >&6
26835 else
26838 ac_ext=cpp
26839 ac_cpp='$CXXCPP $CPPFLAGS'
26840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26845 /* end confdefs.h. */
26846 #include <math.h>
26848 main ()
26850 atan2l(0, 0);
26852 return 0;
26854 _ACEOF
26855 if ac_fn_cxx_try_compile "$LINENO"; then :
26856 glibcxx_cv_func_atan2l_use=yes
26857 else
26858 glibcxx_cv_func_atan2l_use=no
26860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26861 ac_ext=c
26862 ac_cpp='$CPP $CPPFLAGS'
26863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
26872 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
26874 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
26875 for ac_func in atan2l
26876 do :
26877 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
26878 if test "x$ac_cv_func_atan2l" = xyes; then :
26879 cat >>confdefs.h <<_ACEOF
26880 #define HAVE_ATAN2L 1
26881 _ACEOF
26884 done
26886 else
26888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
26889 $as_echo_n "checking for _atan2l declaration... " >&6; }
26890 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
26891 if ${glibcxx_cv_func__atan2l_use+:} false; then :
26892 $as_echo_n "(cached) " >&6
26893 else
26896 ac_ext=cpp
26897 ac_cpp='$CXXCPP $CPPFLAGS'
26898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26903 /* end confdefs.h. */
26904 #include <math.h>
26906 main ()
26908 _atan2l(0, 0);
26910 return 0;
26912 _ACEOF
26913 if ac_fn_cxx_try_compile "$LINENO"; then :
26914 glibcxx_cv_func__atan2l_use=yes
26915 else
26916 glibcxx_cv_func__atan2l_use=no
26918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26919 ac_ext=c
26920 ac_cpp='$CPP $CPPFLAGS'
26921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
26930 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
26932 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
26933 for ac_func in _atan2l
26934 do :
26935 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
26936 if test "x$ac_cv_func__atan2l" = xyes; then :
26937 cat >>confdefs.h <<_ACEOF
26938 #define HAVE__ATAN2L 1
26939 _ACEOF
26942 done
26951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
26952 $as_echo_n "checking for expl declaration... " >&6; }
26953 if test x${glibcxx_cv_func_expl_use+set} != xset; then
26954 if ${glibcxx_cv_func_expl_use+:} false; then :
26955 $as_echo_n "(cached) " >&6
26956 else
26959 ac_ext=cpp
26960 ac_cpp='$CXXCPP $CPPFLAGS'
26961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26966 /* end confdefs.h. */
26967 #include <math.h>
26968 #ifdef HAVE_IEEEFP_H
26969 #include <ieeefp.h>
26970 #endif
26973 main ()
26975 expl(0);
26977 return 0;
26979 _ACEOF
26980 if ac_fn_cxx_try_compile "$LINENO"; then :
26981 glibcxx_cv_func_expl_use=yes
26982 else
26983 glibcxx_cv_func_expl_use=no
26985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26986 ac_ext=c
26987 ac_cpp='$CPP $CPPFLAGS'
26988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26997 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26999 if test x$glibcxx_cv_func_expl_use = x"yes"; then
27000 for ac_func in expl
27001 do :
27002 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
27003 if test "x$ac_cv_func_expl" = xyes; then :
27004 cat >>confdefs.h <<_ACEOF
27005 #define HAVE_EXPL 1
27006 _ACEOF
27009 done
27011 else
27013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
27014 $as_echo_n "checking for _expl declaration... " >&6; }
27015 if test x${glibcxx_cv_func__expl_use+set} != xset; then
27016 if ${glibcxx_cv_func__expl_use+:} false; then :
27017 $as_echo_n "(cached) " >&6
27018 else
27021 ac_ext=cpp
27022 ac_cpp='$CXXCPP $CPPFLAGS'
27023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27028 /* end confdefs.h. */
27029 #include <math.h>
27030 #ifdef HAVE_IEEEFP_H
27031 #include <ieeefp.h>
27032 #endif
27035 main ()
27037 _expl(0);
27039 return 0;
27041 _ACEOF
27042 if ac_fn_cxx_try_compile "$LINENO"; then :
27043 glibcxx_cv_func__expl_use=yes
27044 else
27045 glibcxx_cv_func__expl_use=no
27047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27048 ac_ext=c
27049 ac_cpp='$CPP $CPPFLAGS'
27050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
27059 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
27061 if test x$glibcxx_cv_func__expl_use = x"yes"; then
27062 for ac_func in _expl
27063 do :
27064 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
27065 if test "x$ac_cv_func__expl" = xyes; then :
27066 cat >>confdefs.h <<_ACEOF
27067 #define HAVE__EXPL 1
27068 _ACEOF
27071 done
27080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
27081 $as_echo_n "checking for fabsl declaration... " >&6; }
27082 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
27083 if ${glibcxx_cv_func_fabsl_use+:} false; then :
27084 $as_echo_n "(cached) " >&6
27085 else
27088 ac_ext=cpp
27089 ac_cpp='$CXXCPP $CPPFLAGS'
27090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27095 /* end confdefs.h. */
27096 #include <math.h>
27097 #ifdef HAVE_IEEEFP_H
27098 #include <ieeefp.h>
27099 #endif
27102 main ()
27104 fabsl(0);
27106 return 0;
27108 _ACEOF
27109 if ac_fn_cxx_try_compile "$LINENO"; then :
27110 glibcxx_cv_func_fabsl_use=yes
27111 else
27112 glibcxx_cv_func_fabsl_use=no
27114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27115 ac_ext=c
27116 ac_cpp='$CPP $CPPFLAGS'
27117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
27126 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
27128 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
27129 for ac_func in fabsl
27130 do :
27131 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
27132 if test "x$ac_cv_func_fabsl" = xyes; then :
27133 cat >>confdefs.h <<_ACEOF
27134 #define HAVE_FABSL 1
27135 _ACEOF
27138 done
27140 else
27142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
27143 $as_echo_n "checking for _fabsl declaration... " >&6; }
27144 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
27145 if ${glibcxx_cv_func__fabsl_use+:} false; then :
27146 $as_echo_n "(cached) " >&6
27147 else
27150 ac_ext=cpp
27151 ac_cpp='$CXXCPP $CPPFLAGS'
27152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27157 /* end confdefs.h. */
27158 #include <math.h>
27159 #ifdef HAVE_IEEEFP_H
27160 #include <ieeefp.h>
27161 #endif
27164 main ()
27166 _fabsl(0);
27168 return 0;
27170 _ACEOF
27171 if ac_fn_cxx_try_compile "$LINENO"; then :
27172 glibcxx_cv_func__fabsl_use=yes
27173 else
27174 glibcxx_cv_func__fabsl_use=no
27176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27177 ac_ext=c
27178 ac_cpp='$CPP $CPPFLAGS'
27179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
27188 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
27190 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
27191 for ac_func in _fabsl
27192 do :
27193 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
27194 if test "x$ac_cv_func__fabsl" = xyes; then :
27195 cat >>confdefs.h <<_ACEOF
27196 #define HAVE__FABSL 1
27197 _ACEOF
27200 done
27209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
27210 $as_echo_n "checking for fmodl declaration... " >&6; }
27211 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
27212 if ${glibcxx_cv_func_fmodl_use+:} false; then :
27213 $as_echo_n "(cached) " >&6
27214 else
27217 ac_ext=cpp
27218 ac_cpp='$CXXCPP $CPPFLAGS'
27219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27224 /* end confdefs.h. */
27225 #include <math.h>
27227 main ()
27229 fmodl(0, 0);
27231 return 0;
27233 _ACEOF
27234 if ac_fn_cxx_try_compile "$LINENO"; then :
27235 glibcxx_cv_func_fmodl_use=yes
27236 else
27237 glibcxx_cv_func_fmodl_use=no
27239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27240 ac_ext=c
27241 ac_cpp='$CPP $CPPFLAGS'
27242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
27251 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
27253 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
27254 for ac_func in fmodl
27255 do :
27256 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
27257 if test "x$ac_cv_func_fmodl" = xyes; then :
27258 cat >>confdefs.h <<_ACEOF
27259 #define HAVE_FMODL 1
27260 _ACEOF
27263 done
27265 else
27267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
27268 $as_echo_n "checking for _fmodl declaration... " >&6; }
27269 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
27270 if ${glibcxx_cv_func__fmodl_use+:} false; then :
27271 $as_echo_n "(cached) " >&6
27272 else
27275 ac_ext=cpp
27276 ac_cpp='$CXXCPP $CPPFLAGS'
27277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27282 /* end confdefs.h. */
27283 #include <math.h>
27285 main ()
27287 _fmodl(0, 0);
27289 return 0;
27291 _ACEOF
27292 if ac_fn_cxx_try_compile "$LINENO"; then :
27293 glibcxx_cv_func__fmodl_use=yes
27294 else
27295 glibcxx_cv_func__fmodl_use=no
27297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27298 ac_ext=c
27299 ac_cpp='$CPP $CPPFLAGS'
27300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
27309 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
27311 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
27312 for ac_func in _fmodl
27313 do :
27314 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
27315 if test "x$ac_cv_func__fmodl" = xyes; then :
27316 cat >>confdefs.h <<_ACEOF
27317 #define HAVE__FMODL 1
27318 _ACEOF
27321 done
27330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
27331 $as_echo_n "checking for frexpl declaration... " >&6; }
27332 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
27333 if ${glibcxx_cv_func_frexpl_use+:} false; then :
27334 $as_echo_n "(cached) " >&6
27335 else
27338 ac_ext=cpp
27339 ac_cpp='$CXXCPP $CPPFLAGS'
27340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27345 /* end confdefs.h. */
27346 #include <math.h>
27348 main ()
27350 frexpl(0, 0);
27352 return 0;
27354 _ACEOF
27355 if ac_fn_cxx_try_compile "$LINENO"; then :
27356 glibcxx_cv_func_frexpl_use=yes
27357 else
27358 glibcxx_cv_func_frexpl_use=no
27360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27361 ac_ext=c
27362 ac_cpp='$CPP $CPPFLAGS'
27363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
27372 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
27374 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
27375 for ac_func in frexpl
27376 do :
27377 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
27378 if test "x$ac_cv_func_frexpl" = xyes; then :
27379 cat >>confdefs.h <<_ACEOF
27380 #define HAVE_FREXPL 1
27381 _ACEOF
27384 done
27386 else
27388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
27389 $as_echo_n "checking for _frexpl declaration... " >&6; }
27390 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
27391 if ${glibcxx_cv_func__frexpl_use+:} false; then :
27392 $as_echo_n "(cached) " >&6
27393 else
27396 ac_ext=cpp
27397 ac_cpp='$CXXCPP $CPPFLAGS'
27398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27403 /* end confdefs.h. */
27404 #include <math.h>
27406 main ()
27408 _frexpl(0, 0);
27410 return 0;
27412 _ACEOF
27413 if ac_fn_cxx_try_compile "$LINENO"; then :
27414 glibcxx_cv_func__frexpl_use=yes
27415 else
27416 glibcxx_cv_func__frexpl_use=no
27418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27419 ac_ext=c
27420 ac_cpp='$CPP $CPPFLAGS'
27421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
27430 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
27432 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
27433 for ac_func in _frexpl
27434 do :
27435 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
27436 if test "x$ac_cv_func__frexpl" = xyes; then :
27437 cat >>confdefs.h <<_ACEOF
27438 #define HAVE__FREXPL 1
27439 _ACEOF
27442 done
27451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
27452 $as_echo_n "checking for hypotl declaration... " >&6; }
27453 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
27454 if ${glibcxx_cv_func_hypotl_use+:} false; then :
27455 $as_echo_n "(cached) " >&6
27456 else
27459 ac_ext=cpp
27460 ac_cpp='$CXXCPP $CPPFLAGS'
27461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27466 /* end confdefs.h. */
27467 #include <math.h>
27469 main ()
27471 hypotl(0, 0);
27473 return 0;
27475 _ACEOF
27476 if ac_fn_cxx_try_compile "$LINENO"; then :
27477 glibcxx_cv_func_hypotl_use=yes
27478 else
27479 glibcxx_cv_func_hypotl_use=no
27481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27482 ac_ext=c
27483 ac_cpp='$CPP $CPPFLAGS'
27484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
27493 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
27495 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
27496 for ac_func in hypotl
27497 do :
27498 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
27499 if test "x$ac_cv_func_hypotl" = xyes; then :
27500 cat >>confdefs.h <<_ACEOF
27501 #define HAVE_HYPOTL 1
27502 _ACEOF
27505 done
27507 else
27509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
27510 $as_echo_n "checking for _hypotl declaration... " >&6; }
27511 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
27512 if ${glibcxx_cv_func__hypotl_use+:} false; then :
27513 $as_echo_n "(cached) " >&6
27514 else
27517 ac_ext=cpp
27518 ac_cpp='$CXXCPP $CPPFLAGS'
27519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27524 /* end confdefs.h. */
27525 #include <math.h>
27527 main ()
27529 _hypotl(0, 0);
27531 return 0;
27533 _ACEOF
27534 if ac_fn_cxx_try_compile "$LINENO"; then :
27535 glibcxx_cv_func__hypotl_use=yes
27536 else
27537 glibcxx_cv_func__hypotl_use=no
27539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27540 ac_ext=c
27541 ac_cpp='$CPP $CPPFLAGS'
27542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
27551 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
27553 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
27554 for ac_func in _hypotl
27555 do :
27556 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
27557 if test "x$ac_cv_func__hypotl" = xyes; then :
27558 cat >>confdefs.h <<_ACEOF
27559 #define HAVE__HYPOTL 1
27560 _ACEOF
27563 done
27572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
27573 $as_echo_n "checking for ldexpl declaration... " >&6; }
27574 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
27575 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
27576 $as_echo_n "(cached) " >&6
27577 else
27580 ac_ext=cpp
27581 ac_cpp='$CXXCPP $CPPFLAGS'
27582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27587 /* end confdefs.h. */
27588 #include <math.h>
27590 main ()
27592 ldexpl(0, 0);
27594 return 0;
27596 _ACEOF
27597 if ac_fn_cxx_try_compile "$LINENO"; then :
27598 glibcxx_cv_func_ldexpl_use=yes
27599 else
27600 glibcxx_cv_func_ldexpl_use=no
27602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27603 ac_ext=c
27604 ac_cpp='$CPP $CPPFLAGS'
27605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
27614 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
27616 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
27617 for ac_func in ldexpl
27618 do :
27619 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
27620 if test "x$ac_cv_func_ldexpl" = xyes; then :
27621 cat >>confdefs.h <<_ACEOF
27622 #define HAVE_LDEXPL 1
27623 _ACEOF
27626 done
27628 else
27630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
27631 $as_echo_n "checking for _ldexpl declaration... " >&6; }
27632 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
27633 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
27634 $as_echo_n "(cached) " >&6
27635 else
27638 ac_ext=cpp
27639 ac_cpp='$CXXCPP $CPPFLAGS'
27640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27645 /* end confdefs.h. */
27646 #include <math.h>
27648 main ()
27650 _ldexpl(0, 0);
27652 return 0;
27654 _ACEOF
27655 if ac_fn_cxx_try_compile "$LINENO"; then :
27656 glibcxx_cv_func__ldexpl_use=yes
27657 else
27658 glibcxx_cv_func__ldexpl_use=no
27660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27661 ac_ext=c
27662 ac_cpp='$CPP $CPPFLAGS'
27663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
27672 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
27674 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
27675 for ac_func in _ldexpl
27676 do :
27677 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
27678 if test "x$ac_cv_func__ldexpl" = xyes; then :
27679 cat >>confdefs.h <<_ACEOF
27680 #define HAVE__LDEXPL 1
27681 _ACEOF
27684 done
27693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
27694 $as_echo_n "checking for logl declaration... " >&6; }
27695 if test x${glibcxx_cv_func_logl_use+set} != xset; then
27696 if ${glibcxx_cv_func_logl_use+:} false; then :
27697 $as_echo_n "(cached) " >&6
27698 else
27701 ac_ext=cpp
27702 ac_cpp='$CXXCPP $CPPFLAGS'
27703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27708 /* end confdefs.h. */
27709 #include <math.h>
27710 #ifdef HAVE_IEEEFP_H
27711 #include <ieeefp.h>
27712 #endif
27715 main ()
27717 logl(0);
27719 return 0;
27721 _ACEOF
27722 if ac_fn_cxx_try_compile "$LINENO"; then :
27723 glibcxx_cv_func_logl_use=yes
27724 else
27725 glibcxx_cv_func_logl_use=no
27727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27728 ac_ext=c
27729 ac_cpp='$CPP $CPPFLAGS'
27730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
27739 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
27741 if test x$glibcxx_cv_func_logl_use = x"yes"; then
27742 for ac_func in logl
27743 do :
27744 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
27745 if test "x$ac_cv_func_logl" = xyes; then :
27746 cat >>confdefs.h <<_ACEOF
27747 #define HAVE_LOGL 1
27748 _ACEOF
27751 done
27753 else
27755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
27756 $as_echo_n "checking for _logl declaration... " >&6; }
27757 if test x${glibcxx_cv_func__logl_use+set} != xset; then
27758 if ${glibcxx_cv_func__logl_use+:} false; then :
27759 $as_echo_n "(cached) " >&6
27760 else
27763 ac_ext=cpp
27764 ac_cpp='$CXXCPP $CPPFLAGS'
27765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27770 /* end confdefs.h. */
27771 #include <math.h>
27772 #ifdef HAVE_IEEEFP_H
27773 #include <ieeefp.h>
27774 #endif
27777 main ()
27779 _logl(0);
27781 return 0;
27783 _ACEOF
27784 if ac_fn_cxx_try_compile "$LINENO"; then :
27785 glibcxx_cv_func__logl_use=yes
27786 else
27787 glibcxx_cv_func__logl_use=no
27789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27790 ac_ext=c
27791 ac_cpp='$CPP $CPPFLAGS'
27792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
27801 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
27803 if test x$glibcxx_cv_func__logl_use = x"yes"; then
27804 for ac_func in _logl
27805 do :
27806 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
27807 if test "x$ac_cv_func__logl" = xyes; then :
27808 cat >>confdefs.h <<_ACEOF
27809 #define HAVE__LOGL 1
27810 _ACEOF
27813 done
27822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
27823 $as_echo_n "checking for log10l declaration... " >&6; }
27824 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
27825 if ${glibcxx_cv_func_log10l_use+:} false; then :
27826 $as_echo_n "(cached) " >&6
27827 else
27830 ac_ext=cpp
27831 ac_cpp='$CXXCPP $CPPFLAGS'
27832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27837 /* end confdefs.h. */
27838 #include <math.h>
27839 #ifdef HAVE_IEEEFP_H
27840 #include <ieeefp.h>
27841 #endif
27844 main ()
27846 log10l(0);
27848 return 0;
27850 _ACEOF
27851 if ac_fn_cxx_try_compile "$LINENO"; then :
27852 glibcxx_cv_func_log10l_use=yes
27853 else
27854 glibcxx_cv_func_log10l_use=no
27856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27857 ac_ext=c
27858 ac_cpp='$CPP $CPPFLAGS'
27859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
27868 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
27870 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
27871 for ac_func in log10l
27872 do :
27873 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
27874 if test "x$ac_cv_func_log10l" = xyes; then :
27875 cat >>confdefs.h <<_ACEOF
27876 #define HAVE_LOG10L 1
27877 _ACEOF
27880 done
27882 else
27884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
27885 $as_echo_n "checking for _log10l declaration... " >&6; }
27886 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
27887 if ${glibcxx_cv_func__log10l_use+:} false; then :
27888 $as_echo_n "(cached) " >&6
27889 else
27892 ac_ext=cpp
27893 ac_cpp='$CXXCPP $CPPFLAGS'
27894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27899 /* end confdefs.h. */
27900 #include <math.h>
27901 #ifdef HAVE_IEEEFP_H
27902 #include <ieeefp.h>
27903 #endif
27906 main ()
27908 _log10l(0);
27910 return 0;
27912 _ACEOF
27913 if ac_fn_cxx_try_compile "$LINENO"; then :
27914 glibcxx_cv_func__log10l_use=yes
27915 else
27916 glibcxx_cv_func__log10l_use=no
27918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27919 ac_ext=c
27920 ac_cpp='$CPP $CPPFLAGS'
27921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
27930 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
27932 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
27933 for ac_func in _log10l
27934 do :
27935 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
27936 if test "x$ac_cv_func__log10l" = xyes; then :
27937 cat >>confdefs.h <<_ACEOF
27938 #define HAVE__LOG10L 1
27939 _ACEOF
27942 done
27951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
27952 $as_echo_n "checking for modfl declaration... " >&6; }
27953 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
27954 if ${glibcxx_cv_func_modfl_use+:} false; then :
27955 $as_echo_n "(cached) " >&6
27956 else
27959 ac_ext=cpp
27960 ac_cpp='$CXXCPP $CPPFLAGS'
27961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27966 /* end confdefs.h. */
27967 #include <math.h>
27969 main ()
27971 modfl(0, 0);
27973 return 0;
27975 _ACEOF
27976 if ac_fn_cxx_try_compile "$LINENO"; then :
27977 glibcxx_cv_func_modfl_use=yes
27978 else
27979 glibcxx_cv_func_modfl_use=no
27981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27982 ac_ext=c
27983 ac_cpp='$CPP $CPPFLAGS'
27984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27993 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27995 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27996 for ac_func in modfl
27997 do :
27998 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27999 if test "x$ac_cv_func_modfl" = xyes; then :
28000 cat >>confdefs.h <<_ACEOF
28001 #define HAVE_MODFL 1
28002 _ACEOF
28005 done
28007 else
28009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
28010 $as_echo_n "checking for _modfl declaration... " >&6; }
28011 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
28012 if ${glibcxx_cv_func__modfl_use+:} false; then :
28013 $as_echo_n "(cached) " >&6
28014 else
28017 ac_ext=cpp
28018 ac_cpp='$CXXCPP $CPPFLAGS'
28019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28024 /* end confdefs.h. */
28025 #include <math.h>
28027 main ()
28029 _modfl(0, 0);
28031 return 0;
28033 _ACEOF
28034 if ac_fn_cxx_try_compile "$LINENO"; then :
28035 glibcxx_cv_func__modfl_use=yes
28036 else
28037 glibcxx_cv_func__modfl_use=no
28039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28040 ac_ext=c
28041 ac_cpp='$CPP $CPPFLAGS'
28042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
28051 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
28053 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
28054 for ac_func in _modfl
28055 do :
28056 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
28057 if test "x$ac_cv_func__modfl" = xyes; then :
28058 cat >>confdefs.h <<_ACEOF
28059 #define HAVE__MODFL 1
28060 _ACEOF
28063 done
28072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
28073 $as_echo_n "checking for powl declaration... " >&6; }
28074 if test x${glibcxx_cv_func_powl_use+set} != xset; then
28075 if ${glibcxx_cv_func_powl_use+:} false; then :
28076 $as_echo_n "(cached) " >&6
28077 else
28080 ac_ext=cpp
28081 ac_cpp='$CXXCPP $CPPFLAGS'
28082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28087 /* end confdefs.h. */
28088 #include <math.h>
28090 main ()
28092 powl(0, 0);
28094 return 0;
28096 _ACEOF
28097 if ac_fn_cxx_try_compile "$LINENO"; then :
28098 glibcxx_cv_func_powl_use=yes
28099 else
28100 glibcxx_cv_func_powl_use=no
28102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28103 ac_ext=c
28104 ac_cpp='$CPP $CPPFLAGS'
28105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
28114 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
28116 if test x$glibcxx_cv_func_powl_use = x"yes"; then
28117 for ac_func in powl
28118 do :
28119 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
28120 if test "x$ac_cv_func_powl" = xyes; then :
28121 cat >>confdefs.h <<_ACEOF
28122 #define HAVE_POWL 1
28123 _ACEOF
28126 done
28128 else
28130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
28131 $as_echo_n "checking for _powl declaration... " >&6; }
28132 if test x${glibcxx_cv_func__powl_use+set} != xset; then
28133 if ${glibcxx_cv_func__powl_use+:} false; then :
28134 $as_echo_n "(cached) " >&6
28135 else
28138 ac_ext=cpp
28139 ac_cpp='$CXXCPP $CPPFLAGS'
28140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28145 /* end confdefs.h. */
28146 #include <math.h>
28148 main ()
28150 _powl(0, 0);
28152 return 0;
28154 _ACEOF
28155 if ac_fn_cxx_try_compile "$LINENO"; then :
28156 glibcxx_cv_func__powl_use=yes
28157 else
28158 glibcxx_cv_func__powl_use=no
28160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28161 ac_ext=c
28162 ac_cpp='$CPP $CPPFLAGS'
28163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
28172 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
28174 if test x$glibcxx_cv_func__powl_use = x"yes"; then
28175 for ac_func in _powl
28176 do :
28177 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
28178 if test "x$ac_cv_func__powl" = xyes; then :
28179 cat >>confdefs.h <<_ACEOF
28180 #define HAVE__POWL 1
28181 _ACEOF
28184 done
28193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
28194 $as_echo_n "checking for sqrtl declaration... " >&6; }
28195 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
28196 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
28197 $as_echo_n "(cached) " >&6
28198 else
28201 ac_ext=cpp
28202 ac_cpp='$CXXCPP $CPPFLAGS'
28203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28208 /* end confdefs.h. */
28209 #include <math.h>
28210 #ifdef HAVE_IEEEFP_H
28211 #include <ieeefp.h>
28212 #endif
28215 main ()
28217 sqrtl(0);
28219 return 0;
28221 _ACEOF
28222 if ac_fn_cxx_try_compile "$LINENO"; then :
28223 glibcxx_cv_func_sqrtl_use=yes
28224 else
28225 glibcxx_cv_func_sqrtl_use=no
28227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28228 ac_ext=c
28229 ac_cpp='$CPP $CPPFLAGS'
28230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
28239 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
28241 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
28242 for ac_func in sqrtl
28243 do :
28244 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
28245 if test "x$ac_cv_func_sqrtl" = xyes; then :
28246 cat >>confdefs.h <<_ACEOF
28247 #define HAVE_SQRTL 1
28248 _ACEOF
28251 done
28253 else
28255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
28256 $as_echo_n "checking for _sqrtl declaration... " >&6; }
28257 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
28258 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
28259 $as_echo_n "(cached) " >&6
28260 else
28263 ac_ext=cpp
28264 ac_cpp='$CXXCPP $CPPFLAGS'
28265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28270 /* end confdefs.h. */
28271 #include <math.h>
28272 #ifdef HAVE_IEEEFP_H
28273 #include <ieeefp.h>
28274 #endif
28277 main ()
28279 _sqrtl(0);
28281 return 0;
28283 _ACEOF
28284 if ac_fn_cxx_try_compile "$LINENO"; then :
28285 glibcxx_cv_func__sqrtl_use=yes
28286 else
28287 glibcxx_cv_func__sqrtl_use=no
28289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28290 ac_ext=c
28291 ac_cpp='$CPP $CPPFLAGS'
28292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
28301 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
28303 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
28304 for ac_func in _sqrtl
28305 do :
28306 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
28307 if test "x$ac_cv_func__sqrtl" = xyes; then :
28308 cat >>confdefs.h <<_ACEOF
28309 #define HAVE__SQRTL 1
28310 _ACEOF
28313 done
28322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
28323 $as_echo_n "checking for sincosl declaration... " >&6; }
28324 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
28325 if ${glibcxx_cv_func_sincosl_use+:} false; then :
28326 $as_echo_n "(cached) " >&6
28327 else
28330 ac_ext=cpp
28331 ac_cpp='$CXXCPP $CPPFLAGS'
28332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28337 /* end confdefs.h. */
28338 #include <math.h>
28340 main ()
28342 sincosl(0, 0, 0);
28344 return 0;
28346 _ACEOF
28347 if ac_fn_cxx_try_compile "$LINENO"; then :
28348 glibcxx_cv_func_sincosl_use=yes
28349 else
28350 glibcxx_cv_func_sincosl_use=no
28352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28353 ac_ext=c
28354 ac_cpp='$CPP $CPPFLAGS'
28355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
28364 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
28366 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
28367 for ac_func in sincosl
28368 do :
28369 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
28370 if test "x$ac_cv_func_sincosl" = xyes; then :
28371 cat >>confdefs.h <<_ACEOF
28372 #define HAVE_SINCOSL 1
28373 _ACEOF
28376 done
28378 else
28380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
28381 $as_echo_n "checking for _sincosl declaration... " >&6; }
28382 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
28383 if ${glibcxx_cv_func__sincosl_use+:} false; then :
28384 $as_echo_n "(cached) " >&6
28385 else
28388 ac_ext=cpp
28389 ac_cpp='$CXXCPP $CPPFLAGS'
28390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28395 /* end confdefs.h. */
28396 #include <math.h>
28398 main ()
28400 _sincosl(0, 0, 0);
28402 return 0;
28404 _ACEOF
28405 if ac_fn_cxx_try_compile "$LINENO"; then :
28406 glibcxx_cv_func__sincosl_use=yes
28407 else
28408 glibcxx_cv_func__sincosl_use=no
28410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28411 ac_ext=c
28412 ac_cpp='$CPP $CPPFLAGS'
28413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
28422 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
28424 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
28425 for ac_func in _sincosl
28426 do :
28427 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
28428 if test "x$ac_cv_func__sincosl" = xyes; then :
28429 cat >>confdefs.h <<_ACEOF
28430 #define HAVE__SINCOSL 1
28431 _ACEOF
28434 done
28443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
28444 $as_echo_n "checking for finitel declaration... " >&6; }
28445 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
28446 if ${glibcxx_cv_func_finitel_use+:} false; then :
28447 $as_echo_n "(cached) " >&6
28448 else
28451 ac_ext=cpp
28452 ac_cpp='$CXXCPP $CPPFLAGS'
28453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28458 /* end confdefs.h. */
28459 #include <math.h>
28460 #ifdef HAVE_IEEEFP_H
28461 #include <ieeefp.h>
28462 #endif
28465 main ()
28467 finitel(0);
28469 return 0;
28471 _ACEOF
28472 if ac_fn_cxx_try_compile "$LINENO"; then :
28473 glibcxx_cv_func_finitel_use=yes
28474 else
28475 glibcxx_cv_func_finitel_use=no
28477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28478 ac_ext=c
28479 ac_cpp='$CPP $CPPFLAGS'
28480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
28489 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
28491 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
28492 for ac_func in finitel
28493 do :
28494 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
28495 if test "x$ac_cv_func_finitel" = xyes; then :
28496 cat >>confdefs.h <<_ACEOF
28497 #define HAVE_FINITEL 1
28498 _ACEOF
28501 done
28503 else
28505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
28506 $as_echo_n "checking for _finitel declaration... " >&6; }
28507 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
28508 if ${glibcxx_cv_func__finitel_use+:} false; then :
28509 $as_echo_n "(cached) " >&6
28510 else
28513 ac_ext=cpp
28514 ac_cpp='$CXXCPP $CPPFLAGS'
28515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28520 /* end confdefs.h. */
28521 #include <math.h>
28522 #ifdef HAVE_IEEEFP_H
28523 #include <ieeefp.h>
28524 #endif
28527 main ()
28529 _finitel(0);
28531 return 0;
28533 _ACEOF
28534 if ac_fn_cxx_try_compile "$LINENO"; then :
28535 glibcxx_cv_func__finitel_use=yes
28536 else
28537 glibcxx_cv_func__finitel_use=no
28539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28540 ac_ext=c
28541 ac_cpp='$CPP $CPPFLAGS'
28542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
28551 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
28553 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
28554 for ac_func in _finitel
28555 do :
28556 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
28557 if test "x$ac_cv_func__finitel" = xyes; then :
28558 cat >>confdefs.h <<_ACEOF
28559 #define HAVE__FINITEL 1
28560 _ACEOF
28563 done
28571 LIBS="$ac_save_LIBS"
28572 CXXFLAGS="$ac_save_CXXFLAGS"
28575 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28576 ac_save_CXXFLAGS="$CXXFLAGS"
28577 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
28581 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
28582 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
28583 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
28584 $as_echo_n "(cached) " >&6
28585 else
28588 ac_ext=cpp
28589 ac_cpp='$CXXCPP $CPPFLAGS'
28590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28595 /* end confdefs.h. */
28596 #include <stdlib.h>
28598 main ()
28600 at_quick_exit(0);
28602 return 0;
28604 _ACEOF
28605 if ac_fn_cxx_try_compile "$LINENO"; then :
28606 glibcxx_cv_func_at_quick_exit_use=yes
28607 else
28608 glibcxx_cv_func_at_quick_exit_use=no
28610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28611 ac_ext=c
28612 ac_cpp='$CPP $CPPFLAGS'
28613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
28622 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
28623 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
28624 for ac_func in at_quick_exit
28625 do :
28626 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
28627 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
28628 cat >>confdefs.h <<_ACEOF
28629 #define HAVE_AT_QUICK_EXIT 1
28630 _ACEOF
28633 done
28638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
28639 $as_echo_n "checking for quick_exit declaration... " >&6; }
28640 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
28641 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
28642 $as_echo_n "(cached) " >&6
28643 else
28646 ac_ext=cpp
28647 ac_cpp='$CXXCPP $CPPFLAGS'
28648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28653 /* end confdefs.h. */
28654 #include <stdlib.h>
28656 main ()
28658 quick_exit(0);
28660 return 0;
28662 _ACEOF
28663 if ac_fn_cxx_try_compile "$LINENO"; then :
28664 glibcxx_cv_func_quick_exit_use=yes
28665 else
28666 glibcxx_cv_func_quick_exit_use=no
28668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28669 ac_ext=c
28670 ac_cpp='$CPP $CPPFLAGS'
28671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
28680 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
28681 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
28682 for ac_func in quick_exit
28683 do :
28684 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
28685 if test "x$ac_cv_func_quick_exit" = xyes; then :
28686 cat >>confdefs.h <<_ACEOF
28687 #define HAVE_QUICK_EXIT 1
28688 _ACEOF
28691 done
28696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
28697 $as_echo_n "checking for strtold declaration... " >&6; }
28698 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
28699 if ${glibcxx_cv_func_strtold_use+:} false; then :
28700 $as_echo_n "(cached) " >&6
28701 else
28704 ac_ext=cpp
28705 ac_cpp='$CXXCPP $CPPFLAGS'
28706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28711 /* end confdefs.h. */
28712 #include <stdlib.h>
28714 main ()
28716 strtold(0, 0);
28718 return 0;
28720 _ACEOF
28721 if ac_fn_cxx_try_compile "$LINENO"; then :
28722 glibcxx_cv_func_strtold_use=yes
28723 else
28724 glibcxx_cv_func_strtold_use=no
28726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28727 ac_ext=c
28728 ac_cpp='$CPP $CPPFLAGS'
28729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
28738 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
28739 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28740 for ac_func in strtold
28741 do :
28742 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
28743 if test "x$ac_cv_func_strtold" = xyes; then :
28744 cat >>confdefs.h <<_ACEOF
28745 #define HAVE_STRTOLD 1
28746 _ACEOF
28749 done
28756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
28757 $as_echo_n "checking for strtof declaration... " >&6; }
28758 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
28759 if ${glibcxx_cv_func_strtof_use+:} false; then :
28760 $as_echo_n "(cached) " >&6
28761 else
28764 ac_ext=cpp
28765 ac_cpp='$CXXCPP $CPPFLAGS'
28766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28771 /* end confdefs.h. */
28772 #include <stdlib.h>
28774 main ()
28776 strtof(0, 0);
28778 return 0;
28780 _ACEOF
28781 if ac_fn_cxx_try_compile "$LINENO"; then :
28782 glibcxx_cv_func_strtof_use=yes
28783 else
28784 glibcxx_cv_func_strtof_use=no
28786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28787 ac_ext=c
28788 ac_cpp='$CPP $CPPFLAGS'
28789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
28798 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
28799 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
28800 for ac_func in strtof
28801 do :
28802 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
28803 if test "x$ac_cv_func_strtof" = xyes; then :
28804 cat >>confdefs.h <<_ACEOF
28805 #define HAVE_STRTOF 1
28806 _ACEOF
28809 done
28816 CXXFLAGS="$ac_save_CXXFLAGS"
28819 # For /dev/random and /dev/urandom for std::random_device.
28822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device" >&5
28823 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device... " >&6; }
28824 if ${glibcxx_cv_dev_random+:} false; then :
28825 $as_echo_n "(cached) " >&6
28826 else
28828 if test -r /dev/random && test -r /dev/urandom; then
28829 ## For MSys environment the test above is detected as false-positive
28830 ## on mingw-targets. So disable it explicitly for them.
28831 case ${target_os} in
28832 *mingw*) glibcxx_cv_dev_random=no ;;
28833 *) glibcxx_cv_dev_random=yes ;;
28834 esac
28835 else
28836 glibcxx_cv_dev_random=no;
28840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dev_random" >&5
28841 $as_echo "$glibcxx_cv_dev_random" >&6; }
28843 if test x"$glibcxx_cv_dev_random" = x"yes"; then
28845 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
28848 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
28854 # For TLS support.
28857 # Check whether --enable-tls was given.
28858 if test "${enable_tls+set}" = set; then :
28859 enableval=$enable_tls;
28860 case "$enableval" in
28861 yes|no) ;;
28862 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
28863 esac
28865 else
28866 enable_tls=yes
28870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
28871 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
28872 if ${gcc_cv_have_tls+:} false; then :
28873 $as_echo_n "(cached) " >&6
28874 else
28876 if test "$cross_compiling" = yes; then :
28877 if test x$gcc_no_link = xyes; then
28878 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28881 /* end confdefs.h. */
28882 __thread int a; int b; int main() { return a = b; }
28883 _ACEOF
28884 if ac_fn_c_try_link "$LINENO"; then :
28885 chktls_save_LDFLAGS="$LDFLAGS"
28886 case $host in
28887 *-*-linux* | -*-uclinuxfdpic*)
28888 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
28890 esac
28891 chktls_save_CFLAGS="$CFLAGS"
28892 CFLAGS="-fPIC $CFLAGS"
28893 if test x$gcc_no_link = xyes; then
28894 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28897 /* end confdefs.h. */
28898 int f() { return 0; }
28899 _ACEOF
28900 if ac_fn_c_try_link "$LINENO"; then :
28901 if test x$gcc_no_link = xyes; then
28902 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28905 /* end confdefs.h. */
28906 __thread int a; int b; int f() { return a = b; }
28907 _ACEOF
28908 if ac_fn_c_try_link "$LINENO"; then :
28909 gcc_cv_have_tls=yes
28910 else
28911 gcc_cv_have_tls=no
28913 rm -f core conftest.err conftest.$ac_objext \
28914 conftest$ac_exeext conftest.$ac_ext
28915 else
28916 gcc_cv_have_tls=yes
28918 rm -f core conftest.err conftest.$ac_objext \
28919 conftest$ac_exeext conftest.$ac_ext
28920 CFLAGS="$chktls_save_CFLAGS"
28921 LDFLAGS="$chktls_save_LDFLAGS"
28922 else
28923 gcc_cv_have_tls=no
28925 rm -f core conftest.err conftest.$ac_objext \
28926 conftest$ac_exeext conftest.$ac_ext
28929 else
28930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28931 /* end confdefs.h. */
28932 __thread int a; int b; int main() { return a = b; }
28933 _ACEOF
28934 if ac_fn_c_try_run "$LINENO"; then :
28935 chktls_save_LDFLAGS="$LDFLAGS"
28936 LDFLAGS="-static $LDFLAGS"
28937 if test x$gcc_no_link = xyes; then
28938 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28941 /* end confdefs.h. */
28942 int main() { return 0; }
28943 _ACEOF
28944 if ac_fn_c_try_link "$LINENO"; then :
28945 if test "$cross_compiling" = yes; then :
28946 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28947 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28948 as_fn_error $? "cannot run test program while cross compiling
28949 See \`config.log' for more details" "$LINENO" 5; }
28950 else
28951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28952 /* end confdefs.h. */
28953 __thread int a; int b; int main() { return a = b; }
28954 _ACEOF
28955 if ac_fn_c_try_run "$LINENO"; then :
28956 gcc_cv_have_tls=yes
28957 else
28958 gcc_cv_have_tls=no
28960 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28961 conftest.$ac_objext conftest.beam conftest.$ac_ext
28964 else
28965 gcc_cv_have_tls=yes
28967 rm -f core conftest.err conftest.$ac_objext \
28968 conftest$ac_exeext conftest.$ac_ext
28969 LDFLAGS="$chktls_save_LDFLAGS"
28970 if test $gcc_cv_have_tls = yes; then
28971 chktls_save_CFLAGS="$CFLAGS"
28972 thread_CFLAGS=failed
28973 for flag in '' '-pthread' '-lpthread'; do
28974 CFLAGS="$flag $chktls_save_CFLAGS"
28975 if test x$gcc_no_link = xyes; then
28976 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28979 /* end confdefs.h. */
28980 #include <pthread.h>
28981 void *g(void *d) { return NULL; }
28983 main ()
28985 pthread_t t; pthread_create(&t,NULL,g,NULL);
28987 return 0;
28989 _ACEOF
28990 if ac_fn_c_try_link "$LINENO"; then :
28991 thread_CFLAGS="$flag"
28993 rm -f core conftest.err conftest.$ac_objext \
28994 conftest$ac_exeext conftest.$ac_ext
28995 if test "X$thread_CFLAGS" != Xfailed; then
28996 break
28998 done
28999 CFLAGS="$chktls_save_CFLAGS"
29000 if test "X$thread_CFLAGS" != Xfailed; then
29001 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
29002 if test "$cross_compiling" = yes; then :
29003 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29004 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29005 as_fn_error $? "cannot run test program while cross compiling
29006 See \`config.log' for more details" "$LINENO" 5; }
29007 else
29008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29009 /* end confdefs.h. */
29010 #include <pthread.h>
29011 __thread int a;
29012 static int *volatile a_in_other_thread;
29013 static void *
29014 thread_func (void *arg)
29016 a_in_other_thread = &a;
29017 return (void *)0;
29020 main ()
29022 pthread_t thread;
29023 void *thread_retval;
29024 int *volatile a_in_main_thread;
29025 a_in_main_thread = &a;
29026 if (pthread_create (&thread, (pthread_attr_t *)0,
29027 thread_func, (void *)0))
29028 return 0;
29029 if (pthread_join (thread, &thread_retval))
29030 return 0;
29031 return (a_in_other_thread == a_in_main_thread);
29033 return 0;
29035 _ACEOF
29036 if ac_fn_c_try_run "$LINENO"; then :
29037 gcc_cv_have_tls=yes
29038 else
29039 gcc_cv_have_tls=no
29041 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
29042 conftest.$ac_objext conftest.beam conftest.$ac_ext
29045 CFLAGS="$chktls_save_CFLAGS"
29048 else
29049 gcc_cv_have_tls=no
29051 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
29052 conftest.$ac_objext conftest.beam conftest.$ac_ext
29056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
29057 $as_echo "$gcc_cv_have_tls" >&6; }
29058 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
29060 $as_echo "#define HAVE_TLS 1" >>confdefs.h
29064 for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
29065 do :
29066 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29067 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29068 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29069 cat >>confdefs.h <<_ACEOF
29070 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29071 _ACEOF
29074 done
29076 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
29077 do :
29078 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29079 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29080 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29081 cat >>confdefs.h <<_ACEOF
29082 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29083 _ACEOF
29086 done
29088 for ac_func in _wfopen
29089 do :
29090 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
29091 if test "x$ac_cv_func__wfopen" = xyes; then :
29092 cat >>confdefs.h <<_ACEOF
29093 #define HAVE__WFOPEN 1
29094 _ACEOF
29097 done
29099 for ac_func in secure_getenv
29100 do :
29101 ac_fn_c_check_func "$LINENO" "secure_getenv" "ac_cv_func_secure_getenv"
29102 if test "x$ac_cv_func_secure_getenv" = xyes; then :
29103 cat >>confdefs.h <<_ACEOF
29104 #define HAVE_SECURE_GETENV 1
29105 _ACEOF
29108 done
29111 # C11 functions for C++17 library
29112 for ac_func in timespec_get
29113 do :
29114 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
29115 if test "x$ac_cv_func_timespec_get" = xyes; then :
29116 cat >>confdefs.h <<_ACEOF
29117 #define HAVE_TIMESPEC_GET 1
29118 _ACEOF
29121 done
29124 # For Networking TS.
29125 for ac_func in sockatmark
29126 do :
29127 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
29128 if test "x$ac_cv_func_sockatmark" = xyes; then :
29129 cat >>confdefs.h <<_ACEOF
29130 #define HAVE_SOCKATMARK 1
29131 _ACEOF
29134 done
29137 # Non-standard functions used by C++17 std::from_chars
29138 for ac_func in uselocale
29139 do :
29140 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
29141 if test "x$ac_cv_func_uselocale" = xyes; then :
29142 cat >>confdefs.h <<_ACEOF
29143 #define HAVE_USELOCALE 1
29144 _ACEOF
29147 done
29150 # For iconv support.
29152 if test "X$prefix" = "XNONE"; then
29153 acl_final_prefix="$ac_default_prefix"
29154 else
29155 acl_final_prefix="$prefix"
29157 if test "X$exec_prefix" = "XNONE"; then
29158 acl_final_exec_prefix='${prefix}'
29159 else
29160 acl_final_exec_prefix="$exec_prefix"
29162 acl_save_prefix="$prefix"
29163 prefix="$acl_final_prefix"
29164 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
29165 prefix="$acl_save_prefix"
29168 # Check whether --with-gnu-ld was given.
29169 if test "${with_gnu_ld+set}" = set; then :
29170 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
29171 else
29172 with_gnu_ld=no
29175 # Prepare PATH_SEPARATOR.
29176 # The user is always right.
29177 if test "${PATH_SEPARATOR+set}" != set; then
29178 echo "#! /bin/sh" >conf$$.sh
29179 echo "exit 0" >>conf$$.sh
29180 chmod +x conf$$.sh
29181 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
29182 PATH_SEPARATOR=';'
29183 else
29184 PATH_SEPARATOR=:
29186 rm -f conf$$.sh
29188 ac_prog=ld
29189 if test "$GCC" = yes; then
29190 # Check if gcc -print-prog-name=ld gives a path.
29191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
29192 $as_echo_n "checking for ld used by GCC... " >&6; }
29193 case $host in
29194 *-*-mingw*)
29195 # gcc leaves a trailing carriage return which upsets mingw
29196 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
29198 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
29199 esac
29200 case $ac_prog in
29201 # Accept absolute paths.
29202 [\\/]* | [A-Za-z]:[\\/]*)
29203 re_direlt='/[^/][^/]*/\.\./'
29204 # Canonicalize the path of ld
29205 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
29206 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
29207 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
29208 done
29209 test -z "$LD" && LD="$ac_prog"
29212 # If it fails, then pretend we aren't using GCC.
29213 ac_prog=ld
29216 # If it is relative, then search for the first ld in PATH.
29217 with_gnu_ld=unknown
29219 esac
29220 elif test "$with_gnu_ld" = yes; then
29221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
29222 $as_echo_n "checking for GNU ld... " >&6; }
29223 else
29224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
29225 $as_echo_n "checking for non-GNU ld... " >&6; }
29227 if ${acl_cv_path_LD+:} false; then :
29228 $as_echo_n "(cached) " >&6
29229 else
29230 if test -z "$LD"; then
29231 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
29232 for ac_dir in $PATH; do
29233 test -z "$ac_dir" && ac_dir=.
29234 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
29235 acl_cv_path_LD="$ac_dir/$ac_prog"
29236 # Check to see if the program is GNU ld. I'd rather use --version,
29237 # but apparently some GNU ld's only accept -v.
29238 # Break only if it was the GNU/non-GNU ld that we prefer.
29239 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | $EGREP '(GNU|with BFD)' > /dev/null; then
29240 test "$with_gnu_ld" != no && break
29241 else
29242 test "$with_gnu_ld" != yes && break
29245 done
29246 IFS="$ac_save_ifs"
29247 else
29248 acl_cv_path_LD="$LD" # Let the user override the test with a path.
29252 LD="$acl_cv_path_LD"
29253 if test -n "$LD"; then
29254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
29255 $as_echo "$LD" >&6; }
29256 else
29257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29258 $as_echo "no" >&6; }
29260 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
29261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
29262 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
29263 if ${acl_cv_prog_gnu_ld+:} false; then :
29264 $as_echo_n "(cached) " >&6
29265 else
29266 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
29267 if $LD -v 2>&1 </dev/null | $EGREP '(GNU|with BFD)' 1>&5; then
29268 acl_cv_prog_gnu_ld=yes
29269 else
29270 acl_cv_prog_gnu_ld=no
29273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
29274 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
29275 with_gnu_ld=$acl_cv_prog_gnu_ld
29279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
29280 $as_echo_n "checking for shared library run path origin... " >&6; }
29281 if ${acl_cv_rpath+:} false; then :
29282 $as_echo_n "(cached) " >&6
29283 else
29285 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
29286 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
29287 . ./conftest.sh
29288 rm -f ./conftest.sh
29289 acl_cv_rpath=done
29292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
29293 $as_echo "$acl_cv_rpath" >&6; }
29294 wl="$acl_cv_wl"
29295 libext="$acl_cv_libext"
29296 shlibext="$acl_cv_shlibext"
29297 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
29298 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
29299 hardcode_direct="$acl_cv_hardcode_direct"
29300 hardcode_minus_L="$acl_cv_hardcode_minus_L"
29301 # Check whether --enable-rpath was given.
29302 if test "${enable_rpath+set}" = set; then :
29303 enableval=$enable_rpath; :
29304 else
29305 enable_rpath=yes
29315 use_additional=yes
29317 acl_save_prefix="$prefix"
29318 prefix="$acl_final_prefix"
29319 acl_save_exec_prefix="$exec_prefix"
29320 exec_prefix="$acl_final_exec_prefix"
29322 eval additional_includedir=\"$includedir\"
29323 eval additional_libdir=\"$libdir\"
29325 exec_prefix="$acl_save_exec_prefix"
29326 prefix="$acl_save_prefix"
29329 # Check whether --with-libiconv-prefix was given.
29330 if test "${with_libiconv_prefix+set}" = set; then :
29331 withval=$with_libiconv_prefix;
29332 if test "X$withval" = "Xno"; then
29333 use_additional=no
29334 else
29335 if test "X$withval" = "X"; then
29337 acl_save_prefix="$prefix"
29338 prefix="$acl_final_prefix"
29339 acl_save_exec_prefix="$exec_prefix"
29340 exec_prefix="$acl_final_exec_prefix"
29342 eval additional_includedir=\"$includedir\"
29343 eval additional_libdir=\"$libdir\"
29345 exec_prefix="$acl_save_exec_prefix"
29346 prefix="$acl_save_prefix"
29348 else
29349 additional_includedir="$withval/include"
29350 additional_libdir="$withval/lib"
29357 # Check whether --with-libiconv-type was given.
29358 if test "${with_libiconv_type+set}" = set; then :
29359 withval=$with_libiconv_type; with_libiconv_type=$withval
29360 else
29361 with_libiconv_type=auto
29364 lib_type=`eval echo \$with_libiconv_type`
29366 LIBICONV=
29367 LTLIBICONV=
29368 INCICONV=
29369 rpathdirs=
29370 ltrpathdirs=
29371 names_already_handled=
29372 names_next_round='iconv '
29373 while test -n "$names_next_round"; do
29374 names_this_round="$names_next_round"
29375 names_next_round=
29376 for name in $names_this_round; do
29377 already_handled=
29378 for n in $names_already_handled; do
29379 if test "$n" = "$name"; then
29380 already_handled=yes
29381 break
29383 done
29384 if test -z "$already_handled"; then
29385 names_already_handled="$names_already_handled $name"
29386 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
29387 eval value=\"\$HAVE_LIB$uppername\"
29388 if test -n "$value"; then
29389 if test "$value" = yes; then
29390 eval value=\"\$LIB$uppername\"
29391 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
29392 eval value=\"\$LTLIB$uppername\"
29393 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
29394 else
29397 else
29398 found_dir=
29399 found_la=
29400 found_so=
29401 found_a=
29402 if test $use_additional = yes; then
29403 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x$lib_type != xstatic; then
29404 found_dir="$additional_libdir"
29405 found_so="$additional_libdir/lib$name.$shlibext"
29406 if test -f "$additional_libdir/lib$name.la"; then
29407 found_la="$additional_libdir/lib$name.la"
29409 elif test x$lib_type != xshared; then
29410 if test -f "$additional_libdir/lib$name.$libext"; then
29411 found_dir="$additional_libdir"
29412 found_a="$additional_libdir/lib$name.$libext"
29413 if test -f "$additional_libdir/lib$name.la"; then
29414 found_la="$additional_libdir/lib$name.la"
29419 if test "X$found_dir" = "X"; then
29420 for x in $LDFLAGS $LTLIBICONV; do
29422 acl_save_prefix="$prefix"
29423 prefix="$acl_final_prefix"
29424 acl_save_exec_prefix="$exec_prefix"
29425 exec_prefix="$acl_final_exec_prefix"
29426 eval x=\"$x\"
29427 exec_prefix="$acl_save_exec_prefix"
29428 prefix="$acl_save_prefix"
29430 case "$x" in
29431 -L*)
29432 dir=`echo "X$x" | sed -e 's/^X-L//'`
29433 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x$lib_type != xstatic; then
29434 found_dir="$dir"
29435 found_so="$dir/lib$name.$shlibext"
29436 if test -f "$dir/lib$name.la"; then
29437 found_la="$dir/lib$name.la"
29439 elif test x$lib_type != xshared; then
29440 if test -f "$dir/lib$name.$libext"; then
29441 found_dir="$dir"
29442 found_a="$dir/lib$name.$libext"
29443 if test -f "$dir/lib$name.la"; then
29444 found_la="$dir/lib$name.la"
29449 esac
29450 if test "X$found_dir" != "X"; then
29451 break
29453 done
29455 if test "X$found_dir" != "X"; then
29456 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
29457 if test "X$found_so" != "X"; then
29458 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
29459 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29460 else
29461 haveit=
29462 for x in $ltrpathdirs; do
29463 if test "X$x" = "X$found_dir"; then
29464 haveit=yes
29465 break
29467 done
29468 if test -z "$haveit"; then
29469 ltrpathdirs="$ltrpathdirs $found_dir"
29471 if test "$hardcode_direct" = yes; then
29472 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29473 else
29474 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
29475 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29476 haveit=
29477 for x in $rpathdirs; do
29478 if test "X$x" = "X$found_dir"; then
29479 haveit=yes
29480 break
29482 done
29483 if test -z "$haveit"; then
29484 rpathdirs="$rpathdirs $found_dir"
29486 else
29487 haveit=
29488 for x in $LDFLAGS $LIBICONV; do
29490 acl_save_prefix="$prefix"
29491 prefix="$acl_final_prefix"
29492 acl_save_exec_prefix="$exec_prefix"
29493 exec_prefix="$acl_final_exec_prefix"
29494 eval x=\"$x\"
29495 exec_prefix="$acl_save_exec_prefix"
29496 prefix="$acl_save_prefix"
29498 if test "X$x" = "X-L$found_dir"; then
29499 haveit=yes
29500 break
29502 done
29503 if test -z "$haveit"; then
29504 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
29506 if test "$hardcode_minus_L" != no; then
29507 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29508 else
29509 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
29514 else
29515 if test "X$found_a" != "X"; then
29516 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
29517 else
29518 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
29521 additional_includedir=
29522 case "$found_dir" in
29523 */lib | */lib/)
29524 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
29525 additional_includedir="$basedir/include"
29527 esac
29528 if test "X$additional_includedir" != "X"; then
29529 if test "X$additional_includedir" != "X/usr/include"; then
29530 haveit=
29531 if test "X$additional_includedir" = "X/usr/local/include"; then
29532 if test -n "$GCC"; then
29533 case $host_os in
29534 linux*) haveit=yes;;
29535 esac
29538 if test -z "$haveit"; then
29539 for x in $CPPFLAGS $INCICONV; do
29541 acl_save_prefix="$prefix"
29542 prefix="$acl_final_prefix"
29543 acl_save_exec_prefix="$exec_prefix"
29544 exec_prefix="$acl_final_exec_prefix"
29545 eval x=\"$x\"
29546 exec_prefix="$acl_save_exec_prefix"
29547 prefix="$acl_save_prefix"
29549 if test "X$x" = "X-I$additional_includedir"; then
29550 haveit=yes
29551 break
29553 done
29554 if test -z "$haveit"; then
29555 if test -d "$additional_includedir"; then
29556 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
29562 if test -n "$found_la"; then
29563 save_libdir="$libdir"
29564 case "$found_la" in
29565 */* | *\\*) . "$found_la" ;;
29566 *) . "./$found_la" ;;
29567 esac
29568 libdir="$save_libdir"
29569 for dep in $dependency_libs; do
29570 case "$dep" in
29571 -L*)
29572 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
29573 if test "X$additional_libdir" != "X/usr/lib"; then
29574 haveit=
29575 if test "X$additional_libdir" = "X/usr/local/lib"; then
29576 if test -n "$GCC"; then
29577 case $host_os in
29578 linux*) haveit=yes;;
29579 esac
29582 if test -z "$haveit"; then
29583 haveit=
29584 for x in $LDFLAGS $LIBICONV; do
29586 acl_save_prefix="$prefix"
29587 prefix="$acl_final_prefix"
29588 acl_save_exec_prefix="$exec_prefix"
29589 exec_prefix="$acl_final_exec_prefix"
29590 eval x=\"$x\"
29591 exec_prefix="$acl_save_exec_prefix"
29592 prefix="$acl_save_prefix"
29594 if test "X$x" = "X-L$additional_libdir"; then
29595 haveit=yes
29596 break
29598 done
29599 if test -z "$haveit"; then
29600 if test -d "$additional_libdir"; then
29601 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
29604 haveit=
29605 for x in $LDFLAGS $LTLIBICONV; do
29607 acl_save_prefix="$prefix"
29608 prefix="$acl_final_prefix"
29609 acl_save_exec_prefix="$exec_prefix"
29610 exec_prefix="$acl_final_exec_prefix"
29611 eval x=\"$x\"
29612 exec_prefix="$acl_save_exec_prefix"
29613 prefix="$acl_save_prefix"
29615 if test "X$x" = "X-L$additional_libdir"; then
29616 haveit=yes
29617 break
29619 done
29620 if test -z "$haveit"; then
29621 if test -d "$additional_libdir"; then
29622 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
29628 -R*)
29629 dir=`echo "X$dep" | sed -e 's/^X-R//'`
29630 if test "$enable_rpath" != no; then
29631 haveit=
29632 for x in $rpathdirs; do
29633 if test "X$x" = "X$dir"; then
29634 haveit=yes
29635 break
29637 done
29638 if test -z "$haveit"; then
29639 rpathdirs="$rpathdirs $dir"
29641 haveit=
29642 for x in $ltrpathdirs; do
29643 if test "X$x" = "X$dir"; then
29644 haveit=yes
29645 break
29647 done
29648 if test -z "$haveit"; then
29649 ltrpathdirs="$ltrpathdirs $dir"
29653 -l*)
29654 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
29656 *.la)
29657 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
29660 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
29661 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
29663 esac
29664 done
29666 else
29667 if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then
29668 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
29669 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
29670 else
29671 LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext"
29672 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext"
29677 done
29678 done
29679 if test "X$rpathdirs" != "X"; then
29680 if test -n "$hardcode_libdir_separator"; then
29681 alldirs=
29682 for found_dir in $rpathdirs; do
29683 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
29684 done
29685 acl_save_libdir="$libdir"
29686 libdir="$alldirs"
29687 eval flag=\"$hardcode_libdir_flag_spec\"
29688 libdir="$acl_save_libdir"
29689 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
29690 else
29691 for found_dir in $rpathdirs; do
29692 acl_save_libdir="$libdir"
29693 libdir="$found_dir"
29694 eval flag=\"$hardcode_libdir_flag_spec\"
29695 libdir="$acl_save_libdir"
29696 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
29697 done
29700 if test "X$ltrpathdirs" != "X"; then
29701 for found_dir in $ltrpathdirs; do
29702 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
29703 done
29712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
29713 $as_echo_n "checking for iconv... " >&6; }
29714 if ${am_cv_func_iconv+:} false; then :
29715 $as_echo_n "(cached) " >&6
29716 else
29718 am_cv_func_iconv="no, consider installing GNU libiconv"
29719 am_cv_lib_iconv=no
29720 am_save_CPPFLAGS="$CPPFLAGS"
29721 CPPFLAGS="$CPPFLAGS $INCICONV"
29722 if test x$gcc_no_link = xyes; then
29723 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29726 /* end confdefs.h. */
29727 #include <stdlib.h>
29728 #include <iconv.h>
29730 main ()
29732 iconv_t cd = iconv_open("","");
29733 iconv(cd,NULL,NULL,NULL,NULL);
29734 iconv_close(cd);
29736 return 0;
29738 _ACEOF
29739 if ac_fn_c_try_link "$LINENO"; then :
29740 am_cv_func_iconv=yes
29742 rm -f core conftest.err conftest.$ac_objext \
29743 conftest$ac_exeext conftest.$ac_ext
29744 CPPFLAGS="$am_save_CPPFLAGS"
29746 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
29747 for _libs in .libs _libs; do
29748 am_save_CPPFLAGS="$CPPFLAGS"
29749 am_save_LIBS="$LIBS"
29750 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
29751 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
29752 if test x$gcc_no_link = xyes; then
29753 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29756 /* end confdefs.h. */
29757 #include <stdlib.h>
29758 #include <iconv.h>
29760 main ()
29762 iconv_t cd = iconv_open("","");
29763 iconv(cd,NULL,NULL,NULL,NULL);
29764 iconv_close(cd);
29766 return 0;
29768 _ACEOF
29769 if ac_fn_c_try_link "$LINENO"; then :
29770 INCICONV="-I../libiconv/include"
29771 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
29772 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
29773 am_cv_lib_iconv=yes
29774 am_cv_func_iconv=yes
29776 rm -f core conftest.err conftest.$ac_objext \
29777 conftest$ac_exeext conftest.$ac_ext
29778 CPPFLAGS="$am_save_CPPFLAGS"
29779 LIBS="$am_save_LIBS"
29780 if test "$am_cv_func_iconv" = "yes"; then
29781 break
29783 done
29786 if test "$am_cv_func_iconv" != yes; then
29787 am_save_CPPFLAGS="$CPPFLAGS"
29788 am_save_LIBS="$LIBS"
29789 CPPFLAGS="$CPPFLAGS $INCICONV"
29790 LIBS="$LIBS $LIBICONV"
29791 if test x$gcc_no_link = xyes; then
29792 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29795 /* end confdefs.h. */
29796 #include <stdlib.h>
29797 #include <iconv.h>
29799 main ()
29801 iconv_t cd = iconv_open("","");
29802 iconv(cd,NULL,NULL,NULL,NULL);
29803 iconv_close(cd);
29805 return 0;
29807 _ACEOF
29808 if ac_fn_c_try_link "$LINENO"; then :
29809 am_cv_lib_iconv=yes
29810 am_cv_func_iconv=yes
29812 rm -f core conftest.err conftest.$ac_objext \
29813 conftest$ac_exeext conftest.$ac_ext
29814 CPPFLAGS="$am_save_CPPFLAGS"
29815 LIBS="$am_save_LIBS"
29819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
29820 $as_echo "$am_cv_func_iconv" >&6; }
29821 if test "$am_cv_func_iconv" = yes; then
29823 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29826 if test "$am_cv_lib_iconv" = yes; then
29828 for element in $INCICONV; do
29829 haveit=
29830 for x in $CPPFLAGS; do
29832 acl_save_prefix="$prefix"
29833 prefix="$acl_final_prefix"
29834 acl_save_exec_prefix="$exec_prefix"
29835 exec_prefix="$acl_final_exec_prefix"
29836 eval x=\"$x\"
29837 exec_prefix="$acl_save_exec_prefix"
29838 prefix="$acl_save_prefix"
29840 if test "X$x" = "X$element"; then
29841 haveit=yes
29842 break
29844 done
29845 if test -z "$haveit"; then
29846 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
29848 done
29850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
29851 $as_echo_n "checking how to link with libiconv... " >&6; }
29852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
29853 $as_echo "$LIBICONV" >&6; }
29854 else
29855 LIBICONV=
29856 LTLIBICONV=
29861 if test "$am_cv_func_iconv" = yes; then
29862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
29863 $as_echo_n "checking for iconv declaration... " >&6; }
29864 if ${am_cv_proto_iconv+:} false; then :
29865 $as_echo_n "(cached) " >&6
29866 else
29868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29869 /* end confdefs.h. */
29871 #include <stdlib.h>
29872 #include <iconv.h>
29873 extern
29874 #ifdef __cplusplus
29876 #endif
29877 #if defined(__STDC__) || defined(__cplusplus)
29878 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29879 #else
29880 size_t iconv();
29881 #endif
29884 main ()
29888 return 0;
29890 _ACEOF
29891 if ac_fn_c_try_compile "$LINENO"; then :
29892 am_cv_proto_iconv_arg1=""
29893 else
29894 am_cv_proto_iconv_arg1="const"
29896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29897 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);"
29900 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
29901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
29902 }$am_cv_proto_iconv" >&5
29903 $as_echo "${ac_t:-
29904 }$am_cv_proto_iconv" >&6; }
29906 cat >>confdefs.h <<_ACEOF
29907 #define ICONV_CONST $am_cv_proto_iconv_arg1
29908 _ACEOF
29913 else
29915 # This lets us hard-code the functionality we know we'll have in the cross
29916 # target environment. "Let" is a sugar-coated word placed on an especially
29917 # dull and tedious hack, actually.
29919 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
29920 # that involve linking, can't be used:
29921 # "cannot open sim-crt0.o"
29922 # "cannot open crt0.o"
29923 # etc. All this is because there currently exists no unified, consistent
29924 # way for top level CC information to be passed down to target directories:
29925 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
29926 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
29927 # crosses can be removed.
29929 # If Canadian cross, then don't pick up tools from the build directory.
29930 # Used only in GLIBCXX_EXPORT_INCLUDES.
29931 if test -n "$with_cross_host" &&
29932 test x"$build_alias" != x"$with_cross_host" &&
29933 test x"$build" != x"$target";
29934 then
29935 CANADIAN=yes
29936 else
29937 CANADIAN=no
29940 # Construct crosses by hand, eliminating bits that need ld...
29941 # GLIBCXX_CHECK_MATH_SUPPORT
29943 # First, test for "known" system libraries. We may be using newlib even
29944 # on a hosted environment.
29945 if test "x${with_newlib}" = "xyes"; then
29946 os_include_dir="os/newlib"
29947 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
29950 # GLIBCXX_CHECK_STDLIB_SUPPORT
29951 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
29954 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29956 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29958 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29960 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29962 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29964 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29966 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29968 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29970 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29972 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29974 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29976 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29978 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29980 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29982 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29984 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29986 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29988 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29990 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29992 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29994 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29996 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29998 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
30004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl declaration" >&5
30005 $as_echo_n "checking for acosl declaration... " >&6; }
30006 if ${glibcxx_cv_func_acosl_use+:} false; then :
30007 $as_echo_n "(cached) " >&6
30008 else
30011 ac_ext=c
30012 ac_cpp='$CPP $CPPFLAGS'
30013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30018 /* end confdefs.h. */
30020 #include <math.h>
30021 #ifdef HAVE_IEEEFP_H
30022 # include <ieeefp.h>
30023 #endif
30024 #undef acosl
30027 main ()
30030 void (*f)(void) = (void (*)(void))acosl;
30033 return 0;
30035 _ACEOF
30036 if ac_fn_c_try_compile "$LINENO"; then :
30037 glibcxx_cv_func_acosl_use=yes
30039 else
30040 glibcxx_cv_func_acosl_use=no
30042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_acosl_use" >&5
30045 $as_echo "$glibcxx_cv_func_acosl_use" >&6; }
30046 if test "x$glibcxx_cv_func_acosl_use" = xyes; then
30047 cat >>confdefs.h <<_ACEOF
30048 #define HAVE_ACOSL 1
30049 _ACEOF
30055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl declaration" >&5
30056 $as_echo_n "checking for asinl declaration... " >&6; }
30057 if ${glibcxx_cv_func_asinl_use+:} false; then :
30058 $as_echo_n "(cached) " >&6
30059 else
30062 ac_ext=c
30063 ac_cpp='$CPP $CPPFLAGS'
30064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30069 /* end confdefs.h. */
30071 #include <math.h>
30072 #ifdef HAVE_IEEEFP_H
30073 # include <ieeefp.h>
30074 #endif
30075 #undef asinl
30078 main ()
30081 void (*f)(void) = (void (*)(void))asinl;
30084 return 0;
30086 _ACEOF
30087 if ac_fn_c_try_compile "$LINENO"; then :
30088 glibcxx_cv_func_asinl_use=yes
30090 else
30091 glibcxx_cv_func_asinl_use=no
30093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_asinl_use" >&5
30096 $as_echo "$glibcxx_cv_func_asinl_use" >&6; }
30097 if test "x$glibcxx_cv_func_asinl_use" = xyes; then
30098 cat >>confdefs.h <<_ACEOF
30099 #define HAVE_ASINL 1
30100 _ACEOF
30106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
30107 $as_echo_n "checking for atan2l declaration... " >&6; }
30108 if ${glibcxx_cv_func_atan2l_use+:} false; then :
30109 $as_echo_n "(cached) " >&6
30110 else
30113 ac_ext=c
30114 ac_cpp='$CPP $CPPFLAGS'
30115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30120 /* end confdefs.h. */
30122 #include <math.h>
30123 #ifdef HAVE_IEEEFP_H
30124 # include <ieeefp.h>
30125 #endif
30126 #undef atan2l
30129 main ()
30132 void (*f)(void) = (void (*)(void))atan2l;
30135 return 0;
30137 _ACEOF
30138 if ac_fn_c_try_compile "$LINENO"; then :
30139 glibcxx_cv_func_atan2l_use=yes
30141 else
30142 glibcxx_cv_func_atan2l_use=no
30144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
30147 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
30148 if test "x$glibcxx_cv_func_atan2l_use" = xyes; then
30149 cat >>confdefs.h <<_ACEOF
30150 #define HAVE_ATAN2L 1
30151 _ACEOF
30157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl declaration" >&5
30158 $as_echo_n "checking for atanl declaration... " >&6; }
30159 if ${glibcxx_cv_func_atanl_use+:} false; then :
30160 $as_echo_n "(cached) " >&6
30161 else
30164 ac_ext=c
30165 ac_cpp='$CPP $CPPFLAGS'
30166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30171 /* end confdefs.h. */
30173 #include <math.h>
30174 #ifdef HAVE_IEEEFP_H
30175 # include <ieeefp.h>
30176 #endif
30177 #undef atanl
30180 main ()
30183 void (*f)(void) = (void (*)(void))atanl;
30186 return 0;
30188 _ACEOF
30189 if ac_fn_c_try_compile "$LINENO"; then :
30190 glibcxx_cv_func_atanl_use=yes
30192 else
30193 glibcxx_cv_func_atanl_use=no
30195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atanl_use" >&5
30198 $as_echo "$glibcxx_cv_func_atanl_use" >&6; }
30199 if test "x$glibcxx_cv_func_atanl_use" = xyes; then
30200 cat >>confdefs.h <<_ACEOF
30201 #define HAVE_ATANL 1
30202 _ACEOF
30208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill declaration" >&5
30209 $as_echo_n "checking for ceill declaration... " >&6; }
30210 if ${glibcxx_cv_func_ceill_use+:} false; then :
30211 $as_echo_n "(cached) " >&6
30212 else
30215 ac_ext=c
30216 ac_cpp='$CPP $CPPFLAGS'
30217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30222 /* end confdefs.h. */
30224 #include <math.h>
30225 #ifdef HAVE_IEEEFP_H
30226 # include <ieeefp.h>
30227 #endif
30228 #undef ceill
30231 main ()
30234 void (*f)(void) = (void (*)(void))ceill;
30237 return 0;
30239 _ACEOF
30240 if ac_fn_c_try_compile "$LINENO"; then :
30241 glibcxx_cv_func_ceill_use=yes
30243 else
30244 glibcxx_cv_func_ceill_use=no
30246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ceill_use" >&5
30249 $as_echo "$glibcxx_cv_func_ceill_use" >&6; }
30250 if test "x$glibcxx_cv_func_ceill_use" = xyes; then
30251 cat >>confdefs.h <<_ACEOF
30252 #define HAVE_CEILL 1
30253 _ACEOF
30259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl declaration" >&5
30260 $as_echo_n "checking for coshl declaration... " >&6; }
30261 if ${glibcxx_cv_func_coshl_use+:} false; then :
30262 $as_echo_n "(cached) " >&6
30263 else
30266 ac_ext=c
30267 ac_cpp='$CPP $CPPFLAGS'
30268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30273 /* end confdefs.h. */
30275 #include <math.h>
30276 #ifdef HAVE_IEEEFP_H
30277 # include <ieeefp.h>
30278 #endif
30279 #undef coshl
30282 main ()
30285 void (*f)(void) = (void (*)(void))coshl;
30288 return 0;
30290 _ACEOF
30291 if ac_fn_c_try_compile "$LINENO"; then :
30292 glibcxx_cv_func_coshl_use=yes
30294 else
30295 glibcxx_cv_func_coshl_use=no
30297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_coshl_use" >&5
30300 $as_echo "$glibcxx_cv_func_coshl_use" >&6; }
30301 if test "x$glibcxx_cv_func_coshl_use" = xyes; then
30302 cat >>confdefs.h <<_ACEOF
30303 #define HAVE_COSHL 1
30304 _ACEOF
30310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl declaration" >&5
30311 $as_echo_n "checking for cosl declaration... " >&6; }
30312 if ${glibcxx_cv_func_cosl_use+:} false; then :
30313 $as_echo_n "(cached) " >&6
30314 else
30317 ac_ext=c
30318 ac_cpp='$CPP $CPPFLAGS'
30319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30324 /* end confdefs.h. */
30326 #include <math.h>
30327 #ifdef HAVE_IEEEFP_H
30328 # include <ieeefp.h>
30329 #endif
30330 #undef cosl
30333 main ()
30336 void (*f)(void) = (void (*)(void))cosl;
30339 return 0;
30341 _ACEOF
30342 if ac_fn_c_try_compile "$LINENO"; then :
30343 glibcxx_cv_func_cosl_use=yes
30345 else
30346 glibcxx_cv_func_cosl_use=no
30348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_cosl_use" >&5
30351 $as_echo "$glibcxx_cv_func_cosl_use" >&6; }
30352 if test "x$glibcxx_cv_func_cosl_use" = xyes; then
30353 cat >>confdefs.h <<_ACEOF
30354 #define HAVE_COSL 1
30355 _ACEOF
30361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
30362 $as_echo_n "checking for expl declaration... " >&6; }
30363 if ${glibcxx_cv_func_expl_use+:} false; then :
30364 $as_echo_n "(cached) " >&6
30365 else
30368 ac_ext=c
30369 ac_cpp='$CPP $CPPFLAGS'
30370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30375 /* end confdefs.h. */
30377 #include <math.h>
30378 #ifdef HAVE_IEEEFP_H
30379 # include <ieeefp.h>
30380 #endif
30381 #undef expl
30384 main ()
30387 void (*f)(void) = (void (*)(void))expl;
30390 return 0;
30392 _ACEOF
30393 if ac_fn_c_try_compile "$LINENO"; then :
30394 glibcxx_cv_func_expl_use=yes
30396 else
30397 glibcxx_cv_func_expl_use=no
30399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
30402 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
30403 if test "x$glibcxx_cv_func_expl_use" = xyes; then
30404 cat >>confdefs.h <<_ACEOF
30405 #define HAVE_EXPL 1
30406 _ACEOF
30412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
30413 $as_echo_n "checking for fabsl declaration... " >&6; }
30414 if ${glibcxx_cv_func_fabsl_use+:} false; then :
30415 $as_echo_n "(cached) " >&6
30416 else
30419 ac_ext=c
30420 ac_cpp='$CPP $CPPFLAGS'
30421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30426 /* end confdefs.h. */
30428 #include <math.h>
30429 #ifdef HAVE_IEEEFP_H
30430 # include <ieeefp.h>
30431 #endif
30432 #undef fabsl
30435 main ()
30438 void (*f)(void) = (void (*)(void))fabsl;
30441 return 0;
30443 _ACEOF
30444 if ac_fn_c_try_compile "$LINENO"; then :
30445 glibcxx_cv_func_fabsl_use=yes
30447 else
30448 glibcxx_cv_func_fabsl_use=no
30450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
30453 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
30454 if test "x$glibcxx_cv_func_fabsl_use" = xyes; then
30455 cat >>confdefs.h <<_ACEOF
30456 #define HAVE_FABSL 1
30457 _ACEOF
30463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl declaration" >&5
30464 $as_echo_n "checking for floorl declaration... " >&6; }
30465 if ${glibcxx_cv_func_floorl_use+:} false; then :
30466 $as_echo_n "(cached) " >&6
30467 else
30470 ac_ext=c
30471 ac_cpp='$CPP $CPPFLAGS'
30472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30477 /* end confdefs.h. */
30479 #include <math.h>
30480 #ifdef HAVE_IEEEFP_H
30481 # include <ieeefp.h>
30482 #endif
30483 #undef floorl
30486 main ()
30489 void (*f)(void) = (void (*)(void))floorl;
30492 return 0;
30494 _ACEOF
30495 if ac_fn_c_try_compile "$LINENO"; then :
30496 glibcxx_cv_func_floorl_use=yes
30498 else
30499 glibcxx_cv_func_floorl_use=no
30501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_floorl_use" >&5
30504 $as_echo "$glibcxx_cv_func_floorl_use" >&6; }
30505 if test "x$glibcxx_cv_func_floorl_use" = xyes; then
30506 cat >>confdefs.h <<_ACEOF
30507 #define HAVE_FLOORL 1
30508 _ACEOF
30514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
30515 $as_echo_n "checking for fmodl declaration... " >&6; }
30516 if ${glibcxx_cv_func_fmodl_use+:} false; then :
30517 $as_echo_n "(cached) " >&6
30518 else
30521 ac_ext=c
30522 ac_cpp='$CPP $CPPFLAGS'
30523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30528 /* end confdefs.h. */
30530 #include <math.h>
30531 #ifdef HAVE_IEEEFP_H
30532 # include <ieeefp.h>
30533 #endif
30534 #undef fmodl
30537 main ()
30540 void (*f)(void) = (void (*)(void))fmodl;
30543 return 0;
30545 _ACEOF
30546 if ac_fn_c_try_compile "$LINENO"; then :
30547 glibcxx_cv_func_fmodl_use=yes
30549 else
30550 glibcxx_cv_func_fmodl_use=no
30552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
30555 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
30556 if test "x$glibcxx_cv_func_fmodl_use" = xyes; then
30557 cat >>confdefs.h <<_ACEOF
30558 #define HAVE_FMODL 1
30559 _ACEOF
30565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
30566 $as_echo_n "checking for frexpl declaration... " >&6; }
30567 if ${glibcxx_cv_func_frexpl_use+:} false; then :
30568 $as_echo_n "(cached) " >&6
30569 else
30572 ac_ext=c
30573 ac_cpp='$CPP $CPPFLAGS'
30574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30579 /* end confdefs.h. */
30581 #include <math.h>
30582 #ifdef HAVE_IEEEFP_H
30583 # include <ieeefp.h>
30584 #endif
30585 #undef frexpl
30588 main ()
30591 void (*f)(void) = (void (*)(void))frexpl;
30594 return 0;
30596 _ACEOF
30597 if ac_fn_c_try_compile "$LINENO"; then :
30598 glibcxx_cv_func_frexpl_use=yes
30600 else
30601 glibcxx_cv_func_frexpl_use=no
30603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
30606 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
30607 if test "x$glibcxx_cv_func_frexpl_use" = xyes; then
30608 cat >>confdefs.h <<_ACEOF
30609 #define HAVE_FREXPL 1
30610 _ACEOF
30616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
30617 $as_echo_n "checking for hypotl declaration... " >&6; }
30618 if ${glibcxx_cv_func_hypotl_use+:} false; then :
30619 $as_echo_n "(cached) " >&6
30620 else
30623 ac_ext=c
30624 ac_cpp='$CPP $CPPFLAGS'
30625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30630 /* end confdefs.h. */
30632 #include <math.h>
30633 #ifdef HAVE_IEEEFP_H
30634 # include <ieeefp.h>
30635 #endif
30636 #undef hypotl
30639 main ()
30642 void (*f)(void) = (void (*)(void))hypotl;
30645 return 0;
30647 _ACEOF
30648 if ac_fn_c_try_compile "$LINENO"; then :
30649 glibcxx_cv_func_hypotl_use=yes
30651 else
30652 glibcxx_cv_func_hypotl_use=no
30654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
30657 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
30658 if test "x$glibcxx_cv_func_hypotl_use" = xyes; then
30659 cat >>confdefs.h <<_ACEOF
30660 #define HAVE_HYPOTL 1
30661 _ACEOF
30667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
30668 $as_echo_n "checking for ldexpl declaration... " >&6; }
30669 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
30670 $as_echo_n "(cached) " >&6
30671 else
30674 ac_ext=c
30675 ac_cpp='$CPP $CPPFLAGS'
30676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30681 /* end confdefs.h. */
30683 #include <math.h>
30684 #ifdef HAVE_IEEEFP_H
30685 # include <ieeefp.h>
30686 #endif
30687 #undef ldexpl
30690 main ()
30693 void (*f)(void) = (void (*)(void))ldexpl;
30696 return 0;
30698 _ACEOF
30699 if ac_fn_c_try_compile "$LINENO"; then :
30700 glibcxx_cv_func_ldexpl_use=yes
30702 else
30703 glibcxx_cv_func_ldexpl_use=no
30705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
30708 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
30709 if test "x$glibcxx_cv_func_ldexpl_use" = xyes; then
30710 cat >>confdefs.h <<_ACEOF
30711 #define HAVE_LDEXPL 1
30712 _ACEOF
30718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
30719 $as_echo_n "checking for log10l declaration... " >&6; }
30720 if ${glibcxx_cv_func_log10l_use+:} false; then :
30721 $as_echo_n "(cached) " >&6
30722 else
30725 ac_ext=c
30726 ac_cpp='$CPP $CPPFLAGS'
30727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30732 /* end confdefs.h. */
30734 #include <math.h>
30735 #ifdef HAVE_IEEEFP_H
30736 # include <ieeefp.h>
30737 #endif
30738 #undef log10l
30741 main ()
30744 void (*f)(void) = (void (*)(void))log10l;
30747 return 0;
30749 _ACEOF
30750 if ac_fn_c_try_compile "$LINENO"; then :
30751 glibcxx_cv_func_log10l_use=yes
30753 else
30754 glibcxx_cv_func_log10l_use=no
30756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
30759 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
30760 if test "x$glibcxx_cv_func_log10l_use" = xyes; then
30761 cat >>confdefs.h <<_ACEOF
30762 #define HAVE_LOG10L 1
30763 _ACEOF
30769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
30770 $as_echo_n "checking for logl declaration... " >&6; }
30771 if ${glibcxx_cv_func_logl_use+:} false; then :
30772 $as_echo_n "(cached) " >&6
30773 else
30776 ac_ext=c
30777 ac_cpp='$CPP $CPPFLAGS'
30778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30783 /* end confdefs.h. */
30785 #include <math.h>
30786 #ifdef HAVE_IEEEFP_H
30787 # include <ieeefp.h>
30788 #endif
30789 #undef logl
30792 main ()
30795 void (*f)(void) = (void (*)(void))logl;
30798 return 0;
30800 _ACEOF
30801 if ac_fn_c_try_compile "$LINENO"; then :
30802 glibcxx_cv_func_logl_use=yes
30804 else
30805 glibcxx_cv_func_logl_use=no
30807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
30810 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
30811 if test "x$glibcxx_cv_func_logl_use" = xyes; then
30812 cat >>confdefs.h <<_ACEOF
30813 #define HAVE_LOGL 1
30814 _ACEOF
30820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
30821 $as_echo_n "checking for modfl declaration... " >&6; }
30822 if ${glibcxx_cv_func_modfl_use+:} false; then :
30823 $as_echo_n "(cached) " >&6
30824 else
30827 ac_ext=c
30828 ac_cpp='$CPP $CPPFLAGS'
30829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30834 /* end confdefs.h. */
30836 #include <math.h>
30837 #ifdef HAVE_IEEEFP_H
30838 # include <ieeefp.h>
30839 #endif
30840 #undef modfl
30843 main ()
30846 void (*f)(void) = (void (*)(void))modfl;
30849 return 0;
30851 _ACEOF
30852 if ac_fn_c_try_compile "$LINENO"; then :
30853 glibcxx_cv_func_modfl_use=yes
30855 else
30856 glibcxx_cv_func_modfl_use=no
30858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
30861 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
30862 if test "x$glibcxx_cv_func_modfl_use" = xyes; then
30863 cat >>confdefs.h <<_ACEOF
30864 #define HAVE_MODFL 1
30865 _ACEOF
30871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
30872 $as_echo_n "checking for powl declaration... " >&6; }
30873 if ${glibcxx_cv_func_powl_use+:} false; then :
30874 $as_echo_n "(cached) " >&6
30875 else
30878 ac_ext=c
30879 ac_cpp='$CPP $CPPFLAGS'
30880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30885 /* end confdefs.h. */
30887 #include <math.h>
30888 #ifdef HAVE_IEEEFP_H
30889 # include <ieeefp.h>
30890 #endif
30891 #undef powl
30894 main ()
30897 void (*f)(void) = (void (*)(void))powl;
30900 return 0;
30902 _ACEOF
30903 if ac_fn_c_try_compile "$LINENO"; then :
30904 glibcxx_cv_func_powl_use=yes
30906 else
30907 glibcxx_cv_func_powl_use=no
30909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
30912 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
30913 if test "x$glibcxx_cv_func_powl_use" = xyes; then
30914 cat >>confdefs.h <<_ACEOF
30915 #define HAVE_POWL 1
30916 _ACEOF
30922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl declaration" >&5
30923 $as_echo_n "checking for sinhl declaration... " >&6; }
30924 if ${glibcxx_cv_func_sinhl_use+:} false; then :
30925 $as_echo_n "(cached) " >&6
30926 else
30929 ac_ext=c
30930 ac_cpp='$CPP $CPPFLAGS'
30931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30936 /* end confdefs.h. */
30938 #include <math.h>
30939 #ifdef HAVE_IEEEFP_H
30940 # include <ieeefp.h>
30941 #endif
30942 #undef sinhl
30945 main ()
30948 void (*f)(void) = (void (*)(void))sinhl;
30951 return 0;
30953 _ACEOF
30954 if ac_fn_c_try_compile "$LINENO"; then :
30955 glibcxx_cv_func_sinhl_use=yes
30957 else
30958 glibcxx_cv_func_sinhl_use=no
30960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinhl_use" >&5
30963 $as_echo "$glibcxx_cv_func_sinhl_use" >&6; }
30964 if test "x$glibcxx_cv_func_sinhl_use" = xyes; then
30965 cat >>confdefs.h <<_ACEOF
30966 #define HAVE_SINHL 1
30967 _ACEOF
30973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl declaration" >&5
30974 $as_echo_n "checking for sinl declaration... " >&6; }
30975 if ${glibcxx_cv_func_sinl_use+:} false; then :
30976 $as_echo_n "(cached) " >&6
30977 else
30980 ac_ext=c
30981 ac_cpp='$CPP $CPPFLAGS'
30982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30987 /* end confdefs.h. */
30989 #include <math.h>
30990 #ifdef HAVE_IEEEFP_H
30991 # include <ieeefp.h>
30992 #endif
30993 #undef sinl
30996 main ()
30999 void (*f)(void) = (void (*)(void))sinl;
31002 return 0;
31004 _ACEOF
31005 if ac_fn_c_try_compile "$LINENO"; then :
31006 glibcxx_cv_func_sinl_use=yes
31008 else
31009 glibcxx_cv_func_sinl_use=no
31011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinl_use" >&5
31014 $as_echo "$glibcxx_cv_func_sinl_use" >&6; }
31015 if test "x$glibcxx_cv_func_sinl_use" = xyes; then
31016 cat >>confdefs.h <<_ACEOF
31017 #define HAVE_SINL 1
31018 _ACEOF
31024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
31025 $as_echo_n "checking for sqrtl declaration... " >&6; }
31026 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
31027 $as_echo_n "(cached) " >&6
31028 else
31031 ac_ext=c
31032 ac_cpp='$CPP $CPPFLAGS'
31033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31038 /* end confdefs.h. */
31040 #include <math.h>
31041 #ifdef HAVE_IEEEFP_H
31042 # include <ieeefp.h>
31043 #endif
31044 #undef sqrtl
31047 main ()
31050 void (*f)(void) = (void (*)(void))sqrtl;
31053 return 0;
31055 _ACEOF
31056 if ac_fn_c_try_compile "$LINENO"; then :
31057 glibcxx_cv_func_sqrtl_use=yes
31059 else
31060 glibcxx_cv_func_sqrtl_use=no
31062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
31065 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
31066 if test "x$glibcxx_cv_func_sqrtl_use" = xyes; then
31067 cat >>confdefs.h <<_ACEOF
31068 #define HAVE_SQRTL 1
31069 _ACEOF
31075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl declaration" >&5
31076 $as_echo_n "checking for tanhl declaration... " >&6; }
31077 if ${glibcxx_cv_func_tanhl_use+:} false; then :
31078 $as_echo_n "(cached) " >&6
31079 else
31082 ac_ext=c
31083 ac_cpp='$CPP $CPPFLAGS'
31084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31089 /* end confdefs.h. */
31091 #include <math.h>
31092 #ifdef HAVE_IEEEFP_H
31093 # include <ieeefp.h>
31094 #endif
31095 #undef tanhl
31098 main ()
31101 void (*f)(void) = (void (*)(void))tanhl;
31104 return 0;
31106 _ACEOF
31107 if ac_fn_c_try_compile "$LINENO"; then :
31108 glibcxx_cv_func_tanhl_use=yes
31110 else
31111 glibcxx_cv_func_tanhl_use=no
31113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanhl_use" >&5
31116 $as_echo "$glibcxx_cv_func_tanhl_use" >&6; }
31117 if test "x$glibcxx_cv_func_tanhl_use" = xyes; then
31118 cat >>confdefs.h <<_ACEOF
31119 #define HAVE_TANHL 1
31120 _ACEOF
31126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl declaration" >&5
31127 $as_echo_n "checking for tanl declaration... " >&6; }
31128 if ${glibcxx_cv_func_tanl_use+:} false; then :
31129 $as_echo_n "(cached) " >&6
31130 else
31133 ac_ext=c
31134 ac_cpp='$CPP $CPPFLAGS'
31135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31140 /* end confdefs.h. */
31142 #include <math.h>
31143 #ifdef HAVE_IEEEFP_H
31144 # include <ieeefp.h>
31145 #endif
31146 #undef tanl
31149 main ()
31152 void (*f)(void) = (void (*)(void))tanl;
31155 return 0;
31157 _ACEOF
31158 if ac_fn_c_try_compile "$LINENO"; then :
31159 glibcxx_cv_func_tanl_use=yes
31161 else
31162 glibcxx_cv_func_tanl_use=no
31164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanl_use" >&5
31167 $as_echo "$glibcxx_cv_func_tanl_use" >&6; }
31168 if test "x$glibcxx_cv_func_tanl_use" = xyes; then
31169 cat >>confdefs.h <<_ACEOF
31170 #define HAVE_TANL 1
31171 _ACEOF
31178 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
31180 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
31183 case "${target}" in
31184 *-rtems*)
31185 case "${target}" in
31186 bfin* | lm32* | mips* | moxie* | or1k* | v850*)
31189 $as_echo "#define HAVE_TLS 1" >>confdefs.h
31192 esac
31193 $as_echo "#define HAVE_ALIGNED_ALLOC 1" >>confdefs.h
31195 $as_echo "#define HAVE_AT_QUICK_EXIT 1" >>confdefs.h
31197 $as_echo "#define HAVE_LINK 1" >>confdefs.h
31199 $as_echo "#define HAVE_QUICK_EXIT 1" >>confdefs.h
31201 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
31203 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
31205 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
31207 $as_echo "#define HAVE_SOCKATMARK 1" >>confdefs.h
31209 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
31211 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
31213 $as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
31215 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
31218 esac
31219 elif test "x$with_headers" != "xno"; then
31221 # Base decisions on target environment.
31222 case "${host}" in
31223 arm*-*-symbianelf*)
31224 # This is a freestanding configuration; there is nothing to do here.
31227 avr*-*-*)
31228 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
31230 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
31232 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
31234 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
31236 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
31238 $as_echo "#define HAVE_COSF 1" >>confdefs.h
31240 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
31242 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
31244 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
31246 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
31248 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
31250 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
31252 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
31254 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
31256 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
31258 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
31260 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
31262 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
31264 $as_echo "#define HAVE_POWF 1" >>confdefs.h
31266 $as_echo "#define HAVE_SINF 1" >>confdefs.h
31268 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
31270 $as_echo "#define HAVE_TANF 1" >>confdefs.h
31272 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
31276 mips*-sde-elf*)
31277 # These definitions are for the SDE C library rather than newlib.
31278 SECTION_FLAGS='-ffunction-sections -fdata-sections'
31281 # All these tests are for C++; save the language and the compiler flags.
31282 # The CXXFLAGS thing is suspicious, but based on similar bits previously
31283 # found in GLIBCXX_CONFIGURE.
31285 ac_ext=cpp
31286 ac_cpp='$CXXCPP $CPPFLAGS'
31287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31291 ac_test_CXXFLAGS="${CXXFLAGS+set}"
31292 ac_save_CXXFLAGS="$CXXFLAGS"
31294 # Check for -ffunction-sections -fdata-sections
31295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
31296 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
31297 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
31298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31299 /* end confdefs.h. */
31300 int foo; void bar() { };
31302 main ()
31306 return 0;
31308 _ACEOF
31309 if ac_fn_cxx_try_compile "$LINENO"; then :
31310 ac_fdsections=yes
31311 else
31312 ac_fdsections=no
31314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31315 if test "$ac_test_CXXFLAGS" = set; then
31316 CXXFLAGS="$ac_save_CXXFLAGS"
31317 else
31318 # this is the suspicious part
31319 CXXFLAGS=''
31321 if test x"$ac_fdsections" = x"yes"; then
31322 SECTION_FLAGS='-ffunction-sections -fdata-sections'
31324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
31325 $as_echo "$ac_fdsections" >&6; }
31327 ac_ext=c
31328 ac_cpp='$CPP $CPPFLAGS'
31329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31336 # If we're not using GNU ld, then there's no point in even trying these
31337 # tests. Check for that first. We should have already tested for gld
31338 # by now (in libtool), but require it now just to be safe...
31339 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
31340 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
31344 # The name set by libtool depends on the version of libtool. Shame on us
31345 # for depending on an impl detail, but c'est la vie. Older versions used
31346 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
31347 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
31348 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
31349 # set (hence we're using an older libtool), then set it.
31350 if test x${with_gnu_ld+set} != xset; then
31351 if test x${ac_cv_prog_gnu_ld+set} != xset; then
31352 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
31353 with_gnu_ld=no
31354 else
31355 with_gnu_ld=$ac_cv_prog_gnu_ld
31359 # Start by getting the version number. I think the libtool test already
31360 # does some of this, but throws away the result.
31361 glibcxx_ld_is_gold=no
31362 glibcxx_ld_is_mold=no
31363 if test x"$with_gnu_ld" = x"yes"; then
31364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
31365 $as_echo_n "checking for ld version... " >&6; }
31367 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
31368 glibcxx_ld_is_gold=yes
31369 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
31370 glibcxx_ld_is_mold=yes
31372 ldver=`$LD --version 2>/dev/null |
31373 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
31375 glibcxx_gnu_ld_version=`echo $ldver | \
31376 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
31377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
31378 $as_echo "$glibcxx_gnu_ld_version" >&6; }
31381 # Set --gc-sections.
31382 glibcxx_have_gc_sections=no
31383 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
31384 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
31385 glibcxx_have_gc_sections=yes
31387 else
31388 glibcxx_gcsections_min_ld=21602
31389 if test x"$with_gnu_ld" = x"yes" &&
31390 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
31391 glibcxx_have_gc_sections=yes
31394 if test "$glibcxx_have_gc_sections" = "yes"; then
31395 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
31396 # NB: This flag only works reliably after 2.16.1. Configure tests
31397 # for this are difficult, so hard wire a value that should work.
31399 ac_test_CFLAGS="${CFLAGS+set}"
31400 ac_save_CFLAGS="$CFLAGS"
31401 CFLAGS='-Wl,--gc-sections'
31403 # Check for -Wl,--gc-sections
31404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
31405 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
31406 if test x$gcc_no_link = xyes; then
31407 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
31409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31410 /* end confdefs.h. */
31411 int one(void) { return 1; }
31412 int two(void) { return 2; }
31415 main ()
31417 two();
31419 return 0;
31421 _ACEOF
31422 if ac_fn_c_try_link "$LINENO"; then :
31423 ac_gcsections=yes
31424 else
31425 ac_gcsections=no
31427 rm -f core conftest.err conftest.$ac_objext \
31428 conftest$ac_exeext conftest.$ac_ext
31429 if test "$ac_gcsections" = "yes"; then
31430 rm -f conftest.c
31431 touch conftest.c
31432 if $CC -c conftest.c; then
31433 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
31434 grep "Warning: gc-sections option ignored" > /dev/null; then
31435 ac_gcsections=no
31438 rm -f conftest.c conftest.o conftest
31440 if test "$ac_gcsections" = "yes"; then
31441 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
31443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
31444 $as_echo "$ac_gcsections" >&6; }
31446 if test "$ac_test_CFLAGS" = set; then
31447 CFLAGS="$ac_save_CFLAGS"
31448 else
31449 # this is the suspicious part
31450 CFLAGS=''
31454 # Set -z,relro.
31455 # Note this is only for shared objects.
31456 ac_ld_relro=no
31457 if test x"$with_gnu_ld" = x"yes"; then
31458 # cygwin and mingw uses PE, which has no ELF relro support,
31459 # multi target ld may confuse configure machinery
31460 case "$host" in
31461 *-*-cygwin*)
31463 *-*-mingw*)
31466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
31467 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
31468 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
31469 if test -n "$cxx_z_relo"; then
31470 OPT_LDFLAGS="-Wl,-z,relro"
31471 ac_ld_relro=yes
31473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
31474 $as_echo "$ac_ld_relro" >&6; }
31475 esac
31478 # Set linker optimization flags.
31479 if test x"$with_gnu_ld" = x"yes"; then
31480 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
31487 ac_test_CXXFLAGS="${CXXFLAGS+set}"
31488 ac_save_CXXFLAGS="$CXXFLAGS"
31489 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
31491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
31492 $as_echo_n "checking for sin in -lm... " >&6; }
31493 if ${ac_cv_lib_m_sin+:} false; then :
31494 $as_echo_n "(cached) " >&6
31495 else
31496 ac_check_lib_save_LIBS=$LIBS
31497 LIBS="-lm $LIBS"
31498 if test x$gcc_no_link = xyes; then
31499 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
31501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31502 /* end confdefs.h. */
31504 /* Override any GCC internal prototype to avoid an error.
31505 Use char because int might match the return type of a GCC
31506 builtin and then its argument prototype would still apply. */
31507 #ifdef __cplusplus
31508 extern "C"
31509 #endif
31510 char sin ();
31512 main ()
31514 return sin ();
31516 return 0;
31518 _ACEOF
31519 if ac_fn_c_try_link "$LINENO"; then :
31520 ac_cv_lib_m_sin=yes
31521 else
31522 ac_cv_lib_m_sin=no
31524 rm -f core conftest.err conftest.$ac_objext \
31525 conftest$ac_exeext conftest.$ac_ext
31526 LIBS=$ac_check_lib_save_LIBS
31528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
31529 $as_echo "$ac_cv_lib_m_sin" >&6; }
31530 if test "x$ac_cv_lib_m_sin" = xyes; then :
31531 libm="-lm"
31534 ac_save_LIBS="$LIBS"
31535 LIBS="$LIBS $libm"
31539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
31540 $as_echo_n "checking for isinf declaration... " >&6; }
31541 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
31542 if ${glibcxx_cv_func_isinf_use+:} false; then :
31543 $as_echo_n "(cached) " >&6
31544 else
31547 ac_ext=cpp
31548 ac_cpp='$CXXCPP $CPPFLAGS'
31549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31554 /* end confdefs.h. */
31555 #include <math.h>
31556 #ifdef HAVE_IEEEFP_H
31557 #include <ieeefp.h>
31558 #endif
31561 main ()
31563 isinf(0);
31565 return 0;
31567 _ACEOF
31568 if ac_fn_cxx_try_compile "$LINENO"; then :
31569 glibcxx_cv_func_isinf_use=yes
31570 else
31571 glibcxx_cv_func_isinf_use=no
31573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31574 ac_ext=c
31575 ac_cpp='$CPP $CPPFLAGS'
31576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
31585 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
31587 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
31588 for ac_func in isinf
31589 do :
31590 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
31591 if test "x$ac_cv_func_isinf" = xyes; then :
31592 cat >>confdefs.h <<_ACEOF
31593 #define HAVE_ISINF 1
31594 _ACEOF
31597 done
31599 else
31601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
31602 $as_echo_n "checking for _isinf declaration... " >&6; }
31603 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
31604 if ${glibcxx_cv_func__isinf_use+:} false; then :
31605 $as_echo_n "(cached) " >&6
31606 else
31609 ac_ext=cpp
31610 ac_cpp='$CXXCPP $CPPFLAGS'
31611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31616 /* end confdefs.h. */
31617 #include <math.h>
31618 #ifdef HAVE_IEEEFP_H
31619 #include <ieeefp.h>
31620 #endif
31623 main ()
31625 _isinf(0);
31627 return 0;
31629 _ACEOF
31630 if ac_fn_cxx_try_compile "$LINENO"; then :
31631 glibcxx_cv_func__isinf_use=yes
31632 else
31633 glibcxx_cv_func__isinf_use=no
31635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31636 ac_ext=c
31637 ac_cpp='$CPP $CPPFLAGS'
31638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
31647 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
31649 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
31650 for ac_func in _isinf
31651 do :
31652 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
31653 if test "x$ac_cv_func__isinf" = xyes; then :
31654 cat >>confdefs.h <<_ACEOF
31655 #define HAVE__ISINF 1
31656 _ACEOF
31659 done
31668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
31669 $as_echo_n "checking for isnan declaration... " >&6; }
31670 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
31671 if ${glibcxx_cv_func_isnan_use+:} false; then :
31672 $as_echo_n "(cached) " >&6
31673 else
31676 ac_ext=cpp
31677 ac_cpp='$CXXCPP $CPPFLAGS'
31678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31683 /* end confdefs.h. */
31684 #include <math.h>
31685 #ifdef HAVE_IEEEFP_H
31686 #include <ieeefp.h>
31687 #endif
31690 main ()
31692 isnan(0);
31694 return 0;
31696 _ACEOF
31697 if ac_fn_cxx_try_compile "$LINENO"; then :
31698 glibcxx_cv_func_isnan_use=yes
31699 else
31700 glibcxx_cv_func_isnan_use=no
31702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31703 ac_ext=c
31704 ac_cpp='$CPP $CPPFLAGS'
31705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
31714 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
31716 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
31717 for ac_func in isnan
31718 do :
31719 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
31720 if test "x$ac_cv_func_isnan" = xyes; then :
31721 cat >>confdefs.h <<_ACEOF
31722 #define HAVE_ISNAN 1
31723 _ACEOF
31726 done
31728 else
31730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
31731 $as_echo_n "checking for _isnan declaration... " >&6; }
31732 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
31733 if ${glibcxx_cv_func__isnan_use+:} false; then :
31734 $as_echo_n "(cached) " >&6
31735 else
31738 ac_ext=cpp
31739 ac_cpp='$CXXCPP $CPPFLAGS'
31740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31745 /* end confdefs.h. */
31746 #include <math.h>
31747 #ifdef HAVE_IEEEFP_H
31748 #include <ieeefp.h>
31749 #endif
31752 main ()
31754 _isnan(0);
31756 return 0;
31758 _ACEOF
31759 if ac_fn_cxx_try_compile "$LINENO"; then :
31760 glibcxx_cv_func__isnan_use=yes
31761 else
31762 glibcxx_cv_func__isnan_use=no
31764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31765 ac_ext=c
31766 ac_cpp='$CPP $CPPFLAGS'
31767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
31776 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
31778 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
31779 for ac_func in _isnan
31780 do :
31781 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
31782 if test "x$ac_cv_func__isnan" = xyes; then :
31783 cat >>confdefs.h <<_ACEOF
31784 #define HAVE__ISNAN 1
31785 _ACEOF
31788 done
31797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
31798 $as_echo_n "checking for finite declaration... " >&6; }
31799 if test x${glibcxx_cv_func_finite_use+set} != xset; then
31800 if ${glibcxx_cv_func_finite_use+:} false; then :
31801 $as_echo_n "(cached) " >&6
31802 else
31805 ac_ext=cpp
31806 ac_cpp='$CXXCPP $CPPFLAGS'
31807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31812 /* end confdefs.h. */
31813 #include <math.h>
31814 #ifdef HAVE_IEEEFP_H
31815 #include <ieeefp.h>
31816 #endif
31819 main ()
31821 finite(0);
31823 return 0;
31825 _ACEOF
31826 if ac_fn_cxx_try_compile "$LINENO"; then :
31827 glibcxx_cv_func_finite_use=yes
31828 else
31829 glibcxx_cv_func_finite_use=no
31831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31832 ac_ext=c
31833 ac_cpp='$CPP $CPPFLAGS'
31834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
31843 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
31845 if test x$glibcxx_cv_func_finite_use = x"yes"; then
31846 for ac_func in finite
31847 do :
31848 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
31849 if test "x$ac_cv_func_finite" = xyes; then :
31850 cat >>confdefs.h <<_ACEOF
31851 #define HAVE_FINITE 1
31852 _ACEOF
31855 done
31857 else
31859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
31860 $as_echo_n "checking for _finite declaration... " >&6; }
31861 if test x${glibcxx_cv_func__finite_use+set} != xset; then
31862 if ${glibcxx_cv_func__finite_use+:} false; then :
31863 $as_echo_n "(cached) " >&6
31864 else
31867 ac_ext=cpp
31868 ac_cpp='$CXXCPP $CPPFLAGS'
31869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31874 /* end confdefs.h. */
31875 #include <math.h>
31876 #ifdef HAVE_IEEEFP_H
31877 #include <ieeefp.h>
31878 #endif
31881 main ()
31883 _finite(0);
31885 return 0;
31887 _ACEOF
31888 if ac_fn_cxx_try_compile "$LINENO"; then :
31889 glibcxx_cv_func__finite_use=yes
31890 else
31891 glibcxx_cv_func__finite_use=no
31893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31894 ac_ext=c
31895 ac_cpp='$CPP $CPPFLAGS'
31896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
31905 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
31907 if test x$glibcxx_cv_func__finite_use = x"yes"; then
31908 for ac_func in _finite
31909 do :
31910 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
31911 if test "x$ac_cv_func__finite" = xyes; then :
31912 cat >>confdefs.h <<_ACEOF
31913 #define HAVE__FINITE 1
31914 _ACEOF
31917 done
31926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
31927 $as_echo_n "checking for sincos declaration... " >&6; }
31928 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
31929 if ${glibcxx_cv_func_sincos_use+:} false; then :
31930 $as_echo_n "(cached) " >&6
31931 else
31934 ac_ext=cpp
31935 ac_cpp='$CXXCPP $CPPFLAGS'
31936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31941 /* end confdefs.h. */
31942 #include <math.h>
31944 main ()
31946 sincos(0, 0, 0);
31948 return 0;
31950 _ACEOF
31951 if ac_fn_cxx_try_compile "$LINENO"; then :
31952 glibcxx_cv_func_sincos_use=yes
31953 else
31954 glibcxx_cv_func_sincos_use=no
31956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31957 ac_ext=c
31958 ac_cpp='$CPP $CPPFLAGS'
31959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
31968 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
31970 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
31971 for ac_func in sincos
31972 do :
31973 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
31974 if test "x$ac_cv_func_sincos" = xyes; then :
31975 cat >>confdefs.h <<_ACEOF
31976 #define HAVE_SINCOS 1
31977 _ACEOF
31980 done
31982 else
31984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
31985 $as_echo_n "checking for _sincos declaration... " >&6; }
31986 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
31987 if ${glibcxx_cv_func__sincos_use+:} false; then :
31988 $as_echo_n "(cached) " >&6
31989 else
31992 ac_ext=cpp
31993 ac_cpp='$CXXCPP $CPPFLAGS'
31994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31999 /* end confdefs.h. */
32000 #include <math.h>
32002 main ()
32004 _sincos(0, 0, 0);
32006 return 0;
32008 _ACEOF
32009 if ac_fn_cxx_try_compile "$LINENO"; then :
32010 glibcxx_cv_func__sincos_use=yes
32011 else
32012 glibcxx_cv_func__sincos_use=no
32014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32015 ac_ext=c
32016 ac_cpp='$CPP $CPPFLAGS'
32017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
32026 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
32028 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
32029 for ac_func in _sincos
32030 do :
32031 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
32032 if test "x$ac_cv_func__sincos" = xyes; then :
32033 cat >>confdefs.h <<_ACEOF
32034 #define HAVE__SINCOS 1
32035 _ACEOF
32038 done
32047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
32048 $as_echo_n "checking for fpclass declaration... " >&6; }
32049 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
32050 if ${glibcxx_cv_func_fpclass_use+:} false; then :
32051 $as_echo_n "(cached) " >&6
32052 else
32055 ac_ext=cpp
32056 ac_cpp='$CXXCPP $CPPFLAGS'
32057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32062 /* end confdefs.h. */
32063 #include <math.h>
32064 #ifdef HAVE_IEEEFP_H
32065 #include <ieeefp.h>
32066 #endif
32069 main ()
32071 fpclass(0);
32073 return 0;
32075 _ACEOF
32076 if ac_fn_cxx_try_compile "$LINENO"; then :
32077 glibcxx_cv_func_fpclass_use=yes
32078 else
32079 glibcxx_cv_func_fpclass_use=no
32081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32082 ac_ext=c
32083 ac_cpp='$CPP $CPPFLAGS'
32084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
32093 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
32095 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
32096 for ac_func in fpclass
32097 do :
32098 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
32099 if test "x$ac_cv_func_fpclass" = xyes; then :
32100 cat >>confdefs.h <<_ACEOF
32101 #define HAVE_FPCLASS 1
32102 _ACEOF
32105 done
32107 else
32109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
32110 $as_echo_n "checking for _fpclass declaration... " >&6; }
32111 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
32112 if ${glibcxx_cv_func__fpclass_use+:} false; then :
32113 $as_echo_n "(cached) " >&6
32114 else
32117 ac_ext=cpp
32118 ac_cpp='$CXXCPP $CPPFLAGS'
32119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32124 /* end confdefs.h. */
32125 #include <math.h>
32126 #ifdef HAVE_IEEEFP_H
32127 #include <ieeefp.h>
32128 #endif
32131 main ()
32133 _fpclass(0);
32135 return 0;
32137 _ACEOF
32138 if ac_fn_cxx_try_compile "$LINENO"; then :
32139 glibcxx_cv_func__fpclass_use=yes
32140 else
32141 glibcxx_cv_func__fpclass_use=no
32143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32144 ac_ext=c
32145 ac_cpp='$CPP $CPPFLAGS'
32146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
32155 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
32157 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
32158 for ac_func in _fpclass
32159 do :
32160 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
32161 if test "x$ac_cv_func__fpclass" = xyes; then :
32162 cat >>confdefs.h <<_ACEOF
32163 #define HAVE__FPCLASS 1
32164 _ACEOF
32167 done
32176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
32177 $as_echo_n "checking for qfpclass declaration... " >&6; }
32178 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
32179 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
32180 $as_echo_n "(cached) " >&6
32181 else
32184 ac_ext=cpp
32185 ac_cpp='$CXXCPP $CPPFLAGS'
32186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32191 /* end confdefs.h. */
32192 #include <math.h>
32193 #ifdef HAVE_IEEEFP_H
32194 #include <ieeefp.h>
32195 #endif
32198 main ()
32200 qfpclass(0);
32202 return 0;
32204 _ACEOF
32205 if ac_fn_cxx_try_compile "$LINENO"; then :
32206 glibcxx_cv_func_qfpclass_use=yes
32207 else
32208 glibcxx_cv_func_qfpclass_use=no
32210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32211 ac_ext=c
32212 ac_cpp='$CPP $CPPFLAGS'
32213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
32222 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
32224 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
32225 for ac_func in qfpclass
32226 do :
32227 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
32228 if test "x$ac_cv_func_qfpclass" = xyes; then :
32229 cat >>confdefs.h <<_ACEOF
32230 #define HAVE_QFPCLASS 1
32231 _ACEOF
32234 done
32236 else
32238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
32239 $as_echo_n "checking for _qfpclass declaration... " >&6; }
32240 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
32241 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
32242 $as_echo_n "(cached) " >&6
32243 else
32246 ac_ext=cpp
32247 ac_cpp='$CXXCPP $CPPFLAGS'
32248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32253 /* end confdefs.h. */
32254 #include <math.h>
32255 #ifdef HAVE_IEEEFP_H
32256 #include <ieeefp.h>
32257 #endif
32260 main ()
32262 _qfpclass(0);
32264 return 0;
32266 _ACEOF
32267 if ac_fn_cxx_try_compile "$LINENO"; then :
32268 glibcxx_cv_func__qfpclass_use=yes
32269 else
32270 glibcxx_cv_func__qfpclass_use=no
32272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32273 ac_ext=c
32274 ac_cpp='$CPP $CPPFLAGS'
32275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
32284 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
32286 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
32287 for ac_func in _qfpclass
32288 do :
32289 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
32290 if test "x$ac_cv_func__qfpclass" = xyes; then :
32291 cat >>confdefs.h <<_ACEOF
32292 #define HAVE__QFPCLASS 1
32293 _ACEOF
32296 done
32305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
32306 $as_echo_n "checking for hypot declaration... " >&6; }
32307 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
32308 if ${glibcxx_cv_func_hypot_use+:} false; then :
32309 $as_echo_n "(cached) " >&6
32310 else
32313 ac_ext=cpp
32314 ac_cpp='$CXXCPP $CPPFLAGS'
32315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32320 /* end confdefs.h. */
32321 #include <math.h>
32323 main ()
32325 hypot(0, 0);
32327 return 0;
32329 _ACEOF
32330 if ac_fn_cxx_try_compile "$LINENO"; then :
32331 glibcxx_cv_func_hypot_use=yes
32332 else
32333 glibcxx_cv_func_hypot_use=no
32335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32336 ac_ext=c
32337 ac_cpp='$CPP $CPPFLAGS'
32338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
32347 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
32349 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
32350 for ac_func in hypot
32351 do :
32352 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
32353 if test "x$ac_cv_func_hypot" = xyes; then :
32354 cat >>confdefs.h <<_ACEOF
32355 #define HAVE_HYPOT 1
32356 _ACEOF
32359 done
32361 else
32363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
32364 $as_echo_n "checking for _hypot declaration... " >&6; }
32365 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
32366 if ${glibcxx_cv_func__hypot_use+:} false; then :
32367 $as_echo_n "(cached) " >&6
32368 else
32371 ac_ext=cpp
32372 ac_cpp='$CXXCPP $CPPFLAGS'
32373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32378 /* end confdefs.h. */
32379 #include <math.h>
32381 main ()
32383 _hypot(0, 0);
32385 return 0;
32387 _ACEOF
32388 if ac_fn_cxx_try_compile "$LINENO"; then :
32389 glibcxx_cv_func__hypot_use=yes
32390 else
32391 glibcxx_cv_func__hypot_use=no
32393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32394 ac_ext=c
32395 ac_cpp='$CPP $CPPFLAGS'
32396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
32405 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
32407 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
32408 for ac_func in _hypot
32409 do :
32410 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
32411 if test "x$ac_cv_func__hypot" = xyes; then :
32412 cat >>confdefs.h <<_ACEOF
32413 #define HAVE__HYPOT 1
32414 _ACEOF
32417 done
32426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
32427 $as_echo_n "checking for float trig functions... " >&6; }
32428 if ${glibcxx_cv_func_float_trig_use+:} false; then :
32429 $as_echo_n "(cached) " >&6
32430 else
32433 ac_ext=cpp
32434 ac_cpp='$CXXCPP $CPPFLAGS'
32435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32440 /* end confdefs.h. */
32441 #include <math.h>
32443 main ()
32445 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
32447 return 0;
32449 _ACEOF
32450 if ac_fn_cxx_try_compile "$LINENO"; then :
32451 glibcxx_cv_func_float_trig_use=yes
32452 else
32453 glibcxx_cv_func_float_trig_use=no
32455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32456 ac_ext=c
32457 ac_cpp='$CPP $CPPFLAGS'
32458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
32465 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
32466 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
32467 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
32468 do :
32469 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32470 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32471 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32472 cat >>confdefs.h <<_ACEOF
32473 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32474 _ACEOF
32477 done
32479 else
32480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
32481 $as_echo_n "checking for _float trig functions... " >&6; }
32482 if ${glibcxx_cv_func__float_trig_use+:} false; then :
32483 $as_echo_n "(cached) " >&6
32484 else
32487 ac_ext=cpp
32488 ac_cpp='$CXXCPP $CPPFLAGS'
32489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32494 /* end confdefs.h. */
32495 #include <math.h>
32497 main ()
32499 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
32501 return 0;
32503 _ACEOF
32504 if ac_fn_cxx_try_compile "$LINENO"; then :
32505 glibcxx_cv_func__float_trig_use=yes
32506 else
32507 glibcxx_cv_func__float_trig_use=no
32509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32510 ac_ext=c
32511 ac_cpp='$CPP $CPPFLAGS'
32512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
32519 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
32520 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
32521 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
32522 do :
32523 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32524 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32525 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32526 cat >>confdefs.h <<_ACEOF
32527 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32528 _ACEOF
32531 done
32540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
32541 $as_echo_n "checking for float round functions... " >&6; }
32542 if ${glibcxx_cv_func_float_round_use+:} false; then :
32543 $as_echo_n "(cached) " >&6
32544 else
32547 ac_ext=cpp
32548 ac_cpp='$CXXCPP $CPPFLAGS'
32549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32554 /* end confdefs.h. */
32555 #include <math.h>
32557 main ()
32559 ceilf (0); floorf (0);
32561 return 0;
32563 _ACEOF
32564 if ac_fn_cxx_try_compile "$LINENO"; then :
32565 glibcxx_cv_func_float_round_use=yes
32566 else
32567 glibcxx_cv_func_float_round_use=no
32569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32570 ac_ext=c
32571 ac_cpp='$CPP $CPPFLAGS'
32572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
32579 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
32580 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
32581 for ac_func in ceilf floorf
32582 do :
32583 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32584 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32585 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32586 cat >>confdefs.h <<_ACEOF
32587 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32588 _ACEOF
32591 done
32593 else
32594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
32595 $as_echo_n "checking for _float round functions... " >&6; }
32596 if ${glibcxx_cv_func__float_round_use+:} false; then :
32597 $as_echo_n "(cached) " >&6
32598 else
32601 ac_ext=cpp
32602 ac_cpp='$CXXCPP $CPPFLAGS'
32603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32608 /* end confdefs.h. */
32609 #include <math.h>
32611 main ()
32613 _ceilf (0); _floorf (0);
32615 return 0;
32617 _ACEOF
32618 if ac_fn_cxx_try_compile "$LINENO"; then :
32619 glibcxx_cv_func__float_round_use=yes
32620 else
32621 glibcxx_cv_func__float_round_use=no
32623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32624 ac_ext=c
32625 ac_cpp='$CPP $CPPFLAGS'
32626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
32633 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
32634 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
32635 for ac_func in _ceilf _floorf
32636 do :
32637 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32638 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32639 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32640 cat >>confdefs.h <<_ACEOF
32641 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32642 _ACEOF
32645 done
32655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
32656 $as_echo_n "checking for expf declaration... " >&6; }
32657 if test x${glibcxx_cv_func_expf_use+set} != xset; then
32658 if ${glibcxx_cv_func_expf_use+:} false; then :
32659 $as_echo_n "(cached) " >&6
32660 else
32663 ac_ext=cpp
32664 ac_cpp='$CXXCPP $CPPFLAGS'
32665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32670 /* end confdefs.h. */
32671 #include <math.h>
32672 #ifdef HAVE_IEEEFP_H
32673 #include <ieeefp.h>
32674 #endif
32677 main ()
32679 expf(0);
32681 return 0;
32683 _ACEOF
32684 if ac_fn_cxx_try_compile "$LINENO"; then :
32685 glibcxx_cv_func_expf_use=yes
32686 else
32687 glibcxx_cv_func_expf_use=no
32689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32690 ac_ext=c
32691 ac_cpp='$CPP $CPPFLAGS'
32692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
32701 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
32703 if test x$glibcxx_cv_func_expf_use = x"yes"; then
32704 for ac_func in expf
32705 do :
32706 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
32707 if test "x$ac_cv_func_expf" = xyes; then :
32708 cat >>confdefs.h <<_ACEOF
32709 #define HAVE_EXPF 1
32710 _ACEOF
32713 done
32715 else
32717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
32718 $as_echo_n "checking for _expf declaration... " >&6; }
32719 if test x${glibcxx_cv_func__expf_use+set} != xset; then
32720 if ${glibcxx_cv_func__expf_use+:} false; then :
32721 $as_echo_n "(cached) " >&6
32722 else
32725 ac_ext=cpp
32726 ac_cpp='$CXXCPP $CPPFLAGS'
32727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32732 /* end confdefs.h. */
32733 #include <math.h>
32734 #ifdef HAVE_IEEEFP_H
32735 #include <ieeefp.h>
32736 #endif
32739 main ()
32741 _expf(0);
32743 return 0;
32745 _ACEOF
32746 if ac_fn_cxx_try_compile "$LINENO"; then :
32747 glibcxx_cv_func__expf_use=yes
32748 else
32749 glibcxx_cv_func__expf_use=no
32751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32752 ac_ext=c
32753 ac_cpp='$CPP $CPPFLAGS'
32754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
32763 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
32765 if test x$glibcxx_cv_func__expf_use = x"yes"; then
32766 for ac_func in _expf
32767 do :
32768 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
32769 if test "x$ac_cv_func__expf" = xyes; then :
32770 cat >>confdefs.h <<_ACEOF
32771 #define HAVE__EXPF 1
32772 _ACEOF
32775 done
32784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
32785 $as_echo_n "checking for isnanf declaration... " >&6; }
32786 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
32787 if ${glibcxx_cv_func_isnanf_use+:} false; then :
32788 $as_echo_n "(cached) " >&6
32789 else
32792 ac_ext=cpp
32793 ac_cpp='$CXXCPP $CPPFLAGS'
32794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32799 /* end confdefs.h. */
32800 #include <math.h>
32801 #ifdef HAVE_IEEEFP_H
32802 #include <ieeefp.h>
32803 #endif
32806 main ()
32808 isnanf(0);
32810 return 0;
32812 _ACEOF
32813 if ac_fn_cxx_try_compile "$LINENO"; then :
32814 glibcxx_cv_func_isnanf_use=yes
32815 else
32816 glibcxx_cv_func_isnanf_use=no
32818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32819 ac_ext=c
32820 ac_cpp='$CPP $CPPFLAGS'
32821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
32830 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
32832 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
32833 for ac_func in isnanf
32834 do :
32835 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
32836 if test "x$ac_cv_func_isnanf" = xyes; then :
32837 cat >>confdefs.h <<_ACEOF
32838 #define HAVE_ISNANF 1
32839 _ACEOF
32842 done
32844 else
32846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
32847 $as_echo_n "checking for _isnanf declaration... " >&6; }
32848 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
32849 if ${glibcxx_cv_func__isnanf_use+:} false; then :
32850 $as_echo_n "(cached) " >&6
32851 else
32854 ac_ext=cpp
32855 ac_cpp='$CXXCPP $CPPFLAGS'
32856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32861 /* end confdefs.h. */
32862 #include <math.h>
32863 #ifdef HAVE_IEEEFP_H
32864 #include <ieeefp.h>
32865 #endif
32868 main ()
32870 _isnanf(0);
32872 return 0;
32874 _ACEOF
32875 if ac_fn_cxx_try_compile "$LINENO"; then :
32876 glibcxx_cv_func__isnanf_use=yes
32877 else
32878 glibcxx_cv_func__isnanf_use=no
32880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32881 ac_ext=c
32882 ac_cpp='$CPP $CPPFLAGS'
32883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
32892 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
32894 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
32895 for ac_func in _isnanf
32896 do :
32897 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
32898 if test "x$ac_cv_func__isnanf" = xyes; then :
32899 cat >>confdefs.h <<_ACEOF
32900 #define HAVE__ISNANF 1
32901 _ACEOF
32904 done
32913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
32914 $as_echo_n "checking for isinff declaration... " >&6; }
32915 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
32916 if ${glibcxx_cv_func_isinff_use+:} false; then :
32917 $as_echo_n "(cached) " >&6
32918 else
32921 ac_ext=cpp
32922 ac_cpp='$CXXCPP $CPPFLAGS'
32923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32928 /* end confdefs.h. */
32929 #include <math.h>
32930 #ifdef HAVE_IEEEFP_H
32931 #include <ieeefp.h>
32932 #endif
32935 main ()
32937 isinff(0);
32939 return 0;
32941 _ACEOF
32942 if ac_fn_cxx_try_compile "$LINENO"; then :
32943 glibcxx_cv_func_isinff_use=yes
32944 else
32945 glibcxx_cv_func_isinff_use=no
32947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32948 ac_ext=c
32949 ac_cpp='$CPP $CPPFLAGS'
32950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
32959 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
32961 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
32962 for ac_func in isinff
32963 do :
32964 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
32965 if test "x$ac_cv_func_isinff" = xyes; then :
32966 cat >>confdefs.h <<_ACEOF
32967 #define HAVE_ISINFF 1
32968 _ACEOF
32971 done
32973 else
32975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
32976 $as_echo_n "checking for _isinff declaration... " >&6; }
32977 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
32978 if ${glibcxx_cv_func__isinff_use+:} false; then :
32979 $as_echo_n "(cached) " >&6
32980 else
32983 ac_ext=cpp
32984 ac_cpp='$CXXCPP $CPPFLAGS'
32985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32990 /* end confdefs.h. */
32991 #include <math.h>
32992 #ifdef HAVE_IEEEFP_H
32993 #include <ieeefp.h>
32994 #endif
32997 main ()
32999 _isinff(0);
33001 return 0;
33003 _ACEOF
33004 if ac_fn_cxx_try_compile "$LINENO"; then :
33005 glibcxx_cv_func__isinff_use=yes
33006 else
33007 glibcxx_cv_func__isinff_use=no
33009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33010 ac_ext=c
33011 ac_cpp='$CPP $CPPFLAGS'
33012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
33021 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
33023 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
33024 for ac_func in _isinff
33025 do :
33026 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
33027 if test "x$ac_cv_func__isinff" = xyes; then :
33028 cat >>confdefs.h <<_ACEOF
33029 #define HAVE__ISINFF 1
33030 _ACEOF
33033 done
33042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
33043 $as_echo_n "checking for atan2f declaration... " >&6; }
33044 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
33045 if ${glibcxx_cv_func_atan2f_use+:} false; then :
33046 $as_echo_n "(cached) " >&6
33047 else
33050 ac_ext=cpp
33051 ac_cpp='$CXXCPP $CPPFLAGS'
33052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33057 /* end confdefs.h. */
33058 #include <math.h>
33060 main ()
33062 atan2f(0, 0);
33064 return 0;
33066 _ACEOF
33067 if ac_fn_cxx_try_compile "$LINENO"; then :
33068 glibcxx_cv_func_atan2f_use=yes
33069 else
33070 glibcxx_cv_func_atan2f_use=no
33072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33073 ac_ext=c
33074 ac_cpp='$CPP $CPPFLAGS'
33075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
33084 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
33086 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
33087 for ac_func in atan2f
33088 do :
33089 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
33090 if test "x$ac_cv_func_atan2f" = xyes; then :
33091 cat >>confdefs.h <<_ACEOF
33092 #define HAVE_ATAN2F 1
33093 _ACEOF
33096 done
33098 else
33100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
33101 $as_echo_n "checking for _atan2f declaration... " >&6; }
33102 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
33103 if ${glibcxx_cv_func__atan2f_use+:} false; then :
33104 $as_echo_n "(cached) " >&6
33105 else
33108 ac_ext=cpp
33109 ac_cpp='$CXXCPP $CPPFLAGS'
33110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33115 /* end confdefs.h. */
33116 #include <math.h>
33118 main ()
33120 _atan2f(0, 0);
33122 return 0;
33124 _ACEOF
33125 if ac_fn_cxx_try_compile "$LINENO"; then :
33126 glibcxx_cv_func__atan2f_use=yes
33127 else
33128 glibcxx_cv_func__atan2f_use=no
33130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33131 ac_ext=c
33132 ac_cpp='$CPP $CPPFLAGS'
33133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
33142 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
33144 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
33145 for ac_func in _atan2f
33146 do :
33147 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
33148 if test "x$ac_cv_func__atan2f" = xyes; then :
33149 cat >>confdefs.h <<_ACEOF
33150 #define HAVE__ATAN2F 1
33151 _ACEOF
33154 done
33163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
33164 $as_echo_n "checking for fabsf declaration... " >&6; }
33165 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
33166 if ${glibcxx_cv_func_fabsf_use+:} false; then :
33167 $as_echo_n "(cached) " >&6
33168 else
33171 ac_ext=cpp
33172 ac_cpp='$CXXCPP $CPPFLAGS'
33173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33178 /* end confdefs.h. */
33179 #include <math.h>
33180 #ifdef HAVE_IEEEFP_H
33181 #include <ieeefp.h>
33182 #endif
33185 main ()
33187 fabsf(0);
33189 return 0;
33191 _ACEOF
33192 if ac_fn_cxx_try_compile "$LINENO"; then :
33193 glibcxx_cv_func_fabsf_use=yes
33194 else
33195 glibcxx_cv_func_fabsf_use=no
33197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33198 ac_ext=c
33199 ac_cpp='$CPP $CPPFLAGS'
33200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
33209 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
33211 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
33212 for ac_func in fabsf
33213 do :
33214 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
33215 if test "x$ac_cv_func_fabsf" = xyes; then :
33216 cat >>confdefs.h <<_ACEOF
33217 #define HAVE_FABSF 1
33218 _ACEOF
33221 done
33223 else
33225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
33226 $as_echo_n "checking for _fabsf declaration... " >&6; }
33227 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
33228 if ${glibcxx_cv_func__fabsf_use+:} false; then :
33229 $as_echo_n "(cached) " >&6
33230 else
33233 ac_ext=cpp
33234 ac_cpp='$CXXCPP $CPPFLAGS'
33235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33240 /* end confdefs.h. */
33241 #include <math.h>
33242 #ifdef HAVE_IEEEFP_H
33243 #include <ieeefp.h>
33244 #endif
33247 main ()
33249 _fabsf(0);
33251 return 0;
33253 _ACEOF
33254 if ac_fn_cxx_try_compile "$LINENO"; then :
33255 glibcxx_cv_func__fabsf_use=yes
33256 else
33257 glibcxx_cv_func__fabsf_use=no
33259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33260 ac_ext=c
33261 ac_cpp='$CPP $CPPFLAGS'
33262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
33271 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
33273 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
33274 for ac_func in _fabsf
33275 do :
33276 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
33277 if test "x$ac_cv_func__fabsf" = xyes; then :
33278 cat >>confdefs.h <<_ACEOF
33279 #define HAVE__FABSF 1
33280 _ACEOF
33283 done
33292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
33293 $as_echo_n "checking for fmodf declaration... " >&6; }
33294 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
33295 if ${glibcxx_cv_func_fmodf_use+:} false; then :
33296 $as_echo_n "(cached) " >&6
33297 else
33300 ac_ext=cpp
33301 ac_cpp='$CXXCPP $CPPFLAGS'
33302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33307 /* end confdefs.h. */
33308 #include <math.h>
33310 main ()
33312 fmodf(0, 0);
33314 return 0;
33316 _ACEOF
33317 if ac_fn_cxx_try_compile "$LINENO"; then :
33318 glibcxx_cv_func_fmodf_use=yes
33319 else
33320 glibcxx_cv_func_fmodf_use=no
33322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33323 ac_ext=c
33324 ac_cpp='$CPP $CPPFLAGS'
33325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
33334 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
33336 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
33337 for ac_func in fmodf
33338 do :
33339 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
33340 if test "x$ac_cv_func_fmodf" = xyes; then :
33341 cat >>confdefs.h <<_ACEOF
33342 #define HAVE_FMODF 1
33343 _ACEOF
33346 done
33348 else
33350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
33351 $as_echo_n "checking for _fmodf declaration... " >&6; }
33352 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
33353 if ${glibcxx_cv_func__fmodf_use+:} false; then :
33354 $as_echo_n "(cached) " >&6
33355 else
33358 ac_ext=cpp
33359 ac_cpp='$CXXCPP $CPPFLAGS'
33360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33365 /* end confdefs.h. */
33366 #include <math.h>
33368 main ()
33370 _fmodf(0, 0);
33372 return 0;
33374 _ACEOF
33375 if ac_fn_cxx_try_compile "$LINENO"; then :
33376 glibcxx_cv_func__fmodf_use=yes
33377 else
33378 glibcxx_cv_func__fmodf_use=no
33380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33381 ac_ext=c
33382 ac_cpp='$CPP $CPPFLAGS'
33383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
33392 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
33394 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
33395 for ac_func in _fmodf
33396 do :
33397 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
33398 if test "x$ac_cv_func__fmodf" = xyes; then :
33399 cat >>confdefs.h <<_ACEOF
33400 #define HAVE__FMODF 1
33401 _ACEOF
33404 done
33413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
33414 $as_echo_n "checking for frexpf declaration... " >&6; }
33415 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
33416 if ${glibcxx_cv_func_frexpf_use+:} false; then :
33417 $as_echo_n "(cached) " >&6
33418 else
33421 ac_ext=cpp
33422 ac_cpp='$CXXCPP $CPPFLAGS'
33423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33428 /* end confdefs.h. */
33429 #include <math.h>
33431 main ()
33433 frexpf(0, 0);
33435 return 0;
33437 _ACEOF
33438 if ac_fn_cxx_try_compile "$LINENO"; then :
33439 glibcxx_cv_func_frexpf_use=yes
33440 else
33441 glibcxx_cv_func_frexpf_use=no
33443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33444 ac_ext=c
33445 ac_cpp='$CPP $CPPFLAGS'
33446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
33455 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
33457 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
33458 for ac_func in frexpf
33459 do :
33460 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
33461 if test "x$ac_cv_func_frexpf" = xyes; then :
33462 cat >>confdefs.h <<_ACEOF
33463 #define HAVE_FREXPF 1
33464 _ACEOF
33467 done
33469 else
33471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
33472 $as_echo_n "checking for _frexpf declaration... " >&6; }
33473 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
33474 if ${glibcxx_cv_func__frexpf_use+:} false; then :
33475 $as_echo_n "(cached) " >&6
33476 else
33479 ac_ext=cpp
33480 ac_cpp='$CXXCPP $CPPFLAGS'
33481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33486 /* end confdefs.h. */
33487 #include <math.h>
33489 main ()
33491 _frexpf(0, 0);
33493 return 0;
33495 _ACEOF
33496 if ac_fn_cxx_try_compile "$LINENO"; then :
33497 glibcxx_cv_func__frexpf_use=yes
33498 else
33499 glibcxx_cv_func__frexpf_use=no
33501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33502 ac_ext=c
33503 ac_cpp='$CPP $CPPFLAGS'
33504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
33513 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
33515 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
33516 for ac_func in _frexpf
33517 do :
33518 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
33519 if test "x$ac_cv_func__frexpf" = xyes; then :
33520 cat >>confdefs.h <<_ACEOF
33521 #define HAVE__FREXPF 1
33522 _ACEOF
33525 done
33534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
33535 $as_echo_n "checking for hypotf declaration... " >&6; }
33536 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
33537 if ${glibcxx_cv_func_hypotf_use+:} false; then :
33538 $as_echo_n "(cached) " >&6
33539 else
33542 ac_ext=cpp
33543 ac_cpp='$CXXCPP $CPPFLAGS'
33544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33549 /* end confdefs.h. */
33550 #include <math.h>
33552 main ()
33554 hypotf(0, 0);
33556 return 0;
33558 _ACEOF
33559 if ac_fn_cxx_try_compile "$LINENO"; then :
33560 glibcxx_cv_func_hypotf_use=yes
33561 else
33562 glibcxx_cv_func_hypotf_use=no
33564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33565 ac_ext=c
33566 ac_cpp='$CPP $CPPFLAGS'
33567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
33576 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
33578 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
33579 for ac_func in hypotf
33580 do :
33581 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
33582 if test "x$ac_cv_func_hypotf" = xyes; then :
33583 cat >>confdefs.h <<_ACEOF
33584 #define HAVE_HYPOTF 1
33585 _ACEOF
33588 done
33590 else
33592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
33593 $as_echo_n "checking for _hypotf declaration... " >&6; }
33594 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
33595 if ${glibcxx_cv_func__hypotf_use+:} false; then :
33596 $as_echo_n "(cached) " >&6
33597 else
33600 ac_ext=cpp
33601 ac_cpp='$CXXCPP $CPPFLAGS'
33602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33607 /* end confdefs.h. */
33608 #include <math.h>
33610 main ()
33612 _hypotf(0, 0);
33614 return 0;
33616 _ACEOF
33617 if ac_fn_cxx_try_compile "$LINENO"; then :
33618 glibcxx_cv_func__hypotf_use=yes
33619 else
33620 glibcxx_cv_func__hypotf_use=no
33622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33623 ac_ext=c
33624 ac_cpp='$CPP $CPPFLAGS'
33625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
33634 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
33636 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
33637 for ac_func in _hypotf
33638 do :
33639 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
33640 if test "x$ac_cv_func__hypotf" = xyes; then :
33641 cat >>confdefs.h <<_ACEOF
33642 #define HAVE__HYPOTF 1
33643 _ACEOF
33646 done
33655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
33656 $as_echo_n "checking for ldexpf declaration... " >&6; }
33657 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
33658 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
33659 $as_echo_n "(cached) " >&6
33660 else
33663 ac_ext=cpp
33664 ac_cpp='$CXXCPP $CPPFLAGS'
33665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33670 /* end confdefs.h. */
33671 #include <math.h>
33673 main ()
33675 ldexpf(0, 0);
33677 return 0;
33679 _ACEOF
33680 if ac_fn_cxx_try_compile "$LINENO"; then :
33681 glibcxx_cv_func_ldexpf_use=yes
33682 else
33683 glibcxx_cv_func_ldexpf_use=no
33685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33686 ac_ext=c
33687 ac_cpp='$CPP $CPPFLAGS'
33688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
33697 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
33699 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
33700 for ac_func in ldexpf
33701 do :
33702 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
33703 if test "x$ac_cv_func_ldexpf" = xyes; then :
33704 cat >>confdefs.h <<_ACEOF
33705 #define HAVE_LDEXPF 1
33706 _ACEOF
33709 done
33711 else
33713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
33714 $as_echo_n "checking for _ldexpf declaration... " >&6; }
33715 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
33716 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
33717 $as_echo_n "(cached) " >&6
33718 else
33721 ac_ext=cpp
33722 ac_cpp='$CXXCPP $CPPFLAGS'
33723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33728 /* end confdefs.h. */
33729 #include <math.h>
33731 main ()
33733 _ldexpf(0, 0);
33735 return 0;
33737 _ACEOF
33738 if ac_fn_cxx_try_compile "$LINENO"; then :
33739 glibcxx_cv_func__ldexpf_use=yes
33740 else
33741 glibcxx_cv_func__ldexpf_use=no
33743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33744 ac_ext=c
33745 ac_cpp='$CPP $CPPFLAGS'
33746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
33755 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
33757 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
33758 for ac_func in _ldexpf
33759 do :
33760 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
33761 if test "x$ac_cv_func__ldexpf" = xyes; then :
33762 cat >>confdefs.h <<_ACEOF
33763 #define HAVE__LDEXPF 1
33764 _ACEOF
33767 done
33776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
33777 $as_echo_n "checking for logf declaration... " >&6; }
33778 if test x${glibcxx_cv_func_logf_use+set} != xset; then
33779 if ${glibcxx_cv_func_logf_use+:} false; then :
33780 $as_echo_n "(cached) " >&6
33781 else
33784 ac_ext=cpp
33785 ac_cpp='$CXXCPP $CPPFLAGS'
33786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33791 /* end confdefs.h. */
33792 #include <math.h>
33793 #ifdef HAVE_IEEEFP_H
33794 #include <ieeefp.h>
33795 #endif
33798 main ()
33800 logf(0);
33802 return 0;
33804 _ACEOF
33805 if ac_fn_cxx_try_compile "$LINENO"; then :
33806 glibcxx_cv_func_logf_use=yes
33807 else
33808 glibcxx_cv_func_logf_use=no
33810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33811 ac_ext=c
33812 ac_cpp='$CPP $CPPFLAGS'
33813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
33822 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
33824 if test x$glibcxx_cv_func_logf_use = x"yes"; then
33825 for ac_func in logf
33826 do :
33827 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
33828 if test "x$ac_cv_func_logf" = xyes; then :
33829 cat >>confdefs.h <<_ACEOF
33830 #define HAVE_LOGF 1
33831 _ACEOF
33834 done
33836 else
33838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
33839 $as_echo_n "checking for _logf declaration... " >&6; }
33840 if test x${glibcxx_cv_func__logf_use+set} != xset; then
33841 if ${glibcxx_cv_func__logf_use+:} false; then :
33842 $as_echo_n "(cached) " >&6
33843 else
33846 ac_ext=cpp
33847 ac_cpp='$CXXCPP $CPPFLAGS'
33848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33853 /* end confdefs.h. */
33854 #include <math.h>
33855 #ifdef HAVE_IEEEFP_H
33856 #include <ieeefp.h>
33857 #endif
33860 main ()
33862 _logf(0);
33864 return 0;
33866 _ACEOF
33867 if ac_fn_cxx_try_compile "$LINENO"; then :
33868 glibcxx_cv_func__logf_use=yes
33869 else
33870 glibcxx_cv_func__logf_use=no
33872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33873 ac_ext=c
33874 ac_cpp='$CPP $CPPFLAGS'
33875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
33884 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
33886 if test x$glibcxx_cv_func__logf_use = x"yes"; then
33887 for ac_func in _logf
33888 do :
33889 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
33890 if test "x$ac_cv_func__logf" = xyes; then :
33891 cat >>confdefs.h <<_ACEOF
33892 #define HAVE__LOGF 1
33893 _ACEOF
33896 done
33905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
33906 $as_echo_n "checking for log10f declaration... " >&6; }
33907 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
33908 if ${glibcxx_cv_func_log10f_use+:} false; then :
33909 $as_echo_n "(cached) " >&6
33910 else
33913 ac_ext=cpp
33914 ac_cpp='$CXXCPP $CPPFLAGS'
33915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33920 /* end confdefs.h. */
33921 #include <math.h>
33922 #ifdef HAVE_IEEEFP_H
33923 #include <ieeefp.h>
33924 #endif
33927 main ()
33929 log10f(0);
33931 return 0;
33933 _ACEOF
33934 if ac_fn_cxx_try_compile "$LINENO"; then :
33935 glibcxx_cv_func_log10f_use=yes
33936 else
33937 glibcxx_cv_func_log10f_use=no
33939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33940 ac_ext=c
33941 ac_cpp='$CPP $CPPFLAGS'
33942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
33951 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
33953 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
33954 for ac_func in log10f
33955 do :
33956 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
33957 if test "x$ac_cv_func_log10f" = xyes; then :
33958 cat >>confdefs.h <<_ACEOF
33959 #define HAVE_LOG10F 1
33960 _ACEOF
33963 done
33965 else
33967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
33968 $as_echo_n "checking for _log10f declaration... " >&6; }
33969 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
33970 if ${glibcxx_cv_func__log10f_use+:} false; then :
33971 $as_echo_n "(cached) " >&6
33972 else
33975 ac_ext=cpp
33976 ac_cpp='$CXXCPP $CPPFLAGS'
33977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33982 /* end confdefs.h. */
33983 #include <math.h>
33984 #ifdef HAVE_IEEEFP_H
33985 #include <ieeefp.h>
33986 #endif
33989 main ()
33991 _log10f(0);
33993 return 0;
33995 _ACEOF
33996 if ac_fn_cxx_try_compile "$LINENO"; then :
33997 glibcxx_cv_func__log10f_use=yes
33998 else
33999 glibcxx_cv_func__log10f_use=no
34001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34002 ac_ext=c
34003 ac_cpp='$CPP $CPPFLAGS'
34004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
34013 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
34015 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
34016 for ac_func in _log10f
34017 do :
34018 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
34019 if test "x$ac_cv_func__log10f" = xyes; then :
34020 cat >>confdefs.h <<_ACEOF
34021 #define HAVE__LOG10F 1
34022 _ACEOF
34025 done
34034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
34035 $as_echo_n "checking for modff declaration... " >&6; }
34036 if test x${glibcxx_cv_func_modff_use+set} != xset; then
34037 if ${glibcxx_cv_func_modff_use+:} false; then :
34038 $as_echo_n "(cached) " >&6
34039 else
34042 ac_ext=cpp
34043 ac_cpp='$CXXCPP $CPPFLAGS'
34044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34049 /* end confdefs.h. */
34050 #include <math.h>
34052 main ()
34054 modff(0, 0);
34056 return 0;
34058 _ACEOF
34059 if ac_fn_cxx_try_compile "$LINENO"; then :
34060 glibcxx_cv_func_modff_use=yes
34061 else
34062 glibcxx_cv_func_modff_use=no
34064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34065 ac_ext=c
34066 ac_cpp='$CPP $CPPFLAGS'
34067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
34076 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
34078 if test x$glibcxx_cv_func_modff_use = x"yes"; then
34079 for ac_func in modff
34080 do :
34081 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
34082 if test "x$ac_cv_func_modff" = xyes; then :
34083 cat >>confdefs.h <<_ACEOF
34084 #define HAVE_MODFF 1
34085 _ACEOF
34088 done
34090 else
34092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
34093 $as_echo_n "checking for _modff declaration... " >&6; }
34094 if test x${glibcxx_cv_func__modff_use+set} != xset; then
34095 if ${glibcxx_cv_func__modff_use+:} false; then :
34096 $as_echo_n "(cached) " >&6
34097 else
34100 ac_ext=cpp
34101 ac_cpp='$CXXCPP $CPPFLAGS'
34102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34107 /* end confdefs.h. */
34108 #include <math.h>
34110 main ()
34112 _modff(0, 0);
34114 return 0;
34116 _ACEOF
34117 if ac_fn_cxx_try_compile "$LINENO"; then :
34118 glibcxx_cv_func__modff_use=yes
34119 else
34120 glibcxx_cv_func__modff_use=no
34122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34123 ac_ext=c
34124 ac_cpp='$CPP $CPPFLAGS'
34125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
34134 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
34136 if test x$glibcxx_cv_func__modff_use = x"yes"; then
34137 for ac_func in _modff
34138 do :
34139 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
34140 if test "x$ac_cv_func__modff" = xyes; then :
34141 cat >>confdefs.h <<_ACEOF
34142 #define HAVE__MODFF 1
34143 _ACEOF
34146 done
34155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
34156 $as_echo_n "checking for modf declaration... " >&6; }
34157 if test x${glibcxx_cv_func_modf_use+set} != xset; then
34158 if ${glibcxx_cv_func_modf_use+:} false; then :
34159 $as_echo_n "(cached) " >&6
34160 else
34163 ac_ext=cpp
34164 ac_cpp='$CXXCPP $CPPFLAGS'
34165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34170 /* end confdefs.h. */
34171 #include <math.h>
34173 main ()
34175 modf(0, 0);
34177 return 0;
34179 _ACEOF
34180 if ac_fn_cxx_try_compile "$LINENO"; then :
34181 glibcxx_cv_func_modf_use=yes
34182 else
34183 glibcxx_cv_func_modf_use=no
34185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34186 ac_ext=c
34187 ac_cpp='$CPP $CPPFLAGS'
34188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
34197 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
34199 if test x$glibcxx_cv_func_modf_use = x"yes"; then
34200 for ac_func in modf
34201 do :
34202 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
34203 if test "x$ac_cv_func_modf" = xyes; then :
34204 cat >>confdefs.h <<_ACEOF
34205 #define HAVE_MODF 1
34206 _ACEOF
34209 done
34211 else
34213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
34214 $as_echo_n "checking for _modf declaration... " >&6; }
34215 if test x${glibcxx_cv_func__modf_use+set} != xset; then
34216 if ${glibcxx_cv_func__modf_use+:} false; then :
34217 $as_echo_n "(cached) " >&6
34218 else
34221 ac_ext=cpp
34222 ac_cpp='$CXXCPP $CPPFLAGS'
34223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34228 /* end confdefs.h. */
34229 #include <math.h>
34231 main ()
34233 _modf(0, 0);
34235 return 0;
34237 _ACEOF
34238 if ac_fn_cxx_try_compile "$LINENO"; then :
34239 glibcxx_cv_func__modf_use=yes
34240 else
34241 glibcxx_cv_func__modf_use=no
34243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34244 ac_ext=c
34245 ac_cpp='$CPP $CPPFLAGS'
34246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
34255 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
34257 if test x$glibcxx_cv_func__modf_use = x"yes"; then
34258 for ac_func in _modf
34259 do :
34260 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
34261 if test "x$ac_cv_func__modf" = xyes; then :
34262 cat >>confdefs.h <<_ACEOF
34263 #define HAVE__MODF 1
34264 _ACEOF
34267 done
34276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
34277 $as_echo_n "checking for powf declaration... " >&6; }
34278 if test x${glibcxx_cv_func_powf_use+set} != xset; then
34279 if ${glibcxx_cv_func_powf_use+:} false; then :
34280 $as_echo_n "(cached) " >&6
34281 else
34284 ac_ext=cpp
34285 ac_cpp='$CXXCPP $CPPFLAGS'
34286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34291 /* end confdefs.h. */
34292 #include <math.h>
34294 main ()
34296 powf(0, 0);
34298 return 0;
34300 _ACEOF
34301 if ac_fn_cxx_try_compile "$LINENO"; then :
34302 glibcxx_cv_func_powf_use=yes
34303 else
34304 glibcxx_cv_func_powf_use=no
34306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34307 ac_ext=c
34308 ac_cpp='$CPP $CPPFLAGS'
34309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
34318 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
34320 if test x$glibcxx_cv_func_powf_use = x"yes"; then
34321 for ac_func in powf
34322 do :
34323 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
34324 if test "x$ac_cv_func_powf" = xyes; then :
34325 cat >>confdefs.h <<_ACEOF
34326 #define HAVE_POWF 1
34327 _ACEOF
34330 done
34332 else
34334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
34335 $as_echo_n "checking for _powf declaration... " >&6; }
34336 if test x${glibcxx_cv_func__powf_use+set} != xset; then
34337 if ${glibcxx_cv_func__powf_use+:} false; then :
34338 $as_echo_n "(cached) " >&6
34339 else
34342 ac_ext=cpp
34343 ac_cpp='$CXXCPP $CPPFLAGS'
34344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34349 /* end confdefs.h. */
34350 #include <math.h>
34352 main ()
34354 _powf(0, 0);
34356 return 0;
34358 _ACEOF
34359 if ac_fn_cxx_try_compile "$LINENO"; then :
34360 glibcxx_cv_func__powf_use=yes
34361 else
34362 glibcxx_cv_func__powf_use=no
34364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34365 ac_ext=c
34366 ac_cpp='$CPP $CPPFLAGS'
34367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
34376 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
34378 if test x$glibcxx_cv_func__powf_use = x"yes"; then
34379 for ac_func in _powf
34380 do :
34381 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
34382 if test "x$ac_cv_func__powf" = xyes; then :
34383 cat >>confdefs.h <<_ACEOF
34384 #define HAVE__POWF 1
34385 _ACEOF
34388 done
34397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
34398 $as_echo_n "checking for sqrtf declaration... " >&6; }
34399 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
34400 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
34401 $as_echo_n "(cached) " >&6
34402 else
34405 ac_ext=cpp
34406 ac_cpp='$CXXCPP $CPPFLAGS'
34407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34412 /* end confdefs.h. */
34413 #include <math.h>
34414 #ifdef HAVE_IEEEFP_H
34415 #include <ieeefp.h>
34416 #endif
34419 main ()
34421 sqrtf(0);
34423 return 0;
34425 _ACEOF
34426 if ac_fn_cxx_try_compile "$LINENO"; then :
34427 glibcxx_cv_func_sqrtf_use=yes
34428 else
34429 glibcxx_cv_func_sqrtf_use=no
34431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34432 ac_ext=c
34433 ac_cpp='$CPP $CPPFLAGS'
34434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
34443 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
34445 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
34446 for ac_func in sqrtf
34447 do :
34448 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
34449 if test "x$ac_cv_func_sqrtf" = xyes; then :
34450 cat >>confdefs.h <<_ACEOF
34451 #define HAVE_SQRTF 1
34452 _ACEOF
34455 done
34457 else
34459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
34460 $as_echo_n "checking for _sqrtf declaration... " >&6; }
34461 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
34462 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
34463 $as_echo_n "(cached) " >&6
34464 else
34467 ac_ext=cpp
34468 ac_cpp='$CXXCPP $CPPFLAGS'
34469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34474 /* end confdefs.h. */
34475 #include <math.h>
34476 #ifdef HAVE_IEEEFP_H
34477 #include <ieeefp.h>
34478 #endif
34481 main ()
34483 _sqrtf(0);
34485 return 0;
34487 _ACEOF
34488 if ac_fn_cxx_try_compile "$LINENO"; then :
34489 glibcxx_cv_func__sqrtf_use=yes
34490 else
34491 glibcxx_cv_func__sqrtf_use=no
34493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34494 ac_ext=c
34495 ac_cpp='$CPP $CPPFLAGS'
34496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
34505 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
34507 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
34508 for ac_func in _sqrtf
34509 do :
34510 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
34511 if test "x$ac_cv_func__sqrtf" = xyes; then :
34512 cat >>confdefs.h <<_ACEOF
34513 #define HAVE__SQRTF 1
34514 _ACEOF
34517 done
34526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
34527 $as_echo_n "checking for sincosf declaration... " >&6; }
34528 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
34529 if ${glibcxx_cv_func_sincosf_use+:} false; then :
34530 $as_echo_n "(cached) " >&6
34531 else
34534 ac_ext=cpp
34535 ac_cpp='$CXXCPP $CPPFLAGS'
34536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34541 /* end confdefs.h. */
34542 #include <math.h>
34544 main ()
34546 sincosf(0, 0, 0);
34548 return 0;
34550 _ACEOF
34551 if ac_fn_cxx_try_compile "$LINENO"; then :
34552 glibcxx_cv_func_sincosf_use=yes
34553 else
34554 glibcxx_cv_func_sincosf_use=no
34556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34557 ac_ext=c
34558 ac_cpp='$CPP $CPPFLAGS'
34559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
34568 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
34570 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
34571 for ac_func in sincosf
34572 do :
34573 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
34574 if test "x$ac_cv_func_sincosf" = xyes; then :
34575 cat >>confdefs.h <<_ACEOF
34576 #define HAVE_SINCOSF 1
34577 _ACEOF
34580 done
34582 else
34584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
34585 $as_echo_n "checking for _sincosf declaration... " >&6; }
34586 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
34587 if ${glibcxx_cv_func__sincosf_use+:} false; then :
34588 $as_echo_n "(cached) " >&6
34589 else
34592 ac_ext=cpp
34593 ac_cpp='$CXXCPP $CPPFLAGS'
34594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34599 /* end confdefs.h. */
34600 #include <math.h>
34602 main ()
34604 _sincosf(0, 0, 0);
34606 return 0;
34608 _ACEOF
34609 if ac_fn_cxx_try_compile "$LINENO"; then :
34610 glibcxx_cv_func__sincosf_use=yes
34611 else
34612 glibcxx_cv_func__sincosf_use=no
34614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34615 ac_ext=c
34616 ac_cpp='$CPP $CPPFLAGS'
34617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
34626 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
34628 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
34629 for ac_func in _sincosf
34630 do :
34631 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
34632 if test "x$ac_cv_func__sincosf" = xyes; then :
34633 cat >>confdefs.h <<_ACEOF
34634 #define HAVE__SINCOSF 1
34635 _ACEOF
34638 done
34647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
34648 $as_echo_n "checking for finitef declaration... " >&6; }
34649 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
34650 if ${glibcxx_cv_func_finitef_use+:} false; then :
34651 $as_echo_n "(cached) " >&6
34652 else
34655 ac_ext=cpp
34656 ac_cpp='$CXXCPP $CPPFLAGS'
34657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34662 /* end confdefs.h. */
34663 #include <math.h>
34664 #ifdef HAVE_IEEEFP_H
34665 #include <ieeefp.h>
34666 #endif
34669 main ()
34671 finitef(0);
34673 return 0;
34675 _ACEOF
34676 if ac_fn_cxx_try_compile "$LINENO"; then :
34677 glibcxx_cv_func_finitef_use=yes
34678 else
34679 glibcxx_cv_func_finitef_use=no
34681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34682 ac_ext=c
34683 ac_cpp='$CPP $CPPFLAGS'
34684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
34693 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
34695 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
34696 for ac_func in finitef
34697 do :
34698 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
34699 if test "x$ac_cv_func_finitef" = xyes; then :
34700 cat >>confdefs.h <<_ACEOF
34701 #define HAVE_FINITEF 1
34702 _ACEOF
34705 done
34707 else
34709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
34710 $as_echo_n "checking for _finitef declaration... " >&6; }
34711 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
34712 if ${glibcxx_cv_func__finitef_use+:} false; then :
34713 $as_echo_n "(cached) " >&6
34714 else
34717 ac_ext=cpp
34718 ac_cpp='$CXXCPP $CPPFLAGS'
34719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34724 /* end confdefs.h. */
34725 #include <math.h>
34726 #ifdef HAVE_IEEEFP_H
34727 #include <ieeefp.h>
34728 #endif
34731 main ()
34733 _finitef(0);
34735 return 0;
34737 _ACEOF
34738 if ac_fn_cxx_try_compile "$LINENO"; then :
34739 glibcxx_cv_func__finitef_use=yes
34740 else
34741 glibcxx_cv_func__finitef_use=no
34743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34744 ac_ext=c
34745 ac_cpp='$CPP $CPPFLAGS'
34746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
34755 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
34757 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
34758 for ac_func in _finitef
34759 do :
34760 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
34761 if test "x$ac_cv_func__finitef" = xyes; then :
34762 cat >>confdefs.h <<_ACEOF
34763 #define HAVE__FINITEF 1
34764 _ACEOF
34767 done
34776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
34777 $as_echo_n "checking for long double trig functions... " >&6; }
34778 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
34779 $as_echo_n "(cached) " >&6
34780 else
34783 ac_ext=cpp
34784 ac_cpp='$CXXCPP $CPPFLAGS'
34785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34790 /* end confdefs.h. */
34791 #include <math.h>
34793 main ()
34795 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
34797 return 0;
34799 _ACEOF
34800 if ac_fn_cxx_try_compile "$LINENO"; then :
34801 glibcxx_cv_func_long_double_trig_use=yes
34802 else
34803 glibcxx_cv_func_long_double_trig_use=no
34805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34806 ac_ext=c
34807 ac_cpp='$CPP $CPPFLAGS'
34808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
34815 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
34816 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
34817 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
34818 do :
34819 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34820 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34821 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
34822 cat >>confdefs.h <<_ACEOF
34823 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34824 _ACEOF
34827 done
34829 else
34830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
34831 $as_echo_n "checking for _long double trig functions... " >&6; }
34832 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
34833 $as_echo_n "(cached) " >&6
34834 else
34837 ac_ext=cpp
34838 ac_cpp='$CXXCPP $CPPFLAGS'
34839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34844 /* end confdefs.h. */
34845 #include <math.h>
34847 main ()
34849 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
34851 return 0;
34853 _ACEOF
34854 if ac_fn_cxx_try_compile "$LINENO"; then :
34855 glibcxx_cv_func__long_double_trig_use=yes
34856 else
34857 glibcxx_cv_func__long_double_trig_use=no
34859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34860 ac_ext=c
34861 ac_cpp='$CPP $CPPFLAGS'
34862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
34869 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
34870 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
34871 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
34872 do :
34873 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34874 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34875 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
34876 cat >>confdefs.h <<_ACEOF
34877 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34878 _ACEOF
34881 done
34890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
34891 $as_echo_n "checking for long double round functions... " >&6; }
34892 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
34893 $as_echo_n "(cached) " >&6
34894 else
34897 ac_ext=cpp
34898 ac_cpp='$CXXCPP $CPPFLAGS'
34899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34904 /* end confdefs.h. */
34905 #include <math.h>
34907 main ()
34909 ceill (0); floorl (0);
34911 return 0;
34913 _ACEOF
34914 if ac_fn_cxx_try_compile "$LINENO"; then :
34915 glibcxx_cv_func_long_double_round_use=yes
34916 else
34917 glibcxx_cv_func_long_double_round_use=no
34919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34920 ac_ext=c
34921 ac_cpp='$CPP $CPPFLAGS'
34922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
34929 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
34930 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
34931 for ac_func in ceill floorl
34932 do :
34933 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34934 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34935 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
34936 cat >>confdefs.h <<_ACEOF
34937 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34938 _ACEOF
34941 done
34943 else
34944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
34945 $as_echo_n "checking for _long double round functions... " >&6; }
34946 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
34947 $as_echo_n "(cached) " >&6
34948 else
34951 ac_ext=cpp
34952 ac_cpp='$CXXCPP $CPPFLAGS'
34953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34958 /* end confdefs.h. */
34959 #include <math.h>
34961 main ()
34963 _ceill (0); _floorl (0);
34965 return 0;
34967 _ACEOF
34968 if ac_fn_cxx_try_compile "$LINENO"; then :
34969 glibcxx_cv_func__long_double_round_use=yes
34970 else
34971 glibcxx_cv_func__long_double_round_use=no
34973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34974 ac_ext=c
34975 ac_cpp='$CPP $CPPFLAGS'
34976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
34983 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
34984 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
34985 for ac_func in _ceill _floorl
34986 do :
34987 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34988 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34989 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
34990 cat >>confdefs.h <<_ACEOF
34991 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34992 _ACEOF
34995 done
35005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
35006 $as_echo_n "checking for isnanl declaration... " >&6; }
35007 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
35008 if ${glibcxx_cv_func_isnanl_use+:} false; then :
35009 $as_echo_n "(cached) " >&6
35010 else
35013 ac_ext=cpp
35014 ac_cpp='$CXXCPP $CPPFLAGS'
35015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35020 /* end confdefs.h. */
35021 #include <math.h>
35022 #ifdef HAVE_IEEEFP_H
35023 #include <ieeefp.h>
35024 #endif
35027 main ()
35029 isnanl(0);
35031 return 0;
35033 _ACEOF
35034 if ac_fn_cxx_try_compile "$LINENO"; then :
35035 glibcxx_cv_func_isnanl_use=yes
35036 else
35037 glibcxx_cv_func_isnanl_use=no
35039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35040 ac_ext=c
35041 ac_cpp='$CPP $CPPFLAGS'
35042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
35051 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
35053 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
35054 for ac_func in isnanl
35055 do :
35056 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
35057 if test "x$ac_cv_func_isnanl" = xyes; then :
35058 cat >>confdefs.h <<_ACEOF
35059 #define HAVE_ISNANL 1
35060 _ACEOF
35063 done
35065 else
35067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
35068 $as_echo_n "checking for _isnanl declaration... " >&6; }
35069 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
35070 if ${glibcxx_cv_func__isnanl_use+:} false; then :
35071 $as_echo_n "(cached) " >&6
35072 else
35075 ac_ext=cpp
35076 ac_cpp='$CXXCPP $CPPFLAGS'
35077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35082 /* end confdefs.h. */
35083 #include <math.h>
35084 #ifdef HAVE_IEEEFP_H
35085 #include <ieeefp.h>
35086 #endif
35089 main ()
35091 _isnanl(0);
35093 return 0;
35095 _ACEOF
35096 if ac_fn_cxx_try_compile "$LINENO"; then :
35097 glibcxx_cv_func__isnanl_use=yes
35098 else
35099 glibcxx_cv_func__isnanl_use=no
35101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35102 ac_ext=c
35103 ac_cpp='$CPP $CPPFLAGS'
35104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
35113 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
35115 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
35116 for ac_func in _isnanl
35117 do :
35118 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
35119 if test "x$ac_cv_func__isnanl" = xyes; then :
35120 cat >>confdefs.h <<_ACEOF
35121 #define HAVE__ISNANL 1
35122 _ACEOF
35125 done
35134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
35135 $as_echo_n "checking for isinfl declaration... " >&6; }
35136 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
35137 if ${glibcxx_cv_func_isinfl_use+:} false; then :
35138 $as_echo_n "(cached) " >&6
35139 else
35142 ac_ext=cpp
35143 ac_cpp='$CXXCPP $CPPFLAGS'
35144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35149 /* end confdefs.h. */
35150 #include <math.h>
35151 #ifdef HAVE_IEEEFP_H
35152 #include <ieeefp.h>
35153 #endif
35156 main ()
35158 isinfl(0);
35160 return 0;
35162 _ACEOF
35163 if ac_fn_cxx_try_compile "$LINENO"; then :
35164 glibcxx_cv_func_isinfl_use=yes
35165 else
35166 glibcxx_cv_func_isinfl_use=no
35168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35169 ac_ext=c
35170 ac_cpp='$CPP $CPPFLAGS'
35171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
35180 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
35182 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
35183 for ac_func in isinfl
35184 do :
35185 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
35186 if test "x$ac_cv_func_isinfl" = xyes; then :
35187 cat >>confdefs.h <<_ACEOF
35188 #define HAVE_ISINFL 1
35189 _ACEOF
35192 done
35194 else
35196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
35197 $as_echo_n "checking for _isinfl declaration... " >&6; }
35198 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
35199 if ${glibcxx_cv_func__isinfl_use+:} false; then :
35200 $as_echo_n "(cached) " >&6
35201 else
35204 ac_ext=cpp
35205 ac_cpp='$CXXCPP $CPPFLAGS'
35206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35211 /* end confdefs.h. */
35212 #include <math.h>
35213 #ifdef HAVE_IEEEFP_H
35214 #include <ieeefp.h>
35215 #endif
35218 main ()
35220 _isinfl(0);
35222 return 0;
35224 _ACEOF
35225 if ac_fn_cxx_try_compile "$LINENO"; then :
35226 glibcxx_cv_func__isinfl_use=yes
35227 else
35228 glibcxx_cv_func__isinfl_use=no
35230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35231 ac_ext=c
35232 ac_cpp='$CPP $CPPFLAGS'
35233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
35242 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
35244 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
35245 for ac_func in _isinfl
35246 do :
35247 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
35248 if test "x$ac_cv_func__isinfl" = xyes; then :
35249 cat >>confdefs.h <<_ACEOF
35250 #define HAVE__ISINFL 1
35251 _ACEOF
35254 done
35263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
35264 $as_echo_n "checking for atan2l declaration... " >&6; }
35265 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
35266 if ${glibcxx_cv_func_atan2l_use+:} false; then :
35267 $as_echo_n "(cached) " >&6
35268 else
35271 ac_ext=cpp
35272 ac_cpp='$CXXCPP $CPPFLAGS'
35273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35278 /* end confdefs.h. */
35279 #include <math.h>
35281 main ()
35283 atan2l(0, 0);
35285 return 0;
35287 _ACEOF
35288 if ac_fn_cxx_try_compile "$LINENO"; then :
35289 glibcxx_cv_func_atan2l_use=yes
35290 else
35291 glibcxx_cv_func_atan2l_use=no
35293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35294 ac_ext=c
35295 ac_cpp='$CPP $CPPFLAGS'
35296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
35305 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
35307 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
35308 for ac_func in atan2l
35309 do :
35310 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
35311 if test "x$ac_cv_func_atan2l" = xyes; then :
35312 cat >>confdefs.h <<_ACEOF
35313 #define HAVE_ATAN2L 1
35314 _ACEOF
35317 done
35319 else
35321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
35322 $as_echo_n "checking for _atan2l declaration... " >&6; }
35323 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
35324 if ${glibcxx_cv_func__atan2l_use+:} false; then :
35325 $as_echo_n "(cached) " >&6
35326 else
35329 ac_ext=cpp
35330 ac_cpp='$CXXCPP $CPPFLAGS'
35331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35336 /* end confdefs.h. */
35337 #include <math.h>
35339 main ()
35341 _atan2l(0, 0);
35343 return 0;
35345 _ACEOF
35346 if ac_fn_cxx_try_compile "$LINENO"; then :
35347 glibcxx_cv_func__atan2l_use=yes
35348 else
35349 glibcxx_cv_func__atan2l_use=no
35351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35352 ac_ext=c
35353 ac_cpp='$CPP $CPPFLAGS'
35354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
35363 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
35365 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
35366 for ac_func in _atan2l
35367 do :
35368 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
35369 if test "x$ac_cv_func__atan2l" = xyes; then :
35370 cat >>confdefs.h <<_ACEOF
35371 #define HAVE__ATAN2L 1
35372 _ACEOF
35375 done
35384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
35385 $as_echo_n "checking for expl declaration... " >&6; }
35386 if test x${glibcxx_cv_func_expl_use+set} != xset; then
35387 if ${glibcxx_cv_func_expl_use+:} false; then :
35388 $as_echo_n "(cached) " >&6
35389 else
35392 ac_ext=cpp
35393 ac_cpp='$CXXCPP $CPPFLAGS'
35394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35399 /* end confdefs.h. */
35400 #include <math.h>
35401 #ifdef HAVE_IEEEFP_H
35402 #include <ieeefp.h>
35403 #endif
35406 main ()
35408 expl(0);
35410 return 0;
35412 _ACEOF
35413 if ac_fn_cxx_try_compile "$LINENO"; then :
35414 glibcxx_cv_func_expl_use=yes
35415 else
35416 glibcxx_cv_func_expl_use=no
35418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35419 ac_ext=c
35420 ac_cpp='$CPP $CPPFLAGS'
35421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
35430 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
35432 if test x$glibcxx_cv_func_expl_use = x"yes"; then
35433 for ac_func in expl
35434 do :
35435 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
35436 if test "x$ac_cv_func_expl" = xyes; then :
35437 cat >>confdefs.h <<_ACEOF
35438 #define HAVE_EXPL 1
35439 _ACEOF
35442 done
35444 else
35446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
35447 $as_echo_n "checking for _expl declaration... " >&6; }
35448 if test x${glibcxx_cv_func__expl_use+set} != xset; then
35449 if ${glibcxx_cv_func__expl_use+:} false; then :
35450 $as_echo_n "(cached) " >&6
35451 else
35454 ac_ext=cpp
35455 ac_cpp='$CXXCPP $CPPFLAGS'
35456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35461 /* end confdefs.h. */
35462 #include <math.h>
35463 #ifdef HAVE_IEEEFP_H
35464 #include <ieeefp.h>
35465 #endif
35468 main ()
35470 _expl(0);
35472 return 0;
35474 _ACEOF
35475 if ac_fn_cxx_try_compile "$LINENO"; then :
35476 glibcxx_cv_func__expl_use=yes
35477 else
35478 glibcxx_cv_func__expl_use=no
35480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35481 ac_ext=c
35482 ac_cpp='$CPP $CPPFLAGS'
35483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
35492 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
35494 if test x$glibcxx_cv_func__expl_use = x"yes"; then
35495 for ac_func in _expl
35496 do :
35497 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
35498 if test "x$ac_cv_func__expl" = xyes; then :
35499 cat >>confdefs.h <<_ACEOF
35500 #define HAVE__EXPL 1
35501 _ACEOF
35504 done
35513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
35514 $as_echo_n "checking for fabsl declaration... " >&6; }
35515 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
35516 if ${glibcxx_cv_func_fabsl_use+:} false; then :
35517 $as_echo_n "(cached) " >&6
35518 else
35521 ac_ext=cpp
35522 ac_cpp='$CXXCPP $CPPFLAGS'
35523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35528 /* end confdefs.h. */
35529 #include <math.h>
35530 #ifdef HAVE_IEEEFP_H
35531 #include <ieeefp.h>
35532 #endif
35535 main ()
35537 fabsl(0);
35539 return 0;
35541 _ACEOF
35542 if ac_fn_cxx_try_compile "$LINENO"; then :
35543 glibcxx_cv_func_fabsl_use=yes
35544 else
35545 glibcxx_cv_func_fabsl_use=no
35547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35548 ac_ext=c
35549 ac_cpp='$CPP $CPPFLAGS'
35550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
35559 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
35561 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
35562 for ac_func in fabsl
35563 do :
35564 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
35565 if test "x$ac_cv_func_fabsl" = xyes; then :
35566 cat >>confdefs.h <<_ACEOF
35567 #define HAVE_FABSL 1
35568 _ACEOF
35571 done
35573 else
35575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
35576 $as_echo_n "checking for _fabsl declaration... " >&6; }
35577 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
35578 if ${glibcxx_cv_func__fabsl_use+:} false; then :
35579 $as_echo_n "(cached) " >&6
35580 else
35583 ac_ext=cpp
35584 ac_cpp='$CXXCPP $CPPFLAGS'
35585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35590 /* end confdefs.h. */
35591 #include <math.h>
35592 #ifdef HAVE_IEEEFP_H
35593 #include <ieeefp.h>
35594 #endif
35597 main ()
35599 _fabsl(0);
35601 return 0;
35603 _ACEOF
35604 if ac_fn_cxx_try_compile "$LINENO"; then :
35605 glibcxx_cv_func__fabsl_use=yes
35606 else
35607 glibcxx_cv_func__fabsl_use=no
35609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35610 ac_ext=c
35611 ac_cpp='$CPP $CPPFLAGS'
35612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
35621 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
35623 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
35624 for ac_func in _fabsl
35625 do :
35626 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
35627 if test "x$ac_cv_func__fabsl" = xyes; then :
35628 cat >>confdefs.h <<_ACEOF
35629 #define HAVE__FABSL 1
35630 _ACEOF
35633 done
35642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
35643 $as_echo_n "checking for fmodl declaration... " >&6; }
35644 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
35645 if ${glibcxx_cv_func_fmodl_use+:} false; then :
35646 $as_echo_n "(cached) " >&6
35647 else
35650 ac_ext=cpp
35651 ac_cpp='$CXXCPP $CPPFLAGS'
35652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35657 /* end confdefs.h. */
35658 #include <math.h>
35660 main ()
35662 fmodl(0, 0);
35664 return 0;
35666 _ACEOF
35667 if ac_fn_cxx_try_compile "$LINENO"; then :
35668 glibcxx_cv_func_fmodl_use=yes
35669 else
35670 glibcxx_cv_func_fmodl_use=no
35672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35673 ac_ext=c
35674 ac_cpp='$CPP $CPPFLAGS'
35675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
35684 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
35686 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
35687 for ac_func in fmodl
35688 do :
35689 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
35690 if test "x$ac_cv_func_fmodl" = xyes; then :
35691 cat >>confdefs.h <<_ACEOF
35692 #define HAVE_FMODL 1
35693 _ACEOF
35696 done
35698 else
35700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
35701 $as_echo_n "checking for _fmodl declaration... " >&6; }
35702 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
35703 if ${glibcxx_cv_func__fmodl_use+:} false; then :
35704 $as_echo_n "(cached) " >&6
35705 else
35708 ac_ext=cpp
35709 ac_cpp='$CXXCPP $CPPFLAGS'
35710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35715 /* end confdefs.h. */
35716 #include <math.h>
35718 main ()
35720 _fmodl(0, 0);
35722 return 0;
35724 _ACEOF
35725 if ac_fn_cxx_try_compile "$LINENO"; then :
35726 glibcxx_cv_func__fmodl_use=yes
35727 else
35728 glibcxx_cv_func__fmodl_use=no
35730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35731 ac_ext=c
35732 ac_cpp='$CPP $CPPFLAGS'
35733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
35742 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
35744 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
35745 for ac_func in _fmodl
35746 do :
35747 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
35748 if test "x$ac_cv_func__fmodl" = xyes; then :
35749 cat >>confdefs.h <<_ACEOF
35750 #define HAVE__FMODL 1
35751 _ACEOF
35754 done
35763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
35764 $as_echo_n "checking for frexpl declaration... " >&6; }
35765 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
35766 if ${glibcxx_cv_func_frexpl_use+:} false; then :
35767 $as_echo_n "(cached) " >&6
35768 else
35771 ac_ext=cpp
35772 ac_cpp='$CXXCPP $CPPFLAGS'
35773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35778 /* end confdefs.h. */
35779 #include <math.h>
35781 main ()
35783 frexpl(0, 0);
35785 return 0;
35787 _ACEOF
35788 if ac_fn_cxx_try_compile "$LINENO"; then :
35789 glibcxx_cv_func_frexpl_use=yes
35790 else
35791 glibcxx_cv_func_frexpl_use=no
35793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35794 ac_ext=c
35795 ac_cpp='$CPP $CPPFLAGS'
35796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
35805 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
35807 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
35808 for ac_func in frexpl
35809 do :
35810 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
35811 if test "x$ac_cv_func_frexpl" = xyes; then :
35812 cat >>confdefs.h <<_ACEOF
35813 #define HAVE_FREXPL 1
35814 _ACEOF
35817 done
35819 else
35821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
35822 $as_echo_n "checking for _frexpl declaration... " >&6; }
35823 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
35824 if ${glibcxx_cv_func__frexpl_use+:} false; then :
35825 $as_echo_n "(cached) " >&6
35826 else
35829 ac_ext=cpp
35830 ac_cpp='$CXXCPP $CPPFLAGS'
35831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35836 /* end confdefs.h. */
35837 #include <math.h>
35839 main ()
35841 _frexpl(0, 0);
35843 return 0;
35845 _ACEOF
35846 if ac_fn_cxx_try_compile "$LINENO"; then :
35847 glibcxx_cv_func__frexpl_use=yes
35848 else
35849 glibcxx_cv_func__frexpl_use=no
35851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35852 ac_ext=c
35853 ac_cpp='$CPP $CPPFLAGS'
35854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
35863 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
35865 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
35866 for ac_func in _frexpl
35867 do :
35868 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
35869 if test "x$ac_cv_func__frexpl" = xyes; then :
35870 cat >>confdefs.h <<_ACEOF
35871 #define HAVE__FREXPL 1
35872 _ACEOF
35875 done
35884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
35885 $as_echo_n "checking for hypotl declaration... " >&6; }
35886 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
35887 if ${glibcxx_cv_func_hypotl_use+:} false; then :
35888 $as_echo_n "(cached) " >&6
35889 else
35892 ac_ext=cpp
35893 ac_cpp='$CXXCPP $CPPFLAGS'
35894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35899 /* end confdefs.h. */
35900 #include <math.h>
35902 main ()
35904 hypotl(0, 0);
35906 return 0;
35908 _ACEOF
35909 if ac_fn_cxx_try_compile "$LINENO"; then :
35910 glibcxx_cv_func_hypotl_use=yes
35911 else
35912 glibcxx_cv_func_hypotl_use=no
35914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35915 ac_ext=c
35916 ac_cpp='$CPP $CPPFLAGS'
35917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
35926 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
35928 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
35929 for ac_func in hypotl
35930 do :
35931 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
35932 if test "x$ac_cv_func_hypotl" = xyes; then :
35933 cat >>confdefs.h <<_ACEOF
35934 #define HAVE_HYPOTL 1
35935 _ACEOF
35938 done
35940 else
35942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
35943 $as_echo_n "checking for _hypotl declaration... " >&6; }
35944 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
35945 if ${glibcxx_cv_func__hypotl_use+:} false; then :
35946 $as_echo_n "(cached) " >&6
35947 else
35950 ac_ext=cpp
35951 ac_cpp='$CXXCPP $CPPFLAGS'
35952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35957 /* end confdefs.h. */
35958 #include <math.h>
35960 main ()
35962 _hypotl(0, 0);
35964 return 0;
35966 _ACEOF
35967 if ac_fn_cxx_try_compile "$LINENO"; then :
35968 glibcxx_cv_func__hypotl_use=yes
35969 else
35970 glibcxx_cv_func__hypotl_use=no
35972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35973 ac_ext=c
35974 ac_cpp='$CPP $CPPFLAGS'
35975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
35984 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
35986 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
35987 for ac_func in _hypotl
35988 do :
35989 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
35990 if test "x$ac_cv_func__hypotl" = xyes; then :
35991 cat >>confdefs.h <<_ACEOF
35992 #define HAVE__HYPOTL 1
35993 _ACEOF
35996 done
36005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
36006 $as_echo_n "checking for ldexpl declaration... " >&6; }
36007 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
36008 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
36009 $as_echo_n "(cached) " >&6
36010 else
36013 ac_ext=cpp
36014 ac_cpp='$CXXCPP $CPPFLAGS'
36015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36020 /* end confdefs.h. */
36021 #include <math.h>
36023 main ()
36025 ldexpl(0, 0);
36027 return 0;
36029 _ACEOF
36030 if ac_fn_cxx_try_compile "$LINENO"; then :
36031 glibcxx_cv_func_ldexpl_use=yes
36032 else
36033 glibcxx_cv_func_ldexpl_use=no
36035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36036 ac_ext=c
36037 ac_cpp='$CPP $CPPFLAGS'
36038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
36047 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
36049 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
36050 for ac_func in ldexpl
36051 do :
36052 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
36053 if test "x$ac_cv_func_ldexpl" = xyes; then :
36054 cat >>confdefs.h <<_ACEOF
36055 #define HAVE_LDEXPL 1
36056 _ACEOF
36059 done
36061 else
36063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
36064 $as_echo_n "checking for _ldexpl declaration... " >&6; }
36065 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
36066 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
36067 $as_echo_n "(cached) " >&6
36068 else
36071 ac_ext=cpp
36072 ac_cpp='$CXXCPP $CPPFLAGS'
36073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36078 /* end confdefs.h. */
36079 #include <math.h>
36081 main ()
36083 _ldexpl(0, 0);
36085 return 0;
36087 _ACEOF
36088 if ac_fn_cxx_try_compile "$LINENO"; then :
36089 glibcxx_cv_func__ldexpl_use=yes
36090 else
36091 glibcxx_cv_func__ldexpl_use=no
36093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36094 ac_ext=c
36095 ac_cpp='$CPP $CPPFLAGS'
36096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
36105 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
36107 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
36108 for ac_func in _ldexpl
36109 do :
36110 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
36111 if test "x$ac_cv_func__ldexpl" = xyes; then :
36112 cat >>confdefs.h <<_ACEOF
36113 #define HAVE__LDEXPL 1
36114 _ACEOF
36117 done
36126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
36127 $as_echo_n "checking for logl declaration... " >&6; }
36128 if test x${glibcxx_cv_func_logl_use+set} != xset; then
36129 if ${glibcxx_cv_func_logl_use+:} false; then :
36130 $as_echo_n "(cached) " >&6
36131 else
36134 ac_ext=cpp
36135 ac_cpp='$CXXCPP $CPPFLAGS'
36136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36141 /* end confdefs.h. */
36142 #include <math.h>
36143 #ifdef HAVE_IEEEFP_H
36144 #include <ieeefp.h>
36145 #endif
36148 main ()
36150 logl(0);
36152 return 0;
36154 _ACEOF
36155 if ac_fn_cxx_try_compile "$LINENO"; then :
36156 glibcxx_cv_func_logl_use=yes
36157 else
36158 glibcxx_cv_func_logl_use=no
36160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36161 ac_ext=c
36162 ac_cpp='$CPP $CPPFLAGS'
36163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
36172 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
36174 if test x$glibcxx_cv_func_logl_use = x"yes"; then
36175 for ac_func in logl
36176 do :
36177 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
36178 if test "x$ac_cv_func_logl" = xyes; then :
36179 cat >>confdefs.h <<_ACEOF
36180 #define HAVE_LOGL 1
36181 _ACEOF
36184 done
36186 else
36188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
36189 $as_echo_n "checking for _logl declaration... " >&6; }
36190 if test x${glibcxx_cv_func__logl_use+set} != xset; then
36191 if ${glibcxx_cv_func__logl_use+:} false; then :
36192 $as_echo_n "(cached) " >&6
36193 else
36196 ac_ext=cpp
36197 ac_cpp='$CXXCPP $CPPFLAGS'
36198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36203 /* end confdefs.h. */
36204 #include <math.h>
36205 #ifdef HAVE_IEEEFP_H
36206 #include <ieeefp.h>
36207 #endif
36210 main ()
36212 _logl(0);
36214 return 0;
36216 _ACEOF
36217 if ac_fn_cxx_try_compile "$LINENO"; then :
36218 glibcxx_cv_func__logl_use=yes
36219 else
36220 glibcxx_cv_func__logl_use=no
36222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36223 ac_ext=c
36224 ac_cpp='$CPP $CPPFLAGS'
36225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
36234 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
36236 if test x$glibcxx_cv_func__logl_use = x"yes"; then
36237 for ac_func in _logl
36238 do :
36239 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
36240 if test "x$ac_cv_func__logl" = xyes; then :
36241 cat >>confdefs.h <<_ACEOF
36242 #define HAVE__LOGL 1
36243 _ACEOF
36246 done
36255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
36256 $as_echo_n "checking for log10l declaration... " >&6; }
36257 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
36258 if ${glibcxx_cv_func_log10l_use+:} false; then :
36259 $as_echo_n "(cached) " >&6
36260 else
36263 ac_ext=cpp
36264 ac_cpp='$CXXCPP $CPPFLAGS'
36265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36270 /* end confdefs.h. */
36271 #include <math.h>
36272 #ifdef HAVE_IEEEFP_H
36273 #include <ieeefp.h>
36274 #endif
36277 main ()
36279 log10l(0);
36281 return 0;
36283 _ACEOF
36284 if ac_fn_cxx_try_compile "$LINENO"; then :
36285 glibcxx_cv_func_log10l_use=yes
36286 else
36287 glibcxx_cv_func_log10l_use=no
36289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36290 ac_ext=c
36291 ac_cpp='$CPP $CPPFLAGS'
36292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
36301 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
36303 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
36304 for ac_func in log10l
36305 do :
36306 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
36307 if test "x$ac_cv_func_log10l" = xyes; then :
36308 cat >>confdefs.h <<_ACEOF
36309 #define HAVE_LOG10L 1
36310 _ACEOF
36313 done
36315 else
36317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
36318 $as_echo_n "checking for _log10l declaration... " >&6; }
36319 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
36320 if ${glibcxx_cv_func__log10l_use+:} false; then :
36321 $as_echo_n "(cached) " >&6
36322 else
36325 ac_ext=cpp
36326 ac_cpp='$CXXCPP $CPPFLAGS'
36327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36332 /* end confdefs.h. */
36333 #include <math.h>
36334 #ifdef HAVE_IEEEFP_H
36335 #include <ieeefp.h>
36336 #endif
36339 main ()
36341 _log10l(0);
36343 return 0;
36345 _ACEOF
36346 if ac_fn_cxx_try_compile "$LINENO"; then :
36347 glibcxx_cv_func__log10l_use=yes
36348 else
36349 glibcxx_cv_func__log10l_use=no
36351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36352 ac_ext=c
36353 ac_cpp='$CPP $CPPFLAGS'
36354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
36363 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
36365 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
36366 for ac_func in _log10l
36367 do :
36368 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
36369 if test "x$ac_cv_func__log10l" = xyes; then :
36370 cat >>confdefs.h <<_ACEOF
36371 #define HAVE__LOG10L 1
36372 _ACEOF
36375 done
36384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
36385 $as_echo_n "checking for modfl declaration... " >&6; }
36386 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
36387 if ${glibcxx_cv_func_modfl_use+:} false; then :
36388 $as_echo_n "(cached) " >&6
36389 else
36392 ac_ext=cpp
36393 ac_cpp='$CXXCPP $CPPFLAGS'
36394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36399 /* end confdefs.h. */
36400 #include <math.h>
36402 main ()
36404 modfl(0, 0);
36406 return 0;
36408 _ACEOF
36409 if ac_fn_cxx_try_compile "$LINENO"; then :
36410 glibcxx_cv_func_modfl_use=yes
36411 else
36412 glibcxx_cv_func_modfl_use=no
36414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36415 ac_ext=c
36416 ac_cpp='$CPP $CPPFLAGS'
36417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
36426 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
36428 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
36429 for ac_func in modfl
36430 do :
36431 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
36432 if test "x$ac_cv_func_modfl" = xyes; then :
36433 cat >>confdefs.h <<_ACEOF
36434 #define HAVE_MODFL 1
36435 _ACEOF
36438 done
36440 else
36442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
36443 $as_echo_n "checking for _modfl declaration... " >&6; }
36444 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
36445 if ${glibcxx_cv_func__modfl_use+:} false; then :
36446 $as_echo_n "(cached) " >&6
36447 else
36450 ac_ext=cpp
36451 ac_cpp='$CXXCPP $CPPFLAGS'
36452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36457 /* end confdefs.h. */
36458 #include <math.h>
36460 main ()
36462 _modfl(0, 0);
36464 return 0;
36466 _ACEOF
36467 if ac_fn_cxx_try_compile "$LINENO"; then :
36468 glibcxx_cv_func__modfl_use=yes
36469 else
36470 glibcxx_cv_func__modfl_use=no
36472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36473 ac_ext=c
36474 ac_cpp='$CPP $CPPFLAGS'
36475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
36484 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
36486 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
36487 for ac_func in _modfl
36488 do :
36489 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
36490 if test "x$ac_cv_func__modfl" = xyes; then :
36491 cat >>confdefs.h <<_ACEOF
36492 #define HAVE__MODFL 1
36493 _ACEOF
36496 done
36505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
36506 $as_echo_n "checking for powl declaration... " >&6; }
36507 if test x${glibcxx_cv_func_powl_use+set} != xset; then
36508 if ${glibcxx_cv_func_powl_use+:} false; then :
36509 $as_echo_n "(cached) " >&6
36510 else
36513 ac_ext=cpp
36514 ac_cpp='$CXXCPP $CPPFLAGS'
36515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36520 /* end confdefs.h. */
36521 #include <math.h>
36523 main ()
36525 powl(0, 0);
36527 return 0;
36529 _ACEOF
36530 if ac_fn_cxx_try_compile "$LINENO"; then :
36531 glibcxx_cv_func_powl_use=yes
36532 else
36533 glibcxx_cv_func_powl_use=no
36535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36536 ac_ext=c
36537 ac_cpp='$CPP $CPPFLAGS'
36538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
36547 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
36549 if test x$glibcxx_cv_func_powl_use = x"yes"; then
36550 for ac_func in powl
36551 do :
36552 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
36553 if test "x$ac_cv_func_powl" = xyes; then :
36554 cat >>confdefs.h <<_ACEOF
36555 #define HAVE_POWL 1
36556 _ACEOF
36559 done
36561 else
36563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
36564 $as_echo_n "checking for _powl declaration... " >&6; }
36565 if test x${glibcxx_cv_func__powl_use+set} != xset; then
36566 if ${glibcxx_cv_func__powl_use+:} false; then :
36567 $as_echo_n "(cached) " >&6
36568 else
36571 ac_ext=cpp
36572 ac_cpp='$CXXCPP $CPPFLAGS'
36573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36578 /* end confdefs.h. */
36579 #include <math.h>
36581 main ()
36583 _powl(0, 0);
36585 return 0;
36587 _ACEOF
36588 if ac_fn_cxx_try_compile "$LINENO"; then :
36589 glibcxx_cv_func__powl_use=yes
36590 else
36591 glibcxx_cv_func__powl_use=no
36593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36594 ac_ext=c
36595 ac_cpp='$CPP $CPPFLAGS'
36596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
36605 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
36607 if test x$glibcxx_cv_func__powl_use = x"yes"; then
36608 for ac_func in _powl
36609 do :
36610 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
36611 if test "x$ac_cv_func__powl" = xyes; then :
36612 cat >>confdefs.h <<_ACEOF
36613 #define HAVE__POWL 1
36614 _ACEOF
36617 done
36626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
36627 $as_echo_n "checking for sqrtl declaration... " >&6; }
36628 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
36629 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
36630 $as_echo_n "(cached) " >&6
36631 else
36634 ac_ext=cpp
36635 ac_cpp='$CXXCPP $CPPFLAGS'
36636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36641 /* end confdefs.h. */
36642 #include <math.h>
36643 #ifdef HAVE_IEEEFP_H
36644 #include <ieeefp.h>
36645 #endif
36648 main ()
36650 sqrtl(0);
36652 return 0;
36654 _ACEOF
36655 if ac_fn_cxx_try_compile "$LINENO"; then :
36656 glibcxx_cv_func_sqrtl_use=yes
36657 else
36658 glibcxx_cv_func_sqrtl_use=no
36660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36661 ac_ext=c
36662 ac_cpp='$CPP $CPPFLAGS'
36663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
36672 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
36674 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
36675 for ac_func in sqrtl
36676 do :
36677 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
36678 if test "x$ac_cv_func_sqrtl" = xyes; then :
36679 cat >>confdefs.h <<_ACEOF
36680 #define HAVE_SQRTL 1
36681 _ACEOF
36684 done
36686 else
36688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
36689 $as_echo_n "checking for _sqrtl declaration... " >&6; }
36690 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
36691 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
36692 $as_echo_n "(cached) " >&6
36693 else
36696 ac_ext=cpp
36697 ac_cpp='$CXXCPP $CPPFLAGS'
36698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36703 /* end confdefs.h. */
36704 #include <math.h>
36705 #ifdef HAVE_IEEEFP_H
36706 #include <ieeefp.h>
36707 #endif
36710 main ()
36712 _sqrtl(0);
36714 return 0;
36716 _ACEOF
36717 if ac_fn_cxx_try_compile "$LINENO"; then :
36718 glibcxx_cv_func__sqrtl_use=yes
36719 else
36720 glibcxx_cv_func__sqrtl_use=no
36722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36723 ac_ext=c
36724 ac_cpp='$CPP $CPPFLAGS'
36725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
36734 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
36736 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
36737 for ac_func in _sqrtl
36738 do :
36739 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
36740 if test "x$ac_cv_func__sqrtl" = xyes; then :
36741 cat >>confdefs.h <<_ACEOF
36742 #define HAVE__SQRTL 1
36743 _ACEOF
36746 done
36755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
36756 $as_echo_n "checking for sincosl declaration... " >&6; }
36757 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
36758 if ${glibcxx_cv_func_sincosl_use+:} false; then :
36759 $as_echo_n "(cached) " >&6
36760 else
36763 ac_ext=cpp
36764 ac_cpp='$CXXCPP $CPPFLAGS'
36765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36770 /* end confdefs.h. */
36771 #include <math.h>
36773 main ()
36775 sincosl(0, 0, 0);
36777 return 0;
36779 _ACEOF
36780 if ac_fn_cxx_try_compile "$LINENO"; then :
36781 glibcxx_cv_func_sincosl_use=yes
36782 else
36783 glibcxx_cv_func_sincosl_use=no
36785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36786 ac_ext=c
36787 ac_cpp='$CPP $CPPFLAGS'
36788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
36797 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
36799 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
36800 for ac_func in sincosl
36801 do :
36802 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
36803 if test "x$ac_cv_func_sincosl" = xyes; then :
36804 cat >>confdefs.h <<_ACEOF
36805 #define HAVE_SINCOSL 1
36806 _ACEOF
36809 done
36811 else
36813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
36814 $as_echo_n "checking for _sincosl declaration... " >&6; }
36815 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
36816 if ${glibcxx_cv_func__sincosl_use+:} false; then :
36817 $as_echo_n "(cached) " >&6
36818 else
36821 ac_ext=cpp
36822 ac_cpp='$CXXCPP $CPPFLAGS'
36823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36828 /* end confdefs.h. */
36829 #include <math.h>
36831 main ()
36833 _sincosl(0, 0, 0);
36835 return 0;
36837 _ACEOF
36838 if ac_fn_cxx_try_compile "$LINENO"; then :
36839 glibcxx_cv_func__sincosl_use=yes
36840 else
36841 glibcxx_cv_func__sincosl_use=no
36843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36844 ac_ext=c
36845 ac_cpp='$CPP $CPPFLAGS'
36846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
36855 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
36857 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
36858 for ac_func in _sincosl
36859 do :
36860 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
36861 if test "x$ac_cv_func__sincosl" = xyes; then :
36862 cat >>confdefs.h <<_ACEOF
36863 #define HAVE__SINCOSL 1
36864 _ACEOF
36867 done
36876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
36877 $as_echo_n "checking for finitel declaration... " >&6; }
36878 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
36879 if ${glibcxx_cv_func_finitel_use+:} false; then :
36880 $as_echo_n "(cached) " >&6
36881 else
36884 ac_ext=cpp
36885 ac_cpp='$CXXCPP $CPPFLAGS'
36886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36891 /* end confdefs.h. */
36892 #include <math.h>
36893 #ifdef HAVE_IEEEFP_H
36894 #include <ieeefp.h>
36895 #endif
36898 main ()
36900 finitel(0);
36902 return 0;
36904 _ACEOF
36905 if ac_fn_cxx_try_compile "$LINENO"; then :
36906 glibcxx_cv_func_finitel_use=yes
36907 else
36908 glibcxx_cv_func_finitel_use=no
36910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36911 ac_ext=c
36912 ac_cpp='$CPP $CPPFLAGS'
36913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
36922 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
36924 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
36925 for ac_func in finitel
36926 do :
36927 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
36928 if test "x$ac_cv_func_finitel" = xyes; then :
36929 cat >>confdefs.h <<_ACEOF
36930 #define HAVE_FINITEL 1
36931 _ACEOF
36934 done
36936 else
36938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
36939 $as_echo_n "checking for _finitel declaration... " >&6; }
36940 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
36941 if ${glibcxx_cv_func__finitel_use+:} false; then :
36942 $as_echo_n "(cached) " >&6
36943 else
36946 ac_ext=cpp
36947 ac_cpp='$CXXCPP $CPPFLAGS'
36948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36953 /* end confdefs.h. */
36954 #include <math.h>
36955 #ifdef HAVE_IEEEFP_H
36956 #include <ieeefp.h>
36957 #endif
36960 main ()
36962 _finitel(0);
36964 return 0;
36966 _ACEOF
36967 if ac_fn_cxx_try_compile "$LINENO"; then :
36968 glibcxx_cv_func__finitel_use=yes
36969 else
36970 glibcxx_cv_func__finitel_use=no
36972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36973 ac_ext=c
36974 ac_cpp='$CPP $CPPFLAGS'
36975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
36984 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
36986 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
36987 for ac_func in _finitel
36988 do :
36989 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
36990 if test "x$ac_cv_func__finitel" = xyes; then :
36991 cat >>confdefs.h <<_ACEOF
36992 #define HAVE__FINITEL 1
36993 _ACEOF
36996 done
37004 LIBS="$ac_save_LIBS"
37005 CXXFLAGS="$ac_save_CXXFLAGS"
37008 ac_test_CXXFLAGS="${CXXFLAGS+set}"
37009 ac_save_CXXFLAGS="$CXXFLAGS"
37010 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
37013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
37014 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
37015 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
37016 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
37017 $as_echo_n "(cached) " >&6
37018 else
37021 ac_ext=cpp
37022 ac_cpp='$CXXCPP $CPPFLAGS'
37023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37028 /* end confdefs.h. */
37029 #include <stdlib.h>
37031 main ()
37033 at_quick_exit(0);
37035 return 0;
37037 _ACEOF
37038 if ac_fn_cxx_try_compile "$LINENO"; then :
37039 glibcxx_cv_func_at_quick_exit_use=yes
37040 else
37041 glibcxx_cv_func_at_quick_exit_use=no
37043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37044 ac_ext=c
37045 ac_cpp='$CPP $CPPFLAGS'
37046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
37055 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
37056 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
37057 for ac_func in at_quick_exit
37058 do :
37059 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
37060 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
37061 cat >>confdefs.h <<_ACEOF
37062 #define HAVE_AT_QUICK_EXIT 1
37063 _ACEOF
37066 done
37071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
37072 $as_echo_n "checking for quick_exit declaration... " >&6; }
37073 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
37074 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
37075 $as_echo_n "(cached) " >&6
37076 else
37079 ac_ext=cpp
37080 ac_cpp='$CXXCPP $CPPFLAGS'
37081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37086 /* end confdefs.h. */
37087 #include <stdlib.h>
37089 main ()
37091 quick_exit(0);
37093 return 0;
37095 _ACEOF
37096 if ac_fn_cxx_try_compile "$LINENO"; then :
37097 glibcxx_cv_func_quick_exit_use=yes
37098 else
37099 glibcxx_cv_func_quick_exit_use=no
37101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37102 ac_ext=c
37103 ac_cpp='$CPP $CPPFLAGS'
37104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
37113 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
37114 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
37115 for ac_func in quick_exit
37116 do :
37117 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
37118 if test "x$ac_cv_func_quick_exit" = xyes; then :
37119 cat >>confdefs.h <<_ACEOF
37120 #define HAVE_QUICK_EXIT 1
37121 _ACEOF
37124 done
37129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
37130 $as_echo_n "checking for strtold declaration... " >&6; }
37131 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
37132 if ${glibcxx_cv_func_strtold_use+:} false; then :
37133 $as_echo_n "(cached) " >&6
37134 else
37137 ac_ext=cpp
37138 ac_cpp='$CXXCPP $CPPFLAGS'
37139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37144 /* end confdefs.h. */
37145 #include <stdlib.h>
37147 main ()
37149 strtold(0, 0);
37151 return 0;
37153 _ACEOF
37154 if ac_fn_cxx_try_compile "$LINENO"; then :
37155 glibcxx_cv_func_strtold_use=yes
37156 else
37157 glibcxx_cv_func_strtold_use=no
37159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37160 ac_ext=c
37161 ac_cpp='$CPP $CPPFLAGS'
37162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
37171 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
37172 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
37173 for ac_func in strtold
37174 do :
37175 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
37176 if test "x$ac_cv_func_strtold" = xyes; then :
37177 cat >>confdefs.h <<_ACEOF
37178 #define HAVE_STRTOLD 1
37179 _ACEOF
37182 done
37189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
37190 $as_echo_n "checking for strtof declaration... " >&6; }
37191 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
37192 if ${glibcxx_cv_func_strtof_use+:} false; then :
37193 $as_echo_n "(cached) " >&6
37194 else
37197 ac_ext=cpp
37198 ac_cpp='$CXXCPP $CPPFLAGS'
37199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37204 /* end confdefs.h. */
37205 #include <stdlib.h>
37207 main ()
37209 strtof(0, 0);
37211 return 0;
37213 _ACEOF
37214 if ac_fn_cxx_try_compile "$LINENO"; then :
37215 glibcxx_cv_func_strtof_use=yes
37216 else
37217 glibcxx_cv_func_strtof_use=no
37219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37220 ac_ext=c
37221 ac_cpp='$CPP $CPPFLAGS'
37222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
37231 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
37232 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
37233 for ac_func in strtof
37234 do :
37235 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
37236 if test "x$ac_cv_func_strtof" = xyes; then :
37237 cat >>confdefs.h <<_ACEOF
37238 #define HAVE_STRTOF 1
37239 _ACEOF
37242 done
37249 CXXFLAGS="$ac_save_CXXFLAGS"
37252 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
37254 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
37256 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
37258 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
37261 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
37263 $as_echo "#define HAVE_MODF 1" >>confdefs.h
37265 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
37269 *-aix*)
37271 # If we're not using GNU ld, then there's no point in even trying these
37272 # tests. Check for that first. We should have already tested for gld
37273 # by now (in libtool), but require it now just to be safe...
37274 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
37275 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
37279 # The name set by libtool depends on the version of libtool. Shame on us
37280 # for depending on an impl detail, but c'est la vie. Older versions used
37281 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
37282 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
37283 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
37284 # set (hence we're using an older libtool), then set it.
37285 if test x${with_gnu_ld+set} != xset; then
37286 if test x${ac_cv_prog_gnu_ld+set} != xset; then
37287 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
37288 with_gnu_ld=no
37289 else
37290 with_gnu_ld=$ac_cv_prog_gnu_ld
37294 # Start by getting the version number. I think the libtool test already
37295 # does some of this, but throws away the result.
37296 glibcxx_ld_is_gold=no
37297 glibcxx_ld_is_mold=no
37298 if test x"$with_gnu_ld" = x"yes"; then
37299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
37300 $as_echo_n "checking for ld version... " >&6; }
37302 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
37303 glibcxx_ld_is_gold=yes
37304 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
37305 glibcxx_ld_is_mold=yes
37307 ldver=`$LD --version 2>/dev/null |
37308 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
37310 glibcxx_gnu_ld_version=`echo $ldver | \
37311 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
37312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
37313 $as_echo "$glibcxx_gnu_ld_version" >&6; }
37316 # Set --gc-sections.
37317 glibcxx_have_gc_sections=no
37318 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
37319 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
37320 glibcxx_have_gc_sections=yes
37322 else
37323 glibcxx_gcsections_min_ld=21602
37324 if test x"$with_gnu_ld" = x"yes" &&
37325 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
37326 glibcxx_have_gc_sections=yes
37329 if test "$glibcxx_have_gc_sections" = "yes"; then
37330 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
37331 # NB: This flag only works reliably after 2.16.1. Configure tests
37332 # for this are difficult, so hard wire a value that should work.
37334 ac_test_CFLAGS="${CFLAGS+set}"
37335 ac_save_CFLAGS="$CFLAGS"
37336 CFLAGS='-Wl,--gc-sections'
37338 # Check for -Wl,--gc-sections
37339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
37340 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
37341 if test x$gcc_no_link = xyes; then
37342 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
37344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37345 /* end confdefs.h. */
37346 int one(void) { return 1; }
37347 int two(void) { return 2; }
37350 main ()
37352 two();
37354 return 0;
37356 _ACEOF
37357 if ac_fn_c_try_link "$LINENO"; then :
37358 ac_gcsections=yes
37359 else
37360 ac_gcsections=no
37362 rm -f core conftest.err conftest.$ac_objext \
37363 conftest$ac_exeext conftest.$ac_ext
37364 if test "$ac_gcsections" = "yes"; then
37365 rm -f conftest.c
37366 touch conftest.c
37367 if $CC -c conftest.c; then
37368 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
37369 grep "Warning: gc-sections option ignored" > /dev/null; then
37370 ac_gcsections=no
37373 rm -f conftest.c conftest.o conftest
37375 if test "$ac_gcsections" = "yes"; then
37376 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
37378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
37379 $as_echo "$ac_gcsections" >&6; }
37381 if test "$ac_test_CFLAGS" = set; then
37382 CFLAGS="$ac_save_CFLAGS"
37383 else
37384 # this is the suspicious part
37385 CFLAGS=''
37389 # Set -z,relro.
37390 # Note this is only for shared objects.
37391 ac_ld_relro=no
37392 if test x"$with_gnu_ld" = x"yes"; then
37393 # cygwin and mingw uses PE, which has no ELF relro support,
37394 # multi target ld may confuse configure machinery
37395 case "$host" in
37396 *-*-cygwin*)
37398 *-*-mingw*)
37401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
37402 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
37403 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
37404 if test -n "$cxx_z_relo"; then
37405 OPT_LDFLAGS="-Wl,-z,relro"
37406 ac_ld_relro=yes
37408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
37409 $as_echo "$ac_ld_relro" >&6; }
37410 esac
37413 # Set linker optimization flags.
37414 if test x"$with_gnu_ld" = x"yes"; then
37415 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
37422 ac_test_CXXFLAGS="${CXXFLAGS+set}"
37423 ac_save_CXXFLAGS="$CXXFLAGS"
37424 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
37426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
37427 $as_echo_n "checking for sin in -lm... " >&6; }
37428 if ${ac_cv_lib_m_sin+:} false; then :
37429 $as_echo_n "(cached) " >&6
37430 else
37431 ac_check_lib_save_LIBS=$LIBS
37432 LIBS="-lm $LIBS"
37433 if test x$gcc_no_link = xyes; then
37434 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
37436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37437 /* end confdefs.h. */
37439 /* Override any GCC internal prototype to avoid an error.
37440 Use char because int might match the return type of a GCC
37441 builtin and then its argument prototype would still apply. */
37442 #ifdef __cplusplus
37443 extern "C"
37444 #endif
37445 char sin ();
37447 main ()
37449 return sin ();
37451 return 0;
37453 _ACEOF
37454 if ac_fn_c_try_link "$LINENO"; then :
37455 ac_cv_lib_m_sin=yes
37456 else
37457 ac_cv_lib_m_sin=no
37459 rm -f core conftest.err conftest.$ac_objext \
37460 conftest$ac_exeext conftest.$ac_ext
37461 LIBS=$ac_check_lib_save_LIBS
37463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
37464 $as_echo "$ac_cv_lib_m_sin" >&6; }
37465 if test "x$ac_cv_lib_m_sin" = xyes; then :
37466 libm="-lm"
37469 ac_save_LIBS="$LIBS"
37470 LIBS="$LIBS $libm"
37474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
37475 $as_echo_n "checking for isinf declaration... " >&6; }
37476 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
37477 if ${glibcxx_cv_func_isinf_use+:} false; then :
37478 $as_echo_n "(cached) " >&6
37479 else
37482 ac_ext=cpp
37483 ac_cpp='$CXXCPP $CPPFLAGS'
37484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37489 /* end confdefs.h. */
37490 #include <math.h>
37491 #ifdef HAVE_IEEEFP_H
37492 #include <ieeefp.h>
37493 #endif
37496 main ()
37498 isinf(0);
37500 return 0;
37502 _ACEOF
37503 if ac_fn_cxx_try_compile "$LINENO"; then :
37504 glibcxx_cv_func_isinf_use=yes
37505 else
37506 glibcxx_cv_func_isinf_use=no
37508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37509 ac_ext=c
37510 ac_cpp='$CPP $CPPFLAGS'
37511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
37520 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
37522 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
37523 for ac_func in isinf
37524 do :
37525 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
37526 if test "x$ac_cv_func_isinf" = xyes; then :
37527 cat >>confdefs.h <<_ACEOF
37528 #define HAVE_ISINF 1
37529 _ACEOF
37532 done
37534 else
37536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
37537 $as_echo_n "checking for _isinf declaration... " >&6; }
37538 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
37539 if ${glibcxx_cv_func__isinf_use+:} false; then :
37540 $as_echo_n "(cached) " >&6
37541 else
37544 ac_ext=cpp
37545 ac_cpp='$CXXCPP $CPPFLAGS'
37546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37551 /* end confdefs.h. */
37552 #include <math.h>
37553 #ifdef HAVE_IEEEFP_H
37554 #include <ieeefp.h>
37555 #endif
37558 main ()
37560 _isinf(0);
37562 return 0;
37564 _ACEOF
37565 if ac_fn_cxx_try_compile "$LINENO"; then :
37566 glibcxx_cv_func__isinf_use=yes
37567 else
37568 glibcxx_cv_func__isinf_use=no
37570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37571 ac_ext=c
37572 ac_cpp='$CPP $CPPFLAGS'
37573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
37582 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
37584 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
37585 for ac_func in _isinf
37586 do :
37587 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
37588 if test "x$ac_cv_func__isinf" = xyes; then :
37589 cat >>confdefs.h <<_ACEOF
37590 #define HAVE__ISINF 1
37591 _ACEOF
37594 done
37603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
37604 $as_echo_n "checking for isnan declaration... " >&6; }
37605 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
37606 if ${glibcxx_cv_func_isnan_use+:} false; then :
37607 $as_echo_n "(cached) " >&6
37608 else
37611 ac_ext=cpp
37612 ac_cpp='$CXXCPP $CPPFLAGS'
37613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37618 /* end confdefs.h. */
37619 #include <math.h>
37620 #ifdef HAVE_IEEEFP_H
37621 #include <ieeefp.h>
37622 #endif
37625 main ()
37627 isnan(0);
37629 return 0;
37631 _ACEOF
37632 if ac_fn_cxx_try_compile "$LINENO"; then :
37633 glibcxx_cv_func_isnan_use=yes
37634 else
37635 glibcxx_cv_func_isnan_use=no
37637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37638 ac_ext=c
37639 ac_cpp='$CPP $CPPFLAGS'
37640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
37649 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
37651 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
37652 for ac_func in isnan
37653 do :
37654 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
37655 if test "x$ac_cv_func_isnan" = xyes; then :
37656 cat >>confdefs.h <<_ACEOF
37657 #define HAVE_ISNAN 1
37658 _ACEOF
37661 done
37663 else
37665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
37666 $as_echo_n "checking for _isnan declaration... " >&6; }
37667 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
37668 if ${glibcxx_cv_func__isnan_use+:} false; then :
37669 $as_echo_n "(cached) " >&6
37670 else
37673 ac_ext=cpp
37674 ac_cpp='$CXXCPP $CPPFLAGS'
37675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37680 /* end confdefs.h. */
37681 #include <math.h>
37682 #ifdef HAVE_IEEEFP_H
37683 #include <ieeefp.h>
37684 #endif
37687 main ()
37689 _isnan(0);
37691 return 0;
37693 _ACEOF
37694 if ac_fn_cxx_try_compile "$LINENO"; then :
37695 glibcxx_cv_func__isnan_use=yes
37696 else
37697 glibcxx_cv_func__isnan_use=no
37699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37700 ac_ext=c
37701 ac_cpp='$CPP $CPPFLAGS'
37702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
37711 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
37713 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
37714 for ac_func in _isnan
37715 do :
37716 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
37717 if test "x$ac_cv_func__isnan" = xyes; then :
37718 cat >>confdefs.h <<_ACEOF
37719 #define HAVE__ISNAN 1
37720 _ACEOF
37723 done
37732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
37733 $as_echo_n "checking for finite declaration... " >&6; }
37734 if test x${glibcxx_cv_func_finite_use+set} != xset; then
37735 if ${glibcxx_cv_func_finite_use+:} false; then :
37736 $as_echo_n "(cached) " >&6
37737 else
37740 ac_ext=cpp
37741 ac_cpp='$CXXCPP $CPPFLAGS'
37742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37747 /* end confdefs.h. */
37748 #include <math.h>
37749 #ifdef HAVE_IEEEFP_H
37750 #include <ieeefp.h>
37751 #endif
37754 main ()
37756 finite(0);
37758 return 0;
37760 _ACEOF
37761 if ac_fn_cxx_try_compile "$LINENO"; then :
37762 glibcxx_cv_func_finite_use=yes
37763 else
37764 glibcxx_cv_func_finite_use=no
37766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37767 ac_ext=c
37768 ac_cpp='$CPP $CPPFLAGS'
37769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
37778 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
37780 if test x$glibcxx_cv_func_finite_use = x"yes"; then
37781 for ac_func in finite
37782 do :
37783 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
37784 if test "x$ac_cv_func_finite" = xyes; then :
37785 cat >>confdefs.h <<_ACEOF
37786 #define HAVE_FINITE 1
37787 _ACEOF
37790 done
37792 else
37794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
37795 $as_echo_n "checking for _finite declaration... " >&6; }
37796 if test x${glibcxx_cv_func__finite_use+set} != xset; then
37797 if ${glibcxx_cv_func__finite_use+:} false; then :
37798 $as_echo_n "(cached) " >&6
37799 else
37802 ac_ext=cpp
37803 ac_cpp='$CXXCPP $CPPFLAGS'
37804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37809 /* end confdefs.h. */
37810 #include <math.h>
37811 #ifdef HAVE_IEEEFP_H
37812 #include <ieeefp.h>
37813 #endif
37816 main ()
37818 _finite(0);
37820 return 0;
37822 _ACEOF
37823 if ac_fn_cxx_try_compile "$LINENO"; then :
37824 glibcxx_cv_func__finite_use=yes
37825 else
37826 glibcxx_cv_func__finite_use=no
37828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37829 ac_ext=c
37830 ac_cpp='$CPP $CPPFLAGS'
37831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
37840 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
37842 if test x$glibcxx_cv_func__finite_use = x"yes"; then
37843 for ac_func in _finite
37844 do :
37845 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
37846 if test "x$ac_cv_func__finite" = xyes; then :
37847 cat >>confdefs.h <<_ACEOF
37848 #define HAVE__FINITE 1
37849 _ACEOF
37852 done
37861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
37862 $as_echo_n "checking for sincos declaration... " >&6; }
37863 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
37864 if ${glibcxx_cv_func_sincos_use+:} false; then :
37865 $as_echo_n "(cached) " >&6
37866 else
37869 ac_ext=cpp
37870 ac_cpp='$CXXCPP $CPPFLAGS'
37871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37876 /* end confdefs.h. */
37877 #include <math.h>
37879 main ()
37881 sincos(0, 0, 0);
37883 return 0;
37885 _ACEOF
37886 if ac_fn_cxx_try_compile "$LINENO"; then :
37887 glibcxx_cv_func_sincos_use=yes
37888 else
37889 glibcxx_cv_func_sincos_use=no
37891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37892 ac_ext=c
37893 ac_cpp='$CPP $CPPFLAGS'
37894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
37903 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
37905 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
37906 for ac_func in sincos
37907 do :
37908 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
37909 if test "x$ac_cv_func_sincos" = xyes; then :
37910 cat >>confdefs.h <<_ACEOF
37911 #define HAVE_SINCOS 1
37912 _ACEOF
37915 done
37917 else
37919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
37920 $as_echo_n "checking for _sincos declaration... " >&6; }
37921 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
37922 if ${glibcxx_cv_func__sincos_use+:} false; then :
37923 $as_echo_n "(cached) " >&6
37924 else
37927 ac_ext=cpp
37928 ac_cpp='$CXXCPP $CPPFLAGS'
37929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37934 /* end confdefs.h. */
37935 #include <math.h>
37937 main ()
37939 _sincos(0, 0, 0);
37941 return 0;
37943 _ACEOF
37944 if ac_fn_cxx_try_compile "$LINENO"; then :
37945 glibcxx_cv_func__sincos_use=yes
37946 else
37947 glibcxx_cv_func__sincos_use=no
37949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37950 ac_ext=c
37951 ac_cpp='$CPP $CPPFLAGS'
37952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
37961 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
37963 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
37964 for ac_func in _sincos
37965 do :
37966 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
37967 if test "x$ac_cv_func__sincos" = xyes; then :
37968 cat >>confdefs.h <<_ACEOF
37969 #define HAVE__SINCOS 1
37970 _ACEOF
37973 done
37982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
37983 $as_echo_n "checking for fpclass declaration... " >&6; }
37984 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
37985 if ${glibcxx_cv_func_fpclass_use+:} false; then :
37986 $as_echo_n "(cached) " >&6
37987 else
37990 ac_ext=cpp
37991 ac_cpp='$CXXCPP $CPPFLAGS'
37992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37997 /* end confdefs.h. */
37998 #include <math.h>
37999 #ifdef HAVE_IEEEFP_H
38000 #include <ieeefp.h>
38001 #endif
38004 main ()
38006 fpclass(0);
38008 return 0;
38010 _ACEOF
38011 if ac_fn_cxx_try_compile "$LINENO"; then :
38012 glibcxx_cv_func_fpclass_use=yes
38013 else
38014 glibcxx_cv_func_fpclass_use=no
38016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38017 ac_ext=c
38018 ac_cpp='$CPP $CPPFLAGS'
38019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
38028 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
38030 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
38031 for ac_func in fpclass
38032 do :
38033 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
38034 if test "x$ac_cv_func_fpclass" = xyes; then :
38035 cat >>confdefs.h <<_ACEOF
38036 #define HAVE_FPCLASS 1
38037 _ACEOF
38040 done
38042 else
38044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
38045 $as_echo_n "checking for _fpclass declaration... " >&6; }
38046 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
38047 if ${glibcxx_cv_func__fpclass_use+:} false; then :
38048 $as_echo_n "(cached) " >&6
38049 else
38052 ac_ext=cpp
38053 ac_cpp='$CXXCPP $CPPFLAGS'
38054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38059 /* end confdefs.h. */
38060 #include <math.h>
38061 #ifdef HAVE_IEEEFP_H
38062 #include <ieeefp.h>
38063 #endif
38066 main ()
38068 _fpclass(0);
38070 return 0;
38072 _ACEOF
38073 if ac_fn_cxx_try_compile "$LINENO"; then :
38074 glibcxx_cv_func__fpclass_use=yes
38075 else
38076 glibcxx_cv_func__fpclass_use=no
38078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38079 ac_ext=c
38080 ac_cpp='$CPP $CPPFLAGS'
38081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
38090 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
38092 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
38093 for ac_func in _fpclass
38094 do :
38095 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
38096 if test "x$ac_cv_func__fpclass" = xyes; then :
38097 cat >>confdefs.h <<_ACEOF
38098 #define HAVE__FPCLASS 1
38099 _ACEOF
38102 done
38111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
38112 $as_echo_n "checking for qfpclass declaration... " >&6; }
38113 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
38114 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
38115 $as_echo_n "(cached) " >&6
38116 else
38119 ac_ext=cpp
38120 ac_cpp='$CXXCPP $CPPFLAGS'
38121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38126 /* end confdefs.h. */
38127 #include <math.h>
38128 #ifdef HAVE_IEEEFP_H
38129 #include <ieeefp.h>
38130 #endif
38133 main ()
38135 qfpclass(0);
38137 return 0;
38139 _ACEOF
38140 if ac_fn_cxx_try_compile "$LINENO"; then :
38141 glibcxx_cv_func_qfpclass_use=yes
38142 else
38143 glibcxx_cv_func_qfpclass_use=no
38145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38146 ac_ext=c
38147 ac_cpp='$CPP $CPPFLAGS'
38148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
38157 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
38159 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
38160 for ac_func in qfpclass
38161 do :
38162 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
38163 if test "x$ac_cv_func_qfpclass" = xyes; then :
38164 cat >>confdefs.h <<_ACEOF
38165 #define HAVE_QFPCLASS 1
38166 _ACEOF
38169 done
38171 else
38173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
38174 $as_echo_n "checking for _qfpclass declaration... " >&6; }
38175 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
38176 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
38177 $as_echo_n "(cached) " >&6
38178 else
38181 ac_ext=cpp
38182 ac_cpp='$CXXCPP $CPPFLAGS'
38183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38188 /* end confdefs.h. */
38189 #include <math.h>
38190 #ifdef HAVE_IEEEFP_H
38191 #include <ieeefp.h>
38192 #endif
38195 main ()
38197 _qfpclass(0);
38199 return 0;
38201 _ACEOF
38202 if ac_fn_cxx_try_compile "$LINENO"; then :
38203 glibcxx_cv_func__qfpclass_use=yes
38204 else
38205 glibcxx_cv_func__qfpclass_use=no
38207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38208 ac_ext=c
38209 ac_cpp='$CPP $CPPFLAGS'
38210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
38219 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
38221 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
38222 for ac_func in _qfpclass
38223 do :
38224 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
38225 if test "x$ac_cv_func__qfpclass" = xyes; then :
38226 cat >>confdefs.h <<_ACEOF
38227 #define HAVE__QFPCLASS 1
38228 _ACEOF
38231 done
38240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
38241 $as_echo_n "checking for hypot declaration... " >&6; }
38242 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
38243 if ${glibcxx_cv_func_hypot_use+:} false; then :
38244 $as_echo_n "(cached) " >&6
38245 else
38248 ac_ext=cpp
38249 ac_cpp='$CXXCPP $CPPFLAGS'
38250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38255 /* end confdefs.h. */
38256 #include <math.h>
38258 main ()
38260 hypot(0, 0);
38262 return 0;
38264 _ACEOF
38265 if ac_fn_cxx_try_compile "$LINENO"; then :
38266 glibcxx_cv_func_hypot_use=yes
38267 else
38268 glibcxx_cv_func_hypot_use=no
38270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38271 ac_ext=c
38272 ac_cpp='$CPP $CPPFLAGS'
38273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
38282 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
38284 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
38285 for ac_func in hypot
38286 do :
38287 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
38288 if test "x$ac_cv_func_hypot" = xyes; then :
38289 cat >>confdefs.h <<_ACEOF
38290 #define HAVE_HYPOT 1
38291 _ACEOF
38294 done
38296 else
38298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
38299 $as_echo_n "checking for _hypot declaration... " >&6; }
38300 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
38301 if ${glibcxx_cv_func__hypot_use+:} false; then :
38302 $as_echo_n "(cached) " >&6
38303 else
38306 ac_ext=cpp
38307 ac_cpp='$CXXCPP $CPPFLAGS'
38308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38313 /* end confdefs.h. */
38314 #include <math.h>
38316 main ()
38318 _hypot(0, 0);
38320 return 0;
38322 _ACEOF
38323 if ac_fn_cxx_try_compile "$LINENO"; then :
38324 glibcxx_cv_func__hypot_use=yes
38325 else
38326 glibcxx_cv_func__hypot_use=no
38328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38329 ac_ext=c
38330 ac_cpp='$CPP $CPPFLAGS'
38331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
38340 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
38342 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
38343 for ac_func in _hypot
38344 do :
38345 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
38346 if test "x$ac_cv_func__hypot" = xyes; then :
38347 cat >>confdefs.h <<_ACEOF
38348 #define HAVE__HYPOT 1
38349 _ACEOF
38352 done
38361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
38362 $as_echo_n "checking for float trig functions... " >&6; }
38363 if ${glibcxx_cv_func_float_trig_use+:} false; then :
38364 $as_echo_n "(cached) " >&6
38365 else
38368 ac_ext=cpp
38369 ac_cpp='$CXXCPP $CPPFLAGS'
38370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38375 /* end confdefs.h. */
38376 #include <math.h>
38378 main ()
38380 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
38382 return 0;
38384 _ACEOF
38385 if ac_fn_cxx_try_compile "$LINENO"; then :
38386 glibcxx_cv_func_float_trig_use=yes
38387 else
38388 glibcxx_cv_func_float_trig_use=no
38390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38391 ac_ext=c
38392 ac_cpp='$CPP $CPPFLAGS'
38393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
38400 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
38401 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
38402 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
38403 do :
38404 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38405 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38406 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38407 cat >>confdefs.h <<_ACEOF
38408 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38409 _ACEOF
38412 done
38414 else
38415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
38416 $as_echo_n "checking for _float trig functions... " >&6; }
38417 if ${glibcxx_cv_func__float_trig_use+:} false; then :
38418 $as_echo_n "(cached) " >&6
38419 else
38422 ac_ext=cpp
38423 ac_cpp='$CXXCPP $CPPFLAGS'
38424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38429 /* end confdefs.h. */
38430 #include <math.h>
38432 main ()
38434 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
38436 return 0;
38438 _ACEOF
38439 if ac_fn_cxx_try_compile "$LINENO"; then :
38440 glibcxx_cv_func__float_trig_use=yes
38441 else
38442 glibcxx_cv_func__float_trig_use=no
38444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38445 ac_ext=c
38446 ac_cpp='$CPP $CPPFLAGS'
38447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
38454 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
38455 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
38456 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
38457 do :
38458 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38459 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38460 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38461 cat >>confdefs.h <<_ACEOF
38462 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38463 _ACEOF
38466 done
38475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
38476 $as_echo_n "checking for float round functions... " >&6; }
38477 if ${glibcxx_cv_func_float_round_use+:} false; then :
38478 $as_echo_n "(cached) " >&6
38479 else
38482 ac_ext=cpp
38483 ac_cpp='$CXXCPP $CPPFLAGS'
38484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38489 /* end confdefs.h. */
38490 #include <math.h>
38492 main ()
38494 ceilf (0); floorf (0);
38496 return 0;
38498 _ACEOF
38499 if ac_fn_cxx_try_compile "$LINENO"; then :
38500 glibcxx_cv_func_float_round_use=yes
38501 else
38502 glibcxx_cv_func_float_round_use=no
38504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38505 ac_ext=c
38506 ac_cpp='$CPP $CPPFLAGS'
38507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
38514 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
38515 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
38516 for ac_func in ceilf floorf
38517 do :
38518 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38519 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38520 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38521 cat >>confdefs.h <<_ACEOF
38522 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38523 _ACEOF
38526 done
38528 else
38529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
38530 $as_echo_n "checking for _float round functions... " >&6; }
38531 if ${glibcxx_cv_func__float_round_use+:} false; then :
38532 $as_echo_n "(cached) " >&6
38533 else
38536 ac_ext=cpp
38537 ac_cpp='$CXXCPP $CPPFLAGS'
38538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38543 /* end confdefs.h. */
38544 #include <math.h>
38546 main ()
38548 _ceilf (0); _floorf (0);
38550 return 0;
38552 _ACEOF
38553 if ac_fn_cxx_try_compile "$LINENO"; then :
38554 glibcxx_cv_func__float_round_use=yes
38555 else
38556 glibcxx_cv_func__float_round_use=no
38558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38559 ac_ext=c
38560 ac_cpp='$CPP $CPPFLAGS'
38561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
38568 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
38569 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
38570 for ac_func in _ceilf _floorf
38571 do :
38572 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38573 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38574 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38575 cat >>confdefs.h <<_ACEOF
38576 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38577 _ACEOF
38580 done
38590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
38591 $as_echo_n "checking for expf declaration... " >&6; }
38592 if test x${glibcxx_cv_func_expf_use+set} != xset; then
38593 if ${glibcxx_cv_func_expf_use+:} false; then :
38594 $as_echo_n "(cached) " >&6
38595 else
38598 ac_ext=cpp
38599 ac_cpp='$CXXCPP $CPPFLAGS'
38600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38605 /* end confdefs.h. */
38606 #include <math.h>
38607 #ifdef HAVE_IEEEFP_H
38608 #include <ieeefp.h>
38609 #endif
38612 main ()
38614 expf(0);
38616 return 0;
38618 _ACEOF
38619 if ac_fn_cxx_try_compile "$LINENO"; then :
38620 glibcxx_cv_func_expf_use=yes
38621 else
38622 glibcxx_cv_func_expf_use=no
38624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38625 ac_ext=c
38626 ac_cpp='$CPP $CPPFLAGS'
38627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
38636 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
38638 if test x$glibcxx_cv_func_expf_use = x"yes"; then
38639 for ac_func in expf
38640 do :
38641 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
38642 if test "x$ac_cv_func_expf" = xyes; then :
38643 cat >>confdefs.h <<_ACEOF
38644 #define HAVE_EXPF 1
38645 _ACEOF
38648 done
38650 else
38652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
38653 $as_echo_n "checking for _expf declaration... " >&6; }
38654 if test x${glibcxx_cv_func__expf_use+set} != xset; then
38655 if ${glibcxx_cv_func__expf_use+:} false; then :
38656 $as_echo_n "(cached) " >&6
38657 else
38660 ac_ext=cpp
38661 ac_cpp='$CXXCPP $CPPFLAGS'
38662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38667 /* end confdefs.h. */
38668 #include <math.h>
38669 #ifdef HAVE_IEEEFP_H
38670 #include <ieeefp.h>
38671 #endif
38674 main ()
38676 _expf(0);
38678 return 0;
38680 _ACEOF
38681 if ac_fn_cxx_try_compile "$LINENO"; then :
38682 glibcxx_cv_func__expf_use=yes
38683 else
38684 glibcxx_cv_func__expf_use=no
38686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38687 ac_ext=c
38688 ac_cpp='$CPP $CPPFLAGS'
38689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
38698 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
38700 if test x$glibcxx_cv_func__expf_use = x"yes"; then
38701 for ac_func in _expf
38702 do :
38703 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
38704 if test "x$ac_cv_func__expf" = xyes; then :
38705 cat >>confdefs.h <<_ACEOF
38706 #define HAVE__EXPF 1
38707 _ACEOF
38710 done
38719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
38720 $as_echo_n "checking for isnanf declaration... " >&6; }
38721 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
38722 if ${glibcxx_cv_func_isnanf_use+:} false; then :
38723 $as_echo_n "(cached) " >&6
38724 else
38727 ac_ext=cpp
38728 ac_cpp='$CXXCPP $CPPFLAGS'
38729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38734 /* end confdefs.h. */
38735 #include <math.h>
38736 #ifdef HAVE_IEEEFP_H
38737 #include <ieeefp.h>
38738 #endif
38741 main ()
38743 isnanf(0);
38745 return 0;
38747 _ACEOF
38748 if ac_fn_cxx_try_compile "$LINENO"; then :
38749 glibcxx_cv_func_isnanf_use=yes
38750 else
38751 glibcxx_cv_func_isnanf_use=no
38753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38754 ac_ext=c
38755 ac_cpp='$CPP $CPPFLAGS'
38756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
38765 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
38767 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
38768 for ac_func in isnanf
38769 do :
38770 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
38771 if test "x$ac_cv_func_isnanf" = xyes; then :
38772 cat >>confdefs.h <<_ACEOF
38773 #define HAVE_ISNANF 1
38774 _ACEOF
38777 done
38779 else
38781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
38782 $as_echo_n "checking for _isnanf declaration... " >&6; }
38783 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
38784 if ${glibcxx_cv_func__isnanf_use+:} false; then :
38785 $as_echo_n "(cached) " >&6
38786 else
38789 ac_ext=cpp
38790 ac_cpp='$CXXCPP $CPPFLAGS'
38791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38796 /* end confdefs.h. */
38797 #include <math.h>
38798 #ifdef HAVE_IEEEFP_H
38799 #include <ieeefp.h>
38800 #endif
38803 main ()
38805 _isnanf(0);
38807 return 0;
38809 _ACEOF
38810 if ac_fn_cxx_try_compile "$LINENO"; then :
38811 glibcxx_cv_func__isnanf_use=yes
38812 else
38813 glibcxx_cv_func__isnanf_use=no
38815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38816 ac_ext=c
38817 ac_cpp='$CPP $CPPFLAGS'
38818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
38827 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
38829 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
38830 for ac_func in _isnanf
38831 do :
38832 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
38833 if test "x$ac_cv_func__isnanf" = xyes; then :
38834 cat >>confdefs.h <<_ACEOF
38835 #define HAVE__ISNANF 1
38836 _ACEOF
38839 done
38848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
38849 $as_echo_n "checking for isinff declaration... " >&6; }
38850 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
38851 if ${glibcxx_cv_func_isinff_use+:} false; then :
38852 $as_echo_n "(cached) " >&6
38853 else
38856 ac_ext=cpp
38857 ac_cpp='$CXXCPP $CPPFLAGS'
38858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38863 /* end confdefs.h. */
38864 #include <math.h>
38865 #ifdef HAVE_IEEEFP_H
38866 #include <ieeefp.h>
38867 #endif
38870 main ()
38872 isinff(0);
38874 return 0;
38876 _ACEOF
38877 if ac_fn_cxx_try_compile "$LINENO"; then :
38878 glibcxx_cv_func_isinff_use=yes
38879 else
38880 glibcxx_cv_func_isinff_use=no
38882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38883 ac_ext=c
38884 ac_cpp='$CPP $CPPFLAGS'
38885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
38894 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
38896 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
38897 for ac_func in isinff
38898 do :
38899 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
38900 if test "x$ac_cv_func_isinff" = xyes; then :
38901 cat >>confdefs.h <<_ACEOF
38902 #define HAVE_ISINFF 1
38903 _ACEOF
38906 done
38908 else
38910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
38911 $as_echo_n "checking for _isinff declaration... " >&6; }
38912 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
38913 if ${glibcxx_cv_func__isinff_use+:} false; then :
38914 $as_echo_n "(cached) " >&6
38915 else
38918 ac_ext=cpp
38919 ac_cpp='$CXXCPP $CPPFLAGS'
38920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38925 /* end confdefs.h. */
38926 #include <math.h>
38927 #ifdef HAVE_IEEEFP_H
38928 #include <ieeefp.h>
38929 #endif
38932 main ()
38934 _isinff(0);
38936 return 0;
38938 _ACEOF
38939 if ac_fn_cxx_try_compile "$LINENO"; then :
38940 glibcxx_cv_func__isinff_use=yes
38941 else
38942 glibcxx_cv_func__isinff_use=no
38944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38945 ac_ext=c
38946 ac_cpp='$CPP $CPPFLAGS'
38947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
38956 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
38958 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
38959 for ac_func in _isinff
38960 do :
38961 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
38962 if test "x$ac_cv_func__isinff" = xyes; then :
38963 cat >>confdefs.h <<_ACEOF
38964 #define HAVE__ISINFF 1
38965 _ACEOF
38968 done
38977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
38978 $as_echo_n "checking for atan2f declaration... " >&6; }
38979 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
38980 if ${glibcxx_cv_func_atan2f_use+:} false; then :
38981 $as_echo_n "(cached) " >&6
38982 else
38985 ac_ext=cpp
38986 ac_cpp='$CXXCPP $CPPFLAGS'
38987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38992 /* end confdefs.h. */
38993 #include <math.h>
38995 main ()
38997 atan2f(0, 0);
38999 return 0;
39001 _ACEOF
39002 if ac_fn_cxx_try_compile "$LINENO"; then :
39003 glibcxx_cv_func_atan2f_use=yes
39004 else
39005 glibcxx_cv_func_atan2f_use=no
39007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39008 ac_ext=c
39009 ac_cpp='$CPP $CPPFLAGS'
39010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
39019 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
39021 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
39022 for ac_func in atan2f
39023 do :
39024 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
39025 if test "x$ac_cv_func_atan2f" = xyes; then :
39026 cat >>confdefs.h <<_ACEOF
39027 #define HAVE_ATAN2F 1
39028 _ACEOF
39031 done
39033 else
39035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
39036 $as_echo_n "checking for _atan2f declaration... " >&6; }
39037 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
39038 if ${glibcxx_cv_func__atan2f_use+:} false; then :
39039 $as_echo_n "(cached) " >&6
39040 else
39043 ac_ext=cpp
39044 ac_cpp='$CXXCPP $CPPFLAGS'
39045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39050 /* end confdefs.h. */
39051 #include <math.h>
39053 main ()
39055 _atan2f(0, 0);
39057 return 0;
39059 _ACEOF
39060 if ac_fn_cxx_try_compile "$LINENO"; then :
39061 glibcxx_cv_func__atan2f_use=yes
39062 else
39063 glibcxx_cv_func__atan2f_use=no
39065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39066 ac_ext=c
39067 ac_cpp='$CPP $CPPFLAGS'
39068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
39077 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
39079 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
39080 for ac_func in _atan2f
39081 do :
39082 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
39083 if test "x$ac_cv_func__atan2f" = xyes; then :
39084 cat >>confdefs.h <<_ACEOF
39085 #define HAVE__ATAN2F 1
39086 _ACEOF
39089 done
39098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
39099 $as_echo_n "checking for fabsf declaration... " >&6; }
39100 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
39101 if ${glibcxx_cv_func_fabsf_use+:} false; then :
39102 $as_echo_n "(cached) " >&6
39103 else
39106 ac_ext=cpp
39107 ac_cpp='$CXXCPP $CPPFLAGS'
39108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39113 /* end confdefs.h. */
39114 #include <math.h>
39115 #ifdef HAVE_IEEEFP_H
39116 #include <ieeefp.h>
39117 #endif
39120 main ()
39122 fabsf(0);
39124 return 0;
39126 _ACEOF
39127 if ac_fn_cxx_try_compile "$LINENO"; then :
39128 glibcxx_cv_func_fabsf_use=yes
39129 else
39130 glibcxx_cv_func_fabsf_use=no
39132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39133 ac_ext=c
39134 ac_cpp='$CPP $CPPFLAGS'
39135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
39144 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
39146 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
39147 for ac_func in fabsf
39148 do :
39149 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
39150 if test "x$ac_cv_func_fabsf" = xyes; then :
39151 cat >>confdefs.h <<_ACEOF
39152 #define HAVE_FABSF 1
39153 _ACEOF
39156 done
39158 else
39160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
39161 $as_echo_n "checking for _fabsf declaration... " >&6; }
39162 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
39163 if ${glibcxx_cv_func__fabsf_use+:} false; then :
39164 $as_echo_n "(cached) " >&6
39165 else
39168 ac_ext=cpp
39169 ac_cpp='$CXXCPP $CPPFLAGS'
39170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39175 /* end confdefs.h. */
39176 #include <math.h>
39177 #ifdef HAVE_IEEEFP_H
39178 #include <ieeefp.h>
39179 #endif
39182 main ()
39184 _fabsf(0);
39186 return 0;
39188 _ACEOF
39189 if ac_fn_cxx_try_compile "$LINENO"; then :
39190 glibcxx_cv_func__fabsf_use=yes
39191 else
39192 glibcxx_cv_func__fabsf_use=no
39194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39195 ac_ext=c
39196 ac_cpp='$CPP $CPPFLAGS'
39197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
39206 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
39208 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
39209 for ac_func in _fabsf
39210 do :
39211 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
39212 if test "x$ac_cv_func__fabsf" = xyes; then :
39213 cat >>confdefs.h <<_ACEOF
39214 #define HAVE__FABSF 1
39215 _ACEOF
39218 done
39227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
39228 $as_echo_n "checking for fmodf declaration... " >&6; }
39229 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
39230 if ${glibcxx_cv_func_fmodf_use+:} false; then :
39231 $as_echo_n "(cached) " >&6
39232 else
39235 ac_ext=cpp
39236 ac_cpp='$CXXCPP $CPPFLAGS'
39237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39242 /* end confdefs.h. */
39243 #include <math.h>
39245 main ()
39247 fmodf(0, 0);
39249 return 0;
39251 _ACEOF
39252 if ac_fn_cxx_try_compile "$LINENO"; then :
39253 glibcxx_cv_func_fmodf_use=yes
39254 else
39255 glibcxx_cv_func_fmodf_use=no
39257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39258 ac_ext=c
39259 ac_cpp='$CPP $CPPFLAGS'
39260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
39269 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
39271 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
39272 for ac_func in fmodf
39273 do :
39274 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
39275 if test "x$ac_cv_func_fmodf" = xyes; then :
39276 cat >>confdefs.h <<_ACEOF
39277 #define HAVE_FMODF 1
39278 _ACEOF
39281 done
39283 else
39285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
39286 $as_echo_n "checking for _fmodf declaration... " >&6; }
39287 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
39288 if ${glibcxx_cv_func__fmodf_use+:} false; then :
39289 $as_echo_n "(cached) " >&6
39290 else
39293 ac_ext=cpp
39294 ac_cpp='$CXXCPP $CPPFLAGS'
39295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39300 /* end confdefs.h. */
39301 #include <math.h>
39303 main ()
39305 _fmodf(0, 0);
39307 return 0;
39309 _ACEOF
39310 if ac_fn_cxx_try_compile "$LINENO"; then :
39311 glibcxx_cv_func__fmodf_use=yes
39312 else
39313 glibcxx_cv_func__fmodf_use=no
39315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39316 ac_ext=c
39317 ac_cpp='$CPP $CPPFLAGS'
39318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
39327 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
39329 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
39330 for ac_func in _fmodf
39331 do :
39332 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
39333 if test "x$ac_cv_func__fmodf" = xyes; then :
39334 cat >>confdefs.h <<_ACEOF
39335 #define HAVE__FMODF 1
39336 _ACEOF
39339 done
39348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
39349 $as_echo_n "checking for frexpf declaration... " >&6; }
39350 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
39351 if ${glibcxx_cv_func_frexpf_use+:} false; then :
39352 $as_echo_n "(cached) " >&6
39353 else
39356 ac_ext=cpp
39357 ac_cpp='$CXXCPP $CPPFLAGS'
39358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39363 /* end confdefs.h. */
39364 #include <math.h>
39366 main ()
39368 frexpf(0, 0);
39370 return 0;
39372 _ACEOF
39373 if ac_fn_cxx_try_compile "$LINENO"; then :
39374 glibcxx_cv_func_frexpf_use=yes
39375 else
39376 glibcxx_cv_func_frexpf_use=no
39378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39379 ac_ext=c
39380 ac_cpp='$CPP $CPPFLAGS'
39381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
39390 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
39392 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
39393 for ac_func in frexpf
39394 do :
39395 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
39396 if test "x$ac_cv_func_frexpf" = xyes; then :
39397 cat >>confdefs.h <<_ACEOF
39398 #define HAVE_FREXPF 1
39399 _ACEOF
39402 done
39404 else
39406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
39407 $as_echo_n "checking for _frexpf declaration... " >&6; }
39408 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
39409 if ${glibcxx_cv_func__frexpf_use+:} false; then :
39410 $as_echo_n "(cached) " >&6
39411 else
39414 ac_ext=cpp
39415 ac_cpp='$CXXCPP $CPPFLAGS'
39416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39421 /* end confdefs.h. */
39422 #include <math.h>
39424 main ()
39426 _frexpf(0, 0);
39428 return 0;
39430 _ACEOF
39431 if ac_fn_cxx_try_compile "$LINENO"; then :
39432 glibcxx_cv_func__frexpf_use=yes
39433 else
39434 glibcxx_cv_func__frexpf_use=no
39436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39437 ac_ext=c
39438 ac_cpp='$CPP $CPPFLAGS'
39439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
39448 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
39450 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
39451 for ac_func in _frexpf
39452 do :
39453 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
39454 if test "x$ac_cv_func__frexpf" = xyes; then :
39455 cat >>confdefs.h <<_ACEOF
39456 #define HAVE__FREXPF 1
39457 _ACEOF
39460 done
39469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
39470 $as_echo_n "checking for hypotf declaration... " >&6; }
39471 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
39472 if ${glibcxx_cv_func_hypotf_use+:} false; then :
39473 $as_echo_n "(cached) " >&6
39474 else
39477 ac_ext=cpp
39478 ac_cpp='$CXXCPP $CPPFLAGS'
39479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39484 /* end confdefs.h. */
39485 #include <math.h>
39487 main ()
39489 hypotf(0, 0);
39491 return 0;
39493 _ACEOF
39494 if ac_fn_cxx_try_compile "$LINENO"; then :
39495 glibcxx_cv_func_hypotf_use=yes
39496 else
39497 glibcxx_cv_func_hypotf_use=no
39499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39500 ac_ext=c
39501 ac_cpp='$CPP $CPPFLAGS'
39502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
39511 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
39513 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
39514 for ac_func in hypotf
39515 do :
39516 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
39517 if test "x$ac_cv_func_hypotf" = xyes; then :
39518 cat >>confdefs.h <<_ACEOF
39519 #define HAVE_HYPOTF 1
39520 _ACEOF
39523 done
39525 else
39527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
39528 $as_echo_n "checking for _hypotf declaration... " >&6; }
39529 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
39530 if ${glibcxx_cv_func__hypotf_use+:} false; then :
39531 $as_echo_n "(cached) " >&6
39532 else
39535 ac_ext=cpp
39536 ac_cpp='$CXXCPP $CPPFLAGS'
39537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39542 /* end confdefs.h. */
39543 #include <math.h>
39545 main ()
39547 _hypotf(0, 0);
39549 return 0;
39551 _ACEOF
39552 if ac_fn_cxx_try_compile "$LINENO"; then :
39553 glibcxx_cv_func__hypotf_use=yes
39554 else
39555 glibcxx_cv_func__hypotf_use=no
39557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39558 ac_ext=c
39559 ac_cpp='$CPP $CPPFLAGS'
39560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
39569 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
39571 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
39572 for ac_func in _hypotf
39573 do :
39574 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
39575 if test "x$ac_cv_func__hypotf" = xyes; then :
39576 cat >>confdefs.h <<_ACEOF
39577 #define HAVE__HYPOTF 1
39578 _ACEOF
39581 done
39590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
39591 $as_echo_n "checking for ldexpf declaration... " >&6; }
39592 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
39593 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
39594 $as_echo_n "(cached) " >&6
39595 else
39598 ac_ext=cpp
39599 ac_cpp='$CXXCPP $CPPFLAGS'
39600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39605 /* end confdefs.h. */
39606 #include <math.h>
39608 main ()
39610 ldexpf(0, 0);
39612 return 0;
39614 _ACEOF
39615 if ac_fn_cxx_try_compile "$LINENO"; then :
39616 glibcxx_cv_func_ldexpf_use=yes
39617 else
39618 glibcxx_cv_func_ldexpf_use=no
39620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39621 ac_ext=c
39622 ac_cpp='$CPP $CPPFLAGS'
39623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
39632 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
39634 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
39635 for ac_func in ldexpf
39636 do :
39637 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
39638 if test "x$ac_cv_func_ldexpf" = xyes; then :
39639 cat >>confdefs.h <<_ACEOF
39640 #define HAVE_LDEXPF 1
39641 _ACEOF
39644 done
39646 else
39648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
39649 $as_echo_n "checking for _ldexpf declaration... " >&6; }
39650 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
39651 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
39652 $as_echo_n "(cached) " >&6
39653 else
39656 ac_ext=cpp
39657 ac_cpp='$CXXCPP $CPPFLAGS'
39658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39663 /* end confdefs.h. */
39664 #include <math.h>
39666 main ()
39668 _ldexpf(0, 0);
39670 return 0;
39672 _ACEOF
39673 if ac_fn_cxx_try_compile "$LINENO"; then :
39674 glibcxx_cv_func__ldexpf_use=yes
39675 else
39676 glibcxx_cv_func__ldexpf_use=no
39678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39679 ac_ext=c
39680 ac_cpp='$CPP $CPPFLAGS'
39681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
39690 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
39692 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
39693 for ac_func in _ldexpf
39694 do :
39695 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
39696 if test "x$ac_cv_func__ldexpf" = xyes; then :
39697 cat >>confdefs.h <<_ACEOF
39698 #define HAVE__LDEXPF 1
39699 _ACEOF
39702 done
39711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
39712 $as_echo_n "checking for logf declaration... " >&6; }
39713 if test x${glibcxx_cv_func_logf_use+set} != xset; then
39714 if ${glibcxx_cv_func_logf_use+:} false; then :
39715 $as_echo_n "(cached) " >&6
39716 else
39719 ac_ext=cpp
39720 ac_cpp='$CXXCPP $CPPFLAGS'
39721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39726 /* end confdefs.h. */
39727 #include <math.h>
39728 #ifdef HAVE_IEEEFP_H
39729 #include <ieeefp.h>
39730 #endif
39733 main ()
39735 logf(0);
39737 return 0;
39739 _ACEOF
39740 if ac_fn_cxx_try_compile "$LINENO"; then :
39741 glibcxx_cv_func_logf_use=yes
39742 else
39743 glibcxx_cv_func_logf_use=no
39745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39746 ac_ext=c
39747 ac_cpp='$CPP $CPPFLAGS'
39748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
39757 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
39759 if test x$glibcxx_cv_func_logf_use = x"yes"; then
39760 for ac_func in logf
39761 do :
39762 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
39763 if test "x$ac_cv_func_logf" = xyes; then :
39764 cat >>confdefs.h <<_ACEOF
39765 #define HAVE_LOGF 1
39766 _ACEOF
39769 done
39771 else
39773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
39774 $as_echo_n "checking for _logf declaration... " >&6; }
39775 if test x${glibcxx_cv_func__logf_use+set} != xset; then
39776 if ${glibcxx_cv_func__logf_use+:} false; then :
39777 $as_echo_n "(cached) " >&6
39778 else
39781 ac_ext=cpp
39782 ac_cpp='$CXXCPP $CPPFLAGS'
39783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39788 /* end confdefs.h. */
39789 #include <math.h>
39790 #ifdef HAVE_IEEEFP_H
39791 #include <ieeefp.h>
39792 #endif
39795 main ()
39797 _logf(0);
39799 return 0;
39801 _ACEOF
39802 if ac_fn_cxx_try_compile "$LINENO"; then :
39803 glibcxx_cv_func__logf_use=yes
39804 else
39805 glibcxx_cv_func__logf_use=no
39807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39808 ac_ext=c
39809 ac_cpp='$CPP $CPPFLAGS'
39810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
39819 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
39821 if test x$glibcxx_cv_func__logf_use = x"yes"; then
39822 for ac_func in _logf
39823 do :
39824 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
39825 if test "x$ac_cv_func__logf" = xyes; then :
39826 cat >>confdefs.h <<_ACEOF
39827 #define HAVE__LOGF 1
39828 _ACEOF
39831 done
39840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
39841 $as_echo_n "checking for log10f declaration... " >&6; }
39842 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
39843 if ${glibcxx_cv_func_log10f_use+:} false; then :
39844 $as_echo_n "(cached) " >&6
39845 else
39848 ac_ext=cpp
39849 ac_cpp='$CXXCPP $CPPFLAGS'
39850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39855 /* end confdefs.h. */
39856 #include <math.h>
39857 #ifdef HAVE_IEEEFP_H
39858 #include <ieeefp.h>
39859 #endif
39862 main ()
39864 log10f(0);
39866 return 0;
39868 _ACEOF
39869 if ac_fn_cxx_try_compile "$LINENO"; then :
39870 glibcxx_cv_func_log10f_use=yes
39871 else
39872 glibcxx_cv_func_log10f_use=no
39874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39875 ac_ext=c
39876 ac_cpp='$CPP $CPPFLAGS'
39877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
39886 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
39888 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
39889 for ac_func in log10f
39890 do :
39891 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
39892 if test "x$ac_cv_func_log10f" = xyes; then :
39893 cat >>confdefs.h <<_ACEOF
39894 #define HAVE_LOG10F 1
39895 _ACEOF
39898 done
39900 else
39902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
39903 $as_echo_n "checking for _log10f declaration... " >&6; }
39904 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
39905 if ${glibcxx_cv_func__log10f_use+:} false; then :
39906 $as_echo_n "(cached) " >&6
39907 else
39910 ac_ext=cpp
39911 ac_cpp='$CXXCPP $CPPFLAGS'
39912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39917 /* end confdefs.h. */
39918 #include <math.h>
39919 #ifdef HAVE_IEEEFP_H
39920 #include <ieeefp.h>
39921 #endif
39924 main ()
39926 _log10f(0);
39928 return 0;
39930 _ACEOF
39931 if ac_fn_cxx_try_compile "$LINENO"; then :
39932 glibcxx_cv_func__log10f_use=yes
39933 else
39934 glibcxx_cv_func__log10f_use=no
39936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39937 ac_ext=c
39938 ac_cpp='$CPP $CPPFLAGS'
39939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
39948 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
39950 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
39951 for ac_func in _log10f
39952 do :
39953 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
39954 if test "x$ac_cv_func__log10f" = xyes; then :
39955 cat >>confdefs.h <<_ACEOF
39956 #define HAVE__LOG10F 1
39957 _ACEOF
39960 done
39969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
39970 $as_echo_n "checking for modff declaration... " >&6; }
39971 if test x${glibcxx_cv_func_modff_use+set} != xset; then
39972 if ${glibcxx_cv_func_modff_use+:} false; then :
39973 $as_echo_n "(cached) " >&6
39974 else
39977 ac_ext=cpp
39978 ac_cpp='$CXXCPP $CPPFLAGS'
39979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39984 /* end confdefs.h. */
39985 #include <math.h>
39987 main ()
39989 modff(0, 0);
39991 return 0;
39993 _ACEOF
39994 if ac_fn_cxx_try_compile "$LINENO"; then :
39995 glibcxx_cv_func_modff_use=yes
39996 else
39997 glibcxx_cv_func_modff_use=no
39999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40000 ac_ext=c
40001 ac_cpp='$CPP $CPPFLAGS'
40002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
40011 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
40013 if test x$glibcxx_cv_func_modff_use = x"yes"; then
40014 for ac_func in modff
40015 do :
40016 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
40017 if test "x$ac_cv_func_modff" = xyes; then :
40018 cat >>confdefs.h <<_ACEOF
40019 #define HAVE_MODFF 1
40020 _ACEOF
40023 done
40025 else
40027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
40028 $as_echo_n "checking for _modff declaration... " >&6; }
40029 if test x${glibcxx_cv_func__modff_use+set} != xset; then
40030 if ${glibcxx_cv_func__modff_use+:} false; then :
40031 $as_echo_n "(cached) " >&6
40032 else
40035 ac_ext=cpp
40036 ac_cpp='$CXXCPP $CPPFLAGS'
40037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40042 /* end confdefs.h. */
40043 #include <math.h>
40045 main ()
40047 _modff(0, 0);
40049 return 0;
40051 _ACEOF
40052 if ac_fn_cxx_try_compile "$LINENO"; then :
40053 glibcxx_cv_func__modff_use=yes
40054 else
40055 glibcxx_cv_func__modff_use=no
40057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40058 ac_ext=c
40059 ac_cpp='$CPP $CPPFLAGS'
40060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
40069 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
40071 if test x$glibcxx_cv_func__modff_use = x"yes"; then
40072 for ac_func in _modff
40073 do :
40074 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
40075 if test "x$ac_cv_func__modff" = xyes; then :
40076 cat >>confdefs.h <<_ACEOF
40077 #define HAVE__MODFF 1
40078 _ACEOF
40081 done
40090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
40091 $as_echo_n "checking for modf declaration... " >&6; }
40092 if test x${glibcxx_cv_func_modf_use+set} != xset; then
40093 if ${glibcxx_cv_func_modf_use+:} false; then :
40094 $as_echo_n "(cached) " >&6
40095 else
40098 ac_ext=cpp
40099 ac_cpp='$CXXCPP $CPPFLAGS'
40100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40105 /* end confdefs.h. */
40106 #include <math.h>
40108 main ()
40110 modf(0, 0);
40112 return 0;
40114 _ACEOF
40115 if ac_fn_cxx_try_compile "$LINENO"; then :
40116 glibcxx_cv_func_modf_use=yes
40117 else
40118 glibcxx_cv_func_modf_use=no
40120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40121 ac_ext=c
40122 ac_cpp='$CPP $CPPFLAGS'
40123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
40132 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
40134 if test x$glibcxx_cv_func_modf_use = x"yes"; then
40135 for ac_func in modf
40136 do :
40137 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
40138 if test "x$ac_cv_func_modf" = xyes; then :
40139 cat >>confdefs.h <<_ACEOF
40140 #define HAVE_MODF 1
40141 _ACEOF
40144 done
40146 else
40148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
40149 $as_echo_n "checking for _modf declaration... " >&6; }
40150 if test x${glibcxx_cv_func__modf_use+set} != xset; then
40151 if ${glibcxx_cv_func__modf_use+:} false; then :
40152 $as_echo_n "(cached) " >&6
40153 else
40156 ac_ext=cpp
40157 ac_cpp='$CXXCPP $CPPFLAGS'
40158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40163 /* end confdefs.h. */
40164 #include <math.h>
40166 main ()
40168 _modf(0, 0);
40170 return 0;
40172 _ACEOF
40173 if ac_fn_cxx_try_compile "$LINENO"; then :
40174 glibcxx_cv_func__modf_use=yes
40175 else
40176 glibcxx_cv_func__modf_use=no
40178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40179 ac_ext=c
40180 ac_cpp='$CPP $CPPFLAGS'
40181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
40190 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
40192 if test x$glibcxx_cv_func__modf_use = x"yes"; then
40193 for ac_func in _modf
40194 do :
40195 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
40196 if test "x$ac_cv_func__modf" = xyes; then :
40197 cat >>confdefs.h <<_ACEOF
40198 #define HAVE__MODF 1
40199 _ACEOF
40202 done
40211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
40212 $as_echo_n "checking for powf declaration... " >&6; }
40213 if test x${glibcxx_cv_func_powf_use+set} != xset; then
40214 if ${glibcxx_cv_func_powf_use+:} false; then :
40215 $as_echo_n "(cached) " >&6
40216 else
40219 ac_ext=cpp
40220 ac_cpp='$CXXCPP $CPPFLAGS'
40221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40226 /* end confdefs.h. */
40227 #include <math.h>
40229 main ()
40231 powf(0, 0);
40233 return 0;
40235 _ACEOF
40236 if ac_fn_cxx_try_compile "$LINENO"; then :
40237 glibcxx_cv_func_powf_use=yes
40238 else
40239 glibcxx_cv_func_powf_use=no
40241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40242 ac_ext=c
40243 ac_cpp='$CPP $CPPFLAGS'
40244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
40253 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
40255 if test x$glibcxx_cv_func_powf_use = x"yes"; then
40256 for ac_func in powf
40257 do :
40258 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
40259 if test "x$ac_cv_func_powf" = xyes; then :
40260 cat >>confdefs.h <<_ACEOF
40261 #define HAVE_POWF 1
40262 _ACEOF
40265 done
40267 else
40269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
40270 $as_echo_n "checking for _powf declaration... " >&6; }
40271 if test x${glibcxx_cv_func__powf_use+set} != xset; then
40272 if ${glibcxx_cv_func__powf_use+:} false; then :
40273 $as_echo_n "(cached) " >&6
40274 else
40277 ac_ext=cpp
40278 ac_cpp='$CXXCPP $CPPFLAGS'
40279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40284 /* end confdefs.h. */
40285 #include <math.h>
40287 main ()
40289 _powf(0, 0);
40291 return 0;
40293 _ACEOF
40294 if ac_fn_cxx_try_compile "$LINENO"; then :
40295 glibcxx_cv_func__powf_use=yes
40296 else
40297 glibcxx_cv_func__powf_use=no
40299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40300 ac_ext=c
40301 ac_cpp='$CPP $CPPFLAGS'
40302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
40311 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
40313 if test x$glibcxx_cv_func__powf_use = x"yes"; then
40314 for ac_func in _powf
40315 do :
40316 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
40317 if test "x$ac_cv_func__powf" = xyes; then :
40318 cat >>confdefs.h <<_ACEOF
40319 #define HAVE__POWF 1
40320 _ACEOF
40323 done
40332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
40333 $as_echo_n "checking for sqrtf declaration... " >&6; }
40334 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
40335 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
40336 $as_echo_n "(cached) " >&6
40337 else
40340 ac_ext=cpp
40341 ac_cpp='$CXXCPP $CPPFLAGS'
40342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40347 /* end confdefs.h. */
40348 #include <math.h>
40349 #ifdef HAVE_IEEEFP_H
40350 #include <ieeefp.h>
40351 #endif
40354 main ()
40356 sqrtf(0);
40358 return 0;
40360 _ACEOF
40361 if ac_fn_cxx_try_compile "$LINENO"; then :
40362 glibcxx_cv_func_sqrtf_use=yes
40363 else
40364 glibcxx_cv_func_sqrtf_use=no
40366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40367 ac_ext=c
40368 ac_cpp='$CPP $CPPFLAGS'
40369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
40378 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
40380 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
40381 for ac_func in sqrtf
40382 do :
40383 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
40384 if test "x$ac_cv_func_sqrtf" = xyes; then :
40385 cat >>confdefs.h <<_ACEOF
40386 #define HAVE_SQRTF 1
40387 _ACEOF
40390 done
40392 else
40394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
40395 $as_echo_n "checking for _sqrtf declaration... " >&6; }
40396 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
40397 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
40398 $as_echo_n "(cached) " >&6
40399 else
40402 ac_ext=cpp
40403 ac_cpp='$CXXCPP $CPPFLAGS'
40404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40409 /* end confdefs.h. */
40410 #include <math.h>
40411 #ifdef HAVE_IEEEFP_H
40412 #include <ieeefp.h>
40413 #endif
40416 main ()
40418 _sqrtf(0);
40420 return 0;
40422 _ACEOF
40423 if ac_fn_cxx_try_compile "$LINENO"; then :
40424 glibcxx_cv_func__sqrtf_use=yes
40425 else
40426 glibcxx_cv_func__sqrtf_use=no
40428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40429 ac_ext=c
40430 ac_cpp='$CPP $CPPFLAGS'
40431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
40440 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
40442 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
40443 for ac_func in _sqrtf
40444 do :
40445 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
40446 if test "x$ac_cv_func__sqrtf" = xyes; then :
40447 cat >>confdefs.h <<_ACEOF
40448 #define HAVE__SQRTF 1
40449 _ACEOF
40452 done
40461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
40462 $as_echo_n "checking for sincosf declaration... " >&6; }
40463 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
40464 if ${glibcxx_cv_func_sincosf_use+:} false; then :
40465 $as_echo_n "(cached) " >&6
40466 else
40469 ac_ext=cpp
40470 ac_cpp='$CXXCPP $CPPFLAGS'
40471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40476 /* end confdefs.h. */
40477 #include <math.h>
40479 main ()
40481 sincosf(0, 0, 0);
40483 return 0;
40485 _ACEOF
40486 if ac_fn_cxx_try_compile "$LINENO"; then :
40487 glibcxx_cv_func_sincosf_use=yes
40488 else
40489 glibcxx_cv_func_sincosf_use=no
40491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40492 ac_ext=c
40493 ac_cpp='$CPP $CPPFLAGS'
40494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
40503 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
40505 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
40506 for ac_func in sincosf
40507 do :
40508 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
40509 if test "x$ac_cv_func_sincosf" = xyes; then :
40510 cat >>confdefs.h <<_ACEOF
40511 #define HAVE_SINCOSF 1
40512 _ACEOF
40515 done
40517 else
40519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
40520 $as_echo_n "checking for _sincosf declaration... " >&6; }
40521 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
40522 if ${glibcxx_cv_func__sincosf_use+:} false; then :
40523 $as_echo_n "(cached) " >&6
40524 else
40527 ac_ext=cpp
40528 ac_cpp='$CXXCPP $CPPFLAGS'
40529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40534 /* end confdefs.h. */
40535 #include <math.h>
40537 main ()
40539 _sincosf(0, 0, 0);
40541 return 0;
40543 _ACEOF
40544 if ac_fn_cxx_try_compile "$LINENO"; then :
40545 glibcxx_cv_func__sincosf_use=yes
40546 else
40547 glibcxx_cv_func__sincosf_use=no
40549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40550 ac_ext=c
40551 ac_cpp='$CPP $CPPFLAGS'
40552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
40561 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
40563 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
40564 for ac_func in _sincosf
40565 do :
40566 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
40567 if test "x$ac_cv_func__sincosf" = xyes; then :
40568 cat >>confdefs.h <<_ACEOF
40569 #define HAVE__SINCOSF 1
40570 _ACEOF
40573 done
40582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
40583 $as_echo_n "checking for finitef declaration... " >&6; }
40584 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
40585 if ${glibcxx_cv_func_finitef_use+:} false; then :
40586 $as_echo_n "(cached) " >&6
40587 else
40590 ac_ext=cpp
40591 ac_cpp='$CXXCPP $CPPFLAGS'
40592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40597 /* end confdefs.h. */
40598 #include <math.h>
40599 #ifdef HAVE_IEEEFP_H
40600 #include <ieeefp.h>
40601 #endif
40604 main ()
40606 finitef(0);
40608 return 0;
40610 _ACEOF
40611 if ac_fn_cxx_try_compile "$LINENO"; then :
40612 glibcxx_cv_func_finitef_use=yes
40613 else
40614 glibcxx_cv_func_finitef_use=no
40616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40617 ac_ext=c
40618 ac_cpp='$CPP $CPPFLAGS'
40619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
40628 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
40630 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
40631 for ac_func in finitef
40632 do :
40633 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
40634 if test "x$ac_cv_func_finitef" = xyes; then :
40635 cat >>confdefs.h <<_ACEOF
40636 #define HAVE_FINITEF 1
40637 _ACEOF
40640 done
40642 else
40644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
40645 $as_echo_n "checking for _finitef declaration... " >&6; }
40646 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
40647 if ${glibcxx_cv_func__finitef_use+:} false; then :
40648 $as_echo_n "(cached) " >&6
40649 else
40652 ac_ext=cpp
40653 ac_cpp='$CXXCPP $CPPFLAGS'
40654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40659 /* end confdefs.h. */
40660 #include <math.h>
40661 #ifdef HAVE_IEEEFP_H
40662 #include <ieeefp.h>
40663 #endif
40666 main ()
40668 _finitef(0);
40670 return 0;
40672 _ACEOF
40673 if ac_fn_cxx_try_compile "$LINENO"; then :
40674 glibcxx_cv_func__finitef_use=yes
40675 else
40676 glibcxx_cv_func__finitef_use=no
40678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40679 ac_ext=c
40680 ac_cpp='$CPP $CPPFLAGS'
40681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
40690 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
40692 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
40693 for ac_func in _finitef
40694 do :
40695 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
40696 if test "x$ac_cv_func__finitef" = xyes; then :
40697 cat >>confdefs.h <<_ACEOF
40698 #define HAVE__FINITEF 1
40699 _ACEOF
40702 done
40711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
40712 $as_echo_n "checking for long double trig functions... " >&6; }
40713 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
40714 $as_echo_n "(cached) " >&6
40715 else
40718 ac_ext=cpp
40719 ac_cpp='$CXXCPP $CPPFLAGS'
40720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40725 /* end confdefs.h. */
40726 #include <math.h>
40728 main ()
40730 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
40732 return 0;
40734 _ACEOF
40735 if ac_fn_cxx_try_compile "$LINENO"; then :
40736 glibcxx_cv_func_long_double_trig_use=yes
40737 else
40738 glibcxx_cv_func_long_double_trig_use=no
40740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40741 ac_ext=c
40742 ac_cpp='$CPP $CPPFLAGS'
40743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
40750 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
40751 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
40752 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
40753 do :
40754 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40755 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40756 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
40757 cat >>confdefs.h <<_ACEOF
40758 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40759 _ACEOF
40762 done
40764 else
40765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
40766 $as_echo_n "checking for _long double trig functions... " >&6; }
40767 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
40768 $as_echo_n "(cached) " >&6
40769 else
40772 ac_ext=cpp
40773 ac_cpp='$CXXCPP $CPPFLAGS'
40774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40779 /* end confdefs.h. */
40780 #include <math.h>
40782 main ()
40784 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
40786 return 0;
40788 _ACEOF
40789 if ac_fn_cxx_try_compile "$LINENO"; then :
40790 glibcxx_cv_func__long_double_trig_use=yes
40791 else
40792 glibcxx_cv_func__long_double_trig_use=no
40794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40795 ac_ext=c
40796 ac_cpp='$CPP $CPPFLAGS'
40797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
40804 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
40805 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
40806 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
40807 do :
40808 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40809 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40810 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
40811 cat >>confdefs.h <<_ACEOF
40812 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40813 _ACEOF
40816 done
40825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
40826 $as_echo_n "checking for long double round functions... " >&6; }
40827 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
40828 $as_echo_n "(cached) " >&6
40829 else
40832 ac_ext=cpp
40833 ac_cpp='$CXXCPP $CPPFLAGS'
40834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40839 /* end confdefs.h. */
40840 #include <math.h>
40842 main ()
40844 ceill (0); floorl (0);
40846 return 0;
40848 _ACEOF
40849 if ac_fn_cxx_try_compile "$LINENO"; then :
40850 glibcxx_cv_func_long_double_round_use=yes
40851 else
40852 glibcxx_cv_func_long_double_round_use=no
40854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40855 ac_ext=c
40856 ac_cpp='$CPP $CPPFLAGS'
40857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
40864 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
40865 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
40866 for ac_func in ceill floorl
40867 do :
40868 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40869 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40870 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
40871 cat >>confdefs.h <<_ACEOF
40872 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40873 _ACEOF
40876 done
40878 else
40879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
40880 $as_echo_n "checking for _long double round functions... " >&6; }
40881 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
40882 $as_echo_n "(cached) " >&6
40883 else
40886 ac_ext=cpp
40887 ac_cpp='$CXXCPP $CPPFLAGS'
40888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40893 /* end confdefs.h. */
40894 #include <math.h>
40896 main ()
40898 _ceill (0); _floorl (0);
40900 return 0;
40902 _ACEOF
40903 if ac_fn_cxx_try_compile "$LINENO"; then :
40904 glibcxx_cv_func__long_double_round_use=yes
40905 else
40906 glibcxx_cv_func__long_double_round_use=no
40908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40909 ac_ext=c
40910 ac_cpp='$CPP $CPPFLAGS'
40911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
40918 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
40919 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
40920 for ac_func in _ceill _floorl
40921 do :
40922 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40923 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40924 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
40925 cat >>confdefs.h <<_ACEOF
40926 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40927 _ACEOF
40930 done
40940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
40941 $as_echo_n "checking for isnanl declaration... " >&6; }
40942 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
40943 if ${glibcxx_cv_func_isnanl_use+:} false; then :
40944 $as_echo_n "(cached) " >&6
40945 else
40948 ac_ext=cpp
40949 ac_cpp='$CXXCPP $CPPFLAGS'
40950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40955 /* end confdefs.h. */
40956 #include <math.h>
40957 #ifdef HAVE_IEEEFP_H
40958 #include <ieeefp.h>
40959 #endif
40962 main ()
40964 isnanl(0);
40966 return 0;
40968 _ACEOF
40969 if ac_fn_cxx_try_compile "$LINENO"; then :
40970 glibcxx_cv_func_isnanl_use=yes
40971 else
40972 glibcxx_cv_func_isnanl_use=no
40974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40975 ac_ext=c
40976 ac_cpp='$CPP $CPPFLAGS'
40977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
40986 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
40988 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
40989 for ac_func in isnanl
40990 do :
40991 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
40992 if test "x$ac_cv_func_isnanl" = xyes; then :
40993 cat >>confdefs.h <<_ACEOF
40994 #define HAVE_ISNANL 1
40995 _ACEOF
40998 done
41000 else
41002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
41003 $as_echo_n "checking for _isnanl declaration... " >&6; }
41004 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
41005 if ${glibcxx_cv_func__isnanl_use+:} false; then :
41006 $as_echo_n "(cached) " >&6
41007 else
41010 ac_ext=cpp
41011 ac_cpp='$CXXCPP $CPPFLAGS'
41012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41017 /* end confdefs.h. */
41018 #include <math.h>
41019 #ifdef HAVE_IEEEFP_H
41020 #include <ieeefp.h>
41021 #endif
41024 main ()
41026 _isnanl(0);
41028 return 0;
41030 _ACEOF
41031 if ac_fn_cxx_try_compile "$LINENO"; then :
41032 glibcxx_cv_func__isnanl_use=yes
41033 else
41034 glibcxx_cv_func__isnanl_use=no
41036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41037 ac_ext=c
41038 ac_cpp='$CPP $CPPFLAGS'
41039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
41048 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
41050 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
41051 for ac_func in _isnanl
41052 do :
41053 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
41054 if test "x$ac_cv_func__isnanl" = xyes; then :
41055 cat >>confdefs.h <<_ACEOF
41056 #define HAVE__ISNANL 1
41057 _ACEOF
41060 done
41069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
41070 $as_echo_n "checking for isinfl declaration... " >&6; }
41071 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
41072 if ${glibcxx_cv_func_isinfl_use+:} false; then :
41073 $as_echo_n "(cached) " >&6
41074 else
41077 ac_ext=cpp
41078 ac_cpp='$CXXCPP $CPPFLAGS'
41079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41084 /* end confdefs.h. */
41085 #include <math.h>
41086 #ifdef HAVE_IEEEFP_H
41087 #include <ieeefp.h>
41088 #endif
41091 main ()
41093 isinfl(0);
41095 return 0;
41097 _ACEOF
41098 if ac_fn_cxx_try_compile "$LINENO"; then :
41099 glibcxx_cv_func_isinfl_use=yes
41100 else
41101 glibcxx_cv_func_isinfl_use=no
41103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41104 ac_ext=c
41105 ac_cpp='$CPP $CPPFLAGS'
41106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
41115 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
41117 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
41118 for ac_func in isinfl
41119 do :
41120 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
41121 if test "x$ac_cv_func_isinfl" = xyes; then :
41122 cat >>confdefs.h <<_ACEOF
41123 #define HAVE_ISINFL 1
41124 _ACEOF
41127 done
41129 else
41131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
41132 $as_echo_n "checking for _isinfl declaration... " >&6; }
41133 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
41134 if ${glibcxx_cv_func__isinfl_use+:} false; then :
41135 $as_echo_n "(cached) " >&6
41136 else
41139 ac_ext=cpp
41140 ac_cpp='$CXXCPP $CPPFLAGS'
41141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41146 /* end confdefs.h. */
41147 #include <math.h>
41148 #ifdef HAVE_IEEEFP_H
41149 #include <ieeefp.h>
41150 #endif
41153 main ()
41155 _isinfl(0);
41157 return 0;
41159 _ACEOF
41160 if ac_fn_cxx_try_compile "$LINENO"; then :
41161 glibcxx_cv_func__isinfl_use=yes
41162 else
41163 glibcxx_cv_func__isinfl_use=no
41165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41166 ac_ext=c
41167 ac_cpp='$CPP $CPPFLAGS'
41168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
41177 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
41179 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
41180 for ac_func in _isinfl
41181 do :
41182 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
41183 if test "x$ac_cv_func__isinfl" = xyes; then :
41184 cat >>confdefs.h <<_ACEOF
41185 #define HAVE__ISINFL 1
41186 _ACEOF
41189 done
41198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
41199 $as_echo_n "checking for atan2l declaration... " >&6; }
41200 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
41201 if ${glibcxx_cv_func_atan2l_use+:} false; then :
41202 $as_echo_n "(cached) " >&6
41203 else
41206 ac_ext=cpp
41207 ac_cpp='$CXXCPP $CPPFLAGS'
41208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41213 /* end confdefs.h. */
41214 #include <math.h>
41216 main ()
41218 atan2l(0, 0);
41220 return 0;
41222 _ACEOF
41223 if ac_fn_cxx_try_compile "$LINENO"; then :
41224 glibcxx_cv_func_atan2l_use=yes
41225 else
41226 glibcxx_cv_func_atan2l_use=no
41228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41229 ac_ext=c
41230 ac_cpp='$CPP $CPPFLAGS'
41231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
41240 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
41242 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
41243 for ac_func in atan2l
41244 do :
41245 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
41246 if test "x$ac_cv_func_atan2l" = xyes; then :
41247 cat >>confdefs.h <<_ACEOF
41248 #define HAVE_ATAN2L 1
41249 _ACEOF
41252 done
41254 else
41256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
41257 $as_echo_n "checking for _atan2l declaration... " >&6; }
41258 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
41259 if ${glibcxx_cv_func__atan2l_use+:} false; then :
41260 $as_echo_n "(cached) " >&6
41261 else
41264 ac_ext=cpp
41265 ac_cpp='$CXXCPP $CPPFLAGS'
41266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41271 /* end confdefs.h. */
41272 #include <math.h>
41274 main ()
41276 _atan2l(0, 0);
41278 return 0;
41280 _ACEOF
41281 if ac_fn_cxx_try_compile "$LINENO"; then :
41282 glibcxx_cv_func__atan2l_use=yes
41283 else
41284 glibcxx_cv_func__atan2l_use=no
41286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41287 ac_ext=c
41288 ac_cpp='$CPP $CPPFLAGS'
41289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
41298 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
41300 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
41301 for ac_func in _atan2l
41302 do :
41303 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
41304 if test "x$ac_cv_func__atan2l" = xyes; then :
41305 cat >>confdefs.h <<_ACEOF
41306 #define HAVE__ATAN2L 1
41307 _ACEOF
41310 done
41319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
41320 $as_echo_n "checking for expl declaration... " >&6; }
41321 if test x${glibcxx_cv_func_expl_use+set} != xset; then
41322 if ${glibcxx_cv_func_expl_use+:} false; then :
41323 $as_echo_n "(cached) " >&6
41324 else
41327 ac_ext=cpp
41328 ac_cpp='$CXXCPP $CPPFLAGS'
41329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41334 /* end confdefs.h. */
41335 #include <math.h>
41336 #ifdef HAVE_IEEEFP_H
41337 #include <ieeefp.h>
41338 #endif
41341 main ()
41343 expl(0);
41345 return 0;
41347 _ACEOF
41348 if ac_fn_cxx_try_compile "$LINENO"; then :
41349 glibcxx_cv_func_expl_use=yes
41350 else
41351 glibcxx_cv_func_expl_use=no
41353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41354 ac_ext=c
41355 ac_cpp='$CPP $CPPFLAGS'
41356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
41365 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
41367 if test x$glibcxx_cv_func_expl_use = x"yes"; then
41368 for ac_func in expl
41369 do :
41370 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
41371 if test "x$ac_cv_func_expl" = xyes; then :
41372 cat >>confdefs.h <<_ACEOF
41373 #define HAVE_EXPL 1
41374 _ACEOF
41377 done
41379 else
41381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
41382 $as_echo_n "checking for _expl declaration... " >&6; }
41383 if test x${glibcxx_cv_func__expl_use+set} != xset; then
41384 if ${glibcxx_cv_func__expl_use+:} false; then :
41385 $as_echo_n "(cached) " >&6
41386 else
41389 ac_ext=cpp
41390 ac_cpp='$CXXCPP $CPPFLAGS'
41391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41396 /* end confdefs.h. */
41397 #include <math.h>
41398 #ifdef HAVE_IEEEFP_H
41399 #include <ieeefp.h>
41400 #endif
41403 main ()
41405 _expl(0);
41407 return 0;
41409 _ACEOF
41410 if ac_fn_cxx_try_compile "$LINENO"; then :
41411 glibcxx_cv_func__expl_use=yes
41412 else
41413 glibcxx_cv_func__expl_use=no
41415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41416 ac_ext=c
41417 ac_cpp='$CPP $CPPFLAGS'
41418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
41427 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
41429 if test x$glibcxx_cv_func__expl_use = x"yes"; then
41430 for ac_func in _expl
41431 do :
41432 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
41433 if test "x$ac_cv_func__expl" = xyes; then :
41434 cat >>confdefs.h <<_ACEOF
41435 #define HAVE__EXPL 1
41436 _ACEOF
41439 done
41448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
41449 $as_echo_n "checking for fabsl declaration... " >&6; }
41450 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
41451 if ${glibcxx_cv_func_fabsl_use+:} false; then :
41452 $as_echo_n "(cached) " >&6
41453 else
41456 ac_ext=cpp
41457 ac_cpp='$CXXCPP $CPPFLAGS'
41458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41463 /* end confdefs.h. */
41464 #include <math.h>
41465 #ifdef HAVE_IEEEFP_H
41466 #include <ieeefp.h>
41467 #endif
41470 main ()
41472 fabsl(0);
41474 return 0;
41476 _ACEOF
41477 if ac_fn_cxx_try_compile "$LINENO"; then :
41478 glibcxx_cv_func_fabsl_use=yes
41479 else
41480 glibcxx_cv_func_fabsl_use=no
41482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41483 ac_ext=c
41484 ac_cpp='$CPP $CPPFLAGS'
41485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
41494 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
41496 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
41497 for ac_func in fabsl
41498 do :
41499 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
41500 if test "x$ac_cv_func_fabsl" = xyes; then :
41501 cat >>confdefs.h <<_ACEOF
41502 #define HAVE_FABSL 1
41503 _ACEOF
41506 done
41508 else
41510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
41511 $as_echo_n "checking for _fabsl declaration... " >&6; }
41512 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
41513 if ${glibcxx_cv_func__fabsl_use+:} false; then :
41514 $as_echo_n "(cached) " >&6
41515 else
41518 ac_ext=cpp
41519 ac_cpp='$CXXCPP $CPPFLAGS'
41520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41525 /* end confdefs.h. */
41526 #include <math.h>
41527 #ifdef HAVE_IEEEFP_H
41528 #include <ieeefp.h>
41529 #endif
41532 main ()
41534 _fabsl(0);
41536 return 0;
41538 _ACEOF
41539 if ac_fn_cxx_try_compile "$LINENO"; then :
41540 glibcxx_cv_func__fabsl_use=yes
41541 else
41542 glibcxx_cv_func__fabsl_use=no
41544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41545 ac_ext=c
41546 ac_cpp='$CPP $CPPFLAGS'
41547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
41556 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
41558 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
41559 for ac_func in _fabsl
41560 do :
41561 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
41562 if test "x$ac_cv_func__fabsl" = xyes; then :
41563 cat >>confdefs.h <<_ACEOF
41564 #define HAVE__FABSL 1
41565 _ACEOF
41568 done
41577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
41578 $as_echo_n "checking for fmodl declaration... " >&6; }
41579 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
41580 if ${glibcxx_cv_func_fmodl_use+:} false; then :
41581 $as_echo_n "(cached) " >&6
41582 else
41585 ac_ext=cpp
41586 ac_cpp='$CXXCPP $CPPFLAGS'
41587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41592 /* end confdefs.h. */
41593 #include <math.h>
41595 main ()
41597 fmodl(0, 0);
41599 return 0;
41601 _ACEOF
41602 if ac_fn_cxx_try_compile "$LINENO"; then :
41603 glibcxx_cv_func_fmodl_use=yes
41604 else
41605 glibcxx_cv_func_fmodl_use=no
41607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41608 ac_ext=c
41609 ac_cpp='$CPP $CPPFLAGS'
41610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
41619 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
41621 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
41622 for ac_func in fmodl
41623 do :
41624 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
41625 if test "x$ac_cv_func_fmodl" = xyes; then :
41626 cat >>confdefs.h <<_ACEOF
41627 #define HAVE_FMODL 1
41628 _ACEOF
41631 done
41633 else
41635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
41636 $as_echo_n "checking for _fmodl declaration... " >&6; }
41637 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
41638 if ${glibcxx_cv_func__fmodl_use+:} false; then :
41639 $as_echo_n "(cached) " >&6
41640 else
41643 ac_ext=cpp
41644 ac_cpp='$CXXCPP $CPPFLAGS'
41645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41650 /* end confdefs.h. */
41651 #include <math.h>
41653 main ()
41655 _fmodl(0, 0);
41657 return 0;
41659 _ACEOF
41660 if ac_fn_cxx_try_compile "$LINENO"; then :
41661 glibcxx_cv_func__fmodl_use=yes
41662 else
41663 glibcxx_cv_func__fmodl_use=no
41665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41666 ac_ext=c
41667 ac_cpp='$CPP $CPPFLAGS'
41668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
41677 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
41679 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
41680 for ac_func in _fmodl
41681 do :
41682 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
41683 if test "x$ac_cv_func__fmodl" = xyes; then :
41684 cat >>confdefs.h <<_ACEOF
41685 #define HAVE__FMODL 1
41686 _ACEOF
41689 done
41698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
41699 $as_echo_n "checking for frexpl declaration... " >&6; }
41700 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
41701 if ${glibcxx_cv_func_frexpl_use+:} false; then :
41702 $as_echo_n "(cached) " >&6
41703 else
41706 ac_ext=cpp
41707 ac_cpp='$CXXCPP $CPPFLAGS'
41708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41713 /* end confdefs.h. */
41714 #include <math.h>
41716 main ()
41718 frexpl(0, 0);
41720 return 0;
41722 _ACEOF
41723 if ac_fn_cxx_try_compile "$LINENO"; then :
41724 glibcxx_cv_func_frexpl_use=yes
41725 else
41726 glibcxx_cv_func_frexpl_use=no
41728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41729 ac_ext=c
41730 ac_cpp='$CPP $CPPFLAGS'
41731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
41740 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
41742 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
41743 for ac_func in frexpl
41744 do :
41745 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
41746 if test "x$ac_cv_func_frexpl" = xyes; then :
41747 cat >>confdefs.h <<_ACEOF
41748 #define HAVE_FREXPL 1
41749 _ACEOF
41752 done
41754 else
41756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
41757 $as_echo_n "checking for _frexpl declaration... " >&6; }
41758 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
41759 if ${glibcxx_cv_func__frexpl_use+:} false; then :
41760 $as_echo_n "(cached) " >&6
41761 else
41764 ac_ext=cpp
41765 ac_cpp='$CXXCPP $CPPFLAGS'
41766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41771 /* end confdefs.h. */
41772 #include <math.h>
41774 main ()
41776 _frexpl(0, 0);
41778 return 0;
41780 _ACEOF
41781 if ac_fn_cxx_try_compile "$LINENO"; then :
41782 glibcxx_cv_func__frexpl_use=yes
41783 else
41784 glibcxx_cv_func__frexpl_use=no
41786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41787 ac_ext=c
41788 ac_cpp='$CPP $CPPFLAGS'
41789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
41798 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
41800 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
41801 for ac_func in _frexpl
41802 do :
41803 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
41804 if test "x$ac_cv_func__frexpl" = xyes; then :
41805 cat >>confdefs.h <<_ACEOF
41806 #define HAVE__FREXPL 1
41807 _ACEOF
41810 done
41819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
41820 $as_echo_n "checking for hypotl declaration... " >&6; }
41821 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
41822 if ${glibcxx_cv_func_hypotl_use+:} false; then :
41823 $as_echo_n "(cached) " >&6
41824 else
41827 ac_ext=cpp
41828 ac_cpp='$CXXCPP $CPPFLAGS'
41829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41834 /* end confdefs.h. */
41835 #include <math.h>
41837 main ()
41839 hypotl(0, 0);
41841 return 0;
41843 _ACEOF
41844 if ac_fn_cxx_try_compile "$LINENO"; then :
41845 glibcxx_cv_func_hypotl_use=yes
41846 else
41847 glibcxx_cv_func_hypotl_use=no
41849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41850 ac_ext=c
41851 ac_cpp='$CPP $CPPFLAGS'
41852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
41861 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
41863 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
41864 for ac_func in hypotl
41865 do :
41866 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
41867 if test "x$ac_cv_func_hypotl" = xyes; then :
41868 cat >>confdefs.h <<_ACEOF
41869 #define HAVE_HYPOTL 1
41870 _ACEOF
41873 done
41875 else
41877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
41878 $as_echo_n "checking for _hypotl declaration... " >&6; }
41879 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
41880 if ${glibcxx_cv_func__hypotl_use+:} false; then :
41881 $as_echo_n "(cached) " >&6
41882 else
41885 ac_ext=cpp
41886 ac_cpp='$CXXCPP $CPPFLAGS'
41887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41892 /* end confdefs.h. */
41893 #include <math.h>
41895 main ()
41897 _hypotl(0, 0);
41899 return 0;
41901 _ACEOF
41902 if ac_fn_cxx_try_compile "$LINENO"; then :
41903 glibcxx_cv_func__hypotl_use=yes
41904 else
41905 glibcxx_cv_func__hypotl_use=no
41907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41908 ac_ext=c
41909 ac_cpp='$CPP $CPPFLAGS'
41910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
41919 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
41921 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
41922 for ac_func in _hypotl
41923 do :
41924 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
41925 if test "x$ac_cv_func__hypotl" = xyes; then :
41926 cat >>confdefs.h <<_ACEOF
41927 #define HAVE__HYPOTL 1
41928 _ACEOF
41931 done
41940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
41941 $as_echo_n "checking for ldexpl declaration... " >&6; }
41942 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
41943 if ${glibcxx_cv_func_ldexpl_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>
41958 main ()
41960 ldexpl(0, 0);
41962 return 0;
41964 _ACEOF
41965 if ac_fn_cxx_try_compile "$LINENO"; then :
41966 glibcxx_cv_func_ldexpl_use=yes
41967 else
41968 glibcxx_cv_func_ldexpl_use=no
41970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41971 ac_ext=c
41972 ac_cpp='$CPP $CPPFLAGS'
41973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
41982 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
41984 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
41985 for ac_func in ldexpl
41986 do :
41987 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
41988 if test "x$ac_cv_func_ldexpl" = xyes; then :
41989 cat >>confdefs.h <<_ACEOF
41990 #define HAVE_LDEXPL 1
41991 _ACEOF
41994 done
41996 else
41998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
41999 $as_echo_n "checking for _ldexpl declaration... " >&6; }
42000 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
42001 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
42002 $as_echo_n "(cached) " >&6
42003 else
42006 ac_ext=cpp
42007 ac_cpp='$CXXCPP $CPPFLAGS'
42008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42013 /* end confdefs.h. */
42014 #include <math.h>
42016 main ()
42018 _ldexpl(0, 0);
42020 return 0;
42022 _ACEOF
42023 if ac_fn_cxx_try_compile "$LINENO"; then :
42024 glibcxx_cv_func__ldexpl_use=yes
42025 else
42026 glibcxx_cv_func__ldexpl_use=no
42028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42029 ac_ext=c
42030 ac_cpp='$CPP $CPPFLAGS'
42031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
42040 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
42042 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
42043 for ac_func in _ldexpl
42044 do :
42045 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
42046 if test "x$ac_cv_func__ldexpl" = xyes; then :
42047 cat >>confdefs.h <<_ACEOF
42048 #define HAVE__LDEXPL 1
42049 _ACEOF
42052 done
42061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
42062 $as_echo_n "checking for logl declaration... " >&6; }
42063 if test x${glibcxx_cv_func_logl_use+set} != xset; then
42064 if ${glibcxx_cv_func_logl_use+:} false; then :
42065 $as_echo_n "(cached) " >&6
42066 else
42069 ac_ext=cpp
42070 ac_cpp='$CXXCPP $CPPFLAGS'
42071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42076 /* end confdefs.h. */
42077 #include <math.h>
42078 #ifdef HAVE_IEEEFP_H
42079 #include <ieeefp.h>
42080 #endif
42083 main ()
42085 logl(0);
42087 return 0;
42089 _ACEOF
42090 if ac_fn_cxx_try_compile "$LINENO"; then :
42091 glibcxx_cv_func_logl_use=yes
42092 else
42093 glibcxx_cv_func_logl_use=no
42095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42096 ac_ext=c
42097 ac_cpp='$CPP $CPPFLAGS'
42098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
42107 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
42109 if test x$glibcxx_cv_func_logl_use = x"yes"; then
42110 for ac_func in logl
42111 do :
42112 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
42113 if test "x$ac_cv_func_logl" = xyes; then :
42114 cat >>confdefs.h <<_ACEOF
42115 #define HAVE_LOGL 1
42116 _ACEOF
42119 done
42121 else
42123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
42124 $as_echo_n "checking for _logl declaration... " >&6; }
42125 if test x${glibcxx_cv_func__logl_use+set} != xset; then
42126 if ${glibcxx_cv_func__logl_use+:} false; then :
42127 $as_echo_n "(cached) " >&6
42128 else
42131 ac_ext=cpp
42132 ac_cpp='$CXXCPP $CPPFLAGS'
42133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42138 /* end confdefs.h. */
42139 #include <math.h>
42140 #ifdef HAVE_IEEEFP_H
42141 #include <ieeefp.h>
42142 #endif
42145 main ()
42147 _logl(0);
42149 return 0;
42151 _ACEOF
42152 if ac_fn_cxx_try_compile "$LINENO"; then :
42153 glibcxx_cv_func__logl_use=yes
42154 else
42155 glibcxx_cv_func__logl_use=no
42157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42158 ac_ext=c
42159 ac_cpp='$CPP $CPPFLAGS'
42160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
42169 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
42171 if test x$glibcxx_cv_func__logl_use = x"yes"; then
42172 for ac_func in _logl
42173 do :
42174 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
42175 if test "x$ac_cv_func__logl" = xyes; then :
42176 cat >>confdefs.h <<_ACEOF
42177 #define HAVE__LOGL 1
42178 _ACEOF
42181 done
42190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
42191 $as_echo_n "checking for log10l declaration... " >&6; }
42192 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
42193 if ${glibcxx_cv_func_log10l_use+:} false; then :
42194 $as_echo_n "(cached) " >&6
42195 else
42198 ac_ext=cpp
42199 ac_cpp='$CXXCPP $CPPFLAGS'
42200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42205 /* end confdefs.h. */
42206 #include <math.h>
42207 #ifdef HAVE_IEEEFP_H
42208 #include <ieeefp.h>
42209 #endif
42212 main ()
42214 log10l(0);
42216 return 0;
42218 _ACEOF
42219 if ac_fn_cxx_try_compile "$LINENO"; then :
42220 glibcxx_cv_func_log10l_use=yes
42221 else
42222 glibcxx_cv_func_log10l_use=no
42224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42225 ac_ext=c
42226 ac_cpp='$CPP $CPPFLAGS'
42227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
42236 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
42238 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
42239 for ac_func in log10l
42240 do :
42241 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
42242 if test "x$ac_cv_func_log10l" = xyes; then :
42243 cat >>confdefs.h <<_ACEOF
42244 #define HAVE_LOG10L 1
42245 _ACEOF
42248 done
42250 else
42252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
42253 $as_echo_n "checking for _log10l declaration... " >&6; }
42254 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
42255 if ${glibcxx_cv_func__log10l_use+:} false; then :
42256 $as_echo_n "(cached) " >&6
42257 else
42260 ac_ext=cpp
42261 ac_cpp='$CXXCPP $CPPFLAGS'
42262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42267 /* end confdefs.h. */
42268 #include <math.h>
42269 #ifdef HAVE_IEEEFP_H
42270 #include <ieeefp.h>
42271 #endif
42274 main ()
42276 _log10l(0);
42278 return 0;
42280 _ACEOF
42281 if ac_fn_cxx_try_compile "$LINENO"; then :
42282 glibcxx_cv_func__log10l_use=yes
42283 else
42284 glibcxx_cv_func__log10l_use=no
42286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42287 ac_ext=c
42288 ac_cpp='$CPP $CPPFLAGS'
42289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
42298 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
42300 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
42301 for ac_func in _log10l
42302 do :
42303 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
42304 if test "x$ac_cv_func__log10l" = xyes; then :
42305 cat >>confdefs.h <<_ACEOF
42306 #define HAVE__LOG10L 1
42307 _ACEOF
42310 done
42319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
42320 $as_echo_n "checking for modfl declaration... " >&6; }
42321 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
42322 if ${glibcxx_cv_func_modfl_use+:} false; then :
42323 $as_echo_n "(cached) " >&6
42324 else
42327 ac_ext=cpp
42328 ac_cpp='$CXXCPP $CPPFLAGS'
42329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42334 /* end confdefs.h. */
42335 #include <math.h>
42337 main ()
42339 modfl(0, 0);
42341 return 0;
42343 _ACEOF
42344 if ac_fn_cxx_try_compile "$LINENO"; then :
42345 glibcxx_cv_func_modfl_use=yes
42346 else
42347 glibcxx_cv_func_modfl_use=no
42349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42350 ac_ext=c
42351 ac_cpp='$CPP $CPPFLAGS'
42352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
42361 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
42363 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
42364 for ac_func in modfl
42365 do :
42366 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
42367 if test "x$ac_cv_func_modfl" = xyes; then :
42368 cat >>confdefs.h <<_ACEOF
42369 #define HAVE_MODFL 1
42370 _ACEOF
42373 done
42375 else
42377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
42378 $as_echo_n "checking for _modfl declaration... " >&6; }
42379 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
42380 if ${glibcxx_cv_func__modfl_use+:} false; then :
42381 $as_echo_n "(cached) " >&6
42382 else
42385 ac_ext=cpp
42386 ac_cpp='$CXXCPP $CPPFLAGS'
42387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42392 /* end confdefs.h. */
42393 #include <math.h>
42395 main ()
42397 _modfl(0, 0);
42399 return 0;
42401 _ACEOF
42402 if ac_fn_cxx_try_compile "$LINENO"; then :
42403 glibcxx_cv_func__modfl_use=yes
42404 else
42405 glibcxx_cv_func__modfl_use=no
42407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42408 ac_ext=c
42409 ac_cpp='$CPP $CPPFLAGS'
42410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
42419 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
42421 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
42422 for ac_func in _modfl
42423 do :
42424 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
42425 if test "x$ac_cv_func__modfl" = xyes; then :
42426 cat >>confdefs.h <<_ACEOF
42427 #define HAVE__MODFL 1
42428 _ACEOF
42431 done
42440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
42441 $as_echo_n "checking for powl declaration... " >&6; }
42442 if test x${glibcxx_cv_func_powl_use+set} != xset; then
42443 if ${glibcxx_cv_func_powl_use+:} false; then :
42444 $as_echo_n "(cached) " >&6
42445 else
42448 ac_ext=cpp
42449 ac_cpp='$CXXCPP $CPPFLAGS'
42450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42455 /* end confdefs.h. */
42456 #include <math.h>
42458 main ()
42460 powl(0, 0);
42462 return 0;
42464 _ACEOF
42465 if ac_fn_cxx_try_compile "$LINENO"; then :
42466 glibcxx_cv_func_powl_use=yes
42467 else
42468 glibcxx_cv_func_powl_use=no
42470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42471 ac_ext=c
42472 ac_cpp='$CPP $CPPFLAGS'
42473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
42482 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
42484 if test x$glibcxx_cv_func_powl_use = x"yes"; then
42485 for ac_func in powl
42486 do :
42487 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
42488 if test "x$ac_cv_func_powl" = xyes; then :
42489 cat >>confdefs.h <<_ACEOF
42490 #define HAVE_POWL 1
42491 _ACEOF
42494 done
42496 else
42498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
42499 $as_echo_n "checking for _powl declaration... " >&6; }
42500 if test x${glibcxx_cv_func__powl_use+set} != xset; then
42501 if ${glibcxx_cv_func__powl_use+:} false; then :
42502 $as_echo_n "(cached) " >&6
42503 else
42506 ac_ext=cpp
42507 ac_cpp='$CXXCPP $CPPFLAGS'
42508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42513 /* end confdefs.h. */
42514 #include <math.h>
42516 main ()
42518 _powl(0, 0);
42520 return 0;
42522 _ACEOF
42523 if ac_fn_cxx_try_compile "$LINENO"; then :
42524 glibcxx_cv_func__powl_use=yes
42525 else
42526 glibcxx_cv_func__powl_use=no
42528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42529 ac_ext=c
42530 ac_cpp='$CPP $CPPFLAGS'
42531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
42540 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
42542 if test x$glibcxx_cv_func__powl_use = x"yes"; then
42543 for ac_func in _powl
42544 do :
42545 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
42546 if test "x$ac_cv_func__powl" = xyes; then :
42547 cat >>confdefs.h <<_ACEOF
42548 #define HAVE__POWL 1
42549 _ACEOF
42552 done
42561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
42562 $as_echo_n "checking for sqrtl declaration... " >&6; }
42563 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
42564 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
42565 $as_echo_n "(cached) " >&6
42566 else
42569 ac_ext=cpp
42570 ac_cpp='$CXXCPP $CPPFLAGS'
42571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42576 /* end confdefs.h. */
42577 #include <math.h>
42578 #ifdef HAVE_IEEEFP_H
42579 #include <ieeefp.h>
42580 #endif
42583 main ()
42585 sqrtl(0);
42587 return 0;
42589 _ACEOF
42590 if ac_fn_cxx_try_compile "$LINENO"; then :
42591 glibcxx_cv_func_sqrtl_use=yes
42592 else
42593 glibcxx_cv_func_sqrtl_use=no
42595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42596 ac_ext=c
42597 ac_cpp='$CPP $CPPFLAGS'
42598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
42607 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
42609 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
42610 for ac_func in sqrtl
42611 do :
42612 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
42613 if test "x$ac_cv_func_sqrtl" = xyes; then :
42614 cat >>confdefs.h <<_ACEOF
42615 #define HAVE_SQRTL 1
42616 _ACEOF
42619 done
42621 else
42623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
42624 $as_echo_n "checking for _sqrtl declaration... " >&6; }
42625 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
42626 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
42627 $as_echo_n "(cached) " >&6
42628 else
42631 ac_ext=cpp
42632 ac_cpp='$CXXCPP $CPPFLAGS'
42633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42638 /* end confdefs.h. */
42639 #include <math.h>
42640 #ifdef HAVE_IEEEFP_H
42641 #include <ieeefp.h>
42642 #endif
42645 main ()
42647 _sqrtl(0);
42649 return 0;
42651 _ACEOF
42652 if ac_fn_cxx_try_compile "$LINENO"; then :
42653 glibcxx_cv_func__sqrtl_use=yes
42654 else
42655 glibcxx_cv_func__sqrtl_use=no
42657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42658 ac_ext=c
42659 ac_cpp='$CPP $CPPFLAGS'
42660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
42669 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
42671 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
42672 for ac_func in _sqrtl
42673 do :
42674 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
42675 if test "x$ac_cv_func__sqrtl" = xyes; then :
42676 cat >>confdefs.h <<_ACEOF
42677 #define HAVE__SQRTL 1
42678 _ACEOF
42681 done
42690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
42691 $as_echo_n "checking for sincosl declaration... " >&6; }
42692 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
42693 if ${glibcxx_cv_func_sincosl_use+:} false; then :
42694 $as_echo_n "(cached) " >&6
42695 else
42698 ac_ext=cpp
42699 ac_cpp='$CXXCPP $CPPFLAGS'
42700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42705 /* end confdefs.h. */
42706 #include <math.h>
42708 main ()
42710 sincosl(0, 0, 0);
42712 return 0;
42714 _ACEOF
42715 if ac_fn_cxx_try_compile "$LINENO"; then :
42716 glibcxx_cv_func_sincosl_use=yes
42717 else
42718 glibcxx_cv_func_sincosl_use=no
42720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42721 ac_ext=c
42722 ac_cpp='$CPP $CPPFLAGS'
42723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
42732 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
42734 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
42735 for ac_func in sincosl
42736 do :
42737 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
42738 if test "x$ac_cv_func_sincosl" = xyes; then :
42739 cat >>confdefs.h <<_ACEOF
42740 #define HAVE_SINCOSL 1
42741 _ACEOF
42744 done
42746 else
42748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
42749 $as_echo_n "checking for _sincosl declaration... " >&6; }
42750 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
42751 if ${glibcxx_cv_func__sincosl_use+:} false; then :
42752 $as_echo_n "(cached) " >&6
42753 else
42756 ac_ext=cpp
42757 ac_cpp='$CXXCPP $CPPFLAGS'
42758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42763 /* end confdefs.h. */
42764 #include <math.h>
42766 main ()
42768 _sincosl(0, 0, 0);
42770 return 0;
42772 _ACEOF
42773 if ac_fn_cxx_try_compile "$LINENO"; then :
42774 glibcxx_cv_func__sincosl_use=yes
42775 else
42776 glibcxx_cv_func__sincosl_use=no
42778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42779 ac_ext=c
42780 ac_cpp='$CPP $CPPFLAGS'
42781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
42790 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
42792 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
42793 for ac_func in _sincosl
42794 do :
42795 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
42796 if test "x$ac_cv_func__sincosl" = xyes; then :
42797 cat >>confdefs.h <<_ACEOF
42798 #define HAVE__SINCOSL 1
42799 _ACEOF
42802 done
42811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
42812 $as_echo_n "checking for finitel declaration... " >&6; }
42813 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
42814 if ${glibcxx_cv_func_finitel_use+:} false; then :
42815 $as_echo_n "(cached) " >&6
42816 else
42819 ac_ext=cpp
42820 ac_cpp='$CXXCPP $CPPFLAGS'
42821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42826 /* end confdefs.h. */
42827 #include <math.h>
42828 #ifdef HAVE_IEEEFP_H
42829 #include <ieeefp.h>
42830 #endif
42833 main ()
42835 finitel(0);
42837 return 0;
42839 _ACEOF
42840 if ac_fn_cxx_try_compile "$LINENO"; then :
42841 glibcxx_cv_func_finitel_use=yes
42842 else
42843 glibcxx_cv_func_finitel_use=no
42845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42846 ac_ext=c
42847 ac_cpp='$CPP $CPPFLAGS'
42848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
42857 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
42859 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
42860 for ac_func in finitel
42861 do :
42862 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
42863 if test "x$ac_cv_func_finitel" = xyes; then :
42864 cat >>confdefs.h <<_ACEOF
42865 #define HAVE_FINITEL 1
42866 _ACEOF
42869 done
42871 else
42873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
42874 $as_echo_n "checking for _finitel declaration... " >&6; }
42875 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
42876 if ${glibcxx_cv_func__finitel_use+:} false; then :
42877 $as_echo_n "(cached) " >&6
42878 else
42881 ac_ext=cpp
42882 ac_cpp='$CXXCPP $CPPFLAGS'
42883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42888 /* end confdefs.h. */
42889 #include <math.h>
42890 #ifdef HAVE_IEEEFP_H
42891 #include <ieeefp.h>
42892 #endif
42895 main ()
42897 _finitel(0);
42899 return 0;
42901 _ACEOF
42902 if ac_fn_cxx_try_compile "$LINENO"; then :
42903 glibcxx_cv_func__finitel_use=yes
42904 else
42905 glibcxx_cv_func__finitel_use=no
42907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42908 ac_ext=c
42909 ac_cpp='$CPP $CPPFLAGS'
42910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
42919 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
42921 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
42922 for ac_func in _finitel
42923 do :
42924 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
42925 if test "x$ac_cv_func__finitel" = xyes; then :
42926 cat >>confdefs.h <<_ACEOF
42927 #define HAVE__FINITEL 1
42928 _ACEOF
42931 done
42939 LIBS="$ac_save_LIBS"
42940 CXXFLAGS="$ac_save_CXXFLAGS"
42943 ac_test_CXXFLAGS="${CXXFLAGS+set}"
42944 ac_save_CXXFLAGS="$CXXFLAGS"
42945 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
42948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
42949 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
42950 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
42951 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
42952 $as_echo_n "(cached) " >&6
42953 else
42956 ac_ext=cpp
42957 ac_cpp='$CXXCPP $CPPFLAGS'
42958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42963 /* end confdefs.h. */
42964 #include <stdlib.h>
42966 main ()
42968 at_quick_exit(0);
42970 return 0;
42972 _ACEOF
42973 if ac_fn_cxx_try_compile "$LINENO"; then :
42974 glibcxx_cv_func_at_quick_exit_use=yes
42975 else
42976 glibcxx_cv_func_at_quick_exit_use=no
42978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42979 ac_ext=c
42980 ac_cpp='$CPP $CPPFLAGS'
42981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
42990 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
42991 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
42992 for ac_func in at_quick_exit
42993 do :
42994 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
42995 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
42996 cat >>confdefs.h <<_ACEOF
42997 #define HAVE_AT_QUICK_EXIT 1
42998 _ACEOF
43001 done
43006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
43007 $as_echo_n "checking for quick_exit declaration... " >&6; }
43008 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
43009 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
43010 $as_echo_n "(cached) " >&6
43011 else
43014 ac_ext=cpp
43015 ac_cpp='$CXXCPP $CPPFLAGS'
43016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43021 /* end confdefs.h. */
43022 #include <stdlib.h>
43024 main ()
43026 quick_exit(0);
43028 return 0;
43030 _ACEOF
43031 if ac_fn_cxx_try_compile "$LINENO"; then :
43032 glibcxx_cv_func_quick_exit_use=yes
43033 else
43034 glibcxx_cv_func_quick_exit_use=no
43036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43037 ac_ext=c
43038 ac_cpp='$CPP $CPPFLAGS'
43039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
43048 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
43049 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
43050 for ac_func in quick_exit
43051 do :
43052 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
43053 if test "x$ac_cv_func_quick_exit" = xyes; then :
43054 cat >>confdefs.h <<_ACEOF
43055 #define HAVE_QUICK_EXIT 1
43056 _ACEOF
43059 done
43064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
43065 $as_echo_n "checking for strtold declaration... " >&6; }
43066 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
43067 if ${glibcxx_cv_func_strtold_use+:} false; then :
43068 $as_echo_n "(cached) " >&6
43069 else
43072 ac_ext=cpp
43073 ac_cpp='$CXXCPP $CPPFLAGS'
43074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43079 /* end confdefs.h. */
43080 #include <stdlib.h>
43082 main ()
43084 strtold(0, 0);
43086 return 0;
43088 _ACEOF
43089 if ac_fn_cxx_try_compile "$LINENO"; then :
43090 glibcxx_cv_func_strtold_use=yes
43091 else
43092 glibcxx_cv_func_strtold_use=no
43094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43095 ac_ext=c
43096 ac_cpp='$CPP $CPPFLAGS'
43097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
43106 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
43107 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
43108 for ac_func in strtold
43109 do :
43110 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
43111 if test "x$ac_cv_func_strtold" = xyes; then :
43112 cat >>confdefs.h <<_ACEOF
43113 #define HAVE_STRTOLD 1
43114 _ACEOF
43117 done
43124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
43125 $as_echo_n "checking for strtof declaration... " >&6; }
43126 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
43127 if ${glibcxx_cv_func_strtof_use+:} false; then :
43128 $as_echo_n "(cached) " >&6
43129 else
43132 ac_ext=cpp
43133 ac_cpp='$CXXCPP $CPPFLAGS'
43134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43139 /* end confdefs.h. */
43140 #include <stdlib.h>
43142 main ()
43144 strtof(0, 0);
43146 return 0;
43148 _ACEOF
43149 if ac_fn_cxx_try_compile "$LINENO"; then :
43150 glibcxx_cv_func_strtof_use=yes
43151 else
43152 glibcxx_cv_func_strtof_use=no
43154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43155 ac_ext=c
43156 ac_cpp='$CPP $CPPFLAGS'
43157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
43166 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
43167 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
43168 for ac_func in strtof
43169 do :
43170 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
43171 if test "x$ac_cv_func_strtof" = xyes; then :
43172 cat >>confdefs.h <<_ACEOF
43173 #define HAVE_STRTOF 1
43174 _ACEOF
43177 done
43184 CXXFLAGS="$ac_save_CXXFLAGS"
43186 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
43188 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
43190 # We don't yet support AIX's TLS ABI.
43191 #GCC_CHECK_TLS
43197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
43198 $as_echo_n "checking for iconv... " >&6; }
43199 if ${am_cv_func_iconv+:} false; then :
43200 $as_echo_n "(cached) " >&6
43201 else
43203 am_cv_func_iconv="no, consider installing GNU libiconv"
43204 am_cv_lib_iconv=no
43205 am_save_CPPFLAGS="$CPPFLAGS"
43206 CPPFLAGS="$CPPFLAGS $INCICONV"
43207 if test x$gcc_no_link = xyes; then
43208 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
43210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43211 /* end confdefs.h. */
43212 #include <stdlib.h>
43213 #include <iconv.h>
43215 main ()
43217 iconv_t cd = iconv_open("","");
43218 iconv(cd,NULL,NULL,NULL,NULL);
43219 iconv_close(cd);
43221 return 0;
43223 _ACEOF
43224 if ac_fn_c_try_link "$LINENO"; then :
43225 am_cv_func_iconv=yes
43227 rm -f core conftest.err conftest.$ac_objext \
43228 conftest$ac_exeext conftest.$ac_ext
43229 CPPFLAGS="$am_save_CPPFLAGS"
43231 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
43232 for _libs in .libs _libs; do
43233 am_save_CPPFLAGS="$CPPFLAGS"
43234 am_save_LIBS="$LIBS"
43235 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
43236 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
43237 if test x$gcc_no_link = xyes; then
43238 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
43240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43241 /* end confdefs.h. */
43242 #include <stdlib.h>
43243 #include <iconv.h>
43245 main ()
43247 iconv_t cd = iconv_open("","");
43248 iconv(cd,NULL,NULL,NULL,NULL);
43249 iconv_close(cd);
43251 return 0;
43253 _ACEOF
43254 if ac_fn_c_try_link "$LINENO"; then :
43255 INCICONV="-I../libiconv/include"
43256 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
43257 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
43258 am_cv_lib_iconv=yes
43259 am_cv_func_iconv=yes
43261 rm -f core conftest.err conftest.$ac_objext \
43262 conftest$ac_exeext conftest.$ac_ext
43263 CPPFLAGS="$am_save_CPPFLAGS"
43264 LIBS="$am_save_LIBS"
43265 if test "$am_cv_func_iconv" = "yes"; then
43266 break
43268 done
43271 if test "$am_cv_func_iconv" != yes; then
43272 am_save_CPPFLAGS="$CPPFLAGS"
43273 am_save_LIBS="$LIBS"
43274 CPPFLAGS="$CPPFLAGS $INCICONV"
43275 LIBS="$LIBS $LIBICONV"
43276 if test x$gcc_no_link = xyes; then
43277 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
43279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43280 /* end confdefs.h. */
43281 #include <stdlib.h>
43282 #include <iconv.h>
43284 main ()
43286 iconv_t cd = iconv_open("","");
43287 iconv(cd,NULL,NULL,NULL,NULL);
43288 iconv_close(cd);
43290 return 0;
43292 _ACEOF
43293 if ac_fn_c_try_link "$LINENO"; then :
43294 am_cv_lib_iconv=yes
43295 am_cv_func_iconv=yes
43297 rm -f core conftest.err conftest.$ac_objext \
43298 conftest$ac_exeext conftest.$ac_ext
43299 CPPFLAGS="$am_save_CPPFLAGS"
43300 LIBS="$am_save_LIBS"
43304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
43305 $as_echo "$am_cv_func_iconv" >&6; }
43306 if test "$am_cv_func_iconv" = yes; then
43308 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
43311 if test "$am_cv_lib_iconv" = yes; then
43313 for element in $INCICONV; do
43314 haveit=
43315 for x in $CPPFLAGS; do
43317 acl_save_prefix="$prefix"
43318 prefix="$acl_final_prefix"
43319 acl_save_exec_prefix="$exec_prefix"
43320 exec_prefix="$acl_final_exec_prefix"
43321 eval x=\"$x\"
43322 exec_prefix="$acl_save_exec_prefix"
43323 prefix="$acl_save_prefix"
43325 if test "X$x" = "X$element"; then
43326 haveit=yes
43327 break
43329 done
43330 if test -z "$haveit"; then
43331 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
43333 done
43335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
43336 $as_echo_n "checking how to link with libiconv... " >&6; }
43337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
43338 $as_echo "$LIBICONV" >&6; }
43339 else
43340 LIBICONV=
43341 LTLIBICONV=
43346 if test "$am_cv_func_iconv" = yes; then
43347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
43348 $as_echo_n "checking for iconv declaration... " >&6; }
43349 if ${am_cv_proto_iconv+:} false; then :
43350 $as_echo_n "(cached) " >&6
43351 else
43353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43354 /* end confdefs.h. */
43356 #include <stdlib.h>
43357 #include <iconv.h>
43358 extern
43359 #ifdef __cplusplus
43361 #endif
43362 #if defined(__STDC__) || defined(__cplusplus)
43363 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
43364 #else
43365 size_t iconv();
43366 #endif
43369 main ()
43373 return 0;
43375 _ACEOF
43376 if ac_fn_c_try_compile "$LINENO"; then :
43377 am_cv_proto_iconv_arg1=""
43378 else
43379 am_cv_proto_iconv_arg1="const"
43381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43382 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);"
43385 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
43386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
43387 }$am_cv_proto_iconv" >&5
43388 $as_echo "${ac_t:-
43389 }$am_cv_proto_iconv" >&6; }
43391 cat >>confdefs.h <<_ACEOF
43392 #define ICONV_CONST $am_cv_proto_iconv_arg1
43393 _ACEOF
43398 $as_echo "#define HAVE_USELOCALE 1" >>confdefs.h
43402 *-darwin*)
43403 # Darwin versions vary, but the linker should work in a cross environment,
43404 # so we just check for all the features here.
43405 # Check for available headers.
43407 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
43409 ac_test_CXXFLAGS="${CXXFLAGS+set}"
43410 ac_save_CXXFLAGS="$CXXFLAGS"
43411 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
43414 $as_echo_n "checking for sin in -lm... " >&6; }
43415 if ${ac_cv_lib_m_sin+:} false; then :
43416 $as_echo_n "(cached) " >&6
43417 else
43418 ac_check_lib_save_LIBS=$LIBS
43419 LIBS="-lm $LIBS"
43420 if test x$gcc_no_link = xyes; then
43421 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
43423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43424 /* end confdefs.h. */
43426 /* Override any GCC internal prototype to avoid an error.
43427 Use char because int might match the return type of a GCC
43428 builtin and then its argument prototype would still apply. */
43429 #ifdef __cplusplus
43430 extern "C"
43431 #endif
43432 char sin ();
43434 main ()
43436 return sin ();
43438 return 0;
43440 _ACEOF
43441 if ac_fn_c_try_link "$LINENO"; then :
43442 ac_cv_lib_m_sin=yes
43443 else
43444 ac_cv_lib_m_sin=no
43446 rm -f core conftest.err conftest.$ac_objext \
43447 conftest$ac_exeext conftest.$ac_ext
43448 LIBS=$ac_check_lib_save_LIBS
43450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
43451 $as_echo "$ac_cv_lib_m_sin" >&6; }
43452 if test "x$ac_cv_lib_m_sin" = xyes; then :
43453 libm="-lm"
43456 ac_save_LIBS="$LIBS"
43457 LIBS="$LIBS $libm"
43461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
43462 $as_echo_n "checking for isinf declaration... " >&6; }
43463 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
43464 if ${glibcxx_cv_func_isinf_use+:} false; then :
43465 $as_echo_n "(cached) " >&6
43466 else
43469 ac_ext=cpp
43470 ac_cpp='$CXXCPP $CPPFLAGS'
43471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43476 /* end confdefs.h. */
43477 #include <math.h>
43478 #ifdef HAVE_IEEEFP_H
43479 #include <ieeefp.h>
43480 #endif
43483 main ()
43485 isinf(0);
43487 return 0;
43489 _ACEOF
43490 if ac_fn_cxx_try_compile "$LINENO"; then :
43491 glibcxx_cv_func_isinf_use=yes
43492 else
43493 glibcxx_cv_func_isinf_use=no
43495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43496 ac_ext=c
43497 ac_cpp='$CPP $CPPFLAGS'
43498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
43507 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
43509 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
43510 for ac_func in isinf
43511 do :
43512 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
43513 if test "x$ac_cv_func_isinf" = xyes; then :
43514 cat >>confdefs.h <<_ACEOF
43515 #define HAVE_ISINF 1
43516 _ACEOF
43519 done
43521 else
43523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
43524 $as_echo_n "checking for _isinf declaration... " >&6; }
43525 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
43526 if ${glibcxx_cv_func__isinf_use+:} false; then :
43527 $as_echo_n "(cached) " >&6
43528 else
43531 ac_ext=cpp
43532 ac_cpp='$CXXCPP $CPPFLAGS'
43533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43538 /* end confdefs.h. */
43539 #include <math.h>
43540 #ifdef HAVE_IEEEFP_H
43541 #include <ieeefp.h>
43542 #endif
43545 main ()
43547 _isinf(0);
43549 return 0;
43551 _ACEOF
43552 if ac_fn_cxx_try_compile "$LINENO"; then :
43553 glibcxx_cv_func__isinf_use=yes
43554 else
43555 glibcxx_cv_func__isinf_use=no
43557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43558 ac_ext=c
43559 ac_cpp='$CPP $CPPFLAGS'
43560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
43569 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
43571 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
43572 for ac_func in _isinf
43573 do :
43574 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
43575 if test "x$ac_cv_func__isinf" = xyes; then :
43576 cat >>confdefs.h <<_ACEOF
43577 #define HAVE__ISINF 1
43578 _ACEOF
43581 done
43590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
43591 $as_echo_n "checking for isnan declaration... " >&6; }
43592 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
43593 if ${glibcxx_cv_func_isnan_use+:} false; then :
43594 $as_echo_n "(cached) " >&6
43595 else
43598 ac_ext=cpp
43599 ac_cpp='$CXXCPP $CPPFLAGS'
43600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43605 /* end confdefs.h. */
43606 #include <math.h>
43607 #ifdef HAVE_IEEEFP_H
43608 #include <ieeefp.h>
43609 #endif
43612 main ()
43614 isnan(0);
43616 return 0;
43618 _ACEOF
43619 if ac_fn_cxx_try_compile "$LINENO"; then :
43620 glibcxx_cv_func_isnan_use=yes
43621 else
43622 glibcxx_cv_func_isnan_use=no
43624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43625 ac_ext=c
43626 ac_cpp='$CPP $CPPFLAGS'
43627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
43636 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
43638 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
43639 for ac_func in isnan
43640 do :
43641 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
43642 if test "x$ac_cv_func_isnan" = xyes; then :
43643 cat >>confdefs.h <<_ACEOF
43644 #define HAVE_ISNAN 1
43645 _ACEOF
43648 done
43650 else
43652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
43653 $as_echo_n "checking for _isnan declaration... " >&6; }
43654 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
43655 if ${glibcxx_cv_func__isnan_use+:} false; then :
43656 $as_echo_n "(cached) " >&6
43657 else
43660 ac_ext=cpp
43661 ac_cpp='$CXXCPP $CPPFLAGS'
43662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43667 /* end confdefs.h. */
43668 #include <math.h>
43669 #ifdef HAVE_IEEEFP_H
43670 #include <ieeefp.h>
43671 #endif
43674 main ()
43676 _isnan(0);
43678 return 0;
43680 _ACEOF
43681 if ac_fn_cxx_try_compile "$LINENO"; then :
43682 glibcxx_cv_func__isnan_use=yes
43683 else
43684 glibcxx_cv_func__isnan_use=no
43686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43687 ac_ext=c
43688 ac_cpp='$CPP $CPPFLAGS'
43689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
43698 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
43700 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
43701 for ac_func in _isnan
43702 do :
43703 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
43704 if test "x$ac_cv_func__isnan" = xyes; then :
43705 cat >>confdefs.h <<_ACEOF
43706 #define HAVE__ISNAN 1
43707 _ACEOF
43710 done
43719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
43720 $as_echo_n "checking for finite declaration... " >&6; }
43721 if test x${glibcxx_cv_func_finite_use+set} != xset; then
43722 if ${glibcxx_cv_func_finite_use+:} false; then :
43723 $as_echo_n "(cached) " >&6
43724 else
43727 ac_ext=cpp
43728 ac_cpp='$CXXCPP $CPPFLAGS'
43729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43734 /* end confdefs.h. */
43735 #include <math.h>
43736 #ifdef HAVE_IEEEFP_H
43737 #include <ieeefp.h>
43738 #endif
43741 main ()
43743 finite(0);
43745 return 0;
43747 _ACEOF
43748 if ac_fn_cxx_try_compile "$LINENO"; then :
43749 glibcxx_cv_func_finite_use=yes
43750 else
43751 glibcxx_cv_func_finite_use=no
43753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43754 ac_ext=c
43755 ac_cpp='$CPP $CPPFLAGS'
43756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
43765 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
43767 if test x$glibcxx_cv_func_finite_use = x"yes"; then
43768 for ac_func in finite
43769 do :
43770 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
43771 if test "x$ac_cv_func_finite" = xyes; then :
43772 cat >>confdefs.h <<_ACEOF
43773 #define HAVE_FINITE 1
43774 _ACEOF
43777 done
43779 else
43781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
43782 $as_echo_n "checking for _finite declaration... " >&6; }
43783 if test x${glibcxx_cv_func__finite_use+set} != xset; then
43784 if ${glibcxx_cv_func__finite_use+:} false; then :
43785 $as_echo_n "(cached) " >&6
43786 else
43789 ac_ext=cpp
43790 ac_cpp='$CXXCPP $CPPFLAGS'
43791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43796 /* end confdefs.h. */
43797 #include <math.h>
43798 #ifdef HAVE_IEEEFP_H
43799 #include <ieeefp.h>
43800 #endif
43803 main ()
43805 _finite(0);
43807 return 0;
43809 _ACEOF
43810 if ac_fn_cxx_try_compile "$LINENO"; then :
43811 glibcxx_cv_func__finite_use=yes
43812 else
43813 glibcxx_cv_func__finite_use=no
43815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43816 ac_ext=c
43817 ac_cpp='$CPP $CPPFLAGS'
43818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
43827 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
43829 if test x$glibcxx_cv_func__finite_use = x"yes"; then
43830 for ac_func in _finite
43831 do :
43832 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
43833 if test "x$ac_cv_func__finite" = xyes; then :
43834 cat >>confdefs.h <<_ACEOF
43835 #define HAVE__FINITE 1
43836 _ACEOF
43839 done
43848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
43849 $as_echo_n "checking for sincos declaration... " >&6; }
43850 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
43851 if ${glibcxx_cv_func_sincos_use+:} false; then :
43852 $as_echo_n "(cached) " >&6
43853 else
43856 ac_ext=cpp
43857 ac_cpp='$CXXCPP $CPPFLAGS'
43858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43863 /* end confdefs.h. */
43864 #include <math.h>
43866 main ()
43868 sincos(0, 0, 0);
43870 return 0;
43872 _ACEOF
43873 if ac_fn_cxx_try_compile "$LINENO"; then :
43874 glibcxx_cv_func_sincos_use=yes
43875 else
43876 glibcxx_cv_func_sincos_use=no
43878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43879 ac_ext=c
43880 ac_cpp='$CPP $CPPFLAGS'
43881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
43890 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
43892 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
43893 for ac_func in sincos
43894 do :
43895 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
43896 if test "x$ac_cv_func_sincos" = xyes; then :
43897 cat >>confdefs.h <<_ACEOF
43898 #define HAVE_SINCOS 1
43899 _ACEOF
43902 done
43904 else
43906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
43907 $as_echo_n "checking for _sincos declaration... " >&6; }
43908 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
43909 if ${glibcxx_cv_func__sincos_use+:} false; then :
43910 $as_echo_n "(cached) " >&6
43911 else
43914 ac_ext=cpp
43915 ac_cpp='$CXXCPP $CPPFLAGS'
43916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43921 /* end confdefs.h. */
43922 #include <math.h>
43924 main ()
43926 _sincos(0, 0, 0);
43928 return 0;
43930 _ACEOF
43931 if ac_fn_cxx_try_compile "$LINENO"; then :
43932 glibcxx_cv_func__sincos_use=yes
43933 else
43934 glibcxx_cv_func__sincos_use=no
43936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43937 ac_ext=c
43938 ac_cpp='$CPP $CPPFLAGS'
43939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
43948 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
43950 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
43951 for ac_func in _sincos
43952 do :
43953 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
43954 if test "x$ac_cv_func__sincos" = xyes; then :
43955 cat >>confdefs.h <<_ACEOF
43956 #define HAVE__SINCOS 1
43957 _ACEOF
43960 done
43969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
43970 $as_echo_n "checking for fpclass declaration... " >&6; }
43971 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
43972 if ${glibcxx_cv_func_fpclass_use+:} false; then :
43973 $as_echo_n "(cached) " >&6
43974 else
43977 ac_ext=cpp
43978 ac_cpp='$CXXCPP $CPPFLAGS'
43979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43984 /* end confdefs.h. */
43985 #include <math.h>
43986 #ifdef HAVE_IEEEFP_H
43987 #include <ieeefp.h>
43988 #endif
43991 main ()
43993 fpclass(0);
43995 return 0;
43997 _ACEOF
43998 if ac_fn_cxx_try_compile "$LINENO"; then :
43999 glibcxx_cv_func_fpclass_use=yes
44000 else
44001 glibcxx_cv_func_fpclass_use=no
44003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44004 ac_ext=c
44005 ac_cpp='$CPP $CPPFLAGS'
44006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
44015 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
44017 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
44018 for ac_func in fpclass
44019 do :
44020 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
44021 if test "x$ac_cv_func_fpclass" = xyes; then :
44022 cat >>confdefs.h <<_ACEOF
44023 #define HAVE_FPCLASS 1
44024 _ACEOF
44027 done
44029 else
44031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
44032 $as_echo_n "checking for _fpclass declaration... " >&6; }
44033 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
44034 if ${glibcxx_cv_func__fpclass_use+:} false; then :
44035 $as_echo_n "(cached) " >&6
44036 else
44039 ac_ext=cpp
44040 ac_cpp='$CXXCPP $CPPFLAGS'
44041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44046 /* end confdefs.h. */
44047 #include <math.h>
44048 #ifdef HAVE_IEEEFP_H
44049 #include <ieeefp.h>
44050 #endif
44053 main ()
44055 _fpclass(0);
44057 return 0;
44059 _ACEOF
44060 if ac_fn_cxx_try_compile "$LINENO"; then :
44061 glibcxx_cv_func__fpclass_use=yes
44062 else
44063 glibcxx_cv_func__fpclass_use=no
44065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44066 ac_ext=c
44067 ac_cpp='$CPP $CPPFLAGS'
44068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
44077 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
44079 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
44080 for ac_func in _fpclass
44081 do :
44082 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
44083 if test "x$ac_cv_func__fpclass" = xyes; then :
44084 cat >>confdefs.h <<_ACEOF
44085 #define HAVE__FPCLASS 1
44086 _ACEOF
44089 done
44098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
44099 $as_echo_n "checking for qfpclass declaration... " >&6; }
44100 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
44101 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
44102 $as_echo_n "(cached) " >&6
44103 else
44106 ac_ext=cpp
44107 ac_cpp='$CXXCPP $CPPFLAGS'
44108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44113 /* end confdefs.h. */
44114 #include <math.h>
44115 #ifdef HAVE_IEEEFP_H
44116 #include <ieeefp.h>
44117 #endif
44120 main ()
44122 qfpclass(0);
44124 return 0;
44126 _ACEOF
44127 if ac_fn_cxx_try_compile "$LINENO"; then :
44128 glibcxx_cv_func_qfpclass_use=yes
44129 else
44130 glibcxx_cv_func_qfpclass_use=no
44132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44133 ac_ext=c
44134 ac_cpp='$CPP $CPPFLAGS'
44135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
44144 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
44146 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
44147 for ac_func in qfpclass
44148 do :
44149 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
44150 if test "x$ac_cv_func_qfpclass" = xyes; then :
44151 cat >>confdefs.h <<_ACEOF
44152 #define HAVE_QFPCLASS 1
44153 _ACEOF
44156 done
44158 else
44160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
44161 $as_echo_n "checking for _qfpclass declaration... " >&6; }
44162 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
44163 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
44164 $as_echo_n "(cached) " >&6
44165 else
44168 ac_ext=cpp
44169 ac_cpp='$CXXCPP $CPPFLAGS'
44170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44175 /* end confdefs.h. */
44176 #include <math.h>
44177 #ifdef HAVE_IEEEFP_H
44178 #include <ieeefp.h>
44179 #endif
44182 main ()
44184 _qfpclass(0);
44186 return 0;
44188 _ACEOF
44189 if ac_fn_cxx_try_compile "$LINENO"; then :
44190 glibcxx_cv_func__qfpclass_use=yes
44191 else
44192 glibcxx_cv_func__qfpclass_use=no
44194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44195 ac_ext=c
44196 ac_cpp='$CPP $CPPFLAGS'
44197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
44206 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
44208 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
44209 for ac_func in _qfpclass
44210 do :
44211 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
44212 if test "x$ac_cv_func__qfpclass" = xyes; then :
44213 cat >>confdefs.h <<_ACEOF
44214 #define HAVE__QFPCLASS 1
44215 _ACEOF
44218 done
44227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
44228 $as_echo_n "checking for hypot declaration... " >&6; }
44229 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
44230 if ${glibcxx_cv_func_hypot_use+:} false; then :
44231 $as_echo_n "(cached) " >&6
44232 else
44235 ac_ext=cpp
44236 ac_cpp='$CXXCPP $CPPFLAGS'
44237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44242 /* end confdefs.h. */
44243 #include <math.h>
44245 main ()
44247 hypot(0, 0);
44249 return 0;
44251 _ACEOF
44252 if ac_fn_cxx_try_compile "$LINENO"; then :
44253 glibcxx_cv_func_hypot_use=yes
44254 else
44255 glibcxx_cv_func_hypot_use=no
44257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44258 ac_ext=c
44259 ac_cpp='$CPP $CPPFLAGS'
44260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
44269 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
44271 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
44272 for ac_func in hypot
44273 do :
44274 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
44275 if test "x$ac_cv_func_hypot" = xyes; then :
44276 cat >>confdefs.h <<_ACEOF
44277 #define HAVE_HYPOT 1
44278 _ACEOF
44281 done
44283 else
44285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
44286 $as_echo_n "checking for _hypot declaration... " >&6; }
44287 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
44288 if ${glibcxx_cv_func__hypot_use+:} false; then :
44289 $as_echo_n "(cached) " >&6
44290 else
44293 ac_ext=cpp
44294 ac_cpp='$CXXCPP $CPPFLAGS'
44295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44300 /* end confdefs.h. */
44301 #include <math.h>
44303 main ()
44305 _hypot(0, 0);
44307 return 0;
44309 _ACEOF
44310 if ac_fn_cxx_try_compile "$LINENO"; then :
44311 glibcxx_cv_func__hypot_use=yes
44312 else
44313 glibcxx_cv_func__hypot_use=no
44315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44316 ac_ext=c
44317 ac_cpp='$CPP $CPPFLAGS'
44318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
44327 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
44329 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
44330 for ac_func in _hypot
44331 do :
44332 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
44333 if test "x$ac_cv_func__hypot" = xyes; then :
44334 cat >>confdefs.h <<_ACEOF
44335 #define HAVE__HYPOT 1
44336 _ACEOF
44339 done
44348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
44349 $as_echo_n "checking for float trig functions... " >&6; }
44350 if ${glibcxx_cv_func_float_trig_use+:} false; then :
44351 $as_echo_n "(cached) " >&6
44352 else
44355 ac_ext=cpp
44356 ac_cpp='$CXXCPP $CPPFLAGS'
44357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44362 /* end confdefs.h. */
44363 #include <math.h>
44365 main ()
44367 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
44369 return 0;
44371 _ACEOF
44372 if ac_fn_cxx_try_compile "$LINENO"; then :
44373 glibcxx_cv_func_float_trig_use=yes
44374 else
44375 glibcxx_cv_func_float_trig_use=no
44377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44378 ac_ext=c
44379 ac_cpp='$CPP $CPPFLAGS'
44380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
44387 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
44388 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
44389 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
44390 do :
44391 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44392 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44393 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44394 cat >>confdefs.h <<_ACEOF
44395 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44396 _ACEOF
44399 done
44401 else
44402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
44403 $as_echo_n "checking for _float trig functions... " >&6; }
44404 if ${glibcxx_cv_func__float_trig_use+:} false; then :
44405 $as_echo_n "(cached) " >&6
44406 else
44409 ac_ext=cpp
44410 ac_cpp='$CXXCPP $CPPFLAGS'
44411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44416 /* end confdefs.h. */
44417 #include <math.h>
44419 main ()
44421 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
44423 return 0;
44425 _ACEOF
44426 if ac_fn_cxx_try_compile "$LINENO"; then :
44427 glibcxx_cv_func__float_trig_use=yes
44428 else
44429 glibcxx_cv_func__float_trig_use=no
44431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44432 ac_ext=c
44433 ac_cpp='$CPP $CPPFLAGS'
44434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
44441 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
44442 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
44443 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
44444 do :
44445 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44446 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44447 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44448 cat >>confdefs.h <<_ACEOF
44449 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44450 _ACEOF
44453 done
44462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
44463 $as_echo_n "checking for float round functions... " >&6; }
44464 if ${glibcxx_cv_func_float_round_use+:} false; then :
44465 $as_echo_n "(cached) " >&6
44466 else
44469 ac_ext=cpp
44470 ac_cpp='$CXXCPP $CPPFLAGS'
44471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44476 /* end confdefs.h. */
44477 #include <math.h>
44479 main ()
44481 ceilf (0); floorf (0);
44483 return 0;
44485 _ACEOF
44486 if ac_fn_cxx_try_compile "$LINENO"; then :
44487 glibcxx_cv_func_float_round_use=yes
44488 else
44489 glibcxx_cv_func_float_round_use=no
44491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44492 ac_ext=c
44493 ac_cpp='$CPP $CPPFLAGS'
44494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
44501 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
44502 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
44503 for ac_func in ceilf floorf
44504 do :
44505 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44506 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44507 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44508 cat >>confdefs.h <<_ACEOF
44509 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44510 _ACEOF
44513 done
44515 else
44516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
44517 $as_echo_n "checking for _float round functions... " >&6; }
44518 if ${glibcxx_cv_func__float_round_use+:} false; then :
44519 $as_echo_n "(cached) " >&6
44520 else
44523 ac_ext=cpp
44524 ac_cpp='$CXXCPP $CPPFLAGS'
44525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44530 /* end confdefs.h. */
44531 #include <math.h>
44533 main ()
44535 _ceilf (0); _floorf (0);
44537 return 0;
44539 _ACEOF
44540 if ac_fn_cxx_try_compile "$LINENO"; then :
44541 glibcxx_cv_func__float_round_use=yes
44542 else
44543 glibcxx_cv_func__float_round_use=no
44545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44546 ac_ext=c
44547 ac_cpp='$CPP $CPPFLAGS'
44548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
44555 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
44556 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
44557 for ac_func in _ceilf _floorf
44558 do :
44559 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44560 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44561 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44562 cat >>confdefs.h <<_ACEOF
44563 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44564 _ACEOF
44567 done
44577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
44578 $as_echo_n "checking for expf declaration... " >&6; }
44579 if test x${glibcxx_cv_func_expf_use+set} != xset; then
44580 if ${glibcxx_cv_func_expf_use+:} false; then :
44581 $as_echo_n "(cached) " >&6
44582 else
44585 ac_ext=cpp
44586 ac_cpp='$CXXCPP $CPPFLAGS'
44587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44592 /* end confdefs.h. */
44593 #include <math.h>
44594 #ifdef HAVE_IEEEFP_H
44595 #include <ieeefp.h>
44596 #endif
44599 main ()
44601 expf(0);
44603 return 0;
44605 _ACEOF
44606 if ac_fn_cxx_try_compile "$LINENO"; then :
44607 glibcxx_cv_func_expf_use=yes
44608 else
44609 glibcxx_cv_func_expf_use=no
44611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44612 ac_ext=c
44613 ac_cpp='$CPP $CPPFLAGS'
44614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
44623 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
44625 if test x$glibcxx_cv_func_expf_use = x"yes"; then
44626 for ac_func in expf
44627 do :
44628 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
44629 if test "x$ac_cv_func_expf" = xyes; then :
44630 cat >>confdefs.h <<_ACEOF
44631 #define HAVE_EXPF 1
44632 _ACEOF
44635 done
44637 else
44639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
44640 $as_echo_n "checking for _expf declaration... " >&6; }
44641 if test x${glibcxx_cv_func__expf_use+set} != xset; then
44642 if ${glibcxx_cv_func__expf_use+:} false; then :
44643 $as_echo_n "(cached) " >&6
44644 else
44647 ac_ext=cpp
44648 ac_cpp='$CXXCPP $CPPFLAGS'
44649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44654 /* end confdefs.h. */
44655 #include <math.h>
44656 #ifdef HAVE_IEEEFP_H
44657 #include <ieeefp.h>
44658 #endif
44661 main ()
44663 _expf(0);
44665 return 0;
44667 _ACEOF
44668 if ac_fn_cxx_try_compile "$LINENO"; then :
44669 glibcxx_cv_func__expf_use=yes
44670 else
44671 glibcxx_cv_func__expf_use=no
44673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44674 ac_ext=c
44675 ac_cpp='$CPP $CPPFLAGS'
44676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
44685 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
44687 if test x$glibcxx_cv_func__expf_use = x"yes"; then
44688 for ac_func in _expf
44689 do :
44690 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
44691 if test "x$ac_cv_func__expf" = xyes; then :
44692 cat >>confdefs.h <<_ACEOF
44693 #define HAVE__EXPF 1
44694 _ACEOF
44697 done
44706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
44707 $as_echo_n "checking for isnanf declaration... " >&6; }
44708 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
44709 if ${glibcxx_cv_func_isnanf_use+:} false; then :
44710 $as_echo_n "(cached) " >&6
44711 else
44714 ac_ext=cpp
44715 ac_cpp='$CXXCPP $CPPFLAGS'
44716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44721 /* end confdefs.h. */
44722 #include <math.h>
44723 #ifdef HAVE_IEEEFP_H
44724 #include <ieeefp.h>
44725 #endif
44728 main ()
44730 isnanf(0);
44732 return 0;
44734 _ACEOF
44735 if ac_fn_cxx_try_compile "$LINENO"; then :
44736 glibcxx_cv_func_isnanf_use=yes
44737 else
44738 glibcxx_cv_func_isnanf_use=no
44740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44741 ac_ext=c
44742 ac_cpp='$CPP $CPPFLAGS'
44743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
44752 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
44754 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
44755 for ac_func in isnanf
44756 do :
44757 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
44758 if test "x$ac_cv_func_isnanf" = xyes; then :
44759 cat >>confdefs.h <<_ACEOF
44760 #define HAVE_ISNANF 1
44761 _ACEOF
44764 done
44766 else
44768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
44769 $as_echo_n "checking for _isnanf declaration... " >&6; }
44770 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
44771 if ${glibcxx_cv_func__isnanf_use+:} false; then :
44772 $as_echo_n "(cached) " >&6
44773 else
44776 ac_ext=cpp
44777 ac_cpp='$CXXCPP $CPPFLAGS'
44778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44783 /* end confdefs.h. */
44784 #include <math.h>
44785 #ifdef HAVE_IEEEFP_H
44786 #include <ieeefp.h>
44787 #endif
44790 main ()
44792 _isnanf(0);
44794 return 0;
44796 _ACEOF
44797 if ac_fn_cxx_try_compile "$LINENO"; then :
44798 glibcxx_cv_func__isnanf_use=yes
44799 else
44800 glibcxx_cv_func__isnanf_use=no
44802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44803 ac_ext=c
44804 ac_cpp='$CPP $CPPFLAGS'
44805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
44814 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
44816 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
44817 for ac_func in _isnanf
44818 do :
44819 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
44820 if test "x$ac_cv_func__isnanf" = xyes; then :
44821 cat >>confdefs.h <<_ACEOF
44822 #define HAVE__ISNANF 1
44823 _ACEOF
44826 done
44835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
44836 $as_echo_n "checking for isinff declaration... " >&6; }
44837 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
44838 if ${glibcxx_cv_func_isinff_use+:} false; then :
44839 $as_echo_n "(cached) " >&6
44840 else
44843 ac_ext=cpp
44844 ac_cpp='$CXXCPP $CPPFLAGS'
44845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44850 /* end confdefs.h. */
44851 #include <math.h>
44852 #ifdef HAVE_IEEEFP_H
44853 #include <ieeefp.h>
44854 #endif
44857 main ()
44859 isinff(0);
44861 return 0;
44863 _ACEOF
44864 if ac_fn_cxx_try_compile "$LINENO"; then :
44865 glibcxx_cv_func_isinff_use=yes
44866 else
44867 glibcxx_cv_func_isinff_use=no
44869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44870 ac_ext=c
44871 ac_cpp='$CPP $CPPFLAGS'
44872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
44881 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
44883 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
44884 for ac_func in isinff
44885 do :
44886 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
44887 if test "x$ac_cv_func_isinff" = xyes; then :
44888 cat >>confdefs.h <<_ACEOF
44889 #define HAVE_ISINFF 1
44890 _ACEOF
44893 done
44895 else
44897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
44898 $as_echo_n "checking for _isinff declaration... " >&6; }
44899 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
44900 if ${glibcxx_cv_func__isinff_use+:} false; then :
44901 $as_echo_n "(cached) " >&6
44902 else
44905 ac_ext=cpp
44906 ac_cpp='$CXXCPP $CPPFLAGS'
44907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44912 /* end confdefs.h. */
44913 #include <math.h>
44914 #ifdef HAVE_IEEEFP_H
44915 #include <ieeefp.h>
44916 #endif
44919 main ()
44921 _isinff(0);
44923 return 0;
44925 _ACEOF
44926 if ac_fn_cxx_try_compile "$LINENO"; then :
44927 glibcxx_cv_func__isinff_use=yes
44928 else
44929 glibcxx_cv_func__isinff_use=no
44931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44932 ac_ext=c
44933 ac_cpp='$CPP $CPPFLAGS'
44934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
44943 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
44945 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
44946 for ac_func in _isinff
44947 do :
44948 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
44949 if test "x$ac_cv_func__isinff" = xyes; then :
44950 cat >>confdefs.h <<_ACEOF
44951 #define HAVE__ISINFF 1
44952 _ACEOF
44955 done
44964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
44965 $as_echo_n "checking for atan2f declaration... " >&6; }
44966 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
44967 if ${glibcxx_cv_func_atan2f_use+:} false; then :
44968 $as_echo_n "(cached) " >&6
44969 else
44972 ac_ext=cpp
44973 ac_cpp='$CXXCPP $CPPFLAGS'
44974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44979 /* end confdefs.h. */
44980 #include <math.h>
44982 main ()
44984 atan2f(0, 0);
44986 return 0;
44988 _ACEOF
44989 if ac_fn_cxx_try_compile "$LINENO"; then :
44990 glibcxx_cv_func_atan2f_use=yes
44991 else
44992 glibcxx_cv_func_atan2f_use=no
44994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44995 ac_ext=c
44996 ac_cpp='$CPP $CPPFLAGS'
44997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
45006 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
45008 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
45009 for ac_func in atan2f
45010 do :
45011 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
45012 if test "x$ac_cv_func_atan2f" = xyes; then :
45013 cat >>confdefs.h <<_ACEOF
45014 #define HAVE_ATAN2F 1
45015 _ACEOF
45018 done
45020 else
45022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
45023 $as_echo_n "checking for _atan2f declaration... " >&6; }
45024 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
45025 if ${glibcxx_cv_func__atan2f_use+:} false; then :
45026 $as_echo_n "(cached) " >&6
45027 else
45030 ac_ext=cpp
45031 ac_cpp='$CXXCPP $CPPFLAGS'
45032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45037 /* end confdefs.h. */
45038 #include <math.h>
45040 main ()
45042 _atan2f(0, 0);
45044 return 0;
45046 _ACEOF
45047 if ac_fn_cxx_try_compile "$LINENO"; then :
45048 glibcxx_cv_func__atan2f_use=yes
45049 else
45050 glibcxx_cv_func__atan2f_use=no
45052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45053 ac_ext=c
45054 ac_cpp='$CPP $CPPFLAGS'
45055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
45064 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
45066 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
45067 for ac_func in _atan2f
45068 do :
45069 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
45070 if test "x$ac_cv_func__atan2f" = xyes; then :
45071 cat >>confdefs.h <<_ACEOF
45072 #define HAVE__ATAN2F 1
45073 _ACEOF
45076 done
45085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
45086 $as_echo_n "checking for fabsf declaration... " >&6; }
45087 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
45088 if ${glibcxx_cv_func_fabsf_use+:} false; then :
45089 $as_echo_n "(cached) " >&6
45090 else
45093 ac_ext=cpp
45094 ac_cpp='$CXXCPP $CPPFLAGS'
45095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45100 /* end confdefs.h. */
45101 #include <math.h>
45102 #ifdef HAVE_IEEEFP_H
45103 #include <ieeefp.h>
45104 #endif
45107 main ()
45109 fabsf(0);
45111 return 0;
45113 _ACEOF
45114 if ac_fn_cxx_try_compile "$LINENO"; then :
45115 glibcxx_cv_func_fabsf_use=yes
45116 else
45117 glibcxx_cv_func_fabsf_use=no
45119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45120 ac_ext=c
45121 ac_cpp='$CPP $CPPFLAGS'
45122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
45131 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
45133 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
45134 for ac_func in fabsf
45135 do :
45136 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
45137 if test "x$ac_cv_func_fabsf" = xyes; then :
45138 cat >>confdefs.h <<_ACEOF
45139 #define HAVE_FABSF 1
45140 _ACEOF
45143 done
45145 else
45147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
45148 $as_echo_n "checking for _fabsf declaration... " >&6; }
45149 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
45150 if ${glibcxx_cv_func__fabsf_use+:} false; then :
45151 $as_echo_n "(cached) " >&6
45152 else
45155 ac_ext=cpp
45156 ac_cpp='$CXXCPP $CPPFLAGS'
45157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45162 /* end confdefs.h. */
45163 #include <math.h>
45164 #ifdef HAVE_IEEEFP_H
45165 #include <ieeefp.h>
45166 #endif
45169 main ()
45171 _fabsf(0);
45173 return 0;
45175 _ACEOF
45176 if ac_fn_cxx_try_compile "$LINENO"; then :
45177 glibcxx_cv_func__fabsf_use=yes
45178 else
45179 glibcxx_cv_func__fabsf_use=no
45181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45182 ac_ext=c
45183 ac_cpp='$CPP $CPPFLAGS'
45184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
45193 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
45195 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
45196 for ac_func in _fabsf
45197 do :
45198 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
45199 if test "x$ac_cv_func__fabsf" = xyes; then :
45200 cat >>confdefs.h <<_ACEOF
45201 #define HAVE__FABSF 1
45202 _ACEOF
45205 done
45214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
45215 $as_echo_n "checking for fmodf declaration... " >&6; }
45216 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
45217 if ${glibcxx_cv_func_fmodf_use+:} false; then :
45218 $as_echo_n "(cached) " >&6
45219 else
45222 ac_ext=cpp
45223 ac_cpp='$CXXCPP $CPPFLAGS'
45224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45229 /* end confdefs.h. */
45230 #include <math.h>
45232 main ()
45234 fmodf(0, 0);
45236 return 0;
45238 _ACEOF
45239 if ac_fn_cxx_try_compile "$LINENO"; then :
45240 glibcxx_cv_func_fmodf_use=yes
45241 else
45242 glibcxx_cv_func_fmodf_use=no
45244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45245 ac_ext=c
45246 ac_cpp='$CPP $CPPFLAGS'
45247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
45256 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
45258 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
45259 for ac_func in fmodf
45260 do :
45261 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
45262 if test "x$ac_cv_func_fmodf" = xyes; then :
45263 cat >>confdefs.h <<_ACEOF
45264 #define HAVE_FMODF 1
45265 _ACEOF
45268 done
45270 else
45272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
45273 $as_echo_n "checking for _fmodf declaration... " >&6; }
45274 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
45275 if ${glibcxx_cv_func__fmodf_use+:} false; then :
45276 $as_echo_n "(cached) " >&6
45277 else
45280 ac_ext=cpp
45281 ac_cpp='$CXXCPP $CPPFLAGS'
45282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45287 /* end confdefs.h. */
45288 #include <math.h>
45290 main ()
45292 _fmodf(0, 0);
45294 return 0;
45296 _ACEOF
45297 if ac_fn_cxx_try_compile "$LINENO"; then :
45298 glibcxx_cv_func__fmodf_use=yes
45299 else
45300 glibcxx_cv_func__fmodf_use=no
45302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45303 ac_ext=c
45304 ac_cpp='$CPP $CPPFLAGS'
45305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
45314 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
45316 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
45317 for ac_func in _fmodf
45318 do :
45319 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
45320 if test "x$ac_cv_func__fmodf" = xyes; then :
45321 cat >>confdefs.h <<_ACEOF
45322 #define HAVE__FMODF 1
45323 _ACEOF
45326 done
45335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
45336 $as_echo_n "checking for frexpf declaration... " >&6; }
45337 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
45338 if ${glibcxx_cv_func_frexpf_use+:} false; then :
45339 $as_echo_n "(cached) " >&6
45340 else
45343 ac_ext=cpp
45344 ac_cpp='$CXXCPP $CPPFLAGS'
45345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45350 /* end confdefs.h. */
45351 #include <math.h>
45353 main ()
45355 frexpf(0, 0);
45357 return 0;
45359 _ACEOF
45360 if ac_fn_cxx_try_compile "$LINENO"; then :
45361 glibcxx_cv_func_frexpf_use=yes
45362 else
45363 glibcxx_cv_func_frexpf_use=no
45365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45366 ac_ext=c
45367 ac_cpp='$CPP $CPPFLAGS'
45368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
45377 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
45379 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
45380 for ac_func in frexpf
45381 do :
45382 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
45383 if test "x$ac_cv_func_frexpf" = xyes; then :
45384 cat >>confdefs.h <<_ACEOF
45385 #define HAVE_FREXPF 1
45386 _ACEOF
45389 done
45391 else
45393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
45394 $as_echo_n "checking for _frexpf declaration... " >&6; }
45395 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
45396 if ${glibcxx_cv_func__frexpf_use+:} false; then :
45397 $as_echo_n "(cached) " >&6
45398 else
45401 ac_ext=cpp
45402 ac_cpp='$CXXCPP $CPPFLAGS'
45403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45408 /* end confdefs.h. */
45409 #include <math.h>
45411 main ()
45413 _frexpf(0, 0);
45415 return 0;
45417 _ACEOF
45418 if ac_fn_cxx_try_compile "$LINENO"; then :
45419 glibcxx_cv_func__frexpf_use=yes
45420 else
45421 glibcxx_cv_func__frexpf_use=no
45423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45424 ac_ext=c
45425 ac_cpp='$CPP $CPPFLAGS'
45426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
45435 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
45437 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
45438 for ac_func in _frexpf
45439 do :
45440 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
45441 if test "x$ac_cv_func__frexpf" = xyes; then :
45442 cat >>confdefs.h <<_ACEOF
45443 #define HAVE__FREXPF 1
45444 _ACEOF
45447 done
45456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
45457 $as_echo_n "checking for hypotf declaration... " >&6; }
45458 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
45459 if ${glibcxx_cv_func_hypotf_use+:} false; then :
45460 $as_echo_n "(cached) " >&6
45461 else
45464 ac_ext=cpp
45465 ac_cpp='$CXXCPP $CPPFLAGS'
45466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45471 /* end confdefs.h. */
45472 #include <math.h>
45474 main ()
45476 hypotf(0, 0);
45478 return 0;
45480 _ACEOF
45481 if ac_fn_cxx_try_compile "$LINENO"; then :
45482 glibcxx_cv_func_hypotf_use=yes
45483 else
45484 glibcxx_cv_func_hypotf_use=no
45486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45487 ac_ext=c
45488 ac_cpp='$CPP $CPPFLAGS'
45489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
45498 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
45500 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
45501 for ac_func in hypotf
45502 do :
45503 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
45504 if test "x$ac_cv_func_hypotf" = xyes; then :
45505 cat >>confdefs.h <<_ACEOF
45506 #define HAVE_HYPOTF 1
45507 _ACEOF
45510 done
45512 else
45514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
45515 $as_echo_n "checking for _hypotf declaration... " >&6; }
45516 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
45517 if ${glibcxx_cv_func__hypotf_use+:} false; then :
45518 $as_echo_n "(cached) " >&6
45519 else
45522 ac_ext=cpp
45523 ac_cpp='$CXXCPP $CPPFLAGS'
45524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45529 /* end confdefs.h. */
45530 #include <math.h>
45532 main ()
45534 _hypotf(0, 0);
45536 return 0;
45538 _ACEOF
45539 if ac_fn_cxx_try_compile "$LINENO"; then :
45540 glibcxx_cv_func__hypotf_use=yes
45541 else
45542 glibcxx_cv_func__hypotf_use=no
45544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45545 ac_ext=c
45546 ac_cpp='$CPP $CPPFLAGS'
45547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
45556 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
45558 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
45559 for ac_func in _hypotf
45560 do :
45561 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
45562 if test "x$ac_cv_func__hypotf" = xyes; then :
45563 cat >>confdefs.h <<_ACEOF
45564 #define HAVE__HYPOTF 1
45565 _ACEOF
45568 done
45577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
45578 $as_echo_n "checking for ldexpf declaration... " >&6; }
45579 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
45580 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
45581 $as_echo_n "(cached) " >&6
45582 else
45585 ac_ext=cpp
45586 ac_cpp='$CXXCPP $CPPFLAGS'
45587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45592 /* end confdefs.h. */
45593 #include <math.h>
45595 main ()
45597 ldexpf(0, 0);
45599 return 0;
45601 _ACEOF
45602 if ac_fn_cxx_try_compile "$LINENO"; then :
45603 glibcxx_cv_func_ldexpf_use=yes
45604 else
45605 glibcxx_cv_func_ldexpf_use=no
45607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45608 ac_ext=c
45609 ac_cpp='$CPP $CPPFLAGS'
45610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
45619 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
45621 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
45622 for ac_func in ldexpf
45623 do :
45624 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
45625 if test "x$ac_cv_func_ldexpf" = xyes; then :
45626 cat >>confdefs.h <<_ACEOF
45627 #define HAVE_LDEXPF 1
45628 _ACEOF
45631 done
45633 else
45635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
45636 $as_echo_n "checking for _ldexpf declaration... " >&6; }
45637 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
45638 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
45639 $as_echo_n "(cached) " >&6
45640 else
45643 ac_ext=cpp
45644 ac_cpp='$CXXCPP $CPPFLAGS'
45645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45650 /* end confdefs.h. */
45651 #include <math.h>
45653 main ()
45655 _ldexpf(0, 0);
45657 return 0;
45659 _ACEOF
45660 if ac_fn_cxx_try_compile "$LINENO"; then :
45661 glibcxx_cv_func__ldexpf_use=yes
45662 else
45663 glibcxx_cv_func__ldexpf_use=no
45665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45666 ac_ext=c
45667 ac_cpp='$CPP $CPPFLAGS'
45668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
45677 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
45679 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
45680 for ac_func in _ldexpf
45681 do :
45682 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
45683 if test "x$ac_cv_func__ldexpf" = xyes; then :
45684 cat >>confdefs.h <<_ACEOF
45685 #define HAVE__LDEXPF 1
45686 _ACEOF
45689 done
45698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
45699 $as_echo_n "checking for logf declaration... " >&6; }
45700 if test x${glibcxx_cv_func_logf_use+set} != xset; then
45701 if ${glibcxx_cv_func_logf_use+:} false; then :
45702 $as_echo_n "(cached) " >&6
45703 else
45706 ac_ext=cpp
45707 ac_cpp='$CXXCPP $CPPFLAGS'
45708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45713 /* end confdefs.h. */
45714 #include <math.h>
45715 #ifdef HAVE_IEEEFP_H
45716 #include <ieeefp.h>
45717 #endif
45720 main ()
45722 logf(0);
45724 return 0;
45726 _ACEOF
45727 if ac_fn_cxx_try_compile "$LINENO"; then :
45728 glibcxx_cv_func_logf_use=yes
45729 else
45730 glibcxx_cv_func_logf_use=no
45732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45733 ac_ext=c
45734 ac_cpp='$CPP $CPPFLAGS'
45735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
45744 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
45746 if test x$glibcxx_cv_func_logf_use = x"yes"; then
45747 for ac_func in logf
45748 do :
45749 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
45750 if test "x$ac_cv_func_logf" = xyes; then :
45751 cat >>confdefs.h <<_ACEOF
45752 #define HAVE_LOGF 1
45753 _ACEOF
45756 done
45758 else
45760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
45761 $as_echo_n "checking for _logf declaration... " >&6; }
45762 if test x${glibcxx_cv_func__logf_use+set} != xset; then
45763 if ${glibcxx_cv_func__logf_use+:} false; then :
45764 $as_echo_n "(cached) " >&6
45765 else
45768 ac_ext=cpp
45769 ac_cpp='$CXXCPP $CPPFLAGS'
45770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45775 /* end confdefs.h. */
45776 #include <math.h>
45777 #ifdef HAVE_IEEEFP_H
45778 #include <ieeefp.h>
45779 #endif
45782 main ()
45784 _logf(0);
45786 return 0;
45788 _ACEOF
45789 if ac_fn_cxx_try_compile "$LINENO"; then :
45790 glibcxx_cv_func__logf_use=yes
45791 else
45792 glibcxx_cv_func__logf_use=no
45794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45795 ac_ext=c
45796 ac_cpp='$CPP $CPPFLAGS'
45797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
45806 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
45808 if test x$glibcxx_cv_func__logf_use = x"yes"; then
45809 for ac_func in _logf
45810 do :
45811 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
45812 if test "x$ac_cv_func__logf" = xyes; then :
45813 cat >>confdefs.h <<_ACEOF
45814 #define HAVE__LOGF 1
45815 _ACEOF
45818 done
45827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
45828 $as_echo_n "checking for log10f declaration... " >&6; }
45829 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
45830 if ${glibcxx_cv_func_log10f_use+:} false; then :
45831 $as_echo_n "(cached) " >&6
45832 else
45835 ac_ext=cpp
45836 ac_cpp='$CXXCPP $CPPFLAGS'
45837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45842 /* end confdefs.h. */
45843 #include <math.h>
45844 #ifdef HAVE_IEEEFP_H
45845 #include <ieeefp.h>
45846 #endif
45849 main ()
45851 log10f(0);
45853 return 0;
45855 _ACEOF
45856 if ac_fn_cxx_try_compile "$LINENO"; then :
45857 glibcxx_cv_func_log10f_use=yes
45858 else
45859 glibcxx_cv_func_log10f_use=no
45861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45862 ac_ext=c
45863 ac_cpp='$CPP $CPPFLAGS'
45864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
45873 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
45875 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
45876 for ac_func in log10f
45877 do :
45878 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
45879 if test "x$ac_cv_func_log10f" = xyes; then :
45880 cat >>confdefs.h <<_ACEOF
45881 #define HAVE_LOG10F 1
45882 _ACEOF
45885 done
45887 else
45889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
45890 $as_echo_n "checking for _log10f declaration... " >&6; }
45891 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
45892 if ${glibcxx_cv_func__log10f_use+:} false; then :
45893 $as_echo_n "(cached) " >&6
45894 else
45897 ac_ext=cpp
45898 ac_cpp='$CXXCPP $CPPFLAGS'
45899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45904 /* end confdefs.h. */
45905 #include <math.h>
45906 #ifdef HAVE_IEEEFP_H
45907 #include <ieeefp.h>
45908 #endif
45911 main ()
45913 _log10f(0);
45915 return 0;
45917 _ACEOF
45918 if ac_fn_cxx_try_compile "$LINENO"; then :
45919 glibcxx_cv_func__log10f_use=yes
45920 else
45921 glibcxx_cv_func__log10f_use=no
45923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45924 ac_ext=c
45925 ac_cpp='$CPP $CPPFLAGS'
45926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
45935 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
45937 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
45938 for ac_func in _log10f
45939 do :
45940 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
45941 if test "x$ac_cv_func__log10f" = xyes; then :
45942 cat >>confdefs.h <<_ACEOF
45943 #define HAVE__LOG10F 1
45944 _ACEOF
45947 done
45956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
45957 $as_echo_n "checking for modff declaration... " >&6; }
45958 if test x${glibcxx_cv_func_modff_use+set} != xset; then
45959 if ${glibcxx_cv_func_modff_use+:} false; then :
45960 $as_echo_n "(cached) " >&6
45961 else
45964 ac_ext=cpp
45965 ac_cpp='$CXXCPP $CPPFLAGS'
45966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45971 /* end confdefs.h. */
45972 #include <math.h>
45974 main ()
45976 modff(0, 0);
45978 return 0;
45980 _ACEOF
45981 if ac_fn_cxx_try_compile "$LINENO"; then :
45982 glibcxx_cv_func_modff_use=yes
45983 else
45984 glibcxx_cv_func_modff_use=no
45986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45987 ac_ext=c
45988 ac_cpp='$CPP $CPPFLAGS'
45989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
45998 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
46000 if test x$glibcxx_cv_func_modff_use = x"yes"; then
46001 for ac_func in modff
46002 do :
46003 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
46004 if test "x$ac_cv_func_modff" = xyes; then :
46005 cat >>confdefs.h <<_ACEOF
46006 #define HAVE_MODFF 1
46007 _ACEOF
46010 done
46012 else
46014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
46015 $as_echo_n "checking for _modff declaration... " >&6; }
46016 if test x${glibcxx_cv_func__modff_use+set} != xset; then
46017 if ${glibcxx_cv_func__modff_use+:} false; then :
46018 $as_echo_n "(cached) " >&6
46019 else
46022 ac_ext=cpp
46023 ac_cpp='$CXXCPP $CPPFLAGS'
46024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46029 /* end confdefs.h. */
46030 #include <math.h>
46032 main ()
46034 _modff(0, 0);
46036 return 0;
46038 _ACEOF
46039 if ac_fn_cxx_try_compile "$LINENO"; then :
46040 glibcxx_cv_func__modff_use=yes
46041 else
46042 glibcxx_cv_func__modff_use=no
46044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46045 ac_ext=c
46046 ac_cpp='$CPP $CPPFLAGS'
46047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
46056 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
46058 if test x$glibcxx_cv_func__modff_use = x"yes"; then
46059 for ac_func in _modff
46060 do :
46061 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
46062 if test "x$ac_cv_func__modff" = xyes; then :
46063 cat >>confdefs.h <<_ACEOF
46064 #define HAVE__MODFF 1
46065 _ACEOF
46068 done
46077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
46078 $as_echo_n "checking for modf declaration... " >&6; }
46079 if test x${glibcxx_cv_func_modf_use+set} != xset; then
46080 if ${glibcxx_cv_func_modf_use+:} false; then :
46081 $as_echo_n "(cached) " >&6
46082 else
46085 ac_ext=cpp
46086 ac_cpp='$CXXCPP $CPPFLAGS'
46087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46092 /* end confdefs.h. */
46093 #include <math.h>
46095 main ()
46097 modf(0, 0);
46099 return 0;
46101 _ACEOF
46102 if ac_fn_cxx_try_compile "$LINENO"; then :
46103 glibcxx_cv_func_modf_use=yes
46104 else
46105 glibcxx_cv_func_modf_use=no
46107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46108 ac_ext=c
46109 ac_cpp='$CPP $CPPFLAGS'
46110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
46119 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
46121 if test x$glibcxx_cv_func_modf_use = x"yes"; then
46122 for ac_func in modf
46123 do :
46124 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
46125 if test "x$ac_cv_func_modf" = xyes; then :
46126 cat >>confdefs.h <<_ACEOF
46127 #define HAVE_MODF 1
46128 _ACEOF
46131 done
46133 else
46135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
46136 $as_echo_n "checking for _modf declaration... " >&6; }
46137 if test x${glibcxx_cv_func__modf_use+set} != xset; then
46138 if ${glibcxx_cv_func__modf_use+:} false; then :
46139 $as_echo_n "(cached) " >&6
46140 else
46143 ac_ext=cpp
46144 ac_cpp='$CXXCPP $CPPFLAGS'
46145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46150 /* end confdefs.h. */
46151 #include <math.h>
46153 main ()
46155 _modf(0, 0);
46157 return 0;
46159 _ACEOF
46160 if ac_fn_cxx_try_compile "$LINENO"; then :
46161 glibcxx_cv_func__modf_use=yes
46162 else
46163 glibcxx_cv_func__modf_use=no
46165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46166 ac_ext=c
46167 ac_cpp='$CPP $CPPFLAGS'
46168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
46177 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
46179 if test x$glibcxx_cv_func__modf_use = x"yes"; then
46180 for ac_func in _modf
46181 do :
46182 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
46183 if test "x$ac_cv_func__modf" = xyes; then :
46184 cat >>confdefs.h <<_ACEOF
46185 #define HAVE__MODF 1
46186 _ACEOF
46189 done
46198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
46199 $as_echo_n "checking for powf declaration... " >&6; }
46200 if test x${glibcxx_cv_func_powf_use+set} != xset; then
46201 if ${glibcxx_cv_func_powf_use+:} false; then :
46202 $as_echo_n "(cached) " >&6
46203 else
46206 ac_ext=cpp
46207 ac_cpp='$CXXCPP $CPPFLAGS'
46208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46213 /* end confdefs.h. */
46214 #include <math.h>
46216 main ()
46218 powf(0, 0);
46220 return 0;
46222 _ACEOF
46223 if ac_fn_cxx_try_compile "$LINENO"; then :
46224 glibcxx_cv_func_powf_use=yes
46225 else
46226 glibcxx_cv_func_powf_use=no
46228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46229 ac_ext=c
46230 ac_cpp='$CPP $CPPFLAGS'
46231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
46240 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
46242 if test x$glibcxx_cv_func_powf_use = x"yes"; then
46243 for ac_func in powf
46244 do :
46245 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
46246 if test "x$ac_cv_func_powf" = xyes; then :
46247 cat >>confdefs.h <<_ACEOF
46248 #define HAVE_POWF 1
46249 _ACEOF
46252 done
46254 else
46256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
46257 $as_echo_n "checking for _powf declaration... " >&6; }
46258 if test x${glibcxx_cv_func__powf_use+set} != xset; then
46259 if ${glibcxx_cv_func__powf_use+:} false; then :
46260 $as_echo_n "(cached) " >&6
46261 else
46264 ac_ext=cpp
46265 ac_cpp='$CXXCPP $CPPFLAGS'
46266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46271 /* end confdefs.h. */
46272 #include <math.h>
46274 main ()
46276 _powf(0, 0);
46278 return 0;
46280 _ACEOF
46281 if ac_fn_cxx_try_compile "$LINENO"; then :
46282 glibcxx_cv_func__powf_use=yes
46283 else
46284 glibcxx_cv_func__powf_use=no
46286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46287 ac_ext=c
46288 ac_cpp='$CPP $CPPFLAGS'
46289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
46298 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
46300 if test x$glibcxx_cv_func__powf_use = x"yes"; then
46301 for ac_func in _powf
46302 do :
46303 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
46304 if test "x$ac_cv_func__powf" = xyes; then :
46305 cat >>confdefs.h <<_ACEOF
46306 #define HAVE__POWF 1
46307 _ACEOF
46310 done
46319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
46320 $as_echo_n "checking for sqrtf declaration... " >&6; }
46321 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
46322 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
46323 $as_echo_n "(cached) " >&6
46324 else
46327 ac_ext=cpp
46328 ac_cpp='$CXXCPP $CPPFLAGS'
46329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46334 /* end confdefs.h. */
46335 #include <math.h>
46336 #ifdef HAVE_IEEEFP_H
46337 #include <ieeefp.h>
46338 #endif
46341 main ()
46343 sqrtf(0);
46345 return 0;
46347 _ACEOF
46348 if ac_fn_cxx_try_compile "$LINENO"; then :
46349 glibcxx_cv_func_sqrtf_use=yes
46350 else
46351 glibcxx_cv_func_sqrtf_use=no
46353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46354 ac_ext=c
46355 ac_cpp='$CPP $CPPFLAGS'
46356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
46365 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
46367 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
46368 for ac_func in sqrtf
46369 do :
46370 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
46371 if test "x$ac_cv_func_sqrtf" = xyes; then :
46372 cat >>confdefs.h <<_ACEOF
46373 #define HAVE_SQRTF 1
46374 _ACEOF
46377 done
46379 else
46381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
46382 $as_echo_n "checking for _sqrtf declaration... " >&6; }
46383 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
46384 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
46385 $as_echo_n "(cached) " >&6
46386 else
46389 ac_ext=cpp
46390 ac_cpp='$CXXCPP $CPPFLAGS'
46391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46396 /* end confdefs.h. */
46397 #include <math.h>
46398 #ifdef HAVE_IEEEFP_H
46399 #include <ieeefp.h>
46400 #endif
46403 main ()
46405 _sqrtf(0);
46407 return 0;
46409 _ACEOF
46410 if ac_fn_cxx_try_compile "$LINENO"; then :
46411 glibcxx_cv_func__sqrtf_use=yes
46412 else
46413 glibcxx_cv_func__sqrtf_use=no
46415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46416 ac_ext=c
46417 ac_cpp='$CPP $CPPFLAGS'
46418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
46427 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
46429 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
46430 for ac_func in _sqrtf
46431 do :
46432 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
46433 if test "x$ac_cv_func__sqrtf" = xyes; then :
46434 cat >>confdefs.h <<_ACEOF
46435 #define HAVE__SQRTF 1
46436 _ACEOF
46439 done
46448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
46449 $as_echo_n "checking for sincosf declaration... " >&6; }
46450 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
46451 if ${glibcxx_cv_func_sincosf_use+:} false; then :
46452 $as_echo_n "(cached) " >&6
46453 else
46456 ac_ext=cpp
46457 ac_cpp='$CXXCPP $CPPFLAGS'
46458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46463 /* end confdefs.h. */
46464 #include <math.h>
46466 main ()
46468 sincosf(0, 0, 0);
46470 return 0;
46472 _ACEOF
46473 if ac_fn_cxx_try_compile "$LINENO"; then :
46474 glibcxx_cv_func_sincosf_use=yes
46475 else
46476 glibcxx_cv_func_sincosf_use=no
46478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46479 ac_ext=c
46480 ac_cpp='$CPP $CPPFLAGS'
46481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
46490 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
46492 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
46493 for ac_func in sincosf
46494 do :
46495 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
46496 if test "x$ac_cv_func_sincosf" = xyes; then :
46497 cat >>confdefs.h <<_ACEOF
46498 #define HAVE_SINCOSF 1
46499 _ACEOF
46502 done
46504 else
46506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
46507 $as_echo_n "checking for _sincosf declaration... " >&6; }
46508 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
46509 if ${glibcxx_cv_func__sincosf_use+:} false; then :
46510 $as_echo_n "(cached) " >&6
46511 else
46514 ac_ext=cpp
46515 ac_cpp='$CXXCPP $CPPFLAGS'
46516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46521 /* end confdefs.h. */
46522 #include <math.h>
46524 main ()
46526 _sincosf(0, 0, 0);
46528 return 0;
46530 _ACEOF
46531 if ac_fn_cxx_try_compile "$LINENO"; then :
46532 glibcxx_cv_func__sincosf_use=yes
46533 else
46534 glibcxx_cv_func__sincosf_use=no
46536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46537 ac_ext=c
46538 ac_cpp='$CPP $CPPFLAGS'
46539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
46548 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
46550 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
46551 for ac_func in _sincosf
46552 do :
46553 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
46554 if test "x$ac_cv_func__sincosf" = xyes; then :
46555 cat >>confdefs.h <<_ACEOF
46556 #define HAVE__SINCOSF 1
46557 _ACEOF
46560 done
46569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
46570 $as_echo_n "checking for finitef declaration... " >&6; }
46571 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
46572 if ${glibcxx_cv_func_finitef_use+:} false; then :
46573 $as_echo_n "(cached) " >&6
46574 else
46577 ac_ext=cpp
46578 ac_cpp='$CXXCPP $CPPFLAGS'
46579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46584 /* end confdefs.h. */
46585 #include <math.h>
46586 #ifdef HAVE_IEEEFP_H
46587 #include <ieeefp.h>
46588 #endif
46591 main ()
46593 finitef(0);
46595 return 0;
46597 _ACEOF
46598 if ac_fn_cxx_try_compile "$LINENO"; then :
46599 glibcxx_cv_func_finitef_use=yes
46600 else
46601 glibcxx_cv_func_finitef_use=no
46603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46604 ac_ext=c
46605 ac_cpp='$CPP $CPPFLAGS'
46606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
46615 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
46617 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
46618 for ac_func in finitef
46619 do :
46620 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
46621 if test "x$ac_cv_func_finitef" = xyes; then :
46622 cat >>confdefs.h <<_ACEOF
46623 #define HAVE_FINITEF 1
46624 _ACEOF
46627 done
46629 else
46631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
46632 $as_echo_n "checking for _finitef declaration... " >&6; }
46633 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
46634 if ${glibcxx_cv_func__finitef_use+:} false; then :
46635 $as_echo_n "(cached) " >&6
46636 else
46639 ac_ext=cpp
46640 ac_cpp='$CXXCPP $CPPFLAGS'
46641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46646 /* end confdefs.h. */
46647 #include <math.h>
46648 #ifdef HAVE_IEEEFP_H
46649 #include <ieeefp.h>
46650 #endif
46653 main ()
46655 _finitef(0);
46657 return 0;
46659 _ACEOF
46660 if ac_fn_cxx_try_compile "$LINENO"; then :
46661 glibcxx_cv_func__finitef_use=yes
46662 else
46663 glibcxx_cv_func__finitef_use=no
46665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46666 ac_ext=c
46667 ac_cpp='$CPP $CPPFLAGS'
46668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
46677 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
46679 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
46680 for ac_func in _finitef
46681 do :
46682 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
46683 if test "x$ac_cv_func__finitef" = xyes; then :
46684 cat >>confdefs.h <<_ACEOF
46685 #define HAVE__FINITEF 1
46686 _ACEOF
46689 done
46698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
46699 $as_echo_n "checking for long double trig functions... " >&6; }
46700 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
46701 $as_echo_n "(cached) " >&6
46702 else
46705 ac_ext=cpp
46706 ac_cpp='$CXXCPP $CPPFLAGS'
46707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46712 /* end confdefs.h. */
46713 #include <math.h>
46715 main ()
46717 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
46719 return 0;
46721 _ACEOF
46722 if ac_fn_cxx_try_compile "$LINENO"; then :
46723 glibcxx_cv_func_long_double_trig_use=yes
46724 else
46725 glibcxx_cv_func_long_double_trig_use=no
46727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46728 ac_ext=c
46729 ac_cpp='$CPP $CPPFLAGS'
46730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
46737 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
46738 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
46739 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
46740 do :
46741 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46742 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46743 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
46744 cat >>confdefs.h <<_ACEOF
46745 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46746 _ACEOF
46749 done
46751 else
46752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
46753 $as_echo_n "checking for _long double trig functions... " >&6; }
46754 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
46755 $as_echo_n "(cached) " >&6
46756 else
46759 ac_ext=cpp
46760 ac_cpp='$CXXCPP $CPPFLAGS'
46761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46766 /* end confdefs.h. */
46767 #include <math.h>
46769 main ()
46771 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
46773 return 0;
46775 _ACEOF
46776 if ac_fn_cxx_try_compile "$LINENO"; then :
46777 glibcxx_cv_func__long_double_trig_use=yes
46778 else
46779 glibcxx_cv_func__long_double_trig_use=no
46781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46782 ac_ext=c
46783 ac_cpp='$CPP $CPPFLAGS'
46784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
46791 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
46792 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
46793 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
46794 do :
46795 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46796 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46797 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
46798 cat >>confdefs.h <<_ACEOF
46799 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46800 _ACEOF
46803 done
46812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
46813 $as_echo_n "checking for long double round functions... " >&6; }
46814 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
46815 $as_echo_n "(cached) " >&6
46816 else
46819 ac_ext=cpp
46820 ac_cpp='$CXXCPP $CPPFLAGS'
46821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46826 /* end confdefs.h. */
46827 #include <math.h>
46829 main ()
46831 ceill (0); floorl (0);
46833 return 0;
46835 _ACEOF
46836 if ac_fn_cxx_try_compile "$LINENO"; then :
46837 glibcxx_cv_func_long_double_round_use=yes
46838 else
46839 glibcxx_cv_func_long_double_round_use=no
46841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46842 ac_ext=c
46843 ac_cpp='$CPP $CPPFLAGS'
46844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
46851 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
46852 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
46853 for ac_func in ceill floorl
46854 do :
46855 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46856 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46857 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
46858 cat >>confdefs.h <<_ACEOF
46859 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46860 _ACEOF
46863 done
46865 else
46866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
46867 $as_echo_n "checking for _long double round functions... " >&6; }
46868 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
46869 $as_echo_n "(cached) " >&6
46870 else
46873 ac_ext=cpp
46874 ac_cpp='$CXXCPP $CPPFLAGS'
46875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46880 /* end confdefs.h. */
46881 #include <math.h>
46883 main ()
46885 _ceill (0); _floorl (0);
46887 return 0;
46889 _ACEOF
46890 if ac_fn_cxx_try_compile "$LINENO"; then :
46891 glibcxx_cv_func__long_double_round_use=yes
46892 else
46893 glibcxx_cv_func__long_double_round_use=no
46895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46896 ac_ext=c
46897 ac_cpp='$CPP $CPPFLAGS'
46898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
46905 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
46906 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
46907 for ac_func in _ceill _floorl
46908 do :
46909 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46910 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46911 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
46912 cat >>confdefs.h <<_ACEOF
46913 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46914 _ACEOF
46917 done
46927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
46928 $as_echo_n "checking for isnanl declaration... " >&6; }
46929 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
46930 if ${glibcxx_cv_func_isnanl_use+:} false; then :
46931 $as_echo_n "(cached) " >&6
46932 else
46935 ac_ext=cpp
46936 ac_cpp='$CXXCPP $CPPFLAGS'
46937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46942 /* end confdefs.h. */
46943 #include <math.h>
46944 #ifdef HAVE_IEEEFP_H
46945 #include <ieeefp.h>
46946 #endif
46949 main ()
46951 isnanl(0);
46953 return 0;
46955 _ACEOF
46956 if ac_fn_cxx_try_compile "$LINENO"; then :
46957 glibcxx_cv_func_isnanl_use=yes
46958 else
46959 glibcxx_cv_func_isnanl_use=no
46961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46962 ac_ext=c
46963 ac_cpp='$CPP $CPPFLAGS'
46964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
46973 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
46975 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
46976 for ac_func in isnanl
46977 do :
46978 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
46979 if test "x$ac_cv_func_isnanl" = xyes; then :
46980 cat >>confdefs.h <<_ACEOF
46981 #define HAVE_ISNANL 1
46982 _ACEOF
46985 done
46987 else
46989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
46990 $as_echo_n "checking for _isnanl declaration... " >&6; }
46991 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
46992 if ${glibcxx_cv_func__isnanl_use+:} false; then :
46993 $as_echo_n "(cached) " >&6
46994 else
46997 ac_ext=cpp
46998 ac_cpp='$CXXCPP $CPPFLAGS'
46999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47004 /* end confdefs.h. */
47005 #include <math.h>
47006 #ifdef HAVE_IEEEFP_H
47007 #include <ieeefp.h>
47008 #endif
47011 main ()
47013 _isnanl(0);
47015 return 0;
47017 _ACEOF
47018 if ac_fn_cxx_try_compile "$LINENO"; then :
47019 glibcxx_cv_func__isnanl_use=yes
47020 else
47021 glibcxx_cv_func__isnanl_use=no
47023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47024 ac_ext=c
47025 ac_cpp='$CPP $CPPFLAGS'
47026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
47035 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
47037 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
47038 for ac_func in _isnanl
47039 do :
47040 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
47041 if test "x$ac_cv_func__isnanl" = xyes; then :
47042 cat >>confdefs.h <<_ACEOF
47043 #define HAVE__ISNANL 1
47044 _ACEOF
47047 done
47056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
47057 $as_echo_n "checking for isinfl declaration... " >&6; }
47058 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
47059 if ${glibcxx_cv_func_isinfl_use+:} false; then :
47060 $as_echo_n "(cached) " >&6
47061 else
47064 ac_ext=cpp
47065 ac_cpp='$CXXCPP $CPPFLAGS'
47066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47071 /* end confdefs.h. */
47072 #include <math.h>
47073 #ifdef HAVE_IEEEFP_H
47074 #include <ieeefp.h>
47075 #endif
47078 main ()
47080 isinfl(0);
47082 return 0;
47084 _ACEOF
47085 if ac_fn_cxx_try_compile "$LINENO"; then :
47086 glibcxx_cv_func_isinfl_use=yes
47087 else
47088 glibcxx_cv_func_isinfl_use=no
47090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47091 ac_ext=c
47092 ac_cpp='$CPP $CPPFLAGS'
47093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
47102 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
47104 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
47105 for ac_func in isinfl
47106 do :
47107 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
47108 if test "x$ac_cv_func_isinfl" = xyes; then :
47109 cat >>confdefs.h <<_ACEOF
47110 #define HAVE_ISINFL 1
47111 _ACEOF
47114 done
47116 else
47118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
47119 $as_echo_n "checking for _isinfl declaration... " >&6; }
47120 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
47121 if ${glibcxx_cv_func__isinfl_use+:} false; then :
47122 $as_echo_n "(cached) " >&6
47123 else
47126 ac_ext=cpp
47127 ac_cpp='$CXXCPP $CPPFLAGS'
47128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47133 /* end confdefs.h. */
47134 #include <math.h>
47135 #ifdef HAVE_IEEEFP_H
47136 #include <ieeefp.h>
47137 #endif
47140 main ()
47142 _isinfl(0);
47144 return 0;
47146 _ACEOF
47147 if ac_fn_cxx_try_compile "$LINENO"; then :
47148 glibcxx_cv_func__isinfl_use=yes
47149 else
47150 glibcxx_cv_func__isinfl_use=no
47152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47153 ac_ext=c
47154 ac_cpp='$CPP $CPPFLAGS'
47155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
47164 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
47166 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
47167 for ac_func in _isinfl
47168 do :
47169 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
47170 if test "x$ac_cv_func__isinfl" = xyes; then :
47171 cat >>confdefs.h <<_ACEOF
47172 #define HAVE__ISINFL 1
47173 _ACEOF
47176 done
47185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
47186 $as_echo_n "checking for atan2l declaration... " >&6; }
47187 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
47188 if ${glibcxx_cv_func_atan2l_use+:} false; then :
47189 $as_echo_n "(cached) " >&6
47190 else
47193 ac_ext=cpp
47194 ac_cpp='$CXXCPP $CPPFLAGS'
47195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47200 /* end confdefs.h. */
47201 #include <math.h>
47203 main ()
47205 atan2l(0, 0);
47207 return 0;
47209 _ACEOF
47210 if ac_fn_cxx_try_compile "$LINENO"; then :
47211 glibcxx_cv_func_atan2l_use=yes
47212 else
47213 glibcxx_cv_func_atan2l_use=no
47215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47216 ac_ext=c
47217 ac_cpp='$CPP $CPPFLAGS'
47218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
47227 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
47229 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
47230 for ac_func in atan2l
47231 do :
47232 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
47233 if test "x$ac_cv_func_atan2l" = xyes; then :
47234 cat >>confdefs.h <<_ACEOF
47235 #define HAVE_ATAN2L 1
47236 _ACEOF
47239 done
47241 else
47243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
47244 $as_echo_n "checking for _atan2l declaration... " >&6; }
47245 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
47246 if ${glibcxx_cv_func__atan2l_use+:} false; then :
47247 $as_echo_n "(cached) " >&6
47248 else
47251 ac_ext=cpp
47252 ac_cpp='$CXXCPP $CPPFLAGS'
47253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47258 /* end confdefs.h. */
47259 #include <math.h>
47261 main ()
47263 _atan2l(0, 0);
47265 return 0;
47267 _ACEOF
47268 if ac_fn_cxx_try_compile "$LINENO"; then :
47269 glibcxx_cv_func__atan2l_use=yes
47270 else
47271 glibcxx_cv_func__atan2l_use=no
47273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47274 ac_ext=c
47275 ac_cpp='$CPP $CPPFLAGS'
47276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
47285 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
47287 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
47288 for ac_func in _atan2l
47289 do :
47290 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
47291 if test "x$ac_cv_func__atan2l" = xyes; then :
47292 cat >>confdefs.h <<_ACEOF
47293 #define HAVE__ATAN2L 1
47294 _ACEOF
47297 done
47306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
47307 $as_echo_n "checking for expl declaration... " >&6; }
47308 if test x${glibcxx_cv_func_expl_use+set} != xset; then
47309 if ${glibcxx_cv_func_expl_use+:} false; then :
47310 $as_echo_n "(cached) " >&6
47311 else
47314 ac_ext=cpp
47315 ac_cpp='$CXXCPP $CPPFLAGS'
47316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47321 /* end confdefs.h. */
47322 #include <math.h>
47323 #ifdef HAVE_IEEEFP_H
47324 #include <ieeefp.h>
47325 #endif
47328 main ()
47330 expl(0);
47332 return 0;
47334 _ACEOF
47335 if ac_fn_cxx_try_compile "$LINENO"; then :
47336 glibcxx_cv_func_expl_use=yes
47337 else
47338 glibcxx_cv_func_expl_use=no
47340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47341 ac_ext=c
47342 ac_cpp='$CPP $CPPFLAGS'
47343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
47352 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
47354 if test x$glibcxx_cv_func_expl_use = x"yes"; then
47355 for ac_func in expl
47356 do :
47357 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
47358 if test "x$ac_cv_func_expl" = xyes; then :
47359 cat >>confdefs.h <<_ACEOF
47360 #define HAVE_EXPL 1
47361 _ACEOF
47364 done
47366 else
47368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
47369 $as_echo_n "checking for _expl declaration... " >&6; }
47370 if test x${glibcxx_cv_func__expl_use+set} != xset; then
47371 if ${glibcxx_cv_func__expl_use+:} false; then :
47372 $as_echo_n "(cached) " >&6
47373 else
47376 ac_ext=cpp
47377 ac_cpp='$CXXCPP $CPPFLAGS'
47378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47383 /* end confdefs.h. */
47384 #include <math.h>
47385 #ifdef HAVE_IEEEFP_H
47386 #include <ieeefp.h>
47387 #endif
47390 main ()
47392 _expl(0);
47394 return 0;
47396 _ACEOF
47397 if ac_fn_cxx_try_compile "$LINENO"; then :
47398 glibcxx_cv_func__expl_use=yes
47399 else
47400 glibcxx_cv_func__expl_use=no
47402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47403 ac_ext=c
47404 ac_cpp='$CPP $CPPFLAGS'
47405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
47414 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
47416 if test x$glibcxx_cv_func__expl_use = x"yes"; then
47417 for ac_func in _expl
47418 do :
47419 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
47420 if test "x$ac_cv_func__expl" = xyes; then :
47421 cat >>confdefs.h <<_ACEOF
47422 #define HAVE__EXPL 1
47423 _ACEOF
47426 done
47435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
47436 $as_echo_n "checking for fabsl declaration... " >&6; }
47437 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
47438 if ${glibcxx_cv_func_fabsl_use+:} false; then :
47439 $as_echo_n "(cached) " >&6
47440 else
47443 ac_ext=cpp
47444 ac_cpp='$CXXCPP $CPPFLAGS'
47445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47450 /* end confdefs.h. */
47451 #include <math.h>
47452 #ifdef HAVE_IEEEFP_H
47453 #include <ieeefp.h>
47454 #endif
47457 main ()
47459 fabsl(0);
47461 return 0;
47463 _ACEOF
47464 if ac_fn_cxx_try_compile "$LINENO"; then :
47465 glibcxx_cv_func_fabsl_use=yes
47466 else
47467 glibcxx_cv_func_fabsl_use=no
47469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47470 ac_ext=c
47471 ac_cpp='$CPP $CPPFLAGS'
47472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
47481 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
47483 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
47484 for ac_func in fabsl
47485 do :
47486 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
47487 if test "x$ac_cv_func_fabsl" = xyes; then :
47488 cat >>confdefs.h <<_ACEOF
47489 #define HAVE_FABSL 1
47490 _ACEOF
47493 done
47495 else
47497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
47498 $as_echo_n "checking for _fabsl declaration... " >&6; }
47499 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
47500 if ${glibcxx_cv_func__fabsl_use+:} false; then :
47501 $as_echo_n "(cached) " >&6
47502 else
47505 ac_ext=cpp
47506 ac_cpp='$CXXCPP $CPPFLAGS'
47507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47512 /* end confdefs.h. */
47513 #include <math.h>
47514 #ifdef HAVE_IEEEFP_H
47515 #include <ieeefp.h>
47516 #endif
47519 main ()
47521 _fabsl(0);
47523 return 0;
47525 _ACEOF
47526 if ac_fn_cxx_try_compile "$LINENO"; then :
47527 glibcxx_cv_func__fabsl_use=yes
47528 else
47529 glibcxx_cv_func__fabsl_use=no
47531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47532 ac_ext=c
47533 ac_cpp='$CPP $CPPFLAGS'
47534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
47543 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
47545 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
47546 for ac_func in _fabsl
47547 do :
47548 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
47549 if test "x$ac_cv_func__fabsl" = xyes; then :
47550 cat >>confdefs.h <<_ACEOF
47551 #define HAVE__FABSL 1
47552 _ACEOF
47555 done
47564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
47565 $as_echo_n "checking for fmodl declaration... " >&6; }
47566 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
47567 if ${glibcxx_cv_func_fmodl_use+:} false; then :
47568 $as_echo_n "(cached) " >&6
47569 else
47572 ac_ext=cpp
47573 ac_cpp='$CXXCPP $CPPFLAGS'
47574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47579 /* end confdefs.h. */
47580 #include <math.h>
47582 main ()
47584 fmodl(0, 0);
47586 return 0;
47588 _ACEOF
47589 if ac_fn_cxx_try_compile "$LINENO"; then :
47590 glibcxx_cv_func_fmodl_use=yes
47591 else
47592 glibcxx_cv_func_fmodl_use=no
47594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47595 ac_ext=c
47596 ac_cpp='$CPP $CPPFLAGS'
47597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
47606 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
47608 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
47609 for ac_func in fmodl
47610 do :
47611 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
47612 if test "x$ac_cv_func_fmodl" = xyes; then :
47613 cat >>confdefs.h <<_ACEOF
47614 #define HAVE_FMODL 1
47615 _ACEOF
47618 done
47620 else
47622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
47623 $as_echo_n "checking for _fmodl declaration... " >&6; }
47624 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
47625 if ${glibcxx_cv_func__fmodl_use+:} false; then :
47626 $as_echo_n "(cached) " >&6
47627 else
47630 ac_ext=cpp
47631 ac_cpp='$CXXCPP $CPPFLAGS'
47632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47637 /* end confdefs.h. */
47638 #include <math.h>
47640 main ()
47642 _fmodl(0, 0);
47644 return 0;
47646 _ACEOF
47647 if ac_fn_cxx_try_compile "$LINENO"; then :
47648 glibcxx_cv_func__fmodl_use=yes
47649 else
47650 glibcxx_cv_func__fmodl_use=no
47652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47653 ac_ext=c
47654 ac_cpp='$CPP $CPPFLAGS'
47655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
47664 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
47666 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
47667 for ac_func in _fmodl
47668 do :
47669 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
47670 if test "x$ac_cv_func__fmodl" = xyes; then :
47671 cat >>confdefs.h <<_ACEOF
47672 #define HAVE__FMODL 1
47673 _ACEOF
47676 done
47685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
47686 $as_echo_n "checking for frexpl declaration... " >&6; }
47687 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
47688 if ${glibcxx_cv_func_frexpl_use+:} false; then :
47689 $as_echo_n "(cached) " >&6
47690 else
47693 ac_ext=cpp
47694 ac_cpp='$CXXCPP $CPPFLAGS'
47695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47700 /* end confdefs.h. */
47701 #include <math.h>
47703 main ()
47705 frexpl(0, 0);
47707 return 0;
47709 _ACEOF
47710 if ac_fn_cxx_try_compile "$LINENO"; then :
47711 glibcxx_cv_func_frexpl_use=yes
47712 else
47713 glibcxx_cv_func_frexpl_use=no
47715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47716 ac_ext=c
47717 ac_cpp='$CPP $CPPFLAGS'
47718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
47727 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
47729 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
47730 for ac_func in frexpl
47731 do :
47732 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
47733 if test "x$ac_cv_func_frexpl" = xyes; then :
47734 cat >>confdefs.h <<_ACEOF
47735 #define HAVE_FREXPL 1
47736 _ACEOF
47739 done
47741 else
47743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
47744 $as_echo_n "checking for _frexpl declaration... " >&6; }
47745 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
47746 if ${glibcxx_cv_func__frexpl_use+:} false; then :
47747 $as_echo_n "(cached) " >&6
47748 else
47751 ac_ext=cpp
47752 ac_cpp='$CXXCPP $CPPFLAGS'
47753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47758 /* end confdefs.h. */
47759 #include <math.h>
47761 main ()
47763 _frexpl(0, 0);
47765 return 0;
47767 _ACEOF
47768 if ac_fn_cxx_try_compile "$LINENO"; then :
47769 glibcxx_cv_func__frexpl_use=yes
47770 else
47771 glibcxx_cv_func__frexpl_use=no
47773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47774 ac_ext=c
47775 ac_cpp='$CPP $CPPFLAGS'
47776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
47785 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
47787 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
47788 for ac_func in _frexpl
47789 do :
47790 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
47791 if test "x$ac_cv_func__frexpl" = xyes; then :
47792 cat >>confdefs.h <<_ACEOF
47793 #define HAVE__FREXPL 1
47794 _ACEOF
47797 done
47806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
47807 $as_echo_n "checking for hypotl declaration... " >&6; }
47808 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
47809 if ${glibcxx_cv_func_hypotl_use+:} false; then :
47810 $as_echo_n "(cached) " >&6
47811 else
47814 ac_ext=cpp
47815 ac_cpp='$CXXCPP $CPPFLAGS'
47816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47821 /* end confdefs.h. */
47822 #include <math.h>
47824 main ()
47826 hypotl(0, 0);
47828 return 0;
47830 _ACEOF
47831 if ac_fn_cxx_try_compile "$LINENO"; then :
47832 glibcxx_cv_func_hypotl_use=yes
47833 else
47834 glibcxx_cv_func_hypotl_use=no
47836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47837 ac_ext=c
47838 ac_cpp='$CPP $CPPFLAGS'
47839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
47848 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
47850 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
47851 for ac_func in hypotl
47852 do :
47853 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
47854 if test "x$ac_cv_func_hypotl" = xyes; then :
47855 cat >>confdefs.h <<_ACEOF
47856 #define HAVE_HYPOTL 1
47857 _ACEOF
47860 done
47862 else
47864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
47865 $as_echo_n "checking for _hypotl declaration... " >&6; }
47866 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
47867 if ${glibcxx_cv_func__hypotl_use+:} false; then :
47868 $as_echo_n "(cached) " >&6
47869 else
47872 ac_ext=cpp
47873 ac_cpp='$CXXCPP $CPPFLAGS'
47874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47879 /* end confdefs.h. */
47880 #include <math.h>
47882 main ()
47884 _hypotl(0, 0);
47886 return 0;
47888 _ACEOF
47889 if ac_fn_cxx_try_compile "$LINENO"; then :
47890 glibcxx_cv_func__hypotl_use=yes
47891 else
47892 glibcxx_cv_func__hypotl_use=no
47894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47895 ac_ext=c
47896 ac_cpp='$CPP $CPPFLAGS'
47897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
47906 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
47908 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
47909 for ac_func in _hypotl
47910 do :
47911 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
47912 if test "x$ac_cv_func__hypotl" = xyes; then :
47913 cat >>confdefs.h <<_ACEOF
47914 #define HAVE__HYPOTL 1
47915 _ACEOF
47918 done
47927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
47928 $as_echo_n "checking for ldexpl declaration... " >&6; }
47929 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
47930 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
47931 $as_echo_n "(cached) " >&6
47932 else
47935 ac_ext=cpp
47936 ac_cpp='$CXXCPP $CPPFLAGS'
47937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47942 /* end confdefs.h. */
47943 #include <math.h>
47945 main ()
47947 ldexpl(0, 0);
47949 return 0;
47951 _ACEOF
47952 if ac_fn_cxx_try_compile "$LINENO"; then :
47953 glibcxx_cv_func_ldexpl_use=yes
47954 else
47955 glibcxx_cv_func_ldexpl_use=no
47957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47958 ac_ext=c
47959 ac_cpp='$CPP $CPPFLAGS'
47960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
47969 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
47971 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
47972 for ac_func in ldexpl
47973 do :
47974 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
47975 if test "x$ac_cv_func_ldexpl" = xyes; then :
47976 cat >>confdefs.h <<_ACEOF
47977 #define HAVE_LDEXPL 1
47978 _ACEOF
47981 done
47983 else
47985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
47986 $as_echo_n "checking for _ldexpl declaration... " >&6; }
47987 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
47988 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
47989 $as_echo_n "(cached) " >&6
47990 else
47993 ac_ext=cpp
47994 ac_cpp='$CXXCPP $CPPFLAGS'
47995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48000 /* end confdefs.h. */
48001 #include <math.h>
48003 main ()
48005 _ldexpl(0, 0);
48007 return 0;
48009 _ACEOF
48010 if ac_fn_cxx_try_compile "$LINENO"; then :
48011 glibcxx_cv_func__ldexpl_use=yes
48012 else
48013 glibcxx_cv_func__ldexpl_use=no
48015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48016 ac_ext=c
48017 ac_cpp='$CPP $CPPFLAGS'
48018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
48027 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
48029 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
48030 for ac_func in _ldexpl
48031 do :
48032 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
48033 if test "x$ac_cv_func__ldexpl" = xyes; then :
48034 cat >>confdefs.h <<_ACEOF
48035 #define HAVE__LDEXPL 1
48036 _ACEOF
48039 done
48048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
48049 $as_echo_n "checking for logl declaration... " >&6; }
48050 if test x${glibcxx_cv_func_logl_use+set} != xset; then
48051 if ${glibcxx_cv_func_logl_use+:} false; then :
48052 $as_echo_n "(cached) " >&6
48053 else
48056 ac_ext=cpp
48057 ac_cpp='$CXXCPP $CPPFLAGS'
48058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48063 /* end confdefs.h. */
48064 #include <math.h>
48065 #ifdef HAVE_IEEEFP_H
48066 #include <ieeefp.h>
48067 #endif
48070 main ()
48072 logl(0);
48074 return 0;
48076 _ACEOF
48077 if ac_fn_cxx_try_compile "$LINENO"; then :
48078 glibcxx_cv_func_logl_use=yes
48079 else
48080 glibcxx_cv_func_logl_use=no
48082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48083 ac_ext=c
48084 ac_cpp='$CPP $CPPFLAGS'
48085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
48094 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
48096 if test x$glibcxx_cv_func_logl_use = x"yes"; then
48097 for ac_func in logl
48098 do :
48099 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
48100 if test "x$ac_cv_func_logl" = xyes; then :
48101 cat >>confdefs.h <<_ACEOF
48102 #define HAVE_LOGL 1
48103 _ACEOF
48106 done
48108 else
48110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
48111 $as_echo_n "checking for _logl declaration... " >&6; }
48112 if test x${glibcxx_cv_func__logl_use+set} != xset; then
48113 if ${glibcxx_cv_func__logl_use+:} false; then :
48114 $as_echo_n "(cached) " >&6
48115 else
48118 ac_ext=cpp
48119 ac_cpp='$CXXCPP $CPPFLAGS'
48120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48125 /* end confdefs.h. */
48126 #include <math.h>
48127 #ifdef HAVE_IEEEFP_H
48128 #include <ieeefp.h>
48129 #endif
48132 main ()
48134 _logl(0);
48136 return 0;
48138 _ACEOF
48139 if ac_fn_cxx_try_compile "$LINENO"; then :
48140 glibcxx_cv_func__logl_use=yes
48141 else
48142 glibcxx_cv_func__logl_use=no
48144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48145 ac_ext=c
48146 ac_cpp='$CPP $CPPFLAGS'
48147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
48156 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
48158 if test x$glibcxx_cv_func__logl_use = x"yes"; then
48159 for ac_func in _logl
48160 do :
48161 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
48162 if test "x$ac_cv_func__logl" = xyes; then :
48163 cat >>confdefs.h <<_ACEOF
48164 #define HAVE__LOGL 1
48165 _ACEOF
48168 done
48177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
48178 $as_echo_n "checking for log10l declaration... " >&6; }
48179 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
48180 if ${glibcxx_cv_func_log10l_use+:} false; then :
48181 $as_echo_n "(cached) " >&6
48182 else
48185 ac_ext=cpp
48186 ac_cpp='$CXXCPP $CPPFLAGS'
48187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48192 /* end confdefs.h. */
48193 #include <math.h>
48194 #ifdef HAVE_IEEEFP_H
48195 #include <ieeefp.h>
48196 #endif
48199 main ()
48201 log10l(0);
48203 return 0;
48205 _ACEOF
48206 if ac_fn_cxx_try_compile "$LINENO"; then :
48207 glibcxx_cv_func_log10l_use=yes
48208 else
48209 glibcxx_cv_func_log10l_use=no
48211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48212 ac_ext=c
48213 ac_cpp='$CPP $CPPFLAGS'
48214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
48223 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
48225 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
48226 for ac_func in log10l
48227 do :
48228 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
48229 if test "x$ac_cv_func_log10l" = xyes; then :
48230 cat >>confdefs.h <<_ACEOF
48231 #define HAVE_LOG10L 1
48232 _ACEOF
48235 done
48237 else
48239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
48240 $as_echo_n "checking for _log10l declaration... " >&6; }
48241 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
48242 if ${glibcxx_cv_func__log10l_use+:} false; then :
48243 $as_echo_n "(cached) " >&6
48244 else
48247 ac_ext=cpp
48248 ac_cpp='$CXXCPP $CPPFLAGS'
48249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48254 /* end confdefs.h. */
48255 #include <math.h>
48256 #ifdef HAVE_IEEEFP_H
48257 #include <ieeefp.h>
48258 #endif
48261 main ()
48263 _log10l(0);
48265 return 0;
48267 _ACEOF
48268 if ac_fn_cxx_try_compile "$LINENO"; then :
48269 glibcxx_cv_func__log10l_use=yes
48270 else
48271 glibcxx_cv_func__log10l_use=no
48273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48274 ac_ext=c
48275 ac_cpp='$CPP $CPPFLAGS'
48276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
48285 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
48287 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
48288 for ac_func in _log10l
48289 do :
48290 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
48291 if test "x$ac_cv_func__log10l" = xyes; then :
48292 cat >>confdefs.h <<_ACEOF
48293 #define HAVE__LOG10L 1
48294 _ACEOF
48297 done
48306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
48307 $as_echo_n "checking for modfl declaration... " >&6; }
48308 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
48309 if ${glibcxx_cv_func_modfl_use+:} false; then :
48310 $as_echo_n "(cached) " >&6
48311 else
48314 ac_ext=cpp
48315 ac_cpp='$CXXCPP $CPPFLAGS'
48316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48321 /* end confdefs.h. */
48322 #include <math.h>
48324 main ()
48326 modfl(0, 0);
48328 return 0;
48330 _ACEOF
48331 if ac_fn_cxx_try_compile "$LINENO"; then :
48332 glibcxx_cv_func_modfl_use=yes
48333 else
48334 glibcxx_cv_func_modfl_use=no
48336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48337 ac_ext=c
48338 ac_cpp='$CPP $CPPFLAGS'
48339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
48348 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
48350 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
48351 for ac_func in modfl
48352 do :
48353 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
48354 if test "x$ac_cv_func_modfl" = xyes; then :
48355 cat >>confdefs.h <<_ACEOF
48356 #define HAVE_MODFL 1
48357 _ACEOF
48360 done
48362 else
48364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
48365 $as_echo_n "checking for _modfl declaration... " >&6; }
48366 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
48367 if ${glibcxx_cv_func__modfl_use+:} false; then :
48368 $as_echo_n "(cached) " >&6
48369 else
48372 ac_ext=cpp
48373 ac_cpp='$CXXCPP $CPPFLAGS'
48374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48379 /* end confdefs.h. */
48380 #include <math.h>
48382 main ()
48384 _modfl(0, 0);
48386 return 0;
48388 _ACEOF
48389 if ac_fn_cxx_try_compile "$LINENO"; then :
48390 glibcxx_cv_func__modfl_use=yes
48391 else
48392 glibcxx_cv_func__modfl_use=no
48394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48395 ac_ext=c
48396 ac_cpp='$CPP $CPPFLAGS'
48397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
48406 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
48408 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
48409 for ac_func in _modfl
48410 do :
48411 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
48412 if test "x$ac_cv_func__modfl" = xyes; then :
48413 cat >>confdefs.h <<_ACEOF
48414 #define HAVE__MODFL 1
48415 _ACEOF
48418 done
48427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
48428 $as_echo_n "checking for powl declaration... " >&6; }
48429 if test x${glibcxx_cv_func_powl_use+set} != xset; then
48430 if ${glibcxx_cv_func_powl_use+:} false; then :
48431 $as_echo_n "(cached) " >&6
48432 else
48435 ac_ext=cpp
48436 ac_cpp='$CXXCPP $CPPFLAGS'
48437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48442 /* end confdefs.h. */
48443 #include <math.h>
48445 main ()
48447 powl(0, 0);
48449 return 0;
48451 _ACEOF
48452 if ac_fn_cxx_try_compile "$LINENO"; then :
48453 glibcxx_cv_func_powl_use=yes
48454 else
48455 glibcxx_cv_func_powl_use=no
48457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48458 ac_ext=c
48459 ac_cpp='$CPP $CPPFLAGS'
48460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
48469 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
48471 if test x$glibcxx_cv_func_powl_use = x"yes"; then
48472 for ac_func in powl
48473 do :
48474 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
48475 if test "x$ac_cv_func_powl" = xyes; then :
48476 cat >>confdefs.h <<_ACEOF
48477 #define HAVE_POWL 1
48478 _ACEOF
48481 done
48483 else
48485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
48486 $as_echo_n "checking for _powl declaration... " >&6; }
48487 if test x${glibcxx_cv_func__powl_use+set} != xset; then
48488 if ${glibcxx_cv_func__powl_use+:} false; then :
48489 $as_echo_n "(cached) " >&6
48490 else
48493 ac_ext=cpp
48494 ac_cpp='$CXXCPP $CPPFLAGS'
48495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48500 /* end confdefs.h. */
48501 #include <math.h>
48503 main ()
48505 _powl(0, 0);
48507 return 0;
48509 _ACEOF
48510 if ac_fn_cxx_try_compile "$LINENO"; then :
48511 glibcxx_cv_func__powl_use=yes
48512 else
48513 glibcxx_cv_func__powl_use=no
48515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48516 ac_ext=c
48517 ac_cpp='$CPP $CPPFLAGS'
48518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
48527 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
48529 if test x$glibcxx_cv_func__powl_use = x"yes"; then
48530 for ac_func in _powl
48531 do :
48532 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
48533 if test "x$ac_cv_func__powl" = xyes; then :
48534 cat >>confdefs.h <<_ACEOF
48535 #define HAVE__POWL 1
48536 _ACEOF
48539 done
48548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
48549 $as_echo_n "checking for sqrtl declaration... " >&6; }
48550 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
48551 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
48552 $as_echo_n "(cached) " >&6
48553 else
48556 ac_ext=cpp
48557 ac_cpp='$CXXCPP $CPPFLAGS'
48558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48563 /* end confdefs.h. */
48564 #include <math.h>
48565 #ifdef HAVE_IEEEFP_H
48566 #include <ieeefp.h>
48567 #endif
48570 main ()
48572 sqrtl(0);
48574 return 0;
48576 _ACEOF
48577 if ac_fn_cxx_try_compile "$LINENO"; then :
48578 glibcxx_cv_func_sqrtl_use=yes
48579 else
48580 glibcxx_cv_func_sqrtl_use=no
48582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48583 ac_ext=c
48584 ac_cpp='$CPP $CPPFLAGS'
48585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
48594 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
48596 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
48597 for ac_func in sqrtl
48598 do :
48599 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
48600 if test "x$ac_cv_func_sqrtl" = xyes; then :
48601 cat >>confdefs.h <<_ACEOF
48602 #define HAVE_SQRTL 1
48603 _ACEOF
48606 done
48608 else
48610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
48611 $as_echo_n "checking for _sqrtl declaration... " >&6; }
48612 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
48613 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
48614 $as_echo_n "(cached) " >&6
48615 else
48618 ac_ext=cpp
48619 ac_cpp='$CXXCPP $CPPFLAGS'
48620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48625 /* end confdefs.h. */
48626 #include <math.h>
48627 #ifdef HAVE_IEEEFP_H
48628 #include <ieeefp.h>
48629 #endif
48632 main ()
48634 _sqrtl(0);
48636 return 0;
48638 _ACEOF
48639 if ac_fn_cxx_try_compile "$LINENO"; then :
48640 glibcxx_cv_func__sqrtl_use=yes
48641 else
48642 glibcxx_cv_func__sqrtl_use=no
48644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48645 ac_ext=c
48646 ac_cpp='$CPP $CPPFLAGS'
48647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
48656 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
48658 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
48659 for ac_func in _sqrtl
48660 do :
48661 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
48662 if test "x$ac_cv_func__sqrtl" = xyes; then :
48663 cat >>confdefs.h <<_ACEOF
48664 #define HAVE__SQRTL 1
48665 _ACEOF
48668 done
48677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
48678 $as_echo_n "checking for sincosl declaration... " >&6; }
48679 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
48680 if ${glibcxx_cv_func_sincosl_use+:} false; then :
48681 $as_echo_n "(cached) " >&6
48682 else
48685 ac_ext=cpp
48686 ac_cpp='$CXXCPP $CPPFLAGS'
48687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48692 /* end confdefs.h. */
48693 #include <math.h>
48695 main ()
48697 sincosl(0, 0, 0);
48699 return 0;
48701 _ACEOF
48702 if ac_fn_cxx_try_compile "$LINENO"; then :
48703 glibcxx_cv_func_sincosl_use=yes
48704 else
48705 glibcxx_cv_func_sincosl_use=no
48707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48708 ac_ext=c
48709 ac_cpp='$CPP $CPPFLAGS'
48710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
48719 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
48721 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
48722 for ac_func in sincosl
48723 do :
48724 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
48725 if test "x$ac_cv_func_sincosl" = xyes; then :
48726 cat >>confdefs.h <<_ACEOF
48727 #define HAVE_SINCOSL 1
48728 _ACEOF
48731 done
48733 else
48735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
48736 $as_echo_n "checking for _sincosl declaration... " >&6; }
48737 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
48738 if ${glibcxx_cv_func__sincosl_use+:} false; then :
48739 $as_echo_n "(cached) " >&6
48740 else
48743 ac_ext=cpp
48744 ac_cpp='$CXXCPP $CPPFLAGS'
48745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48750 /* end confdefs.h. */
48751 #include <math.h>
48753 main ()
48755 _sincosl(0, 0, 0);
48757 return 0;
48759 _ACEOF
48760 if ac_fn_cxx_try_compile "$LINENO"; then :
48761 glibcxx_cv_func__sincosl_use=yes
48762 else
48763 glibcxx_cv_func__sincosl_use=no
48765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48766 ac_ext=c
48767 ac_cpp='$CPP $CPPFLAGS'
48768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
48777 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
48779 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
48780 for ac_func in _sincosl
48781 do :
48782 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
48783 if test "x$ac_cv_func__sincosl" = xyes; then :
48784 cat >>confdefs.h <<_ACEOF
48785 #define HAVE__SINCOSL 1
48786 _ACEOF
48789 done
48798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
48799 $as_echo_n "checking for finitel declaration... " >&6; }
48800 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
48801 if ${glibcxx_cv_func_finitel_use+:} false; then :
48802 $as_echo_n "(cached) " >&6
48803 else
48806 ac_ext=cpp
48807 ac_cpp='$CXXCPP $CPPFLAGS'
48808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48813 /* end confdefs.h. */
48814 #include <math.h>
48815 #ifdef HAVE_IEEEFP_H
48816 #include <ieeefp.h>
48817 #endif
48820 main ()
48822 finitel(0);
48824 return 0;
48826 _ACEOF
48827 if ac_fn_cxx_try_compile "$LINENO"; then :
48828 glibcxx_cv_func_finitel_use=yes
48829 else
48830 glibcxx_cv_func_finitel_use=no
48832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48833 ac_ext=c
48834 ac_cpp='$CPP $CPPFLAGS'
48835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
48844 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
48846 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
48847 for ac_func in finitel
48848 do :
48849 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
48850 if test "x$ac_cv_func_finitel" = xyes; then :
48851 cat >>confdefs.h <<_ACEOF
48852 #define HAVE_FINITEL 1
48853 _ACEOF
48856 done
48858 else
48860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
48861 $as_echo_n "checking for _finitel declaration... " >&6; }
48862 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
48863 if ${glibcxx_cv_func__finitel_use+:} false; then :
48864 $as_echo_n "(cached) " >&6
48865 else
48868 ac_ext=cpp
48869 ac_cpp='$CXXCPP $CPPFLAGS'
48870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48875 /* end confdefs.h. */
48876 #include <math.h>
48877 #ifdef HAVE_IEEEFP_H
48878 #include <ieeefp.h>
48879 #endif
48882 main ()
48884 _finitel(0);
48886 return 0;
48888 _ACEOF
48889 if ac_fn_cxx_try_compile "$LINENO"; then :
48890 glibcxx_cv_func__finitel_use=yes
48891 else
48892 glibcxx_cv_func__finitel_use=no
48894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48895 ac_ext=c
48896 ac_cpp='$CPP $CPPFLAGS'
48897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
48906 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
48908 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
48909 for ac_func in _finitel
48910 do :
48911 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
48912 if test "x$ac_cv_func__finitel" = xyes; then :
48913 cat >>confdefs.h <<_ACEOF
48914 #define HAVE__FINITEL 1
48915 _ACEOF
48918 done
48926 LIBS="$ac_save_LIBS"
48927 CXXFLAGS="$ac_save_CXXFLAGS"
48930 ac_test_CXXFLAGS="${CXXFLAGS+set}"
48931 ac_save_CXXFLAGS="$CXXFLAGS"
48932 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
48935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
48936 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
48937 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
48938 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
48939 $as_echo_n "(cached) " >&6
48940 else
48943 ac_ext=cpp
48944 ac_cpp='$CXXCPP $CPPFLAGS'
48945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48950 /* end confdefs.h. */
48951 #include <stdlib.h>
48953 main ()
48955 at_quick_exit(0);
48957 return 0;
48959 _ACEOF
48960 if ac_fn_cxx_try_compile "$LINENO"; then :
48961 glibcxx_cv_func_at_quick_exit_use=yes
48962 else
48963 glibcxx_cv_func_at_quick_exit_use=no
48965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48966 ac_ext=c
48967 ac_cpp='$CPP $CPPFLAGS'
48968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
48977 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
48978 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
48979 for ac_func in at_quick_exit
48980 do :
48981 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
48982 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
48983 cat >>confdefs.h <<_ACEOF
48984 #define HAVE_AT_QUICK_EXIT 1
48985 _ACEOF
48988 done
48993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
48994 $as_echo_n "checking for quick_exit declaration... " >&6; }
48995 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
48996 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
48997 $as_echo_n "(cached) " >&6
48998 else
49001 ac_ext=cpp
49002 ac_cpp='$CXXCPP $CPPFLAGS'
49003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49008 /* end confdefs.h. */
49009 #include <stdlib.h>
49011 main ()
49013 quick_exit(0);
49015 return 0;
49017 _ACEOF
49018 if ac_fn_cxx_try_compile "$LINENO"; then :
49019 glibcxx_cv_func_quick_exit_use=yes
49020 else
49021 glibcxx_cv_func_quick_exit_use=no
49023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49024 ac_ext=c
49025 ac_cpp='$CPP $CPPFLAGS'
49026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
49035 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
49036 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
49037 for ac_func in quick_exit
49038 do :
49039 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
49040 if test "x$ac_cv_func_quick_exit" = xyes; then :
49041 cat >>confdefs.h <<_ACEOF
49042 #define HAVE_QUICK_EXIT 1
49043 _ACEOF
49046 done
49051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
49052 $as_echo_n "checking for strtold declaration... " >&6; }
49053 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
49054 if ${glibcxx_cv_func_strtold_use+:} false; then :
49055 $as_echo_n "(cached) " >&6
49056 else
49059 ac_ext=cpp
49060 ac_cpp='$CXXCPP $CPPFLAGS'
49061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49066 /* end confdefs.h. */
49067 #include <stdlib.h>
49069 main ()
49071 strtold(0, 0);
49073 return 0;
49075 _ACEOF
49076 if ac_fn_cxx_try_compile "$LINENO"; then :
49077 glibcxx_cv_func_strtold_use=yes
49078 else
49079 glibcxx_cv_func_strtold_use=no
49081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49082 ac_ext=c
49083 ac_cpp='$CPP $CPPFLAGS'
49084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
49093 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
49094 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
49095 for ac_func in strtold
49096 do :
49097 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
49098 if test "x$ac_cv_func_strtold" = xyes; then :
49099 cat >>confdefs.h <<_ACEOF
49100 #define HAVE_STRTOLD 1
49101 _ACEOF
49104 done
49111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
49112 $as_echo_n "checking for strtof declaration... " >&6; }
49113 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
49114 if ${glibcxx_cv_func_strtof_use+:} false; then :
49115 $as_echo_n "(cached) " >&6
49116 else
49119 ac_ext=cpp
49120 ac_cpp='$CXXCPP $CPPFLAGS'
49121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49126 /* end confdefs.h. */
49127 #include <stdlib.h>
49129 main ()
49131 strtof(0, 0);
49133 return 0;
49135 _ACEOF
49136 if ac_fn_cxx_try_compile "$LINENO"; then :
49137 glibcxx_cv_func_strtof_use=yes
49138 else
49139 glibcxx_cv_func_strtof_use=no
49141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49142 ac_ext=c
49143 ac_cpp='$CPP $CPPFLAGS'
49144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
49153 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
49154 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
49155 for ac_func in strtof
49156 do :
49157 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
49158 if test "x$ac_cv_func_strtof" = xyes; then :
49159 cat >>confdefs.h <<_ACEOF
49160 #define HAVE_STRTOF 1
49161 _ACEOF
49164 done
49171 CXXFLAGS="$ac_save_CXXFLAGS"
49174 for ac_func in uselocale
49175 do :
49176 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
49177 if test "x$ac_cv_func_uselocale" = xyes; then :
49178 cat >>confdefs.h <<_ACEOF
49179 #define HAVE_USELOCALE 1
49180 _ACEOF
49183 done
49187 *djgpp)
49188 # GLIBCXX_CHECK_MATH_SUPPORT
49189 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
49191 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
49193 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
49195 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
49197 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
49201 *-freebsd*)
49202 SECTION_FLAGS='-ffunction-sections -fdata-sections'
49205 # If we're not using GNU ld, then there's no point in even trying these
49206 # tests. Check for that first. We should have already tested for gld
49207 # by now (in libtool), but require it now just to be safe...
49208 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
49209 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
49213 # The name set by libtool depends on the version of libtool. Shame on us
49214 # for depending on an impl detail, but c'est la vie. Older versions used
49215 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
49216 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
49217 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
49218 # set (hence we're using an older libtool), then set it.
49219 if test x${with_gnu_ld+set} != xset; then
49220 if test x${ac_cv_prog_gnu_ld+set} != xset; then
49221 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
49222 with_gnu_ld=no
49223 else
49224 with_gnu_ld=$ac_cv_prog_gnu_ld
49228 # Start by getting the version number. I think the libtool test already
49229 # does some of this, but throws away the result.
49230 glibcxx_ld_is_gold=no
49231 glibcxx_ld_is_mold=no
49232 if test x"$with_gnu_ld" = x"yes"; then
49233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
49234 $as_echo_n "checking for ld version... " >&6; }
49236 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
49237 glibcxx_ld_is_gold=yes
49238 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
49239 glibcxx_ld_is_mold=yes
49241 ldver=`$LD --version 2>/dev/null |
49242 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
49244 glibcxx_gnu_ld_version=`echo $ldver | \
49245 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
49246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
49247 $as_echo "$glibcxx_gnu_ld_version" >&6; }
49250 # Set --gc-sections.
49251 glibcxx_have_gc_sections=no
49252 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
49253 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
49254 glibcxx_have_gc_sections=yes
49256 else
49257 glibcxx_gcsections_min_ld=21602
49258 if test x"$with_gnu_ld" = x"yes" &&
49259 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
49260 glibcxx_have_gc_sections=yes
49263 if test "$glibcxx_have_gc_sections" = "yes"; then
49264 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
49265 # NB: This flag only works reliably after 2.16.1. Configure tests
49266 # for this are difficult, so hard wire a value that should work.
49268 ac_test_CFLAGS="${CFLAGS+set}"
49269 ac_save_CFLAGS="$CFLAGS"
49270 CFLAGS='-Wl,--gc-sections'
49272 # Check for -Wl,--gc-sections
49273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
49274 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
49275 if test x$gcc_no_link = xyes; then
49276 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
49278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49279 /* end confdefs.h. */
49280 int one(void) { return 1; }
49281 int two(void) { return 2; }
49284 main ()
49286 two();
49288 return 0;
49290 _ACEOF
49291 if ac_fn_c_try_link "$LINENO"; then :
49292 ac_gcsections=yes
49293 else
49294 ac_gcsections=no
49296 rm -f core conftest.err conftest.$ac_objext \
49297 conftest$ac_exeext conftest.$ac_ext
49298 if test "$ac_gcsections" = "yes"; then
49299 rm -f conftest.c
49300 touch conftest.c
49301 if $CC -c conftest.c; then
49302 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
49303 grep "Warning: gc-sections option ignored" > /dev/null; then
49304 ac_gcsections=no
49307 rm -f conftest.c conftest.o conftest
49309 if test "$ac_gcsections" = "yes"; then
49310 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
49312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
49313 $as_echo "$ac_gcsections" >&6; }
49315 if test "$ac_test_CFLAGS" = set; then
49316 CFLAGS="$ac_save_CFLAGS"
49317 else
49318 # this is the suspicious part
49319 CFLAGS=''
49323 # Set -z,relro.
49324 # Note this is only for shared objects.
49325 ac_ld_relro=no
49326 if test x"$with_gnu_ld" = x"yes"; then
49327 # cygwin and mingw uses PE, which has no ELF relro support,
49328 # multi target ld may confuse configure machinery
49329 case "$host" in
49330 *-*-cygwin*)
49332 *-*-mingw*)
49335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
49336 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
49337 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
49338 if test -n "$cxx_z_relo"; then
49339 OPT_LDFLAGS="-Wl,-z,relro"
49340 ac_ld_relro=yes
49342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
49343 $as_echo "$ac_ld_relro" >&6; }
49344 esac
49347 # Set linker optimization flags.
49348 if test x"$with_gnu_ld" = x"yes"; then
49349 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
49355 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
49357 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
49359 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
49361 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
49363 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
49365 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
49367 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
49369 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
49371 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
49374 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
49376 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
49378 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
49380 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
49382 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
49384 $as_echo "#define HAVE_COSF 1" >>confdefs.h
49386 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
49388 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
49390 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
49392 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
49394 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
49396 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
49398 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
49400 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
49402 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
49404 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
49406 $as_echo "#define HAVE_POWF 1" >>confdefs.h
49408 $as_echo "#define HAVE_SINF 1" >>confdefs.h
49410 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
49412 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
49414 $as_echo "#define HAVE_TANF 1" >>confdefs.h
49416 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
49418 if test x"long_double_math_on_this_cpu" = x"yes"; then
49419 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
49421 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
49423 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
49426 for ac_func in __cxa_thread_atexit
49427 do :
49428 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
49429 if test "x$ac_cv_func___cxa_thread_atexit" = xyes; then :
49430 cat >>confdefs.h <<_ACEOF
49431 #define HAVE___CXA_THREAD_ATEXIT 1
49432 _ACEOF
49435 done
49437 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
49438 do :
49439 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49440 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49441 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49442 cat >>confdefs.h <<_ACEOF
49443 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49444 _ACEOF
49447 done
49449 for ac_func in timespec_get
49450 do :
49451 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
49452 if test "x$ac_cv_func_timespec_get" = xyes; then :
49453 cat >>confdefs.h <<_ACEOF
49454 #define HAVE_TIMESPEC_GET 1
49455 _ACEOF
49458 done
49460 for ac_func in sockatmark
49461 do :
49462 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
49463 if test "x$ac_cv_func_sockatmark" = xyes; then :
49464 cat >>confdefs.h <<_ACEOF
49465 #define HAVE_SOCKATMARK 1
49466 _ACEOF
49469 done
49471 for ac_func in uselocale
49472 do :
49473 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
49474 if test "x$ac_cv_func_uselocale" = xyes; then :
49475 cat >>confdefs.h <<_ACEOF
49476 #define HAVE_USELOCALE 1
49477 _ACEOF
49480 done
49484 *-fuchsia*)
49485 SECTION_FLAGS='-ffunction-sections -fdata-sections'
49489 *-hpux*)
49490 SECTION_FLAGS='-ffunction-sections -fdata-sections'
49493 # If we're not using GNU ld, then there's no point in even trying these
49494 # tests. Check for that first. We should have already tested for gld
49495 # by now (in libtool), but require it now just to be safe...
49496 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
49497 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
49501 # The name set by libtool depends on the version of libtool. Shame on us
49502 # for depending on an impl detail, but c'est la vie. Older versions used
49503 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
49504 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
49505 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
49506 # set (hence we're using an older libtool), then set it.
49507 if test x${with_gnu_ld+set} != xset; then
49508 if test x${ac_cv_prog_gnu_ld+set} != xset; then
49509 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
49510 with_gnu_ld=no
49511 else
49512 with_gnu_ld=$ac_cv_prog_gnu_ld
49516 # Start by getting the version number. I think the libtool test already
49517 # does some of this, but throws away the result.
49518 glibcxx_ld_is_gold=no
49519 glibcxx_ld_is_mold=no
49520 if test x"$with_gnu_ld" = x"yes"; then
49521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
49522 $as_echo_n "checking for ld version... " >&6; }
49524 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
49525 glibcxx_ld_is_gold=yes
49526 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
49527 glibcxx_ld_is_mold=yes
49529 ldver=`$LD --version 2>/dev/null |
49530 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
49532 glibcxx_gnu_ld_version=`echo $ldver | \
49533 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
49534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
49535 $as_echo "$glibcxx_gnu_ld_version" >&6; }
49538 # Set --gc-sections.
49539 glibcxx_have_gc_sections=no
49540 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
49541 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
49542 glibcxx_have_gc_sections=yes
49544 else
49545 glibcxx_gcsections_min_ld=21602
49546 if test x"$with_gnu_ld" = x"yes" &&
49547 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
49548 glibcxx_have_gc_sections=yes
49551 if test "$glibcxx_have_gc_sections" = "yes"; then
49552 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
49553 # NB: This flag only works reliably after 2.16.1. Configure tests
49554 # for this are difficult, so hard wire a value that should work.
49556 ac_test_CFLAGS="${CFLAGS+set}"
49557 ac_save_CFLAGS="$CFLAGS"
49558 CFLAGS='-Wl,--gc-sections'
49560 # Check for -Wl,--gc-sections
49561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
49562 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
49563 if test x$gcc_no_link = xyes; then
49564 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
49566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49567 /* end confdefs.h. */
49568 int one(void) { return 1; }
49569 int two(void) { return 2; }
49572 main ()
49574 two();
49576 return 0;
49578 _ACEOF
49579 if ac_fn_c_try_link "$LINENO"; then :
49580 ac_gcsections=yes
49581 else
49582 ac_gcsections=no
49584 rm -f core conftest.err conftest.$ac_objext \
49585 conftest$ac_exeext conftest.$ac_ext
49586 if test "$ac_gcsections" = "yes"; then
49587 rm -f conftest.c
49588 touch conftest.c
49589 if $CC -c conftest.c; then
49590 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
49591 grep "Warning: gc-sections option ignored" > /dev/null; then
49592 ac_gcsections=no
49595 rm -f conftest.c conftest.o conftest
49597 if test "$ac_gcsections" = "yes"; then
49598 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
49600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
49601 $as_echo "$ac_gcsections" >&6; }
49603 if test "$ac_test_CFLAGS" = set; then
49604 CFLAGS="$ac_save_CFLAGS"
49605 else
49606 # this is the suspicious part
49607 CFLAGS=''
49611 # Set -z,relro.
49612 # Note this is only for shared objects.
49613 ac_ld_relro=no
49614 if test x"$with_gnu_ld" = x"yes"; then
49615 # cygwin and mingw uses PE, which has no ELF relro support,
49616 # multi target ld may confuse configure machinery
49617 case "$host" in
49618 *-*-cygwin*)
49620 *-*-mingw*)
49623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
49624 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
49625 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
49626 if test -n "$cxx_z_relo"; then
49627 OPT_LDFLAGS="-Wl,-z,relro"
49628 ac_ld_relro=yes
49630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
49631 $as_echo "$ac_ld_relro" >&6; }
49632 esac
49635 # Set linker optimization flags.
49636 if test x"$with_gnu_ld" = x"yes"; then
49637 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
49644 # GLIBCXX_CHECK_MATH_SUPPORT
49645 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
49647 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
49649 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
49651 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
49653 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
49655 $as_echo "#define HAVE_COSF 1" >>confdefs.h
49657 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
49659 $as_echo "#define HAVE_SINF 1" >>confdefs.h
49661 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
49663 $as_echo "#define HAVE_TANF 1" >>confdefs.h
49665 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
49667 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
49669 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
49671 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
49673 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
49675 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
49677 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
49679 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
49681 $as_echo "#define HAVE_MODF 1" >>confdefs.h
49683 $as_echo "#define HAVE_POWF 1" >>confdefs.h
49685 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
49688 # GLIBCXX_CHECK_STDLIB_SUPPORT
49689 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
49694 # Check whether --enable-tls was given.
49695 if test "${enable_tls+set}" = set; then :
49696 enableval=$enable_tls;
49697 case "$enableval" in
49698 yes|no) ;;
49699 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
49700 esac
49702 else
49703 enable_tls=yes
49707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
49708 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
49709 if ${gcc_cv_have_tls+:} false; then :
49710 $as_echo_n "(cached) " >&6
49711 else
49713 if test "$cross_compiling" = yes; then :
49714 if test x$gcc_no_link = xyes; then
49715 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
49717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49718 /* end confdefs.h. */
49719 __thread int a; int b; int main() { return a = b; }
49720 _ACEOF
49721 if ac_fn_c_try_link "$LINENO"; then :
49722 chktls_save_LDFLAGS="$LDFLAGS"
49723 case $host in
49724 *-*-linux* | -*-uclinuxfdpic*)
49725 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
49727 esac
49728 chktls_save_CFLAGS="$CFLAGS"
49729 CFLAGS="-fPIC $CFLAGS"
49730 if test x$gcc_no_link = xyes; then
49731 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
49733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49734 /* end confdefs.h. */
49735 int f() { return 0; }
49736 _ACEOF
49737 if ac_fn_c_try_link "$LINENO"; then :
49738 if test x$gcc_no_link = xyes; then
49739 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
49741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49742 /* end confdefs.h. */
49743 __thread int a; int b; int f() { return a = b; }
49744 _ACEOF
49745 if ac_fn_c_try_link "$LINENO"; then :
49746 gcc_cv_have_tls=yes
49747 else
49748 gcc_cv_have_tls=no
49750 rm -f core conftest.err conftest.$ac_objext \
49751 conftest$ac_exeext conftest.$ac_ext
49752 else
49753 gcc_cv_have_tls=yes
49755 rm -f core conftest.err conftest.$ac_objext \
49756 conftest$ac_exeext conftest.$ac_ext
49757 CFLAGS="$chktls_save_CFLAGS"
49758 LDFLAGS="$chktls_save_LDFLAGS"
49759 else
49760 gcc_cv_have_tls=no
49762 rm -f core conftest.err conftest.$ac_objext \
49763 conftest$ac_exeext conftest.$ac_ext
49766 else
49767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49768 /* end confdefs.h. */
49769 __thread int a; int b; int main() { return a = b; }
49770 _ACEOF
49771 if ac_fn_c_try_run "$LINENO"; then :
49772 chktls_save_LDFLAGS="$LDFLAGS"
49773 LDFLAGS="-static $LDFLAGS"
49774 if test x$gcc_no_link = xyes; then
49775 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
49777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49778 /* end confdefs.h. */
49779 int main() { return 0; }
49780 _ACEOF
49781 if ac_fn_c_try_link "$LINENO"; then :
49782 if test "$cross_compiling" = yes; then :
49783 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
49784 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
49785 as_fn_error $? "cannot run test program while cross compiling
49786 See \`config.log' for more details" "$LINENO" 5; }
49787 else
49788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49789 /* end confdefs.h. */
49790 __thread int a; int b; int main() { return a = b; }
49791 _ACEOF
49792 if ac_fn_c_try_run "$LINENO"; then :
49793 gcc_cv_have_tls=yes
49794 else
49795 gcc_cv_have_tls=no
49797 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
49798 conftest.$ac_objext conftest.beam conftest.$ac_ext
49801 else
49802 gcc_cv_have_tls=yes
49804 rm -f core conftest.err conftest.$ac_objext \
49805 conftest$ac_exeext conftest.$ac_ext
49806 LDFLAGS="$chktls_save_LDFLAGS"
49807 if test $gcc_cv_have_tls = yes; then
49808 chktls_save_CFLAGS="$CFLAGS"
49809 thread_CFLAGS=failed
49810 for flag in '' '-pthread' '-lpthread'; do
49811 CFLAGS="$flag $chktls_save_CFLAGS"
49812 if test x$gcc_no_link = xyes; then
49813 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
49815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49816 /* end confdefs.h. */
49817 #include <pthread.h>
49818 void *g(void *d) { return NULL; }
49820 main ()
49822 pthread_t t; pthread_create(&t,NULL,g,NULL);
49824 return 0;
49826 _ACEOF
49827 if ac_fn_c_try_link "$LINENO"; then :
49828 thread_CFLAGS="$flag"
49830 rm -f core conftest.err conftest.$ac_objext \
49831 conftest$ac_exeext conftest.$ac_ext
49832 if test "X$thread_CFLAGS" != Xfailed; then
49833 break
49835 done
49836 CFLAGS="$chktls_save_CFLAGS"
49837 if test "X$thread_CFLAGS" != Xfailed; then
49838 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
49839 if test "$cross_compiling" = yes; then :
49840 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
49841 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
49842 as_fn_error $? "cannot run test program while cross compiling
49843 See \`config.log' for more details" "$LINENO" 5; }
49844 else
49845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49846 /* end confdefs.h. */
49847 #include <pthread.h>
49848 __thread int a;
49849 static int *volatile a_in_other_thread;
49850 static void *
49851 thread_func (void *arg)
49853 a_in_other_thread = &a;
49854 return (void *)0;
49857 main ()
49859 pthread_t thread;
49860 void *thread_retval;
49861 int *volatile a_in_main_thread;
49862 a_in_main_thread = &a;
49863 if (pthread_create (&thread, (pthread_attr_t *)0,
49864 thread_func, (void *)0))
49865 return 0;
49866 if (pthread_join (thread, &thread_retval))
49867 return 0;
49868 return (a_in_other_thread == a_in_main_thread);
49870 return 0;
49872 _ACEOF
49873 if ac_fn_c_try_run "$LINENO"; then :
49874 gcc_cv_have_tls=yes
49875 else
49876 gcc_cv_have_tls=no
49878 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
49879 conftest.$ac_objext conftest.beam conftest.$ac_ext
49882 CFLAGS="$chktls_save_CFLAGS"
49885 else
49886 gcc_cv_have_tls=no
49888 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
49889 conftest.$ac_objext conftest.beam conftest.$ac_ext
49893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
49894 $as_echo "$gcc_cv_have_tls" >&6; }
49895 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
49897 $as_echo "#define HAVE_TLS 1" >>confdefs.h
49901 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
49903 # All these tests are for C++; save the language and the compiler flags.
49904 # The CXXFLAGS thing is suspicious, but based on similar bits previously
49905 # found in GLIBCXX_CONFIGURE.
49907 ac_ext=cpp
49908 ac_cpp='$CXXCPP $CPPFLAGS'
49909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49913 ac_test_CXXFLAGS="${CXXFLAGS+set}"
49914 ac_save_CXXFLAGS="$CXXFLAGS"
49916 # Check for -ffunction-sections -fdata-sections
49917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
49918 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
49919 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
49920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49921 /* end confdefs.h. */
49922 int foo; void bar() { };
49924 main ()
49928 return 0;
49930 _ACEOF
49931 if ac_fn_cxx_try_compile "$LINENO"; then :
49932 ac_fdsections=yes
49933 else
49934 ac_fdsections=no
49936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49937 if test "$ac_test_CXXFLAGS" = set; then
49938 CXXFLAGS="$ac_save_CXXFLAGS"
49939 else
49940 # this is the suspicious part
49941 CXXFLAGS=''
49943 if test x"$ac_fdsections" = x"yes"; then
49944 SECTION_FLAGS='-ffunction-sections -fdata-sections'
49946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
49947 $as_echo "$ac_fdsections" >&6; }
49949 ac_ext=c
49950 ac_cpp='$CPP $CPPFLAGS'
49951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49958 # If we're not using GNU ld, then there's no point in even trying these
49959 # tests. Check for that first. We should have already tested for gld
49960 # by now (in libtool), but require it now just to be safe...
49961 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
49962 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
49966 # The name set by libtool depends on the version of libtool. Shame on us
49967 # for depending on an impl detail, but c'est la vie. Older versions used
49968 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
49969 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
49970 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
49971 # set (hence we're using an older libtool), then set it.
49972 if test x${with_gnu_ld+set} != xset; then
49973 if test x${ac_cv_prog_gnu_ld+set} != xset; then
49974 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
49975 with_gnu_ld=no
49976 else
49977 with_gnu_ld=$ac_cv_prog_gnu_ld
49981 # Start by getting the version number. I think the libtool test already
49982 # does some of this, but throws away the result.
49983 glibcxx_ld_is_gold=no
49984 glibcxx_ld_is_mold=no
49985 if test x"$with_gnu_ld" = x"yes"; then
49986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
49987 $as_echo_n "checking for ld version... " >&6; }
49989 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
49990 glibcxx_ld_is_gold=yes
49991 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
49992 glibcxx_ld_is_mold=yes
49994 ldver=`$LD --version 2>/dev/null |
49995 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
49997 glibcxx_gnu_ld_version=`echo $ldver | \
49998 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
49999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
50000 $as_echo "$glibcxx_gnu_ld_version" >&6; }
50003 # Set --gc-sections.
50004 glibcxx_have_gc_sections=no
50005 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
50006 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
50007 glibcxx_have_gc_sections=yes
50009 else
50010 glibcxx_gcsections_min_ld=21602
50011 if test x"$with_gnu_ld" = x"yes" &&
50012 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
50013 glibcxx_have_gc_sections=yes
50016 if test "$glibcxx_have_gc_sections" = "yes"; then
50017 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
50018 # NB: This flag only works reliably after 2.16.1. Configure tests
50019 # for this are difficult, so hard wire a value that should work.
50021 ac_test_CFLAGS="${CFLAGS+set}"
50022 ac_save_CFLAGS="$CFLAGS"
50023 CFLAGS='-Wl,--gc-sections'
50025 # Check for -Wl,--gc-sections
50026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
50027 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
50028 if test x$gcc_no_link = xyes; then
50029 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50032 /* end confdefs.h. */
50033 int one(void) { return 1; }
50034 int two(void) { return 2; }
50037 main ()
50039 two();
50041 return 0;
50043 _ACEOF
50044 if ac_fn_c_try_link "$LINENO"; then :
50045 ac_gcsections=yes
50046 else
50047 ac_gcsections=no
50049 rm -f core conftest.err conftest.$ac_objext \
50050 conftest$ac_exeext conftest.$ac_ext
50051 if test "$ac_gcsections" = "yes"; then
50052 rm -f conftest.c
50053 touch conftest.c
50054 if $CC -c conftest.c; then
50055 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
50056 grep "Warning: gc-sections option ignored" > /dev/null; then
50057 ac_gcsections=no
50060 rm -f conftest.c conftest.o conftest
50062 if test "$ac_gcsections" = "yes"; then
50063 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
50065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
50066 $as_echo "$ac_gcsections" >&6; }
50068 if test "$ac_test_CFLAGS" = set; then
50069 CFLAGS="$ac_save_CFLAGS"
50070 else
50071 # this is the suspicious part
50072 CFLAGS=''
50076 # Set -z,relro.
50077 # Note this is only for shared objects.
50078 ac_ld_relro=no
50079 if test x"$with_gnu_ld" = x"yes"; then
50080 # cygwin and mingw uses PE, which has no ELF relro support,
50081 # multi target ld may confuse configure machinery
50082 case "$host" in
50083 *-*-cygwin*)
50085 *-*-mingw*)
50088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
50089 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
50090 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
50091 if test -n "$cxx_z_relo"; then
50092 OPT_LDFLAGS="-Wl,-z,relro"
50093 ac_ld_relro=yes
50095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
50096 $as_echo "$ac_ld_relro" >&6; }
50097 esac
50100 # Set linker optimization flags.
50101 if test x"$with_gnu_ld" = x"yes"; then
50102 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
50109 ac_test_CXXFLAGS="${CXXFLAGS+set}"
50110 ac_save_CXXFLAGS="$CXXFLAGS"
50111 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
50114 $as_echo_n "checking for sin in -lm... " >&6; }
50115 if ${ac_cv_lib_m_sin+:} false; then :
50116 $as_echo_n "(cached) " >&6
50117 else
50118 ac_check_lib_save_LIBS=$LIBS
50119 LIBS="-lm $LIBS"
50120 if test x$gcc_no_link = xyes; then
50121 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50124 /* end confdefs.h. */
50126 /* Override any GCC internal prototype to avoid an error.
50127 Use char because int might match the return type of a GCC
50128 builtin and then its argument prototype would still apply. */
50129 #ifdef __cplusplus
50130 extern "C"
50131 #endif
50132 char sin ();
50134 main ()
50136 return sin ();
50138 return 0;
50140 _ACEOF
50141 if ac_fn_c_try_link "$LINENO"; then :
50142 ac_cv_lib_m_sin=yes
50143 else
50144 ac_cv_lib_m_sin=no
50146 rm -f core conftest.err conftest.$ac_objext \
50147 conftest$ac_exeext conftest.$ac_ext
50148 LIBS=$ac_check_lib_save_LIBS
50150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
50151 $as_echo "$ac_cv_lib_m_sin" >&6; }
50152 if test "x$ac_cv_lib_m_sin" = xyes; then :
50153 libm="-lm"
50156 ac_save_LIBS="$LIBS"
50157 LIBS="$LIBS $libm"
50161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
50162 $as_echo_n "checking for isinf declaration... " >&6; }
50163 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
50164 if ${glibcxx_cv_func_isinf_use+:} false; then :
50165 $as_echo_n "(cached) " >&6
50166 else
50169 ac_ext=cpp
50170 ac_cpp='$CXXCPP $CPPFLAGS'
50171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50176 /* end confdefs.h. */
50177 #include <math.h>
50178 #ifdef HAVE_IEEEFP_H
50179 #include <ieeefp.h>
50180 #endif
50183 main ()
50185 isinf(0);
50187 return 0;
50189 _ACEOF
50190 if ac_fn_cxx_try_compile "$LINENO"; then :
50191 glibcxx_cv_func_isinf_use=yes
50192 else
50193 glibcxx_cv_func_isinf_use=no
50195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50196 ac_ext=c
50197 ac_cpp='$CPP $CPPFLAGS'
50198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
50207 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
50209 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
50210 for ac_func in isinf
50211 do :
50212 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
50213 if test "x$ac_cv_func_isinf" = xyes; then :
50214 cat >>confdefs.h <<_ACEOF
50215 #define HAVE_ISINF 1
50216 _ACEOF
50219 done
50221 else
50223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
50224 $as_echo_n "checking for _isinf declaration... " >&6; }
50225 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
50226 if ${glibcxx_cv_func__isinf_use+:} false; then :
50227 $as_echo_n "(cached) " >&6
50228 else
50231 ac_ext=cpp
50232 ac_cpp='$CXXCPP $CPPFLAGS'
50233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50238 /* end confdefs.h. */
50239 #include <math.h>
50240 #ifdef HAVE_IEEEFP_H
50241 #include <ieeefp.h>
50242 #endif
50245 main ()
50247 _isinf(0);
50249 return 0;
50251 _ACEOF
50252 if ac_fn_cxx_try_compile "$LINENO"; then :
50253 glibcxx_cv_func__isinf_use=yes
50254 else
50255 glibcxx_cv_func__isinf_use=no
50257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50258 ac_ext=c
50259 ac_cpp='$CPP $CPPFLAGS'
50260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
50269 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
50271 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
50272 for ac_func in _isinf
50273 do :
50274 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
50275 if test "x$ac_cv_func__isinf" = xyes; then :
50276 cat >>confdefs.h <<_ACEOF
50277 #define HAVE__ISINF 1
50278 _ACEOF
50281 done
50290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
50291 $as_echo_n "checking for isnan declaration... " >&6; }
50292 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
50293 if ${glibcxx_cv_func_isnan_use+:} false; then :
50294 $as_echo_n "(cached) " >&6
50295 else
50298 ac_ext=cpp
50299 ac_cpp='$CXXCPP $CPPFLAGS'
50300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50305 /* end confdefs.h. */
50306 #include <math.h>
50307 #ifdef HAVE_IEEEFP_H
50308 #include <ieeefp.h>
50309 #endif
50312 main ()
50314 isnan(0);
50316 return 0;
50318 _ACEOF
50319 if ac_fn_cxx_try_compile "$LINENO"; then :
50320 glibcxx_cv_func_isnan_use=yes
50321 else
50322 glibcxx_cv_func_isnan_use=no
50324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50325 ac_ext=c
50326 ac_cpp='$CPP $CPPFLAGS'
50327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
50336 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
50338 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
50339 for ac_func in isnan
50340 do :
50341 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
50342 if test "x$ac_cv_func_isnan" = xyes; then :
50343 cat >>confdefs.h <<_ACEOF
50344 #define HAVE_ISNAN 1
50345 _ACEOF
50348 done
50350 else
50352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
50353 $as_echo_n "checking for _isnan declaration... " >&6; }
50354 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
50355 if ${glibcxx_cv_func__isnan_use+:} false; then :
50356 $as_echo_n "(cached) " >&6
50357 else
50360 ac_ext=cpp
50361 ac_cpp='$CXXCPP $CPPFLAGS'
50362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50367 /* end confdefs.h. */
50368 #include <math.h>
50369 #ifdef HAVE_IEEEFP_H
50370 #include <ieeefp.h>
50371 #endif
50374 main ()
50376 _isnan(0);
50378 return 0;
50380 _ACEOF
50381 if ac_fn_cxx_try_compile "$LINENO"; then :
50382 glibcxx_cv_func__isnan_use=yes
50383 else
50384 glibcxx_cv_func__isnan_use=no
50386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50387 ac_ext=c
50388 ac_cpp='$CPP $CPPFLAGS'
50389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
50398 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
50400 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
50401 for ac_func in _isnan
50402 do :
50403 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
50404 if test "x$ac_cv_func__isnan" = xyes; then :
50405 cat >>confdefs.h <<_ACEOF
50406 #define HAVE__ISNAN 1
50407 _ACEOF
50410 done
50419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
50420 $as_echo_n "checking for finite declaration... " >&6; }
50421 if test x${glibcxx_cv_func_finite_use+set} != xset; then
50422 if ${glibcxx_cv_func_finite_use+:} false; then :
50423 $as_echo_n "(cached) " >&6
50424 else
50427 ac_ext=cpp
50428 ac_cpp='$CXXCPP $CPPFLAGS'
50429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50434 /* end confdefs.h. */
50435 #include <math.h>
50436 #ifdef HAVE_IEEEFP_H
50437 #include <ieeefp.h>
50438 #endif
50441 main ()
50443 finite(0);
50445 return 0;
50447 _ACEOF
50448 if ac_fn_cxx_try_compile "$LINENO"; then :
50449 glibcxx_cv_func_finite_use=yes
50450 else
50451 glibcxx_cv_func_finite_use=no
50453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50454 ac_ext=c
50455 ac_cpp='$CPP $CPPFLAGS'
50456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
50465 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
50467 if test x$glibcxx_cv_func_finite_use = x"yes"; then
50468 for ac_func in finite
50469 do :
50470 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
50471 if test "x$ac_cv_func_finite" = xyes; then :
50472 cat >>confdefs.h <<_ACEOF
50473 #define HAVE_FINITE 1
50474 _ACEOF
50477 done
50479 else
50481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
50482 $as_echo_n "checking for _finite declaration... " >&6; }
50483 if test x${glibcxx_cv_func__finite_use+set} != xset; then
50484 if ${glibcxx_cv_func__finite_use+:} false; then :
50485 $as_echo_n "(cached) " >&6
50486 else
50489 ac_ext=cpp
50490 ac_cpp='$CXXCPP $CPPFLAGS'
50491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50496 /* end confdefs.h. */
50497 #include <math.h>
50498 #ifdef HAVE_IEEEFP_H
50499 #include <ieeefp.h>
50500 #endif
50503 main ()
50505 _finite(0);
50507 return 0;
50509 _ACEOF
50510 if ac_fn_cxx_try_compile "$LINENO"; then :
50511 glibcxx_cv_func__finite_use=yes
50512 else
50513 glibcxx_cv_func__finite_use=no
50515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50516 ac_ext=c
50517 ac_cpp='$CPP $CPPFLAGS'
50518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
50527 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
50529 if test x$glibcxx_cv_func__finite_use = x"yes"; then
50530 for ac_func in _finite
50531 do :
50532 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
50533 if test "x$ac_cv_func__finite" = xyes; then :
50534 cat >>confdefs.h <<_ACEOF
50535 #define HAVE__FINITE 1
50536 _ACEOF
50539 done
50548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
50549 $as_echo_n "checking for sincos declaration... " >&6; }
50550 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
50551 if ${glibcxx_cv_func_sincos_use+:} false; then :
50552 $as_echo_n "(cached) " >&6
50553 else
50556 ac_ext=cpp
50557 ac_cpp='$CXXCPP $CPPFLAGS'
50558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50563 /* end confdefs.h. */
50564 #include <math.h>
50566 main ()
50568 sincos(0, 0, 0);
50570 return 0;
50572 _ACEOF
50573 if ac_fn_cxx_try_compile "$LINENO"; then :
50574 glibcxx_cv_func_sincos_use=yes
50575 else
50576 glibcxx_cv_func_sincos_use=no
50578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50579 ac_ext=c
50580 ac_cpp='$CPP $CPPFLAGS'
50581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
50590 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
50592 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
50593 for ac_func in sincos
50594 do :
50595 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
50596 if test "x$ac_cv_func_sincos" = xyes; then :
50597 cat >>confdefs.h <<_ACEOF
50598 #define HAVE_SINCOS 1
50599 _ACEOF
50602 done
50604 else
50606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
50607 $as_echo_n "checking for _sincos declaration... " >&6; }
50608 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
50609 if ${glibcxx_cv_func__sincos_use+:} false; then :
50610 $as_echo_n "(cached) " >&6
50611 else
50614 ac_ext=cpp
50615 ac_cpp='$CXXCPP $CPPFLAGS'
50616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50621 /* end confdefs.h. */
50622 #include <math.h>
50624 main ()
50626 _sincos(0, 0, 0);
50628 return 0;
50630 _ACEOF
50631 if ac_fn_cxx_try_compile "$LINENO"; then :
50632 glibcxx_cv_func__sincos_use=yes
50633 else
50634 glibcxx_cv_func__sincos_use=no
50636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50637 ac_ext=c
50638 ac_cpp='$CPP $CPPFLAGS'
50639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
50648 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
50650 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
50651 for ac_func in _sincos
50652 do :
50653 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
50654 if test "x$ac_cv_func__sincos" = xyes; then :
50655 cat >>confdefs.h <<_ACEOF
50656 #define HAVE__SINCOS 1
50657 _ACEOF
50660 done
50669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
50670 $as_echo_n "checking for fpclass declaration... " >&6; }
50671 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
50672 if ${glibcxx_cv_func_fpclass_use+:} false; then :
50673 $as_echo_n "(cached) " >&6
50674 else
50677 ac_ext=cpp
50678 ac_cpp='$CXXCPP $CPPFLAGS'
50679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50684 /* end confdefs.h. */
50685 #include <math.h>
50686 #ifdef HAVE_IEEEFP_H
50687 #include <ieeefp.h>
50688 #endif
50691 main ()
50693 fpclass(0);
50695 return 0;
50697 _ACEOF
50698 if ac_fn_cxx_try_compile "$LINENO"; then :
50699 glibcxx_cv_func_fpclass_use=yes
50700 else
50701 glibcxx_cv_func_fpclass_use=no
50703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50704 ac_ext=c
50705 ac_cpp='$CPP $CPPFLAGS'
50706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
50715 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
50717 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
50718 for ac_func in fpclass
50719 do :
50720 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
50721 if test "x$ac_cv_func_fpclass" = xyes; then :
50722 cat >>confdefs.h <<_ACEOF
50723 #define HAVE_FPCLASS 1
50724 _ACEOF
50727 done
50729 else
50731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
50732 $as_echo_n "checking for _fpclass declaration... " >&6; }
50733 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
50734 if ${glibcxx_cv_func__fpclass_use+:} false; then :
50735 $as_echo_n "(cached) " >&6
50736 else
50739 ac_ext=cpp
50740 ac_cpp='$CXXCPP $CPPFLAGS'
50741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50746 /* end confdefs.h. */
50747 #include <math.h>
50748 #ifdef HAVE_IEEEFP_H
50749 #include <ieeefp.h>
50750 #endif
50753 main ()
50755 _fpclass(0);
50757 return 0;
50759 _ACEOF
50760 if ac_fn_cxx_try_compile "$LINENO"; then :
50761 glibcxx_cv_func__fpclass_use=yes
50762 else
50763 glibcxx_cv_func__fpclass_use=no
50765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50766 ac_ext=c
50767 ac_cpp='$CPP $CPPFLAGS'
50768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
50777 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
50779 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
50780 for ac_func in _fpclass
50781 do :
50782 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
50783 if test "x$ac_cv_func__fpclass" = xyes; then :
50784 cat >>confdefs.h <<_ACEOF
50785 #define HAVE__FPCLASS 1
50786 _ACEOF
50789 done
50798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
50799 $as_echo_n "checking for qfpclass declaration... " >&6; }
50800 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
50801 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
50802 $as_echo_n "(cached) " >&6
50803 else
50806 ac_ext=cpp
50807 ac_cpp='$CXXCPP $CPPFLAGS'
50808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50813 /* end confdefs.h. */
50814 #include <math.h>
50815 #ifdef HAVE_IEEEFP_H
50816 #include <ieeefp.h>
50817 #endif
50820 main ()
50822 qfpclass(0);
50824 return 0;
50826 _ACEOF
50827 if ac_fn_cxx_try_compile "$LINENO"; then :
50828 glibcxx_cv_func_qfpclass_use=yes
50829 else
50830 glibcxx_cv_func_qfpclass_use=no
50832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50833 ac_ext=c
50834 ac_cpp='$CPP $CPPFLAGS'
50835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
50844 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
50846 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
50847 for ac_func in qfpclass
50848 do :
50849 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
50850 if test "x$ac_cv_func_qfpclass" = xyes; then :
50851 cat >>confdefs.h <<_ACEOF
50852 #define HAVE_QFPCLASS 1
50853 _ACEOF
50856 done
50858 else
50860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
50861 $as_echo_n "checking for _qfpclass declaration... " >&6; }
50862 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
50863 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
50864 $as_echo_n "(cached) " >&6
50865 else
50868 ac_ext=cpp
50869 ac_cpp='$CXXCPP $CPPFLAGS'
50870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50875 /* end confdefs.h. */
50876 #include <math.h>
50877 #ifdef HAVE_IEEEFP_H
50878 #include <ieeefp.h>
50879 #endif
50882 main ()
50884 _qfpclass(0);
50886 return 0;
50888 _ACEOF
50889 if ac_fn_cxx_try_compile "$LINENO"; then :
50890 glibcxx_cv_func__qfpclass_use=yes
50891 else
50892 glibcxx_cv_func__qfpclass_use=no
50894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50895 ac_ext=c
50896 ac_cpp='$CPP $CPPFLAGS'
50897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
50906 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
50908 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
50909 for ac_func in _qfpclass
50910 do :
50911 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
50912 if test "x$ac_cv_func__qfpclass" = xyes; then :
50913 cat >>confdefs.h <<_ACEOF
50914 #define HAVE__QFPCLASS 1
50915 _ACEOF
50918 done
50927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
50928 $as_echo_n "checking for hypot declaration... " >&6; }
50929 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
50930 if ${glibcxx_cv_func_hypot_use+:} false; then :
50931 $as_echo_n "(cached) " >&6
50932 else
50935 ac_ext=cpp
50936 ac_cpp='$CXXCPP $CPPFLAGS'
50937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50942 /* end confdefs.h. */
50943 #include <math.h>
50945 main ()
50947 hypot(0, 0);
50949 return 0;
50951 _ACEOF
50952 if ac_fn_cxx_try_compile "$LINENO"; then :
50953 glibcxx_cv_func_hypot_use=yes
50954 else
50955 glibcxx_cv_func_hypot_use=no
50957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50958 ac_ext=c
50959 ac_cpp='$CPP $CPPFLAGS'
50960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
50969 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
50971 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
50972 for ac_func in hypot
50973 do :
50974 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
50975 if test "x$ac_cv_func_hypot" = xyes; then :
50976 cat >>confdefs.h <<_ACEOF
50977 #define HAVE_HYPOT 1
50978 _ACEOF
50981 done
50983 else
50985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
50986 $as_echo_n "checking for _hypot declaration... " >&6; }
50987 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
50988 if ${glibcxx_cv_func__hypot_use+:} false; then :
50989 $as_echo_n "(cached) " >&6
50990 else
50993 ac_ext=cpp
50994 ac_cpp='$CXXCPP $CPPFLAGS'
50995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51000 /* end confdefs.h. */
51001 #include <math.h>
51003 main ()
51005 _hypot(0, 0);
51007 return 0;
51009 _ACEOF
51010 if ac_fn_cxx_try_compile "$LINENO"; then :
51011 glibcxx_cv_func__hypot_use=yes
51012 else
51013 glibcxx_cv_func__hypot_use=no
51015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51016 ac_ext=c
51017 ac_cpp='$CPP $CPPFLAGS'
51018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
51027 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
51029 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
51030 for ac_func in _hypot
51031 do :
51032 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
51033 if test "x$ac_cv_func__hypot" = xyes; then :
51034 cat >>confdefs.h <<_ACEOF
51035 #define HAVE__HYPOT 1
51036 _ACEOF
51039 done
51048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
51049 $as_echo_n "checking for float trig functions... " >&6; }
51050 if ${glibcxx_cv_func_float_trig_use+:} false; then :
51051 $as_echo_n "(cached) " >&6
51052 else
51055 ac_ext=cpp
51056 ac_cpp='$CXXCPP $CPPFLAGS'
51057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51062 /* end confdefs.h. */
51063 #include <math.h>
51065 main ()
51067 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
51069 return 0;
51071 _ACEOF
51072 if ac_fn_cxx_try_compile "$LINENO"; then :
51073 glibcxx_cv_func_float_trig_use=yes
51074 else
51075 glibcxx_cv_func_float_trig_use=no
51077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51078 ac_ext=c
51079 ac_cpp='$CPP $CPPFLAGS'
51080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
51087 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
51088 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
51089 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
51090 do :
51091 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51092 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51093 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51094 cat >>confdefs.h <<_ACEOF
51095 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51096 _ACEOF
51099 done
51101 else
51102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
51103 $as_echo_n "checking for _float trig functions... " >&6; }
51104 if ${glibcxx_cv_func__float_trig_use+:} false; then :
51105 $as_echo_n "(cached) " >&6
51106 else
51109 ac_ext=cpp
51110 ac_cpp='$CXXCPP $CPPFLAGS'
51111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51116 /* end confdefs.h. */
51117 #include <math.h>
51119 main ()
51121 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
51123 return 0;
51125 _ACEOF
51126 if ac_fn_cxx_try_compile "$LINENO"; then :
51127 glibcxx_cv_func__float_trig_use=yes
51128 else
51129 glibcxx_cv_func__float_trig_use=no
51131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51132 ac_ext=c
51133 ac_cpp='$CPP $CPPFLAGS'
51134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
51141 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
51142 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
51143 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
51144 do :
51145 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51146 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51147 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51148 cat >>confdefs.h <<_ACEOF
51149 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51150 _ACEOF
51153 done
51162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
51163 $as_echo_n "checking for float round functions... " >&6; }
51164 if ${glibcxx_cv_func_float_round_use+:} false; then :
51165 $as_echo_n "(cached) " >&6
51166 else
51169 ac_ext=cpp
51170 ac_cpp='$CXXCPP $CPPFLAGS'
51171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51176 /* end confdefs.h. */
51177 #include <math.h>
51179 main ()
51181 ceilf (0); floorf (0);
51183 return 0;
51185 _ACEOF
51186 if ac_fn_cxx_try_compile "$LINENO"; then :
51187 glibcxx_cv_func_float_round_use=yes
51188 else
51189 glibcxx_cv_func_float_round_use=no
51191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51192 ac_ext=c
51193 ac_cpp='$CPP $CPPFLAGS'
51194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
51201 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
51202 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
51203 for ac_func in ceilf floorf
51204 do :
51205 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51206 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51207 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51208 cat >>confdefs.h <<_ACEOF
51209 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51210 _ACEOF
51213 done
51215 else
51216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
51217 $as_echo_n "checking for _float round functions... " >&6; }
51218 if ${glibcxx_cv_func__float_round_use+:} false; then :
51219 $as_echo_n "(cached) " >&6
51220 else
51223 ac_ext=cpp
51224 ac_cpp='$CXXCPP $CPPFLAGS'
51225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51230 /* end confdefs.h. */
51231 #include <math.h>
51233 main ()
51235 _ceilf (0); _floorf (0);
51237 return 0;
51239 _ACEOF
51240 if ac_fn_cxx_try_compile "$LINENO"; then :
51241 glibcxx_cv_func__float_round_use=yes
51242 else
51243 glibcxx_cv_func__float_round_use=no
51245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51246 ac_ext=c
51247 ac_cpp='$CPP $CPPFLAGS'
51248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
51255 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
51256 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
51257 for ac_func in _ceilf _floorf
51258 do :
51259 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51260 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51261 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51262 cat >>confdefs.h <<_ACEOF
51263 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51264 _ACEOF
51267 done
51277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
51278 $as_echo_n "checking for expf declaration... " >&6; }
51279 if test x${glibcxx_cv_func_expf_use+set} != xset; then
51280 if ${glibcxx_cv_func_expf_use+:} false; then :
51281 $as_echo_n "(cached) " >&6
51282 else
51285 ac_ext=cpp
51286 ac_cpp='$CXXCPP $CPPFLAGS'
51287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51292 /* end confdefs.h. */
51293 #include <math.h>
51294 #ifdef HAVE_IEEEFP_H
51295 #include <ieeefp.h>
51296 #endif
51299 main ()
51301 expf(0);
51303 return 0;
51305 _ACEOF
51306 if ac_fn_cxx_try_compile "$LINENO"; then :
51307 glibcxx_cv_func_expf_use=yes
51308 else
51309 glibcxx_cv_func_expf_use=no
51311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51312 ac_ext=c
51313 ac_cpp='$CPP $CPPFLAGS'
51314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
51323 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
51325 if test x$glibcxx_cv_func_expf_use = x"yes"; then
51326 for ac_func in expf
51327 do :
51328 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
51329 if test "x$ac_cv_func_expf" = xyes; then :
51330 cat >>confdefs.h <<_ACEOF
51331 #define HAVE_EXPF 1
51332 _ACEOF
51335 done
51337 else
51339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
51340 $as_echo_n "checking for _expf declaration... " >&6; }
51341 if test x${glibcxx_cv_func__expf_use+set} != xset; then
51342 if ${glibcxx_cv_func__expf_use+:} false; then :
51343 $as_echo_n "(cached) " >&6
51344 else
51347 ac_ext=cpp
51348 ac_cpp='$CXXCPP $CPPFLAGS'
51349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51354 /* end confdefs.h. */
51355 #include <math.h>
51356 #ifdef HAVE_IEEEFP_H
51357 #include <ieeefp.h>
51358 #endif
51361 main ()
51363 _expf(0);
51365 return 0;
51367 _ACEOF
51368 if ac_fn_cxx_try_compile "$LINENO"; then :
51369 glibcxx_cv_func__expf_use=yes
51370 else
51371 glibcxx_cv_func__expf_use=no
51373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51374 ac_ext=c
51375 ac_cpp='$CPP $CPPFLAGS'
51376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
51385 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
51387 if test x$glibcxx_cv_func__expf_use = x"yes"; then
51388 for ac_func in _expf
51389 do :
51390 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
51391 if test "x$ac_cv_func__expf" = xyes; then :
51392 cat >>confdefs.h <<_ACEOF
51393 #define HAVE__EXPF 1
51394 _ACEOF
51397 done
51406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
51407 $as_echo_n "checking for isnanf declaration... " >&6; }
51408 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
51409 if ${glibcxx_cv_func_isnanf_use+:} false; then :
51410 $as_echo_n "(cached) " >&6
51411 else
51414 ac_ext=cpp
51415 ac_cpp='$CXXCPP $CPPFLAGS'
51416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51421 /* end confdefs.h. */
51422 #include <math.h>
51423 #ifdef HAVE_IEEEFP_H
51424 #include <ieeefp.h>
51425 #endif
51428 main ()
51430 isnanf(0);
51432 return 0;
51434 _ACEOF
51435 if ac_fn_cxx_try_compile "$LINENO"; then :
51436 glibcxx_cv_func_isnanf_use=yes
51437 else
51438 glibcxx_cv_func_isnanf_use=no
51440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51441 ac_ext=c
51442 ac_cpp='$CPP $CPPFLAGS'
51443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
51452 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
51454 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
51455 for ac_func in isnanf
51456 do :
51457 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
51458 if test "x$ac_cv_func_isnanf" = xyes; then :
51459 cat >>confdefs.h <<_ACEOF
51460 #define HAVE_ISNANF 1
51461 _ACEOF
51464 done
51466 else
51468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
51469 $as_echo_n "checking for _isnanf declaration... " >&6; }
51470 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
51471 if ${glibcxx_cv_func__isnanf_use+:} false; then :
51472 $as_echo_n "(cached) " >&6
51473 else
51476 ac_ext=cpp
51477 ac_cpp='$CXXCPP $CPPFLAGS'
51478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51483 /* end confdefs.h. */
51484 #include <math.h>
51485 #ifdef HAVE_IEEEFP_H
51486 #include <ieeefp.h>
51487 #endif
51490 main ()
51492 _isnanf(0);
51494 return 0;
51496 _ACEOF
51497 if ac_fn_cxx_try_compile "$LINENO"; then :
51498 glibcxx_cv_func__isnanf_use=yes
51499 else
51500 glibcxx_cv_func__isnanf_use=no
51502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51503 ac_ext=c
51504 ac_cpp='$CPP $CPPFLAGS'
51505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
51514 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
51516 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
51517 for ac_func in _isnanf
51518 do :
51519 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
51520 if test "x$ac_cv_func__isnanf" = xyes; then :
51521 cat >>confdefs.h <<_ACEOF
51522 #define HAVE__ISNANF 1
51523 _ACEOF
51526 done
51535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
51536 $as_echo_n "checking for isinff declaration... " >&6; }
51537 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
51538 if ${glibcxx_cv_func_isinff_use+:} false; then :
51539 $as_echo_n "(cached) " >&6
51540 else
51543 ac_ext=cpp
51544 ac_cpp='$CXXCPP $CPPFLAGS'
51545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51550 /* end confdefs.h. */
51551 #include <math.h>
51552 #ifdef HAVE_IEEEFP_H
51553 #include <ieeefp.h>
51554 #endif
51557 main ()
51559 isinff(0);
51561 return 0;
51563 _ACEOF
51564 if ac_fn_cxx_try_compile "$LINENO"; then :
51565 glibcxx_cv_func_isinff_use=yes
51566 else
51567 glibcxx_cv_func_isinff_use=no
51569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51570 ac_ext=c
51571 ac_cpp='$CPP $CPPFLAGS'
51572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
51581 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
51583 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
51584 for ac_func in isinff
51585 do :
51586 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
51587 if test "x$ac_cv_func_isinff" = xyes; then :
51588 cat >>confdefs.h <<_ACEOF
51589 #define HAVE_ISINFF 1
51590 _ACEOF
51593 done
51595 else
51597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
51598 $as_echo_n "checking for _isinff declaration... " >&6; }
51599 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
51600 if ${glibcxx_cv_func__isinff_use+:} false; then :
51601 $as_echo_n "(cached) " >&6
51602 else
51605 ac_ext=cpp
51606 ac_cpp='$CXXCPP $CPPFLAGS'
51607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51612 /* end confdefs.h. */
51613 #include <math.h>
51614 #ifdef HAVE_IEEEFP_H
51615 #include <ieeefp.h>
51616 #endif
51619 main ()
51621 _isinff(0);
51623 return 0;
51625 _ACEOF
51626 if ac_fn_cxx_try_compile "$LINENO"; then :
51627 glibcxx_cv_func__isinff_use=yes
51628 else
51629 glibcxx_cv_func__isinff_use=no
51631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51632 ac_ext=c
51633 ac_cpp='$CPP $CPPFLAGS'
51634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
51643 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
51645 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
51646 for ac_func in _isinff
51647 do :
51648 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
51649 if test "x$ac_cv_func__isinff" = xyes; then :
51650 cat >>confdefs.h <<_ACEOF
51651 #define HAVE__ISINFF 1
51652 _ACEOF
51655 done
51664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
51665 $as_echo_n "checking for atan2f declaration... " >&6; }
51666 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
51667 if ${glibcxx_cv_func_atan2f_use+:} false; then :
51668 $as_echo_n "(cached) " >&6
51669 else
51672 ac_ext=cpp
51673 ac_cpp='$CXXCPP $CPPFLAGS'
51674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51679 /* end confdefs.h. */
51680 #include <math.h>
51682 main ()
51684 atan2f(0, 0);
51686 return 0;
51688 _ACEOF
51689 if ac_fn_cxx_try_compile "$LINENO"; then :
51690 glibcxx_cv_func_atan2f_use=yes
51691 else
51692 glibcxx_cv_func_atan2f_use=no
51694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51695 ac_ext=c
51696 ac_cpp='$CPP $CPPFLAGS'
51697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
51706 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
51708 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
51709 for ac_func in atan2f
51710 do :
51711 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
51712 if test "x$ac_cv_func_atan2f" = xyes; then :
51713 cat >>confdefs.h <<_ACEOF
51714 #define HAVE_ATAN2F 1
51715 _ACEOF
51718 done
51720 else
51722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
51723 $as_echo_n "checking for _atan2f declaration... " >&6; }
51724 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
51725 if ${glibcxx_cv_func__atan2f_use+:} false; then :
51726 $as_echo_n "(cached) " >&6
51727 else
51730 ac_ext=cpp
51731 ac_cpp='$CXXCPP $CPPFLAGS'
51732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51737 /* end confdefs.h. */
51738 #include <math.h>
51740 main ()
51742 _atan2f(0, 0);
51744 return 0;
51746 _ACEOF
51747 if ac_fn_cxx_try_compile "$LINENO"; then :
51748 glibcxx_cv_func__atan2f_use=yes
51749 else
51750 glibcxx_cv_func__atan2f_use=no
51752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51753 ac_ext=c
51754 ac_cpp='$CPP $CPPFLAGS'
51755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
51764 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
51766 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
51767 for ac_func in _atan2f
51768 do :
51769 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
51770 if test "x$ac_cv_func__atan2f" = xyes; then :
51771 cat >>confdefs.h <<_ACEOF
51772 #define HAVE__ATAN2F 1
51773 _ACEOF
51776 done
51785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
51786 $as_echo_n "checking for fabsf declaration... " >&6; }
51787 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
51788 if ${glibcxx_cv_func_fabsf_use+:} false; then :
51789 $as_echo_n "(cached) " >&6
51790 else
51793 ac_ext=cpp
51794 ac_cpp='$CXXCPP $CPPFLAGS'
51795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51800 /* end confdefs.h. */
51801 #include <math.h>
51802 #ifdef HAVE_IEEEFP_H
51803 #include <ieeefp.h>
51804 #endif
51807 main ()
51809 fabsf(0);
51811 return 0;
51813 _ACEOF
51814 if ac_fn_cxx_try_compile "$LINENO"; then :
51815 glibcxx_cv_func_fabsf_use=yes
51816 else
51817 glibcxx_cv_func_fabsf_use=no
51819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51820 ac_ext=c
51821 ac_cpp='$CPP $CPPFLAGS'
51822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
51831 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
51833 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
51834 for ac_func in fabsf
51835 do :
51836 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
51837 if test "x$ac_cv_func_fabsf" = xyes; then :
51838 cat >>confdefs.h <<_ACEOF
51839 #define HAVE_FABSF 1
51840 _ACEOF
51843 done
51845 else
51847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
51848 $as_echo_n "checking for _fabsf declaration... " >&6; }
51849 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
51850 if ${glibcxx_cv_func__fabsf_use+:} false; then :
51851 $as_echo_n "(cached) " >&6
51852 else
51855 ac_ext=cpp
51856 ac_cpp='$CXXCPP $CPPFLAGS'
51857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51862 /* end confdefs.h. */
51863 #include <math.h>
51864 #ifdef HAVE_IEEEFP_H
51865 #include <ieeefp.h>
51866 #endif
51869 main ()
51871 _fabsf(0);
51873 return 0;
51875 _ACEOF
51876 if ac_fn_cxx_try_compile "$LINENO"; then :
51877 glibcxx_cv_func__fabsf_use=yes
51878 else
51879 glibcxx_cv_func__fabsf_use=no
51881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51882 ac_ext=c
51883 ac_cpp='$CPP $CPPFLAGS'
51884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
51893 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
51895 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
51896 for ac_func in _fabsf
51897 do :
51898 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
51899 if test "x$ac_cv_func__fabsf" = xyes; then :
51900 cat >>confdefs.h <<_ACEOF
51901 #define HAVE__FABSF 1
51902 _ACEOF
51905 done
51914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
51915 $as_echo_n "checking for fmodf declaration... " >&6; }
51916 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
51917 if ${glibcxx_cv_func_fmodf_use+:} false; then :
51918 $as_echo_n "(cached) " >&6
51919 else
51922 ac_ext=cpp
51923 ac_cpp='$CXXCPP $CPPFLAGS'
51924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51929 /* end confdefs.h. */
51930 #include <math.h>
51932 main ()
51934 fmodf(0, 0);
51936 return 0;
51938 _ACEOF
51939 if ac_fn_cxx_try_compile "$LINENO"; then :
51940 glibcxx_cv_func_fmodf_use=yes
51941 else
51942 glibcxx_cv_func_fmodf_use=no
51944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51945 ac_ext=c
51946 ac_cpp='$CPP $CPPFLAGS'
51947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
51956 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
51958 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
51959 for ac_func in fmodf
51960 do :
51961 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
51962 if test "x$ac_cv_func_fmodf" = xyes; then :
51963 cat >>confdefs.h <<_ACEOF
51964 #define HAVE_FMODF 1
51965 _ACEOF
51968 done
51970 else
51972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
51973 $as_echo_n "checking for _fmodf declaration... " >&6; }
51974 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
51975 if ${glibcxx_cv_func__fmodf_use+:} false; then :
51976 $as_echo_n "(cached) " >&6
51977 else
51980 ac_ext=cpp
51981 ac_cpp='$CXXCPP $CPPFLAGS'
51982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51987 /* end confdefs.h. */
51988 #include <math.h>
51990 main ()
51992 _fmodf(0, 0);
51994 return 0;
51996 _ACEOF
51997 if ac_fn_cxx_try_compile "$LINENO"; then :
51998 glibcxx_cv_func__fmodf_use=yes
51999 else
52000 glibcxx_cv_func__fmodf_use=no
52002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52003 ac_ext=c
52004 ac_cpp='$CPP $CPPFLAGS'
52005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
52014 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
52016 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
52017 for ac_func in _fmodf
52018 do :
52019 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
52020 if test "x$ac_cv_func__fmodf" = xyes; then :
52021 cat >>confdefs.h <<_ACEOF
52022 #define HAVE__FMODF 1
52023 _ACEOF
52026 done
52035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
52036 $as_echo_n "checking for frexpf declaration... " >&6; }
52037 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
52038 if ${glibcxx_cv_func_frexpf_use+:} false; then :
52039 $as_echo_n "(cached) " >&6
52040 else
52043 ac_ext=cpp
52044 ac_cpp='$CXXCPP $CPPFLAGS'
52045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52050 /* end confdefs.h. */
52051 #include <math.h>
52053 main ()
52055 frexpf(0, 0);
52057 return 0;
52059 _ACEOF
52060 if ac_fn_cxx_try_compile "$LINENO"; then :
52061 glibcxx_cv_func_frexpf_use=yes
52062 else
52063 glibcxx_cv_func_frexpf_use=no
52065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52066 ac_ext=c
52067 ac_cpp='$CPP $CPPFLAGS'
52068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
52077 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
52079 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
52080 for ac_func in frexpf
52081 do :
52082 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
52083 if test "x$ac_cv_func_frexpf" = xyes; then :
52084 cat >>confdefs.h <<_ACEOF
52085 #define HAVE_FREXPF 1
52086 _ACEOF
52089 done
52091 else
52093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
52094 $as_echo_n "checking for _frexpf declaration... " >&6; }
52095 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
52096 if ${glibcxx_cv_func__frexpf_use+:} false; then :
52097 $as_echo_n "(cached) " >&6
52098 else
52101 ac_ext=cpp
52102 ac_cpp='$CXXCPP $CPPFLAGS'
52103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52108 /* end confdefs.h. */
52109 #include <math.h>
52111 main ()
52113 _frexpf(0, 0);
52115 return 0;
52117 _ACEOF
52118 if ac_fn_cxx_try_compile "$LINENO"; then :
52119 glibcxx_cv_func__frexpf_use=yes
52120 else
52121 glibcxx_cv_func__frexpf_use=no
52123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52124 ac_ext=c
52125 ac_cpp='$CPP $CPPFLAGS'
52126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
52135 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
52137 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
52138 for ac_func in _frexpf
52139 do :
52140 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
52141 if test "x$ac_cv_func__frexpf" = xyes; then :
52142 cat >>confdefs.h <<_ACEOF
52143 #define HAVE__FREXPF 1
52144 _ACEOF
52147 done
52156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
52157 $as_echo_n "checking for hypotf declaration... " >&6; }
52158 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
52159 if ${glibcxx_cv_func_hypotf_use+:} false; then :
52160 $as_echo_n "(cached) " >&6
52161 else
52164 ac_ext=cpp
52165 ac_cpp='$CXXCPP $CPPFLAGS'
52166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52171 /* end confdefs.h. */
52172 #include <math.h>
52174 main ()
52176 hypotf(0, 0);
52178 return 0;
52180 _ACEOF
52181 if ac_fn_cxx_try_compile "$LINENO"; then :
52182 glibcxx_cv_func_hypotf_use=yes
52183 else
52184 glibcxx_cv_func_hypotf_use=no
52186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52187 ac_ext=c
52188 ac_cpp='$CPP $CPPFLAGS'
52189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
52198 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
52200 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
52201 for ac_func in hypotf
52202 do :
52203 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
52204 if test "x$ac_cv_func_hypotf" = xyes; then :
52205 cat >>confdefs.h <<_ACEOF
52206 #define HAVE_HYPOTF 1
52207 _ACEOF
52210 done
52212 else
52214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
52215 $as_echo_n "checking for _hypotf declaration... " >&6; }
52216 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
52217 if ${glibcxx_cv_func__hypotf_use+:} false; then :
52218 $as_echo_n "(cached) " >&6
52219 else
52222 ac_ext=cpp
52223 ac_cpp='$CXXCPP $CPPFLAGS'
52224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52229 /* end confdefs.h. */
52230 #include <math.h>
52232 main ()
52234 _hypotf(0, 0);
52236 return 0;
52238 _ACEOF
52239 if ac_fn_cxx_try_compile "$LINENO"; then :
52240 glibcxx_cv_func__hypotf_use=yes
52241 else
52242 glibcxx_cv_func__hypotf_use=no
52244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52245 ac_ext=c
52246 ac_cpp='$CPP $CPPFLAGS'
52247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
52256 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
52258 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
52259 for ac_func in _hypotf
52260 do :
52261 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
52262 if test "x$ac_cv_func__hypotf" = xyes; then :
52263 cat >>confdefs.h <<_ACEOF
52264 #define HAVE__HYPOTF 1
52265 _ACEOF
52268 done
52277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
52278 $as_echo_n "checking for ldexpf declaration... " >&6; }
52279 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
52280 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
52281 $as_echo_n "(cached) " >&6
52282 else
52285 ac_ext=cpp
52286 ac_cpp='$CXXCPP $CPPFLAGS'
52287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52292 /* end confdefs.h. */
52293 #include <math.h>
52295 main ()
52297 ldexpf(0, 0);
52299 return 0;
52301 _ACEOF
52302 if ac_fn_cxx_try_compile "$LINENO"; then :
52303 glibcxx_cv_func_ldexpf_use=yes
52304 else
52305 glibcxx_cv_func_ldexpf_use=no
52307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52308 ac_ext=c
52309 ac_cpp='$CPP $CPPFLAGS'
52310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
52319 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
52321 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
52322 for ac_func in ldexpf
52323 do :
52324 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
52325 if test "x$ac_cv_func_ldexpf" = xyes; then :
52326 cat >>confdefs.h <<_ACEOF
52327 #define HAVE_LDEXPF 1
52328 _ACEOF
52331 done
52333 else
52335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
52336 $as_echo_n "checking for _ldexpf declaration... " >&6; }
52337 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
52338 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
52339 $as_echo_n "(cached) " >&6
52340 else
52343 ac_ext=cpp
52344 ac_cpp='$CXXCPP $CPPFLAGS'
52345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52350 /* end confdefs.h. */
52351 #include <math.h>
52353 main ()
52355 _ldexpf(0, 0);
52357 return 0;
52359 _ACEOF
52360 if ac_fn_cxx_try_compile "$LINENO"; then :
52361 glibcxx_cv_func__ldexpf_use=yes
52362 else
52363 glibcxx_cv_func__ldexpf_use=no
52365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52366 ac_ext=c
52367 ac_cpp='$CPP $CPPFLAGS'
52368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
52377 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
52379 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
52380 for ac_func in _ldexpf
52381 do :
52382 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
52383 if test "x$ac_cv_func__ldexpf" = xyes; then :
52384 cat >>confdefs.h <<_ACEOF
52385 #define HAVE__LDEXPF 1
52386 _ACEOF
52389 done
52398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
52399 $as_echo_n "checking for logf declaration... " >&6; }
52400 if test x${glibcxx_cv_func_logf_use+set} != xset; then
52401 if ${glibcxx_cv_func_logf_use+:} false; then :
52402 $as_echo_n "(cached) " >&6
52403 else
52406 ac_ext=cpp
52407 ac_cpp='$CXXCPP $CPPFLAGS'
52408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52413 /* end confdefs.h. */
52414 #include <math.h>
52415 #ifdef HAVE_IEEEFP_H
52416 #include <ieeefp.h>
52417 #endif
52420 main ()
52422 logf(0);
52424 return 0;
52426 _ACEOF
52427 if ac_fn_cxx_try_compile "$LINENO"; then :
52428 glibcxx_cv_func_logf_use=yes
52429 else
52430 glibcxx_cv_func_logf_use=no
52432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52433 ac_ext=c
52434 ac_cpp='$CPP $CPPFLAGS'
52435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
52444 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
52446 if test x$glibcxx_cv_func_logf_use = x"yes"; then
52447 for ac_func in logf
52448 do :
52449 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
52450 if test "x$ac_cv_func_logf" = xyes; then :
52451 cat >>confdefs.h <<_ACEOF
52452 #define HAVE_LOGF 1
52453 _ACEOF
52456 done
52458 else
52460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
52461 $as_echo_n "checking for _logf declaration... " >&6; }
52462 if test x${glibcxx_cv_func__logf_use+set} != xset; then
52463 if ${glibcxx_cv_func__logf_use+:} false; then :
52464 $as_echo_n "(cached) " >&6
52465 else
52468 ac_ext=cpp
52469 ac_cpp='$CXXCPP $CPPFLAGS'
52470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52475 /* end confdefs.h. */
52476 #include <math.h>
52477 #ifdef HAVE_IEEEFP_H
52478 #include <ieeefp.h>
52479 #endif
52482 main ()
52484 _logf(0);
52486 return 0;
52488 _ACEOF
52489 if ac_fn_cxx_try_compile "$LINENO"; then :
52490 glibcxx_cv_func__logf_use=yes
52491 else
52492 glibcxx_cv_func__logf_use=no
52494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52495 ac_ext=c
52496 ac_cpp='$CPP $CPPFLAGS'
52497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
52506 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
52508 if test x$glibcxx_cv_func__logf_use = x"yes"; then
52509 for ac_func in _logf
52510 do :
52511 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
52512 if test "x$ac_cv_func__logf" = xyes; then :
52513 cat >>confdefs.h <<_ACEOF
52514 #define HAVE__LOGF 1
52515 _ACEOF
52518 done
52527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
52528 $as_echo_n "checking for log10f declaration... " >&6; }
52529 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
52530 if ${glibcxx_cv_func_log10f_use+:} false; then :
52531 $as_echo_n "(cached) " >&6
52532 else
52535 ac_ext=cpp
52536 ac_cpp='$CXXCPP $CPPFLAGS'
52537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52542 /* end confdefs.h. */
52543 #include <math.h>
52544 #ifdef HAVE_IEEEFP_H
52545 #include <ieeefp.h>
52546 #endif
52549 main ()
52551 log10f(0);
52553 return 0;
52555 _ACEOF
52556 if ac_fn_cxx_try_compile "$LINENO"; then :
52557 glibcxx_cv_func_log10f_use=yes
52558 else
52559 glibcxx_cv_func_log10f_use=no
52561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52562 ac_ext=c
52563 ac_cpp='$CPP $CPPFLAGS'
52564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
52573 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
52575 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
52576 for ac_func in log10f
52577 do :
52578 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
52579 if test "x$ac_cv_func_log10f" = xyes; then :
52580 cat >>confdefs.h <<_ACEOF
52581 #define HAVE_LOG10F 1
52582 _ACEOF
52585 done
52587 else
52589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
52590 $as_echo_n "checking for _log10f declaration... " >&6; }
52591 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
52592 if ${glibcxx_cv_func__log10f_use+:} false; then :
52593 $as_echo_n "(cached) " >&6
52594 else
52597 ac_ext=cpp
52598 ac_cpp='$CXXCPP $CPPFLAGS'
52599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52604 /* end confdefs.h. */
52605 #include <math.h>
52606 #ifdef HAVE_IEEEFP_H
52607 #include <ieeefp.h>
52608 #endif
52611 main ()
52613 _log10f(0);
52615 return 0;
52617 _ACEOF
52618 if ac_fn_cxx_try_compile "$LINENO"; then :
52619 glibcxx_cv_func__log10f_use=yes
52620 else
52621 glibcxx_cv_func__log10f_use=no
52623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52624 ac_ext=c
52625 ac_cpp='$CPP $CPPFLAGS'
52626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
52635 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
52637 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
52638 for ac_func in _log10f
52639 do :
52640 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
52641 if test "x$ac_cv_func__log10f" = xyes; then :
52642 cat >>confdefs.h <<_ACEOF
52643 #define HAVE__LOG10F 1
52644 _ACEOF
52647 done
52656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
52657 $as_echo_n "checking for modff declaration... " >&6; }
52658 if test x${glibcxx_cv_func_modff_use+set} != xset; then
52659 if ${glibcxx_cv_func_modff_use+:} false; then :
52660 $as_echo_n "(cached) " >&6
52661 else
52664 ac_ext=cpp
52665 ac_cpp='$CXXCPP $CPPFLAGS'
52666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52671 /* end confdefs.h. */
52672 #include <math.h>
52674 main ()
52676 modff(0, 0);
52678 return 0;
52680 _ACEOF
52681 if ac_fn_cxx_try_compile "$LINENO"; then :
52682 glibcxx_cv_func_modff_use=yes
52683 else
52684 glibcxx_cv_func_modff_use=no
52686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52687 ac_ext=c
52688 ac_cpp='$CPP $CPPFLAGS'
52689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
52698 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
52700 if test x$glibcxx_cv_func_modff_use = x"yes"; then
52701 for ac_func in modff
52702 do :
52703 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
52704 if test "x$ac_cv_func_modff" = xyes; then :
52705 cat >>confdefs.h <<_ACEOF
52706 #define HAVE_MODFF 1
52707 _ACEOF
52710 done
52712 else
52714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
52715 $as_echo_n "checking for _modff declaration... " >&6; }
52716 if test x${glibcxx_cv_func__modff_use+set} != xset; then
52717 if ${glibcxx_cv_func__modff_use+:} false; then :
52718 $as_echo_n "(cached) " >&6
52719 else
52722 ac_ext=cpp
52723 ac_cpp='$CXXCPP $CPPFLAGS'
52724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52729 /* end confdefs.h. */
52730 #include <math.h>
52732 main ()
52734 _modff(0, 0);
52736 return 0;
52738 _ACEOF
52739 if ac_fn_cxx_try_compile "$LINENO"; then :
52740 glibcxx_cv_func__modff_use=yes
52741 else
52742 glibcxx_cv_func__modff_use=no
52744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52745 ac_ext=c
52746 ac_cpp='$CPP $CPPFLAGS'
52747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
52756 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
52758 if test x$glibcxx_cv_func__modff_use = x"yes"; then
52759 for ac_func in _modff
52760 do :
52761 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
52762 if test "x$ac_cv_func__modff" = xyes; then :
52763 cat >>confdefs.h <<_ACEOF
52764 #define HAVE__MODFF 1
52765 _ACEOF
52768 done
52777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
52778 $as_echo_n "checking for modf declaration... " >&6; }
52779 if test x${glibcxx_cv_func_modf_use+set} != xset; then
52780 if ${glibcxx_cv_func_modf_use+:} false; then :
52781 $as_echo_n "(cached) " >&6
52782 else
52785 ac_ext=cpp
52786 ac_cpp='$CXXCPP $CPPFLAGS'
52787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52792 /* end confdefs.h. */
52793 #include <math.h>
52795 main ()
52797 modf(0, 0);
52799 return 0;
52801 _ACEOF
52802 if ac_fn_cxx_try_compile "$LINENO"; then :
52803 glibcxx_cv_func_modf_use=yes
52804 else
52805 glibcxx_cv_func_modf_use=no
52807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52808 ac_ext=c
52809 ac_cpp='$CPP $CPPFLAGS'
52810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
52819 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
52821 if test x$glibcxx_cv_func_modf_use = x"yes"; then
52822 for ac_func in modf
52823 do :
52824 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
52825 if test "x$ac_cv_func_modf" = xyes; then :
52826 cat >>confdefs.h <<_ACEOF
52827 #define HAVE_MODF 1
52828 _ACEOF
52831 done
52833 else
52835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
52836 $as_echo_n "checking for _modf declaration... " >&6; }
52837 if test x${glibcxx_cv_func__modf_use+set} != xset; then
52838 if ${glibcxx_cv_func__modf_use+:} false; then :
52839 $as_echo_n "(cached) " >&6
52840 else
52843 ac_ext=cpp
52844 ac_cpp='$CXXCPP $CPPFLAGS'
52845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52850 /* end confdefs.h. */
52851 #include <math.h>
52853 main ()
52855 _modf(0, 0);
52857 return 0;
52859 _ACEOF
52860 if ac_fn_cxx_try_compile "$LINENO"; then :
52861 glibcxx_cv_func__modf_use=yes
52862 else
52863 glibcxx_cv_func__modf_use=no
52865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52866 ac_ext=c
52867 ac_cpp='$CPP $CPPFLAGS'
52868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
52877 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
52879 if test x$glibcxx_cv_func__modf_use = x"yes"; then
52880 for ac_func in _modf
52881 do :
52882 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
52883 if test "x$ac_cv_func__modf" = xyes; then :
52884 cat >>confdefs.h <<_ACEOF
52885 #define HAVE__MODF 1
52886 _ACEOF
52889 done
52898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
52899 $as_echo_n "checking for powf declaration... " >&6; }
52900 if test x${glibcxx_cv_func_powf_use+set} != xset; then
52901 if ${glibcxx_cv_func_powf_use+:} false; then :
52902 $as_echo_n "(cached) " >&6
52903 else
52906 ac_ext=cpp
52907 ac_cpp='$CXXCPP $CPPFLAGS'
52908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52913 /* end confdefs.h. */
52914 #include <math.h>
52916 main ()
52918 powf(0, 0);
52920 return 0;
52922 _ACEOF
52923 if ac_fn_cxx_try_compile "$LINENO"; then :
52924 glibcxx_cv_func_powf_use=yes
52925 else
52926 glibcxx_cv_func_powf_use=no
52928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52929 ac_ext=c
52930 ac_cpp='$CPP $CPPFLAGS'
52931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
52940 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
52942 if test x$glibcxx_cv_func_powf_use = x"yes"; then
52943 for ac_func in powf
52944 do :
52945 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
52946 if test "x$ac_cv_func_powf" = xyes; then :
52947 cat >>confdefs.h <<_ACEOF
52948 #define HAVE_POWF 1
52949 _ACEOF
52952 done
52954 else
52956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
52957 $as_echo_n "checking for _powf declaration... " >&6; }
52958 if test x${glibcxx_cv_func__powf_use+set} != xset; then
52959 if ${glibcxx_cv_func__powf_use+:} false; then :
52960 $as_echo_n "(cached) " >&6
52961 else
52964 ac_ext=cpp
52965 ac_cpp='$CXXCPP $CPPFLAGS'
52966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52971 /* end confdefs.h. */
52972 #include <math.h>
52974 main ()
52976 _powf(0, 0);
52978 return 0;
52980 _ACEOF
52981 if ac_fn_cxx_try_compile "$LINENO"; then :
52982 glibcxx_cv_func__powf_use=yes
52983 else
52984 glibcxx_cv_func__powf_use=no
52986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52987 ac_ext=c
52988 ac_cpp='$CPP $CPPFLAGS'
52989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
52998 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
53000 if test x$glibcxx_cv_func__powf_use = x"yes"; then
53001 for ac_func in _powf
53002 do :
53003 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
53004 if test "x$ac_cv_func__powf" = xyes; then :
53005 cat >>confdefs.h <<_ACEOF
53006 #define HAVE__POWF 1
53007 _ACEOF
53010 done
53019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
53020 $as_echo_n "checking for sqrtf declaration... " >&6; }
53021 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
53022 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
53023 $as_echo_n "(cached) " >&6
53024 else
53027 ac_ext=cpp
53028 ac_cpp='$CXXCPP $CPPFLAGS'
53029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53034 /* end confdefs.h. */
53035 #include <math.h>
53036 #ifdef HAVE_IEEEFP_H
53037 #include <ieeefp.h>
53038 #endif
53041 main ()
53043 sqrtf(0);
53045 return 0;
53047 _ACEOF
53048 if ac_fn_cxx_try_compile "$LINENO"; then :
53049 glibcxx_cv_func_sqrtf_use=yes
53050 else
53051 glibcxx_cv_func_sqrtf_use=no
53053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53054 ac_ext=c
53055 ac_cpp='$CPP $CPPFLAGS'
53056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
53065 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
53067 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
53068 for ac_func in sqrtf
53069 do :
53070 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
53071 if test "x$ac_cv_func_sqrtf" = xyes; then :
53072 cat >>confdefs.h <<_ACEOF
53073 #define HAVE_SQRTF 1
53074 _ACEOF
53077 done
53079 else
53081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
53082 $as_echo_n "checking for _sqrtf declaration... " >&6; }
53083 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
53084 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
53085 $as_echo_n "(cached) " >&6
53086 else
53089 ac_ext=cpp
53090 ac_cpp='$CXXCPP $CPPFLAGS'
53091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53096 /* end confdefs.h. */
53097 #include <math.h>
53098 #ifdef HAVE_IEEEFP_H
53099 #include <ieeefp.h>
53100 #endif
53103 main ()
53105 _sqrtf(0);
53107 return 0;
53109 _ACEOF
53110 if ac_fn_cxx_try_compile "$LINENO"; then :
53111 glibcxx_cv_func__sqrtf_use=yes
53112 else
53113 glibcxx_cv_func__sqrtf_use=no
53115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53116 ac_ext=c
53117 ac_cpp='$CPP $CPPFLAGS'
53118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
53127 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
53129 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
53130 for ac_func in _sqrtf
53131 do :
53132 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
53133 if test "x$ac_cv_func__sqrtf" = xyes; then :
53134 cat >>confdefs.h <<_ACEOF
53135 #define HAVE__SQRTF 1
53136 _ACEOF
53139 done
53148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
53149 $as_echo_n "checking for sincosf declaration... " >&6; }
53150 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
53151 if ${glibcxx_cv_func_sincosf_use+:} false; then :
53152 $as_echo_n "(cached) " >&6
53153 else
53156 ac_ext=cpp
53157 ac_cpp='$CXXCPP $CPPFLAGS'
53158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53163 /* end confdefs.h. */
53164 #include <math.h>
53166 main ()
53168 sincosf(0, 0, 0);
53170 return 0;
53172 _ACEOF
53173 if ac_fn_cxx_try_compile "$LINENO"; then :
53174 glibcxx_cv_func_sincosf_use=yes
53175 else
53176 glibcxx_cv_func_sincosf_use=no
53178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53179 ac_ext=c
53180 ac_cpp='$CPP $CPPFLAGS'
53181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
53190 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
53192 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
53193 for ac_func in sincosf
53194 do :
53195 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
53196 if test "x$ac_cv_func_sincosf" = xyes; then :
53197 cat >>confdefs.h <<_ACEOF
53198 #define HAVE_SINCOSF 1
53199 _ACEOF
53202 done
53204 else
53206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
53207 $as_echo_n "checking for _sincosf declaration... " >&6; }
53208 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
53209 if ${glibcxx_cv_func__sincosf_use+:} false; then :
53210 $as_echo_n "(cached) " >&6
53211 else
53214 ac_ext=cpp
53215 ac_cpp='$CXXCPP $CPPFLAGS'
53216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53221 /* end confdefs.h. */
53222 #include <math.h>
53224 main ()
53226 _sincosf(0, 0, 0);
53228 return 0;
53230 _ACEOF
53231 if ac_fn_cxx_try_compile "$LINENO"; then :
53232 glibcxx_cv_func__sincosf_use=yes
53233 else
53234 glibcxx_cv_func__sincosf_use=no
53236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53237 ac_ext=c
53238 ac_cpp='$CPP $CPPFLAGS'
53239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
53248 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
53250 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
53251 for ac_func in _sincosf
53252 do :
53253 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
53254 if test "x$ac_cv_func__sincosf" = xyes; then :
53255 cat >>confdefs.h <<_ACEOF
53256 #define HAVE__SINCOSF 1
53257 _ACEOF
53260 done
53269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
53270 $as_echo_n "checking for finitef declaration... " >&6; }
53271 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
53272 if ${glibcxx_cv_func_finitef_use+:} false; then :
53273 $as_echo_n "(cached) " >&6
53274 else
53277 ac_ext=cpp
53278 ac_cpp='$CXXCPP $CPPFLAGS'
53279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53284 /* end confdefs.h. */
53285 #include <math.h>
53286 #ifdef HAVE_IEEEFP_H
53287 #include <ieeefp.h>
53288 #endif
53291 main ()
53293 finitef(0);
53295 return 0;
53297 _ACEOF
53298 if ac_fn_cxx_try_compile "$LINENO"; then :
53299 glibcxx_cv_func_finitef_use=yes
53300 else
53301 glibcxx_cv_func_finitef_use=no
53303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53304 ac_ext=c
53305 ac_cpp='$CPP $CPPFLAGS'
53306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
53315 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
53317 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
53318 for ac_func in finitef
53319 do :
53320 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
53321 if test "x$ac_cv_func_finitef" = xyes; then :
53322 cat >>confdefs.h <<_ACEOF
53323 #define HAVE_FINITEF 1
53324 _ACEOF
53327 done
53329 else
53331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
53332 $as_echo_n "checking for _finitef declaration... " >&6; }
53333 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
53334 if ${glibcxx_cv_func__finitef_use+:} false; then :
53335 $as_echo_n "(cached) " >&6
53336 else
53339 ac_ext=cpp
53340 ac_cpp='$CXXCPP $CPPFLAGS'
53341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53346 /* end confdefs.h. */
53347 #include <math.h>
53348 #ifdef HAVE_IEEEFP_H
53349 #include <ieeefp.h>
53350 #endif
53353 main ()
53355 _finitef(0);
53357 return 0;
53359 _ACEOF
53360 if ac_fn_cxx_try_compile "$LINENO"; then :
53361 glibcxx_cv_func__finitef_use=yes
53362 else
53363 glibcxx_cv_func__finitef_use=no
53365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53366 ac_ext=c
53367 ac_cpp='$CPP $CPPFLAGS'
53368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
53377 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
53379 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
53380 for ac_func in _finitef
53381 do :
53382 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
53383 if test "x$ac_cv_func__finitef" = xyes; then :
53384 cat >>confdefs.h <<_ACEOF
53385 #define HAVE__FINITEF 1
53386 _ACEOF
53389 done
53398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
53399 $as_echo_n "checking for long double trig functions... " >&6; }
53400 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
53401 $as_echo_n "(cached) " >&6
53402 else
53405 ac_ext=cpp
53406 ac_cpp='$CXXCPP $CPPFLAGS'
53407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53412 /* end confdefs.h. */
53413 #include <math.h>
53415 main ()
53417 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
53419 return 0;
53421 _ACEOF
53422 if ac_fn_cxx_try_compile "$LINENO"; then :
53423 glibcxx_cv_func_long_double_trig_use=yes
53424 else
53425 glibcxx_cv_func_long_double_trig_use=no
53427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53428 ac_ext=c
53429 ac_cpp='$CPP $CPPFLAGS'
53430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
53437 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
53438 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
53439 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
53440 do :
53441 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53442 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53443 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
53444 cat >>confdefs.h <<_ACEOF
53445 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53446 _ACEOF
53449 done
53451 else
53452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
53453 $as_echo_n "checking for _long double trig functions... " >&6; }
53454 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
53455 $as_echo_n "(cached) " >&6
53456 else
53459 ac_ext=cpp
53460 ac_cpp='$CXXCPP $CPPFLAGS'
53461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53466 /* end confdefs.h. */
53467 #include <math.h>
53469 main ()
53471 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
53473 return 0;
53475 _ACEOF
53476 if ac_fn_cxx_try_compile "$LINENO"; then :
53477 glibcxx_cv_func__long_double_trig_use=yes
53478 else
53479 glibcxx_cv_func__long_double_trig_use=no
53481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53482 ac_ext=c
53483 ac_cpp='$CPP $CPPFLAGS'
53484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
53491 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
53492 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
53493 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
53494 do :
53495 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53496 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53497 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
53498 cat >>confdefs.h <<_ACEOF
53499 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53500 _ACEOF
53503 done
53512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
53513 $as_echo_n "checking for long double round functions... " >&6; }
53514 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
53515 $as_echo_n "(cached) " >&6
53516 else
53519 ac_ext=cpp
53520 ac_cpp='$CXXCPP $CPPFLAGS'
53521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53526 /* end confdefs.h. */
53527 #include <math.h>
53529 main ()
53531 ceill (0); floorl (0);
53533 return 0;
53535 _ACEOF
53536 if ac_fn_cxx_try_compile "$LINENO"; then :
53537 glibcxx_cv_func_long_double_round_use=yes
53538 else
53539 glibcxx_cv_func_long_double_round_use=no
53541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53542 ac_ext=c
53543 ac_cpp='$CPP $CPPFLAGS'
53544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
53551 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
53552 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
53553 for ac_func in ceill floorl
53554 do :
53555 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53556 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53557 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
53558 cat >>confdefs.h <<_ACEOF
53559 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53560 _ACEOF
53563 done
53565 else
53566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
53567 $as_echo_n "checking for _long double round functions... " >&6; }
53568 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
53569 $as_echo_n "(cached) " >&6
53570 else
53573 ac_ext=cpp
53574 ac_cpp='$CXXCPP $CPPFLAGS'
53575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53580 /* end confdefs.h. */
53581 #include <math.h>
53583 main ()
53585 _ceill (0); _floorl (0);
53587 return 0;
53589 _ACEOF
53590 if ac_fn_cxx_try_compile "$LINENO"; then :
53591 glibcxx_cv_func__long_double_round_use=yes
53592 else
53593 glibcxx_cv_func__long_double_round_use=no
53595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53596 ac_ext=c
53597 ac_cpp='$CPP $CPPFLAGS'
53598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
53605 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
53606 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
53607 for ac_func in _ceill _floorl
53608 do :
53609 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53610 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53611 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
53612 cat >>confdefs.h <<_ACEOF
53613 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53614 _ACEOF
53617 done
53627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
53628 $as_echo_n "checking for isnanl declaration... " >&6; }
53629 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
53630 if ${glibcxx_cv_func_isnanl_use+:} false; then :
53631 $as_echo_n "(cached) " >&6
53632 else
53635 ac_ext=cpp
53636 ac_cpp='$CXXCPP $CPPFLAGS'
53637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53642 /* end confdefs.h. */
53643 #include <math.h>
53644 #ifdef HAVE_IEEEFP_H
53645 #include <ieeefp.h>
53646 #endif
53649 main ()
53651 isnanl(0);
53653 return 0;
53655 _ACEOF
53656 if ac_fn_cxx_try_compile "$LINENO"; then :
53657 glibcxx_cv_func_isnanl_use=yes
53658 else
53659 glibcxx_cv_func_isnanl_use=no
53661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53662 ac_ext=c
53663 ac_cpp='$CPP $CPPFLAGS'
53664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
53673 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
53675 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
53676 for ac_func in isnanl
53677 do :
53678 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
53679 if test "x$ac_cv_func_isnanl" = xyes; then :
53680 cat >>confdefs.h <<_ACEOF
53681 #define HAVE_ISNANL 1
53682 _ACEOF
53685 done
53687 else
53689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
53690 $as_echo_n "checking for _isnanl declaration... " >&6; }
53691 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
53692 if ${glibcxx_cv_func__isnanl_use+:} false; then :
53693 $as_echo_n "(cached) " >&6
53694 else
53697 ac_ext=cpp
53698 ac_cpp='$CXXCPP $CPPFLAGS'
53699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53704 /* end confdefs.h. */
53705 #include <math.h>
53706 #ifdef HAVE_IEEEFP_H
53707 #include <ieeefp.h>
53708 #endif
53711 main ()
53713 _isnanl(0);
53715 return 0;
53717 _ACEOF
53718 if ac_fn_cxx_try_compile "$LINENO"; then :
53719 glibcxx_cv_func__isnanl_use=yes
53720 else
53721 glibcxx_cv_func__isnanl_use=no
53723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53724 ac_ext=c
53725 ac_cpp='$CPP $CPPFLAGS'
53726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
53735 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
53737 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
53738 for ac_func in _isnanl
53739 do :
53740 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
53741 if test "x$ac_cv_func__isnanl" = xyes; then :
53742 cat >>confdefs.h <<_ACEOF
53743 #define HAVE__ISNANL 1
53744 _ACEOF
53747 done
53756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
53757 $as_echo_n "checking for isinfl declaration... " >&6; }
53758 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
53759 if ${glibcxx_cv_func_isinfl_use+:} false; then :
53760 $as_echo_n "(cached) " >&6
53761 else
53764 ac_ext=cpp
53765 ac_cpp='$CXXCPP $CPPFLAGS'
53766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53771 /* end confdefs.h. */
53772 #include <math.h>
53773 #ifdef HAVE_IEEEFP_H
53774 #include <ieeefp.h>
53775 #endif
53778 main ()
53780 isinfl(0);
53782 return 0;
53784 _ACEOF
53785 if ac_fn_cxx_try_compile "$LINENO"; then :
53786 glibcxx_cv_func_isinfl_use=yes
53787 else
53788 glibcxx_cv_func_isinfl_use=no
53790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53791 ac_ext=c
53792 ac_cpp='$CPP $CPPFLAGS'
53793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
53802 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
53804 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
53805 for ac_func in isinfl
53806 do :
53807 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
53808 if test "x$ac_cv_func_isinfl" = xyes; then :
53809 cat >>confdefs.h <<_ACEOF
53810 #define HAVE_ISINFL 1
53811 _ACEOF
53814 done
53816 else
53818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
53819 $as_echo_n "checking for _isinfl declaration... " >&6; }
53820 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
53821 if ${glibcxx_cv_func__isinfl_use+:} false; then :
53822 $as_echo_n "(cached) " >&6
53823 else
53826 ac_ext=cpp
53827 ac_cpp='$CXXCPP $CPPFLAGS'
53828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53833 /* end confdefs.h. */
53834 #include <math.h>
53835 #ifdef HAVE_IEEEFP_H
53836 #include <ieeefp.h>
53837 #endif
53840 main ()
53842 _isinfl(0);
53844 return 0;
53846 _ACEOF
53847 if ac_fn_cxx_try_compile "$LINENO"; then :
53848 glibcxx_cv_func__isinfl_use=yes
53849 else
53850 glibcxx_cv_func__isinfl_use=no
53852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53853 ac_ext=c
53854 ac_cpp='$CPP $CPPFLAGS'
53855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
53864 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
53866 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
53867 for ac_func in _isinfl
53868 do :
53869 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
53870 if test "x$ac_cv_func__isinfl" = xyes; then :
53871 cat >>confdefs.h <<_ACEOF
53872 #define HAVE__ISINFL 1
53873 _ACEOF
53876 done
53885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
53886 $as_echo_n "checking for atan2l declaration... " >&6; }
53887 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
53888 if ${glibcxx_cv_func_atan2l_use+:} false; then :
53889 $as_echo_n "(cached) " >&6
53890 else
53893 ac_ext=cpp
53894 ac_cpp='$CXXCPP $CPPFLAGS'
53895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53900 /* end confdefs.h. */
53901 #include <math.h>
53903 main ()
53905 atan2l(0, 0);
53907 return 0;
53909 _ACEOF
53910 if ac_fn_cxx_try_compile "$LINENO"; then :
53911 glibcxx_cv_func_atan2l_use=yes
53912 else
53913 glibcxx_cv_func_atan2l_use=no
53915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53916 ac_ext=c
53917 ac_cpp='$CPP $CPPFLAGS'
53918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
53927 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
53929 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
53930 for ac_func in atan2l
53931 do :
53932 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
53933 if test "x$ac_cv_func_atan2l" = xyes; then :
53934 cat >>confdefs.h <<_ACEOF
53935 #define HAVE_ATAN2L 1
53936 _ACEOF
53939 done
53941 else
53943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
53944 $as_echo_n "checking for _atan2l declaration... " >&6; }
53945 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
53946 if ${glibcxx_cv_func__atan2l_use+:} false; then :
53947 $as_echo_n "(cached) " >&6
53948 else
53951 ac_ext=cpp
53952 ac_cpp='$CXXCPP $CPPFLAGS'
53953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53958 /* end confdefs.h. */
53959 #include <math.h>
53961 main ()
53963 _atan2l(0, 0);
53965 return 0;
53967 _ACEOF
53968 if ac_fn_cxx_try_compile "$LINENO"; then :
53969 glibcxx_cv_func__atan2l_use=yes
53970 else
53971 glibcxx_cv_func__atan2l_use=no
53973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53974 ac_ext=c
53975 ac_cpp='$CPP $CPPFLAGS'
53976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
53985 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
53987 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
53988 for ac_func in _atan2l
53989 do :
53990 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
53991 if test "x$ac_cv_func__atan2l" = xyes; then :
53992 cat >>confdefs.h <<_ACEOF
53993 #define HAVE__ATAN2L 1
53994 _ACEOF
53997 done
54006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
54007 $as_echo_n "checking for expl declaration... " >&6; }
54008 if test x${glibcxx_cv_func_expl_use+set} != xset; then
54009 if ${glibcxx_cv_func_expl_use+:} false; then :
54010 $as_echo_n "(cached) " >&6
54011 else
54014 ac_ext=cpp
54015 ac_cpp='$CXXCPP $CPPFLAGS'
54016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54021 /* end confdefs.h. */
54022 #include <math.h>
54023 #ifdef HAVE_IEEEFP_H
54024 #include <ieeefp.h>
54025 #endif
54028 main ()
54030 expl(0);
54032 return 0;
54034 _ACEOF
54035 if ac_fn_cxx_try_compile "$LINENO"; then :
54036 glibcxx_cv_func_expl_use=yes
54037 else
54038 glibcxx_cv_func_expl_use=no
54040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54041 ac_ext=c
54042 ac_cpp='$CPP $CPPFLAGS'
54043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
54052 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
54054 if test x$glibcxx_cv_func_expl_use = x"yes"; then
54055 for ac_func in expl
54056 do :
54057 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
54058 if test "x$ac_cv_func_expl" = xyes; then :
54059 cat >>confdefs.h <<_ACEOF
54060 #define HAVE_EXPL 1
54061 _ACEOF
54064 done
54066 else
54068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
54069 $as_echo_n "checking for _expl declaration... " >&6; }
54070 if test x${glibcxx_cv_func__expl_use+set} != xset; then
54071 if ${glibcxx_cv_func__expl_use+:} false; then :
54072 $as_echo_n "(cached) " >&6
54073 else
54076 ac_ext=cpp
54077 ac_cpp='$CXXCPP $CPPFLAGS'
54078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54083 /* end confdefs.h. */
54084 #include <math.h>
54085 #ifdef HAVE_IEEEFP_H
54086 #include <ieeefp.h>
54087 #endif
54090 main ()
54092 _expl(0);
54094 return 0;
54096 _ACEOF
54097 if ac_fn_cxx_try_compile "$LINENO"; then :
54098 glibcxx_cv_func__expl_use=yes
54099 else
54100 glibcxx_cv_func__expl_use=no
54102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54103 ac_ext=c
54104 ac_cpp='$CPP $CPPFLAGS'
54105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
54114 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
54116 if test x$glibcxx_cv_func__expl_use = x"yes"; then
54117 for ac_func in _expl
54118 do :
54119 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
54120 if test "x$ac_cv_func__expl" = xyes; then :
54121 cat >>confdefs.h <<_ACEOF
54122 #define HAVE__EXPL 1
54123 _ACEOF
54126 done
54135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
54136 $as_echo_n "checking for fabsl declaration... " >&6; }
54137 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
54138 if ${glibcxx_cv_func_fabsl_use+:} false; then :
54139 $as_echo_n "(cached) " >&6
54140 else
54143 ac_ext=cpp
54144 ac_cpp='$CXXCPP $CPPFLAGS'
54145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54150 /* end confdefs.h. */
54151 #include <math.h>
54152 #ifdef HAVE_IEEEFP_H
54153 #include <ieeefp.h>
54154 #endif
54157 main ()
54159 fabsl(0);
54161 return 0;
54163 _ACEOF
54164 if ac_fn_cxx_try_compile "$LINENO"; then :
54165 glibcxx_cv_func_fabsl_use=yes
54166 else
54167 glibcxx_cv_func_fabsl_use=no
54169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54170 ac_ext=c
54171 ac_cpp='$CPP $CPPFLAGS'
54172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
54181 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
54183 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
54184 for ac_func in fabsl
54185 do :
54186 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
54187 if test "x$ac_cv_func_fabsl" = xyes; then :
54188 cat >>confdefs.h <<_ACEOF
54189 #define HAVE_FABSL 1
54190 _ACEOF
54193 done
54195 else
54197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
54198 $as_echo_n "checking for _fabsl declaration... " >&6; }
54199 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
54200 if ${glibcxx_cv_func__fabsl_use+:} false; then :
54201 $as_echo_n "(cached) " >&6
54202 else
54205 ac_ext=cpp
54206 ac_cpp='$CXXCPP $CPPFLAGS'
54207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54212 /* end confdefs.h. */
54213 #include <math.h>
54214 #ifdef HAVE_IEEEFP_H
54215 #include <ieeefp.h>
54216 #endif
54219 main ()
54221 _fabsl(0);
54223 return 0;
54225 _ACEOF
54226 if ac_fn_cxx_try_compile "$LINENO"; then :
54227 glibcxx_cv_func__fabsl_use=yes
54228 else
54229 glibcxx_cv_func__fabsl_use=no
54231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54232 ac_ext=c
54233 ac_cpp='$CPP $CPPFLAGS'
54234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
54243 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
54245 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
54246 for ac_func in _fabsl
54247 do :
54248 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
54249 if test "x$ac_cv_func__fabsl" = xyes; then :
54250 cat >>confdefs.h <<_ACEOF
54251 #define HAVE__FABSL 1
54252 _ACEOF
54255 done
54264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
54265 $as_echo_n "checking for fmodl declaration... " >&6; }
54266 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
54267 if ${glibcxx_cv_func_fmodl_use+:} false; then :
54268 $as_echo_n "(cached) " >&6
54269 else
54272 ac_ext=cpp
54273 ac_cpp='$CXXCPP $CPPFLAGS'
54274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54279 /* end confdefs.h. */
54280 #include <math.h>
54282 main ()
54284 fmodl(0, 0);
54286 return 0;
54288 _ACEOF
54289 if ac_fn_cxx_try_compile "$LINENO"; then :
54290 glibcxx_cv_func_fmodl_use=yes
54291 else
54292 glibcxx_cv_func_fmodl_use=no
54294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54295 ac_ext=c
54296 ac_cpp='$CPP $CPPFLAGS'
54297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
54306 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
54308 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
54309 for ac_func in fmodl
54310 do :
54311 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
54312 if test "x$ac_cv_func_fmodl" = xyes; then :
54313 cat >>confdefs.h <<_ACEOF
54314 #define HAVE_FMODL 1
54315 _ACEOF
54318 done
54320 else
54322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
54323 $as_echo_n "checking for _fmodl declaration... " >&6; }
54324 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
54325 if ${glibcxx_cv_func__fmodl_use+:} false; then :
54326 $as_echo_n "(cached) " >&6
54327 else
54330 ac_ext=cpp
54331 ac_cpp='$CXXCPP $CPPFLAGS'
54332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54337 /* end confdefs.h. */
54338 #include <math.h>
54340 main ()
54342 _fmodl(0, 0);
54344 return 0;
54346 _ACEOF
54347 if ac_fn_cxx_try_compile "$LINENO"; then :
54348 glibcxx_cv_func__fmodl_use=yes
54349 else
54350 glibcxx_cv_func__fmodl_use=no
54352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54353 ac_ext=c
54354 ac_cpp='$CPP $CPPFLAGS'
54355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
54364 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
54366 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
54367 for ac_func in _fmodl
54368 do :
54369 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
54370 if test "x$ac_cv_func__fmodl" = xyes; then :
54371 cat >>confdefs.h <<_ACEOF
54372 #define HAVE__FMODL 1
54373 _ACEOF
54376 done
54385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
54386 $as_echo_n "checking for frexpl declaration... " >&6; }
54387 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
54388 if ${glibcxx_cv_func_frexpl_use+:} false; then :
54389 $as_echo_n "(cached) " >&6
54390 else
54393 ac_ext=cpp
54394 ac_cpp='$CXXCPP $CPPFLAGS'
54395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54400 /* end confdefs.h. */
54401 #include <math.h>
54403 main ()
54405 frexpl(0, 0);
54407 return 0;
54409 _ACEOF
54410 if ac_fn_cxx_try_compile "$LINENO"; then :
54411 glibcxx_cv_func_frexpl_use=yes
54412 else
54413 glibcxx_cv_func_frexpl_use=no
54415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54416 ac_ext=c
54417 ac_cpp='$CPP $CPPFLAGS'
54418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
54427 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
54429 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
54430 for ac_func in frexpl
54431 do :
54432 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
54433 if test "x$ac_cv_func_frexpl" = xyes; then :
54434 cat >>confdefs.h <<_ACEOF
54435 #define HAVE_FREXPL 1
54436 _ACEOF
54439 done
54441 else
54443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
54444 $as_echo_n "checking for _frexpl declaration... " >&6; }
54445 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
54446 if ${glibcxx_cv_func__frexpl_use+:} false; then :
54447 $as_echo_n "(cached) " >&6
54448 else
54451 ac_ext=cpp
54452 ac_cpp='$CXXCPP $CPPFLAGS'
54453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54458 /* end confdefs.h. */
54459 #include <math.h>
54461 main ()
54463 _frexpl(0, 0);
54465 return 0;
54467 _ACEOF
54468 if ac_fn_cxx_try_compile "$LINENO"; then :
54469 glibcxx_cv_func__frexpl_use=yes
54470 else
54471 glibcxx_cv_func__frexpl_use=no
54473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54474 ac_ext=c
54475 ac_cpp='$CPP $CPPFLAGS'
54476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
54485 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
54487 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
54488 for ac_func in _frexpl
54489 do :
54490 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
54491 if test "x$ac_cv_func__frexpl" = xyes; then :
54492 cat >>confdefs.h <<_ACEOF
54493 #define HAVE__FREXPL 1
54494 _ACEOF
54497 done
54506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
54507 $as_echo_n "checking for hypotl declaration... " >&6; }
54508 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
54509 if ${glibcxx_cv_func_hypotl_use+:} false; then :
54510 $as_echo_n "(cached) " >&6
54511 else
54514 ac_ext=cpp
54515 ac_cpp='$CXXCPP $CPPFLAGS'
54516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54521 /* end confdefs.h. */
54522 #include <math.h>
54524 main ()
54526 hypotl(0, 0);
54528 return 0;
54530 _ACEOF
54531 if ac_fn_cxx_try_compile "$LINENO"; then :
54532 glibcxx_cv_func_hypotl_use=yes
54533 else
54534 glibcxx_cv_func_hypotl_use=no
54536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54537 ac_ext=c
54538 ac_cpp='$CPP $CPPFLAGS'
54539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
54548 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
54550 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
54551 for ac_func in hypotl
54552 do :
54553 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
54554 if test "x$ac_cv_func_hypotl" = xyes; then :
54555 cat >>confdefs.h <<_ACEOF
54556 #define HAVE_HYPOTL 1
54557 _ACEOF
54560 done
54562 else
54564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
54565 $as_echo_n "checking for _hypotl declaration... " >&6; }
54566 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
54567 if ${glibcxx_cv_func__hypotl_use+:} false; then :
54568 $as_echo_n "(cached) " >&6
54569 else
54572 ac_ext=cpp
54573 ac_cpp='$CXXCPP $CPPFLAGS'
54574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54579 /* end confdefs.h. */
54580 #include <math.h>
54582 main ()
54584 _hypotl(0, 0);
54586 return 0;
54588 _ACEOF
54589 if ac_fn_cxx_try_compile "$LINENO"; then :
54590 glibcxx_cv_func__hypotl_use=yes
54591 else
54592 glibcxx_cv_func__hypotl_use=no
54594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54595 ac_ext=c
54596 ac_cpp='$CPP $CPPFLAGS'
54597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
54606 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
54608 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
54609 for ac_func in _hypotl
54610 do :
54611 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
54612 if test "x$ac_cv_func__hypotl" = xyes; then :
54613 cat >>confdefs.h <<_ACEOF
54614 #define HAVE__HYPOTL 1
54615 _ACEOF
54618 done
54627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
54628 $as_echo_n "checking for ldexpl declaration... " >&6; }
54629 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
54630 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
54631 $as_echo_n "(cached) " >&6
54632 else
54635 ac_ext=cpp
54636 ac_cpp='$CXXCPP $CPPFLAGS'
54637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54642 /* end confdefs.h. */
54643 #include <math.h>
54645 main ()
54647 ldexpl(0, 0);
54649 return 0;
54651 _ACEOF
54652 if ac_fn_cxx_try_compile "$LINENO"; then :
54653 glibcxx_cv_func_ldexpl_use=yes
54654 else
54655 glibcxx_cv_func_ldexpl_use=no
54657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54658 ac_ext=c
54659 ac_cpp='$CPP $CPPFLAGS'
54660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
54669 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
54671 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
54672 for ac_func in ldexpl
54673 do :
54674 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
54675 if test "x$ac_cv_func_ldexpl" = xyes; then :
54676 cat >>confdefs.h <<_ACEOF
54677 #define HAVE_LDEXPL 1
54678 _ACEOF
54681 done
54683 else
54685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
54686 $as_echo_n "checking for _ldexpl declaration... " >&6; }
54687 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
54688 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
54689 $as_echo_n "(cached) " >&6
54690 else
54693 ac_ext=cpp
54694 ac_cpp='$CXXCPP $CPPFLAGS'
54695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54700 /* end confdefs.h. */
54701 #include <math.h>
54703 main ()
54705 _ldexpl(0, 0);
54707 return 0;
54709 _ACEOF
54710 if ac_fn_cxx_try_compile "$LINENO"; then :
54711 glibcxx_cv_func__ldexpl_use=yes
54712 else
54713 glibcxx_cv_func__ldexpl_use=no
54715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54716 ac_ext=c
54717 ac_cpp='$CPP $CPPFLAGS'
54718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
54727 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
54729 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
54730 for ac_func in _ldexpl
54731 do :
54732 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
54733 if test "x$ac_cv_func__ldexpl" = xyes; then :
54734 cat >>confdefs.h <<_ACEOF
54735 #define HAVE__LDEXPL 1
54736 _ACEOF
54739 done
54748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
54749 $as_echo_n "checking for logl declaration... " >&6; }
54750 if test x${glibcxx_cv_func_logl_use+set} != xset; then
54751 if ${glibcxx_cv_func_logl_use+:} false; then :
54752 $as_echo_n "(cached) " >&6
54753 else
54756 ac_ext=cpp
54757 ac_cpp='$CXXCPP $CPPFLAGS'
54758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54763 /* end confdefs.h. */
54764 #include <math.h>
54765 #ifdef HAVE_IEEEFP_H
54766 #include <ieeefp.h>
54767 #endif
54770 main ()
54772 logl(0);
54774 return 0;
54776 _ACEOF
54777 if ac_fn_cxx_try_compile "$LINENO"; then :
54778 glibcxx_cv_func_logl_use=yes
54779 else
54780 glibcxx_cv_func_logl_use=no
54782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54783 ac_ext=c
54784 ac_cpp='$CPP $CPPFLAGS'
54785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
54794 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
54796 if test x$glibcxx_cv_func_logl_use = x"yes"; then
54797 for ac_func in logl
54798 do :
54799 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
54800 if test "x$ac_cv_func_logl" = xyes; then :
54801 cat >>confdefs.h <<_ACEOF
54802 #define HAVE_LOGL 1
54803 _ACEOF
54806 done
54808 else
54810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
54811 $as_echo_n "checking for _logl declaration... " >&6; }
54812 if test x${glibcxx_cv_func__logl_use+set} != xset; then
54813 if ${glibcxx_cv_func__logl_use+:} false; then :
54814 $as_echo_n "(cached) " >&6
54815 else
54818 ac_ext=cpp
54819 ac_cpp='$CXXCPP $CPPFLAGS'
54820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54825 /* end confdefs.h. */
54826 #include <math.h>
54827 #ifdef HAVE_IEEEFP_H
54828 #include <ieeefp.h>
54829 #endif
54832 main ()
54834 _logl(0);
54836 return 0;
54838 _ACEOF
54839 if ac_fn_cxx_try_compile "$LINENO"; then :
54840 glibcxx_cv_func__logl_use=yes
54841 else
54842 glibcxx_cv_func__logl_use=no
54844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54845 ac_ext=c
54846 ac_cpp='$CPP $CPPFLAGS'
54847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
54856 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
54858 if test x$glibcxx_cv_func__logl_use = x"yes"; then
54859 for ac_func in _logl
54860 do :
54861 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
54862 if test "x$ac_cv_func__logl" = xyes; then :
54863 cat >>confdefs.h <<_ACEOF
54864 #define HAVE__LOGL 1
54865 _ACEOF
54868 done
54877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
54878 $as_echo_n "checking for log10l declaration... " >&6; }
54879 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
54880 if ${glibcxx_cv_func_log10l_use+:} false; then :
54881 $as_echo_n "(cached) " >&6
54882 else
54885 ac_ext=cpp
54886 ac_cpp='$CXXCPP $CPPFLAGS'
54887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54892 /* end confdefs.h. */
54893 #include <math.h>
54894 #ifdef HAVE_IEEEFP_H
54895 #include <ieeefp.h>
54896 #endif
54899 main ()
54901 log10l(0);
54903 return 0;
54905 _ACEOF
54906 if ac_fn_cxx_try_compile "$LINENO"; then :
54907 glibcxx_cv_func_log10l_use=yes
54908 else
54909 glibcxx_cv_func_log10l_use=no
54911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54912 ac_ext=c
54913 ac_cpp='$CPP $CPPFLAGS'
54914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
54923 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
54925 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
54926 for ac_func in log10l
54927 do :
54928 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
54929 if test "x$ac_cv_func_log10l" = xyes; then :
54930 cat >>confdefs.h <<_ACEOF
54931 #define HAVE_LOG10L 1
54932 _ACEOF
54935 done
54937 else
54939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
54940 $as_echo_n "checking for _log10l declaration... " >&6; }
54941 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
54942 if ${glibcxx_cv_func__log10l_use+:} false; then :
54943 $as_echo_n "(cached) " >&6
54944 else
54947 ac_ext=cpp
54948 ac_cpp='$CXXCPP $CPPFLAGS'
54949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54954 /* end confdefs.h. */
54955 #include <math.h>
54956 #ifdef HAVE_IEEEFP_H
54957 #include <ieeefp.h>
54958 #endif
54961 main ()
54963 _log10l(0);
54965 return 0;
54967 _ACEOF
54968 if ac_fn_cxx_try_compile "$LINENO"; then :
54969 glibcxx_cv_func__log10l_use=yes
54970 else
54971 glibcxx_cv_func__log10l_use=no
54973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54974 ac_ext=c
54975 ac_cpp='$CPP $CPPFLAGS'
54976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
54985 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
54987 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
54988 for ac_func in _log10l
54989 do :
54990 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
54991 if test "x$ac_cv_func__log10l" = xyes; then :
54992 cat >>confdefs.h <<_ACEOF
54993 #define HAVE__LOG10L 1
54994 _ACEOF
54997 done
55006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
55007 $as_echo_n "checking for modfl declaration... " >&6; }
55008 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
55009 if ${glibcxx_cv_func_modfl_use+:} false; then :
55010 $as_echo_n "(cached) " >&6
55011 else
55014 ac_ext=cpp
55015 ac_cpp='$CXXCPP $CPPFLAGS'
55016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55021 /* end confdefs.h. */
55022 #include <math.h>
55024 main ()
55026 modfl(0, 0);
55028 return 0;
55030 _ACEOF
55031 if ac_fn_cxx_try_compile "$LINENO"; then :
55032 glibcxx_cv_func_modfl_use=yes
55033 else
55034 glibcxx_cv_func_modfl_use=no
55036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55037 ac_ext=c
55038 ac_cpp='$CPP $CPPFLAGS'
55039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
55048 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
55050 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
55051 for ac_func in modfl
55052 do :
55053 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
55054 if test "x$ac_cv_func_modfl" = xyes; then :
55055 cat >>confdefs.h <<_ACEOF
55056 #define HAVE_MODFL 1
55057 _ACEOF
55060 done
55062 else
55064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
55065 $as_echo_n "checking for _modfl declaration... " >&6; }
55066 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
55067 if ${glibcxx_cv_func__modfl_use+:} false; then :
55068 $as_echo_n "(cached) " >&6
55069 else
55072 ac_ext=cpp
55073 ac_cpp='$CXXCPP $CPPFLAGS'
55074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55079 /* end confdefs.h. */
55080 #include <math.h>
55082 main ()
55084 _modfl(0, 0);
55086 return 0;
55088 _ACEOF
55089 if ac_fn_cxx_try_compile "$LINENO"; then :
55090 glibcxx_cv_func__modfl_use=yes
55091 else
55092 glibcxx_cv_func__modfl_use=no
55094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55095 ac_ext=c
55096 ac_cpp='$CPP $CPPFLAGS'
55097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
55106 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
55108 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
55109 for ac_func in _modfl
55110 do :
55111 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
55112 if test "x$ac_cv_func__modfl" = xyes; then :
55113 cat >>confdefs.h <<_ACEOF
55114 #define HAVE__MODFL 1
55115 _ACEOF
55118 done
55127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
55128 $as_echo_n "checking for powl declaration... " >&6; }
55129 if test x${glibcxx_cv_func_powl_use+set} != xset; then
55130 if ${glibcxx_cv_func_powl_use+:} false; then :
55131 $as_echo_n "(cached) " >&6
55132 else
55135 ac_ext=cpp
55136 ac_cpp='$CXXCPP $CPPFLAGS'
55137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55142 /* end confdefs.h. */
55143 #include <math.h>
55145 main ()
55147 powl(0, 0);
55149 return 0;
55151 _ACEOF
55152 if ac_fn_cxx_try_compile "$LINENO"; then :
55153 glibcxx_cv_func_powl_use=yes
55154 else
55155 glibcxx_cv_func_powl_use=no
55157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55158 ac_ext=c
55159 ac_cpp='$CPP $CPPFLAGS'
55160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
55169 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
55171 if test x$glibcxx_cv_func_powl_use = x"yes"; then
55172 for ac_func in powl
55173 do :
55174 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
55175 if test "x$ac_cv_func_powl" = xyes; then :
55176 cat >>confdefs.h <<_ACEOF
55177 #define HAVE_POWL 1
55178 _ACEOF
55181 done
55183 else
55185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
55186 $as_echo_n "checking for _powl declaration... " >&6; }
55187 if test x${glibcxx_cv_func__powl_use+set} != xset; then
55188 if ${glibcxx_cv_func__powl_use+:} false; then :
55189 $as_echo_n "(cached) " >&6
55190 else
55193 ac_ext=cpp
55194 ac_cpp='$CXXCPP $CPPFLAGS'
55195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55200 /* end confdefs.h. */
55201 #include <math.h>
55203 main ()
55205 _powl(0, 0);
55207 return 0;
55209 _ACEOF
55210 if ac_fn_cxx_try_compile "$LINENO"; then :
55211 glibcxx_cv_func__powl_use=yes
55212 else
55213 glibcxx_cv_func__powl_use=no
55215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55216 ac_ext=c
55217 ac_cpp='$CPP $CPPFLAGS'
55218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
55227 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
55229 if test x$glibcxx_cv_func__powl_use = x"yes"; then
55230 for ac_func in _powl
55231 do :
55232 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
55233 if test "x$ac_cv_func__powl" = xyes; then :
55234 cat >>confdefs.h <<_ACEOF
55235 #define HAVE__POWL 1
55236 _ACEOF
55239 done
55248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
55249 $as_echo_n "checking for sqrtl declaration... " >&6; }
55250 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
55251 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
55252 $as_echo_n "(cached) " >&6
55253 else
55256 ac_ext=cpp
55257 ac_cpp='$CXXCPP $CPPFLAGS'
55258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55263 /* end confdefs.h. */
55264 #include <math.h>
55265 #ifdef HAVE_IEEEFP_H
55266 #include <ieeefp.h>
55267 #endif
55270 main ()
55272 sqrtl(0);
55274 return 0;
55276 _ACEOF
55277 if ac_fn_cxx_try_compile "$LINENO"; then :
55278 glibcxx_cv_func_sqrtl_use=yes
55279 else
55280 glibcxx_cv_func_sqrtl_use=no
55282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55283 ac_ext=c
55284 ac_cpp='$CPP $CPPFLAGS'
55285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
55294 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
55296 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
55297 for ac_func in sqrtl
55298 do :
55299 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
55300 if test "x$ac_cv_func_sqrtl" = xyes; then :
55301 cat >>confdefs.h <<_ACEOF
55302 #define HAVE_SQRTL 1
55303 _ACEOF
55306 done
55308 else
55310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
55311 $as_echo_n "checking for _sqrtl declaration... " >&6; }
55312 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
55313 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
55314 $as_echo_n "(cached) " >&6
55315 else
55318 ac_ext=cpp
55319 ac_cpp='$CXXCPP $CPPFLAGS'
55320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55325 /* end confdefs.h. */
55326 #include <math.h>
55327 #ifdef HAVE_IEEEFP_H
55328 #include <ieeefp.h>
55329 #endif
55332 main ()
55334 _sqrtl(0);
55336 return 0;
55338 _ACEOF
55339 if ac_fn_cxx_try_compile "$LINENO"; then :
55340 glibcxx_cv_func__sqrtl_use=yes
55341 else
55342 glibcxx_cv_func__sqrtl_use=no
55344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55345 ac_ext=c
55346 ac_cpp='$CPP $CPPFLAGS'
55347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
55356 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
55358 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
55359 for ac_func in _sqrtl
55360 do :
55361 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
55362 if test "x$ac_cv_func__sqrtl" = xyes; then :
55363 cat >>confdefs.h <<_ACEOF
55364 #define HAVE__SQRTL 1
55365 _ACEOF
55368 done
55377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
55378 $as_echo_n "checking for sincosl declaration... " >&6; }
55379 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
55380 if ${glibcxx_cv_func_sincosl_use+:} false; then :
55381 $as_echo_n "(cached) " >&6
55382 else
55385 ac_ext=cpp
55386 ac_cpp='$CXXCPP $CPPFLAGS'
55387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55392 /* end confdefs.h. */
55393 #include <math.h>
55395 main ()
55397 sincosl(0, 0, 0);
55399 return 0;
55401 _ACEOF
55402 if ac_fn_cxx_try_compile "$LINENO"; then :
55403 glibcxx_cv_func_sincosl_use=yes
55404 else
55405 glibcxx_cv_func_sincosl_use=no
55407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55408 ac_ext=c
55409 ac_cpp='$CPP $CPPFLAGS'
55410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
55419 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
55421 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
55422 for ac_func in sincosl
55423 do :
55424 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
55425 if test "x$ac_cv_func_sincosl" = xyes; then :
55426 cat >>confdefs.h <<_ACEOF
55427 #define HAVE_SINCOSL 1
55428 _ACEOF
55431 done
55433 else
55435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
55436 $as_echo_n "checking for _sincosl declaration... " >&6; }
55437 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
55438 if ${glibcxx_cv_func__sincosl_use+:} false; then :
55439 $as_echo_n "(cached) " >&6
55440 else
55443 ac_ext=cpp
55444 ac_cpp='$CXXCPP $CPPFLAGS'
55445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55450 /* end confdefs.h. */
55451 #include <math.h>
55453 main ()
55455 _sincosl(0, 0, 0);
55457 return 0;
55459 _ACEOF
55460 if ac_fn_cxx_try_compile "$LINENO"; then :
55461 glibcxx_cv_func__sincosl_use=yes
55462 else
55463 glibcxx_cv_func__sincosl_use=no
55465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55466 ac_ext=c
55467 ac_cpp='$CPP $CPPFLAGS'
55468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
55477 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
55479 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
55480 for ac_func in _sincosl
55481 do :
55482 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
55483 if test "x$ac_cv_func__sincosl" = xyes; then :
55484 cat >>confdefs.h <<_ACEOF
55485 #define HAVE__SINCOSL 1
55486 _ACEOF
55489 done
55498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
55499 $as_echo_n "checking for finitel declaration... " >&6; }
55500 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
55501 if ${glibcxx_cv_func_finitel_use+:} false; then :
55502 $as_echo_n "(cached) " >&6
55503 else
55506 ac_ext=cpp
55507 ac_cpp='$CXXCPP $CPPFLAGS'
55508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55513 /* end confdefs.h. */
55514 #include <math.h>
55515 #ifdef HAVE_IEEEFP_H
55516 #include <ieeefp.h>
55517 #endif
55520 main ()
55522 finitel(0);
55524 return 0;
55526 _ACEOF
55527 if ac_fn_cxx_try_compile "$LINENO"; then :
55528 glibcxx_cv_func_finitel_use=yes
55529 else
55530 glibcxx_cv_func_finitel_use=no
55532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55533 ac_ext=c
55534 ac_cpp='$CPP $CPPFLAGS'
55535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
55544 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
55546 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
55547 for ac_func in finitel
55548 do :
55549 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
55550 if test "x$ac_cv_func_finitel" = xyes; then :
55551 cat >>confdefs.h <<_ACEOF
55552 #define HAVE_FINITEL 1
55553 _ACEOF
55556 done
55558 else
55560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
55561 $as_echo_n "checking for _finitel declaration... " >&6; }
55562 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
55563 if ${glibcxx_cv_func__finitel_use+:} false; then :
55564 $as_echo_n "(cached) " >&6
55565 else
55568 ac_ext=cpp
55569 ac_cpp='$CXXCPP $CPPFLAGS'
55570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55575 /* end confdefs.h. */
55576 #include <math.h>
55577 #ifdef HAVE_IEEEFP_H
55578 #include <ieeefp.h>
55579 #endif
55582 main ()
55584 _finitel(0);
55586 return 0;
55588 _ACEOF
55589 if ac_fn_cxx_try_compile "$LINENO"; then :
55590 glibcxx_cv_func__finitel_use=yes
55591 else
55592 glibcxx_cv_func__finitel_use=no
55594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55595 ac_ext=c
55596 ac_cpp='$CPP $CPPFLAGS'
55597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
55606 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
55608 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
55609 for ac_func in _finitel
55610 do :
55611 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
55612 if test "x$ac_cv_func__finitel" = xyes; then :
55613 cat >>confdefs.h <<_ACEOF
55614 #define HAVE__FINITEL 1
55615 _ACEOF
55618 done
55626 LIBS="$ac_save_LIBS"
55627 CXXFLAGS="$ac_save_CXXFLAGS"
55630 ac_test_CXXFLAGS="${CXXFLAGS+set}"
55631 ac_save_CXXFLAGS="$CXXFLAGS"
55632 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
55635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
55636 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
55637 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
55638 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
55639 $as_echo_n "(cached) " >&6
55640 else
55643 ac_ext=cpp
55644 ac_cpp='$CXXCPP $CPPFLAGS'
55645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55650 /* end confdefs.h. */
55651 #include <stdlib.h>
55653 main ()
55655 at_quick_exit(0);
55657 return 0;
55659 _ACEOF
55660 if ac_fn_cxx_try_compile "$LINENO"; then :
55661 glibcxx_cv_func_at_quick_exit_use=yes
55662 else
55663 glibcxx_cv_func_at_quick_exit_use=no
55665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55666 ac_ext=c
55667 ac_cpp='$CPP $CPPFLAGS'
55668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
55677 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
55678 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
55679 for ac_func in at_quick_exit
55680 do :
55681 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
55682 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
55683 cat >>confdefs.h <<_ACEOF
55684 #define HAVE_AT_QUICK_EXIT 1
55685 _ACEOF
55688 done
55693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
55694 $as_echo_n "checking for quick_exit declaration... " >&6; }
55695 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
55696 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
55697 $as_echo_n "(cached) " >&6
55698 else
55701 ac_ext=cpp
55702 ac_cpp='$CXXCPP $CPPFLAGS'
55703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55708 /* end confdefs.h. */
55709 #include <stdlib.h>
55711 main ()
55713 quick_exit(0);
55715 return 0;
55717 _ACEOF
55718 if ac_fn_cxx_try_compile "$LINENO"; then :
55719 glibcxx_cv_func_quick_exit_use=yes
55720 else
55721 glibcxx_cv_func_quick_exit_use=no
55723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55724 ac_ext=c
55725 ac_cpp='$CPP $CPPFLAGS'
55726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
55735 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
55736 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
55737 for ac_func in quick_exit
55738 do :
55739 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
55740 if test "x$ac_cv_func_quick_exit" = xyes; then :
55741 cat >>confdefs.h <<_ACEOF
55742 #define HAVE_QUICK_EXIT 1
55743 _ACEOF
55746 done
55751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
55752 $as_echo_n "checking for strtold declaration... " >&6; }
55753 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
55754 if ${glibcxx_cv_func_strtold_use+:} false; then :
55755 $as_echo_n "(cached) " >&6
55756 else
55759 ac_ext=cpp
55760 ac_cpp='$CXXCPP $CPPFLAGS'
55761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55766 /* end confdefs.h. */
55767 #include <stdlib.h>
55769 main ()
55771 strtold(0, 0);
55773 return 0;
55775 _ACEOF
55776 if ac_fn_cxx_try_compile "$LINENO"; then :
55777 glibcxx_cv_func_strtold_use=yes
55778 else
55779 glibcxx_cv_func_strtold_use=no
55781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55782 ac_ext=c
55783 ac_cpp='$CPP $CPPFLAGS'
55784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
55793 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
55794 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
55795 for ac_func in strtold
55796 do :
55797 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
55798 if test "x$ac_cv_func_strtold" = xyes; then :
55799 cat >>confdefs.h <<_ACEOF
55800 #define HAVE_STRTOLD 1
55801 _ACEOF
55804 done
55811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
55812 $as_echo_n "checking for strtof declaration... " >&6; }
55813 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
55814 if ${glibcxx_cv_func_strtof_use+:} false; then :
55815 $as_echo_n "(cached) " >&6
55816 else
55819 ac_ext=cpp
55820 ac_cpp='$CXXCPP $CPPFLAGS'
55821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55826 /* end confdefs.h. */
55827 #include <stdlib.h>
55829 main ()
55831 strtof(0, 0);
55833 return 0;
55835 _ACEOF
55836 if ac_fn_cxx_try_compile "$LINENO"; then :
55837 glibcxx_cv_func_strtof_use=yes
55838 else
55839 glibcxx_cv_func_strtof_use=no
55841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55842 ac_ext=c
55843 ac_cpp='$CPP $CPPFLAGS'
55844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
55853 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
55854 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
55855 for ac_func in strtof
55856 do :
55857 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
55858 if test "x$ac_cv_func_strtof" = xyes; then :
55859 cat >>confdefs.h <<_ACEOF
55860 #define HAVE_STRTOF 1
55861 _ACEOF
55864 done
55871 CXXFLAGS="$ac_save_CXXFLAGS"
55873 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
55875 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
55879 # Check whether --enable-tls was given.
55880 if test "${enable_tls+set}" = set; then :
55881 enableval=$enable_tls;
55882 case "$enableval" in
55883 yes|no) ;;
55884 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
55885 esac
55887 else
55888 enable_tls=yes
55892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
55893 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
55894 if ${gcc_cv_have_tls+:} false; then :
55895 $as_echo_n "(cached) " >&6
55896 else
55898 if test "$cross_compiling" = yes; then :
55899 if test x$gcc_no_link = xyes; then
55900 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
55902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55903 /* end confdefs.h. */
55904 __thread int a; int b; int main() { return a = b; }
55905 _ACEOF
55906 if ac_fn_c_try_link "$LINENO"; then :
55907 chktls_save_LDFLAGS="$LDFLAGS"
55908 case $host in
55909 *-*-linux* | -*-uclinuxfdpic*)
55910 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
55912 esac
55913 chktls_save_CFLAGS="$CFLAGS"
55914 CFLAGS="-fPIC $CFLAGS"
55915 if test x$gcc_no_link = xyes; then
55916 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
55918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55919 /* end confdefs.h. */
55920 int f() { return 0; }
55921 _ACEOF
55922 if ac_fn_c_try_link "$LINENO"; then :
55923 if test x$gcc_no_link = xyes; then
55924 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
55926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55927 /* end confdefs.h. */
55928 __thread int a; int b; int f() { return a = b; }
55929 _ACEOF
55930 if ac_fn_c_try_link "$LINENO"; then :
55931 gcc_cv_have_tls=yes
55932 else
55933 gcc_cv_have_tls=no
55935 rm -f core conftest.err conftest.$ac_objext \
55936 conftest$ac_exeext conftest.$ac_ext
55937 else
55938 gcc_cv_have_tls=yes
55940 rm -f core conftest.err conftest.$ac_objext \
55941 conftest$ac_exeext conftest.$ac_ext
55942 CFLAGS="$chktls_save_CFLAGS"
55943 LDFLAGS="$chktls_save_LDFLAGS"
55944 else
55945 gcc_cv_have_tls=no
55947 rm -f core conftest.err conftest.$ac_objext \
55948 conftest$ac_exeext conftest.$ac_ext
55951 else
55952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55953 /* end confdefs.h. */
55954 __thread int a; int b; int main() { return a = b; }
55955 _ACEOF
55956 if ac_fn_c_try_run "$LINENO"; then :
55957 chktls_save_LDFLAGS="$LDFLAGS"
55958 LDFLAGS="-static $LDFLAGS"
55959 if test x$gcc_no_link = xyes; then
55960 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
55962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55963 /* end confdefs.h. */
55964 int main() { return 0; }
55965 _ACEOF
55966 if ac_fn_c_try_link "$LINENO"; then :
55967 if test "$cross_compiling" = yes; then :
55968 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
55969 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
55970 as_fn_error $? "cannot run test program while cross compiling
55971 See \`config.log' for more details" "$LINENO" 5; }
55972 else
55973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55974 /* end confdefs.h. */
55975 __thread int a; int b; int main() { return a = b; }
55976 _ACEOF
55977 if ac_fn_c_try_run "$LINENO"; then :
55978 gcc_cv_have_tls=yes
55979 else
55980 gcc_cv_have_tls=no
55982 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
55983 conftest.$ac_objext conftest.beam conftest.$ac_ext
55986 else
55987 gcc_cv_have_tls=yes
55989 rm -f core conftest.err conftest.$ac_objext \
55990 conftest$ac_exeext conftest.$ac_ext
55991 LDFLAGS="$chktls_save_LDFLAGS"
55992 if test $gcc_cv_have_tls = yes; then
55993 chktls_save_CFLAGS="$CFLAGS"
55994 thread_CFLAGS=failed
55995 for flag in '' '-pthread' '-lpthread'; do
55996 CFLAGS="$flag $chktls_save_CFLAGS"
55997 if test x$gcc_no_link = xyes; then
55998 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56001 /* end confdefs.h. */
56002 #include <pthread.h>
56003 void *g(void *d) { return NULL; }
56005 main ()
56007 pthread_t t; pthread_create(&t,NULL,g,NULL);
56009 return 0;
56011 _ACEOF
56012 if ac_fn_c_try_link "$LINENO"; then :
56013 thread_CFLAGS="$flag"
56015 rm -f core conftest.err conftest.$ac_objext \
56016 conftest$ac_exeext conftest.$ac_ext
56017 if test "X$thread_CFLAGS" != Xfailed; then
56018 break
56020 done
56021 CFLAGS="$chktls_save_CFLAGS"
56022 if test "X$thread_CFLAGS" != Xfailed; then
56023 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
56024 if test "$cross_compiling" = yes; then :
56025 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
56026 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
56027 as_fn_error $? "cannot run test program while cross compiling
56028 See \`config.log' for more details" "$LINENO" 5; }
56029 else
56030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56031 /* end confdefs.h. */
56032 #include <pthread.h>
56033 __thread int a;
56034 static int *volatile a_in_other_thread;
56035 static void *
56036 thread_func (void *arg)
56038 a_in_other_thread = &a;
56039 return (void *)0;
56042 main ()
56044 pthread_t thread;
56045 void *thread_retval;
56046 int *volatile a_in_main_thread;
56047 a_in_main_thread = &a;
56048 if (pthread_create (&thread, (pthread_attr_t *)0,
56049 thread_func, (void *)0))
56050 return 0;
56051 if (pthread_join (thread, &thread_retval))
56052 return 0;
56053 return (a_in_other_thread == a_in_main_thread);
56055 return 0;
56057 _ACEOF
56058 if ac_fn_c_try_run "$LINENO"; then :
56059 gcc_cv_have_tls=yes
56060 else
56061 gcc_cv_have_tls=no
56063 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
56064 conftest.$ac_objext conftest.beam conftest.$ac_ext
56067 CFLAGS="$chktls_save_CFLAGS"
56070 else
56071 gcc_cv_have_tls=no
56073 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
56074 conftest.$ac_objext conftest.beam conftest.$ac_ext
56078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
56079 $as_echo "$gcc_cv_have_tls" >&6; }
56080 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
56082 $as_echo "#define HAVE_TLS 1" >>confdefs.h
56085 for ac_func in __cxa_thread_atexit_impl
56086 do :
56087 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
56088 if test "x$ac_cv_func___cxa_thread_atexit_impl" = xyes; then :
56089 cat >>confdefs.h <<_ACEOF
56090 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
56091 _ACEOF
56094 done
56096 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
56097 do :
56098 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56099 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56100 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
56101 cat >>confdefs.h <<_ACEOF
56102 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56103 _ACEOF
56106 done
56108 for ac_func in timespec_get
56109 do :
56110 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
56111 if test "x$ac_cv_func_timespec_get" = xyes; then :
56112 cat >>confdefs.h <<_ACEOF
56113 #define HAVE_TIMESPEC_GET 1
56114 _ACEOF
56117 done
56119 for ac_func in sockatmark
56120 do :
56121 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
56122 if test "x$ac_cv_func_sockatmark" = xyes; then :
56123 cat >>confdefs.h <<_ACEOF
56124 #define HAVE_SOCKATMARK 1
56125 _ACEOF
56128 done
56130 for ac_func in uselocale
56131 do :
56132 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
56133 if test "x$ac_cv_func_uselocale" = xyes; then :
56134 cat >>confdefs.h <<_ACEOF
56135 #define HAVE_USELOCALE 1
56136 _ACEOF
56139 done
56141 for ac_func in secure_getenv
56142 do :
56143 ac_fn_c_check_func "$LINENO" "secure_getenv" "ac_cv_func_secure_getenv"
56144 if test "x$ac_cv_func_secure_getenv" = xyes; then :
56145 cat >>confdefs.h <<_ACEOF
56146 #define HAVE_SECURE_GETENV 1
56147 _ACEOF
56150 done
56157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
56158 $as_echo_n "checking for iconv... " >&6; }
56159 if ${am_cv_func_iconv+:} false; then :
56160 $as_echo_n "(cached) " >&6
56161 else
56163 am_cv_func_iconv="no, consider installing GNU libiconv"
56164 am_cv_lib_iconv=no
56165 am_save_CPPFLAGS="$CPPFLAGS"
56166 CPPFLAGS="$CPPFLAGS $INCICONV"
56167 if test x$gcc_no_link = xyes; then
56168 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56171 /* end confdefs.h. */
56172 #include <stdlib.h>
56173 #include <iconv.h>
56175 main ()
56177 iconv_t cd = iconv_open("","");
56178 iconv(cd,NULL,NULL,NULL,NULL);
56179 iconv_close(cd);
56181 return 0;
56183 _ACEOF
56184 if ac_fn_c_try_link "$LINENO"; then :
56185 am_cv_func_iconv=yes
56187 rm -f core conftest.err conftest.$ac_objext \
56188 conftest$ac_exeext conftest.$ac_ext
56189 CPPFLAGS="$am_save_CPPFLAGS"
56191 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
56192 for _libs in .libs _libs; do
56193 am_save_CPPFLAGS="$CPPFLAGS"
56194 am_save_LIBS="$LIBS"
56195 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
56196 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
56197 if test x$gcc_no_link = xyes; then
56198 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56201 /* end confdefs.h. */
56202 #include <stdlib.h>
56203 #include <iconv.h>
56205 main ()
56207 iconv_t cd = iconv_open("","");
56208 iconv(cd,NULL,NULL,NULL,NULL);
56209 iconv_close(cd);
56211 return 0;
56213 _ACEOF
56214 if ac_fn_c_try_link "$LINENO"; then :
56215 INCICONV="-I../libiconv/include"
56216 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
56217 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
56218 am_cv_lib_iconv=yes
56219 am_cv_func_iconv=yes
56221 rm -f core conftest.err conftest.$ac_objext \
56222 conftest$ac_exeext conftest.$ac_ext
56223 CPPFLAGS="$am_save_CPPFLAGS"
56224 LIBS="$am_save_LIBS"
56225 if test "$am_cv_func_iconv" = "yes"; then
56226 break
56228 done
56231 if test "$am_cv_func_iconv" != yes; then
56232 am_save_CPPFLAGS="$CPPFLAGS"
56233 am_save_LIBS="$LIBS"
56234 CPPFLAGS="$CPPFLAGS $INCICONV"
56235 LIBS="$LIBS $LIBICONV"
56236 if test x$gcc_no_link = xyes; then
56237 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56240 /* end confdefs.h. */
56241 #include <stdlib.h>
56242 #include <iconv.h>
56244 main ()
56246 iconv_t cd = iconv_open("","");
56247 iconv(cd,NULL,NULL,NULL,NULL);
56248 iconv_close(cd);
56250 return 0;
56252 _ACEOF
56253 if ac_fn_c_try_link "$LINENO"; then :
56254 am_cv_lib_iconv=yes
56255 am_cv_func_iconv=yes
56257 rm -f core conftest.err conftest.$ac_objext \
56258 conftest$ac_exeext conftest.$ac_ext
56259 CPPFLAGS="$am_save_CPPFLAGS"
56260 LIBS="$am_save_LIBS"
56264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
56265 $as_echo "$am_cv_func_iconv" >&6; }
56266 if test "$am_cv_func_iconv" = yes; then
56268 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
56271 if test "$am_cv_lib_iconv" = yes; then
56273 for element in $INCICONV; do
56274 haveit=
56275 for x in $CPPFLAGS; do
56277 acl_save_prefix="$prefix"
56278 prefix="$acl_final_prefix"
56279 acl_save_exec_prefix="$exec_prefix"
56280 exec_prefix="$acl_final_exec_prefix"
56281 eval x=\"$x\"
56282 exec_prefix="$acl_save_exec_prefix"
56283 prefix="$acl_save_prefix"
56285 if test "X$x" = "X$element"; then
56286 haveit=yes
56287 break
56289 done
56290 if test -z "$haveit"; then
56291 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
56293 done
56295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
56296 $as_echo_n "checking how to link with libiconv... " >&6; }
56297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
56298 $as_echo "$LIBICONV" >&6; }
56299 else
56300 LIBICONV=
56301 LTLIBICONV=
56306 if test "$am_cv_func_iconv" = yes; then
56307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
56308 $as_echo_n "checking for iconv declaration... " >&6; }
56309 if ${am_cv_proto_iconv+:} false; then :
56310 $as_echo_n "(cached) " >&6
56311 else
56313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56314 /* end confdefs.h. */
56316 #include <stdlib.h>
56317 #include <iconv.h>
56318 extern
56319 #ifdef __cplusplus
56321 #endif
56322 #if defined(__STDC__) || defined(__cplusplus)
56323 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
56324 #else
56325 size_t iconv();
56326 #endif
56329 main ()
56333 return 0;
56335 _ACEOF
56336 if ac_fn_c_try_compile "$LINENO"; then :
56337 am_cv_proto_iconv_arg1=""
56338 else
56339 am_cv_proto_iconv_arg1="const"
56341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56342 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);"
56345 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
56346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
56347 }$am_cv_proto_iconv" >&5
56348 $as_echo "${ac_t:-
56349 }$am_cv_proto_iconv" >&6; }
56351 cat >>confdefs.h <<_ACEOF
56352 #define ICONV_CONST $am_cv_proto_iconv_arg1
56353 _ACEOF
56358 *-mingw32*)
56360 # If we're not using GNU ld, then there's no point in even trying these
56361 # tests. Check for that first. We should have already tested for gld
56362 # by now (in libtool), but require it now just to be safe...
56363 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56364 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56368 # The name set by libtool depends on the version of libtool. Shame on us
56369 # for depending on an impl detail, but c'est la vie. Older versions used
56370 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56371 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56372 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56373 # set (hence we're using an older libtool), then set it.
56374 if test x${with_gnu_ld+set} != xset; then
56375 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56376 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56377 with_gnu_ld=no
56378 else
56379 with_gnu_ld=$ac_cv_prog_gnu_ld
56383 # Start by getting the version number. I think the libtool test already
56384 # does some of this, but throws away the result.
56385 glibcxx_ld_is_gold=no
56386 glibcxx_ld_is_mold=no
56387 if test x"$with_gnu_ld" = x"yes"; then
56388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56389 $as_echo_n "checking for ld version... " >&6; }
56391 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56392 glibcxx_ld_is_gold=yes
56393 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
56394 glibcxx_ld_is_mold=yes
56396 ldver=`$LD --version 2>/dev/null |
56397 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
56399 glibcxx_gnu_ld_version=`echo $ldver | \
56400 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56402 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56405 # Set --gc-sections.
56406 glibcxx_have_gc_sections=no
56407 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
56408 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56409 glibcxx_have_gc_sections=yes
56411 else
56412 glibcxx_gcsections_min_ld=21602
56413 if test x"$with_gnu_ld" = x"yes" &&
56414 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56415 glibcxx_have_gc_sections=yes
56418 if test "$glibcxx_have_gc_sections" = "yes"; then
56419 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56420 # NB: This flag only works reliably after 2.16.1. Configure tests
56421 # for this are difficult, so hard wire a value that should work.
56423 ac_test_CFLAGS="${CFLAGS+set}"
56424 ac_save_CFLAGS="$CFLAGS"
56425 CFLAGS='-Wl,--gc-sections'
56427 # Check for -Wl,--gc-sections
56428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56429 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56430 if test x$gcc_no_link = xyes; then
56431 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56434 /* end confdefs.h. */
56435 int one(void) { return 1; }
56436 int two(void) { return 2; }
56439 main ()
56441 two();
56443 return 0;
56445 _ACEOF
56446 if ac_fn_c_try_link "$LINENO"; then :
56447 ac_gcsections=yes
56448 else
56449 ac_gcsections=no
56451 rm -f core conftest.err conftest.$ac_objext \
56452 conftest$ac_exeext conftest.$ac_ext
56453 if test "$ac_gcsections" = "yes"; then
56454 rm -f conftest.c
56455 touch conftest.c
56456 if $CC -c conftest.c; then
56457 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56458 grep "Warning: gc-sections option ignored" > /dev/null; then
56459 ac_gcsections=no
56462 rm -f conftest.c conftest.o conftest
56464 if test "$ac_gcsections" = "yes"; then
56465 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56468 $as_echo "$ac_gcsections" >&6; }
56470 if test "$ac_test_CFLAGS" = set; then
56471 CFLAGS="$ac_save_CFLAGS"
56472 else
56473 # this is the suspicious part
56474 CFLAGS=''
56478 # Set -z,relro.
56479 # Note this is only for shared objects.
56480 ac_ld_relro=no
56481 if test x"$with_gnu_ld" = x"yes"; then
56482 # cygwin and mingw uses PE, which has no ELF relro support,
56483 # multi target ld may confuse configure machinery
56484 case "$host" in
56485 *-*-cygwin*)
56487 *-*-mingw*)
56490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56491 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56492 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56493 if test -n "$cxx_z_relo"; then
56494 OPT_LDFLAGS="-Wl,-z,relro"
56495 ac_ld_relro=yes
56497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56498 $as_echo "$ac_ld_relro" >&6; }
56499 esac
56502 # Set linker optimization flags.
56503 if test x"$with_gnu_ld" = x"yes"; then
56504 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56511 ac_test_CXXFLAGS="${CXXFLAGS+set}"
56512 ac_save_CXXFLAGS="$CXXFLAGS"
56513 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
56515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
56516 $as_echo_n "checking for sin in -lm... " >&6; }
56517 if ${ac_cv_lib_m_sin+:} false; then :
56518 $as_echo_n "(cached) " >&6
56519 else
56520 ac_check_lib_save_LIBS=$LIBS
56521 LIBS="-lm $LIBS"
56522 if test x$gcc_no_link = xyes; then
56523 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56526 /* end confdefs.h. */
56528 /* Override any GCC internal prototype to avoid an error.
56529 Use char because int might match the return type of a GCC
56530 builtin and then its argument prototype would still apply. */
56531 #ifdef __cplusplus
56532 extern "C"
56533 #endif
56534 char sin ();
56536 main ()
56538 return sin ();
56540 return 0;
56542 _ACEOF
56543 if ac_fn_c_try_link "$LINENO"; then :
56544 ac_cv_lib_m_sin=yes
56545 else
56546 ac_cv_lib_m_sin=no
56548 rm -f core conftest.err conftest.$ac_objext \
56549 conftest$ac_exeext conftest.$ac_ext
56550 LIBS=$ac_check_lib_save_LIBS
56552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
56553 $as_echo "$ac_cv_lib_m_sin" >&6; }
56554 if test "x$ac_cv_lib_m_sin" = xyes; then :
56555 libm="-lm"
56558 ac_save_LIBS="$LIBS"
56559 LIBS="$LIBS $libm"
56563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
56564 $as_echo_n "checking for isinf declaration... " >&6; }
56565 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
56566 if ${glibcxx_cv_func_isinf_use+:} false; then :
56567 $as_echo_n "(cached) " >&6
56568 else
56571 ac_ext=cpp
56572 ac_cpp='$CXXCPP $CPPFLAGS'
56573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56578 /* end confdefs.h. */
56579 #include <math.h>
56580 #ifdef HAVE_IEEEFP_H
56581 #include <ieeefp.h>
56582 #endif
56585 main ()
56587 isinf(0);
56589 return 0;
56591 _ACEOF
56592 if ac_fn_cxx_try_compile "$LINENO"; then :
56593 glibcxx_cv_func_isinf_use=yes
56594 else
56595 glibcxx_cv_func_isinf_use=no
56597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56598 ac_ext=c
56599 ac_cpp='$CPP $CPPFLAGS'
56600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
56609 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
56611 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
56612 for ac_func in isinf
56613 do :
56614 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
56615 if test "x$ac_cv_func_isinf" = xyes; then :
56616 cat >>confdefs.h <<_ACEOF
56617 #define HAVE_ISINF 1
56618 _ACEOF
56621 done
56623 else
56625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
56626 $as_echo_n "checking for _isinf declaration... " >&6; }
56627 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
56628 if ${glibcxx_cv_func__isinf_use+:} false; then :
56629 $as_echo_n "(cached) " >&6
56630 else
56633 ac_ext=cpp
56634 ac_cpp='$CXXCPP $CPPFLAGS'
56635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56640 /* end confdefs.h. */
56641 #include <math.h>
56642 #ifdef HAVE_IEEEFP_H
56643 #include <ieeefp.h>
56644 #endif
56647 main ()
56649 _isinf(0);
56651 return 0;
56653 _ACEOF
56654 if ac_fn_cxx_try_compile "$LINENO"; then :
56655 glibcxx_cv_func__isinf_use=yes
56656 else
56657 glibcxx_cv_func__isinf_use=no
56659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56660 ac_ext=c
56661 ac_cpp='$CPP $CPPFLAGS'
56662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
56671 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
56673 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
56674 for ac_func in _isinf
56675 do :
56676 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
56677 if test "x$ac_cv_func__isinf" = xyes; then :
56678 cat >>confdefs.h <<_ACEOF
56679 #define HAVE__ISINF 1
56680 _ACEOF
56683 done
56692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
56693 $as_echo_n "checking for isnan declaration... " >&6; }
56694 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
56695 if ${glibcxx_cv_func_isnan_use+:} false; then :
56696 $as_echo_n "(cached) " >&6
56697 else
56700 ac_ext=cpp
56701 ac_cpp='$CXXCPP $CPPFLAGS'
56702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56707 /* end confdefs.h. */
56708 #include <math.h>
56709 #ifdef HAVE_IEEEFP_H
56710 #include <ieeefp.h>
56711 #endif
56714 main ()
56716 isnan(0);
56718 return 0;
56720 _ACEOF
56721 if ac_fn_cxx_try_compile "$LINENO"; then :
56722 glibcxx_cv_func_isnan_use=yes
56723 else
56724 glibcxx_cv_func_isnan_use=no
56726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56727 ac_ext=c
56728 ac_cpp='$CPP $CPPFLAGS'
56729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
56738 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
56740 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
56741 for ac_func in isnan
56742 do :
56743 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
56744 if test "x$ac_cv_func_isnan" = xyes; then :
56745 cat >>confdefs.h <<_ACEOF
56746 #define HAVE_ISNAN 1
56747 _ACEOF
56750 done
56752 else
56754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
56755 $as_echo_n "checking for _isnan declaration... " >&6; }
56756 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
56757 if ${glibcxx_cv_func__isnan_use+:} false; then :
56758 $as_echo_n "(cached) " >&6
56759 else
56762 ac_ext=cpp
56763 ac_cpp='$CXXCPP $CPPFLAGS'
56764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56769 /* end confdefs.h. */
56770 #include <math.h>
56771 #ifdef HAVE_IEEEFP_H
56772 #include <ieeefp.h>
56773 #endif
56776 main ()
56778 _isnan(0);
56780 return 0;
56782 _ACEOF
56783 if ac_fn_cxx_try_compile "$LINENO"; then :
56784 glibcxx_cv_func__isnan_use=yes
56785 else
56786 glibcxx_cv_func__isnan_use=no
56788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56789 ac_ext=c
56790 ac_cpp='$CPP $CPPFLAGS'
56791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
56800 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
56802 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
56803 for ac_func in _isnan
56804 do :
56805 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
56806 if test "x$ac_cv_func__isnan" = xyes; then :
56807 cat >>confdefs.h <<_ACEOF
56808 #define HAVE__ISNAN 1
56809 _ACEOF
56812 done
56821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
56822 $as_echo_n "checking for finite declaration... " >&6; }
56823 if test x${glibcxx_cv_func_finite_use+set} != xset; then
56824 if ${glibcxx_cv_func_finite_use+:} false; then :
56825 $as_echo_n "(cached) " >&6
56826 else
56829 ac_ext=cpp
56830 ac_cpp='$CXXCPP $CPPFLAGS'
56831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56836 /* end confdefs.h. */
56837 #include <math.h>
56838 #ifdef HAVE_IEEEFP_H
56839 #include <ieeefp.h>
56840 #endif
56843 main ()
56845 finite(0);
56847 return 0;
56849 _ACEOF
56850 if ac_fn_cxx_try_compile "$LINENO"; then :
56851 glibcxx_cv_func_finite_use=yes
56852 else
56853 glibcxx_cv_func_finite_use=no
56855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56856 ac_ext=c
56857 ac_cpp='$CPP $CPPFLAGS'
56858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
56867 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
56869 if test x$glibcxx_cv_func_finite_use = x"yes"; then
56870 for ac_func in finite
56871 do :
56872 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
56873 if test "x$ac_cv_func_finite" = xyes; then :
56874 cat >>confdefs.h <<_ACEOF
56875 #define HAVE_FINITE 1
56876 _ACEOF
56879 done
56881 else
56883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
56884 $as_echo_n "checking for _finite declaration... " >&6; }
56885 if test x${glibcxx_cv_func__finite_use+set} != xset; then
56886 if ${glibcxx_cv_func__finite_use+:} false; then :
56887 $as_echo_n "(cached) " >&6
56888 else
56891 ac_ext=cpp
56892 ac_cpp='$CXXCPP $CPPFLAGS'
56893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56898 /* end confdefs.h. */
56899 #include <math.h>
56900 #ifdef HAVE_IEEEFP_H
56901 #include <ieeefp.h>
56902 #endif
56905 main ()
56907 _finite(0);
56909 return 0;
56911 _ACEOF
56912 if ac_fn_cxx_try_compile "$LINENO"; then :
56913 glibcxx_cv_func__finite_use=yes
56914 else
56915 glibcxx_cv_func__finite_use=no
56917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56918 ac_ext=c
56919 ac_cpp='$CPP $CPPFLAGS'
56920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
56929 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
56931 if test x$glibcxx_cv_func__finite_use = x"yes"; then
56932 for ac_func in _finite
56933 do :
56934 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
56935 if test "x$ac_cv_func__finite" = xyes; then :
56936 cat >>confdefs.h <<_ACEOF
56937 #define HAVE__FINITE 1
56938 _ACEOF
56941 done
56950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
56951 $as_echo_n "checking for sincos declaration... " >&6; }
56952 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
56953 if ${glibcxx_cv_func_sincos_use+:} false; then :
56954 $as_echo_n "(cached) " >&6
56955 else
56958 ac_ext=cpp
56959 ac_cpp='$CXXCPP $CPPFLAGS'
56960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56965 /* end confdefs.h. */
56966 #include <math.h>
56968 main ()
56970 sincos(0, 0, 0);
56972 return 0;
56974 _ACEOF
56975 if ac_fn_cxx_try_compile "$LINENO"; then :
56976 glibcxx_cv_func_sincos_use=yes
56977 else
56978 glibcxx_cv_func_sincos_use=no
56980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56981 ac_ext=c
56982 ac_cpp='$CPP $CPPFLAGS'
56983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
56992 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
56994 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
56995 for ac_func in sincos
56996 do :
56997 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
56998 if test "x$ac_cv_func_sincos" = xyes; then :
56999 cat >>confdefs.h <<_ACEOF
57000 #define HAVE_SINCOS 1
57001 _ACEOF
57004 done
57006 else
57008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
57009 $as_echo_n "checking for _sincos declaration... " >&6; }
57010 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
57011 if ${glibcxx_cv_func__sincos_use+:} false; then :
57012 $as_echo_n "(cached) " >&6
57013 else
57016 ac_ext=cpp
57017 ac_cpp='$CXXCPP $CPPFLAGS'
57018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57023 /* end confdefs.h. */
57024 #include <math.h>
57026 main ()
57028 _sincos(0, 0, 0);
57030 return 0;
57032 _ACEOF
57033 if ac_fn_cxx_try_compile "$LINENO"; then :
57034 glibcxx_cv_func__sincos_use=yes
57035 else
57036 glibcxx_cv_func__sincos_use=no
57038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57039 ac_ext=c
57040 ac_cpp='$CPP $CPPFLAGS'
57041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
57050 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
57052 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
57053 for ac_func in _sincos
57054 do :
57055 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
57056 if test "x$ac_cv_func__sincos" = xyes; then :
57057 cat >>confdefs.h <<_ACEOF
57058 #define HAVE__SINCOS 1
57059 _ACEOF
57062 done
57071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
57072 $as_echo_n "checking for fpclass declaration... " >&6; }
57073 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
57074 if ${glibcxx_cv_func_fpclass_use+:} false; then :
57075 $as_echo_n "(cached) " >&6
57076 else
57079 ac_ext=cpp
57080 ac_cpp='$CXXCPP $CPPFLAGS'
57081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57086 /* end confdefs.h. */
57087 #include <math.h>
57088 #ifdef HAVE_IEEEFP_H
57089 #include <ieeefp.h>
57090 #endif
57093 main ()
57095 fpclass(0);
57097 return 0;
57099 _ACEOF
57100 if ac_fn_cxx_try_compile "$LINENO"; then :
57101 glibcxx_cv_func_fpclass_use=yes
57102 else
57103 glibcxx_cv_func_fpclass_use=no
57105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57106 ac_ext=c
57107 ac_cpp='$CPP $CPPFLAGS'
57108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
57117 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
57119 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
57120 for ac_func in fpclass
57121 do :
57122 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
57123 if test "x$ac_cv_func_fpclass" = xyes; then :
57124 cat >>confdefs.h <<_ACEOF
57125 #define HAVE_FPCLASS 1
57126 _ACEOF
57129 done
57131 else
57133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
57134 $as_echo_n "checking for _fpclass declaration... " >&6; }
57135 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
57136 if ${glibcxx_cv_func__fpclass_use+:} false; then :
57137 $as_echo_n "(cached) " >&6
57138 else
57141 ac_ext=cpp
57142 ac_cpp='$CXXCPP $CPPFLAGS'
57143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57148 /* end confdefs.h. */
57149 #include <math.h>
57150 #ifdef HAVE_IEEEFP_H
57151 #include <ieeefp.h>
57152 #endif
57155 main ()
57157 _fpclass(0);
57159 return 0;
57161 _ACEOF
57162 if ac_fn_cxx_try_compile "$LINENO"; then :
57163 glibcxx_cv_func__fpclass_use=yes
57164 else
57165 glibcxx_cv_func__fpclass_use=no
57167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57168 ac_ext=c
57169 ac_cpp='$CPP $CPPFLAGS'
57170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
57179 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
57181 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
57182 for ac_func in _fpclass
57183 do :
57184 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
57185 if test "x$ac_cv_func__fpclass" = xyes; then :
57186 cat >>confdefs.h <<_ACEOF
57187 #define HAVE__FPCLASS 1
57188 _ACEOF
57191 done
57200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
57201 $as_echo_n "checking for qfpclass declaration... " >&6; }
57202 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
57203 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
57204 $as_echo_n "(cached) " >&6
57205 else
57208 ac_ext=cpp
57209 ac_cpp='$CXXCPP $CPPFLAGS'
57210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57215 /* end confdefs.h. */
57216 #include <math.h>
57217 #ifdef HAVE_IEEEFP_H
57218 #include <ieeefp.h>
57219 #endif
57222 main ()
57224 qfpclass(0);
57226 return 0;
57228 _ACEOF
57229 if ac_fn_cxx_try_compile "$LINENO"; then :
57230 glibcxx_cv_func_qfpclass_use=yes
57231 else
57232 glibcxx_cv_func_qfpclass_use=no
57234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57235 ac_ext=c
57236 ac_cpp='$CPP $CPPFLAGS'
57237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
57246 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
57248 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
57249 for ac_func in qfpclass
57250 do :
57251 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
57252 if test "x$ac_cv_func_qfpclass" = xyes; then :
57253 cat >>confdefs.h <<_ACEOF
57254 #define HAVE_QFPCLASS 1
57255 _ACEOF
57258 done
57260 else
57262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
57263 $as_echo_n "checking for _qfpclass declaration... " >&6; }
57264 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
57265 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
57266 $as_echo_n "(cached) " >&6
57267 else
57270 ac_ext=cpp
57271 ac_cpp='$CXXCPP $CPPFLAGS'
57272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57277 /* end confdefs.h. */
57278 #include <math.h>
57279 #ifdef HAVE_IEEEFP_H
57280 #include <ieeefp.h>
57281 #endif
57284 main ()
57286 _qfpclass(0);
57288 return 0;
57290 _ACEOF
57291 if ac_fn_cxx_try_compile "$LINENO"; then :
57292 glibcxx_cv_func__qfpclass_use=yes
57293 else
57294 glibcxx_cv_func__qfpclass_use=no
57296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57297 ac_ext=c
57298 ac_cpp='$CPP $CPPFLAGS'
57299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
57308 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
57310 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
57311 for ac_func in _qfpclass
57312 do :
57313 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
57314 if test "x$ac_cv_func__qfpclass" = xyes; then :
57315 cat >>confdefs.h <<_ACEOF
57316 #define HAVE__QFPCLASS 1
57317 _ACEOF
57320 done
57329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
57330 $as_echo_n "checking for hypot declaration... " >&6; }
57331 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
57332 if ${glibcxx_cv_func_hypot_use+:} false; then :
57333 $as_echo_n "(cached) " >&6
57334 else
57337 ac_ext=cpp
57338 ac_cpp='$CXXCPP $CPPFLAGS'
57339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57344 /* end confdefs.h. */
57345 #include <math.h>
57347 main ()
57349 hypot(0, 0);
57351 return 0;
57353 _ACEOF
57354 if ac_fn_cxx_try_compile "$LINENO"; then :
57355 glibcxx_cv_func_hypot_use=yes
57356 else
57357 glibcxx_cv_func_hypot_use=no
57359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57360 ac_ext=c
57361 ac_cpp='$CPP $CPPFLAGS'
57362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
57371 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
57373 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
57374 for ac_func in hypot
57375 do :
57376 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
57377 if test "x$ac_cv_func_hypot" = xyes; then :
57378 cat >>confdefs.h <<_ACEOF
57379 #define HAVE_HYPOT 1
57380 _ACEOF
57383 done
57385 else
57387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
57388 $as_echo_n "checking for _hypot declaration... " >&6; }
57389 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
57390 if ${glibcxx_cv_func__hypot_use+:} false; then :
57391 $as_echo_n "(cached) " >&6
57392 else
57395 ac_ext=cpp
57396 ac_cpp='$CXXCPP $CPPFLAGS'
57397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57402 /* end confdefs.h. */
57403 #include <math.h>
57405 main ()
57407 _hypot(0, 0);
57409 return 0;
57411 _ACEOF
57412 if ac_fn_cxx_try_compile "$LINENO"; then :
57413 glibcxx_cv_func__hypot_use=yes
57414 else
57415 glibcxx_cv_func__hypot_use=no
57417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57418 ac_ext=c
57419 ac_cpp='$CPP $CPPFLAGS'
57420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
57429 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
57431 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
57432 for ac_func in _hypot
57433 do :
57434 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
57435 if test "x$ac_cv_func__hypot" = xyes; then :
57436 cat >>confdefs.h <<_ACEOF
57437 #define HAVE__HYPOT 1
57438 _ACEOF
57441 done
57450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
57451 $as_echo_n "checking for float trig functions... " >&6; }
57452 if ${glibcxx_cv_func_float_trig_use+:} false; then :
57453 $as_echo_n "(cached) " >&6
57454 else
57457 ac_ext=cpp
57458 ac_cpp='$CXXCPP $CPPFLAGS'
57459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57464 /* end confdefs.h. */
57465 #include <math.h>
57467 main ()
57469 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
57471 return 0;
57473 _ACEOF
57474 if ac_fn_cxx_try_compile "$LINENO"; then :
57475 glibcxx_cv_func_float_trig_use=yes
57476 else
57477 glibcxx_cv_func_float_trig_use=no
57479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57480 ac_ext=c
57481 ac_cpp='$CPP $CPPFLAGS'
57482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
57489 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
57490 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
57491 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
57492 do :
57493 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57494 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57495 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57496 cat >>confdefs.h <<_ACEOF
57497 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57498 _ACEOF
57501 done
57503 else
57504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
57505 $as_echo_n "checking for _float trig functions... " >&6; }
57506 if ${glibcxx_cv_func__float_trig_use+:} false; then :
57507 $as_echo_n "(cached) " >&6
57508 else
57511 ac_ext=cpp
57512 ac_cpp='$CXXCPP $CPPFLAGS'
57513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57518 /* end confdefs.h. */
57519 #include <math.h>
57521 main ()
57523 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
57525 return 0;
57527 _ACEOF
57528 if ac_fn_cxx_try_compile "$LINENO"; then :
57529 glibcxx_cv_func__float_trig_use=yes
57530 else
57531 glibcxx_cv_func__float_trig_use=no
57533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57534 ac_ext=c
57535 ac_cpp='$CPP $CPPFLAGS'
57536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
57543 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
57544 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
57545 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
57546 do :
57547 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57548 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57549 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57550 cat >>confdefs.h <<_ACEOF
57551 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57552 _ACEOF
57555 done
57564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
57565 $as_echo_n "checking for float round functions... " >&6; }
57566 if ${glibcxx_cv_func_float_round_use+:} false; then :
57567 $as_echo_n "(cached) " >&6
57568 else
57571 ac_ext=cpp
57572 ac_cpp='$CXXCPP $CPPFLAGS'
57573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57578 /* end confdefs.h. */
57579 #include <math.h>
57581 main ()
57583 ceilf (0); floorf (0);
57585 return 0;
57587 _ACEOF
57588 if ac_fn_cxx_try_compile "$LINENO"; then :
57589 glibcxx_cv_func_float_round_use=yes
57590 else
57591 glibcxx_cv_func_float_round_use=no
57593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57594 ac_ext=c
57595 ac_cpp='$CPP $CPPFLAGS'
57596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
57603 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
57604 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
57605 for ac_func in ceilf floorf
57606 do :
57607 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57608 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57609 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57610 cat >>confdefs.h <<_ACEOF
57611 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57612 _ACEOF
57615 done
57617 else
57618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
57619 $as_echo_n "checking for _float round functions... " >&6; }
57620 if ${glibcxx_cv_func__float_round_use+:} false; then :
57621 $as_echo_n "(cached) " >&6
57622 else
57625 ac_ext=cpp
57626 ac_cpp='$CXXCPP $CPPFLAGS'
57627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57632 /* end confdefs.h. */
57633 #include <math.h>
57635 main ()
57637 _ceilf (0); _floorf (0);
57639 return 0;
57641 _ACEOF
57642 if ac_fn_cxx_try_compile "$LINENO"; then :
57643 glibcxx_cv_func__float_round_use=yes
57644 else
57645 glibcxx_cv_func__float_round_use=no
57647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57648 ac_ext=c
57649 ac_cpp='$CPP $CPPFLAGS'
57650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
57657 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
57658 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
57659 for ac_func in _ceilf _floorf
57660 do :
57661 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57662 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57663 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57664 cat >>confdefs.h <<_ACEOF
57665 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57666 _ACEOF
57669 done
57679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
57680 $as_echo_n "checking for expf declaration... " >&6; }
57681 if test x${glibcxx_cv_func_expf_use+set} != xset; then
57682 if ${glibcxx_cv_func_expf_use+:} false; then :
57683 $as_echo_n "(cached) " >&6
57684 else
57687 ac_ext=cpp
57688 ac_cpp='$CXXCPP $CPPFLAGS'
57689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57694 /* end confdefs.h. */
57695 #include <math.h>
57696 #ifdef HAVE_IEEEFP_H
57697 #include <ieeefp.h>
57698 #endif
57701 main ()
57703 expf(0);
57705 return 0;
57707 _ACEOF
57708 if ac_fn_cxx_try_compile "$LINENO"; then :
57709 glibcxx_cv_func_expf_use=yes
57710 else
57711 glibcxx_cv_func_expf_use=no
57713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57714 ac_ext=c
57715 ac_cpp='$CPP $CPPFLAGS'
57716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
57725 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
57727 if test x$glibcxx_cv_func_expf_use = x"yes"; then
57728 for ac_func in expf
57729 do :
57730 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
57731 if test "x$ac_cv_func_expf" = xyes; then :
57732 cat >>confdefs.h <<_ACEOF
57733 #define HAVE_EXPF 1
57734 _ACEOF
57737 done
57739 else
57741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
57742 $as_echo_n "checking for _expf declaration... " >&6; }
57743 if test x${glibcxx_cv_func__expf_use+set} != xset; then
57744 if ${glibcxx_cv_func__expf_use+:} false; then :
57745 $as_echo_n "(cached) " >&6
57746 else
57749 ac_ext=cpp
57750 ac_cpp='$CXXCPP $CPPFLAGS'
57751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57756 /* end confdefs.h. */
57757 #include <math.h>
57758 #ifdef HAVE_IEEEFP_H
57759 #include <ieeefp.h>
57760 #endif
57763 main ()
57765 _expf(0);
57767 return 0;
57769 _ACEOF
57770 if ac_fn_cxx_try_compile "$LINENO"; then :
57771 glibcxx_cv_func__expf_use=yes
57772 else
57773 glibcxx_cv_func__expf_use=no
57775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57776 ac_ext=c
57777 ac_cpp='$CPP $CPPFLAGS'
57778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
57787 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
57789 if test x$glibcxx_cv_func__expf_use = x"yes"; then
57790 for ac_func in _expf
57791 do :
57792 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
57793 if test "x$ac_cv_func__expf" = xyes; then :
57794 cat >>confdefs.h <<_ACEOF
57795 #define HAVE__EXPF 1
57796 _ACEOF
57799 done
57808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
57809 $as_echo_n "checking for isnanf declaration... " >&6; }
57810 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
57811 if ${glibcxx_cv_func_isnanf_use+:} false; then :
57812 $as_echo_n "(cached) " >&6
57813 else
57816 ac_ext=cpp
57817 ac_cpp='$CXXCPP $CPPFLAGS'
57818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57823 /* end confdefs.h. */
57824 #include <math.h>
57825 #ifdef HAVE_IEEEFP_H
57826 #include <ieeefp.h>
57827 #endif
57830 main ()
57832 isnanf(0);
57834 return 0;
57836 _ACEOF
57837 if ac_fn_cxx_try_compile "$LINENO"; then :
57838 glibcxx_cv_func_isnanf_use=yes
57839 else
57840 glibcxx_cv_func_isnanf_use=no
57842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57843 ac_ext=c
57844 ac_cpp='$CPP $CPPFLAGS'
57845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
57854 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
57856 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
57857 for ac_func in isnanf
57858 do :
57859 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
57860 if test "x$ac_cv_func_isnanf" = xyes; then :
57861 cat >>confdefs.h <<_ACEOF
57862 #define HAVE_ISNANF 1
57863 _ACEOF
57866 done
57868 else
57870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
57871 $as_echo_n "checking for _isnanf declaration... " >&6; }
57872 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
57873 if ${glibcxx_cv_func__isnanf_use+:} false; then :
57874 $as_echo_n "(cached) " >&6
57875 else
57878 ac_ext=cpp
57879 ac_cpp='$CXXCPP $CPPFLAGS'
57880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57885 /* end confdefs.h. */
57886 #include <math.h>
57887 #ifdef HAVE_IEEEFP_H
57888 #include <ieeefp.h>
57889 #endif
57892 main ()
57894 _isnanf(0);
57896 return 0;
57898 _ACEOF
57899 if ac_fn_cxx_try_compile "$LINENO"; then :
57900 glibcxx_cv_func__isnanf_use=yes
57901 else
57902 glibcxx_cv_func__isnanf_use=no
57904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57905 ac_ext=c
57906 ac_cpp='$CPP $CPPFLAGS'
57907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
57916 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
57918 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
57919 for ac_func in _isnanf
57920 do :
57921 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
57922 if test "x$ac_cv_func__isnanf" = xyes; then :
57923 cat >>confdefs.h <<_ACEOF
57924 #define HAVE__ISNANF 1
57925 _ACEOF
57928 done
57937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
57938 $as_echo_n "checking for isinff declaration... " >&6; }
57939 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
57940 if ${glibcxx_cv_func_isinff_use+:} false; then :
57941 $as_echo_n "(cached) " >&6
57942 else
57945 ac_ext=cpp
57946 ac_cpp='$CXXCPP $CPPFLAGS'
57947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57952 /* end confdefs.h. */
57953 #include <math.h>
57954 #ifdef HAVE_IEEEFP_H
57955 #include <ieeefp.h>
57956 #endif
57959 main ()
57961 isinff(0);
57963 return 0;
57965 _ACEOF
57966 if ac_fn_cxx_try_compile "$LINENO"; then :
57967 glibcxx_cv_func_isinff_use=yes
57968 else
57969 glibcxx_cv_func_isinff_use=no
57971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57972 ac_ext=c
57973 ac_cpp='$CPP $CPPFLAGS'
57974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
57983 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
57985 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
57986 for ac_func in isinff
57987 do :
57988 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
57989 if test "x$ac_cv_func_isinff" = xyes; then :
57990 cat >>confdefs.h <<_ACEOF
57991 #define HAVE_ISINFF 1
57992 _ACEOF
57995 done
57997 else
57999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
58000 $as_echo_n "checking for _isinff declaration... " >&6; }
58001 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
58002 if ${glibcxx_cv_func__isinff_use+:} false; then :
58003 $as_echo_n "(cached) " >&6
58004 else
58007 ac_ext=cpp
58008 ac_cpp='$CXXCPP $CPPFLAGS'
58009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58014 /* end confdefs.h. */
58015 #include <math.h>
58016 #ifdef HAVE_IEEEFP_H
58017 #include <ieeefp.h>
58018 #endif
58021 main ()
58023 _isinff(0);
58025 return 0;
58027 _ACEOF
58028 if ac_fn_cxx_try_compile "$LINENO"; then :
58029 glibcxx_cv_func__isinff_use=yes
58030 else
58031 glibcxx_cv_func__isinff_use=no
58033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58034 ac_ext=c
58035 ac_cpp='$CPP $CPPFLAGS'
58036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
58045 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
58047 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
58048 for ac_func in _isinff
58049 do :
58050 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
58051 if test "x$ac_cv_func__isinff" = xyes; then :
58052 cat >>confdefs.h <<_ACEOF
58053 #define HAVE__ISINFF 1
58054 _ACEOF
58057 done
58066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
58067 $as_echo_n "checking for atan2f declaration... " >&6; }
58068 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
58069 if ${glibcxx_cv_func_atan2f_use+:} false; then :
58070 $as_echo_n "(cached) " >&6
58071 else
58074 ac_ext=cpp
58075 ac_cpp='$CXXCPP $CPPFLAGS'
58076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58081 /* end confdefs.h. */
58082 #include <math.h>
58084 main ()
58086 atan2f(0, 0);
58088 return 0;
58090 _ACEOF
58091 if ac_fn_cxx_try_compile "$LINENO"; then :
58092 glibcxx_cv_func_atan2f_use=yes
58093 else
58094 glibcxx_cv_func_atan2f_use=no
58096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58097 ac_ext=c
58098 ac_cpp='$CPP $CPPFLAGS'
58099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
58108 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
58110 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
58111 for ac_func in atan2f
58112 do :
58113 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
58114 if test "x$ac_cv_func_atan2f" = xyes; then :
58115 cat >>confdefs.h <<_ACEOF
58116 #define HAVE_ATAN2F 1
58117 _ACEOF
58120 done
58122 else
58124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
58125 $as_echo_n "checking for _atan2f declaration... " >&6; }
58126 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
58127 if ${glibcxx_cv_func__atan2f_use+:} false; then :
58128 $as_echo_n "(cached) " >&6
58129 else
58132 ac_ext=cpp
58133 ac_cpp='$CXXCPP $CPPFLAGS'
58134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58139 /* end confdefs.h. */
58140 #include <math.h>
58142 main ()
58144 _atan2f(0, 0);
58146 return 0;
58148 _ACEOF
58149 if ac_fn_cxx_try_compile "$LINENO"; then :
58150 glibcxx_cv_func__atan2f_use=yes
58151 else
58152 glibcxx_cv_func__atan2f_use=no
58154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58155 ac_ext=c
58156 ac_cpp='$CPP $CPPFLAGS'
58157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
58166 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
58168 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
58169 for ac_func in _atan2f
58170 do :
58171 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
58172 if test "x$ac_cv_func__atan2f" = xyes; then :
58173 cat >>confdefs.h <<_ACEOF
58174 #define HAVE__ATAN2F 1
58175 _ACEOF
58178 done
58187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
58188 $as_echo_n "checking for fabsf declaration... " >&6; }
58189 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
58190 if ${glibcxx_cv_func_fabsf_use+:} false; then :
58191 $as_echo_n "(cached) " >&6
58192 else
58195 ac_ext=cpp
58196 ac_cpp='$CXXCPP $CPPFLAGS'
58197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58202 /* end confdefs.h. */
58203 #include <math.h>
58204 #ifdef HAVE_IEEEFP_H
58205 #include <ieeefp.h>
58206 #endif
58209 main ()
58211 fabsf(0);
58213 return 0;
58215 _ACEOF
58216 if ac_fn_cxx_try_compile "$LINENO"; then :
58217 glibcxx_cv_func_fabsf_use=yes
58218 else
58219 glibcxx_cv_func_fabsf_use=no
58221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58222 ac_ext=c
58223 ac_cpp='$CPP $CPPFLAGS'
58224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
58233 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
58235 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
58236 for ac_func in fabsf
58237 do :
58238 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
58239 if test "x$ac_cv_func_fabsf" = xyes; then :
58240 cat >>confdefs.h <<_ACEOF
58241 #define HAVE_FABSF 1
58242 _ACEOF
58245 done
58247 else
58249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
58250 $as_echo_n "checking for _fabsf declaration... " >&6; }
58251 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
58252 if ${glibcxx_cv_func__fabsf_use+:} false; then :
58253 $as_echo_n "(cached) " >&6
58254 else
58257 ac_ext=cpp
58258 ac_cpp='$CXXCPP $CPPFLAGS'
58259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58264 /* end confdefs.h. */
58265 #include <math.h>
58266 #ifdef HAVE_IEEEFP_H
58267 #include <ieeefp.h>
58268 #endif
58271 main ()
58273 _fabsf(0);
58275 return 0;
58277 _ACEOF
58278 if ac_fn_cxx_try_compile "$LINENO"; then :
58279 glibcxx_cv_func__fabsf_use=yes
58280 else
58281 glibcxx_cv_func__fabsf_use=no
58283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58284 ac_ext=c
58285 ac_cpp='$CPP $CPPFLAGS'
58286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
58295 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
58297 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
58298 for ac_func in _fabsf
58299 do :
58300 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
58301 if test "x$ac_cv_func__fabsf" = xyes; then :
58302 cat >>confdefs.h <<_ACEOF
58303 #define HAVE__FABSF 1
58304 _ACEOF
58307 done
58316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
58317 $as_echo_n "checking for fmodf declaration... " >&6; }
58318 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
58319 if ${glibcxx_cv_func_fmodf_use+:} false; then :
58320 $as_echo_n "(cached) " >&6
58321 else
58324 ac_ext=cpp
58325 ac_cpp='$CXXCPP $CPPFLAGS'
58326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58331 /* end confdefs.h. */
58332 #include <math.h>
58334 main ()
58336 fmodf(0, 0);
58338 return 0;
58340 _ACEOF
58341 if ac_fn_cxx_try_compile "$LINENO"; then :
58342 glibcxx_cv_func_fmodf_use=yes
58343 else
58344 glibcxx_cv_func_fmodf_use=no
58346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58347 ac_ext=c
58348 ac_cpp='$CPP $CPPFLAGS'
58349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
58358 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
58360 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
58361 for ac_func in fmodf
58362 do :
58363 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
58364 if test "x$ac_cv_func_fmodf" = xyes; then :
58365 cat >>confdefs.h <<_ACEOF
58366 #define HAVE_FMODF 1
58367 _ACEOF
58370 done
58372 else
58374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
58375 $as_echo_n "checking for _fmodf declaration... " >&6; }
58376 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
58377 if ${glibcxx_cv_func__fmodf_use+:} false; then :
58378 $as_echo_n "(cached) " >&6
58379 else
58382 ac_ext=cpp
58383 ac_cpp='$CXXCPP $CPPFLAGS'
58384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58389 /* end confdefs.h. */
58390 #include <math.h>
58392 main ()
58394 _fmodf(0, 0);
58396 return 0;
58398 _ACEOF
58399 if ac_fn_cxx_try_compile "$LINENO"; then :
58400 glibcxx_cv_func__fmodf_use=yes
58401 else
58402 glibcxx_cv_func__fmodf_use=no
58404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58405 ac_ext=c
58406 ac_cpp='$CPP $CPPFLAGS'
58407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
58416 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
58418 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
58419 for ac_func in _fmodf
58420 do :
58421 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
58422 if test "x$ac_cv_func__fmodf" = xyes; then :
58423 cat >>confdefs.h <<_ACEOF
58424 #define HAVE__FMODF 1
58425 _ACEOF
58428 done
58437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
58438 $as_echo_n "checking for frexpf declaration... " >&6; }
58439 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
58440 if ${glibcxx_cv_func_frexpf_use+:} false; then :
58441 $as_echo_n "(cached) " >&6
58442 else
58445 ac_ext=cpp
58446 ac_cpp='$CXXCPP $CPPFLAGS'
58447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58452 /* end confdefs.h. */
58453 #include <math.h>
58455 main ()
58457 frexpf(0, 0);
58459 return 0;
58461 _ACEOF
58462 if ac_fn_cxx_try_compile "$LINENO"; then :
58463 glibcxx_cv_func_frexpf_use=yes
58464 else
58465 glibcxx_cv_func_frexpf_use=no
58467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58468 ac_ext=c
58469 ac_cpp='$CPP $CPPFLAGS'
58470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
58479 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
58481 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
58482 for ac_func in frexpf
58483 do :
58484 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
58485 if test "x$ac_cv_func_frexpf" = xyes; then :
58486 cat >>confdefs.h <<_ACEOF
58487 #define HAVE_FREXPF 1
58488 _ACEOF
58491 done
58493 else
58495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
58496 $as_echo_n "checking for _frexpf declaration... " >&6; }
58497 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
58498 if ${glibcxx_cv_func__frexpf_use+:} false; then :
58499 $as_echo_n "(cached) " >&6
58500 else
58503 ac_ext=cpp
58504 ac_cpp='$CXXCPP $CPPFLAGS'
58505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58510 /* end confdefs.h. */
58511 #include <math.h>
58513 main ()
58515 _frexpf(0, 0);
58517 return 0;
58519 _ACEOF
58520 if ac_fn_cxx_try_compile "$LINENO"; then :
58521 glibcxx_cv_func__frexpf_use=yes
58522 else
58523 glibcxx_cv_func__frexpf_use=no
58525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58526 ac_ext=c
58527 ac_cpp='$CPP $CPPFLAGS'
58528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
58537 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
58539 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
58540 for ac_func in _frexpf
58541 do :
58542 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
58543 if test "x$ac_cv_func__frexpf" = xyes; then :
58544 cat >>confdefs.h <<_ACEOF
58545 #define HAVE__FREXPF 1
58546 _ACEOF
58549 done
58558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
58559 $as_echo_n "checking for hypotf declaration... " >&6; }
58560 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
58561 if ${glibcxx_cv_func_hypotf_use+:} false; then :
58562 $as_echo_n "(cached) " >&6
58563 else
58566 ac_ext=cpp
58567 ac_cpp='$CXXCPP $CPPFLAGS'
58568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58573 /* end confdefs.h. */
58574 #include <math.h>
58576 main ()
58578 hypotf(0, 0);
58580 return 0;
58582 _ACEOF
58583 if ac_fn_cxx_try_compile "$LINENO"; then :
58584 glibcxx_cv_func_hypotf_use=yes
58585 else
58586 glibcxx_cv_func_hypotf_use=no
58588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58589 ac_ext=c
58590 ac_cpp='$CPP $CPPFLAGS'
58591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
58600 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
58602 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
58603 for ac_func in hypotf
58604 do :
58605 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
58606 if test "x$ac_cv_func_hypotf" = xyes; then :
58607 cat >>confdefs.h <<_ACEOF
58608 #define HAVE_HYPOTF 1
58609 _ACEOF
58612 done
58614 else
58616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
58617 $as_echo_n "checking for _hypotf declaration... " >&6; }
58618 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
58619 if ${glibcxx_cv_func__hypotf_use+:} false; then :
58620 $as_echo_n "(cached) " >&6
58621 else
58624 ac_ext=cpp
58625 ac_cpp='$CXXCPP $CPPFLAGS'
58626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58631 /* end confdefs.h. */
58632 #include <math.h>
58634 main ()
58636 _hypotf(0, 0);
58638 return 0;
58640 _ACEOF
58641 if ac_fn_cxx_try_compile "$LINENO"; then :
58642 glibcxx_cv_func__hypotf_use=yes
58643 else
58644 glibcxx_cv_func__hypotf_use=no
58646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58647 ac_ext=c
58648 ac_cpp='$CPP $CPPFLAGS'
58649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
58658 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
58660 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
58661 for ac_func in _hypotf
58662 do :
58663 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
58664 if test "x$ac_cv_func__hypotf" = xyes; then :
58665 cat >>confdefs.h <<_ACEOF
58666 #define HAVE__HYPOTF 1
58667 _ACEOF
58670 done
58679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
58680 $as_echo_n "checking for ldexpf declaration... " >&6; }
58681 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
58682 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
58683 $as_echo_n "(cached) " >&6
58684 else
58687 ac_ext=cpp
58688 ac_cpp='$CXXCPP $CPPFLAGS'
58689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58694 /* end confdefs.h. */
58695 #include <math.h>
58697 main ()
58699 ldexpf(0, 0);
58701 return 0;
58703 _ACEOF
58704 if ac_fn_cxx_try_compile "$LINENO"; then :
58705 glibcxx_cv_func_ldexpf_use=yes
58706 else
58707 glibcxx_cv_func_ldexpf_use=no
58709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58710 ac_ext=c
58711 ac_cpp='$CPP $CPPFLAGS'
58712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
58721 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
58723 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
58724 for ac_func in ldexpf
58725 do :
58726 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
58727 if test "x$ac_cv_func_ldexpf" = xyes; then :
58728 cat >>confdefs.h <<_ACEOF
58729 #define HAVE_LDEXPF 1
58730 _ACEOF
58733 done
58735 else
58737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
58738 $as_echo_n "checking for _ldexpf declaration... " >&6; }
58739 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
58740 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
58741 $as_echo_n "(cached) " >&6
58742 else
58745 ac_ext=cpp
58746 ac_cpp='$CXXCPP $CPPFLAGS'
58747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58752 /* end confdefs.h. */
58753 #include <math.h>
58755 main ()
58757 _ldexpf(0, 0);
58759 return 0;
58761 _ACEOF
58762 if ac_fn_cxx_try_compile "$LINENO"; then :
58763 glibcxx_cv_func__ldexpf_use=yes
58764 else
58765 glibcxx_cv_func__ldexpf_use=no
58767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58768 ac_ext=c
58769 ac_cpp='$CPP $CPPFLAGS'
58770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
58779 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
58781 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
58782 for ac_func in _ldexpf
58783 do :
58784 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
58785 if test "x$ac_cv_func__ldexpf" = xyes; then :
58786 cat >>confdefs.h <<_ACEOF
58787 #define HAVE__LDEXPF 1
58788 _ACEOF
58791 done
58800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
58801 $as_echo_n "checking for logf declaration... " >&6; }
58802 if test x${glibcxx_cv_func_logf_use+set} != xset; then
58803 if ${glibcxx_cv_func_logf_use+:} false; then :
58804 $as_echo_n "(cached) " >&6
58805 else
58808 ac_ext=cpp
58809 ac_cpp='$CXXCPP $CPPFLAGS'
58810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58815 /* end confdefs.h. */
58816 #include <math.h>
58817 #ifdef HAVE_IEEEFP_H
58818 #include <ieeefp.h>
58819 #endif
58822 main ()
58824 logf(0);
58826 return 0;
58828 _ACEOF
58829 if ac_fn_cxx_try_compile "$LINENO"; then :
58830 glibcxx_cv_func_logf_use=yes
58831 else
58832 glibcxx_cv_func_logf_use=no
58834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58835 ac_ext=c
58836 ac_cpp='$CPP $CPPFLAGS'
58837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
58846 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
58848 if test x$glibcxx_cv_func_logf_use = x"yes"; then
58849 for ac_func in logf
58850 do :
58851 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
58852 if test "x$ac_cv_func_logf" = xyes; then :
58853 cat >>confdefs.h <<_ACEOF
58854 #define HAVE_LOGF 1
58855 _ACEOF
58858 done
58860 else
58862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
58863 $as_echo_n "checking for _logf declaration... " >&6; }
58864 if test x${glibcxx_cv_func__logf_use+set} != xset; then
58865 if ${glibcxx_cv_func__logf_use+:} false; then :
58866 $as_echo_n "(cached) " >&6
58867 else
58870 ac_ext=cpp
58871 ac_cpp='$CXXCPP $CPPFLAGS'
58872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58877 /* end confdefs.h. */
58878 #include <math.h>
58879 #ifdef HAVE_IEEEFP_H
58880 #include <ieeefp.h>
58881 #endif
58884 main ()
58886 _logf(0);
58888 return 0;
58890 _ACEOF
58891 if ac_fn_cxx_try_compile "$LINENO"; then :
58892 glibcxx_cv_func__logf_use=yes
58893 else
58894 glibcxx_cv_func__logf_use=no
58896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58897 ac_ext=c
58898 ac_cpp='$CPP $CPPFLAGS'
58899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
58908 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
58910 if test x$glibcxx_cv_func__logf_use = x"yes"; then
58911 for ac_func in _logf
58912 do :
58913 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
58914 if test "x$ac_cv_func__logf" = xyes; then :
58915 cat >>confdefs.h <<_ACEOF
58916 #define HAVE__LOGF 1
58917 _ACEOF
58920 done
58929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
58930 $as_echo_n "checking for log10f declaration... " >&6; }
58931 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
58932 if ${glibcxx_cv_func_log10f_use+:} false; then :
58933 $as_echo_n "(cached) " >&6
58934 else
58937 ac_ext=cpp
58938 ac_cpp='$CXXCPP $CPPFLAGS'
58939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58944 /* end confdefs.h. */
58945 #include <math.h>
58946 #ifdef HAVE_IEEEFP_H
58947 #include <ieeefp.h>
58948 #endif
58951 main ()
58953 log10f(0);
58955 return 0;
58957 _ACEOF
58958 if ac_fn_cxx_try_compile "$LINENO"; then :
58959 glibcxx_cv_func_log10f_use=yes
58960 else
58961 glibcxx_cv_func_log10f_use=no
58963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58964 ac_ext=c
58965 ac_cpp='$CPP $CPPFLAGS'
58966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
58975 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
58977 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
58978 for ac_func in log10f
58979 do :
58980 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
58981 if test "x$ac_cv_func_log10f" = xyes; then :
58982 cat >>confdefs.h <<_ACEOF
58983 #define HAVE_LOG10F 1
58984 _ACEOF
58987 done
58989 else
58991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
58992 $as_echo_n "checking for _log10f declaration... " >&6; }
58993 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
58994 if ${glibcxx_cv_func__log10f_use+:} false; then :
58995 $as_echo_n "(cached) " >&6
58996 else
58999 ac_ext=cpp
59000 ac_cpp='$CXXCPP $CPPFLAGS'
59001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59006 /* end confdefs.h. */
59007 #include <math.h>
59008 #ifdef HAVE_IEEEFP_H
59009 #include <ieeefp.h>
59010 #endif
59013 main ()
59015 _log10f(0);
59017 return 0;
59019 _ACEOF
59020 if ac_fn_cxx_try_compile "$LINENO"; then :
59021 glibcxx_cv_func__log10f_use=yes
59022 else
59023 glibcxx_cv_func__log10f_use=no
59025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59026 ac_ext=c
59027 ac_cpp='$CPP $CPPFLAGS'
59028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
59037 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
59039 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
59040 for ac_func in _log10f
59041 do :
59042 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
59043 if test "x$ac_cv_func__log10f" = xyes; then :
59044 cat >>confdefs.h <<_ACEOF
59045 #define HAVE__LOG10F 1
59046 _ACEOF
59049 done
59058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
59059 $as_echo_n "checking for modff declaration... " >&6; }
59060 if test x${glibcxx_cv_func_modff_use+set} != xset; then
59061 if ${glibcxx_cv_func_modff_use+:} false; then :
59062 $as_echo_n "(cached) " >&6
59063 else
59066 ac_ext=cpp
59067 ac_cpp='$CXXCPP $CPPFLAGS'
59068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59073 /* end confdefs.h. */
59074 #include <math.h>
59076 main ()
59078 modff(0, 0);
59080 return 0;
59082 _ACEOF
59083 if ac_fn_cxx_try_compile "$LINENO"; then :
59084 glibcxx_cv_func_modff_use=yes
59085 else
59086 glibcxx_cv_func_modff_use=no
59088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59089 ac_ext=c
59090 ac_cpp='$CPP $CPPFLAGS'
59091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
59100 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
59102 if test x$glibcxx_cv_func_modff_use = x"yes"; then
59103 for ac_func in modff
59104 do :
59105 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
59106 if test "x$ac_cv_func_modff" = xyes; then :
59107 cat >>confdefs.h <<_ACEOF
59108 #define HAVE_MODFF 1
59109 _ACEOF
59112 done
59114 else
59116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
59117 $as_echo_n "checking for _modff declaration... " >&6; }
59118 if test x${glibcxx_cv_func__modff_use+set} != xset; then
59119 if ${glibcxx_cv_func__modff_use+:} false; then :
59120 $as_echo_n "(cached) " >&6
59121 else
59124 ac_ext=cpp
59125 ac_cpp='$CXXCPP $CPPFLAGS'
59126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59131 /* end confdefs.h. */
59132 #include <math.h>
59134 main ()
59136 _modff(0, 0);
59138 return 0;
59140 _ACEOF
59141 if ac_fn_cxx_try_compile "$LINENO"; then :
59142 glibcxx_cv_func__modff_use=yes
59143 else
59144 glibcxx_cv_func__modff_use=no
59146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59147 ac_ext=c
59148 ac_cpp='$CPP $CPPFLAGS'
59149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
59158 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
59160 if test x$glibcxx_cv_func__modff_use = x"yes"; then
59161 for ac_func in _modff
59162 do :
59163 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
59164 if test "x$ac_cv_func__modff" = xyes; then :
59165 cat >>confdefs.h <<_ACEOF
59166 #define HAVE__MODFF 1
59167 _ACEOF
59170 done
59179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
59180 $as_echo_n "checking for modf declaration... " >&6; }
59181 if test x${glibcxx_cv_func_modf_use+set} != xset; then
59182 if ${glibcxx_cv_func_modf_use+:} false; then :
59183 $as_echo_n "(cached) " >&6
59184 else
59187 ac_ext=cpp
59188 ac_cpp='$CXXCPP $CPPFLAGS'
59189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59194 /* end confdefs.h. */
59195 #include <math.h>
59197 main ()
59199 modf(0, 0);
59201 return 0;
59203 _ACEOF
59204 if ac_fn_cxx_try_compile "$LINENO"; then :
59205 glibcxx_cv_func_modf_use=yes
59206 else
59207 glibcxx_cv_func_modf_use=no
59209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59210 ac_ext=c
59211 ac_cpp='$CPP $CPPFLAGS'
59212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
59221 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
59223 if test x$glibcxx_cv_func_modf_use = x"yes"; then
59224 for ac_func in modf
59225 do :
59226 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
59227 if test "x$ac_cv_func_modf" = xyes; then :
59228 cat >>confdefs.h <<_ACEOF
59229 #define HAVE_MODF 1
59230 _ACEOF
59233 done
59235 else
59237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
59238 $as_echo_n "checking for _modf declaration... " >&6; }
59239 if test x${glibcxx_cv_func__modf_use+set} != xset; then
59240 if ${glibcxx_cv_func__modf_use+:} false; then :
59241 $as_echo_n "(cached) " >&6
59242 else
59245 ac_ext=cpp
59246 ac_cpp='$CXXCPP $CPPFLAGS'
59247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59252 /* end confdefs.h. */
59253 #include <math.h>
59255 main ()
59257 _modf(0, 0);
59259 return 0;
59261 _ACEOF
59262 if ac_fn_cxx_try_compile "$LINENO"; then :
59263 glibcxx_cv_func__modf_use=yes
59264 else
59265 glibcxx_cv_func__modf_use=no
59267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59268 ac_ext=c
59269 ac_cpp='$CPP $CPPFLAGS'
59270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
59279 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
59281 if test x$glibcxx_cv_func__modf_use = x"yes"; then
59282 for ac_func in _modf
59283 do :
59284 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
59285 if test "x$ac_cv_func__modf" = xyes; then :
59286 cat >>confdefs.h <<_ACEOF
59287 #define HAVE__MODF 1
59288 _ACEOF
59291 done
59300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
59301 $as_echo_n "checking for powf declaration... " >&6; }
59302 if test x${glibcxx_cv_func_powf_use+set} != xset; then
59303 if ${glibcxx_cv_func_powf_use+:} false; then :
59304 $as_echo_n "(cached) " >&6
59305 else
59308 ac_ext=cpp
59309 ac_cpp='$CXXCPP $CPPFLAGS'
59310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59315 /* end confdefs.h. */
59316 #include <math.h>
59318 main ()
59320 powf(0, 0);
59322 return 0;
59324 _ACEOF
59325 if ac_fn_cxx_try_compile "$LINENO"; then :
59326 glibcxx_cv_func_powf_use=yes
59327 else
59328 glibcxx_cv_func_powf_use=no
59330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59331 ac_ext=c
59332 ac_cpp='$CPP $CPPFLAGS'
59333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
59342 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
59344 if test x$glibcxx_cv_func_powf_use = x"yes"; then
59345 for ac_func in powf
59346 do :
59347 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
59348 if test "x$ac_cv_func_powf" = xyes; then :
59349 cat >>confdefs.h <<_ACEOF
59350 #define HAVE_POWF 1
59351 _ACEOF
59354 done
59356 else
59358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
59359 $as_echo_n "checking for _powf declaration... " >&6; }
59360 if test x${glibcxx_cv_func__powf_use+set} != xset; then
59361 if ${glibcxx_cv_func__powf_use+:} false; then :
59362 $as_echo_n "(cached) " >&6
59363 else
59366 ac_ext=cpp
59367 ac_cpp='$CXXCPP $CPPFLAGS'
59368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59373 /* end confdefs.h. */
59374 #include <math.h>
59376 main ()
59378 _powf(0, 0);
59380 return 0;
59382 _ACEOF
59383 if ac_fn_cxx_try_compile "$LINENO"; then :
59384 glibcxx_cv_func__powf_use=yes
59385 else
59386 glibcxx_cv_func__powf_use=no
59388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59389 ac_ext=c
59390 ac_cpp='$CPP $CPPFLAGS'
59391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
59400 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
59402 if test x$glibcxx_cv_func__powf_use = x"yes"; then
59403 for ac_func in _powf
59404 do :
59405 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
59406 if test "x$ac_cv_func__powf" = xyes; then :
59407 cat >>confdefs.h <<_ACEOF
59408 #define HAVE__POWF 1
59409 _ACEOF
59412 done
59421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
59422 $as_echo_n "checking for sqrtf declaration... " >&6; }
59423 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
59424 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
59425 $as_echo_n "(cached) " >&6
59426 else
59429 ac_ext=cpp
59430 ac_cpp='$CXXCPP $CPPFLAGS'
59431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59436 /* end confdefs.h. */
59437 #include <math.h>
59438 #ifdef HAVE_IEEEFP_H
59439 #include <ieeefp.h>
59440 #endif
59443 main ()
59445 sqrtf(0);
59447 return 0;
59449 _ACEOF
59450 if ac_fn_cxx_try_compile "$LINENO"; then :
59451 glibcxx_cv_func_sqrtf_use=yes
59452 else
59453 glibcxx_cv_func_sqrtf_use=no
59455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59456 ac_ext=c
59457 ac_cpp='$CPP $CPPFLAGS'
59458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
59467 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
59469 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
59470 for ac_func in sqrtf
59471 do :
59472 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
59473 if test "x$ac_cv_func_sqrtf" = xyes; then :
59474 cat >>confdefs.h <<_ACEOF
59475 #define HAVE_SQRTF 1
59476 _ACEOF
59479 done
59481 else
59483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
59484 $as_echo_n "checking for _sqrtf declaration... " >&6; }
59485 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
59486 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
59487 $as_echo_n "(cached) " >&6
59488 else
59491 ac_ext=cpp
59492 ac_cpp='$CXXCPP $CPPFLAGS'
59493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59498 /* end confdefs.h. */
59499 #include <math.h>
59500 #ifdef HAVE_IEEEFP_H
59501 #include <ieeefp.h>
59502 #endif
59505 main ()
59507 _sqrtf(0);
59509 return 0;
59511 _ACEOF
59512 if ac_fn_cxx_try_compile "$LINENO"; then :
59513 glibcxx_cv_func__sqrtf_use=yes
59514 else
59515 glibcxx_cv_func__sqrtf_use=no
59517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59518 ac_ext=c
59519 ac_cpp='$CPP $CPPFLAGS'
59520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
59529 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
59531 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
59532 for ac_func in _sqrtf
59533 do :
59534 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
59535 if test "x$ac_cv_func__sqrtf" = xyes; then :
59536 cat >>confdefs.h <<_ACEOF
59537 #define HAVE__SQRTF 1
59538 _ACEOF
59541 done
59550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
59551 $as_echo_n "checking for sincosf declaration... " >&6; }
59552 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
59553 if ${glibcxx_cv_func_sincosf_use+:} false; then :
59554 $as_echo_n "(cached) " >&6
59555 else
59558 ac_ext=cpp
59559 ac_cpp='$CXXCPP $CPPFLAGS'
59560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59565 /* end confdefs.h. */
59566 #include <math.h>
59568 main ()
59570 sincosf(0, 0, 0);
59572 return 0;
59574 _ACEOF
59575 if ac_fn_cxx_try_compile "$LINENO"; then :
59576 glibcxx_cv_func_sincosf_use=yes
59577 else
59578 glibcxx_cv_func_sincosf_use=no
59580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59581 ac_ext=c
59582 ac_cpp='$CPP $CPPFLAGS'
59583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
59592 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
59594 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
59595 for ac_func in sincosf
59596 do :
59597 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
59598 if test "x$ac_cv_func_sincosf" = xyes; then :
59599 cat >>confdefs.h <<_ACEOF
59600 #define HAVE_SINCOSF 1
59601 _ACEOF
59604 done
59606 else
59608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
59609 $as_echo_n "checking for _sincosf declaration... " >&6; }
59610 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
59611 if ${glibcxx_cv_func__sincosf_use+:} false; then :
59612 $as_echo_n "(cached) " >&6
59613 else
59616 ac_ext=cpp
59617 ac_cpp='$CXXCPP $CPPFLAGS'
59618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59623 /* end confdefs.h. */
59624 #include <math.h>
59626 main ()
59628 _sincosf(0, 0, 0);
59630 return 0;
59632 _ACEOF
59633 if ac_fn_cxx_try_compile "$LINENO"; then :
59634 glibcxx_cv_func__sincosf_use=yes
59635 else
59636 glibcxx_cv_func__sincosf_use=no
59638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59639 ac_ext=c
59640 ac_cpp='$CPP $CPPFLAGS'
59641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
59650 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
59652 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
59653 for ac_func in _sincosf
59654 do :
59655 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
59656 if test "x$ac_cv_func__sincosf" = xyes; then :
59657 cat >>confdefs.h <<_ACEOF
59658 #define HAVE__SINCOSF 1
59659 _ACEOF
59662 done
59671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
59672 $as_echo_n "checking for finitef declaration... " >&6; }
59673 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
59674 if ${glibcxx_cv_func_finitef_use+:} false; then :
59675 $as_echo_n "(cached) " >&6
59676 else
59679 ac_ext=cpp
59680 ac_cpp='$CXXCPP $CPPFLAGS'
59681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59686 /* end confdefs.h. */
59687 #include <math.h>
59688 #ifdef HAVE_IEEEFP_H
59689 #include <ieeefp.h>
59690 #endif
59693 main ()
59695 finitef(0);
59697 return 0;
59699 _ACEOF
59700 if ac_fn_cxx_try_compile "$LINENO"; then :
59701 glibcxx_cv_func_finitef_use=yes
59702 else
59703 glibcxx_cv_func_finitef_use=no
59705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59706 ac_ext=c
59707 ac_cpp='$CPP $CPPFLAGS'
59708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
59717 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
59719 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
59720 for ac_func in finitef
59721 do :
59722 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
59723 if test "x$ac_cv_func_finitef" = xyes; then :
59724 cat >>confdefs.h <<_ACEOF
59725 #define HAVE_FINITEF 1
59726 _ACEOF
59729 done
59731 else
59733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
59734 $as_echo_n "checking for _finitef declaration... " >&6; }
59735 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
59736 if ${glibcxx_cv_func__finitef_use+:} false; then :
59737 $as_echo_n "(cached) " >&6
59738 else
59741 ac_ext=cpp
59742 ac_cpp='$CXXCPP $CPPFLAGS'
59743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59748 /* end confdefs.h. */
59749 #include <math.h>
59750 #ifdef HAVE_IEEEFP_H
59751 #include <ieeefp.h>
59752 #endif
59755 main ()
59757 _finitef(0);
59759 return 0;
59761 _ACEOF
59762 if ac_fn_cxx_try_compile "$LINENO"; then :
59763 glibcxx_cv_func__finitef_use=yes
59764 else
59765 glibcxx_cv_func__finitef_use=no
59767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59768 ac_ext=c
59769 ac_cpp='$CPP $CPPFLAGS'
59770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
59779 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
59781 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
59782 for ac_func in _finitef
59783 do :
59784 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
59785 if test "x$ac_cv_func__finitef" = xyes; then :
59786 cat >>confdefs.h <<_ACEOF
59787 #define HAVE__FINITEF 1
59788 _ACEOF
59791 done
59800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
59801 $as_echo_n "checking for long double trig functions... " >&6; }
59802 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
59803 $as_echo_n "(cached) " >&6
59804 else
59807 ac_ext=cpp
59808 ac_cpp='$CXXCPP $CPPFLAGS'
59809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59814 /* end confdefs.h. */
59815 #include <math.h>
59817 main ()
59819 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
59821 return 0;
59823 _ACEOF
59824 if ac_fn_cxx_try_compile "$LINENO"; then :
59825 glibcxx_cv_func_long_double_trig_use=yes
59826 else
59827 glibcxx_cv_func_long_double_trig_use=no
59829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59830 ac_ext=c
59831 ac_cpp='$CPP $CPPFLAGS'
59832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
59839 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
59840 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
59841 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
59842 do :
59843 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59844 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59845 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
59846 cat >>confdefs.h <<_ACEOF
59847 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59848 _ACEOF
59851 done
59853 else
59854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
59855 $as_echo_n "checking for _long double trig functions... " >&6; }
59856 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
59857 $as_echo_n "(cached) " >&6
59858 else
59861 ac_ext=cpp
59862 ac_cpp='$CXXCPP $CPPFLAGS'
59863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59868 /* end confdefs.h. */
59869 #include <math.h>
59871 main ()
59873 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
59875 return 0;
59877 _ACEOF
59878 if ac_fn_cxx_try_compile "$LINENO"; then :
59879 glibcxx_cv_func__long_double_trig_use=yes
59880 else
59881 glibcxx_cv_func__long_double_trig_use=no
59883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59884 ac_ext=c
59885 ac_cpp='$CPP $CPPFLAGS'
59886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
59893 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
59894 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
59895 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
59896 do :
59897 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59898 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59899 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
59900 cat >>confdefs.h <<_ACEOF
59901 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59902 _ACEOF
59905 done
59914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
59915 $as_echo_n "checking for long double round functions... " >&6; }
59916 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
59917 $as_echo_n "(cached) " >&6
59918 else
59921 ac_ext=cpp
59922 ac_cpp='$CXXCPP $CPPFLAGS'
59923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59928 /* end confdefs.h. */
59929 #include <math.h>
59931 main ()
59933 ceill (0); floorl (0);
59935 return 0;
59937 _ACEOF
59938 if ac_fn_cxx_try_compile "$LINENO"; then :
59939 glibcxx_cv_func_long_double_round_use=yes
59940 else
59941 glibcxx_cv_func_long_double_round_use=no
59943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59944 ac_ext=c
59945 ac_cpp='$CPP $CPPFLAGS'
59946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
59953 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
59954 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
59955 for ac_func in ceill floorl
59956 do :
59957 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59958 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59959 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
59960 cat >>confdefs.h <<_ACEOF
59961 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59962 _ACEOF
59965 done
59967 else
59968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
59969 $as_echo_n "checking for _long double round functions... " >&6; }
59970 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
59971 $as_echo_n "(cached) " >&6
59972 else
59975 ac_ext=cpp
59976 ac_cpp='$CXXCPP $CPPFLAGS'
59977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59982 /* end confdefs.h. */
59983 #include <math.h>
59985 main ()
59987 _ceill (0); _floorl (0);
59989 return 0;
59991 _ACEOF
59992 if ac_fn_cxx_try_compile "$LINENO"; then :
59993 glibcxx_cv_func__long_double_round_use=yes
59994 else
59995 glibcxx_cv_func__long_double_round_use=no
59997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59998 ac_ext=c
59999 ac_cpp='$CPP $CPPFLAGS'
60000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
60007 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
60008 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
60009 for ac_func in _ceill _floorl
60010 do :
60011 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60012 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60013 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60014 cat >>confdefs.h <<_ACEOF
60015 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60016 _ACEOF
60019 done
60029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
60030 $as_echo_n "checking for isnanl declaration... " >&6; }
60031 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
60032 if ${glibcxx_cv_func_isnanl_use+:} false; then :
60033 $as_echo_n "(cached) " >&6
60034 else
60037 ac_ext=cpp
60038 ac_cpp='$CXXCPP $CPPFLAGS'
60039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60044 /* end confdefs.h. */
60045 #include <math.h>
60046 #ifdef HAVE_IEEEFP_H
60047 #include <ieeefp.h>
60048 #endif
60051 main ()
60053 isnanl(0);
60055 return 0;
60057 _ACEOF
60058 if ac_fn_cxx_try_compile "$LINENO"; then :
60059 glibcxx_cv_func_isnanl_use=yes
60060 else
60061 glibcxx_cv_func_isnanl_use=no
60063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60064 ac_ext=c
60065 ac_cpp='$CPP $CPPFLAGS'
60066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
60075 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
60077 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
60078 for ac_func in isnanl
60079 do :
60080 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
60081 if test "x$ac_cv_func_isnanl" = xyes; then :
60082 cat >>confdefs.h <<_ACEOF
60083 #define HAVE_ISNANL 1
60084 _ACEOF
60087 done
60089 else
60091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
60092 $as_echo_n "checking for _isnanl declaration... " >&6; }
60093 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
60094 if ${glibcxx_cv_func__isnanl_use+:} false; then :
60095 $as_echo_n "(cached) " >&6
60096 else
60099 ac_ext=cpp
60100 ac_cpp='$CXXCPP $CPPFLAGS'
60101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60106 /* end confdefs.h. */
60107 #include <math.h>
60108 #ifdef HAVE_IEEEFP_H
60109 #include <ieeefp.h>
60110 #endif
60113 main ()
60115 _isnanl(0);
60117 return 0;
60119 _ACEOF
60120 if ac_fn_cxx_try_compile "$LINENO"; then :
60121 glibcxx_cv_func__isnanl_use=yes
60122 else
60123 glibcxx_cv_func__isnanl_use=no
60125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60126 ac_ext=c
60127 ac_cpp='$CPP $CPPFLAGS'
60128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
60137 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
60139 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
60140 for ac_func in _isnanl
60141 do :
60142 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
60143 if test "x$ac_cv_func__isnanl" = xyes; then :
60144 cat >>confdefs.h <<_ACEOF
60145 #define HAVE__ISNANL 1
60146 _ACEOF
60149 done
60158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
60159 $as_echo_n "checking for isinfl declaration... " >&6; }
60160 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
60161 if ${glibcxx_cv_func_isinfl_use+:} false; then :
60162 $as_echo_n "(cached) " >&6
60163 else
60166 ac_ext=cpp
60167 ac_cpp='$CXXCPP $CPPFLAGS'
60168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60173 /* end confdefs.h. */
60174 #include <math.h>
60175 #ifdef HAVE_IEEEFP_H
60176 #include <ieeefp.h>
60177 #endif
60180 main ()
60182 isinfl(0);
60184 return 0;
60186 _ACEOF
60187 if ac_fn_cxx_try_compile "$LINENO"; then :
60188 glibcxx_cv_func_isinfl_use=yes
60189 else
60190 glibcxx_cv_func_isinfl_use=no
60192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60193 ac_ext=c
60194 ac_cpp='$CPP $CPPFLAGS'
60195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
60204 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
60206 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
60207 for ac_func in isinfl
60208 do :
60209 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
60210 if test "x$ac_cv_func_isinfl" = xyes; then :
60211 cat >>confdefs.h <<_ACEOF
60212 #define HAVE_ISINFL 1
60213 _ACEOF
60216 done
60218 else
60220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
60221 $as_echo_n "checking for _isinfl declaration... " >&6; }
60222 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
60223 if ${glibcxx_cv_func__isinfl_use+:} false; then :
60224 $as_echo_n "(cached) " >&6
60225 else
60228 ac_ext=cpp
60229 ac_cpp='$CXXCPP $CPPFLAGS'
60230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60235 /* end confdefs.h. */
60236 #include <math.h>
60237 #ifdef HAVE_IEEEFP_H
60238 #include <ieeefp.h>
60239 #endif
60242 main ()
60244 _isinfl(0);
60246 return 0;
60248 _ACEOF
60249 if ac_fn_cxx_try_compile "$LINENO"; then :
60250 glibcxx_cv_func__isinfl_use=yes
60251 else
60252 glibcxx_cv_func__isinfl_use=no
60254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60255 ac_ext=c
60256 ac_cpp='$CPP $CPPFLAGS'
60257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
60266 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
60268 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
60269 for ac_func in _isinfl
60270 do :
60271 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
60272 if test "x$ac_cv_func__isinfl" = xyes; then :
60273 cat >>confdefs.h <<_ACEOF
60274 #define HAVE__ISINFL 1
60275 _ACEOF
60278 done
60287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
60288 $as_echo_n "checking for atan2l declaration... " >&6; }
60289 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
60290 if ${glibcxx_cv_func_atan2l_use+:} false; then :
60291 $as_echo_n "(cached) " >&6
60292 else
60295 ac_ext=cpp
60296 ac_cpp='$CXXCPP $CPPFLAGS'
60297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60302 /* end confdefs.h. */
60303 #include <math.h>
60305 main ()
60307 atan2l(0, 0);
60309 return 0;
60311 _ACEOF
60312 if ac_fn_cxx_try_compile "$LINENO"; then :
60313 glibcxx_cv_func_atan2l_use=yes
60314 else
60315 glibcxx_cv_func_atan2l_use=no
60317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60318 ac_ext=c
60319 ac_cpp='$CPP $CPPFLAGS'
60320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
60329 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
60331 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
60332 for ac_func in atan2l
60333 do :
60334 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
60335 if test "x$ac_cv_func_atan2l" = xyes; then :
60336 cat >>confdefs.h <<_ACEOF
60337 #define HAVE_ATAN2L 1
60338 _ACEOF
60341 done
60343 else
60345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
60346 $as_echo_n "checking for _atan2l declaration... " >&6; }
60347 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
60348 if ${glibcxx_cv_func__atan2l_use+:} false; then :
60349 $as_echo_n "(cached) " >&6
60350 else
60353 ac_ext=cpp
60354 ac_cpp='$CXXCPP $CPPFLAGS'
60355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60360 /* end confdefs.h. */
60361 #include <math.h>
60363 main ()
60365 _atan2l(0, 0);
60367 return 0;
60369 _ACEOF
60370 if ac_fn_cxx_try_compile "$LINENO"; then :
60371 glibcxx_cv_func__atan2l_use=yes
60372 else
60373 glibcxx_cv_func__atan2l_use=no
60375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60376 ac_ext=c
60377 ac_cpp='$CPP $CPPFLAGS'
60378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
60387 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
60389 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
60390 for ac_func in _atan2l
60391 do :
60392 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
60393 if test "x$ac_cv_func__atan2l" = xyes; then :
60394 cat >>confdefs.h <<_ACEOF
60395 #define HAVE__ATAN2L 1
60396 _ACEOF
60399 done
60408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
60409 $as_echo_n "checking for expl declaration... " >&6; }
60410 if test x${glibcxx_cv_func_expl_use+set} != xset; then
60411 if ${glibcxx_cv_func_expl_use+:} false; then :
60412 $as_echo_n "(cached) " >&6
60413 else
60416 ac_ext=cpp
60417 ac_cpp='$CXXCPP $CPPFLAGS'
60418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60423 /* end confdefs.h. */
60424 #include <math.h>
60425 #ifdef HAVE_IEEEFP_H
60426 #include <ieeefp.h>
60427 #endif
60430 main ()
60432 expl(0);
60434 return 0;
60436 _ACEOF
60437 if ac_fn_cxx_try_compile "$LINENO"; then :
60438 glibcxx_cv_func_expl_use=yes
60439 else
60440 glibcxx_cv_func_expl_use=no
60442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60443 ac_ext=c
60444 ac_cpp='$CPP $CPPFLAGS'
60445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
60454 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
60456 if test x$glibcxx_cv_func_expl_use = x"yes"; then
60457 for ac_func in expl
60458 do :
60459 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
60460 if test "x$ac_cv_func_expl" = xyes; then :
60461 cat >>confdefs.h <<_ACEOF
60462 #define HAVE_EXPL 1
60463 _ACEOF
60466 done
60468 else
60470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
60471 $as_echo_n "checking for _expl declaration... " >&6; }
60472 if test x${glibcxx_cv_func__expl_use+set} != xset; then
60473 if ${glibcxx_cv_func__expl_use+:} false; then :
60474 $as_echo_n "(cached) " >&6
60475 else
60478 ac_ext=cpp
60479 ac_cpp='$CXXCPP $CPPFLAGS'
60480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60485 /* end confdefs.h. */
60486 #include <math.h>
60487 #ifdef HAVE_IEEEFP_H
60488 #include <ieeefp.h>
60489 #endif
60492 main ()
60494 _expl(0);
60496 return 0;
60498 _ACEOF
60499 if ac_fn_cxx_try_compile "$LINENO"; then :
60500 glibcxx_cv_func__expl_use=yes
60501 else
60502 glibcxx_cv_func__expl_use=no
60504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60505 ac_ext=c
60506 ac_cpp='$CPP $CPPFLAGS'
60507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
60516 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
60518 if test x$glibcxx_cv_func__expl_use = x"yes"; then
60519 for ac_func in _expl
60520 do :
60521 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
60522 if test "x$ac_cv_func__expl" = xyes; then :
60523 cat >>confdefs.h <<_ACEOF
60524 #define HAVE__EXPL 1
60525 _ACEOF
60528 done
60537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
60538 $as_echo_n "checking for fabsl declaration... " >&6; }
60539 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
60540 if ${glibcxx_cv_func_fabsl_use+:} false; then :
60541 $as_echo_n "(cached) " >&6
60542 else
60545 ac_ext=cpp
60546 ac_cpp='$CXXCPP $CPPFLAGS'
60547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60552 /* end confdefs.h. */
60553 #include <math.h>
60554 #ifdef HAVE_IEEEFP_H
60555 #include <ieeefp.h>
60556 #endif
60559 main ()
60561 fabsl(0);
60563 return 0;
60565 _ACEOF
60566 if ac_fn_cxx_try_compile "$LINENO"; then :
60567 glibcxx_cv_func_fabsl_use=yes
60568 else
60569 glibcxx_cv_func_fabsl_use=no
60571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60572 ac_ext=c
60573 ac_cpp='$CPP $CPPFLAGS'
60574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
60583 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
60585 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
60586 for ac_func in fabsl
60587 do :
60588 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
60589 if test "x$ac_cv_func_fabsl" = xyes; then :
60590 cat >>confdefs.h <<_ACEOF
60591 #define HAVE_FABSL 1
60592 _ACEOF
60595 done
60597 else
60599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
60600 $as_echo_n "checking for _fabsl declaration... " >&6; }
60601 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
60602 if ${glibcxx_cv_func__fabsl_use+:} false; then :
60603 $as_echo_n "(cached) " >&6
60604 else
60607 ac_ext=cpp
60608 ac_cpp='$CXXCPP $CPPFLAGS'
60609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60614 /* end confdefs.h. */
60615 #include <math.h>
60616 #ifdef HAVE_IEEEFP_H
60617 #include <ieeefp.h>
60618 #endif
60621 main ()
60623 _fabsl(0);
60625 return 0;
60627 _ACEOF
60628 if ac_fn_cxx_try_compile "$LINENO"; then :
60629 glibcxx_cv_func__fabsl_use=yes
60630 else
60631 glibcxx_cv_func__fabsl_use=no
60633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60634 ac_ext=c
60635 ac_cpp='$CPP $CPPFLAGS'
60636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
60645 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
60647 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
60648 for ac_func in _fabsl
60649 do :
60650 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
60651 if test "x$ac_cv_func__fabsl" = xyes; then :
60652 cat >>confdefs.h <<_ACEOF
60653 #define HAVE__FABSL 1
60654 _ACEOF
60657 done
60666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
60667 $as_echo_n "checking for fmodl declaration... " >&6; }
60668 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
60669 if ${glibcxx_cv_func_fmodl_use+:} false; then :
60670 $as_echo_n "(cached) " >&6
60671 else
60674 ac_ext=cpp
60675 ac_cpp='$CXXCPP $CPPFLAGS'
60676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60681 /* end confdefs.h. */
60682 #include <math.h>
60684 main ()
60686 fmodl(0, 0);
60688 return 0;
60690 _ACEOF
60691 if ac_fn_cxx_try_compile "$LINENO"; then :
60692 glibcxx_cv_func_fmodl_use=yes
60693 else
60694 glibcxx_cv_func_fmodl_use=no
60696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60697 ac_ext=c
60698 ac_cpp='$CPP $CPPFLAGS'
60699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
60708 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
60710 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
60711 for ac_func in fmodl
60712 do :
60713 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
60714 if test "x$ac_cv_func_fmodl" = xyes; then :
60715 cat >>confdefs.h <<_ACEOF
60716 #define HAVE_FMODL 1
60717 _ACEOF
60720 done
60722 else
60724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
60725 $as_echo_n "checking for _fmodl declaration... " >&6; }
60726 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
60727 if ${glibcxx_cv_func__fmodl_use+:} false; then :
60728 $as_echo_n "(cached) " >&6
60729 else
60732 ac_ext=cpp
60733 ac_cpp='$CXXCPP $CPPFLAGS'
60734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60739 /* end confdefs.h. */
60740 #include <math.h>
60742 main ()
60744 _fmodl(0, 0);
60746 return 0;
60748 _ACEOF
60749 if ac_fn_cxx_try_compile "$LINENO"; then :
60750 glibcxx_cv_func__fmodl_use=yes
60751 else
60752 glibcxx_cv_func__fmodl_use=no
60754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60755 ac_ext=c
60756 ac_cpp='$CPP $CPPFLAGS'
60757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
60766 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
60768 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
60769 for ac_func in _fmodl
60770 do :
60771 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
60772 if test "x$ac_cv_func__fmodl" = xyes; then :
60773 cat >>confdefs.h <<_ACEOF
60774 #define HAVE__FMODL 1
60775 _ACEOF
60778 done
60787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
60788 $as_echo_n "checking for frexpl declaration... " >&6; }
60789 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
60790 if ${glibcxx_cv_func_frexpl_use+:} false; then :
60791 $as_echo_n "(cached) " >&6
60792 else
60795 ac_ext=cpp
60796 ac_cpp='$CXXCPP $CPPFLAGS'
60797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60802 /* end confdefs.h. */
60803 #include <math.h>
60805 main ()
60807 frexpl(0, 0);
60809 return 0;
60811 _ACEOF
60812 if ac_fn_cxx_try_compile "$LINENO"; then :
60813 glibcxx_cv_func_frexpl_use=yes
60814 else
60815 glibcxx_cv_func_frexpl_use=no
60817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60818 ac_ext=c
60819 ac_cpp='$CPP $CPPFLAGS'
60820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
60829 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
60831 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
60832 for ac_func in frexpl
60833 do :
60834 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
60835 if test "x$ac_cv_func_frexpl" = xyes; then :
60836 cat >>confdefs.h <<_ACEOF
60837 #define HAVE_FREXPL 1
60838 _ACEOF
60841 done
60843 else
60845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
60846 $as_echo_n "checking for _frexpl declaration... " >&6; }
60847 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
60848 if ${glibcxx_cv_func__frexpl_use+:} false; then :
60849 $as_echo_n "(cached) " >&6
60850 else
60853 ac_ext=cpp
60854 ac_cpp='$CXXCPP $CPPFLAGS'
60855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60860 /* end confdefs.h. */
60861 #include <math.h>
60863 main ()
60865 _frexpl(0, 0);
60867 return 0;
60869 _ACEOF
60870 if ac_fn_cxx_try_compile "$LINENO"; then :
60871 glibcxx_cv_func__frexpl_use=yes
60872 else
60873 glibcxx_cv_func__frexpl_use=no
60875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60876 ac_ext=c
60877 ac_cpp='$CPP $CPPFLAGS'
60878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
60887 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
60889 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
60890 for ac_func in _frexpl
60891 do :
60892 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
60893 if test "x$ac_cv_func__frexpl" = xyes; then :
60894 cat >>confdefs.h <<_ACEOF
60895 #define HAVE__FREXPL 1
60896 _ACEOF
60899 done
60908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
60909 $as_echo_n "checking for hypotl declaration... " >&6; }
60910 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
60911 if ${glibcxx_cv_func_hypotl_use+:} false; then :
60912 $as_echo_n "(cached) " >&6
60913 else
60916 ac_ext=cpp
60917 ac_cpp='$CXXCPP $CPPFLAGS'
60918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60923 /* end confdefs.h. */
60924 #include <math.h>
60926 main ()
60928 hypotl(0, 0);
60930 return 0;
60932 _ACEOF
60933 if ac_fn_cxx_try_compile "$LINENO"; then :
60934 glibcxx_cv_func_hypotl_use=yes
60935 else
60936 glibcxx_cv_func_hypotl_use=no
60938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60939 ac_ext=c
60940 ac_cpp='$CPP $CPPFLAGS'
60941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
60950 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
60952 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
60953 for ac_func in hypotl
60954 do :
60955 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
60956 if test "x$ac_cv_func_hypotl" = xyes; then :
60957 cat >>confdefs.h <<_ACEOF
60958 #define HAVE_HYPOTL 1
60959 _ACEOF
60962 done
60964 else
60966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
60967 $as_echo_n "checking for _hypotl declaration... " >&6; }
60968 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
60969 if ${glibcxx_cv_func__hypotl_use+:} false; then :
60970 $as_echo_n "(cached) " >&6
60971 else
60974 ac_ext=cpp
60975 ac_cpp='$CXXCPP $CPPFLAGS'
60976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60981 /* end confdefs.h. */
60982 #include <math.h>
60984 main ()
60986 _hypotl(0, 0);
60988 return 0;
60990 _ACEOF
60991 if ac_fn_cxx_try_compile "$LINENO"; then :
60992 glibcxx_cv_func__hypotl_use=yes
60993 else
60994 glibcxx_cv_func__hypotl_use=no
60996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60997 ac_ext=c
60998 ac_cpp='$CPP $CPPFLAGS'
60999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
61008 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
61010 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
61011 for ac_func in _hypotl
61012 do :
61013 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
61014 if test "x$ac_cv_func__hypotl" = xyes; then :
61015 cat >>confdefs.h <<_ACEOF
61016 #define HAVE__HYPOTL 1
61017 _ACEOF
61020 done
61029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
61030 $as_echo_n "checking for ldexpl declaration... " >&6; }
61031 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
61032 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
61033 $as_echo_n "(cached) " >&6
61034 else
61037 ac_ext=cpp
61038 ac_cpp='$CXXCPP $CPPFLAGS'
61039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61044 /* end confdefs.h. */
61045 #include <math.h>
61047 main ()
61049 ldexpl(0, 0);
61051 return 0;
61053 _ACEOF
61054 if ac_fn_cxx_try_compile "$LINENO"; then :
61055 glibcxx_cv_func_ldexpl_use=yes
61056 else
61057 glibcxx_cv_func_ldexpl_use=no
61059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61060 ac_ext=c
61061 ac_cpp='$CPP $CPPFLAGS'
61062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
61071 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
61073 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
61074 for ac_func in ldexpl
61075 do :
61076 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
61077 if test "x$ac_cv_func_ldexpl" = xyes; then :
61078 cat >>confdefs.h <<_ACEOF
61079 #define HAVE_LDEXPL 1
61080 _ACEOF
61083 done
61085 else
61087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
61088 $as_echo_n "checking for _ldexpl declaration... " >&6; }
61089 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
61090 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
61091 $as_echo_n "(cached) " >&6
61092 else
61095 ac_ext=cpp
61096 ac_cpp='$CXXCPP $CPPFLAGS'
61097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61102 /* end confdefs.h. */
61103 #include <math.h>
61105 main ()
61107 _ldexpl(0, 0);
61109 return 0;
61111 _ACEOF
61112 if ac_fn_cxx_try_compile "$LINENO"; then :
61113 glibcxx_cv_func__ldexpl_use=yes
61114 else
61115 glibcxx_cv_func__ldexpl_use=no
61117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61118 ac_ext=c
61119 ac_cpp='$CPP $CPPFLAGS'
61120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
61129 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
61131 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
61132 for ac_func in _ldexpl
61133 do :
61134 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
61135 if test "x$ac_cv_func__ldexpl" = xyes; then :
61136 cat >>confdefs.h <<_ACEOF
61137 #define HAVE__LDEXPL 1
61138 _ACEOF
61141 done
61150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
61151 $as_echo_n "checking for logl declaration... " >&6; }
61152 if test x${glibcxx_cv_func_logl_use+set} != xset; then
61153 if ${glibcxx_cv_func_logl_use+:} false; then :
61154 $as_echo_n "(cached) " >&6
61155 else
61158 ac_ext=cpp
61159 ac_cpp='$CXXCPP $CPPFLAGS'
61160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61165 /* end confdefs.h. */
61166 #include <math.h>
61167 #ifdef HAVE_IEEEFP_H
61168 #include <ieeefp.h>
61169 #endif
61172 main ()
61174 logl(0);
61176 return 0;
61178 _ACEOF
61179 if ac_fn_cxx_try_compile "$LINENO"; then :
61180 glibcxx_cv_func_logl_use=yes
61181 else
61182 glibcxx_cv_func_logl_use=no
61184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61185 ac_ext=c
61186 ac_cpp='$CPP $CPPFLAGS'
61187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
61196 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
61198 if test x$glibcxx_cv_func_logl_use = x"yes"; then
61199 for ac_func in logl
61200 do :
61201 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
61202 if test "x$ac_cv_func_logl" = xyes; then :
61203 cat >>confdefs.h <<_ACEOF
61204 #define HAVE_LOGL 1
61205 _ACEOF
61208 done
61210 else
61212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
61213 $as_echo_n "checking for _logl declaration... " >&6; }
61214 if test x${glibcxx_cv_func__logl_use+set} != xset; then
61215 if ${glibcxx_cv_func__logl_use+:} false; then :
61216 $as_echo_n "(cached) " >&6
61217 else
61220 ac_ext=cpp
61221 ac_cpp='$CXXCPP $CPPFLAGS'
61222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61227 /* end confdefs.h. */
61228 #include <math.h>
61229 #ifdef HAVE_IEEEFP_H
61230 #include <ieeefp.h>
61231 #endif
61234 main ()
61236 _logl(0);
61238 return 0;
61240 _ACEOF
61241 if ac_fn_cxx_try_compile "$LINENO"; then :
61242 glibcxx_cv_func__logl_use=yes
61243 else
61244 glibcxx_cv_func__logl_use=no
61246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61247 ac_ext=c
61248 ac_cpp='$CPP $CPPFLAGS'
61249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
61258 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
61260 if test x$glibcxx_cv_func__logl_use = x"yes"; then
61261 for ac_func in _logl
61262 do :
61263 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
61264 if test "x$ac_cv_func__logl" = xyes; then :
61265 cat >>confdefs.h <<_ACEOF
61266 #define HAVE__LOGL 1
61267 _ACEOF
61270 done
61279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
61280 $as_echo_n "checking for log10l declaration... " >&6; }
61281 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
61282 if ${glibcxx_cv_func_log10l_use+:} false; then :
61283 $as_echo_n "(cached) " >&6
61284 else
61287 ac_ext=cpp
61288 ac_cpp='$CXXCPP $CPPFLAGS'
61289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61294 /* end confdefs.h. */
61295 #include <math.h>
61296 #ifdef HAVE_IEEEFP_H
61297 #include <ieeefp.h>
61298 #endif
61301 main ()
61303 log10l(0);
61305 return 0;
61307 _ACEOF
61308 if ac_fn_cxx_try_compile "$LINENO"; then :
61309 glibcxx_cv_func_log10l_use=yes
61310 else
61311 glibcxx_cv_func_log10l_use=no
61313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61314 ac_ext=c
61315 ac_cpp='$CPP $CPPFLAGS'
61316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
61325 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
61327 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
61328 for ac_func in log10l
61329 do :
61330 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
61331 if test "x$ac_cv_func_log10l" = xyes; then :
61332 cat >>confdefs.h <<_ACEOF
61333 #define HAVE_LOG10L 1
61334 _ACEOF
61337 done
61339 else
61341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
61342 $as_echo_n "checking for _log10l declaration... " >&6; }
61343 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
61344 if ${glibcxx_cv_func__log10l_use+:} false; then :
61345 $as_echo_n "(cached) " >&6
61346 else
61349 ac_ext=cpp
61350 ac_cpp='$CXXCPP $CPPFLAGS'
61351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61356 /* end confdefs.h. */
61357 #include <math.h>
61358 #ifdef HAVE_IEEEFP_H
61359 #include <ieeefp.h>
61360 #endif
61363 main ()
61365 _log10l(0);
61367 return 0;
61369 _ACEOF
61370 if ac_fn_cxx_try_compile "$LINENO"; then :
61371 glibcxx_cv_func__log10l_use=yes
61372 else
61373 glibcxx_cv_func__log10l_use=no
61375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61376 ac_ext=c
61377 ac_cpp='$CPP $CPPFLAGS'
61378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
61387 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
61389 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
61390 for ac_func in _log10l
61391 do :
61392 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
61393 if test "x$ac_cv_func__log10l" = xyes; then :
61394 cat >>confdefs.h <<_ACEOF
61395 #define HAVE__LOG10L 1
61396 _ACEOF
61399 done
61408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
61409 $as_echo_n "checking for modfl declaration... " >&6; }
61410 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
61411 if ${glibcxx_cv_func_modfl_use+:} false; then :
61412 $as_echo_n "(cached) " >&6
61413 else
61416 ac_ext=cpp
61417 ac_cpp='$CXXCPP $CPPFLAGS'
61418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61423 /* end confdefs.h. */
61424 #include <math.h>
61426 main ()
61428 modfl(0, 0);
61430 return 0;
61432 _ACEOF
61433 if ac_fn_cxx_try_compile "$LINENO"; then :
61434 glibcxx_cv_func_modfl_use=yes
61435 else
61436 glibcxx_cv_func_modfl_use=no
61438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61439 ac_ext=c
61440 ac_cpp='$CPP $CPPFLAGS'
61441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
61450 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
61452 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
61453 for ac_func in modfl
61454 do :
61455 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
61456 if test "x$ac_cv_func_modfl" = xyes; then :
61457 cat >>confdefs.h <<_ACEOF
61458 #define HAVE_MODFL 1
61459 _ACEOF
61462 done
61464 else
61466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
61467 $as_echo_n "checking for _modfl declaration... " >&6; }
61468 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
61469 if ${glibcxx_cv_func__modfl_use+:} false; then :
61470 $as_echo_n "(cached) " >&6
61471 else
61474 ac_ext=cpp
61475 ac_cpp='$CXXCPP $CPPFLAGS'
61476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61481 /* end confdefs.h. */
61482 #include <math.h>
61484 main ()
61486 _modfl(0, 0);
61488 return 0;
61490 _ACEOF
61491 if ac_fn_cxx_try_compile "$LINENO"; then :
61492 glibcxx_cv_func__modfl_use=yes
61493 else
61494 glibcxx_cv_func__modfl_use=no
61496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61497 ac_ext=c
61498 ac_cpp='$CPP $CPPFLAGS'
61499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
61508 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
61510 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
61511 for ac_func in _modfl
61512 do :
61513 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
61514 if test "x$ac_cv_func__modfl" = xyes; then :
61515 cat >>confdefs.h <<_ACEOF
61516 #define HAVE__MODFL 1
61517 _ACEOF
61520 done
61529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
61530 $as_echo_n "checking for powl declaration... " >&6; }
61531 if test x${glibcxx_cv_func_powl_use+set} != xset; then
61532 if ${glibcxx_cv_func_powl_use+:} false; then :
61533 $as_echo_n "(cached) " >&6
61534 else
61537 ac_ext=cpp
61538 ac_cpp='$CXXCPP $CPPFLAGS'
61539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61544 /* end confdefs.h. */
61545 #include <math.h>
61547 main ()
61549 powl(0, 0);
61551 return 0;
61553 _ACEOF
61554 if ac_fn_cxx_try_compile "$LINENO"; then :
61555 glibcxx_cv_func_powl_use=yes
61556 else
61557 glibcxx_cv_func_powl_use=no
61559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61560 ac_ext=c
61561 ac_cpp='$CPP $CPPFLAGS'
61562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
61571 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
61573 if test x$glibcxx_cv_func_powl_use = x"yes"; then
61574 for ac_func in powl
61575 do :
61576 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
61577 if test "x$ac_cv_func_powl" = xyes; then :
61578 cat >>confdefs.h <<_ACEOF
61579 #define HAVE_POWL 1
61580 _ACEOF
61583 done
61585 else
61587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
61588 $as_echo_n "checking for _powl declaration... " >&6; }
61589 if test x${glibcxx_cv_func__powl_use+set} != xset; then
61590 if ${glibcxx_cv_func__powl_use+:} false; then :
61591 $as_echo_n "(cached) " >&6
61592 else
61595 ac_ext=cpp
61596 ac_cpp='$CXXCPP $CPPFLAGS'
61597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61602 /* end confdefs.h. */
61603 #include <math.h>
61605 main ()
61607 _powl(0, 0);
61609 return 0;
61611 _ACEOF
61612 if ac_fn_cxx_try_compile "$LINENO"; then :
61613 glibcxx_cv_func__powl_use=yes
61614 else
61615 glibcxx_cv_func__powl_use=no
61617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61618 ac_ext=c
61619 ac_cpp='$CPP $CPPFLAGS'
61620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
61629 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
61631 if test x$glibcxx_cv_func__powl_use = x"yes"; then
61632 for ac_func in _powl
61633 do :
61634 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
61635 if test "x$ac_cv_func__powl" = xyes; then :
61636 cat >>confdefs.h <<_ACEOF
61637 #define HAVE__POWL 1
61638 _ACEOF
61641 done
61650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
61651 $as_echo_n "checking for sqrtl declaration... " >&6; }
61652 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
61653 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
61654 $as_echo_n "(cached) " >&6
61655 else
61658 ac_ext=cpp
61659 ac_cpp='$CXXCPP $CPPFLAGS'
61660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61665 /* end confdefs.h. */
61666 #include <math.h>
61667 #ifdef HAVE_IEEEFP_H
61668 #include <ieeefp.h>
61669 #endif
61672 main ()
61674 sqrtl(0);
61676 return 0;
61678 _ACEOF
61679 if ac_fn_cxx_try_compile "$LINENO"; then :
61680 glibcxx_cv_func_sqrtl_use=yes
61681 else
61682 glibcxx_cv_func_sqrtl_use=no
61684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61685 ac_ext=c
61686 ac_cpp='$CPP $CPPFLAGS'
61687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
61696 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
61698 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
61699 for ac_func in sqrtl
61700 do :
61701 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
61702 if test "x$ac_cv_func_sqrtl" = xyes; then :
61703 cat >>confdefs.h <<_ACEOF
61704 #define HAVE_SQRTL 1
61705 _ACEOF
61708 done
61710 else
61712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
61713 $as_echo_n "checking for _sqrtl declaration... " >&6; }
61714 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
61715 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
61716 $as_echo_n "(cached) " >&6
61717 else
61720 ac_ext=cpp
61721 ac_cpp='$CXXCPP $CPPFLAGS'
61722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61727 /* end confdefs.h. */
61728 #include <math.h>
61729 #ifdef HAVE_IEEEFP_H
61730 #include <ieeefp.h>
61731 #endif
61734 main ()
61736 _sqrtl(0);
61738 return 0;
61740 _ACEOF
61741 if ac_fn_cxx_try_compile "$LINENO"; then :
61742 glibcxx_cv_func__sqrtl_use=yes
61743 else
61744 glibcxx_cv_func__sqrtl_use=no
61746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61747 ac_ext=c
61748 ac_cpp='$CPP $CPPFLAGS'
61749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
61758 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
61760 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
61761 for ac_func in _sqrtl
61762 do :
61763 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
61764 if test "x$ac_cv_func__sqrtl" = xyes; then :
61765 cat >>confdefs.h <<_ACEOF
61766 #define HAVE__SQRTL 1
61767 _ACEOF
61770 done
61779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
61780 $as_echo_n "checking for sincosl declaration... " >&6; }
61781 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
61782 if ${glibcxx_cv_func_sincosl_use+:} false; then :
61783 $as_echo_n "(cached) " >&6
61784 else
61787 ac_ext=cpp
61788 ac_cpp='$CXXCPP $CPPFLAGS'
61789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61794 /* end confdefs.h. */
61795 #include <math.h>
61797 main ()
61799 sincosl(0, 0, 0);
61801 return 0;
61803 _ACEOF
61804 if ac_fn_cxx_try_compile "$LINENO"; then :
61805 glibcxx_cv_func_sincosl_use=yes
61806 else
61807 glibcxx_cv_func_sincosl_use=no
61809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61810 ac_ext=c
61811 ac_cpp='$CPP $CPPFLAGS'
61812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
61821 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
61823 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
61824 for ac_func in sincosl
61825 do :
61826 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
61827 if test "x$ac_cv_func_sincosl" = xyes; then :
61828 cat >>confdefs.h <<_ACEOF
61829 #define HAVE_SINCOSL 1
61830 _ACEOF
61833 done
61835 else
61837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
61838 $as_echo_n "checking for _sincosl declaration... " >&6; }
61839 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
61840 if ${glibcxx_cv_func__sincosl_use+:} false; then :
61841 $as_echo_n "(cached) " >&6
61842 else
61845 ac_ext=cpp
61846 ac_cpp='$CXXCPP $CPPFLAGS'
61847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61852 /* end confdefs.h. */
61853 #include <math.h>
61855 main ()
61857 _sincosl(0, 0, 0);
61859 return 0;
61861 _ACEOF
61862 if ac_fn_cxx_try_compile "$LINENO"; then :
61863 glibcxx_cv_func__sincosl_use=yes
61864 else
61865 glibcxx_cv_func__sincosl_use=no
61867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61868 ac_ext=c
61869 ac_cpp='$CPP $CPPFLAGS'
61870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
61879 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
61881 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
61882 for ac_func in _sincosl
61883 do :
61884 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
61885 if test "x$ac_cv_func__sincosl" = xyes; then :
61886 cat >>confdefs.h <<_ACEOF
61887 #define HAVE__SINCOSL 1
61888 _ACEOF
61891 done
61900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
61901 $as_echo_n "checking for finitel declaration... " >&6; }
61902 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
61903 if ${glibcxx_cv_func_finitel_use+:} false; then :
61904 $as_echo_n "(cached) " >&6
61905 else
61908 ac_ext=cpp
61909 ac_cpp='$CXXCPP $CPPFLAGS'
61910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61915 /* end confdefs.h. */
61916 #include <math.h>
61917 #ifdef HAVE_IEEEFP_H
61918 #include <ieeefp.h>
61919 #endif
61922 main ()
61924 finitel(0);
61926 return 0;
61928 _ACEOF
61929 if ac_fn_cxx_try_compile "$LINENO"; then :
61930 glibcxx_cv_func_finitel_use=yes
61931 else
61932 glibcxx_cv_func_finitel_use=no
61934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61935 ac_ext=c
61936 ac_cpp='$CPP $CPPFLAGS'
61937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
61946 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
61948 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
61949 for ac_func in finitel
61950 do :
61951 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
61952 if test "x$ac_cv_func_finitel" = xyes; then :
61953 cat >>confdefs.h <<_ACEOF
61954 #define HAVE_FINITEL 1
61955 _ACEOF
61958 done
61960 else
61962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
61963 $as_echo_n "checking for _finitel declaration... " >&6; }
61964 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
61965 if ${glibcxx_cv_func__finitel_use+:} false; then :
61966 $as_echo_n "(cached) " >&6
61967 else
61970 ac_ext=cpp
61971 ac_cpp='$CXXCPP $CPPFLAGS'
61972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61977 /* end confdefs.h. */
61978 #include <math.h>
61979 #ifdef HAVE_IEEEFP_H
61980 #include <ieeefp.h>
61981 #endif
61984 main ()
61986 _finitel(0);
61988 return 0;
61990 _ACEOF
61991 if ac_fn_cxx_try_compile "$LINENO"; then :
61992 glibcxx_cv_func__finitel_use=yes
61993 else
61994 glibcxx_cv_func__finitel_use=no
61996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61997 ac_ext=c
61998 ac_cpp='$CPP $CPPFLAGS'
61999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
62008 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
62010 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
62011 for ac_func in _finitel
62012 do :
62013 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
62014 if test "x$ac_cv_func__finitel" = xyes; then :
62015 cat >>confdefs.h <<_ACEOF
62016 #define HAVE__FINITEL 1
62017 _ACEOF
62020 done
62028 LIBS="$ac_save_LIBS"
62029 CXXFLAGS="$ac_save_CXXFLAGS"
62032 ac_test_CXXFLAGS="${CXXFLAGS+set}"
62033 ac_save_CXXFLAGS="$CXXFLAGS"
62034 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
62037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
62038 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
62039 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
62040 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
62041 $as_echo_n "(cached) " >&6
62042 else
62045 ac_ext=cpp
62046 ac_cpp='$CXXCPP $CPPFLAGS'
62047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62052 /* end confdefs.h. */
62053 #include <stdlib.h>
62055 main ()
62057 at_quick_exit(0);
62059 return 0;
62061 _ACEOF
62062 if ac_fn_cxx_try_compile "$LINENO"; then :
62063 glibcxx_cv_func_at_quick_exit_use=yes
62064 else
62065 glibcxx_cv_func_at_quick_exit_use=no
62067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62068 ac_ext=c
62069 ac_cpp='$CPP $CPPFLAGS'
62070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
62079 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
62080 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
62081 for ac_func in at_quick_exit
62082 do :
62083 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
62084 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
62085 cat >>confdefs.h <<_ACEOF
62086 #define HAVE_AT_QUICK_EXIT 1
62087 _ACEOF
62090 done
62095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
62096 $as_echo_n "checking for quick_exit declaration... " >&6; }
62097 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
62098 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
62099 $as_echo_n "(cached) " >&6
62100 else
62103 ac_ext=cpp
62104 ac_cpp='$CXXCPP $CPPFLAGS'
62105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62110 /* end confdefs.h. */
62111 #include <stdlib.h>
62113 main ()
62115 quick_exit(0);
62117 return 0;
62119 _ACEOF
62120 if ac_fn_cxx_try_compile "$LINENO"; then :
62121 glibcxx_cv_func_quick_exit_use=yes
62122 else
62123 glibcxx_cv_func_quick_exit_use=no
62125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62126 ac_ext=c
62127 ac_cpp='$CPP $CPPFLAGS'
62128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
62137 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
62138 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
62139 for ac_func in quick_exit
62140 do :
62141 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
62142 if test "x$ac_cv_func_quick_exit" = xyes; then :
62143 cat >>confdefs.h <<_ACEOF
62144 #define HAVE_QUICK_EXIT 1
62145 _ACEOF
62148 done
62153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
62154 $as_echo_n "checking for strtold declaration... " >&6; }
62155 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
62156 if ${glibcxx_cv_func_strtold_use+:} false; then :
62157 $as_echo_n "(cached) " >&6
62158 else
62161 ac_ext=cpp
62162 ac_cpp='$CXXCPP $CPPFLAGS'
62163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62168 /* end confdefs.h. */
62169 #include <stdlib.h>
62171 main ()
62173 strtold(0, 0);
62175 return 0;
62177 _ACEOF
62178 if ac_fn_cxx_try_compile "$LINENO"; then :
62179 glibcxx_cv_func_strtold_use=yes
62180 else
62181 glibcxx_cv_func_strtold_use=no
62183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62184 ac_ext=c
62185 ac_cpp='$CPP $CPPFLAGS'
62186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
62195 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
62196 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
62197 for ac_func in strtold
62198 do :
62199 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
62200 if test "x$ac_cv_func_strtold" = xyes; then :
62201 cat >>confdefs.h <<_ACEOF
62202 #define HAVE_STRTOLD 1
62203 _ACEOF
62206 done
62213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
62214 $as_echo_n "checking for strtof declaration... " >&6; }
62215 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
62216 if ${glibcxx_cv_func_strtof_use+:} false; then :
62217 $as_echo_n "(cached) " >&6
62218 else
62221 ac_ext=cpp
62222 ac_cpp='$CXXCPP $CPPFLAGS'
62223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62228 /* end confdefs.h. */
62229 #include <stdlib.h>
62231 main ()
62233 strtof(0, 0);
62235 return 0;
62237 _ACEOF
62238 if ac_fn_cxx_try_compile "$LINENO"; then :
62239 glibcxx_cv_func_strtof_use=yes
62240 else
62241 glibcxx_cv_func_strtof_use=no
62243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62244 ac_ext=c
62245 ac_cpp='$CPP $CPPFLAGS'
62246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
62255 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
62256 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
62257 for ac_func in strtof
62258 do :
62259 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
62260 if test "x$ac_cv_func_strtof" = xyes; then :
62261 cat >>confdefs.h <<_ACEOF
62262 #define HAVE_STRTOF 1
62263 _ACEOF
62266 done
62273 CXXFLAGS="$ac_save_CXXFLAGS"
62275 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
62276 do :
62277 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62278 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62279 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62280 cat >>confdefs.h <<_ACEOF
62281 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62282 _ACEOF
62285 done
62287 for ac_func in _wfopen
62288 do :
62289 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
62290 if test "x$ac_cv_func__wfopen" = xyes; then :
62291 cat >>confdefs.h <<_ACEOF
62292 #define HAVE__WFOPEN 1
62293 _ACEOF
62296 done
62300 # Check whether --enable-tls was given.
62301 if test "${enable_tls+set}" = set; then :
62302 enableval=$enable_tls;
62303 case "$enableval" in
62304 yes|no) ;;
62305 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
62306 esac
62308 else
62309 enable_tls=yes
62313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
62314 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
62315 if ${gcc_cv_have_tls+:} false; then :
62316 $as_echo_n "(cached) " >&6
62317 else
62319 if test "$cross_compiling" = yes; then :
62320 if test x$gcc_no_link = xyes; then
62321 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
62323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62324 /* end confdefs.h. */
62325 __thread int a; int b; int main() { return a = b; }
62326 _ACEOF
62327 if ac_fn_c_try_link "$LINENO"; then :
62328 chktls_save_LDFLAGS="$LDFLAGS"
62329 case $host in
62330 *-*-linux* | -*-uclinuxfdpic*)
62331 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
62333 esac
62334 chktls_save_CFLAGS="$CFLAGS"
62335 CFLAGS="-fPIC $CFLAGS"
62336 if test x$gcc_no_link = xyes; then
62337 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
62339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62340 /* end confdefs.h. */
62341 int f() { return 0; }
62342 _ACEOF
62343 if ac_fn_c_try_link "$LINENO"; then :
62344 if test x$gcc_no_link = xyes; then
62345 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
62347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62348 /* end confdefs.h. */
62349 __thread int a; int b; int f() { return a = b; }
62350 _ACEOF
62351 if ac_fn_c_try_link "$LINENO"; then :
62352 gcc_cv_have_tls=yes
62353 else
62354 gcc_cv_have_tls=no
62356 rm -f core conftest.err conftest.$ac_objext \
62357 conftest$ac_exeext conftest.$ac_ext
62358 else
62359 gcc_cv_have_tls=yes
62361 rm -f core conftest.err conftest.$ac_objext \
62362 conftest$ac_exeext conftest.$ac_ext
62363 CFLAGS="$chktls_save_CFLAGS"
62364 LDFLAGS="$chktls_save_LDFLAGS"
62365 else
62366 gcc_cv_have_tls=no
62368 rm -f core conftest.err conftest.$ac_objext \
62369 conftest$ac_exeext conftest.$ac_ext
62372 else
62373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62374 /* end confdefs.h. */
62375 __thread int a; int b; int main() { return a = b; }
62376 _ACEOF
62377 if ac_fn_c_try_run "$LINENO"; then :
62378 chktls_save_LDFLAGS="$LDFLAGS"
62379 LDFLAGS="-static $LDFLAGS"
62380 if test x$gcc_no_link = xyes; then
62381 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
62383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62384 /* end confdefs.h. */
62385 int main() { return 0; }
62386 _ACEOF
62387 if ac_fn_c_try_link "$LINENO"; then :
62388 if test "$cross_compiling" = yes; then :
62389 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
62390 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
62391 as_fn_error $? "cannot run test program while cross compiling
62392 See \`config.log' for more details" "$LINENO" 5; }
62393 else
62394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62395 /* end confdefs.h. */
62396 __thread int a; int b; int main() { return a = b; }
62397 _ACEOF
62398 if ac_fn_c_try_run "$LINENO"; then :
62399 gcc_cv_have_tls=yes
62400 else
62401 gcc_cv_have_tls=no
62403 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
62404 conftest.$ac_objext conftest.beam conftest.$ac_ext
62407 else
62408 gcc_cv_have_tls=yes
62410 rm -f core conftest.err conftest.$ac_objext \
62411 conftest$ac_exeext conftest.$ac_ext
62412 LDFLAGS="$chktls_save_LDFLAGS"
62413 if test $gcc_cv_have_tls = yes; then
62414 chktls_save_CFLAGS="$CFLAGS"
62415 thread_CFLAGS=failed
62416 for flag in '' '-pthread' '-lpthread'; do
62417 CFLAGS="$flag $chktls_save_CFLAGS"
62418 if test x$gcc_no_link = xyes; then
62419 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
62421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62422 /* end confdefs.h. */
62423 #include <pthread.h>
62424 void *g(void *d) { return NULL; }
62426 main ()
62428 pthread_t t; pthread_create(&t,NULL,g,NULL);
62430 return 0;
62432 _ACEOF
62433 if ac_fn_c_try_link "$LINENO"; then :
62434 thread_CFLAGS="$flag"
62436 rm -f core conftest.err conftest.$ac_objext \
62437 conftest$ac_exeext conftest.$ac_ext
62438 if test "X$thread_CFLAGS" != Xfailed; then
62439 break
62441 done
62442 CFLAGS="$chktls_save_CFLAGS"
62443 if test "X$thread_CFLAGS" != Xfailed; then
62444 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
62445 if test "$cross_compiling" = yes; then :
62446 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
62447 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
62448 as_fn_error $? "cannot run test program while cross compiling
62449 See \`config.log' for more details" "$LINENO" 5; }
62450 else
62451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62452 /* end confdefs.h. */
62453 #include <pthread.h>
62454 __thread int a;
62455 static int *volatile a_in_other_thread;
62456 static void *
62457 thread_func (void *arg)
62459 a_in_other_thread = &a;
62460 return (void *)0;
62463 main ()
62465 pthread_t thread;
62466 void *thread_retval;
62467 int *volatile a_in_main_thread;
62468 a_in_main_thread = &a;
62469 if (pthread_create (&thread, (pthread_attr_t *)0,
62470 thread_func, (void *)0))
62471 return 0;
62472 if (pthread_join (thread, &thread_retval))
62473 return 0;
62474 return (a_in_other_thread == a_in_main_thread);
62476 return 0;
62478 _ACEOF
62479 if ac_fn_c_try_run "$LINENO"; then :
62480 gcc_cv_have_tls=yes
62481 else
62482 gcc_cv_have_tls=no
62484 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
62485 conftest.$ac_objext conftest.beam conftest.$ac_ext
62488 CFLAGS="$chktls_save_CFLAGS"
62491 else
62492 gcc_cv_have_tls=no
62494 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
62495 conftest.$ac_objext conftest.beam conftest.$ac_ext
62499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
62500 $as_echo "$gcc_cv_have_tls" >&6; }
62501 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
62503 $as_echo "#define HAVE_TLS 1" >>confdefs.h
62507 *-netbsd* | *-openbsd*)
62508 SECTION_FLAGS='-ffunction-sections -fdata-sections'
62511 # If we're not using GNU ld, then there's no point in even trying these
62512 # tests. Check for that first. We should have already tested for gld
62513 # by now (in libtool), but require it now just to be safe...
62514 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
62515 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
62519 # The name set by libtool depends on the version of libtool. Shame on us
62520 # for depending on an impl detail, but c'est la vie. Older versions used
62521 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
62522 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
62523 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
62524 # set (hence we're using an older libtool), then set it.
62525 if test x${with_gnu_ld+set} != xset; then
62526 if test x${ac_cv_prog_gnu_ld+set} != xset; then
62527 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
62528 with_gnu_ld=no
62529 else
62530 with_gnu_ld=$ac_cv_prog_gnu_ld
62534 # Start by getting the version number. I think the libtool test already
62535 # does some of this, but throws away the result.
62536 glibcxx_ld_is_gold=no
62537 glibcxx_ld_is_mold=no
62538 if test x"$with_gnu_ld" = x"yes"; then
62539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
62540 $as_echo_n "checking for ld version... " >&6; }
62542 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
62543 glibcxx_ld_is_gold=yes
62544 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
62545 glibcxx_ld_is_mold=yes
62547 ldver=`$LD --version 2>/dev/null |
62548 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
62550 glibcxx_gnu_ld_version=`echo $ldver | \
62551 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
62552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
62553 $as_echo "$glibcxx_gnu_ld_version" >&6; }
62556 # Set --gc-sections.
62557 glibcxx_have_gc_sections=no
62558 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
62559 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
62560 glibcxx_have_gc_sections=yes
62562 else
62563 glibcxx_gcsections_min_ld=21602
62564 if test x"$with_gnu_ld" = x"yes" &&
62565 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
62566 glibcxx_have_gc_sections=yes
62569 if test "$glibcxx_have_gc_sections" = "yes"; then
62570 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
62571 # NB: This flag only works reliably after 2.16.1. Configure tests
62572 # for this are difficult, so hard wire a value that should work.
62574 ac_test_CFLAGS="${CFLAGS+set}"
62575 ac_save_CFLAGS="$CFLAGS"
62576 CFLAGS='-Wl,--gc-sections'
62578 # Check for -Wl,--gc-sections
62579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
62580 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
62581 if test x$gcc_no_link = xyes; then
62582 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
62584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62585 /* end confdefs.h. */
62586 int one(void) { return 1; }
62587 int two(void) { return 2; }
62590 main ()
62592 two();
62594 return 0;
62596 _ACEOF
62597 if ac_fn_c_try_link "$LINENO"; then :
62598 ac_gcsections=yes
62599 else
62600 ac_gcsections=no
62602 rm -f core conftest.err conftest.$ac_objext \
62603 conftest$ac_exeext conftest.$ac_ext
62604 if test "$ac_gcsections" = "yes"; then
62605 rm -f conftest.c
62606 touch conftest.c
62607 if $CC -c conftest.c; then
62608 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
62609 grep "Warning: gc-sections option ignored" > /dev/null; then
62610 ac_gcsections=no
62613 rm -f conftest.c conftest.o conftest
62615 if test "$ac_gcsections" = "yes"; then
62616 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
62618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
62619 $as_echo "$ac_gcsections" >&6; }
62621 if test "$ac_test_CFLAGS" = set; then
62622 CFLAGS="$ac_save_CFLAGS"
62623 else
62624 # this is the suspicious part
62625 CFLAGS=''
62629 # Set -z,relro.
62630 # Note this is only for shared objects.
62631 ac_ld_relro=no
62632 if test x"$with_gnu_ld" = x"yes"; then
62633 # cygwin and mingw uses PE, which has no ELF relro support,
62634 # multi target ld may confuse configure machinery
62635 case "$host" in
62636 *-*-cygwin*)
62638 *-*-mingw*)
62641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
62642 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
62643 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
62644 if test -n "$cxx_z_relo"; then
62645 OPT_LDFLAGS="-Wl,-z,relro"
62646 ac_ld_relro=yes
62648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
62649 $as_echo "$ac_ld_relro" >&6; }
62650 esac
62653 # Set linker optimization flags.
62654 if test x"$with_gnu_ld" = x"yes"; then
62655 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
62661 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
62663 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
62665 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
62667 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
62669 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
62671 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
62673 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
62675 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
62677 if test x"long_double_math_on_this_cpu" = x"yes"; then
62678 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
62680 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
62682 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
62685 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
62686 do :
62687 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62688 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62689 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62690 cat >>confdefs.h <<_ACEOF
62691 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62692 _ACEOF
62695 done
62697 for ac_func in timespec_get
62698 do :
62699 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
62700 if test "x$ac_cv_func_timespec_get" = xyes; then :
62701 cat >>confdefs.h <<_ACEOF
62702 #define HAVE_TIMESPEC_GET 1
62703 _ACEOF
62706 done
62708 for ac_func in sockatmark
62709 do :
62710 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
62711 if test "x$ac_cv_func_sockatmark" = xyes; then :
62712 cat >>confdefs.h <<_ACEOF
62713 #define HAVE_SOCKATMARK 1
62714 _ACEOF
62717 done
62720 *-qnx6.1* | *-qnx6.2*)
62721 SECTION_FLAGS='-ffunction-sections -fdata-sections'
62724 # If we're not using GNU ld, then there's no point in even trying these
62725 # tests. Check for that first. We should have already tested for gld
62726 # by now (in libtool), but require it now just to be safe...
62727 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
62728 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
62732 # The name set by libtool depends on the version of libtool. Shame on us
62733 # for depending on an impl detail, but c'est la vie. Older versions used
62734 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
62735 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
62736 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
62737 # set (hence we're using an older libtool), then set it.
62738 if test x${with_gnu_ld+set} != xset; then
62739 if test x${ac_cv_prog_gnu_ld+set} != xset; then
62740 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
62741 with_gnu_ld=no
62742 else
62743 with_gnu_ld=$ac_cv_prog_gnu_ld
62747 # Start by getting the version number. I think the libtool test already
62748 # does some of this, but throws away the result.
62749 glibcxx_ld_is_gold=no
62750 glibcxx_ld_is_mold=no
62751 if test x"$with_gnu_ld" = x"yes"; then
62752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
62753 $as_echo_n "checking for ld version... " >&6; }
62755 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
62756 glibcxx_ld_is_gold=yes
62757 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
62758 glibcxx_ld_is_mold=yes
62760 ldver=`$LD --version 2>/dev/null |
62761 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
62763 glibcxx_gnu_ld_version=`echo $ldver | \
62764 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
62765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
62766 $as_echo "$glibcxx_gnu_ld_version" >&6; }
62769 # Set --gc-sections.
62770 glibcxx_have_gc_sections=no
62771 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
62772 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
62773 glibcxx_have_gc_sections=yes
62775 else
62776 glibcxx_gcsections_min_ld=21602
62777 if test x"$with_gnu_ld" = x"yes" &&
62778 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
62779 glibcxx_have_gc_sections=yes
62782 if test "$glibcxx_have_gc_sections" = "yes"; then
62783 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
62784 # NB: This flag only works reliably after 2.16.1. Configure tests
62785 # for this are difficult, so hard wire a value that should work.
62787 ac_test_CFLAGS="${CFLAGS+set}"
62788 ac_save_CFLAGS="$CFLAGS"
62789 CFLAGS='-Wl,--gc-sections'
62791 # Check for -Wl,--gc-sections
62792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
62793 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
62794 if test x$gcc_no_link = xyes; then
62795 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
62797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62798 /* end confdefs.h. */
62799 int one(void) { return 1; }
62800 int two(void) { return 2; }
62803 main ()
62805 two();
62807 return 0;
62809 _ACEOF
62810 if ac_fn_c_try_link "$LINENO"; then :
62811 ac_gcsections=yes
62812 else
62813 ac_gcsections=no
62815 rm -f core conftest.err conftest.$ac_objext \
62816 conftest$ac_exeext conftest.$ac_ext
62817 if test "$ac_gcsections" = "yes"; then
62818 rm -f conftest.c
62819 touch conftest.c
62820 if $CC -c conftest.c; then
62821 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
62822 grep "Warning: gc-sections option ignored" > /dev/null; then
62823 ac_gcsections=no
62826 rm -f conftest.c conftest.o conftest
62828 if test "$ac_gcsections" = "yes"; then
62829 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
62831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
62832 $as_echo "$ac_gcsections" >&6; }
62834 if test "$ac_test_CFLAGS" = set; then
62835 CFLAGS="$ac_save_CFLAGS"
62836 else
62837 # this is the suspicious part
62838 CFLAGS=''
62842 # Set -z,relro.
62843 # Note this is only for shared objects.
62844 ac_ld_relro=no
62845 if test x"$with_gnu_ld" = x"yes"; then
62846 # cygwin and mingw uses PE, which has no ELF relro support,
62847 # multi target ld may confuse configure machinery
62848 case "$host" in
62849 *-*-cygwin*)
62851 *-*-mingw*)
62854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
62855 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
62856 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
62857 if test -n "$cxx_z_relo"; then
62858 OPT_LDFLAGS="-Wl,-z,relro"
62859 ac_ld_relro=yes
62861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
62862 $as_echo "$ac_ld_relro" >&6; }
62863 esac
62866 # Set linker optimization flags.
62867 if test x"$with_gnu_ld" = x"yes"; then
62868 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
62874 $as_echo "#define HAVE_COSF 1" >>confdefs.h
62876 $as_echo "#define HAVE_COSL 1" >>confdefs.h
62878 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
62880 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
62882 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
62884 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
62886 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
62888 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
62890 $as_echo "#define HAVE_SINF 1" >>confdefs.h
62892 $as_echo "#define HAVE_SINL 1" >>confdefs.h
62894 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
62896 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
62899 *-tpf)
62900 SECTION_FLAGS='-ffunction-sections -fdata-sections'
62901 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
62903 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
62905 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
62907 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
62909 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
62911 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
62913 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
62915 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
62917 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
62919 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
62921 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
62923 if test x"long_double_math_on_this_cpu" = x"yes"; then
62924 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
62926 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
62928 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
62930 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
62934 *-*vms*)
62935 # Check for available headers.
62936 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
62938 ac_test_CXXFLAGS="${CXXFLAGS+set}"
62939 ac_save_CXXFLAGS="$CXXFLAGS"
62940 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
62942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
62943 $as_echo_n "checking for sin in -lm... " >&6; }
62944 if ${ac_cv_lib_m_sin+:} false; then :
62945 $as_echo_n "(cached) " >&6
62946 else
62947 ac_check_lib_save_LIBS=$LIBS
62948 LIBS="-lm $LIBS"
62949 if test x$gcc_no_link = xyes; then
62950 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
62952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62953 /* end confdefs.h. */
62955 /* Override any GCC internal prototype to avoid an error.
62956 Use char because int might match the return type of a GCC
62957 builtin and then its argument prototype would still apply. */
62958 #ifdef __cplusplus
62959 extern "C"
62960 #endif
62961 char sin ();
62963 main ()
62965 return sin ();
62967 return 0;
62969 _ACEOF
62970 if ac_fn_c_try_link "$LINENO"; then :
62971 ac_cv_lib_m_sin=yes
62972 else
62973 ac_cv_lib_m_sin=no
62975 rm -f core conftest.err conftest.$ac_objext \
62976 conftest$ac_exeext conftest.$ac_ext
62977 LIBS=$ac_check_lib_save_LIBS
62979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
62980 $as_echo "$ac_cv_lib_m_sin" >&6; }
62981 if test "x$ac_cv_lib_m_sin" = xyes; then :
62982 libm="-lm"
62985 ac_save_LIBS="$LIBS"
62986 LIBS="$LIBS $libm"
62990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
62991 $as_echo_n "checking for isinf declaration... " >&6; }
62992 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
62993 if ${glibcxx_cv_func_isinf_use+:} false; then :
62994 $as_echo_n "(cached) " >&6
62995 else
62998 ac_ext=cpp
62999 ac_cpp='$CXXCPP $CPPFLAGS'
63000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63005 /* end confdefs.h. */
63006 #include <math.h>
63007 #ifdef HAVE_IEEEFP_H
63008 #include <ieeefp.h>
63009 #endif
63012 main ()
63014 isinf(0);
63016 return 0;
63018 _ACEOF
63019 if ac_fn_cxx_try_compile "$LINENO"; then :
63020 glibcxx_cv_func_isinf_use=yes
63021 else
63022 glibcxx_cv_func_isinf_use=no
63024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63025 ac_ext=c
63026 ac_cpp='$CPP $CPPFLAGS'
63027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
63036 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
63038 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
63039 for ac_func in isinf
63040 do :
63041 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
63042 if test "x$ac_cv_func_isinf" = xyes; then :
63043 cat >>confdefs.h <<_ACEOF
63044 #define HAVE_ISINF 1
63045 _ACEOF
63048 done
63050 else
63052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
63053 $as_echo_n "checking for _isinf declaration... " >&6; }
63054 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
63055 if ${glibcxx_cv_func__isinf_use+:} false; then :
63056 $as_echo_n "(cached) " >&6
63057 else
63060 ac_ext=cpp
63061 ac_cpp='$CXXCPP $CPPFLAGS'
63062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63067 /* end confdefs.h. */
63068 #include <math.h>
63069 #ifdef HAVE_IEEEFP_H
63070 #include <ieeefp.h>
63071 #endif
63074 main ()
63076 _isinf(0);
63078 return 0;
63080 _ACEOF
63081 if ac_fn_cxx_try_compile "$LINENO"; then :
63082 glibcxx_cv_func__isinf_use=yes
63083 else
63084 glibcxx_cv_func__isinf_use=no
63086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63087 ac_ext=c
63088 ac_cpp='$CPP $CPPFLAGS'
63089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
63098 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
63100 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
63101 for ac_func in _isinf
63102 do :
63103 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
63104 if test "x$ac_cv_func__isinf" = xyes; then :
63105 cat >>confdefs.h <<_ACEOF
63106 #define HAVE__ISINF 1
63107 _ACEOF
63110 done
63119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
63120 $as_echo_n "checking for isnan declaration... " >&6; }
63121 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
63122 if ${glibcxx_cv_func_isnan_use+:} false; then :
63123 $as_echo_n "(cached) " >&6
63124 else
63127 ac_ext=cpp
63128 ac_cpp='$CXXCPP $CPPFLAGS'
63129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63134 /* end confdefs.h. */
63135 #include <math.h>
63136 #ifdef HAVE_IEEEFP_H
63137 #include <ieeefp.h>
63138 #endif
63141 main ()
63143 isnan(0);
63145 return 0;
63147 _ACEOF
63148 if ac_fn_cxx_try_compile "$LINENO"; then :
63149 glibcxx_cv_func_isnan_use=yes
63150 else
63151 glibcxx_cv_func_isnan_use=no
63153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63154 ac_ext=c
63155 ac_cpp='$CPP $CPPFLAGS'
63156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
63165 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
63167 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
63168 for ac_func in isnan
63169 do :
63170 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
63171 if test "x$ac_cv_func_isnan" = xyes; then :
63172 cat >>confdefs.h <<_ACEOF
63173 #define HAVE_ISNAN 1
63174 _ACEOF
63177 done
63179 else
63181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
63182 $as_echo_n "checking for _isnan declaration... " >&6; }
63183 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
63184 if ${glibcxx_cv_func__isnan_use+:} false; then :
63185 $as_echo_n "(cached) " >&6
63186 else
63189 ac_ext=cpp
63190 ac_cpp='$CXXCPP $CPPFLAGS'
63191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63196 /* end confdefs.h. */
63197 #include <math.h>
63198 #ifdef HAVE_IEEEFP_H
63199 #include <ieeefp.h>
63200 #endif
63203 main ()
63205 _isnan(0);
63207 return 0;
63209 _ACEOF
63210 if ac_fn_cxx_try_compile "$LINENO"; then :
63211 glibcxx_cv_func__isnan_use=yes
63212 else
63213 glibcxx_cv_func__isnan_use=no
63215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63216 ac_ext=c
63217 ac_cpp='$CPP $CPPFLAGS'
63218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
63227 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
63229 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
63230 for ac_func in _isnan
63231 do :
63232 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
63233 if test "x$ac_cv_func__isnan" = xyes; then :
63234 cat >>confdefs.h <<_ACEOF
63235 #define HAVE__ISNAN 1
63236 _ACEOF
63239 done
63248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
63249 $as_echo_n "checking for finite declaration... " >&6; }
63250 if test x${glibcxx_cv_func_finite_use+set} != xset; then
63251 if ${glibcxx_cv_func_finite_use+:} false; then :
63252 $as_echo_n "(cached) " >&6
63253 else
63256 ac_ext=cpp
63257 ac_cpp='$CXXCPP $CPPFLAGS'
63258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63263 /* end confdefs.h. */
63264 #include <math.h>
63265 #ifdef HAVE_IEEEFP_H
63266 #include <ieeefp.h>
63267 #endif
63270 main ()
63272 finite(0);
63274 return 0;
63276 _ACEOF
63277 if ac_fn_cxx_try_compile "$LINENO"; then :
63278 glibcxx_cv_func_finite_use=yes
63279 else
63280 glibcxx_cv_func_finite_use=no
63282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63283 ac_ext=c
63284 ac_cpp='$CPP $CPPFLAGS'
63285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
63294 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
63296 if test x$glibcxx_cv_func_finite_use = x"yes"; then
63297 for ac_func in finite
63298 do :
63299 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
63300 if test "x$ac_cv_func_finite" = xyes; then :
63301 cat >>confdefs.h <<_ACEOF
63302 #define HAVE_FINITE 1
63303 _ACEOF
63306 done
63308 else
63310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
63311 $as_echo_n "checking for _finite declaration... " >&6; }
63312 if test x${glibcxx_cv_func__finite_use+set} != xset; then
63313 if ${glibcxx_cv_func__finite_use+:} false; then :
63314 $as_echo_n "(cached) " >&6
63315 else
63318 ac_ext=cpp
63319 ac_cpp='$CXXCPP $CPPFLAGS'
63320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63325 /* end confdefs.h. */
63326 #include <math.h>
63327 #ifdef HAVE_IEEEFP_H
63328 #include <ieeefp.h>
63329 #endif
63332 main ()
63334 _finite(0);
63336 return 0;
63338 _ACEOF
63339 if ac_fn_cxx_try_compile "$LINENO"; then :
63340 glibcxx_cv_func__finite_use=yes
63341 else
63342 glibcxx_cv_func__finite_use=no
63344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63345 ac_ext=c
63346 ac_cpp='$CPP $CPPFLAGS'
63347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
63356 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
63358 if test x$glibcxx_cv_func__finite_use = x"yes"; then
63359 for ac_func in _finite
63360 do :
63361 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
63362 if test "x$ac_cv_func__finite" = xyes; then :
63363 cat >>confdefs.h <<_ACEOF
63364 #define HAVE__FINITE 1
63365 _ACEOF
63368 done
63377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
63378 $as_echo_n "checking for sincos declaration... " >&6; }
63379 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
63380 if ${glibcxx_cv_func_sincos_use+:} false; then :
63381 $as_echo_n "(cached) " >&6
63382 else
63385 ac_ext=cpp
63386 ac_cpp='$CXXCPP $CPPFLAGS'
63387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63392 /* end confdefs.h. */
63393 #include <math.h>
63395 main ()
63397 sincos(0, 0, 0);
63399 return 0;
63401 _ACEOF
63402 if ac_fn_cxx_try_compile "$LINENO"; then :
63403 glibcxx_cv_func_sincos_use=yes
63404 else
63405 glibcxx_cv_func_sincos_use=no
63407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63408 ac_ext=c
63409 ac_cpp='$CPP $CPPFLAGS'
63410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
63419 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
63421 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
63422 for ac_func in sincos
63423 do :
63424 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
63425 if test "x$ac_cv_func_sincos" = xyes; then :
63426 cat >>confdefs.h <<_ACEOF
63427 #define HAVE_SINCOS 1
63428 _ACEOF
63431 done
63433 else
63435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
63436 $as_echo_n "checking for _sincos declaration... " >&6; }
63437 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
63438 if ${glibcxx_cv_func__sincos_use+:} false; then :
63439 $as_echo_n "(cached) " >&6
63440 else
63443 ac_ext=cpp
63444 ac_cpp='$CXXCPP $CPPFLAGS'
63445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63450 /* end confdefs.h. */
63451 #include <math.h>
63453 main ()
63455 _sincos(0, 0, 0);
63457 return 0;
63459 _ACEOF
63460 if ac_fn_cxx_try_compile "$LINENO"; then :
63461 glibcxx_cv_func__sincos_use=yes
63462 else
63463 glibcxx_cv_func__sincos_use=no
63465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63466 ac_ext=c
63467 ac_cpp='$CPP $CPPFLAGS'
63468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
63477 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
63479 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
63480 for ac_func in _sincos
63481 do :
63482 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
63483 if test "x$ac_cv_func__sincos" = xyes; then :
63484 cat >>confdefs.h <<_ACEOF
63485 #define HAVE__SINCOS 1
63486 _ACEOF
63489 done
63498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
63499 $as_echo_n "checking for fpclass declaration... " >&6; }
63500 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
63501 if ${glibcxx_cv_func_fpclass_use+:} false; then :
63502 $as_echo_n "(cached) " >&6
63503 else
63506 ac_ext=cpp
63507 ac_cpp='$CXXCPP $CPPFLAGS'
63508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63513 /* end confdefs.h. */
63514 #include <math.h>
63515 #ifdef HAVE_IEEEFP_H
63516 #include <ieeefp.h>
63517 #endif
63520 main ()
63522 fpclass(0);
63524 return 0;
63526 _ACEOF
63527 if ac_fn_cxx_try_compile "$LINENO"; then :
63528 glibcxx_cv_func_fpclass_use=yes
63529 else
63530 glibcxx_cv_func_fpclass_use=no
63532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63533 ac_ext=c
63534 ac_cpp='$CPP $CPPFLAGS'
63535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
63544 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
63546 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
63547 for ac_func in fpclass
63548 do :
63549 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
63550 if test "x$ac_cv_func_fpclass" = xyes; then :
63551 cat >>confdefs.h <<_ACEOF
63552 #define HAVE_FPCLASS 1
63553 _ACEOF
63556 done
63558 else
63560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
63561 $as_echo_n "checking for _fpclass declaration... " >&6; }
63562 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
63563 if ${glibcxx_cv_func__fpclass_use+:} false; then :
63564 $as_echo_n "(cached) " >&6
63565 else
63568 ac_ext=cpp
63569 ac_cpp='$CXXCPP $CPPFLAGS'
63570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63575 /* end confdefs.h. */
63576 #include <math.h>
63577 #ifdef HAVE_IEEEFP_H
63578 #include <ieeefp.h>
63579 #endif
63582 main ()
63584 _fpclass(0);
63586 return 0;
63588 _ACEOF
63589 if ac_fn_cxx_try_compile "$LINENO"; then :
63590 glibcxx_cv_func__fpclass_use=yes
63591 else
63592 glibcxx_cv_func__fpclass_use=no
63594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63595 ac_ext=c
63596 ac_cpp='$CPP $CPPFLAGS'
63597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
63606 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
63608 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
63609 for ac_func in _fpclass
63610 do :
63611 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
63612 if test "x$ac_cv_func__fpclass" = xyes; then :
63613 cat >>confdefs.h <<_ACEOF
63614 #define HAVE__FPCLASS 1
63615 _ACEOF
63618 done
63627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
63628 $as_echo_n "checking for qfpclass declaration... " >&6; }
63629 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
63630 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
63631 $as_echo_n "(cached) " >&6
63632 else
63635 ac_ext=cpp
63636 ac_cpp='$CXXCPP $CPPFLAGS'
63637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63642 /* end confdefs.h. */
63643 #include <math.h>
63644 #ifdef HAVE_IEEEFP_H
63645 #include <ieeefp.h>
63646 #endif
63649 main ()
63651 qfpclass(0);
63653 return 0;
63655 _ACEOF
63656 if ac_fn_cxx_try_compile "$LINENO"; then :
63657 glibcxx_cv_func_qfpclass_use=yes
63658 else
63659 glibcxx_cv_func_qfpclass_use=no
63661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63662 ac_ext=c
63663 ac_cpp='$CPP $CPPFLAGS'
63664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
63673 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
63675 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
63676 for ac_func in qfpclass
63677 do :
63678 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
63679 if test "x$ac_cv_func_qfpclass" = xyes; then :
63680 cat >>confdefs.h <<_ACEOF
63681 #define HAVE_QFPCLASS 1
63682 _ACEOF
63685 done
63687 else
63689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
63690 $as_echo_n "checking for _qfpclass declaration... " >&6; }
63691 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
63692 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
63693 $as_echo_n "(cached) " >&6
63694 else
63697 ac_ext=cpp
63698 ac_cpp='$CXXCPP $CPPFLAGS'
63699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63704 /* end confdefs.h. */
63705 #include <math.h>
63706 #ifdef HAVE_IEEEFP_H
63707 #include <ieeefp.h>
63708 #endif
63711 main ()
63713 _qfpclass(0);
63715 return 0;
63717 _ACEOF
63718 if ac_fn_cxx_try_compile "$LINENO"; then :
63719 glibcxx_cv_func__qfpclass_use=yes
63720 else
63721 glibcxx_cv_func__qfpclass_use=no
63723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63724 ac_ext=c
63725 ac_cpp='$CPP $CPPFLAGS'
63726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
63735 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
63737 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
63738 for ac_func in _qfpclass
63739 do :
63740 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
63741 if test "x$ac_cv_func__qfpclass" = xyes; then :
63742 cat >>confdefs.h <<_ACEOF
63743 #define HAVE__QFPCLASS 1
63744 _ACEOF
63747 done
63756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
63757 $as_echo_n "checking for hypot declaration... " >&6; }
63758 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
63759 if ${glibcxx_cv_func_hypot_use+:} false; then :
63760 $as_echo_n "(cached) " >&6
63761 else
63764 ac_ext=cpp
63765 ac_cpp='$CXXCPP $CPPFLAGS'
63766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63771 /* end confdefs.h. */
63772 #include <math.h>
63774 main ()
63776 hypot(0, 0);
63778 return 0;
63780 _ACEOF
63781 if ac_fn_cxx_try_compile "$LINENO"; then :
63782 glibcxx_cv_func_hypot_use=yes
63783 else
63784 glibcxx_cv_func_hypot_use=no
63786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63787 ac_ext=c
63788 ac_cpp='$CPP $CPPFLAGS'
63789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
63798 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
63800 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
63801 for ac_func in hypot
63802 do :
63803 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
63804 if test "x$ac_cv_func_hypot" = xyes; then :
63805 cat >>confdefs.h <<_ACEOF
63806 #define HAVE_HYPOT 1
63807 _ACEOF
63810 done
63812 else
63814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
63815 $as_echo_n "checking for _hypot declaration... " >&6; }
63816 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
63817 if ${glibcxx_cv_func__hypot_use+:} false; then :
63818 $as_echo_n "(cached) " >&6
63819 else
63822 ac_ext=cpp
63823 ac_cpp='$CXXCPP $CPPFLAGS'
63824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63829 /* end confdefs.h. */
63830 #include <math.h>
63832 main ()
63834 _hypot(0, 0);
63836 return 0;
63838 _ACEOF
63839 if ac_fn_cxx_try_compile "$LINENO"; then :
63840 glibcxx_cv_func__hypot_use=yes
63841 else
63842 glibcxx_cv_func__hypot_use=no
63844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63845 ac_ext=c
63846 ac_cpp='$CPP $CPPFLAGS'
63847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
63856 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
63858 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
63859 for ac_func in _hypot
63860 do :
63861 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
63862 if test "x$ac_cv_func__hypot" = xyes; then :
63863 cat >>confdefs.h <<_ACEOF
63864 #define HAVE__HYPOT 1
63865 _ACEOF
63868 done
63877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
63878 $as_echo_n "checking for float trig functions... " >&6; }
63879 if ${glibcxx_cv_func_float_trig_use+:} false; then :
63880 $as_echo_n "(cached) " >&6
63881 else
63884 ac_ext=cpp
63885 ac_cpp='$CXXCPP $CPPFLAGS'
63886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63891 /* end confdefs.h. */
63892 #include <math.h>
63894 main ()
63896 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
63898 return 0;
63900 _ACEOF
63901 if ac_fn_cxx_try_compile "$LINENO"; then :
63902 glibcxx_cv_func_float_trig_use=yes
63903 else
63904 glibcxx_cv_func_float_trig_use=no
63906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63907 ac_ext=c
63908 ac_cpp='$CPP $CPPFLAGS'
63909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
63916 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
63917 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
63918 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
63919 do :
63920 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63921 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63922 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
63923 cat >>confdefs.h <<_ACEOF
63924 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63925 _ACEOF
63928 done
63930 else
63931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
63932 $as_echo_n "checking for _float trig functions... " >&6; }
63933 if ${glibcxx_cv_func__float_trig_use+:} false; then :
63934 $as_echo_n "(cached) " >&6
63935 else
63938 ac_ext=cpp
63939 ac_cpp='$CXXCPP $CPPFLAGS'
63940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63945 /* end confdefs.h. */
63946 #include <math.h>
63948 main ()
63950 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
63952 return 0;
63954 _ACEOF
63955 if ac_fn_cxx_try_compile "$LINENO"; then :
63956 glibcxx_cv_func__float_trig_use=yes
63957 else
63958 glibcxx_cv_func__float_trig_use=no
63960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63961 ac_ext=c
63962 ac_cpp='$CPP $CPPFLAGS'
63963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
63970 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
63971 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
63972 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
63973 do :
63974 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63975 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63976 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
63977 cat >>confdefs.h <<_ACEOF
63978 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63979 _ACEOF
63982 done
63991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
63992 $as_echo_n "checking for float round functions... " >&6; }
63993 if ${glibcxx_cv_func_float_round_use+:} false; then :
63994 $as_echo_n "(cached) " >&6
63995 else
63998 ac_ext=cpp
63999 ac_cpp='$CXXCPP $CPPFLAGS'
64000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64005 /* end confdefs.h. */
64006 #include <math.h>
64008 main ()
64010 ceilf (0); floorf (0);
64012 return 0;
64014 _ACEOF
64015 if ac_fn_cxx_try_compile "$LINENO"; then :
64016 glibcxx_cv_func_float_round_use=yes
64017 else
64018 glibcxx_cv_func_float_round_use=no
64020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64021 ac_ext=c
64022 ac_cpp='$CPP $CPPFLAGS'
64023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
64030 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
64031 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
64032 for ac_func in ceilf floorf
64033 do :
64034 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64035 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64036 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64037 cat >>confdefs.h <<_ACEOF
64038 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64039 _ACEOF
64042 done
64044 else
64045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
64046 $as_echo_n "checking for _float round functions... " >&6; }
64047 if ${glibcxx_cv_func__float_round_use+:} false; then :
64048 $as_echo_n "(cached) " >&6
64049 else
64052 ac_ext=cpp
64053 ac_cpp='$CXXCPP $CPPFLAGS'
64054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64059 /* end confdefs.h. */
64060 #include <math.h>
64062 main ()
64064 _ceilf (0); _floorf (0);
64066 return 0;
64068 _ACEOF
64069 if ac_fn_cxx_try_compile "$LINENO"; then :
64070 glibcxx_cv_func__float_round_use=yes
64071 else
64072 glibcxx_cv_func__float_round_use=no
64074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64075 ac_ext=c
64076 ac_cpp='$CPP $CPPFLAGS'
64077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
64084 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
64085 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
64086 for ac_func in _ceilf _floorf
64087 do :
64088 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64089 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64090 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64091 cat >>confdefs.h <<_ACEOF
64092 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64093 _ACEOF
64096 done
64106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
64107 $as_echo_n "checking for expf declaration... " >&6; }
64108 if test x${glibcxx_cv_func_expf_use+set} != xset; then
64109 if ${glibcxx_cv_func_expf_use+:} false; then :
64110 $as_echo_n "(cached) " >&6
64111 else
64114 ac_ext=cpp
64115 ac_cpp='$CXXCPP $CPPFLAGS'
64116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64121 /* end confdefs.h. */
64122 #include <math.h>
64123 #ifdef HAVE_IEEEFP_H
64124 #include <ieeefp.h>
64125 #endif
64128 main ()
64130 expf(0);
64132 return 0;
64134 _ACEOF
64135 if ac_fn_cxx_try_compile "$LINENO"; then :
64136 glibcxx_cv_func_expf_use=yes
64137 else
64138 glibcxx_cv_func_expf_use=no
64140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64141 ac_ext=c
64142 ac_cpp='$CPP $CPPFLAGS'
64143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
64152 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
64154 if test x$glibcxx_cv_func_expf_use = x"yes"; then
64155 for ac_func in expf
64156 do :
64157 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
64158 if test "x$ac_cv_func_expf" = xyes; then :
64159 cat >>confdefs.h <<_ACEOF
64160 #define HAVE_EXPF 1
64161 _ACEOF
64164 done
64166 else
64168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
64169 $as_echo_n "checking for _expf declaration... " >&6; }
64170 if test x${glibcxx_cv_func__expf_use+set} != xset; then
64171 if ${glibcxx_cv_func__expf_use+:} false; then :
64172 $as_echo_n "(cached) " >&6
64173 else
64176 ac_ext=cpp
64177 ac_cpp='$CXXCPP $CPPFLAGS'
64178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64183 /* end confdefs.h. */
64184 #include <math.h>
64185 #ifdef HAVE_IEEEFP_H
64186 #include <ieeefp.h>
64187 #endif
64190 main ()
64192 _expf(0);
64194 return 0;
64196 _ACEOF
64197 if ac_fn_cxx_try_compile "$LINENO"; then :
64198 glibcxx_cv_func__expf_use=yes
64199 else
64200 glibcxx_cv_func__expf_use=no
64202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64203 ac_ext=c
64204 ac_cpp='$CPP $CPPFLAGS'
64205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
64214 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
64216 if test x$glibcxx_cv_func__expf_use = x"yes"; then
64217 for ac_func in _expf
64218 do :
64219 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
64220 if test "x$ac_cv_func__expf" = xyes; then :
64221 cat >>confdefs.h <<_ACEOF
64222 #define HAVE__EXPF 1
64223 _ACEOF
64226 done
64235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
64236 $as_echo_n "checking for isnanf declaration... " >&6; }
64237 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
64238 if ${glibcxx_cv_func_isnanf_use+:} false; then :
64239 $as_echo_n "(cached) " >&6
64240 else
64243 ac_ext=cpp
64244 ac_cpp='$CXXCPP $CPPFLAGS'
64245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64250 /* end confdefs.h. */
64251 #include <math.h>
64252 #ifdef HAVE_IEEEFP_H
64253 #include <ieeefp.h>
64254 #endif
64257 main ()
64259 isnanf(0);
64261 return 0;
64263 _ACEOF
64264 if ac_fn_cxx_try_compile "$LINENO"; then :
64265 glibcxx_cv_func_isnanf_use=yes
64266 else
64267 glibcxx_cv_func_isnanf_use=no
64269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64270 ac_ext=c
64271 ac_cpp='$CPP $CPPFLAGS'
64272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
64281 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
64283 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
64284 for ac_func in isnanf
64285 do :
64286 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
64287 if test "x$ac_cv_func_isnanf" = xyes; then :
64288 cat >>confdefs.h <<_ACEOF
64289 #define HAVE_ISNANF 1
64290 _ACEOF
64293 done
64295 else
64297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
64298 $as_echo_n "checking for _isnanf declaration... " >&6; }
64299 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
64300 if ${glibcxx_cv_func__isnanf_use+:} false; then :
64301 $as_echo_n "(cached) " >&6
64302 else
64305 ac_ext=cpp
64306 ac_cpp='$CXXCPP $CPPFLAGS'
64307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64312 /* end confdefs.h. */
64313 #include <math.h>
64314 #ifdef HAVE_IEEEFP_H
64315 #include <ieeefp.h>
64316 #endif
64319 main ()
64321 _isnanf(0);
64323 return 0;
64325 _ACEOF
64326 if ac_fn_cxx_try_compile "$LINENO"; then :
64327 glibcxx_cv_func__isnanf_use=yes
64328 else
64329 glibcxx_cv_func__isnanf_use=no
64331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64332 ac_ext=c
64333 ac_cpp='$CPP $CPPFLAGS'
64334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
64343 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
64345 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
64346 for ac_func in _isnanf
64347 do :
64348 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
64349 if test "x$ac_cv_func__isnanf" = xyes; then :
64350 cat >>confdefs.h <<_ACEOF
64351 #define HAVE__ISNANF 1
64352 _ACEOF
64355 done
64364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
64365 $as_echo_n "checking for isinff declaration... " >&6; }
64366 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
64367 if ${glibcxx_cv_func_isinff_use+:} false; then :
64368 $as_echo_n "(cached) " >&6
64369 else
64372 ac_ext=cpp
64373 ac_cpp='$CXXCPP $CPPFLAGS'
64374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64379 /* end confdefs.h. */
64380 #include <math.h>
64381 #ifdef HAVE_IEEEFP_H
64382 #include <ieeefp.h>
64383 #endif
64386 main ()
64388 isinff(0);
64390 return 0;
64392 _ACEOF
64393 if ac_fn_cxx_try_compile "$LINENO"; then :
64394 glibcxx_cv_func_isinff_use=yes
64395 else
64396 glibcxx_cv_func_isinff_use=no
64398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64399 ac_ext=c
64400 ac_cpp='$CPP $CPPFLAGS'
64401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
64410 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
64412 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
64413 for ac_func in isinff
64414 do :
64415 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
64416 if test "x$ac_cv_func_isinff" = xyes; then :
64417 cat >>confdefs.h <<_ACEOF
64418 #define HAVE_ISINFF 1
64419 _ACEOF
64422 done
64424 else
64426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
64427 $as_echo_n "checking for _isinff declaration... " >&6; }
64428 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
64429 if ${glibcxx_cv_func__isinff_use+:} false; then :
64430 $as_echo_n "(cached) " >&6
64431 else
64434 ac_ext=cpp
64435 ac_cpp='$CXXCPP $CPPFLAGS'
64436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64441 /* end confdefs.h. */
64442 #include <math.h>
64443 #ifdef HAVE_IEEEFP_H
64444 #include <ieeefp.h>
64445 #endif
64448 main ()
64450 _isinff(0);
64452 return 0;
64454 _ACEOF
64455 if ac_fn_cxx_try_compile "$LINENO"; then :
64456 glibcxx_cv_func__isinff_use=yes
64457 else
64458 glibcxx_cv_func__isinff_use=no
64460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64461 ac_ext=c
64462 ac_cpp='$CPP $CPPFLAGS'
64463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
64472 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
64474 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
64475 for ac_func in _isinff
64476 do :
64477 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
64478 if test "x$ac_cv_func__isinff" = xyes; then :
64479 cat >>confdefs.h <<_ACEOF
64480 #define HAVE__ISINFF 1
64481 _ACEOF
64484 done
64493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
64494 $as_echo_n "checking for atan2f declaration... " >&6; }
64495 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
64496 if ${glibcxx_cv_func_atan2f_use+:} false; then :
64497 $as_echo_n "(cached) " >&6
64498 else
64501 ac_ext=cpp
64502 ac_cpp='$CXXCPP $CPPFLAGS'
64503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64508 /* end confdefs.h. */
64509 #include <math.h>
64511 main ()
64513 atan2f(0, 0);
64515 return 0;
64517 _ACEOF
64518 if ac_fn_cxx_try_compile "$LINENO"; then :
64519 glibcxx_cv_func_atan2f_use=yes
64520 else
64521 glibcxx_cv_func_atan2f_use=no
64523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64524 ac_ext=c
64525 ac_cpp='$CPP $CPPFLAGS'
64526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
64535 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
64537 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
64538 for ac_func in atan2f
64539 do :
64540 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
64541 if test "x$ac_cv_func_atan2f" = xyes; then :
64542 cat >>confdefs.h <<_ACEOF
64543 #define HAVE_ATAN2F 1
64544 _ACEOF
64547 done
64549 else
64551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
64552 $as_echo_n "checking for _atan2f declaration... " >&6; }
64553 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
64554 if ${glibcxx_cv_func__atan2f_use+:} false; then :
64555 $as_echo_n "(cached) " >&6
64556 else
64559 ac_ext=cpp
64560 ac_cpp='$CXXCPP $CPPFLAGS'
64561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64566 /* end confdefs.h. */
64567 #include <math.h>
64569 main ()
64571 _atan2f(0, 0);
64573 return 0;
64575 _ACEOF
64576 if ac_fn_cxx_try_compile "$LINENO"; then :
64577 glibcxx_cv_func__atan2f_use=yes
64578 else
64579 glibcxx_cv_func__atan2f_use=no
64581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64582 ac_ext=c
64583 ac_cpp='$CPP $CPPFLAGS'
64584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
64593 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
64595 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
64596 for ac_func in _atan2f
64597 do :
64598 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
64599 if test "x$ac_cv_func__atan2f" = xyes; then :
64600 cat >>confdefs.h <<_ACEOF
64601 #define HAVE__ATAN2F 1
64602 _ACEOF
64605 done
64614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
64615 $as_echo_n "checking for fabsf declaration... " >&6; }
64616 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
64617 if ${glibcxx_cv_func_fabsf_use+:} false; then :
64618 $as_echo_n "(cached) " >&6
64619 else
64622 ac_ext=cpp
64623 ac_cpp='$CXXCPP $CPPFLAGS'
64624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64629 /* end confdefs.h. */
64630 #include <math.h>
64631 #ifdef HAVE_IEEEFP_H
64632 #include <ieeefp.h>
64633 #endif
64636 main ()
64638 fabsf(0);
64640 return 0;
64642 _ACEOF
64643 if ac_fn_cxx_try_compile "$LINENO"; then :
64644 glibcxx_cv_func_fabsf_use=yes
64645 else
64646 glibcxx_cv_func_fabsf_use=no
64648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64649 ac_ext=c
64650 ac_cpp='$CPP $CPPFLAGS'
64651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
64660 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
64662 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
64663 for ac_func in fabsf
64664 do :
64665 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
64666 if test "x$ac_cv_func_fabsf" = xyes; then :
64667 cat >>confdefs.h <<_ACEOF
64668 #define HAVE_FABSF 1
64669 _ACEOF
64672 done
64674 else
64676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
64677 $as_echo_n "checking for _fabsf declaration... " >&6; }
64678 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
64679 if ${glibcxx_cv_func__fabsf_use+:} false; then :
64680 $as_echo_n "(cached) " >&6
64681 else
64684 ac_ext=cpp
64685 ac_cpp='$CXXCPP $CPPFLAGS'
64686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64691 /* end confdefs.h. */
64692 #include <math.h>
64693 #ifdef HAVE_IEEEFP_H
64694 #include <ieeefp.h>
64695 #endif
64698 main ()
64700 _fabsf(0);
64702 return 0;
64704 _ACEOF
64705 if ac_fn_cxx_try_compile "$LINENO"; then :
64706 glibcxx_cv_func__fabsf_use=yes
64707 else
64708 glibcxx_cv_func__fabsf_use=no
64710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64711 ac_ext=c
64712 ac_cpp='$CPP $CPPFLAGS'
64713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
64722 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
64724 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
64725 for ac_func in _fabsf
64726 do :
64727 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
64728 if test "x$ac_cv_func__fabsf" = xyes; then :
64729 cat >>confdefs.h <<_ACEOF
64730 #define HAVE__FABSF 1
64731 _ACEOF
64734 done
64743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
64744 $as_echo_n "checking for fmodf declaration... " >&6; }
64745 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
64746 if ${glibcxx_cv_func_fmodf_use+:} false; then :
64747 $as_echo_n "(cached) " >&6
64748 else
64751 ac_ext=cpp
64752 ac_cpp='$CXXCPP $CPPFLAGS'
64753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64758 /* end confdefs.h. */
64759 #include <math.h>
64761 main ()
64763 fmodf(0, 0);
64765 return 0;
64767 _ACEOF
64768 if ac_fn_cxx_try_compile "$LINENO"; then :
64769 glibcxx_cv_func_fmodf_use=yes
64770 else
64771 glibcxx_cv_func_fmodf_use=no
64773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64774 ac_ext=c
64775 ac_cpp='$CPP $CPPFLAGS'
64776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
64785 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
64787 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
64788 for ac_func in fmodf
64789 do :
64790 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
64791 if test "x$ac_cv_func_fmodf" = xyes; then :
64792 cat >>confdefs.h <<_ACEOF
64793 #define HAVE_FMODF 1
64794 _ACEOF
64797 done
64799 else
64801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
64802 $as_echo_n "checking for _fmodf declaration... " >&6; }
64803 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
64804 if ${glibcxx_cv_func__fmodf_use+:} false; then :
64805 $as_echo_n "(cached) " >&6
64806 else
64809 ac_ext=cpp
64810 ac_cpp='$CXXCPP $CPPFLAGS'
64811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64816 /* end confdefs.h. */
64817 #include <math.h>
64819 main ()
64821 _fmodf(0, 0);
64823 return 0;
64825 _ACEOF
64826 if ac_fn_cxx_try_compile "$LINENO"; then :
64827 glibcxx_cv_func__fmodf_use=yes
64828 else
64829 glibcxx_cv_func__fmodf_use=no
64831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64832 ac_ext=c
64833 ac_cpp='$CPP $CPPFLAGS'
64834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
64843 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
64845 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
64846 for ac_func in _fmodf
64847 do :
64848 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
64849 if test "x$ac_cv_func__fmodf" = xyes; then :
64850 cat >>confdefs.h <<_ACEOF
64851 #define HAVE__FMODF 1
64852 _ACEOF
64855 done
64864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
64865 $as_echo_n "checking for frexpf declaration... " >&6; }
64866 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
64867 if ${glibcxx_cv_func_frexpf_use+:} false; then :
64868 $as_echo_n "(cached) " >&6
64869 else
64872 ac_ext=cpp
64873 ac_cpp='$CXXCPP $CPPFLAGS'
64874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64879 /* end confdefs.h. */
64880 #include <math.h>
64882 main ()
64884 frexpf(0, 0);
64886 return 0;
64888 _ACEOF
64889 if ac_fn_cxx_try_compile "$LINENO"; then :
64890 glibcxx_cv_func_frexpf_use=yes
64891 else
64892 glibcxx_cv_func_frexpf_use=no
64894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64895 ac_ext=c
64896 ac_cpp='$CPP $CPPFLAGS'
64897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
64906 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
64908 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
64909 for ac_func in frexpf
64910 do :
64911 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
64912 if test "x$ac_cv_func_frexpf" = xyes; then :
64913 cat >>confdefs.h <<_ACEOF
64914 #define HAVE_FREXPF 1
64915 _ACEOF
64918 done
64920 else
64922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
64923 $as_echo_n "checking for _frexpf declaration... " >&6; }
64924 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
64925 if ${glibcxx_cv_func__frexpf_use+:} false; then :
64926 $as_echo_n "(cached) " >&6
64927 else
64930 ac_ext=cpp
64931 ac_cpp='$CXXCPP $CPPFLAGS'
64932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64937 /* end confdefs.h. */
64938 #include <math.h>
64940 main ()
64942 _frexpf(0, 0);
64944 return 0;
64946 _ACEOF
64947 if ac_fn_cxx_try_compile "$LINENO"; then :
64948 glibcxx_cv_func__frexpf_use=yes
64949 else
64950 glibcxx_cv_func__frexpf_use=no
64952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64953 ac_ext=c
64954 ac_cpp='$CPP $CPPFLAGS'
64955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
64964 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
64966 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
64967 for ac_func in _frexpf
64968 do :
64969 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
64970 if test "x$ac_cv_func__frexpf" = xyes; then :
64971 cat >>confdefs.h <<_ACEOF
64972 #define HAVE__FREXPF 1
64973 _ACEOF
64976 done
64985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
64986 $as_echo_n "checking for hypotf declaration... " >&6; }
64987 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
64988 if ${glibcxx_cv_func_hypotf_use+:} false; then :
64989 $as_echo_n "(cached) " >&6
64990 else
64993 ac_ext=cpp
64994 ac_cpp='$CXXCPP $CPPFLAGS'
64995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65000 /* end confdefs.h. */
65001 #include <math.h>
65003 main ()
65005 hypotf(0, 0);
65007 return 0;
65009 _ACEOF
65010 if ac_fn_cxx_try_compile "$LINENO"; then :
65011 glibcxx_cv_func_hypotf_use=yes
65012 else
65013 glibcxx_cv_func_hypotf_use=no
65015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65016 ac_ext=c
65017 ac_cpp='$CPP $CPPFLAGS'
65018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
65027 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
65029 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
65030 for ac_func in hypotf
65031 do :
65032 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
65033 if test "x$ac_cv_func_hypotf" = xyes; then :
65034 cat >>confdefs.h <<_ACEOF
65035 #define HAVE_HYPOTF 1
65036 _ACEOF
65039 done
65041 else
65043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
65044 $as_echo_n "checking for _hypotf declaration... " >&6; }
65045 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
65046 if ${glibcxx_cv_func__hypotf_use+:} false; then :
65047 $as_echo_n "(cached) " >&6
65048 else
65051 ac_ext=cpp
65052 ac_cpp='$CXXCPP $CPPFLAGS'
65053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65058 /* end confdefs.h. */
65059 #include <math.h>
65061 main ()
65063 _hypotf(0, 0);
65065 return 0;
65067 _ACEOF
65068 if ac_fn_cxx_try_compile "$LINENO"; then :
65069 glibcxx_cv_func__hypotf_use=yes
65070 else
65071 glibcxx_cv_func__hypotf_use=no
65073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65074 ac_ext=c
65075 ac_cpp='$CPP $CPPFLAGS'
65076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
65085 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
65087 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
65088 for ac_func in _hypotf
65089 do :
65090 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
65091 if test "x$ac_cv_func__hypotf" = xyes; then :
65092 cat >>confdefs.h <<_ACEOF
65093 #define HAVE__HYPOTF 1
65094 _ACEOF
65097 done
65106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
65107 $as_echo_n "checking for ldexpf declaration... " >&6; }
65108 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
65109 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
65110 $as_echo_n "(cached) " >&6
65111 else
65114 ac_ext=cpp
65115 ac_cpp='$CXXCPP $CPPFLAGS'
65116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65121 /* end confdefs.h. */
65122 #include <math.h>
65124 main ()
65126 ldexpf(0, 0);
65128 return 0;
65130 _ACEOF
65131 if ac_fn_cxx_try_compile "$LINENO"; then :
65132 glibcxx_cv_func_ldexpf_use=yes
65133 else
65134 glibcxx_cv_func_ldexpf_use=no
65136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65137 ac_ext=c
65138 ac_cpp='$CPP $CPPFLAGS'
65139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
65148 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
65150 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
65151 for ac_func in ldexpf
65152 do :
65153 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
65154 if test "x$ac_cv_func_ldexpf" = xyes; then :
65155 cat >>confdefs.h <<_ACEOF
65156 #define HAVE_LDEXPF 1
65157 _ACEOF
65160 done
65162 else
65164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
65165 $as_echo_n "checking for _ldexpf declaration... " >&6; }
65166 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
65167 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
65168 $as_echo_n "(cached) " >&6
65169 else
65172 ac_ext=cpp
65173 ac_cpp='$CXXCPP $CPPFLAGS'
65174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65179 /* end confdefs.h. */
65180 #include <math.h>
65182 main ()
65184 _ldexpf(0, 0);
65186 return 0;
65188 _ACEOF
65189 if ac_fn_cxx_try_compile "$LINENO"; then :
65190 glibcxx_cv_func__ldexpf_use=yes
65191 else
65192 glibcxx_cv_func__ldexpf_use=no
65194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65195 ac_ext=c
65196 ac_cpp='$CPP $CPPFLAGS'
65197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
65206 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
65208 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
65209 for ac_func in _ldexpf
65210 do :
65211 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
65212 if test "x$ac_cv_func__ldexpf" = xyes; then :
65213 cat >>confdefs.h <<_ACEOF
65214 #define HAVE__LDEXPF 1
65215 _ACEOF
65218 done
65227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
65228 $as_echo_n "checking for logf declaration... " >&6; }
65229 if test x${glibcxx_cv_func_logf_use+set} != xset; then
65230 if ${glibcxx_cv_func_logf_use+:} false; then :
65231 $as_echo_n "(cached) " >&6
65232 else
65235 ac_ext=cpp
65236 ac_cpp='$CXXCPP $CPPFLAGS'
65237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65242 /* end confdefs.h. */
65243 #include <math.h>
65244 #ifdef HAVE_IEEEFP_H
65245 #include <ieeefp.h>
65246 #endif
65249 main ()
65251 logf(0);
65253 return 0;
65255 _ACEOF
65256 if ac_fn_cxx_try_compile "$LINENO"; then :
65257 glibcxx_cv_func_logf_use=yes
65258 else
65259 glibcxx_cv_func_logf_use=no
65261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65262 ac_ext=c
65263 ac_cpp='$CPP $CPPFLAGS'
65264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
65273 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
65275 if test x$glibcxx_cv_func_logf_use = x"yes"; then
65276 for ac_func in logf
65277 do :
65278 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
65279 if test "x$ac_cv_func_logf" = xyes; then :
65280 cat >>confdefs.h <<_ACEOF
65281 #define HAVE_LOGF 1
65282 _ACEOF
65285 done
65287 else
65289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
65290 $as_echo_n "checking for _logf declaration... " >&6; }
65291 if test x${glibcxx_cv_func__logf_use+set} != xset; then
65292 if ${glibcxx_cv_func__logf_use+:} false; then :
65293 $as_echo_n "(cached) " >&6
65294 else
65297 ac_ext=cpp
65298 ac_cpp='$CXXCPP $CPPFLAGS'
65299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65304 /* end confdefs.h. */
65305 #include <math.h>
65306 #ifdef HAVE_IEEEFP_H
65307 #include <ieeefp.h>
65308 #endif
65311 main ()
65313 _logf(0);
65315 return 0;
65317 _ACEOF
65318 if ac_fn_cxx_try_compile "$LINENO"; then :
65319 glibcxx_cv_func__logf_use=yes
65320 else
65321 glibcxx_cv_func__logf_use=no
65323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65324 ac_ext=c
65325 ac_cpp='$CPP $CPPFLAGS'
65326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
65335 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
65337 if test x$glibcxx_cv_func__logf_use = x"yes"; then
65338 for ac_func in _logf
65339 do :
65340 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
65341 if test "x$ac_cv_func__logf" = xyes; then :
65342 cat >>confdefs.h <<_ACEOF
65343 #define HAVE__LOGF 1
65344 _ACEOF
65347 done
65356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
65357 $as_echo_n "checking for log10f declaration... " >&6; }
65358 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
65359 if ${glibcxx_cv_func_log10f_use+:} false; then :
65360 $as_echo_n "(cached) " >&6
65361 else
65364 ac_ext=cpp
65365 ac_cpp='$CXXCPP $CPPFLAGS'
65366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65371 /* end confdefs.h. */
65372 #include <math.h>
65373 #ifdef HAVE_IEEEFP_H
65374 #include <ieeefp.h>
65375 #endif
65378 main ()
65380 log10f(0);
65382 return 0;
65384 _ACEOF
65385 if ac_fn_cxx_try_compile "$LINENO"; then :
65386 glibcxx_cv_func_log10f_use=yes
65387 else
65388 glibcxx_cv_func_log10f_use=no
65390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65391 ac_ext=c
65392 ac_cpp='$CPP $CPPFLAGS'
65393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
65402 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
65404 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
65405 for ac_func in log10f
65406 do :
65407 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
65408 if test "x$ac_cv_func_log10f" = xyes; then :
65409 cat >>confdefs.h <<_ACEOF
65410 #define HAVE_LOG10F 1
65411 _ACEOF
65414 done
65416 else
65418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
65419 $as_echo_n "checking for _log10f declaration... " >&6; }
65420 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
65421 if ${glibcxx_cv_func__log10f_use+:} false; then :
65422 $as_echo_n "(cached) " >&6
65423 else
65426 ac_ext=cpp
65427 ac_cpp='$CXXCPP $CPPFLAGS'
65428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65433 /* end confdefs.h. */
65434 #include <math.h>
65435 #ifdef HAVE_IEEEFP_H
65436 #include <ieeefp.h>
65437 #endif
65440 main ()
65442 _log10f(0);
65444 return 0;
65446 _ACEOF
65447 if ac_fn_cxx_try_compile "$LINENO"; then :
65448 glibcxx_cv_func__log10f_use=yes
65449 else
65450 glibcxx_cv_func__log10f_use=no
65452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65453 ac_ext=c
65454 ac_cpp='$CPP $CPPFLAGS'
65455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
65464 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
65466 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
65467 for ac_func in _log10f
65468 do :
65469 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
65470 if test "x$ac_cv_func__log10f" = xyes; then :
65471 cat >>confdefs.h <<_ACEOF
65472 #define HAVE__LOG10F 1
65473 _ACEOF
65476 done
65485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
65486 $as_echo_n "checking for modff declaration... " >&6; }
65487 if test x${glibcxx_cv_func_modff_use+set} != xset; then
65488 if ${glibcxx_cv_func_modff_use+:} false; then :
65489 $as_echo_n "(cached) " >&6
65490 else
65493 ac_ext=cpp
65494 ac_cpp='$CXXCPP $CPPFLAGS'
65495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65500 /* end confdefs.h. */
65501 #include <math.h>
65503 main ()
65505 modff(0, 0);
65507 return 0;
65509 _ACEOF
65510 if ac_fn_cxx_try_compile "$LINENO"; then :
65511 glibcxx_cv_func_modff_use=yes
65512 else
65513 glibcxx_cv_func_modff_use=no
65515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65516 ac_ext=c
65517 ac_cpp='$CPP $CPPFLAGS'
65518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
65527 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
65529 if test x$glibcxx_cv_func_modff_use = x"yes"; then
65530 for ac_func in modff
65531 do :
65532 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
65533 if test "x$ac_cv_func_modff" = xyes; then :
65534 cat >>confdefs.h <<_ACEOF
65535 #define HAVE_MODFF 1
65536 _ACEOF
65539 done
65541 else
65543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
65544 $as_echo_n "checking for _modff declaration... " >&6; }
65545 if test x${glibcxx_cv_func__modff_use+set} != xset; then
65546 if ${glibcxx_cv_func__modff_use+:} false; then :
65547 $as_echo_n "(cached) " >&6
65548 else
65551 ac_ext=cpp
65552 ac_cpp='$CXXCPP $CPPFLAGS'
65553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65558 /* end confdefs.h. */
65559 #include <math.h>
65561 main ()
65563 _modff(0, 0);
65565 return 0;
65567 _ACEOF
65568 if ac_fn_cxx_try_compile "$LINENO"; then :
65569 glibcxx_cv_func__modff_use=yes
65570 else
65571 glibcxx_cv_func__modff_use=no
65573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65574 ac_ext=c
65575 ac_cpp='$CPP $CPPFLAGS'
65576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
65585 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
65587 if test x$glibcxx_cv_func__modff_use = x"yes"; then
65588 for ac_func in _modff
65589 do :
65590 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
65591 if test "x$ac_cv_func__modff" = xyes; then :
65592 cat >>confdefs.h <<_ACEOF
65593 #define HAVE__MODFF 1
65594 _ACEOF
65597 done
65606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
65607 $as_echo_n "checking for modf declaration... " >&6; }
65608 if test x${glibcxx_cv_func_modf_use+set} != xset; then
65609 if ${glibcxx_cv_func_modf_use+:} false; then :
65610 $as_echo_n "(cached) " >&6
65611 else
65614 ac_ext=cpp
65615 ac_cpp='$CXXCPP $CPPFLAGS'
65616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65621 /* end confdefs.h. */
65622 #include <math.h>
65624 main ()
65626 modf(0, 0);
65628 return 0;
65630 _ACEOF
65631 if ac_fn_cxx_try_compile "$LINENO"; then :
65632 glibcxx_cv_func_modf_use=yes
65633 else
65634 glibcxx_cv_func_modf_use=no
65636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65637 ac_ext=c
65638 ac_cpp='$CPP $CPPFLAGS'
65639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
65648 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
65650 if test x$glibcxx_cv_func_modf_use = x"yes"; then
65651 for ac_func in modf
65652 do :
65653 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
65654 if test "x$ac_cv_func_modf" = xyes; then :
65655 cat >>confdefs.h <<_ACEOF
65656 #define HAVE_MODF 1
65657 _ACEOF
65660 done
65662 else
65664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
65665 $as_echo_n "checking for _modf declaration... " >&6; }
65666 if test x${glibcxx_cv_func__modf_use+set} != xset; then
65667 if ${glibcxx_cv_func__modf_use+:} false; then :
65668 $as_echo_n "(cached) " >&6
65669 else
65672 ac_ext=cpp
65673 ac_cpp='$CXXCPP $CPPFLAGS'
65674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65679 /* end confdefs.h. */
65680 #include <math.h>
65682 main ()
65684 _modf(0, 0);
65686 return 0;
65688 _ACEOF
65689 if ac_fn_cxx_try_compile "$LINENO"; then :
65690 glibcxx_cv_func__modf_use=yes
65691 else
65692 glibcxx_cv_func__modf_use=no
65694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65695 ac_ext=c
65696 ac_cpp='$CPP $CPPFLAGS'
65697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
65706 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
65708 if test x$glibcxx_cv_func__modf_use = x"yes"; then
65709 for ac_func in _modf
65710 do :
65711 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
65712 if test "x$ac_cv_func__modf" = xyes; then :
65713 cat >>confdefs.h <<_ACEOF
65714 #define HAVE__MODF 1
65715 _ACEOF
65718 done
65727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
65728 $as_echo_n "checking for powf declaration... " >&6; }
65729 if test x${glibcxx_cv_func_powf_use+set} != xset; then
65730 if ${glibcxx_cv_func_powf_use+:} false; then :
65731 $as_echo_n "(cached) " >&6
65732 else
65735 ac_ext=cpp
65736 ac_cpp='$CXXCPP $CPPFLAGS'
65737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65742 /* end confdefs.h. */
65743 #include <math.h>
65745 main ()
65747 powf(0, 0);
65749 return 0;
65751 _ACEOF
65752 if ac_fn_cxx_try_compile "$LINENO"; then :
65753 glibcxx_cv_func_powf_use=yes
65754 else
65755 glibcxx_cv_func_powf_use=no
65757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65758 ac_ext=c
65759 ac_cpp='$CPP $CPPFLAGS'
65760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
65769 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
65771 if test x$glibcxx_cv_func_powf_use = x"yes"; then
65772 for ac_func in powf
65773 do :
65774 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
65775 if test "x$ac_cv_func_powf" = xyes; then :
65776 cat >>confdefs.h <<_ACEOF
65777 #define HAVE_POWF 1
65778 _ACEOF
65781 done
65783 else
65785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
65786 $as_echo_n "checking for _powf declaration... " >&6; }
65787 if test x${glibcxx_cv_func__powf_use+set} != xset; then
65788 if ${glibcxx_cv_func__powf_use+:} false; then :
65789 $as_echo_n "(cached) " >&6
65790 else
65793 ac_ext=cpp
65794 ac_cpp='$CXXCPP $CPPFLAGS'
65795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65800 /* end confdefs.h. */
65801 #include <math.h>
65803 main ()
65805 _powf(0, 0);
65807 return 0;
65809 _ACEOF
65810 if ac_fn_cxx_try_compile "$LINENO"; then :
65811 glibcxx_cv_func__powf_use=yes
65812 else
65813 glibcxx_cv_func__powf_use=no
65815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65816 ac_ext=c
65817 ac_cpp='$CPP $CPPFLAGS'
65818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
65827 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
65829 if test x$glibcxx_cv_func__powf_use = x"yes"; then
65830 for ac_func in _powf
65831 do :
65832 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
65833 if test "x$ac_cv_func__powf" = xyes; then :
65834 cat >>confdefs.h <<_ACEOF
65835 #define HAVE__POWF 1
65836 _ACEOF
65839 done
65848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
65849 $as_echo_n "checking for sqrtf declaration... " >&6; }
65850 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
65851 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
65852 $as_echo_n "(cached) " >&6
65853 else
65856 ac_ext=cpp
65857 ac_cpp='$CXXCPP $CPPFLAGS'
65858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65863 /* end confdefs.h. */
65864 #include <math.h>
65865 #ifdef HAVE_IEEEFP_H
65866 #include <ieeefp.h>
65867 #endif
65870 main ()
65872 sqrtf(0);
65874 return 0;
65876 _ACEOF
65877 if ac_fn_cxx_try_compile "$LINENO"; then :
65878 glibcxx_cv_func_sqrtf_use=yes
65879 else
65880 glibcxx_cv_func_sqrtf_use=no
65882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65883 ac_ext=c
65884 ac_cpp='$CPP $CPPFLAGS'
65885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
65894 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
65896 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
65897 for ac_func in sqrtf
65898 do :
65899 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
65900 if test "x$ac_cv_func_sqrtf" = xyes; then :
65901 cat >>confdefs.h <<_ACEOF
65902 #define HAVE_SQRTF 1
65903 _ACEOF
65906 done
65908 else
65910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
65911 $as_echo_n "checking for _sqrtf declaration... " >&6; }
65912 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
65913 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
65914 $as_echo_n "(cached) " >&6
65915 else
65918 ac_ext=cpp
65919 ac_cpp='$CXXCPP $CPPFLAGS'
65920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65925 /* end confdefs.h. */
65926 #include <math.h>
65927 #ifdef HAVE_IEEEFP_H
65928 #include <ieeefp.h>
65929 #endif
65932 main ()
65934 _sqrtf(0);
65936 return 0;
65938 _ACEOF
65939 if ac_fn_cxx_try_compile "$LINENO"; then :
65940 glibcxx_cv_func__sqrtf_use=yes
65941 else
65942 glibcxx_cv_func__sqrtf_use=no
65944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65945 ac_ext=c
65946 ac_cpp='$CPP $CPPFLAGS'
65947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
65956 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
65958 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
65959 for ac_func in _sqrtf
65960 do :
65961 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
65962 if test "x$ac_cv_func__sqrtf" = xyes; then :
65963 cat >>confdefs.h <<_ACEOF
65964 #define HAVE__SQRTF 1
65965 _ACEOF
65968 done
65977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
65978 $as_echo_n "checking for sincosf declaration... " >&6; }
65979 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
65980 if ${glibcxx_cv_func_sincosf_use+:} false; then :
65981 $as_echo_n "(cached) " >&6
65982 else
65985 ac_ext=cpp
65986 ac_cpp='$CXXCPP $CPPFLAGS'
65987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65992 /* end confdefs.h. */
65993 #include <math.h>
65995 main ()
65997 sincosf(0, 0, 0);
65999 return 0;
66001 _ACEOF
66002 if ac_fn_cxx_try_compile "$LINENO"; then :
66003 glibcxx_cv_func_sincosf_use=yes
66004 else
66005 glibcxx_cv_func_sincosf_use=no
66007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66008 ac_ext=c
66009 ac_cpp='$CPP $CPPFLAGS'
66010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
66019 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
66021 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
66022 for ac_func in sincosf
66023 do :
66024 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
66025 if test "x$ac_cv_func_sincosf" = xyes; then :
66026 cat >>confdefs.h <<_ACEOF
66027 #define HAVE_SINCOSF 1
66028 _ACEOF
66031 done
66033 else
66035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
66036 $as_echo_n "checking for _sincosf declaration... " >&6; }
66037 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
66038 if ${glibcxx_cv_func__sincosf_use+:} false; then :
66039 $as_echo_n "(cached) " >&6
66040 else
66043 ac_ext=cpp
66044 ac_cpp='$CXXCPP $CPPFLAGS'
66045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66050 /* end confdefs.h. */
66051 #include <math.h>
66053 main ()
66055 _sincosf(0, 0, 0);
66057 return 0;
66059 _ACEOF
66060 if ac_fn_cxx_try_compile "$LINENO"; then :
66061 glibcxx_cv_func__sincosf_use=yes
66062 else
66063 glibcxx_cv_func__sincosf_use=no
66065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66066 ac_ext=c
66067 ac_cpp='$CPP $CPPFLAGS'
66068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
66077 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
66079 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
66080 for ac_func in _sincosf
66081 do :
66082 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
66083 if test "x$ac_cv_func__sincosf" = xyes; then :
66084 cat >>confdefs.h <<_ACEOF
66085 #define HAVE__SINCOSF 1
66086 _ACEOF
66089 done
66098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
66099 $as_echo_n "checking for finitef declaration... " >&6; }
66100 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
66101 if ${glibcxx_cv_func_finitef_use+:} false; then :
66102 $as_echo_n "(cached) " >&6
66103 else
66106 ac_ext=cpp
66107 ac_cpp='$CXXCPP $CPPFLAGS'
66108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66113 /* end confdefs.h. */
66114 #include <math.h>
66115 #ifdef HAVE_IEEEFP_H
66116 #include <ieeefp.h>
66117 #endif
66120 main ()
66122 finitef(0);
66124 return 0;
66126 _ACEOF
66127 if ac_fn_cxx_try_compile "$LINENO"; then :
66128 glibcxx_cv_func_finitef_use=yes
66129 else
66130 glibcxx_cv_func_finitef_use=no
66132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66133 ac_ext=c
66134 ac_cpp='$CPP $CPPFLAGS'
66135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
66144 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
66146 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
66147 for ac_func in finitef
66148 do :
66149 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
66150 if test "x$ac_cv_func_finitef" = xyes; then :
66151 cat >>confdefs.h <<_ACEOF
66152 #define HAVE_FINITEF 1
66153 _ACEOF
66156 done
66158 else
66160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
66161 $as_echo_n "checking for _finitef declaration... " >&6; }
66162 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
66163 if ${glibcxx_cv_func__finitef_use+:} false; then :
66164 $as_echo_n "(cached) " >&6
66165 else
66168 ac_ext=cpp
66169 ac_cpp='$CXXCPP $CPPFLAGS'
66170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66175 /* end confdefs.h. */
66176 #include <math.h>
66177 #ifdef HAVE_IEEEFP_H
66178 #include <ieeefp.h>
66179 #endif
66182 main ()
66184 _finitef(0);
66186 return 0;
66188 _ACEOF
66189 if ac_fn_cxx_try_compile "$LINENO"; then :
66190 glibcxx_cv_func__finitef_use=yes
66191 else
66192 glibcxx_cv_func__finitef_use=no
66194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66195 ac_ext=c
66196 ac_cpp='$CPP $CPPFLAGS'
66197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
66206 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
66208 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
66209 for ac_func in _finitef
66210 do :
66211 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
66212 if test "x$ac_cv_func__finitef" = xyes; then :
66213 cat >>confdefs.h <<_ACEOF
66214 #define HAVE__FINITEF 1
66215 _ACEOF
66218 done
66227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
66228 $as_echo_n "checking for long double trig functions... " >&6; }
66229 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
66230 $as_echo_n "(cached) " >&6
66231 else
66234 ac_ext=cpp
66235 ac_cpp='$CXXCPP $CPPFLAGS'
66236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66241 /* end confdefs.h. */
66242 #include <math.h>
66244 main ()
66246 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
66248 return 0;
66250 _ACEOF
66251 if ac_fn_cxx_try_compile "$LINENO"; then :
66252 glibcxx_cv_func_long_double_trig_use=yes
66253 else
66254 glibcxx_cv_func_long_double_trig_use=no
66256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66257 ac_ext=c
66258 ac_cpp='$CPP $CPPFLAGS'
66259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
66266 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
66267 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
66268 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
66269 do :
66270 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66271 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66272 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
66273 cat >>confdefs.h <<_ACEOF
66274 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66275 _ACEOF
66278 done
66280 else
66281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
66282 $as_echo_n "checking for _long double trig functions... " >&6; }
66283 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
66284 $as_echo_n "(cached) " >&6
66285 else
66288 ac_ext=cpp
66289 ac_cpp='$CXXCPP $CPPFLAGS'
66290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66295 /* end confdefs.h. */
66296 #include <math.h>
66298 main ()
66300 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
66302 return 0;
66304 _ACEOF
66305 if ac_fn_cxx_try_compile "$LINENO"; then :
66306 glibcxx_cv_func__long_double_trig_use=yes
66307 else
66308 glibcxx_cv_func__long_double_trig_use=no
66310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66311 ac_ext=c
66312 ac_cpp='$CPP $CPPFLAGS'
66313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
66320 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
66321 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
66322 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
66323 do :
66324 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66325 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66326 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
66327 cat >>confdefs.h <<_ACEOF
66328 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66329 _ACEOF
66332 done
66341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
66342 $as_echo_n "checking for long double round functions... " >&6; }
66343 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
66344 $as_echo_n "(cached) " >&6
66345 else
66348 ac_ext=cpp
66349 ac_cpp='$CXXCPP $CPPFLAGS'
66350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66355 /* end confdefs.h. */
66356 #include <math.h>
66358 main ()
66360 ceill (0); floorl (0);
66362 return 0;
66364 _ACEOF
66365 if ac_fn_cxx_try_compile "$LINENO"; then :
66366 glibcxx_cv_func_long_double_round_use=yes
66367 else
66368 glibcxx_cv_func_long_double_round_use=no
66370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66371 ac_ext=c
66372 ac_cpp='$CPP $CPPFLAGS'
66373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
66380 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
66381 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
66382 for ac_func in ceill floorl
66383 do :
66384 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66385 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66386 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
66387 cat >>confdefs.h <<_ACEOF
66388 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66389 _ACEOF
66392 done
66394 else
66395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
66396 $as_echo_n "checking for _long double round functions... " >&6; }
66397 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
66398 $as_echo_n "(cached) " >&6
66399 else
66402 ac_ext=cpp
66403 ac_cpp='$CXXCPP $CPPFLAGS'
66404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66409 /* end confdefs.h. */
66410 #include <math.h>
66412 main ()
66414 _ceill (0); _floorl (0);
66416 return 0;
66418 _ACEOF
66419 if ac_fn_cxx_try_compile "$LINENO"; then :
66420 glibcxx_cv_func__long_double_round_use=yes
66421 else
66422 glibcxx_cv_func__long_double_round_use=no
66424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66425 ac_ext=c
66426 ac_cpp='$CPP $CPPFLAGS'
66427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
66434 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
66435 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
66436 for ac_func in _ceill _floorl
66437 do :
66438 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66439 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66440 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
66441 cat >>confdefs.h <<_ACEOF
66442 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66443 _ACEOF
66446 done
66456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
66457 $as_echo_n "checking for isnanl declaration... " >&6; }
66458 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
66459 if ${glibcxx_cv_func_isnanl_use+:} false; then :
66460 $as_echo_n "(cached) " >&6
66461 else
66464 ac_ext=cpp
66465 ac_cpp='$CXXCPP $CPPFLAGS'
66466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66471 /* end confdefs.h. */
66472 #include <math.h>
66473 #ifdef HAVE_IEEEFP_H
66474 #include <ieeefp.h>
66475 #endif
66478 main ()
66480 isnanl(0);
66482 return 0;
66484 _ACEOF
66485 if ac_fn_cxx_try_compile "$LINENO"; then :
66486 glibcxx_cv_func_isnanl_use=yes
66487 else
66488 glibcxx_cv_func_isnanl_use=no
66490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66491 ac_ext=c
66492 ac_cpp='$CPP $CPPFLAGS'
66493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
66502 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
66504 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
66505 for ac_func in isnanl
66506 do :
66507 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
66508 if test "x$ac_cv_func_isnanl" = xyes; then :
66509 cat >>confdefs.h <<_ACEOF
66510 #define HAVE_ISNANL 1
66511 _ACEOF
66514 done
66516 else
66518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
66519 $as_echo_n "checking for _isnanl declaration... " >&6; }
66520 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
66521 if ${glibcxx_cv_func__isnanl_use+:} false; then :
66522 $as_echo_n "(cached) " >&6
66523 else
66526 ac_ext=cpp
66527 ac_cpp='$CXXCPP $CPPFLAGS'
66528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66533 /* end confdefs.h. */
66534 #include <math.h>
66535 #ifdef HAVE_IEEEFP_H
66536 #include <ieeefp.h>
66537 #endif
66540 main ()
66542 _isnanl(0);
66544 return 0;
66546 _ACEOF
66547 if ac_fn_cxx_try_compile "$LINENO"; then :
66548 glibcxx_cv_func__isnanl_use=yes
66549 else
66550 glibcxx_cv_func__isnanl_use=no
66552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66553 ac_ext=c
66554 ac_cpp='$CPP $CPPFLAGS'
66555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
66564 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
66566 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
66567 for ac_func in _isnanl
66568 do :
66569 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
66570 if test "x$ac_cv_func__isnanl" = xyes; then :
66571 cat >>confdefs.h <<_ACEOF
66572 #define HAVE__ISNANL 1
66573 _ACEOF
66576 done
66585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
66586 $as_echo_n "checking for isinfl declaration... " >&6; }
66587 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
66588 if ${glibcxx_cv_func_isinfl_use+:} false; then :
66589 $as_echo_n "(cached) " >&6
66590 else
66593 ac_ext=cpp
66594 ac_cpp='$CXXCPP $CPPFLAGS'
66595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66600 /* end confdefs.h. */
66601 #include <math.h>
66602 #ifdef HAVE_IEEEFP_H
66603 #include <ieeefp.h>
66604 #endif
66607 main ()
66609 isinfl(0);
66611 return 0;
66613 _ACEOF
66614 if ac_fn_cxx_try_compile "$LINENO"; then :
66615 glibcxx_cv_func_isinfl_use=yes
66616 else
66617 glibcxx_cv_func_isinfl_use=no
66619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66620 ac_ext=c
66621 ac_cpp='$CPP $CPPFLAGS'
66622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
66631 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
66633 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
66634 for ac_func in isinfl
66635 do :
66636 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
66637 if test "x$ac_cv_func_isinfl" = xyes; then :
66638 cat >>confdefs.h <<_ACEOF
66639 #define HAVE_ISINFL 1
66640 _ACEOF
66643 done
66645 else
66647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
66648 $as_echo_n "checking for _isinfl declaration... " >&6; }
66649 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
66650 if ${glibcxx_cv_func__isinfl_use+:} false; then :
66651 $as_echo_n "(cached) " >&6
66652 else
66655 ac_ext=cpp
66656 ac_cpp='$CXXCPP $CPPFLAGS'
66657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66662 /* end confdefs.h. */
66663 #include <math.h>
66664 #ifdef HAVE_IEEEFP_H
66665 #include <ieeefp.h>
66666 #endif
66669 main ()
66671 _isinfl(0);
66673 return 0;
66675 _ACEOF
66676 if ac_fn_cxx_try_compile "$LINENO"; then :
66677 glibcxx_cv_func__isinfl_use=yes
66678 else
66679 glibcxx_cv_func__isinfl_use=no
66681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66682 ac_ext=c
66683 ac_cpp='$CPP $CPPFLAGS'
66684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
66693 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
66695 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
66696 for ac_func in _isinfl
66697 do :
66698 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
66699 if test "x$ac_cv_func__isinfl" = xyes; then :
66700 cat >>confdefs.h <<_ACEOF
66701 #define HAVE__ISINFL 1
66702 _ACEOF
66705 done
66714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
66715 $as_echo_n "checking for atan2l declaration... " >&6; }
66716 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
66717 if ${glibcxx_cv_func_atan2l_use+:} false; then :
66718 $as_echo_n "(cached) " >&6
66719 else
66722 ac_ext=cpp
66723 ac_cpp='$CXXCPP $CPPFLAGS'
66724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66729 /* end confdefs.h. */
66730 #include <math.h>
66732 main ()
66734 atan2l(0, 0);
66736 return 0;
66738 _ACEOF
66739 if ac_fn_cxx_try_compile "$LINENO"; then :
66740 glibcxx_cv_func_atan2l_use=yes
66741 else
66742 glibcxx_cv_func_atan2l_use=no
66744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66745 ac_ext=c
66746 ac_cpp='$CPP $CPPFLAGS'
66747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
66756 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
66758 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
66759 for ac_func in atan2l
66760 do :
66761 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
66762 if test "x$ac_cv_func_atan2l" = xyes; then :
66763 cat >>confdefs.h <<_ACEOF
66764 #define HAVE_ATAN2L 1
66765 _ACEOF
66768 done
66770 else
66772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
66773 $as_echo_n "checking for _atan2l declaration... " >&6; }
66774 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
66775 if ${glibcxx_cv_func__atan2l_use+:} false; then :
66776 $as_echo_n "(cached) " >&6
66777 else
66780 ac_ext=cpp
66781 ac_cpp='$CXXCPP $CPPFLAGS'
66782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66787 /* end confdefs.h. */
66788 #include <math.h>
66790 main ()
66792 _atan2l(0, 0);
66794 return 0;
66796 _ACEOF
66797 if ac_fn_cxx_try_compile "$LINENO"; then :
66798 glibcxx_cv_func__atan2l_use=yes
66799 else
66800 glibcxx_cv_func__atan2l_use=no
66802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66803 ac_ext=c
66804 ac_cpp='$CPP $CPPFLAGS'
66805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
66814 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
66816 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
66817 for ac_func in _atan2l
66818 do :
66819 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
66820 if test "x$ac_cv_func__atan2l" = xyes; then :
66821 cat >>confdefs.h <<_ACEOF
66822 #define HAVE__ATAN2L 1
66823 _ACEOF
66826 done
66835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
66836 $as_echo_n "checking for expl declaration... " >&6; }
66837 if test x${glibcxx_cv_func_expl_use+set} != xset; then
66838 if ${glibcxx_cv_func_expl_use+:} false; then :
66839 $as_echo_n "(cached) " >&6
66840 else
66843 ac_ext=cpp
66844 ac_cpp='$CXXCPP $CPPFLAGS'
66845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66850 /* end confdefs.h. */
66851 #include <math.h>
66852 #ifdef HAVE_IEEEFP_H
66853 #include <ieeefp.h>
66854 #endif
66857 main ()
66859 expl(0);
66861 return 0;
66863 _ACEOF
66864 if ac_fn_cxx_try_compile "$LINENO"; then :
66865 glibcxx_cv_func_expl_use=yes
66866 else
66867 glibcxx_cv_func_expl_use=no
66869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66870 ac_ext=c
66871 ac_cpp='$CPP $CPPFLAGS'
66872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
66881 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
66883 if test x$glibcxx_cv_func_expl_use = x"yes"; then
66884 for ac_func in expl
66885 do :
66886 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
66887 if test "x$ac_cv_func_expl" = xyes; then :
66888 cat >>confdefs.h <<_ACEOF
66889 #define HAVE_EXPL 1
66890 _ACEOF
66893 done
66895 else
66897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
66898 $as_echo_n "checking for _expl declaration... " >&6; }
66899 if test x${glibcxx_cv_func__expl_use+set} != xset; then
66900 if ${glibcxx_cv_func__expl_use+:} false; then :
66901 $as_echo_n "(cached) " >&6
66902 else
66905 ac_ext=cpp
66906 ac_cpp='$CXXCPP $CPPFLAGS'
66907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66912 /* end confdefs.h. */
66913 #include <math.h>
66914 #ifdef HAVE_IEEEFP_H
66915 #include <ieeefp.h>
66916 #endif
66919 main ()
66921 _expl(0);
66923 return 0;
66925 _ACEOF
66926 if ac_fn_cxx_try_compile "$LINENO"; then :
66927 glibcxx_cv_func__expl_use=yes
66928 else
66929 glibcxx_cv_func__expl_use=no
66931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66932 ac_ext=c
66933 ac_cpp='$CPP $CPPFLAGS'
66934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
66943 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
66945 if test x$glibcxx_cv_func__expl_use = x"yes"; then
66946 for ac_func in _expl
66947 do :
66948 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
66949 if test "x$ac_cv_func__expl" = xyes; then :
66950 cat >>confdefs.h <<_ACEOF
66951 #define HAVE__EXPL 1
66952 _ACEOF
66955 done
66964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
66965 $as_echo_n "checking for fabsl declaration... " >&6; }
66966 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
66967 if ${glibcxx_cv_func_fabsl_use+:} false; then :
66968 $as_echo_n "(cached) " >&6
66969 else
66972 ac_ext=cpp
66973 ac_cpp='$CXXCPP $CPPFLAGS'
66974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66979 /* end confdefs.h. */
66980 #include <math.h>
66981 #ifdef HAVE_IEEEFP_H
66982 #include <ieeefp.h>
66983 #endif
66986 main ()
66988 fabsl(0);
66990 return 0;
66992 _ACEOF
66993 if ac_fn_cxx_try_compile "$LINENO"; then :
66994 glibcxx_cv_func_fabsl_use=yes
66995 else
66996 glibcxx_cv_func_fabsl_use=no
66998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66999 ac_ext=c
67000 ac_cpp='$CPP $CPPFLAGS'
67001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
67010 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
67012 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
67013 for ac_func in fabsl
67014 do :
67015 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
67016 if test "x$ac_cv_func_fabsl" = xyes; then :
67017 cat >>confdefs.h <<_ACEOF
67018 #define HAVE_FABSL 1
67019 _ACEOF
67022 done
67024 else
67026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
67027 $as_echo_n "checking for _fabsl declaration... " >&6; }
67028 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
67029 if ${glibcxx_cv_func__fabsl_use+:} false; then :
67030 $as_echo_n "(cached) " >&6
67031 else
67034 ac_ext=cpp
67035 ac_cpp='$CXXCPP $CPPFLAGS'
67036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67041 /* end confdefs.h. */
67042 #include <math.h>
67043 #ifdef HAVE_IEEEFP_H
67044 #include <ieeefp.h>
67045 #endif
67048 main ()
67050 _fabsl(0);
67052 return 0;
67054 _ACEOF
67055 if ac_fn_cxx_try_compile "$LINENO"; then :
67056 glibcxx_cv_func__fabsl_use=yes
67057 else
67058 glibcxx_cv_func__fabsl_use=no
67060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67061 ac_ext=c
67062 ac_cpp='$CPP $CPPFLAGS'
67063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
67072 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
67074 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
67075 for ac_func in _fabsl
67076 do :
67077 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
67078 if test "x$ac_cv_func__fabsl" = xyes; then :
67079 cat >>confdefs.h <<_ACEOF
67080 #define HAVE__FABSL 1
67081 _ACEOF
67084 done
67093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
67094 $as_echo_n "checking for fmodl declaration... " >&6; }
67095 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
67096 if ${glibcxx_cv_func_fmodl_use+:} false; then :
67097 $as_echo_n "(cached) " >&6
67098 else
67101 ac_ext=cpp
67102 ac_cpp='$CXXCPP $CPPFLAGS'
67103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67108 /* end confdefs.h. */
67109 #include <math.h>
67111 main ()
67113 fmodl(0, 0);
67115 return 0;
67117 _ACEOF
67118 if ac_fn_cxx_try_compile "$LINENO"; then :
67119 glibcxx_cv_func_fmodl_use=yes
67120 else
67121 glibcxx_cv_func_fmodl_use=no
67123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67124 ac_ext=c
67125 ac_cpp='$CPP $CPPFLAGS'
67126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
67135 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
67137 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
67138 for ac_func in fmodl
67139 do :
67140 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
67141 if test "x$ac_cv_func_fmodl" = xyes; then :
67142 cat >>confdefs.h <<_ACEOF
67143 #define HAVE_FMODL 1
67144 _ACEOF
67147 done
67149 else
67151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
67152 $as_echo_n "checking for _fmodl declaration... " >&6; }
67153 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
67154 if ${glibcxx_cv_func__fmodl_use+:} false; then :
67155 $as_echo_n "(cached) " >&6
67156 else
67159 ac_ext=cpp
67160 ac_cpp='$CXXCPP $CPPFLAGS'
67161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67166 /* end confdefs.h. */
67167 #include <math.h>
67169 main ()
67171 _fmodl(0, 0);
67173 return 0;
67175 _ACEOF
67176 if ac_fn_cxx_try_compile "$LINENO"; then :
67177 glibcxx_cv_func__fmodl_use=yes
67178 else
67179 glibcxx_cv_func__fmodl_use=no
67181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67182 ac_ext=c
67183 ac_cpp='$CPP $CPPFLAGS'
67184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
67193 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
67195 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
67196 for ac_func in _fmodl
67197 do :
67198 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
67199 if test "x$ac_cv_func__fmodl" = xyes; then :
67200 cat >>confdefs.h <<_ACEOF
67201 #define HAVE__FMODL 1
67202 _ACEOF
67205 done
67214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
67215 $as_echo_n "checking for frexpl declaration... " >&6; }
67216 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
67217 if ${glibcxx_cv_func_frexpl_use+:} false; then :
67218 $as_echo_n "(cached) " >&6
67219 else
67222 ac_ext=cpp
67223 ac_cpp='$CXXCPP $CPPFLAGS'
67224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67229 /* end confdefs.h. */
67230 #include <math.h>
67232 main ()
67234 frexpl(0, 0);
67236 return 0;
67238 _ACEOF
67239 if ac_fn_cxx_try_compile "$LINENO"; then :
67240 glibcxx_cv_func_frexpl_use=yes
67241 else
67242 glibcxx_cv_func_frexpl_use=no
67244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67245 ac_ext=c
67246 ac_cpp='$CPP $CPPFLAGS'
67247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
67256 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
67258 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
67259 for ac_func in frexpl
67260 do :
67261 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
67262 if test "x$ac_cv_func_frexpl" = xyes; then :
67263 cat >>confdefs.h <<_ACEOF
67264 #define HAVE_FREXPL 1
67265 _ACEOF
67268 done
67270 else
67272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
67273 $as_echo_n "checking for _frexpl declaration... " >&6; }
67274 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
67275 if ${glibcxx_cv_func__frexpl_use+:} false; then :
67276 $as_echo_n "(cached) " >&6
67277 else
67280 ac_ext=cpp
67281 ac_cpp='$CXXCPP $CPPFLAGS'
67282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67287 /* end confdefs.h. */
67288 #include <math.h>
67290 main ()
67292 _frexpl(0, 0);
67294 return 0;
67296 _ACEOF
67297 if ac_fn_cxx_try_compile "$LINENO"; then :
67298 glibcxx_cv_func__frexpl_use=yes
67299 else
67300 glibcxx_cv_func__frexpl_use=no
67302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67303 ac_ext=c
67304 ac_cpp='$CPP $CPPFLAGS'
67305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
67314 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
67316 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
67317 for ac_func in _frexpl
67318 do :
67319 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
67320 if test "x$ac_cv_func__frexpl" = xyes; then :
67321 cat >>confdefs.h <<_ACEOF
67322 #define HAVE__FREXPL 1
67323 _ACEOF
67326 done
67335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
67336 $as_echo_n "checking for hypotl declaration... " >&6; }
67337 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
67338 if ${glibcxx_cv_func_hypotl_use+:} false; then :
67339 $as_echo_n "(cached) " >&6
67340 else
67343 ac_ext=cpp
67344 ac_cpp='$CXXCPP $CPPFLAGS'
67345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67350 /* end confdefs.h. */
67351 #include <math.h>
67353 main ()
67355 hypotl(0, 0);
67357 return 0;
67359 _ACEOF
67360 if ac_fn_cxx_try_compile "$LINENO"; then :
67361 glibcxx_cv_func_hypotl_use=yes
67362 else
67363 glibcxx_cv_func_hypotl_use=no
67365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67366 ac_ext=c
67367 ac_cpp='$CPP $CPPFLAGS'
67368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
67377 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
67379 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
67380 for ac_func in hypotl
67381 do :
67382 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
67383 if test "x$ac_cv_func_hypotl" = xyes; then :
67384 cat >>confdefs.h <<_ACEOF
67385 #define HAVE_HYPOTL 1
67386 _ACEOF
67389 done
67391 else
67393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
67394 $as_echo_n "checking for _hypotl declaration... " >&6; }
67395 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
67396 if ${glibcxx_cv_func__hypotl_use+:} false; then :
67397 $as_echo_n "(cached) " >&6
67398 else
67401 ac_ext=cpp
67402 ac_cpp='$CXXCPP $CPPFLAGS'
67403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67408 /* end confdefs.h. */
67409 #include <math.h>
67411 main ()
67413 _hypotl(0, 0);
67415 return 0;
67417 _ACEOF
67418 if ac_fn_cxx_try_compile "$LINENO"; then :
67419 glibcxx_cv_func__hypotl_use=yes
67420 else
67421 glibcxx_cv_func__hypotl_use=no
67423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67424 ac_ext=c
67425 ac_cpp='$CPP $CPPFLAGS'
67426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
67435 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
67437 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
67438 for ac_func in _hypotl
67439 do :
67440 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
67441 if test "x$ac_cv_func__hypotl" = xyes; then :
67442 cat >>confdefs.h <<_ACEOF
67443 #define HAVE__HYPOTL 1
67444 _ACEOF
67447 done
67456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
67457 $as_echo_n "checking for ldexpl declaration... " >&6; }
67458 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
67459 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
67460 $as_echo_n "(cached) " >&6
67461 else
67464 ac_ext=cpp
67465 ac_cpp='$CXXCPP $CPPFLAGS'
67466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67471 /* end confdefs.h. */
67472 #include <math.h>
67474 main ()
67476 ldexpl(0, 0);
67478 return 0;
67480 _ACEOF
67481 if ac_fn_cxx_try_compile "$LINENO"; then :
67482 glibcxx_cv_func_ldexpl_use=yes
67483 else
67484 glibcxx_cv_func_ldexpl_use=no
67486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67487 ac_ext=c
67488 ac_cpp='$CPP $CPPFLAGS'
67489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
67498 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
67500 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
67501 for ac_func in ldexpl
67502 do :
67503 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
67504 if test "x$ac_cv_func_ldexpl" = xyes; then :
67505 cat >>confdefs.h <<_ACEOF
67506 #define HAVE_LDEXPL 1
67507 _ACEOF
67510 done
67512 else
67514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
67515 $as_echo_n "checking for _ldexpl declaration... " >&6; }
67516 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
67517 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
67518 $as_echo_n "(cached) " >&6
67519 else
67522 ac_ext=cpp
67523 ac_cpp='$CXXCPP $CPPFLAGS'
67524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67529 /* end confdefs.h. */
67530 #include <math.h>
67532 main ()
67534 _ldexpl(0, 0);
67536 return 0;
67538 _ACEOF
67539 if ac_fn_cxx_try_compile "$LINENO"; then :
67540 glibcxx_cv_func__ldexpl_use=yes
67541 else
67542 glibcxx_cv_func__ldexpl_use=no
67544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67545 ac_ext=c
67546 ac_cpp='$CPP $CPPFLAGS'
67547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
67556 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
67558 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
67559 for ac_func in _ldexpl
67560 do :
67561 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
67562 if test "x$ac_cv_func__ldexpl" = xyes; then :
67563 cat >>confdefs.h <<_ACEOF
67564 #define HAVE__LDEXPL 1
67565 _ACEOF
67568 done
67577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
67578 $as_echo_n "checking for logl declaration... " >&6; }
67579 if test x${glibcxx_cv_func_logl_use+set} != xset; then
67580 if ${glibcxx_cv_func_logl_use+:} false; then :
67581 $as_echo_n "(cached) " >&6
67582 else
67585 ac_ext=cpp
67586 ac_cpp='$CXXCPP $CPPFLAGS'
67587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67592 /* end confdefs.h. */
67593 #include <math.h>
67594 #ifdef HAVE_IEEEFP_H
67595 #include <ieeefp.h>
67596 #endif
67599 main ()
67601 logl(0);
67603 return 0;
67605 _ACEOF
67606 if ac_fn_cxx_try_compile "$LINENO"; then :
67607 glibcxx_cv_func_logl_use=yes
67608 else
67609 glibcxx_cv_func_logl_use=no
67611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67612 ac_ext=c
67613 ac_cpp='$CPP $CPPFLAGS'
67614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
67623 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
67625 if test x$glibcxx_cv_func_logl_use = x"yes"; then
67626 for ac_func in logl
67627 do :
67628 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
67629 if test "x$ac_cv_func_logl" = xyes; then :
67630 cat >>confdefs.h <<_ACEOF
67631 #define HAVE_LOGL 1
67632 _ACEOF
67635 done
67637 else
67639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
67640 $as_echo_n "checking for _logl declaration... " >&6; }
67641 if test x${glibcxx_cv_func__logl_use+set} != xset; then
67642 if ${glibcxx_cv_func__logl_use+:} false; then :
67643 $as_echo_n "(cached) " >&6
67644 else
67647 ac_ext=cpp
67648 ac_cpp='$CXXCPP $CPPFLAGS'
67649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67654 /* end confdefs.h. */
67655 #include <math.h>
67656 #ifdef HAVE_IEEEFP_H
67657 #include <ieeefp.h>
67658 #endif
67661 main ()
67663 _logl(0);
67665 return 0;
67667 _ACEOF
67668 if ac_fn_cxx_try_compile "$LINENO"; then :
67669 glibcxx_cv_func__logl_use=yes
67670 else
67671 glibcxx_cv_func__logl_use=no
67673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67674 ac_ext=c
67675 ac_cpp='$CPP $CPPFLAGS'
67676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
67685 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
67687 if test x$glibcxx_cv_func__logl_use = x"yes"; then
67688 for ac_func in _logl
67689 do :
67690 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
67691 if test "x$ac_cv_func__logl" = xyes; then :
67692 cat >>confdefs.h <<_ACEOF
67693 #define HAVE__LOGL 1
67694 _ACEOF
67697 done
67706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
67707 $as_echo_n "checking for log10l declaration... " >&6; }
67708 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
67709 if ${glibcxx_cv_func_log10l_use+:} false; then :
67710 $as_echo_n "(cached) " >&6
67711 else
67714 ac_ext=cpp
67715 ac_cpp='$CXXCPP $CPPFLAGS'
67716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67721 /* end confdefs.h. */
67722 #include <math.h>
67723 #ifdef HAVE_IEEEFP_H
67724 #include <ieeefp.h>
67725 #endif
67728 main ()
67730 log10l(0);
67732 return 0;
67734 _ACEOF
67735 if ac_fn_cxx_try_compile "$LINENO"; then :
67736 glibcxx_cv_func_log10l_use=yes
67737 else
67738 glibcxx_cv_func_log10l_use=no
67740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67741 ac_ext=c
67742 ac_cpp='$CPP $CPPFLAGS'
67743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
67752 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
67754 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
67755 for ac_func in log10l
67756 do :
67757 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
67758 if test "x$ac_cv_func_log10l" = xyes; then :
67759 cat >>confdefs.h <<_ACEOF
67760 #define HAVE_LOG10L 1
67761 _ACEOF
67764 done
67766 else
67768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
67769 $as_echo_n "checking for _log10l declaration... " >&6; }
67770 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
67771 if ${glibcxx_cv_func__log10l_use+:} false; then :
67772 $as_echo_n "(cached) " >&6
67773 else
67776 ac_ext=cpp
67777 ac_cpp='$CXXCPP $CPPFLAGS'
67778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67783 /* end confdefs.h. */
67784 #include <math.h>
67785 #ifdef HAVE_IEEEFP_H
67786 #include <ieeefp.h>
67787 #endif
67790 main ()
67792 _log10l(0);
67794 return 0;
67796 _ACEOF
67797 if ac_fn_cxx_try_compile "$LINENO"; then :
67798 glibcxx_cv_func__log10l_use=yes
67799 else
67800 glibcxx_cv_func__log10l_use=no
67802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67803 ac_ext=c
67804 ac_cpp='$CPP $CPPFLAGS'
67805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
67814 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
67816 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
67817 for ac_func in _log10l
67818 do :
67819 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
67820 if test "x$ac_cv_func__log10l" = xyes; then :
67821 cat >>confdefs.h <<_ACEOF
67822 #define HAVE__LOG10L 1
67823 _ACEOF
67826 done
67835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
67836 $as_echo_n "checking for modfl declaration... " >&6; }
67837 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
67838 if ${glibcxx_cv_func_modfl_use+:} false; then :
67839 $as_echo_n "(cached) " >&6
67840 else
67843 ac_ext=cpp
67844 ac_cpp='$CXXCPP $CPPFLAGS'
67845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67850 /* end confdefs.h. */
67851 #include <math.h>
67853 main ()
67855 modfl(0, 0);
67857 return 0;
67859 _ACEOF
67860 if ac_fn_cxx_try_compile "$LINENO"; then :
67861 glibcxx_cv_func_modfl_use=yes
67862 else
67863 glibcxx_cv_func_modfl_use=no
67865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67866 ac_ext=c
67867 ac_cpp='$CPP $CPPFLAGS'
67868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
67877 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
67879 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
67880 for ac_func in modfl
67881 do :
67882 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
67883 if test "x$ac_cv_func_modfl" = xyes; then :
67884 cat >>confdefs.h <<_ACEOF
67885 #define HAVE_MODFL 1
67886 _ACEOF
67889 done
67891 else
67893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
67894 $as_echo_n "checking for _modfl declaration... " >&6; }
67895 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
67896 if ${glibcxx_cv_func__modfl_use+:} false; then :
67897 $as_echo_n "(cached) " >&6
67898 else
67901 ac_ext=cpp
67902 ac_cpp='$CXXCPP $CPPFLAGS'
67903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67908 /* end confdefs.h. */
67909 #include <math.h>
67911 main ()
67913 _modfl(0, 0);
67915 return 0;
67917 _ACEOF
67918 if ac_fn_cxx_try_compile "$LINENO"; then :
67919 glibcxx_cv_func__modfl_use=yes
67920 else
67921 glibcxx_cv_func__modfl_use=no
67923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67924 ac_ext=c
67925 ac_cpp='$CPP $CPPFLAGS'
67926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
67935 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
67937 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
67938 for ac_func in _modfl
67939 do :
67940 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
67941 if test "x$ac_cv_func__modfl" = xyes; then :
67942 cat >>confdefs.h <<_ACEOF
67943 #define HAVE__MODFL 1
67944 _ACEOF
67947 done
67956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
67957 $as_echo_n "checking for powl declaration... " >&6; }
67958 if test x${glibcxx_cv_func_powl_use+set} != xset; then
67959 if ${glibcxx_cv_func_powl_use+:} false; then :
67960 $as_echo_n "(cached) " >&6
67961 else
67964 ac_ext=cpp
67965 ac_cpp='$CXXCPP $CPPFLAGS'
67966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67971 /* end confdefs.h. */
67972 #include <math.h>
67974 main ()
67976 powl(0, 0);
67978 return 0;
67980 _ACEOF
67981 if ac_fn_cxx_try_compile "$LINENO"; then :
67982 glibcxx_cv_func_powl_use=yes
67983 else
67984 glibcxx_cv_func_powl_use=no
67986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67987 ac_ext=c
67988 ac_cpp='$CPP $CPPFLAGS'
67989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
67998 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
68000 if test x$glibcxx_cv_func_powl_use = x"yes"; then
68001 for ac_func in powl
68002 do :
68003 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
68004 if test "x$ac_cv_func_powl" = xyes; then :
68005 cat >>confdefs.h <<_ACEOF
68006 #define HAVE_POWL 1
68007 _ACEOF
68010 done
68012 else
68014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
68015 $as_echo_n "checking for _powl declaration... " >&6; }
68016 if test x${glibcxx_cv_func__powl_use+set} != xset; then
68017 if ${glibcxx_cv_func__powl_use+:} false; then :
68018 $as_echo_n "(cached) " >&6
68019 else
68022 ac_ext=cpp
68023 ac_cpp='$CXXCPP $CPPFLAGS'
68024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68029 /* end confdefs.h. */
68030 #include <math.h>
68032 main ()
68034 _powl(0, 0);
68036 return 0;
68038 _ACEOF
68039 if ac_fn_cxx_try_compile "$LINENO"; then :
68040 glibcxx_cv_func__powl_use=yes
68041 else
68042 glibcxx_cv_func__powl_use=no
68044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68045 ac_ext=c
68046 ac_cpp='$CPP $CPPFLAGS'
68047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
68056 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
68058 if test x$glibcxx_cv_func__powl_use = x"yes"; then
68059 for ac_func in _powl
68060 do :
68061 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
68062 if test "x$ac_cv_func__powl" = xyes; then :
68063 cat >>confdefs.h <<_ACEOF
68064 #define HAVE__POWL 1
68065 _ACEOF
68068 done
68077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
68078 $as_echo_n "checking for sqrtl declaration... " >&6; }
68079 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
68080 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
68081 $as_echo_n "(cached) " >&6
68082 else
68085 ac_ext=cpp
68086 ac_cpp='$CXXCPP $CPPFLAGS'
68087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68092 /* end confdefs.h. */
68093 #include <math.h>
68094 #ifdef HAVE_IEEEFP_H
68095 #include <ieeefp.h>
68096 #endif
68099 main ()
68101 sqrtl(0);
68103 return 0;
68105 _ACEOF
68106 if ac_fn_cxx_try_compile "$LINENO"; then :
68107 glibcxx_cv_func_sqrtl_use=yes
68108 else
68109 glibcxx_cv_func_sqrtl_use=no
68111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68112 ac_ext=c
68113 ac_cpp='$CPP $CPPFLAGS'
68114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
68123 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
68125 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
68126 for ac_func in sqrtl
68127 do :
68128 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
68129 if test "x$ac_cv_func_sqrtl" = xyes; then :
68130 cat >>confdefs.h <<_ACEOF
68131 #define HAVE_SQRTL 1
68132 _ACEOF
68135 done
68137 else
68139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
68140 $as_echo_n "checking for _sqrtl declaration... " >&6; }
68141 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
68142 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
68143 $as_echo_n "(cached) " >&6
68144 else
68147 ac_ext=cpp
68148 ac_cpp='$CXXCPP $CPPFLAGS'
68149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68154 /* end confdefs.h. */
68155 #include <math.h>
68156 #ifdef HAVE_IEEEFP_H
68157 #include <ieeefp.h>
68158 #endif
68161 main ()
68163 _sqrtl(0);
68165 return 0;
68167 _ACEOF
68168 if ac_fn_cxx_try_compile "$LINENO"; then :
68169 glibcxx_cv_func__sqrtl_use=yes
68170 else
68171 glibcxx_cv_func__sqrtl_use=no
68173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68174 ac_ext=c
68175 ac_cpp='$CPP $CPPFLAGS'
68176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
68185 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
68187 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
68188 for ac_func in _sqrtl
68189 do :
68190 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
68191 if test "x$ac_cv_func__sqrtl" = xyes; then :
68192 cat >>confdefs.h <<_ACEOF
68193 #define HAVE__SQRTL 1
68194 _ACEOF
68197 done
68206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
68207 $as_echo_n "checking for sincosl declaration... " >&6; }
68208 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
68209 if ${glibcxx_cv_func_sincosl_use+:} false; then :
68210 $as_echo_n "(cached) " >&6
68211 else
68214 ac_ext=cpp
68215 ac_cpp='$CXXCPP $CPPFLAGS'
68216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68221 /* end confdefs.h. */
68222 #include <math.h>
68224 main ()
68226 sincosl(0, 0, 0);
68228 return 0;
68230 _ACEOF
68231 if ac_fn_cxx_try_compile "$LINENO"; then :
68232 glibcxx_cv_func_sincosl_use=yes
68233 else
68234 glibcxx_cv_func_sincosl_use=no
68236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68237 ac_ext=c
68238 ac_cpp='$CPP $CPPFLAGS'
68239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
68248 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
68250 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
68251 for ac_func in sincosl
68252 do :
68253 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
68254 if test "x$ac_cv_func_sincosl" = xyes; then :
68255 cat >>confdefs.h <<_ACEOF
68256 #define HAVE_SINCOSL 1
68257 _ACEOF
68260 done
68262 else
68264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
68265 $as_echo_n "checking for _sincosl declaration... " >&6; }
68266 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
68267 if ${glibcxx_cv_func__sincosl_use+:} false; then :
68268 $as_echo_n "(cached) " >&6
68269 else
68272 ac_ext=cpp
68273 ac_cpp='$CXXCPP $CPPFLAGS'
68274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68279 /* end confdefs.h. */
68280 #include <math.h>
68282 main ()
68284 _sincosl(0, 0, 0);
68286 return 0;
68288 _ACEOF
68289 if ac_fn_cxx_try_compile "$LINENO"; then :
68290 glibcxx_cv_func__sincosl_use=yes
68291 else
68292 glibcxx_cv_func__sincosl_use=no
68294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68295 ac_ext=c
68296 ac_cpp='$CPP $CPPFLAGS'
68297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
68306 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
68308 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
68309 for ac_func in _sincosl
68310 do :
68311 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
68312 if test "x$ac_cv_func__sincosl" = xyes; then :
68313 cat >>confdefs.h <<_ACEOF
68314 #define HAVE__SINCOSL 1
68315 _ACEOF
68318 done
68327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
68328 $as_echo_n "checking for finitel declaration... " >&6; }
68329 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
68330 if ${glibcxx_cv_func_finitel_use+:} false; then :
68331 $as_echo_n "(cached) " >&6
68332 else
68335 ac_ext=cpp
68336 ac_cpp='$CXXCPP $CPPFLAGS'
68337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68342 /* end confdefs.h. */
68343 #include <math.h>
68344 #ifdef HAVE_IEEEFP_H
68345 #include <ieeefp.h>
68346 #endif
68349 main ()
68351 finitel(0);
68353 return 0;
68355 _ACEOF
68356 if ac_fn_cxx_try_compile "$LINENO"; then :
68357 glibcxx_cv_func_finitel_use=yes
68358 else
68359 glibcxx_cv_func_finitel_use=no
68361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68362 ac_ext=c
68363 ac_cpp='$CPP $CPPFLAGS'
68364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
68373 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
68375 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
68376 for ac_func in finitel
68377 do :
68378 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
68379 if test "x$ac_cv_func_finitel" = xyes; then :
68380 cat >>confdefs.h <<_ACEOF
68381 #define HAVE_FINITEL 1
68382 _ACEOF
68385 done
68387 else
68389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
68390 $as_echo_n "checking for _finitel declaration... " >&6; }
68391 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
68392 if ${glibcxx_cv_func__finitel_use+:} false; then :
68393 $as_echo_n "(cached) " >&6
68394 else
68397 ac_ext=cpp
68398 ac_cpp='$CXXCPP $CPPFLAGS'
68399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68404 /* end confdefs.h. */
68405 #include <math.h>
68406 #ifdef HAVE_IEEEFP_H
68407 #include <ieeefp.h>
68408 #endif
68411 main ()
68413 _finitel(0);
68415 return 0;
68417 _ACEOF
68418 if ac_fn_cxx_try_compile "$LINENO"; then :
68419 glibcxx_cv_func__finitel_use=yes
68420 else
68421 glibcxx_cv_func__finitel_use=no
68423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68424 ac_ext=c
68425 ac_cpp='$CPP $CPPFLAGS'
68426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
68435 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
68437 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
68438 for ac_func in _finitel
68439 do :
68440 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
68441 if test "x$ac_cv_func__finitel" = xyes; then :
68442 cat >>confdefs.h <<_ACEOF
68443 #define HAVE__FINITEL 1
68444 _ACEOF
68447 done
68455 LIBS="$ac_save_LIBS"
68456 CXXFLAGS="$ac_save_CXXFLAGS"
68459 ac_test_CXXFLAGS="${CXXFLAGS+set}"
68460 ac_save_CXXFLAGS="$CXXFLAGS"
68461 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
68464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
68465 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
68466 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
68467 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
68468 $as_echo_n "(cached) " >&6
68469 else
68472 ac_ext=cpp
68473 ac_cpp='$CXXCPP $CPPFLAGS'
68474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68479 /* end confdefs.h. */
68480 #include <stdlib.h>
68482 main ()
68484 at_quick_exit(0);
68486 return 0;
68488 _ACEOF
68489 if ac_fn_cxx_try_compile "$LINENO"; then :
68490 glibcxx_cv_func_at_quick_exit_use=yes
68491 else
68492 glibcxx_cv_func_at_quick_exit_use=no
68494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68495 ac_ext=c
68496 ac_cpp='$CPP $CPPFLAGS'
68497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
68506 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
68507 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
68508 for ac_func in at_quick_exit
68509 do :
68510 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
68511 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
68512 cat >>confdefs.h <<_ACEOF
68513 #define HAVE_AT_QUICK_EXIT 1
68514 _ACEOF
68517 done
68522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
68523 $as_echo_n "checking for quick_exit declaration... " >&6; }
68524 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
68525 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
68526 $as_echo_n "(cached) " >&6
68527 else
68530 ac_ext=cpp
68531 ac_cpp='$CXXCPP $CPPFLAGS'
68532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68537 /* end confdefs.h. */
68538 #include <stdlib.h>
68540 main ()
68542 quick_exit(0);
68544 return 0;
68546 _ACEOF
68547 if ac_fn_cxx_try_compile "$LINENO"; then :
68548 glibcxx_cv_func_quick_exit_use=yes
68549 else
68550 glibcxx_cv_func_quick_exit_use=no
68552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68553 ac_ext=c
68554 ac_cpp='$CPP $CPPFLAGS'
68555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
68564 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
68565 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
68566 for ac_func in quick_exit
68567 do :
68568 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
68569 if test "x$ac_cv_func_quick_exit" = xyes; then :
68570 cat >>confdefs.h <<_ACEOF
68571 #define HAVE_QUICK_EXIT 1
68572 _ACEOF
68575 done
68580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
68581 $as_echo_n "checking for strtold declaration... " >&6; }
68582 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
68583 if ${glibcxx_cv_func_strtold_use+:} false; then :
68584 $as_echo_n "(cached) " >&6
68585 else
68588 ac_ext=cpp
68589 ac_cpp='$CXXCPP $CPPFLAGS'
68590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68595 /* end confdefs.h. */
68596 #include <stdlib.h>
68598 main ()
68600 strtold(0, 0);
68602 return 0;
68604 _ACEOF
68605 if ac_fn_cxx_try_compile "$LINENO"; then :
68606 glibcxx_cv_func_strtold_use=yes
68607 else
68608 glibcxx_cv_func_strtold_use=no
68610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68611 ac_ext=c
68612 ac_cpp='$CPP $CPPFLAGS'
68613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
68622 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
68623 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
68624 for ac_func in strtold
68625 do :
68626 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
68627 if test "x$ac_cv_func_strtold" = xyes; then :
68628 cat >>confdefs.h <<_ACEOF
68629 #define HAVE_STRTOLD 1
68630 _ACEOF
68633 done
68640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
68641 $as_echo_n "checking for strtof declaration... " >&6; }
68642 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
68643 if ${glibcxx_cv_func_strtof_use+:} false; then :
68644 $as_echo_n "(cached) " >&6
68645 else
68648 ac_ext=cpp
68649 ac_cpp='$CXXCPP $CPPFLAGS'
68650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68655 /* end confdefs.h. */
68656 #include <stdlib.h>
68658 main ()
68660 strtof(0, 0);
68662 return 0;
68664 _ACEOF
68665 if ac_fn_cxx_try_compile "$LINENO"; then :
68666 glibcxx_cv_func_strtof_use=yes
68667 else
68668 glibcxx_cv_func_strtof_use=no
68670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68671 ac_ext=c
68672 ac_cpp='$CPP $CPPFLAGS'
68673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
68682 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
68683 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
68684 for ac_func in strtof
68685 do :
68686 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
68687 if test "x$ac_cv_func_strtof" = xyes; then :
68688 cat >>confdefs.h <<_ACEOF
68689 #define HAVE_STRTOF 1
68690 _ACEOF
68693 done
68700 CXXFLAGS="$ac_save_CXXFLAGS"
68703 *-vxworks*)
68704 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
68706 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
68708 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
68710 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
68712 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
68714 $as_echo "#define HAVE_COSF 1" >>confdefs.h
68716 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
68718 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
68720 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
68722 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
68724 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
68726 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
68728 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
68730 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
68732 $as_echo "#define HAVE_POWF 1" >>confdefs.h
68734 $as_echo "#define HAVE_SINF 1" >>confdefs.h
68736 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
68738 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
68740 $as_echo "#define HAVE_TANF 1" >>confdefs.h
68742 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
68748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl declaration" >&5
68749 $as_echo_n "checking for acosl declaration... " >&6; }
68750 if ${glibcxx_cv_func_acosl_use+:} false; then :
68751 $as_echo_n "(cached) " >&6
68752 else
68755 ac_ext=c
68756 ac_cpp='$CPP $CPPFLAGS'
68757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68762 /* end confdefs.h. */
68764 #include <math.h>
68765 #ifdef HAVE_IEEEFP_H
68766 # include <ieeefp.h>
68767 #endif
68768 #undef acosl
68771 main ()
68774 void (*f)(void) = (void (*)(void))acosl;
68777 return 0;
68779 _ACEOF
68780 if ac_fn_c_try_compile "$LINENO"; then :
68781 glibcxx_cv_func_acosl_use=yes
68783 else
68784 glibcxx_cv_func_acosl_use=no
68786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_acosl_use" >&5
68789 $as_echo "$glibcxx_cv_func_acosl_use" >&6; }
68790 if test "x$glibcxx_cv_func_acosl_use" = xyes; then
68791 cat >>confdefs.h <<_ACEOF
68792 #define HAVE_ACOSL 1
68793 _ACEOF
68799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl declaration" >&5
68800 $as_echo_n "checking for asinl declaration... " >&6; }
68801 if ${glibcxx_cv_func_asinl_use+:} false; then :
68802 $as_echo_n "(cached) " >&6
68803 else
68806 ac_ext=c
68807 ac_cpp='$CPP $CPPFLAGS'
68808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68813 /* end confdefs.h. */
68815 #include <math.h>
68816 #ifdef HAVE_IEEEFP_H
68817 # include <ieeefp.h>
68818 #endif
68819 #undef asinl
68822 main ()
68825 void (*f)(void) = (void (*)(void))asinl;
68828 return 0;
68830 _ACEOF
68831 if ac_fn_c_try_compile "$LINENO"; then :
68832 glibcxx_cv_func_asinl_use=yes
68834 else
68835 glibcxx_cv_func_asinl_use=no
68837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_asinl_use" >&5
68840 $as_echo "$glibcxx_cv_func_asinl_use" >&6; }
68841 if test "x$glibcxx_cv_func_asinl_use" = xyes; then
68842 cat >>confdefs.h <<_ACEOF
68843 #define HAVE_ASINL 1
68844 _ACEOF
68850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
68851 $as_echo_n "checking for atan2l declaration... " >&6; }
68852 if ${glibcxx_cv_func_atan2l_use+:} false; then :
68853 $as_echo_n "(cached) " >&6
68854 else
68857 ac_ext=c
68858 ac_cpp='$CPP $CPPFLAGS'
68859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68864 /* end confdefs.h. */
68866 #include <math.h>
68867 #ifdef HAVE_IEEEFP_H
68868 # include <ieeefp.h>
68869 #endif
68870 #undef atan2l
68873 main ()
68876 void (*f)(void) = (void (*)(void))atan2l;
68879 return 0;
68881 _ACEOF
68882 if ac_fn_c_try_compile "$LINENO"; then :
68883 glibcxx_cv_func_atan2l_use=yes
68885 else
68886 glibcxx_cv_func_atan2l_use=no
68888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
68891 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
68892 if test "x$glibcxx_cv_func_atan2l_use" = xyes; then
68893 cat >>confdefs.h <<_ACEOF
68894 #define HAVE_ATAN2L 1
68895 _ACEOF
68901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl declaration" >&5
68902 $as_echo_n "checking for atanl declaration... " >&6; }
68903 if ${glibcxx_cv_func_atanl_use+:} false; then :
68904 $as_echo_n "(cached) " >&6
68905 else
68908 ac_ext=c
68909 ac_cpp='$CPP $CPPFLAGS'
68910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68915 /* end confdefs.h. */
68917 #include <math.h>
68918 #ifdef HAVE_IEEEFP_H
68919 # include <ieeefp.h>
68920 #endif
68921 #undef atanl
68924 main ()
68927 void (*f)(void) = (void (*)(void))atanl;
68930 return 0;
68932 _ACEOF
68933 if ac_fn_c_try_compile "$LINENO"; then :
68934 glibcxx_cv_func_atanl_use=yes
68936 else
68937 glibcxx_cv_func_atanl_use=no
68939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atanl_use" >&5
68942 $as_echo "$glibcxx_cv_func_atanl_use" >&6; }
68943 if test "x$glibcxx_cv_func_atanl_use" = xyes; then
68944 cat >>confdefs.h <<_ACEOF
68945 #define HAVE_ATANL 1
68946 _ACEOF
68952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill declaration" >&5
68953 $as_echo_n "checking for ceill declaration... " >&6; }
68954 if ${glibcxx_cv_func_ceill_use+:} false; then :
68955 $as_echo_n "(cached) " >&6
68956 else
68959 ac_ext=c
68960 ac_cpp='$CPP $CPPFLAGS'
68961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68966 /* end confdefs.h. */
68968 #include <math.h>
68969 #ifdef HAVE_IEEEFP_H
68970 # include <ieeefp.h>
68971 #endif
68972 #undef ceill
68975 main ()
68978 void (*f)(void) = (void (*)(void))ceill;
68981 return 0;
68983 _ACEOF
68984 if ac_fn_c_try_compile "$LINENO"; then :
68985 glibcxx_cv_func_ceill_use=yes
68987 else
68988 glibcxx_cv_func_ceill_use=no
68990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ceill_use" >&5
68993 $as_echo "$glibcxx_cv_func_ceill_use" >&6; }
68994 if test "x$glibcxx_cv_func_ceill_use" = xyes; then
68995 cat >>confdefs.h <<_ACEOF
68996 #define HAVE_CEILL 1
68997 _ACEOF
69003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl declaration" >&5
69004 $as_echo_n "checking for cosl declaration... " >&6; }
69005 if ${glibcxx_cv_func_cosl_use+:} false; then :
69006 $as_echo_n "(cached) " >&6
69007 else
69010 ac_ext=c
69011 ac_cpp='$CPP $CPPFLAGS'
69012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69017 /* end confdefs.h. */
69019 #include <math.h>
69020 #ifdef HAVE_IEEEFP_H
69021 # include <ieeefp.h>
69022 #endif
69023 #undef cosl
69026 main ()
69029 void (*f)(void) = (void (*)(void))cosl;
69032 return 0;
69034 _ACEOF
69035 if ac_fn_c_try_compile "$LINENO"; then :
69036 glibcxx_cv_func_cosl_use=yes
69038 else
69039 glibcxx_cv_func_cosl_use=no
69041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_cosl_use" >&5
69044 $as_echo "$glibcxx_cv_func_cosl_use" >&6; }
69045 if test "x$glibcxx_cv_func_cosl_use" = xyes; then
69046 cat >>confdefs.h <<_ACEOF
69047 #define HAVE_COSL 1
69048 _ACEOF
69054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl declaration" >&5
69055 $as_echo_n "checking for coshl declaration... " >&6; }
69056 if ${glibcxx_cv_func_coshl_use+:} false; then :
69057 $as_echo_n "(cached) " >&6
69058 else
69061 ac_ext=c
69062 ac_cpp='$CPP $CPPFLAGS'
69063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69068 /* end confdefs.h. */
69070 #include <math.h>
69071 #ifdef HAVE_IEEEFP_H
69072 # include <ieeefp.h>
69073 #endif
69074 #undef coshl
69077 main ()
69080 void (*f)(void) = (void (*)(void))coshl;
69083 return 0;
69085 _ACEOF
69086 if ac_fn_c_try_compile "$LINENO"; then :
69087 glibcxx_cv_func_coshl_use=yes
69089 else
69090 glibcxx_cv_func_coshl_use=no
69092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_coshl_use" >&5
69095 $as_echo "$glibcxx_cv_func_coshl_use" >&6; }
69096 if test "x$glibcxx_cv_func_coshl_use" = xyes; then
69097 cat >>confdefs.h <<_ACEOF
69098 #define HAVE_COSHL 1
69099 _ACEOF
69105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
69106 $as_echo_n "checking for expl declaration... " >&6; }
69107 if ${glibcxx_cv_func_expl_use+:} false; then :
69108 $as_echo_n "(cached) " >&6
69109 else
69112 ac_ext=c
69113 ac_cpp='$CPP $CPPFLAGS'
69114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69119 /* end confdefs.h. */
69121 #include <math.h>
69122 #ifdef HAVE_IEEEFP_H
69123 # include <ieeefp.h>
69124 #endif
69125 #undef expl
69128 main ()
69131 void (*f)(void) = (void (*)(void))expl;
69134 return 0;
69136 _ACEOF
69137 if ac_fn_c_try_compile "$LINENO"; then :
69138 glibcxx_cv_func_expl_use=yes
69140 else
69141 glibcxx_cv_func_expl_use=no
69143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
69146 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
69147 if test "x$glibcxx_cv_func_expl_use" = xyes; then
69148 cat >>confdefs.h <<_ACEOF
69149 #define HAVE_EXPL 1
69150 _ACEOF
69156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
69157 $as_echo_n "checking for fabsl declaration... " >&6; }
69158 if ${glibcxx_cv_func_fabsl_use+:} false; then :
69159 $as_echo_n "(cached) " >&6
69160 else
69163 ac_ext=c
69164 ac_cpp='$CPP $CPPFLAGS'
69165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69170 /* end confdefs.h. */
69172 #include <math.h>
69173 #ifdef HAVE_IEEEFP_H
69174 # include <ieeefp.h>
69175 #endif
69176 #undef fabsl
69179 main ()
69182 void (*f)(void) = (void (*)(void))fabsl;
69185 return 0;
69187 _ACEOF
69188 if ac_fn_c_try_compile "$LINENO"; then :
69189 glibcxx_cv_func_fabsl_use=yes
69191 else
69192 glibcxx_cv_func_fabsl_use=no
69194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
69197 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
69198 if test "x$glibcxx_cv_func_fabsl_use" = xyes; then
69199 cat >>confdefs.h <<_ACEOF
69200 #define HAVE_FABSL 1
69201 _ACEOF
69207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl declaration" >&5
69208 $as_echo_n "checking for floorl declaration... " >&6; }
69209 if ${glibcxx_cv_func_floorl_use+:} false; then :
69210 $as_echo_n "(cached) " >&6
69211 else
69214 ac_ext=c
69215 ac_cpp='$CPP $CPPFLAGS'
69216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69221 /* end confdefs.h. */
69223 #include <math.h>
69224 #ifdef HAVE_IEEEFP_H
69225 # include <ieeefp.h>
69226 #endif
69227 #undef floorl
69230 main ()
69233 void (*f)(void) = (void (*)(void))floorl;
69236 return 0;
69238 _ACEOF
69239 if ac_fn_c_try_compile "$LINENO"; then :
69240 glibcxx_cv_func_floorl_use=yes
69242 else
69243 glibcxx_cv_func_floorl_use=no
69245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_floorl_use" >&5
69248 $as_echo "$glibcxx_cv_func_floorl_use" >&6; }
69249 if test "x$glibcxx_cv_func_floorl_use" = xyes; then
69250 cat >>confdefs.h <<_ACEOF
69251 #define HAVE_FLOORL 1
69252 _ACEOF
69258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
69259 $as_echo_n "checking for fmodl declaration... " >&6; }
69260 if ${glibcxx_cv_func_fmodl_use+:} false; then :
69261 $as_echo_n "(cached) " >&6
69262 else
69265 ac_ext=c
69266 ac_cpp='$CPP $CPPFLAGS'
69267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69272 /* end confdefs.h. */
69274 #include <math.h>
69275 #ifdef HAVE_IEEEFP_H
69276 # include <ieeefp.h>
69277 #endif
69278 #undef fmodl
69281 main ()
69284 void (*f)(void) = (void (*)(void))fmodl;
69287 return 0;
69289 _ACEOF
69290 if ac_fn_c_try_compile "$LINENO"; then :
69291 glibcxx_cv_func_fmodl_use=yes
69293 else
69294 glibcxx_cv_func_fmodl_use=no
69296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
69299 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
69300 if test "x$glibcxx_cv_func_fmodl_use" = xyes; then
69301 cat >>confdefs.h <<_ACEOF
69302 #define HAVE_FMODL 1
69303 _ACEOF
69309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
69310 $as_echo_n "checking for frexpl declaration... " >&6; }
69311 if ${glibcxx_cv_func_frexpl_use+:} false; then :
69312 $as_echo_n "(cached) " >&6
69313 else
69316 ac_ext=c
69317 ac_cpp='$CPP $CPPFLAGS'
69318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69323 /* end confdefs.h. */
69325 #include <math.h>
69326 #ifdef HAVE_IEEEFP_H
69327 # include <ieeefp.h>
69328 #endif
69329 #undef frexpl
69332 main ()
69335 void (*f)(void) = (void (*)(void))frexpl;
69338 return 0;
69340 _ACEOF
69341 if ac_fn_c_try_compile "$LINENO"; then :
69342 glibcxx_cv_func_frexpl_use=yes
69344 else
69345 glibcxx_cv_func_frexpl_use=no
69347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
69350 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
69351 if test "x$glibcxx_cv_func_frexpl_use" = xyes; then
69352 cat >>confdefs.h <<_ACEOF
69353 #define HAVE_FREXPL 1
69354 _ACEOF
69360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
69361 $as_echo_n "checking for ldexpl declaration... " >&6; }
69362 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
69363 $as_echo_n "(cached) " >&6
69364 else
69367 ac_ext=c
69368 ac_cpp='$CPP $CPPFLAGS'
69369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69374 /* end confdefs.h. */
69376 #include <math.h>
69377 #ifdef HAVE_IEEEFP_H
69378 # include <ieeefp.h>
69379 #endif
69380 #undef ldexpl
69383 main ()
69386 void (*f)(void) = (void (*)(void))ldexpl;
69389 return 0;
69391 _ACEOF
69392 if ac_fn_c_try_compile "$LINENO"; then :
69393 glibcxx_cv_func_ldexpl_use=yes
69395 else
69396 glibcxx_cv_func_ldexpl_use=no
69398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
69401 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
69402 if test "x$glibcxx_cv_func_ldexpl_use" = xyes; then
69403 cat >>confdefs.h <<_ACEOF
69404 #define HAVE_LDEXPL 1
69405 _ACEOF
69411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
69412 $as_echo_n "checking for log10l declaration... " >&6; }
69413 if ${glibcxx_cv_func_log10l_use+:} false; then :
69414 $as_echo_n "(cached) " >&6
69415 else
69418 ac_ext=c
69419 ac_cpp='$CPP $CPPFLAGS'
69420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69425 /* end confdefs.h. */
69427 #include <math.h>
69428 #ifdef HAVE_IEEEFP_H
69429 # include <ieeefp.h>
69430 #endif
69431 #undef log10l
69434 main ()
69437 void (*f)(void) = (void (*)(void))log10l;
69440 return 0;
69442 _ACEOF
69443 if ac_fn_c_try_compile "$LINENO"; then :
69444 glibcxx_cv_func_log10l_use=yes
69446 else
69447 glibcxx_cv_func_log10l_use=no
69449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
69452 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
69453 if test "x$glibcxx_cv_func_log10l_use" = xyes; then
69454 cat >>confdefs.h <<_ACEOF
69455 #define HAVE_LOG10L 1
69456 _ACEOF
69462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
69463 $as_echo_n "checking for logl declaration... " >&6; }
69464 if ${glibcxx_cv_func_logl_use+:} false; then :
69465 $as_echo_n "(cached) " >&6
69466 else
69469 ac_ext=c
69470 ac_cpp='$CPP $CPPFLAGS'
69471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69476 /* end confdefs.h. */
69478 #include <math.h>
69479 #ifdef HAVE_IEEEFP_H
69480 # include <ieeefp.h>
69481 #endif
69482 #undef logl
69485 main ()
69488 void (*f)(void) = (void (*)(void))logl;
69491 return 0;
69493 _ACEOF
69494 if ac_fn_c_try_compile "$LINENO"; then :
69495 glibcxx_cv_func_logl_use=yes
69497 else
69498 glibcxx_cv_func_logl_use=no
69500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
69503 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
69504 if test "x$glibcxx_cv_func_logl_use" = xyes; then
69505 cat >>confdefs.h <<_ACEOF
69506 #define HAVE_LOGL 1
69507 _ACEOF
69513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
69514 $as_echo_n "checking for modfl declaration... " >&6; }
69515 if ${glibcxx_cv_func_modfl_use+:} false; then :
69516 $as_echo_n "(cached) " >&6
69517 else
69520 ac_ext=c
69521 ac_cpp='$CPP $CPPFLAGS'
69522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69527 /* end confdefs.h. */
69529 #include <math.h>
69530 #ifdef HAVE_IEEEFP_H
69531 # include <ieeefp.h>
69532 #endif
69533 #undef modfl
69536 main ()
69539 void (*f)(void) = (void (*)(void))modfl;
69542 return 0;
69544 _ACEOF
69545 if ac_fn_c_try_compile "$LINENO"; then :
69546 glibcxx_cv_func_modfl_use=yes
69548 else
69549 glibcxx_cv_func_modfl_use=no
69551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
69554 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
69555 if test "x$glibcxx_cv_func_modfl_use" = xyes; then
69556 cat >>confdefs.h <<_ACEOF
69557 #define HAVE_MODFL 1
69558 _ACEOF
69564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
69565 $as_echo_n "checking for powl declaration... " >&6; }
69566 if ${glibcxx_cv_func_powl_use+:} false; then :
69567 $as_echo_n "(cached) " >&6
69568 else
69571 ac_ext=c
69572 ac_cpp='$CPP $CPPFLAGS'
69573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69578 /* end confdefs.h. */
69580 #include <math.h>
69581 #ifdef HAVE_IEEEFP_H
69582 # include <ieeefp.h>
69583 #endif
69584 #undef powl
69587 main ()
69590 void (*f)(void) = (void (*)(void))powl;
69593 return 0;
69595 _ACEOF
69596 if ac_fn_c_try_compile "$LINENO"; then :
69597 glibcxx_cv_func_powl_use=yes
69599 else
69600 glibcxx_cv_func_powl_use=no
69602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
69605 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
69606 if test "x$glibcxx_cv_func_powl_use" = xyes; then
69607 cat >>confdefs.h <<_ACEOF
69608 #define HAVE_POWL 1
69609 _ACEOF
69615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl declaration" >&5
69616 $as_echo_n "checking for sinl declaration... " >&6; }
69617 if ${glibcxx_cv_func_sinl_use+:} false; then :
69618 $as_echo_n "(cached) " >&6
69619 else
69622 ac_ext=c
69623 ac_cpp='$CPP $CPPFLAGS'
69624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69629 /* end confdefs.h. */
69631 #include <math.h>
69632 #ifdef HAVE_IEEEFP_H
69633 # include <ieeefp.h>
69634 #endif
69635 #undef sinl
69638 main ()
69641 void (*f)(void) = (void (*)(void))sinl;
69644 return 0;
69646 _ACEOF
69647 if ac_fn_c_try_compile "$LINENO"; then :
69648 glibcxx_cv_func_sinl_use=yes
69650 else
69651 glibcxx_cv_func_sinl_use=no
69653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinl_use" >&5
69656 $as_echo "$glibcxx_cv_func_sinl_use" >&6; }
69657 if test "x$glibcxx_cv_func_sinl_use" = xyes; then
69658 cat >>confdefs.h <<_ACEOF
69659 #define HAVE_SINL 1
69660 _ACEOF
69666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl declaration" >&5
69667 $as_echo_n "checking for sinhl declaration... " >&6; }
69668 if ${glibcxx_cv_func_sinhl_use+:} false; then :
69669 $as_echo_n "(cached) " >&6
69670 else
69673 ac_ext=c
69674 ac_cpp='$CPP $CPPFLAGS'
69675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69680 /* end confdefs.h. */
69682 #include <math.h>
69683 #ifdef HAVE_IEEEFP_H
69684 # include <ieeefp.h>
69685 #endif
69686 #undef sinhl
69689 main ()
69692 void (*f)(void) = (void (*)(void))sinhl;
69695 return 0;
69697 _ACEOF
69698 if ac_fn_c_try_compile "$LINENO"; then :
69699 glibcxx_cv_func_sinhl_use=yes
69701 else
69702 glibcxx_cv_func_sinhl_use=no
69704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinhl_use" >&5
69707 $as_echo "$glibcxx_cv_func_sinhl_use" >&6; }
69708 if test "x$glibcxx_cv_func_sinhl_use" = xyes; then
69709 cat >>confdefs.h <<_ACEOF
69710 #define HAVE_SINHL 1
69711 _ACEOF
69717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
69718 $as_echo_n "checking for sqrtl declaration... " >&6; }
69719 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
69720 $as_echo_n "(cached) " >&6
69721 else
69724 ac_ext=c
69725 ac_cpp='$CPP $CPPFLAGS'
69726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69731 /* end confdefs.h. */
69733 #include <math.h>
69734 #ifdef HAVE_IEEEFP_H
69735 # include <ieeefp.h>
69736 #endif
69737 #undef sqrtl
69740 main ()
69743 void (*f)(void) = (void (*)(void))sqrtl;
69746 return 0;
69748 _ACEOF
69749 if ac_fn_c_try_compile "$LINENO"; then :
69750 glibcxx_cv_func_sqrtl_use=yes
69752 else
69753 glibcxx_cv_func_sqrtl_use=no
69755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
69758 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
69759 if test "x$glibcxx_cv_func_sqrtl_use" = xyes; then
69760 cat >>confdefs.h <<_ACEOF
69761 #define HAVE_SQRTL 1
69762 _ACEOF
69768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl declaration" >&5
69769 $as_echo_n "checking for tanl declaration... " >&6; }
69770 if ${glibcxx_cv_func_tanl_use+:} false; then :
69771 $as_echo_n "(cached) " >&6
69772 else
69775 ac_ext=c
69776 ac_cpp='$CPP $CPPFLAGS'
69777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69782 /* end confdefs.h. */
69784 #include <math.h>
69785 #ifdef HAVE_IEEEFP_H
69786 # include <ieeefp.h>
69787 #endif
69788 #undef tanl
69791 main ()
69794 void (*f)(void) = (void (*)(void))tanl;
69797 return 0;
69799 _ACEOF
69800 if ac_fn_c_try_compile "$LINENO"; then :
69801 glibcxx_cv_func_tanl_use=yes
69803 else
69804 glibcxx_cv_func_tanl_use=no
69806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanl_use" >&5
69809 $as_echo "$glibcxx_cv_func_tanl_use" >&6; }
69810 if test "x$glibcxx_cv_func_tanl_use" = xyes; then
69811 cat >>confdefs.h <<_ACEOF
69812 #define HAVE_TANL 1
69813 _ACEOF
69819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl declaration" >&5
69820 $as_echo_n "checking for tanhl declaration... " >&6; }
69821 if ${glibcxx_cv_func_tanhl_use+:} false; then :
69822 $as_echo_n "(cached) " >&6
69823 else
69826 ac_ext=c
69827 ac_cpp='$CPP $CPPFLAGS'
69828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69833 /* end confdefs.h. */
69835 #include <math.h>
69836 #ifdef HAVE_IEEEFP_H
69837 # include <ieeefp.h>
69838 #endif
69839 #undef tanhl
69842 main ()
69845 void (*f)(void) = (void (*)(void))tanhl;
69848 return 0;
69850 _ACEOF
69851 if ac_fn_c_try_compile "$LINENO"; then :
69852 glibcxx_cv_func_tanhl_use=yes
69854 else
69855 glibcxx_cv_func_tanhl_use=no
69857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanhl_use" >&5
69860 $as_echo "$glibcxx_cv_func_tanhl_use" >&6; }
69861 if test "x$glibcxx_cv_func_tanhl_use" = xyes; then
69862 cat >>confdefs.h <<_ACEOF
69863 #define HAVE_TANHL 1
69864 _ACEOF
69870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
69871 $as_echo_n "checking for hypotl declaration... " >&6; }
69872 if ${glibcxx_cv_func_hypotl_use+:} false; then :
69873 $as_echo_n "(cached) " >&6
69874 else
69877 ac_ext=c
69878 ac_cpp='$CPP $CPPFLAGS'
69879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69884 /* end confdefs.h. */
69886 #include <math.h>
69887 #ifdef HAVE_IEEEFP_H
69888 # include <ieeefp.h>
69889 #endif
69890 #undef hypotl
69893 main ()
69896 void (*f)(void) = (void (*)(void))hypotl;
69899 return 0;
69901 _ACEOF
69902 if ac_fn_c_try_compile "$LINENO"; then :
69903 glibcxx_cv_func_hypotl_use=yes
69905 else
69906 glibcxx_cv_func_hypotl_use=no
69908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
69911 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
69912 if test "x$glibcxx_cv_func_hypotl_use" = xyes; then
69913 cat >>confdefs.h <<_ACEOF
69914 #define HAVE_HYPOTL 1
69915 _ACEOF
69921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
69922 $as_echo_n "checking for ldexpf declaration... " >&6; }
69923 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
69924 $as_echo_n "(cached) " >&6
69925 else
69928 ac_ext=c
69929 ac_cpp='$CPP $CPPFLAGS'
69930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69935 /* end confdefs.h. */
69937 #include <math.h>
69938 #ifdef HAVE_IEEEFP_H
69939 # include <ieeefp.h>
69940 #endif
69941 #undef ldexpf
69944 main ()
69947 void (*f)(void) = (void (*)(void))ldexpf;
69950 return 0;
69952 _ACEOF
69953 if ac_fn_c_try_compile "$LINENO"; then :
69954 glibcxx_cv_func_ldexpf_use=yes
69956 else
69957 glibcxx_cv_func_ldexpf_use=no
69959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
69962 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
69963 if test "x$glibcxx_cv_func_ldexpf_use" = xyes; then
69964 cat >>confdefs.h <<_ACEOF
69965 #define HAVE_LDEXPF 1
69966 _ACEOF
69972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69973 $as_echo_n "checking for modff declaration... " >&6; }
69974 if ${glibcxx_cv_func_modff_use+:} false; then :
69975 $as_echo_n "(cached) " >&6
69976 else
69979 ac_ext=c
69980 ac_cpp='$CPP $CPPFLAGS'
69981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69986 /* end confdefs.h. */
69988 #include <math.h>
69989 #ifdef HAVE_IEEEFP_H
69990 # include <ieeefp.h>
69991 #endif
69992 #undef modff
69995 main ()
69998 void (*f)(void) = (void (*)(void))modff;
70001 return 0;
70003 _ACEOF
70004 if ac_fn_c_try_compile "$LINENO"; then :
70005 glibcxx_cv_func_modff_use=yes
70007 else
70008 glibcxx_cv_func_modff_use=no
70010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
70013 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
70014 if test "x$glibcxx_cv_func_modff_use" = xyes; then
70015 cat >>confdefs.h <<_ACEOF
70016 #define HAVE_MODFF 1
70017 _ACEOF
70023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
70024 $as_echo_n "checking for hypotf declaration... " >&6; }
70025 if ${glibcxx_cv_func_hypotf_use+:} false; then :
70026 $as_echo_n "(cached) " >&6
70027 else
70030 ac_ext=c
70031 ac_cpp='$CPP $CPPFLAGS'
70032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70037 /* end confdefs.h. */
70039 #include <math.h>
70040 #ifdef HAVE_IEEEFP_H
70041 # include <ieeefp.h>
70042 #endif
70043 #undef hypotf
70046 main ()
70049 void (*f)(void) = (void (*)(void))hypotf;
70052 return 0;
70054 _ACEOF
70055 if ac_fn_c_try_compile "$LINENO"; then :
70056 glibcxx_cv_func_hypotf_use=yes
70058 else
70059 glibcxx_cv_func_hypotf_use=no
70061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
70064 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
70065 if test "x$glibcxx_cv_func_hypotf_use" = xyes; then
70066 cat >>confdefs.h <<_ACEOF
70067 #define HAVE_HYPOTF 1
70068 _ACEOF
70074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
70075 $as_echo_n "checking for frexpf declaration... " >&6; }
70076 if ${glibcxx_cv_func_frexpf_use+:} false; then :
70077 $as_echo_n "(cached) " >&6
70078 else
70081 ac_ext=c
70082 ac_cpp='$CPP $CPPFLAGS'
70083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70088 /* end confdefs.h. */
70090 #include <math.h>
70091 #ifdef HAVE_IEEEFP_H
70092 # include <ieeefp.h>
70093 #endif
70094 #undef frexpf
70097 main ()
70100 void (*f)(void) = (void (*)(void))frexpf;
70103 return 0;
70105 _ACEOF
70106 if ac_fn_c_try_compile "$LINENO"; then :
70107 glibcxx_cv_func_frexpf_use=yes
70109 else
70110 glibcxx_cv_func_frexpf_use=no
70112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
70115 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
70116 if test "x$glibcxx_cv_func_frexpf_use" = xyes; then
70117 cat >>confdefs.h <<_ACEOF
70118 #define HAVE_FREXPF 1
70119 _ACEOF
70127 as_fn_error $? "No support for this host/target combination." "$LINENO" 5
70129 esac
70133 # At some point, we should differentiate between architectures
70134 # like x86, which have long double versions, and alpha/powerpc/etc.,
70135 # which don't. For the time being, punt.
70136 if test x"long_double_math_on_this_cpu" = x"yes"; then
70137 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
70139 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
70141 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
70143 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
70145 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
70147 $as_echo "#define HAVE_COSL 1" >>confdefs.h
70149 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
70151 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
70153 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
70155 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
70157 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
70159 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
70161 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
70163 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
70165 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
70167 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
70169 $as_echo "#define HAVE_POWL 1" >>confdefs.h
70171 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
70173 $as_echo "#define HAVE_SINL 1" >>confdefs.h
70175 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
70177 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
70179 $as_echo "#define HAVE_TANL 1" >>confdefs.h
70181 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
70186 # Check for _Unwind_GetIPInfo.
70189 # Check whether --with-system-libunwind was given.
70190 if test "${with_system_libunwind+set}" = set; then :
70191 withval=$with_system_libunwind;
70194 # If system-libunwind was not specifically set, pick a default setting.
70195 if test x$with_system_libunwind = x; then
70196 case ${target} in
70197 ia64-*-hpux*) with_system_libunwind=yes ;;
70198 *) with_system_libunwind=no ;;
70199 esac
70201 # Based on system-libunwind and target, do we have ipinfo?
70202 if test x$with_system_libunwind = xyes; then
70203 case ${target} in
70204 ia64-*-*) have_unwind_getipinfo=no ;;
70205 *) have_unwind_getipinfo=yes ;;
70206 esac
70207 else
70208 # Darwin before version 9 does not have _Unwind_GetIPInfo.
70210 case ${target} in
70211 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
70212 *) have_unwind_getipinfo=yes ;;
70213 esac
70217 if test x$have_unwind_getipinfo = xyes; then
70219 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
70224 # Check whether --enable-linux-futex was given.
70225 if test "${enable_linux_futex+set}" = set; then :
70226 enableval=$enable_linux_futex;
70227 case "$enableval" in
70228 yes|no|default) ;;
70229 *) as_fn_error $? "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
70230 esac
70232 else
70233 enable_linux_futex=default
70237 case "$target" in
70238 *-linux* | *-uclinux*)
70239 case "$enable_linux_futex" in
70240 default)
70241 # If headers don't have gettid/futex syscalls definition, then
70242 # default to no, otherwise there will be compile time failures.
70243 # Otherwise, default to yes. If we don't detect we are
70244 # compiled/linked against NPTL and not cross-compiling, check
70245 # if programs are run by default against NPTL and if not, issue
70246 # a warning.
70247 enable_linux_futex=no
70248 if test x$gcc_no_link = xyes; then
70249 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70252 /* end confdefs.h. */
70253 #include <sys/syscall.h>
70254 #include <unistd.h>
70255 int lk;
70257 main ()
70259 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
70261 return 0;
70263 _ACEOF
70264 if ac_fn_c_try_link "$LINENO"; then :
70265 save_LIBS="$LIBS"
70266 LIBS="-lpthread $LIBS"
70267 if test x$gcc_no_link = xyes; then
70268 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70271 /* end confdefs.h. */
70272 #ifndef _GNU_SOURCE
70273 #define _GNU_SOURCE 1
70274 #endif
70275 #include <pthread.h>
70276 pthread_t th; void *status;
70278 main ()
70280 pthread_tryjoin_np (th, &status);
70282 return 0;
70284 _ACEOF
70285 if ac_fn_c_try_link "$LINENO"; then :
70286 enable_linux_futex=yes
70287 else
70288 if test x$cross_compiling = xno; then
70289 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
70290 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
70291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
70292 If so, please configure with --disable-linux-futex" >&5
70293 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
70294 If so, please configure with --disable-linux-futex" >&2;}
70297 enable_linux_futex=yes
70299 rm -f core conftest.err conftest.$ac_objext \
70300 conftest$ac_exeext conftest.$ac_ext
70301 LIBS="$save_LIBS"
70303 rm -f core conftest.err conftest.$ac_objext \
70304 conftest$ac_exeext conftest.$ac_ext
70306 yes)
70307 if test x$gcc_no_link = xyes; then
70308 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70311 /* end confdefs.h. */
70312 #include <sys/syscall.h>
70313 #include <unistd.h>
70314 int lk;
70316 main ()
70318 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
70320 return 0;
70322 _ACEOF
70323 if ac_fn_c_try_link "$LINENO"; then :
70325 else
70326 as_fn_error $? "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
70328 rm -f core conftest.err conftest.$ac_objext \
70329 conftest$ac_exeext conftest.$ac_ext
70331 esac
70334 enable_linux_futex=no
70336 esac
70337 if test x$enable_linux_futex = xyes; then
70339 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
70345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
70346 $as_echo_n "checking for GNU c++filt... " >&6; }
70347 if ${ac_cv_path_CXXFILT+:} false; then :
70348 $as_echo_n "(cached) " >&6
70349 else
70350 if test -z "$CXXFILT"; then
70351 ac_path_CXXFILT_found=false
70352 # Loop through the user's path and test for each of PROGNAME-LIST
70353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
70354 for as_dir in $PATH
70356 IFS=$as_save_IFS
70357 test -z "$as_dir" && as_dir=.
70358 for ac_prog in c++filt gc++filt; do
70359 for ac_exec_ext in '' $ac_executable_extensions; do
70360 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
70361 as_fn_executable_p "$ac_path_CXXFILT" || continue
70362 # Check for GNU $ac_path_CXXFILT
70363 case `"$ac_path_CXXFILT" --version 2>&1` in
70364 *GNU*)
70365 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
70366 esac
70368 $ac_path_CXXFILT_found && break 3
70369 done
70370 done
70371 done
70372 IFS=$as_save_IFS
70373 if test -z "$ac_cv_path_CXXFILT"; then
70376 else
70377 ac_cv_path_CXXFILT=$CXXFILT
70381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
70382 $as_echo "$ac_cv_path_CXXFILT" >&6; }
70383 CXXFILT=$ac_cv_path_CXXFILT
70387 # Check whether --enable-symvers was given.
70388 if test "${enable_symvers+set}" = set; then :
70389 enableval=$enable_symvers;
70390 case "$enableval" in
70391 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
70392 *) as_fn_error $? "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
70393 esac
70395 else
70396 enable_symvers=yes
70401 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
70402 # don't know enough about $LD to do tricks...
70404 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
70405 # with extern "C++" in version scripts.
70408 # Turn a 'yes' into a suitable default.
70409 if test x$enable_symvers = xyes ; then
70410 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
70411 enable_symvers=no
70412 else
70413 if test $with_gnu_ld = yes ; then
70414 case ${target_os} in
70415 hpux*)
70416 enable_symvers=no ;;
70418 enable_symvers=gnu ;;
70419 esac
70420 else
70421 case ${target_os} in
70422 darwin*)
70423 enable_symvers=darwin ;;
70424 # Sun symbol versioning exists since Solaris 2.5.
70425 solaris2.[5-9]* | solaris2.1[0-9]*)
70426 # make_sunver.pl needs GNU c++filt to support extern "C++" in
70427 # version scripts, so disable symbol versioning if none can be
70428 # found.
70429 if test -z "$ac_cv_path_CXXFILT"; then
70430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
70431 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
70432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
70433 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
70434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70435 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70436 enable_symvers=no
70437 else
70438 enable_symvers=sun
70442 enable_symvers=no ;;
70443 esac
70448 # Check to see if 'darwin' or 'darwin-export' can win.
70449 if test x$enable_symvers = xdarwin-export ; then
70450 enable_symvers=darwin
70453 # Check if 'sun' was requested on non-Solaris 2 platforms.
70454 if test x$enable_symvers = xsun ; then
70455 case ${target_os} in
70456 solaris2*)
70457 # All fine.
70460 # Unlikely to work.
70461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
70462 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
70463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
70464 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
70465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70466 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70467 enable_symvers=no
70469 esac
70472 # Check to see if 'gnu' can win.
70473 if test $enable_symvers = gnu ||
70474 test $enable_symvers = gnu-versioned-namespace ||
70475 test $enable_symvers = sun; then
70476 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
70477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
70478 $as_echo_n "checking for shared libgcc... " >&6; }
70479 ac_save_CFLAGS="$CFLAGS"
70480 CFLAGS=' -lgcc_s'
70481 if test x$gcc_no_link = xyes; then
70482 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70485 /* end confdefs.h. */
70488 main ()
70490 return 0;
70492 return 0;
70494 _ACEOF
70495 if ac_fn_c_try_link "$LINENO"; then :
70496 glibcxx_shared_libgcc=yes
70497 else
70498 glibcxx_shared_libgcc=no
70500 rm -f core conftest.err conftest.$ac_objext \
70501 conftest$ac_exeext conftest.$ac_ext
70502 CFLAGS="$ac_save_CFLAGS"
70503 if test $glibcxx_shared_libgcc = no; then
70504 cat > conftest.c <<EOF
70505 int main (void) { return 0; }
70507 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
70508 -shared -shared-libgcc -o conftest.so \
70509 conftest.c -v 2>&1 >/dev/null \
70510 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
70511 rm -f conftest.c conftest.so
70512 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
70513 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
70514 if test x$gcc_no_link = xyes; then
70515 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70518 /* end confdefs.h. */
70521 main ()
70523 return 0;
70525 return 0;
70527 _ACEOF
70528 if ac_fn_c_try_link "$LINENO"; then :
70529 glibcxx_shared_libgcc=yes
70531 rm -f core conftest.err conftest.$ac_objext \
70532 conftest$ac_exeext conftest.$ac_ext
70533 CFLAGS="$ac_save_CFLAGS"
70536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
70537 $as_echo "$glibcxx_shared_libgcc" >&6; }
70539 # For GNU ld, we need at least this version. The format is described in
70540 # GLIBCXX_CHECK_LINKER_FEATURES above.
70541 glibcxx_min_gnu_ld_version=21400
70543 # If no shared libgcc, can't win.
70544 if test $glibcxx_shared_libgcc != yes; then
70545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
70546 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
70547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
70548 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
70549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70550 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70551 enable_symvers=no
70552 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
70553 : All interesting versions of Sun ld support sun style symbol versioning.
70554 elif test $with_gnu_ld != yes ; then
70555 # just fail for now
70556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
70557 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
70558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
70559 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
70560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70561 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70562 enable_symvers=no
70563 elif test $glibcxx_ld_is_gold = yes ; then
70564 : All versions of gold support symbol versioning.
70565 elif test $glibcxx_ld_is_mold = yes ; then
70566 : All versions of mold support symbol versioning.
70567 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
70568 # The right tools, the right setup, but too old. Fallbacks?
70569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
70570 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
70571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
70572 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
70573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
70574 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
70575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
70576 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
70577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70578 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70579 enable_symvers=no
70583 # For libtool versioning info, format is CURRENT:REVISION:AGE
70584 libtool_VERSION=6:33:0
70586 # Everything parsed; figure out what files and settings to use.
70587 case $enable_symvers in
70589 SYMVER_FILE=config/abi/pre/none.ver
70591 gnu)
70592 SYMVER_FILE=config/abi/pre/gnu.ver
70594 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
70597 gnu-versioned-namespace)
70598 libtool_VERSION=8:0:0
70599 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
70601 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
70604 darwin)
70605 SYMVER_FILE=config/abi/pre/gnu.ver
70607 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
70610 sun)
70611 SYMVER_FILE=config/abi/pre/gnu.ver
70613 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
70616 esac
70618 if test x$enable_symvers != xno ; then
70620 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
70624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
70625 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
70626 if ${glibcxx_cv_have_as_symver_directive+:} false; then :
70627 $as_echo_n "(cached) " >&6
70628 else
70630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70631 /* end confdefs.h. */
70632 void foo (void); __asm (".symver foo, bar@SYMVER");
70634 main ()
70638 return 0;
70640 _ACEOF
70641 if ac_fn_c_try_compile "$LINENO"; then :
70642 glibcxx_cv_have_as_symver_directive=yes
70643 else
70644 glibcxx_cv_have_as_symver_directive=no
70646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
70649 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
70650 if test $glibcxx_cv_have_as_symver_directive = yes; then
70652 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
70663 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
70664 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
70666 if test $enable_symvers != no ; then
70667 case ${target_os} in
70668 # The Solaris 2 runtime linker doesn't support the GNU extension of
70669 # binding the same symbol to different versions
70670 solaris2*)
70672 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
70675 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
70678 esac
70681 # Now, set up compatibility support, if any.
70682 # In addition, need this to deal with std::size_t mangling in
70683 # src/compatibility.cc. In a perfect world, could use
70684 # typeid(std::size_t).name()[0] to do direct substitution.
70685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
70686 $as_echo_n "checking for size_t as unsigned int... " >&6; }
70687 ac_save_CFLAGS="$CFLAGS"
70688 CFLAGS="-Werror"
70689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70690 /* end confdefs.h. */
70693 main ()
70695 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
70697 return 0;
70699 _ACEOF
70700 if ac_fn_c_try_compile "$LINENO"; then :
70701 glibcxx_size_t_is_i=yes
70702 else
70703 glibcxx_size_t_is_i=no
70705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70706 CFLAGS=$ac_save_CFLAGS
70707 if test "$glibcxx_size_t_is_i" = yes; then
70709 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
70712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
70713 $as_echo "$glibcxx_size_t_is_i" >&6; }
70715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
70716 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
70717 ac_save_CFLAGS="$CFLAGS"
70718 CFLAGS="-Werror"
70719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70720 /* end confdefs.h. */
70723 main ()
70725 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
70727 return 0;
70729 _ACEOF
70730 if ac_fn_c_try_compile "$LINENO"; then :
70731 glibcxx_ptrdiff_t_is_i=yes
70732 else
70733 glibcxx_ptrdiff_t_is_i=no
70735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70736 CFLAGS=$ac_save_CFLAGS
70737 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
70739 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
70742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
70743 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
70748 # Check whether --enable-libstdcxx-visibility was given.
70749 if test "${enable_libstdcxx_visibility+set}" = set; then :
70750 enableval=$enable_libstdcxx_visibility;
70751 case "$enableval" in
70752 yes|no) ;;
70753 *) as_fn_error $? "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
70754 esac
70756 else
70757 enable_libstdcxx_visibility=yes
70762 if test x$enable_libstdcxx_visibility = xyes ; then
70763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
70764 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
70765 if ${glibcxx_cv_have_attribute_visibility+:} false; then :
70766 $as_echo_n "(cached) " >&6
70767 else
70769 save_CFLAGS="$CFLAGS"
70770 CFLAGS="$CFLAGS -Werror"
70771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70772 /* end confdefs.h. */
70773 void __attribute__((visibility("hidden"))) foo(void) { }
70775 main ()
70779 return 0;
70781 _ACEOF
70782 if ac_fn_c_try_compile "$LINENO"; then :
70783 glibcxx_cv_have_attribute_visibility=yes
70784 else
70785 glibcxx_cv_have_attribute_visibility=no
70787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70788 CFLAGS="$save_CFLAGS"
70790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
70791 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
70792 if test $glibcxx_cv_have_attribute_visibility = no; then
70793 enable_libstdcxx_visibility=no
70798 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
70799 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
70803 # Check whether --enable-libstdcxx-dual-abi was given.
70804 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
70805 enableval=$enable_libstdcxx_dual_abi;
70806 case "$enableval" in
70807 yes|no) ;;
70808 *) as_fn_error $? "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
70809 esac
70811 else
70812 enable_libstdcxx_dual_abi=yes
70816 if test x$enable_symvers = xgnu-versioned-namespace; then
70817 # gnu-versioned-namespace is incompatible with the dual ABI.
70818 enable_libstdcxx_dual_abi="no"
70820 if test x"$enable_libstdcxx_dual_abi" != xyes; then
70821 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
70822 $as_echo "$as_me: dual ABI is disabled" >&6;}
70823 default_libstdcxx_abi="gcc4-compatible"
70828 if test x$enable_libstdcxx_dual_abi = xyes; then
70829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
70830 $as_echo_n "checking for default std::string ABI to use... " >&6; }
70832 # Check whether --with-default-libstdcxx-abi was given.
70833 if test "${with_default_libstdcxx_abi+set}" = set; then :
70834 withval=$with_default_libstdcxx_abi; case "$withval" in
70835 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
70836 new|cxx11) default_libstdcxx_abi="new" ;;
70837 c++*|gnu++*) as_fn_error $? "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
70838 *) as_fn_error $? "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
70839 esac
70841 else
70842 default_libstdcxx_abi="new"
70845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
70846 $as_echo "${default_libstdcxx_abi}" >&6; }
70848 if test $default_libstdcxx_abi = "new"; then
70849 glibcxx_cxx11_abi=1
70850 glibcxx_cxx98_abi=0
70851 else
70852 glibcxx_cxx11_abi=0
70853 glibcxx_cxx98_abi=1
70859 ac_ldbl_compat=no
70860 ac_ldbl_alt128_compat=no
70861 ac_ldbl_ieee128_default=no
70862 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
70863 LONG_DOUBLE_128_FLAGS=
70864 LONG_DOUBLE_ALT128_COMPAT_FLAGS=
70865 case "$target" in
70866 powerpc*-*-linux* | \
70867 sparc*-*-linux* | \
70868 s390*-*-linux* | \
70869 alpha*-*-linux*)
70870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70871 /* end confdefs.h. */
70874 main ()
70877 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
70878 #error no need for long double compatibility
70879 #endif
70882 return 0;
70884 _ACEOF
70885 if ac_fn_c_try_compile "$LINENO"; then :
70886 ac_ldbl_compat=yes
70887 else
70888 ac_ldbl_compat=no
70890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70891 if test "$ac_ldbl_compat" = yes; then
70893 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
70895 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
70896 case "$target" in
70897 powerpc*-*-linux*)
70898 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute"
70899 # Check for IEEE128 support in libm:
70900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __frexpieee128 in -lm" >&5
70901 $as_echo_n "checking for __frexpieee128 in -lm... " >&6; }
70902 if ${ac_cv_lib_m___frexpieee128+:} false; then :
70903 $as_echo_n "(cached) " >&6
70904 else
70905 ac_check_lib_save_LIBS=$LIBS
70906 LIBS="-lm $LIBS"
70907 if test x$gcc_no_link = xyes; then
70908 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70911 /* end confdefs.h. */
70913 /* Override any GCC internal prototype to avoid an error.
70914 Use char because int might match the return type of a GCC
70915 builtin and then its argument prototype would still apply. */
70916 #ifdef __cplusplus
70917 extern "C"
70918 #endif
70919 char __frexpieee128 ();
70921 main ()
70923 return __frexpieee128 ();
70925 return 0;
70927 _ACEOF
70928 if ac_fn_c_try_link "$LINENO"; then :
70929 ac_cv_lib_m___frexpieee128=yes
70930 else
70931 ac_cv_lib_m___frexpieee128=no
70933 rm -f core conftest.err conftest.$ac_objext \
70934 conftest$ac_exeext conftest.$ac_ext
70935 LIBS=$ac_check_lib_save_LIBS
70937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___frexpieee128" >&5
70938 $as_echo "$ac_cv_lib_m___frexpieee128" >&6; }
70939 if test "x$ac_cv_lib_m___frexpieee128" = xyes; then :
70940 ac_ldbl_ieee128_in_libc=yes
70941 else
70942 ac_ldbl_ieee128_in_libc=no
70945 if test $ac_ldbl_ieee128_in_libc = yes; then
70946 # Determine which long double format is the compiler's default:
70947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70948 /* end confdefs.h. */
70951 main ()
70954 #ifndef __LONG_DOUBLE_IEEE128__
70955 #error compiler defaults to ibm128
70956 #endif
70959 return 0;
70961 _ACEOF
70962 if ac_fn_c_try_compile "$LINENO"; then :
70963 ac_ldbl_ieee128_default=yes
70964 else
70965 ac_ldbl_ieee128_default=no
70967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70968 # Library objects should use default long double format.
70969 if test "$ac_ldbl_ieee128_default" = yes; then
70970 LONG_DOUBLE_128_FLAGS="-mno-gnu-attribute"
70971 # Except for the ones that explicitly use these flags:
70972 LONG_DOUBLE_ALT128_COMPAT_FLAGS="-mabi=ibmlongdouble -mno-gnu-attribute -Wno-psabi"
70973 else
70974 LONG_DOUBLE_128_FLAGS="-mno-gnu-attribute"
70975 LONG_DOUBLE_ALT128_COMPAT_FLAGS="-mabi=ieeelongdouble -mno-gnu-attribute -Wno-psabi"
70978 $as_echo "#define _GLIBCXX_LONG_DOUBLE_ALT128_COMPAT 1" >>confdefs.h
70980 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/os/gnu-linux/ldbl-ieee128-extra.ver"
70981 ac_ldbl_alt128_compat=yes
70982 else
70983 ac_ldbl_alt128_compat=no
70986 esac
70988 esac
70995 # Check if assembler supports disabling hardware capability support.
70997 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
70999 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
71000 # with a different meaning.
71001 case ${target_os} in
71002 solaris2*)
71003 ac_save_CFLAGS="$CFLAGS"
71004 CFLAGS="$CFLAGS -Wa,-nH"
71006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
71007 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
71008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71009 /* end confdefs.h. */
71012 main ()
71014 return 0;
71016 return 0;
71018 _ACEOF
71019 if ac_fn_c_try_compile "$LINENO"; then :
71020 ac_hwcap_flags=yes
71021 else
71022 ac_hwcap_flags=no
71024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71025 if test "$ac_hwcap_flags" = "yes"; then
71026 HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
71028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
71029 $as_echo "$ac_hwcap_flags" >&6; }
71031 CFLAGS="$ac_save_CFLAGS"
71033 esac
71038 # Check if assembler supports rdrand opcode.
71040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
71041 $as_echo_n "checking for rdrand support in assembler... " >&6; }
71042 if ${ac_cv_x86_rdrand+:} false; then :
71043 $as_echo_n "(cached) " >&6
71044 else
71046 ac_cv_x86_rdrand=no
71047 case "$target" in
71048 i?86-*-* | \
71049 x86_64-*-*)
71050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71051 /* end confdefs.h. */
71054 main ()
71056 asm("rdrand %eax");
71058 return 0;
71060 _ACEOF
71061 if ac_fn_c_try_compile "$LINENO"; then :
71062 ac_cv_x86_rdrand=yes
71063 else
71064 ac_cv_x86_rdrand=no
71066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71067 esac
71070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
71071 $as_echo "$ac_cv_x86_rdrand" >&6; }
71072 if test $ac_cv_x86_rdrand = yes; then
71074 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
71078 # Check if assembler supports rdseed opcode.
71080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdseed support in assembler" >&5
71081 $as_echo_n "checking for rdseed support in assembler... " >&6; }
71082 if ${ac_cv_x86_rdseed+:} false; then :
71083 $as_echo_n "(cached) " >&6
71084 else
71086 ac_cv_x86_rdseed=no
71087 case "$target" in
71088 i?86-*-* | \
71089 x86_64-*-*)
71090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71091 /* end confdefs.h. */
71094 main ()
71096 asm("rdseed %eax");
71098 return 0;
71100 _ACEOF
71101 if ac_fn_c_try_compile "$LINENO"; then :
71102 ac_cv_x86_rdseed=yes
71103 else
71104 ac_cv_x86_rdseed=no
71106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71107 esac
71110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdseed" >&5
71111 $as_echo "$ac_cv_x86_rdseed" >&6; }
71112 if test $ac_cv_x86_rdseed = yes; then
71114 $as_echo "#define _GLIBCXX_X86_RDSEED 1" >>confdefs.h
71119 # Check for other random number APIs
71123 ac_ext=cpp
71124 ac_cpp='$CXXCPP $CPPFLAGS'
71125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getentropy" >&5
71130 $as_echo_n "checking for getentropy... " >&6; }
71131 if ${glibcxx_cv_getentropy+:} false; then :
71132 $as_echo_n "(cached) " >&6
71133 else
71135 if test x$gcc_no_link = xyes; then
71136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71137 /* end confdefs.h. */
71138 #include <unistd.h>
71140 main ()
71142 unsigned i;
71143 ::getentropy(&i, sizeof(i));
71145 return 0;
71147 _ACEOF
71148 if ac_fn_cxx_try_compile "$LINENO"; then :
71149 glibcxx_cv_getentropy=yes
71150 else
71151 glibcxx_cv_getentropy=no
71153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71154 else
71155 if test x$gcc_no_link = xyes; then
71156 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71159 /* end confdefs.h. */
71160 #include <unistd.h>
71162 main ()
71164 unsigned i;
71165 ::getentropy(&i, sizeof(i));
71167 return 0;
71169 _ACEOF
71170 if ac_fn_cxx_try_link "$LINENO"; then :
71171 glibcxx_cv_getentropy=yes
71172 else
71173 glibcxx_cv_getentropy=no
71175 rm -f core conftest.err conftest.$ac_objext \
71176 conftest$ac_exeext conftest.$ac_ext
71180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_getentropy" >&5
71181 $as_echo "$glibcxx_cv_getentropy" >&6; }
71183 if test $glibcxx_cv_getentropy = yes; then
71185 $as_echo "#define HAVE_GETENTROPY 1" >>confdefs.h
71188 ac_ext=c
71189 ac_cpp='$CPP $CPPFLAGS'
71190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71198 ac_ext=cpp
71199 ac_cpp='$CXXCPP $CPPFLAGS'
71200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for arc4random" >&5
71205 $as_echo_n "checking for arc4random... " >&6; }
71206 if ${glibcxx_cv_arc4random+:} false; then :
71207 $as_echo_n "(cached) " >&6
71208 else
71210 if test x$gcc_no_link = xyes; then
71211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71212 /* end confdefs.h. */
71213 #include <stdlib.h>
71215 main ()
71217 unsigned i = ::arc4random();
71219 return 0;
71221 _ACEOF
71222 if ac_fn_cxx_try_compile "$LINENO"; then :
71223 glibcxx_cv_arc4random=yes
71224 else
71225 glibcxx_cv_arc4random=no
71227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71228 else
71229 if test x$gcc_no_link = xyes; then
71230 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71233 /* end confdefs.h. */
71234 #include <stdlib.h>
71236 main ()
71238 unsigned i = ::arc4random();
71240 return 0;
71242 _ACEOF
71243 if ac_fn_cxx_try_link "$LINENO"; then :
71244 glibcxx_cv_arc4random=yes
71245 else
71246 glibcxx_cv_arc4random=no
71248 rm -f core conftest.err conftest.$ac_objext \
71249 conftest$ac_exeext conftest.$ac_ext
71253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_arc4random" >&5
71254 $as_echo "$glibcxx_cv_arc4random" >&6; }
71256 if test $glibcxx_cv_arc4random = yes; then
71258 $as_echo "#define HAVE_ARC4RANDOM 1" >>confdefs.h
71261 ac_ext=c
71262 ac_cpp='$CPP $CPPFLAGS'
71263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71269 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
71271 # Do checks for resource limit functions.
71274 ac_ext=cpp
71275 ac_cpp='$CXXCPP $CPPFLAGS'
71276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71280 setrlimit_have_headers=yes
71281 for ac_header in unistd.h sys/time.h sys/resource.h
71282 do :
71283 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
71284 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
71285 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
71286 cat >>confdefs.h <<_ACEOF
71287 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
71288 _ACEOF
71290 else
71291 setrlimit_have_headers=no
71294 done
71296 # If don't have the headers, then we can't run the tests now, and we
71297 # won't be seeing any of these during testsuite compilation.
71298 if test $setrlimit_have_headers = yes; then
71299 # Can't do these in a loop, else the resulting syntax is wrong.
71301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
71302 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
71303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71304 /* end confdefs.h. */
71305 #include <unistd.h>
71306 #include <sys/time.h>
71307 #include <sys/resource.h>
71310 main ()
71312 int f = RLIMIT_DATA ;
71314 return 0;
71316 _ACEOF
71317 if ac_fn_cxx_try_compile "$LINENO"; then :
71318 glibcxx_mresult=1
71319 else
71320 glibcxx_mresult=0
71322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71324 cat >>confdefs.h <<_ACEOF
71325 #define HAVE_LIMIT_DATA $glibcxx_mresult
71326 _ACEOF
71328 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
71329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
71330 $as_echo "$res" >&6; }
71333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
71334 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
71335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71336 /* end confdefs.h. */
71337 #include <unistd.h>
71338 #include <sys/time.h>
71339 #include <sys/resource.h>
71342 main ()
71344 int f = RLIMIT_RSS ;
71346 return 0;
71348 _ACEOF
71349 if ac_fn_cxx_try_compile "$LINENO"; then :
71350 glibcxx_mresult=1
71351 else
71352 glibcxx_mresult=0
71354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71356 cat >>confdefs.h <<_ACEOF
71357 #define HAVE_LIMIT_RSS $glibcxx_mresult
71358 _ACEOF
71360 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
71361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
71362 $as_echo "$res" >&6; }
71365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
71366 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
71367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71368 /* end confdefs.h. */
71369 #include <unistd.h>
71370 #include <sys/time.h>
71371 #include <sys/resource.h>
71374 main ()
71376 int f = RLIMIT_VMEM ;
71378 return 0;
71380 _ACEOF
71381 if ac_fn_cxx_try_compile "$LINENO"; then :
71382 glibcxx_mresult=1
71383 else
71384 glibcxx_mresult=0
71386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71388 cat >>confdefs.h <<_ACEOF
71389 #define HAVE_LIMIT_VMEM $glibcxx_mresult
71390 _ACEOF
71392 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
71393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
71394 $as_echo "$res" >&6; }
71397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
71398 $as_echo_n "checking for RLIMIT_AS... " >&6; }
71399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71400 /* end confdefs.h. */
71401 #include <unistd.h>
71402 #include <sys/time.h>
71403 #include <sys/resource.h>
71406 main ()
71408 int f = RLIMIT_AS ;
71410 return 0;
71412 _ACEOF
71413 if ac_fn_cxx_try_compile "$LINENO"; then :
71414 glibcxx_mresult=1
71415 else
71416 glibcxx_mresult=0
71418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71420 cat >>confdefs.h <<_ACEOF
71421 #define HAVE_LIMIT_AS $glibcxx_mresult
71422 _ACEOF
71424 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
71425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
71426 $as_echo "$res" >&6; }
71429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
71430 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
71431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71432 /* end confdefs.h. */
71433 #include <unistd.h>
71434 #include <sys/time.h>
71435 #include <sys/resource.h>
71438 main ()
71440 int f = RLIMIT_FSIZE ;
71442 return 0;
71444 _ACEOF
71445 if ac_fn_cxx_try_compile "$LINENO"; then :
71446 glibcxx_mresult=1
71447 else
71448 glibcxx_mresult=0
71450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71452 cat >>confdefs.h <<_ACEOF
71453 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
71454 _ACEOF
71456 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
71457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
71458 $as_echo "$res" >&6; }
71461 # Check for rlimit, setrlimit.
71462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
71463 $as_echo_n "checking for testsuite resource limits support... " >&6; }
71464 if ${glibcxx_cv_setrlimit+:} false; then :
71465 $as_echo_n "(cached) " >&6
71466 else
71468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71469 /* end confdefs.h. */
71470 #include <unistd.h>
71471 #include <sys/time.h>
71472 #include <sys/resource.h>
71475 main ()
71477 struct rlimit r;
71478 setrlimit(0, &r);
71480 return 0;
71482 _ACEOF
71483 if ac_fn_cxx_try_compile "$LINENO"; then :
71484 glibcxx_cv_setrlimit=yes
71485 else
71486 glibcxx_cv_setrlimit=no
71488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_setrlimit" >&5
71492 $as_echo "$glibcxx_cv_setrlimit" >&6; }
71494 if test $glibcxx_cv_setrlimit = yes; then
71496 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
71500 ac_ext=c
71501 ac_cpp='$CPP $CPPFLAGS'
71502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71508 if $GLIBCXX_IS_NATIVE ; then
71509 # Look for setenv, so that extended locale tests can be performed.
71511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
71512 $as_echo_n "checking for setenv declaration... " >&6; }
71513 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
71514 if ${glibcxx_cv_func_setenv_use+:} false; then :
71515 $as_echo_n "(cached) " >&6
71516 else
71519 ac_ext=cpp
71520 ac_cpp='$CXXCPP $CPPFLAGS'
71521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71526 /* end confdefs.h. */
71527 #include <stdlib.h>
71529 main ()
71531 setenv(0, 0, 0);
71533 return 0;
71535 _ACEOF
71536 if ac_fn_cxx_try_compile "$LINENO"; then :
71537 glibcxx_cv_func_setenv_use=yes
71538 else
71539 glibcxx_cv_func_setenv_use=no
71541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71542 ac_ext=c
71543 ac_cpp='$CPP $CPPFLAGS'
71544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
71553 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
71554 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
71555 for ac_func in setenv
71556 do :
71557 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
71558 if test "x$ac_cv_func_setenv" = xyes; then :
71559 cat >>confdefs.h <<_ACEOF
71560 #define HAVE_SETENV 1
71561 _ACEOF
71564 done
71570 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
71571 test $enable_symvers != no; then
71572 case "$host" in
71573 *-*-cygwin*)
71574 enable_abi_check=no ;;
71576 enable_abi_check=yes ;;
71577 esac
71578 else
71579 # Only build this as native, since automake does not understand
71580 # CXX_FOR_BUILD.
71581 enable_abi_check=no
71584 # Export file names for ABI checking.
71585 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
71587 baseline_subdir_switch="$abi_baseline_subdir_switch"
71591 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
71593 # Check whether --enable-libstdcxx-threads was given.
71594 if test "${enable_libstdcxx_threads+set}" = set; then :
71595 enableval=$enable_libstdcxx_threads;
71596 case "$enableval" in
71597 yes|no) ;;
71598 *) as_fn_error $? "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
71599 esac
71601 else
71602 enable_libstdcxx_threads=auto
71607 if test x$enable_libstdcxx_threads = xauto ||
71608 test x$enable_libstdcxx_threads = xyes; then
71611 ac_ext=cpp
71612 ac_cpp='$CXXCPP $CPPFLAGS'
71613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71618 ac_save_CXXFLAGS="$CXXFLAGS"
71619 CXXFLAGS="$CXXFLAGS -fno-exceptions \
71620 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
71622 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
71623 case $target_thread_file in
71624 posix)
71625 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
71627 win32)
71628 CXXFLAGS="$CXXFLAGS -D_WIN32_THREADS"
71629 # The support of condition variables is disabled by default in
71630 # the Win32 gthreads library, so enable it on explicit request.
71631 if test x$enable_libstdcxx_threads = xyes; then
71632 CXXFLAGS="$CXXFLAGS -D_WIN32_WINNT=0x0600"
71635 esac
71637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
71638 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
71640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71641 /* end confdefs.h. */
71642 #include <unistd.h>
71644 main ()
71647 // In case of POSIX threads check _POSIX_TIMEOUTS.
71648 #if (defined(_PTHREADS) \
71649 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
71650 #error
71651 // In case of Win32 threads there is no support.
71652 #elif defined(_WIN32_THREADS)
71653 #error
71654 #endif
71657 return 0;
71659 _ACEOF
71660 if ac_fn_cxx_try_compile "$LINENO"; then :
71661 ac_gthread_use_mutex_timedlock=1
71662 else
71663 ac_gthread_use_mutex_timedlock=0
71665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71668 cat >>confdefs.h <<_ACEOF
71669 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
71670 _ACEOF
71673 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
71674 else res_mutex_timedlock=no ; fi
71675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
71676 $as_echo "$res_mutex_timedlock" >&6; }
71678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
71679 $as_echo_n "checking for gthreads library... " >&6; }
71681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71682 /* end confdefs.h. */
71683 #include "gthr.h"
71685 main ()
71688 #ifndef __GTHREADS_CXX0X
71689 #error
71690 #endif
71693 return 0;
71695 _ACEOF
71696 if ac_fn_cxx_try_compile "$LINENO"; then :
71697 ac_has_gthreads=yes
71698 else
71699 ac_has_gthreads=no
71701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71702 else
71703 ac_has_gthreads=no
71706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
71707 $as_echo "$ac_has_gthreads" >&6; }
71709 if test x"$ac_has_gthreads" = x"yes"; then
71711 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
71714 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
71715 # but only do so if we're using pthread in the gthread library.
71716 # On VxWorks for example, pthread_rwlock_t is defined in sys/types.h
71717 # but the pthread library is not there by default and the gthread library
71718 # does not use it.
71719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71720 /* end confdefs.h. */
71721 #include "gthr.h"
71723 main ()
71726 #if (!defined(_PTHREADS))
71727 #error
71728 #endif
71731 return 0;
71733 _ACEOF
71734 if ac_fn_cxx_try_compile "$LINENO"; then :
71735 ac_gthread_use_pthreads=yes
71736 else
71737 ac_gthread_use_pthreads=no
71739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71740 if test x"$ac_gthread_use_pthreads" = x"yes"; then
71741 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
71743 if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
71745 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
71751 # See above for the rationale.
71752 if test $target_thread_file = win32; then
71753 CPPFLAGS="$CPPFLAGS -D_WIN32_WINNT=0x0600"
71757 ac_fn_cxx_check_header_mongrel "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default"
71758 if test "x$ac_cv_header_semaphore_h" = xyes; then :
71760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX Semaphores and sem_timedwait" >&5
71761 $as_echo_n "checking for POSIX Semaphores and sem_timedwait... " >&6; }
71762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71763 /* end confdefs.h. */
71765 #include <unistd.h>
71766 #include <semaphore.h>
71767 #include <limits.h>
71770 main ()
71773 #if !defined _POSIX_TIMEOUTS || _POSIX_TIMEOUTS <= 0
71774 # error "POSIX Timeouts option not supported"
71775 #elif !defined _POSIX_SEMAPHORES || _POSIX_SEMAPHORES <= 0
71776 # error "POSIX Semaphores option not supported"
71777 #else
71778 #if defined SEM_VALUE_MAX
71779 constexpr int sem_value_max = SEM_VALUE_MAX;
71780 #elif defined _POSIX_SEM_VALUE_MAX
71781 constexpr int sem_value_max = _POSIX_SEM_VALUE_MAX;
71782 #else
71783 # error "SEM_VALUE_MAX not available"
71784 #endif
71785 sem_t sem;
71786 sem_init(&sem, 0, sem_value_max);
71787 struct timespec ts = { 0 };
71788 sem_timedwait(&sem, &ts);
71789 #endif
71792 return 0;
71794 _ACEOF
71795 if ac_fn_cxx_try_compile "$LINENO"; then :
71796 ac_have_posix_semaphore=yes
71797 else
71798 ac_have_posix_semaphore=no
71800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71801 else
71802 ac_have_posix_semaphore=no
71807 if test $ac_have_posix_semaphore = yes ; then
71809 $as_echo "#define HAVE_POSIX_SEMAPHORE 1" >>confdefs.h
71812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_have_posix_semaphore" >&5
71813 $as_echo "$ac_have_posix_semaphore" >&6; }
71815 CXXFLAGS="$ac_save_CXXFLAGS"
71816 ac_ext=c
71817 ac_cpp='$CPP $CPPFLAGS'
71818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71824 # For Filesystem TS.
71825 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
71826 do :
71827 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
71828 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
71829 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
71830 cat >>confdefs.h <<_ACEOF
71831 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
71832 _ACEOF
71836 done
71839 # Check whether --enable-libstdcxx-filesystem-ts was given.
71840 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
71841 enableval=$enable_libstdcxx_filesystem_ts;
71842 case "$enableval" in
71843 yes|no|auto) ;;
71844 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
71845 esac
71847 else
71848 enable_libstdcxx_filesystem_ts=auto
71853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
71854 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
71855 if test x"$ac_cv_header_dirent_h" != x"yes"; then
71856 enable_libstdcxx_filesystem_ts=no
71858 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
71859 case "${target_os}" in
71860 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
71861 enable_libstdcxx_filesystem_ts=yes
71863 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu | uclinux*)
71864 enable_libstdcxx_filesystem_ts=yes
71866 rtems*)
71867 enable_libstdcxx_filesystem_ts=yes
71869 solaris*)
71870 enable_libstdcxx_filesystem_ts=yes
71872 mingw*)
71873 enable_libstdcxx_filesystem_ts=yes
71876 enable_libstdcxx_filesystem_ts=no
71878 esac
71880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
71881 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
71885 ac_ext=cpp
71886 ac_cpp='$CXXCPP $CPPFLAGS'
71887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71891 ac_save_CXXFLAGS="$CXXFLAGS"
71892 CXXFLAGS="$CXXFLAGS -fno-exceptions"
71893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
71894 $as_echo_n "checking for struct dirent.d_type... " >&6; }
71895 if ${glibcxx_cv_dirent_d_type+:} false; then :
71896 $as_echo_n "(cached) " >&6
71897 else
71898 if test x$gcc_no_link = xyes; then
71899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71900 /* end confdefs.h. */
71901 #include <dirent.h>
71903 main ()
71906 struct dirent d;
71907 if (sizeof d.d_type) return 0;
71910 return 0;
71912 _ACEOF
71913 if ac_fn_cxx_try_compile "$LINENO"; then :
71914 glibcxx_cv_dirent_d_type=yes
71915 else
71916 glibcxx_cv_dirent_d_type=no
71918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71919 else
71920 if test x$gcc_no_link = xyes; then
71921 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71924 /* end confdefs.h. */
71925 #include <dirent.h>
71927 main ()
71930 struct dirent d;
71931 if (sizeof d.d_type) return 0;
71934 return 0;
71936 _ACEOF
71937 if ac_fn_cxx_try_link "$LINENO"; then :
71938 glibcxx_cv_dirent_d_type=yes
71939 else
71940 glibcxx_cv_dirent_d_type=no
71942 rm -f core conftest.err conftest.$ac_objext \
71943 conftest$ac_exeext conftest.$ac_ext
71947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
71948 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
71949 if test $glibcxx_cv_dirent_d_type = yes; then
71951 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
71954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for chmod" >&5
71955 $as_echo_n "checking for chmod... " >&6; }
71956 if ${glibcxx_cv_chmod+:} false; then :
71957 $as_echo_n "(cached) " >&6
71958 else
71959 if test x$gcc_no_link = xyes; then
71960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71961 /* end confdefs.h. */
71963 #include <sys/stat.h>
71966 main ()
71969 int i = chmod("", S_IRUSR);
71972 return 0;
71974 _ACEOF
71975 if ac_fn_cxx_try_compile "$LINENO"; then :
71976 glibcxx_cv_chmod=yes
71977 else
71978 glibcxx_cv_chmod=no
71980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71981 else
71982 if test x$gcc_no_link = xyes; then
71983 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71986 /* end confdefs.h. */
71988 #include <sys/stat.h>
71991 main ()
71994 int i = chmod("", S_IRUSR);
71997 return 0;
71999 _ACEOF
72000 if ac_fn_cxx_try_link "$LINENO"; then :
72001 glibcxx_cv_chmod=yes
72002 else
72003 glibcxx_cv_chmod=no
72005 rm -f core conftest.err conftest.$ac_objext \
72006 conftest$ac_exeext conftest.$ac_ext
72010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_chmod" >&5
72011 $as_echo "$glibcxx_cv_chmod" >&6; }
72012 if test $glibcxx_cv_chmod = yes; then
72014 $as_echo "#define _GLIBCXX_USE_CHMOD 1" >>confdefs.h
72017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mkdir" >&5
72018 $as_echo_n "checking for mkdir... " >&6; }
72019 if ${glibcxx_cv_mkdir+:} false; then :
72020 $as_echo_n "(cached) " >&6
72021 else
72022 if test x$gcc_no_link = xyes; then
72023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72024 /* end confdefs.h. */
72026 #include <sys/stat.h>
72029 main ()
72032 int i = mkdir("", S_IRUSR);
72035 return 0;
72037 _ACEOF
72038 if ac_fn_cxx_try_compile "$LINENO"; then :
72039 glibcxx_cv_mkdir=yes
72040 else
72041 glibcxx_cv_mkdir=no
72043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72044 else
72045 if test x$gcc_no_link = xyes; then
72046 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72049 /* end confdefs.h. */
72051 #include <sys/stat.h>
72054 main ()
72057 int i = mkdir("", S_IRUSR);
72060 return 0;
72062 _ACEOF
72063 if ac_fn_cxx_try_link "$LINENO"; then :
72064 glibcxx_cv_mkdir=yes
72065 else
72066 glibcxx_cv_mkdir=no
72068 rm -f core conftest.err conftest.$ac_objext \
72069 conftest$ac_exeext conftest.$ac_ext
72073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_mkdir" >&5
72074 $as_echo "$glibcxx_cv_mkdir" >&6; }
72075 if test $glibcxx_cv_mkdir = yes; then
72077 $as_echo "#define _GLIBCXX_USE_MKDIR 1" >>confdefs.h
72080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for chdir" >&5
72081 $as_echo_n "checking for chdir... " >&6; }
72082 if ${glibcxx_cv_chdir+:} false; then :
72083 $as_echo_n "(cached) " >&6
72084 else
72085 if test x$gcc_no_link = xyes; then
72086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72087 /* end confdefs.h. */
72089 #include <unistd.h>
72092 main ()
72095 int i = chdir("");
72098 return 0;
72100 _ACEOF
72101 if ac_fn_cxx_try_compile "$LINENO"; then :
72102 glibcxx_cv_chdir=yes
72103 else
72104 glibcxx_cv_chdir=no
72106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72107 else
72108 if test x$gcc_no_link = xyes; then
72109 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72112 /* end confdefs.h. */
72114 #include <unistd.h>
72117 main ()
72120 int i = chdir("");
72123 return 0;
72125 _ACEOF
72126 if ac_fn_cxx_try_link "$LINENO"; then :
72127 glibcxx_cv_chdir=yes
72128 else
72129 glibcxx_cv_chdir=no
72131 rm -f core conftest.err conftest.$ac_objext \
72132 conftest$ac_exeext conftest.$ac_ext
72136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_chdir" >&5
72137 $as_echo "$glibcxx_cv_chdir" >&6; }
72138 if test $glibcxx_cv_chdir = yes; then
72140 $as_echo "#define _GLIBCXX_USE_CHDIR 1" >>confdefs.h
72143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getcwd" >&5
72144 $as_echo_n "checking for getcwd... " >&6; }
72145 if ${glibcxx_cv_getcwd+:} false; then :
72146 $as_echo_n "(cached) " >&6
72147 else
72148 if test x$gcc_no_link = xyes; then
72149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72150 /* end confdefs.h. */
72152 #include <unistd.h>
72155 main ()
72158 char* s = getcwd((char*)0, 1);
72161 return 0;
72163 _ACEOF
72164 if ac_fn_cxx_try_compile "$LINENO"; then :
72165 glibcxx_cv_getcwd=yes
72166 else
72167 glibcxx_cv_getcwd=no
72169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72170 else
72171 if test x$gcc_no_link = xyes; then
72172 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72175 /* end confdefs.h. */
72177 #include <unistd.h>
72180 main ()
72183 char* s = getcwd((char*)0, 1);
72186 return 0;
72188 _ACEOF
72189 if ac_fn_cxx_try_link "$LINENO"; then :
72190 glibcxx_cv_getcwd=yes
72191 else
72192 glibcxx_cv_getcwd=no
72194 rm -f core conftest.err conftest.$ac_objext \
72195 conftest$ac_exeext conftest.$ac_ext
72199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_getcwd" >&5
72200 $as_echo "$glibcxx_cv_getcwd" >&6; }
72201 if test $glibcxx_cv_getcwd = yes; then
72203 $as_echo "#define _GLIBCXX_USE_GETCWD 1" >>confdefs.h
72206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
72207 $as_echo_n "checking for realpath... " >&6; }
72208 if ${glibcxx_cv_realpath+:} false; then :
72209 $as_echo_n "(cached) " >&6
72210 else
72211 if test x$gcc_no_link = xyes; then
72212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72213 /* end confdefs.h. */
72215 #include <limits.h>
72216 #include <stdlib.h>
72217 #include <unistd.h>
72220 main ()
72223 #if _XOPEN_VERSION < 500
72224 #error
72225 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
72226 char *tmp = realpath((const char*)NULL, (char*)NULL);
72227 #else
72228 #error
72229 #endif
72232 return 0;
72234 _ACEOF
72235 if ac_fn_cxx_try_compile "$LINENO"; then :
72236 glibcxx_cv_realpath=yes
72237 else
72238 glibcxx_cv_realpath=no
72240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72241 else
72242 if test x$gcc_no_link = xyes; then
72243 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72246 /* end confdefs.h. */
72248 #include <limits.h>
72249 #include <stdlib.h>
72250 #include <unistd.h>
72253 main ()
72256 #if _XOPEN_VERSION < 500
72257 #error
72258 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
72259 char *tmp = realpath((const char*)NULL, (char*)NULL);
72260 #else
72261 #error
72262 #endif
72265 return 0;
72267 _ACEOF
72268 if ac_fn_cxx_try_link "$LINENO"; then :
72269 glibcxx_cv_realpath=yes
72270 else
72271 glibcxx_cv_realpath=no
72273 rm -f core conftest.err conftest.$ac_objext \
72274 conftest$ac_exeext conftest.$ac_ext
72278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
72279 $as_echo "$glibcxx_cv_realpath" >&6; }
72280 if test $glibcxx_cv_realpath = yes; then
72282 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
72285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
72286 $as_echo_n "checking for utimensat... " >&6; }
72287 if ${glibcxx_cv_utimensat+:} false; then :
72288 $as_echo_n "(cached) " >&6
72289 else
72290 if test x$gcc_no_link = xyes; then
72291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72292 /* end confdefs.h. */
72294 #include <fcntl.h>
72295 #include <sys/stat.h>
72298 main ()
72301 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
72302 int i = utimensat(AT_FDCWD, "path", ts, 0);
72305 return 0;
72307 _ACEOF
72308 if ac_fn_cxx_try_compile "$LINENO"; then :
72309 glibcxx_cv_utimensat=yes
72310 else
72311 glibcxx_cv_utimensat=no
72313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72314 else
72315 if test x$gcc_no_link = xyes; then
72316 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72319 /* end confdefs.h. */
72321 #include <fcntl.h>
72322 #include <sys/stat.h>
72325 main ()
72328 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
72329 int i = utimensat(AT_FDCWD, "path", ts, 0);
72332 return 0;
72334 _ACEOF
72335 if ac_fn_cxx_try_link "$LINENO"; then :
72336 glibcxx_cv_utimensat=yes
72337 else
72338 glibcxx_cv_utimensat=no
72340 rm -f core conftest.err conftest.$ac_objext \
72341 conftest$ac_exeext conftest.$ac_ext
72345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
72346 $as_echo "$glibcxx_cv_utimensat" >&6; }
72347 if test $glibcxx_cv_utimensat = yes; then
72349 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
72352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utime" >&5
72353 $as_echo_n "checking for utime... " >&6; }
72354 if ${glibcxx_cv_utime+:} false; then :
72355 $as_echo_n "(cached) " >&6
72356 else
72357 if test x$gcc_no_link = xyes; then
72358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72359 /* end confdefs.h. */
72361 #include <utime.h>
72364 main ()
72367 struct utimbuf t = { 1, 1 };
72368 int i = utime("path", &t);
72371 return 0;
72373 _ACEOF
72374 if ac_fn_cxx_try_compile "$LINENO"; then :
72375 glibcxx_cv_utime=yes
72376 else
72377 glibcxx_cv_utime=no
72379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72380 else
72381 if test x$gcc_no_link = xyes; then
72382 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72385 /* end confdefs.h. */
72387 #include <utime.h>
72390 main ()
72393 struct utimbuf t = { 1, 1 };
72394 int i = utime("path", &t);
72397 return 0;
72399 _ACEOF
72400 if ac_fn_cxx_try_link "$LINENO"; then :
72401 glibcxx_cv_utime=yes
72402 else
72403 glibcxx_cv_utime=no
72405 rm -f core conftest.err conftest.$ac_objext \
72406 conftest$ac_exeext conftest.$ac_ext
72410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utime" >&5
72411 $as_echo "$glibcxx_cv_utime" >&6; }
72412 if test $glibcxx_cv_utime = yes; then
72414 $as_echo "#define _GLIBCXX_USE_UTIME 1" >>confdefs.h
72417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lstat" >&5
72418 $as_echo_n "checking for lstat... " >&6; }
72419 if ${glibcxx_cv_lstat+:} false; then :
72420 $as_echo_n "(cached) " >&6
72421 else
72422 if test x$gcc_no_link = xyes; then
72423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72424 /* end confdefs.h. */
72425 #include <sys/stat.h>
72427 main ()
72430 struct stat st;
72431 int i = lstat("path", &st);
72434 return 0;
72436 _ACEOF
72437 if ac_fn_cxx_try_compile "$LINENO"; then :
72438 glibcxx_cv_lstat=yes
72439 else
72440 glibcxx_cv_lstat=no
72442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72443 else
72444 if test x$gcc_no_link = xyes; then
72445 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72448 /* end confdefs.h. */
72449 #include <sys/stat.h>
72451 main ()
72454 struct stat st;
72455 int i = lstat("path", &st);
72458 return 0;
72460 _ACEOF
72461 if ac_fn_cxx_try_link "$LINENO"; then :
72462 glibcxx_cv_lstat=yes
72463 else
72464 glibcxx_cv_lstat=no
72466 rm -f core conftest.err conftest.$ac_objext \
72467 conftest$ac_exeext conftest.$ac_ext
72471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_lstat" >&5
72472 $as_echo "$glibcxx_cv_lstat" >&6; }
72473 if test $glibcxx_cv_lstat = yes; then
72475 $as_echo "#define _GLIBCXX_USE_LSTAT 1" >>confdefs.h
72478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
72479 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
72480 if ${glibcxx_cv_st_mtim+:} false; then :
72481 $as_echo_n "(cached) " >&6
72482 else
72483 if test x$gcc_no_link = xyes; then
72484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72485 /* end confdefs.h. */
72486 #include <sys/stat.h>
72488 main ()
72491 struct stat st;
72492 return st.st_mtim.tv_nsec;
72495 return 0;
72497 _ACEOF
72498 if ac_fn_cxx_try_compile "$LINENO"; then :
72499 glibcxx_cv_st_mtim=yes
72500 else
72501 glibcxx_cv_st_mtim=no
72503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72504 else
72505 if test x$gcc_no_link = xyes; then
72506 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72509 /* end confdefs.h. */
72510 #include <sys/stat.h>
72512 main ()
72515 struct stat st;
72516 return st.st_mtim.tv_nsec;
72519 return 0;
72521 _ACEOF
72522 if ac_fn_cxx_try_link "$LINENO"; then :
72523 glibcxx_cv_st_mtim=yes
72524 else
72525 glibcxx_cv_st_mtim=no
72527 rm -f core conftest.err conftest.$ac_objext \
72528 conftest$ac_exeext conftest.$ac_ext
72532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
72533 $as_echo "$glibcxx_cv_st_mtim" >&6; }
72534 if test $glibcxx_cv_st_mtim = yes; then
72536 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
72539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
72540 $as_echo_n "checking for fchmod... " >&6; }
72541 if ${glibcxx_cv_fchmod+:} false; then :
72542 $as_echo_n "(cached) " >&6
72543 else
72544 if test x$gcc_no_link = xyes; then
72545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72546 /* end confdefs.h. */
72547 #include <sys/stat.h>
72549 main ()
72551 fchmod(1, S_IWUSR);
72553 return 0;
72555 _ACEOF
72556 if ac_fn_cxx_try_compile "$LINENO"; then :
72557 glibcxx_cv_fchmod=yes
72558 else
72559 glibcxx_cv_fchmod=no
72561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72562 else
72563 if test x$gcc_no_link = xyes; then
72564 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72567 /* end confdefs.h. */
72568 #include <sys/stat.h>
72570 main ()
72572 fchmod(1, S_IWUSR);
72574 return 0;
72576 _ACEOF
72577 if ac_fn_cxx_try_link "$LINENO"; then :
72578 glibcxx_cv_fchmod=yes
72579 else
72580 glibcxx_cv_fchmod=no
72582 rm -f core conftest.err conftest.$ac_objext \
72583 conftest$ac_exeext conftest.$ac_ext
72587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
72588 $as_echo "$glibcxx_cv_fchmod" >&6; }
72589 if test $glibcxx_cv_fchmod = yes; then
72591 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
72594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
72595 $as_echo_n "checking for fchmodat... " >&6; }
72596 if ${glibcxx_cv_fchmodat+:} false; then :
72597 $as_echo_n "(cached) " >&6
72598 else
72599 if test x$gcc_no_link = xyes; then
72600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72601 /* end confdefs.h. */
72603 #include <fcntl.h>
72604 #include <sys/stat.h>
72607 main ()
72609 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
72611 return 0;
72613 _ACEOF
72614 if ac_fn_cxx_try_compile "$LINENO"; then :
72615 glibcxx_cv_fchmodat=yes
72616 else
72617 glibcxx_cv_fchmodat=no
72619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72620 else
72621 if test x$gcc_no_link = xyes; then
72622 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72625 /* end confdefs.h. */
72627 #include <fcntl.h>
72628 #include <sys/stat.h>
72631 main ()
72633 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
72635 return 0;
72637 _ACEOF
72638 if ac_fn_cxx_try_link "$LINENO"; then :
72639 glibcxx_cv_fchmodat=yes
72640 else
72641 glibcxx_cv_fchmodat=no
72643 rm -f core conftest.err conftest.$ac_objext \
72644 conftest$ac_exeext conftest.$ac_ext
72648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
72649 $as_echo "$glibcxx_cv_fchmodat" >&6; }
72650 if test $glibcxx_cv_fchmodat = yes; then
72652 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
72655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
72656 $as_echo_n "checking for link... " >&6; }
72657 if ${glibcxx_cv_link+:} false; then :
72658 $as_echo_n "(cached) " >&6
72659 else
72660 if test x$gcc_no_link = xyes; then
72661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72662 /* end confdefs.h. */
72663 #include <unistd.h>
72665 main ()
72667 link("", "");
72669 return 0;
72671 _ACEOF
72672 if ac_fn_cxx_try_compile "$LINENO"; then :
72673 glibcxx_cv_link=yes
72674 else
72675 glibcxx_cv_link=no
72677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72678 else
72679 if test x$gcc_no_link = xyes; then
72680 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72683 /* end confdefs.h. */
72684 #include <unistd.h>
72686 main ()
72688 link("", "");
72690 return 0;
72692 _ACEOF
72693 if ac_fn_cxx_try_link "$LINENO"; then :
72694 glibcxx_cv_link=yes
72695 else
72696 glibcxx_cv_link=no
72698 rm -f core conftest.err conftest.$ac_objext \
72699 conftest$ac_exeext conftest.$ac_ext
72703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_link" >&5
72704 $as_echo "$glibcxx_cv_link" >&6; }
72705 if test $glibcxx_cv_link = yes; then
72707 $as_echo "#define HAVE_LINK 1" >>confdefs.h
72710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lseek" >&5
72711 $as_echo_n "checking for lseek... " >&6; }
72712 if ${glibcxx_cv_lseek+:} false; then :
72713 $as_echo_n "(cached) " >&6
72714 else
72715 if test x$gcc_no_link = xyes; then
72716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72717 /* end confdefs.h. */
72718 #include <unistd.h>
72720 main ()
72722 lseek(1, 0, SEEK_SET);
72724 return 0;
72726 _ACEOF
72727 if ac_fn_cxx_try_compile "$LINENO"; then :
72728 glibcxx_cv_lseek=yes
72729 else
72730 glibcxx_cv_lseek=no
72732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72733 else
72734 if test x$gcc_no_link = xyes; then
72735 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72738 /* end confdefs.h. */
72739 #include <unistd.h>
72741 main ()
72743 lseek(1, 0, SEEK_SET);
72745 return 0;
72747 _ACEOF
72748 if ac_fn_cxx_try_link "$LINENO"; then :
72749 glibcxx_cv_lseek=yes
72750 else
72751 glibcxx_cv_lseek=no
72753 rm -f core conftest.err conftest.$ac_objext \
72754 conftest$ac_exeext conftest.$ac_ext
72758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_lseek" >&5
72759 $as_echo "$glibcxx_cv_lseek" >&6; }
72760 if test $glibcxx_cv_lseek = yes; then
72762 $as_echo "#define HAVE_LSEEK 1" >>confdefs.h
72765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readlink" >&5
72766 $as_echo_n "checking for readlink... " >&6; }
72767 if ${glibcxx_cv_readlink+:} false; then :
72768 $as_echo_n "(cached) " >&6
72769 else
72770 if test x$gcc_no_link = xyes; then
72771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72772 /* end confdefs.h. */
72773 #include <unistd.h>
72775 main ()
72777 char buf[32]; readlink("", buf, sizeof(buf));
72779 return 0;
72781 _ACEOF
72782 if ac_fn_cxx_try_compile "$LINENO"; then :
72783 glibcxx_cv_readlink=yes
72784 else
72785 glibcxx_cv_readlink=no
72787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72788 else
72789 if test x$gcc_no_link = xyes; then
72790 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72793 /* end confdefs.h. */
72794 #include <unistd.h>
72796 main ()
72798 char buf[32]; readlink("", buf, sizeof(buf));
72800 return 0;
72802 _ACEOF
72803 if ac_fn_cxx_try_link "$LINENO"; then :
72804 glibcxx_cv_readlink=yes
72805 else
72806 glibcxx_cv_readlink=no
72808 rm -f core conftest.err conftest.$ac_objext \
72809 conftest$ac_exeext conftest.$ac_ext
72813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_readlink" >&5
72814 $as_echo "$glibcxx_cv_readlink" >&6; }
72815 if test $glibcxx_cv_readlink = yes; then
72817 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
72820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
72821 $as_echo_n "checking for symlink... " >&6; }
72822 if ${glibcxx_cv_symlink+:} false; then :
72823 $as_echo_n "(cached) " >&6
72824 else
72825 if test x$gcc_no_link = xyes; then
72826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72827 /* end confdefs.h. */
72828 #include <unistd.h>
72830 main ()
72832 symlink("", "");
72834 return 0;
72836 _ACEOF
72837 if ac_fn_cxx_try_compile "$LINENO"; then :
72838 glibcxx_cv_symlink=yes
72839 else
72840 glibcxx_cv_symlink=no
72842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72843 else
72844 if test x$gcc_no_link = xyes; then
72845 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72848 /* end confdefs.h. */
72849 #include <unistd.h>
72851 main ()
72853 symlink("", "");
72855 return 0;
72857 _ACEOF
72858 if ac_fn_cxx_try_link "$LINENO"; then :
72859 glibcxx_cv_symlink=yes
72860 else
72861 glibcxx_cv_symlink=no
72863 rm -f core conftest.err conftest.$ac_objext \
72864 conftest$ac_exeext conftest.$ac_ext
72868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_symlink" >&5
72869 $as_echo "$glibcxx_cv_symlink" >&6; }
72870 if test $glibcxx_cv_symlink = yes; then
72872 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
72875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncate" >&5
72876 $as_echo_n "checking for truncate... " >&6; }
72877 if ${glibcxx_cv_truncate+:} false; then :
72878 $as_echo_n "(cached) " >&6
72879 else
72880 if test x$gcc_no_link = xyes; then
72881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72882 /* end confdefs.h. */
72883 #include <unistd.h>
72885 main ()
72887 truncate("", 99);
72889 return 0;
72891 _ACEOF
72892 if ac_fn_cxx_try_compile "$LINENO"; then :
72893 glibcxx_cv_truncate=yes
72894 else
72895 glibcxx_cv_truncate=no
72897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72898 else
72899 if test x$gcc_no_link = xyes; then
72900 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72903 /* end confdefs.h. */
72904 #include <unistd.h>
72906 main ()
72908 truncate("", 99);
72910 return 0;
72912 _ACEOF
72913 if ac_fn_cxx_try_link "$LINENO"; then :
72914 glibcxx_cv_truncate=yes
72915 else
72916 glibcxx_cv_truncate=no
72918 rm -f core conftest.err conftest.$ac_objext \
72919 conftest$ac_exeext conftest.$ac_ext
72923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_truncate" >&5
72924 $as_echo "$glibcxx_cv_truncate" >&6; }
72925 if test $glibcxx_cv_truncate = yes; then
72927 $as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
72930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copy_file_range that can copy files" >&5
72931 $as_echo_n "checking for copy_file_range that can copy files... " >&6; }
72932 if ${glibcxx_cv_copy_file_range+:} false; then :
72933 $as_echo_n "(cached) " >&6
72934 else
72935 case "${target_os}" in
72936 linux*)
72937 if test x$gcc_no_link = xyes; then
72938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72939 /* end confdefs.h. */
72940 #include <unistd.h>
72942 main ()
72944 copy_file_range(1, (loff_t*)nullptr, 2, (loff_t*)nullptr, 1, 0);
72946 return 0;
72948 _ACEOF
72949 if ac_fn_cxx_try_compile "$LINENO"; then :
72950 glibcxx_cv_copy_file_range=yes
72951 else
72952 glibcxx_cv_copy_file_range=no
72954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72955 else
72956 if test x$gcc_no_link = xyes; then
72957 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72960 /* end confdefs.h. */
72961 #include <unistd.h>
72963 main ()
72965 copy_file_range(1, (loff_t*)nullptr, 2, (loff_t*)nullptr, 1, 0);
72967 return 0;
72969 _ACEOF
72970 if ac_fn_cxx_try_link "$LINENO"; then :
72971 glibcxx_cv_copy_file_range=yes
72972 else
72973 glibcxx_cv_copy_file_range=no
72975 rm -f core conftest.err conftest.$ac_objext \
72976 conftest$ac_exeext conftest.$ac_ext
72980 glibcxx_cv_copy_file_range=no
72982 esac
72985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_copy_file_range" >&5
72986 $as_echo "$glibcxx_cv_copy_file_range" >&6; }
72987 if test $glibcxx_cv_copy_file_range = yes; then
72989 $as_echo "#define _GLIBCXX_USE_COPY_FILE_RANGE 1" >>confdefs.h
72992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
72993 $as_echo_n "checking for sendfile that can copy files... " >&6; }
72994 if ${glibcxx_cv_sendfile+:} false; then :
72995 $as_echo_n "(cached) " >&6
72996 else
72997 case "${target_os}" in
72998 gnu* | linux* | solaris* | uclinux*)
72999 if test x$gcc_no_link = xyes; then
73000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73001 /* end confdefs.h. */
73002 #include <sys/sendfile.h>
73004 main ()
73006 sendfile(1, 2, (off_t*)0, sizeof 1);
73008 return 0;
73010 _ACEOF
73011 if ac_fn_cxx_try_compile "$LINENO"; then :
73012 glibcxx_cv_sendfile=yes
73013 else
73014 glibcxx_cv_sendfile=no
73016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73017 else
73018 if test x$gcc_no_link = xyes; then
73019 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
73021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73022 /* end confdefs.h. */
73023 #include <sys/sendfile.h>
73025 main ()
73027 sendfile(1, 2, (off_t*)0, sizeof 1);
73029 return 0;
73031 _ACEOF
73032 if ac_fn_cxx_try_link "$LINENO"; then :
73033 glibcxx_cv_sendfile=yes
73034 else
73035 glibcxx_cv_sendfile=no
73037 rm -f core conftest.err conftest.$ac_objext \
73038 conftest$ac_exeext conftest.$ac_ext
73042 glibcxx_cv_sendfile=no
73044 esac
73047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
73048 $as_echo "$glibcxx_cv_sendfile" >&6; }
73049 if test $glibcxx_cv_sendfile = yes && test $glibcxx_cv_lseek = yes; then
73051 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
73054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fdopendir" >&5
73055 $as_echo_n "checking for fdopendir... " >&6; }
73056 if ${glibcxx_cv_fdopendir+:} false; then :
73057 $as_echo_n "(cached) " >&6
73058 else
73059 if test x$gcc_no_link = xyes; then
73060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73061 /* end confdefs.h. */
73062 #include <dirent.h>
73064 main ()
73066 ::DIR* dir = ::fdopendir(1);
73068 return 0;
73070 _ACEOF
73071 if ac_fn_cxx_try_compile "$LINENO"; then :
73072 glibcxx_cv_fdopendir=yes
73073 else
73074 glibcxx_cv_fdopendir=no
73076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73077 else
73078 if test x$gcc_no_link = xyes; then
73079 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
73081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73082 /* end confdefs.h. */
73083 #include <dirent.h>
73085 main ()
73087 ::DIR* dir = ::fdopendir(1);
73089 return 0;
73091 _ACEOF
73092 if ac_fn_cxx_try_link "$LINENO"; then :
73093 glibcxx_cv_fdopendir=yes
73094 else
73095 glibcxx_cv_fdopendir=no
73097 rm -f core conftest.err conftest.$ac_objext \
73098 conftest$ac_exeext conftest.$ac_ext
73102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fdopendir" >&5
73103 $as_echo "$glibcxx_cv_fdopendir" >&6; }
73104 if test $glibcxx_cv_fdopendir = yes; then
73106 $as_echo "#define HAVE_FDOPENDIR 1" >>confdefs.h
73109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dirfd" >&5
73110 $as_echo_n "checking for dirfd... " >&6; }
73111 if ${glibcxx_cv_dirfd+:} false; then :
73112 $as_echo_n "(cached) " >&6
73113 else
73114 if test x$gcc_no_link = xyes; then
73115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73116 /* end confdefs.h. */
73117 #include <dirent.h>
73119 main ()
73121 int fd = ::dirfd((::DIR*)0);
73123 return 0;
73125 _ACEOF
73126 if ac_fn_cxx_try_compile "$LINENO"; then :
73127 glibcxx_cv_dirfd=yes
73128 else
73129 glibcxx_cv_dirfd=no
73131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73132 else
73133 if test x$gcc_no_link = xyes; then
73134 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
73136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73137 /* end confdefs.h. */
73138 #include <dirent.h>
73140 main ()
73142 int fd = ::dirfd((::DIR*)0);
73144 return 0;
73146 _ACEOF
73147 if ac_fn_cxx_try_link "$LINENO"; then :
73148 glibcxx_cv_dirfd=yes
73149 else
73150 glibcxx_cv_dirfd=no
73152 rm -f core conftest.err conftest.$ac_objext \
73153 conftest$ac_exeext conftest.$ac_ext
73157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirfd" >&5
73158 $as_echo "$glibcxx_cv_dirfd" >&6; }
73159 if test $glibcxx_cv_dirfd = yes; then
73161 $as_echo "#define HAVE_DIRFD 1" >>confdefs.h
73164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openat" >&5
73165 $as_echo_n "checking for openat... " >&6; }
73166 if ${glibcxx_cv_openat+:} false; then :
73167 $as_echo_n "(cached) " >&6
73168 else
73169 if test x$gcc_no_link = xyes; then
73170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73171 /* end confdefs.h. */
73172 #include <fcntl.h>
73174 main ()
73176 int fd = ::openat(AT_FDCWD, "", 0);
73178 return 0;
73180 _ACEOF
73181 if ac_fn_cxx_try_compile "$LINENO"; then :
73182 glibcxx_cv_openat=yes
73183 else
73184 glibcxx_cv_openat=no
73186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73187 else
73188 if test x$gcc_no_link = xyes; then
73189 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
73191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73192 /* end confdefs.h. */
73193 #include <fcntl.h>
73195 main ()
73197 int fd = ::openat(AT_FDCWD, "", 0);
73199 return 0;
73201 _ACEOF
73202 if ac_fn_cxx_try_link "$LINENO"; then :
73203 glibcxx_cv_openat=yes
73204 else
73205 glibcxx_cv_openat=no
73207 rm -f core conftest.err conftest.$ac_objext \
73208 conftest$ac_exeext conftest.$ac_ext
73212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_openat" >&5
73213 $as_echo "$glibcxx_cv_openat" >&6; }
73214 if test $glibcxx_cv_openat = yes; then
73216 $as_echo "#define HAVE_OPENAT 1" >>confdefs.h
73219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unlinkat" >&5
73220 $as_echo_n "checking for unlinkat... " >&6; }
73221 if ${glibcxx_cv_unlinkat+:} false; then :
73222 $as_echo_n "(cached) " >&6
73223 else
73224 if test x$gcc_no_link = xyes; then
73225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73226 /* end confdefs.h. */
73227 #include <fcntl.h>
73228 #include <unistd.h>
73230 main ()
73232 ::unlinkat(AT_FDCWD, "", AT_REMOVEDIR);
73234 return 0;
73236 _ACEOF
73237 if ac_fn_cxx_try_compile "$LINENO"; then :
73238 glibcxx_cv_unlinkat=yes
73239 else
73240 glibcxx_cv_unlinkat=no
73242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73243 else
73244 if test x$gcc_no_link = xyes; then
73245 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
73247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73248 /* end confdefs.h. */
73249 #include <fcntl.h>
73250 #include <unistd.h>
73252 main ()
73254 ::unlinkat(AT_FDCWD, "", AT_REMOVEDIR);
73256 return 0;
73258 _ACEOF
73259 if ac_fn_cxx_try_link "$LINENO"; then :
73260 glibcxx_cv_unlinkat=yes
73261 else
73262 glibcxx_cv_unlinkat=no
73264 rm -f core conftest.err conftest.$ac_objext \
73265 conftest$ac_exeext conftest.$ac_ext
73269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_unlinkat" >&5
73270 $as_echo "$glibcxx_cv_unlinkat" >&6; }
73271 if test $glibcxx_cv_unlinkat = yes; then
73273 $as_echo "#define HAVE_UNLINKAT 1" >>confdefs.h
73276 CXXFLAGS="$ac_save_CXXFLAGS"
73277 ac_ext=c
73278 ac_cpp='$CPP $CPPFLAGS'
73279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73286 # Check whether --enable-libstdcxx-backtrace was given.
73287 if test "${enable_libstdcxx_backtrace+set}" = set; then :
73288 enableval=$enable_libstdcxx_backtrace;
73289 case "$enableval" in
73290 yes|no|auto) ;;
73291 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-backtrace" "$LINENO" 5 ;;
73292 esac
73294 else
73295 enable_libstdcxx_backtrace=auto
73300 # Most of this is adapted from libsanitizer/configure.ac
73302 BACKTRACE_CPPFLAGS=
73304 # libbacktrace only needs atomics for int, which we've already tested
73305 if test "$glibcxx_cv_atomic_int" = "yes"; then
73306 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_ATOMIC_FUNCTIONS=1"
73309 # Test for __sync support.
73310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __sync extensions" >&5
73311 $as_echo_n "checking __sync extensions... " >&6; }
73312 if ${glibcxx_cv_sys_sync+:} false; then :
73313 $as_echo_n "(cached) " >&6
73314 else
73315 if test x$gcc_no_link = xyes; then
73316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73317 /* end confdefs.h. */
73318 int i;
73320 main ()
73322 __sync_bool_compare_and_swap (&i, i, i);
73323 __sync_lock_test_and_set (&i, 1);
73324 __sync_lock_release (&i);
73326 return 0;
73328 _ACEOF
73329 if ac_fn_c_try_compile "$LINENO"; then :
73330 glibcxx_cv_sys_sync=yes
73331 else
73332 glibcxx_cv_sys_sync=no
73334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73335 else
73336 if test x$gcc_no_link = xyes; then
73337 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
73339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73340 /* end confdefs.h. */
73341 int i;
73343 main ()
73345 __sync_bool_compare_and_swap (&i, i, i);
73346 __sync_lock_test_and_set (&i, 1);
73347 __sync_lock_release (&i);
73349 return 0;
73351 _ACEOF
73352 if ac_fn_c_try_link "$LINENO"; then :
73353 glibcxx_cv_sys_sync=yes
73354 else
73355 glibcxx_cv_sys_sync=no
73357 rm -f core conftest.err conftest.$ac_objext \
73358 conftest$ac_exeext conftest.$ac_ext
73362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sync" >&5
73363 $as_echo "$glibcxx_cv_sys_sync" >&6; }
73364 if test "$glibcxx_cv_sys_sync" = "yes"; then
73365 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_SYNC_FUNCTIONS=1"
73368 # Check for dl_iterate_phdr.
73369 for ac_header in link.h
73370 do :
73371 ac_fn_c_check_header_mongrel "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
73372 if test "x$ac_cv_header_link_h" = xyes; then :
73373 cat >>confdefs.h <<_ACEOF
73374 #define HAVE_LINK_H 1
73375 _ACEOF
73379 done
73381 if test "$ac_cv_header_link_h" = "no"; then
73382 have_dl_iterate_phdr=no
73383 else
73384 # When built as a GCC target library, we can't do a link test.
73385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73386 /* end confdefs.h. */
73387 #include <link.h>
73389 _ACEOF
73390 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
73391 $EGREP "dl_iterate_phdr" >/dev/null 2>&1; then :
73392 have_dl_iterate_phdr=yes
73393 else
73394 have_dl_iterate_phdr=no
73396 rm -f conftest*
73399 if test "$have_dl_iterate_phdr" = "yes"; then
73400 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_DL_ITERATE_PHDR=1"
73402 for ac_header in windows.h
73403 do :
73404 ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
73405 if test "x$ac_cv_header_windows_h" = xyes; then :
73406 cat >>confdefs.h <<_ACEOF
73407 #define HAVE_WINDOWS_H 1
73408 _ACEOF
73412 done
73415 # Check for the fcntl function.
73416 if test -n "${with_target_subdir}"; then
73417 case "${host}" in
73418 *-*-mingw*) have_fcntl=no ;;
73419 *) have_fcntl=yes ;;
73420 esac
73421 else
73422 ac_fn_c_check_func "$LINENO" "fcntl" "ac_cv_func_fcntl"
73423 if test "x$ac_cv_func_fcntl" = xyes; then :
73424 have_fcntl=yes
73425 else
73426 have_fcntl=no
73430 if test "$have_fcntl" = "yes"; then
73431 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_FCNTL=1"
73434 ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
73435 if test "x$ac_cv_have_decl_strnlen" = xyes; then :
73436 ac_have_decl=1
73437 else
73438 ac_have_decl=0
73441 cat >>confdefs.h <<_ACEOF
73442 #define HAVE_DECL_STRNLEN $ac_have_decl
73443 _ACEOF
73446 # Check for getexecname function.
73447 if test -n "${with_target_subdir}"; then
73448 case "${host}" in
73449 *-*-solaris2*) have_getexecname=yes ;;
73450 *) have_getexecname=no ;;
73451 esac
73452 else
73453 ac_fn_c_check_func "$LINENO" "getexecname" "ac_cv_func_getexecname"
73454 if test "x$ac_cv_func_getexecname" = xyes; then :
73455 have_getexecname=yes
73456 else
73457 have_getexecname=no
73461 if test "$have_getexecname" = "yes"; then
73462 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_GETEXECNAME=1"
73465 # The library needs to be able to read the executable itself. Compile
73466 # a file to determine the executable format. The awk script
73467 # filetype.awk prints out the file type.
73468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking output filetype" >&5
73469 $as_echo_n "checking output filetype... " >&6; }
73470 if ${glibcxx_cv_sys_filetype+:} false; then :
73471 $as_echo_n "(cached) " >&6
73472 else
73473 filetype=
73474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73475 /* end confdefs.h. */
73476 int i;
73478 main ()
73480 int j;
73482 return 0;
73484 _ACEOF
73485 if ac_fn_c_try_compile "$LINENO"; then :
73486 filetype=`${AWK} -f $srcdir/../libbacktrace/filetype.awk conftest.$ac_objext`
73487 else
73488 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
73489 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
73490 as_fn_error $? "compiler failed
73491 See \`config.log' for more details" "$LINENO" 5; }
73493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73494 glibcxx_cv_sys_filetype=$filetype
73496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_filetype" >&5
73497 $as_echo "$glibcxx_cv_sys_filetype" >&6; }
73499 # Match the file type to decide what files to compile.
73500 FORMAT_FILE=
73501 case "$glibcxx_cv_sys_filetype" in
73502 elf*) FORMAT_FILE="elf.lo" ;;
73503 pecoff*) FORMAT_FILE="pecoff.lo" ;;
73504 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine output file type" >&5
73505 $as_echo "$as_me: WARNING: could not determine output file type" >&2;}
73506 FORMAT_FILE="unknown.lo"
73507 enable_libstdcxx_backtrace=no
73509 esac
73512 # ELF defines.
73513 elfsize=
73514 case "$glibcxx_cv_sys_filetype" in
73515 elf32) elfsize=32 ;;
73516 elf64) elfsize=64 ;;
73517 esac
73518 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DBACKTRACE_ELF_SIZE=$elfsize"
73520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build libbacktrace support" >&5
73521 $as_echo_n "checking whether to build libbacktrace support... " >&6; }
73522 if test "$enable_libstdcxx_backtrace" = "auto"; then
73523 case "$host" in
73524 avr-*-*) enable_libstdcxx_backtrace=no ;;
73525 *) enable_libstdcxx_backtrace="$is_hosted" ;;
73526 esac
73528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_backtrace" >&5
73529 $as_echo "$enable_libstdcxx_backtrace" >&6; }
73530 if test "$enable_libstdcxx_backtrace" = "yes"; then
73531 BACKTRACE_SUPPORTED=1
73533 for ac_header in sys/mman.h
73534 do :
73535 ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
73536 if test "x$ac_cv_header_sys_mman_h" = xyes; then :
73537 cat >>confdefs.h <<_ACEOF
73538 #define HAVE_SYS_MMAN_H 1
73539 _ACEOF
73543 done
73545 case "${host}" in
73546 *-*-msdosdjgpp) # DJGPP has sys/man.h, but no mmap
73547 have_mmap=no ;;
73548 *-*-*)
73549 have_mmap="$ac_cv_header_sys_mman_h" ;;
73550 esac
73552 if test "$have_mmap" = "no"; then
73553 VIEW_FILE=read.lo
73554 ALLOC_FILE=alloc.lo
73555 else
73556 VIEW_FILE=mmapio.lo
73557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73558 /* end confdefs.h. */
73560 #include <sys/mman.h>
73561 #if !defined(MAP_ANONYMOUS) && !defined(MAP_ANON)
73562 #error no MAP_ANONYMOUS
73563 #endif
73565 _ACEOF
73566 if ac_fn_c_try_cpp "$LINENO"; then :
73567 ALLOC_FILE=mmap.lo
73568 else
73569 ALLOC_FILE=alloc.lo
73571 rm -f conftest.err conftest.i conftest.$ac_ext
73576 BACKTRACE_USES_MALLOC=0
73577 if test "$ALLOC_FILE" = "alloc.lo"; then
73578 BACKTRACE_USES_MALLOC=1
73581 if test "$ac_has_gthreads" = "yes"; then
73582 BACKTRACE_SUPPORTS_THREADS=1
73583 else
73584 BACKTRACE_SUPPORTS_THREADS=0
73591 $as_echo "#define HAVE_STACKTRACE 1" >>confdefs.h
73593 else
73594 BACKTRACE_SUPPORTED=0
73595 BACKTRACE_USES_MALLOC=0
73596 BACKTRACE_SUPPORTS_THREADS=0
73601 # For Networking TS.
73602 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
73603 do :
73604 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
73605 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
73606 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
73607 cat >>confdefs.h <<_ACEOF
73608 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
73609 _ACEOF
73613 done
73615 ac_fn_c_check_decl "$LINENO" "F_GETFL" "ac_cv_have_decl_F_GETFL" "#include <fcntl.h>
73617 if test "x$ac_cv_have_decl_F_GETFL" = xyes; then :
73621 ac_fn_c_check_decl "$LINENO" "F_SETFL" "ac_cv_have_decl_F_SETFL" "#include <fcntl.h>
73623 if test "x$ac_cv_have_decl_F_SETFL" = xyes; then :
73627 if test "$ac_cv_have_decl_F_GETFL$ac_cv_have_decl_F_SETFL" = yesyes ; then
73628 ac_fn_c_check_decl "$LINENO" "O_NONBLOCK" "ac_cv_have_decl_O_NONBLOCK" "#include <fcntl.h>
73630 if test "x$ac_cv_have_decl_O_NONBLOCK" = xyes; then :
73636 # For Transactional Memory TS
73638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
73639 $as_echo_n "checking how size_t is mangled... " >&6; }
73640 if ${glibcxx_cv_size_t_mangling+:} false; then :
73641 $as_echo_n "(cached) " >&6
73642 else
73644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73645 /* end confdefs.h. */
73648 main ()
73650 extern __SIZE_TYPE__ x; extern unsigned long x;
73652 return 0;
73654 _ACEOF
73655 if ac_fn_c_try_compile "$LINENO"; then :
73656 glibcxx_cv_size_t_mangling=m
73657 else
73659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73660 /* end confdefs.h. */
73663 main ()
73665 extern __SIZE_TYPE__ x; extern unsigned int x;
73667 return 0;
73669 _ACEOF
73670 if ac_fn_c_try_compile "$LINENO"; then :
73671 glibcxx_cv_size_t_mangling=j
73672 else
73674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73675 /* end confdefs.h. */
73678 main ()
73680 extern __SIZE_TYPE__ x; extern unsigned long long x;
73682 return 0;
73684 _ACEOF
73685 if ac_fn_c_try_compile "$LINENO"; then :
73686 glibcxx_cv_size_t_mangling=y
73687 else
73689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73690 /* end confdefs.h. */
73693 main ()
73695 extern __SIZE_TYPE__ x; extern unsigned short x;
73697 return 0;
73699 _ACEOF
73700 if ac_fn_c_try_compile "$LINENO"; then :
73701 glibcxx_cv_size_t_mangling=t
73702 else
73704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73705 /* end confdefs.h. */
73708 main ()
73710 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
73712 return 0;
73714 _ACEOF
73715 if ac_fn_c_try_compile "$LINENO"; then :
73716 glibcxx_cv_size_t_mangling=u6uint20
73717 else
73718 glibcxx_cv_size_t_mangling=x
73720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
73736 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
73737 if test $glibcxx_cv_size_t_mangling = x; then
73738 as_fn_error $? "Unknown underlying type for size_t" "$LINENO" 5
73741 cat >>confdefs.h <<_ACEOF
73742 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
73743 _ACEOF
73747 # Check which release added std::exception_ptr for the target
73749 if test $enable_symvers != no; then
73750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
73751 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
73752 case ${target} in
73753 aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
73754 m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
73755 ac_exception_ptr_since_gcc46=yes
73758 # If the value of this macro changes then we will need to hardcode
73759 # yes/no here for additional targets based on the original value.
73760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73761 /* end confdefs.h. */
73764 main ()
73767 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
73768 # error atomic int not always lock free
73769 #endif
73772 return 0;
73774 _ACEOF
73775 if ac_fn_c_try_compile "$LINENO"; then :
73776 ac_exception_ptr_since_gcc46=yes
73777 else
73778 ac_exception_ptr_since_gcc46=no
73780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73782 esac
73783 if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
73785 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
73787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
73788 $as_echo "4.6.0" >&6; }
73789 else
73790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
73791 $as_echo "7.1.0" >&6; }
73796 # For libsupc++/eh_alloc.cc defaults.
73798 eh_pool_static=
73799 eh_pool_nobjs=
73800 # Check whether --enable-libstdcxx-static-eh-pool was given.
73801 if test "${enable_libstdcxx_static_eh_pool+set}" = set; then :
73802 enableval=$enable_libstdcxx_static_eh_pool; if test "${enableval}" = yes; then
73803 eh_pool_static="-D_GLIBCXX_EH_POOL_STATIC"
73804 { $as_echo "$as_me:${as_lineno-$LINENO}: EH pool using static buffer" >&5
73805 $as_echo "$as_me: EH pool using static buffer" >&6;}
73811 # Check whether --with-libstdcxx-eh-pool-obj-count was given.
73812 if test "${with_libstdcxx_eh_pool_obj_count+set}" = set; then :
73813 withval=$with_libstdcxx_eh_pool_obj_count; if test "${withval}" -ge 0 2>/dev/null; then
73814 eh_pool_obj_count="-D_GLIBCXX_EH_POOL_NOBJS=${withval}"
73815 { $as_echo "$as_me:${as_lineno-$LINENO}: EH pool object count: ${withval}" >&5
73816 $as_echo "$as_me: EH pool object count: ${withval}" >&6;}
73817 else
73818 as_fn_error $? "EH pool obj count must be a non-negative integer: $withval" "$LINENO" 5
73823 EH_POOL_FLAGS="$eh_pool_static $eh_pool_obj_count"
73827 # For src/c++20/tzdb.cc defaults.
73830 # Check whether --with-libstdcxx-zoneinfo was given.
73831 if test "${with_libstdcxx_zoneinfo+set}" = set; then :
73832 withval=$with_libstdcxx_zoneinfo;
73833 else
73834 with_libstdcxx_zoneinfo=yes
73838 if test "x${with_libstdcxx_zoneinfo}" = xyes; then
73839 # Pick a default when no specific path is set.
73840 case "$target_os" in
73841 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
73842 # Not all distros ship tzdata.zi in this dir.
73843 zoneinfo_dir="/usr/share/zoneinfo"
73845 aix*)
73846 # Binary tzfile files are in /usr/share/lib/zoneinfo
73847 # but tzdata.zi is not present there.
73848 zoneinfo_dir=none
73850 darwin2*)
73851 # Binary tzfile files are in /usr/share/lib/zoneinfo.default
73852 # but tzdata.zi is not present there.
73853 zoneinfo_dir=none
73856 # Binary tzfile files are commonly found in /usr/share/zoneinfo
73857 # but tzdata.zi is not present there.
73858 zoneinfo_dir=none
73860 esac
73862 if ac_fn_c_compute_int "$LINENO" "__INTPTR_WIDTH__ >= 32" "glibcxx_cv_at_least_32bit" ""; then :
73866 if test "$glibcxx_cv_at_least_32bit" -ne 0; then
73867 # Also embed a copy of the tzdata.zi file as a static string.
73868 embed_zoneinfo=yes
73869 else
73870 # The embedded data is too large for 16-bit targets.
73871 embed_zoneinfo=no
73873 elif test "x${with_libstdcxx_zoneinfo}" = xno; then
73874 # Disable tzdb support completely.
73875 zoneinfo_dir=none
73876 embed_zoneinfo=no
73877 else
73878 case "${with_libstdcxx_zoneinfo}" in
73879 static)
73880 # Do not attempt to read from disk, always use embedded data.
73881 zoneinfo_dir=none
73882 embed_zoneinfo=yes
73884 static,* | *,static)
73885 # Try to read from disk, use embedded data as fallback.
73886 zoneinfo_dir="${with_libstdcxx_zoneinfo#static,}"
73887 zoneinfo_dir="${with_libstdcxx_zoneinfo%,static}"
73888 embed_zoneinfo=yes
73891 zoneinfo_dir="${with_libstdcxx_zoneinfo}"
73892 embed_zoneinfo=no
73894 esac
73896 { $as_echo "$as_me:${as_lineno-$LINENO}: zoneinfo data directory: ${zoneinfo_dir}" >&5
73897 $as_echo "$as_me: zoneinfo data directory: ${zoneinfo_dir}" >&6;}
73898 if test "x${zoneinfo_dir}" != xnone; then
73900 cat >>confdefs.h <<_ACEOF
73901 #define _GLIBCXX_ZONEINFO_DIR "${zoneinfo_dir}"
73902 _ACEOF
73904 if $GLIBCXX_IS_NATIVE && ! test -f "$zoneinfo_dir/tzdata.zi"; then
73905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"$zoneinfo_dir does not contain tzdata.zi file\"" >&5
73906 $as_echo "$as_me: WARNING: \"$zoneinfo_dir does not contain tzdata.zi file\"" >&2;}
73910 if test "x${embed_zoneinfo}" = xyes; then
73911 { $as_echo "$as_me:${as_lineno-$LINENO}: static tzdata.zi file will be compiled into the library" >&5
73912 $as_echo "$as_me: static tzdata.zi file will be compiled into the library" >&6;}
73914 cat >>confdefs.h <<_ACEOF
73915 #define _GLIBCXX_STATIC_TZDATA 1
73916 _ACEOF
73921 # For src/c++11/shared_ptr.cc alignment.
73924 ac_ext=cpp
73925 ac_cpp='$CXXCPP $CPPFLAGS'
73926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether static objects can be aligned to the cacheline size" >&5
73932 $as_echo_n "checking whether static objects can be aligned to the cacheline size... " >&6; }
73933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73934 /* end confdefs.h. */
73937 main ()
73939 struct alignas(__GCC_DESTRUCTIVE_SIZE) Aligned { };
73940 alignas(Aligned) static char buf[sizeof(Aligned) * 16];
73943 return 0;
73945 _ACEOF
73946 if ac_fn_cxx_try_compile "$LINENO"; then :
73947 ac_alignas_cacheline=yes
73948 else
73949 ac_alignas_cacheline=no
73951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73952 if test "$ac_alignas_cacheline" = yes; then
73954 cat >>confdefs.h <<_ACEOF
73955 #define _GLIBCXX_CAN_ALIGNAS_DESTRUCTIVE_SIZE 1
73956 _ACEOF
73959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_alignas_cacheline" >&5
73960 $as_echo "$ac_alignas_cacheline" >&6; }
73962 ac_ext=c
73963 ac_cpp='$CPP $CPPFLAGS'
73964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73970 # For using init_priority in ios_init.cc
73973 ac_ext=cpp
73974 ac_cpp='$CXXCPP $CPPFLAGS'
73975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether init_priority attribute is supported" >&5
73981 $as_echo_n "checking whether init_priority attribute is supported... " >&6; }
73982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73983 /* end confdefs.h. */
73986 main ()
73989 #if ! __has_attribute(init_priority)
73990 #error init_priority not supported
73991 #endif
73994 return 0;
73996 _ACEOF
73997 if ac_fn_cxx_try_compile "$LINENO"; then :
73998 ac_init_priority=yes
73999 else
74000 ac_init_priority=no
74002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74003 if test "$ac_init_priority" = yes; then
74005 cat >>confdefs.h <<_ACEOF
74006 #define _GLIBCXX_USE_INIT_PRIORITY_ATTRIBUTE 1
74007 _ACEOF
74010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_init_priority" >&5
74011 $as_echo "$ac_init_priority" >&6; }
74013 ac_ext=c
74014 ac_cpp='$CPP $CPPFLAGS'
74015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74021 # For __basic_file::native_handle()
74024 ac_ext=cpp
74025 ac_cpp='$CXXCPP $CPPFLAGS'
74026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether _get_osfhandle is defined in <io.h>" >&5
74032 $as_echo_n "checking whether _get_osfhandle is defined in <io.h>... " >&6; }
74033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74034 /* end confdefs.h. */
74036 #if defined(_WIN32) && !defined(__CYGWIN__)
74037 # include <stdint.h>
74038 # include <io.h>
74039 #endif
74042 main ()
74045 FILE* file = 0;
74046 int fd = fileno(file);
74047 intptr_t crt_handle = _get_osfhandle(fd);
74048 void* win32_handle = reinterpret_cast<void*>(crt_handle);
74051 return 0;
74053 _ACEOF
74054 if ac_fn_cxx_try_compile "$LINENO"; then :
74055 ac_get_osfhandle=yes
74056 else
74057 ac_get_osfhandle=no
74059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74060 if test "$ac_objext" = yes; then
74062 cat >>confdefs.h <<_ACEOF
74063 #define _GLIBCXX_USE__GET_OSFHANDLE 1
74064 _ACEOF
74067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_get_osfhandle" >&5
74068 $as_echo "$ac_get_osfhandle" >&6; }
74070 ac_ext=c
74071 ac_cpp='$CPP $CPPFLAGS'
74072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74078 # Define documentation rules conditionally.
74080 # See if makeinfo has been installed and is modern enough
74081 # that we can use it.
74083 # Extract the first word of "makeinfo", so it can be a program name with args.
74084 set dummy makeinfo; ac_word=$2
74085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
74086 $as_echo_n "checking for $ac_word... " >&6; }
74087 if ${ac_cv_prog_MAKEINFO+:} false; then :
74088 $as_echo_n "(cached) " >&6
74089 else
74090 if test -n "$MAKEINFO"; then
74091 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
74092 else
74093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74094 for as_dir in $PATH
74096 IFS=$as_save_IFS
74097 test -z "$as_dir" && as_dir=.
74098 for ac_exec_ext in '' $ac_executable_extensions; do
74099 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
74100 ac_cv_prog_MAKEINFO="makeinfo"
74101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
74102 break 2
74104 done
74105 done
74106 IFS=$as_save_IFS
74110 MAKEINFO=$ac_cv_prog_MAKEINFO
74111 if test -n "$MAKEINFO"; then
74112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
74113 $as_echo "$MAKEINFO" >&6; }
74114 else
74115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
74116 $as_echo "no" >&6; }
74120 if test -n "$MAKEINFO"; then
74121 # Found it, now check the version.
74122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
74123 $as_echo_n "checking for modern makeinfo... " >&6; }
74124 if ${gcc_cv_prog_makeinfo_modern+:} false; then :
74125 $as_echo_n "(cached) " >&6
74126 else
74127 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
74128 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
74130 case $ac_prog_version in
74131 '') gcc_cv_prog_makeinfo_modern=no;;
74132 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
74133 *) gcc_cv_prog_makeinfo_modern=no;;
74134 esac
74137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
74138 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
74139 else
74140 gcc_cv_prog_makeinfo_modern=no
74142 if test $gcc_cv_prog_makeinfo_modern = no; then
74143 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
74146 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
74147 BUILD_INFO_TRUE=
74148 BUILD_INFO_FALSE='#'
74149 else
74150 BUILD_INFO_TRUE='#'
74151 BUILD_INFO_FALSE=
74155 # Check for doxygen
74156 # Extract the first word of "doxygen", so it can be a program name with args.
74157 set dummy doxygen; ac_word=$2
74158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
74159 $as_echo_n "checking for $ac_word... " >&6; }
74160 if ${ac_cv_prog_DOXYGEN+:} false; then :
74161 $as_echo_n "(cached) " >&6
74162 else
74163 if test -n "$DOXYGEN"; then
74164 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
74165 else
74166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74167 for as_dir in $PATH
74169 IFS=$as_save_IFS
74170 test -z "$as_dir" && as_dir=.
74171 for ac_exec_ext in '' $ac_executable_extensions; do
74172 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
74173 ac_cv_prog_DOXYGEN="yes"
74174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
74175 break 2
74177 done
74178 done
74179 IFS=$as_save_IFS
74181 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
74184 DOXYGEN=$ac_cv_prog_DOXYGEN
74185 if test -n "$DOXYGEN"; then
74186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
74187 $as_echo "$DOXYGEN" >&6; }
74188 else
74189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
74190 $as_echo "no" >&6; }
74194 # Extract the first word of "dot", so it can be a program name with args.
74195 set dummy dot; ac_word=$2
74196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
74197 $as_echo_n "checking for $ac_word... " >&6; }
74198 if ${ac_cv_prog_DOT+:} false; then :
74199 $as_echo_n "(cached) " >&6
74200 else
74201 if test -n "$DOT"; then
74202 ac_cv_prog_DOT="$DOT" # Let the user override the test.
74203 else
74204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74205 for as_dir in $PATH
74207 IFS=$as_save_IFS
74208 test -z "$as_dir" && as_dir=.
74209 for ac_exec_ext in '' $ac_executable_extensions; do
74210 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
74211 ac_cv_prog_DOT="yes"
74212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
74213 break 2
74215 done
74216 done
74217 IFS=$as_save_IFS
74219 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
74222 DOT=$ac_cv_prog_DOT
74223 if test -n "$DOT"; then
74224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
74225 $as_echo "$DOT" >&6; }
74226 else
74227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
74228 $as_echo "no" >&6; }
74233 # Check for docbook
74234 # Extract the first word of "xmlcatalog", so it can be a program name with args.
74235 set dummy xmlcatalog; ac_word=$2
74236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
74237 $as_echo_n "checking for $ac_word... " >&6; }
74238 if ${ac_cv_prog_XMLCATALOG+:} false; then :
74239 $as_echo_n "(cached) " >&6
74240 else
74241 if test -n "$XMLCATALOG"; then
74242 ac_cv_prog_XMLCATALOG="$XMLCATALOG" # Let the user override the test.
74243 else
74244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74245 for as_dir in $PATH
74247 IFS=$as_save_IFS
74248 test -z "$as_dir" && as_dir=.
74249 for ac_exec_ext in '' $ac_executable_extensions; do
74250 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
74251 ac_cv_prog_XMLCATALOG="yes"
74252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
74253 break 2
74255 done
74256 done
74257 IFS=$as_save_IFS
74259 test -z "$ac_cv_prog_XMLCATALOG" && ac_cv_prog_XMLCATALOG="no"
74262 XMLCATALOG=$ac_cv_prog_XMLCATALOG
74263 if test -n "$XMLCATALOG"; then
74264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLCATALOG" >&5
74265 $as_echo "$XMLCATALOG" >&6; }
74266 else
74267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
74268 $as_echo "no" >&6; }
74272 # Extract the first word of "xsltproc", so it can be a program name with args.
74273 set dummy xsltproc; ac_word=$2
74274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
74275 $as_echo_n "checking for $ac_word... " >&6; }
74276 if ${ac_cv_prog_XSLTPROC+:} false; then :
74277 $as_echo_n "(cached) " >&6
74278 else
74279 if test -n "$XSLTPROC"; then
74280 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
74281 else
74282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74283 for as_dir in $PATH
74285 IFS=$as_save_IFS
74286 test -z "$as_dir" && as_dir=.
74287 for ac_exec_ext in '' $ac_executable_extensions; do
74288 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
74289 ac_cv_prog_XSLTPROC="yes"
74290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
74291 break 2
74293 done
74294 done
74295 IFS=$as_save_IFS
74297 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
74300 XSLTPROC=$ac_cv_prog_XSLTPROC
74301 if test -n "$XSLTPROC"; then
74302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
74303 $as_echo "$XSLTPROC" >&6; }
74304 else
74305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
74306 $as_echo "no" >&6; }
74310 # Extract the first word of "xmllint", so it can be a program name with args.
74311 set dummy xmllint; ac_word=$2
74312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
74313 $as_echo_n "checking for $ac_word... " >&6; }
74314 if ${ac_cv_prog_XMLLINT+:} false; then :
74315 $as_echo_n "(cached) " >&6
74316 else
74317 if test -n "$XMLLINT"; then
74318 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
74319 else
74320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74321 for as_dir in $PATH
74323 IFS=$as_save_IFS
74324 test -z "$as_dir" && as_dir=.
74325 for ac_exec_ext in '' $ac_executable_extensions; do
74326 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
74327 ac_cv_prog_XMLLINT="yes"
74328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
74329 break 2
74331 done
74332 done
74333 IFS=$as_save_IFS
74335 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
74338 XMLLINT=$ac_cv_prog_XMLLINT
74339 if test -n "$XMLLINT"; then
74340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
74341 $as_echo "$XMLLINT" >&6; }
74342 else
74343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
74344 $as_echo "no" >&6; }
74350 glibcxx_docbook_url=http://cdn.docbook.org/release/xsl/current/
74352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
74353 $as_echo_n "checking for local stylesheet directory... " >&6; }
74354 glibcxx_local_stylesheets=no
74355 if test x${XMLCATALOG} = xyes && xsl_style_dir=`xmlcatalog "" $glibcxx_docbook_url 2>/dev/null`
74356 then
74357 XSL_STYLE_DIR=`echo $xsl_style_dir | sed -n 's;^file://;;p'`
74358 glibcxx_local_stylesheets=yes
74359 else
74360 for dir in \
74361 /usr/share/sgml/docbook/xsl-ns-stylesheets \
74362 /usr/share/xml/docbook/stylesheet/docbook-xsl-ns \
74363 /usr/share/xml/docbook/stylesheet/nwalsh5/current \
74364 /usr/share/xml/docbook/stylesheet/nwalsh/current
74366 if test -d $dir; then
74367 glibcxx_local_stylesheets=yes
74368 XSL_STYLE_DIR=$dir
74369 break
74371 done
74373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
74374 $as_echo "$glibcxx_local_stylesheets" >&6; }
74376 if test x"$glibcxx_local_stylesheets" = x"yes"; then
74378 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
74379 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
74381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
74382 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
74383 glibcxx_stylesheets=no
74384 if test x${XMLCATALOG} = xno || xmlcatalog "" $glibcxx_docbook_url/xhtml/docbook.xsl >/dev/null 2>&1; then
74385 if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude $glibcxx_docbook_url/xhtml/docbook.xsl - 2>/dev/null; then
74386 glibcxx_stylesheets=yes
74389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
74390 $as_echo "$glibcxx_stylesheets" >&6; }
74392 else
74393 glibcxx_stylesheets=no
74396 # Check for epub3 dependencies.
74397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
74398 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
74399 glibcxx_epub_stylesheets=no
74400 if test x"$glibcxx_local_stylesheets" = x"yes"; then
74401 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
74402 glibcxx_epub_stylesheets=yes
74405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
74406 $as_echo "$glibcxx_epub_stylesheets" >&6; }
74407 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
74408 BUILD_EPUB_TRUE=
74409 BUILD_EPUB_FALSE='#'
74410 else
74411 BUILD_EPUB_TRUE='#'
74412 BUILD_EPUB_FALSE=
74418 # Check for xml/html dependencies.
74419 if test $ac_cv_prog_DOXYGEN = "yes" &&
74420 test $ac_cv_prog_DOT = "yes" &&
74421 test $ac_cv_prog_XSLTPROC = "yes" &&
74422 test $ac_cv_prog_XMLLINT = "yes" &&
74423 test $glibcxx_stylesheets = "yes"; then
74424 BUILD_XML_TRUE=
74425 BUILD_XML_FALSE='#'
74426 else
74427 BUILD_XML_TRUE='#'
74428 BUILD_XML_FALSE=
74432 if test $ac_cv_prog_DOXYGEN = "yes" &&
74433 test $ac_cv_prog_DOT = "yes" &&
74434 test $ac_cv_prog_XSLTPROC = "yes" &&
74435 test $ac_cv_prog_XMLLINT = "yes" &&
74436 test $glibcxx_stylesheets = "yes"; then
74437 BUILD_HTML_TRUE=
74438 BUILD_HTML_FALSE='#'
74439 else
74440 BUILD_HTML_TRUE='#'
74441 BUILD_HTML_FALSE=
74445 # Check for man dependencies.
74446 if test $ac_cv_prog_DOXYGEN = "yes" &&
74447 test $ac_cv_prog_DOT = "yes"; then
74448 BUILD_MAN_TRUE=
74449 BUILD_MAN_FALSE='#'
74450 else
74451 BUILD_MAN_TRUE='#'
74452 BUILD_MAN_FALSE=
74456 # Check for pdf dependencies.
74457 # Extract the first word of "dblatex", so it can be a program name with args.
74458 set dummy dblatex; ac_word=$2
74459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
74460 $as_echo_n "checking for $ac_word... " >&6; }
74461 if ${ac_cv_prog_DBLATEX+:} false; then :
74462 $as_echo_n "(cached) " >&6
74463 else
74464 if test -n "$DBLATEX"; then
74465 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
74466 else
74467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74468 for as_dir in $PATH
74470 IFS=$as_save_IFS
74471 test -z "$as_dir" && as_dir=.
74472 for ac_exec_ext in '' $ac_executable_extensions; do
74473 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
74474 ac_cv_prog_DBLATEX="yes"
74475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
74476 break 2
74478 done
74479 done
74480 IFS=$as_save_IFS
74482 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
74485 DBLATEX=$ac_cv_prog_DBLATEX
74486 if test -n "$DBLATEX"; then
74487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
74488 $as_echo "$DBLATEX" >&6; }
74489 else
74490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
74491 $as_echo "no" >&6; }
74495 # Extract the first word of "pdflatex", so it can be a program name with args.
74496 set dummy pdflatex; ac_word=$2
74497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
74498 $as_echo_n "checking for $ac_word... " >&6; }
74499 if ${ac_cv_prog_PDFLATEX+:} false; then :
74500 $as_echo_n "(cached) " >&6
74501 else
74502 if test -n "$PDFLATEX"; then
74503 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
74504 else
74505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74506 for as_dir in $PATH
74508 IFS=$as_save_IFS
74509 test -z "$as_dir" && as_dir=.
74510 for ac_exec_ext in '' $ac_executable_extensions; do
74511 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
74512 ac_cv_prog_PDFLATEX="yes"
74513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
74514 break 2
74516 done
74517 done
74518 IFS=$as_save_IFS
74520 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
74523 PDFLATEX=$ac_cv_prog_PDFLATEX
74524 if test -n "$PDFLATEX"; then
74525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
74526 $as_echo "$PDFLATEX" >&6; }
74527 else
74528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
74529 $as_echo "no" >&6; }
74533 if test $ac_cv_prog_DOXYGEN = "yes" &&
74534 test $ac_cv_prog_DOT = "yes" &&
74535 test $ac_cv_prog_XSLTPROC = "yes" &&
74536 test $ac_cv_prog_XMLLINT = "yes" &&
74537 test $ac_cv_prog_DBLATEX = "yes" &&
74538 test $ac_cv_prog_PDFLATEX = "yes"; then
74539 BUILD_PDF_TRUE=
74540 BUILD_PDF_FALSE='#'
74541 else
74542 BUILD_PDF_TRUE='#'
74543 BUILD_PDF_FALSE=
74547 case "$build" in
74548 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
74549 * ) glibcxx_include_dir_notparallel=no ;;
74550 esac
74551 if test $glibcxx_include_dir_notparallel = "yes"; then
74552 INCLUDE_DIR_NOTPARALLEL_TRUE=
74553 INCLUDE_DIR_NOTPARALLEL_FALSE='#'
74554 else
74555 INCLUDE_DIR_NOTPARALLEL_TRUE='#'
74556 INCLUDE_DIR_NOTPARALLEL_FALSE=
74560 # Propagate the target-specific source directories through the build chain.
74561 ATOMICITY_SRCDIR=config/${atomicity_dir}
74562 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
74563 ATOMIC_FLAGS=${atomic_flags}
74564 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
74565 OS_INC_SRCDIR=config/${os_include_dir}
74566 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
74567 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
74568 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
74569 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
74580 # Conditionalize the makefile for this target machine.
74581 tmake_file_=
74582 for f in ${tmake_file}
74584 if test -f ${srcdir}/config/$f
74585 then
74586 tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
74588 done
74589 tmake_file="${tmake_file_}"
74592 # Add CET specific flags if Intel CET is enabled.
74593 # Check whether --enable-cet was given.
74594 if test "${enable_cet+set}" = set; then :
74595 enableval=$enable_cet;
74596 case "$enableval" in
74597 yes|no|auto) ;;
74598 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
74599 esac
74601 else
74602 enable_cet=auto
74606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
74607 $as_echo_n "checking for CET support... " >&6; }
74609 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
74610 case "$host" in
74611 i[34567]86-*-linux* | x86_64-*-linux*)
74612 case "$enable_cet" in
74613 auto)
74614 # Check if target supports multi-byte NOPs
74615 # and if compiler and assembler support CET insn.
74616 cet_save_CFLAGS="$CFLAGS"
74617 CFLAGS="$CFLAGS -fcf-protection"
74618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74619 /* end confdefs.h. */
74622 main ()
74625 #if !defined(__SSE2__)
74626 #error target does not support multi-byte NOPs
74627 #else
74628 asm ("setssbsy");
74629 #endif
74632 return 0;
74634 _ACEOF
74635 if ac_fn_c_try_compile "$LINENO"; then :
74636 enable_cet=yes
74637 else
74638 enable_cet=no
74640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74641 CFLAGS="$cet_save_CFLAGS"
74643 yes)
74644 # Check if assembler supports CET.
74645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74646 /* end confdefs.h. */
74649 main ()
74651 asm ("setssbsy");
74653 return 0;
74655 _ACEOF
74656 if ac_fn_c_try_compile "$LINENO"; then :
74658 else
74659 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
74661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74663 esac
74666 enable_cet=no
74668 esac
74669 if test x$enable_cet = xyes; then
74670 CET_FLAGS="-fcf-protection -mshstk"
74671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
74672 $as_echo "yes" >&6; }
74673 else
74674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
74675 $as_echo "no" >&6; }
74678 EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
74679 EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
74683 # Determine cross-compile flags and AM_CONDITIONALs.
74684 #AC_SUBST(GLIBCXX_IS_NATIVE)
74685 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
74686 if test $is_hosted = yes; then
74687 GLIBCXX_HOSTED_TRUE=
74688 GLIBCXX_HOSTED_FALSE='#'
74689 else
74690 GLIBCXX_HOSTED_TRUE='#'
74691 GLIBCXX_HOSTED_FALSE=
74695 if test $enable_libstdcxx_pch = yes; then
74696 GLIBCXX_BUILD_PCH_TRUE=
74697 GLIBCXX_BUILD_PCH_FALSE='#'
74698 else
74699 GLIBCXX_BUILD_PCH_TRUE='#'
74700 GLIBCXX_BUILD_PCH_FALSE=
74704 if test $enable_float128 = yes; then
74705 ENABLE_FLOAT128_TRUE=
74706 ENABLE_FLOAT128_FALSE='#'
74707 else
74708 ENABLE_FLOAT128_TRUE='#'
74709 ENABLE_FLOAT128_FALSE=
74713 if test $enable_libstdcxx_allocator_flag = new; then
74714 ENABLE_ALLOCATOR_NEW_TRUE=
74715 ENABLE_ALLOCATOR_NEW_FALSE='#'
74716 else
74717 ENABLE_ALLOCATOR_NEW_TRUE='#'
74718 ENABLE_ALLOCATOR_NEW_FALSE=
74722 if test $enable_cheaders = c; then
74723 GLIBCXX_C_HEADERS_C_TRUE=
74724 GLIBCXX_C_HEADERS_C_FALSE='#'
74725 else
74726 GLIBCXX_C_HEADERS_C_TRUE='#'
74727 GLIBCXX_C_HEADERS_C_FALSE=
74731 if test $enable_cheaders = c_std; then
74732 GLIBCXX_C_HEADERS_C_STD_TRUE=
74733 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
74734 else
74735 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
74736 GLIBCXX_C_HEADERS_C_STD_FALSE=
74740 if test $enable_cheaders = c_global; then
74741 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
74742 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
74743 else
74744 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
74745 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
74749 if test $c_compatibility = yes; then
74750 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
74751 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
74752 else
74753 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
74754 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
74758 if test $enable_libstdcxx_debug = yes; then
74759 GLIBCXX_BUILD_DEBUG_TRUE=
74760 GLIBCXX_BUILD_DEBUG_FALSE='#'
74761 else
74762 GLIBCXX_BUILD_DEBUG_TRUE='#'
74763 GLIBCXX_BUILD_DEBUG_FALSE=
74767 if test $enable_extern_template = yes; then
74768 ENABLE_EXTERN_TEMPLATE_TRUE=
74769 ENABLE_EXTERN_TEMPLATE_FALSE='#'
74770 else
74771 ENABLE_EXTERN_TEMPLATE_TRUE='#'
74772 ENABLE_EXTERN_TEMPLATE_FALSE=
74776 if test $python_mod_dir != no; then
74777 ENABLE_PYTHONDIR_TRUE=
74778 ENABLE_PYTHONDIR_FALSE='#'
74779 else
74780 ENABLE_PYTHONDIR_TRUE='#'
74781 ENABLE_PYTHONDIR_FALSE=
74785 if test $enable_werror = yes; then
74786 ENABLE_WERROR_TRUE=
74787 ENABLE_WERROR_FALSE='#'
74788 else
74789 ENABLE_WERROR_TRUE='#'
74790 ENABLE_WERROR_FALSE=
74794 if test $enable_vtable_verify = yes; then
74795 ENABLE_VTABLE_VERIFY_TRUE=
74796 ENABLE_VTABLE_VERIFY_FALSE='#'
74797 else
74798 ENABLE_VTABLE_VERIFY_TRUE='#'
74799 ENABLE_VTABLE_VERIFY_FALSE=
74803 if test $enable_symvers != no; then
74804 ENABLE_SYMVERS_TRUE=
74805 ENABLE_SYMVERS_FALSE='#'
74806 else
74807 ENABLE_SYMVERS_TRUE='#'
74808 ENABLE_SYMVERS_FALSE=
74812 if test $enable_symvers = gnu; then
74813 ENABLE_SYMVERS_GNU_TRUE=
74814 ENABLE_SYMVERS_GNU_FALSE='#'
74815 else
74816 ENABLE_SYMVERS_GNU_TRUE='#'
74817 ENABLE_SYMVERS_GNU_FALSE=
74821 if test $enable_symvers = gnu-versioned-namespace; then
74822 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
74823 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
74824 else
74825 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
74826 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
74830 if test $enable_symvers = darwin; then
74831 ENABLE_SYMVERS_DARWIN_TRUE=
74832 ENABLE_SYMVERS_DARWIN_FALSE='#'
74833 else
74834 ENABLE_SYMVERS_DARWIN_TRUE='#'
74835 ENABLE_SYMVERS_DARWIN_FALSE=
74839 if test $enable_symvers = sun; then
74840 ENABLE_SYMVERS_SUN_TRUE=
74841 ENABLE_SYMVERS_SUN_FALSE='#'
74842 else
74843 ENABLE_SYMVERS_SUN_TRUE='#'
74844 ENABLE_SYMVERS_SUN_FALSE=
74848 if test $enable_libstdcxx_visibility = yes; then
74849 ENABLE_VISIBILITY_TRUE=
74850 ENABLE_VISIBILITY_FALSE='#'
74851 else
74852 ENABLE_VISIBILITY_TRUE='#'
74853 ENABLE_VISIBILITY_FALSE=
74857 if test $enable_libstdcxx_dual_abi = yes; then
74858 ENABLE_DUAL_ABI_TRUE=
74859 ENABLE_DUAL_ABI_FALSE='#'
74860 else
74861 ENABLE_DUAL_ABI_TRUE='#'
74862 ENABLE_DUAL_ABI_FALSE=
74866 if test $glibcxx_cxx11_abi = 1; then
74867 ENABLE_CXX11_ABI_TRUE=
74868 ENABLE_CXX11_ABI_FALSE='#'
74869 else
74870 ENABLE_CXX11_ABI_TRUE='#'
74871 ENABLE_CXX11_ABI_FALSE=
74875 if test $ac_ldbl_compat = yes; then
74876 GLIBCXX_LDBL_COMPAT_TRUE=
74877 GLIBCXX_LDBL_COMPAT_FALSE='#'
74878 else
74879 GLIBCXX_LDBL_COMPAT_TRUE='#'
74880 GLIBCXX_LDBL_COMPAT_FALSE=
74884 if test $ac_ldbl_alt128_compat = yes; then
74885 GLIBCXX_LDBL_ALT128_COMPAT_TRUE=
74886 GLIBCXX_LDBL_ALT128_COMPAT_FALSE='#'
74887 else
74888 GLIBCXX_LDBL_ALT128_COMPAT_TRUE='#'
74889 GLIBCXX_LDBL_ALT128_COMPAT_FALSE=
74893 if test $enable_libstdcxx_filesystem_ts = yes; then
74894 ENABLE_FILESYSTEM_TS_TRUE=
74895 ENABLE_FILESYSTEM_TS_FALSE='#'
74896 else
74897 ENABLE_FILESYSTEM_TS_TRUE='#'
74898 ENABLE_FILESYSTEM_TS_FALSE=
74902 if test "$enable_libstdcxx_backtrace" = yes; then
74903 ENABLE_BACKTRACE_TRUE=
74904 ENABLE_BACKTRACE_FALSE='#'
74905 else
74906 ENABLE_BACKTRACE_TRUE='#'
74907 ENABLE_BACKTRACE_FALSE=
74911 if test "${embed_zoneinfo}" = yes; then
74912 USE_STATIC_TZDATA_TRUE=
74913 USE_STATIC_TZDATA_FALSE='#'
74914 else
74915 USE_STATIC_TZDATA_TRUE='#'
74916 USE_STATIC_TZDATA_FALSE=
74922 cat >confcache <<\_ACEOF
74923 # This file is a shell script that caches the results of configure
74924 # tests run on this system so they can be shared between configure
74925 # scripts and configure runs, see configure's option --config-cache.
74926 # It is not useful on other systems. If it contains results you don't
74927 # want to keep, you may remove or edit it.
74929 # config.status only pays attention to the cache file if you give it
74930 # the --recheck option to rerun configure.
74932 # `ac_cv_env_foo' variables (set or unset) will be overridden when
74933 # loading this file, other *unset* `ac_cv_foo' will be assigned the
74934 # following values.
74936 _ACEOF
74938 # The following way of writing the cache mishandles newlines in values,
74939 # but we know of no workaround that is simple, portable, and efficient.
74940 # So, we kill variables containing newlines.
74941 # Ultrix sh set writes to stderr and can't be redirected directly,
74942 # and sets the high bit in the cache file unless we assign to the vars.
74944 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
74945 eval ac_val=\$$ac_var
74946 case $ac_val in #(
74947 *${as_nl}*)
74948 case $ac_var in #(
74949 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
74950 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
74951 esac
74952 case $ac_var in #(
74953 _ | IFS | as_nl) ;; #(
74954 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
74955 *) { eval $ac_var=; unset $ac_var;} ;;
74956 esac ;;
74957 esac
74958 done
74960 (set) 2>&1 |
74961 case $as_nl`(ac_space=' '; set) 2>&1` in #(
74962 *${as_nl}ac_space=\ *)
74963 # `set' does not quote correctly, so add quotes: double-quote
74964 # substitution turns \\\\ into \\, and sed turns \\ into \.
74965 sed -n \
74966 "s/'/'\\\\''/g;
74967 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
74968 ;; #(
74970 # `set' quotes correctly as required by POSIX, so do not add quotes.
74971 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
74973 esac |
74974 sort
74976 sed '
74977 /^ac_cv_env_/b end
74978 t clear
74979 :clear
74980 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
74981 t end
74982 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
74983 :end' >>confcache
74984 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
74985 if test -w "$cache_file"; then
74986 if test "x$cache_file" != "x/dev/null"; then
74987 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
74988 $as_echo "$as_me: updating cache $cache_file" >&6;}
74989 if test ! -f "$cache_file" || test -h "$cache_file"; then
74990 cat confcache >"$cache_file"
74991 else
74992 case $cache_file in #(
74993 */* | ?:*)
74994 mv -f confcache "$cache_file"$$ &&
74995 mv -f "$cache_file"$$ "$cache_file" ;; #(
74997 mv -f confcache "$cache_file" ;;
74998 esac
75001 else
75002 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
75003 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
75006 rm -f confcache
75008 if test ${multilib} = yes; then
75009 multilib_arg="--enable-multilib"
75010 else
75011 multilib_arg=
75014 # Export all the install information.
75016 glibcxx_toolexecdir=no
75017 glibcxx_toolexeclibdir=no
75018 glibcxx_prefixdir=$prefix
75020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
75021 $as_echo_n "checking for gxx-include-dir... " >&6; }
75023 # Check whether --with-gxx-include-dir was given.
75024 if test "${with_gxx_include_dir+set}" = set; then :
75025 withval=$with_gxx_include_dir; case "$withval" in
75026 yes) as_fn_error $? "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
75027 no) gxx_include_dir=no ;;
75028 *) gxx_include_dir=$withval ;;
75029 esac
75030 else
75031 gxx_include_dir=no
75034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
75035 $as_echo "$gxx_include_dir" >&6; }
75037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
75038 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
75039 # Check whether --enable-version-specific-runtime-libs was given.
75040 if test "${enable_version_specific_runtime_libs+set}" = set; then :
75041 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
75042 yes) version_specific_libs=yes ;;
75043 no) version_specific_libs=no ;;
75044 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
75045 esac
75046 else
75047 version_specific_libs=no
75050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
75051 $as_echo "$version_specific_libs" >&6; }
75054 # Check whether --with-toolexeclibdir was given.
75055 if test "${with_toolexeclibdir+set}" = set; then :
75056 withval=$with_toolexeclibdir; case ${with_toolexeclibdir} in
75060 with_toolexeclibdir=`echo $with_toolexeclibdir | sed 's,/$,,'`
75062 esac
75063 else
75064 with_toolexeclibdir=no
75069 # Default case for install directory for include files.
75070 if test $version_specific_libs = no && test $gxx_include_dir = no; then
75071 gxx_include_dir='include/c++/${gcc_version}'
75072 if test -n "$with_cross_host" &&
75073 test x"$with_cross_host" != x"no"; then
75074 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
75075 else
75076 gxx_include_dir='${prefix}/'"$gxx_include_dir"
75080 # Version-specific runtime libs processing.
75081 if test $version_specific_libs = yes; then
75082 # Need the gcc compiler version to know where to install libraries
75083 # and header files if --enable-version-specific-runtime-libs option
75084 # is selected. FIXME: these variables are misnamed, there are
75085 # no executables installed in _toolexecdir or _toolexeclibdir.
75086 if test x"$gxx_include_dir" = x"no"; then
75087 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
75089 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
75090 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
75093 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
75094 # Install a library built with a cross compiler in tooldir, not libdir.
75095 if test x"$glibcxx_toolexecdir" = x"no"; then
75096 if test -n "$with_cross_host" &&
75097 test x"$with_cross_host" != x"no"; then
75098 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
75099 case ${with_toolexeclibdir} in
75101 glibcxx_toolexeclibdir='${toolexecdir}/lib'
75104 glibcxx_toolexeclibdir=${with_toolexeclibdir}
75106 esac
75107 else
75108 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
75109 glibcxx_toolexeclibdir='${libdir}'
75111 multi_os_directory=`$CXX -print-multi-os-directory`
75112 case $multi_os_directory in
75113 .) ;; # Avoid trailing /.
75114 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
75115 esac
75118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
75119 $as_echo_n "checking for install location... " >&6; }
75120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
75121 $as_echo "$gxx_include_dir" >&6; }
75129 # Export all the include and flag information to Makefiles.
75131 # Used for every C++ compile we perform.
75132 GLIBCXX_INCLUDES="\
75133 -I$glibcxx_builddir/include/$host_alias \
75134 -I$glibcxx_builddir/include \
75135 -I$glibcxx_srcdir/libsupc++"
75137 # For Canadian crosses, pick this up too.
75138 if test $CANADIAN = yes; then
75139 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
75142 # Stuff in the actual top level. Currently only used by libsupc++ to
75143 # get unwind* headers from the libgcc dir.
75144 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
75145 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
75147 # Now, export this to all the little Makefiles....
75154 # Optimization flags that are probably a good idea for thrill-seekers. Just
75155 # uncomment the lines below and make, everything else is ready to go...
75156 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
75157 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
75160 WARN_FLAGS="-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2"
75164 # Determine what GCC version number to use in filesystem paths.
75166 get_gcc_base_ver="cat"
75168 # Check whether --with-gcc-major-version-only was given.
75169 if test "${with_gcc_major_version_only+set}" = set; then :
75170 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
75171 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
75179 ac_config_files="$ac_config_files Makefile"
75181 ac_config_files="$ac_config_files scripts/testsuite_flags"
75183 ac_config_files="$ac_config_files scripts/extract_symvers"
75185 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
75187 ac_config_files="$ac_config_files src/libbacktrace/backtrace-supported.h"
75190 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
75191 # that multilib installs will end up installed in the correct place.
75192 # The testsuite needs it for multilib-aware ABI baseline files.
75193 # To work around this not being passed down from config-ml.in ->
75194 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
75195 # append it here. Only modify Makefiles that have just been created.
75197 # Also, get rid of this simulated-VPATH thing that automake does.
75198 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/c++23/Makefile src/filesystem/Makefile src/libbacktrace/Makefile src/experimental/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
75201 ac_config_commands="$ac_config_commands generate-headers"
75204 cat >confcache <<\_ACEOF
75205 # This file is a shell script that caches the results of configure
75206 # tests run on this system so they can be shared between configure
75207 # scripts and configure runs, see configure's option --config-cache.
75208 # It is not useful on other systems. If it contains results you don't
75209 # want to keep, you may remove or edit it.
75211 # config.status only pays attention to the cache file if you give it
75212 # the --recheck option to rerun configure.
75214 # `ac_cv_env_foo' variables (set or unset) will be overridden when
75215 # loading this file, other *unset* `ac_cv_foo' will be assigned the
75216 # following values.
75218 _ACEOF
75220 # The following way of writing the cache mishandles newlines in values,
75221 # but we know of no workaround that is simple, portable, and efficient.
75222 # So, we kill variables containing newlines.
75223 # Ultrix sh set writes to stderr and can't be redirected directly,
75224 # and sets the high bit in the cache file unless we assign to the vars.
75226 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
75227 eval ac_val=\$$ac_var
75228 case $ac_val in #(
75229 *${as_nl}*)
75230 case $ac_var in #(
75231 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
75232 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
75233 esac
75234 case $ac_var in #(
75235 _ | IFS | as_nl) ;; #(
75236 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
75237 *) { eval $ac_var=; unset $ac_var;} ;;
75238 esac ;;
75239 esac
75240 done
75242 (set) 2>&1 |
75243 case $as_nl`(ac_space=' '; set) 2>&1` in #(
75244 *${as_nl}ac_space=\ *)
75245 # `set' does not quote correctly, so add quotes: double-quote
75246 # substitution turns \\\\ into \\, and sed turns \\ into \.
75247 sed -n \
75248 "s/'/'\\\\''/g;
75249 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
75250 ;; #(
75252 # `set' quotes correctly as required by POSIX, so do not add quotes.
75253 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
75255 esac |
75256 sort
75258 sed '
75259 /^ac_cv_env_/b end
75260 t clear
75261 :clear
75262 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
75263 t end
75264 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
75265 :end' >>confcache
75266 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
75267 if test -w "$cache_file"; then
75268 if test "x$cache_file" != "x/dev/null"; then
75269 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
75270 $as_echo "$as_me: updating cache $cache_file" >&6;}
75271 if test ! -f "$cache_file" || test -h "$cache_file"; then
75272 cat confcache >"$cache_file"
75273 else
75274 case $cache_file in #(
75275 */* | ?:*)
75276 mv -f confcache "$cache_file"$$ &&
75277 mv -f "$cache_file"$$ "$cache_file" ;; #(
75279 mv -f confcache "$cache_file" ;;
75280 esac
75283 else
75284 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
75285 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
75288 rm -f confcache
75290 test "x$prefix" = xNONE && prefix=$ac_default_prefix
75291 # Let make expand exec_prefix.
75292 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
75294 DEFS=-DHAVE_CONFIG_H
75296 ac_libobjs=
75297 ac_ltlibobjs=
75299 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
75300 # 1. Remove the extension, and $U if already installed.
75301 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
75302 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
75303 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
75304 # will be set to the directory where LIBOBJS objects are built.
75305 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
75306 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
75307 done
75308 LIBOBJS=$ac_libobjs
75310 LTLIBOBJS=$ac_ltlibobjs
75313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
75314 $as_echo_n "checking that generated files are newer than configure... " >&6; }
75315 if test -n "$am_sleep_pid"; then
75316 # Hide warnings about reused PIDs.
75317 wait $am_sleep_pid 2>/dev/null
75319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
75320 $as_echo "done" >&6; }
75321 if test -n "$EXEEXT"; then
75322 am__EXEEXT_TRUE=
75323 am__EXEEXT_FALSE='#'
75324 else
75325 am__EXEEXT_TRUE='#'
75326 am__EXEEXT_FALSE=
75329 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
75330 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
75331 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75333 if test -z "${ENABLE_DARWIN_AT_RPATH_TRUE}" && test -z "${ENABLE_DARWIN_AT_RPATH_FALSE}"; then
75334 as_fn_error $? "conditional \"ENABLE_DARWIN_AT_RPATH\" was never defined.
75335 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75337 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
75338 as_fn_error $? "conditional \"GLIBCXX_HOSTED\" was never defined.
75339 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75341 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
75342 as_fn_error $? "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
75343 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75345 if test -z "${ENABLE_FLOAT128_TRUE}" && test -z "${ENABLE_FLOAT128_FALSE}"; then
75346 as_fn_error $? "conditional \"ENABLE_FLOAT128\" was never defined.
75347 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75349 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
75350 as_fn_error $? "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
75351 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75353 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
75354 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
75355 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75357 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
75358 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
75359 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75361 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
75362 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
75363 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75365 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
75366 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
75367 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75369 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
75370 as_fn_error $? "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
75371 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75373 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
75374 as_fn_error $? "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
75375 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75377 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
75378 as_fn_error $? "conditional \"ENABLE_PYTHONDIR\" was never defined.
75379 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75381 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
75382 as_fn_error $? "conditional \"ENABLE_WERROR\" was never defined.
75383 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75385 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
75386 as_fn_error $? "conditional \"VTV_CYGMIN\" was never defined.
75387 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75389 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
75390 as_fn_error $? "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
75391 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75393 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
75394 as_fn_error $? "conditional \"ENABLE_SYMVERS\" was never defined.
75395 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75397 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
75398 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
75399 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75401 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
75402 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
75403 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75405 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
75406 as_fn_error $? "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
75407 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75409 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
75410 as_fn_error $? "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
75411 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75413 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
75414 as_fn_error $? "conditional \"ENABLE_VISIBILITY\" was never defined.
75415 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75417 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
75418 as_fn_error $? "conditional \"ENABLE_DUAL_ABI\" was never defined.
75419 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75421 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
75422 as_fn_error $? "conditional \"ENABLE_CXX11_ABI\" was never defined.
75423 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75425 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
75426 as_fn_error $? "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
75427 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75429 if test -z "${GLIBCXX_LDBL_ALT128_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_ALT128_COMPAT_FALSE}"; then
75430 as_fn_error $? "conditional \"GLIBCXX_LDBL_ALT128_COMPAT\" was never defined.
75431 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75433 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
75434 as_fn_error $? "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
75435 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75437 if test -z "${ENABLE_BACKTRACE_TRUE}" && test -z "${ENABLE_BACKTRACE_FALSE}"; then
75438 as_fn_error $? "conditional \"ENABLE_BACKTRACE\" was never defined.
75439 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75441 if test -z "${USE_STATIC_TZDATA_TRUE}" && test -z "${USE_STATIC_TZDATA_FALSE}"; then
75442 as_fn_error $? "conditional \"USE_STATIC_TZDATA\" was never defined.
75443 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75445 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
75446 as_fn_error $? "conditional \"BUILD_INFO\" was never defined.
75447 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75449 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
75450 as_fn_error $? "conditional \"BUILD_EPUB\" was never defined.
75451 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75453 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
75454 as_fn_error $? "conditional \"BUILD_XML\" was never defined.
75455 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75457 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
75458 as_fn_error $? "conditional \"BUILD_HTML\" was never defined.
75459 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75461 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
75462 as_fn_error $? "conditional \"BUILD_MAN\" was never defined.
75463 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75465 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
75466 as_fn_error $? "conditional \"BUILD_PDF\" was never defined.
75467 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75469 if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
75470 as_fn_error $? "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
75471 Usually this means the macro was only invoked conditionally." "$LINENO" 5
75474 : "${CONFIG_STATUS=./config.status}"
75475 ac_write_fail=0
75476 ac_clean_files_save=$ac_clean_files
75477 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
75478 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
75479 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
75480 as_write_fail=0
75481 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
75482 #! $SHELL
75483 # Generated by $as_me.
75484 # Run this file to recreate the current configuration.
75485 # Compiler output produced by configure, useful for debugging
75486 # configure, is in config.log if it exists.
75488 debug=false
75489 ac_cs_recheck=false
75490 ac_cs_silent=false
75492 SHELL=\${CONFIG_SHELL-$SHELL}
75493 export SHELL
75494 _ASEOF
75495 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
75496 ## -------------------- ##
75497 ## M4sh Initialization. ##
75498 ## -------------------- ##
75500 # Be more Bourne compatible
75501 DUALCASE=1; export DUALCASE # for MKS sh
75502 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
75503 emulate sh
75504 NULLCMD=:
75505 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
75506 # is contrary to our usage. Disable this feature.
75507 alias -g '${1+"$@"}'='"$@"'
75508 setopt NO_GLOB_SUBST
75509 else
75510 case `(set -o) 2>/dev/null` in #(
75511 *posix*) :
75512 set -o posix ;; #(
75513 *) :
75515 esac
75519 as_nl='
75521 export as_nl
75522 # Printing a long string crashes Solaris 7 /usr/bin/printf.
75523 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
75524 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
75525 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
75526 # Prefer a ksh shell builtin over an external printf program on Solaris,
75527 # but without wasting forks for bash or zsh.
75528 if test -z "$BASH_VERSION$ZSH_VERSION" \
75529 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
75530 as_echo='print -r --'
75531 as_echo_n='print -rn --'
75532 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
75533 as_echo='printf %s\n'
75534 as_echo_n='printf %s'
75535 else
75536 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
75537 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
75538 as_echo_n='/usr/ucb/echo -n'
75539 else
75540 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
75541 as_echo_n_body='eval
75542 arg=$1;
75543 case $arg in #(
75544 *"$as_nl"*)
75545 expr "X$arg" : "X\\(.*\\)$as_nl";
75546 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
75547 esac;
75548 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
75550 export as_echo_n_body
75551 as_echo_n='sh -c $as_echo_n_body as_echo'
75553 export as_echo_body
75554 as_echo='sh -c $as_echo_body as_echo'
75557 # The user is always right.
75558 if test "${PATH_SEPARATOR+set}" != set; then
75559 PATH_SEPARATOR=:
75560 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
75561 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
75562 PATH_SEPARATOR=';'
75567 # IFS
75568 # We need space, tab and new line, in precisely that order. Quoting is
75569 # there to prevent editors from complaining about space-tab.
75570 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
75571 # splitting by setting IFS to empty value.)
75572 IFS=" "" $as_nl"
75574 # Find who we are. Look in the path if we contain no directory separator.
75575 as_myself=
75576 case $0 in #((
75577 *[\\/]* ) as_myself=$0 ;;
75578 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
75579 for as_dir in $PATH
75581 IFS=$as_save_IFS
75582 test -z "$as_dir" && as_dir=.
75583 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
75584 done
75585 IFS=$as_save_IFS
75588 esac
75589 # We did not find ourselves, most probably we were run as `sh COMMAND'
75590 # in which case we are not to be found in the path.
75591 if test "x$as_myself" = x; then
75592 as_myself=$0
75594 if test ! -f "$as_myself"; then
75595 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
75596 exit 1
75599 # Unset variables that we do not need and which cause bugs (e.g. in
75600 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
75601 # suppresses any "Segmentation fault" message there. '((' could
75602 # trigger a bug in pdksh 5.2.14.
75603 for as_var in BASH_ENV ENV MAIL MAILPATH
75604 do eval test x\${$as_var+set} = xset \
75605 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
75606 done
75607 PS1='$ '
75608 PS2='> '
75609 PS4='+ '
75611 # NLS nuisances.
75612 LC_ALL=C
75613 export LC_ALL
75614 LANGUAGE=C
75615 export LANGUAGE
75617 # CDPATH.
75618 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
75621 # as_fn_error STATUS ERROR [LINENO LOG_FD]
75622 # ----------------------------------------
75623 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
75624 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
75625 # script with STATUS, using 1 if that was 0.
75626 as_fn_error ()
75628 as_status=$1; test $as_status -eq 0 && as_status=1
75629 if test "$4"; then
75630 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
75631 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
75633 $as_echo "$as_me: error: $2" >&2
75634 as_fn_exit $as_status
75635 } # as_fn_error
75638 # as_fn_set_status STATUS
75639 # -----------------------
75640 # Set $? to STATUS, without forking.
75641 as_fn_set_status ()
75643 return $1
75644 } # as_fn_set_status
75646 # as_fn_exit STATUS
75647 # -----------------
75648 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
75649 as_fn_exit ()
75651 set +e
75652 as_fn_set_status $1
75653 exit $1
75654 } # as_fn_exit
75656 # as_fn_unset VAR
75657 # ---------------
75658 # Portably unset VAR.
75659 as_fn_unset ()
75661 { eval $1=; unset $1;}
75663 as_unset=as_fn_unset
75664 # as_fn_append VAR VALUE
75665 # ----------------------
75666 # Append the text in VALUE to the end of the definition contained in VAR. Take
75667 # advantage of any shell optimizations that allow amortized linear growth over
75668 # repeated appends, instead of the typical quadratic growth present in naive
75669 # implementations.
75670 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
75671 eval 'as_fn_append ()
75673 eval $1+=\$2
75675 else
75676 as_fn_append ()
75678 eval $1=\$$1\$2
75680 fi # as_fn_append
75682 # as_fn_arith ARG...
75683 # ------------------
75684 # Perform arithmetic evaluation on the ARGs, and store the result in the
75685 # global $as_val. Take advantage of shells that can avoid forks. The arguments
75686 # must be portable across $(()) and expr.
75687 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
75688 eval 'as_fn_arith ()
75690 as_val=$(( $* ))
75692 else
75693 as_fn_arith ()
75695 as_val=`expr "$@" || test $? -eq 1`
75697 fi # as_fn_arith
75700 if expr a : '\(a\)' >/dev/null 2>&1 &&
75701 test "X`expr 00001 : '.*\(...\)'`" = X001; then
75702 as_expr=expr
75703 else
75704 as_expr=false
75707 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
75708 as_basename=basename
75709 else
75710 as_basename=false
75713 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
75714 as_dirname=dirname
75715 else
75716 as_dirname=false
75719 as_me=`$as_basename -- "$0" ||
75720 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
75721 X"$0" : 'X\(//\)$' \| \
75722 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
75723 $as_echo X/"$0" |
75724 sed '/^.*\/\([^/][^/]*\)\/*$/{
75725 s//\1/
75728 /^X\/\(\/\/\)$/{
75729 s//\1/
75732 /^X\/\(\/\).*/{
75733 s//\1/
75736 s/.*/./; q'`
75738 # Avoid depending upon Character Ranges.
75739 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
75740 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
75741 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
75742 as_cr_digits='0123456789'
75743 as_cr_alnum=$as_cr_Letters$as_cr_digits
75745 ECHO_C= ECHO_N= ECHO_T=
75746 case `echo -n x` in #(((((
75747 -n*)
75748 case `echo 'xy\c'` in
75749 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
75750 xy) ECHO_C='\c';;
75751 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
75752 ECHO_T=' ';;
75753 esac;;
75755 ECHO_N='-n';;
75756 esac
75758 rm -f conf$$ conf$$.exe conf$$.file
75759 if test -d conf$$.dir; then
75760 rm -f conf$$.dir/conf$$.file
75761 else
75762 rm -f conf$$.dir
75763 mkdir conf$$.dir 2>/dev/null
75765 if (echo >conf$$.file) 2>/dev/null; then
75766 if ln -s conf$$.file conf$$ 2>/dev/null; then
75767 as_ln_s='ln -s'
75768 # ... but there are two gotchas:
75769 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
75770 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
75771 # In both cases, we have to default to `cp -pR'.
75772 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
75773 as_ln_s='cp -pR'
75774 elif ln conf$$.file conf$$ 2>/dev/null; then
75775 as_ln_s=ln
75776 else
75777 as_ln_s='cp -pR'
75779 else
75780 as_ln_s='cp -pR'
75782 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
75783 rmdir conf$$.dir 2>/dev/null
75786 # as_fn_mkdir_p
75787 # -------------
75788 # Create "$as_dir" as a directory, including parents if necessary.
75789 as_fn_mkdir_p ()
75792 case $as_dir in #(
75793 -*) as_dir=./$as_dir;;
75794 esac
75795 test -d "$as_dir" || eval $as_mkdir_p || {
75796 as_dirs=
75797 while :; do
75798 case $as_dir in #(
75799 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
75800 *) as_qdir=$as_dir;;
75801 esac
75802 as_dirs="'$as_qdir' $as_dirs"
75803 as_dir=`$as_dirname -- "$as_dir" ||
75804 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
75805 X"$as_dir" : 'X\(//\)[^/]' \| \
75806 X"$as_dir" : 'X\(//\)$' \| \
75807 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
75808 $as_echo X"$as_dir" |
75809 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
75810 s//\1/
75813 /^X\(\/\/\)[^/].*/{
75814 s//\1/
75817 /^X\(\/\/\)$/{
75818 s//\1/
75821 /^X\(\/\).*/{
75822 s//\1/
75825 s/.*/./; q'`
75826 test -d "$as_dir" && break
75827 done
75828 test -z "$as_dirs" || eval "mkdir $as_dirs"
75829 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
75832 } # as_fn_mkdir_p
75833 if mkdir -p . 2>/dev/null; then
75834 as_mkdir_p='mkdir -p "$as_dir"'
75835 else
75836 test -d ./-p && rmdir ./-p
75837 as_mkdir_p=false
75841 # as_fn_executable_p FILE
75842 # -----------------------
75843 # Test if FILE is an executable regular file.
75844 as_fn_executable_p ()
75846 test -f "$1" && test -x "$1"
75847 } # as_fn_executable_p
75848 as_test_x='test -x'
75849 as_executable_p=as_fn_executable_p
75851 # Sed expression to map a string onto a valid CPP name.
75852 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
75854 # Sed expression to map a string onto a valid variable name.
75855 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
75858 exec 6>&1
75859 ## ----------------------------------- ##
75860 ## Main body of $CONFIG_STATUS script. ##
75861 ## ----------------------------------- ##
75862 _ASEOF
75863 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
75865 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
75866 # Save the log message, to keep $0 and so on meaningful, and to
75867 # report actual input values of CONFIG_FILES etc. instead of their
75868 # values after options handling.
75869 ac_log="
75870 This file was extended by package-unused $as_me version-unused, which was
75871 generated by GNU Autoconf 2.69. Invocation command line was
75873 CONFIG_FILES = $CONFIG_FILES
75874 CONFIG_HEADERS = $CONFIG_HEADERS
75875 CONFIG_LINKS = $CONFIG_LINKS
75876 CONFIG_COMMANDS = $CONFIG_COMMANDS
75877 $ $0 $@
75879 on `(hostname || uname -n) 2>/dev/null | sed 1q`
75882 _ACEOF
75884 case $ac_config_files in *"
75885 "*) set x $ac_config_files; shift; ac_config_files=$*;;
75886 esac
75888 case $ac_config_headers in *"
75889 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
75890 esac
75893 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
75894 # Files that config.status was made for.
75895 config_files="$ac_config_files"
75896 config_headers="$ac_config_headers"
75897 config_commands="$ac_config_commands"
75899 _ACEOF
75901 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
75902 ac_cs_usage="\
75903 \`$as_me' instantiates files and other configuration actions
75904 from templates according to the current configuration. Unless the files
75905 and actions are specified as TAGs, all are instantiated by default.
75907 Usage: $0 [OPTION]... [TAG]...
75909 -h, --help print this help, then exit
75910 -V, --version print version number and configuration settings, then exit
75911 --config print configuration, then exit
75912 -q, --quiet, --silent
75913 do not print progress messages
75914 -d, --debug don't remove temporary files
75915 --recheck update $as_me by reconfiguring in the same conditions
75916 --file=FILE[:TEMPLATE]
75917 instantiate the configuration file FILE
75918 --header=FILE[:TEMPLATE]
75919 instantiate the configuration header FILE
75921 Configuration files:
75922 $config_files
75924 Configuration headers:
75925 $config_headers
75927 Configuration commands:
75928 $config_commands
75930 Report bugs to the package provider."
75932 _ACEOF
75933 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
75934 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
75935 ac_cs_version="\\
75936 package-unused config.status version-unused
75937 configured by $0, generated by GNU Autoconf 2.69,
75938 with options \\"\$ac_cs_config\\"
75940 Copyright (C) 2012 Free Software Foundation, Inc.
75941 This config.status script is free software; the Free Software Foundation
75942 gives unlimited permission to copy, distribute and modify it."
75944 ac_pwd='$ac_pwd'
75945 srcdir='$srcdir'
75946 INSTALL='$INSTALL'
75947 MKDIR_P='$MKDIR_P'
75948 AWK='$AWK'
75949 test -n "\$AWK" || AWK=awk
75950 _ACEOF
75952 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
75953 # The default lists apply if the user does not specify any file.
75954 ac_need_defaults=:
75955 while test $# != 0
75957 case $1 in
75958 --*=?*)
75959 ac_option=`expr "X$1" : 'X\([^=]*\)='`
75960 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
75961 ac_shift=:
75963 --*=)
75964 ac_option=`expr "X$1" : 'X\([^=]*\)='`
75965 ac_optarg=
75966 ac_shift=:
75969 ac_option=$1
75970 ac_optarg=$2
75971 ac_shift=shift
75973 esac
75975 case $ac_option in
75976 # Handling of the options.
75977 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
75978 ac_cs_recheck=: ;;
75979 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
75980 $as_echo "$ac_cs_version"; exit ;;
75981 --config | --confi | --conf | --con | --co | --c )
75982 $as_echo "$ac_cs_config"; exit ;;
75983 --debug | --debu | --deb | --de | --d | -d )
75984 debug=: ;;
75985 --file | --fil | --fi | --f )
75986 $ac_shift
75987 case $ac_optarg in
75988 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
75989 '') as_fn_error $? "missing file argument" ;;
75990 esac
75991 as_fn_append CONFIG_FILES " '$ac_optarg'"
75992 ac_need_defaults=false;;
75993 --header | --heade | --head | --hea )
75994 $ac_shift
75995 case $ac_optarg in
75996 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
75997 esac
75998 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
75999 ac_need_defaults=false;;
76000 --he | --h)
76001 # Conflict between --help and --header
76002 as_fn_error $? "ambiguous option: \`$1'
76003 Try \`$0 --help' for more information.";;
76004 --help | --hel | -h )
76005 $as_echo "$ac_cs_usage"; exit ;;
76006 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
76007 | -silent | --silent | --silen | --sile | --sil | --si | --s)
76008 ac_cs_silent=: ;;
76010 # This is an error.
76011 -*) as_fn_error $? "unrecognized option: \`$1'
76012 Try \`$0 --help' for more information." ;;
76014 *) as_fn_append ac_config_targets " $1"
76015 ac_need_defaults=false ;;
76017 esac
76018 shift
76019 done
76021 ac_configure_extra_args=
76023 if $ac_cs_silent; then
76024 exec 6>/dev/null
76025 ac_configure_extra_args="$ac_configure_extra_args --silent"
76028 _ACEOF
76029 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
76030 if \$ac_cs_recheck; then
76031 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
76032 shift
76033 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
76034 CONFIG_SHELL='$SHELL'
76035 export CONFIG_SHELL
76036 exec "\$@"
76039 _ACEOF
76040 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
76041 exec 5>>config.log
76043 echo
76044 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
76045 ## Running $as_me. ##
76046 _ASBOX
76047 $as_echo "$ac_log"
76048 } >&5
76050 _ACEOF
76051 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
76053 # INIT-COMMANDS
76056 srcdir="$srcdir"
76057 host="$host"
76058 target="$target"
76059 with_multisubdir="$with_multisubdir"
76060 with_multisrctop="$with_multisrctop"
76061 with_target_subdir="$with_target_subdir"
76062 ac_configure_args="${multilib_arg} ${ac_configure_args}"
76063 multi_basedir="$multi_basedir"
76064 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
76065 CC="$CC"
76066 CXX="$CXX"
76067 GFORTRAN="$GFORTRAN"
76068 GDC="$GDC"
76071 # The HP-UX ksh and POSIX shell print the target directory to stdout
76072 # if CDPATH is set.
76073 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
76075 sed_quote_subst='$sed_quote_subst'
76076 double_quote_subst='$double_quote_subst'
76077 delay_variable_subst='$delay_variable_subst'
76078 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
76079 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
76080 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
76081 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
76082 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
76083 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
76084 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
76085 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
76086 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
76087 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
76088 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
76089 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
76090 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
76091 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
76092 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
76093 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
76094 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
76095 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
76096 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
76097 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
76098 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
76099 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
76100 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
76101 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
76102 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
76103 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
76104 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
76105 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
76106 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
76107 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
76108 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
76109 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
76110 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
76111 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
76112 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
76113 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
76114 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
76115 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
76116 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
76117 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
76118 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
76119 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
76120 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
76121 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
76122 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
76123 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
76124 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
76125 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
76126 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"`'
76127 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
76128 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
76129 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
76130 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
76131 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
76132 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
76133 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
76134 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
76135 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
76136 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
76137 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
76138 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
76139 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
76140 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
76141 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
76142 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
76143 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
76144 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
76145 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
76146 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
76147 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
76148 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
76149 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
76150 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
76151 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
76152 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
76153 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
76154 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
76155 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
76156 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
76157 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
76158 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
76159 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
76160 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
76161 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
76162 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
76163 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
76164 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
76165 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
76166 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
76167 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
76168 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
76169 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
76170 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
76171 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
76172 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
76173 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
76174 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
76175 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
76176 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
76177 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
76178 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
76179 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
76180 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
76181 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
76182 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
76183 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
76184 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
76185 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
76186 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
76187 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
76188 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
76189 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
76190 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
76191 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
76192 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
76193 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
76194 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
76195 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
76196 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
76197 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
76198 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
76199 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
76200 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
76201 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
76202 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
76203 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
76204 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
76205 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
76206 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
76207 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
76208 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
76209 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
76210 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
76211 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
76212 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
76213 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
76214 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
76215 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
76216 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
76217 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
76218 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
76219 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
76220 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
76221 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
76222 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
76223 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
76224 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
76225 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
76226 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
76227 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
76228 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
76229 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
76230 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
76231 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
76232 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
76233 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
76234 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
76235 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
76236 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
76237 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
76238 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
76239 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
76240 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
76241 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
76242 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
76243 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
76244 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
76245 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
76246 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
76247 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
76248 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
76249 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
76250 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
76251 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
76252 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
76254 LTCC='$LTCC'
76255 LTCFLAGS='$LTCFLAGS'
76256 compiler='$compiler_DEFAULT'
76258 # A function that is used when there is no print builtin or printf.
76259 func_fallback_echo ()
76261 eval 'cat <<_LTECHO_EOF
76263 _LTECHO_EOF'
76266 # Quote evaled strings.
76267 for var in SHELL \
76268 ECHO \
76269 SED \
76270 GREP \
76271 EGREP \
76272 FGREP \
76273 LD \
76274 NM \
76275 LN_S \
76276 lt_SP2NL \
76277 lt_NL2SP \
76278 reload_flag \
76279 OBJDUMP \
76280 deplibs_check_method \
76281 file_magic_cmd \
76282 AR \
76283 AR_FLAGS \
76284 STRIP \
76285 RANLIB \
76286 CC \
76287 CFLAGS \
76288 compiler \
76289 lt_cv_sys_global_symbol_pipe \
76290 lt_cv_sys_global_symbol_to_cdecl \
76291 lt_cv_sys_global_symbol_to_c_name_address \
76292 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
76293 lt_prog_compiler_no_builtin_flag \
76294 lt_prog_compiler_wl \
76295 lt_prog_compiler_pic \
76296 lt_prog_compiler_static \
76297 lt_cv_prog_compiler_c_o \
76298 need_locks \
76299 DSYMUTIL \
76300 NMEDIT \
76301 LIPO \
76302 OTOOL \
76303 OTOOL64 \
76304 shrext_cmds \
76305 export_dynamic_flag_spec \
76306 whole_archive_flag_spec \
76307 compiler_needs_object \
76308 with_gnu_ld \
76309 allow_undefined_flag \
76310 no_undefined_flag \
76311 hardcode_libdir_flag_spec \
76312 hardcode_libdir_flag_spec_ld \
76313 hardcode_libdir_separator \
76314 fix_srcfile_path \
76315 exclude_expsyms \
76316 include_expsyms \
76317 file_list_spec \
76318 variables_saved_for_relink \
76319 libname_spec \
76320 library_names_spec \
76321 soname_spec \
76322 install_override_mode \
76323 finish_eval \
76324 old_striplib \
76325 striplib \
76326 compiler_lib_search_dirs \
76327 predep_objects \
76328 postdep_objects \
76329 predeps \
76330 postdeps \
76331 compiler_lib_search_path \
76332 LD_CXX \
76333 reload_flag_CXX \
76334 compiler_CXX \
76335 lt_prog_compiler_no_builtin_flag_CXX \
76336 lt_prog_compiler_wl_CXX \
76337 lt_prog_compiler_pic_CXX \
76338 lt_prog_compiler_static_CXX \
76339 lt_cv_prog_compiler_c_o_CXX \
76340 export_dynamic_flag_spec_CXX \
76341 whole_archive_flag_spec_CXX \
76342 compiler_needs_object_CXX \
76343 with_gnu_ld_CXX \
76344 allow_undefined_flag_CXX \
76345 no_undefined_flag_CXX \
76346 hardcode_libdir_flag_spec_CXX \
76347 hardcode_libdir_flag_spec_ld_CXX \
76348 hardcode_libdir_separator_CXX \
76349 fix_srcfile_path_CXX \
76350 exclude_expsyms_CXX \
76351 include_expsyms_CXX \
76352 file_list_spec_CXX \
76353 compiler_lib_search_dirs_CXX \
76354 predep_objects_CXX \
76355 postdep_objects_CXX \
76356 predeps_CXX \
76357 postdeps_CXX \
76358 compiler_lib_search_path_CXX; do
76359 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
76360 *[\\\\\\\`\\"\\\$]*)
76361 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
76364 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
76366 esac
76367 done
76369 # Double-quote double-evaled strings.
76370 for var in reload_cmds \
76371 old_postinstall_cmds \
76372 old_postuninstall_cmds \
76373 old_archive_cmds \
76374 extract_expsyms_cmds \
76375 old_archive_from_new_cmds \
76376 old_archive_from_expsyms_cmds \
76377 archive_cmds \
76378 archive_expsym_cmds \
76379 module_cmds \
76380 module_expsym_cmds \
76381 export_symbols_cmds \
76382 prelink_cmds \
76383 postinstall_cmds \
76384 postuninstall_cmds \
76385 finish_cmds \
76386 sys_lib_search_path_spec \
76387 sys_lib_dlsearch_path_spec \
76388 reload_cmds_CXX \
76389 old_archive_cmds_CXX \
76390 old_archive_from_new_cmds_CXX \
76391 old_archive_from_expsyms_cmds_CXX \
76392 archive_cmds_CXX \
76393 archive_expsym_cmds_CXX \
76394 module_cmds_CXX \
76395 module_expsym_cmds_CXX \
76396 export_symbols_cmds_CXX \
76397 prelink_cmds_CXX; do
76398 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
76399 *[\\\\\\\`\\"\\\$]*)
76400 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
76403 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
76405 esac
76406 done
76408 ac_aux_dir='$ac_aux_dir'
76409 xsi_shell='$xsi_shell'
76410 lt_shell_append='$lt_shell_append'
76412 # See if we are running on zsh, and set the options which allow our
76413 # commands through without removal of \ escapes INIT.
76414 if test -n "\${ZSH_VERSION+set}" ; then
76415 setopt NO_GLOB_SUBST
76419 PACKAGE='$PACKAGE'
76420 VERSION='$VERSION'
76421 TIMESTAMP='$TIMESTAMP'
76422 RM='$RM'
76423 ofile='$ofile'
76430 _ACEOF
76432 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
76434 # Handling of arguments.
76435 for ac_config_target in $ac_config_targets
76437 case $ac_config_target in
76438 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
76439 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
76440 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
76441 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
76442 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
76443 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
76444 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
76445 "src/libbacktrace/backtrace-supported.h") CONFIG_FILES="$CONFIG_FILES src/libbacktrace/backtrace-supported.h" ;;
76446 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
76447 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
76448 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
76449 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
76450 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
76451 "src/c++17/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++17/Makefile" ;;
76452 "src/c++20/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++20/Makefile" ;;
76453 "src/c++23/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++23/Makefile" ;;
76454 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
76455 "src/libbacktrace/Makefile") CONFIG_FILES="$CONFIG_FILES src/libbacktrace/Makefile" ;;
76456 "src/experimental/Makefile") CONFIG_FILES="$CONFIG_FILES src/experimental/Makefile" ;;
76457 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
76458 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
76459 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
76460 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
76461 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
76463 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
76464 esac
76465 done
76468 # If the user did not use the arguments to specify the items to instantiate,
76469 # then the envvar interface is used. Set only those that are not.
76470 # We use the long form for the default assignment because of an extremely
76471 # bizarre bug on SunOS 4.1.3.
76472 if $ac_need_defaults; then
76473 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
76474 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
76475 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
76478 # Have a temporary directory for convenience. Make it in the build tree
76479 # simply because there is no reason against having it here, and in addition,
76480 # creating and moving files from /tmp can sometimes cause problems.
76481 # Hook for its removal unless debugging.
76482 # Note that there is a small window in which the directory will not be cleaned:
76483 # after its creation but before its name has been assigned to `$tmp'.
76484 $debug ||
76486 tmp= ac_tmp=
76487 trap 'exit_status=$?
76488 : "${ac_tmp:=$tmp}"
76489 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
76491 trap 'as_fn_exit 1' 1 2 13 15
76493 # Create a (secure) tmp directory for tmp files.
76496 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
76497 test -d "$tmp"
76498 } ||
76500 tmp=./conf$$-$RANDOM
76501 (umask 077 && mkdir "$tmp")
76502 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
76503 ac_tmp=$tmp
76505 # Set up the scripts for CONFIG_FILES section.
76506 # No need to generate them if there are no CONFIG_FILES.
76507 # This happens for instance with `./config.status config.h'.
76508 if test -n "$CONFIG_FILES"; then
76511 ac_cr=`echo X | tr X '\015'`
76512 # On cygwin, bash can eat \r inside `` if the user requested igncr.
76513 # But we know of no other shell where ac_cr would be empty at this
76514 # point, so we can use a bashism as a fallback.
76515 if test "x$ac_cr" = x; then
76516 eval ac_cr=\$\'\\r\'
76518 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
76519 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
76520 ac_cs_awk_cr='\\r'
76521 else
76522 ac_cs_awk_cr=$ac_cr
76525 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
76526 _ACEOF
76530 echo "cat >conf$$subs.awk <<_ACEOF" &&
76531 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
76532 echo "_ACEOF"
76533 } >conf$$subs.sh ||
76534 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
76535 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
76536 ac_delim='%!_!# '
76537 for ac_last_try in false false false false false :; do
76538 . ./conf$$subs.sh ||
76539 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
76541 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
76542 if test $ac_delim_n = $ac_delim_num; then
76543 break
76544 elif $ac_last_try; then
76545 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
76546 else
76547 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
76549 done
76550 rm -f conf$$subs.sh
76552 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
76553 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
76554 _ACEOF
76555 sed -n '
76557 s/^/S["/; s/!.*/"]=/
76560 s/^[^!]*!//
76561 :repl
76562 t repl
76563 s/'"$ac_delim"'$//
76564 t delim
76567 s/\(.\{148\}\)..*/\1/
76568 t more1
76569 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
76572 b repl
76573 :more1
76574 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
76577 s/.\{148\}//
76578 t nl
76579 :delim
76581 s/\(.\{148\}\)..*/\1/
76582 t more2
76583 s/["\\]/\\&/g; s/^/"/; s/$/"/
76586 :more2
76587 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
76590 s/.\{148\}//
76591 t delim
76592 ' <conf$$subs.awk | sed '
76593 /^[^""]/{
76595 s/\n//
76597 ' >>$CONFIG_STATUS || ac_write_fail=1
76598 rm -f conf$$subs.awk
76599 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
76600 _ACAWK
76601 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
76602 for (key in S) S_is_set[key] = 1
76603 FS = "\a"
76607 line = $ 0
76608 nfields = split(line, field, "@")
76609 substed = 0
76610 len = length(field[1])
76611 for (i = 2; i < nfields; i++) {
76612 key = field[i]
76613 keylen = length(key)
76614 if (S_is_set[key]) {
76615 value = S[key]
76616 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
76617 len += length(value) + length(field[++i])
76618 substed = 1
76619 } else
76620 len += 1 + keylen
76623 print line
76626 _ACAWK
76627 _ACEOF
76628 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
76629 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
76630 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
76631 else
76633 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
76634 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
76635 _ACEOF
76637 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
76638 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
76639 # trailing colons and then remove the whole line if VPATH becomes empty
76640 # (actually we leave an empty line to preserve line numbers).
76641 if test "x$srcdir" = x.; then
76642 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
76644 s///
76645 s/^/:/
76646 s/[ ]*$/:/
76647 s/:\$(srcdir):/:/g
76648 s/:\${srcdir}:/:/g
76649 s/:@srcdir@:/:/g
76650 s/^:*//
76651 s/:*$//
76653 s/\(=[ ]*\).*/\1/
76655 s/\n//
76656 s/^[^=]*=[ ]*$//
76660 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
76661 fi # test -n "$CONFIG_FILES"
76663 # Set up the scripts for CONFIG_HEADERS section.
76664 # No need to generate them if there are no CONFIG_HEADERS.
76665 # This happens for instance with `./config.status Makefile'.
76666 if test -n "$CONFIG_HEADERS"; then
76667 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
76668 BEGIN {
76669 _ACEOF
76671 # Transform confdefs.h into an awk script `defines.awk', embedded as
76672 # here-document in config.status, that substitutes the proper values into
76673 # config.h.in to produce config.h.
76675 # Create a delimiter string that does not exist in confdefs.h, to ease
76676 # handling of long lines.
76677 ac_delim='%!_!# '
76678 for ac_last_try in false false :; do
76679 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
76680 if test -z "$ac_tt"; then
76681 break
76682 elif $ac_last_try; then
76683 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
76684 else
76685 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
76687 done
76689 # For the awk script, D is an array of macro values keyed by name,
76690 # likewise P contains macro parameters if any. Preserve backslash
76691 # newline sequences.
76693 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
76694 sed -n '
76695 s/.\{148\}/&'"$ac_delim"'/g
76696 t rset
76697 :rset
76698 s/^[ ]*#[ ]*define[ ][ ]*/ /
76699 t def
76701 :def
76702 s/\\$//
76703 t bsnl
76704 s/["\\]/\\&/g
76705 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
76706 D["\1"]=" \3"/p
76707 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
76709 :bsnl
76710 s/["\\]/\\&/g
76711 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
76712 D["\1"]=" \3\\\\\\n"\\/p
76713 t cont
76714 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
76715 t cont
76717 :cont
76719 s/.\{148\}/&'"$ac_delim"'/g
76720 t clear
76721 :clear
76722 s/\\$//
76723 t bsnlc
76724 s/["\\]/\\&/g; s/^/"/; s/$/"/p
76726 :bsnlc
76727 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
76728 b cont
76729 ' <confdefs.h | sed '
76730 s/'"$ac_delim"'/"\\\
76731 "/g' >>$CONFIG_STATUS || ac_write_fail=1
76733 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
76734 for (key in D) D_is_set[key] = 1
76735 FS = "\a"
76737 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
76738 line = \$ 0
76739 split(line, arg, " ")
76740 if (arg[1] == "#") {
76741 defundef = arg[2]
76742 mac1 = arg[3]
76743 } else {
76744 defundef = substr(arg[1], 2)
76745 mac1 = arg[2]
76747 split(mac1, mac2, "(") #)
76748 macro = mac2[1]
76749 prefix = substr(line, 1, index(line, defundef) - 1)
76750 if (D_is_set[macro]) {
76751 # Preserve the white space surrounding the "#".
76752 print prefix "define", macro P[macro] D[macro]
76753 next
76754 } else {
76755 # Replace #undef with comments. This is necessary, for example,
76756 # in the case of _POSIX_SOURCE, which is predefined and required
76757 # on some systems where configure will not decide to define it.
76758 if (defundef == "undef") {
76759 print "/*", prefix defundef, macro, "*/"
76760 next
76764 { print }
76765 _ACAWK
76766 _ACEOF
76767 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
76768 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
76769 fi # test -n "$CONFIG_HEADERS"
76772 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
76773 shift
76774 for ac_tag
76776 case $ac_tag in
76777 :[FHLC]) ac_mode=$ac_tag; continue;;
76778 esac
76779 case $ac_mode$ac_tag in
76780 :[FHL]*:*);;
76781 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
76782 :[FH]-) ac_tag=-:-;;
76783 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
76784 esac
76785 ac_save_IFS=$IFS
76786 IFS=:
76787 set x $ac_tag
76788 IFS=$ac_save_IFS
76789 shift
76790 ac_file=$1
76791 shift
76793 case $ac_mode in
76794 :L) ac_source=$1;;
76795 :[FH])
76796 ac_file_inputs=
76797 for ac_f
76799 case $ac_f in
76800 -) ac_f="$ac_tmp/stdin";;
76801 *) # Look for the file first in the build tree, then in the source tree
76802 # (if the path is not absolute). The absolute path cannot be DOS-style,
76803 # because $ac_f cannot contain `:'.
76804 test -f "$ac_f" ||
76805 case $ac_f in
76806 [\\/$]*) false;;
76807 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
76808 esac ||
76809 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
76810 esac
76811 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
76812 as_fn_append ac_file_inputs " '$ac_f'"
76813 done
76815 # Let's still pretend it is `configure' which instantiates (i.e., don't
76816 # use $as_me), people would be surprised to read:
76817 # /* config.h. Generated by config.status. */
76818 configure_input='Generated from '`
76819 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
76820 `' by configure.'
76821 if test x"$ac_file" != x-; then
76822 configure_input="$ac_file. $configure_input"
76823 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
76824 $as_echo "$as_me: creating $ac_file" >&6;}
76826 # Neutralize special characters interpreted by sed in replacement strings.
76827 case $configure_input in #(
76828 *\&* | *\|* | *\\* )
76829 ac_sed_conf_input=`$as_echo "$configure_input" |
76830 sed 's/[\\\\&|]/\\\\&/g'`;; #(
76831 *) ac_sed_conf_input=$configure_input;;
76832 esac
76834 case $ac_tag in
76835 *:-:* | *:-) cat >"$ac_tmp/stdin" \
76836 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
76837 esac
76839 esac
76841 ac_dir=`$as_dirname -- "$ac_file" ||
76842 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
76843 X"$ac_file" : 'X\(//\)[^/]' \| \
76844 X"$ac_file" : 'X\(//\)$' \| \
76845 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
76846 $as_echo X"$ac_file" |
76847 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
76848 s//\1/
76851 /^X\(\/\/\)[^/].*/{
76852 s//\1/
76855 /^X\(\/\/\)$/{
76856 s//\1/
76859 /^X\(\/\).*/{
76860 s//\1/
76863 s/.*/./; q'`
76864 as_dir="$ac_dir"; as_fn_mkdir_p
76865 ac_builddir=.
76867 case "$ac_dir" in
76868 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
76870 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
76871 # A ".." for each directory in $ac_dir_suffix.
76872 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
76873 case $ac_top_builddir_sub in
76874 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
76875 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
76876 esac ;;
76877 esac
76878 ac_abs_top_builddir=$ac_pwd
76879 ac_abs_builddir=$ac_pwd$ac_dir_suffix
76880 # for backward compatibility:
76881 ac_top_builddir=$ac_top_build_prefix
76883 case $srcdir in
76884 .) # We are building in place.
76885 ac_srcdir=.
76886 ac_top_srcdir=$ac_top_builddir_sub
76887 ac_abs_top_srcdir=$ac_pwd ;;
76888 [\\/]* | ?:[\\/]* ) # Absolute name.
76889 ac_srcdir=$srcdir$ac_dir_suffix;
76890 ac_top_srcdir=$srcdir
76891 ac_abs_top_srcdir=$srcdir ;;
76892 *) # Relative name.
76893 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
76894 ac_top_srcdir=$ac_top_build_prefix$srcdir
76895 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
76896 esac
76897 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
76900 case $ac_mode in
76903 # CONFIG_FILE
76906 case $INSTALL in
76907 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
76908 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
76909 esac
76910 ac_MKDIR_P=$MKDIR_P
76911 case $MKDIR_P in
76912 [\\/$]* | ?:[\\/]* ) ;;
76913 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
76914 esac
76915 _ACEOF
76917 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
76918 # If the template does not know about datarootdir, expand it.
76919 # FIXME: This hack should be removed a few years after 2.60.
76920 ac_datarootdir_hack=; ac_datarootdir_seen=
76921 ac_sed_dataroot='
76922 /datarootdir/ {
76926 /@datadir@/p
76927 /@docdir@/p
76928 /@infodir@/p
76929 /@localedir@/p
76930 /@mandir@/p'
76931 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
76932 *datarootdir*) ac_datarootdir_seen=yes;;
76933 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
76934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
76935 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
76936 _ACEOF
76937 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
76938 ac_datarootdir_hack='
76939 s&@datadir@&$datadir&g
76940 s&@docdir@&$docdir&g
76941 s&@infodir@&$infodir&g
76942 s&@localedir@&$localedir&g
76943 s&@mandir@&$mandir&g
76944 s&\\\${datarootdir}&$datarootdir&g' ;;
76945 esac
76946 _ACEOF
76948 # Neutralize VPATH when `$srcdir' = `.'.
76949 # Shell code in configure.ac might set extrasub.
76950 # FIXME: do we really want to maintain this feature?
76951 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
76952 ac_sed_extra="$ac_vpsub
76953 $extrasub
76954 _ACEOF
76955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
76957 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
76958 s|@configure_input@|$ac_sed_conf_input|;t t
76959 s&@top_builddir@&$ac_top_builddir_sub&;t t
76960 s&@top_build_prefix@&$ac_top_build_prefix&;t t
76961 s&@srcdir@&$ac_srcdir&;t t
76962 s&@abs_srcdir@&$ac_abs_srcdir&;t t
76963 s&@top_srcdir@&$ac_top_srcdir&;t t
76964 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
76965 s&@builddir@&$ac_builddir&;t t
76966 s&@abs_builddir@&$ac_abs_builddir&;t t
76967 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
76968 s&@INSTALL@&$ac_INSTALL&;t t
76969 s&@MKDIR_P@&$ac_MKDIR_P&;t t
76970 $ac_datarootdir_hack
76972 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
76973 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
76975 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
76976 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
76977 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
76978 "$ac_tmp/out"`; test -z "$ac_out"; } &&
76979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
76980 which seems to be undefined. Please make sure it is defined" >&5
76981 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
76982 which seems to be undefined. Please make sure it is defined" >&2;}
76984 rm -f "$ac_tmp/stdin"
76985 case $ac_file in
76986 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
76987 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
76988 esac \
76989 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
76993 # CONFIG_HEADER
76995 if test x"$ac_file" != x-; then
76997 $as_echo "/* $configure_input */" \
76998 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
76999 } >"$ac_tmp/config.h" \
77000 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
77001 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
77002 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
77003 $as_echo "$as_me: $ac_file is unchanged" >&6;}
77004 else
77005 rm -f "$ac_file"
77006 mv "$ac_tmp/config.h" "$ac_file" \
77007 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
77009 else
77010 $as_echo "/* $configure_input */" \
77011 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
77012 || as_fn_error $? "could not create -" "$LINENO" 5
77014 # Compute "$ac_file"'s index in $config_headers.
77015 _am_arg="$ac_file"
77016 _am_stamp_count=1
77017 for _am_header in $config_headers :; do
77018 case $_am_header in
77019 $_am_arg | $_am_arg:* )
77020 break ;;
77022 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
77023 esac
77024 done
77025 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
77026 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
77027 X"$_am_arg" : 'X\(//\)[^/]' \| \
77028 X"$_am_arg" : 'X\(//\)$' \| \
77029 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
77030 $as_echo X"$_am_arg" |
77031 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
77032 s//\1/
77035 /^X\(\/\/\)[^/].*/{
77036 s//\1/
77039 /^X\(\/\/\)$/{
77040 s//\1/
77043 /^X\(\/\).*/{
77044 s//\1/
77047 s/.*/./; q'`/stamp-h$_am_stamp_count
77050 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
77051 $as_echo "$as_me: executing $ac_file commands" >&6;}
77053 esac
77056 case $ac_file$ac_mode in
77057 "default-1":C)
77058 # Only add multilib support code if we just rebuilt the top-level
77059 # Makefile.
77060 case " $CONFIG_FILES " in
77061 *" Makefile "*)
77062 ac_file=Makefile . ${multi_basedir}/config-ml.in
77064 esac ;;
77065 "libtool":C)
77067 # See if we are running on zsh, and set the options which allow our
77068 # commands through without removal of \ escapes.
77069 if test -n "${ZSH_VERSION+set}" ; then
77070 setopt NO_GLOB_SUBST
77073 cfgfile="${ofile}T"
77074 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
77075 $RM "$cfgfile"
77077 cat <<_LT_EOF >> "$cfgfile"
77078 #! $SHELL
77080 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
77081 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
77082 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
77083 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
77085 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
77086 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
77087 # Written by Gordon Matzigkeit, 1996
77089 # This file is part of GNU Libtool.
77091 # GNU Libtool is free software; you can redistribute it and/or
77092 # modify it under the terms of the GNU General Public License as
77093 # published by the Free Software Foundation; either version 2 of
77094 # the License, or (at your option) any later version.
77096 # As a special exception to the GNU General Public License,
77097 # if you distribute this file as part of a program or library that
77098 # is built using GNU Libtool, you may include this file under the
77099 # same distribution terms that you use for the rest of that program.
77101 # GNU Libtool is distributed in the hope that it will be useful,
77102 # but WITHOUT ANY WARRANTY; without even the implied warranty of
77103 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
77104 # GNU General Public License for more details.
77106 # You should have received a copy of the GNU General Public License
77107 # along with GNU Libtool; see the file COPYING. If not, a copy
77108 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
77109 # obtained by writing to the Free Software Foundation, Inc.,
77110 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
77113 # The names of the tagged configurations supported by this script.
77114 available_tags="CXX "
77116 # ### BEGIN LIBTOOL CONFIG
77118 # Which release of libtool.m4 was used?
77119 macro_version=$macro_version
77120 macro_revision=$macro_revision
77122 # Whether or not to build shared libraries.
77123 build_libtool_libs=$enable_shared
77125 # Whether or not to build static libraries.
77126 build_old_libs=$enable_static
77128 # What type of objects to build.
77129 pic_mode=$pic_mode
77131 # Whether or not to optimize for fast installation.
77132 fast_install=$enable_fast_install
77134 # Shell to use when invoking shell scripts.
77135 SHELL=$lt_SHELL
77137 # An echo program that protects backslashes.
77138 ECHO=$lt_ECHO
77140 # The host system.
77141 host_alias=$host_alias
77142 host=$host
77143 host_os=$host_os
77145 # The build system.
77146 build_alias=$build_alias
77147 build=$build
77148 build_os=$build_os
77150 # A sed program that does not truncate output.
77151 SED=$lt_SED
77153 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
77154 Xsed="\$SED -e 1s/^X//"
77156 # A grep program that handles long lines.
77157 GREP=$lt_GREP
77159 # An ERE matcher.
77160 EGREP=$lt_EGREP
77162 # A literal string matcher.
77163 FGREP=$lt_FGREP
77165 # A BSD- or MS-compatible name lister.
77166 NM=$lt_NM
77168 # Whether we need soft or hard links.
77169 LN_S=$lt_LN_S
77171 # What is the maximum length of a command?
77172 max_cmd_len=$max_cmd_len
77174 # Object file suffix (normally "o").
77175 objext=$ac_objext
77177 # Executable file suffix (normally "").
77178 exeext=$exeext
77180 # whether the shell understands "unset".
77181 lt_unset=$lt_unset
77183 # turn spaces into newlines.
77184 SP2NL=$lt_lt_SP2NL
77186 # turn newlines into spaces.
77187 NL2SP=$lt_lt_NL2SP
77189 # An object symbol dumper.
77190 OBJDUMP=$lt_OBJDUMP
77192 # Method to check whether dependent libraries are shared objects.
77193 deplibs_check_method=$lt_deplibs_check_method
77195 # Command to use when deplibs_check_method == "file_magic".
77196 file_magic_cmd=$lt_file_magic_cmd
77198 # The archiver.
77199 AR=$lt_AR
77200 AR_FLAGS=$lt_AR_FLAGS
77202 # A symbol stripping program.
77203 STRIP=$lt_STRIP
77205 # Commands used to install an old-style archive.
77206 RANLIB=$lt_RANLIB
77207 old_postinstall_cmds=$lt_old_postinstall_cmds
77208 old_postuninstall_cmds=$lt_old_postuninstall_cmds
77210 # Whether to use a lock for old archive extraction.
77211 lock_old_archive_extraction=$lock_old_archive_extraction
77213 # A C compiler.
77214 LTCC=$lt_CC
77216 # LTCC compiler flags.
77217 LTCFLAGS=$lt_CFLAGS
77219 # Take the output of nm and produce a listing of raw symbols and C names.
77220 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
77222 # Transform the output of nm in a proper C declaration.
77223 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
77225 # Transform the output of nm in a C name address pair.
77226 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
77228 # Transform the output of nm in a C name address pair when lib prefix is needed.
77229 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
77231 # The name of the directory that contains temporary libtool files.
77232 objdir=$objdir
77234 # Used to examine libraries when file_magic_cmd begins with "file".
77235 MAGIC_CMD=$MAGIC_CMD
77237 # Must we lock files when doing compilation?
77238 need_locks=$lt_need_locks
77240 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
77241 DSYMUTIL=$lt_DSYMUTIL
77243 # Tool to change global to local symbols on Mac OS X.
77244 NMEDIT=$lt_NMEDIT
77246 # Tool to manipulate fat objects and archives on Mac OS X.
77247 LIPO=$lt_LIPO
77249 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
77250 OTOOL=$lt_OTOOL
77252 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
77253 OTOOL64=$lt_OTOOL64
77255 # Old archive suffix (normally "a").
77256 libext=$libext
77258 # Shared library suffix (normally ".so").
77259 shrext_cmds=$lt_shrext_cmds
77261 # The commands to extract the exported symbol list from a shared archive.
77262 extract_expsyms_cmds=$lt_extract_expsyms_cmds
77264 # Variables whose values should be saved in libtool wrapper scripts and
77265 # restored at link time.
77266 variables_saved_for_relink=$lt_variables_saved_for_relink
77268 # Do we need the "lib" prefix for modules?
77269 need_lib_prefix=$need_lib_prefix
77271 # Do we need a version for libraries?
77272 need_version=$need_version
77274 # Library versioning type.
77275 version_type=$version_type
77277 # Shared library runtime path variable.
77278 runpath_var=$runpath_var
77280 # Shared library path variable.
77281 shlibpath_var=$shlibpath_var
77283 # Is shlibpath searched before the hard-coded library search path?
77284 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
77286 # Format of library name prefix.
77287 libname_spec=$lt_libname_spec
77289 # List of archive names. First name is the real one, the rest are links.
77290 # The last name is the one that the linker finds with -lNAME
77291 library_names_spec=$lt_library_names_spec
77293 # The coded name of the library, if different from the real name.
77294 soname_spec=$lt_soname_spec
77296 # Permission mode override for installation of shared libraries.
77297 install_override_mode=$lt_install_override_mode
77299 # Command to use after installation of a shared archive.
77300 postinstall_cmds=$lt_postinstall_cmds
77302 # Command to use after uninstallation of a shared archive.
77303 postuninstall_cmds=$lt_postuninstall_cmds
77305 # Commands used to finish a libtool library installation in a directory.
77306 finish_cmds=$lt_finish_cmds
77308 # As "finish_cmds", except a single script fragment to be evaled but
77309 # not shown.
77310 finish_eval=$lt_finish_eval
77312 # Whether we should hardcode library paths into libraries.
77313 hardcode_into_libs=$hardcode_into_libs
77315 # Compile-time system search path for libraries.
77316 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
77318 # Run-time system search path for libraries.
77319 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
77321 # Whether dlopen is supported.
77322 dlopen_support=$enable_dlopen
77324 # Whether dlopen of programs is supported.
77325 dlopen_self=$enable_dlopen_self
77327 # Whether dlopen of statically linked programs is supported.
77328 dlopen_self_static=$enable_dlopen_self_static
77330 # Commands to strip libraries.
77331 old_striplib=$lt_old_striplib
77332 striplib=$lt_striplib
77335 # The linker used to build libraries.
77336 LD=$lt_LD
77338 # How to create reloadable object files.
77339 reload_flag=$lt_reload_flag
77340 reload_cmds=$lt_reload_cmds
77342 # Commands used to build an old-style archive.
77343 old_archive_cmds=$lt_old_archive_cmds
77345 # A language specific compiler.
77346 CC=$lt_compiler
77348 # Is the compiler the GNU compiler?
77349 with_gcc=$GCC
77351 # Compiler flag to turn off builtin functions.
77352 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
77354 # How to pass a linker flag through the compiler.
77355 wl=$lt_lt_prog_compiler_wl
77357 # Additional compiler flags for building library objects.
77358 pic_flag=$lt_lt_prog_compiler_pic
77360 # Compiler flag to prevent dynamic linking.
77361 link_static_flag=$lt_lt_prog_compiler_static
77363 # Does compiler simultaneously support -c and -o options?
77364 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
77366 # Whether or not to add -lc for building shared libraries.
77367 build_libtool_need_lc=$archive_cmds_need_lc
77369 # Whether or not to disallow shared libs when runtime libs are static.
77370 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
77372 # Compiler flag to allow reflexive dlopens.
77373 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
77375 # Compiler flag to generate shared objects directly from archives.
77376 whole_archive_flag_spec=$lt_whole_archive_flag_spec
77378 # Whether the compiler copes with passing no objects directly.
77379 compiler_needs_object=$lt_compiler_needs_object
77381 # Create an old-style archive from a shared archive.
77382 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
77384 # Create a temporary old-style archive to link instead of a shared archive.
77385 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
77387 # Commands used to build a shared archive.
77388 archive_cmds=$lt_archive_cmds
77389 archive_expsym_cmds=$lt_archive_expsym_cmds
77391 # Commands used to build a loadable module if different from building
77392 # a shared archive.
77393 module_cmds=$lt_module_cmds
77394 module_expsym_cmds=$lt_module_expsym_cmds
77396 # Whether we are building with GNU ld or not.
77397 with_gnu_ld=$lt_with_gnu_ld
77399 # Flag that allows shared libraries with undefined symbols to be built.
77400 allow_undefined_flag=$lt_allow_undefined_flag
77402 # Flag that enforces no undefined symbols.
77403 no_undefined_flag=$lt_no_undefined_flag
77405 # Flag to hardcode \$libdir into a binary during linking.
77406 # This must work even if \$libdir does not exist
77407 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
77409 # If ld is used when linking, flag to hardcode \$libdir into a binary
77410 # during linking. This must work even if \$libdir does not exist.
77411 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
77413 # Whether we need a single "-rpath" flag with a separated argument.
77414 hardcode_libdir_separator=$lt_hardcode_libdir_separator
77416 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
77417 # DIR into the resulting binary.
77418 hardcode_direct=$hardcode_direct
77420 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
77421 # DIR into the resulting binary and the resulting library dependency is
77422 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
77423 # library is relocated.
77424 hardcode_direct_absolute=$hardcode_direct_absolute
77426 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
77427 # into the resulting binary.
77428 hardcode_minus_L=$hardcode_minus_L
77430 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
77431 # into the resulting binary.
77432 hardcode_shlibpath_var=$hardcode_shlibpath_var
77434 # Set to "yes" if building a shared library automatically hardcodes DIR
77435 # into the library and all subsequent libraries and executables linked
77436 # against it.
77437 hardcode_automatic=$hardcode_automatic
77439 # Set to yes if linker adds runtime paths of dependent libraries
77440 # to runtime path list.
77441 inherit_rpath=$inherit_rpath
77443 # Whether libtool must link a program against all its dependency libraries.
77444 link_all_deplibs=$link_all_deplibs
77446 # Fix the shell variable \$srcfile for the compiler.
77447 fix_srcfile_path=$lt_fix_srcfile_path
77449 # Set to "yes" if exported symbols are required.
77450 always_export_symbols=$always_export_symbols
77452 # The commands to list exported symbols.
77453 export_symbols_cmds=$lt_export_symbols_cmds
77455 # Symbols that should not be listed in the preloaded symbols.
77456 exclude_expsyms=$lt_exclude_expsyms
77458 # Symbols that must always be exported.
77459 include_expsyms=$lt_include_expsyms
77461 # Commands necessary for linking programs (against libraries) with templates.
77462 prelink_cmds=$lt_prelink_cmds
77464 # Specify filename containing input files.
77465 file_list_spec=$lt_file_list_spec
77467 # How to hardcode a shared library path into an executable.
77468 hardcode_action=$hardcode_action
77470 # The directories searched by this compiler when creating a shared library.
77471 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
77473 # Dependencies to place before and after the objects being linked to
77474 # create a shared library.
77475 predep_objects=$lt_predep_objects
77476 postdep_objects=$lt_postdep_objects
77477 predeps=$lt_predeps
77478 postdeps=$lt_postdeps
77480 # The library search path used internally by the compiler when linking
77481 # a shared library.
77482 compiler_lib_search_path=$lt_compiler_lib_search_path
77484 # ### END LIBTOOL CONFIG
77486 _LT_EOF
77488 case $host_os in
77489 aix3*)
77490 cat <<\_LT_EOF >> "$cfgfile"
77491 # AIX sometimes has problems with the GCC collect2 program. For some
77492 # reason, if we set the COLLECT_NAMES environment variable, the problems
77493 # vanish in a puff of smoke.
77494 if test "X${COLLECT_NAMES+set}" != Xset; then
77495 COLLECT_NAMES=
77496 export COLLECT_NAMES
77498 _LT_EOF
77500 esac
77503 ltmain="$ac_aux_dir/ltmain.sh"
77506 # We use sed instead of cat because bash on DJGPP gets confused if
77507 # if finds mixed CR/LF and LF-only lines. Since sed operates in
77508 # text mode, it properly converts lines to CR/LF. This bash problem
77509 # is reportedly fixed, but why not run on old versions too?
77510 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
77511 || (rm -f "$cfgfile"; exit 1)
77513 case $xsi_shell in
77514 yes)
77515 cat << \_LT_EOF >> "$cfgfile"
77517 # func_dirname file append nondir_replacement
77518 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
77519 # otherwise set result to NONDIR_REPLACEMENT.
77520 func_dirname ()
77522 case ${1} in
77523 */*) func_dirname_result="${1%/*}${2}" ;;
77524 * ) func_dirname_result="${3}" ;;
77525 esac
77528 # func_basename file
77529 func_basename ()
77531 func_basename_result="${1##*/}"
77534 # func_dirname_and_basename file append nondir_replacement
77535 # perform func_basename and func_dirname in a single function
77536 # call:
77537 # dirname: Compute the dirname of FILE. If nonempty,
77538 # add APPEND to the result, otherwise set result
77539 # to NONDIR_REPLACEMENT.
77540 # value returned in "$func_dirname_result"
77541 # basename: Compute filename of FILE.
77542 # value retuned in "$func_basename_result"
77543 # Implementation must be kept synchronized with func_dirname
77544 # and func_basename. For efficiency, we do not delegate to
77545 # those functions but instead duplicate the functionality here.
77546 func_dirname_and_basename ()
77548 case ${1} in
77549 */*) func_dirname_result="${1%/*}${2}" ;;
77550 * ) func_dirname_result="${3}" ;;
77551 esac
77552 func_basename_result="${1##*/}"
77555 # func_stripname prefix suffix name
77556 # strip PREFIX and SUFFIX off of NAME.
77557 # PREFIX and SUFFIX must not contain globbing or regex special
77558 # characters, hashes, percent signs, but SUFFIX may contain a leading
77559 # dot (in which case that matches only a dot).
77560 func_stripname ()
77562 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
77563 # positional parameters, so assign one to ordinary parameter first.
77564 func_stripname_result=${3}
77565 func_stripname_result=${func_stripname_result#"${1}"}
77566 func_stripname_result=${func_stripname_result%"${2}"}
77569 # func_opt_split
77570 func_opt_split ()
77572 func_opt_split_opt=${1%%=*}
77573 func_opt_split_arg=${1#*=}
77576 # func_lo2o object
77577 func_lo2o ()
77579 case ${1} in
77580 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
77581 *) func_lo2o_result=${1} ;;
77582 esac
77585 # func_xform libobj-or-source
77586 func_xform ()
77588 func_xform_result=${1%.*}.lo
77591 # func_arith arithmetic-term...
77592 func_arith ()
77594 func_arith_result=$(( $* ))
77597 # func_len string
77598 # STRING may not start with a hyphen.
77599 func_len ()
77601 func_len_result=${#1}
77604 _LT_EOF
77606 *) # Bourne compatible functions.
77607 cat << \_LT_EOF >> "$cfgfile"
77609 # func_dirname file append nondir_replacement
77610 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
77611 # otherwise set result to NONDIR_REPLACEMENT.
77612 func_dirname ()
77614 # Extract subdirectory from the argument.
77615 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
77616 if test "X$func_dirname_result" = "X${1}"; then
77617 func_dirname_result="${3}"
77618 else
77619 func_dirname_result="$func_dirname_result${2}"
77623 # func_basename file
77624 func_basename ()
77626 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
77630 # func_stripname prefix suffix name
77631 # strip PREFIX and SUFFIX off of NAME.
77632 # PREFIX and SUFFIX must not contain globbing or regex special
77633 # characters, hashes, percent signs, but SUFFIX may contain a leading
77634 # dot (in which case that matches only a dot).
77635 # func_strip_suffix prefix name
77636 func_stripname ()
77638 case ${2} in
77639 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
77640 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
77641 esac
77644 # sed scripts:
77645 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
77646 my_sed_long_arg='1s/^-[^=]*=//'
77648 # func_opt_split
77649 func_opt_split ()
77651 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
77652 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
77655 # func_lo2o object
77656 func_lo2o ()
77658 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
77661 # func_xform libobj-or-source
77662 func_xform ()
77664 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
77667 # func_arith arithmetic-term...
77668 func_arith ()
77670 func_arith_result=`expr "$@"`
77673 # func_len string
77674 # STRING may not start with a hyphen.
77675 func_len ()
77677 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
77680 _LT_EOF
77681 esac
77683 case $lt_shell_append in
77684 yes)
77685 cat << \_LT_EOF >> "$cfgfile"
77687 # func_append var value
77688 # Append VALUE to the end of shell variable VAR.
77689 func_append ()
77691 eval "$1+=\$2"
77693 _LT_EOF
77696 cat << \_LT_EOF >> "$cfgfile"
77698 # func_append var value
77699 # Append VALUE to the end of shell variable VAR.
77700 func_append ()
77702 eval "$1=\$$1\$2"
77705 _LT_EOF
77707 esac
77710 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
77711 || (rm -f "$cfgfile"; exit 1)
77713 mv -f "$cfgfile" "$ofile" ||
77714 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
77715 chmod +x "$ofile"
77718 cat <<_LT_EOF >> "$ofile"
77720 # ### BEGIN LIBTOOL TAG CONFIG: CXX
77722 # The linker used to build libraries.
77723 LD=$lt_LD_CXX
77725 # How to create reloadable object files.
77726 reload_flag=$lt_reload_flag_CXX
77727 reload_cmds=$lt_reload_cmds_CXX
77729 # Commands used to build an old-style archive.
77730 old_archive_cmds=$lt_old_archive_cmds_CXX
77732 # A language specific compiler.
77733 CC=$lt_compiler_CXX
77735 # Is the compiler the GNU compiler?
77736 with_gcc=$GCC_CXX
77738 # Compiler flag to turn off builtin functions.
77739 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
77741 # How to pass a linker flag through the compiler.
77742 wl=$lt_lt_prog_compiler_wl_CXX
77744 # Additional compiler flags for building library objects.
77745 pic_flag=$lt_lt_prog_compiler_pic_CXX
77747 # Compiler flag to prevent dynamic linking.
77748 link_static_flag=$lt_lt_prog_compiler_static_CXX
77750 # Does compiler simultaneously support -c and -o options?
77751 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
77753 # Whether or not to add -lc for building shared libraries.
77754 build_libtool_need_lc=$archive_cmds_need_lc_CXX
77756 # Whether or not to disallow shared libs when runtime libs are static.
77757 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
77759 # Compiler flag to allow reflexive dlopens.
77760 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
77762 # Compiler flag to generate shared objects directly from archives.
77763 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
77765 # Whether the compiler copes with passing no objects directly.
77766 compiler_needs_object=$lt_compiler_needs_object_CXX
77768 # Create an old-style archive from a shared archive.
77769 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
77771 # Create a temporary old-style archive to link instead of a shared archive.
77772 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
77774 # Commands used to build a shared archive.
77775 archive_cmds=$lt_archive_cmds_CXX
77776 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
77778 # Commands used to build a loadable module if different from building
77779 # a shared archive.
77780 module_cmds=$lt_module_cmds_CXX
77781 module_expsym_cmds=$lt_module_expsym_cmds_CXX
77783 # Whether we are building with GNU ld or not.
77784 with_gnu_ld=$lt_with_gnu_ld_CXX
77786 # Flag that allows shared libraries with undefined symbols to be built.
77787 allow_undefined_flag=$lt_allow_undefined_flag_CXX
77789 # Flag that enforces no undefined symbols.
77790 no_undefined_flag=$lt_no_undefined_flag_CXX
77792 # Flag to hardcode \$libdir into a binary during linking.
77793 # This must work even if \$libdir does not exist
77794 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
77796 # If ld is used when linking, flag to hardcode \$libdir into a binary
77797 # during linking. This must work even if \$libdir does not exist.
77798 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
77800 # Whether we need a single "-rpath" flag with a separated argument.
77801 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
77803 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
77804 # DIR into the resulting binary.
77805 hardcode_direct=$hardcode_direct_CXX
77807 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
77808 # DIR into the resulting binary and the resulting library dependency is
77809 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
77810 # library is relocated.
77811 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
77813 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
77814 # into the resulting binary.
77815 hardcode_minus_L=$hardcode_minus_L_CXX
77817 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
77818 # into the resulting binary.
77819 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
77821 # Set to "yes" if building a shared library automatically hardcodes DIR
77822 # into the library and all subsequent libraries and executables linked
77823 # against it.
77824 hardcode_automatic=$hardcode_automatic_CXX
77826 # Set to yes if linker adds runtime paths of dependent libraries
77827 # to runtime path list.
77828 inherit_rpath=$inherit_rpath_CXX
77830 # Whether libtool must link a program against all its dependency libraries.
77831 link_all_deplibs=$link_all_deplibs_CXX
77833 # Fix the shell variable \$srcfile for the compiler.
77834 fix_srcfile_path=$lt_fix_srcfile_path_CXX
77836 # Set to "yes" if exported symbols are required.
77837 always_export_symbols=$always_export_symbols_CXX
77839 # The commands to list exported symbols.
77840 export_symbols_cmds=$lt_export_symbols_cmds_CXX
77842 # Symbols that should not be listed in the preloaded symbols.
77843 exclude_expsyms=$lt_exclude_expsyms_CXX
77845 # Symbols that must always be exported.
77846 include_expsyms=$lt_include_expsyms_CXX
77848 # Commands necessary for linking programs (against libraries) with templates.
77849 prelink_cmds=$lt_prelink_cmds_CXX
77851 # Specify filename containing input files.
77852 file_list_spec=$lt_file_list_spec_CXX
77854 # How to hardcode a shared library path into an executable.
77855 hardcode_action=$hardcode_action_CXX
77857 # The directories searched by this compiler when creating a shared library.
77858 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
77860 # Dependencies to place before and after the objects being linked to
77861 # create a shared library.
77862 predep_objects=$lt_predep_objects_CXX
77863 postdep_objects=$lt_postdep_objects_CXX
77864 predeps=$lt_predeps_CXX
77865 postdeps=$lt_postdeps_CXX
77867 # The library search path used internally by the compiler when linking
77868 # a shared library.
77869 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
77871 # ### END LIBTOOL TAG CONFIG: CXX
77872 _LT_EOF
77875 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
77876 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
77877 "include/Makefile":F) cat > vpsed$$ << \_EOF
77878 s!`test -f '$<' || echo '$(srcdir)/'`!!
77879 _EOF
77880 sed -f vpsed$$ $ac_file > tmp$$
77881 mv tmp$$ $ac_file
77882 rm vpsed$$
77883 echo 'MULTISUBDIR =' >> $ac_file
77884 ml_norecursion=yes
77885 . ${multi_basedir}/config-ml.in
77886 { ml_norecursion=; unset ml_norecursion;}
77888 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
77889 s!`test -f '$<' || echo '$(srcdir)/'`!!
77890 _EOF
77891 sed -f vpsed$$ $ac_file > tmp$$
77892 mv tmp$$ $ac_file
77893 rm vpsed$$
77894 echo 'MULTISUBDIR =' >> $ac_file
77895 ml_norecursion=yes
77896 . ${multi_basedir}/config-ml.in
77897 { ml_norecursion=; unset ml_norecursion;}
77899 "src/Makefile":F) cat > vpsed$$ << \_EOF
77900 s!`test -f '$<' || echo '$(srcdir)/'`!!
77901 _EOF
77902 sed -f vpsed$$ $ac_file > tmp$$
77903 mv tmp$$ $ac_file
77904 rm vpsed$$
77905 echo 'MULTISUBDIR =' >> $ac_file
77906 ml_norecursion=yes
77907 . ${multi_basedir}/config-ml.in
77908 { ml_norecursion=; unset ml_norecursion;}
77910 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
77911 s!`test -f '$<' || echo '$(srcdir)/'`!!
77912 _EOF
77913 sed -f vpsed$$ $ac_file > tmp$$
77914 mv tmp$$ $ac_file
77915 rm vpsed$$
77916 echo 'MULTISUBDIR =' >> $ac_file
77917 ml_norecursion=yes
77918 . ${multi_basedir}/config-ml.in
77919 { ml_norecursion=; unset ml_norecursion;}
77921 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
77922 s!`test -f '$<' || echo '$(srcdir)/'`!!
77923 _EOF
77924 sed -f vpsed$$ $ac_file > tmp$$
77925 mv tmp$$ $ac_file
77926 rm vpsed$$
77927 echo 'MULTISUBDIR =' >> $ac_file
77928 ml_norecursion=yes
77929 . ${multi_basedir}/config-ml.in
77930 { ml_norecursion=; unset ml_norecursion;}
77932 "src/c++17/Makefile":F) cat > vpsed$$ << \_EOF
77933 s!`test -f '$<' || echo '$(srcdir)/'`!!
77934 _EOF
77935 sed -f vpsed$$ $ac_file > tmp$$
77936 mv tmp$$ $ac_file
77937 rm vpsed$$
77938 echo 'MULTISUBDIR =' >> $ac_file
77939 ml_norecursion=yes
77940 . ${multi_basedir}/config-ml.in
77941 { ml_norecursion=; unset ml_norecursion;}
77943 "src/c++20/Makefile":F) cat > vpsed$$ << \_EOF
77944 s!`test -f '$<' || echo '$(srcdir)/'`!!
77945 _EOF
77946 sed -f vpsed$$ $ac_file > tmp$$
77947 mv tmp$$ $ac_file
77948 rm vpsed$$
77949 echo 'MULTISUBDIR =' >> $ac_file
77950 ml_norecursion=yes
77951 . ${multi_basedir}/config-ml.in
77952 { ml_norecursion=; unset ml_norecursion;}
77954 "src/c++23/Makefile":F) cat > vpsed$$ << \_EOF
77955 s!`test -f '$<' || echo '$(srcdir)/'`!!
77956 _EOF
77957 sed -f vpsed$$ $ac_file > tmp$$
77958 mv tmp$$ $ac_file
77959 rm vpsed$$
77960 echo 'MULTISUBDIR =' >> $ac_file
77961 ml_norecursion=yes
77962 . ${multi_basedir}/config-ml.in
77963 { ml_norecursion=; unset ml_norecursion;}
77965 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
77966 s!`test -f '$<' || echo '$(srcdir)/'`!!
77967 _EOF
77968 sed -f vpsed$$ $ac_file > tmp$$
77969 mv tmp$$ $ac_file
77970 rm vpsed$$
77971 echo 'MULTISUBDIR =' >> $ac_file
77972 ml_norecursion=yes
77973 . ${multi_basedir}/config-ml.in
77974 { ml_norecursion=; unset ml_norecursion;}
77976 "src/libbacktrace/Makefile":F) cat > vpsed$$ << \_EOF
77977 s!`test -f '$<' || echo '$(srcdir)/'`!!
77978 _EOF
77979 sed -f vpsed$$ $ac_file > tmp$$
77980 mv tmp$$ $ac_file
77981 rm vpsed$$
77982 echo 'MULTISUBDIR =' >> $ac_file
77983 ml_norecursion=yes
77984 . ${multi_basedir}/config-ml.in
77985 { ml_norecursion=; unset ml_norecursion;}
77987 "src/experimental/Makefile":F) cat > vpsed$$ << \_EOF
77988 s!`test -f '$<' || echo '$(srcdir)/'`!!
77989 _EOF
77990 sed -f vpsed$$ $ac_file > tmp$$
77991 mv tmp$$ $ac_file
77992 rm vpsed$$
77993 echo 'MULTISUBDIR =' >> $ac_file
77994 ml_norecursion=yes
77995 . ${multi_basedir}/config-ml.in
77996 { ml_norecursion=; unset ml_norecursion;}
77998 "doc/Makefile":F) cat > vpsed$$ << \_EOF
77999 s!`test -f '$<' || echo '$(srcdir)/'`!!
78000 _EOF
78001 sed -f vpsed$$ $ac_file > tmp$$
78002 mv tmp$$ $ac_file
78003 rm vpsed$$
78004 echo 'MULTISUBDIR =' >> $ac_file
78005 ml_norecursion=yes
78006 . ${multi_basedir}/config-ml.in
78007 { ml_norecursion=; unset ml_norecursion;}
78009 "po/Makefile":F) cat > vpsed$$ << \_EOF
78010 s!`test -f '$<' || echo '$(srcdir)/'`!!
78011 _EOF
78012 sed -f vpsed$$ $ac_file > tmp$$
78013 mv tmp$$ $ac_file
78014 rm vpsed$$
78015 echo 'MULTISUBDIR =' >> $ac_file
78016 ml_norecursion=yes
78017 . ${multi_basedir}/config-ml.in
78018 { ml_norecursion=; unset ml_norecursion;}
78020 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
78021 s!`test -f '$<' || echo '$(srcdir)/'`!!
78022 _EOF
78023 sed -f vpsed$$ $ac_file > tmp$$
78024 mv tmp$$ $ac_file
78025 rm vpsed$$
78026 echo 'MULTISUBDIR =' >> $ac_file
78027 ml_norecursion=yes
78028 . ${multi_basedir}/config-ml.in
78029 { ml_norecursion=; unset ml_norecursion;}
78031 "python/Makefile":F) cat > vpsed$$ << \_EOF
78032 s!`test -f '$<' || echo '$(srcdir)/'`!!
78033 _EOF
78034 sed -f vpsed$$ $ac_file > tmp$$
78035 mv tmp$$ $ac_file
78036 rm vpsed$$
78037 echo 'MULTISUBDIR =' >> $ac_file
78038 ml_norecursion=yes
78039 . ${multi_basedir}/config-ml.in
78040 { ml_norecursion=; unset ml_norecursion;}
78042 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
78044 esac
78045 done # for ac_tag
78048 as_fn_exit 0
78049 _ACEOF
78050 ac_clean_files=$ac_clean_files_save
78052 test $ac_write_fail = 0 ||
78053 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
78056 # configure is writing to config.log, and then calls config.status.
78057 # config.status does its own redirection, appending to config.log.
78058 # Unfortunately, on DOS this fails, as config.log is still kept open
78059 # by configure, so config.status won't be able to write to it; its
78060 # output is simply discarded. So we exec the FD to /dev/null,
78061 # effectively closing config.log, so it can be properly (re)opened and
78062 # appended to by config.status. When coming back to configure, we
78063 # need to make the FD available again.
78064 if test "$no_create" != yes; then
78065 ac_cs_success=:
78066 ac_config_status_args=
78067 test "$silent" = yes &&
78068 ac_config_status_args="$ac_config_status_args --quiet"
78069 exec 5>/dev/null
78070 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
78071 exec 5>>config.log
78072 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
78073 # would make configure fail if this is the last instruction.
78074 $ac_cs_success || as_fn_exit 1
78076 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
78077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
78078 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}