d: Add testcase from PR108962
[official-gcc.git] / libstdc++-v3 / configure
blobc8d55083cd7cdd832f302f8d95bd07b7c5d63b50
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for package-unused version-unused.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
174 esac
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
190 else
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1
201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 PATH=/empty FPATH=/empty; export PATH FPATH
206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208 if (eval "$as_required") 2>/dev/null; then :
209 as_have_required=yes
210 else
211 as_have_required=no
213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
215 else
216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217 as_found=false
218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
220 IFS=$as_save_IFS
221 test -z "$as_dir" && as_dir=.
222 as_found=:
223 case $as_dir in #(
225 for as_base in sh bash ksh sh5; do
226 # Try only shells that exist, to save several forks.
227 as_shell=$as_dir/$as_base
228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230 CONFIG_SHELL=$as_shell as_have_required=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 break 2
235 done;;
236 esac
237 as_found=false
238 done
239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241 CONFIG_SHELL=$SHELL as_have_required=yes
242 fi; }
243 IFS=$as_save_IFS
246 if test "x$CONFIG_SHELL" != x; then :
247 export CONFIG_SHELL
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
252 BASH_ENV=/dev/null
253 ENV=/dev/null
254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255 case $- in # ((((
256 *v*x* | *x*v* ) as_opts=-vx ;;
257 *v* ) as_opts=-v ;;
258 *x* ) as_opts=-x ;;
259 * ) as_opts= ;;
260 esac
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265 exit 255
268 if test x$as_have_required = xno; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x${ZSH_VERSION+set} = xset ; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274 else
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
280 exit 1
284 SHELL=${CONFIG_SHELL-/bin/sh}
285 export SHELL
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE= GREP_OPTIONS=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
293 # as_fn_unset VAR
294 # ---------------
295 # Portably unset VAR.
296 as_fn_unset ()
298 { eval $1=; unset $1;}
300 as_unset=as_fn_unset
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
305 as_fn_set_status ()
307 return $1
308 } # as_fn_set_status
310 # as_fn_exit STATUS
311 # -----------------
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 as_fn_exit ()
315 set +e
316 as_fn_set_status $1
317 exit $1
318 } # as_fn_exit
320 # as_fn_mkdir_p
321 # -------------
322 # Create "$as_dir" as a directory, including parents if necessary.
323 as_fn_mkdir_p ()
326 case $as_dir in #(
327 -*) as_dir=./$as_dir;;
328 esac
329 test -d "$as_dir" || eval $as_mkdir_p || {
330 as_dirs=
331 while :; do
332 case $as_dir in #(
333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334 *) as_qdir=$as_dir;;
335 esac
336 as_dirs="'$as_qdir' $as_dirs"
337 as_dir=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344 s//\1/
347 /^X\(\/\/\)[^/].*/{
348 s//\1/
351 /^X\(\/\/\)$/{
352 s//\1/
355 /^X\(\/\).*/{
356 s//\1/
359 s/.*/./; q'`
360 test -d "$as_dir" && break
361 done
362 test -z "$as_dirs" || eval "mkdir $as_dirs"
363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
366 } # as_fn_mkdir_p
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p ()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
380 # implementations.
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382 eval 'as_fn_append ()
384 eval $1+=\$2
386 else
387 as_fn_append ()
389 eval $1=\$$1\$2
391 fi # as_fn_append
393 # as_fn_arith ARG...
394 # ------------------
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399 eval 'as_fn_arith ()
401 as_val=$(( $* ))
403 else
404 as_fn_arith ()
406 as_val=`expr "$@" || test $? -eq 1`
408 fi # as_fn_arith
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
416 as_fn_error ()
418 as_status=$1; test $as_status -eq 0 && as_status=1
419 if test "$4"; then
420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit $as_status
425 } # as_fn_error
427 if expr a : '\(a\)' >/dev/null 2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001; then
429 as_expr=expr
430 else
431 as_expr=false
434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 as_basename=basename
436 else
437 as_basename=false
440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441 as_dirname=dirname
442 else
443 as_dirname=false
446 as_me=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450 $as_echo X/"$0" |
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
452 s//\1/
455 /^X\/\(\/\/\)$/{
456 s//\1/
459 /^X\/\(\/\).*/{
460 s//\1/
463 s/.*/./; q'`
465 # Avoid depending upon Character Ranges.
466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits='0123456789'
470 as_cr_alnum=$as_cr_Letters$as_cr_digits
473 as_lineno_1=$LINENO as_lineno_1a=$LINENO
474 as_lineno_2=$LINENO as_lineno_2a=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
478 sed -n '
480 /[$]LINENO/=
481 ' <$as_myself |
482 sed '
483 s/[$]LINENO.*/&-/
484 t lineno
486 :lineno
488 :loop
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490 t loop
491 s/-\n.*//
492 ' >$as_me.lineno &&
493 chmod +x "$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec=no; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
503 . "./$as_me.lineno"
504 # Exit status is that of the last command.
505 exit
508 ECHO_C= ECHO_N= ECHO_T=
509 case `echo -n x` in #(((((
510 -n*)
511 case `echo 'xy\c'` in
512 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
513 xy) ECHO_C='\c';;
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
515 ECHO_T=' ';;
516 esac;;
518 ECHO_N='-n';;
519 esac
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523 rm -f conf$$.dir/conf$$.file
524 else
525 rm -f conf$$.dir
526 mkdir conf$$.dir 2>/dev/null
528 if (echo >conf$$.file) 2>/dev/null; then
529 if ln -s conf$$.file conf$$ 2>/dev/null; then
530 as_ln_s='ln -s'
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536 as_ln_s='cp -pR'
537 elif ln conf$$.file conf$$ 2>/dev/null; then
538 as_ln_s=ln
539 else
540 as_ln_s='cp -pR'
542 else
543 as_ln_s='cp -pR'
545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546 rmdir conf$$.dir 2>/dev/null
548 if mkdir -p . 2>/dev/null; then
549 as_mkdir_p='mkdir -p "$as_dir"'
550 else
551 test -d ./-p && rmdir ./-p
552 as_mkdir_p=false
555 as_test_x='test -x'
556 as_executable_p=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" || exec 7<&0 </dev/null
568 exec 6>&1
570 # Name of the host.
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
576 # Initializations.
578 ac_default_prefix=/usr/local
579 ac_clean_files=
580 ac_config_libobj_dir=.
581 LIBOBJS=
582 cross_compiling=no
583 subdirs=
584 MFLAGS=
585 MAKEFLAGS=
587 # Identity of this package.
588 PACKAGE_NAME='package-unused'
589 PACKAGE_TARNAME='libstdc++'
590 PACKAGE_VERSION='version-unused'
591 PACKAGE_STRING='package-unused version-unused'
592 PACKAGE_BUGREPORT=''
593 PACKAGE_URL=''
595 ac_unique_file="src/shared/hashtable-aux.cc"
596 # Factoring default headers for most tests.
597 ac_includes_default="\
598 #include <stdio.h>
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
601 #endif
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
604 #endif
605 #ifdef STDC_HEADERS
606 # include <stdlib.h>
607 # include <stddef.h>
608 #else
609 # ifdef HAVE_STDLIB_H
610 # include <stdlib.h>
611 # endif
612 #endif
613 #ifdef HAVE_STRING_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
615 # include <memory.h>
616 # endif
617 # include <string.h>
618 #endif
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
621 #endif
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
624 #endif
625 #ifdef HAVE_STDINT_H
626 # include <stdint.h>
627 #endif
628 #ifdef HAVE_UNISTD_H
629 # include <unistd.h>
630 #endif"
632 ac_subst_vars='am__EXEEXT_FALSE
633 am__EXEEXT_TRUE
634 LTLIBOBJS
635 LIBOBJS
636 get_gcc_base_ver
637 WARN_FLAGS
638 OPTIMIZE_CXXFLAGS
639 TOPLEVEL_INCLUDES
640 GLIBCXX_INCLUDES
641 glibcxx_toolexeclibdir
642 glibcxx_toolexecdir
643 gxx_include_dir
644 glibcxx_prefixdir
645 EXTRA_CFLAGS
646 tmake_file
647 CPU_OPT_BITS_RANDOM
648 CPU_OPT_EXT_RANDOM
649 ERROR_CONSTANTS_SRCDIR
650 OS_INC_SRCDIR
651 ABI_TWEAKS_SRCDIR
652 CPU_DEFINES_SRCDIR
653 ATOMIC_FLAGS
654 ATOMIC_WORD_SRCDIR
655 ATOMICITY_SRCDIR
656 INCLUDE_DIR_NOTPARALLEL_FALSE
657 INCLUDE_DIR_NOTPARALLEL_TRUE
658 BUILD_PDF_FALSE
659 BUILD_PDF_TRUE
660 PDFLATEX
661 DBLATEX
662 BUILD_MAN_FALSE
663 BUILD_MAN_TRUE
664 BUILD_HTML_FALSE
665 BUILD_HTML_TRUE
666 BUILD_XML_FALSE
667 BUILD_XML_TRUE
668 BUILD_EPUB_FALSE
669 BUILD_EPUB_TRUE
670 XSL_STYLE_DIR
671 XMLLINT
672 XSLTPROC
673 XMLCATALOG
675 DOXYGEN
676 BUILD_INFO_FALSE
677 BUILD_INFO_TRUE
678 USE_STATIC_TZDATA_FALSE
679 USE_STATIC_TZDATA_TRUE
680 EH_POOL_FLAGS
681 ENABLE_BACKTRACE_FALSE
682 ENABLE_BACKTRACE_TRUE
683 BACKTRACE_SUPPORTS_THREADS
684 BACKTRACE_USES_MALLOC
685 BACKTRACE_SUPPORTED
686 BACKTRACE_CPPFLAGS
687 ALLOC_FILE
688 VIEW_FILE
689 FORMAT_FILE
690 ENABLE_FILESYSTEM_TS_FALSE
691 ENABLE_FILESYSTEM_TS_TRUE
692 baseline_subdir_switch
693 baseline_dir
694 HWCAP_CFLAGS
695 GLIBCXX_LDBL_ALT128_COMPAT_FALSE
696 GLIBCXX_LDBL_ALT128_COMPAT_TRUE
697 GLIBCXX_LDBL_COMPAT_FALSE
698 GLIBCXX_LDBL_COMPAT_TRUE
699 LONG_DOUBLE_ALT128_COMPAT_FLAGS
700 LONG_DOUBLE_128_FLAGS
701 LONG_DOUBLE_COMPAT_FLAGS
702 ENABLE_CXX11_ABI_FALSE
703 ENABLE_CXX11_ABI_TRUE
704 glibcxx_cxx98_abi
705 ENABLE_DUAL_ABI_FALSE
706 ENABLE_DUAL_ABI_TRUE
707 ENABLE_VISIBILITY_FALSE
708 ENABLE_VISIBILITY_TRUE
709 libtool_VERSION
710 ENABLE_SYMVERS_SUN_FALSE
711 ENABLE_SYMVERS_SUN_TRUE
712 ENABLE_SYMVERS_DARWIN_FALSE
713 ENABLE_SYMVERS_DARWIN_TRUE
714 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
715 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
716 ENABLE_SYMVERS_GNU_FALSE
717 ENABLE_SYMVERS_GNU_TRUE
718 ENABLE_SYMVERS_FALSE
719 ENABLE_SYMVERS_TRUE
720 port_specific_symbol_files
721 SYMVER_FILE
722 CXXFILT
723 LTLIBICONV
724 LIBICONV
725 OPT_LDFLAGS
726 SECTION_LDFLAGS
727 GLIBCXX_LIBS
728 ENABLE_VTABLE_VERIFY_FALSE
729 ENABLE_VTABLE_VERIFY_TRUE
730 VTV_CYGMIN_FALSE
731 VTV_CYGMIN_TRUE
732 VTV_CXXLINKFLAGS
733 VTV_PCH_CXXFLAGS
734 VTV_CXXFLAGS
735 ENABLE_WERROR_FALSE
736 ENABLE_WERROR_TRUE
737 ENABLE_PYTHONDIR_FALSE
738 ENABLE_PYTHONDIR_TRUE
739 python_mod_dir
740 ENABLE_EXTERN_TEMPLATE_FALSE
741 ENABLE_EXTERN_TEMPLATE_TRUE
742 EXTRA_CXX_FLAGS
743 GLIBCXX_BUILD_DEBUG_FALSE
744 GLIBCXX_BUILD_DEBUG_TRUE
745 DEBUG_FLAGS
746 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
747 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
748 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
749 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
750 GLIBCXX_C_HEADERS_C_STD_FALSE
751 GLIBCXX_C_HEADERS_C_STD_TRUE
752 GLIBCXX_C_HEADERS_C_FALSE
753 GLIBCXX_C_HEADERS_C_TRUE
754 C_INCLUDE_DIR
755 ALLOCATOR_NAME
756 ALLOCATOR_H
757 ENABLE_ALLOCATOR_NEW_FALSE
758 ENABLE_ALLOCATOR_NEW_TRUE
759 CLOCALE_INTERNAL_H
760 CLOCALE_CC
761 CTIME_CC
762 CTIME_H
763 CNUMERIC_CC
764 CMONEY_CC
765 CMESSAGES_CC
766 CCTYPE_CC
767 CCOLLATE_CC
768 CCODECVT_CC
769 CMESSAGES_H
770 CLOCALE_H
771 USE_NLS
772 glibcxx_localedir
773 glibcxx_POFILES
774 glibcxx_MOFILES
775 check_msgfmt
776 BASIC_FILE_CC
777 BASIC_FILE_H
778 CSTDIO_H
779 SECTION_FLAGS
780 ENABLE_FLOAT128_FALSE
781 ENABLE_FLOAT128_TRUE
782 thread_header
783 glibcxx_PCHFLAGS
784 GLIBCXX_BUILD_PCH_FALSE
785 GLIBCXX_BUILD_PCH_TRUE
786 FREESTANDING_FLAGS
787 GLIBCXX_HOSTED_FALSE
788 GLIBCXX_HOSTED_TRUE
789 glibcxx_compiler_shared_flag
790 glibcxx_compiler_pic_flag
791 glibcxx_lt_pic_flag
792 enable_static
793 enable_shared
794 lt_host_flags
795 CXXCPP
796 OTOOL64
797 OTOOL
798 LIPO
799 NMEDIT
800 DSYMUTIL
801 OBJDUMP
803 ac_ct_DUMPBIN
804 DUMPBIN
806 FGREP
808 LIBTOOL
809 EGREP
810 GREP
812 MAINT
813 MAINTAINER_MODE_FALSE
814 MAINTAINER_MODE_TRUE
815 RANLIB
818 LN_S
819 toplevel_srcdir
820 toplevel_builddir
821 glibcxx_srcdir
822 glibcxx_builddir
823 ac_ct_CXX
824 CXXFLAGS
826 OBJEXT
827 EXEEXT
828 ac_ct_CC
829 CPPFLAGS
830 LDFLAGS
831 CFLAGS
833 AM_BACKSLASH
834 AM_DEFAULT_VERBOSITY
835 AM_DEFAULT_V
836 AM_V
837 am__untar
838 am__tar
839 AMTAR
840 am__leading_dot
841 SET_MAKE
843 mkdir_p
844 MKDIR_P
845 INSTALL_STRIP_PROGRAM
846 STRIP
847 install_sh
848 MAKEINFO
849 AUTOHEADER
850 AUTOMAKE
851 AUTOCONF
852 ACLOCAL
853 VERSION
854 PACKAGE
855 CYGPATH_W
856 am__isrc
857 INSTALL_DATA
858 INSTALL_SCRIPT
859 INSTALL_PROGRAM
860 target_os
861 target_vendor
862 target_cpu
863 target
864 host_os
865 host_vendor
866 host_cpu
867 host
868 build_os
869 build_vendor
870 build_cpu
871 build
872 multi_basedir
873 target_alias
874 host_alias
875 build_alias
876 LIBS
877 ECHO_T
878 ECHO_N
879 ECHO_C
880 DEFS
881 mandir
882 localedir
883 libdir
884 psdir
885 pdfdir
886 dvidir
887 htmldir
888 infodir
889 docdir
890 oldincludedir
891 includedir
892 localstatedir
893 sharedstatedir
894 sysconfdir
895 datadir
896 datarootdir
897 libexecdir
898 sbindir
899 bindir
900 program_transform_name
901 prefix
902 exec_prefix
903 PACKAGE_URL
904 PACKAGE_BUGREPORT
905 PACKAGE_STRING
906 PACKAGE_VERSION
907 PACKAGE_TARNAME
908 PACKAGE_NAME
909 PATH_SEPARATOR
910 SHELL'
911 ac_subst_files=''
912 ac_user_opts='
913 enable_option_checking
914 enable_multilib
915 enable_silent_rules
916 enable_largefile
917 with_target_subdir
918 with_cross_host
919 with_newlib
920 enable_maintainer_mode
921 enable_shared
922 enable_static
923 with_pic
924 enable_fast_install
925 with_gnu_ld
926 enable_libtool_lock
927 enable_hosted_libstdcxx
928 enable_libstdcxx_hosted
929 enable_libstdcxx_verbose
930 enable_libstdcxx_pch
931 with_libstdcxx_lock_policy
932 enable_cstdio
933 enable_clocale
934 enable_nls
935 enable_libstdcxx_allocator
936 enable_cheaders_obsolete
937 enable_cheaders
938 enable_long_long
939 enable_wchar_t
940 enable_c99
941 enable_concept_checks
942 enable_libstdcxx_debug_flags
943 enable_libstdcxx_debug
944 enable_cxx_flags
945 enable_fully_dynamic_string
946 enable_extern_template
947 with_python_dir
948 enable_werror
949 enable_vtable_verify
950 enable_libstdcxx_time
951 enable_tls
952 enable_rpath
953 with_libiconv_prefix
954 with_libiconv_type
955 with_system_libunwind
956 enable_linux_futex
957 enable_symvers
958 enable_libstdcxx_visibility
959 enable_libstdcxx_dual_abi
960 with_default_libstdcxx_abi
961 enable_libstdcxx_threads
962 enable_libstdcxx_filesystem_ts
963 enable_libstdcxx_backtrace
964 enable_libstdcxx_static_eh_pool
965 with_libstdcxx_eh_pool_obj_count
966 with_libstdcxx_zoneinfo
967 enable_cet
968 with_gxx_include_dir
969 enable_version_specific_runtime_libs
970 with_toolexeclibdir
971 with_gcc_major_version_only
973 ac_precious_vars='build_alias
974 host_alias
975 target_alias
977 CFLAGS
978 LDFLAGS
979 LIBS
980 CPPFLAGS
982 CXXFLAGS
985 CXXCPP
986 CXXFILT'
989 # Initialize some variables set by options.
990 ac_init_help=
991 ac_init_version=false
992 ac_unrecognized_opts=
993 ac_unrecognized_sep=
994 # The variables have the same names as the options, with
995 # dashes changed to underlines.
996 cache_file=/dev/null
997 exec_prefix=NONE
998 no_create=
999 no_recursion=
1000 prefix=NONE
1001 program_prefix=NONE
1002 program_suffix=NONE
1003 program_transform_name=s,x,x,
1004 silent=
1005 site=
1006 srcdir=
1007 verbose=
1008 x_includes=NONE
1009 x_libraries=NONE
1011 # Installation directory options.
1012 # These are left unexpanded so users can "make install exec_prefix=/foo"
1013 # and all the variables that are supposed to be based on exec_prefix
1014 # by default will actually change.
1015 # Use braces instead of parens because sh, perl, etc. also accept them.
1016 # (The list follows the same order as the GNU Coding Standards.)
1017 bindir='${exec_prefix}/bin'
1018 sbindir='${exec_prefix}/sbin'
1019 libexecdir='${exec_prefix}/libexec'
1020 datarootdir='${prefix}/share'
1021 datadir='${datarootdir}'
1022 sysconfdir='${prefix}/etc'
1023 sharedstatedir='${prefix}/com'
1024 localstatedir='${prefix}/var'
1025 includedir='${prefix}/include'
1026 oldincludedir='/usr/include'
1027 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1028 infodir='${datarootdir}/info'
1029 htmldir='${docdir}'
1030 dvidir='${docdir}'
1031 pdfdir='${docdir}'
1032 psdir='${docdir}'
1033 libdir='${exec_prefix}/lib'
1034 localedir='${datarootdir}/locale'
1035 mandir='${datarootdir}/man'
1037 ac_prev=
1038 ac_dashdash=
1039 for ac_option
1041 # If the previous option needs an argument, assign it.
1042 if test -n "$ac_prev"; then
1043 eval $ac_prev=\$ac_option
1044 ac_prev=
1045 continue
1048 case $ac_option in
1049 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1050 *=) ac_optarg= ;;
1051 *) ac_optarg=yes ;;
1052 esac
1054 # Accept the important Cygnus configure options, so we can diagnose typos.
1056 case $ac_dashdash$ac_option in
1058 ac_dashdash=yes ;;
1060 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1061 ac_prev=bindir ;;
1062 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1063 bindir=$ac_optarg ;;
1065 -build | --build | --buil | --bui | --bu)
1066 ac_prev=build_alias ;;
1067 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1068 build_alias=$ac_optarg ;;
1070 -cache-file | --cache-file | --cache-fil | --cache-fi \
1071 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1072 ac_prev=cache_file ;;
1073 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1074 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1075 cache_file=$ac_optarg ;;
1077 --config-cache | -C)
1078 cache_file=config.cache ;;
1080 -datadir | --datadir | --datadi | --datad)
1081 ac_prev=datadir ;;
1082 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1083 datadir=$ac_optarg ;;
1085 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1086 | --dataroo | --dataro | --datar)
1087 ac_prev=datarootdir ;;
1088 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1089 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1090 datarootdir=$ac_optarg ;;
1092 -disable-* | --disable-*)
1093 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1094 # Reject names that are not valid shell variable names.
1095 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1096 as_fn_error $? "invalid feature name: $ac_useropt"
1097 ac_useropt_orig=$ac_useropt
1098 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1099 case $ac_user_opts in
1101 "enable_$ac_useropt"
1102 "*) ;;
1103 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1104 ac_unrecognized_sep=', ';;
1105 esac
1106 eval enable_$ac_useropt=no ;;
1108 -docdir | --docdir | --docdi | --doc | --do)
1109 ac_prev=docdir ;;
1110 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1111 docdir=$ac_optarg ;;
1113 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1114 ac_prev=dvidir ;;
1115 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1116 dvidir=$ac_optarg ;;
1118 -enable-* | --enable-*)
1119 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1120 # Reject names that are not valid shell variable names.
1121 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1122 as_fn_error $? "invalid feature name: $ac_useropt"
1123 ac_useropt_orig=$ac_useropt
1124 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1125 case $ac_user_opts in
1127 "enable_$ac_useropt"
1128 "*) ;;
1129 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1130 ac_unrecognized_sep=', ';;
1131 esac
1132 eval enable_$ac_useropt=\$ac_optarg ;;
1134 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1135 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1136 | --exec | --exe | --ex)
1137 ac_prev=exec_prefix ;;
1138 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1139 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1140 | --exec=* | --exe=* | --ex=*)
1141 exec_prefix=$ac_optarg ;;
1143 -gas | --gas | --ga | --g)
1144 # Obsolete; use --with-gas.
1145 with_gas=yes ;;
1147 -help | --help | --hel | --he | -h)
1148 ac_init_help=long ;;
1149 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1150 ac_init_help=recursive ;;
1151 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1152 ac_init_help=short ;;
1154 -host | --host | --hos | --ho)
1155 ac_prev=host_alias ;;
1156 -host=* | --host=* | --hos=* | --ho=*)
1157 host_alias=$ac_optarg ;;
1159 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1160 ac_prev=htmldir ;;
1161 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1162 | --ht=*)
1163 htmldir=$ac_optarg ;;
1165 -includedir | --includedir | --includedi | --included | --include \
1166 | --includ | --inclu | --incl | --inc)
1167 ac_prev=includedir ;;
1168 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1169 | --includ=* | --inclu=* | --incl=* | --inc=*)
1170 includedir=$ac_optarg ;;
1172 -infodir | --infodir | --infodi | --infod | --info | --inf)
1173 ac_prev=infodir ;;
1174 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1175 infodir=$ac_optarg ;;
1177 -libdir | --libdir | --libdi | --libd)
1178 ac_prev=libdir ;;
1179 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1180 libdir=$ac_optarg ;;
1182 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1183 | --libexe | --libex | --libe)
1184 ac_prev=libexecdir ;;
1185 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1186 | --libexe=* | --libex=* | --libe=*)
1187 libexecdir=$ac_optarg ;;
1189 -localedir | --localedir | --localedi | --localed | --locale)
1190 ac_prev=localedir ;;
1191 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1192 localedir=$ac_optarg ;;
1194 -localstatedir | --localstatedir | --localstatedi | --localstated \
1195 | --localstate | --localstat | --localsta | --localst | --locals)
1196 ac_prev=localstatedir ;;
1197 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1198 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1199 localstatedir=$ac_optarg ;;
1201 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1202 ac_prev=mandir ;;
1203 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1204 mandir=$ac_optarg ;;
1206 -nfp | --nfp | --nf)
1207 # Obsolete; use --without-fp.
1208 with_fp=no ;;
1210 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1211 | --no-cr | --no-c | -n)
1212 no_create=yes ;;
1214 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1215 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1216 no_recursion=yes ;;
1218 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1219 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1220 | --oldin | --oldi | --old | --ol | --o)
1221 ac_prev=oldincludedir ;;
1222 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1223 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1224 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1225 oldincludedir=$ac_optarg ;;
1227 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1228 ac_prev=prefix ;;
1229 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1230 prefix=$ac_optarg ;;
1232 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1233 | --program-pre | --program-pr | --program-p)
1234 ac_prev=program_prefix ;;
1235 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1236 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1237 program_prefix=$ac_optarg ;;
1239 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1240 | --program-suf | --program-su | --program-s)
1241 ac_prev=program_suffix ;;
1242 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1243 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1244 program_suffix=$ac_optarg ;;
1246 -program-transform-name | --program-transform-name \
1247 | --program-transform-nam | --program-transform-na \
1248 | --program-transform-n | --program-transform- \
1249 | --program-transform | --program-transfor \
1250 | --program-transfo | --program-transf \
1251 | --program-trans | --program-tran \
1252 | --progr-tra | --program-tr | --program-t)
1253 ac_prev=program_transform_name ;;
1254 -program-transform-name=* | --program-transform-name=* \
1255 | --program-transform-nam=* | --program-transform-na=* \
1256 | --program-transform-n=* | --program-transform-=* \
1257 | --program-transform=* | --program-transfor=* \
1258 | --program-transfo=* | --program-transf=* \
1259 | --program-trans=* | --program-tran=* \
1260 | --progr-tra=* | --program-tr=* | --program-t=*)
1261 program_transform_name=$ac_optarg ;;
1263 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1264 ac_prev=pdfdir ;;
1265 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1266 pdfdir=$ac_optarg ;;
1268 -psdir | --psdir | --psdi | --psd | --ps)
1269 ac_prev=psdir ;;
1270 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1271 psdir=$ac_optarg ;;
1273 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1274 | -silent | --silent | --silen | --sile | --sil)
1275 silent=yes ;;
1277 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1278 ac_prev=sbindir ;;
1279 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1280 | --sbi=* | --sb=*)
1281 sbindir=$ac_optarg ;;
1283 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1284 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1285 | --sharedst | --shareds | --shared | --share | --shar \
1286 | --sha | --sh)
1287 ac_prev=sharedstatedir ;;
1288 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1289 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1290 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1291 | --sha=* | --sh=*)
1292 sharedstatedir=$ac_optarg ;;
1294 -site | --site | --sit)
1295 ac_prev=site ;;
1296 -site=* | --site=* | --sit=*)
1297 site=$ac_optarg ;;
1299 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1300 ac_prev=srcdir ;;
1301 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1302 srcdir=$ac_optarg ;;
1304 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1305 | --syscon | --sysco | --sysc | --sys | --sy)
1306 ac_prev=sysconfdir ;;
1307 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1308 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1309 sysconfdir=$ac_optarg ;;
1311 -target | --target | --targe | --targ | --tar | --ta | --t)
1312 ac_prev=target_alias ;;
1313 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1314 target_alias=$ac_optarg ;;
1316 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1317 verbose=yes ;;
1319 -version | --version | --versio | --versi | --vers | -V)
1320 ac_init_version=: ;;
1322 -with-* | --with-*)
1323 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1324 # Reject names that are not valid shell variable names.
1325 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1326 as_fn_error $? "invalid package name: $ac_useropt"
1327 ac_useropt_orig=$ac_useropt
1328 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1329 case $ac_user_opts in
1331 "with_$ac_useropt"
1332 "*) ;;
1333 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1334 ac_unrecognized_sep=', ';;
1335 esac
1336 eval with_$ac_useropt=\$ac_optarg ;;
1338 -without-* | --without-*)
1339 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1340 # Reject names that are not valid shell variable names.
1341 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1342 as_fn_error $? "invalid package name: $ac_useropt"
1343 ac_useropt_orig=$ac_useropt
1344 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1345 case $ac_user_opts in
1347 "with_$ac_useropt"
1348 "*) ;;
1349 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1350 ac_unrecognized_sep=', ';;
1351 esac
1352 eval with_$ac_useropt=no ;;
1354 --x)
1355 # Obsolete; use --with-x.
1356 with_x=yes ;;
1358 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1359 | --x-incl | --x-inc | --x-in | --x-i)
1360 ac_prev=x_includes ;;
1361 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1362 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1363 x_includes=$ac_optarg ;;
1365 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1366 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1367 ac_prev=x_libraries ;;
1368 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1369 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1370 x_libraries=$ac_optarg ;;
1372 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1373 Try \`$0 --help' for more information"
1376 *=*)
1377 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1378 # Reject names that are not valid shell variable names.
1379 case $ac_envvar in #(
1380 '' | [0-9]* | *[!_$as_cr_alnum]* )
1381 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1382 esac
1383 eval $ac_envvar=\$ac_optarg
1384 export $ac_envvar ;;
1387 # FIXME: should be removed in autoconf 3.0.
1388 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1389 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1390 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1391 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1394 esac
1395 done
1397 if test -n "$ac_prev"; then
1398 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1399 as_fn_error $? "missing argument to $ac_option"
1402 if test -n "$ac_unrecognized_opts"; then
1403 case $enable_option_checking in
1404 no) ;;
1405 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1406 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1407 esac
1410 # Check all directory arguments for consistency.
1411 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1412 datadir sysconfdir sharedstatedir localstatedir includedir \
1413 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1414 libdir localedir mandir
1416 eval ac_val=\$$ac_var
1417 # Remove trailing slashes.
1418 case $ac_val in
1419 */ )
1420 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1421 eval $ac_var=\$ac_val;;
1422 esac
1423 # Be sure to have absolute directory names.
1424 case $ac_val in
1425 [\\/$]* | ?:[\\/]* ) continue;;
1426 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1427 esac
1428 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1429 done
1431 # There might be people who depend on the old broken behavior: `$host'
1432 # used to hold the argument of --host etc.
1433 # FIXME: To remove some day.
1434 build=$build_alias
1435 host=$host_alias
1436 target=$target_alias
1438 # FIXME: To remove some day.
1439 if test "x$host_alias" != x; then
1440 if test "x$build_alias" = x; then
1441 cross_compiling=maybe
1442 elif test "x$build_alias" != "x$host_alias"; then
1443 cross_compiling=yes
1447 ac_tool_prefix=
1448 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1450 test "$silent" = yes && exec 6>/dev/null
1453 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1454 ac_ls_di=`ls -di .` &&
1455 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1456 as_fn_error $? "working directory cannot be determined"
1457 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1458 as_fn_error $? "pwd does not report name of working directory"
1461 # Find the source files, if location was not specified.
1462 if test -z "$srcdir"; then
1463 ac_srcdir_defaulted=yes
1464 # Try the directory containing this script, then the parent directory.
1465 ac_confdir=`$as_dirname -- "$as_myself" ||
1466 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1467 X"$as_myself" : 'X\(//\)[^/]' \| \
1468 X"$as_myself" : 'X\(//\)$' \| \
1469 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1470 $as_echo X"$as_myself" |
1471 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1472 s//\1/
1475 /^X\(\/\/\)[^/].*/{
1476 s//\1/
1479 /^X\(\/\/\)$/{
1480 s//\1/
1483 /^X\(\/\).*/{
1484 s//\1/
1487 s/.*/./; q'`
1488 srcdir=$ac_confdir
1489 if test ! -r "$srcdir/$ac_unique_file"; then
1490 srcdir=..
1492 else
1493 ac_srcdir_defaulted=no
1495 if test ! -r "$srcdir/$ac_unique_file"; then
1496 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1497 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1499 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1500 ac_abs_confdir=`(
1501 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1502 pwd)`
1503 # When building in place, set srcdir=.
1504 if test "$ac_abs_confdir" = "$ac_pwd"; then
1505 srcdir=.
1507 # Remove unnecessary trailing slashes from srcdir.
1508 # Double slashes in file names in object file debugging info
1509 # mess up M-x gdb in Emacs.
1510 case $srcdir in
1511 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1512 esac
1513 for ac_var in $ac_precious_vars; do
1514 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1515 eval ac_env_${ac_var}_value=\$${ac_var}
1516 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1517 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1518 done
1521 # Report the --help message.
1523 if test "$ac_init_help" = "long"; then
1524 # Omit some internal or obsolete options to make the list less imposing.
1525 # This message is too long to be a string in the A/UX 3.1 sh.
1526 cat <<_ACEOF
1527 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1529 Usage: $0 [OPTION]... [VAR=VALUE]...
1531 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1532 VAR=VALUE. See below for descriptions of some of the useful variables.
1534 Defaults for the options are specified in brackets.
1536 Configuration:
1537 -h, --help display this help and exit
1538 --help=short display options specific to this package
1539 --help=recursive display the short help of all the included packages
1540 -V, --version display version information and exit
1541 -q, --quiet, --silent do not print \`checking ...' messages
1542 --cache-file=FILE cache test results in FILE [disabled]
1543 -C, --config-cache alias for \`--cache-file=config.cache'
1544 -n, --no-create do not create output files
1545 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1547 Installation directories:
1548 --prefix=PREFIX install architecture-independent files in PREFIX
1549 [$ac_default_prefix]
1550 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1551 [PREFIX]
1553 By default, \`make install' will install all the files in
1554 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1555 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1556 for instance \`--prefix=\$HOME'.
1558 For better control, use the options below.
1560 Fine tuning of the installation directories:
1561 --bindir=DIR user executables [EPREFIX/bin]
1562 --sbindir=DIR system admin executables [EPREFIX/sbin]
1563 --libexecdir=DIR program executables [EPREFIX/libexec]
1564 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1565 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1566 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1567 --libdir=DIR object code libraries [EPREFIX/lib]
1568 --includedir=DIR C header files [PREFIX/include]
1569 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1570 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1571 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1572 --infodir=DIR info documentation [DATAROOTDIR/info]
1573 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1574 --mandir=DIR man documentation [DATAROOTDIR/man]
1575 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1576 --htmldir=DIR html documentation [DOCDIR]
1577 --dvidir=DIR dvi documentation [DOCDIR]
1578 --pdfdir=DIR pdf documentation [DOCDIR]
1579 --psdir=DIR ps documentation [DOCDIR]
1580 _ACEOF
1582 cat <<\_ACEOF
1584 Program names:
1585 --program-prefix=PREFIX prepend PREFIX to installed program names
1586 --program-suffix=SUFFIX append SUFFIX to installed program names
1587 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1589 System types:
1590 --build=BUILD configure for building on BUILD [guessed]
1591 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1592 --target=TARGET configure for building compilers for TARGET [HOST]
1593 _ACEOF
1596 if test -n "$ac_init_help"; then
1597 case $ac_init_help in
1598 short | recursive ) echo "Configuration of package-unused version-unused:";;
1599 esac
1600 cat <<\_ACEOF
1602 Optional Features:
1603 --disable-option-checking ignore unrecognized --enable/--with options
1604 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1605 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1606 --enable-multilib build many library versions (default)
1607 --enable-silent-rules less verbose build output (undo: "make V=1")
1608 --disable-silent-rules verbose build output (undo: "make V=0")
1609 --disable-largefile omit support for large files
1610 --enable-maintainer-mode
1611 enable make rules and dependencies not useful (and
1612 sometimes confusing) to the casual installer
1613 --enable-shared[=PKGS] build shared libraries [default=yes]
1614 --enable-static[=PKGS] build static libraries [default=yes]
1615 --enable-fast-install[=PKGS]
1616 optimize for fast installation [default=yes]
1617 --disable-libtool-lock avoid locking (might break parallel builds)
1618 --disable-hosted-libstdcxx
1619 only build freestanding C++ runtime support
1620 --disable-libstdcxx-hosted
1621 alias for --disable-hosted-libstdcxx
1622 --disable-libstdcxx-verbose
1623 disable termination messages to standard error
1624 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1625 [default=$is_hosted]
1626 --enable-cstdio[=PACKAGE]
1627 use target-specific I/O package [default=stdio]
1628 --enable-clocale[=MODEL]
1629 use MODEL for target locale package [default=auto]
1630 --enable-nls use Native Language Support (default)
1631 --enable-libstdcxx-allocator[=KIND]
1632 use KIND for target std::allocator base
1633 [default=auto]
1634 --enable-cheaders-obsolete
1635 allow use of obsolete "C" headers for g++
1636 [default=no]
1637 --enable-cheaders[=KIND]
1638 construct "C" headers for g++ [default=$c_model]
1639 --enable-long-long enable template specializations for 'long long'
1640 [default=yes]
1641 --enable-wchar_t enable template specializations for 'wchar_t'
1642 [default=yes]
1643 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1644 --enable-concept-checks use Boost-derived template checks [default=no]
1645 --enable-libstdcxx-debug-flags=FLAGS
1646 pass compiler FLAGS when building debug library
1647 [default="-g3 -O0 -D_GLIBCXX_ASSERTIONS"]
1648 --enable-libstdcxx-debug
1649 build extra debug library [default=no]
1650 --enable-cxx-flags=FLAGS
1651 pass compiler FLAGS when building library [default=]
1652 --enable-fully-dynamic-string
1653 do not put empty strings in per-process static
1654 memory [default=no]
1655 --enable-extern-template
1656 enable extern template [default=yes]
1657 --enable-werror turns on -Werror [default=no]
1658 --enable-vtable-verify enable vtable verify [default=no]
1659 --enable-libstdcxx-time[=KIND]
1660 use KIND for check type [default=auto]
1661 --enable-tls Use thread-local storage [default=yes]
1662 --disable-rpath do not hardcode runtime library paths
1663 --enable-linux-futex use the Linux futex system call [default=default]
1664 --enable-symvers[=STYLE]
1665 enables symbol versioning of the shared library
1666 [default=yes]
1667 --enable-libstdcxx-visibility
1668 enables visibility safe usage [default=yes]
1669 --enable-libstdcxx-dual-abi
1670 support two versions of std::string [default=yes]
1671 --enable-libstdcxx-threads
1672 enable C++11 threads support [default=auto]
1673 --enable-libstdcxx-filesystem-ts
1674 turns on ISO/IEC TS 18822 support [default=auto]
1675 --enable-libstdcxx-backtrace
1676 turns on libbacktrace support [default=auto]
1677 --enable-libstdcxx-static-eh-pool
1678 use a fixed-size static buffer for allocating
1679 exceptions if malloc fails
1680 --enable-cet enable Intel CET in target libraries [default=auto]
1681 --enable-version-specific-runtime-libs
1682 Specify that runtime libraries should be installed
1683 in a compiler-specific directory
1685 Optional Packages:
1686 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1687 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1688 --with-target-subdir=SUBDIR
1689 configuring in a subdirectory
1690 --with-cross-host=HOST configuring with a cross compiler
1691 --with-newlib assume newlib as a system C library
1692 --with-pic try to use only PIC/non-PIC objects [default=use
1693 both]
1694 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1695 --with-libstdcxx-lock-policy={atomic,mutex,auto}
1696 synchronization policy for shared_ptr reference
1697 counting [default=auto]
1698 --with-python-dir the location to install Python modules. This path is
1699 relative starting from the prefix.
1700 --with-gnu-ld assume the C compiler uses GNU ld default=no
1701 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1702 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1703 --with-libiconv-type=TYPE type of library to search for (auto/static/shared)
1704 --with-system-libunwind use installed libunwind
1705 --with-default-libstdcxx-abi
1706 set the std::string ABI to use by default
1707 --with-libstdcxx-eh-pool-obj-count
1708 the number of exceptions that can be allocated from
1709 the pool if malloc fails
1710 --with-libstdcxx-zoneinfo
1711 the location to use for tzdata
1712 --with-gxx-include-dir=DIR
1713 installation directory for include files
1714 --with-toolexeclibdir=DIR
1715 install libraries built with a cross compiler within
1717 --with-gcc-major-version-only
1718 use only GCC major number in filesystem paths
1720 Some influential environment variables:
1721 CC C compiler command
1722 CFLAGS C compiler flags
1723 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1724 nonstandard directory <lib dir>
1725 LIBS libraries to pass to the linker, e.g. -l<library>
1726 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1727 you have headers in a nonstandard directory <include dir>
1728 CXX C++ compiler command
1729 CXXFLAGS C++ compiler flags
1730 CPP C preprocessor
1731 CXXCPP C++ preprocessor
1732 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1733 `c++filt', `gc++filt' on PATH.
1735 Use these variables to override the choices made by `configure' or to help
1736 it to find libraries and programs with nonstandard names/locations.
1738 Report bugs to the package provider.
1739 _ACEOF
1740 ac_status=$?
1743 if test "$ac_init_help" = "recursive"; then
1744 # If there are subdirs, report their specific --help.
1745 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1746 test -d "$ac_dir" ||
1747 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1748 continue
1749 ac_builddir=.
1751 case "$ac_dir" in
1752 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1754 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1755 # A ".." for each directory in $ac_dir_suffix.
1756 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1757 case $ac_top_builddir_sub in
1758 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1759 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1760 esac ;;
1761 esac
1762 ac_abs_top_builddir=$ac_pwd
1763 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1764 # for backward compatibility:
1765 ac_top_builddir=$ac_top_build_prefix
1767 case $srcdir in
1768 .) # We are building in place.
1769 ac_srcdir=.
1770 ac_top_srcdir=$ac_top_builddir_sub
1771 ac_abs_top_srcdir=$ac_pwd ;;
1772 [\\/]* | ?:[\\/]* ) # Absolute name.
1773 ac_srcdir=$srcdir$ac_dir_suffix;
1774 ac_top_srcdir=$srcdir
1775 ac_abs_top_srcdir=$srcdir ;;
1776 *) # Relative name.
1777 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1778 ac_top_srcdir=$ac_top_build_prefix$srcdir
1779 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1780 esac
1781 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1783 cd "$ac_dir" || { ac_status=$?; continue; }
1784 # Check for guested configure.
1785 if test -f "$ac_srcdir/configure.gnu"; then
1786 echo &&
1787 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1788 elif test -f "$ac_srcdir/configure"; then
1789 echo &&
1790 $SHELL "$ac_srcdir/configure" --help=recursive
1791 else
1792 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1793 fi || ac_status=$?
1794 cd "$ac_pwd" || { ac_status=$?; break; }
1795 done
1798 test -n "$ac_init_help" && exit $ac_status
1799 if $ac_init_version; then
1800 cat <<\_ACEOF
1801 package-unused configure version-unused
1802 generated by GNU Autoconf 2.69
1804 Copyright (C) 2012 Free Software Foundation, Inc.
1805 This configure script is free software; the Free Software Foundation
1806 gives unlimited permission to copy, distribute and modify it.
1807 _ACEOF
1808 exit
1811 ## ------------------------ ##
1812 ## Autoconf initialization. ##
1813 ## ------------------------ ##
1815 # ac_fn_c_try_compile LINENO
1816 # --------------------------
1817 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1818 ac_fn_c_try_compile ()
1820 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1821 rm -f conftest.$ac_objext
1822 if { { ac_try="$ac_compile"
1823 case "(($ac_try" in
1824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1825 *) ac_try_echo=$ac_try;;
1826 esac
1827 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1828 $as_echo "$ac_try_echo"; } >&5
1829 (eval "$ac_compile") 2>conftest.err
1830 ac_status=$?
1831 if test -s conftest.err; then
1832 grep -v '^ *+' conftest.err >conftest.er1
1833 cat conftest.er1 >&5
1834 mv -f conftest.er1 conftest.err
1836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1837 test $ac_status = 0; } && {
1838 test -z "$ac_c_werror_flag" ||
1839 test ! -s conftest.err
1840 } && test -s conftest.$ac_objext; then :
1841 ac_retval=0
1842 else
1843 $as_echo "$as_me: failed program was:" >&5
1844 sed 's/^/| /' conftest.$ac_ext >&5
1846 ac_retval=1
1848 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1849 as_fn_set_status $ac_retval
1851 } # ac_fn_c_try_compile
1853 # ac_fn_cxx_try_compile LINENO
1854 # ----------------------------
1855 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1856 ac_fn_cxx_try_compile ()
1858 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1859 rm -f conftest.$ac_objext
1860 if { { ac_try="$ac_compile"
1861 case "(($ac_try" in
1862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1863 *) ac_try_echo=$ac_try;;
1864 esac
1865 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1866 $as_echo "$ac_try_echo"; } >&5
1867 (eval "$ac_compile") 2>conftest.err
1868 ac_status=$?
1869 if test -s conftest.err; then
1870 grep -v '^ *+' conftest.err >conftest.er1
1871 cat conftest.er1 >&5
1872 mv -f conftest.er1 conftest.err
1874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1875 test $ac_status = 0; } && {
1876 test -z "$ac_cxx_werror_flag" ||
1877 test ! -s conftest.err
1878 } && test -s conftest.$ac_objext; then :
1879 ac_retval=0
1880 else
1881 $as_echo "$as_me: failed program was:" >&5
1882 sed 's/^/| /' conftest.$ac_ext >&5
1884 ac_retval=1
1886 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1887 as_fn_set_status $ac_retval
1889 } # ac_fn_cxx_try_compile
1891 # ac_fn_c_try_cpp LINENO
1892 # ----------------------
1893 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1894 ac_fn_c_try_cpp ()
1896 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1897 if { { ac_try="$ac_cpp conftest.$ac_ext"
1898 case "(($ac_try" in
1899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1900 *) ac_try_echo=$ac_try;;
1901 esac
1902 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1903 $as_echo "$ac_try_echo"; } >&5
1904 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1905 ac_status=$?
1906 if test -s conftest.err; then
1907 grep -v '^ *+' conftest.err >conftest.er1
1908 cat conftest.er1 >&5
1909 mv -f conftest.er1 conftest.err
1911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1912 test $ac_status = 0; } > conftest.i && {
1913 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1914 test ! -s conftest.err
1915 }; then :
1916 ac_retval=0
1917 else
1918 $as_echo "$as_me: failed program was:" >&5
1919 sed 's/^/| /' conftest.$ac_ext >&5
1921 ac_retval=1
1923 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1924 as_fn_set_status $ac_retval
1926 } # ac_fn_c_try_cpp
1928 # ac_fn_c_try_link LINENO
1929 # -----------------------
1930 # Try to link conftest.$ac_ext, and return whether this succeeded.
1931 ac_fn_c_try_link ()
1933 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1934 rm -f conftest.$ac_objext conftest$ac_exeext
1935 if { { ac_try="$ac_link"
1936 case "(($ac_try" in
1937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1938 *) ac_try_echo=$ac_try;;
1939 esac
1940 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1941 $as_echo "$ac_try_echo"; } >&5
1942 (eval "$ac_link") 2>conftest.err
1943 ac_status=$?
1944 if test -s conftest.err; then
1945 grep -v '^ *+' conftest.err >conftest.er1
1946 cat conftest.er1 >&5
1947 mv -f conftest.er1 conftest.err
1949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1950 test $ac_status = 0; } && {
1951 test -z "$ac_c_werror_flag" ||
1952 test ! -s conftest.err
1953 } && test -s conftest$ac_exeext && {
1954 test "$cross_compiling" = yes ||
1955 test -x conftest$ac_exeext
1956 }; then :
1957 ac_retval=0
1958 else
1959 $as_echo "$as_me: failed program was:" >&5
1960 sed 's/^/| /' conftest.$ac_ext >&5
1962 ac_retval=1
1964 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1965 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1966 # interfere with the next link command; also delete a directory that is
1967 # left behind by Apple's compiler. We do this before executing the actions.
1968 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1969 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1970 as_fn_set_status $ac_retval
1972 } # ac_fn_c_try_link
1974 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1975 # -------------------------------------------------------
1976 # Tests whether HEADER exists and can be compiled using the include files in
1977 # INCLUDES, setting the cache variable VAR accordingly.
1978 ac_fn_c_check_header_compile ()
1980 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1982 $as_echo_n "checking for $2... " >&6; }
1983 if eval \${$3+:} false; then :
1984 $as_echo_n "(cached) " >&6
1985 else
1986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1987 /* end confdefs.h. */
1989 #include <$2>
1990 _ACEOF
1991 if ac_fn_c_try_compile "$LINENO"; then :
1992 eval "$3=yes"
1993 else
1994 eval "$3=no"
1996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1998 eval ac_res=\$$3
1999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2000 $as_echo "$ac_res" >&6; }
2001 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2003 } # ac_fn_c_check_header_compile
2005 # ac_fn_c_try_run LINENO
2006 # ----------------------
2007 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2008 # that executables *can* be run.
2009 ac_fn_c_try_run ()
2011 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2012 if { { ac_try="$ac_link"
2013 case "(($ac_try" in
2014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2015 *) ac_try_echo=$ac_try;;
2016 esac
2017 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2018 $as_echo "$ac_try_echo"; } >&5
2019 (eval "$ac_link") 2>&5
2020 ac_status=$?
2021 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2022 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2023 { { case "(($ac_try" in
2024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2025 *) ac_try_echo=$ac_try;;
2026 esac
2027 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2028 $as_echo "$ac_try_echo"; } >&5
2029 (eval "$ac_try") 2>&5
2030 ac_status=$?
2031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2032 test $ac_status = 0; }; }; then :
2033 ac_retval=0
2034 else
2035 $as_echo "$as_me: program exited with status $ac_status" >&5
2036 $as_echo "$as_me: failed program was:" >&5
2037 sed 's/^/| /' conftest.$ac_ext >&5
2039 ac_retval=$ac_status
2041 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2042 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2043 as_fn_set_status $ac_retval
2045 } # ac_fn_c_try_run
2047 # ac_fn_c_check_func LINENO FUNC VAR
2048 # ----------------------------------
2049 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2050 ac_fn_c_check_func ()
2052 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2054 $as_echo_n "checking for $2... " >&6; }
2055 if eval \${$3+:} false; then :
2056 $as_echo_n "(cached) " >&6
2057 else
2058 if test x$gcc_no_link = xyes; then
2059 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2062 /* end confdefs.h. */
2063 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2064 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2065 #define $2 innocuous_$2
2067 /* System header to define __stub macros and hopefully few prototypes,
2068 which can conflict with char $2 (); below.
2069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2070 <limits.h> exists even on freestanding compilers. */
2072 #ifdef __STDC__
2073 # include <limits.h>
2074 #else
2075 # include <assert.h>
2076 #endif
2078 #undef $2
2080 /* Override any GCC internal prototype to avoid an error.
2081 Use char because int might match the return type of a GCC
2082 builtin and then its argument prototype would still apply. */
2083 #ifdef __cplusplus
2084 extern "C"
2085 #endif
2086 char $2 ();
2087 /* The GNU C library defines this for functions which it implements
2088 to always fail with ENOSYS. Some functions are actually named
2089 something starting with __ and the normal name is an alias. */
2090 #if defined __stub_$2 || defined __stub___$2
2091 choke me
2092 #endif
2095 main ()
2097 return $2 ();
2099 return 0;
2101 _ACEOF
2102 if ac_fn_c_try_link "$LINENO"; then :
2103 eval "$3=yes"
2104 else
2105 eval "$3=no"
2107 rm -f core conftest.err conftest.$ac_objext \
2108 conftest$ac_exeext conftest.$ac_ext
2110 eval ac_res=\$$3
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2112 $as_echo "$ac_res" >&6; }
2113 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2115 } # ac_fn_c_check_func
2117 # ac_fn_cxx_try_cpp LINENO
2118 # ------------------------
2119 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2120 ac_fn_cxx_try_cpp ()
2122 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2123 if { { ac_try="$ac_cpp conftest.$ac_ext"
2124 case "(($ac_try" in
2125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2126 *) ac_try_echo=$ac_try;;
2127 esac
2128 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2129 $as_echo "$ac_try_echo"; } >&5
2130 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2131 ac_status=$?
2132 if test -s conftest.err; then
2133 grep -v '^ *+' conftest.err >conftest.er1
2134 cat conftest.er1 >&5
2135 mv -f conftest.er1 conftest.err
2137 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2138 test $ac_status = 0; } > conftest.i && {
2139 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2140 test ! -s conftest.err
2141 }; then :
2142 ac_retval=0
2143 else
2144 $as_echo "$as_me: failed program was:" >&5
2145 sed 's/^/| /' conftest.$ac_ext >&5
2147 ac_retval=1
2149 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2150 as_fn_set_status $ac_retval
2152 } # ac_fn_cxx_try_cpp
2154 # ac_fn_cxx_try_link LINENO
2155 # -------------------------
2156 # Try to link conftest.$ac_ext, and return whether this succeeded.
2157 ac_fn_cxx_try_link ()
2159 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2160 rm -f conftest.$ac_objext conftest$ac_exeext
2161 if { { ac_try="$ac_link"
2162 case "(($ac_try" in
2163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2164 *) ac_try_echo=$ac_try;;
2165 esac
2166 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2167 $as_echo "$ac_try_echo"; } >&5
2168 (eval "$ac_link") 2>conftest.err
2169 ac_status=$?
2170 if test -s conftest.err; then
2171 grep -v '^ *+' conftest.err >conftest.er1
2172 cat conftest.er1 >&5
2173 mv -f conftest.er1 conftest.err
2175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2176 test $ac_status = 0; } && {
2177 test -z "$ac_cxx_werror_flag" ||
2178 test ! -s conftest.err
2179 } && test -s conftest$ac_exeext && {
2180 test "$cross_compiling" = yes ||
2181 test -x conftest$ac_exeext
2182 }; then :
2183 ac_retval=0
2184 else
2185 $as_echo "$as_me: failed program was:" >&5
2186 sed 's/^/| /' conftest.$ac_ext >&5
2188 ac_retval=1
2190 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2191 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2192 # interfere with the next link command; also delete a directory that is
2193 # left behind by Apple's compiler. We do this before executing the actions.
2194 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2195 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2196 as_fn_set_status $ac_retval
2198 } # ac_fn_cxx_try_link
2200 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2201 # -------------------------------------------------------
2202 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2203 # the include files in INCLUDES and setting the cache variable VAR
2204 # accordingly.
2205 ac_fn_c_check_header_mongrel ()
2207 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2208 if eval \${$3+:} false; then :
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2210 $as_echo_n "checking for $2... " >&6; }
2211 if eval \${$3+:} false; then :
2212 $as_echo_n "(cached) " >&6
2214 eval ac_res=\$$3
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2216 $as_echo "$ac_res" >&6; }
2217 else
2218 # Is the header compilable?
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2220 $as_echo_n "checking $2 usability... " >&6; }
2221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2222 /* end confdefs.h. */
2224 #include <$2>
2225 _ACEOF
2226 if ac_fn_c_try_compile "$LINENO"; then :
2227 ac_header_compiler=yes
2228 else
2229 ac_header_compiler=no
2231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2233 $as_echo "$ac_header_compiler" >&6; }
2235 # Is the header present?
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2237 $as_echo_n "checking $2 presence... " >&6; }
2238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2239 /* end confdefs.h. */
2240 #include <$2>
2241 _ACEOF
2242 if ac_fn_c_try_cpp "$LINENO"; then :
2243 ac_header_preproc=yes
2244 else
2245 ac_header_preproc=no
2247 rm -f conftest.err conftest.i conftest.$ac_ext
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2249 $as_echo "$ac_header_preproc" >&6; }
2251 # So? What about this header?
2252 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2253 yes:no: )
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2255 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2257 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2259 no:yes:* )
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2261 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2263 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2265 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2267 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2269 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2271 esac
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2273 $as_echo_n "checking for $2... " >&6; }
2274 if eval \${$3+:} false; then :
2275 $as_echo_n "(cached) " >&6
2276 else
2277 eval "$3=\$ac_header_compiler"
2279 eval ac_res=\$$3
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2281 $as_echo "$ac_res" >&6; }
2283 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2285 } # ac_fn_c_check_header_mongrel
2287 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2288 # ---------------------------------------------------------
2289 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2290 # the include files in INCLUDES and setting the cache variable VAR
2291 # accordingly.
2292 ac_fn_cxx_check_header_mongrel ()
2294 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2295 if eval \${$3+:} false; then :
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2297 $as_echo_n "checking for $2... " >&6; }
2298 if eval \${$3+:} false; then :
2299 $as_echo_n "(cached) " >&6
2301 eval ac_res=\$$3
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2303 $as_echo "$ac_res" >&6; }
2304 else
2305 # Is the header compilable?
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2307 $as_echo_n "checking $2 usability... " >&6; }
2308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2309 /* end confdefs.h. */
2311 #include <$2>
2312 _ACEOF
2313 if ac_fn_cxx_try_compile "$LINENO"; then :
2314 ac_header_compiler=yes
2315 else
2316 ac_header_compiler=no
2318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2320 $as_echo "$ac_header_compiler" >&6; }
2322 # Is the header present?
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2324 $as_echo_n "checking $2 presence... " >&6; }
2325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2326 /* end confdefs.h. */
2327 #include <$2>
2328 _ACEOF
2329 if ac_fn_cxx_try_cpp "$LINENO"; then :
2330 ac_header_preproc=yes
2331 else
2332 ac_header_preproc=no
2334 rm -f conftest.err conftest.i conftest.$ac_ext
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2336 $as_echo "$ac_header_preproc" >&6; }
2338 # So? What about this header?
2339 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2340 yes:no: )
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2342 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2344 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2346 no:yes:* )
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2348 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2350 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2352 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2354 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2356 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2358 esac
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2360 $as_echo_n "checking for $2... " >&6; }
2361 if eval \${$3+:} false; then :
2362 $as_echo_n "(cached) " >&6
2363 else
2364 eval "$3=\$ac_header_compiler"
2366 eval ac_res=\$$3
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2368 $as_echo "$ac_res" >&6; }
2370 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2372 } # ac_fn_cxx_check_header_mongrel
2374 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2375 # --------------------------------------------
2376 # Tries to find the compile-time value of EXPR in a program that includes
2377 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2378 # computed
2379 ac_fn_c_compute_int ()
2381 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2382 if test "$cross_compiling" = yes; then
2383 # Depending upon the size, compute the lo and hi bounds.
2384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2385 /* end confdefs.h. */
2388 main ()
2390 static int test_array [1 - 2 * !(($2) >= 0)];
2391 test_array [0] = 0;
2392 return test_array [0];
2395 return 0;
2397 _ACEOF
2398 if ac_fn_c_try_compile "$LINENO"; then :
2399 ac_lo=0 ac_mid=0
2400 while :; do
2401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2402 /* end confdefs.h. */
2405 main ()
2407 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2408 test_array [0] = 0;
2409 return test_array [0];
2412 return 0;
2414 _ACEOF
2415 if ac_fn_c_try_compile "$LINENO"; then :
2416 ac_hi=$ac_mid; break
2417 else
2418 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2419 if test $ac_lo -le $ac_mid; then
2420 ac_lo= ac_hi=
2421 break
2423 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2426 done
2427 else
2428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2429 /* end confdefs.h. */
2432 main ()
2434 static int test_array [1 - 2 * !(($2) < 0)];
2435 test_array [0] = 0;
2436 return test_array [0];
2439 return 0;
2441 _ACEOF
2442 if ac_fn_c_try_compile "$LINENO"; then :
2443 ac_hi=-1 ac_mid=-1
2444 while :; do
2445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2446 /* end confdefs.h. */
2449 main ()
2451 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2452 test_array [0] = 0;
2453 return test_array [0];
2456 return 0;
2458 _ACEOF
2459 if ac_fn_c_try_compile "$LINENO"; then :
2460 ac_lo=$ac_mid; break
2461 else
2462 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2463 if test $ac_mid -le $ac_hi; then
2464 ac_lo= ac_hi=
2465 break
2467 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2470 done
2471 else
2472 ac_lo= ac_hi=
2474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2477 # Binary search between lo and hi bounds.
2478 while test "x$ac_lo" != "x$ac_hi"; do
2479 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2481 /* end confdefs.h. */
2484 main ()
2486 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2487 test_array [0] = 0;
2488 return test_array [0];
2491 return 0;
2493 _ACEOF
2494 if ac_fn_c_try_compile "$LINENO"; then :
2495 ac_hi=$ac_mid
2496 else
2497 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2500 done
2501 case $ac_lo in #((
2502 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2503 '') ac_retval=1 ;;
2504 esac
2505 else
2506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2507 /* end confdefs.h. */
2509 static long int longval () { return $2; }
2510 static unsigned long int ulongval () { return $2; }
2511 #include <stdio.h>
2512 #include <stdlib.h>
2514 main ()
2517 FILE *f = fopen ("conftest.val", "w");
2518 if (! f)
2519 return 1;
2520 if (($2) < 0)
2522 long int i = longval ();
2523 if (i != ($2))
2524 return 1;
2525 fprintf (f, "%ld", i);
2527 else
2529 unsigned long int i = ulongval ();
2530 if (i != ($2))
2531 return 1;
2532 fprintf (f, "%lu", i);
2534 /* Do not output a trailing newline, as this causes \r\n confusion
2535 on some platforms. */
2536 return ferror (f) || fclose (f) != 0;
2539 return 0;
2541 _ACEOF
2542 if ac_fn_c_try_run "$LINENO"; then :
2543 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2544 else
2545 ac_retval=1
2547 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2548 conftest.$ac_objext conftest.beam conftest.$ac_ext
2549 rm -f conftest.val
2552 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2553 as_fn_set_status $ac_retval
2555 } # ac_fn_c_compute_int
2557 # ac_fn_cxx_check_func LINENO FUNC VAR
2558 # ------------------------------------
2559 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2560 ac_fn_cxx_check_func ()
2562 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2564 $as_echo_n "checking for $2... " >&6; }
2565 if eval \${$3+:} false; then :
2566 $as_echo_n "(cached) " >&6
2567 else
2568 if test x$gcc_no_link = xyes; then
2569 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2572 /* end confdefs.h. */
2573 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2575 #define $2 innocuous_$2
2577 /* System header to define __stub macros and hopefully few prototypes,
2578 which can conflict with char $2 (); below.
2579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2580 <limits.h> exists even on freestanding compilers. */
2582 #ifdef __STDC__
2583 # include <limits.h>
2584 #else
2585 # include <assert.h>
2586 #endif
2588 #undef $2
2590 /* Override any GCC internal prototype to avoid an error.
2591 Use char because int might match the return type of a GCC
2592 builtin and then its argument prototype would still apply. */
2593 #ifdef __cplusplus
2594 extern "C"
2595 #endif
2596 char $2 ();
2597 /* The GNU C library defines this for functions which it implements
2598 to always fail with ENOSYS. Some functions are actually named
2599 something starting with __ and the normal name is an alias. */
2600 #if defined __stub_$2 || defined __stub___$2
2601 choke me
2602 #endif
2605 main ()
2607 return $2 ();
2609 return 0;
2611 _ACEOF
2612 if ac_fn_cxx_try_link "$LINENO"; then :
2613 eval "$3=yes"
2614 else
2615 eval "$3=no"
2617 rm -f core conftest.err conftest.$ac_objext \
2618 conftest$ac_exeext conftest.$ac_ext
2620 eval ac_res=\$$3
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2622 $as_echo "$ac_res" >&6; }
2623 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2625 } # ac_fn_cxx_check_func
2627 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2628 # ---------------------------------------------
2629 # Tests whether TYPE exists after having included INCLUDES, setting cache
2630 # variable VAR accordingly.
2631 ac_fn_cxx_check_type ()
2633 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2635 $as_echo_n "checking for $2... " >&6; }
2636 if eval \${$3+:} false; then :
2637 $as_echo_n "(cached) " >&6
2638 else
2639 eval "$3=no"
2640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2641 /* end confdefs.h. */
2644 main ()
2646 if (sizeof ($2))
2647 return 0;
2649 return 0;
2651 _ACEOF
2652 if ac_fn_cxx_try_compile "$LINENO"; then :
2653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2654 /* end confdefs.h. */
2657 main ()
2659 if (sizeof (($2)))
2660 return 0;
2662 return 0;
2664 _ACEOF
2665 if ac_fn_cxx_try_compile "$LINENO"; then :
2667 else
2668 eval "$3=yes"
2670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2674 eval ac_res=\$$3
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2676 $as_echo "$ac_res" >&6; }
2677 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2679 } # ac_fn_cxx_check_type
2681 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2682 # ---------------------------------------------
2683 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2684 # accordingly.
2685 ac_fn_c_check_decl ()
2687 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2688 as_decl_name=`echo $2|sed 's/ *(.*//'`
2689 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2691 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2692 if eval \${$3+:} false; then :
2693 $as_echo_n "(cached) " >&6
2694 else
2695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2696 /* end confdefs.h. */
2699 main ()
2701 #ifndef $as_decl_name
2702 #ifdef __cplusplus
2703 (void) $as_decl_use;
2704 #else
2705 (void) $as_decl_name;
2706 #endif
2707 #endif
2710 return 0;
2712 _ACEOF
2713 if ac_fn_c_try_compile "$LINENO"; then :
2714 eval "$3=yes"
2715 else
2716 eval "$3=no"
2718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2720 eval ac_res=\$$3
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2722 $as_echo "$ac_res" >&6; }
2723 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2725 } # ac_fn_c_check_decl
2726 cat >config.log <<_ACEOF
2727 This file contains any messages produced by compilers while
2728 running configure, to aid debugging if configure makes a mistake.
2730 It was created by package-unused $as_me version-unused, which was
2731 generated by GNU Autoconf 2.69. Invocation command line was
2733 $ $0 $@
2735 _ACEOF
2736 exec 5>>config.log
2738 cat <<_ASUNAME
2739 ## --------- ##
2740 ## Platform. ##
2741 ## --------- ##
2743 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2744 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2745 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2746 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2747 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2749 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2750 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2752 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2753 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2754 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2755 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2756 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2757 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2758 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2760 _ASUNAME
2762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2763 for as_dir in $PATH
2765 IFS=$as_save_IFS
2766 test -z "$as_dir" && as_dir=.
2767 $as_echo "PATH: $as_dir"
2768 done
2769 IFS=$as_save_IFS
2771 } >&5
2773 cat >&5 <<_ACEOF
2776 ## ----------- ##
2777 ## Core tests. ##
2778 ## ----------- ##
2780 _ACEOF
2783 # Keep a trace of the command line.
2784 # Strip out --no-create and --no-recursion so they do not pile up.
2785 # Strip out --silent because we don't want to record it for future runs.
2786 # Also quote any args containing shell meta-characters.
2787 # Make two passes to allow for proper duplicate-argument suppression.
2788 ac_configure_args=
2789 ac_configure_args0=
2790 ac_configure_args1=
2791 ac_must_keep_next=false
2792 for ac_pass in 1 2
2794 for ac_arg
2796 case $ac_arg in
2797 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2798 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2799 | -silent | --silent | --silen | --sile | --sil)
2800 continue ;;
2801 *\'*)
2802 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2803 esac
2804 case $ac_pass in
2805 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2807 as_fn_append ac_configure_args1 " '$ac_arg'"
2808 if test $ac_must_keep_next = true; then
2809 ac_must_keep_next=false # Got value, back to normal.
2810 else
2811 case $ac_arg in
2812 *=* | --config-cache | -C | -disable-* | --disable-* \
2813 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2814 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2815 | -with-* | --with-* | -without-* | --without-* | --x)
2816 case "$ac_configure_args0 " in
2817 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2818 esac
2820 -* ) ac_must_keep_next=true ;;
2821 esac
2823 as_fn_append ac_configure_args " '$ac_arg'"
2825 esac
2826 done
2827 done
2828 { ac_configure_args0=; unset ac_configure_args0;}
2829 { ac_configure_args1=; unset ac_configure_args1;}
2831 # When interrupted or exit'd, cleanup temporary files, and complete
2832 # config.log. We remove comments because anyway the quotes in there
2833 # would cause problems or look ugly.
2834 # WARNING: Use '\'' to represent an apostrophe within the trap.
2835 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2836 trap 'exit_status=$?
2837 # Save into config.log some information that might help in debugging.
2839 echo
2841 $as_echo "## ---------------- ##
2842 ## Cache variables. ##
2843 ## ---------------- ##"
2844 echo
2845 # The following way of writing the cache mishandles newlines in values,
2847 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2848 eval ac_val=\$$ac_var
2849 case $ac_val in #(
2850 *${as_nl}*)
2851 case $ac_var in #(
2852 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2853 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2854 esac
2855 case $ac_var in #(
2856 _ | IFS | as_nl) ;; #(
2857 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2858 *) { eval $ac_var=; unset $ac_var;} ;;
2859 esac ;;
2860 esac
2861 done
2862 (set) 2>&1 |
2863 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2864 *${as_nl}ac_space=\ *)
2865 sed -n \
2866 "s/'\''/'\''\\\\'\'''\''/g;
2867 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2868 ;; #(
2870 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2872 esac |
2873 sort
2875 echo
2877 $as_echo "## ----------------- ##
2878 ## Output variables. ##
2879 ## ----------------- ##"
2880 echo
2881 for ac_var in $ac_subst_vars
2883 eval ac_val=\$$ac_var
2884 case $ac_val in
2885 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2886 esac
2887 $as_echo "$ac_var='\''$ac_val'\''"
2888 done | sort
2889 echo
2891 if test -n "$ac_subst_files"; then
2892 $as_echo "## ------------------- ##
2893 ## File substitutions. ##
2894 ## ------------------- ##"
2895 echo
2896 for ac_var in $ac_subst_files
2898 eval ac_val=\$$ac_var
2899 case $ac_val in
2900 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2901 esac
2902 $as_echo "$ac_var='\''$ac_val'\''"
2903 done | sort
2904 echo
2907 if test -s confdefs.h; then
2908 $as_echo "## ----------- ##
2909 ## confdefs.h. ##
2910 ## ----------- ##"
2911 echo
2912 cat confdefs.h
2913 echo
2915 test "$ac_signal" != 0 &&
2916 $as_echo "$as_me: caught signal $ac_signal"
2917 $as_echo "$as_me: exit $exit_status"
2918 } >&5
2919 rm -f core *.core core.conftest.* &&
2920 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2921 exit $exit_status
2923 for ac_signal in 1 2 13 15; do
2924 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2925 done
2926 ac_signal=0
2928 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2929 rm -f -r conftest* confdefs.h
2931 $as_echo "/* confdefs.h */" > confdefs.h
2933 # Predefined preprocessor variables.
2935 cat >>confdefs.h <<_ACEOF
2936 #define PACKAGE_NAME "$PACKAGE_NAME"
2937 _ACEOF
2939 cat >>confdefs.h <<_ACEOF
2940 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2941 _ACEOF
2943 cat >>confdefs.h <<_ACEOF
2944 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2945 _ACEOF
2947 cat >>confdefs.h <<_ACEOF
2948 #define PACKAGE_STRING "$PACKAGE_STRING"
2949 _ACEOF
2951 cat >>confdefs.h <<_ACEOF
2952 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2953 _ACEOF
2955 cat >>confdefs.h <<_ACEOF
2956 #define PACKAGE_URL "$PACKAGE_URL"
2957 _ACEOF
2960 # Let the site file select an alternate cache file if it wants to.
2961 # Prefer an explicitly selected file to automatically selected ones.
2962 ac_site_file1=NONE
2963 ac_site_file2=NONE
2964 if test -n "$CONFIG_SITE"; then
2965 # We do not want a PATH search for config.site.
2966 case $CONFIG_SITE in #((
2967 -*) ac_site_file1=./$CONFIG_SITE;;
2968 */*) ac_site_file1=$CONFIG_SITE;;
2969 *) ac_site_file1=./$CONFIG_SITE;;
2970 esac
2971 elif test "x$prefix" != xNONE; then
2972 ac_site_file1=$prefix/share/config.site
2973 ac_site_file2=$prefix/etc/config.site
2974 else
2975 ac_site_file1=$ac_default_prefix/share/config.site
2976 ac_site_file2=$ac_default_prefix/etc/config.site
2978 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2980 test "x$ac_site_file" = xNONE && continue
2981 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2983 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2984 sed 's/^/| /' "$ac_site_file" >&5
2985 . "$ac_site_file" \
2986 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2987 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2988 as_fn_error $? "failed to load site script $ac_site_file
2989 See \`config.log' for more details" "$LINENO" 5; }
2991 done
2993 if test -r "$cache_file"; then
2994 # Some versions of bash will fail to source /dev/null (special files
2995 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2996 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2998 $as_echo "$as_me: loading cache $cache_file" >&6;}
2999 case $cache_file in
3000 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3001 *) . "./$cache_file";;
3002 esac
3004 else
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3006 $as_echo "$as_me: creating cache $cache_file" >&6;}
3007 >$cache_file
3010 # Check that the precious variables saved in the cache have kept the same
3011 # value.
3012 ac_cache_corrupted=false
3013 for ac_var in $ac_precious_vars; do
3014 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3015 eval ac_new_set=\$ac_env_${ac_var}_set
3016 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3017 eval ac_new_val=\$ac_env_${ac_var}_value
3018 case $ac_old_set,$ac_new_set in
3019 set,)
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3021 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3022 ac_cache_corrupted=: ;;
3023 ,set)
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3025 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3026 ac_cache_corrupted=: ;;
3027 ,);;
3029 if test "x$ac_old_val" != "x$ac_new_val"; then
3030 # differences in whitespace do not lead to failure.
3031 ac_old_val_w=`echo x $ac_old_val`
3032 ac_new_val_w=`echo x $ac_new_val`
3033 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3035 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3036 ac_cache_corrupted=:
3037 else
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3039 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3040 eval $ac_var=\$ac_old_val
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3043 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3045 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3046 fi;;
3047 esac
3048 # Pass precious variables to config.status.
3049 if test "$ac_new_set" = set; then
3050 case $ac_new_val in
3051 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3052 *) ac_arg=$ac_var=$ac_new_val ;;
3053 esac
3054 case " $ac_configure_args " in
3055 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3056 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3057 esac
3059 done
3060 if $ac_cache_corrupted; then
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3062 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3064 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3065 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3067 ## -------------------- ##
3068 ## Main body of script. ##
3069 ## -------------------- ##
3071 ac_ext=c
3072 ac_cpp='$CPP $CPPFLAGS'
3073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3082 ac_config_headers="$ac_config_headers config.h"
3085 # This works around the fact that libtool configuration may change LD
3086 # for this particular configuration, but some shells, instead of
3087 # keeping the changes in LD private, export them just because LD is
3088 # exported. Only used at the end of this file.
3089 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
3091 # Find the rest of the source tree framework.
3092 # Default to --enable-multilib
3093 # Check whether --enable-multilib was given.
3094 if test "${enable_multilib+set}" = set; then :
3095 enableval=$enable_multilib; case "$enableval" in
3096 yes) multilib=yes ;;
3097 no) multilib=no ;;
3098 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
3099 esac
3100 else
3101 multilib=yes
3105 # We may get other options which we leave undocumented:
3106 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3107 # See config-ml.in if you want the gory details.
3109 if test "$srcdir" = "."; then
3110 if test "$with_target_subdir" != "."; then
3111 multi_basedir="$srcdir/$with_multisrctop../.."
3112 else
3113 multi_basedir="$srcdir/$with_multisrctop.."
3115 else
3116 multi_basedir="$srcdir/.."
3120 # Even if the default multilib is not a cross compilation,
3121 # it may be that some of the other multilibs are.
3122 if test $cross_compiling = no && test $multilib = yes \
3123 && test "x${with_multisubdir}" != x ; then
3124 cross_compiling=maybe
3127 ac_config_commands="$ac_config_commands default-1"
3130 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
3132 # You will slowly go insane if you do not grok the following fact: when
3133 # building v3 as part of the compiler, the top-level /target/ becomes the
3134 # library's /host/. configure then causes --target to default to --host,
3135 # exactly like any other package using autoconf. Therefore, 'target' and
3136 # 'host' will always be the same. This makes sense both for native and
3137 # cross compilers, just think about it for a little while. :-)
3139 # Also, if v3 is being configured as part of a cross compiler, the top-level
3140 # configure script will pass the "real" host as $with_cross_host.
3142 # Do not delete or change the following two lines. For why, see
3143 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
3144 ac_aux_dir=
3145 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3146 if test -f "$ac_dir/install-sh"; then
3147 ac_aux_dir=$ac_dir
3148 ac_install_sh="$ac_aux_dir/install-sh -c"
3149 break
3150 elif test -f "$ac_dir/install.sh"; then
3151 ac_aux_dir=$ac_dir
3152 ac_install_sh="$ac_aux_dir/install.sh -c"
3153 break
3154 elif test -f "$ac_dir/shtool"; then
3155 ac_aux_dir=$ac_dir
3156 ac_install_sh="$ac_aux_dir/shtool install -c"
3157 break
3159 done
3160 if test -z "$ac_aux_dir"; then
3161 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3164 # These three variables are undocumented and unsupported,
3165 # and are intended to be withdrawn in a future Autoconf release.
3166 # They can cause serious problems if a builder's source tree is in a directory
3167 # whose full name contains unusual characters.
3168 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3169 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3170 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3173 # Make sure we can run config.sub.
3174 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3175 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3178 $as_echo_n "checking build system type... " >&6; }
3179 if ${ac_cv_build+:} false; then :
3180 $as_echo_n "(cached) " >&6
3181 else
3182 ac_build_alias=$build_alias
3183 test "x$ac_build_alias" = x &&
3184 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3185 test "x$ac_build_alias" = x &&
3186 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3187 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3188 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3192 $as_echo "$ac_cv_build" >&6; }
3193 case $ac_cv_build in
3194 *-*-*) ;;
3195 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3196 esac
3197 build=$ac_cv_build
3198 ac_save_IFS=$IFS; IFS='-'
3199 set x $ac_cv_build
3200 shift
3201 build_cpu=$1
3202 build_vendor=$2
3203 shift; shift
3204 # Remember, the first character of IFS is used to create $*,
3205 # except with old shells:
3206 build_os=$*
3207 IFS=$ac_save_IFS
3208 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3212 $as_echo_n "checking host system type... " >&6; }
3213 if ${ac_cv_host+:} false; then :
3214 $as_echo_n "(cached) " >&6
3215 else
3216 if test "x$host_alias" = x; then
3217 ac_cv_host=$ac_cv_build
3218 else
3219 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3220 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3225 $as_echo "$ac_cv_host" >&6; }
3226 case $ac_cv_host in
3227 *-*-*) ;;
3228 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3229 esac
3230 host=$ac_cv_host
3231 ac_save_IFS=$IFS; IFS='-'
3232 set x $ac_cv_host
3233 shift
3234 host_cpu=$1
3235 host_vendor=$2
3236 shift; shift
3237 # Remember, the first character of IFS is used to create $*,
3238 # except with old shells:
3239 host_os=$*
3240 IFS=$ac_save_IFS
3241 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3245 $as_echo_n "checking target system type... " >&6; }
3246 if ${ac_cv_target+:} false; then :
3247 $as_echo_n "(cached) " >&6
3248 else
3249 if test "x$target_alias" = x; then
3250 ac_cv_target=$ac_cv_host
3251 else
3252 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3253 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3258 $as_echo "$ac_cv_target" >&6; }
3259 case $ac_cv_target in
3260 *-*-*) ;;
3261 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
3262 esac
3263 target=$ac_cv_target
3264 ac_save_IFS=$IFS; IFS='-'
3265 set x $ac_cv_target
3266 shift
3267 target_cpu=$1
3268 target_vendor=$2
3269 shift; shift
3270 # Remember, the first character of IFS is used to create $*,
3271 # except with old shells:
3272 target_os=$*
3273 IFS=$ac_save_IFS
3274 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3277 # The aliases save the names the user supplied, while $host etc.
3278 # will get canonicalized.
3279 test -n "$target_alias" &&
3280 test "$program_prefix$program_suffix$program_transform_name" = \
3281 NONENONEs,x,x, &&
3282 program_prefix=${target_alias}-
3284 target_alias=${target_alias-$host_alias}
3286 # Handy for debugging:
3287 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3289 if test "$build" != "$host"; then
3290 # We are being configured with some form of cross compiler.
3291 GLIBCXX_IS_NATIVE=false
3292 case "$host","$target" in
3293 # Darwin crosses can use the host system's libraries and headers,
3294 # because of the fat library support. Of course, it must be the
3295 # same version of Darwin on both sides. Allow the user to
3296 # just say --target=foo-darwin without a version number to mean
3297 # "the version on this system".
3298 *-*-darwin*,*-*-darwin*)
3299 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3300 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3301 if test $hostos = $targetos || test $targetos = darwin ; then
3302 GLIBCXX_IS_NATIVE=true
3309 esac
3310 else
3311 GLIBCXX_IS_NATIVE=true
3314 # In the case that we're building without headers, we won't have <stdio.h>
3315 # available. In these cases, we have to instruct autotools to never include
3316 # <stdio.h> as a part of default headers.
3318 if test "x$with_headers" = "xno"; then
3319 ac_includes_default=`echo "$ac_includes_default" | sed '/^#include <stdio.h>$/d'`
3323 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3324 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3325 # 1.x: minimum required version
3326 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3327 # of other PACKAGE_* variables will, however, and there's nothing
3328 # we can do about that; they come from AC_INIT).
3329 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3330 # file in the top srcdir, etc, etc), so stop complaining.
3331 # no-dependencies: turns off auto dependency generation (just for now)
3332 # no-dist: we don't want 'dist' and related rules.
3333 # -Wall: turns on all automake warnings...
3334 # -Wno-portability: ...except this one, since GNU make is now required.
3335 am__api_version='1.15'
3337 # Find a good install program. We prefer a C program (faster),
3338 # so one script is as good as another. But avoid the broken or
3339 # incompatible versions:
3340 # SysV /etc/install, /usr/sbin/install
3341 # SunOS /usr/etc/install
3342 # IRIX /sbin/install
3343 # AIX /bin/install
3344 # AmigaOS /C/install, which installs bootblocks on floppy discs
3345 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3346 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3347 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3348 # OS/2's system install, which has a completely different semantic
3349 # ./install, which can be erroneously created by make from ./install.sh.
3350 # Reject install programs that cannot install multiple files.
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3352 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3353 if test -z "$INSTALL"; then
3354 if ${ac_cv_path_install+:} false; then :
3355 $as_echo_n "(cached) " >&6
3356 else
3357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3358 for as_dir in $PATH
3360 IFS=$as_save_IFS
3361 test -z "$as_dir" && as_dir=.
3362 # Account for people who put trailing slashes in PATH elements.
3363 case $as_dir/ in #((
3364 ./ | .// | /[cC]/* | \
3365 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3366 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3367 /usr/ucb/* ) ;;
3369 # OSF1 and SCO ODT 3.0 have their own names for install.
3370 # Don't use installbsd from OSF since it installs stuff as root
3371 # by default.
3372 for ac_prog in ginstall scoinst install; do
3373 for ac_exec_ext in '' $ac_executable_extensions; do
3374 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3375 if test $ac_prog = install &&
3376 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3377 # AIX install. It has an incompatible calling convention.
3379 elif test $ac_prog = install &&
3380 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3381 # program-specific install script used by HP pwplus--don't use.
3383 else
3384 rm -rf conftest.one conftest.two conftest.dir
3385 echo one > conftest.one
3386 echo two > conftest.two
3387 mkdir conftest.dir
3388 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3389 test -s conftest.one && test -s conftest.two &&
3390 test -s conftest.dir/conftest.one &&
3391 test -s conftest.dir/conftest.two
3392 then
3393 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3394 break 3
3398 done
3399 done
3401 esac
3403 done
3404 IFS=$as_save_IFS
3406 rm -rf conftest.one conftest.two conftest.dir
3409 if test "${ac_cv_path_install+set}" = set; then
3410 INSTALL=$ac_cv_path_install
3411 else
3412 # As a last resort, use the slow shell script. Don't cache a
3413 # value for INSTALL within a source directory, because that will
3414 # break other packages using the cache if that directory is
3415 # removed, or if the value is a relative name.
3416 INSTALL=$ac_install_sh
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3420 $as_echo "$INSTALL" >&6; }
3422 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3423 # It thinks the first close brace ends the variable substitution.
3424 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3426 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3428 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3431 $as_echo_n "checking whether build environment is sane... " >&6; }
3432 # Reject unsafe characters in $srcdir or the absolute working directory
3433 # name. Accept space and tab only in the latter.
3434 am_lf='
3436 case `pwd` in
3437 *[\\\"\#\$\&\'\`$am_lf]*)
3438 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3439 esac
3440 case $srcdir in
3441 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3442 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3443 esac
3445 # Do 'set' in a subshell so we don't clobber the current shell's
3446 # arguments. Must try -L first in case configure is actually a
3447 # symlink; some systems play weird games with the mod time of symlinks
3448 # (eg FreeBSD returns the mod time of the symlink's containing
3449 # directory).
3450 if (
3451 am_has_slept=no
3452 for am_try in 1 2; do
3453 echo "timestamp, slept: $am_has_slept" > conftest.file
3454 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3455 if test "$*" = "X"; then
3456 # -L didn't work.
3457 set X `ls -t "$srcdir/configure" conftest.file`
3459 if test "$*" != "X $srcdir/configure conftest.file" \
3460 && test "$*" != "X conftest.file $srcdir/configure"; then
3462 # If neither matched, then we have a broken ls. This can happen
3463 # if, for instance, CONFIG_SHELL is bash and it inherits a
3464 # broken ls alias from the environment. This has actually
3465 # happened. Such a system could not be considered "sane".
3466 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3467 alias in your environment" "$LINENO" 5
3469 if test "$2" = conftest.file || test $am_try -eq 2; then
3470 break
3472 # Just in case.
3473 sleep 1
3474 am_has_slept=yes
3475 done
3476 test "$2" = conftest.file
3478 then
3479 # Ok.
3481 else
3482 as_fn_error $? "newly created file is older than distributed files!
3483 Check your system clock" "$LINENO" 5
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3486 $as_echo "yes" >&6; }
3487 # If we didn't sleep, we still need to ensure time stamps of config.status and
3488 # generated files are strictly newer.
3489 am_sleep_pid=
3490 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3491 ( sleep 1 ) &
3492 am_sleep_pid=$!
3495 rm -f conftest.file
3497 test "$program_prefix" != NONE &&
3498 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3499 # Use a double $ so make ignores it.
3500 test "$program_suffix" != NONE &&
3501 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3502 # Double any \ or $.
3503 # By default was `s,x,x', remove it if useless.
3504 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3505 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3507 # Expand $ac_aux_dir to an absolute path.
3508 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3510 if test x"${MISSING+set}" != xset; then
3511 case $am_aux_dir in
3512 *\ * | *\ *)
3513 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3515 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3516 esac
3518 # Use eval to expand $SHELL
3519 if eval "$MISSING --is-lightweight"; then
3520 am_missing_run="$MISSING "
3521 else
3522 am_missing_run=
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3524 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3527 if test x"${install_sh+set}" != xset; then
3528 case $am_aux_dir in
3529 *\ * | *\ *)
3530 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3532 install_sh="\${SHELL} $am_aux_dir/install-sh"
3533 esac
3536 # Installed binaries are usually stripped using 'strip' when the user
3537 # run "make install-strip". However 'strip' might not be the right
3538 # tool to use in cross-compilation environments, therefore Automake
3539 # will honor the 'STRIP' environment variable to overrule this program.
3540 if test "$cross_compiling" != no; then
3541 if test -n "$ac_tool_prefix"; then
3542 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3543 set dummy ${ac_tool_prefix}strip; ac_word=$2
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3545 $as_echo_n "checking for $ac_word... " >&6; }
3546 if ${ac_cv_prog_STRIP+:} false; then :
3547 $as_echo_n "(cached) " >&6
3548 else
3549 if test -n "$STRIP"; then
3550 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3551 else
3552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3553 for as_dir in $PATH
3555 IFS=$as_save_IFS
3556 test -z "$as_dir" && as_dir=.
3557 for ac_exec_ext in '' $ac_executable_extensions; do
3558 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3559 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3561 break 2
3563 done
3564 done
3565 IFS=$as_save_IFS
3569 STRIP=$ac_cv_prog_STRIP
3570 if test -n "$STRIP"; then
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3572 $as_echo "$STRIP" >&6; }
3573 else
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3575 $as_echo "no" >&6; }
3580 if test -z "$ac_cv_prog_STRIP"; then
3581 ac_ct_STRIP=$STRIP
3582 # Extract the first word of "strip", so it can be a program name with args.
3583 set dummy strip; ac_word=$2
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3585 $as_echo_n "checking for $ac_word... " >&6; }
3586 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3587 $as_echo_n "(cached) " >&6
3588 else
3589 if test -n "$ac_ct_STRIP"; then
3590 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3591 else
3592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3593 for as_dir in $PATH
3595 IFS=$as_save_IFS
3596 test -z "$as_dir" && as_dir=.
3597 for ac_exec_ext in '' $ac_executable_extensions; do
3598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3599 ac_cv_prog_ac_ct_STRIP="strip"
3600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3601 break 2
3603 done
3604 done
3605 IFS=$as_save_IFS
3609 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3610 if test -n "$ac_ct_STRIP"; then
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3612 $as_echo "$ac_ct_STRIP" >&6; }
3613 else
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3615 $as_echo "no" >&6; }
3618 if test "x$ac_ct_STRIP" = x; then
3619 STRIP=":"
3620 else
3621 case $cross_compiling:$ac_tool_warned in
3622 yes:)
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3624 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3625 ac_tool_warned=yes ;;
3626 esac
3627 STRIP=$ac_ct_STRIP
3629 else
3630 STRIP="$ac_cv_prog_STRIP"
3634 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3637 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3638 if test -z "$MKDIR_P"; then
3639 if ${ac_cv_path_mkdir+:} false; then :
3640 $as_echo_n "(cached) " >&6
3641 else
3642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3643 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3645 IFS=$as_save_IFS
3646 test -z "$as_dir" && as_dir=.
3647 for ac_prog in mkdir gmkdir; do
3648 for ac_exec_ext in '' $ac_executable_extensions; do
3649 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3650 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3651 'mkdir (GNU coreutils) '* | \
3652 'mkdir (coreutils) '* | \
3653 'mkdir (fileutils) '4.1*)
3654 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3655 break 3;;
3656 esac
3657 done
3658 done
3659 done
3660 IFS=$as_save_IFS
3664 test -d ./--version && rmdir ./--version
3665 if test "${ac_cv_path_mkdir+set}" = set; then
3666 MKDIR_P="$ac_cv_path_mkdir -p"
3667 else
3668 # As a last resort, use the slow shell script. Don't cache a
3669 # value for MKDIR_P within a source directory, because that will
3670 # break other packages using the cache if that directory is
3671 # removed, or if the value is a relative name.
3672 MKDIR_P="$ac_install_sh -d"
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3676 $as_echo "$MKDIR_P" >&6; }
3678 for ac_prog in gawk mawk nawk awk
3680 # Extract the first word of "$ac_prog", so it can be a program name with args.
3681 set dummy $ac_prog; ac_word=$2
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3683 $as_echo_n "checking for $ac_word... " >&6; }
3684 if ${ac_cv_prog_AWK+:} false; then :
3685 $as_echo_n "(cached) " >&6
3686 else
3687 if test -n "$AWK"; then
3688 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3689 else
3690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3691 for as_dir in $PATH
3693 IFS=$as_save_IFS
3694 test -z "$as_dir" && as_dir=.
3695 for ac_exec_ext in '' $ac_executable_extensions; do
3696 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3697 ac_cv_prog_AWK="$ac_prog"
3698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3699 break 2
3701 done
3702 done
3703 IFS=$as_save_IFS
3707 AWK=$ac_cv_prog_AWK
3708 if test -n "$AWK"; then
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3710 $as_echo "$AWK" >&6; }
3711 else
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3713 $as_echo "no" >&6; }
3717 test -n "$AWK" && break
3718 done
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3721 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3722 set x ${MAKE-make}
3723 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3724 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3725 $as_echo_n "(cached) " >&6
3726 else
3727 cat >conftest.make <<\_ACEOF
3728 SHELL = /bin/sh
3729 all:
3730 @echo '@@@%%%=$(MAKE)=@@@%%%'
3731 _ACEOF
3732 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3733 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3734 *@@@%%%=?*=@@@%%%*)
3735 eval ac_cv_prog_make_${ac_make}_set=yes;;
3737 eval ac_cv_prog_make_${ac_make}_set=no;;
3738 esac
3739 rm -f conftest.make
3741 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3743 $as_echo "yes" >&6; }
3744 SET_MAKE=
3745 else
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3747 $as_echo "no" >&6; }
3748 SET_MAKE="MAKE=${MAKE-make}"
3751 rm -rf .tst 2>/dev/null
3752 mkdir .tst 2>/dev/null
3753 if test -d .tst; then
3754 am__leading_dot=.
3755 else
3756 am__leading_dot=_
3758 rmdir .tst 2>/dev/null
3760 # Check whether --enable-silent-rules was given.
3761 if test "${enable_silent_rules+set}" = set; then :
3762 enableval=$enable_silent_rules;
3765 case $enable_silent_rules in # (((
3766 yes) AM_DEFAULT_VERBOSITY=0;;
3767 no) AM_DEFAULT_VERBOSITY=1;;
3768 *) AM_DEFAULT_VERBOSITY=1;;
3769 esac
3770 am_make=${MAKE-make}
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3772 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3773 if ${am_cv_make_support_nested_variables+:} false; then :
3774 $as_echo_n "(cached) " >&6
3775 else
3776 if $as_echo 'TRUE=$(BAR$(V))
3777 BAR0=false
3778 BAR1=true
3780 am__doit:
3781 @$(TRUE)
3782 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3783 am_cv_make_support_nested_variables=yes
3784 else
3785 am_cv_make_support_nested_variables=no
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3789 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3790 if test $am_cv_make_support_nested_variables = yes; then
3791 AM_V='$(V)'
3792 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3793 else
3794 AM_V=$AM_DEFAULT_VERBOSITY
3795 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3797 AM_BACKSLASH='\'
3799 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3800 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3801 # is not polluted with repeated "-I."
3802 am__isrc=' -I$(srcdir)'
3803 # test to see if srcdir already configured
3804 if test -f $srcdir/config.status; then
3805 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3809 # test whether we have cygpath
3810 if test -z "$CYGPATH_W"; then
3811 if (cygpath --version) >/dev/null 2>/dev/null; then
3812 CYGPATH_W='cygpath -w'
3813 else
3814 CYGPATH_W=echo
3819 # Define the identity of the package.
3820 PACKAGE='libstdc++'
3821 VERSION='version-unused'
3824 # Some tools Automake needs.
3826 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3829 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3832 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3835 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3838 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3840 # For better backward compatibility. To be removed once Automake 1.9.x
3841 # dies out for good. For more background, see:
3842 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3843 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3844 mkdir_p='$(MKDIR_P)'
3846 # We need awk for the "check" target (and possibly the TAP driver). The
3847 # system "awk" is bad on some platforms.
3848 # Always define AMTAR for backward compatibility. Yes, it's still used
3849 # in the wild :-( We should find a proper way to deprecate it ...
3850 AMTAR='$${TAR-tar}'
3853 # We'll loop over all known methods to create a tar archive until one works.
3854 _am_tools='gnutar pax cpio none'
3856 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3863 # POSIX will say in a future version that running "rm -f" with no argument
3864 # is OK; and we want to be able to make that assumption in our Makefile
3865 # recipes. So use an aggressive probe to check that the usage we want is
3866 # actually supported "in the wild" to an acceptable degree.
3867 # See automake bug#10828.
3868 # To make any issue more visible, cause the running configure to be aborted
3869 # by default if the 'rm' program in use doesn't match our expectations; the
3870 # user can still override this though.
3871 if rm -f && rm -fr && rm -rf; then : OK; else
3872 cat >&2 <<'END'
3873 Oops!
3875 Your 'rm' program seems unable to run without file operands specified
3876 on the command line, even when the '-f' option is present. This is contrary
3877 to the behaviour of most rm programs out there, and not conforming with
3878 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3880 Please tell bug-automake@gnu.org about your system, including the value
3881 of your $PATH and any error possibly output before this message. This
3882 can help us improve future automake versions.
3885 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3886 echo 'Configuration will proceed anyway, since you have set the' >&2
3887 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3888 echo >&2
3889 else
3890 cat >&2 <<'END'
3891 Aborting the configuration process, to ensure you take notice of the issue.
3893 You can download and install GNU coreutils to get an 'rm' implementation
3894 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3896 If you want to complete the configuration process using your problematic
3897 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3898 to "yes", and re-run configure.
3901 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3908 # -fno-builtin must be present here so that a non-conflicting form of
3909 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3911 save_CXXFLAGS="$CXXFLAGS"
3912 CXXFLAGS="$CXXFLAGS -fno-builtin"
3913 ac_ext=c
3914 ac_cpp='$CPP $CPPFLAGS'
3915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3918 if test -n "$ac_tool_prefix"; then
3919 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3920 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3922 $as_echo_n "checking for $ac_word... " >&6; }
3923 if ${ac_cv_prog_CC+:} false; then :
3924 $as_echo_n "(cached) " >&6
3925 else
3926 if test -n "$CC"; then
3927 ac_cv_prog_CC="$CC" # Let the user override the test.
3928 else
3929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3930 for as_dir in $PATH
3932 IFS=$as_save_IFS
3933 test -z "$as_dir" && as_dir=.
3934 for ac_exec_ext in '' $ac_executable_extensions; do
3935 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3936 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3938 break 2
3940 done
3941 done
3942 IFS=$as_save_IFS
3946 CC=$ac_cv_prog_CC
3947 if test -n "$CC"; then
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3949 $as_echo "$CC" >&6; }
3950 else
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3952 $as_echo "no" >&6; }
3957 if test -z "$ac_cv_prog_CC"; then
3958 ac_ct_CC=$CC
3959 # Extract the first word of "gcc", so it can be a program name with args.
3960 set dummy gcc; ac_word=$2
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3962 $as_echo_n "checking for $ac_word... " >&6; }
3963 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3964 $as_echo_n "(cached) " >&6
3965 else
3966 if test -n "$ac_ct_CC"; then
3967 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3968 else
3969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3970 for as_dir in $PATH
3972 IFS=$as_save_IFS
3973 test -z "$as_dir" && as_dir=.
3974 for ac_exec_ext in '' $ac_executable_extensions; do
3975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3976 ac_cv_prog_ac_ct_CC="gcc"
3977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3978 break 2
3980 done
3981 done
3982 IFS=$as_save_IFS
3986 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3987 if test -n "$ac_ct_CC"; then
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3989 $as_echo "$ac_ct_CC" >&6; }
3990 else
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3992 $as_echo "no" >&6; }
3995 if test "x$ac_ct_CC" = x; then
3996 CC=""
3997 else
3998 case $cross_compiling:$ac_tool_warned in
3999 yes:)
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4001 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4002 ac_tool_warned=yes ;;
4003 esac
4004 CC=$ac_ct_CC
4006 else
4007 CC="$ac_cv_prog_CC"
4010 if test -z "$CC"; then
4011 if test -n "$ac_tool_prefix"; then
4012 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4013 set dummy ${ac_tool_prefix}cc; ac_word=$2
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4015 $as_echo_n "checking for $ac_word... " >&6; }
4016 if ${ac_cv_prog_CC+:} false; then :
4017 $as_echo_n "(cached) " >&6
4018 else
4019 if test -n "$CC"; then
4020 ac_cv_prog_CC="$CC" # Let the user override the test.
4021 else
4022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4023 for as_dir in $PATH
4025 IFS=$as_save_IFS
4026 test -z "$as_dir" && as_dir=.
4027 for ac_exec_ext in '' $ac_executable_extensions; do
4028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4029 ac_cv_prog_CC="${ac_tool_prefix}cc"
4030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4031 break 2
4033 done
4034 done
4035 IFS=$as_save_IFS
4039 CC=$ac_cv_prog_CC
4040 if test -n "$CC"; then
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4042 $as_echo "$CC" >&6; }
4043 else
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4045 $as_echo "no" >&6; }
4051 if test -z "$CC"; then
4052 # Extract the first word of "cc", so it can be a program name with args.
4053 set dummy cc; ac_word=$2
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4055 $as_echo_n "checking for $ac_word... " >&6; }
4056 if ${ac_cv_prog_CC+:} false; then :
4057 $as_echo_n "(cached) " >&6
4058 else
4059 if test -n "$CC"; then
4060 ac_cv_prog_CC="$CC" # Let the user override the test.
4061 else
4062 ac_prog_rejected=no
4063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4064 for as_dir in $PATH
4066 IFS=$as_save_IFS
4067 test -z "$as_dir" && as_dir=.
4068 for ac_exec_ext in '' $ac_executable_extensions; do
4069 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4070 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4071 ac_prog_rejected=yes
4072 continue
4074 ac_cv_prog_CC="cc"
4075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4076 break 2
4078 done
4079 done
4080 IFS=$as_save_IFS
4082 if test $ac_prog_rejected = yes; then
4083 # We found a bogon in the path, so make sure we never use it.
4084 set dummy $ac_cv_prog_CC
4085 shift
4086 if test $# != 0; then
4087 # We chose a different compiler from the bogus one.
4088 # However, it has the same basename, so the bogon will be chosen
4089 # first if we set CC to just the basename; use the full file name.
4090 shift
4091 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4096 CC=$ac_cv_prog_CC
4097 if test -n "$CC"; then
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4099 $as_echo "$CC" >&6; }
4100 else
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4102 $as_echo "no" >&6; }
4107 if test -z "$CC"; then
4108 if test -n "$ac_tool_prefix"; then
4109 for ac_prog in cl.exe
4111 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4112 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4114 $as_echo_n "checking for $ac_word... " >&6; }
4115 if ${ac_cv_prog_CC+:} false; then :
4116 $as_echo_n "(cached) " >&6
4117 else
4118 if test -n "$CC"; then
4119 ac_cv_prog_CC="$CC" # Let the user override the test.
4120 else
4121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4122 for as_dir in $PATH
4124 IFS=$as_save_IFS
4125 test -z "$as_dir" && as_dir=.
4126 for ac_exec_ext in '' $ac_executable_extensions; do
4127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4128 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4130 break 2
4132 done
4133 done
4134 IFS=$as_save_IFS
4138 CC=$ac_cv_prog_CC
4139 if test -n "$CC"; then
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4141 $as_echo "$CC" >&6; }
4142 else
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4144 $as_echo "no" >&6; }
4148 test -n "$CC" && break
4149 done
4151 if test -z "$CC"; then
4152 ac_ct_CC=$CC
4153 for ac_prog in cl.exe
4155 # Extract the first word of "$ac_prog", so it can be a program name with args.
4156 set dummy $ac_prog; ac_word=$2
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4158 $as_echo_n "checking for $ac_word... " >&6; }
4159 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4160 $as_echo_n "(cached) " >&6
4161 else
4162 if test -n "$ac_ct_CC"; then
4163 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4164 else
4165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4166 for as_dir in $PATH
4168 IFS=$as_save_IFS
4169 test -z "$as_dir" && as_dir=.
4170 for ac_exec_ext in '' $ac_executable_extensions; do
4171 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4172 ac_cv_prog_ac_ct_CC="$ac_prog"
4173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4174 break 2
4176 done
4177 done
4178 IFS=$as_save_IFS
4182 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4183 if test -n "$ac_ct_CC"; then
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4185 $as_echo "$ac_ct_CC" >&6; }
4186 else
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4188 $as_echo "no" >&6; }
4192 test -n "$ac_ct_CC" && break
4193 done
4195 if test "x$ac_ct_CC" = x; then
4196 CC=""
4197 else
4198 case $cross_compiling:$ac_tool_warned in
4199 yes:)
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4201 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4202 ac_tool_warned=yes ;;
4203 esac
4204 CC=$ac_ct_CC
4211 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4212 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4213 as_fn_error $? "no acceptable C compiler found in \$PATH
4214 See \`config.log' for more details" "$LINENO" 5; }
4216 # Provide some information about the compiler.
4217 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4218 set X $ac_compile
4219 ac_compiler=$2
4220 for ac_option in --version -v -V -qversion; do
4221 { { ac_try="$ac_compiler $ac_option >&5"
4222 case "(($ac_try" in
4223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4224 *) ac_try_echo=$ac_try;;
4225 esac
4226 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4227 $as_echo "$ac_try_echo"; } >&5
4228 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4229 ac_status=$?
4230 if test -s conftest.err; then
4231 sed '10a\
4232 ... rest of stderr output deleted ...
4233 10q' conftest.err >conftest.er1
4234 cat conftest.er1 >&5
4236 rm -f conftest.er1 conftest.err
4237 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4238 test $ac_status = 0; }
4239 done
4241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4242 /* end confdefs.h. */
4243 #include <stdio.h>
4245 main ()
4247 printf ("hello world\n");
4249 return 0;
4251 _ACEOF
4252 # FIXME: Cleanup?
4253 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4254 (eval $ac_link) 2>&5
4255 ac_status=$?
4256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4257 test $ac_status = 0; }; then :
4258 gcc_no_link=no
4259 else
4260 gcc_no_link=yes
4262 if test x$gcc_no_link = xyes; then
4263 # Setting cross_compile will disable run tests; it will
4264 # also disable AC_CHECK_FILE but that's generally
4265 # correct if we can't link.
4266 cross_compiling=yes
4267 EXEEXT=
4268 else
4269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4270 /* end confdefs.h. */
4273 main ()
4277 return 0;
4279 _ACEOF
4280 ac_clean_files_save=$ac_clean_files
4281 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4282 # Try to create an executable without -o first, disregard a.out.
4283 # It will help us diagnose broken compilers, and finding out an intuition
4284 # of exeext.
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4286 $as_echo_n "checking whether the C compiler works... " >&6; }
4287 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4289 # The possible output files:
4290 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4292 ac_rmfiles=
4293 for ac_file in $ac_files
4295 case $ac_file in
4296 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4297 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4298 esac
4299 done
4300 rm -f $ac_rmfiles
4302 if { { ac_try="$ac_link_default"
4303 case "(($ac_try" in
4304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4305 *) ac_try_echo=$ac_try;;
4306 esac
4307 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4308 $as_echo "$ac_try_echo"; } >&5
4309 (eval "$ac_link_default") 2>&5
4310 ac_status=$?
4311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4312 test $ac_status = 0; }; then :
4313 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4314 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4315 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4316 # so that the user can short-circuit this test for compilers unknown to
4317 # Autoconf.
4318 for ac_file in $ac_files ''
4320 test -f "$ac_file" || continue
4321 case $ac_file in
4322 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4324 [ab].out )
4325 # We found the default executable, but exeext='' is most
4326 # certainly right.
4327 break;;
4328 *.* )
4329 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4330 then :; else
4331 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4333 # We set ac_cv_exeext here because the later test for it is not
4334 # safe: cross compilers may not add the suffix if given an `-o'
4335 # argument, so we may need to know it at that point already.
4336 # Even if this section looks crufty: it has the advantage of
4337 # actually working.
4338 break;;
4340 break;;
4341 esac
4342 done
4343 test "$ac_cv_exeext" = no && ac_cv_exeext=
4345 else
4346 ac_file=''
4348 if test -z "$ac_file"; then :
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4350 $as_echo "no" >&6; }
4351 $as_echo "$as_me: failed program was:" >&5
4352 sed 's/^/| /' conftest.$ac_ext >&5
4354 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4355 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4356 as_fn_error 77 "C compiler cannot create executables
4357 See \`config.log' for more details" "$LINENO" 5; }
4358 else
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4360 $as_echo "yes" >&6; }
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4363 $as_echo_n "checking for C compiler default output file name... " >&6; }
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4365 $as_echo "$ac_file" >&6; }
4366 ac_exeext=$ac_cv_exeext
4368 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4369 ac_clean_files=$ac_clean_files_save
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4371 $as_echo_n "checking for suffix of executables... " >&6; }
4372 if { { ac_try="$ac_link"
4373 case "(($ac_try" in
4374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4375 *) ac_try_echo=$ac_try;;
4376 esac
4377 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4378 $as_echo "$ac_try_echo"; } >&5
4379 (eval "$ac_link") 2>&5
4380 ac_status=$?
4381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4382 test $ac_status = 0; }; then :
4383 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4384 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4385 # work properly (i.e., refer to `conftest.exe'), while it won't with
4386 # `rm'.
4387 for ac_file in conftest.exe conftest conftest.*; do
4388 test -f "$ac_file" || continue
4389 case $ac_file in
4390 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4391 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4392 break;;
4393 * ) break;;
4394 esac
4395 done
4396 else
4397 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4398 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4399 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4400 See \`config.log' for more details" "$LINENO" 5; }
4402 rm -f conftest conftest$ac_cv_exeext
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4404 $as_echo "$ac_cv_exeext" >&6; }
4406 rm -f conftest.$ac_ext
4407 EXEEXT=$ac_cv_exeext
4408 ac_exeext=$EXEEXT
4409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4410 /* end confdefs.h. */
4411 #include <stdio.h>
4413 main ()
4415 FILE *f = fopen ("conftest.out", "w");
4416 return ferror (f) || fclose (f) != 0;
4419 return 0;
4421 _ACEOF
4422 ac_clean_files="$ac_clean_files conftest.out"
4423 # Check that the compiler produces executables we can run. If not, either
4424 # the compiler is broken, or we cross compile.
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4426 $as_echo_n "checking whether we are cross compiling... " >&6; }
4427 if test "$cross_compiling" != yes; then
4428 { { ac_try="$ac_link"
4429 case "(($ac_try" in
4430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4431 *) ac_try_echo=$ac_try;;
4432 esac
4433 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4434 $as_echo "$ac_try_echo"; } >&5
4435 (eval "$ac_link") 2>&5
4436 ac_status=$?
4437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4438 test $ac_status = 0; }
4439 if { ac_try='./conftest$ac_cv_exeext'
4440 { { case "(($ac_try" in
4441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4442 *) ac_try_echo=$ac_try;;
4443 esac
4444 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4445 $as_echo "$ac_try_echo"; } >&5
4446 (eval "$ac_try") 2>&5
4447 ac_status=$?
4448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4449 test $ac_status = 0; }; }; then
4450 cross_compiling=no
4451 else
4452 if test "$cross_compiling" = maybe; then
4453 cross_compiling=yes
4454 else
4455 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4456 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4457 as_fn_error $? "cannot run C compiled programs.
4458 If you meant to cross compile, use \`--host'.
4459 See \`config.log' for more details" "$LINENO" 5; }
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4464 $as_echo "$cross_compiling" >&6; }
4466 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4467 ac_clean_files=$ac_clean_files_save
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4470 $as_echo_n "checking for suffix of object files... " >&6; }
4471 if ${ac_cv_objext+:} false; then :
4472 $as_echo_n "(cached) " >&6
4473 else
4474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4475 /* end confdefs.h. */
4478 main ()
4482 return 0;
4484 _ACEOF
4485 rm -f conftest.o conftest.obj
4486 if { { ac_try="$ac_compile"
4487 case "(($ac_try" in
4488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4489 *) ac_try_echo=$ac_try;;
4490 esac
4491 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4492 $as_echo "$ac_try_echo"; } >&5
4493 (eval "$ac_compile") 2>&5
4494 ac_status=$?
4495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4496 test $ac_status = 0; }; then :
4497 for ac_file in conftest.o conftest.obj conftest.*; do
4498 test -f "$ac_file" || continue;
4499 case $ac_file in
4500 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4501 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4502 break;;
4503 esac
4504 done
4505 else
4506 $as_echo "$as_me: failed program was:" >&5
4507 sed 's/^/| /' conftest.$ac_ext >&5
4509 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4510 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4511 as_fn_error $? "cannot compute suffix of object files: cannot compile
4512 See \`config.log' for more details" "$LINENO" 5; }
4514 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4517 $as_echo "$ac_cv_objext" >&6; }
4518 OBJEXT=$ac_cv_objext
4519 ac_objext=$OBJEXT
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4521 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4522 if ${ac_cv_c_compiler_gnu+:} false; then :
4523 $as_echo_n "(cached) " >&6
4524 else
4525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4526 /* end confdefs.h. */
4529 main ()
4531 #ifndef __GNUC__
4532 choke me
4533 #endif
4536 return 0;
4538 _ACEOF
4539 if ac_fn_c_try_compile "$LINENO"; then :
4540 ac_compiler_gnu=yes
4541 else
4542 ac_compiler_gnu=no
4544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4545 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4549 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4550 if test $ac_compiler_gnu = yes; then
4551 GCC=yes
4552 else
4553 GCC=
4555 ac_test_CFLAGS=${CFLAGS+set}
4556 ac_save_CFLAGS=$CFLAGS
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4558 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4559 if ${ac_cv_prog_cc_g+:} false; then :
4560 $as_echo_n "(cached) " >&6
4561 else
4562 ac_save_c_werror_flag=$ac_c_werror_flag
4563 ac_c_werror_flag=yes
4564 ac_cv_prog_cc_g=no
4565 CFLAGS="-g"
4566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4567 /* end confdefs.h. */
4570 main ()
4574 return 0;
4576 _ACEOF
4577 if ac_fn_c_try_compile "$LINENO"; then :
4578 ac_cv_prog_cc_g=yes
4579 else
4580 CFLAGS=""
4581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4582 /* end confdefs.h. */
4585 main ()
4589 return 0;
4591 _ACEOF
4592 if ac_fn_c_try_compile "$LINENO"; then :
4594 else
4595 ac_c_werror_flag=$ac_save_c_werror_flag
4596 CFLAGS="-g"
4597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4598 /* end confdefs.h. */
4601 main ()
4605 return 0;
4607 _ACEOF
4608 if ac_fn_c_try_compile "$LINENO"; then :
4609 ac_cv_prog_cc_g=yes
4611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4616 ac_c_werror_flag=$ac_save_c_werror_flag
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4619 $as_echo "$ac_cv_prog_cc_g" >&6; }
4620 if test "$ac_test_CFLAGS" = set; then
4621 CFLAGS=$ac_save_CFLAGS
4622 elif test $ac_cv_prog_cc_g = yes; then
4623 if test "$GCC" = yes; then
4624 CFLAGS="-g -O2"
4625 else
4626 CFLAGS="-g"
4628 else
4629 if test "$GCC" = yes; then
4630 CFLAGS="-O2"
4631 else
4632 CFLAGS=
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4636 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4637 if ${ac_cv_prog_cc_c89+:} false; then :
4638 $as_echo_n "(cached) " >&6
4639 else
4640 ac_cv_prog_cc_c89=no
4641 ac_save_CC=$CC
4642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4643 /* end confdefs.h. */
4644 #include <stdarg.h>
4645 #include <stdio.h>
4646 struct stat;
4647 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4648 struct buf { int x; };
4649 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4650 static char *e (p, i)
4651 char **p;
4652 int i;
4654 return p[i];
4656 static char *f (char * (*g) (char **, int), char **p, ...)
4658 char *s;
4659 va_list v;
4660 va_start (v,p);
4661 s = g (p, va_arg (v,int));
4662 va_end (v);
4663 return s;
4666 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4667 function prototypes and stuff, but not '\xHH' hex character constants.
4668 These don't provoke an error unfortunately, instead are silently treated
4669 as 'x'. The following induces an error, until -std is added to get
4670 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4671 array size at least. It's necessary to write '\x00'==0 to get something
4672 that's true only with -std. */
4673 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4675 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4676 inside strings and character constants. */
4677 #define FOO(x) 'x'
4678 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4680 int test (int i, double x);
4681 struct s1 {int (*f) (int a);};
4682 struct s2 {int (*f) (double a);};
4683 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4684 int argc;
4685 char **argv;
4687 main ()
4689 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4691 return 0;
4693 _ACEOF
4694 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4695 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4697 CC="$ac_save_CC $ac_arg"
4698 if ac_fn_c_try_compile "$LINENO"; then :
4699 ac_cv_prog_cc_c89=$ac_arg
4701 rm -f core conftest.err conftest.$ac_objext
4702 test "x$ac_cv_prog_cc_c89" != "xno" && break
4703 done
4704 rm -f conftest.$ac_ext
4705 CC=$ac_save_CC
4708 # AC_CACHE_VAL
4709 case "x$ac_cv_prog_cc_c89" in
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4712 $as_echo "none needed" >&6; } ;;
4713 xno)
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4715 $as_echo "unsupported" >&6; } ;;
4717 CC="$CC $ac_cv_prog_cc_c89"
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4719 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4720 esac
4721 if test "x$ac_cv_prog_cc_c89" != xno; then :
4725 ac_ext=c
4726 ac_cpp='$CPP $CPPFLAGS'
4727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4731 ac_ext=c
4732 ac_cpp='$CPP $CPPFLAGS'
4733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4737 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4738 if ${am_cv_prog_cc_c_o+:} false; then :
4739 $as_echo_n "(cached) " >&6
4740 else
4741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4742 /* end confdefs.h. */
4745 main ()
4749 return 0;
4751 _ACEOF
4752 # Make sure it works both with $CC and with simple cc.
4753 # Following AC_PROG_CC_C_O, we do the test twice because some
4754 # compilers refuse to overwrite an existing .o file with -o,
4755 # though they will create one.
4756 am_cv_prog_cc_c_o=yes
4757 for am_i in 1 2; do
4758 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4759 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4760 ac_status=$?
4761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4762 (exit $ac_status); } \
4763 && test -f conftest2.$ac_objext; then
4764 : OK
4765 else
4766 am_cv_prog_cc_c_o=no
4767 break
4769 done
4770 rm -f core conftest*
4771 unset am_i
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4774 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4775 if test "$am_cv_prog_cc_c_o" != yes; then
4776 # Losing compiler, so override with the script.
4777 # FIXME: It is wrong to rewrite CC.
4778 # But if we don't then we get into trouble of one sort or another.
4779 # A longer-term fix would be to have automake use am__CC in this case,
4780 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4781 CC="$am_aux_dir/compile $CC"
4783 ac_ext=c
4784 ac_cpp='$CPP $CPPFLAGS'
4785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4790 ac_ext=cpp
4791 ac_cpp='$CXXCPP $CPPFLAGS'
4792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4795 if test -z "$CXX"; then
4796 if test -n "$CCC"; then
4797 CXX=$CCC
4798 else
4799 if test -n "$ac_tool_prefix"; then
4800 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4802 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4803 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4805 $as_echo_n "checking for $ac_word... " >&6; }
4806 if ${ac_cv_prog_CXX+:} false; then :
4807 $as_echo_n "(cached) " >&6
4808 else
4809 if test -n "$CXX"; then
4810 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4811 else
4812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4813 for as_dir in $PATH
4815 IFS=$as_save_IFS
4816 test -z "$as_dir" && as_dir=.
4817 for ac_exec_ext in '' $ac_executable_extensions; do
4818 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4819 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4821 break 2
4823 done
4824 done
4825 IFS=$as_save_IFS
4829 CXX=$ac_cv_prog_CXX
4830 if test -n "$CXX"; then
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4832 $as_echo "$CXX" >&6; }
4833 else
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4835 $as_echo "no" >&6; }
4839 test -n "$CXX" && break
4840 done
4842 if test -z "$CXX"; then
4843 ac_ct_CXX=$CXX
4844 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4846 # Extract the first word of "$ac_prog", so it can be a program name with args.
4847 set dummy $ac_prog; ac_word=$2
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4849 $as_echo_n "checking for $ac_word... " >&6; }
4850 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4851 $as_echo_n "(cached) " >&6
4852 else
4853 if test -n "$ac_ct_CXX"; then
4854 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4855 else
4856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4857 for as_dir in $PATH
4859 IFS=$as_save_IFS
4860 test -z "$as_dir" && as_dir=.
4861 for ac_exec_ext in '' $ac_executable_extensions; do
4862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4863 ac_cv_prog_ac_ct_CXX="$ac_prog"
4864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4865 break 2
4867 done
4868 done
4869 IFS=$as_save_IFS
4873 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4874 if test -n "$ac_ct_CXX"; then
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4876 $as_echo "$ac_ct_CXX" >&6; }
4877 else
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4879 $as_echo "no" >&6; }
4883 test -n "$ac_ct_CXX" && break
4884 done
4886 if test "x$ac_ct_CXX" = x; then
4887 CXX="g++"
4888 else
4889 case $cross_compiling:$ac_tool_warned in
4890 yes:)
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4892 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4893 ac_tool_warned=yes ;;
4894 esac
4895 CXX=$ac_ct_CXX
4901 # Provide some information about the compiler.
4902 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4903 set X $ac_compile
4904 ac_compiler=$2
4905 for ac_option in --version -v -V -qversion; do
4906 { { ac_try="$ac_compiler $ac_option >&5"
4907 case "(($ac_try" in
4908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4909 *) ac_try_echo=$ac_try;;
4910 esac
4911 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4912 $as_echo "$ac_try_echo"; } >&5
4913 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4914 ac_status=$?
4915 if test -s conftest.err; then
4916 sed '10a\
4917 ... rest of stderr output deleted ...
4918 10q' conftest.err >conftest.er1
4919 cat conftest.er1 >&5
4921 rm -f conftest.er1 conftest.err
4922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4923 test $ac_status = 0; }
4924 done
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4927 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4928 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4929 $as_echo_n "(cached) " >&6
4930 else
4931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4932 /* end confdefs.h. */
4935 main ()
4937 #ifndef __GNUC__
4938 choke me
4939 #endif
4942 return 0;
4944 _ACEOF
4945 if ac_fn_cxx_try_compile "$LINENO"; then :
4946 ac_compiler_gnu=yes
4947 else
4948 ac_compiler_gnu=no
4950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4951 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4955 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4956 if test $ac_compiler_gnu = yes; then
4957 GXX=yes
4958 else
4959 GXX=
4961 ac_test_CXXFLAGS=${CXXFLAGS+set}
4962 ac_save_CXXFLAGS=$CXXFLAGS
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4964 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4965 if ${ac_cv_prog_cxx_g+:} false; then :
4966 $as_echo_n "(cached) " >&6
4967 else
4968 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4969 ac_cxx_werror_flag=yes
4970 ac_cv_prog_cxx_g=no
4971 CXXFLAGS="-g"
4972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4973 /* end confdefs.h. */
4976 main ()
4980 return 0;
4982 _ACEOF
4983 if ac_fn_cxx_try_compile "$LINENO"; then :
4984 ac_cv_prog_cxx_g=yes
4985 else
4986 CXXFLAGS=""
4987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4988 /* end confdefs.h. */
4991 main ()
4995 return 0;
4997 _ACEOF
4998 if ac_fn_cxx_try_compile "$LINENO"; then :
5000 else
5001 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5002 CXXFLAGS="-g"
5003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5004 /* end confdefs.h. */
5007 main ()
5011 return 0;
5013 _ACEOF
5014 if ac_fn_cxx_try_compile "$LINENO"; then :
5015 ac_cv_prog_cxx_g=yes
5017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5022 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5025 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5026 if test "$ac_test_CXXFLAGS" = set; then
5027 CXXFLAGS=$ac_save_CXXFLAGS
5028 elif test $ac_cv_prog_cxx_g = yes; then
5029 if test "$GXX" = yes; then
5030 CXXFLAGS="-g -O2"
5031 else
5032 CXXFLAGS="-g"
5034 else
5035 if test "$GXX" = yes; then
5036 CXXFLAGS="-O2"
5037 else
5038 CXXFLAGS=
5041 ac_ext=c
5042 ac_cpp='$CPP $CPPFLAGS'
5043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5047 CXXFLAGS="$save_CXXFLAGS"
5050 # Check whether --enable-largefile was given.
5051 if test "${enable_largefile+set}" = set; then :
5052 enableval=$enable_largefile;
5055 if test "$enable_largefile" != no; then
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5058 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5059 if ${ac_cv_sys_largefile_CC+:} false; then :
5060 $as_echo_n "(cached) " >&6
5061 else
5062 ac_cv_sys_largefile_CC=no
5063 if test "$GCC" != yes; then
5064 ac_save_CC=$CC
5065 while :; do
5066 # IRIX 6.2 and later do not support large files by default,
5067 # so use the C compiler's -n32 option if that helps.
5068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5069 /* end confdefs.h. */
5070 #include <sys/types.h>
5071 /* Check that off_t can represent 2**63 - 1 correctly.
5072 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5073 since some C++ compilers masquerading as C compilers
5074 incorrectly reject 9223372036854775807. */
5075 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5076 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5077 && LARGE_OFF_T % 2147483647 == 1)
5078 ? 1 : -1];
5080 main ()
5084 return 0;
5086 _ACEOF
5087 if ac_fn_c_try_compile "$LINENO"; then :
5088 break
5090 rm -f core conftest.err conftest.$ac_objext
5091 CC="$CC -n32"
5092 if ac_fn_c_try_compile "$LINENO"; then :
5093 ac_cv_sys_largefile_CC=' -n32'; break
5095 rm -f core conftest.err conftest.$ac_objext
5096 break
5097 done
5098 CC=$ac_save_CC
5099 rm -f conftest.$ac_ext
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5103 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5104 if test "$ac_cv_sys_largefile_CC" != no; then
5105 CC=$CC$ac_cv_sys_largefile_CC
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5109 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5110 if ${ac_cv_sys_file_offset_bits+:} false; then :
5111 $as_echo_n "(cached) " >&6
5112 else
5113 while :; do
5114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5115 /* end confdefs.h. */
5116 #include <sys/types.h>
5117 /* Check that off_t can represent 2**63 - 1 correctly.
5118 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5119 since some C++ compilers masquerading as C compilers
5120 incorrectly reject 9223372036854775807. */
5121 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5122 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5123 && LARGE_OFF_T % 2147483647 == 1)
5124 ? 1 : -1];
5126 main ()
5130 return 0;
5132 _ACEOF
5133 if ac_fn_c_try_compile "$LINENO"; then :
5134 ac_cv_sys_file_offset_bits=no; break
5136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5138 /* end confdefs.h. */
5139 #define _FILE_OFFSET_BITS 64
5140 #include <sys/types.h>
5141 /* Check that off_t can represent 2**63 - 1 correctly.
5142 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5143 since some C++ compilers masquerading as C compilers
5144 incorrectly reject 9223372036854775807. */
5145 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5146 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5147 && LARGE_OFF_T % 2147483647 == 1)
5148 ? 1 : -1];
5150 main ()
5154 return 0;
5156 _ACEOF
5157 if ac_fn_c_try_compile "$LINENO"; then :
5158 ac_cv_sys_file_offset_bits=64; break
5160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5161 ac_cv_sys_file_offset_bits=unknown
5162 break
5163 done
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5166 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5167 case $ac_cv_sys_file_offset_bits in #(
5168 no | unknown) ;;
5170 cat >>confdefs.h <<_ACEOF
5171 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5172 _ACEOF
5174 esac
5175 rm -rf conftest*
5176 if test $ac_cv_sys_file_offset_bits = unknown; then
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5178 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5179 if ${ac_cv_sys_large_files+:} false; then :
5180 $as_echo_n "(cached) " >&6
5181 else
5182 while :; do
5183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5184 /* end confdefs.h. */
5185 #include <sys/types.h>
5186 /* Check that off_t can represent 2**63 - 1 correctly.
5187 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5188 since some C++ compilers masquerading as C compilers
5189 incorrectly reject 9223372036854775807. */
5190 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5191 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5192 && LARGE_OFF_T % 2147483647 == 1)
5193 ? 1 : -1];
5195 main ()
5199 return 0;
5201 _ACEOF
5202 if ac_fn_c_try_compile "$LINENO"; then :
5203 ac_cv_sys_large_files=no; break
5205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5207 /* end confdefs.h. */
5208 #define _LARGE_FILES 1
5209 #include <sys/types.h>
5210 /* Check that off_t can represent 2**63 - 1 correctly.
5211 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5212 since some C++ compilers masquerading as C compilers
5213 incorrectly reject 9223372036854775807. */
5214 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5215 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5216 && LARGE_OFF_T % 2147483647 == 1)
5217 ? 1 : -1];
5219 main ()
5223 return 0;
5225 _ACEOF
5226 if ac_fn_c_try_compile "$LINENO"; then :
5227 ac_cv_sys_large_files=1; break
5229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5230 ac_cv_sys_large_files=unknown
5231 break
5232 done
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5235 $as_echo "$ac_cv_sys_large_files" >&6; }
5236 case $ac_cv_sys_large_files in #(
5237 no | unknown) ;;
5239 cat >>confdefs.h <<_ACEOF
5240 #define _LARGE_FILES $ac_cv_sys_large_files
5241 _ACEOF
5243 esac
5244 rm -rf conftest*
5251 # Runs configure.host, and assorted other critical bits. Sets
5252 # up critical shell variables.
5253 ac_ext=c
5254 ac_cpp='$CPP $CPPFLAGS'
5255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5259 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5260 # On Suns, sometimes $CPP names a directory.
5261 if test -n "$CPP" && test -d "$CPP"; then
5262 CPP=
5264 if test -z "$CPP"; then
5265 if ${ac_cv_prog_CPP+:} false; then :
5266 $as_echo_n "(cached) " >&6
5267 else
5268 # Double quotes because CPP needs to be expanded
5269 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5271 ac_preproc_ok=false
5272 for ac_c_preproc_warn_flag in '' yes
5274 # Use a header file that comes with gcc, so configuring glibc
5275 # with a fresh cross-compiler works.
5276 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5277 # <limits.h> exists even on freestanding compilers.
5278 # On the NeXT, cc -E runs the code through the compiler's parser,
5279 # not just through cpp. "Syntax error" is here to catch this case.
5280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5281 /* end confdefs.h. */
5282 #ifdef __STDC__
5283 # include <limits.h>
5284 #else
5285 # include <assert.h>
5286 #endif
5287 Syntax error
5288 _ACEOF
5289 if ac_fn_c_try_cpp "$LINENO"; then :
5291 else
5292 # Broken: fails on valid input.
5293 continue
5295 rm -f conftest.err conftest.i conftest.$ac_ext
5297 # OK, works on sane cases. Now check whether nonexistent headers
5298 # can be detected and how.
5299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5300 /* end confdefs.h. */
5301 #include <ac_nonexistent.h>
5302 _ACEOF
5303 if ac_fn_c_try_cpp "$LINENO"; then :
5304 # Broken: success on invalid input.
5305 continue
5306 else
5307 # Passes both tests.
5308 ac_preproc_ok=:
5309 break
5311 rm -f conftest.err conftest.i conftest.$ac_ext
5313 done
5314 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5315 rm -f conftest.i conftest.err conftest.$ac_ext
5316 if $ac_preproc_ok; then :
5317 break
5320 done
5321 ac_cv_prog_CPP=$CPP
5324 CPP=$ac_cv_prog_CPP
5325 else
5326 ac_cv_prog_CPP=$CPP
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5329 $as_echo "$CPP" >&6; }
5330 ac_preproc_ok=false
5331 for ac_c_preproc_warn_flag in '' yes
5333 # Use a header file that comes with gcc, so configuring glibc
5334 # with a fresh cross-compiler works.
5335 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5336 # <limits.h> exists even on freestanding compilers.
5337 # On the NeXT, cc -E runs the code through the compiler's parser,
5338 # not just through cpp. "Syntax error" is here to catch this case.
5339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5340 /* end confdefs.h. */
5341 #ifdef __STDC__
5342 # include <limits.h>
5343 #else
5344 # include <assert.h>
5345 #endif
5346 Syntax error
5347 _ACEOF
5348 if ac_fn_c_try_cpp "$LINENO"; then :
5350 else
5351 # Broken: fails on valid input.
5352 continue
5354 rm -f conftest.err conftest.i conftest.$ac_ext
5356 # OK, works on sane cases. Now check whether nonexistent headers
5357 # can be detected and how.
5358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5359 /* end confdefs.h. */
5360 #include <ac_nonexistent.h>
5361 _ACEOF
5362 if ac_fn_c_try_cpp "$LINENO"; then :
5363 # Broken: success on invalid input.
5364 continue
5365 else
5366 # Passes both tests.
5367 ac_preproc_ok=:
5368 break
5370 rm -f conftest.err conftest.i conftest.$ac_ext
5372 done
5373 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5374 rm -f conftest.i conftest.err conftest.$ac_ext
5375 if $ac_preproc_ok; then :
5377 else
5378 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5379 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5380 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5381 See \`config.log' for more details" "$LINENO" 5; }
5384 ac_ext=c
5385 ac_cpp='$CPP $CPPFLAGS'
5386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5392 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5393 if ${ac_cv_path_GREP+:} false; then :
5394 $as_echo_n "(cached) " >&6
5395 else
5396 if test -z "$GREP"; then
5397 ac_path_GREP_found=false
5398 # Loop through the user's path and test for each of PROGNAME-LIST
5399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5400 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5402 IFS=$as_save_IFS
5403 test -z "$as_dir" && as_dir=.
5404 for ac_prog in grep ggrep; do
5405 for ac_exec_ext in '' $ac_executable_extensions; do
5406 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5407 as_fn_executable_p "$ac_path_GREP" || continue
5408 # Check for GNU ac_path_GREP and select it if it is found.
5409 # Check for GNU $ac_path_GREP
5410 case `"$ac_path_GREP" --version 2>&1` in
5411 *GNU*)
5412 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5414 ac_count=0
5415 $as_echo_n 0123456789 >"conftest.in"
5416 while :
5418 cat "conftest.in" "conftest.in" >"conftest.tmp"
5419 mv "conftest.tmp" "conftest.in"
5420 cp "conftest.in" "conftest.nl"
5421 $as_echo 'GREP' >> "conftest.nl"
5422 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5423 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5424 as_fn_arith $ac_count + 1 && ac_count=$as_val
5425 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5426 # Best one so far, save it but keep looking for a better one
5427 ac_cv_path_GREP="$ac_path_GREP"
5428 ac_path_GREP_max=$ac_count
5430 # 10*(2^10) chars as input seems more than enough
5431 test $ac_count -gt 10 && break
5432 done
5433 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5434 esac
5436 $ac_path_GREP_found && break 3
5437 done
5438 done
5439 done
5440 IFS=$as_save_IFS
5441 if test -z "$ac_cv_path_GREP"; then
5442 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5444 else
5445 ac_cv_path_GREP=$GREP
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5450 $as_echo "$ac_cv_path_GREP" >&6; }
5451 GREP="$ac_cv_path_GREP"
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5455 $as_echo_n "checking for egrep... " >&6; }
5456 if ${ac_cv_path_EGREP+:} false; then :
5457 $as_echo_n "(cached) " >&6
5458 else
5459 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5460 then ac_cv_path_EGREP="$GREP -E"
5461 else
5462 if test -z "$EGREP"; then
5463 ac_path_EGREP_found=false
5464 # Loop through the user's path and test for each of PROGNAME-LIST
5465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5466 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5468 IFS=$as_save_IFS
5469 test -z "$as_dir" && as_dir=.
5470 for ac_prog in egrep; do
5471 for ac_exec_ext in '' $ac_executable_extensions; do
5472 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5473 as_fn_executable_p "$ac_path_EGREP" || continue
5474 # Check for GNU ac_path_EGREP and select it if it is found.
5475 # Check for GNU $ac_path_EGREP
5476 case `"$ac_path_EGREP" --version 2>&1` in
5477 *GNU*)
5478 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5480 ac_count=0
5481 $as_echo_n 0123456789 >"conftest.in"
5482 while :
5484 cat "conftest.in" "conftest.in" >"conftest.tmp"
5485 mv "conftest.tmp" "conftest.in"
5486 cp "conftest.in" "conftest.nl"
5487 $as_echo 'EGREP' >> "conftest.nl"
5488 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5489 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5490 as_fn_arith $ac_count + 1 && ac_count=$as_val
5491 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5492 # Best one so far, save it but keep looking for a better one
5493 ac_cv_path_EGREP="$ac_path_EGREP"
5494 ac_path_EGREP_max=$ac_count
5496 # 10*(2^10) chars as input seems more than enough
5497 test $ac_count -gt 10 && break
5498 done
5499 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5500 esac
5502 $ac_path_EGREP_found && break 3
5503 done
5504 done
5505 done
5506 IFS=$as_save_IFS
5507 if test -z "$ac_cv_path_EGREP"; then
5508 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5510 else
5511 ac_cv_path_EGREP=$EGREP
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5517 $as_echo "$ac_cv_path_EGREP" >&6; }
5518 EGREP="$ac_cv_path_EGREP"
5522 # Keep these sync'd with the list in Makefile.am. The first provides an
5523 # expandable list at autoconf time; the second provides an expandable list
5524 # (i.e., shell variable) at configure time.
5526 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/c++17 src/c++20 src/filesystem src/libbacktrace src/experimental doc po testsuite python'
5528 # These need to be absolute paths, yet at the same time need to
5529 # canonicalize only relative paths, because then amd will not unmount
5530 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
5531 glibcxx_builddir=`${PWDCMD-pwd}`
5532 case $srcdir in
5533 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
5534 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
5535 esac
5536 toplevel_builddir=${glibcxx_builddir}/..
5537 toplevel_srcdir=${glibcxx_srcdir}/..
5543 # We use these options to decide which functions to include. They are
5544 # set from the top level.
5546 # Check whether --with-target-subdir was given.
5547 if test "${with_target_subdir+set}" = set; then :
5548 withval=$with_target_subdir;
5553 # Check whether --with-cross-host was given.
5554 if test "${with_cross_host+set}" = set; then :
5555 withval=$with_cross_host;
5560 # Check whether --with-newlib was given.
5561 if test "${with_newlib+set}" = set; then :
5562 withval=$with_newlib;
5566 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5567 # available). Uncomment the next line to force a particular method.
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5569 $as_echo_n "checking whether ln -s works... " >&6; }
5570 LN_S=$as_ln_s
5571 if test "$LN_S" = "ln -s"; then
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5573 $as_echo "yes" >&6; }
5574 else
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5576 $as_echo "no, using $LN_S" >&6; }
5579 #LN_S='cp -p'
5581 if test -n "$ac_tool_prefix"; then
5582 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5583 set dummy ${ac_tool_prefix}as; ac_word=$2
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5585 $as_echo_n "checking for $ac_word... " >&6; }
5586 if ${ac_cv_prog_AS+:} false; then :
5587 $as_echo_n "(cached) " >&6
5588 else
5589 if test -n "$AS"; then
5590 ac_cv_prog_AS="$AS" # Let the user override the test.
5591 else
5592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5593 for as_dir in $PATH
5595 IFS=$as_save_IFS
5596 test -z "$as_dir" && as_dir=.
5597 for ac_exec_ext in '' $ac_executable_extensions; do
5598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5599 ac_cv_prog_AS="${ac_tool_prefix}as"
5600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5601 break 2
5603 done
5604 done
5605 IFS=$as_save_IFS
5609 AS=$ac_cv_prog_AS
5610 if test -n "$AS"; then
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5612 $as_echo "$AS" >&6; }
5613 else
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5615 $as_echo "no" >&6; }
5620 if test -z "$ac_cv_prog_AS"; then
5621 ac_ct_AS=$AS
5622 # Extract the first word of "as", so it can be a program name with args.
5623 set dummy as; ac_word=$2
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5625 $as_echo_n "checking for $ac_word... " >&6; }
5626 if ${ac_cv_prog_ac_ct_AS+:} false; then :
5627 $as_echo_n "(cached) " >&6
5628 else
5629 if test -n "$ac_ct_AS"; then
5630 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5631 else
5632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5633 for as_dir in $PATH
5635 IFS=$as_save_IFS
5636 test -z "$as_dir" && as_dir=.
5637 for ac_exec_ext in '' $ac_executable_extensions; do
5638 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5639 ac_cv_prog_ac_ct_AS="as"
5640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5641 break 2
5643 done
5644 done
5645 IFS=$as_save_IFS
5649 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5650 if test -n "$ac_ct_AS"; then
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5652 $as_echo "$ac_ct_AS" >&6; }
5653 else
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5655 $as_echo "no" >&6; }
5658 if test "x$ac_ct_AS" = x; then
5659 AS=""
5660 else
5661 case $cross_compiling:$ac_tool_warned in
5662 yes:)
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5664 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5665 ac_tool_warned=yes ;;
5666 esac
5667 AS=$ac_ct_AS
5669 else
5670 AS="$ac_cv_prog_AS"
5673 if test -n "$ac_tool_prefix"; then
5674 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5675 set dummy ${ac_tool_prefix}ar; ac_word=$2
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5677 $as_echo_n "checking for $ac_word... " >&6; }
5678 if ${ac_cv_prog_AR+:} false; then :
5679 $as_echo_n "(cached) " >&6
5680 else
5681 if test -n "$AR"; then
5682 ac_cv_prog_AR="$AR" # Let the user override the test.
5683 else
5684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5685 for as_dir in $PATH
5687 IFS=$as_save_IFS
5688 test -z "$as_dir" && as_dir=.
5689 for ac_exec_ext in '' $ac_executable_extensions; do
5690 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5691 ac_cv_prog_AR="${ac_tool_prefix}ar"
5692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5693 break 2
5695 done
5696 done
5697 IFS=$as_save_IFS
5701 AR=$ac_cv_prog_AR
5702 if test -n "$AR"; then
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5704 $as_echo "$AR" >&6; }
5705 else
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5707 $as_echo "no" >&6; }
5712 if test -z "$ac_cv_prog_AR"; then
5713 ac_ct_AR=$AR
5714 # Extract the first word of "ar", so it can be a program name with args.
5715 set dummy ar; ac_word=$2
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5717 $as_echo_n "checking for $ac_word... " >&6; }
5718 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5719 $as_echo_n "(cached) " >&6
5720 else
5721 if test -n "$ac_ct_AR"; then
5722 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5723 else
5724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5725 for as_dir in $PATH
5727 IFS=$as_save_IFS
5728 test -z "$as_dir" && as_dir=.
5729 for ac_exec_ext in '' $ac_executable_extensions; do
5730 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5731 ac_cv_prog_ac_ct_AR="ar"
5732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5733 break 2
5735 done
5736 done
5737 IFS=$as_save_IFS
5741 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5742 if test -n "$ac_ct_AR"; then
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5744 $as_echo "$ac_ct_AR" >&6; }
5745 else
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5747 $as_echo "no" >&6; }
5750 if test "x$ac_ct_AR" = x; then
5751 AR=""
5752 else
5753 case $cross_compiling:$ac_tool_warned in
5754 yes:)
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5756 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5757 ac_tool_warned=yes ;;
5758 esac
5759 AR=$ac_ct_AR
5761 else
5762 AR="$ac_cv_prog_AR"
5765 if test -n "$ac_tool_prefix"; then
5766 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5767 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5769 $as_echo_n "checking for $ac_word... " >&6; }
5770 if ${ac_cv_prog_RANLIB+:} false; then :
5771 $as_echo_n "(cached) " >&6
5772 else
5773 if test -n "$RANLIB"; then
5774 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5775 else
5776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5777 for as_dir in $PATH
5779 IFS=$as_save_IFS
5780 test -z "$as_dir" && as_dir=.
5781 for ac_exec_ext in '' $ac_executable_extensions; do
5782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5783 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5785 break 2
5787 done
5788 done
5789 IFS=$as_save_IFS
5793 RANLIB=$ac_cv_prog_RANLIB
5794 if test -n "$RANLIB"; then
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5796 $as_echo "$RANLIB" >&6; }
5797 else
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5799 $as_echo "no" >&6; }
5804 if test -z "$ac_cv_prog_RANLIB"; then
5805 ac_ct_RANLIB=$RANLIB
5806 # Extract the first word of "ranlib", so it can be a program name with args.
5807 set dummy ranlib; ac_word=$2
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5809 $as_echo_n "checking for $ac_word... " >&6; }
5810 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5811 $as_echo_n "(cached) " >&6
5812 else
5813 if test -n "$ac_ct_RANLIB"; then
5814 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5815 else
5816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5817 for as_dir in $PATH
5819 IFS=$as_save_IFS
5820 test -z "$as_dir" && as_dir=.
5821 for ac_exec_ext in '' $ac_executable_extensions; do
5822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5823 ac_cv_prog_ac_ct_RANLIB="ranlib"
5824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5825 break 2
5827 done
5828 done
5829 IFS=$as_save_IFS
5833 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5834 if test -n "$ac_ct_RANLIB"; then
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5836 $as_echo "$ac_ct_RANLIB" >&6; }
5837 else
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5839 $as_echo "no" >&6; }
5842 if test "x$ac_ct_RANLIB" = x; then
5843 RANLIB="ranlib-not-found-in-path-error"
5844 else
5845 case $cross_compiling:$ac_tool_warned in
5846 yes:)
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5848 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5849 ac_tool_warned=yes ;;
5850 esac
5851 RANLIB=$ac_ct_RANLIB
5853 else
5854 RANLIB="$ac_cv_prog_RANLIB"
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5860 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5861 # Check whether --enable-maintainer-mode was given.
5862 if test "${enable_maintainer_mode+set}" = set; then :
5863 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5864 else
5865 USE_MAINTAINER_MODE=no
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5869 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5870 if test $USE_MAINTAINER_MODE = yes; then
5871 MAINTAINER_MODE_TRUE=
5872 MAINTAINER_MODE_FALSE='#'
5873 else
5874 MAINTAINER_MODE_TRUE='#'
5875 MAINTAINER_MODE_FALSE=
5878 MAINT=$MAINTAINER_MODE_TRUE
5882 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5883 # which are themselves conditionally expanded.
5884 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5885 ## other macros from doing the same. This should be automated.) -pme
5887 # Check for C library flavor since GNU/Linux platforms use different
5888 # configuration directories depending on the C library in use.
5889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5890 /* end confdefs.h. */
5892 #include <stdio.h>
5893 #if __UCLIBC__
5894 _using_uclibc
5895 #endif
5897 _ACEOF
5898 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5899 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5900 uclibc=yes
5901 else
5902 uclibc=no
5904 rm -f conftest*
5907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5908 /* end confdefs.h. */
5910 #include <stdio.h>
5911 #if __BIONIC__
5912 _using_bionic
5913 #endif
5915 _ACEOF
5916 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5917 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5918 bionic=yes
5919 else
5920 bionic=no
5922 rm -f conftest*
5925 # Find platform-specific directories containing configuration info.
5926 # Also possibly modify flags used elsewhere, as needed by the platform.
5928 . $glibcxx_srcdir/configure.host
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5930 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5932 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5936 # Libtool setup.
5937 if test "x${with_newlib}" != "xyes" &&
5938 test "x${with_avrlibc}" != "xyes" &&
5939 test "x$with_headers" != "xno"; then
5940 enable_dlopen=yes
5945 case `pwd` in
5946 *\ * | *\ *)
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5948 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5949 esac
5953 macro_version='2.2.7a'
5954 macro_revision='1.3134'
5968 ltmain="$ac_aux_dir/ltmain.sh"
5970 # Backslashify metacharacters that are still active within
5971 # double-quoted strings.
5972 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5974 # Same as above, but do not quote variable references.
5975 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5977 # Sed substitution to delay expansion of an escaped shell variable in a
5978 # double_quote_subst'ed string.
5979 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5981 # Sed substitution to delay expansion of an escaped single quote.
5982 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5984 # Sed substitution to avoid accidental globbing in evaled expressions
5985 no_glob_subst='s/\*/\\\*/g'
5987 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5988 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5989 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5992 $as_echo_n "checking how to print strings... " >&6; }
5993 # Test print first, because it will be a builtin if present.
5994 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5995 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5996 ECHO='print -r --'
5997 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5998 ECHO='printf %s\n'
5999 else
6000 # Use this function as a fallback that always works.
6001 func_fallback_echo ()
6003 eval 'cat <<_LTECHO_EOF
6005 _LTECHO_EOF'
6007 ECHO='func_fallback_echo'
6010 # func_echo_all arg...
6011 # Invoke $ECHO with all args, space-separated.
6012 func_echo_all ()
6014 $ECHO ""
6017 case "$ECHO" in
6018 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6019 $as_echo "printf" >&6; } ;;
6020 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6021 $as_echo "print -r" >&6; } ;;
6022 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6023 $as_echo "cat" >&6; } ;;
6024 esac
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6040 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6041 if ${ac_cv_path_SED+:} false; then :
6042 $as_echo_n "(cached) " >&6
6043 else
6044 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6045 for ac_i in 1 2 3 4 5 6 7; do
6046 ac_script="$ac_script$as_nl$ac_script"
6047 done
6048 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6049 { ac_script=; unset ac_script;}
6050 if test -z "$SED"; then
6051 ac_path_SED_found=false
6052 # Loop through the user's path and test for each of PROGNAME-LIST
6053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6054 for as_dir in $PATH
6056 IFS=$as_save_IFS
6057 test -z "$as_dir" && as_dir=.
6058 for ac_prog in sed gsed; do
6059 for ac_exec_ext in '' $ac_executable_extensions; do
6060 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6061 as_fn_executable_p "$ac_path_SED" || continue
6062 # Check for GNU ac_path_SED and select it if it is found.
6063 # Check for GNU $ac_path_SED
6064 case `"$ac_path_SED" --version 2>&1` in
6065 *GNU*)
6066 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6068 ac_count=0
6069 $as_echo_n 0123456789 >"conftest.in"
6070 while :
6072 cat "conftest.in" "conftest.in" >"conftest.tmp"
6073 mv "conftest.tmp" "conftest.in"
6074 cp "conftest.in" "conftest.nl"
6075 $as_echo '' >> "conftest.nl"
6076 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6077 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6078 as_fn_arith $ac_count + 1 && ac_count=$as_val
6079 if test $ac_count -gt ${ac_path_SED_max-0}; then
6080 # Best one so far, save it but keep looking for a better one
6081 ac_cv_path_SED="$ac_path_SED"
6082 ac_path_SED_max=$ac_count
6084 # 10*(2^10) chars as input seems more than enough
6085 test $ac_count -gt 10 && break
6086 done
6087 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6088 esac
6090 $ac_path_SED_found && break 3
6091 done
6092 done
6093 done
6094 IFS=$as_save_IFS
6095 if test -z "$ac_cv_path_SED"; then
6096 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6098 else
6099 ac_cv_path_SED=$SED
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6104 $as_echo "$ac_cv_path_SED" >&6; }
6105 SED="$ac_cv_path_SED"
6106 rm -f conftest.sed
6108 test -z "$SED" && SED=sed
6109 Xsed="$SED -e 1s/^X//"
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6122 $as_echo_n "checking for fgrep... " >&6; }
6123 if ${ac_cv_path_FGREP+:} false; then :
6124 $as_echo_n "(cached) " >&6
6125 else
6126 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6127 then ac_cv_path_FGREP="$GREP -F"
6128 else
6129 if test -z "$FGREP"; then
6130 ac_path_FGREP_found=false
6131 # Loop through the user's path and test for each of PROGNAME-LIST
6132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6133 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6135 IFS=$as_save_IFS
6136 test -z "$as_dir" && as_dir=.
6137 for ac_prog in fgrep; do
6138 for ac_exec_ext in '' $ac_executable_extensions; do
6139 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6140 as_fn_executable_p "$ac_path_FGREP" || continue
6141 # Check for GNU ac_path_FGREP and select it if it is found.
6142 # Check for GNU $ac_path_FGREP
6143 case `"$ac_path_FGREP" --version 2>&1` in
6144 *GNU*)
6145 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6147 ac_count=0
6148 $as_echo_n 0123456789 >"conftest.in"
6149 while :
6151 cat "conftest.in" "conftest.in" >"conftest.tmp"
6152 mv "conftest.tmp" "conftest.in"
6153 cp "conftest.in" "conftest.nl"
6154 $as_echo 'FGREP' >> "conftest.nl"
6155 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6156 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6157 as_fn_arith $ac_count + 1 && ac_count=$as_val
6158 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6159 # Best one so far, save it but keep looking for a better one
6160 ac_cv_path_FGREP="$ac_path_FGREP"
6161 ac_path_FGREP_max=$ac_count
6163 # 10*(2^10) chars as input seems more than enough
6164 test $ac_count -gt 10 && break
6165 done
6166 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6167 esac
6169 $ac_path_FGREP_found && break 3
6170 done
6171 done
6172 done
6173 IFS=$as_save_IFS
6174 if test -z "$ac_cv_path_FGREP"; then
6175 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6177 else
6178 ac_cv_path_FGREP=$FGREP
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6184 $as_echo "$ac_cv_path_FGREP" >&6; }
6185 FGREP="$ac_cv_path_FGREP"
6188 test -z "$GREP" && GREP=grep
6208 # Check whether --with-gnu-ld was given.
6209 if test "${with_gnu_ld+set}" = set; then :
6210 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6211 else
6212 with_gnu_ld=no
6215 ac_prog=ld
6216 if test "$GCC" = yes; then
6217 # Check if gcc -print-prog-name=ld gives a path.
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6219 $as_echo_n "checking for ld used by $CC... " >&6; }
6220 case $host in
6221 *-*-mingw*)
6222 # gcc leaves a trailing carriage return which upsets mingw
6223 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6225 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6226 esac
6227 case $ac_prog in
6228 # Accept absolute paths.
6229 [\\/]* | ?:[\\/]*)
6230 re_direlt='/[^/][^/]*/\.\./'
6231 # Canonicalize the pathname of ld
6232 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6233 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6234 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6235 done
6236 test -z "$LD" && LD="$ac_prog"
6239 # If it fails, then pretend we aren't using GCC.
6240 ac_prog=ld
6243 # If it is relative, then search for the first ld in PATH.
6244 with_gnu_ld=unknown
6246 esac
6247 elif test "$with_gnu_ld" = yes; then
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6249 $as_echo_n "checking for GNU ld... " >&6; }
6250 else
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6252 $as_echo_n "checking for non-GNU ld... " >&6; }
6254 if ${lt_cv_path_LD+:} false; then :
6255 $as_echo_n "(cached) " >&6
6256 else
6257 if test -z "$LD"; then
6258 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6259 for ac_dir in $PATH; do
6260 IFS="$lt_save_ifs"
6261 test -z "$ac_dir" && ac_dir=.
6262 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6263 lt_cv_path_LD="$ac_dir/$ac_prog"
6264 # Check to see if the program is GNU ld. I'd rather use --version,
6265 # but apparently some variants of GNU ld only accept -v.
6266 # Break only if it was the GNU/non-GNU ld that we prefer.
6267 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6268 *GNU* | *'with BFD'*)
6269 test "$with_gnu_ld" != no && break
6272 test "$with_gnu_ld" != yes && break
6274 esac
6276 done
6277 IFS="$lt_save_ifs"
6278 else
6279 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6283 LD="$lt_cv_path_LD"
6284 if test -n "$LD"; then
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6286 $as_echo "$LD" >&6; }
6287 else
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6289 $as_echo "no" >&6; }
6291 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6293 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6294 if ${lt_cv_prog_gnu_ld+:} false; then :
6295 $as_echo_n "(cached) " >&6
6296 else
6297 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6298 case `$LD -v 2>&1 </dev/null` in
6299 *GNU* | *'with BFD'*)
6300 lt_cv_prog_gnu_ld=yes
6303 lt_cv_prog_gnu_ld=no
6305 esac
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6308 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6309 with_gnu_ld=$lt_cv_prog_gnu_ld
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6320 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6321 if ${lt_cv_path_NM+:} false; then :
6322 $as_echo_n "(cached) " >&6
6323 else
6324 if test -n "$NM"; then
6325 # Let the user override the test.
6326 lt_cv_path_NM="$NM"
6327 else
6328 lt_nm_to_check="${ac_tool_prefix}nm"
6329 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6330 lt_nm_to_check="$lt_nm_to_check nm"
6332 for lt_tmp_nm in $lt_nm_to_check; do
6333 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6334 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6335 IFS="$lt_save_ifs"
6336 test -z "$ac_dir" && ac_dir=.
6337 tmp_nm="$ac_dir/$lt_tmp_nm"
6338 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6339 # Check to see if the nm accepts a BSD-compat flag.
6340 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6341 # nm: unknown option "B" ignored
6342 # Tru64's nm complains that /dev/null is an invalid object file
6343 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6344 */dev/null* | *'Invalid file or object type'*)
6345 lt_cv_path_NM="$tmp_nm -B"
6346 break
6349 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6350 */dev/null*)
6351 lt_cv_path_NM="$tmp_nm -p"
6352 break
6355 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6356 continue # so that we can try to find one that supports BSD flags
6358 esac
6360 esac
6362 done
6363 IFS="$lt_save_ifs"
6364 done
6365 : ${lt_cv_path_NM=no}
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6369 $as_echo "$lt_cv_path_NM" >&6; }
6370 if test "$lt_cv_path_NM" != "no"; then
6371 NM="$lt_cv_path_NM"
6372 else
6373 # Didn't find any BSD compatible name lister, look for dumpbin.
6374 if test -n "$DUMPBIN"; then :
6375 # Let the user override the test.
6376 else
6377 if test -n "$ac_tool_prefix"; then
6378 for ac_prog in dumpbin "link -dump"
6380 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6381 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6383 $as_echo_n "checking for $ac_word... " >&6; }
6384 if ${ac_cv_prog_DUMPBIN+:} false; then :
6385 $as_echo_n "(cached) " >&6
6386 else
6387 if test -n "$DUMPBIN"; then
6388 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6389 else
6390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6391 for as_dir in $PATH
6393 IFS=$as_save_IFS
6394 test -z "$as_dir" && as_dir=.
6395 for ac_exec_ext in '' $ac_executable_extensions; do
6396 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6397 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6399 break 2
6401 done
6402 done
6403 IFS=$as_save_IFS
6407 DUMPBIN=$ac_cv_prog_DUMPBIN
6408 if test -n "$DUMPBIN"; then
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6410 $as_echo "$DUMPBIN" >&6; }
6411 else
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6413 $as_echo "no" >&6; }
6417 test -n "$DUMPBIN" && break
6418 done
6420 if test -z "$DUMPBIN"; then
6421 ac_ct_DUMPBIN=$DUMPBIN
6422 for ac_prog in dumpbin "link -dump"
6424 # Extract the first word of "$ac_prog", so it can be a program name with args.
6425 set dummy $ac_prog; ac_word=$2
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6427 $as_echo_n "checking for $ac_word... " >&6; }
6428 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6429 $as_echo_n "(cached) " >&6
6430 else
6431 if test -n "$ac_ct_DUMPBIN"; then
6432 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6433 else
6434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6435 for as_dir in $PATH
6437 IFS=$as_save_IFS
6438 test -z "$as_dir" && as_dir=.
6439 for ac_exec_ext in '' $ac_executable_extensions; do
6440 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6441 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6443 break 2
6445 done
6446 done
6447 IFS=$as_save_IFS
6451 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6452 if test -n "$ac_ct_DUMPBIN"; then
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6454 $as_echo "$ac_ct_DUMPBIN" >&6; }
6455 else
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6457 $as_echo "no" >&6; }
6461 test -n "$ac_ct_DUMPBIN" && break
6462 done
6464 if test "x$ac_ct_DUMPBIN" = x; then
6465 DUMPBIN=":"
6466 else
6467 case $cross_compiling:$ac_tool_warned in
6468 yes:)
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6470 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6471 ac_tool_warned=yes ;;
6472 esac
6473 DUMPBIN=$ac_ct_DUMPBIN
6477 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6478 *COFF*)
6479 DUMPBIN="$DUMPBIN -symbols"
6482 DUMPBIN=:
6484 esac
6487 if test "$DUMPBIN" != ":"; then
6488 NM="$DUMPBIN"
6491 test -z "$NM" && NM=nm
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6499 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6500 if ${lt_cv_nm_interface+:} false; then :
6501 $as_echo_n "(cached) " >&6
6502 else
6503 lt_cv_nm_interface="BSD nm"
6504 echo "int some_variable = 0;" > conftest.$ac_ext
6505 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6506 (eval "$ac_compile" 2>conftest.err)
6507 cat conftest.err >&5
6508 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6509 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6510 cat conftest.err >&5
6511 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6512 cat conftest.out >&5
6513 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6514 lt_cv_nm_interface="MS dumpbin"
6516 rm -f conftest*
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6519 $as_echo "$lt_cv_nm_interface" >&6; }
6521 # find the maximum length of command line arguments
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6523 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6524 if ${lt_cv_sys_max_cmd_len+:} false; then :
6525 $as_echo_n "(cached) " >&6
6526 else
6528 teststring="ABCD"
6530 case $build_os in
6531 msdosdjgpp*)
6532 # On DJGPP, this test can blow up pretty badly due to problems in libc
6533 # (any single argument exceeding 2000 bytes causes a buffer overrun
6534 # during glob expansion). Even if it were fixed, the result of this
6535 # check would be larger than it should be.
6536 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6539 gnu*)
6540 # Under GNU Hurd, this test is not required because there is
6541 # no limit to the length of command line arguments.
6542 # Libtool will interpret -1 as no limit whatsoever
6543 lt_cv_sys_max_cmd_len=-1;
6546 cygwin* | mingw* | cegcc*)
6547 # On Win9x/ME, this test blows up -- it succeeds, but takes
6548 # about 5 minutes as the teststring grows exponentially.
6549 # Worse, since 9x/ME are not pre-emptively multitasking,
6550 # you end up with a "frozen" computer, even though with patience
6551 # the test eventually succeeds (with a max line length of 256k).
6552 # Instead, let's just punt: use the minimum linelength reported by
6553 # all of the supported platforms: 8192 (on NT/2K/XP).
6554 lt_cv_sys_max_cmd_len=8192;
6557 mint*)
6558 # On MiNT this can take a long time and run out of memory.
6559 lt_cv_sys_max_cmd_len=8192;
6562 amigaos*)
6563 # On AmigaOS with pdksh, this test takes hours, literally.
6564 # So we just punt and use a minimum line length of 8192.
6565 lt_cv_sys_max_cmd_len=8192;
6568 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6569 # This has been around since 386BSD, at least. Likely further.
6570 if test -x /sbin/sysctl; then
6571 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6572 elif test -x /usr/sbin/sysctl; then
6573 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6574 else
6575 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6577 # And add a safety zone
6578 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6579 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6582 interix*)
6583 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6584 lt_cv_sys_max_cmd_len=196608
6587 osf*)
6588 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6589 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6590 # nice to cause kernel panics so lets avoid the loop below.
6591 # First set a reasonable default.
6592 lt_cv_sys_max_cmd_len=16384
6594 if test -x /sbin/sysconfig; then
6595 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6596 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6597 esac
6600 sco3.2v5*)
6601 lt_cv_sys_max_cmd_len=102400
6603 sysv5* | sco5v6* | sysv4.2uw2*)
6604 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6605 if test -n "$kargmax"; then
6606 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6607 else
6608 lt_cv_sys_max_cmd_len=32768
6612 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6613 if test -n "$lt_cv_sys_max_cmd_len"; then
6614 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6615 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6616 else
6617 # Make teststring a little bigger before we do anything with it.
6618 # a 1K string should be a reasonable start.
6619 for i in 1 2 3 4 5 6 7 8 ; do
6620 teststring=$teststring$teststring
6621 done
6622 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6623 # If test is not a shell built-in, we'll probably end up computing a
6624 # maximum length that is only half of the actual maximum length, but
6625 # we can't tell.
6626 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6627 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6628 test $i != 17 # 1/2 MB should be enough
6630 i=`expr $i + 1`
6631 teststring=$teststring$teststring
6632 done
6633 # Only check the string length outside the loop.
6634 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6635 teststring=
6636 # Add a significant safety factor because C++ compilers can tack on
6637 # massive amounts of additional arguments before passing them to the
6638 # linker. It appears as though 1/2 is a usable value.
6639 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6642 esac
6646 if test -n $lt_cv_sys_max_cmd_len ; then
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6648 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6649 else
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6651 $as_echo "none" >&6; }
6653 max_cmd_len=$lt_cv_sys_max_cmd_len
6660 : ${CP="cp -f"}
6661 : ${MV="mv -f"}
6662 : ${RM="rm -f"}
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6665 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6666 # Try some XSI features
6667 xsi_shell=no
6668 ( _lt_dummy="a/b/c"
6669 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6670 = c,a/b,, \
6671 && eval 'test $(( 1 + 1 )) -eq 2 \
6672 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6673 && xsi_shell=yes
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6675 $as_echo "$xsi_shell" >&6; }
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6679 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6680 lt_shell_append=no
6681 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6682 >/dev/null 2>&1 \
6683 && lt_shell_append=yes
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6685 $as_echo "$lt_shell_append" >&6; }
6688 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6689 lt_unset=unset
6690 else
6691 lt_unset=false
6698 # test EBCDIC or ASCII
6699 case `echo X|tr X '\101'` in
6700 A) # ASCII based system
6701 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6702 lt_SP2NL='tr \040 \012'
6703 lt_NL2SP='tr \015\012 \040\040'
6705 *) # EBCDIC based system
6706 lt_SP2NL='tr \100 \n'
6707 lt_NL2SP='tr \r\n \100\100'
6709 esac
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6720 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6721 if ${lt_cv_ld_reload_flag+:} false; then :
6722 $as_echo_n "(cached) " >&6
6723 else
6724 lt_cv_ld_reload_flag='-r'
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6727 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6728 reload_flag=$lt_cv_ld_reload_flag
6729 case $reload_flag in
6730 "" | " "*) ;;
6731 *) reload_flag=" $reload_flag" ;;
6732 esac
6733 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6734 case $host_os in
6735 darwin*)
6736 if test "$GCC" = yes; then
6737 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6738 else
6739 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6742 esac
6752 if test -n "$ac_tool_prefix"; then
6753 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6754 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6756 $as_echo_n "checking for $ac_word... " >&6; }
6757 if ${ac_cv_prog_OBJDUMP+:} false; then :
6758 $as_echo_n "(cached) " >&6
6759 else
6760 if test -n "$OBJDUMP"; then
6761 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6762 else
6763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6764 for as_dir in $PATH
6766 IFS=$as_save_IFS
6767 test -z "$as_dir" && as_dir=.
6768 for ac_exec_ext in '' $ac_executable_extensions; do
6769 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6770 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6772 break 2
6774 done
6775 done
6776 IFS=$as_save_IFS
6780 OBJDUMP=$ac_cv_prog_OBJDUMP
6781 if test -n "$OBJDUMP"; then
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6783 $as_echo "$OBJDUMP" >&6; }
6784 else
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6786 $as_echo "no" >&6; }
6791 if test -z "$ac_cv_prog_OBJDUMP"; then
6792 ac_ct_OBJDUMP=$OBJDUMP
6793 # Extract the first word of "objdump", so it can be a program name with args.
6794 set dummy objdump; ac_word=$2
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6796 $as_echo_n "checking for $ac_word... " >&6; }
6797 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6798 $as_echo_n "(cached) " >&6
6799 else
6800 if test -n "$ac_ct_OBJDUMP"; then
6801 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6802 else
6803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6804 for as_dir in $PATH
6806 IFS=$as_save_IFS
6807 test -z "$as_dir" && as_dir=.
6808 for ac_exec_ext in '' $ac_executable_extensions; do
6809 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6810 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6812 break 2
6814 done
6815 done
6816 IFS=$as_save_IFS
6820 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6821 if test -n "$ac_ct_OBJDUMP"; then
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6823 $as_echo "$ac_ct_OBJDUMP" >&6; }
6824 else
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6826 $as_echo "no" >&6; }
6829 if test "x$ac_ct_OBJDUMP" = x; then
6830 OBJDUMP="false"
6831 else
6832 case $cross_compiling:$ac_tool_warned in
6833 yes:)
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6835 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6836 ac_tool_warned=yes ;;
6837 esac
6838 OBJDUMP=$ac_ct_OBJDUMP
6840 else
6841 OBJDUMP="$ac_cv_prog_OBJDUMP"
6844 test -z "$OBJDUMP" && OBJDUMP=objdump
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6855 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6856 if ${lt_cv_deplibs_check_method+:} false; then :
6857 $as_echo_n "(cached) " >&6
6858 else
6859 lt_cv_file_magic_cmd='$MAGIC_CMD'
6860 lt_cv_file_magic_test_file=
6861 lt_cv_deplibs_check_method='unknown'
6862 # Need to set the preceding variable on all platforms that support
6863 # interlibrary dependencies.
6864 # 'none' -- dependencies not supported.
6865 # `unknown' -- same as none, but documents that we really don't know.
6866 # 'pass_all' -- all dependencies passed with no checks.
6867 # 'test_compile' -- check by making test program.
6868 # 'file_magic [[regex]]' -- check by looking for files in library path
6869 # which responds to the $file_magic_cmd with a given extended regex.
6870 # If you have `file' or equivalent on your system and you're not sure
6871 # whether `pass_all' will *always* work, you probably want this one.
6873 case $host_os in
6874 aix[4-9]*)
6875 lt_cv_deplibs_check_method=pass_all
6878 beos*)
6879 lt_cv_deplibs_check_method=pass_all
6882 bsdi[45]*)
6883 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6884 lt_cv_file_magic_cmd='/usr/bin/file -L'
6885 lt_cv_file_magic_test_file=/shlib/libc.so
6888 cygwin*)
6889 # func_win32_libid is a shell function defined in ltmain.sh
6890 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6891 lt_cv_file_magic_cmd='func_win32_libid'
6894 mingw* | pw32*)
6895 # Base MSYS/MinGW do not provide the 'file' command needed by
6896 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6897 # unless we find 'file', for example because we are cross-compiling.
6898 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6899 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6900 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6901 lt_cv_file_magic_cmd='func_win32_libid'
6902 else
6903 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6904 lt_cv_file_magic_cmd='$OBJDUMP -f'
6908 cegcc*)
6909 # use the weaker test based on 'objdump'. See mingw*.
6910 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6911 lt_cv_file_magic_cmd='$OBJDUMP -f'
6914 darwin* | rhapsody*)
6915 lt_cv_deplibs_check_method=pass_all
6918 freebsd* | dragonfly*)
6919 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6920 case $host_cpu in
6921 i*86 )
6922 # Not sure whether the presence of OpenBSD here was a mistake.
6923 # Let's accept both of them until this is cleared up.
6924 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6925 lt_cv_file_magic_cmd=/usr/bin/file
6926 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6928 esac
6929 else
6930 lt_cv_deplibs_check_method=pass_all
6934 gnu*)
6935 lt_cv_deplibs_check_method=pass_all
6938 haiku*)
6939 lt_cv_deplibs_check_method=pass_all
6942 hpux10.20* | hpux11*)
6943 lt_cv_file_magic_cmd=/usr/bin/file
6944 case $host_cpu in
6945 ia64*)
6946 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6947 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6949 hppa*64*)
6950 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6951 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6954 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6955 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6957 esac
6960 interix[3-9]*)
6961 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6962 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6965 irix5* | irix6* | nonstopux*)
6966 case $LD in
6967 *-32|*"-32 ") libmagic=32-bit;;
6968 *-n32|*"-n32 ") libmagic=N32;;
6969 *-64|*"-64 ") libmagic=64-bit;;
6970 *) libmagic=never-match;;
6971 esac
6972 lt_cv_deplibs_check_method=pass_all
6975 # This must be Linux ELF.
6976 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
6977 lt_cv_deplibs_check_method=pass_all
6980 netbsd*)
6981 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6982 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6983 else
6984 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6988 newos6*)
6989 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6990 lt_cv_file_magic_cmd=/usr/bin/file
6991 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6994 *nto* | *qnx*)
6995 lt_cv_deplibs_check_method=pass_all
6998 openbsd*)
6999 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7000 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7001 else
7002 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7006 osf3* | osf4* | osf5*)
7007 lt_cv_deplibs_check_method=pass_all
7010 rdos*)
7011 lt_cv_deplibs_check_method=pass_all
7014 solaris*)
7015 lt_cv_deplibs_check_method=pass_all
7018 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7019 lt_cv_deplibs_check_method=pass_all
7022 sysv4 | sysv4.3*)
7023 case $host_vendor in
7024 motorola)
7025 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
7026 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7028 ncr)
7029 lt_cv_deplibs_check_method=pass_all
7031 sequent)
7032 lt_cv_file_magic_cmd='/bin/file'
7033 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7035 sni)
7036 lt_cv_file_magic_cmd='/bin/file'
7037 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7038 lt_cv_file_magic_test_file=/lib/libc.so
7040 siemens)
7041 lt_cv_deplibs_check_method=pass_all
7044 lt_cv_deplibs_check_method=pass_all
7046 esac
7049 tpf*)
7050 lt_cv_deplibs_check_method=pass_all
7052 vxworks*)
7053 # Assume VxWorks cross toolchains are built on Linux, possibly
7054 # as canadian for Windows hosts.
7055 lt_cv_deplibs_check_method=pass_all
7057 esac
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7061 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7062 file_magic_cmd=$lt_cv_file_magic_cmd
7063 deplibs_check_method=$lt_cv_deplibs_check_method
7064 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7077 if test -n "$ac_tool_prefix"; then
7078 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7079 set dummy ${ac_tool_prefix}ar; ac_word=$2
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7081 $as_echo_n "checking for $ac_word... " >&6; }
7082 if ${ac_cv_prog_AR+:} false; then :
7083 $as_echo_n "(cached) " >&6
7084 else
7085 if test -n "$AR"; then
7086 ac_cv_prog_AR="$AR" # Let the user override the test.
7087 else
7088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7089 for as_dir in $PATH
7091 IFS=$as_save_IFS
7092 test -z "$as_dir" && as_dir=.
7093 for ac_exec_ext in '' $ac_executable_extensions; do
7094 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7095 ac_cv_prog_AR="${ac_tool_prefix}ar"
7096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7097 break 2
7099 done
7100 done
7101 IFS=$as_save_IFS
7105 AR=$ac_cv_prog_AR
7106 if test -n "$AR"; then
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7108 $as_echo "$AR" >&6; }
7109 else
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7111 $as_echo "no" >&6; }
7116 if test -z "$ac_cv_prog_AR"; then
7117 ac_ct_AR=$AR
7118 # Extract the first word of "ar", so it can be a program name with args.
7119 set dummy ar; ac_word=$2
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7121 $as_echo_n "checking for $ac_word... " >&6; }
7122 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7123 $as_echo_n "(cached) " >&6
7124 else
7125 if test -n "$ac_ct_AR"; then
7126 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7127 else
7128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7129 for as_dir in $PATH
7131 IFS=$as_save_IFS
7132 test -z "$as_dir" && as_dir=.
7133 for ac_exec_ext in '' $ac_executable_extensions; do
7134 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7135 ac_cv_prog_ac_ct_AR="ar"
7136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7137 break 2
7139 done
7140 done
7141 IFS=$as_save_IFS
7145 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7146 if test -n "$ac_ct_AR"; then
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7148 $as_echo "$ac_ct_AR" >&6; }
7149 else
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7151 $as_echo "no" >&6; }
7154 if test "x$ac_ct_AR" = x; then
7155 AR="false"
7156 else
7157 case $cross_compiling:$ac_tool_warned in
7158 yes:)
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7160 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7161 ac_tool_warned=yes ;;
7162 esac
7163 AR=$ac_ct_AR
7165 else
7166 AR="$ac_cv_prog_AR"
7169 test -z "$AR" && AR=ar
7170 test -z "$AR_FLAGS" && AR_FLAGS=cru
7182 if test -n "$ac_tool_prefix"; then
7183 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7184 set dummy ${ac_tool_prefix}strip; ac_word=$2
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7186 $as_echo_n "checking for $ac_word... " >&6; }
7187 if ${ac_cv_prog_STRIP+:} false; then :
7188 $as_echo_n "(cached) " >&6
7189 else
7190 if test -n "$STRIP"; then
7191 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7192 else
7193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7194 for as_dir in $PATH
7196 IFS=$as_save_IFS
7197 test -z "$as_dir" && as_dir=.
7198 for ac_exec_ext in '' $ac_executable_extensions; do
7199 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7200 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7202 break 2
7204 done
7205 done
7206 IFS=$as_save_IFS
7210 STRIP=$ac_cv_prog_STRIP
7211 if test -n "$STRIP"; then
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7213 $as_echo "$STRIP" >&6; }
7214 else
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7216 $as_echo "no" >&6; }
7221 if test -z "$ac_cv_prog_STRIP"; then
7222 ac_ct_STRIP=$STRIP
7223 # Extract the first word of "strip", so it can be a program name with args.
7224 set dummy strip; ac_word=$2
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7226 $as_echo_n "checking for $ac_word... " >&6; }
7227 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7228 $as_echo_n "(cached) " >&6
7229 else
7230 if test -n "$ac_ct_STRIP"; then
7231 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7232 else
7233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7234 for as_dir in $PATH
7236 IFS=$as_save_IFS
7237 test -z "$as_dir" && as_dir=.
7238 for ac_exec_ext in '' $ac_executable_extensions; do
7239 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7240 ac_cv_prog_ac_ct_STRIP="strip"
7241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7242 break 2
7244 done
7245 done
7246 IFS=$as_save_IFS
7250 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7251 if test -n "$ac_ct_STRIP"; then
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7253 $as_echo "$ac_ct_STRIP" >&6; }
7254 else
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7256 $as_echo "no" >&6; }
7259 if test "x$ac_ct_STRIP" = x; then
7260 STRIP=":"
7261 else
7262 case $cross_compiling:$ac_tool_warned in
7263 yes:)
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7265 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7266 ac_tool_warned=yes ;;
7267 esac
7268 STRIP=$ac_ct_STRIP
7270 else
7271 STRIP="$ac_cv_prog_STRIP"
7274 test -z "$STRIP" && STRIP=:
7281 if test -n "$ac_tool_prefix"; then
7282 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7283 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7285 $as_echo_n "checking for $ac_word... " >&6; }
7286 if ${ac_cv_prog_RANLIB+:} false; then :
7287 $as_echo_n "(cached) " >&6
7288 else
7289 if test -n "$RANLIB"; then
7290 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7291 else
7292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7293 for as_dir in $PATH
7295 IFS=$as_save_IFS
7296 test -z "$as_dir" && as_dir=.
7297 for ac_exec_ext in '' $ac_executable_extensions; do
7298 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7299 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7301 break 2
7303 done
7304 done
7305 IFS=$as_save_IFS
7309 RANLIB=$ac_cv_prog_RANLIB
7310 if test -n "$RANLIB"; then
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7312 $as_echo "$RANLIB" >&6; }
7313 else
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7315 $as_echo "no" >&6; }
7320 if test -z "$ac_cv_prog_RANLIB"; then
7321 ac_ct_RANLIB=$RANLIB
7322 # Extract the first word of "ranlib", so it can be a program name with args.
7323 set dummy ranlib; ac_word=$2
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7325 $as_echo_n "checking for $ac_word... " >&6; }
7326 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7327 $as_echo_n "(cached) " >&6
7328 else
7329 if test -n "$ac_ct_RANLIB"; then
7330 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7331 else
7332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7333 for as_dir in $PATH
7335 IFS=$as_save_IFS
7336 test -z "$as_dir" && as_dir=.
7337 for ac_exec_ext in '' $ac_executable_extensions; do
7338 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7339 ac_cv_prog_ac_ct_RANLIB="ranlib"
7340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7341 break 2
7343 done
7344 done
7345 IFS=$as_save_IFS
7349 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7350 if test -n "$ac_ct_RANLIB"; then
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7352 $as_echo "$ac_ct_RANLIB" >&6; }
7353 else
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7355 $as_echo "no" >&6; }
7358 if test "x$ac_ct_RANLIB" = x; then
7359 RANLIB=":"
7360 else
7361 case $cross_compiling:$ac_tool_warned in
7362 yes:)
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7364 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7365 ac_tool_warned=yes ;;
7366 esac
7367 RANLIB=$ac_ct_RANLIB
7369 else
7370 RANLIB="$ac_cv_prog_RANLIB"
7373 test -z "$RANLIB" && RANLIB=:
7380 # Determine commands to create old-style static archives.
7381 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7382 old_postinstall_cmds='chmod 644 $oldlib'
7383 old_postuninstall_cmds=
7385 if test -n "$RANLIB"; then
7386 case $host_os in
7387 openbsd*)
7388 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7391 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7393 esac
7394 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7397 case $host_os in
7398 darwin*)
7399 lock_old_archive_extraction=yes ;;
7401 lock_old_archive_extraction=no ;;
7402 esac
7442 # If no C compiler was specified, use CC.
7443 LTCC=${LTCC-"$CC"}
7445 # If no C compiler flags were specified, use CFLAGS.
7446 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7448 # Allow CC to be a program name with arguments.
7449 compiler=$CC
7452 # Check for command to grab the raw symbol name followed by C symbol from nm.
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7454 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7455 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7456 $as_echo_n "(cached) " >&6
7457 else
7459 # These are sane defaults that work on at least a few old systems.
7460 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7462 # Character class describing NM global symbol codes.
7463 symcode='[BCDEGRST]'
7465 # Regexp to match symbols that can be accessed directly from C.
7466 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7468 # Define system-specific variables.
7469 case $host_os in
7470 aix*)
7471 symcode='[BCDT]'
7473 cygwin* | mingw* | pw32* | cegcc*)
7474 symcode='[ABCDGISTW]'
7476 hpux*)
7477 if test "$host_cpu" = ia64; then
7478 symcode='[ABCDEGRST]'
7481 irix* | nonstopux*)
7482 symcode='[BCDEGRST]'
7484 osf*)
7485 symcode='[BCDEGQRST]'
7487 solaris*)
7488 symcode='[BDRT]'
7490 sco3.2v5*)
7491 symcode='[DT]'
7493 sysv4.2uw2*)
7494 symcode='[DT]'
7496 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7497 symcode='[ABDT]'
7499 sysv4)
7500 symcode='[DFNSTU]'
7502 esac
7504 # If we're using GNU nm, then use its standard symbol codes.
7505 case `$NM -V 2>&1` in
7506 *GNU* | *'with BFD'*)
7507 symcode='[ABCDGIRSTW]' ;;
7508 esac
7510 # Transform an extracted symbol line into a proper C declaration.
7511 # Some systems (esp. on ia64) link data and code symbols differently,
7512 # so use this general approach.
7513 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7515 # Transform an extracted symbol line into symbol name and symbol address
7516 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7517 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
7519 # Handle CRLF in mingw tool chain
7520 opt_cr=
7521 case $build_os in
7522 mingw*)
7523 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7525 esac
7527 # Try without a prefix underscore, then with it.
7528 for ac_symprfx in "" "_"; do
7530 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7531 symxfrm="\\1 $ac_symprfx\\2 \\2"
7533 # Write the raw and C identifiers.
7534 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7535 # Fake it for dumpbin and say T for any non-static function
7536 # and D for any global variable.
7537 # Also find C++ and __fastcall symbols from MSVC++,
7538 # which start with @ or ?.
7539 lt_cv_sys_global_symbol_pipe="$AWK '"\
7540 " {last_section=section; section=\$ 3};"\
7541 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7542 " \$ 0!~/External *\|/{next};"\
7543 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7544 " {if(hide[section]) next};"\
7545 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7546 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7547 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7548 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7549 " ' prfx=^$ac_symprfx"
7550 else
7551 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7554 # Check to see that the pipe works correctly.
7555 pipe_works=no
7557 rm -f conftest*
7558 cat > conftest.$ac_ext <<_LT_EOF
7559 #ifdef __cplusplus
7560 extern "C" {
7561 #endif
7562 char nm_test_var;
7563 void nm_test_func(void);
7564 void nm_test_func(void){}
7565 #ifdef __cplusplus
7567 #endif
7568 int main(){nm_test_var='a';nm_test_func();return(0);}
7569 _LT_EOF
7571 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7572 (eval $ac_compile) 2>&5
7573 ac_status=$?
7574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7575 test $ac_status = 0; }; then
7576 # Now try to grab the symbols.
7577 nlist=conftest.nm
7578 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7579 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7580 ac_status=$?
7581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7582 test $ac_status = 0; } && test -s "$nlist"; then
7583 # Try sorting and uniquifying the output.
7584 if sort "$nlist" | uniq > "$nlist"T; then
7585 mv -f "$nlist"T "$nlist"
7586 else
7587 rm -f "$nlist"T
7590 # Make sure that we snagged all the symbols we need.
7591 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7592 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7593 cat <<_LT_EOF > conftest.$ac_ext
7594 #ifdef __cplusplus
7595 extern "C" {
7596 #endif
7598 _LT_EOF
7599 # Now generate the symbol file.
7600 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7602 cat <<_LT_EOF >> conftest.$ac_ext
7604 /* The mapping between symbol names and symbols. */
7605 const struct {
7606 const char *name;
7607 void *address;
7609 lt__PROGRAM__LTX_preloaded_symbols[] =
7611 { "@PROGRAM@", (void *) 0 },
7612 _LT_EOF
7613 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7614 cat <<\_LT_EOF >> conftest.$ac_ext
7615 {0, (void *) 0}
7618 /* This works around a problem in FreeBSD linker */
7619 #ifdef FREEBSD_WORKAROUND
7620 static const void *lt_preloaded_setup() {
7621 return lt__PROGRAM__LTX_preloaded_symbols;
7623 #endif
7625 #ifdef __cplusplus
7627 #endif
7628 _LT_EOF
7629 # Now try linking the two files.
7630 mv conftest.$ac_objext conftstm.$ac_objext
7631 lt_save_LIBS="$LIBS"
7632 lt_save_CFLAGS="$CFLAGS"
7633 LIBS="conftstm.$ac_objext"
7634 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7635 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7636 (eval $ac_link) 2>&5
7637 ac_status=$?
7638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7639 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7640 pipe_works=yes
7642 LIBS="$lt_save_LIBS"
7643 CFLAGS="$lt_save_CFLAGS"
7644 else
7645 echo "cannot find nm_test_func in $nlist" >&5
7647 else
7648 echo "cannot find nm_test_var in $nlist" >&5
7650 else
7651 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7653 else
7654 echo "$progname: failed program was:" >&5
7655 cat conftest.$ac_ext >&5
7657 rm -rf conftest* conftst*
7659 # Do not use the global_symbol_pipe unless it works.
7660 if test "$pipe_works" = yes; then
7661 break
7662 else
7663 lt_cv_sys_global_symbol_pipe=
7665 done
7669 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7670 lt_cv_sys_global_symbol_to_cdecl=
7672 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7674 $as_echo "failed" >&6; }
7675 else
7676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7677 $as_echo "ok" >&6; }
7701 # Check whether --enable-libtool-lock was given.
7702 if test "${enable_libtool_lock+set}" = set; then :
7703 enableval=$enable_libtool_lock;
7706 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7708 # Some flags need to be propagated to the compiler or linker for good
7709 # libtool support.
7710 case $host in
7711 ia64-*-hpux*)
7712 # Find out which ABI we are using.
7713 echo 'int i;' > conftest.$ac_ext
7714 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7715 (eval $ac_compile) 2>&5
7716 ac_status=$?
7717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7718 test $ac_status = 0; }; then
7719 case `/usr/bin/file conftest.$ac_objext` in
7720 *ELF-32*)
7721 HPUX_IA64_MODE="32"
7723 *ELF-64*)
7724 HPUX_IA64_MODE="64"
7726 esac
7728 rm -rf conftest*
7730 *-*-irix6*)
7731 # Find out which ABI we are using.
7732 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7733 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7734 (eval $ac_compile) 2>&5
7735 ac_status=$?
7736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7737 test $ac_status = 0; }; then
7738 if test "$lt_cv_prog_gnu_ld" = yes; then
7739 case `/usr/bin/file conftest.$ac_objext` in
7740 *32-bit*)
7741 LD="${LD-ld} -melf32bsmip"
7743 *N32*)
7744 LD="${LD-ld} -melf32bmipn32"
7746 *64-bit*)
7747 LD="${LD-ld} -melf64bmip"
7749 esac
7750 else
7751 case `/usr/bin/file conftest.$ac_objext` in
7752 *32-bit*)
7753 LD="${LD-ld} -32"
7755 *N32*)
7756 LD="${LD-ld} -n32"
7758 *64-bit*)
7759 LD="${LD-ld} -64"
7761 esac
7764 rm -rf conftest*
7767 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7768 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7769 # Find out which ABI we are using.
7770 echo 'int i;' > conftest.$ac_ext
7771 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7772 (eval $ac_compile) 2>&5
7773 ac_status=$?
7774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7775 test $ac_status = 0; }; then
7776 case `/usr/bin/file conftest.o` in
7777 *32-bit*)
7778 case $host in
7779 x86_64-*kfreebsd*-gnu)
7780 LD="${LD-ld} -m elf_i386_fbsd"
7782 x86_64-*linux*)
7783 case `/usr/bin/file conftest.o` in
7784 *x86-64*)
7785 LD="${LD-ld} -m elf32_x86_64"
7788 LD="${LD-ld} -m elf_i386"
7790 esac
7792 powerpc64le-*linux*)
7793 LD="${LD-ld} -m elf32lppclinux"
7795 powerpc64-*linux*)
7796 LD="${LD-ld} -m elf32ppclinux"
7798 s390x-*linux*)
7799 LD="${LD-ld} -m elf_s390"
7801 sparc64-*linux*)
7802 LD="${LD-ld} -m elf32_sparc"
7804 esac
7806 *64-bit*)
7807 case $host in
7808 x86_64-*kfreebsd*-gnu)
7809 LD="${LD-ld} -m elf_x86_64_fbsd"
7811 x86_64-*linux*)
7812 LD="${LD-ld} -m elf_x86_64"
7814 powerpcle-*linux*)
7815 LD="${LD-ld} -m elf64lppc"
7817 powerpc-*linux*)
7818 LD="${LD-ld} -m elf64ppc"
7820 s390*-*linux*|s390*-*tpf*)
7821 LD="${LD-ld} -m elf64_s390"
7823 sparc*-*linux*)
7824 LD="${LD-ld} -m elf64_sparc"
7826 esac
7828 esac
7830 rm -rf conftest*
7833 *-*-sco3.2v5*)
7834 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7835 SAVE_CFLAGS="$CFLAGS"
7836 CFLAGS="$CFLAGS -belf"
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7838 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7839 if ${lt_cv_cc_needs_belf+:} false; then :
7840 $as_echo_n "(cached) " >&6
7841 else
7842 ac_ext=c
7843 ac_cpp='$CPP $CPPFLAGS'
7844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7848 if test x$gcc_no_link = xyes; then
7849 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7852 /* end confdefs.h. */
7855 main ()
7859 return 0;
7861 _ACEOF
7862 if ac_fn_c_try_link "$LINENO"; then :
7863 lt_cv_cc_needs_belf=yes
7864 else
7865 lt_cv_cc_needs_belf=no
7867 rm -f core conftest.err conftest.$ac_objext \
7868 conftest$ac_exeext conftest.$ac_ext
7869 ac_ext=c
7870 ac_cpp='$CPP $CPPFLAGS'
7871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7877 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7878 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7879 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7880 CFLAGS="$SAVE_CFLAGS"
7883 sparc*-*solaris*)
7884 # Find out which ABI we are using.
7885 echo 'int i;' > conftest.$ac_ext
7886 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7887 (eval $ac_compile) 2>&5
7888 ac_status=$?
7889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7890 test $ac_status = 0; }; then
7891 case `/usr/bin/file conftest.o` in
7892 *64-bit*)
7893 case $lt_cv_prog_gnu_ld in
7894 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7896 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7897 LD="${LD-ld} -64"
7900 esac
7902 esac
7904 rm -rf conftest*
7906 esac
7908 need_locks="$enable_libtool_lock"
7911 case $host_os in
7912 rhapsody* | darwin*)
7913 if test -n "$ac_tool_prefix"; then
7914 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7915 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7917 $as_echo_n "checking for $ac_word... " >&6; }
7918 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7919 $as_echo_n "(cached) " >&6
7920 else
7921 if test -n "$DSYMUTIL"; then
7922 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7923 else
7924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7925 for as_dir in $PATH
7927 IFS=$as_save_IFS
7928 test -z "$as_dir" && as_dir=.
7929 for ac_exec_ext in '' $ac_executable_extensions; do
7930 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7931 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7933 break 2
7935 done
7936 done
7937 IFS=$as_save_IFS
7941 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7942 if test -n "$DSYMUTIL"; then
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7944 $as_echo "$DSYMUTIL" >&6; }
7945 else
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7947 $as_echo "no" >&6; }
7952 if test -z "$ac_cv_prog_DSYMUTIL"; then
7953 ac_ct_DSYMUTIL=$DSYMUTIL
7954 # Extract the first word of "dsymutil", so it can be a program name with args.
7955 set dummy dsymutil; ac_word=$2
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7957 $as_echo_n "checking for $ac_word... " >&6; }
7958 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7959 $as_echo_n "(cached) " >&6
7960 else
7961 if test -n "$ac_ct_DSYMUTIL"; then
7962 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7963 else
7964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7965 for as_dir in $PATH
7967 IFS=$as_save_IFS
7968 test -z "$as_dir" && as_dir=.
7969 for ac_exec_ext in '' $ac_executable_extensions; do
7970 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7971 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7973 break 2
7975 done
7976 done
7977 IFS=$as_save_IFS
7981 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7982 if test -n "$ac_ct_DSYMUTIL"; then
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7984 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7985 else
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7987 $as_echo "no" >&6; }
7990 if test "x$ac_ct_DSYMUTIL" = x; then
7991 DSYMUTIL=":"
7992 else
7993 case $cross_compiling:$ac_tool_warned in
7994 yes:)
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7996 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7997 ac_tool_warned=yes ;;
7998 esac
7999 DSYMUTIL=$ac_ct_DSYMUTIL
8001 else
8002 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8005 if test -n "$ac_tool_prefix"; then
8006 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8007 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8009 $as_echo_n "checking for $ac_word... " >&6; }
8010 if ${ac_cv_prog_NMEDIT+:} false; then :
8011 $as_echo_n "(cached) " >&6
8012 else
8013 if test -n "$NMEDIT"; then
8014 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8015 else
8016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8017 for as_dir in $PATH
8019 IFS=$as_save_IFS
8020 test -z "$as_dir" && as_dir=.
8021 for ac_exec_ext in '' $ac_executable_extensions; do
8022 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8023 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8025 break 2
8027 done
8028 done
8029 IFS=$as_save_IFS
8033 NMEDIT=$ac_cv_prog_NMEDIT
8034 if test -n "$NMEDIT"; then
8035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8036 $as_echo "$NMEDIT" >&6; }
8037 else
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8039 $as_echo "no" >&6; }
8044 if test -z "$ac_cv_prog_NMEDIT"; then
8045 ac_ct_NMEDIT=$NMEDIT
8046 # Extract the first word of "nmedit", so it can be a program name with args.
8047 set dummy nmedit; ac_word=$2
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8049 $as_echo_n "checking for $ac_word... " >&6; }
8050 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8051 $as_echo_n "(cached) " >&6
8052 else
8053 if test -n "$ac_ct_NMEDIT"; then
8054 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8055 else
8056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8057 for as_dir in $PATH
8059 IFS=$as_save_IFS
8060 test -z "$as_dir" && as_dir=.
8061 for ac_exec_ext in '' $ac_executable_extensions; do
8062 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8063 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8065 break 2
8067 done
8068 done
8069 IFS=$as_save_IFS
8073 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8074 if test -n "$ac_ct_NMEDIT"; then
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8076 $as_echo "$ac_ct_NMEDIT" >&6; }
8077 else
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8079 $as_echo "no" >&6; }
8082 if test "x$ac_ct_NMEDIT" = x; then
8083 NMEDIT=":"
8084 else
8085 case $cross_compiling:$ac_tool_warned in
8086 yes:)
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8088 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8089 ac_tool_warned=yes ;;
8090 esac
8091 NMEDIT=$ac_ct_NMEDIT
8093 else
8094 NMEDIT="$ac_cv_prog_NMEDIT"
8097 if test -n "$ac_tool_prefix"; then
8098 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8099 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8101 $as_echo_n "checking for $ac_word... " >&6; }
8102 if ${ac_cv_prog_LIPO+:} false; then :
8103 $as_echo_n "(cached) " >&6
8104 else
8105 if test -n "$LIPO"; then
8106 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8107 else
8108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8109 for as_dir in $PATH
8111 IFS=$as_save_IFS
8112 test -z "$as_dir" && as_dir=.
8113 for ac_exec_ext in '' $ac_executable_extensions; do
8114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8115 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8117 break 2
8119 done
8120 done
8121 IFS=$as_save_IFS
8125 LIPO=$ac_cv_prog_LIPO
8126 if test -n "$LIPO"; then
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8128 $as_echo "$LIPO" >&6; }
8129 else
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8131 $as_echo "no" >&6; }
8136 if test -z "$ac_cv_prog_LIPO"; then
8137 ac_ct_LIPO=$LIPO
8138 # Extract the first word of "lipo", so it can be a program name with args.
8139 set dummy lipo; ac_word=$2
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8141 $as_echo_n "checking for $ac_word... " >&6; }
8142 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8143 $as_echo_n "(cached) " >&6
8144 else
8145 if test -n "$ac_ct_LIPO"; then
8146 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8147 else
8148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8149 for as_dir in $PATH
8151 IFS=$as_save_IFS
8152 test -z "$as_dir" && as_dir=.
8153 for ac_exec_ext in '' $ac_executable_extensions; do
8154 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8155 ac_cv_prog_ac_ct_LIPO="lipo"
8156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8157 break 2
8159 done
8160 done
8161 IFS=$as_save_IFS
8165 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8166 if test -n "$ac_ct_LIPO"; then
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8168 $as_echo "$ac_ct_LIPO" >&6; }
8169 else
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8171 $as_echo "no" >&6; }
8174 if test "x$ac_ct_LIPO" = x; then
8175 LIPO=":"
8176 else
8177 case $cross_compiling:$ac_tool_warned in
8178 yes:)
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8180 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8181 ac_tool_warned=yes ;;
8182 esac
8183 LIPO=$ac_ct_LIPO
8185 else
8186 LIPO="$ac_cv_prog_LIPO"
8189 if test -n "$ac_tool_prefix"; then
8190 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8191 set dummy ${ac_tool_prefix}otool; ac_word=$2
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8193 $as_echo_n "checking for $ac_word... " >&6; }
8194 if ${ac_cv_prog_OTOOL+:} false; then :
8195 $as_echo_n "(cached) " >&6
8196 else
8197 if test -n "$OTOOL"; then
8198 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8199 else
8200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8201 for as_dir in $PATH
8203 IFS=$as_save_IFS
8204 test -z "$as_dir" && as_dir=.
8205 for ac_exec_ext in '' $ac_executable_extensions; do
8206 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8207 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8209 break 2
8211 done
8212 done
8213 IFS=$as_save_IFS
8217 OTOOL=$ac_cv_prog_OTOOL
8218 if test -n "$OTOOL"; then
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8220 $as_echo "$OTOOL" >&6; }
8221 else
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8223 $as_echo "no" >&6; }
8228 if test -z "$ac_cv_prog_OTOOL"; then
8229 ac_ct_OTOOL=$OTOOL
8230 # Extract the first word of "otool", so it can be a program name with args.
8231 set dummy otool; ac_word=$2
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8233 $as_echo_n "checking for $ac_word... " >&6; }
8234 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8235 $as_echo_n "(cached) " >&6
8236 else
8237 if test -n "$ac_ct_OTOOL"; then
8238 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8239 else
8240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8241 for as_dir in $PATH
8243 IFS=$as_save_IFS
8244 test -z "$as_dir" && as_dir=.
8245 for ac_exec_ext in '' $ac_executable_extensions; do
8246 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8247 ac_cv_prog_ac_ct_OTOOL="otool"
8248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8249 break 2
8251 done
8252 done
8253 IFS=$as_save_IFS
8257 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8258 if test -n "$ac_ct_OTOOL"; then
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8260 $as_echo "$ac_ct_OTOOL" >&6; }
8261 else
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8263 $as_echo "no" >&6; }
8266 if test "x$ac_ct_OTOOL" = x; then
8267 OTOOL=":"
8268 else
8269 case $cross_compiling:$ac_tool_warned in
8270 yes:)
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8272 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8273 ac_tool_warned=yes ;;
8274 esac
8275 OTOOL=$ac_ct_OTOOL
8277 else
8278 OTOOL="$ac_cv_prog_OTOOL"
8281 if test -n "$ac_tool_prefix"; then
8282 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8283 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8285 $as_echo_n "checking for $ac_word... " >&6; }
8286 if ${ac_cv_prog_OTOOL64+:} false; then :
8287 $as_echo_n "(cached) " >&6
8288 else
8289 if test -n "$OTOOL64"; then
8290 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8291 else
8292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8293 for as_dir in $PATH
8295 IFS=$as_save_IFS
8296 test -z "$as_dir" && as_dir=.
8297 for ac_exec_ext in '' $ac_executable_extensions; do
8298 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8299 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8301 break 2
8303 done
8304 done
8305 IFS=$as_save_IFS
8309 OTOOL64=$ac_cv_prog_OTOOL64
8310 if test -n "$OTOOL64"; then
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8312 $as_echo "$OTOOL64" >&6; }
8313 else
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8315 $as_echo "no" >&6; }
8320 if test -z "$ac_cv_prog_OTOOL64"; then
8321 ac_ct_OTOOL64=$OTOOL64
8322 # Extract the first word of "otool64", so it can be a program name with args.
8323 set dummy otool64; ac_word=$2
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8325 $as_echo_n "checking for $ac_word... " >&6; }
8326 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8327 $as_echo_n "(cached) " >&6
8328 else
8329 if test -n "$ac_ct_OTOOL64"; then
8330 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8331 else
8332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8333 for as_dir in $PATH
8335 IFS=$as_save_IFS
8336 test -z "$as_dir" && as_dir=.
8337 for ac_exec_ext in '' $ac_executable_extensions; do
8338 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8339 ac_cv_prog_ac_ct_OTOOL64="otool64"
8340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8341 break 2
8343 done
8344 done
8345 IFS=$as_save_IFS
8349 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8350 if test -n "$ac_ct_OTOOL64"; then
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8352 $as_echo "$ac_ct_OTOOL64" >&6; }
8353 else
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8355 $as_echo "no" >&6; }
8358 if test "x$ac_ct_OTOOL64" = x; then
8359 OTOOL64=":"
8360 else
8361 case $cross_compiling:$ac_tool_warned in
8362 yes:)
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8364 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8365 ac_tool_warned=yes ;;
8366 esac
8367 OTOOL64=$ac_ct_OTOOL64
8369 else
8370 OTOOL64="$ac_cv_prog_OTOOL64"
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8400 $as_echo_n "checking for -single_module linker flag... " >&6; }
8401 if ${lt_cv_apple_cc_single_mod+:} false; then :
8402 $as_echo_n "(cached) " >&6
8403 else
8404 lt_cv_apple_cc_single_mod=no
8405 if test -z "${LT_MULTI_MODULE}"; then
8406 # By default we will add the -single_module flag. You can override
8407 # by either setting the environment variable LT_MULTI_MODULE
8408 # non-empty at configure time, or by adding -multi_module to the
8409 # link flags.
8410 rm -rf libconftest.dylib*
8411 echo "int foo(void){return 1;}" > conftest.c
8412 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8413 -dynamiclib -Wl,-single_module conftest.c" >&5
8414 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8415 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8416 _lt_result=$?
8417 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8418 lt_cv_apple_cc_single_mod=yes
8419 else
8420 cat conftest.err >&5
8422 rm -rf libconftest.dylib*
8423 rm -f conftest.*
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8427 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8429 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8430 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8431 $as_echo_n "(cached) " >&6
8432 else
8433 lt_cv_ld_exported_symbols_list=no
8434 save_LDFLAGS=$LDFLAGS
8435 echo "_main" > conftest.sym
8436 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8437 if test x$gcc_no_link = xyes; then
8438 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8441 /* end confdefs.h. */
8444 main ()
8448 return 0;
8450 _ACEOF
8451 if ac_fn_c_try_link "$LINENO"; then :
8452 lt_cv_ld_exported_symbols_list=yes
8453 else
8454 lt_cv_ld_exported_symbols_list=no
8456 rm -f core conftest.err conftest.$ac_objext \
8457 conftest$ac_exeext conftest.$ac_ext
8458 LDFLAGS="$save_LDFLAGS"
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8462 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8464 $as_echo_n "checking for -force_load linker flag... " >&6; }
8465 if ${lt_cv_ld_force_load+:} false; then :
8466 $as_echo_n "(cached) " >&6
8467 else
8468 lt_cv_ld_force_load=no
8469 cat > conftest.c << _LT_EOF
8470 int forced_loaded() { return 2;}
8471 _LT_EOF
8472 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8473 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8474 echo "$AR cru libconftest.a conftest.o" >&5
8475 $AR cru libconftest.a conftest.o 2>&5
8476 cat > conftest.c << _LT_EOF
8477 int main() { return 0;}
8478 _LT_EOF
8479 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8480 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8481 _lt_result=$?
8482 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8483 lt_cv_ld_force_load=yes
8484 else
8485 cat conftest.err >&5
8487 rm -f conftest.err libconftest.a conftest conftest.c
8488 rm -rf conftest.dSYM
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8492 $as_echo "$lt_cv_ld_force_load" >&6; }
8493 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
8494 # build without first building modern cctools / linker.
8495 case $host_cpu-$host_os in
8496 *-rhapsody* | *-darwin1.[012])
8497 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8498 *-darwin1.*)
8499 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8500 *-darwin*)
8501 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
8502 # deployment target is forced to an earlier version.
8503 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
8504 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
8506 10.[012][,.]*)
8507 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8511 esac
8513 esac
8514 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8515 _lt_dar_single_mod='$single_module'
8517 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8518 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8519 else
8520 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8522 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8523 _lt_dsymutil='~$DSYMUTIL $lib || :'
8524 else
8525 _lt_dsymutil=
8528 esac
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8531 $as_echo_n "checking for ANSI C header files... " >&6; }
8532 if ${ac_cv_header_stdc+:} false; then :
8533 $as_echo_n "(cached) " >&6
8534 else
8535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8536 /* end confdefs.h. */
8537 #include <stdlib.h>
8538 #include <stdarg.h>
8539 #include <string.h>
8540 #include <float.h>
8543 main ()
8547 return 0;
8549 _ACEOF
8550 if ac_fn_c_try_compile "$LINENO"; then :
8551 ac_cv_header_stdc=yes
8552 else
8553 ac_cv_header_stdc=no
8555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8557 if test $ac_cv_header_stdc = yes; then
8558 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8560 /* end confdefs.h. */
8561 #include <string.h>
8563 _ACEOF
8564 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8565 $EGREP "memchr" >/dev/null 2>&1; then :
8567 else
8568 ac_cv_header_stdc=no
8570 rm -f conftest*
8574 if test $ac_cv_header_stdc = yes; then
8575 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8577 /* end confdefs.h. */
8578 #include <stdlib.h>
8580 _ACEOF
8581 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8582 $EGREP "free" >/dev/null 2>&1; then :
8584 else
8585 ac_cv_header_stdc=no
8587 rm -f conftest*
8591 if test $ac_cv_header_stdc = yes; then
8592 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8593 if test "$cross_compiling" = yes; then :
8595 else
8596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8597 /* end confdefs.h. */
8598 #include <ctype.h>
8599 #include <stdlib.h>
8600 #if ((' ' & 0x0FF) == 0x020)
8601 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8602 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8603 #else
8604 # define ISLOWER(c) \
8605 (('a' <= (c) && (c) <= 'i') \
8606 || ('j' <= (c) && (c) <= 'r') \
8607 || ('s' <= (c) && (c) <= 'z'))
8608 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8609 #endif
8611 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8613 main ()
8615 int i;
8616 for (i = 0; i < 256; i++)
8617 if (XOR (islower (i), ISLOWER (i))
8618 || toupper (i) != TOUPPER (i))
8619 return 2;
8620 return 0;
8622 _ACEOF
8623 if ac_fn_c_try_run "$LINENO"; then :
8625 else
8626 ac_cv_header_stdc=no
8628 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8629 conftest.$ac_objext conftest.beam conftest.$ac_ext
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8635 $as_echo "$ac_cv_header_stdc" >&6; }
8636 if test $ac_cv_header_stdc = yes; then
8638 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8642 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8643 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8644 inttypes.h stdint.h unistd.h
8645 do :
8646 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8647 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8649 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8650 cat >>confdefs.h <<_ACEOF
8651 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8652 _ACEOF
8656 done
8659 for ac_header in dlfcn.h
8660 do :
8661 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8663 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8664 cat >>confdefs.h <<_ACEOF
8665 #define HAVE_DLFCN_H 1
8666 _ACEOF
8670 done
8677 # Set options
8682 enable_win32_dll=no
8685 # Check whether --enable-shared was given.
8686 if test "${enable_shared+set}" = set; then :
8687 enableval=$enable_shared; p=${PACKAGE-default}
8688 case $enableval in
8689 yes) enable_shared=yes ;;
8690 no) enable_shared=no ;;
8692 enable_shared=no
8693 # Look at the argument we got. We use all the common list separators.
8694 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8695 for pkg in $enableval; do
8696 IFS="$lt_save_ifs"
8697 if test "X$pkg" = "X$p"; then
8698 enable_shared=yes
8700 done
8701 IFS="$lt_save_ifs"
8703 esac
8704 else
8705 enable_shared=yes
8716 # Check whether --enable-static was given.
8717 if test "${enable_static+set}" = set; then :
8718 enableval=$enable_static; p=${PACKAGE-default}
8719 case $enableval in
8720 yes) enable_static=yes ;;
8721 no) enable_static=no ;;
8723 enable_static=no
8724 # Look at the argument we got. We use all the common list separators.
8725 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8726 for pkg in $enableval; do
8727 IFS="$lt_save_ifs"
8728 if test "X$pkg" = "X$p"; then
8729 enable_static=yes
8731 done
8732 IFS="$lt_save_ifs"
8734 esac
8735 else
8736 enable_static=yes
8748 # Check whether --with-pic was given.
8749 if test "${with_pic+set}" = set; then :
8750 withval=$with_pic; pic_mode="$withval"
8751 else
8752 pic_mode=default
8756 test -z "$pic_mode" && pic_mode=default
8764 # Check whether --enable-fast-install was given.
8765 if test "${enable_fast_install+set}" = set; then :
8766 enableval=$enable_fast_install; p=${PACKAGE-default}
8767 case $enableval in
8768 yes) enable_fast_install=yes ;;
8769 no) enable_fast_install=no ;;
8771 enable_fast_install=no
8772 # Look at the argument we got. We use all the common list separators.
8773 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8774 for pkg in $enableval; do
8775 IFS="$lt_save_ifs"
8776 if test "X$pkg" = "X$p"; then
8777 enable_fast_install=yes
8779 done
8780 IFS="$lt_save_ifs"
8782 esac
8783 else
8784 enable_fast_install=yes
8797 # This can be used to rebuild libtool when needed
8798 LIBTOOL_DEPS="$ltmain"
8800 # Always use our own libtool.
8801 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8828 test -z "$LN_S" && LN_S="ln -s"
8843 if test -n "${ZSH_VERSION+set}" ; then
8844 setopt NO_GLOB_SUBST
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8848 $as_echo_n "checking for objdir... " >&6; }
8849 if ${lt_cv_objdir+:} false; then :
8850 $as_echo_n "(cached) " >&6
8851 else
8852 rm -f .libs 2>/dev/null
8853 mkdir .libs 2>/dev/null
8854 if test -d .libs; then
8855 lt_cv_objdir=.libs
8856 else
8857 # MS-DOS does not allow filenames that begin with a dot.
8858 lt_cv_objdir=_libs
8860 rmdir .libs 2>/dev/null
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8863 $as_echo "$lt_cv_objdir" >&6; }
8864 objdir=$lt_cv_objdir
8870 cat >>confdefs.h <<_ACEOF
8871 #define LT_OBJDIR "$lt_cv_objdir/"
8872 _ACEOF
8877 case $host_os in
8878 aix3*)
8879 # AIX sometimes has problems with the GCC collect2 program. For some
8880 # reason, if we set the COLLECT_NAMES environment variable, the problems
8881 # vanish in a puff of smoke.
8882 if test "X${COLLECT_NAMES+set}" != Xset; then
8883 COLLECT_NAMES=
8884 export COLLECT_NAMES
8887 esac
8889 # Global variables:
8890 ofile=libtool
8891 can_build_shared=yes
8893 # All known linkers require a `.a' archive for static linking (except MSVC,
8894 # which needs '.lib').
8895 libext=a
8897 with_gnu_ld="$lt_cv_prog_gnu_ld"
8899 old_CC="$CC"
8900 old_CFLAGS="$CFLAGS"
8902 # Set sane defaults for various variables
8903 test -z "$CC" && CC=cc
8904 test -z "$LTCC" && LTCC=$CC
8905 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8906 test -z "$LD" && LD=ld
8907 test -z "$ac_objext" && ac_objext=o
8909 for cc_temp in $compiler""; do
8910 case $cc_temp in
8911 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8912 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8913 \-*) ;;
8914 *) break;;
8915 esac
8916 done
8917 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8920 # Only perform the check for file, if the check method requires it
8921 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8922 case $deplibs_check_method in
8923 file_magic*)
8924 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8926 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8927 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8928 $as_echo_n "(cached) " >&6
8929 else
8930 case $MAGIC_CMD in
8931 [\\/*] | ?:[\\/]*)
8932 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8935 lt_save_MAGIC_CMD="$MAGIC_CMD"
8936 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8937 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8938 for ac_dir in $ac_dummy; do
8939 IFS="$lt_save_ifs"
8940 test -z "$ac_dir" && ac_dir=.
8941 if test -f $ac_dir/${ac_tool_prefix}file; then
8942 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8943 if test -n "$file_magic_test_file"; then
8944 case $deplibs_check_method in
8945 "file_magic "*)
8946 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8947 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8948 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8949 $EGREP "$file_magic_regex" > /dev/null; then
8951 else
8952 cat <<_LT_EOF 1>&2
8954 *** Warning: the command libtool uses to detect shared libraries,
8955 *** $file_magic_cmd, produces output that libtool cannot recognize.
8956 *** The result is that libtool may fail to recognize shared libraries
8957 *** as such. This will affect the creation of libtool libraries that
8958 *** depend on shared libraries, but programs linked with such libtool
8959 *** libraries will work regardless of this problem. Nevertheless, you
8960 *** may want to report the problem to your system manager and/or to
8961 *** bug-libtool@gnu.org
8963 _LT_EOF
8964 fi ;;
8965 esac
8967 break
8969 done
8970 IFS="$lt_save_ifs"
8971 MAGIC_CMD="$lt_save_MAGIC_CMD"
8973 esac
8976 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8977 if test -n "$MAGIC_CMD"; then
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8979 $as_echo "$MAGIC_CMD" >&6; }
8980 else
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8982 $as_echo "no" >&6; }
8989 if test -z "$lt_cv_path_MAGIC_CMD"; then
8990 if test -n "$ac_tool_prefix"; then
8991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8992 $as_echo_n "checking for file... " >&6; }
8993 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8994 $as_echo_n "(cached) " >&6
8995 else
8996 case $MAGIC_CMD in
8997 [\\/*] | ?:[\\/]*)
8998 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9001 lt_save_MAGIC_CMD="$MAGIC_CMD"
9002 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9003 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9004 for ac_dir in $ac_dummy; do
9005 IFS="$lt_save_ifs"
9006 test -z "$ac_dir" && ac_dir=.
9007 if test -f $ac_dir/file; then
9008 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9009 if test -n "$file_magic_test_file"; then
9010 case $deplibs_check_method in
9011 "file_magic "*)
9012 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9013 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9014 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9015 $EGREP "$file_magic_regex" > /dev/null; then
9017 else
9018 cat <<_LT_EOF 1>&2
9020 *** Warning: the command libtool uses to detect shared libraries,
9021 *** $file_magic_cmd, produces output that libtool cannot recognize.
9022 *** The result is that libtool may fail to recognize shared libraries
9023 *** as such. This will affect the creation of libtool libraries that
9024 *** depend on shared libraries, but programs linked with such libtool
9025 *** libraries will work regardless of this problem. Nevertheless, you
9026 *** may want to report the problem to your system manager and/or to
9027 *** bug-libtool@gnu.org
9029 _LT_EOF
9030 fi ;;
9031 esac
9033 break
9035 done
9036 IFS="$lt_save_ifs"
9037 MAGIC_CMD="$lt_save_MAGIC_CMD"
9039 esac
9042 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9043 if test -n "$MAGIC_CMD"; then
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9045 $as_echo "$MAGIC_CMD" >&6; }
9046 else
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9048 $as_echo "no" >&6; }
9052 else
9053 MAGIC_CMD=:
9059 esac
9061 # Use C for the default configuration in the libtool script
9063 lt_save_CC="$CC"
9064 ac_ext=c
9065 ac_cpp='$CPP $CPPFLAGS'
9066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9071 # Source file extension for C test sources.
9072 ac_ext=c
9074 # Object file extension for compiled C test sources.
9075 objext=o
9076 objext=$objext
9078 # Code to be used in simple compile tests
9079 lt_simple_compile_test_code="int some_variable = 0;"
9081 # Code to be used in simple link tests
9082 lt_simple_link_test_code='int main(){return(0);}'
9090 # If no C compiler was specified, use CC.
9091 LTCC=${LTCC-"$CC"}
9093 # If no C compiler flags were specified, use CFLAGS.
9094 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9096 # Allow CC to be a program name with arguments.
9097 compiler=$CC
9099 # Save the default compiler, since it gets overwritten when the other
9100 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9101 compiler_DEFAULT=$CC
9103 # save warnings/boilerplate of simple test code
9104 ac_outfile=conftest.$ac_objext
9105 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9106 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9107 _lt_compiler_boilerplate=`cat conftest.err`
9108 $RM conftest*
9110 ac_outfile=conftest.$ac_objext
9111 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9112 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9113 _lt_linker_boilerplate=`cat conftest.err`
9114 $RM -r conftest*
9117 ## CAVEAT EMPTOR:
9118 ## There is no encapsulation within the following macros, do not change
9119 ## the running order or otherwise move them around unless you know exactly
9120 ## what you are doing...
9121 if test -n "$compiler"; then
9123 lt_prog_compiler_no_builtin_flag=
9125 if test "$GCC" = yes; then
9126 case $cc_basename in
9127 nvcc*)
9128 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9130 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9131 esac
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9134 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9135 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9136 $as_echo_n "(cached) " >&6
9137 else
9138 lt_cv_prog_compiler_rtti_exceptions=no
9139 ac_outfile=conftest.$ac_objext
9140 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9141 lt_compiler_flag="-fno-rtti -fno-exceptions"
9142 # Insert the option either (1) after the last *FLAGS variable, or
9143 # (2) before a word containing "conftest.", or (3) at the end.
9144 # Note that $ac_compile itself does not contain backslashes and begins
9145 # with a dollar sign (not a hyphen), so the echo should work correctly.
9146 # The option is referenced via a variable to avoid confusing sed.
9147 lt_compile=`echo "$ac_compile" | $SED \
9148 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9149 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9150 -e 's:$: $lt_compiler_flag:'`
9151 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9152 (eval "$lt_compile" 2>conftest.err)
9153 ac_status=$?
9154 cat conftest.err >&5
9155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9156 if (exit $ac_status) && test -s "$ac_outfile"; then
9157 # The compiler can only warn and ignore the option if not recognized
9158 # So say no if there are warnings other than the usual output.
9159 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9160 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9161 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9162 lt_cv_prog_compiler_rtti_exceptions=yes
9165 $RM conftest*
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9169 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9171 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9172 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9173 else
9184 lt_prog_compiler_wl=
9185 lt_prog_compiler_pic=
9186 lt_prog_compiler_static=
9188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9189 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9191 if test "$GCC" = yes; then
9192 lt_prog_compiler_wl='-Wl,'
9193 lt_prog_compiler_static='-static'
9195 case $host_os in
9196 aix*)
9197 # All AIX code is PIC.
9198 if test "$host_cpu" = ia64; then
9199 # AIX 5 now supports IA64 processor
9200 lt_prog_compiler_static='-Bstatic'
9202 lt_prog_compiler_pic='-fPIC'
9205 amigaos*)
9206 case $host_cpu in
9207 powerpc)
9208 # see comment about AmigaOS4 .so support
9209 lt_prog_compiler_pic='-fPIC'
9211 m68k)
9212 # FIXME: we need at least 68020 code to build shared libraries, but
9213 # adding the `-m68020' flag to GCC prevents building anything better,
9214 # like `-m68040'.
9215 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9217 esac
9220 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9221 # PIC is the default for these OSes.
9224 mingw* | cygwin* | pw32* | os2* | cegcc*)
9225 # This hack is so that the source file can tell whether it is being
9226 # built for inclusion in a dll (and should export symbols for example).
9227 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9228 # (--disable-auto-import) libraries
9229 lt_prog_compiler_pic='-DDLL_EXPORT'
9232 darwin* | rhapsody*)
9233 # PIC is the default on this platform
9234 # Common symbols not allowed in MH_DYLIB files
9235 lt_prog_compiler_pic='-fno-common'
9238 haiku*)
9239 # PIC is the default for Haiku.
9240 # The "-static" flag exists, but is broken.
9241 lt_prog_compiler_static=
9244 hpux*)
9245 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9246 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9247 # sets the default TLS model and affects inlining.
9248 case $host_cpu in
9249 hppa*64*)
9250 # +Z the default
9253 lt_prog_compiler_pic='-fPIC'
9255 esac
9258 interix[3-9]*)
9259 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9260 # Instead, we relocate shared libraries at runtime.
9263 msdosdjgpp*)
9264 # Just because we use GCC doesn't mean we suddenly get shared libraries
9265 # on systems that don't support them.
9266 lt_prog_compiler_can_build_shared=no
9267 enable_shared=no
9270 *nto* | *qnx*)
9271 # QNX uses GNU C++, but need to define -shared option too, otherwise
9272 # it will coredump.
9273 lt_prog_compiler_pic='-fPIC -shared'
9276 sysv4*MP*)
9277 if test -d /usr/nec; then
9278 lt_prog_compiler_pic=-Kconform_pic
9283 lt_prog_compiler_pic='-fPIC'
9285 esac
9287 case $cc_basename in
9288 nvcc*) # Cuda Compiler Driver 2.2
9289 lt_prog_compiler_wl='-Xlinker '
9290 lt_prog_compiler_pic='-Xcompiler -fPIC'
9292 esac
9293 else
9294 # PORTME Check for flag to pass linker flags through the system compiler.
9295 case $host_os in
9296 aix*)
9297 lt_prog_compiler_wl='-Wl,'
9298 if test "$host_cpu" = ia64; then
9299 # AIX 5 now supports IA64 processor
9300 lt_prog_compiler_static='-Bstatic'
9301 else
9302 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9306 mingw* | cygwin* | pw32* | os2* | cegcc*)
9307 # This hack is so that the source file can tell whether it is being
9308 # built for inclusion in a dll (and should export symbols for example).
9309 lt_prog_compiler_pic='-DDLL_EXPORT'
9312 hpux9* | hpux10* | hpux11*)
9313 lt_prog_compiler_wl='-Wl,'
9314 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9315 # not for PA HP-UX.
9316 case $host_cpu in
9317 hppa*64*|ia64*)
9318 # +Z the default
9321 lt_prog_compiler_pic='+Z'
9323 esac
9324 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9325 lt_prog_compiler_static='${wl}-a ${wl}archive'
9328 irix5* | irix6* | nonstopux*)
9329 lt_prog_compiler_wl='-Wl,'
9330 # PIC (with -KPIC) is the default.
9331 lt_prog_compiler_static='-non_shared'
9334 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9335 case $cc_basename in
9336 # old Intel for x86_64 which still supported -KPIC.
9337 ecc*)
9338 lt_prog_compiler_wl='-Wl,'
9339 lt_prog_compiler_pic='-KPIC'
9340 lt_prog_compiler_static='-static'
9342 # icc used to be incompatible with GCC.
9343 # ICC 10 doesn't accept -KPIC any more.
9344 icc* | ifort*)
9345 lt_prog_compiler_wl='-Wl,'
9346 lt_prog_compiler_pic='-fPIC'
9347 lt_prog_compiler_static='-static'
9349 # Lahey Fortran 8.1.
9350 lf95*)
9351 lt_prog_compiler_wl='-Wl,'
9352 lt_prog_compiler_pic='--shared'
9353 lt_prog_compiler_static='--static'
9355 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9356 # Portland Group compilers (*not* the Pentium gcc compiler,
9357 # which looks to be a dead project)
9358 lt_prog_compiler_wl='-Wl,'
9359 lt_prog_compiler_pic='-fpic'
9360 lt_prog_compiler_static='-Bstatic'
9362 ccc*)
9363 lt_prog_compiler_wl='-Wl,'
9364 # All Alpha code is PIC.
9365 lt_prog_compiler_static='-non_shared'
9367 xl* | bgxl* | bgf* | mpixl*)
9368 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9369 lt_prog_compiler_wl='-Wl,'
9370 lt_prog_compiler_pic='-qpic'
9371 lt_prog_compiler_static='-qstaticlink'
9374 case `$CC -V 2>&1 | sed 5q` in
9375 *Sun\ F* | *Sun*Fortran*)
9376 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9377 lt_prog_compiler_pic='-KPIC'
9378 lt_prog_compiler_static='-Bstatic'
9379 lt_prog_compiler_wl=''
9381 *Sun\ C*)
9382 # Sun C 5.9
9383 lt_prog_compiler_pic='-KPIC'
9384 lt_prog_compiler_static='-Bstatic'
9385 lt_prog_compiler_wl='-Wl,'
9387 esac
9389 esac
9392 newsos6)
9393 lt_prog_compiler_pic='-KPIC'
9394 lt_prog_compiler_static='-Bstatic'
9397 *nto* | *qnx*)
9398 # QNX uses GNU C++, but need to define -shared option too, otherwise
9399 # it will coredump.
9400 lt_prog_compiler_pic='-fPIC -shared'
9403 osf3* | osf4* | osf5*)
9404 lt_prog_compiler_wl='-Wl,'
9405 # All OSF/1 code is PIC.
9406 lt_prog_compiler_static='-non_shared'
9409 rdos*)
9410 lt_prog_compiler_static='-non_shared'
9413 solaris*)
9414 lt_prog_compiler_pic='-KPIC'
9415 lt_prog_compiler_static='-Bstatic'
9416 case $cc_basename in
9417 f77* | f90* | f95*)
9418 lt_prog_compiler_wl='-Qoption ld ';;
9420 lt_prog_compiler_wl='-Wl,';;
9421 esac
9424 sunos4*)
9425 lt_prog_compiler_wl='-Qoption ld '
9426 lt_prog_compiler_pic='-PIC'
9427 lt_prog_compiler_static='-Bstatic'
9430 sysv4 | sysv4.2uw2* | sysv4.3*)
9431 lt_prog_compiler_wl='-Wl,'
9432 lt_prog_compiler_pic='-KPIC'
9433 lt_prog_compiler_static='-Bstatic'
9436 sysv4*MP*)
9437 if test -d /usr/nec ;then
9438 lt_prog_compiler_pic='-Kconform_pic'
9439 lt_prog_compiler_static='-Bstatic'
9443 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9444 lt_prog_compiler_wl='-Wl,'
9445 lt_prog_compiler_pic='-KPIC'
9446 lt_prog_compiler_static='-Bstatic'
9449 unicos*)
9450 lt_prog_compiler_wl='-Wl,'
9451 lt_prog_compiler_can_build_shared=no
9454 uts4*)
9455 lt_prog_compiler_pic='-pic'
9456 lt_prog_compiler_static='-Bstatic'
9460 lt_prog_compiler_can_build_shared=no
9462 esac
9465 case $host_os in
9466 # For platforms which do not support PIC, -DPIC is meaningless:
9467 *djgpp*)
9468 lt_prog_compiler_pic=
9471 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9473 esac
9474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9475 $as_echo "$lt_prog_compiler_pic" >&6; }
9483 # Check to make sure the PIC flag actually works.
9485 if test -n "$lt_prog_compiler_pic"; then
9486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9487 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9488 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9489 $as_echo_n "(cached) " >&6
9490 else
9491 lt_cv_prog_compiler_pic_works=no
9492 ac_outfile=conftest.$ac_objext
9493 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9494 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9495 # Insert the option either (1) after the last *FLAGS variable, or
9496 # (2) before a word containing "conftest.", or (3) at the end.
9497 # Note that $ac_compile itself does not contain backslashes and begins
9498 # with a dollar sign (not a hyphen), so the echo should work correctly.
9499 # The option is referenced via a variable to avoid confusing sed.
9500 lt_compile=`echo "$ac_compile" | $SED \
9501 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9502 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9503 -e 's:$: $lt_compiler_flag:'`
9504 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9505 (eval "$lt_compile" 2>conftest.err)
9506 ac_status=$?
9507 cat conftest.err >&5
9508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9509 if (exit $ac_status) && test -s "$ac_outfile"; then
9510 # The compiler can only warn and ignore the option if not recognized
9511 # So say no if there are warnings other than the usual output.
9512 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9513 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9514 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9515 lt_cv_prog_compiler_pic_works=yes
9518 $RM conftest*
9521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9522 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9524 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9525 case $lt_prog_compiler_pic in
9526 "" | " "*) ;;
9527 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9528 esac
9529 else
9530 lt_prog_compiler_pic=
9531 lt_prog_compiler_can_build_shared=no
9542 # Check to make sure the static flag actually works.
9544 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9546 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9547 if ${lt_cv_prog_compiler_static_works+:} false; then :
9548 $as_echo_n "(cached) " >&6
9549 else
9550 lt_cv_prog_compiler_static_works=no
9551 save_LDFLAGS="$LDFLAGS"
9552 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9553 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9554 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9555 # The linker can only warn and ignore the option if not recognized
9556 # So say no if there are warnings
9557 if test -s conftest.err; then
9558 # Append any errors to the config.log.
9559 cat conftest.err 1>&5
9560 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9561 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9562 if diff conftest.exp conftest.er2 >/dev/null; then
9563 lt_cv_prog_compiler_static_works=yes
9565 else
9566 lt_cv_prog_compiler_static_works=yes
9569 $RM -r conftest*
9570 LDFLAGS="$save_LDFLAGS"
9573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9574 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9576 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9578 else
9579 lt_prog_compiler_static=
9588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9589 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9590 if ${lt_cv_prog_compiler_c_o+:} false; then :
9591 $as_echo_n "(cached) " >&6
9592 else
9593 lt_cv_prog_compiler_c_o=no
9594 $RM -r conftest 2>/dev/null
9595 mkdir conftest
9596 cd conftest
9597 mkdir out
9598 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9600 lt_compiler_flag="-o out/conftest2.$ac_objext"
9601 # Insert the option either (1) after the last *FLAGS variable, or
9602 # (2) before a word containing "conftest.", or (3) at the end.
9603 # Note that $ac_compile itself does not contain backslashes and begins
9604 # with a dollar sign (not a hyphen), so the echo should work correctly.
9605 lt_compile=`echo "$ac_compile" | $SED \
9606 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9607 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9608 -e 's:$: $lt_compiler_flag:'`
9609 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9610 (eval "$lt_compile" 2>out/conftest.err)
9611 ac_status=$?
9612 cat out/conftest.err >&5
9613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9614 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9615 then
9616 # The compiler can only warn and ignore the option if not recognized
9617 # So say no if there are warnings
9618 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9619 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9620 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9621 lt_cv_prog_compiler_c_o=yes
9624 chmod u+w . 2>&5
9625 $RM conftest*
9626 # SGI C++ compiler will create directory out/ii_files/ for
9627 # template instantiation
9628 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9629 $RM out/* && rmdir out
9630 cd ..
9631 $RM -r conftest
9632 $RM conftest*
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9636 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9644 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9645 if ${lt_cv_prog_compiler_c_o+:} false; then :
9646 $as_echo_n "(cached) " >&6
9647 else
9648 lt_cv_prog_compiler_c_o=no
9649 $RM -r conftest 2>/dev/null
9650 mkdir conftest
9651 cd conftest
9652 mkdir out
9653 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9655 lt_compiler_flag="-o out/conftest2.$ac_objext"
9656 # Insert the option either (1) after the last *FLAGS variable, or
9657 # (2) before a word containing "conftest.", or (3) at the end.
9658 # Note that $ac_compile itself does not contain backslashes and begins
9659 # with a dollar sign (not a hyphen), so the echo should work correctly.
9660 lt_compile=`echo "$ac_compile" | $SED \
9661 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9662 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9663 -e 's:$: $lt_compiler_flag:'`
9664 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9665 (eval "$lt_compile" 2>out/conftest.err)
9666 ac_status=$?
9667 cat out/conftest.err >&5
9668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9669 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9670 then
9671 # The compiler can only warn and ignore the option if not recognized
9672 # So say no if there are warnings
9673 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9674 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9675 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9676 lt_cv_prog_compiler_c_o=yes
9679 chmod u+w . 2>&5
9680 $RM conftest*
9681 # SGI C++ compiler will create directory out/ii_files/ for
9682 # template instantiation
9683 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9684 $RM out/* && rmdir out
9685 cd ..
9686 $RM -r conftest
9687 $RM conftest*
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9691 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9696 hard_links="nottested"
9697 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9698 # do not overwrite the value of need_locks provided by the user
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9700 $as_echo_n "checking if we can lock with hard links... " >&6; }
9701 hard_links=yes
9702 $RM conftest*
9703 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9704 touch conftest.a
9705 ln conftest.a conftest.b 2>&5 || hard_links=no
9706 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9708 $as_echo "$hard_links" >&6; }
9709 if test "$hard_links" = no; then
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9711 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9712 need_locks=warn
9714 else
9715 need_locks=no
9723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9724 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9726 runpath_var=
9727 allow_undefined_flag=
9728 always_export_symbols=no
9729 archive_cmds=
9730 archive_expsym_cmds=
9731 compiler_needs_object=no
9732 enable_shared_with_static_runtimes=no
9733 export_dynamic_flag_spec=
9734 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9735 hardcode_automatic=no
9736 hardcode_direct=no
9737 hardcode_direct_absolute=no
9738 hardcode_libdir_flag_spec=
9739 hardcode_libdir_flag_spec_ld=
9740 hardcode_libdir_separator=
9741 hardcode_minus_L=no
9742 hardcode_shlibpath_var=unsupported
9743 inherit_rpath=no
9744 link_all_deplibs=unknown
9745 module_cmds=
9746 module_expsym_cmds=
9747 old_archive_from_new_cmds=
9748 old_archive_from_expsyms_cmds=
9749 thread_safe_flag_spec=
9750 whole_archive_flag_spec=
9751 # include_expsyms should be a list of space-separated symbols to be *always*
9752 # included in the symbol list
9753 include_expsyms=
9754 # exclude_expsyms can be an extended regexp of symbols to exclude
9755 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9756 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9757 # as well as any symbol that contains `d'.
9758 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9759 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9760 # platforms (ab)use it in PIC code, but their linkers get confused if
9761 # the symbol is explicitly referenced. Since portable code cannot
9762 # rely on this symbol name, it's probably fine to never include it in
9763 # preloaded symbol tables.
9764 # Exclude shared library initialization/finalization symbols.
9765 extract_expsyms_cmds=
9767 case $host_os in
9768 cygwin* | mingw* | pw32* | cegcc*)
9769 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9770 # When not using gcc, we currently assume that we are using
9771 # Microsoft Visual C++.
9772 if test "$GCC" != yes; then
9773 with_gnu_ld=no
9776 interix*)
9777 # we just hope/assume this is gcc and not c89 (= MSVC++)
9778 with_gnu_ld=yes
9780 openbsd*)
9781 with_gnu_ld=no
9783 esac
9785 ld_shlibs=yes
9787 # On some targets, GNU ld is compatible enough with the native linker
9788 # that we're better off using the native interface for both.
9789 lt_use_gnu_ld_interface=no
9790 if test "$with_gnu_ld" = yes; then
9791 case $host_os in
9792 aix*)
9793 # The AIX port of GNU ld has always aspired to compatibility
9794 # with the native linker. However, as the warning in the GNU ld
9795 # block says, versions before 2.19.5* couldn't really create working
9796 # shared libraries, regardless of the interface used.
9797 case `$LD -v 2>&1` in
9798 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9799 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9800 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9802 lt_use_gnu_ld_interface=yes
9804 esac
9807 lt_use_gnu_ld_interface=yes
9809 esac
9812 if test "$lt_use_gnu_ld_interface" = yes; then
9813 # If archive_cmds runs LD, not CC, wlarc should be empty
9814 wlarc='${wl}'
9816 # Set some defaults for GNU ld with shared library support. These
9817 # are reset later if shared libraries are not supported. Putting them
9818 # here allows them to be overridden if necessary.
9819 runpath_var=LD_RUN_PATH
9820 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9821 export_dynamic_flag_spec='${wl}--export-dynamic'
9822 # ancient GNU ld didn't support --whole-archive et. al.
9823 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9824 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9825 else
9826 whole_archive_flag_spec=
9828 supports_anon_versioning=no
9829 case `$LD -v 2>&1` in
9830 *GNU\ gold*) supports_anon_versioning=yes ;;
9831 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9832 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9833 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9834 *\ 2.11.*) ;; # other 2.11 versions
9835 *) supports_anon_versioning=yes ;;
9836 esac
9838 # See if GNU ld supports shared libraries.
9839 case $host_os in
9840 aix[3-9]*)
9841 # On AIX/PPC, the GNU linker is very broken
9842 if test "$host_cpu" != ia64; then
9843 ld_shlibs=no
9844 cat <<_LT_EOF 1>&2
9846 *** Warning: the GNU linker, at least up to release 2.19, is reported
9847 *** to be unable to reliably create shared libraries on AIX.
9848 *** Therefore, libtool is disabling shared libraries support. If you
9849 *** really care for shared libraries, you may want to install binutils
9850 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9851 *** You will then need to restart the configuration process.
9853 _LT_EOF
9857 amigaos*)
9858 case $host_cpu in
9859 powerpc)
9860 # see comment about AmigaOS4 .so support
9861 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9862 archive_expsym_cmds=''
9864 m68k)
9865 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9866 hardcode_libdir_flag_spec='-L$libdir'
9867 hardcode_minus_L=yes
9869 esac
9872 beos*)
9873 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9874 allow_undefined_flag=unsupported
9875 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9876 # support --undefined. This deserves some investigation. FIXME
9877 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9878 else
9879 ld_shlibs=no
9883 cygwin* | mingw* | pw32* | cegcc*)
9884 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9885 # as there is no search path for DLLs.
9886 hardcode_libdir_flag_spec='-L$libdir'
9887 export_dynamic_flag_spec='${wl}--export-all-symbols'
9888 allow_undefined_flag=unsupported
9889 always_export_symbols=no
9890 enable_shared_with_static_runtimes=yes
9891 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9893 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9894 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9895 # If the export-symbols file already is a .def file (1st line
9896 # is EXPORTS), use it as is; otherwise, prepend...
9897 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9898 cp $export_symbols $output_objdir/$soname.def;
9899 else
9900 echo EXPORTS > $output_objdir/$soname.def;
9901 cat $export_symbols >> $output_objdir/$soname.def;
9903 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9904 else
9905 ld_shlibs=no
9909 haiku*)
9910 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9911 link_all_deplibs=yes
9914 interix[3-9]*)
9915 hardcode_direct=no
9916 hardcode_shlibpath_var=no
9917 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9918 export_dynamic_flag_spec='${wl}-E'
9919 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9920 # Instead, shared libraries are loaded at an image base (0x10000000 by
9921 # default) and relocated if they conflict, which is a slow very memory
9922 # consuming and fragmenting process. To avoid this, we pick a random,
9923 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9924 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9925 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9926 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9929 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
9930 tmp_diet=no
9931 if test "$host_os" = linux-dietlibc; then
9932 case $cc_basename in
9933 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9934 esac
9936 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9937 && test "$tmp_diet" = no
9938 then
9939 tmp_addflag=' $pic_flag'
9940 tmp_sharedflag='-shared'
9941 case $cc_basename,$host_cpu in
9942 pgcc*) # Portland Group C compiler
9943 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9944 tmp_addflag=' $pic_flag'
9946 pgf77* | pgf90* | pgf95* | pgfortran*)
9947 # Portland Group f77 and f90 compilers
9948 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9949 tmp_addflag=' $pic_flag -Mnomain' ;;
9950 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9951 tmp_addflag=' -i_dynamic' ;;
9952 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9953 tmp_addflag=' -i_dynamic -nofor_main' ;;
9954 ifc* | ifort*) # Intel Fortran compiler
9955 tmp_addflag=' -nofor_main' ;;
9956 lf95*) # Lahey Fortran 8.1
9957 whole_archive_flag_spec=
9958 tmp_sharedflag='--shared' ;;
9959 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9960 tmp_sharedflag='-qmkshrobj'
9961 tmp_addflag= ;;
9962 nvcc*) # Cuda Compiler Driver 2.2
9963 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9964 compiler_needs_object=yes
9966 esac
9967 case `$CC -V 2>&1 | sed 5q` in
9968 *Sun\ C*) # Sun C 5.9
9969 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9970 compiler_needs_object=yes
9971 tmp_sharedflag='-G' ;;
9972 *Sun\ F*) # Sun Fortran 8.3
9973 tmp_sharedflag='-G' ;;
9974 esac
9975 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9977 if test "x$supports_anon_versioning" = xyes; then
9978 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9979 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9980 echo "local: *; };" >> $output_objdir/$libname.ver~
9981 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9984 case $cc_basename in
9985 xlf* | bgf* | bgxlf* | mpixlf*)
9986 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9987 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9988 hardcode_libdir_flag_spec=
9989 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9990 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9991 if test "x$supports_anon_versioning" = xyes; then
9992 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9993 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9994 echo "local: *; };" >> $output_objdir/$libname.ver~
9995 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9998 esac
9999 else
10000 ld_shlibs=no
10004 netbsd*)
10005 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10006 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10007 wlarc=
10008 else
10009 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10010 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10014 solaris*)
10015 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10016 ld_shlibs=no
10017 cat <<_LT_EOF 1>&2
10019 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10020 *** create shared libraries on Solaris systems. Therefore, libtool
10021 *** is disabling shared libraries support. We urge you to upgrade GNU
10022 *** binutils to release 2.9.1 or newer. Another option is to modify
10023 *** your PATH or compiler configuration so that the native linker is
10024 *** used, and then restart.
10026 _LT_EOF
10027 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10028 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10029 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10030 else
10031 ld_shlibs=no
10035 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10036 case `$LD -v 2>&1` in
10037 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10038 ld_shlibs=no
10039 cat <<_LT_EOF 1>&2
10041 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10042 *** reliably create shared libraries on SCO systems. Therefore, libtool
10043 *** is disabling shared libraries support. We urge you to upgrade GNU
10044 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10045 *** your PATH or compiler configuration so that the native linker is
10046 *** used, and then restart.
10048 _LT_EOF
10051 # For security reasons, it is highly recommended that you always
10052 # use absolute paths for naming shared libraries, and exclude the
10053 # DT_RUNPATH tag from executables and libraries. But doing so
10054 # requires that you compile everything twice, which is a pain.
10055 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10056 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10057 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10058 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10059 else
10060 ld_shlibs=no
10063 esac
10066 sunos4*)
10067 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10068 wlarc=
10069 hardcode_direct=yes
10070 hardcode_shlibpath_var=no
10074 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10075 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10076 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10077 else
10078 ld_shlibs=no
10081 esac
10083 if test "$ld_shlibs" = no; then
10084 runpath_var=
10085 hardcode_libdir_flag_spec=
10086 export_dynamic_flag_spec=
10087 whole_archive_flag_spec=
10089 else
10090 # PORTME fill in a description of your system's linker (not GNU ld)
10091 case $host_os in
10092 aix3*)
10093 allow_undefined_flag=unsupported
10094 always_export_symbols=yes
10095 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
10096 # Note: this linker hardcodes the directories in LIBPATH if there
10097 # are no directories specified by -L.
10098 hardcode_minus_L=yes
10099 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10100 # Neither direct hardcoding nor static linking is supported with a
10101 # broken collect2.
10102 hardcode_direct=unsupported
10106 aix[4-9]*)
10107 if test "$host_cpu" = ia64; then
10108 # On IA64, the linker does run time linking by default, so we don't
10109 # have to do anything special.
10110 aix_use_runtimelinking=no
10111 exp_sym_flag='-Bexport'
10112 no_entry_flag=""
10113 else
10114 # If we're using GNU nm, then we don't want the "-C" option.
10115 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10116 # Also, AIX nm treats weak defined symbols like other global
10117 # defined symbols, whereas GNU nm marks them as "W".
10118 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10119 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10120 else
10121 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10123 aix_use_runtimelinking=no
10125 # Test if we are trying to use run time linking or normal
10126 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10127 # need to do runtime linking.
10128 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10129 for ld_flag in $LDFLAGS; do
10130 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10131 aix_use_runtimelinking=yes
10132 break
10134 done
10136 esac
10138 exp_sym_flag='-bexport'
10139 no_entry_flag='-bnoentry'
10142 # When large executables or shared objects are built, AIX ld can
10143 # have problems creating the table of contents. If linking a library
10144 # or program results in "error TOC overflow" add -mminimal-toc to
10145 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10146 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10148 archive_cmds=''
10149 hardcode_direct=yes
10150 hardcode_direct_absolute=yes
10151 hardcode_libdir_separator=':'
10152 link_all_deplibs=yes
10153 file_list_spec='${wl}-f,'
10155 if test "$GCC" = yes; then
10156 case $host_os in aix4.[012]|aix4.[012].*)
10157 # We only want to do this on AIX 4.2 and lower, the check
10158 # below for broken collect2 doesn't work under 4.3+
10159 collect2name=`${CC} -print-prog-name=collect2`
10160 if test -f "$collect2name" &&
10161 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10162 then
10163 # We have reworked collect2
10165 else
10166 # We have old collect2
10167 hardcode_direct=unsupported
10168 # It fails to find uninstalled libraries when the uninstalled
10169 # path is not listed in the libpath. Setting hardcode_minus_L
10170 # to unsupported forces relinking
10171 hardcode_minus_L=yes
10172 hardcode_libdir_flag_spec='-L$libdir'
10173 hardcode_libdir_separator=
10176 esac
10177 shared_flag='-shared'
10178 if test "$aix_use_runtimelinking" = yes; then
10179 shared_flag="$shared_flag "'${wl}-G'
10181 else
10182 # not using gcc
10183 if test "$host_cpu" = ia64; then
10184 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10185 # chokes on -Wl,-G. The following line is correct:
10186 shared_flag='-G'
10187 else
10188 if test "$aix_use_runtimelinking" = yes; then
10189 shared_flag='${wl}-G'
10190 else
10191 shared_flag='${wl}-bM:SRE'
10196 export_dynamic_flag_spec='${wl}-bexpall'
10197 # It seems that -bexpall does not export symbols beginning with
10198 # underscore (_), so it is better to generate a list of symbols to export.
10199 always_export_symbols=yes
10200 if test "$aix_use_runtimelinking" = yes; then
10201 # Warning - without using the other runtime loading flags (-brtl),
10202 # -berok will link without error, but may produce a broken library.
10203 allow_undefined_flag='-berok'
10204 # Determine the default libpath from the value encoded in an
10205 # empty executable.
10206 if test x$gcc_no_link = xyes; then
10207 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10210 /* end confdefs.h. */
10213 main ()
10217 return 0;
10219 _ACEOF
10220 if ac_fn_c_try_link "$LINENO"; then :
10222 lt_aix_libpath_sed='
10223 /Import File Strings/,/^$/ {
10224 /^0/ {
10225 s/^0 *\(.*\)$/\1/
10229 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10230 # Check for a 64-bit object if we didn't find anything.
10231 if test -z "$aix_libpath"; then
10232 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10235 rm -f core conftest.err conftest.$ac_objext \
10236 conftest$ac_exeext conftest.$ac_ext
10237 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10239 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10240 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10241 else
10242 if test "$host_cpu" = ia64; then
10243 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10244 allow_undefined_flag="-z nodefs"
10245 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
10246 else
10247 # Determine the default libpath from the value encoded in an
10248 # empty executable.
10249 if test x$gcc_no_link = xyes; then
10250 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10253 /* end confdefs.h. */
10256 main ()
10260 return 0;
10262 _ACEOF
10263 if ac_fn_c_try_link "$LINENO"; then :
10265 lt_aix_libpath_sed='
10266 /Import File Strings/,/^$/ {
10267 /^0/ {
10268 s/^0 *\(.*\)$/\1/
10272 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10273 # Check for a 64-bit object if we didn't find anything.
10274 if test -z "$aix_libpath"; then
10275 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10278 rm -f core conftest.err conftest.$ac_objext \
10279 conftest$ac_exeext conftest.$ac_ext
10280 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10282 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10283 # Warning - without using the other run time loading flags,
10284 # -berok will link without error, but may produce a broken library.
10285 no_undefined_flag=' ${wl}-bernotok'
10286 allow_undefined_flag=' ${wl}-berok'
10287 if test "$with_gnu_ld" = yes; then
10288 # We only use this code for GNU lds that support --whole-archive.
10289 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10290 else
10291 # Exported symbols can be pulled into shared objects from archives
10292 whole_archive_flag_spec='$convenience'
10294 archive_cmds_need_lc=yes
10295 # This is similar to how AIX traditionally builds its shared libraries.
10296 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10301 amigaos*)
10302 case $host_cpu in
10303 powerpc)
10304 # see comment about AmigaOS4 .so support
10305 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10306 archive_expsym_cmds=''
10308 m68k)
10309 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
10310 hardcode_libdir_flag_spec='-L$libdir'
10311 hardcode_minus_L=yes
10313 esac
10316 bsdi[45]*)
10317 export_dynamic_flag_spec=-rdynamic
10320 cygwin* | mingw* | pw32* | cegcc*)
10321 # When not using gcc, we currently assume that we are using
10322 # Microsoft Visual C++.
10323 # hardcode_libdir_flag_spec is actually meaningless, as there is
10324 # no search path for DLLs.
10325 hardcode_libdir_flag_spec=' '
10326 allow_undefined_flag=unsupported
10327 # Tell ltmain to make .lib files, not .a files.
10328 libext=lib
10329 # Tell ltmain to make .dll files, not .so files.
10330 shrext_cmds=".dll"
10331 # FIXME: Setting linknames here is a bad hack.
10332 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10333 # The linker will automatically build a .lib file if we build a DLL.
10334 old_archive_from_new_cmds='true'
10335 # FIXME: Should let the user specify the lib program.
10336 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10337 fix_srcfile_path='`cygpath -w "$srcfile"`'
10338 enable_shared_with_static_runtimes=yes
10341 darwin* | rhapsody*)
10344 archive_cmds_need_lc=no
10345 hardcode_direct=no
10346 hardcode_automatic=yes
10347 hardcode_shlibpath_var=unsupported
10348 if test "$lt_cv_ld_force_load" = "yes"; then
10349 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10350 else
10351 whole_archive_flag_spec=''
10353 link_all_deplibs=yes
10354 allow_undefined_flag="$_lt_dar_allow_undefined"
10355 case $cc_basename in
10356 ifort*) _lt_dar_can_shared=yes ;;
10357 *) _lt_dar_can_shared=$GCC ;;
10358 esac
10359 if test "$_lt_dar_can_shared" = "yes"; then
10360 output_verbose_link_cmd=func_echo_all
10361 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10362 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10363 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
10364 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
10366 else
10367 ld_shlibs=no
10372 dgux*)
10373 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10374 hardcode_libdir_flag_spec='-L$libdir'
10375 hardcode_shlibpath_var=no
10378 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10379 # support. Future versions do this automatically, but an explicit c++rt0.o
10380 # does not break anything, and helps significantly (at the cost of a little
10381 # extra space).
10382 freebsd2.2*)
10383 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10384 hardcode_libdir_flag_spec='-R$libdir'
10385 hardcode_direct=yes
10386 hardcode_shlibpath_var=no
10389 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10390 freebsd2.*)
10391 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10392 hardcode_direct=yes
10393 hardcode_minus_L=yes
10394 hardcode_shlibpath_var=no
10397 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10398 freebsd* | dragonfly*)
10399 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10400 hardcode_libdir_flag_spec='-R$libdir'
10401 hardcode_direct=yes
10402 hardcode_shlibpath_var=no
10405 hpux9*)
10406 if test "$GCC" = yes; then
10407 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10408 else
10409 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10411 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10412 hardcode_libdir_separator=:
10413 hardcode_direct=yes
10415 # hardcode_minus_L: Not really in the search PATH,
10416 # but as the default location of the library.
10417 hardcode_minus_L=yes
10418 export_dynamic_flag_spec='${wl}-E'
10421 hpux10*)
10422 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10423 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10424 else
10425 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10427 if test "$with_gnu_ld" = no; then
10428 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10429 hardcode_libdir_flag_spec_ld='+b $libdir'
10430 hardcode_libdir_separator=:
10431 hardcode_direct=yes
10432 hardcode_direct_absolute=yes
10433 export_dynamic_flag_spec='${wl}-E'
10434 # hardcode_minus_L: Not really in the search PATH,
10435 # but as the default location of the library.
10436 hardcode_minus_L=yes
10440 hpux11*)
10441 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10442 case $host_cpu in
10443 hppa*64*)
10444 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10446 ia64*)
10447 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10450 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10452 esac
10453 else
10454 case $host_cpu in
10455 hppa*64*)
10456 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10458 ia64*)
10459 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10463 # Older versions of the 11.00 compiler do not understand -b yet
10464 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10466 $as_echo_n "checking if $CC understands -b... " >&6; }
10467 if ${lt_cv_prog_compiler__b+:} false; then :
10468 $as_echo_n "(cached) " >&6
10469 else
10470 lt_cv_prog_compiler__b=no
10471 save_LDFLAGS="$LDFLAGS"
10472 LDFLAGS="$LDFLAGS -b"
10473 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10474 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10475 # The linker can only warn and ignore the option if not recognized
10476 # So say no if there are warnings
10477 if test -s conftest.err; then
10478 # Append any errors to the config.log.
10479 cat conftest.err 1>&5
10480 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10481 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10482 if diff conftest.exp conftest.er2 >/dev/null; then
10483 lt_cv_prog_compiler__b=yes
10485 else
10486 lt_cv_prog_compiler__b=yes
10489 $RM -r conftest*
10490 LDFLAGS="$save_LDFLAGS"
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10494 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10496 if test x"$lt_cv_prog_compiler__b" = xyes; then
10497 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10498 else
10499 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10503 esac
10505 if test "$with_gnu_ld" = no; then
10506 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10507 hardcode_libdir_separator=:
10509 case $host_cpu in
10510 hppa*64*|ia64*)
10511 hardcode_direct=no
10512 hardcode_shlibpath_var=no
10515 hardcode_direct=yes
10516 hardcode_direct_absolute=yes
10517 export_dynamic_flag_spec='${wl}-E'
10519 # hardcode_minus_L: Not really in the search PATH,
10520 # but as the default location of the library.
10521 hardcode_minus_L=yes
10523 esac
10527 irix5* | irix6* | nonstopux*)
10528 if test "$GCC" = yes; then
10529 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10530 # Try to use the -exported_symbol ld option, if it does not
10531 # work, assume that -exports_file does not work either and
10532 # implicitly export all symbols.
10533 save_LDFLAGS="$LDFLAGS"
10534 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10535 if test x$gcc_no_link = xyes; then
10536 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10539 /* end confdefs.h. */
10540 int foo(void) {}
10541 _ACEOF
10542 if ac_fn_c_try_link "$LINENO"; then :
10543 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10546 rm -f core conftest.err conftest.$ac_objext \
10547 conftest$ac_exeext conftest.$ac_ext
10548 LDFLAGS="$save_LDFLAGS"
10549 else
10550 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10551 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10553 archive_cmds_need_lc='no'
10554 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10555 hardcode_libdir_separator=:
10556 inherit_rpath=yes
10557 link_all_deplibs=yes
10560 netbsd*)
10561 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10562 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10563 else
10564 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10566 hardcode_libdir_flag_spec='-R$libdir'
10567 hardcode_direct=yes
10568 hardcode_shlibpath_var=no
10571 newsos6)
10572 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10573 hardcode_direct=yes
10574 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10575 hardcode_libdir_separator=:
10576 hardcode_shlibpath_var=no
10579 *nto* | *qnx*)
10582 openbsd*)
10583 if test -f /usr/libexec/ld.so; then
10584 hardcode_direct=yes
10585 hardcode_shlibpath_var=no
10586 hardcode_direct_absolute=yes
10587 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10588 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10589 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10590 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10591 export_dynamic_flag_spec='${wl}-E'
10592 else
10593 case $host_os in
10594 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10595 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10596 hardcode_libdir_flag_spec='-R$libdir'
10599 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10600 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10602 esac
10604 else
10605 ld_shlibs=no
10609 os2*)
10610 hardcode_libdir_flag_spec='-L$libdir'
10611 hardcode_minus_L=yes
10612 allow_undefined_flag=unsupported
10613 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10614 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10617 osf3*)
10618 if test "$GCC" = yes; then
10619 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10620 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10621 else
10622 allow_undefined_flag=' -expect_unresolved \*'
10623 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10625 archive_cmds_need_lc='no'
10626 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10627 hardcode_libdir_separator=:
10630 osf4* | osf5*) # as osf3* with the addition of -msym flag
10631 if test "$GCC" = yes; then
10632 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10633 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10634 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10635 else
10636 allow_undefined_flag=' -expect_unresolved \*'
10637 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10638 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
10639 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10641 # Both c and cxx compiler support -rpath directly
10642 hardcode_libdir_flag_spec='-rpath $libdir'
10644 archive_cmds_need_lc='no'
10645 hardcode_libdir_separator=:
10648 solaris*)
10649 no_undefined_flag=' -z defs'
10650 if test "$GCC" = yes; then
10651 wlarc='${wl}'
10652 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10653 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10654 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10655 else
10656 case `$CC -V 2>&1` in
10657 *"Compilers 5.0"*)
10658 wlarc=''
10659 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10660 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10661 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10664 wlarc='${wl}'
10665 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10666 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10667 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10669 esac
10671 hardcode_libdir_flag_spec='-R$libdir'
10672 hardcode_shlibpath_var=no
10673 case $host_os in
10674 solaris2.[0-5] | solaris2.[0-5].*) ;;
10676 # The compiler driver will combine and reorder linker options,
10677 # but understands `-z linker_flag'. GCC discards it without `$wl',
10678 # but is careful enough not to reorder.
10679 # Supported since Solaris 2.6 (maybe 2.5.1?)
10680 if test "$GCC" = yes; then
10681 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10682 else
10683 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10686 esac
10687 link_all_deplibs=yes
10690 sunos4*)
10691 if test "x$host_vendor" = xsequent; then
10692 # Use $CC to link under sequent, because it throws in some extra .o
10693 # files that make .init and .fini sections work.
10694 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10695 else
10696 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10698 hardcode_libdir_flag_spec='-L$libdir'
10699 hardcode_direct=yes
10700 hardcode_minus_L=yes
10701 hardcode_shlibpath_var=no
10704 sysv4)
10705 case $host_vendor in
10706 sni)
10707 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10708 hardcode_direct=yes # is this really true???
10710 siemens)
10711 ## LD is ld it makes a PLAMLIB
10712 ## CC just makes a GrossModule.
10713 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10714 reload_cmds='$CC -r -o $output$reload_objs'
10715 hardcode_direct=no
10717 motorola)
10718 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10719 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10721 esac
10722 runpath_var='LD_RUN_PATH'
10723 hardcode_shlibpath_var=no
10726 sysv4.3*)
10727 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10728 hardcode_shlibpath_var=no
10729 export_dynamic_flag_spec='-Bexport'
10732 sysv4*MP*)
10733 if test -d /usr/nec; then
10734 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10735 hardcode_shlibpath_var=no
10736 runpath_var=LD_RUN_PATH
10737 hardcode_runpath_var=yes
10738 ld_shlibs=yes
10742 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10743 no_undefined_flag='${wl}-z,text'
10744 archive_cmds_need_lc=no
10745 hardcode_shlibpath_var=no
10746 runpath_var='LD_RUN_PATH'
10748 if test "$GCC" = yes; then
10749 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10750 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10751 else
10752 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10753 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10757 sysv5* | sco3.2v5* | sco5v6*)
10758 # Note: We can NOT use -z defs as we might desire, because we do not
10759 # link with -lc, and that would cause any symbols used from libc to
10760 # always be unresolved, which means just about no library would
10761 # ever link correctly. If we're not using GNU ld we use -z text
10762 # though, which does catch some bad symbols but isn't as heavy-handed
10763 # as -z defs.
10764 no_undefined_flag='${wl}-z,text'
10765 allow_undefined_flag='${wl}-z,nodefs'
10766 archive_cmds_need_lc=no
10767 hardcode_shlibpath_var=no
10768 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10769 hardcode_libdir_separator=':'
10770 link_all_deplibs=yes
10771 export_dynamic_flag_spec='${wl}-Bexport'
10772 runpath_var='LD_RUN_PATH'
10774 if test "$GCC" = yes; then
10775 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10776 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10777 else
10778 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10779 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10783 uts4*)
10784 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10785 hardcode_libdir_flag_spec='-L$libdir'
10786 hardcode_shlibpath_var=no
10790 ld_shlibs=no
10792 esac
10794 if test x$host_vendor = xsni; then
10795 case $host in
10796 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10797 export_dynamic_flag_spec='${wl}-Blargedynsym'
10799 esac
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10804 $as_echo "$ld_shlibs" >&6; }
10805 test "$ld_shlibs" = no && can_build_shared=no
10807 with_gnu_ld=$with_gnu_ld
10824 # Do we need to explicitly link libc?
10826 case "x$archive_cmds_need_lc" in
10827 x|xyes)
10828 # Assume -lc should be added
10829 archive_cmds_need_lc=yes
10831 if test "$enable_shared" = yes && test "$GCC" = yes; then
10832 case $archive_cmds in
10833 *'~'*)
10834 # FIXME: we may have to deal with multi-command sequences.
10836 '$CC '*)
10837 # Test whether the compiler implicitly links with -lc since on some
10838 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10839 # to ld, don't add -lc before -lgcc.
10840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10841 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10842 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10843 $as_echo_n "(cached) " >&6
10844 else
10845 $RM conftest*
10846 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10848 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10849 (eval $ac_compile) 2>&5
10850 ac_status=$?
10851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10852 test $ac_status = 0; } 2>conftest.err; then
10853 soname=conftest
10854 lib=conftest
10855 libobjs=conftest.$ac_objext
10856 deplibs=
10857 wl=$lt_prog_compiler_wl
10858 pic_flag=$lt_prog_compiler_pic
10859 compiler_flags=-v
10860 linker_flags=-v
10861 verstring=
10862 output_objdir=.
10863 libname=conftest
10864 lt_save_allow_undefined_flag=$allow_undefined_flag
10865 allow_undefined_flag=
10866 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10867 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10868 ac_status=$?
10869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10870 test $ac_status = 0; }
10871 then
10872 lt_cv_archive_cmds_need_lc=no
10873 else
10874 lt_cv_archive_cmds_need_lc=yes
10876 allow_undefined_flag=$lt_save_allow_undefined_flag
10877 else
10878 cat conftest.err 1>&5
10880 $RM conftest*
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10884 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10885 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10887 esac
10890 esac
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11049 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11051 if test "$GCC" = yes; then
11052 case $host_os in
11053 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11054 *) lt_awk_arg="/^libraries:/" ;;
11055 esac
11056 case $host_os in
11057 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11058 *) lt_sed_strip_eq="s,=/,/,g" ;;
11059 esac
11060 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11061 case $lt_search_path_spec in
11062 *\;*)
11063 # if the path contains ";" then we assume it to be the separator
11064 # otherwise default to the standard path separator (i.e. ":") - it is
11065 # assumed that no part of a normal pathname contains ";" but that should
11066 # okay in the real world where ";" in dirpaths is itself problematic.
11067 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11070 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11072 esac
11073 # Ok, now we have the path, separated by spaces, we can step through it
11074 # and add multilib dir if necessary.
11075 lt_tmp_lt_search_path_spec=
11076 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11077 for lt_sys_path in $lt_search_path_spec; do
11078 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11079 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11080 else
11081 test -d "$lt_sys_path" && \
11082 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11084 done
11085 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11086 BEGIN {RS=" "; FS="/|\n";} {
11087 lt_foo="";
11088 lt_count=0;
11089 for (lt_i = NF; lt_i > 0; lt_i--) {
11090 if ($lt_i != "" && $lt_i != ".") {
11091 if ($lt_i == "..") {
11092 lt_count++;
11093 } else {
11094 if (lt_count == 0) {
11095 lt_foo="/" $lt_i lt_foo;
11096 } else {
11097 lt_count--;
11102 if (lt_foo != "") { lt_freq[lt_foo]++; }
11103 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11105 # AWK program above erroneously prepends '/' to C:/dos/paths
11106 # for these hosts.
11107 case $host_os in
11108 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11109 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11110 esac
11111 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11112 else
11113 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11115 library_names_spec=
11116 libname_spec='lib$name'
11117 soname_spec=
11118 shrext_cmds=".so"
11119 postinstall_cmds=
11120 postuninstall_cmds=
11121 finish_cmds=
11122 finish_eval=
11123 shlibpath_var=
11124 shlibpath_overrides_runpath=unknown
11125 version_type=none
11126 dynamic_linker="$host_os ld.so"
11127 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11128 need_lib_prefix=unknown
11129 hardcode_into_libs=no
11131 # when you set need_version to no, make sure it does not cause -set_version
11132 # flags to be left without arguments
11133 need_version=unknown
11135 case $host_os in
11136 aix3*)
11137 version_type=linux
11138 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11139 shlibpath_var=LIBPATH
11141 # AIX 3 has no versioning support, so we append a major version to the name.
11142 soname_spec='${libname}${release}${shared_ext}$major'
11145 aix[4-9]*)
11146 version_type=linux
11147 need_lib_prefix=no
11148 need_version=no
11149 hardcode_into_libs=yes
11150 if test "$host_cpu" = ia64; then
11151 # AIX 5 supports IA64
11152 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11153 shlibpath_var=LD_LIBRARY_PATH
11154 else
11155 # With GCC up to 2.95.x, collect2 would create an import file
11156 # for dependence libraries. The import file would start with
11157 # the line `#! .'. This would cause the generated library to
11158 # depend on `.', always an invalid library. This was fixed in
11159 # development snapshots of GCC prior to 3.0.
11160 case $host_os in
11161 aix4 | aix4.[01] | aix4.[01].*)
11162 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11163 echo ' yes '
11164 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11166 else
11167 can_build_shared=no
11170 esac
11171 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11172 # soname into executable. Probably we can add versioning support to
11173 # collect2, so additional links can be useful in future.
11174 if test "$aix_use_runtimelinking" = yes; then
11175 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11176 # instead of lib<name>.a to let people know that these are not
11177 # typical AIX shared libraries.
11178 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11179 else
11180 # We preserve .a as extension for shared libraries through AIX4.2
11181 # and later when we are not doing run time linking.
11182 library_names_spec='${libname}${release}.a $libname.a'
11183 soname_spec='${libname}${release}${shared_ext}$major'
11185 shlibpath_var=LIBPATH
11189 amigaos*)
11190 case $host_cpu in
11191 powerpc)
11192 # Since July 2007 AmigaOS4 officially supports .so libraries.
11193 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11194 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11196 m68k)
11197 library_names_spec='$libname.ixlibrary $libname.a'
11198 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11199 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11201 esac
11204 beos*)
11205 library_names_spec='${libname}${shared_ext}'
11206 dynamic_linker="$host_os ld.so"
11207 shlibpath_var=LIBRARY_PATH
11210 bsdi[45]*)
11211 version_type=linux
11212 need_version=no
11213 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11214 soname_spec='${libname}${release}${shared_ext}$major'
11215 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11216 shlibpath_var=LD_LIBRARY_PATH
11217 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11218 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11219 # the default ld.so.conf also contains /usr/contrib/lib and
11220 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11221 # libtool to hard-code these into programs
11224 cygwin* | mingw* | pw32* | cegcc*)
11225 version_type=windows
11226 shrext_cmds=".dll"
11227 need_version=no
11228 need_lib_prefix=no
11230 case $GCC,$host_os in
11231 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11232 library_names_spec='$libname.dll.a'
11233 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11234 postinstall_cmds='base_file=`basename \${file}`~
11235 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11236 dldir=$destdir/`dirname \$dlpath`~
11237 test -d \$dldir || mkdir -p \$dldir~
11238 $install_prog $dir/$dlname \$dldir/$dlname~
11239 chmod a+x \$dldir/$dlname~
11240 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11241 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11243 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11244 dlpath=$dir/\$dldll~
11245 $RM \$dlpath'
11246 shlibpath_overrides_runpath=yes
11248 case $host_os in
11249 cygwin*)
11250 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11251 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11253 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11255 mingw* | cegcc*)
11256 # MinGW DLLs use traditional 'lib' prefix
11257 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11259 pw32*)
11260 # pw32 DLLs use 'pw' prefix rather than 'lib'
11261 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11263 esac
11267 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11269 esac
11270 dynamic_linker='Win32 ld.exe'
11271 # FIXME: first we should search . and the directory the executable is in
11272 shlibpath_var=PATH
11275 darwin* | rhapsody*)
11276 dynamic_linker="$host_os dyld"
11277 version_type=darwin
11278 need_lib_prefix=no
11279 need_version=no
11280 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11281 soname_spec='${libname}${release}${major}$shared_ext'
11282 shlibpath_overrides_runpath=yes
11283 shlibpath_var=DYLD_LIBRARY_PATH
11284 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11286 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11287 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11290 dgux*)
11291 version_type=linux
11292 need_lib_prefix=no
11293 need_version=no
11294 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11295 soname_spec='${libname}${release}${shared_ext}$major'
11296 shlibpath_var=LD_LIBRARY_PATH
11299 freebsd* | dragonfly*)
11300 # DragonFly does not have aout. When/if they implement a new
11301 # versioning mechanism, adjust this.
11302 if test -x /usr/bin/objformat; then
11303 objformat=`/usr/bin/objformat`
11304 else
11305 case $host_os in
11306 freebsd[23].*) objformat=aout ;;
11307 *) objformat=elf ;;
11308 esac
11310 version_type=freebsd-$objformat
11311 case $version_type in
11312 freebsd-elf*)
11313 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11314 need_version=no
11315 need_lib_prefix=no
11317 freebsd-*)
11318 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11319 need_version=yes
11321 esac
11322 shlibpath_var=LD_LIBRARY_PATH
11323 case $host_os in
11324 freebsd2.*)
11325 shlibpath_overrides_runpath=yes
11327 freebsd3.[01]* | freebsdelf3.[01]*)
11328 shlibpath_overrides_runpath=yes
11329 hardcode_into_libs=yes
11331 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11332 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11333 shlibpath_overrides_runpath=no
11334 hardcode_into_libs=yes
11336 *) # from 4.6 on, and DragonFly
11337 shlibpath_overrides_runpath=yes
11338 hardcode_into_libs=yes
11340 esac
11343 haiku*)
11344 version_type=linux
11345 need_lib_prefix=no
11346 need_version=no
11347 dynamic_linker="$host_os runtime_loader"
11348 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11349 soname_spec='${libname}${release}${shared_ext}$major'
11350 shlibpath_var=LIBRARY_PATH
11351 shlibpath_overrides_runpath=yes
11352 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11353 hardcode_into_libs=yes
11356 hpux9* | hpux10* | hpux11*)
11357 # Give a soname corresponding to the major version so that dld.sl refuses to
11358 # link against other versions.
11359 version_type=sunos
11360 need_lib_prefix=no
11361 need_version=no
11362 case $host_cpu in
11363 ia64*)
11364 shrext_cmds='.so'
11365 hardcode_into_libs=yes
11366 dynamic_linker="$host_os dld.so"
11367 shlibpath_var=LD_LIBRARY_PATH
11368 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11369 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11370 soname_spec='${libname}${release}${shared_ext}$major'
11371 if test "X$HPUX_IA64_MODE" = X32; then
11372 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11373 else
11374 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11376 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11378 hppa*64*)
11379 shrext_cmds='.sl'
11380 hardcode_into_libs=yes
11381 dynamic_linker="$host_os dld.sl"
11382 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11383 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11384 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11385 soname_spec='${libname}${release}${shared_ext}$major'
11386 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11387 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11390 shrext_cmds='.sl'
11391 dynamic_linker="$host_os dld.sl"
11392 shlibpath_var=SHLIB_PATH
11393 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11394 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11395 soname_spec='${libname}${release}${shared_ext}$major'
11397 esac
11398 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11399 postinstall_cmds='chmod 555 $lib'
11400 # or fails outright, so override atomically:
11401 install_override_mode=555
11404 interix[3-9]*)
11405 version_type=linux
11406 need_lib_prefix=no
11407 need_version=no
11408 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11409 soname_spec='${libname}${release}${shared_ext}$major'
11410 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11411 shlibpath_var=LD_LIBRARY_PATH
11412 shlibpath_overrides_runpath=no
11413 hardcode_into_libs=yes
11416 irix5* | irix6* | nonstopux*)
11417 case $host_os in
11418 nonstopux*) version_type=nonstopux ;;
11420 if test "$lt_cv_prog_gnu_ld" = yes; then
11421 version_type=linux
11422 else
11423 version_type=irix
11424 fi ;;
11425 esac
11426 need_lib_prefix=no
11427 need_version=no
11428 soname_spec='${libname}${release}${shared_ext}$major'
11429 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11430 case $host_os in
11431 irix5* | nonstopux*)
11432 libsuff= shlibsuff=
11435 case $LD in # libtool.m4 will add one of these switches to LD
11436 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11437 libsuff= shlibsuff= libmagic=32-bit;;
11438 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11439 libsuff=32 shlibsuff=N32 libmagic=N32;;
11440 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11441 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11442 *) libsuff= shlibsuff= libmagic=never-match;;
11443 esac
11445 esac
11446 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11447 shlibpath_overrides_runpath=no
11448 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11449 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11450 hardcode_into_libs=yes
11453 # No shared lib support for Linux oldld, aout, or coff.
11454 linux*oldld* | linux*aout* | linux*coff*)
11455 dynamic_linker=no
11458 # This must be Linux ELF.
11460 # uclinux* changes (here and below) have been submitted to the libtool
11461 # project, but have not yet been accepted: they are GCC-local changes
11462 # for the time being. (See
11463 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
11464 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
11465 version_type=linux
11466 need_lib_prefix=no
11467 need_version=no
11468 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11469 soname_spec='${libname}${release}${shared_ext}$major'
11470 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11471 shlibpath_var=LD_LIBRARY_PATH
11472 shlibpath_overrides_runpath=no
11474 # Some binutils ld are patched to set DT_RUNPATH
11475 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11476 $as_echo_n "(cached) " >&6
11477 else
11478 lt_cv_shlibpath_overrides_runpath=no
11479 save_LDFLAGS=$LDFLAGS
11480 save_libdir=$libdir
11481 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11482 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11483 if test x$gcc_no_link = xyes; then
11484 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11487 /* end confdefs.h. */
11490 main ()
11494 return 0;
11496 _ACEOF
11497 if ac_fn_c_try_link "$LINENO"; then :
11498 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11499 lt_cv_shlibpath_overrides_runpath=yes
11502 rm -f core conftest.err conftest.$ac_objext \
11503 conftest$ac_exeext conftest.$ac_ext
11504 LDFLAGS=$save_LDFLAGS
11505 libdir=$save_libdir
11509 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11511 # This implies no fast_install, which is unacceptable.
11512 # Some rework will be needed to allow for fast_install
11513 # before this can be enabled.
11514 hardcode_into_libs=yes
11516 # Append ld.so.conf contents to the search path
11517 if test -f /etc/ld.so.conf; then
11518 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11519 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11522 # We used to test for /lib/ld.so.1 and disable shared libraries on
11523 # powerpc, because MkLinux only supported shared libraries with the
11524 # GNU dynamic linker. Since this was broken with cross compilers,
11525 # most powerpc-linux boxes support dynamic linking these days and
11526 # people can always --disable-shared, the test was removed, and we
11527 # assume the GNU/Linux dynamic linker is in use.
11528 dynamic_linker='GNU/Linux ld.so'
11531 netbsd*)
11532 version_type=sunos
11533 need_lib_prefix=no
11534 need_version=no
11535 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11536 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11537 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11538 dynamic_linker='NetBSD (a.out) ld.so'
11539 else
11540 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11541 soname_spec='${libname}${release}${shared_ext}$major'
11542 dynamic_linker='NetBSD ld.elf_so'
11544 shlibpath_var=LD_LIBRARY_PATH
11545 shlibpath_overrides_runpath=yes
11546 hardcode_into_libs=yes
11549 newsos6)
11550 version_type=linux
11551 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11552 shlibpath_var=LD_LIBRARY_PATH
11553 shlibpath_overrides_runpath=yes
11556 *nto* | *qnx*)
11557 version_type=qnx
11558 need_lib_prefix=no
11559 need_version=no
11560 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11561 soname_spec='${libname}${release}${shared_ext}$major'
11562 shlibpath_var=LD_LIBRARY_PATH
11563 shlibpath_overrides_runpath=no
11564 hardcode_into_libs=yes
11565 dynamic_linker='ldqnx.so'
11568 openbsd*)
11569 version_type=sunos
11570 sys_lib_dlsearch_path_spec="/usr/lib"
11571 need_lib_prefix=no
11572 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11573 case $host_os in
11574 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11575 *) need_version=no ;;
11576 esac
11577 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11578 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11579 shlibpath_var=LD_LIBRARY_PATH
11580 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11581 case $host_os in
11582 openbsd2.[89] | openbsd2.[89].*)
11583 shlibpath_overrides_runpath=no
11586 shlibpath_overrides_runpath=yes
11588 esac
11589 else
11590 shlibpath_overrides_runpath=yes
11594 os2*)
11595 libname_spec='$name'
11596 shrext_cmds=".dll"
11597 need_lib_prefix=no
11598 library_names_spec='$libname${shared_ext} $libname.a'
11599 dynamic_linker='OS/2 ld.exe'
11600 shlibpath_var=LIBPATH
11603 osf3* | osf4* | osf5*)
11604 version_type=osf
11605 need_lib_prefix=no
11606 need_version=no
11607 soname_spec='${libname}${release}${shared_ext}$major'
11608 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11609 shlibpath_var=LD_LIBRARY_PATH
11610 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11611 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11614 rdos*)
11615 dynamic_linker=no
11618 solaris*)
11619 version_type=linux
11620 need_lib_prefix=no
11621 need_version=no
11622 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11623 soname_spec='${libname}${release}${shared_ext}$major'
11624 shlibpath_var=LD_LIBRARY_PATH
11625 shlibpath_overrides_runpath=yes
11626 hardcode_into_libs=yes
11627 # ldd complains unless libraries are executable
11628 postinstall_cmds='chmod +x $lib'
11631 sunos4*)
11632 version_type=sunos
11633 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11634 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11635 shlibpath_var=LD_LIBRARY_PATH
11636 shlibpath_overrides_runpath=yes
11637 if test "$with_gnu_ld" = yes; then
11638 need_lib_prefix=no
11640 need_version=yes
11643 sysv4 | sysv4.3*)
11644 version_type=linux
11645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11646 soname_spec='${libname}${release}${shared_ext}$major'
11647 shlibpath_var=LD_LIBRARY_PATH
11648 case $host_vendor in
11649 sni)
11650 shlibpath_overrides_runpath=no
11651 need_lib_prefix=no
11652 runpath_var=LD_RUN_PATH
11654 siemens)
11655 need_lib_prefix=no
11657 motorola)
11658 need_lib_prefix=no
11659 need_version=no
11660 shlibpath_overrides_runpath=no
11661 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11663 esac
11666 sysv4*MP*)
11667 if test -d /usr/nec ;then
11668 version_type=linux
11669 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11670 soname_spec='$libname${shared_ext}.$major'
11671 shlibpath_var=LD_LIBRARY_PATH
11675 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11676 version_type=freebsd-elf
11677 need_lib_prefix=no
11678 need_version=no
11679 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11680 soname_spec='${libname}${release}${shared_ext}$major'
11681 shlibpath_var=LD_LIBRARY_PATH
11682 shlibpath_overrides_runpath=yes
11683 hardcode_into_libs=yes
11684 if test "$with_gnu_ld" = yes; then
11685 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11686 else
11687 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11688 case $host_os in
11689 sco3.2v5*)
11690 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11692 esac
11694 sys_lib_dlsearch_path_spec='/usr/lib'
11697 tpf*)
11698 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11699 version_type=linux
11700 need_lib_prefix=no
11701 need_version=no
11702 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11703 shlibpath_var=LD_LIBRARY_PATH
11704 shlibpath_overrides_runpath=no
11705 hardcode_into_libs=yes
11708 uts4*)
11709 version_type=linux
11710 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11711 soname_spec='${libname}${release}${shared_ext}$major'
11712 shlibpath_var=LD_LIBRARY_PATH
11715 # Shared libraries for VwWorks, >= 7 only at this stage
11716 # and (fpic) still incompatible with "large" code models
11717 # in a few configurations. Only for RTP mode in any case,
11718 # and upon explicit request at configure time.
11719 vxworks7*)
11720 dynamic_linker=no
11721 case ${with_multisubdir}-${enable_shared} in
11722 *large*)
11724 *mrtp*-yes)
11725 version_type=linux
11726 need_lib_prefix=no
11727 need_version=no
11728 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11729 soname_spec='${libname}${release}${shared_ext}$major'
11730 dynamic_linker="$host_os module_loader"
11732 esac
11735 dynamic_linker=no
11737 esac
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11739 $as_echo "$dynamic_linker" >&6; }
11740 test "$dynamic_linker" = no && can_build_shared=no
11742 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11743 if test "$GCC" = yes; then
11744 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11747 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11748 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11750 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11751 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11846 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11847 hardcode_action=
11848 if test -n "$hardcode_libdir_flag_spec" ||
11849 test -n "$runpath_var" ||
11850 test "X$hardcode_automatic" = "Xyes" ; then
11852 # We can hardcode non-existent directories.
11853 if test "$hardcode_direct" != no &&
11854 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11855 # have to relink, otherwise we might link with an installed library
11856 # when we should be linking with a yet-to-be-installed one
11857 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11858 test "$hardcode_minus_L" != no; then
11859 # Linking always hardcodes the temporary library directory.
11860 hardcode_action=relink
11861 else
11862 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11863 hardcode_action=immediate
11865 else
11866 # We cannot hardcode anything, or else we can only hardcode existing
11867 # directories.
11868 hardcode_action=unsupported
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11871 $as_echo "$hardcode_action" >&6; }
11873 if test "$hardcode_action" = relink ||
11874 test "$inherit_rpath" = yes; then
11875 # Fast installation is not supported
11876 enable_fast_install=no
11877 elif test "$shlibpath_overrides_runpath" = yes ||
11878 test "$enable_shared" = no; then
11879 # Fast installation is not necessary
11880 enable_fast_install=needless
11888 if test "x$enable_dlopen" != xyes; then
11889 enable_dlopen=unknown
11890 enable_dlopen_self=unknown
11891 enable_dlopen_self_static=unknown
11892 else
11893 lt_cv_dlopen=no
11894 lt_cv_dlopen_libs=
11896 case $host_os in
11897 beos*)
11898 lt_cv_dlopen="load_add_on"
11899 lt_cv_dlopen_libs=
11900 lt_cv_dlopen_self=yes
11903 mingw* | pw32* | cegcc*)
11904 lt_cv_dlopen="LoadLibrary"
11905 lt_cv_dlopen_libs=
11908 cygwin*)
11909 lt_cv_dlopen="dlopen"
11910 lt_cv_dlopen_libs=
11913 darwin*)
11914 # if libdl is installed we need to link against it
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11916 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11917 if ${ac_cv_lib_dl_dlopen+:} false; then :
11918 $as_echo_n "(cached) " >&6
11919 else
11920 ac_check_lib_save_LIBS=$LIBS
11921 LIBS="-ldl $LIBS"
11922 if test x$gcc_no_link = xyes; then
11923 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11926 /* end confdefs.h. */
11928 /* Override any GCC internal prototype to avoid an error.
11929 Use char because int might match the return type of a GCC
11930 builtin and then its argument prototype would still apply. */
11931 #ifdef __cplusplus
11932 extern "C"
11933 #endif
11934 char dlopen ();
11936 main ()
11938 return dlopen ();
11940 return 0;
11942 _ACEOF
11943 if ac_fn_c_try_link "$LINENO"; then :
11944 ac_cv_lib_dl_dlopen=yes
11945 else
11946 ac_cv_lib_dl_dlopen=no
11948 rm -f core conftest.err conftest.$ac_objext \
11949 conftest$ac_exeext conftest.$ac_ext
11950 LIBS=$ac_check_lib_save_LIBS
11952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11953 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11954 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11955 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11956 else
11958 lt_cv_dlopen="dyld"
11959 lt_cv_dlopen_libs=
11960 lt_cv_dlopen_self=yes
11967 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11968 if test "x$ac_cv_func_shl_load" = xyes; then :
11969 lt_cv_dlopen="shl_load"
11970 else
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11972 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11973 if ${ac_cv_lib_dld_shl_load+:} false; then :
11974 $as_echo_n "(cached) " >&6
11975 else
11976 ac_check_lib_save_LIBS=$LIBS
11977 LIBS="-ldld $LIBS"
11978 if test x$gcc_no_link = xyes; then
11979 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11982 /* end confdefs.h. */
11984 /* Override any GCC internal prototype to avoid an error.
11985 Use char because int might match the return type of a GCC
11986 builtin and then its argument prototype would still apply. */
11987 #ifdef __cplusplus
11988 extern "C"
11989 #endif
11990 char shl_load ();
11992 main ()
11994 return shl_load ();
11996 return 0;
11998 _ACEOF
11999 if ac_fn_c_try_link "$LINENO"; then :
12000 ac_cv_lib_dld_shl_load=yes
12001 else
12002 ac_cv_lib_dld_shl_load=no
12004 rm -f core conftest.err conftest.$ac_objext \
12005 conftest$ac_exeext conftest.$ac_ext
12006 LIBS=$ac_check_lib_save_LIBS
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12009 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12010 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12011 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12012 else
12013 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12014 if test "x$ac_cv_func_dlopen" = xyes; then :
12015 lt_cv_dlopen="dlopen"
12016 else
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12018 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12019 if ${ac_cv_lib_dl_dlopen+:} false; then :
12020 $as_echo_n "(cached) " >&6
12021 else
12022 ac_check_lib_save_LIBS=$LIBS
12023 LIBS="-ldl $LIBS"
12024 if test x$gcc_no_link = xyes; then
12025 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12028 /* end confdefs.h. */
12030 /* Override any GCC internal prototype to avoid an error.
12031 Use char because int might match the return type of a GCC
12032 builtin and then its argument prototype would still apply. */
12033 #ifdef __cplusplus
12034 extern "C"
12035 #endif
12036 char dlopen ();
12038 main ()
12040 return dlopen ();
12042 return 0;
12044 _ACEOF
12045 if ac_fn_c_try_link "$LINENO"; then :
12046 ac_cv_lib_dl_dlopen=yes
12047 else
12048 ac_cv_lib_dl_dlopen=no
12050 rm -f core conftest.err conftest.$ac_objext \
12051 conftest$ac_exeext conftest.$ac_ext
12052 LIBS=$ac_check_lib_save_LIBS
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12055 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12056 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12057 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12058 else
12059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12060 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12061 if ${ac_cv_lib_svld_dlopen+:} false; then :
12062 $as_echo_n "(cached) " >&6
12063 else
12064 ac_check_lib_save_LIBS=$LIBS
12065 LIBS="-lsvld $LIBS"
12066 if test x$gcc_no_link = xyes; then
12067 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12070 /* end confdefs.h. */
12072 /* Override any GCC internal prototype to avoid an error.
12073 Use char because int might match the return type of a GCC
12074 builtin and then its argument prototype would still apply. */
12075 #ifdef __cplusplus
12076 extern "C"
12077 #endif
12078 char dlopen ();
12080 main ()
12082 return dlopen ();
12084 return 0;
12086 _ACEOF
12087 if ac_fn_c_try_link "$LINENO"; then :
12088 ac_cv_lib_svld_dlopen=yes
12089 else
12090 ac_cv_lib_svld_dlopen=no
12092 rm -f core conftest.err conftest.$ac_objext \
12093 conftest$ac_exeext conftest.$ac_ext
12094 LIBS=$ac_check_lib_save_LIBS
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12097 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12098 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12099 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12100 else
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12102 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12103 if ${ac_cv_lib_dld_dld_link+:} false; then :
12104 $as_echo_n "(cached) " >&6
12105 else
12106 ac_check_lib_save_LIBS=$LIBS
12107 LIBS="-ldld $LIBS"
12108 if test x$gcc_no_link = xyes; then
12109 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12112 /* end confdefs.h. */
12114 /* Override any GCC internal prototype to avoid an error.
12115 Use char because int might match the return type of a GCC
12116 builtin and then its argument prototype would still apply. */
12117 #ifdef __cplusplus
12118 extern "C"
12119 #endif
12120 char dld_link ();
12122 main ()
12124 return dld_link ();
12126 return 0;
12128 _ACEOF
12129 if ac_fn_c_try_link "$LINENO"; then :
12130 ac_cv_lib_dld_dld_link=yes
12131 else
12132 ac_cv_lib_dld_dld_link=no
12134 rm -f core conftest.err conftest.$ac_objext \
12135 conftest$ac_exeext conftest.$ac_ext
12136 LIBS=$ac_check_lib_save_LIBS
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12139 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12140 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12141 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12160 esac
12162 if test "x$lt_cv_dlopen" != xno; then
12163 enable_dlopen=yes
12164 else
12165 enable_dlopen=no
12168 case $lt_cv_dlopen in
12169 dlopen)
12170 save_CPPFLAGS="$CPPFLAGS"
12171 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12173 save_LDFLAGS="$LDFLAGS"
12174 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12176 save_LIBS="$LIBS"
12177 LIBS="$lt_cv_dlopen_libs $LIBS"
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12180 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12181 if ${lt_cv_dlopen_self+:} false; then :
12182 $as_echo_n "(cached) " >&6
12183 else
12184 if test "$cross_compiling" = yes; then :
12185 lt_cv_dlopen_self=cross
12186 else
12187 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12188 lt_status=$lt_dlunknown
12189 cat > conftest.$ac_ext <<_LT_EOF
12190 #line 12190 "configure"
12191 #include "confdefs.h"
12193 #if HAVE_DLFCN_H
12194 #include <dlfcn.h>
12195 #endif
12197 #include <stdio.h>
12199 #ifdef RTLD_GLOBAL
12200 # define LT_DLGLOBAL RTLD_GLOBAL
12201 #else
12202 # ifdef DL_GLOBAL
12203 # define LT_DLGLOBAL DL_GLOBAL
12204 # else
12205 # define LT_DLGLOBAL 0
12206 # endif
12207 #endif
12209 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12210 find out it does not work in some platform. */
12211 #ifndef LT_DLLAZY_OR_NOW
12212 # ifdef RTLD_LAZY
12213 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12214 # else
12215 # ifdef DL_LAZY
12216 # define LT_DLLAZY_OR_NOW DL_LAZY
12217 # else
12218 # ifdef RTLD_NOW
12219 # define LT_DLLAZY_OR_NOW RTLD_NOW
12220 # else
12221 # ifdef DL_NOW
12222 # define LT_DLLAZY_OR_NOW DL_NOW
12223 # else
12224 # define LT_DLLAZY_OR_NOW 0
12225 # endif
12226 # endif
12227 # endif
12228 # endif
12229 #endif
12231 /* When -fvisbility=hidden is used, assume the code has been annotated
12232 correspondingly for the symbols needed. */
12233 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12234 void fnord () __attribute__((visibility("default")));
12235 #endif
12237 void fnord () { int i=42; }
12238 int main ()
12240 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12241 int status = $lt_dlunknown;
12243 if (self)
12245 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12246 else
12248 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12249 else puts (dlerror ());
12251 /* dlclose (self); */
12253 else
12254 puts (dlerror ());
12256 return status;
12258 _LT_EOF
12259 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12260 (eval $ac_link) 2>&5
12261 ac_status=$?
12262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12263 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12264 (./conftest; exit; ) >&5 2>/dev/null
12265 lt_status=$?
12266 case x$lt_status in
12267 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12268 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12269 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12270 esac
12271 else :
12272 # compilation failed
12273 lt_cv_dlopen_self=no
12276 rm -fr conftest*
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12281 $as_echo "$lt_cv_dlopen_self" >&6; }
12283 if test "x$lt_cv_dlopen_self" = xyes; then
12284 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12286 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12287 if ${lt_cv_dlopen_self_static+:} false; then :
12288 $as_echo_n "(cached) " >&6
12289 else
12290 if test "$cross_compiling" = yes; then :
12291 lt_cv_dlopen_self_static=cross
12292 else
12293 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12294 lt_status=$lt_dlunknown
12295 cat > conftest.$ac_ext <<_LT_EOF
12296 #line 12296 "configure"
12297 #include "confdefs.h"
12299 #if HAVE_DLFCN_H
12300 #include <dlfcn.h>
12301 #endif
12303 #include <stdio.h>
12305 #ifdef RTLD_GLOBAL
12306 # define LT_DLGLOBAL RTLD_GLOBAL
12307 #else
12308 # ifdef DL_GLOBAL
12309 # define LT_DLGLOBAL DL_GLOBAL
12310 # else
12311 # define LT_DLGLOBAL 0
12312 # endif
12313 #endif
12315 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12316 find out it does not work in some platform. */
12317 #ifndef LT_DLLAZY_OR_NOW
12318 # ifdef RTLD_LAZY
12319 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12320 # else
12321 # ifdef DL_LAZY
12322 # define LT_DLLAZY_OR_NOW DL_LAZY
12323 # else
12324 # ifdef RTLD_NOW
12325 # define LT_DLLAZY_OR_NOW RTLD_NOW
12326 # else
12327 # ifdef DL_NOW
12328 # define LT_DLLAZY_OR_NOW DL_NOW
12329 # else
12330 # define LT_DLLAZY_OR_NOW 0
12331 # endif
12332 # endif
12333 # endif
12334 # endif
12335 #endif
12337 /* When -fvisbility=hidden is used, assume the code has been annotated
12338 correspondingly for the symbols needed. */
12339 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12340 void fnord () __attribute__((visibility("default")));
12341 #endif
12343 void fnord () { int i=42; }
12344 int main ()
12346 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12347 int status = $lt_dlunknown;
12349 if (self)
12351 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12352 else
12354 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12355 else puts (dlerror ());
12357 /* dlclose (self); */
12359 else
12360 puts (dlerror ());
12362 return status;
12364 _LT_EOF
12365 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12366 (eval $ac_link) 2>&5
12367 ac_status=$?
12368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12369 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12370 (./conftest; exit; ) >&5 2>/dev/null
12371 lt_status=$?
12372 case x$lt_status in
12373 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12374 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12375 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12376 esac
12377 else :
12378 # compilation failed
12379 lt_cv_dlopen_self_static=no
12382 rm -fr conftest*
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12387 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12390 CPPFLAGS="$save_CPPFLAGS"
12391 LDFLAGS="$save_LDFLAGS"
12392 LIBS="$save_LIBS"
12394 esac
12396 case $lt_cv_dlopen_self in
12397 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12398 *) enable_dlopen_self=unknown ;;
12399 esac
12401 case $lt_cv_dlopen_self_static in
12402 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12403 *) enable_dlopen_self_static=unknown ;;
12404 esac
12423 striplib=
12424 old_striplib=
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12426 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12427 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12428 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12429 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12431 $as_echo "yes" >&6; }
12432 else
12433 # FIXME - insert some real tests, host_os isn't really good enough
12434 case $host_os in
12435 darwin*)
12436 if test -n "$STRIP" ; then
12437 striplib="$STRIP -x"
12438 old_striplib="$STRIP -S"
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12440 $as_echo "yes" >&6; }
12441 else
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12443 $as_echo "no" >&6; }
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12448 $as_echo "no" >&6; }
12450 esac
12464 # Report which library types will actually be built
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12466 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12468 $as_echo "$can_build_shared" >&6; }
12470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12471 $as_echo_n "checking whether to build shared libraries... " >&6; }
12472 test "$can_build_shared" = "no" && enable_shared=no
12474 # On AIX, shared libraries and static libraries use the same namespace, and
12475 # are all built from PIC.
12476 case $host_os in
12477 aix3*)
12478 test "$enable_shared" = yes && enable_static=no
12479 if test -n "$RANLIB"; then
12480 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12481 postinstall_cmds='$RANLIB $lib'
12485 aix[4-9]*)
12486 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12487 test "$enable_shared" = yes && enable_static=no
12490 esac
12491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12492 $as_echo "$enable_shared" >&6; }
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12495 $as_echo_n "checking whether to build static libraries... " >&6; }
12496 # Make sure either enable_shared or enable_static is yes.
12497 test "$enable_shared" = yes || enable_static=yes
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12499 $as_echo "$enable_static" >&6; }
12505 ac_ext=c
12506 ac_cpp='$CPP $CPPFLAGS'
12507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12511 CC="$lt_save_CC"
12513 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12514 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12515 (test "X$CXX" != "Xg++"))) ; then
12516 ac_ext=cpp
12517 ac_cpp='$CXXCPP $CPPFLAGS'
12518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12522 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12523 if test -z "$CXXCPP"; then
12524 if ${ac_cv_prog_CXXCPP+:} false; then :
12525 $as_echo_n "(cached) " >&6
12526 else
12527 # Double quotes because CXXCPP needs to be expanded
12528 for CXXCPP in "$CXX -E" "/lib/cpp"
12530 ac_preproc_ok=false
12531 for ac_cxx_preproc_warn_flag in '' yes
12533 # Use a header file that comes with gcc, so configuring glibc
12534 # with a fresh cross-compiler works.
12535 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12536 # <limits.h> exists even on freestanding compilers.
12537 # On the NeXT, cc -E runs the code through the compiler's parser,
12538 # not just through cpp. "Syntax error" is here to catch this case.
12539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12540 /* end confdefs.h. */
12541 #ifdef __STDC__
12542 # include <limits.h>
12543 #else
12544 # include <assert.h>
12545 #endif
12546 Syntax error
12547 _ACEOF
12548 if ac_fn_cxx_try_cpp "$LINENO"; then :
12550 else
12551 # Broken: fails on valid input.
12552 continue
12554 rm -f conftest.err conftest.i conftest.$ac_ext
12556 # OK, works on sane cases. Now check whether nonexistent headers
12557 # can be detected and how.
12558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12559 /* end confdefs.h. */
12560 #include <ac_nonexistent.h>
12561 _ACEOF
12562 if ac_fn_cxx_try_cpp "$LINENO"; then :
12563 # Broken: success on invalid input.
12564 continue
12565 else
12566 # Passes both tests.
12567 ac_preproc_ok=:
12568 break
12570 rm -f conftest.err conftest.i conftest.$ac_ext
12572 done
12573 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12574 rm -f conftest.i conftest.err conftest.$ac_ext
12575 if $ac_preproc_ok; then :
12576 break
12579 done
12580 ac_cv_prog_CXXCPP=$CXXCPP
12583 CXXCPP=$ac_cv_prog_CXXCPP
12584 else
12585 ac_cv_prog_CXXCPP=$CXXCPP
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12588 $as_echo "$CXXCPP" >&6; }
12589 ac_preproc_ok=false
12590 for ac_cxx_preproc_warn_flag in '' yes
12592 # Use a header file that comes with gcc, so configuring glibc
12593 # with a fresh cross-compiler works.
12594 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12595 # <limits.h> exists even on freestanding compilers.
12596 # On the NeXT, cc -E runs the code through the compiler's parser,
12597 # not just through cpp. "Syntax error" is here to catch this case.
12598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12599 /* end confdefs.h. */
12600 #ifdef __STDC__
12601 # include <limits.h>
12602 #else
12603 # include <assert.h>
12604 #endif
12605 Syntax error
12606 _ACEOF
12607 if ac_fn_cxx_try_cpp "$LINENO"; then :
12609 else
12610 # Broken: fails on valid input.
12611 continue
12613 rm -f conftest.err conftest.i conftest.$ac_ext
12615 # OK, works on sane cases. Now check whether nonexistent headers
12616 # can be detected and how.
12617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12618 /* end confdefs.h. */
12619 #include <ac_nonexistent.h>
12620 _ACEOF
12621 if ac_fn_cxx_try_cpp "$LINENO"; then :
12622 # Broken: success on invalid input.
12623 continue
12624 else
12625 # Passes both tests.
12626 ac_preproc_ok=:
12627 break
12629 rm -f conftest.err conftest.i conftest.$ac_ext
12631 done
12632 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12633 rm -f conftest.i conftest.err conftest.$ac_ext
12634 if $ac_preproc_ok; then :
12636 else
12637 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12638 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12639 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12640 See \`config.log' for more details" "$LINENO" 5; }
12643 ac_ext=c
12644 ac_cpp='$CPP $CPPFLAGS'
12645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12649 else
12650 _lt_caught_CXX_error=yes
12653 ac_ext=cpp
12654 ac_cpp='$CXXCPP $CPPFLAGS'
12655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12659 archive_cmds_need_lc_CXX=no
12660 allow_undefined_flag_CXX=
12661 always_export_symbols_CXX=no
12662 archive_expsym_cmds_CXX=
12663 compiler_needs_object_CXX=no
12664 export_dynamic_flag_spec_CXX=
12665 hardcode_direct_CXX=no
12666 hardcode_direct_absolute_CXX=no
12667 hardcode_libdir_flag_spec_CXX=
12668 hardcode_libdir_flag_spec_ld_CXX=
12669 hardcode_libdir_separator_CXX=
12670 hardcode_minus_L_CXX=no
12671 hardcode_shlibpath_var_CXX=unsupported
12672 hardcode_automatic_CXX=no
12673 inherit_rpath_CXX=no
12674 module_cmds_CXX=
12675 module_expsym_cmds_CXX=
12676 link_all_deplibs_CXX=unknown
12677 old_archive_cmds_CXX=$old_archive_cmds
12678 reload_flag_CXX=$reload_flag
12679 reload_cmds_CXX=$reload_cmds
12680 no_undefined_flag_CXX=
12681 whole_archive_flag_spec_CXX=
12682 enable_shared_with_static_runtimes_CXX=no
12684 # Source file extension for C++ test sources.
12685 ac_ext=cpp
12687 # Object file extension for compiled C++ test sources.
12688 objext=o
12689 objext_CXX=$objext
12691 # No sense in running all these tests if we already determined that
12692 # the CXX compiler isn't working. Some variables (like enable_shared)
12693 # are currently assumed to apply to all compilers on this platform,
12694 # and will be corrupted by setting them based on a non-working compiler.
12695 if test "$_lt_caught_CXX_error" != yes; then
12696 # Code to be used in simple compile tests
12697 lt_simple_compile_test_code="int some_variable = 0;"
12699 # Code to be used in simple link tests
12700 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12702 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12709 # If no C compiler was specified, use CC.
12710 LTCC=${LTCC-"$CC"}
12712 # If no C compiler flags were specified, use CFLAGS.
12713 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12715 # Allow CC to be a program name with arguments.
12716 compiler=$CC
12719 # save warnings/boilerplate of simple test code
12720 ac_outfile=conftest.$ac_objext
12721 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12722 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12723 _lt_compiler_boilerplate=`cat conftest.err`
12724 $RM conftest*
12726 ac_outfile=conftest.$ac_objext
12727 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12728 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12729 _lt_linker_boilerplate=`cat conftest.err`
12730 $RM -r conftest*
12733 # Allow CC to be a program name with arguments.
12734 lt_save_CC=$CC
12735 lt_save_LD=$LD
12736 lt_save_GCC=$GCC
12737 GCC=$GXX
12738 lt_save_with_gnu_ld=$with_gnu_ld
12739 lt_save_path_LD=$lt_cv_path_LD
12740 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12741 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12742 else
12743 $as_unset lt_cv_prog_gnu_ld
12745 if test -n "${lt_cv_path_LDCXX+set}"; then
12746 lt_cv_path_LD=$lt_cv_path_LDCXX
12747 else
12748 $as_unset lt_cv_path_LD
12750 test -z "${LDCXX+set}" || LD=$LDCXX
12751 CC=${CXX-"c++"}
12752 compiler=$CC
12753 compiler_CXX=$CC
12754 for cc_temp in $compiler""; do
12755 case $cc_temp in
12756 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12757 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12758 \-*) ;;
12759 *) break;;
12760 esac
12761 done
12762 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12765 if test -n "$compiler"; then
12766 # We don't want -fno-exception when compiling C++ code, so set the
12767 # no_builtin_flag separately
12768 if test "$GXX" = yes; then
12769 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12770 else
12771 lt_prog_compiler_no_builtin_flag_CXX=
12774 if test "$GXX" = yes; then
12775 # Set up default GNU C++ configuration
12779 # Check whether --with-gnu-ld was given.
12780 if test "${with_gnu_ld+set}" = set; then :
12781 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12782 else
12783 with_gnu_ld=no
12786 ac_prog=ld
12787 if test "$GCC" = yes; then
12788 # Check if gcc -print-prog-name=ld gives a path.
12789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12790 $as_echo_n "checking for ld used by $CC... " >&6; }
12791 case $host in
12792 *-*-mingw*)
12793 # gcc leaves a trailing carriage return which upsets mingw
12794 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12796 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12797 esac
12798 case $ac_prog in
12799 # Accept absolute paths.
12800 [\\/]* | ?:[\\/]*)
12801 re_direlt='/[^/][^/]*/\.\./'
12802 # Canonicalize the pathname of ld
12803 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12804 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12805 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12806 done
12807 test -z "$LD" && LD="$ac_prog"
12810 # If it fails, then pretend we aren't using GCC.
12811 ac_prog=ld
12814 # If it is relative, then search for the first ld in PATH.
12815 with_gnu_ld=unknown
12817 esac
12818 elif test "$with_gnu_ld" = yes; then
12819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12820 $as_echo_n "checking for GNU ld... " >&6; }
12821 else
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12823 $as_echo_n "checking for non-GNU ld... " >&6; }
12825 if ${lt_cv_path_LD+:} false; then :
12826 $as_echo_n "(cached) " >&6
12827 else
12828 if test -z "$LD"; then
12829 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12830 for ac_dir in $PATH; do
12831 IFS="$lt_save_ifs"
12832 test -z "$ac_dir" && ac_dir=.
12833 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12834 lt_cv_path_LD="$ac_dir/$ac_prog"
12835 # Check to see if the program is GNU ld. I'd rather use --version,
12836 # but apparently some variants of GNU ld only accept -v.
12837 # Break only if it was the GNU/non-GNU ld that we prefer.
12838 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12839 *GNU* | *'with BFD'*)
12840 test "$with_gnu_ld" != no && break
12843 test "$with_gnu_ld" != yes && break
12845 esac
12847 done
12848 IFS="$lt_save_ifs"
12849 else
12850 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12854 LD="$lt_cv_path_LD"
12855 if test -n "$LD"; then
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12857 $as_echo "$LD" >&6; }
12858 else
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12860 $as_echo "no" >&6; }
12862 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12864 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12865 if ${lt_cv_prog_gnu_ld+:} false; then :
12866 $as_echo_n "(cached) " >&6
12867 else
12868 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12869 case `$LD -v 2>&1 </dev/null` in
12870 *GNU* | *'with BFD'*)
12871 lt_cv_prog_gnu_ld=yes
12874 lt_cv_prog_gnu_ld=no
12876 esac
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12879 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12880 with_gnu_ld=$lt_cv_prog_gnu_ld
12888 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12889 # archiving commands below assume that GNU ld is being used.
12890 if test "$with_gnu_ld" = yes; then
12891 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12892 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12894 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12895 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12897 # If archive_cmds runs LD, not CC, wlarc should be empty
12898 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12899 # investigate it a little bit more. (MM)
12900 wlarc='${wl}'
12902 # ancient GNU ld didn't support --whole-archive et. al.
12903 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12904 $GREP 'no-whole-archive' > /dev/null; then
12905 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12906 else
12907 whole_archive_flag_spec_CXX=
12909 else
12910 with_gnu_ld=no
12911 wlarc=
12913 # A generic and very simple default shared library creation
12914 # command for GNU C++ for the case where it uses the native
12915 # linker, instead of GNU ld. If possible, this setting should
12916 # overridden to take advantage of the native linker features on
12917 # the platform it is being used on.
12918 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12921 # Commands to make compiler produce verbose output that lists
12922 # what "hidden" libraries, object files and flags are used when
12923 # linking a shared library.
12924 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12926 else
12927 GXX=no
12928 with_gnu_ld=no
12929 wlarc=
12932 # PORTME: fill in a description of your system's C++ link characteristics
12933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12934 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12935 ld_shlibs_CXX=yes
12936 case $host_os in
12937 aix3*)
12938 # FIXME: insert proper C++ library support
12939 ld_shlibs_CXX=no
12941 aix[4-9]*)
12942 if test "$host_cpu" = ia64; then
12943 # On IA64, the linker does run time linking by default, so we don't
12944 # have to do anything special.
12945 aix_use_runtimelinking=no
12946 exp_sym_flag='-Bexport'
12947 no_entry_flag=""
12948 else
12949 aix_use_runtimelinking=no
12951 # Test if we are trying to use run time linking or normal
12952 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12953 # need to do runtime linking.
12954 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12955 for ld_flag in $LDFLAGS; do
12956 case $ld_flag in
12957 *-brtl*)
12958 aix_use_runtimelinking=yes
12959 break
12961 esac
12962 done
12964 esac
12966 exp_sym_flag='-bexport'
12967 no_entry_flag='-bnoentry'
12970 # When large executables or shared objects are built, AIX ld can
12971 # have problems creating the table of contents. If linking a library
12972 # or program results in "error TOC overflow" add -mminimal-toc to
12973 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12974 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12976 archive_cmds_CXX=''
12977 hardcode_direct_CXX=yes
12978 hardcode_direct_absolute_CXX=yes
12979 hardcode_libdir_separator_CXX=':'
12980 link_all_deplibs_CXX=yes
12981 file_list_spec_CXX='${wl}-f,'
12983 if test "$GXX" = yes; then
12984 case $host_os in aix4.[012]|aix4.[012].*)
12985 # We only want to do this on AIX 4.2 and lower, the check
12986 # below for broken collect2 doesn't work under 4.3+
12987 collect2name=`${CC} -print-prog-name=collect2`
12988 if test -f "$collect2name" &&
12989 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12990 then
12991 # We have reworked collect2
12993 else
12994 # We have old collect2
12995 hardcode_direct_CXX=unsupported
12996 # It fails to find uninstalled libraries when the uninstalled
12997 # path is not listed in the libpath. Setting hardcode_minus_L
12998 # to unsupported forces relinking
12999 hardcode_minus_L_CXX=yes
13000 hardcode_libdir_flag_spec_CXX='-L$libdir'
13001 hardcode_libdir_separator_CXX=
13003 esac
13004 shared_flag='-shared'
13005 if test "$aix_use_runtimelinking" = yes; then
13006 shared_flag="$shared_flag "'${wl}-G'
13008 else
13009 # not using gcc
13010 if test "$host_cpu" = ia64; then
13011 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13012 # chokes on -Wl,-G. The following line is correct:
13013 shared_flag='-G'
13014 else
13015 if test "$aix_use_runtimelinking" = yes; then
13016 shared_flag='${wl}-G'
13017 else
13018 shared_flag='${wl}-bM:SRE'
13023 export_dynamic_flag_spec_CXX='${wl}-bexpall'
13024 # It seems that -bexpall does not export symbols beginning with
13025 # underscore (_), so it is better to generate a list of symbols to
13026 # export.
13027 always_export_symbols_CXX=yes
13028 if test "$aix_use_runtimelinking" = yes; then
13029 # Warning - without using the other runtime loading flags (-brtl),
13030 # -berok will link without error, but may produce a broken library.
13031 allow_undefined_flag_CXX='-berok'
13032 # Determine the default libpath from the value encoded in an empty
13033 # executable.
13034 if test x$gcc_no_link = xyes; then
13035 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13038 /* end confdefs.h. */
13041 main ()
13045 return 0;
13047 _ACEOF
13048 if ac_fn_cxx_try_link "$LINENO"; then :
13050 lt_aix_libpath_sed='
13051 /Import File Strings/,/^$/ {
13052 /^0/ {
13053 s/^0 *\(.*\)$/\1/
13057 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13058 # Check for a 64-bit object if we didn't find anything.
13059 if test -z "$aix_libpath"; then
13060 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13063 rm -f core conftest.err conftest.$ac_objext \
13064 conftest$ac_exeext conftest.$ac_ext
13065 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13067 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13069 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13070 else
13071 if test "$host_cpu" = ia64; then
13072 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13073 allow_undefined_flag_CXX="-z nodefs"
13074 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
13075 else
13076 # Determine the default libpath from the value encoded in an
13077 # empty executable.
13078 if test x$gcc_no_link = xyes; then
13079 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13082 /* end confdefs.h. */
13085 main ()
13089 return 0;
13091 _ACEOF
13092 if ac_fn_cxx_try_link "$LINENO"; then :
13094 lt_aix_libpath_sed='
13095 /Import File Strings/,/^$/ {
13096 /^0/ {
13097 s/^0 *\(.*\)$/\1/
13101 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13102 # Check for a 64-bit object if we didn't find anything.
13103 if test -z "$aix_libpath"; then
13104 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13107 rm -f core conftest.err conftest.$ac_objext \
13108 conftest$ac_exeext conftest.$ac_ext
13109 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13111 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13112 # Warning - without using the other run time loading flags,
13113 # -berok will link without error, but may produce a broken library.
13114 no_undefined_flag_CXX=' ${wl}-bernotok'
13115 allow_undefined_flag_CXX=' ${wl}-berok'
13116 if test "$with_gnu_ld" = yes; then
13117 # We only use this code for GNU lds that support --whole-archive.
13118 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13119 else
13120 # Exported symbols can be pulled into shared objects from archives
13121 whole_archive_flag_spec_CXX='$convenience'
13123 archive_cmds_need_lc_CXX=yes
13124 # This is similar to how AIX traditionally builds its shared
13125 # libraries.
13126 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
13131 beos*)
13132 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13133 allow_undefined_flag_CXX=unsupported
13134 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13135 # support --undefined. This deserves some investigation. FIXME
13136 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13137 else
13138 ld_shlibs_CXX=no
13142 chorus*)
13143 case $cc_basename in
13145 # FIXME: insert proper C++ library support
13146 ld_shlibs_CXX=no
13148 esac
13151 cygwin* | mingw* | pw32* | cegcc*)
13152 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13153 # as there is no search path for DLLs.
13154 hardcode_libdir_flag_spec_CXX='-L$libdir'
13155 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13156 allow_undefined_flag_CXX=unsupported
13157 always_export_symbols_CXX=no
13158 enable_shared_with_static_runtimes_CXX=yes
13160 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13161 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13162 # If the export-symbols file already is a .def file (1st line
13163 # is EXPORTS), use it as is; otherwise, prepend...
13164 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13165 cp $export_symbols $output_objdir/$soname.def;
13166 else
13167 echo EXPORTS > $output_objdir/$soname.def;
13168 cat $export_symbols >> $output_objdir/$soname.def;
13170 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13171 else
13172 ld_shlibs_CXX=no
13175 darwin* | rhapsody*)
13178 archive_cmds_need_lc_CXX=no
13179 hardcode_direct_CXX=no
13180 hardcode_automatic_CXX=yes
13181 hardcode_shlibpath_var_CXX=unsupported
13182 if test "$lt_cv_ld_force_load" = "yes"; then
13183 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
13184 else
13185 whole_archive_flag_spec_CXX=''
13187 link_all_deplibs_CXX=yes
13188 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13189 case $cc_basename in
13190 ifort*) _lt_dar_can_shared=yes ;;
13191 *) _lt_dar_can_shared=$GCC ;;
13192 esac
13193 if test "$_lt_dar_can_shared" = "yes"; then
13194 output_verbose_link_cmd=func_echo_all
13195 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
13196 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13197 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
13198 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
13199 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13200 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
13201 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
13204 else
13205 ld_shlibs_CXX=no
13210 dgux*)
13211 case $cc_basename in
13212 ec++*)
13213 # FIXME: insert proper C++ library support
13214 ld_shlibs_CXX=no
13216 ghcx*)
13217 # Green Hills C++ Compiler
13218 # FIXME: insert proper C++ library support
13219 ld_shlibs_CXX=no
13222 # FIXME: insert proper C++ library support
13223 ld_shlibs_CXX=no
13225 esac
13228 freebsd2.*)
13229 # C++ shared libraries reported to be fairly broken before
13230 # switch to ELF
13231 ld_shlibs_CXX=no
13234 freebsd-elf*)
13235 archive_cmds_need_lc_CXX=no
13238 freebsd* | dragonfly*)
13239 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13240 # conventions
13241 ld_shlibs_CXX=yes
13244 gnu*)
13247 haiku*)
13248 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13249 link_all_deplibs_CXX=yes
13252 hpux9*)
13253 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13254 hardcode_libdir_separator_CXX=:
13255 export_dynamic_flag_spec_CXX='${wl}-E'
13256 hardcode_direct_CXX=yes
13257 hardcode_minus_L_CXX=yes # Not in the search PATH,
13258 # but as the default
13259 # location of the library.
13261 case $cc_basename in
13262 CC*)
13263 # FIXME: insert proper C++ library support
13264 ld_shlibs_CXX=no
13266 aCC*)
13267 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13268 # Commands to make compiler produce verbose output that lists
13269 # what "hidden" libraries, object files and flags are used when
13270 # linking a shared library.
13272 # There doesn't appear to be a way to prevent this compiler from
13273 # explicitly linking system object files so we need to strip them
13274 # from the output so that they don't get included in the library
13275 # dependencies.
13276 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13279 if test "$GXX" = yes; then
13280 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13281 else
13282 # FIXME: insert proper C++ library support
13283 ld_shlibs_CXX=no
13286 esac
13289 hpux10*|hpux11*)
13290 if test $with_gnu_ld = no; then
13291 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13292 hardcode_libdir_separator_CXX=:
13294 case $host_cpu in
13295 hppa*64*|ia64*)
13298 export_dynamic_flag_spec_CXX='${wl}-E'
13300 esac
13302 case $host_cpu in
13303 hppa*64*|ia64*)
13304 hardcode_direct_CXX=no
13305 hardcode_shlibpath_var_CXX=no
13308 hardcode_direct_CXX=yes
13309 hardcode_direct_absolute_CXX=yes
13310 hardcode_minus_L_CXX=yes # Not in the search PATH,
13311 # but as the default
13312 # location of the library.
13314 esac
13316 case $cc_basename in
13317 CC*)
13318 # FIXME: insert proper C++ library support
13319 ld_shlibs_CXX=no
13321 aCC*)
13322 case $host_cpu in
13323 hppa*64*)
13324 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13326 ia64*)
13327 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13330 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13332 esac
13333 # Commands to make compiler produce verbose output that lists
13334 # what "hidden" libraries, object files and flags are used when
13335 # linking a shared library.
13337 # There doesn't appear to be a way to prevent this compiler from
13338 # explicitly linking system object files so we need to strip them
13339 # from the output so that they don't get included in the library
13340 # dependencies.
13341 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13344 if test "$GXX" = yes; then
13345 if test $with_gnu_ld = no; then
13346 case $host_cpu in
13347 hppa*64*)
13348 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13350 ia64*)
13351 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13354 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13356 esac
13358 else
13359 # FIXME: insert proper C++ library support
13360 ld_shlibs_CXX=no
13363 esac
13366 interix[3-9]*)
13367 hardcode_direct_CXX=no
13368 hardcode_shlibpath_var_CXX=no
13369 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13370 export_dynamic_flag_spec_CXX='${wl}-E'
13371 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13372 # Instead, shared libraries are loaded at an image base (0x10000000 by
13373 # default) and relocated if they conflict, which is a slow very memory
13374 # consuming and fragmenting process. To avoid this, we pick a random,
13375 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13376 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13377 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13378 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13380 irix5* | irix6*)
13381 case $cc_basename in
13382 CC*)
13383 # SGI C++
13384 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13386 # Archives containing C++ object files must be created using
13387 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13388 # necessary to make sure instantiated templates are included
13389 # in the archive.
13390 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13393 if test "$GXX" = yes; then
13394 if test "$with_gnu_ld" = no; then
13395 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13396 else
13397 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
13400 link_all_deplibs_CXX=yes
13402 esac
13403 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13404 hardcode_libdir_separator_CXX=:
13405 inherit_rpath_CXX=yes
13408 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13409 case $cc_basename in
13410 KCC*)
13411 # Kuck and Associates, Inc. (KAI) C++ Compiler
13413 # KCC will only create a shared library if the output file
13414 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13415 # to its proper name (with version) after linking.
13416 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13417 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
13418 # Commands to make compiler produce verbose output that lists
13419 # what "hidden" libraries, object files and flags are used when
13420 # linking a shared library.
13422 # There doesn't appear to be a way to prevent this compiler from
13423 # explicitly linking system object files so we need to strip them
13424 # from the output so that they don't get included in the library
13425 # dependencies.
13426 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13428 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13429 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13431 # Archives containing C++ object files must be created using
13432 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13433 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13435 icpc* | ecpc* )
13436 # Intel C++
13437 with_gnu_ld=yes
13438 # version 8.0 and above of icpc choke on multiply defined symbols
13439 # if we add $predep_objects and $postdep_objects, however 7.1 and
13440 # earlier do not add the objects themselves.
13441 case `$CC -V 2>&1` in
13442 *"Version 7."*)
13443 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13444 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13446 *) # Version 8.0 or newer
13447 tmp_idyn=
13448 case $host_cpu in
13449 ia64*) tmp_idyn=' -i_dynamic';;
13450 esac
13451 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13452 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13454 esac
13455 archive_cmds_need_lc_CXX=no
13456 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13457 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13458 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13460 pgCC* | pgcpp*)
13461 # Portland Group C++ compiler
13462 case `$CC -V` in
13463 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13464 prelink_cmds_CXX='tpldir=Template.dir~
13465 rm -rf $tpldir~
13466 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13467 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13468 old_archive_cmds_CXX='tpldir=Template.dir~
13469 rm -rf $tpldir~
13470 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13471 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13472 $RANLIB $oldlib'
13473 archive_cmds_CXX='tpldir=Template.dir~
13474 rm -rf $tpldir~
13475 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13476 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13477 archive_expsym_cmds_CXX='tpldir=Template.dir~
13478 rm -rf $tpldir~
13479 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13480 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13482 *) # Version 6 and above use weak symbols
13483 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13484 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13486 esac
13488 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13489 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13490 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13492 cxx*)
13493 # Compaq C++
13494 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13495 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
13497 runpath_var=LD_RUN_PATH
13498 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13499 hardcode_libdir_separator_CXX=:
13501 # Commands to make compiler produce verbose output that lists
13502 # what "hidden" libraries, object files and flags are used when
13503 # linking a shared library.
13505 # There doesn't appear to be a way to prevent this compiler from
13506 # explicitly linking system object files so we need to strip them
13507 # from the output so that they don't get included in the library
13508 # dependencies.
13509 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
13511 xl* | mpixl* | bgxl*)
13512 # IBM XL 8.0 on PPC, with GNU ld
13513 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13514 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13515 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13516 if test "x$supports_anon_versioning" = xyes; then
13517 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13518 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13519 echo "local: *; };" >> $output_objdir/$libname.ver~
13520 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13524 case `$CC -V 2>&1 | sed 5q` in
13525 *Sun\ C*)
13526 # Sun C++ 5.9
13527 no_undefined_flag_CXX=' -zdefs'
13528 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13529 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
13530 hardcode_libdir_flag_spec_CXX='-R$libdir'
13531 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13532 compiler_needs_object_CXX=yes
13534 # Not sure whether something based on
13535 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13536 # would be better.
13537 output_verbose_link_cmd='func_echo_all'
13539 # Archives containing C++ object files must be created using
13540 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13541 # necessary to make sure instantiated templates are included
13542 # in the archive.
13543 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13545 esac
13547 esac
13550 lynxos*)
13551 # FIXME: insert proper C++ library support
13552 ld_shlibs_CXX=no
13555 m88k*)
13556 # FIXME: insert proper C++ library support
13557 ld_shlibs_CXX=no
13560 mvs*)
13561 case $cc_basename in
13562 cxx*)
13563 # FIXME: insert proper C++ library support
13564 ld_shlibs_CXX=no
13567 # FIXME: insert proper C++ library support
13568 ld_shlibs_CXX=no
13570 esac
13573 netbsd*)
13574 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13575 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13576 wlarc=
13577 hardcode_libdir_flag_spec_CXX='-R$libdir'
13578 hardcode_direct_CXX=yes
13579 hardcode_shlibpath_var_CXX=no
13581 # Workaround some broken pre-1.5 toolchains
13582 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13585 *nto* | *qnx*)
13586 ld_shlibs_CXX=yes
13589 openbsd2*)
13590 # C++ shared libraries are fairly broken
13591 ld_shlibs_CXX=no
13594 openbsd*)
13595 if test -f /usr/libexec/ld.so; then
13596 hardcode_direct_CXX=yes
13597 hardcode_shlibpath_var_CXX=no
13598 hardcode_direct_absolute_CXX=yes
13599 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13600 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13601 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13602 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13603 export_dynamic_flag_spec_CXX='${wl}-E'
13604 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13606 output_verbose_link_cmd=func_echo_all
13607 else
13608 ld_shlibs_CXX=no
13612 osf3* | osf4* | osf5*)
13613 case $cc_basename in
13614 KCC*)
13615 # Kuck and Associates, Inc. (KAI) C++ Compiler
13617 # KCC will only create a shared library if the output file
13618 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13619 # to its proper name (with version) after linking.
13620 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13622 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13623 hardcode_libdir_separator_CXX=:
13625 # Archives containing C++ object files must be created using
13626 # the KAI C++ compiler.
13627 case $host in
13628 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13629 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13630 esac
13632 RCC*)
13633 # Rational C++ 2.4.1
13634 # FIXME: insert proper C++ library support
13635 ld_shlibs_CXX=no
13637 cxx*)
13638 case $host in
13639 osf3*)
13640 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13641 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13642 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13645 allow_undefined_flag_CXX=' -expect_unresolved \*'
13646 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13647 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13648 echo "-hidden">> $lib.exp~
13649 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
13650 $RM $lib.exp'
13651 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13653 esac
13655 hardcode_libdir_separator_CXX=:
13657 # Commands to make compiler produce verbose output that lists
13658 # what "hidden" libraries, object files and flags are used when
13659 # linking a shared library.
13661 # There doesn't appear to be a way to prevent this compiler from
13662 # explicitly linking system object files so we need to strip them
13663 # from the output so that they don't get included in the library
13664 # dependencies.
13665 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13668 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13669 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13670 case $host in
13671 osf3*)
13672 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13675 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13677 esac
13679 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13680 hardcode_libdir_separator_CXX=:
13682 # Commands to make compiler produce verbose output that lists
13683 # what "hidden" libraries, object files and flags are used when
13684 # linking a shared library.
13685 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13687 else
13688 # FIXME: insert proper C++ library support
13689 ld_shlibs_CXX=no
13692 esac
13695 psos*)
13696 # FIXME: insert proper C++ library support
13697 ld_shlibs_CXX=no
13700 sunos4*)
13701 case $cc_basename in
13702 CC*)
13703 # Sun C++ 4.x
13704 # FIXME: insert proper C++ library support
13705 ld_shlibs_CXX=no
13707 lcc*)
13708 # Lucid
13709 # FIXME: insert proper C++ library support
13710 ld_shlibs_CXX=no
13713 # FIXME: insert proper C++ library support
13714 ld_shlibs_CXX=no
13716 esac
13719 solaris*)
13720 case $cc_basename in
13721 CC*)
13722 # Sun C++ 4.2, 5.x and Centerline C++
13723 archive_cmds_need_lc_CXX=yes
13724 no_undefined_flag_CXX=' -zdefs'
13725 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13726 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13727 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13729 hardcode_libdir_flag_spec_CXX='-R$libdir'
13730 hardcode_shlibpath_var_CXX=no
13731 case $host_os in
13732 solaris2.[0-5] | solaris2.[0-5].*) ;;
13734 # The compiler driver will combine and reorder linker options,
13735 # but understands `-z linker_flag'.
13736 # Supported since Solaris 2.6 (maybe 2.5.1?)
13737 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13739 esac
13740 link_all_deplibs_CXX=yes
13742 output_verbose_link_cmd='func_echo_all'
13744 # Archives containing C++ object files must be created using
13745 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13746 # necessary to make sure instantiated templates are included
13747 # in the archive.
13748 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13750 gcx*)
13751 # Green Hills C++ Compiler
13752 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13754 # The C++ compiler must be used to create the archive.
13755 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13758 # GNU C++ compiler with Solaris linker
13759 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13760 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13761 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13762 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13763 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13764 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13766 # Commands to make compiler produce verbose output that lists
13767 # what "hidden" libraries, object files and flags are used when
13768 # linking a shared library.
13769 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13770 else
13771 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13772 # platform.
13773 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13774 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13775 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13777 # Commands to make compiler produce verbose output that lists
13778 # what "hidden" libraries, object files and flags are used when
13779 # linking a shared library.
13780 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13783 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13784 case $host_os in
13785 solaris2.[0-5] | solaris2.[0-5].*) ;;
13787 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13789 esac
13792 esac
13795 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13796 no_undefined_flag_CXX='${wl}-z,text'
13797 archive_cmds_need_lc_CXX=no
13798 hardcode_shlibpath_var_CXX=no
13799 runpath_var='LD_RUN_PATH'
13801 case $cc_basename in
13802 CC*)
13803 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13804 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13807 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13808 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13810 esac
13813 sysv5* | sco3.2v5* | sco5v6*)
13814 # Note: We can NOT use -z defs as we might desire, because we do not
13815 # link with -lc, and that would cause any symbols used from libc to
13816 # always be unresolved, which means just about no library would
13817 # ever link correctly. If we're not using GNU ld we use -z text
13818 # though, which does catch some bad symbols but isn't as heavy-handed
13819 # as -z defs.
13820 no_undefined_flag_CXX='${wl}-z,text'
13821 allow_undefined_flag_CXX='${wl}-z,nodefs'
13822 archive_cmds_need_lc_CXX=no
13823 hardcode_shlibpath_var_CXX=no
13824 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13825 hardcode_libdir_separator_CXX=':'
13826 link_all_deplibs_CXX=yes
13827 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13828 runpath_var='LD_RUN_PATH'
13830 case $cc_basename in
13831 CC*)
13832 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13833 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13834 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13835 '"$old_archive_cmds_CXX"
13836 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13837 '"$reload_cmds_CXX"
13840 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13841 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13843 esac
13846 tandem*)
13847 case $cc_basename in
13848 NCC*)
13849 # NonStop-UX NCC 3.20
13850 # FIXME: insert proper C++ library support
13851 ld_shlibs_CXX=no
13854 # FIXME: insert proper C++ library support
13855 ld_shlibs_CXX=no
13857 esac
13860 vxworks*)
13861 # For VxWorks ports, we assume the use of a GNU linker with
13862 # standard elf conventions.
13863 ld_shlibs_CXX=yes
13867 # FIXME: insert proper C++ library support
13868 ld_shlibs_CXX=no
13870 esac
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13873 $as_echo "$ld_shlibs_CXX" >&6; }
13874 test "$ld_shlibs_CXX" = no && can_build_shared=no
13876 GCC_CXX="$GXX"
13877 LD_CXX="$LD"
13879 ## CAVEAT EMPTOR:
13880 ## There is no encapsulation within the following macros, do not change
13881 ## the running order or otherwise move them around unless you know exactly
13882 ## what you are doing...
13883 # Dependencies to place before and after the object being linked:
13884 predep_objects_CXX=
13885 postdep_objects_CXX=
13886 predeps_CXX=
13887 postdeps_CXX=
13888 compiler_lib_search_path_CXX=
13890 cat > conftest.$ac_ext <<_LT_EOF
13891 class Foo
13893 public:
13894 Foo (void) { a = 0; }
13895 private:
13896 int a;
13898 _LT_EOF
13900 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13901 (eval $ac_compile) 2>&5
13902 ac_status=$?
13903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13904 test $ac_status = 0; }; then
13905 # Parse the compiler output and extract the necessary
13906 # objects, libraries and library flags.
13908 # Sentinel used to keep track of whether or not we are before
13909 # the conftest object file.
13910 pre_test_object_deps_done=no
13912 for p in `eval "$output_verbose_link_cmd"`; do
13913 case $p in
13915 -L* | -R* | -l*)
13916 # Some compilers place space between "-{L,R}" and the path.
13917 # Remove the space.
13918 if test $p = "-L" ||
13919 test $p = "-R"; then
13920 prev=$p
13921 continue
13922 else
13923 prev=
13926 if test "$pre_test_object_deps_done" = no; then
13927 case $p in
13928 -L* | -R*)
13929 # Internal compiler library paths should come after those
13930 # provided the user. The postdeps already come after the
13931 # user supplied libs so there is no need to process them.
13932 if test -z "$compiler_lib_search_path_CXX"; then
13933 compiler_lib_search_path_CXX="${prev}${p}"
13934 else
13935 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13938 # The "-l" case would never come before the object being
13939 # linked, so don't bother handling this case.
13940 esac
13941 else
13942 if test -z "$postdeps_CXX"; then
13943 postdeps_CXX="${prev}${p}"
13944 else
13945 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13950 *.$objext)
13951 # This assumes that the test object file only shows up
13952 # once in the compiler output.
13953 if test "$p" = "conftest.$objext"; then
13954 pre_test_object_deps_done=yes
13955 continue
13958 if test "$pre_test_object_deps_done" = no; then
13959 if test -z "$predep_objects_CXX"; then
13960 predep_objects_CXX="$p"
13961 else
13962 predep_objects_CXX="$predep_objects_CXX $p"
13964 else
13965 if test -z "$postdep_objects_CXX"; then
13966 postdep_objects_CXX="$p"
13967 else
13968 postdep_objects_CXX="$postdep_objects_CXX $p"
13973 *) ;; # Ignore the rest.
13975 esac
13976 done
13978 # Clean up.
13979 rm -f a.out a.exe
13980 else
13981 echo "libtool.m4: error: problem compiling CXX test program"
13984 $RM -f confest.$objext
13986 # PORTME: override above test on systems where it is broken
13987 case $host_os in
13988 interix[3-9]*)
13989 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13990 # hack all around it, let's just trust "g++" to DTRT.
13991 predep_objects_CXX=
13992 postdep_objects_CXX=
13993 postdeps_CXX=
13996 linux*)
13997 case `$CC -V 2>&1 | sed 5q` in
13998 *Sun\ C*)
13999 # Sun C++ 5.9
14001 # The more standards-conforming stlport4 library is
14002 # incompatible with the Cstd library. Avoid specifying
14003 # it if it's in CXXFLAGS. Ignore libCrun as
14004 # -library=stlport4 depends on it.
14005 case " $CXX $CXXFLAGS " in
14006 *" -library=stlport4 "*)
14007 solaris_use_stlport4=yes
14009 esac
14011 if test "$solaris_use_stlport4" != yes; then
14012 postdeps_CXX='-library=Cstd -library=Crun'
14015 esac
14018 solaris*)
14019 case $cc_basename in
14020 CC*)
14021 # The more standards-conforming stlport4 library is
14022 # incompatible with the Cstd library. Avoid specifying
14023 # it if it's in CXXFLAGS. Ignore libCrun as
14024 # -library=stlport4 depends on it.
14025 case " $CXX $CXXFLAGS " in
14026 *" -library=stlport4 "*)
14027 solaris_use_stlport4=yes
14029 esac
14031 # Adding this requires a known-good setup of shared libraries for
14032 # Sun compiler versions before 5.6, else PIC objects from an old
14033 # archive will be linked into the output, leading to subtle bugs.
14034 if test "$solaris_use_stlport4" != yes; then
14035 postdeps_CXX='-library=Cstd -library=Crun'
14038 esac
14040 esac
14043 case " $postdeps_CXX " in
14044 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14045 esac
14046 compiler_lib_search_dirs_CXX=
14047 if test -n "${compiler_lib_search_path_CXX}"; then
14048 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14081 lt_prog_compiler_wl_CXX=
14082 lt_prog_compiler_pic_CXX=
14083 lt_prog_compiler_static_CXX=
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14086 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14088 # C++ specific cases for pic, static, wl, etc.
14089 if test "$GXX" = yes; then
14090 lt_prog_compiler_wl_CXX='-Wl,'
14091 lt_prog_compiler_static_CXX='-static'
14093 case $host_os in
14094 aix*)
14095 # All AIX code is PIC.
14096 if test "$host_cpu" = ia64; then
14097 # AIX 5 now supports IA64 processor
14098 lt_prog_compiler_static_CXX='-Bstatic'
14100 lt_prog_compiler_pic_CXX='-fPIC'
14103 amigaos*)
14104 case $host_cpu in
14105 powerpc)
14106 # see comment about AmigaOS4 .so support
14107 lt_prog_compiler_pic_CXX='-fPIC'
14109 m68k)
14110 # FIXME: we need at least 68020 code to build shared libraries, but
14111 # adding the `-m68020' flag to GCC prevents building anything better,
14112 # like `-m68040'.
14113 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14115 esac
14118 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14119 # PIC is the default for these OSes.
14121 mingw* | cygwin* | os2* | pw32* | cegcc*)
14122 # This hack is so that the source file can tell whether it is being
14123 # built for inclusion in a dll (and should export symbols for example).
14124 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14125 # (--disable-auto-import) libraries
14126 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14128 darwin* | rhapsody*)
14129 # PIC is the default on this platform
14130 # Common symbols not allowed in MH_DYLIB files
14131 lt_prog_compiler_pic_CXX='-fno-common'
14133 *djgpp*)
14134 # DJGPP does not support shared libraries at all
14135 lt_prog_compiler_pic_CXX=
14137 haiku*)
14138 # PIC is the default for Haiku.
14139 # The "-static" flag exists, but is broken.
14140 lt_prog_compiler_static_CXX=
14142 interix[3-9]*)
14143 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14144 # Instead, we relocate shared libraries at runtime.
14146 sysv4*MP*)
14147 if test -d /usr/nec; then
14148 lt_prog_compiler_pic_CXX=-Kconform_pic
14151 hpux*)
14152 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14153 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14154 # sets the default TLS model and affects inlining.
14155 case $host_cpu in
14156 hppa*64*)
14159 lt_prog_compiler_pic_CXX='-fPIC'
14161 esac
14163 *qnx* | *nto*)
14164 # QNX uses GNU C++, but need to define -shared option too, otherwise
14165 # it will coredump.
14166 lt_prog_compiler_pic_CXX='-fPIC -shared'
14169 lt_prog_compiler_pic_CXX='-fPIC'
14171 esac
14172 else
14173 case $host_os in
14174 aix[4-9]*)
14175 # All AIX code is PIC.
14176 if test "$host_cpu" = ia64; then
14177 # AIX 5 now supports IA64 processor
14178 lt_prog_compiler_static_CXX='-Bstatic'
14179 else
14180 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14183 chorus*)
14184 case $cc_basename in
14185 cxch68*)
14186 # Green Hills C++ Compiler
14187 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
14189 esac
14191 dgux*)
14192 case $cc_basename in
14193 ec++*)
14194 lt_prog_compiler_pic_CXX='-KPIC'
14196 ghcx*)
14197 # Green Hills C++ Compiler
14198 lt_prog_compiler_pic_CXX='-pic'
14202 esac
14204 freebsd* | dragonfly*)
14205 # FreeBSD uses GNU C++
14207 hpux9* | hpux10* | hpux11*)
14208 case $cc_basename in
14209 CC*)
14210 lt_prog_compiler_wl_CXX='-Wl,'
14211 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14212 if test "$host_cpu" != ia64; then
14213 lt_prog_compiler_pic_CXX='+Z'
14216 aCC*)
14217 lt_prog_compiler_wl_CXX='-Wl,'
14218 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14219 case $host_cpu in
14220 hppa*64*|ia64*)
14221 # +Z the default
14224 lt_prog_compiler_pic_CXX='+Z'
14226 esac
14230 esac
14232 interix*)
14233 # This is c89, which is MS Visual C++ (no shared libs)
14234 # Anyone wants to do a port?
14236 irix5* | irix6* | nonstopux*)
14237 case $cc_basename in
14238 CC*)
14239 lt_prog_compiler_wl_CXX='-Wl,'
14240 lt_prog_compiler_static_CXX='-non_shared'
14241 # CC pic flag -KPIC is the default.
14245 esac
14247 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14248 case $cc_basename in
14249 KCC*)
14250 # KAI C++ Compiler
14251 lt_prog_compiler_wl_CXX='--backend -Wl,'
14252 lt_prog_compiler_pic_CXX='-fPIC'
14254 ecpc* )
14255 # old Intel C++ for x86_64 which still supported -KPIC.
14256 lt_prog_compiler_wl_CXX='-Wl,'
14257 lt_prog_compiler_pic_CXX='-KPIC'
14258 lt_prog_compiler_static_CXX='-static'
14260 icpc* )
14261 # Intel C++, used to be incompatible with GCC.
14262 # ICC 10 doesn't accept -KPIC any more.
14263 lt_prog_compiler_wl_CXX='-Wl,'
14264 lt_prog_compiler_pic_CXX='-fPIC'
14265 lt_prog_compiler_static_CXX='-static'
14267 pgCC* | pgcpp*)
14268 # Portland Group C++ compiler
14269 lt_prog_compiler_wl_CXX='-Wl,'
14270 lt_prog_compiler_pic_CXX='-fpic'
14271 lt_prog_compiler_static_CXX='-Bstatic'
14273 cxx*)
14274 # Compaq C++
14275 # Make sure the PIC flag is empty. It appears that all Alpha
14276 # Linux and Compaq Tru64 Unix objects are PIC.
14277 lt_prog_compiler_pic_CXX=
14278 lt_prog_compiler_static_CXX='-non_shared'
14280 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14281 # IBM XL 8.0, 9.0 on PPC and BlueGene
14282 lt_prog_compiler_wl_CXX='-Wl,'
14283 lt_prog_compiler_pic_CXX='-qpic'
14284 lt_prog_compiler_static_CXX='-qstaticlink'
14287 case `$CC -V 2>&1 | sed 5q` in
14288 *Sun\ C*)
14289 # Sun C++ 5.9
14290 lt_prog_compiler_pic_CXX='-KPIC'
14291 lt_prog_compiler_static_CXX='-Bstatic'
14292 lt_prog_compiler_wl_CXX='-Qoption ld '
14294 esac
14296 esac
14298 lynxos*)
14300 m88k*)
14302 mvs*)
14303 case $cc_basename in
14304 cxx*)
14305 lt_prog_compiler_pic_CXX='-W c,exportall'
14309 esac
14311 netbsd*)
14313 *qnx* | *nto*)
14314 # QNX uses GNU C++, but need to define -shared option too, otherwise
14315 # it will coredump.
14316 lt_prog_compiler_pic_CXX='-fPIC -shared'
14318 osf3* | osf4* | osf5*)
14319 case $cc_basename in
14320 KCC*)
14321 lt_prog_compiler_wl_CXX='--backend -Wl,'
14323 RCC*)
14324 # Rational C++ 2.4.1
14325 lt_prog_compiler_pic_CXX='-pic'
14327 cxx*)
14328 # Digital/Compaq C++
14329 lt_prog_compiler_wl_CXX='-Wl,'
14330 # Make sure the PIC flag is empty. It appears that all Alpha
14331 # Linux and Compaq Tru64 Unix objects are PIC.
14332 lt_prog_compiler_pic_CXX=
14333 lt_prog_compiler_static_CXX='-non_shared'
14337 esac
14339 psos*)
14341 solaris*)
14342 case $cc_basename in
14343 CC*)
14344 # Sun C++ 4.2, 5.x and Centerline C++
14345 lt_prog_compiler_pic_CXX='-KPIC'
14346 lt_prog_compiler_static_CXX='-Bstatic'
14347 lt_prog_compiler_wl_CXX='-Qoption ld '
14349 gcx*)
14350 # Green Hills C++ Compiler
14351 lt_prog_compiler_pic_CXX='-PIC'
14355 esac
14357 sunos4*)
14358 case $cc_basename in
14359 CC*)
14360 # Sun C++ 4.x
14361 lt_prog_compiler_pic_CXX='-pic'
14362 lt_prog_compiler_static_CXX='-Bstatic'
14364 lcc*)
14365 # Lucid
14366 lt_prog_compiler_pic_CXX='-pic'
14370 esac
14372 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14373 case $cc_basename in
14374 CC*)
14375 lt_prog_compiler_wl_CXX='-Wl,'
14376 lt_prog_compiler_pic_CXX='-KPIC'
14377 lt_prog_compiler_static_CXX='-Bstatic'
14379 esac
14381 tandem*)
14382 case $cc_basename in
14383 NCC*)
14384 # NonStop-UX NCC 3.20
14385 lt_prog_compiler_pic_CXX='-KPIC'
14389 esac
14391 vxworks*)
14394 lt_prog_compiler_can_build_shared_CXX=no
14396 esac
14399 case $host_os in
14400 # For platforms which do not support PIC, -DPIC is meaningless:
14401 *djgpp*)
14402 lt_prog_compiler_pic_CXX=
14405 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14407 esac
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14409 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14414 # Check to make sure the PIC flag actually works.
14416 if test -n "$lt_prog_compiler_pic_CXX"; then
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14418 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14419 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14420 $as_echo_n "(cached) " >&6
14421 else
14422 lt_cv_prog_compiler_pic_works_CXX=no
14423 ac_outfile=conftest.$ac_objext
14424 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14425 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14426 # Insert the option either (1) after the last *FLAGS variable, or
14427 # (2) before a word containing "conftest.", or (3) at the end.
14428 # Note that $ac_compile itself does not contain backslashes and begins
14429 # with a dollar sign (not a hyphen), so the echo should work correctly.
14430 # The option is referenced via a variable to avoid confusing sed.
14431 lt_compile=`echo "$ac_compile" | $SED \
14432 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14433 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14434 -e 's:$: $lt_compiler_flag:'`
14435 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14436 (eval "$lt_compile" 2>conftest.err)
14437 ac_status=$?
14438 cat conftest.err >&5
14439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14440 if (exit $ac_status) && test -s "$ac_outfile"; then
14441 # The compiler can only warn and ignore the option if not recognized
14442 # So say no if there are warnings other than the usual output.
14443 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14444 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14445 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14446 lt_cv_prog_compiler_pic_works_CXX=yes
14449 $RM conftest*
14452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14453 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14455 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14456 case $lt_prog_compiler_pic_CXX in
14457 "" | " "*) ;;
14458 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14459 esac
14460 else
14461 lt_prog_compiler_pic_CXX=
14462 lt_prog_compiler_can_build_shared_CXX=no
14470 # Check to make sure the static flag actually works.
14472 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14474 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14475 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14476 $as_echo_n "(cached) " >&6
14477 else
14478 lt_cv_prog_compiler_static_works_CXX=no
14479 save_LDFLAGS="$LDFLAGS"
14480 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14481 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14482 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14483 # The linker can only warn and ignore the option if not recognized
14484 # So say no if there are warnings
14485 if test -s conftest.err; then
14486 # Append any errors to the config.log.
14487 cat conftest.err 1>&5
14488 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14489 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14490 if diff conftest.exp conftest.er2 >/dev/null; then
14491 lt_cv_prog_compiler_static_works_CXX=yes
14493 else
14494 lt_cv_prog_compiler_static_works_CXX=yes
14497 $RM -r conftest*
14498 LDFLAGS="$save_LDFLAGS"
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14502 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14504 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14506 else
14507 lt_prog_compiler_static_CXX=
14513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14514 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14515 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14516 $as_echo_n "(cached) " >&6
14517 else
14518 lt_cv_prog_compiler_c_o_CXX=no
14519 $RM -r conftest 2>/dev/null
14520 mkdir conftest
14521 cd conftest
14522 mkdir out
14523 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14525 lt_compiler_flag="-o out/conftest2.$ac_objext"
14526 # Insert the option either (1) after the last *FLAGS variable, or
14527 # (2) before a word containing "conftest.", or (3) at the end.
14528 # Note that $ac_compile itself does not contain backslashes and begins
14529 # with a dollar sign (not a hyphen), so the echo should work correctly.
14530 lt_compile=`echo "$ac_compile" | $SED \
14531 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14532 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14533 -e 's:$: $lt_compiler_flag:'`
14534 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14535 (eval "$lt_compile" 2>out/conftest.err)
14536 ac_status=$?
14537 cat out/conftest.err >&5
14538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14539 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14540 then
14541 # The compiler can only warn and ignore the option if not recognized
14542 # So say no if there are warnings
14543 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14544 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14545 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14546 lt_cv_prog_compiler_c_o_CXX=yes
14549 chmod u+w . 2>&5
14550 $RM conftest*
14551 # SGI C++ compiler will create directory out/ii_files/ for
14552 # template instantiation
14553 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14554 $RM out/* && rmdir out
14555 cd ..
14556 $RM -r conftest
14557 $RM conftest*
14560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14561 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14566 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14567 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14568 $as_echo_n "(cached) " >&6
14569 else
14570 lt_cv_prog_compiler_c_o_CXX=no
14571 $RM -r conftest 2>/dev/null
14572 mkdir conftest
14573 cd conftest
14574 mkdir out
14575 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14577 lt_compiler_flag="-o out/conftest2.$ac_objext"
14578 # Insert the option either (1) after the last *FLAGS variable, or
14579 # (2) before a word containing "conftest.", or (3) at the end.
14580 # Note that $ac_compile itself does not contain backslashes and begins
14581 # with a dollar sign (not a hyphen), so the echo should work correctly.
14582 lt_compile=`echo "$ac_compile" | $SED \
14583 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14584 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14585 -e 's:$: $lt_compiler_flag:'`
14586 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14587 (eval "$lt_compile" 2>out/conftest.err)
14588 ac_status=$?
14589 cat out/conftest.err >&5
14590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14591 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14592 then
14593 # The compiler can only warn and ignore the option if not recognized
14594 # So say no if there are warnings
14595 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14596 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14597 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14598 lt_cv_prog_compiler_c_o_CXX=yes
14601 chmod u+w . 2>&5
14602 $RM conftest*
14603 # SGI C++ compiler will create directory out/ii_files/ for
14604 # template instantiation
14605 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14606 $RM out/* && rmdir out
14607 cd ..
14608 $RM -r conftest
14609 $RM conftest*
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14613 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14618 hard_links="nottested"
14619 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14620 # do not overwrite the value of need_locks provided by the user
14621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14622 $as_echo_n "checking if we can lock with hard links... " >&6; }
14623 hard_links=yes
14624 $RM conftest*
14625 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14626 touch conftest.a
14627 ln conftest.a conftest.b 2>&5 || hard_links=no
14628 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14630 $as_echo "$hard_links" >&6; }
14631 if test "$hard_links" = no; then
14632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14633 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14634 need_locks=warn
14636 else
14637 need_locks=no
14642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14643 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14645 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14646 case $host_os in
14647 aix[4-9]*)
14648 # If we're using GNU nm, then we don't want the "-C" option.
14649 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14650 # Also, AIX nm treats weak defined symbols like other global defined
14651 # symbols, whereas GNU nm marks them as "W".
14652 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14653 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14654 else
14655 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14658 pw32*)
14659 export_symbols_cmds_CXX="$ltdll_cmds"
14661 cygwin* | mingw* | cegcc*)
14662 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14665 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14667 esac
14668 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14671 $as_echo "$ld_shlibs_CXX" >&6; }
14672 test "$ld_shlibs_CXX" = no && can_build_shared=no
14674 with_gnu_ld_CXX=$with_gnu_ld
14682 # Do we need to explicitly link libc?
14684 case "x$archive_cmds_need_lc_CXX" in
14685 x|xyes)
14686 # Assume -lc should be added
14687 archive_cmds_need_lc_CXX=yes
14689 if test "$enable_shared" = yes && test "$GCC" = yes; then
14690 case $archive_cmds_CXX in
14691 *'~'*)
14692 # FIXME: we may have to deal with multi-command sequences.
14694 '$CC '*)
14695 # Test whether the compiler implicitly links with -lc since on some
14696 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14697 # to ld, don't add -lc before -lgcc.
14698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14699 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14700 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14701 $as_echo_n "(cached) " >&6
14702 else
14703 $RM conftest*
14704 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14706 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14707 (eval $ac_compile) 2>&5
14708 ac_status=$?
14709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14710 test $ac_status = 0; } 2>conftest.err; then
14711 soname=conftest
14712 lib=conftest
14713 libobjs=conftest.$ac_objext
14714 deplibs=
14715 wl=$lt_prog_compiler_wl_CXX
14716 pic_flag=$lt_prog_compiler_pic_CXX
14717 compiler_flags=-v
14718 linker_flags=-v
14719 verstring=
14720 output_objdir=.
14721 libname=conftest
14722 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14723 allow_undefined_flag_CXX=
14724 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14725 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14726 ac_status=$?
14727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14728 test $ac_status = 0; }
14729 then
14730 lt_cv_archive_cmds_need_lc_CXX=no
14731 else
14732 lt_cv_archive_cmds_need_lc_CXX=yes
14734 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14735 else
14736 cat conftest.err 1>&5
14738 $RM conftest*
14741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14742 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14743 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14745 esac
14748 esac
14813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14814 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14816 library_names_spec=
14817 libname_spec='lib$name'
14818 soname_spec=
14819 shrext_cmds=".so"
14820 postinstall_cmds=
14821 postuninstall_cmds=
14822 finish_cmds=
14823 finish_eval=
14824 shlibpath_var=
14825 shlibpath_overrides_runpath=unknown
14826 version_type=none
14827 dynamic_linker="$host_os ld.so"
14828 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14829 need_lib_prefix=unknown
14830 hardcode_into_libs=no
14832 # when you set need_version to no, make sure it does not cause -set_version
14833 # flags to be left without arguments
14834 need_version=unknown
14836 case $host_os in
14837 aix3*)
14838 version_type=linux
14839 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14840 shlibpath_var=LIBPATH
14842 # AIX 3 has no versioning support, so we append a major version to the name.
14843 soname_spec='${libname}${release}${shared_ext}$major'
14846 aix[4-9]*)
14847 version_type=linux
14848 need_lib_prefix=no
14849 need_version=no
14850 hardcode_into_libs=yes
14851 if test "$host_cpu" = ia64; then
14852 # AIX 5 supports IA64
14853 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14854 shlibpath_var=LD_LIBRARY_PATH
14855 else
14856 # With GCC up to 2.95.x, collect2 would create an import file
14857 # for dependence libraries. The import file would start with
14858 # the line `#! .'. This would cause the generated library to
14859 # depend on `.', always an invalid library. This was fixed in
14860 # development snapshots of GCC prior to 3.0.
14861 case $host_os in
14862 aix4 | aix4.[01] | aix4.[01].*)
14863 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14864 echo ' yes '
14865 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14867 else
14868 can_build_shared=no
14871 esac
14872 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14873 # soname into executable. Probably we can add versioning support to
14874 # collect2, so additional links can be useful in future.
14875 if test "$aix_use_runtimelinking" = yes; then
14876 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14877 # instead of lib<name>.a to let people know that these are not
14878 # typical AIX shared libraries.
14879 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14880 else
14881 # We preserve .a as extension for shared libraries through AIX4.2
14882 # and later when we are not doing run time linking.
14883 library_names_spec='${libname}${release}.a $libname.a'
14884 soname_spec='${libname}${release}${shared_ext}$major'
14886 shlibpath_var=LIBPATH
14890 amigaos*)
14891 case $host_cpu in
14892 powerpc)
14893 # Since July 2007 AmigaOS4 officially supports .so libraries.
14894 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14895 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14897 m68k)
14898 library_names_spec='$libname.ixlibrary $libname.a'
14899 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14900 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14902 esac
14905 beos*)
14906 library_names_spec='${libname}${shared_ext}'
14907 dynamic_linker="$host_os ld.so"
14908 shlibpath_var=LIBRARY_PATH
14911 bsdi[45]*)
14912 version_type=linux
14913 need_version=no
14914 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14915 soname_spec='${libname}${release}${shared_ext}$major'
14916 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14917 shlibpath_var=LD_LIBRARY_PATH
14918 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14919 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14920 # the default ld.so.conf also contains /usr/contrib/lib and
14921 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14922 # libtool to hard-code these into programs
14925 cygwin* | mingw* | pw32* | cegcc*)
14926 version_type=windows
14927 shrext_cmds=".dll"
14928 need_version=no
14929 need_lib_prefix=no
14931 case $GCC,$host_os in
14932 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14933 library_names_spec='$libname.dll.a'
14934 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14935 postinstall_cmds='base_file=`basename \${file}`~
14936 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14937 dldir=$destdir/`dirname \$dlpath`~
14938 test -d \$dldir || mkdir -p \$dldir~
14939 $install_prog $dir/$dlname \$dldir/$dlname~
14940 chmod a+x \$dldir/$dlname~
14941 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14942 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14944 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14945 dlpath=$dir/\$dldll~
14946 $RM \$dlpath'
14947 shlibpath_overrides_runpath=yes
14949 case $host_os in
14950 cygwin*)
14951 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14952 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14955 mingw* | cegcc*)
14956 # MinGW DLLs use traditional 'lib' prefix
14957 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14959 pw32*)
14960 # pw32 DLLs use 'pw' prefix rather than 'lib'
14961 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14963 esac
14967 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14969 esac
14970 dynamic_linker='Win32 ld.exe'
14971 # FIXME: first we should search . and the directory the executable is in
14972 shlibpath_var=PATH
14975 darwin* | rhapsody*)
14976 dynamic_linker="$host_os dyld"
14977 version_type=darwin
14978 need_lib_prefix=no
14979 need_version=no
14980 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14981 soname_spec='${libname}${release}${major}$shared_ext'
14982 shlibpath_overrides_runpath=yes
14983 shlibpath_var=DYLD_LIBRARY_PATH
14984 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14986 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14989 dgux*)
14990 version_type=linux
14991 need_lib_prefix=no
14992 need_version=no
14993 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14994 soname_spec='${libname}${release}${shared_ext}$major'
14995 shlibpath_var=LD_LIBRARY_PATH
14998 freebsd* | dragonfly*)
14999 # DragonFly does not have aout. When/if they implement a new
15000 # versioning mechanism, adjust this.
15001 if test -x /usr/bin/objformat; then
15002 objformat=`/usr/bin/objformat`
15003 else
15004 case $host_os in
15005 freebsd[23].*) objformat=aout ;;
15006 *) objformat=elf ;;
15007 esac
15009 version_type=freebsd-$objformat
15010 case $version_type in
15011 freebsd-elf*)
15012 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15013 need_version=no
15014 need_lib_prefix=no
15016 freebsd-*)
15017 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15018 need_version=yes
15020 esac
15021 shlibpath_var=LD_LIBRARY_PATH
15022 case $host_os in
15023 freebsd2.*)
15024 shlibpath_overrides_runpath=yes
15026 freebsd3.[01]* | freebsdelf3.[01]*)
15027 shlibpath_overrides_runpath=yes
15028 hardcode_into_libs=yes
15030 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15031 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15032 shlibpath_overrides_runpath=no
15033 hardcode_into_libs=yes
15035 *) # from 4.6 on, and DragonFly
15036 shlibpath_overrides_runpath=yes
15037 hardcode_into_libs=yes
15039 esac
15042 haiku*)
15043 version_type=linux
15044 need_lib_prefix=no
15045 need_version=no
15046 dynamic_linker="$host_os runtime_loader"
15047 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15048 soname_spec='${libname}${release}${shared_ext}$major'
15049 shlibpath_var=LIBRARY_PATH
15050 shlibpath_overrides_runpath=yes
15051 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15052 hardcode_into_libs=yes
15055 hpux9* | hpux10* | hpux11*)
15056 # Give a soname corresponding to the major version so that dld.sl refuses to
15057 # link against other versions.
15058 version_type=sunos
15059 need_lib_prefix=no
15060 need_version=no
15061 case $host_cpu in
15062 ia64*)
15063 shrext_cmds='.so'
15064 hardcode_into_libs=yes
15065 dynamic_linker="$host_os dld.so"
15066 shlibpath_var=LD_LIBRARY_PATH
15067 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15068 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15069 soname_spec='${libname}${release}${shared_ext}$major'
15070 if test "X$HPUX_IA64_MODE" = X32; then
15071 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15072 else
15073 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15075 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15077 hppa*64*)
15078 shrext_cmds='.sl'
15079 hardcode_into_libs=yes
15080 dynamic_linker="$host_os dld.sl"
15081 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15082 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15083 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15084 soname_spec='${libname}${release}${shared_ext}$major'
15085 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15086 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15089 shrext_cmds='.sl'
15090 dynamic_linker="$host_os dld.sl"
15091 shlibpath_var=SHLIB_PATH
15092 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15093 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15094 soname_spec='${libname}${release}${shared_ext}$major'
15096 esac
15097 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15098 postinstall_cmds='chmod 555 $lib'
15099 # or fails outright, so override atomically:
15100 install_override_mode=555
15103 interix[3-9]*)
15104 version_type=linux
15105 need_lib_prefix=no
15106 need_version=no
15107 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15108 soname_spec='${libname}${release}${shared_ext}$major'
15109 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15110 shlibpath_var=LD_LIBRARY_PATH
15111 shlibpath_overrides_runpath=no
15112 hardcode_into_libs=yes
15115 irix5* | irix6* | nonstopux*)
15116 case $host_os in
15117 nonstopux*) version_type=nonstopux ;;
15119 if test "$lt_cv_prog_gnu_ld" = yes; then
15120 version_type=linux
15121 else
15122 version_type=irix
15123 fi ;;
15124 esac
15125 need_lib_prefix=no
15126 need_version=no
15127 soname_spec='${libname}${release}${shared_ext}$major'
15128 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15129 case $host_os in
15130 irix5* | nonstopux*)
15131 libsuff= shlibsuff=
15134 case $LD in # libtool.m4 will add one of these switches to LD
15135 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15136 libsuff= shlibsuff= libmagic=32-bit;;
15137 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15138 libsuff=32 shlibsuff=N32 libmagic=N32;;
15139 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15140 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15141 *) libsuff= shlibsuff= libmagic=never-match;;
15142 esac
15144 esac
15145 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15146 shlibpath_overrides_runpath=no
15147 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15148 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15149 hardcode_into_libs=yes
15152 # No shared lib support for Linux oldld, aout, or coff.
15153 linux*oldld* | linux*aout* | linux*coff*)
15154 dynamic_linker=no
15157 # This must be Linux ELF.
15159 # uclinux* changes (here and below) have been submitted to the libtool
15160 # project, but have not yet been accepted: they are GCC-local changes
15161 # for the time being. (See
15162 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15163 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
15164 version_type=linux
15165 need_lib_prefix=no
15166 need_version=no
15167 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15168 soname_spec='${libname}${release}${shared_ext}$major'
15169 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15170 shlibpath_var=LD_LIBRARY_PATH
15171 shlibpath_overrides_runpath=no
15173 # Some binutils ld are patched to set DT_RUNPATH
15174 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15175 $as_echo_n "(cached) " >&6
15176 else
15177 lt_cv_shlibpath_overrides_runpath=no
15178 save_LDFLAGS=$LDFLAGS
15179 save_libdir=$libdir
15180 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15181 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15182 if test x$gcc_no_link = xyes; then
15183 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15186 /* end confdefs.h. */
15189 main ()
15193 return 0;
15195 _ACEOF
15196 if ac_fn_cxx_try_link "$LINENO"; then :
15197 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15198 lt_cv_shlibpath_overrides_runpath=yes
15201 rm -f core conftest.err conftest.$ac_objext \
15202 conftest$ac_exeext conftest.$ac_ext
15203 LDFLAGS=$save_LDFLAGS
15204 libdir=$save_libdir
15208 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15210 # This implies no fast_install, which is unacceptable.
15211 # Some rework will be needed to allow for fast_install
15212 # before this can be enabled.
15213 hardcode_into_libs=yes
15215 # Append ld.so.conf contents to the search path
15216 if test -f /etc/ld.so.conf; then
15217 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
15218 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15221 # We used to test for /lib/ld.so.1 and disable shared libraries on
15222 # powerpc, because MkLinux only supported shared libraries with the
15223 # GNU dynamic linker. Since this was broken with cross compilers,
15224 # most powerpc-linux boxes support dynamic linking these days and
15225 # people can always --disable-shared, the test was removed, and we
15226 # assume the GNU/Linux dynamic linker is in use.
15227 dynamic_linker='GNU/Linux ld.so'
15230 netbsd*)
15231 version_type=sunos
15232 need_lib_prefix=no
15233 need_version=no
15234 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15235 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15236 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15237 dynamic_linker='NetBSD (a.out) ld.so'
15238 else
15239 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15240 soname_spec='${libname}${release}${shared_ext}$major'
15241 dynamic_linker='NetBSD ld.elf_so'
15243 shlibpath_var=LD_LIBRARY_PATH
15244 shlibpath_overrides_runpath=yes
15245 hardcode_into_libs=yes
15248 newsos6)
15249 version_type=linux
15250 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15251 shlibpath_var=LD_LIBRARY_PATH
15252 shlibpath_overrides_runpath=yes
15255 *nto* | *qnx*)
15256 version_type=qnx
15257 need_lib_prefix=no
15258 need_version=no
15259 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15260 soname_spec='${libname}${release}${shared_ext}$major'
15261 shlibpath_var=LD_LIBRARY_PATH
15262 shlibpath_overrides_runpath=no
15263 hardcode_into_libs=yes
15264 dynamic_linker='ldqnx.so'
15267 openbsd*)
15268 version_type=sunos
15269 sys_lib_dlsearch_path_spec="/usr/lib"
15270 need_lib_prefix=no
15271 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15272 case $host_os in
15273 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15274 *) need_version=no ;;
15275 esac
15276 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15277 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15278 shlibpath_var=LD_LIBRARY_PATH
15279 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15280 case $host_os in
15281 openbsd2.[89] | openbsd2.[89].*)
15282 shlibpath_overrides_runpath=no
15285 shlibpath_overrides_runpath=yes
15287 esac
15288 else
15289 shlibpath_overrides_runpath=yes
15293 os2*)
15294 libname_spec='$name'
15295 shrext_cmds=".dll"
15296 need_lib_prefix=no
15297 library_names_spec='$libname${shared_ext} $libname.a'
15298 dynamic_linker='OS/2 ld.exe'
15299 shlibpath_var=LIBPATH
15302 osf3* | osf4* | osf5*)
15303 version_type=osf
15304 need_lib_prefix=no
15305 need_version=no
15306 soname_spec='${libname}${release}${shared_ext}$major'
15307 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15308 shlibpath_var=LD_LIBRARY_PATH
15309 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15310 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15313 rdos*)
15314 dynamic_linker=no
15317 solaris*)
15318 version_type=linux
15319 need_lib_prefix=no
15320 need_version=no
15321 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15322 soname_spec='${libname}${release}${shared_ext}$major'
15323 shlibpath_var=LD_LIBRARY_PATH
15324 shlibpath_overrides_runpath=yes
15325 hardcode_into_libs=yes
15326 # ldd complains unless libraries are executable
15327 postinstall_cmds='chmod +x $lib'
15330 sunos4*)
15331 version_type=sunos
15332 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15333 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15334 shlibpath_var=LD_LIBRARY_PATH
15335 shlibpath_overrides_runpath=yes
15336 if test "$with_gnu_ld" = yes; then
15337 need_lib_prefix=no
15339 need_version=yes
15342 sysv4 | sysv4.3*)
15343 version_type=linux
15344 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15345 soname_spec='${libname}${release}${shared_ext}$major'
15346 shlibpath_var=LD_LIBRARY_PATH
15347 case $host_vendor in
15348 sni)
15349 shlibpath_overrides_runpath=no
15350 need_lib_prefix=no
15351 runpath_var=LD_RUN_PATH
15353 siemens)
15354 need_lib_prefix=no
15356 motorola)
15357 need_lib_prefix=no
15358 need_version=no
15359 shlibpath_overrides_runpath=no
15360 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15362 esac
15365 sysv4*MP*)
15366 if test -d /usr/nec ;then
15367 version_type=linux
15368 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15369 soname_spec='$libname${shared_ext}.$major'
15370 shlibpath_var=LD_LIBRARY_PATH
15374 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15375 version_type=freebsd-elf
15376 need_lib_prefix=no
15377 need_version=no
15378 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15379 soname_spec='${libname}${release}${shared_ext}$major'
15380 shlibpath_var=LD_LIBRARY_PATH
15381 shlibpath_overrides_runpath=yes
15382 hardcode_into_libs=yes
15383 if test "$with_gnu_ld" = yes; then
15384 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15385 else
15386 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15387 case $host_os in
15388 sco3.2v5*)
15389 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15391 esac
15393 sys_lib_dlsearch_path_spec='/usr/lib'
15396 tpf*)
15397 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15398 version_type=linux
15399 need_lib_prefix=no
15400 need_version=no
15401 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15402 shlibpath_var=LD_LIBRARY_PATH
15403 shlibpath_overrides_runpath=no
15404 hardcode_into_libs=yes
15407 uts4*)
15408 version_type=linux
15409 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15410 soname_spec='${libname}${release}${shared_ext}$major'
15411 shlibpath_var=LD_LIBRARY_PATH
15414 # Shared libraries for VwWorks, >= 7 only at this stage
15415 # and (fpic) still incompatible with "large" code models
15416 # in a few configurations. Only for RTP mode in any case,
15417 # and upon explicit request at configure time.
15418 vxworks7*)
15419 dynamic_linker=no
15420 case ${with_multisubdir}-${enable_shared} in
15421 *large*)
15423 *mrtp*-yes)
15424 version_type=linux
15425 need_lib_prefix=no
15426 need_version=no
15427 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15428 soname_spec='${libname}${release}${shared_ext}$major'
15429 dynamic_linker="$host_os module_loader"
15431 esac
15434 dynamic_linker=no
15436 esac
15437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15438 $as_echo "$dynamic_linker" >&6; }
15439 test "$dynamic_linker" = no && can_build_shared=no
15441 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15442 if test "$GCC" = yes; then
15443 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15446 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15447 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15449 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15450 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15491 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15492 hardcode_action_CXX=
15493 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15494 test -n "$runpath_var_CXX" ||
15495 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15497 # We can hardcode non-existent directories.
15498 if test "$hardcode_direct_CXX" != no &&
15499 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15500 # have to relink, otherwise we might link with an installed library
15501 # when we should be linking with a yet-to-be-installed one
15502 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15503 test "$hardcode_minus_L_CXX" != no; then
15504 # Linking always hardcodes the temporary library directory.
15505 hardcode_action_CXX=relink
15506 else
15507 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15508 hardcode_action_CXX=immediate
15510 else
15511 # We cannot hardcode anything, or else we can only hardcode existing
15512 # directories.
15513 hardcode_action_CXX=unsupported
15515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15516 $as_echo "$hardcode_action_CXX" >&6; }
15518 if test "$hardcode_action_CXX" = relink ||
15519 test "$inherit_rpath_CXX" = yes; then
15520 # Fast installation is not supported
15521 enable_fast_install=no
15522 elif test "$shlibpath_overrides_runpath" = yes ||
15523 test "$enable_shared" = no; then
15524 # Fast installation is not necessary
15525 enable_fast_install=needless
15534 fi # test -n "$compiler"
15536 CC=$lt_save_CC
15537 LDCXX=$LD
15538 LD=$lt_save_LD
15539 GCC=$lt_save_GCC
15540 with_gnu_ld=$lt_save_with_gnu_ld
15541 lt_cv_path_LDCXX=$lt_cv_path_LD
15542 lt_cv_path_LD=$lt_save_path_LD
15543 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15544 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15545 fi # test "$_lt_caught_CXX_error" != yes
15547 ac_ext=c
15548 ac_cpp='$CPP $CPPFLAGS'
15549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15565 ac_config_commands="$ac_config_commands libtool"
15570 # Only expand once:
15576 case $host in
15577 *-cygwin* | *-mingw*)
15578 # 'host' will be top-level target in the case of a target lib,
15579 # we must compare to with_cross_host to decide if this is a native
15580 # or cross-compiler and select where to install dlls appropriately.
15581 if test -n "$with_cross_host" &&
15582 test x"$with_cross_host" != x"no"; then
15583 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
15584 else
15585 lt_host_flags='-no-undefined -bindir "$(bindir)"';
15589 lt_host_flags=
15591 esac
15598 if test "$enable_vtable_verify" = yes; then
15599 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15600 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15604 # libtool variables for C++ shared and position-independent compiles.
15606 # Use glibcxx_lt_pic_flag to designate the automake variable
15607 # used to encapsulate the default libtool approach to creating objects
15608 # with position-independent code. Default: -prefer-pic.
15610 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15611 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15613 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15614 # creating position-independent objects. This varies with the target
15615 # hardware and operating system, but is often: -DPIC -fPIC.
15616 if test "$enable_shared" = yes; then
15617 glibcxx_lt_pic_flag="-prefer-pic"
15618 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15619 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15621 else
15622 glibcxx_lt_pic_flag=
15623 glibcxx_compiler_pic_flag=
15624 glibcxx_compiler_shared_flag=
15630 # Override the libtool's pic_flag and pic_mode.
15631 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15632 # NB: this impacts --with-pic and --without-pic.
15633 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15634 pic_mode='default'
15636 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15637 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15639 # Possibly disable most of the library.
15640 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15641 ## than just ignoring the results. Faster /and/ more correct, win win.
15643 # Check whether --enable-hosted-libstdcxx was given.
15644 if test "${enable_hosted_libstdcxx+set}" = set; then :
15645 enableval=$enable_hosted_libstdcxx; enable_hosted_libstdcxx_was_given=yes
15646 else
15647 case "$host" in
15648 arm*-*-symbianelf*)
15649 enable_hosted_libstdcxx=no
15652 case "${with_newlib}-${with_headers}" in
15653 no-no) enable_hosted_libstdcxx=no ;;
15654 *) enable_hosted_libstdcxx=yes ;;
15655 esac
15657 esac
15661 # Because most configure args are --enable-libstdcxx-foo add an alias
15662 # of that form for --enable-hosted-libstdcxx.
15663 # Check whether --enable-libstdcxx-hosted was given.
15664 if test "${enable_libstdcxx_hosted+set}" = set; then :
15665 enableval=$enable_libstdcxx_hosted; if test "$enable_hosted_libstdcxx_was_given" = yes; then
15666 if test "$enable_hosted_libstdcxx" != "$enableval"; then
15667 as_fn_error $? "--enable-libstdcxx-hosted=$enableval conflicts with --enable-hosted-libstdcxx=$enable_hosted_libstdcxx" "$LINENO" 5
15669 else
15670 enable_hosted_libstdcxx=${enableval}
15676 freestanding_flags=
15677 if test "$enable_hosted_libstdcxx" = no; then
15678 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15679 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15680 is_hosted=no
15681 hosted_define=0
15682 enable_abi_check=no
15683 enable_libstdcxx_pch=no
15684 if test "x$with_headers" = xno; then
15685 freestanding_flags="-ffreestanding"
15687 else
15688 is_hosted=yes
15689 hosted_define=__STDC_HOSTED__
15693 cat >>confdefs.h <<_ACEOF
15694 #define _GLIBCXX_HOSTED $hosted_define
15695 _ACEOF
15697 FREESTANDING_FLAGS="$freestanding_flags"
15701 # Enable descriptive messages to standard output on termination.
15703 # Check whether --enable-libstdcxx-verbose was given.
15704 if test "${enable_libstdcxx_verbose+set}" = set; then :
15705 enableval=$enable_libstdcxx_verbose;
15706 else
15707 enable_libstdcxx_verbose=yes
15710 if test x"$enable_libstdcxx_verbose" = xyes; then
15711 verbose_define=1
15712 else
15713 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15714 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15715 verbose_define=0
15718 cat >>confdefs.h <<_ACEOF
15719 #define _GLIBCXX_VERBOSE $verbose_define
15720 _ACEOF
15724 # Enable compiler support that doesn't require linking.
15726 # Check whether --enable-libstdcxx-pch was given.
15727 if test "${enable_libstdcxx_pch+set}" = set; then :
15728 enableval=$enable_libstdcxx_pch;
15729 case "$enableval" in
15730 yes|no) ;;
15731 *) as_fn_error $? "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15732 esac
15734 else
15735 enable_libstdcxx_pch=$is_hosted
15739 if test $enable_libstdcxx_pch = yes; then
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15741 $as_echo_n "checking for compiler with PCH support... " >&6; }
15742 if ${glibcxx_cv_prog_CXX_pch+:} false; then :
15743 $as_echo_n "(cached) " >&6
15744 else
15745 ac_save_CXXFLAGS="$CXXFLAGS"
15746 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15748 ac_ext=cpp
15749 ac_cpp='$CXXCPP $CPPFLAGS'
15750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15754 echo '#include <math.h>' > conftest.h
15755 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15756 -o conftest.h.gch 1>&5 2>&1 &&
15757 echo '#error "pch failed"' > conftest.h &&
15758 echo '#include "conftest.h"' > conftest.cc &&
15759 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15760 then
15761 glibcxx_cv_prog_CXX_pch=yes
15762 else
15763 glibcxx_cv_prog_CXX_pch=no
15765 rm -f conftest*
15766 CXXFLAGS=$ac_save_CXXFLAGS
15767 ac_ext=c
15768 ac_cpp='$CPP $CPPFLAGS'
15769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15776 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15777 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15781 $as_echo_n "checking for enabled PCH... " >&6; }
15782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15783 $as_echo "$enable_libstdcxx_pch" >&6; }
15786 if test $enable_libstdcxx_pch = yes; then
15787 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15788 else
15789 glibcxx_PCHFLAGS=""
15794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15795 $as_echo_n "checking for thread model used by GCC... " >&6; }
15796 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15798 $as_echo "$target_thread_file" >&6; }
15800 case $target_thread_file in
15801 aix) thread_header=config/rs6000/gthr-aix.h ;;
15802 dce) thread_header=config/pa/gthr-dce.h ;;
15803 gcn) thread_header=config/gcn/gthr-gcn.h ;;
15804 lynx) thread_header=config/gthr-lynx.h ;;
15805 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15806 posix) thread_header=gthr-posix.h ;;
15807 rtems) thread_header=config/gthr-rtems.h ;;
15808 single) thread_header=gthr-single.h ;;
15809 tpf) thread_header=config/s390/gthr-tpf.h ;;
15810 vxworks) thread_header=config/gthr-vxworks.h ;;
15811 win32) thread_header=config/i386/gthr-win32.h ;;
15812 mcf) thread_header=config/i386/gthr-mcf.h ;;
15813 esac
15819 ac_ext=cpp
15820 ac_cpp='$CXXCPP $CPPFLAGS'
15821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15825 old_CXXFLAGS="$CXXFLAGS"
15827 # Do link tests if possible, instead asm tests, limited to some platforms
15828 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15829 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15830 atomic_builtins_link_tests=no
15831 if test x$gcc_no_link != xyes; then
15832 # Can do link tests. Limit to some tested platforms
15833 case "$host" in
15834 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15835 atomic_builtins_link_tests=yes
15837 esac
15840 if test x$atomic_builtins_link_tests = xyes; then
15842 # Do link tests.
15844 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15847 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15848 if ${glibcxx_cv_atomic_bool+:} false; then :
15849 $as_echo_n "(cached) " >&6
15850 else
15852 if test x$gcc_no_link = xyes; then
15853 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15856 /* end confdefs.h. */
15859 main ()
15861 typedef bool atomic_type;
15862 atomic_type c1;
15863 atomic_type c2;
15864 atomic_type c3(0);
15865 // N.B. __atomic_fetch_add is not supported for bool.
15866 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15867 __ATOMIC_RELAXED);
15868 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15869 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15872 return 0;
15874 _ACEOF
15875 if ac_fn_cxx_try_link "$LINENO"; then :
15876 glibcxx_cv_atomic_bool=yes
15877 else
15878 glibcxx_cv_atomic_bool=no
15880 rm -f core conftest.err conftest.$ac_objext \
15881 conftest$ac_exeext conftest.$ac_ext
15884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15885 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15888 $as_echo_n "checking for atomic builtins for short... " >&6; }
15889 if ${glibcxx_cv_atomic_short+:} false; then :
15890 $as_echo_n "(cached) " >&6
15891 else
15893 if test x$gcc_no_link = xyes; then
15894 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15897 /* end confdefs.h. */
15900 main ()
15902 typedef short atomic_type;
15903 atomic_type c1;
15904 atomic_type c2;
15905 atomic_type c3(0);
15906 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15907 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15908 __ATOMIC_RELAXED);
15909 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15910 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15913 return 0;
15915 _ACEOF
15916 if ac_fn_cxx_try_link "$LINENO"; then :
15917 glibcxx_cv_atomic_short=yes
15918 else
15919 glibcxx_cv_atomic_short=no
15921 rm -f core conftest.err conftest.$ac_objext \
15922 conftest$ac_exeext conftest.$ac_ext
15925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15926 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15929 $as_echo_n "checking for atomic builtins for int... " >&6; }
15930 if ${glibcxx_cv_atomic_int+:} false; then :
15931 $as_echo_n "(cached) " >&6
15932 else
15934 if test x$gcc_no_link = xyes; then
15935 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15938 /* end confdefs.h. */
15941 main ()
15943 typedef int atomic_type;
15944 atomic_type c1;
15945 atomic_type c2;
15946 atomic_type c3(0);
15947 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15948 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15949 __ATOMIC_RELAXED);
15950 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15951 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15954 return 0;
15956 _ACEOF
15957 if ac_fn_cxx_try_link "$LINENO"; then :
15958 glibcxx_cv_atomic_int=yes
15959 else
15960 glibcxx_cv_atomic_int=no
15962 rm -f core conftest.err conftest.$ac_objext \
15963 conftest$ac_exeext conftest.$ac_ext
15966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15967 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15970 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15971 if ${glibcxx_cv_atomic_long_long+:} false; then :
15972 $as_echo_n "(cached) " >&6
15973 else
15975 if test x$gcc_no_link = xyes; then
15976 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15979 /* end confdefs.h. */
15982 main ()
15984 typedef long long atomic_type;
15985 atomic_type c1;
15986 atomic_type c2;
15987 atomic_type c3(0);
15988 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15989 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15990 __ATOMIC_RELAXED);
15991 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15992 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15995 return 0;
15997 _ACEOF
15998 if ac_fn_cxx_try_link "$LINENO"; then :
15999 glibcxx_cv_atomic_long_long=yes
16000 else
16001 glibcxx_cv_atomic_long_long=no
16003 rm -f core conftest.err conftest.$ac_objext \
16004 conftest$ac_exeext conftest.$ac_ext
16007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
16008 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
16010 else
16012 # Do asm tests.
16014 # Compile unoptimized.
16015 CXXFLAGS='-O0 -S'
16017 # Fake what AC_TRY_COMPILE does.
16019 cat > conftest.$ac_ext << EOF
16020 #line 16020 "configure"
16021 int main()
16023 typedef bool atomic_type;
16024 atomic_type c1;
16025 atomic_type c2;
16026 atomic_type c3(0);
16027 // N.B. __atomic_fetch_add is not supported for bool.
16028 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16029 __ATOMIC_RELAXED);
16030 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16031 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16033 return 0;
16037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
16038 $as_echo_n "checking for atomic builtins for bool... " >&6; }
16039 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16040 (eval $ac_compile) 2>&5
16041 ac_status=$?
16042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16043 test $ac_status = 0; }; then
16044 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16045 glibcxx_cv_atomic_bool=no
16046 else
16047 glibcxx_cv_atomic_bool=yes
16050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
16051 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
16052 rm -f conftest*
16054 cat > conftest.$ac_ext << EOF
16055 #line 16055 "configure"
16056 int main()
16058 typedef short atomic_type;
16059 atomic_type c1;
16060 atomic_type c2;
16061 atomic_type c3(0);
16062 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16063 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16064 __ATOMIC_RELAXED);
16065 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16066 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16068 return 0;
16072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
16073 $as_echo_n "checking for atomic builtins for short... " >&6; }
16074 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16075 (eval $ac_compile) 2>&5
16076 ac_status=$?
16077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16078 test $ac_status = 0; }; then
16079 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16080 glibcxx_cv_atomic_short=no
16081 else
16082 glibcxx_cv_atomic_short=yes
16085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
16086 $as_echo "$glibcxx_cv_atomic_short" >&6; }
16087 rm -f conftest*
16089 cat > conftest.$ac_ext << EOF
16090 #line 16090 "configure"
16091 int main()
16093 // NB: _Atomic_word not necessarily int.
16094 typedef int atomic_type;
16095 atomic_type c1;
16096 atomic_type c2;
16097 atomic_type c3(0);
16098 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16099 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16100 __ATOMIC_RELAXED);
16101 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16102 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16104 return 0;
16108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
16109 $as_echo_n "checking for atomic builtins for int... " >&6; }
16110 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16111 (eval $ac_compile) 2>&5
16112 ac_status=$?
16113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16114 test $ac_status = 0; }; then
16115 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16116 glibcxx_cv_atomic_int=no
16117 else
16118 glibcxx_cv_atomic_int=yes
16121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
16122 $as_echo "$glibcxx_cv_atomic_int" >&6; }
16123 rm -f conftest*
16125 cat > conftest.$ac_ext << EOF
16126 #line 16126 "configure"
16127 int main()
16129 typedef long long atomic_type;
16130 atomic_type c1;
16131 atomic_type c2;
16132 atomic_type c3(0);
16133 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16134 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16135 __ATOMIC_RELAXED);
16136 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16137 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16139 return 0;
16143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
16144 $as_echo_n "checking for atomic builtins for long long... " >&6; }
16145 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16146 (eval $ac_compile) 2>&5
16147 ac_status=$?
16148 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16149 test $ac_status = 0; }; then
16150 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16151 glibcxx_cv_atomic_long_long=no
16152 else
16153 glibcxx_cv_atomic_long_long=yes
16156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
16157 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
16158 rm -f conftest*
16162 CXXFLAGS="$old_CXXFLAGS"
16163 ac_ext=c
16164 ac_cpp='$CPP $CPPFLAGS'
16165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16170 # Set atomicity_dir to builtins if all but the long long test above passes,
16171 # or if the builtins were already chosen (e.g. by configure.host).
16172 if { test "$glibcxx_cv_atomic_bool" = yes \
16173 && test "$glibcxx_cv_atomic_short" = yes \
16174 && test "$glibcxx_cv_atomic_int" = yes; } \
16175 || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
16177 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
16179 atomicity_dir=cpu/generic/atomicity_builtins
16182 # If still generic, set to mutex.
16183 if test $atomicity_dir = "cpu/generic" ; then
16184 atomicity_dir=cpu/generic/atomicity_mutex
16185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
16186 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
16187 if test "x$target_thread_file" = xsingle; then
16188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
16189 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
16190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
16191 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
16192 else
16193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
16194 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
16195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
16196 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
16204 # Check whether --with-libstdcxx-lock-policy was given.
16205 if test "${with_libstdcxx_lock_policy+set}" = set; then :
16206 withval=$with_libstdcxx_lock_policy; libstdcxx_atomic_lock_policy=$withval
16207 else
16208 libstdcxx_atomic_lock_policy=auto
16212 case "$libstdcxx_atomic_lock_policy" in
16213 atomic|mutex|auto) ;;
16214 *) as_fn_error $? "Invalid argument for --with-libstdcxx-lock-policy" "$LINENO" 5 ;;
16215 esac
16216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lock policy for shared_ptr reference counts" >&5
16217 $as_echo_n "checking for lock policy for shared_ptr reference counts... " >&6; }
16219 if test x"$libstdcxx_atomic_lock_policy" = x"auto"; then
16221 ac_ext=cpp
16222 ac_cpp='$CXXCPP $CPPFLAGS'
16223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16227 ac_save_CXXFLAGS="$CXXFLAGS"
16229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16230 /* end confdefs.h. */
16232 #if defined __riscv
16233 # error "Defaulting to mutex-based locks for ABI compatibility"
16234 #endif
16235 #if ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
16236 # error "No 2-byte compare-and-swap"
16237 #elif ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
16238 # error "No 4-byte compare-and-swap"
16239 #endif
16242 main ()
16246 return 0;
16248 _ACEOF
16249 if ac_fn_cxx_try_compile "$LINENO"; then :
16250 libstdcxx_atomic_lock_policy=atomic
16251 else
16252 libstdcxx_atomic_lock_policy=mutex
16254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16255 ac_ext=c
16256 ac_cpp='$CPP $CPPFLAGS'
16257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16261 CXXFLAGS="$ac_save_CXXFLAGS"
16264 if test x"$libstdcxx_atomic_lock_policy" = x"atomic"; then
16265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: atomic" >&5
16266 $as_echo "atomic" >&6; }
16268 $as_echo "#define HAVE_ATOMIC_LOCK_POLICY 1" >>confdefs.h
16270 else
16271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mutex" >&5
16272 $as_echo "mutex" >&6; }
16278 # Fake what AC_TRY_COMPILE does, without linking as this is
16279 # unnecessary for this test.
16281 cat > conftest.$ac_ext << EOF
16282 #line 16282 "configure"
16283 int main()
16285 _Decimal32 d1;
16286 _Decimal64 d2;
16287 _Decimal128 d3;
16288 return 0;
16292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
16293 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
16294 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16295 (eval $ac_compile) 2>&5
16296 ac_status=$?
16297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16298 test $ac_status = 0; }; then
16300 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
16302 enable_dfp=yes
16303 else
16304 enable_dfp=no
16306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
16307 $as_echo "$enable_dfp" >&6; }
16308 rm -f conftest*
16313 ac_ext=cpp
16314 ac_cpp='$CXXCPP $CPPFLAGS'
16315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16320 # Fake what AC_TRY_COMPILE does, without linking as this is
16321 # unnecessary for this test.
16323 cat > conftest.$ac_ext << EOF
16324 #line 16324 "configure"
16325 template<typename T1, typename T2>
16326 struct same
16327 { typedef T2 type; };
16329 template<typename T>
16330 struct same<T, T>;
16332 int main()
16334 typename same<double, __float128>::type f1;
16335 typename same<long double, __float128>::type f2;
16339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
16340 $as_echo_n "checking for __float128... " >&6; }
16341 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16342 (eval $ac_compile) 2>&5
16343 ac_status=$?
16344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16345 test $ac_status = 0; }; then
16346 enable_float128=yes
16347 else
16348 enable_float128=no
16350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
16351 $as_echo "$enable_float128" >&6; }
16353 rm -f conftest*
16355 ac_ext=c
16356 ac_cpp='$CPP $CPPFLAGS'
16357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16362 if test "$enable_float128" = yes; then
16363 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
16366 # Checks for compiler support that doesn't require linking.
16368 # All these tests are for C++; save the language and the compiler flags.
16369 # The CXXFLAGS thing is suspicious, but based on similar bits previously
16370 # found in GLIBCXX_CONFIGURE.
16372 ac_ext=cpp
16373 ac_cpp='$CXXCPP $CPPFLAGS'
16374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16378 ac_test_CXXFLAGS="${CXXFLAGS+set}"
16379 ac_save_CXXFLAGS="$CXXFLAGS"
16381 # Check for -ffunction-sections -fdata-sections
16382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
16383 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
16384 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
16385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16386 /* end confdefs.h. */
16387 int foo; void bar() { };
16389 main ()
16393 return 0;
16395 _ACEOF
16396 if ac_fn_cxx_try_compile "$LINENO"; then :
16397 ac_fdsections=yes
16398 else
16399 ac_fdsections=no
16401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16402 if test "$ac_test_CXXFLAGS" = set; then
16403 CXXFLAGS="$ac_save_CXXFLAGS"
16404 else
16405 # this is the suspicious part
16406 CXXFLAGS=''
16408 if test x"$ac_fdsections" = x"yes"; then
16409 SECTION_FLAGS='-ffunction-sections -fdata-sections'
16411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
16412 $as_echo "$ac_fdsections" >&6; }
16414 ac_ext=c
16415 ac_cpp='$CPP $CPPFLAGS'
16416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16423 # Enable all the variable C++ runtime options that don't require linking.
16425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
16426 $as_echo_n "checking for underlying I/O to use... " >&6; }
16427 # Check whether --enable-cstdio was given.
16428 if test "${enable_cstdio+set}" = set; then :
16429 enableval=$enable_cstdio;
16430 case "$enableval" in
16431 stdio|stdio_posix|stdio_pure) ;;
16432 *) as_fn_error $? "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
16433 esac
16435 else
16436 enable_cstdio=stdio
16441 # The only available I/O model is based on stdio, via basic_file_stdio.
16442 # The default "stdio" is actually "stdio + POSIX" because it uses fdopen(3)
16443 # to get a file descriptor and then uses read(3) and write(3) with it.
16444 # The "stdio_pure" model doesn't use fdopen and only uses FILE* for I/O.
16445 case ${enable_cstdio} in
16446 stdio*)
16447 CSTDIO_H=config/io/c_io_stdio.h
16448 BASIC_FILE_H=config/io/basic_file_stdio.h
16449 BASIC_FILE_CC=config/io/basic_file_stdio.cc
16451 if test "x$enable_cstdio" = "xstdio_pure" ; then
16452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio (without POSIX read/write)" >&5
16453 $as_echo "stdio (without POSIX read/write)" >&6; }
16455 $as_echo "#define _GLIBCXX_USE_STDIO_PURE 1" >>confdefs.h
16457 else
16458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio (with POSIX read/write)" >&5
16459 $as_echo "stdio (with POSIX read/write)" >&6; }
16462 esac
16469 # Check whether --enable-clocale was given.
16470 if test "${enable_clocale+set}" = set; then :
16471 enableval=$enable_clocale;
16472 case "$enableval" in
16473 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
16474 *) as_fn_error $? "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
16475 esac
16477 else
16478 enable_clocale=auto
16483 # Deal with gettext issues. Default to not using it (=no) until we detect
16484 # support for it later. Let the user turn it off via --e/d, but let that
16485 # default to on for easier handling.
16486 USE_NLS=no
16487 # Check whether --enable-nls was given.
16488 if test "${enable_nls+set}" = set; then :
16489 enableval=$enable_nls;
16490 else
16491 enable_nls=yes
16495 # Either a known package, or "auto"
16496 if test $enable_clocale = no || test $enable_clocale = yes; then
16497 enable_clocale=auto
16499 enable_clocale_flag=$enable_clocale
16501 # Probe for locale model to use if none specified.
16502 # Default to "generic".
16503 if test $enable_clocale_flag = auto; then
16504 case ${target_os} in
16505 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16506 enable_clocale_flag=gnu
16508 darwin*)
16509 enable_clocale_flag=darwin
16511 vxworks*)
16512 enable_clocale_flag=vxworks
16514 dragonfly* | freebsd*)
16515 enable_clocale_flag=dragonfly
16517 openbsd*)
16518 enable_clocale_flag=newlib
16521 if test x"$with_newlib" = x"yes"; then
16522 enable_clocale_flag=newlib
16523 else
16524 enable_clocale_flag=generic
16527 esac
16530 # Sanity check model, and test for special functionality.
16531 if test $enable_clocale_flag = gnu; then
16532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16533 /* end confdefs.h. */
16535 #include <features.h>
16536 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
16537 _GLIBCXX_ok
16538 #endif
16540 _ACEOF
16541 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16542 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
16543 enable_clocale_flag=gnu
16544 else
16545 enable_clocale_flag=generic
16547 rm -f conftest*
16550 # Set it to scream when it hurts.
16551 ac_save_CFLAGS="$CFLAGS"
16552 CFLAGS="-Wimplicit-function-declaration -Werror"
16554 # Use strxfrm_l if available.
16555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16556 /* end confdefs.h. */
16557 #define _GNU_SOURCE 1
16558 #include <string.h>
16559 #include <locale.h>
16561 main ()
16563 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
16565 return 0;
16567 _ACEOF
16568 if ac_fn_c_try_compile "$LINENO"; then :
16570 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
16573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16575 # Use strerror_l if available.
16576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16577 /* end confdefs.h. */
16578 #define _GNU_SOURCE 1
16579 #include <string.h>
16580 #include <locale.h>
16582 main ()
16584 __locale_t loc; strerror_l(5, loc);
16586 return 0;
16588 _ACEOF
16589 if ac_fn_c_try_compile "$LINENO"; then :
16591 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
16594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16596 CFLAGS="$ac_save_CFLAGS"
16599 # Perhaps use strerror_r if available, and strerror_l isn't.
16600 ac_save_CFLAGS="$CFLAGS"
16601 CFLAGS="-Wimplicit-function-declaration -Werror"
16602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16603 /* end confdefs.h. */
16604 #define _GNU_SOURCE 1
16605 #include <string.h>
16606 #include <locale.h>
16608 main ()
16610 char s[128]; strerror_r(5, s, 128);
16612 return 0;
16614 _ACEOF
16615 if ac_fn_c_try_compile "$LINENO"; then :
16617 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16621 CFLAGS="$ac_save_CFLAGS"
16623 # Set configure bits for specified locale package
16624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
16625 $as_echo_n "checking for C locale to use... " >&6; }
16626 case ${enable_clocale_flag} in
16627 generic)
16628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
16629 $as_echo "generic" >&6; }
16631 CLOCALE_H=config/locale/generic/c_locale.h
16632 CLOCALE_CC=config/locale/generic/c_locale.cc
16633 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16634 CCOLLATE_CC=config/locale/generic/collate_members.cc
16635 CCTYPE_CC=config/locale/generic/ctype_members.cc
16636 CMESSAGES_H=config/locale/generic/messages_members.h
16637 CMESSAGES_CC=config/locale/generic/messages_members.cc
16638 CMONEY_CC=config/locale/generic/monetary_members.cc
16639 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16640 CTIME_H=config/locale/generic/time_members.h
16641 CTIME_CC=config/locale/generic/time_members.cc
16642 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16644 darwin)
16645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
16646 $as_echo "darwin" >&6; }
16648 CLOCALE_H=config/locale/generic/c_locale.h
16649 CLOCALE_CC=config/locale/generic/c_locale.cc
16650 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16651 CCOLLATE_CC=config/locale/generic/collate_members.cc
16652 CCTYPE_CC=config/locale/darwin/ctype_members.cc
16653 CMESSAGES_H=config/locale/generic/messages_members.h
16654 CMESSAGES_CC=config/locale/generic/messages_members.cc
16655 CMONEY_CC=config/locale/generic/monetary_members.cc
16656 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16657 CTIME_H=config/locale/generic/time_members.h
16658 CTIME_CC=config/locale/generic/time_members.cc
16659 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16661 vxworks)
16662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: vxworks" >&5
16663 $as_echo "vxworks" >&6; }
16665 CLOCALE_H=config/locale/generic/c_locale.h
16666 CLOCALE_CC=config/locale/generic/c_locale.cc
16667 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16668 CCOLLATE_CC=config/locale/generic/collate_members.cc
16669 CCTYPE_CC=config/locale/vxworks/ctype_members.cc
16670 CMESSAGES_H=config/locale/generic/messages_members.h
16671 CMESSAGES_CC=config/locale/generic/messages_members.cc
16672 CMONEY_CC=config/locale/generic/monetary_members.cc
16673 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16674 CTIME_H=config/locale/generic/time_members.h
16675 CTIME_CC=config/locale/generic/time_members.cc
16676 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16678 dragonfly)
16679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
16680 $as_echo "dragonfly or freebsd" >&6; }
16682 CLOCALE_H=config/locale/dragonfly/c_locale.h
16683 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16684 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16685 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16686 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16687 CMESSAGES_H=config/locale/generic/messages_members.h
16688 CMESSAGES_CC=config/locale/generic/messages_members.cc
16689 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16690 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16691 CTIME_H=config/locale/dragonfly/time_members.h
16692 CTIME_CC=config/locale/dragonfly/time_members.cc
16693 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16696 gnu)
16697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16698 $as_echo "gnu" >&6; }
16700 # Declare intention to use gettext, and add support for specific
16701 # languages.
16702 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16703 ALL_LINGUAS="de fr"
16705 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16706 # Extract the first word of "msgfmt", so it can be a program name with args.
16707 set dummy msgfmt; ac_word=$2
16708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16709 $as_echo_n "checking for $ac_word... " >&6; }
16710 if ${ac_cv_prog_check_msgfmt+:} false; then :
16711 $as_echo_n "(cached) " >&6
16712 else
16713 if test -n "$check_msgfmt"; then
16714 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16715 else
16716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16717 for as_dir in $PATH
16719 IFS=$as_save_IFS
16720 test -z "$as_dir" && as_dir=.
16721 for ac_exec_ext in '' $ac_executable_extensions; do
16722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16723 ac_cv_prog_check_msgfmt="yes"
16724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16725 break 2
16727 done
16728 done
16729 IFS=$as_save_IFS
16731 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16734 check_msgfmt=$ac_cv_prog_check_msgfmt
16735 if test -n "$check_msgfmt"; then
16736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16737 $as_echo "$check_msgfmt" >&6; }
16738 else
16739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16740 $as_echo "no" >&6; }
16744 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16745 USE_NLS=yes
16747 # Export the build objects.
16748 for ling in $ALL_LINGUAS; do \
16749 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16750 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16751 done
16755 CLOCALE_H=config/locale/gnu/c_locale.h
16756 CLOCALE_CC=config/locale/gnu/c_locale.cc
16757 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16758 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16759 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16760 CMESSAGES_H=config/locale/gnu/messages_members.h
16761 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16762 CMONEY_CC=config/locale/gnu/monetary_members.cc
16763 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16764 CTIME_H=config/locale/gnu/time_members.h
16765 CTIME_CC=config/locale/gnu/time_members.cc
16766 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16768 ieee_1003.1-2001)
16769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16770 $as_echo "IEEE 1003.1" >&6; }
16772 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16773 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16774 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16775 CCOLLATE_CC=config/locale/generic/collate_members.cc
16776 CCTYPE_CC=config/locale/generic/ctype_members.cc
16777 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16778 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16779 CMONEY_CC=config/locale/generic/monetary_members.cc
16780 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16781 CTIME_H=config/locale/generic/time_members.h
16782 CTIME_CC=config/locale/generic/time_members.cc
16783 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16785 newlib)
16786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16787 $as_echo "newlib" >&6; }
16789 CLOCALE_H=config/locale/generic/c_locale.h
16790 CLOCALE_CC=config/locale/generic/c_locale.cc
16791 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16792 CCOLLATE_CC=config/locale/generic/collate_members.cc
16793 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16794 CMESSAGES_H=config/locale/generic/messages_members.h
16795 CMESSAGES_CC=config/locale/generic/messages_members.cc
16796 CMONEY_CC=config/locale/generic/monetary_members.cc
16797 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16798 CTIME_H=config/locale/generic/time_members.h
16799 CTIME_CC=config/locale/generic/time_members.cc
16800 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16802 esac
16804 # This is where the testsuite looks for locale catalogs, using the
16805 # -DLOCALEDIR define during testsuite compilation.
16806 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16809 # A standalone libintl (e.g., GNU libintl) may be in use.
16810 if test $USE_NLS = yes; then
16811 for ac_header in libintl.h
16812 do :
16813 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16814 if test "x$ac_cv_header_libintl_h" = xyes; then :
16815 cat >>confdefs.h <<_ACEOF
16816 #define HAVE_LIBINTL_H 1
16817 _ACEOF
16819 else
16820 USE_NLS=no
16823 done
16825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16826 $as_echo_n "checking for library containing gettext... " >&6; }
16827 if ${ac_cv_search_gettext+:} false; then :
16828 $as_echo_n "(cached) " >&6
16829 else
16830 ac_func_search_save_LIBS=$LIBS
16831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16832 /* end confdefs.h. */
16834 /* Override any GCC internal prototype to avoid an error.
16835 Use char because int might match the return type of a GCC
16836 builtin and then its argument prototype would still apply. */
16837 #ifdef __cplusplus
16838 extern "C"
16839 #endif
16840 char gettext ();
16842 main ()
16844 return gettext ();
16846 return 0;
16848 _ACEOF
16849 for ac_lib in '' intl; do
16850 if test -z "$ac_lib"; then
16851 ac_res="none required"
16852 else
16853 ac_res=-l$ac_lib
16854 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16856 if test x$gcc_no_link = xyes; then
16857 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16859 if ac_fn_c_try_link "$LINENO"; then :
16860 ac_cv_search_gettext=$ac_res
16862 rm -f core conftest.err conftest.$ac_objext \
16863 conftest$ac_exeext
16864 if ${ac_cv_search_gettext+:} false; then :
16865 break
16867 done
16868 if ${ac_cv_search_gettext+:} false; then :
16870 else
16871 ac_cv_search_gettext=no
16873 rm conftest.$ac_ext
16874 LIBS=$ac_func_search_save_LIBS
16876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16877 $as_echo "$ac_cv_search_gettext" >&6; }
16878 ac_res=$ac_cv_search_gettext
16879 if test "$ac_res" != no; then :
16880 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16882 else
16883 USE_NLS=no
16887 if test $USE_NLS = yes; then
16889 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16909 $as_echo_n "checking for std::allocator base class... " >&6; }
16910 # Check whether --enable-libstdcxx-allocator was given.
16911 if test "${enable_libstdcxx_allocator+set}" = set; then :
16912 enableval=$enable_libstdcxx_allocator;
16913 case "$enableval" in
16914 new|malloc|yes|no|auto) ;;
16915 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16916 esac
16918 else
16919 enable_libstdcxx_allocator=auto
16924 # If they didn't use this option switch, or if they specified --enable
16925 # with no specific model, we'll have to look for one. If they
16926 # specified --disable (???), do likewise.
16927 if test $enable_libstdcxx_allocator = no ||
16928 test $enable_libstdcxx_allocator = yes;
16929 then
16930 enable_libstdcxx_allocator=auto
16933 # Either a known package, or "auto". Auto implies the default choice
16934 # for a particular platform.
16935 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16937 # Probe for host-specific support if no specific model is specified.
16938 # Default to "new".
16939 if test $enable_libstdcxx_allocator_flag = auto; then
16940 case ${target_os} in
16941 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16942 enable_libstdcxx_allocator_flag=new
16945 enable_libstdcxx_allocator_flag=new
16947 esac
16949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16950 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16953 # Set configure bits for specified locale package
16954 case ${enable_libstdcxx_allocator_flag} in
16955 malloc)
16956 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16957 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16959 new)
16960 ALLOCATOR_H=config/allocator/new_allocator_base.h
16961 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16963 esac
16970 # Check whether --enable-cheaders-obsolete was given.
16971 if test "${enable_cheaders_obsolete+set}" = set; then :
16972 enableval=$enable_cheaders_obsolete;
16973 case "$enableval" in
16974 yes|no) ;;
16975 *) as_fn_error $? "Argument to enable/disable cheaders-obsolete must be yes or no" "$LINENO" 5 ;;
16976 esac
16978 else
16979 enable_cheaders_obsolete=no
16983 # Check whether --enable-cheaders was given.
16984 if test "${enable_cheaders+set}" = set; then :
16985 enableval=$enable_cheaders;
16986 case "$enableval" in
16987 c|c_global|c_std) ;;
16988 *) as_fn_error $? "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16989 esac
16991 else
16992 enable_cheaders=$c_model
16996 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16997 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16998 if test $enable_cheaders = c_std ; then
16999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: the --enable-cheaders=c_std configuration is obsolete, c_global should be used instead" >&5
17000 $as_echo "$as_me: WARNING: the --enable-cheaders=c_std configuration is obsolete, c_global should be used instead" >&2;}
17001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: if you are unable to use c_global please report a bug or inform libstdc++@gcc.gnu.org" >&5
17002 $as_echo "$as_me: WARNING: if you are unable to use c_global please report a bug or inform libstdc++@gcc.gnu.org" >&2;}
17003 if test $enable_cheaders_obsolete != yes ; then
17004 as_fn_error $? "use --enable-cheaders-obsolete to use c_std \"C\" headers" "$LINENO" 5
17008 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
17010 # Allow overrides to configure.host here.
17011 if test $enable_cheaders = c_global; then
17012 c_compatibility=yes
17021 # Check whether --enable-long-long was given.
17022 if test "${enable_long_long+set}" = set; then :
17023 enableval=$enable_long_long;
17024 case "$enableval" in
17025 yes|no) ;;
17026 *) as_fn_error $? "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
17027 esac
17029 else
17030 enable_long_long=yes
17034 if test $enable_long_long = yes; then
17036 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
17039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
17040 $as_echo_n "checking for enabled long long specializations... " >&6; }
17041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
17042 $as_echo "$enable_long_long" >&6; }
17045 # Check whether --enable-wchar_t was given.
17046 if test "${enable_wchar_t+set}" = set; then :
17047 enableval=$enable_wchar_t;
17048 case "$enableval" in
17049 yes|no) ;;
17050 *) as_fn_error $? "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
17051 esac
17053 else
17054 enable_wchar_t=yes
17059 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
17060 for ac_header in wchar.h
17061 do :
17062 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
17063 if test "x$ac_cv_header_wchar_h" = xyes; then :
17064 cat >>confdefs.h <<_ACEOF
17065 #define HAVE_WCHAR_H 1
17066 _ACEOF
17067 ac_has_wchar_h=yes
17068 else
17069 ac_has_wchar_h=no
17072 done
17074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
17075 $as_echo_n "checking for mbstate_t... " >&6; }
17076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17077 /* end confdefs.h. */
17078 #include <wchar.h>
17080 main ()
17082 mbstate_t teststate;
17084 return 0;
17086 _ACEOF
17087 if ac_fn_c_try_compile "$LINENO"; then :
17088 have_mbstate_t=yes
17089 else
17090 have_mbstate_t=no
17092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
17094 $as_echo "$have_mbstate_t" >&6; }
17095 if test x"$have_mbstate_t" = xyes; then
17097 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
17101 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
17102 # ac_has_wchar_h.
17103 for ac_header in wctype.h
17104 do :
17105 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
17106 if test "x$ac_cv_header_wctype_h" = xyes; then :
17107 cat >>confdefs.h <<_ACEOF
17108 #define HAVE_WCTYPE_H 1
17109 _ACEOF
17110 ac_has_wctype_h=yes
17111 else
17112 ac_has_wctype_h=no
17115 done
17118 if test x"$enable_wchar_t" = x"yes"; then
17121 ac_ext=cpp
17122 ac_cpp='$CXXCPP $CPPFLAGS'
17123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17128 if test x"$ac_has_wchar_h" = xyes &&
17129 test x"$ac_has_wctype_h" = xyes; then
17130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17131 /* end confdefs.h. */
17132 #include <wchar.h>
17133 #include <stddef.h>
17134 wint_t i;
17135 long l = WEOF;
17136 long j = WCHAR_MIN;
17137 long k = WCHAR_MAX;
17138 namespace test
17140 using ::btowc;
17141 using ::fgetwc;
17142 using ::fgetws;
17143 using ::fputwc;
17144 using ::fputws;
17145 using ::fwide;
17146 using ::fwprintf;
17147 using ::fwscanf;
17148 using ::getwc;
17149 using ::getwchar;
17150 using ::mbrlen;
17151 using ::mbrtowc;
17152 using ::mbsinit;
17153 using ::mbsrtowcs;
17154 using ::putwc;
17155 using ::putwchar;
17156 using ::swprintf;
17157 using ::swscanf;
17158 using ::ungetwc;
17159 using ::vfwprintf;
17160 using ::vswprintf;
17161 using ::vwprintf;
17162 using ::wcrtomb;
17163 using ::wcscat;
17164 using ::wcschr;
17165 using ::wcscmp;
17166 using ::wcscoll;
17167 using ::wcscpy;
17168 using ::wcscspn;
17169 using ::wcsftime;
17170 using ::wcslen;
17171 using ::wcsncat;
17172 using ::wcsncmp;
17173 using ::wcsncpy;
17174 using ::wcspbrk;
17175 using ::wcsrchr;
17176 using ::wcsrtombs;
17177 using ::wcsspn;
17178 using ::wcsstr;
17179 using ::wcstod;
17180 using ::wcstok;
17181 using ::wcstol;
17182 using ::wcstoul;
17183 using ::wcsxfrm;
17184 using ::wctob;
17185 using ::wmemchr;
17186 using ::wmemcmp;
17187 using ::wmemcpy;
17188 using ::wmemmove;
17189 using ::wmemset;
17190 using ::wprintf;
17191 using ::wscanf;
17195 main ()
17199 return 0;
17201 _ACEOF
17202 if ac_fn_cxx_try_compile "$LINENO"; then :
17204 else
17205 enable_wchar_t=no
17207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17208 else
17209 enable_wchar_t=no
17212 ac_ext=c
17213 ac_cpp='$CPP $CPPFLAGS'
17214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17220 if test x"$enable_wchar_t" = x"yes"; then
17222 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
17226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
17227 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
17228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
17229 $as_echo "$enable_wchar_t" >&6; }
17233 # Check whether --enable-c99 was given.
17234 if test "${enable_c99+set}" = set; then :
17235 enableval=$enable_c99;
17236 case "$enableval" in
17237 yes|no) ;;
17238 *) as_fn_error $? "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
17239 esac
17241 else
17242 enable_c99=yes
17247 if test x"$enable_c99" = x"yes"; then
17249 ac_ext=cpp
17250 ac_cpp='$CXXCPP $CPPFLAGS'
17251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17256 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
17257 # undefined may cause fake C99 facilities, like pre-standard snprintf,
17258 # to be spuriously enabled.
17259 ac_save_CXXFLAGS="$CXXFLAGS"
17260 CXXFLAGS="$CXXFLAGS -std=c++98"
17261 ac_save_LIBS="$LIBS"
17262 ac_save_gcc_no_link="$gcc_no_link"
17264 if test x$gcc_no_link != xyes; then
17265 # Use -fno-exceptions to that the C driver can link these tests without
17266 # hitting undefined references to personality routines.
17267 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17269 $as_echo_n "checking for sin in -lm... " >&6; }
17270 if ${ac_cv_lib_m_sin+:} false; then :
17271 $as_echo_n "(cached) " >&6
17272 else
17273 ac_check_lib_save_LIBS=$LIBS
17274 LIBS="-lm $LIBS"
17275 if test x$gcc_no_link = xyes; then
17276 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17279 /* end confdefs.h. */
17281 /* Override any GCC internal prototype to avoid an error.
17282 Use char because int might match the return type of a GCC
17283 builtin and then its argument prototype would still apply. */
17284 #ifdef __cplusplus
17285 extern "C"
17286 #endif
17287 char sin ();
17289 main ()
17291 return sin ();
17293 return 0;
17295 _ACEOF
17296 if ac_fn_cxx_try_link "$LINENO"; then :
17297 ac_cv_lib_m_sin=yes
17298 else
17299 ac_cv_lib_m_sin=no
17301 rm -f core conftest.err conftest.$ac_objext \
17302 conftest$ac_exeext conftest.$ac_ext
17303 LIBS=$ac_check_lib_save_LIBS
17305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17306 $as_echo "$ac_cv_lib_m_sin" >&6; }
17307 if test "x$ac_cv_lib_m_sin" = xyes; then :
17308 LIBS="$LIBS -lm"
17309 else
17311 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17312 gcc_no_link=yes
17318 # Check for the existence of <math.h> functions used if C99 is enabled.
17319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
17320 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
17321 if ${glibcxx_cv_c99_math_cxx98+:} false; then :
17322 $as_echo_n "(cached) " >&6
17323 else
17325 if test x$gcc_no_link = xyes; then
17326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17327 /* end confdefs.h. */
17328 #include <math.h>
17329 volatile double d1, d2;
17330 volatile int i;
17332 main ()
17334 i = fpclassify(d1);
17335 i = isfinite(d1);
17336 i = isinf(d1);
17337 i = isnan(d1);
17338 i = isnormal(d1);
17339 i = signbit(d1);
17340 i = isgreater(d1, d2);
17341 i = isgreaterequal(d1, d2);
17342 i = isless(d1, d2);
17343 i = islessequal(d1, d2);
17344 i = islessgreater(d1, d2);
17345 i = islessgreater(d1, d2);
17346 i = isunordered(d1, d2);
17349 return 0;
17351 _ACEOF
17352 if ac_fn_cxx_try_compile "$LINENO"; then :
17353 glibcxx_cv_c99_math_cxx98=yes
17354 else
17355 glibcxx_cv_c99_math_cxx98=no
17357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17358 else
17359 if test x$gcc_no_link = xyes; then
17360 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17363 /* end confdefs.h. */
17364 #include <math.h>
17365 volatile double d1, d2;
17366 volatile int i;
17368 main ()
17370 i = fpclassify(d1);
17371 i = isfinite(d1);
17372 i = isinf(d1);
17373 i = isnan(d1);
17374 i = isnormal(d1);
17375 i = signbit(d1);
17376 i = isgreater(d1, d2);
17377 i = isgreaterequal(d1, d2);
17378 i = isless(d1, d2);
17379 i = islessequal(d1, d2);
17380 i = islessgreater(d1, d2);
17381 i = islessgreater(d1, d2);
17382 i = isunordered(d1, d2);
17385 return 0;
17387 _ACEOF
17388 if ac_fn_cxx_try_link "$LINENO"; then :
17389 glibcxx_cv_c99_math_cxx98=yes
17390 else
17391 glibcxx_cv_c99_math_cxx98=no
17393 rm -f core conftest.err conftest.$ac_objext \
17394 conftest$ac_exeext conftest.$ac_ext
17398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
17399 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
17400 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
17402 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
17406 # Check for the existence of <complex.h> complex math functions.
17407 # This is necessary even though libstdc++ uses the builtin versions
17408 # of these functions, because if the builtin cannot be used, a reference
17409 # to the library function is emitted.
17410 for ac_header in tgmath.h
17411 do :
17412 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17413 if test "x$ac_cv_header_tgmath_h" = xyes; then :
17414 cat >>confdefs.h <<_ACEOF
17415 #define HAVE_TGMATH_H 1
17416 _ACEOF
17417 ac_has_tgmath_h=yes
17418 else
17419 ac_has_tgmath_h=no
17422 done
17424 for ac_header in complex.h
17425 do :
17426 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17427 if test "x$ac_cv_header_complex_h" = xyes; then :
17428 cat >>confdefs.h <<_ACEOF
17429 #define HAVE_COMPLEX_H 1
17430 _ACEOF
17431 ac_has_complex_h=yes
17432 else
17433 ac_has_complex_h=no
17436 done
17438 if test x"$ac_has_complex_h" = x"yes"; then
17439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
17440 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
17441 if ${glibcxx_cv_c99_complex_cxx98+:} false; then :
17442 $as_echo_n "(cached) " >&6
17443 else
17445 if test x$gcc_no_link = xyes; then
17446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17447 /* end confdefs.h. */
17448 #include <complex.h>
17449 typedef __complex__ float float_type;
17450 typedef __complex__ double double_type;
17451 typedef __complex__ long double ld_type;
17452 volatile float_type tmpf;
17453 volatile double_type tmpd;
17454 volatile ld_type tmpld;
17455 volatile float f;
17456 volatile double d;
17457 volatile long double ld;
17459 main ()
17461 f = cabsf(tmpf);
17462 f = cargf(tmpf);
17463 tmpf = ccosf(tmpf);
17464 tmpf = ccoshf(tmpf);
17465 tmpf = cexpf(tmpf);
17466 tmpf = clogf(tmpf);
17467 tmpf = csinf(tmpf);
17468 tmpf = csinhf(tmpf);
17469 tmpf = csqrtf(tmpf);
17470 tmpf = ctanf(tmpf);
17471 tmpf = ctanhf(tmpf);
17472 tmpf = cpowf(tmpf, tmpf);
17473 tmpf = cprojf(tmpf);
17474 d = cabs(tmpd);
17475 d = carg(tmpd);
17476 tmpd = ccos(tmpd);
17477 tmpd = ccosh(tmpd);
17478 tmpd = cexp(tmpd);
17479 tmpd = clog(tmpd);
17480 tmpd = csin(tmpd);
17481 tmpd = csinh(tmpd);
17482 tmpd = csqrt(tmpd);
17483 tmpd = ctan(tmpd);
17484 tmpd = ctanh(tmpd);
17485 tmpd = cpow(tmpd, tmpd);
17486 tmpd = cproj(tmpd);
17487 ld = cabsl(tmpld);
17488 ld = cargl(tmpld);
17489 tmpld = ccosl(tmpld);
17490 tmpld = ccoshl(tmpld);
17491 tmpld = cexpl(tmpld);
17492 tmpld = clogl(tmpld);
17493 tmpld = csinl(tmpld);
17494 tmpld = csinhl(tmpld);
17495 tmpld = csqrtl(tmpld);
17496 tmpld = ctanl(tmpld);
17497 tmpld = ctanhl(tmpld);
17498 tmpld = cpowl(tmpld, tmpld);
17499 tmpld = cprojl(tmpld);
17502 return 0;
17504 _ACEOF
17505 if ac_fn_cxx_try_compile "$LINENO"; then :
17506 glibcxx_cv_c99_complex_cxx98=yes
17507 else
17508 glibcxx_cv_c99_complex_cxx98=no
17510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17511 else
17512 if test x$gcc_no_link = xyes; then
17513 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17516 /* end confdefs.h. */
17517 #include <complex.h>
17518 typedef __complex__ float float_type;
17519 typedef __complex__ double double_type;
17520 typedef __complex__ long double ld_type;
17521 volatile float_type tmpf;
17522 volatile double_type tmpd;
17523 volatile ld_type tmpld;
17524 volatile float f;
17525 volatile double d;
17526 volatile long double ld;
17528 main ()
17530 f = cabsf(tmpf);
17531 f = cargf(tmpf);
17532 tmpf = ccosf(tmpf);
17533 tmpf = ccoshf(tmpf);
17534 tmpf = cexpf(tmpf);
17535 tmpf = clogf(tmpf);
17536 tmpf = csinf(tmpf);
17537 tmpf = csinhf(tmpf);
17538 tmpf = csqrtf(tmpf);
17539 tmpf = ctanf(tmpf);
17540 tmpf = ctanhf(tmpf);
17541 tmpf = cpowf(tmpf, tmpf);
17542 tmpf = cprojf(tmpf);
17543 d = cabs(tmpd);
17544 d = carg(tmpd);
17545 tmpd = ccos(tmpd);
17546 tmpd = ccosh(tmpd);
17547 tmpd = cexp(tmpd);
17548 tmpd = clog(tmpd);
17549 tmpd = csin(tmpd);
17550 tmpd = csinh(tmpd);
17551 tmpd = csqrt(tmpd);
17552 tmpd = ctan(tmpd);
17553 tmpd = ctanh(tmpd);
17554 tmpd = cpow(tmpd, tmpd);
17555 tmpd = cproj(tmpd);
17556 ld = cabsl(tmpld);
17557 ld = cargl(tmpld);
17558 tmpld = ccosl(tmpld);
17559 tmpld = ccoshl(tmpld);
17560 tmpld = cexpl(tmpld);
17561 tmpld = clogl(tmpld);
17562 tmpld = csinl(tmpld);
17563 tmpld = csinhl(tmpld);
17564 tmpld = csqrtl(tmpld);
17565 tmpld = ctanl(tmpld);
17566 tmpld = ctanhl(tmpld);
17567 tmpld = cpowl(tmpld, tmpld);
17568 tmpld = cprojl(tmpld);
17571 return 0;
17573 _ACEOF
17574 if ac_fn_cxx_try_link "$LINENO"; then :
17575 glibcxx_cv_c99_complex_cxx98=yes
17576 else
17577 glibcxx_cv_c99_complex_cxx98=no
17579 rm -f core conftest.err conftest.$ac_objext \
17580 conftest$ac_exeext conftest.$ac_ext
17584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
17585 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
17587 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
17589 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
17593 # Check for the existence in <stdio.h> of vscanf, et. al.
17594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
17595 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
17596 if ${glibcxx_cv_c99_stdio_cxx98+:} false; then :
17597 $as_echo_n "(cached) " >&6
17598 else
17600 if test x$gcc_no_link = xyes; then
17601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17602 /* end confdefs.h. */
17603 #include <stdio.h>
17604 #include <stdarg.h>
17605 void foo(char* fmt, ...)
17607 va_list args; va_start(args, fmt);
17608 vfscanf(stderr, "%i", args);
17609 vscanf("%i", args);
17610 vsnprintf(fmt, 0, "%i", args);
17611 vsscanf(fmt, "%i", args);
17612 snprintf(fmt, 0, "%i");
17615 main ()
17619 return 0;
17621 _ACEOF
17622 if ac_fn_cxx_try_compile "$LINENO"; then :
17623 glibcxx_cv_c99_stdio_cxx98=yes
17624 else
17625 glibcxx_cv_c99_stdio_cxx98=no
17627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17628 else
17629 if test x$gcc_no_link = xyes; then
17630 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17633 /* end confdefs.h. */
17634 #include <stdio.h>
17635 #include <stdarg.h>
17636 void foo(char* fmt, ...)
17638 va_list args; va_start(args, fmt);
17639 vfscanf(stderr, "%i", args);
17640 vscanf("%i", args);
17641 vsnprintf(fmt, 0, "%i", args);
17642 vsscanf(fmt, "%i", args);
17643 snprintf(fmt, 0, "%i");
17646 main ()
17650 return 0;
17652 _ACEOF
17653 if ac_fn_cxx_try_link "$LINENO"; then :
17654 glibcxx_cv_c99_stdio_cxx98=yes
17655 else
17656 glibcxx_cv_c99_stdio_cxx98=no
17658 rm -f core conftest.err conftest.$ac_objext \
17659 conftest$ac_exeext conftest.$ac_ext
17663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
17664 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
17665 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
17667 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
17671 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
17673 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
17674 if ${glibcxx_cv_c99_stdlib_cxx98+:} false; then :
17675 $as_echo_n "(cached) " >&6
17676 else
17678 if test x$gcc_no_link = xyes; then
17679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17680 /* end confdefs.h. */
17681 #include <stdlib.h>
17682 volatile float f;
17683 volatile long double ld;
17684 volatile unsigned long long ll;
17685 lldiv_t mydivt;
17687 main ()
17689 char* tmp;
17690 f = strtof("gnu", &tmp);
17691 ld = strtold("gnu", &tmp);
17692 ll = strtoll("gnu", &tmp, 10);
17693 ll = strtoull("gnu", &tmp, 10);
17694 ll = llabs(10);
17695 mydivt = lldiv(10,1);
17696 ll = mydivt.quot;
17697 ll = mydivt.rem;
17698 ll = atoll("10");
17699 _Exit(0);
17702 return 0;
17704 _ACEOF
17705 if ac_fn_cxx_try_compile "$LINENO"; then :
17706 glibcxx_cv_c99_stdlib_cxx98=yes
17707 else
17708 glibcxx_cv_c99_stdlib_cxx98=no
17710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17711 else
17712 if test x$gcc_no_link = xyes; then
17713 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17716 /* end confdefs.h. */
17717 #include <stdlib.h>
17718 volatile float f;
17719 volatile long double ld;
17720 volatile unsigned long long ll;
17721 lldiv_t mydivt;
17723 main ()
17725 char* tmp;
17726 f = strtof("gnu", &tmp);
17727 ld = strtold("gnu", &tmp);
17728 ll = strtoll("gnu", &tmp, 10);
17729 ll = strtoull("gnu", &tmp, 10);
17730 ll = llabs(10);
17731 mydivt = lldiv(10,1);
17732 ll = mydivt.quot;
17733 ll = mydivt.rem;
17734 ll = atoll("10");
17735 _Exit(0);
17738 return 0;
17740 _ACEOF
17741 if ac_fn_cxx_try_link "$LINENO"; then :
17742 glibcxx_cv_c99_stdlib_cxx98=yes
17743 else
17744 glibcxx_cv_c99_stdlib_cxx98=no
17746 rm -f core conftest.err conftest.$ac_objext \
17747 conftest$ac_exeext conftest.$ac_ext
17751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17752 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17753 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17755 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17759 # Check for the existence in <wchar.h> of wcstold, etc.
17760 if test x"$ac_has_wchar_h" = xyes &&
17761 test x"$ac_has_wctype_h" = xyes; then
17762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17763 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17764 if ${glibcxx_cv_c99_wchar_cxx98+:} false; then :
17765 $as_echo_n "(cached) " >&6
17766 else
17768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17769 /* end confdefs.h. */
17770 #include <wchar.h>
17771 namespace test
17773 using ::wcstold;
17774 using ::wcstoll;
17775 using ::wcstoull;
17779 main ()
17783 return 0;
17785 _ACEOF
17786 if ac_fn_cxx_try_compile "$LINENO"; then :
17787 glibcxx_cv_c99_wchar_cxx98=yes
17788 else
17789 glibcxx_cv_c99_wchar_cxx98=no
17791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17795 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17797 # Checks for wide character functions that may not be present.
17798 # Injection of these is wrapped with guard macros.
17799 # NB: only put functions here, instead of immediately above, if
17800 # absolutely necessary.
17801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17802 /* end confdefs.h. */
17803 #include <wchar.h>
17804 namespace test { using ::vfwscanf; }
17806 main ()
17810 return 0;
17812 _ACEOF
17813 if ac_fn_cxx_try_compile "$LINENO"; then :
17815 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17821 /* end confdefs.h. */
17822 #include <wchar.h>
17823 namespace test { using ::vswscanf; }
17825 main ()
17829 return 0;
17831 _ACEOF
17832 if ac_fn_cxx_try_compile "$LINENO"; then :
17834 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17840 /* end confdefs.h. */
17841 #include <wchar.h>
17842 namespace test { using ::vwscanf; }
17844 main ()
17848 return 0;
17850 _ACEOF
17851 if ac_fn_cxx_try_compile "$LINENO"; then :
17853 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17859 /* end confdefs.h. */
17860 #include <wchar.h>
17861 namespace test { using ::wcstof; }
17863 main ()
17867 return 0;
17869 _ACEOF
17870 if ac_fn_cxx_try_compile "$LINENO"; then :
17872 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17878 /* end confdefs.h. */
17879 #include <wctype.h>
17881 main ()
17883 wint_t t; int i = iswblank(t);
17885 return 0;
17887 _ACEOF
17888 if ac_fn_cxx_try_compile "$LINENO"; then :
17890 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17895 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17897 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17902 # Option parsed, now set things appropriately.
17903 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17904 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17905 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17906 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17907 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17908 enable_c99=no;
17909 else
17911 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17915 gcc_no_link="$ac_save_gcc_no_link"
17916 LIBS="$ac_save_LIBS"
17917 CXXFLAGS="$ac_save_CXXFLAGS"
17918 ac_ext=c
17919 ac_cpp='$CPP $CPPFLAGS'
17920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17926 ac_ext=cpp
17927 ac_cpp='$CXXCPP $CPPFLAGS'
17928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17933 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17934 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17935 ac_save_CXXFLAGS="$CXXFLAGS"
17936 CXXFLAGS="$CXXFLAGS -std=c++11"
17937 ac_save_LIBS="$LIBS"
17938 ac_save_gcc_no_link="$gcc_no_link"
17940 if test x$gcc_no_link != xyes; then
17941 # Use -fno-exceptions to that the C driver can link these tests without
17942 # hitting undefined references to personality routines.
17943 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17945 $as_echo_n "checking for sin in -lm... " >&6; }
17946 if ${ac_cv_lib_m_sin+:} false; then :
17947 $as_echo_n "(cached) " >&6
17948 else
17949 ac_check_lib_save_LIBS=$LIBS
17950 LIBS="-lm $LIBS"
17951 if test x$gcc_no_link = xyes; then
17952 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17955 /* end confdefs.h. */
17957 /* Override any GCC internal prototype to avoid an error.
17958 Use char because int might match the return type of a GCC
17959 builtin and then its argument prototype would still apply. */
17960 #ifdef __cplusplus
17961 extern "C"
17962 #endif
17963 char sin ();
17965 main ()
17967 return sin ();
17969 return 0;
17971 _ACEOF
17972 if ac_fn_cxx_try_link "$LINENO"; then :
17973 ac_cv_lib_m_sin=yes
17974 else
17975 ac_cv_lib_m_sin=no
17977 rm -f core conftest.err conftest.$ac_objext \
17978 conftest$ac_exeext conftest.$ac_ext
17979 LIBS=$ac_check_lib_save_LIBS
17981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17982 $as_echo "$ac_cv_lib_m_sin" >&6; }
17983 if test "x$ac_cv_lib_m_sin" = xyes; then :
17984 LIBS="$LIBS -lm"
17985 else
17987 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17988 gcc_no_link=yes
17994 # Check for the existence of <stdint.h> types.
17995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdint.h> for C++11" >&5
17996 $as_echo_n "checking for ISO C99 support in <stdint.h> for C++11... " >&6; }
17997 if ${glibcxx_cv_c99_stdint+:} false; then :
17998 $as_echo_n "(cached) " >&6
17999 else
18001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18002 /* end confdefs.h. */
18003 #define __STDC_LIMIT_MACROS
18004 #define __STDC_CONSTANT_MACROS
18005 #include <stdint.h>
18007 main ()
18009 typedef int8_t my_int8_t;
18010 my_int8_t i8 = INT8_MIN;
18011 i8 = INT8_MAX;
18012 typedef int16_t my_int16_t;
18013 my_int16_t i16 = INT16_MIN;
18014 i16 = INT16_MAX;
18015 typedef int32_t my_int32_t;
18016 my_int32_t i32 = INT32_MIN;
18017 i32 = INT32_MAX;
18018 typedef int64_t my_int64_t;
18019 my_int64_t i64 = INT64_MIN;
18020 i64 = INT64_MAX;
18021 typedef int_fast8_t my_int_fast8_t;
18022 my_int_fast8_t if8 = INT_FAST8_MIN;
18023 if8 = INT_FAST8_MAX;
18024 typedef int_fast16_t my_int_fast16_t;
18025 my_int_fast16_t if16 = INT_FAST16_MIN;
18026 if16 = INT_FAST16_MAX;
18027 typedef int_fast32_t my_int_fast32_t;
18028 my_int_fast32_t if32 = INT_FAST32_MIN;
18029 if32 = INT_FAST32_MAX;
18030 typedef int_fast64_t my_int_fast64_t;
18031 my_int_fast64_t if64 = INT_FAST64_MIN;
18032 if64 = INT_FAST64_MAX;
18033 typedef int_least8_t my_int_least8_t;
18034 my_int_least8_t il8 = INT_LEAST8_MIN;
18035 il8 = INT_LEAST8_MAX;
18036 typedef int_least16_t my_int_least16_t;
18037 my_int_least16_t il16 = INT_LEAST16_MIN;
18038 il16 = INT_LEAST16_MAX;
18039 typedef int_least32_t my_int_least32_t;
18040 my_int_least32_t il32 = INT_LEAST32_MIN;
18041 il32 = INT_LEAST32_MAX;
18042 typedef int_least64_t my_int_least64_t;
18043 my_int_least64_t il64 = INT_LEAST64_MIN;
18044 il64 = INT_LEAST64_MAX;
18045 typedef intmax_t my_intmax_t;
18046 my_intmax_t im = INTMAX_MAX;
18047 im = INTMAX_MIN;
18048 typedef intptr_t my_intptr_t;
18049 my_intptr_t ip = INTPTR_MAX;
18050 ip = INTPTR_MIN;
18051 typedef uint8_t my_uint8_t;
18052 my_uint8_t ui8 = UINT8_MAX;
18053 ui8 = UINT8_MAX;
18054 typedef uint16_t my_uint16_t;
18055 my_uint16_t ui16 = UINT16_MAX;
18056 ui16 = UINT16_MAX;
18057 typedef uint32_t my_uint32_t;
18058 my_uint32_t ui32 = UINT32_MAX;
18059 ui32 = UINT32_MAX;
18060 typedef uint64_t my_uint64_t;
18061 my_uint64_t ui64 = UINT64_MAX;
18062 ui64 = UINT64_MAX;
18063 typedef uint_fast8_t my_uint_fast8_t;
18064 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18065 uif8 = UINT_FAST8_MAX;
18066 typedef uint_fast16_t my_uint_fast16_t;
18067 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18068 uif16 = UINT_FAST16_MAX;
18069 typedef uint_fast32_t my_uint_fast32_t;
18070 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18071 uif32 = UINT_FAST32_MAX;
18072 typedef uint_fast64_t my_uint_fast64_t;
18073 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18074 uif64 = UINT_FAST64_MAX;
18075 typedef uint_least8_t my_uint_least8_t;
18076 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18077 uil8 = UINT_LEAST8_MAX;
18078 typedef uint_least16_t my_uint_least16_t;
18079 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18080 uil16 = UINT_LEAST16_MAX;
18081 typedef uint_least32_t my_uint_least32_t;
18082 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18083 uil32 = UINT_LEAST32_MAX;
18084 typedef uint_least64_t my_uint_least64_t;
18085 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18086 uil64 = UINT_LEAST64_MAX;
18087 typedef uintmax_t my_uintmax_t;
18088 my_uintmax_t uim = UINTMAX_MAX;
18089 uim = UINTMAX_MAX;
18090 typedef uintptr_t my_uintptr_t;
18091 my_uintptr_t uip = UINTPTR_MAX;
18092 uip = UINTPTR_MAX;
18095 return 0;
18097 _ACEOF
18098 if ac_fn_cxx_try_compile "$LINENO"; then :
18099 glibcxx_cv_c99_stdint=yes
18100 else
18101 glibcxx_cv_c99_stdint=no
18103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint" >&5
18107 $as_echo "$glibcxx_cv_c99_stdint" >&6; }
18108 if test x"$glibcxx_cv_c99_stdint" = x"yes"; then
18110 $as_echo "#define _GLIBCXX_USE_C99_STDINT 1" >>confdefs.h
18114 # Check for the existence of <inttypes.h> functions (NB: doesn't make
18115 # sense if the glibcxx_cv_c99_stdint check fails, per C99, 7.8/1).
18116 ac_c99_inttypes=no;
18117 if test x"$glibcxx_cv_c99_stdint" = x"yes"; then
18118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support for C++11 in <inttypes.h>" >&5
18119 $as_echo_n "checking for ISO C99 support for C++11 in <inttypes.h>... " >&6; }
18120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18121 /* end confdefs.h. */
18122 #include <inttypes.h>
18124 main ()
18126 intmax_t i, numer, denom, base;
18127 const char* s;
18128 char** endptr;
18129 intmax_t ret = imaxabs(i);
18130 imaxdiv_t dret = imaxdiv(numer, denom);
18131 ret = strtoimax(s, endptr, base);
18132 uintmax_t uret = strtoumax(s, endptr, base);
18135 return 0;
18137 _ACEOF
18138 if ac_fn_cxx_try_compile "$LINENO"; then :
18139 ac_c99_inttypes=yes
18140 else
18141 ac_c99_inttypes=no
18143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes" >&5
18145 $as_echo "$ac_c99_inttypes" >&6; }
18147 if test x"$ac_c99_inttypes" = x"yes"; then
18149 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES 1" >>confdefs.h
18153 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
18154 # make sense if the glibcxx_cv_c99_stdint check fails, per C99, 7.8/1).
18155 ac_c99_inttypes_wchar_t=no;
18156 if test x"$glibcxx_cv_c99_stdint" = x"yes"; then
18157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support for C++11 in <inttypes.h>" >&5
18158 $as_echo_n "checking for wchar_t ISO C99 support for C++11 in <inttypes.h>... " >&6; }
18159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18160 /* end confdefs.h. */
18161 #include <inttypes.h>
18163 main ()
18165 intmax_t base;
18166 const wchar_t* s;
18167 wchar_t** endptr;
18168 intmax_t ret = wcstoimax(s, endptr, base);
18169 uintmax_t uret = wcstoumax(s, endptr, base);
18172 return 0;
18174 _ACEOF
18175 if ac_fn_cxx_try_compile "$LINENO"; then :
18176 ac_c99_inttypes_wchar_t=yes
18177 else
18178 ac_c99_inttypes_wchar_t=no
18180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t" >&5
18182 $as_echo "$ac_c99_inttypes_wchar_t" >&6; }
18184 if test x"$ac_c99_inttypes_wchar_t" = x"yes"; then
18186 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T 1" >>confdefs.h
18190 # Check for the existence of <math.h> generic macros used if C99 is enabled.
18191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 generic macro support in <math.h> for C++11" >&5
18192 $as_echo_n "checking for ISO C99 generic macro support in <math.h> for C++11... " >&6; }
18193 if ${glibcxx_cv_c99_math_cxx11+:} false; then :
18194 $as_echo_n "(cached) " >&6
18195 else
18197 if test x$gcc_no_link = xyes; then
18198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18199 /* end confdefs.h. */
18200 #include <math.h>
18201 volatile double d1, d2;
18202 volatile int i;
18204 main ()
18206 i = fpclassify(d1);
18207 i = isfinite(d1);
18208 i = isinf(d1);
18209 i = isnan(d1);
18210 i = isnormal(d1);
18211 i = signbit(d1);
18212 i = isgreater(d1, d2);
18213 i = isgreaterequal(d1, d2);
18214 i = isless(d1, d2);
18215 i = islessequal(d1, d2);
18216 i = islessgreater(d1, d2);
18217 i = islessgreater(d1, d2);
18218 i = isunordered(d1, d2);
18221 return 0;
18223 _ACEOF
18224 if ac_fn_cxx_try_compile "$LINENO"; then :
18225 glibcxx_cv_c99_math_cxx11=yes
18226 else
18227 glibcxx_cv_c99_math_cxx11=no
18229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18230 else
18231 if test x$gcc_no_link = xyes; then
18232 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18235 /* end confdefs.h. */
18236 #include <math.h>
18237 volatile double d1, d2;
18238 volatile int i;
18240 main ()
18242 i = fpclassify(d1);
18243 i = isfinite(d1);
18244 i = isinf(d1);
18245 i = isnan(d1);
18246 i = isnormal(d1);
18247 i = signbit(d1);
18248 i = isgreater(d1, d2);
18249 i = isgreaterequal(d1, d2);
18250 i = isless(d1, d2);
18251 i = islessequal(d1, d2);
18252 i = islessgreater(d1, d2);
18253 i = islessgreater(d1, d2);
18254 i = isunordered(d1, d2);
18257 return 0;
18259 _ACEOF
18260 if ac_fn_cxx_try_link "$LINENO"; then :
18261 glibcxx_cv_c99_math_cxx11=yes
18262 else
18263 glibcxx_cv_c99_math_cxx11=no
18265 rm -f core conftest.err conftest.$ac_objext \
18266 conftest$ac_exeext conftest.$ac_ext
18270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
18271 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
18272 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
18274 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
18278 # Check for the existence of <math.h> typedefs.
18279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 float types for C++11 in <math.h>" >&5
18280 $as_echo_n "checking for ISO C99 float types for C++11 in <math.h>... " >&6; }
18281 if ${glibcxx_cv_c99_flt_eval_types+:} false; then :
18282 $as_echo_n "(cached) " >&6
18283 else
18285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18286 /* end confdefs.h. */
18287 #include <math.h>
18289 main ()
18291 // Types
18292 typedef double_t my_double_t;
18293 typedef float_t my_float_t;
18296 return 0;
18298 _ACEOF
18299 if ac_fn_cxx_try_compile "$LINENO"; then :
18300 glibcxx_cv_c99_flt_eval_types=yes
18301 else
18302 glibcxx_cv_c99_flt_eval_types=no
18304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_flt_eval_types" >&5
18308 $as_echo "$glibcxx_cv_c99_flt_eval_types" >&6; }
18309 if test x"$glibcxx_cv_c99_flt_eval_types" = x"yes"; then
18311 $as_echo "#define HAVE_C99_FLT_EVAL_TYPES 1" >>confdefs.h
18315 # Check for the existence of <math.h> functions.
18316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 function support for C++11 in <math.h>" >&5
18317 $as_echo_n "checking for ISO C99 function support for C++11 in <math.h>... " >&6; }
18318 if ${glibcxx_cv_c99_math_funcs+:} false; then :
18319 $as_echo_n "(cached) " >&6
18320 else
18322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18323 /* end confdefs.h. */
18324 #include <math.h>
18326 main ()
18329 // Hyperbolic
18330 acosh(0.0);
18331 acoshf(0.0f);
18332 acoshl(0.0l);
18333 asinh(0.0);
18334 asinhf(0.0f);
18335 asinhl(0.0l);
18336 atanh(0.0);
18337 atanhf(0.0f);
18338 atanhl(0.0l);
18339 // Exponential and logarithmic
18340 exp2(0.0);
18341 exp2f(0.0f);
18342 exp2l(0.0l);
18343 expm1(0.0);
18344 expm1f(0.0f);
18345 expm1l(0.0l);
18346 ilogb(0.0);
18347 ilogbf(0.0f);
18348 ilogbl(0.0l);
18349 log1p(0.0);
18350 log1pf(0.0f);
18351 log1pl(0.0l);
18352 log2(0.0);
18353 log2f(0.0f);
18354 log2l(0.0l);
18355 logb(0.0);
18356 logbf(0.0f);
18357 logbl(0.0l);
18358 scalbln(0.0, 0l);
18359 scalblnf(0.0f, 0l);
18360 scalblnl(0.0l, 0l);
18361 scalbn(0.0, 0);
18362 scalbnf(0.0f, 0);
18363 scalbnl(0.0l, 0);
18364 // Power and absolute-value
18365 cbrt(0.0);
18366 cbrtf(0.0f);
18367 cbrtl(0.0l);
18368 hypot(0.0, 0.0);
18369 hypotf(0.0f, 0.0f);
18370 hypotl(0.0l, 0.0l);
18371 // Error and gamma
18372 erf(0.0);
18373 erff(0.0f);
18374 erfl(0.0l);
18375 erfc(0.0);
18376 erfcf(0.0f);
18377 erfcl(0.0l);
18378 lgamma(0.0);
18379 lgammaf(0.0f);
18380 lgammal(0.0l);
18381 tgamma(0.0);
18382 tgammaf(0.0f);
18383 tgammal(0.0l);
18384 // Nearest integer
18385 nearbyint(0.0);
18386 nearbyintf(0.0f);
18387 nearbyintl(0.0l);
18388 rint(0.0);
18389 rintf(0.0f);
18390 rintl(0.0l);
18391 round(0.0);
18392 roundf(0.0f);
18393 roundl(0.0l);
18394 lrint(0.0);
18395 lrintf(0.0f);
18396 lrintl(0.0l);
18397 lround(0.0);
18398 lroundf(0.0f);
18399 lroundl(0.0l);
18400 #ifndef __APPLE__ /* see below */
18401 llrint(0.0);
18402 llrintf(0.0f);
18403 llrintl(0.0l);
18404 llround(0.0);
18405 llroundf(0.0f);
18406 llroundl(0.0l);
18407 #endif
18408 trunc(0.0);
18409 truncf(0.0f);
18410 truncl(0.0l);
18411 // Remainder
18412 remainder(0.0, 0.0);
18413 remainderf(0.0f, 0.0f);
18414 remainderl(0.0l, 0.0l);
18415 remquo(0.0, 0.0, 0);
18416 remquof(0.0f, 0.0f, 0);
18417 remquol(0.0l, 0.0l, 0);
18418 // Manipulation
18419 copysign(0.0, 0.0);
18420 copysignf(0.0f, 0.0f);
18421 copysignl(0.0l, 0.0l);
18422 nan("");
18423 nanf("");
18424 nanl("");
18425 nextafter(0.0, 0.0);
18426 nextafterf(0.0f, 0.0f);
18427 nextafterl(0.0l, 0.0l);
18428 nexttoward(0.0, 0.0);
18429 nexttowardf(0.0f, 0.0f);
18430 nexttowardl(0.0l, 0.0l);
18431 // Max, min, positive difference
18432 fdim(0.0, 0.0);
18433 fdimf(0.0f, 0.0f);
18434 fdiml(0.0l, 0.0l);
18435 fmax(0.0, 0.0);
18436 fmaxf(0.0f, 0.0f);
18437 fmaxl(0.0l, 0.0l);
18438 fmin(0.0, 0.0);
18439 fminf(0.0f, 0.0f);
18440 fminl(0.0l, 0.0l);
18441 // FP Multiply-add
18442 fma(0.0, 0.0, 0.0);
18443 fmaf(0.0f, 0.0f, 0.0f);
18444 fmal(0.0l, 0.0l, 0.0l);
18447 return 0;
18449 _ACEOF
18450 if ac_fn_cxx_try_compile "$LINENO"; then :
18451 glibcxx_cv_c99_math_funcs=yes
18452 else
18453 glibcxx_cv_c99_math_funcs=no
18455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_funcs" >&5
18459 $as_echo "$glibcxx_cv_c99_math_funcs" >&6; }
18460 if test x"$glibcxx_cv_c99_math_funcs" = x"yes"; then
18462 $as_echo "#define _GLIBCXX_USE_C99_MATH_FUNCS 1" >>confdefs.h
18465 case "${target_os}" in
18466 darwin*)
18467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
18468 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
18469 if ${glibcxx_cv_c99_math_llround+:} false; then :
18470 $as_echo_n "(cached) " >&6
18471 else
18473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18474 /* end confdefs.h. */
18475 #include <math.h>
18477 main ()
18479 llrint(0.0);
18480 llrintf(0.0f);
18481 llrintl(0.0l);
18482 llround(0.0);
18483 llroundf(0.0f);
18484 llroundl(0.0l);
18487 return 0;
18489 _ACEOF
18490 if ac_fn_cxx_try_compile "$LINENO"; then :
18491 glibcxx_cv_c99_math_llround=yes
18492 else
18493 glibcxx_cv_c99_math_llround=no
18495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
18499 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
18501 esac
18502 if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
18504 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
18509 # Check for the existence of <complex.h> complex math functions.
18510 # This is necessary even though libstdc++ uses the builtin versions
18511 # of these functions, because if the builtin cannot be used, a reference
18512 # to the library function is emitted.
18513 for ac_header in tgmath.h
18514 do :
18515 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
18516 if test "x$ac_cv_header_tgmath_h" = xyes; then :
18517 cat >>confdefs.h <<_ACEOF
18518 #define HAVE_TGMATH_H 1
18519 _ACEOF
18520 ac_has_tgmath_h=yes
18521 else
18522 ac_has_tgmath_h=no
18525 done
18527 for ac_header in complex.h
18528 do :
18529 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18530 if test "x$ac_cv_header_complex_h" = xyes; then :
18531 cat >>confdefs.h <<_ACEOF
18532 #define HAVE_COMPLEX_H 1
18533 _ACEOF
18534 ac_has_complex_h=yes
18535 else
18536 ac_has_complex_h=no
18539 done
18541 if test x"$ac_has_complex_h" = x"yes"; then
18542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
18543 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
18544 if ${glibcxx_cv_c99_complex_cxx11+:} false; then :
18545 $as_echo_n "(cached) " >&6
18546 else
18548 if test x$gcc_no_link = xyes; then
18549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18550 /* end confdefs.h. */
18551 #include <complex.h>
18552 typedef __complex__ float float_type;
18553 typedef __complex__ double double_type;
18554 typedef __complex__ long double ld_type;
18555 volatile float_type tmpf;
18556 volatile double_type tmpd;
18557 volatile ld_type tmpld;
18558 volatile float f;
18559 volatile double d;
18560 volatile long double ld;
18562 main ()
18564 f = cabsf(tmpf);
18565 f = cargf(tmpf);
18566 tmpf = ccosf(tmpf);
18567 tmpf = ccoshf(tmpf);
18568 tmpf = cexpf(tmpf);
18569 tmpf = clogf(tmpf);
18570 tmpf = csinf(tmpf);
18571 tmpf = csinhf(tmpf);
18572 tmpf = csqrtf(tmpf);
18573 tmpf = ctanf(tmpf);
18574 tmpf = ctanhf(tmpf);
18575 tmpf = cpowf(tmpf, tmpf);
18576 tmpf = cprojf(tmpf);
18577 d = cabs(tmpd);
18578 d = carg(tmpd);
18579 tmpd = ccos(tmpd);
18580 tmpd = ccosh(tmpd);
18581 tmpd = cexp(tmpd);
18582 tmpd = clog(tmpd);
18583 tmpd = csin(tmpd);
18584 tmpd = csinh(tmpd);
18585 tmpd = csqrt(tmpd);
18586 tmpd = ctan(tmpd);
18587 tmpd = ctanh(tmpd);
18588 tmpd = cpow(tmpd, tmpd);
18589 tmpd = cproj(tmpd);
18590 ld = cabsl(tmpld);
18591 ld = cargl(tmpld);
18592 tmpld = ccosl(tmpld);
18593 tmpld = ccoshl(tmpld);
18594 tmpld = cexpl(tmpld);
18595 tmpld = clogl(tmpld);
18596 tmpld = csinl(tmpld);
18597 tmpld = csinhl(tmpld);
18598 tmpld = csqrtl(tmpld);
18599 tmpld = ctanl(tmpld);
18600 tmpld = ctanhl(tmpld);
18601 tmpld = cpowl(tmpld, tmpld);
18602 tmpld = cprojl(tmpld);
18605 return 0;
18607 _ACEOF
18608 if ac_fn_cxx_try_compile "$LINENO"; then :
18609 glibcxx_cv_c99_complex_cxx11=yes
18610 else
18611 glibcxx_cv_c99_complex_cxx11=no
18613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18614 else
18615 if test x$gcc_no_link = xyes; then
18616 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18619 /* end confdefs.h. */
18620 #include <complex.h>
18621 typedef __complex__ float float_type;
18622 typedef __complex__ double double_type;
18623 typedef __complex__ long double ld_type;
18624 volatile float_type tmpf;
18625 volatile double_type tmpd;
18626 volatile ld_type tmpld;
18627 volatile float f;
18628 volatile double d;
18629 volatile long double ld;
18631 main ()
18633 f = cabsf(tmpf);
18634 f = cargf(tmpf);
18635 tmpf = ccosf(tmpf);
18636 tmpf = ccoshf(tmpf);
18637 tmpf = cexpf(tmpf);
18638 tmpf = clogf(tmpf);
18639 tmpf = csinf(tmpf);
18640 tmpf = csinhf(tmpf);
18641 tmpf = csqrtf(tmpf);
18642 tmpf = ctanf(tmpf);
18643 tmpf = ctanhf(tmpf);
18644 tmpf = cpowf(tmpf, tmpf);
18645 tmpf = cprojf(tmpf);
18646 d = cabs(tmpd);
18647 d = carg(tmpd);
18648 tmpd = ccos(tmpd);
18649 tmpd = ccosh(tmpd);
18650 tmpd = cexp(tmpd);
18651 tmpd = clog(tmpd);
18652 tmpd = csin(tmpd);
18653 tmpd = csinh(tmpd);
18654 tmpd = csqrt(tmpd);
18655 tmpd = ctan(tmpd);
18656 tmpd = ctanh(tmpd);
18657 tmpd = cpow(tmpd, tmpd);
18658 tmpd = cproj(tmpd);
18659 ld = cabsl(tmpld);
18660 ld = cargl(tmpld);
18661 tmpld = ccosl(tmpld);
18662 tmpld = ccoshl(tmpld);
18663 tmpld = cexpl(tmpld);
18664 tmpld = clogl(tmpld);
18665 tmpld = csinl(tmpld);
18666 tmpld = csinhl(tmpld);
18667 tmpld = csqrtl(tmpld);
18668 tmpld = ctanl(tmpld);
18669 tmpld = ctanhl(tmpld);
18670 tmpld = cpowl(tmpld, tmpld);
18671 tmpld = cprojl(tmpld);
18674 return 0;
18676 _ACEOF
18677 if ac_fn_cxx_try_link "$LINENO"; then :
18678 glibcxx_cv_c99_complex_cxx11=yes
18679 else
18680 glibcxx_cv_c99_complex_cxx11=no
18682 rm -f core conftest.err conftest.$ac_objext \
18683 conftest$ac_exeext conftest.$ac_ext
18687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
18688 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
18690 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
18692 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
18696 # Check for the existence of <complex.h> complex inverse trigonometric
18697 # math functions used by <complex> for C++11 and later.
18698 ac_c99_complex_arc=no;
18699 if test x"$ac_has_complex_h" = x"yes"; then
18700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support for inverse trig functions in <complex.h>" >&5
18701 $as_echo_n "checking for ISO C99 support for inverse trig functions in <complex.h>... " >&6; }
18702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18703 /* end confdefs.h. */
18704 #include <complex.h>
18706 main ()
18708 typedef __complex__ float float_type; float_type tmpf;
18709 cacosf(tmpf);
18710 casinf(tmpf);
18711 catanf(tmpf);
18712 cacoshf(tmpf);
18713 casinhf(tmpf);
18714 catanhf(tmpf);
18715 typedef __complex__ double double_type; double_type tmpd;
18716 cacos(tmpd);
18717 casin(tmpd);
18718 catan(tmpd);
18719 cacosh(tmpd);
18720 casinh(tmpd);
18721 catanh(tmpd);
18722 typedef __complex__ long double ld_type; ld_type tmpld;
18723 cacosl(tmpld);
18724 casinl(tmpld);
18725 catanl(tmpld);
18726 cacoshl(tmpld);
18727 casinhl(tmpld);
18728 catanhl(tmpld);
18731 return 0;
18733 _ACEOF
18734 if ac_fn_cxx_try_compile "$LINENO"; then :
18735 ac_c99_complex_arc=yes
18736 else
18737 ac_c99_complex_arc=no
18739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_arc" >&5
18742 $as_echo "$ac_c99_complex_arc" >&6; }
18743 if test x"$ac_c99_complex_arc" = x"yes"; then
18745 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_ARC 1" >>confdefs.h
18749 # Check for the existence in <stdio.h> of vscanf, et. al.
18750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
18751 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
18752 if ${glibcxx_cv_c99_stdio_cxx11+:} false; then :
18753 $as_echo_n "(cached) " >&6
18754 else
18756 if test x$gcc_no_link = xyes; then
18757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18758 /* end confdefs.h. */
18759 #include <stdio.h>
18760 #include <stdarg.h>
18761 void foo(char* fmt, ...)
18763 va_list args; va_start(args, fmt);
18764 vfscanf(stderr, "%i", args);
18765 vscanf("%i", args);
18766 vsnprintf(fmt, 0, "%i", args);
18767 vsscanf(fmt, "%i", args);
18768 snprintf(fmt, 0, "%i");
18771 main ()
18775 return 0;
18777 _ACEOF
18778 if ac_fn_cxx_try_compile "$LINENO"; then :
18779 glibcxx_cv_c99_stdio_cxx11=yes
18780 else
18781 glibcxx_cv_c99_stdio_cxx11=no
18783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18784 else
18785 if test x$gcc_no_link = xyes; then
18786 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18789 /* end confdefs.h. */
18790 #include <stdio.h>
18791 #include <stdarg.h>
18792 void foo(char* fmt, ...)
18794 va_list args; va_start(args, fmt);
18795 vfscanf(stderr, "%i", args);
18796 vscanf("%i", args);
18797 vsnprintf(fmt, 0, "%i", args);
18798 vsscanf(fmt, "%i", args);
18799 snprintf(fmt, 0, "%i");
18802 main ()
18806 return 0;
18808 _ACEOF
18809 if ac_fn_cxx_try_link "$LINENO"; then :
18810 glibcxx_cv_c99_stdio_cxx11=yes
18811 else
18812 glibcxx_cv_c99_stdio_cxx11=no
18814 rm -f core conftest.err conftest.$ac_objext \
18815 conftest$ac_exeext conftest.$ac_ext
18819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
18820 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
18821 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
18823 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
18827 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
18828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
18829 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
18830 if ${glibcxx_cv_c99_stdlib_cxx11+:} false; then :
18831 $as_echo_n "(cached) " >&6
18832 else
18834 if test x$gcc_no_link = xyes; then
18835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18836 /* end confdefs.h. */
18837 #include <stdlib.h>
18838 volatile float f;
18839 volatile long double ld;
18840 volatile unsigned long long ll;
18841 lldiv_t mydivt;
18843 main ()
18845 char* tmp;
18846 f = strtof("gnu", &tmp);
18847 ld = strtold("gnu", &tmp);
18848 ll = strtoll("gnu", &tmp, 10);
18849 ll = strtoull("gnu", &tmp, 10);
18850 ll = llabs(10);
18851 mydivt = lldiv(10,1);
18852 ll = mydivt.quot;
18853 ll = mydivt.rem;
18854 ll = atoll("10");
18855 _Exit(0);
18858 return 0;
18860 _ACEOF
18861 if ac_fn_cxx_try_compile "$LINENO"; then :
18862 glibcxx_cv_c99_stdlib_cxx11=yes
18863 else
18864 glibcxx_cv_c99_stdlib_cxx11=no
18866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18867 else
18868 if test x$gcc_no_link = xyes; then
18869 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18872 /* end confdefs.h. */
18873 #include <stdlib.h>
18874 volatile float f;
18875 volatile long double ld;
18876 volatile unsigned long long ll;
18877 lldiv_t mydivt;
18879 main ()
18881 char* tmp;
18882 f = strtof("gnu", &tmp);
18883 ld = strtold("gnu", &tmp);
18884 ll = strtoll("gnu", &tmp, 10);
18885 ll = strtoull("gnu", &tmp, 10);
18886 ll = llabs(10);
18887 mydivt = lldiv(10,1);
18888 ll = mydivt.quot;
18889 ll = mydivt.rem;
18890 ll = atoll("10");
18891 _Exit(0);
18894 return 0;
18896 _ACEOF
18897 if ac_fn_cxx_try_link "$LINENO"; then :
18898 glibcxx_cv_c99_stdlib_cxx11=yes
18899 else
18900 glibcxx_cv_c99_stdlib_cxx11=no
18902 rm -f core conftest.err conftest.$ac_objext \
18903 conftest$ac_exeext conftest.$ac_ext
18907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
18908 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
18909 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
18911 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
18915 # Check for the existence in <wchar.h> of wcstold, etc.
18916 if test x"$ac_has_wchar_h" = xyes &&
18917 test x"$ac_has_wctype_h" = xyes; then
18918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
18919 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
18920 if ${glibcxx_cv_c99_wchar_cxx11+:} false; then :
18921 $as_echo_n "(cached) " >&6
18922 else
18924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18925 /* end confdefs.h. */
18926 #include <wchar.h>
18927 namespace test
18929 using ::wcstold;
18930 using ::wcstoll;
18931 using ::wcstoull;
18935 main ()
18939 return 0;
18941 _ACEOF
18942 if ac_fn_cxx_try_compile "$LINENO"; then :
18943 glibcxx_cv_c99_wchar_cxx11=yes
18944 else
18945 glibcxx_cv_c99_wchar_cxx11=no
18947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
18951 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
18953 # Checks for wide character functions that may not be present.
18954 # Injection of these is wrapped with guard macros.
18955 # NB: only put functions here, instead of immediately above, if
18956 # absolutely necessary.
18957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18958 /* end confdefs.h. */
18959 #include <wchar.h>
18960 namespace test { using ::vfwscanf; }
18962 main ()
18966 return 0;
18968 _ACEOF
18969 if ac_fn_cxx_try_compile "$LINENO"; then :
18971 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
18974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18977 /* end confdefs.h. */
18978 #include <wchar.h>
18979 namespace test { using ::vswscanf; }
18981 main ()
18985 return 0;
18987 _ACEOF
18988 if ac_fn_cxx_try_compile "$LINENO"; then :
18990 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
18993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18996 /* end confdefs.h. */
18997 #include <wchar.h>
18998 namespace test { using ::vwscanf; }
19000 main ()
19004 return 0;
19006 _ACEOF
19007 if ac_fn_cxx_try_compile "$LINENO"; then :
19009 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
19012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19015 /* end confdefs.h. */
19016 #include <wchar.h>
19017 namespace test { using ::wcstof; }
19019 main ()
19023 return 0;
19025 _ACEOF
19026 if ac_fn_cxx_try_compile "$LINENO"; then :
19028 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
19031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19034 /* end confdefs.h. */
19035 #include <wctype.h>
19037 main ()
19039 wint_t t; int i = iswblank(t);
19041 return 0;
19043 _ACEOF
19044 if ac_fn_cxx_try_compile "$LINENO"; then :
19046 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
19049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19051 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
19053 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
19058 # Check for the existence of <ctype.h> functions.
19059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support for C++11 in <ctype.h>" >&5
19060 $as_echo_n "checking for ISO C99 support for C++11 in <ctype.h>... " >&6; }
19061 if ${glibcxx_cv_c99_ctype+:} false; then :
19062 $as_echo_n "(cached) " >&6
19063 else
19065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19066 /* end confdefs.h. */
19067 #include <ctype.h>
19069 main ()
19071 int ch;
19072 int ret;
19073 ret = isblank(ch);
19076 return 0;
19078 _ACEOF
19079 if ac_fn_cxx_try_compile "$LINENO"; then :
19080 glibcxx_cv_c99_ctype=yes
19081 else
19082 glibcxx_cv_c99_ctype=no
19084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype" >&5
19088 $as_echo "$glibcxx_cv_c99_ctype" >&6; }
19089 if test x"$glibcxx_cv_c99_ctype" = x"yes"; then
19091 $as_echo "#define _GLIBCXX_USE_C99_CTYPE 1" >>confdefs.h
19095 # Check for the existence of <fenv.h> functions.
19096 for ac_header in fenv.h
19097 do :
19098 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19099 if test "x$ac_cv_header_fenv_h" = xyes; then :
19100 cat >>confdefs.h <<_ACEOF
19101 #define HAVE_FENV_H 1
19102 _ACEOF
19103 ac_has_fenv_h=yes
19104 else
19105 ac_has_fenv_h=no
19108 done
19110 ac_c99_fenv=no;
19111 if test x"$ac_has_fenv_h" = x"yes"; then
19112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support for C++11 in <fenv.h>" >&5
19113 $as_echo_n "checking for ISO C99 support for C++11 in <fenv.h>... " >&6; }
19114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19115 /* end confdefs.h. */
19116 #include <fenv.h>
19118 main ()
19120 int except, mode;
19121 fexcept_t* pflag;
19122 fenv_t* penv;
19123 int ret;
19124 ret = feclearexcept(except);
19125 ret = fegetexceptflag(pflag, except);
19126 ret = feraiseexcept(except);
19127 ret = fesetexceptflag(pflag, except);
19128 ret = fetestexcept(except);
19129 ret = fegetround();
19130 ret = fesetround(mode);
19131 ret = fegetenv(penv);
19132 ret = feholdexcept(penv);
19133 ret = fesetenv(penv);
19134 ret = feupdateenv(penv);
19137 return 0;
19139 _ACEOF
19140 if ac_fn_cxx_try_compile "$LINENO"; then :
19141 ac_c99_fenv=yes
19142 else
19143 ac_c99_fenv=no
19145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv" >&5
19147 $as_echo "$ac_c99_fenv" >&6; }
19149 if test x"$ac_c99_fenv" = x"yes"; then
19151 $as_echo "#define _GLIBCXX_USE_C99_FENV 1" >>confdefs.h
19155 gcc_no_link="$ac_save_gcc_no_link"
19156 LIBS="$ac_save_LIBS"
19157 CXXFLAGS="$ac_save_CXXFLAGS"
19158 ac_ext=c
19159 ac_cpp='$CPP $CPPFLAGS'
19160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
19167 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
19168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
19169 $as_echo "$enable_c99" >&6; }
19172 # Check whether --enable-concept-checks was given.
19173 if test "${enable_concept_checks+set}" = set; then :
19174 enableval=$enable_concept_checks;
19175 case "$enableval" in
19176 yes|no) ;;
19177 *) as_fn_error $? "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
19178 esac
19180 else
19181 enable_concept_checks=no
19185 if test $enable_concept_checks = yes; then
19187 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
19192 # Check whether --enable-libstdcxx-debug-flags was given.
19193 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
19194 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
19195 xno | x) enable_libstdcxx_debug_flags= ;;
19196 x-*) ;;
19197 *) as_fn_error $? "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
19198 esac
19199 else
19200 enable_libstdcxx_debug_flags="-g3 -O0 -D_GLIBCXX_ASSERTIONS"
19205 # Option parsed, now set things appropriately
19206 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
19209 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
19210 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
19213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
19214 $as_echo_n "checking for additional debug build... " >&6; }
19215 skip_debug_build=
19216 # Check whether --enable-libstdcxx-debug was given.
19217 if test "${enable_libstdcxx_debug+set}" = set; then :
19218 enableval=$enable_libstdcxx_debug;
19219 case "$enableval" in
19220 yes|no) ;;
19221 *) as_fn_error $? "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
19222 esac
19224 else
19225 enable_libstdcxx_debug=no
19229 if test x$enable_libstdcxx_debug = xyes; then
19230 if test -f $toplevel_builddir/../stage_final \
19231 && test -f $toplevel_builddir/../stage_current; then
19232 stage_final=`cat $toplevel_builddir/../stage_final`
19233 stage_current=`cat $toplevel_builddir/../stage_current`
19234 if test x$stage_current != x$stage_final ; then
19235 skip_debug_build=" (skipped for bootstrap stage $stage_current)"
19236 enable_libstdcxx_debug=no
19240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug$skip_debug_build" >&5
19241 $as_echo "$enable_libstdcxx_debug$skip_debug_build" >&6; }
19246 enable_parallel=no;
19248 # See if configured libgomp/omp.h exists. (libgomp may be in
19249 # noconfigdirs but not explicitly disabled.)
19250 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
19251 enable_parallel=yes;
19252 else
19253 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
19254 $as_echo "$as_me: target-libgomp not built" >&6;}
19257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
19258 $as_echo_n "checking for parallel mode support... " >&6; }
19259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
19260 $as_echo "$enable_parallel" >&6; }
19262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
19263 $as_echo_n "checking for extra compiler flags for building... " >&6; }
19264 # Check whether --enable-cxx-flags was given.
19265 if test "${enable_cxx_flags+set}" = set; then :
19266 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
19267 xno | x) enable_cxx_flags= ;;
19268 x-*) ;;
19269 *) as_fn_error $? "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
19270 esac
19271 else
19272 enable_cxx_flags=
19277 # Run through flags (either default or command-line) and set anything
19278 # extra (e.g., #defines) that must accompany particular g++ options.
19279 if test -n "$enable_cxx_flags"; then
19280 for f in $enable_cxx_flags; do
19281 case "$f" in
19282 -fhonor-std) ;;
19283 -*) ;;
19284 *) # and we're trying to pass /what/ exactly?
19285 as_fn_error $? "compiler flags start with a -" "$LINENO" 5 ;;
19286 esac
19287 done
19290 EXTRA_CXX_FLAGS="$enable_cxx_flags"
19291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
19292 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
19296 # Check whether --enable-fully-dynamic-string was given.
19297 if test "${enable_fully_dynamic_string+set}" = set; then :
19298 enableval=$enable_fully_dynamic_string;
19299 case "$enableval" in
19300 yes|no) ;;
19301 *) as_fn_error $? "Unknown argument to enable/disable fully-dynamic-string" "$LINENO" 5 ;;
19302 esac
19304 else
19305 enable_fully_dynamic_string=no
19309 if test $enable_fully_dynamic_string = yes; then
19310 enable_fully_dynamic_string_def=1
19311 else
19312 enable_fully_dynamic_string_def=0
19315 cat >>confdefs.h <<_ACEOF
19316 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
19317 _ACEOF
19322 # Check whether --enable-extern-template was given.
19323 if test "${enable_extern_template+set}" = set; then :
19324 enableval=$enable_extern_template;
19325 case "$enableval" in
19326 yes|no) ;;
19327 *) as_fn_error $? "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
19328 esac
19330 else
19331 enable_extern_template=yes
19336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
19337 $as_echo_n "checking for extern template support... " >&6; }
19338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
19339 $as_echo "$enable_extern_template" >&6; }
19345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
19346 $as_echo_n "checking for custom python install directory... " >&6; }
19348 # Check whether --with-python-dir was given.
19349 if test "${with_python_dir+set}" = set; then :
19350 withval=$with_python_dir; with_python_dir=$withval
19351 else
19352 with_python_dir="no"
19355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
19356 $as_echo "${with_python_dir}" >&6; }
19358 # Needed for installing Python modules during make install.
19359 python_mod_dir="${with_python_dir}"
19364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
19365 $as_echo_n "checking for -Werror... " >&6; }
19366 # Check whether --enable-werror was given.
19367 if test "${enable_werror+set}" = set; then :
19368 enableval=$enable_werror;
19369 case "$enableval" in
19370 yes|no) ;;
19371 *) as_fn_error $? "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
19372 esac
19374 else
19375 enable_werror=no
19379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
19380 $as_echo "$enable_werror" >&6; }
19385 # Check whether --enable-vtable-verify was given.
19386 if test "${enable_vtable_verify+set}" = set; then :
19387 enableval=$enable_vtable_verify;
19388 case "$enableval" in
19389 yes|no) ;;
19390 *) as_fn_error $? "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
19391 esac
19393 else
19394 enable_vtable_verify=no
19399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
19400 $as_echo_n "checking for vtable verify support... " >&6; }
19401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
19402 $as_echo "$enable_vtable_verify" >&6; }
19404 vtv_cygmin=no
19405 if test $enable_vtable_verify = yes; then
19406 case ${target_os} in
19407 cygwin*|mingw32*)
19408 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
19409 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
19410 vtv_cygmin=yes
19412 darwin*)
19413 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
19414 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
19416 solaris2*)
19417 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
19418 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
19421 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
19422 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
19424 esac
19425 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
19426 else
19427 VTV_CXXFLAGS=
19428 VTV_PCH_CXXFLAGS=
19429 VTV_CXXLINKFLAGS=
19435 if test x$vtv_cygmin = xyes; then
19436 VTV_CYGMIN_TRUE=
19437 VTV_CYGMIN_FALSE='#'
19438 else
19439 VTV_CYGMIN_TRUE='#'
19440 VTV_CYGMIN_FALSE=
19446 # Checks for operating systems support that doesn't require linking.
19450 ac_ext=cpp
19451 ac_cpp='$CXXCPP $CPPFLAGS'
19452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19456 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
19457 # and we don't need a declaration for C++14 anyway.
19458 ac_save_CXXFLAGS="$CXXFLAGS"
19459 CXXFLAGS="$CXXFLAGS -std=gnu++11"
19461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
19462 $as_echo_n "checking for gets declaration... " >&6; }
19463 if ${glibcxx_cv_gets+:} false; then :
19464 $as_echo_n "(cached) " >&6
19465 else
19467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19468 /* end confdefs.h. */
19469 #include <stdio.h>
19470 namespace test
19472 using ::gets;
19475 _ACEOF
19476 if ac_fn_cxx_try_compile "$LINENO"; then :
19477 glibcxx_cv_gets=yes
19478 else
19479 glibcxx_cv_gets=no
19482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
19485 $as_echo "$glibcxx_cv_gets" >&6; }
19487 if test $glibcxx_cv_gets = yes; then
19489 $as_echo "#define HAVE_GETS 1" >>confdefs.h
19493 CXXFLAGS="$ac_save_CXXFLAGS"
19494 ac_ext=c
19495 ac_cpp='$CPP $CPPFLAGS'
19496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19504 ac_ext=cpp
19505 ac_cpp='$CXXCPP $CPPFLAGS'
19506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19510 ac_save_CXXFLAGS="$CXXFLAGS"
19511 CXXFLAGS="$CXXFLAGS -std=c++11"
19513 case "$host" in
19514 *-*-solaris2.*)
19515 # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
19516 # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
19517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
19518 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
19519 if ${glibcxx_cv_math11_fp_overload+:} false; then :
19520 $as_echo_n "(cached) " >&6
19521 else
19523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19524 /* end confdefs.h. */
19525 #include <math.h>
19526 #undef isfinite
19527 namespace std {
19528 inline bool isfinite(float __x)
19529 { return __builtin_isfinite(__x); }
19532 _ACEOF
19533 if ac_fn_cxx_try_compile "$LINENO"; then :
19534 glibcxx_cv_math11_fp_overload=no
19535 else
19536 glibcxx_cv_math11_fp_overload=yes
19539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
19542 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
19544 # autoheader cannot handle indented templates.
19547 if test $glibcxx_cv_math11_fp_overload = yes; then
19548 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
19552 # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
19553 # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
19554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
19555 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
19556 if ${glibcxx_cv_math11_int_overload+:} false; then :
19557 $as_echo_n "(cached) " >&6
19558 else
19560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19561 /* end confdefs.h. */
19562 #include <math.h>
19563 namespace std {
19564 template<typename _Tp>
19565 struct __is_integer;
19566 template<>
19567 struct __is_integer<int>
19569 enum { __value = 1 };
19572 namespace __gnu_cxx {
19573 template<bool, typename>
19574 struct __enable_if;
19575 template<typename _Tp>
19576 struct __enable_if<true, _Tp>
19577 { typedef _Tp __type; };
19579 namespace std {
19580 template<typename _Tp>
19581 constexpr typename __gnu_cxx::__enable_if
19582 <__is_integer<_Tp>::__value, double>::__type
19583 log2(_Tp __x)
19584 { return __builtin_log2(__x); }
19587 main (void)
19589 int i = 1000;
19590 return std::log2(i);
19593 _ACEOF
19594 if ac_fn_cxx_try_compile "$LINENO"; then :
19595 glibcxx_cv_math11_int_overload=no
19596 else
19597 glibcxx_cv_math11_int_overload=yes
19600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
19603 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
19605 # autoheader cannot handle indented templates.
19608 if test $glibcxx_cv_math11_int_overload = yes; then
19609 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
19614 # If <math.h> defines the obsolete isinf(double) and isnan(double)
19615 # functions (instead of or as well as the C99 generic macros) then we
19616 # can't define std::isinf(double) and std::isnan(double) in <cmath>
19617 # and must use the ones from <math.h> instead.
19618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
19619 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
19620 if ${glibcxx_cv_obsolete_isinf+:} false; then :
19621 $as_echo_n "(cached) " >&6
19622 else
19624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19625 /* end confdefs.h. */
19626 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
19627 #include <math.h>
19628 #undef isinf
19629 namespace std {
19630 using ::isinf;
19631 bool isinf(float);
19632 bool isinf(long double);
19634 using std::isinf;
19635 bool b = isinf(0.0);
19637 _ACEOF
19638 if ac_fn_cxx_try_compile "$LINENO"; then :
19639 glibcxx_cv_obsolete_isinf=yes
19640 else
19641 glibcxx_cv_obsolete_isinf=no
19644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
19647 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
19648 if test $glibcxx_cv_obsolete_isinf = yes; then
19650 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
19654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
19655 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
19656 if ${glibcxx_cv_obsolete_isnan+:} false; then :
19657 $as_echo_n "(cached) " >&6
19658 else
19660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19661 /* end confdefs.h. */
19662 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
19663 #include <math.h>
19664 #undef isnan
19665 namespace std {
19666 using ::isnan;
19667 bool isnan(float);
19668 bool isnan(long double);
19670 using std::isnan;
19671 bool b = isnan(0.0);
19673 _ACEOF
19674 if ac_fn_cxx_try_compile "$LINENO"; then :
19675 glibcxx_cv_obsolete_isnan=yes
19676 else
19677 glibcxx_cv_obsolete_isnan=no
19680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
19683 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
19684 if test $glibcxx_cv_obsolete_isnan = yes; then
19686 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
19690 esac
19692 CXXFLAGS="$ac_save_CXXFLAGS"
19693 ac_ext=c
19694 ac_cpp='$CPP $CPPFLAGS'
19695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19702 # Test uchar.h.
19703 for ac_header in uchar.h
19704 do :
19705 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19706 if test "x$ac_cv_header_uchar_h" = xyes; then :
19707 cat >>confdefs.h <<_ACEOF
19708 #define HAVE_UCHAR_H 1
19709 _ACEOF
19710 ac_has_uchar_h=yes
19711 else
19712 ac_has_uchar_h=no
19715 done
19719 ac_ext=cpp
19720 ac_cpp='$CXXCPP $CPPFLAGS'
19721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19725 ac_save_CXXFLAGS="$CXXFLAGS"
19726 CXXFLAGS="$CXXFLAGS -std=c++11"
19728 if test x"$ac_has_uchar_h" = x"yes"; then
19729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19730 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19732 /* end confdefs.h. */
19733 #include <uchar.h>
19734 #ifdef __STDC_UTF_16__
19735 long i = __STDC_UTF_16__;
19736 #endif
19737 #ifdef __STDC_UTF_32__
19738 long j = __STDC_UTF_32__;
19739 #endif
19740 namespace test
19742 using ::c16rtomb;
19743 using ::c32rtomb;
19744 using ::mbrtoc16;
19745 using ::mbrtoc32;
19749 main ()
19753 return 0;
19755 _ACEOF
19756 if ac_fn_cxx_try_compile "$LINENO"; then :
19757 ac_c11_uchar_cxx11=yes
19758 else
19759 ac_c11_uchar_cxx11=no
19761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19763 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19764 else
19765 ac_c11_uchar_cxx11=no
19767 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19769 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19773 CXXFLAGS="$CXXFLAGS -fchar8_t"
19774 if test x"$ac_has_uchar_h" = x"yes"; then
19775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c8rtomb and mbrtoc8 in <uchar.h> with -fchar8_t" >&5
19776 $as_echo_n "checking for c8rtomb and mbrtoc8 in <uchar.h> with -fchar8_t... " >&6; }
19777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19778 /* end confdefs.h. */
19779 #include <uchar.h>
19780 namespace test
19782 using ::c8rtomb;
19783 using ::mbrtoc8;
19787 main ()
19791 return 0;
19793 _ACEOF
19794 if ac_fn_cxx_try_compile "$LINENO"; then :
19795 ac_uchar_c8rtomb_mbrtoc8_fchar8_t=yes
19796 else
19797 ac_uchar_c8rtomb_mbrtoc8_fchar8_t=no
19799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_uchar_c8rtomb_mbrtoc8_fchar8_t" >&5
19801 $as_echo "$ac_uchar_c8rtomb_mbrtoc8_fchar8_t" >&6; }
19802 else
19803 ac_uchar_c8rtomb_mbrtoc8_fchar8_t=no
19805 if test x"$ac_uchar_c8rtomb_mbrtoc8_fchar8_t" = x"yes"; then
19807 $as_echo "#define _GLIBCXX_USE_UCHAR_C8RTOMB_MBRTOC8_FCHAR8_T 1" >>confdefs.h
19811 CXXFLAGS="$CXXFLAGS -std=c++20"
19812 if test x"$ac_has_uchar_h" = x"yes"; then
19813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c8rtomb and mbrtoc8 in <uchar.h> with -std=c++20" >&5
19814 $as_echo_n "checking for c8rtomb and mbrtoc8 in <uchar.h> with -std=c++20... " >&6; }
19815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19816 /* end confdefs.h. */
19817 #include <uchar.h>
19818 namespace test
19820 using ::c8rtomb;
19821 using ::mbrtoc8;
19825 main ()
19829 return 0;
19831 _ACEOF
19832 if ac_fn_cxx_try_compile "$LINENO"; then :
19833 ac_uchar_c8rtomb_mbrtoc8_cxx20=yes
19834 else
19835 ac_uchar_c8rtomb_mbrtoc8_cxx20=no
19837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_uchar_c8rtomb_mbrtoc8_cxx20" >&5
19839 $as_echo "$ac_uchar_c8rtomb_mbrtoc8_cxx20" >&6; }
19840 else
19841 ac_uchar_c8rtomb_mbrtoc8_cxx20=no
19843 if test x"$ac_uchar_c8rtomb_mbrtoc8_cxx20" = x"yes"; then
19845 $as_echo "#define _GLIBCXX_USE_UCHAR_C8RTOMB_MBRTOC8_CXX20 1" >>confdefs.h
19849 CXXFLAGS="$ac_save_CXXFLAGS"
19850 ac_ext=c
19851 ac_cpp='$CPP $CPPFLAGS'
19852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19858 # For LFS support.
19861 ac_ext=cpp
19862 ac_cpp='$CXXCPP $CPPFLAGS'
19863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19867 ac_save_CXXFLAGS="$CXXFLAGS"
19868 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19870 $as_echo_n "checking for LFS support... " >&6; }
19871 if ${glibcxx_cv_LFS+:} false; then :
19872 $as_echo_n "(cached) " >&6
19873 else
19875 if test x$gcc_no_link = xyes; then
19876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19877 /* end confdefs.h. */
19878 #include <unistd.h>
19879 #include <stdio.h>
19880 #include <sys/stat.h>
19883 main ()
19885 FILE* fp;
19886 fopen64("t", "w");
19887 fseeko64(fp, 0, SEEK_CUR);
19888 ftello64(fp);
19889 lseek64(1, 0, SEEK_CUR);
19890 struct stat64 buf;
19891 fstat64(1, &buf);
19893 return 0;
19895 _ACEOF
19896 if ac_fn_cxx_try_compile "$LINENO"; then :
19897 glibcxx_cv_LFS=yes
19898 else
19899 glibcxx_cv_LFS=no
19901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19902 else
19903 if test x$gcc_no_link = xyes; then
19904 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19907 /* end confdefs.h. */
19908 #include <unistd.h>
19909 #include <stdio.h>
19910 #include <sys/stat.h>
19913 main ()
19915 FILE* fp;
19916 fopen64("t", "w");
19917 fseeko64(fp, 0, SEEK_CUR);
19918 ftello64(fp);
19919 lseek64(1, 0, SEEK_CUR);
19920 struct stat64 buf;
19921 fstat64(1, &buf);
19923 return 0;
19925 _ACEOF
19926 if ac_fn_cxx_try_link "$LINENO"; then :
19927 glibcxx_cv_LFS=yes
19928 else
19929 glibcxx_cv_LFS=no
19931 rm -f core conftest.err conftest.$ac_objext \
19932 conftest$ac_exeext conftest.$ac_ext
19936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19937 $as_echo "$glibcxx_cv_LFS" >&6; }
19938 if test $glibcxx_cv_LFS = yes; then
19940 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19943 CXXFLAGS="$ac_save_CXXFLAGS"
19944 ac_ext=c
19945 ac_cpp='$CPP $CPPFLAGS'
19946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19952 # For showmanyc_helper().
19953 for ac_header in sys/ioctl.h sys/filio.h
19954 do :
19955 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19956 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19957 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19958 cat >>confdefs.h <<_ACEOF
19959 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19960 _ACEOF
19964 done
19969 ac_ext=cpp
19970 ac_cpp='$CXXCPP $CPPFLAGS'
19971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19975 ac_save_CXXFLAGS="$CXXFLAGS"
19976 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19979 $as_echo_n "checking for poll... " >&6; }
19980 if ${glibcxx_cv_POLL+:} false; then :
19981 $as_echo_n "(cached) " >&6
19982 else
19984 if test x$gcc_no_link = xyes; then
19985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19986 /* end confdefs.h. */
19987 #include <poll.h>
19989 main ()
19991 struct pollfd pfd[1];
19992 pfd[0].events = POLLIN;
19993 poll(pfd, 1, 0);
19995 return 0;
19997 _ACEOF
19998 if ac_fn_cxx_try_compile "$LINENO"; then :
19999 glibcxx_cv_POLL=yes
20000 else
20001 glibcxx_cv_POLL=no
20003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20004 else
20005 if test x$gcc_no_link = xyes; then
20006 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20009 /* end confdefs.h. */
20010 #include <poll.h>
20012 main ()
20014 struct pollfd pfd[1];
20015 pfd[0].events = POLLIN;
20016 poll(pfd, 1, 0);
20018 return 0;
20020 _ACEOF
20021 if ac_fn_cxx_try_link "$LINENO"; then :
20022 glibcxx_cv_POLL=yes
20023 else
20024 glibcxx_cv_POLL=no
20026 rm -f core conftest.err conftest.$ac_objext \
20027 conftest$ac_exeext conftest.$ac_ext
20031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
20032 $as_echo "$glibcxx_cv_POLL" >&6; }
20033 if test $glibcxx_cv_POLL = yes; then
20035 $as_echo "#define HAVE_POLL 1" >>confdefs.h
20039 CXXFLAGS="$ac_save_CXXFLAGS"
20040 ac_ext=c
20041 ac_cpp='$CPP $CPPFLAGS'
20042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20050 ac_ext=cpp
20051 ac_cpp='$CXXCPP $CPPFLAGS'
20052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20056 ac_save_CXXFLAGS="$CXXFLAGS"
20057 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
20060 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
20061 if ${glibcxx_cv_S_ISREG+:} false; then :
20062 $as_echo_n "(cached) " >&6
20063 else
20065 if test x$gcc_no_link = xyes; then
20066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20067 /* end confdefs.h. */
20068 #include <sys/stat.h>
20070 main ()
20072 struct stat buffer;
20073 fstat(0, &buffer);
20074 S_ISREG(buffer.st_mode);
20076 return 0;
20078 _ACEOF
20079 if ac_fn_cxx_try_compile "$LINENO"; then :
20080 glibcxx_cv_S_ISREG=yes
20081 else
20082 glibcxx_cv_S_ISREG=no
20084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20085 else
20086 if test x$gcc_no_link = xyes; then
20087 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20090 /* end confdefs.h. */
20091 #include <sys/stat.h>
20093 main ()
20095 struct stat buffer;
20096 fstat(0, &buffer);
20097 S_ISREG(buffer.st_mode);
20099 return 0;
20101 _ACEOF
20102 if ac_fn_cxx_try_link "$LINENO"; then :
20103 glibcxx_cv_S_ISREG=yes
20104 else
20105 glibcxx_cv_S_ISREG=no
20107 rm -f core conftest.err conftest.$ac_objext \
20108 conftest$ac_exeext conftest.$ac_ext
20113 if ${glibcxx_cv_S_IFREG+:} false; then :
20114 $as_echo_n "(cached) " >&6
20115 else
20117 if test x$gcc_no_link = xyes; then
20118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20119 /* end confdefs.h. */
20120 #include <sys/stat.h>
20122 main ()
20124 struct stat buffer;
20125 fstat(0, &buffer);
20126 S_IFREG & buffer.st_mode;
20128 return 0;
20130 _ACEOF
20131 if ac_fn_cxx_try_compile "$LINENO"; then :
20132 glibcxx_cv_S_IFREG=yes
20133 else
20134 glibcxx_cv_S_IFREG=no
20136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20137 else
20138 if test x$gcc_no_link = xyes; then
20139 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20142 /* end confdefs.h. */
20143 #include <sys/stat.h>
20145 main ()
20147 struct stat buffer;
20148 fstat(0, &buffer);
20149 S_IFREG & buffer.st_mode;
20151 return 0;
20153 _ACEOF
20154 if ac_fn_cxx_try_link "$LINENO"; then :
20155 glibcxx_cv_S_IFREG=yes
20156 else
20157 glibcxx_cv_S_IFREG=no
20159 rm -f core conftest.err conftest.$ac_objext \
20160 conftest$ac_exeext conftest.$ac_ext
20165 res=no
20166 if test $glibcxx_cv_S_ISREG = yes; then
20168 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
20170 res=S_ISREG
20171 elif test $glibcxx_cv_S_IFREG = yes; then
20173 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
20175 res=S_IFREG
20177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
20178 $as_echo "$res" >&6; }
20180 CXXFLAGS="$ac_save_CXXFLAGS"
20181 ac_ext=c
20182 ac_cpp='$CPP $CPPFLAGS'
20183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20189 # For xsputn_2().
20190 for ac_header in sys/uio.h
20191 do :
20192 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
20193 if test "x$ac_cv_header_sys_uio_h" = xyes; then :
20194 cat >>confdefs.h <<_ACEOF
20195 #define HAVE_SYS_UIO_H 1
20196 _ACEOF
20200 done
20205 ac_ext=cpp
20206 ac_cpp='$CXXCPP $CPPFLAGS'
20207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20211 ac_save_CXXFLAGS="$CXXFLAGS"
20212 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
20215 $as_echo_n "checking for writev... " >&6; }
20216 if ${glibcxx_cv_WRITEV+:} false; then :
20217 $as_echo_n "(cached) " >&6
20218 else
20220 if test x$gcc_no_link = xyes; then
20221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20222 /* end confdefs.h. */
20223 #include <sys/uio.h>
20225 main ()
20227 struct iovec iov[2];
20228 writev(0, iov, 0);
20230 return 0;
20232 _ACEOF
20233 if ac_fn_cxx_try_compile "$LINENO"; then :
20234 glibcxx_cv_WRITEV=yes
20235 else
20236 glibcxx_cv_WRITEV=no
20238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20239 else
20240 if test x$gcc_no_link = xyes; then
20241 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20244 /* end confdefs.h. */
20245 #include <sys/uio.h>
20247 main ()
20249 struct iovec iov[2];
20250 writev(0, iov, 0);
20252 return 0;
20254 _ACEOF
20255 if ac_fn_cxx_try_link "$LINENO"; then :
20256 glibcxx_cv_WRITEV=yes
20257 else
20258 glibcxx_cv_WRITEV=no
20260 rm -f core conftest.err conftest.$ac_objext \
20261 conftest$ac_exeext conftest.$ac_ext
20265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
20266 $as_echo "$glibcxx_cv_WRITEV" >&6; }
20267 if test $glibcxx_cv_WRITEV = yes; then
20269 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
20273 CXXFLAGS="$ac_save_CXXFLAGS"
20274 ac_ext=c
20275 ac_cpp='$CPP $CPPFLAGS'
20276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20282 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
20283 # so that the check is done with the C compiler (not C++).
20284 # Checking with C++ can break a canadian cross build if either
20285 # file does not exist in C but does in C++.
20286 for ac_header in fenv.h complex.h
20287 do :
20288 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20289 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20290 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20291 cat >>confdefs.h <<_ACEOF
20292 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20293 _ACEOF
20297 done
20300 # For C99 support to TR1.
20304 ac_ext=cpp
20305 ac_cpp='$CXXCPP $CPPFLAGS'
20306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20311 # Use -std=c++98 because -std=gnu++98 leaves __STRICT_ANSI__
20312 # undefined and fake C99 facilities may be spuriously enabled.
20313 ac_save_CXXFLAGS="$CXXFLAGS"
20314 CXXFLAGS="$CXXFLAGS -std=c++98"
20316 # Check for the existence of <complex.h> complex math functions used
20317 # by tr1/complex.
20318 for ac_header in complex.h
20319 do :
20320 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
20321 if test "x$ac_cv_header_complex_h" = xyes; then :
20322 cat >>confdefs.h <<_ACEOF
20323 #define HAVE_COMPLEX_H 1
20324 _ACEOF
20325 ac_has_complex_h=yes
20326 else
20327 ac_has_complex_h=no
20330 done
20332 ac_c99_complex_tr1=no;
20333 if test x"$ac_has_complex_h" = x"yes"; then
20334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
20335 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
20336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20337 /* end confdefs.h. */
20338 #include <complex.h>
20340 main ()
20342 typedef __complex__ float float_type; float_type tmpf;
20343 cacosf(tmpf);
20344 casinf(tmpf);
20345 catanf(tmpf);
20346 cacoshf(tmpf);
20347 casinhf(tmpf);
20348 catanhf(tmpf);
20349 typedef __complex__ double double_type; double_type tmpd;
20350 cacos(tmpd);
20351 casin(tmpd);
20352 catan(tmpd);
20353 cacosh(tmpd);
20354 casinh(tmpd);
20355 catanh(tmpd);
20356 typedef __complex__ long double ld_type; ld_type tmpld;
20357 cacosl(tmpld);
20358 casinl(tmpld);
20359 catanl(tmpld);
20360 cacoshl(tmpld);
20361 casinhl(tmpld);
20362 catanhl(tmpld);
20365 return 0;
20367 _ACEOF
20368 if ac_fn_cxx_try_compile "$LINENO"; then :
20369 ac_c99_complex_tr1=yes
20370 else
20371 ac_c99_complex_tr1=no
20373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
20376 $as_echo "$ac_c99_complex_tr1" >&6; }
20377 if test x"$ac_c99_complex_tr1" = x"yes"; then
20379 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
20383 # Check for the existence of <ctype.h> functions.
20384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
20385 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
20386 if ${glibcxx_cv_c99_ctype_tr1+:} false; then :
20387 $as_echo_n "(cached) " >&6
20388 else
20390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20391 /* end confdefs.h. */
20392 #include <ctype.h>
20394 main ()
20396 int ch;
20397 int ret;
20398 ret = isblank(ch);
20401 return 0;
20403 _ACEOF
20404 if ac_fn_cxx_try_compile "$LINENO"; then :
20405 glibcxx_cv_c99_ctype_tr1=yes
20406 else
20407 glibcxx_cv_c99_ctype_tr1=no
20409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
20413 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
20414 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
20416 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
20420 # Check for the existence of <fenv.h> functions.
20421 for ac_header in fenv.h
20422 do :
20423 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
20424 if test "x$ac_cv_header_fenv_h" = xyes; then :
20425 cat >>confdefs.h <<_ACEOF
20426 #define HAVE_FENV_H 1
20427 _ACEOF
20428 ac_has_fenv_h=yes
20429 else
20430 ac_has_fenv_h=no
20433 done
20435 ac_c99_fenv_tr1=no;
20436 if test x"$ac_has_fenv_h" = x"yes"; then
20437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
20438 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
20439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20440 /* end confdefs.h. */
20441 #include <fenv.h>
20443 main ()
20445 int except, mode;
20446 fexcept_t* pflag;
20447 fenv_t* penv;
20448 int ret;
20449 ret = feclearexcept(except);
20450 ret = fegetexceptflag(pflag, except);
20451 ret = feraiseexcept(except);
20452 ret = fesetexceptflag(pflag, except);
20453 ret = fetestexcept(except);
20454 ret = fegetround();
20455 ret = fesetround(mode);
20456 ret = fegetenv(penv);
20457 ret = feholdexcept(penv);
20458 ret = fesetenv(penv);
20459 ret = feupdateenv(penv);
20462 return 0;
20464 _ACEOF
20465 if ac_fn_cxx_try_compile "$LINENO"; then :
20466 ac_c99_fenv_tr1=yes
20467 else
20468 ac_c99_fenv_tr1=no
20470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
20472 $as_echo "$ac_c99_fenv_tr1" >&6; }
20474 if test x"$ac_c99_fenv_tr1" = x"yes"; then
20476 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
20480 # Check for the existence of <stdint.h> types.
20481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
20482 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
20483 if ${glibcxx_cv_c99_stdint_tr1+:} false; then :
20484 $as_echo_n "(cached) " >&6
20485 else
20487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20488 /* end confdefs.h. */
20489 #define __STDC_LIMIT_MACROS
20490 #define __STDC_CONSTANT_MACROS
20491 #include <stdint.h>
20493 main ()
20495 typedef int8_t my_int8_t;
20496 my_int8_t i8 = INT8_MIN;
20497 i8 = INT8_MAX;
20498 typedef int16_t my_int16_t;
20499 my_int16_t i16 = INT16_MIN;
20500 i16 = INT16_MAX;
20501 typedef int32_t my_int32_t;
20502 my_int32_t i32 = INT32_MIN;
20503 i32 = INT32_MAX;
20504 typedef int64_t my_int64_t;
20505 my_int64_t i64 = INT64_MIN;
20506 i64 = INT64_MAX;
20507 typedef int_fast8_t my_int_fast8_t;
20508 my_int_fast8_t if8 = INT_FAST8_MIN;
20509 if8 = INT_FAST8_MAX;
20510 typedef int_fast16_t my_int_fast16_t;
20511 my_int_fast16_t if16 = INT_FAST16_MIN;
20512 if16 = INT_FAST16_MAX;
20513 typedef int_fast32_t my_int_fast32_t;
20514 my_int_fast32_t if32 = INT_FAST32_MIN;
20515 if32 = INT_FAST32_MAX;
20516 typedef int_fast64_t my_int_fast64_t;
20517 my_int_fast64_t if64 = INT_FAST64_MIN;
20518 if64 = INT_FAST64_MAX;
20519 typedef int_least8_t my_int_least8_t;
20520 my_int_least8_t il8 = INT_LEAST8_MIN;
20521 il8 = INT_LEAST8_MAX;
20522 typedef int_least16_t my_int_least16_t;
20523 my_int_least16_t il16 = INT_LEAST16_MIN;
20524 il16 = INT_LEAST16_MAX;
20525 typedef int_least32_t my_int_least32_t;
20526 my_int_least32_t il32 = INT_LEAST32_MIN;
20527 il32 = INT_LEAST32_MAX;
20528 typedef int_least64_t my_int_least64_t;
20529 my_int_least64_t il64 = INT_LEAST64_MIN;
20530 il64 = INT_LEAST64_MAX;
20531 typedef intmax_t my_intmax_t;
20532 my_intmax_t im = INTMAX_MAX;
20533 im = INTMAX_MIN;
20534 typedef intptr_t my_intptr_t;
20535 my_intptr_t ip = INTPTR_MAX;
20536 ip = INTPTR_MIN;
20537 typedef uint8_t my_uint8_t;
20538 my_uint8_t ui8 = UINT8_MAX;
20539 ui8 = UINT8_MAX;
20540 typedef uint16_t my_uint16_t;
20541 my_uint16_t ui16 = UINT16_MAX;
20542 ui16 = UINT16_MAX;
20543 typedef uint32_t my_uint32_t;
20544 my_uint32_t ui32 = UINT32_MAX;
20545 ui32 = UINT32_MAX;
20546 typedef uint64_t my_uint64_t;
20547 my_uint64_t ui64 = UINT64_MAX;
20548 ui64 = UINT64_MAX;
20549 typedef uint_fast8_t my_uint_fast8_t;
20550 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
20551 uif8 = UINT_FAST8_MAX;
20552 typedef uint_fast16_t my_uint_fast16_t;
20553 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
20554 uif16 = UINT_FAST16_MAX;
20555 typedef uint_fast32_t my_uint_fast32_t;
20556 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
20557 uif32 = UINT_FAST32_MAX;
20558 typedef uint_fast64_t my_uint_fast64_t;
20559 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
20560 uif64 = UINT_FAST64_MAX;
20561 typedef uint_least8_t my_uint_least8_t;
20562 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
20563 uil8 = UINT_LEAST8_MAX;
20564 typedef uint_least16_t my_uint_least16_t;
20565 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
20566 uil16 = UINT_LEAST16_MAX;
20567 typedef uint_least32_t my_uint_least32_t;
20568 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
20569 uil32 = UINT_LEAST32_MAX;
20570 typedef uint_least64_t my_uint_least64_t;
20571 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
20572 uil64 = UINT_LEAST64_MAX;
20573 typedef uintmax_t my_uintmax_t;
20574 my_uintmax_t uim = UINTMAX_MAX;
20575 uim = UINTMAX_MAX;
20576 typedef uintptr_t my_uintptr_t;
20577 my_uintptr_t uip = UINTPTR_MAX;
20578 uip = UINTPTR_MAX;
20581 return 0;
20583 _ACEOF
20584 if ac_fn_cxx_try_compile "$LINENO"; then :
20585 glibcxx_cv_c99_stdint_tr1=yes
20586 else
20587 glibcxx_cv_c99_stdint_tr1=no
20589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
20593 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
20594 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20596 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
20600 # Check for the existence of <math.h> functions.
20601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
20602 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
20603 if ${glibcxx_cv_c99_math_tr1+:} false; then :
20604 $as_echo_n "(cached) " >&6
20605 else
20607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20608 /* end confdefs.h. */
20609 #include <math.h>
20611 main ()
20613 typedef double_t my_double_t;
20614 typedef float_t my_float_t;
20615 acosh(0.0);
20616 acoshf(0.0f);
20617 acoshl(0.0l);
20618 asinh(0.0);
20619 asinhf(0.0f);
20620 asinhl(0.0l);
20621 atanh(0.0);
20622 atanhf(0.0f);
20623 atanhl(0.0l);
20624 cbrt(0.0);
20625 cbrtf(0.0f);
20626 cbrtl(0.0l);
20627 copysign(0.0, 0.0);
20628 copysignf(0.0f, 0.0f);
20629 copysignl(0.0l, 0.0l);
20630 erf(0.0);
20631 erff(0.0f);
20632 erfl(0.0l);
20633 erfc(0.0);
20634 erfcf(0.0f);
20635 erfcl(0.0l);
20636 exp2(0.0);
20637 exp2f(0.0f);
20638 exp2l(0.0l);
20639 expm1(0.0);
20640 expm1f(0.0f);
20641 expm1l(0.0l);
20642 fdim(0.0, 0.0);
20643 fdimf(0.0f, 0.0f);
20644 fdiml(0.0l, 0.0l);
20645 fma(0.0, 0.0, 0.0);
20646 fmaf(0.0f, 0.0f, 0.0f);
20647 fmal(0.0l, 0.0l, 0.0l);
20648 fmax(0.0, 0.0);
20649 fmaxf(0.0f, 0.0f);
20650 fmaxl(0.0l, 0.0l);
20651 fmin(0.0, 0.0);
20652 fminf(0.0f, 0.0f);
20653 fminl(0.0l, 0.0l);
20654 hypot(0.0, 0.0);
20655 hypotf(0.0f, 0.0f);
20656 hypotl(0.0l, 0.0l);
20657 ilogb(0.0);
20658 ilogbf(0.0f);
20659 ilogbl(0.0l);
20660 lgamma(0.0);
20661 lgammaf(0.0f);
20662 lgammal(0.0l);
20663 #ifndef __APPLE__ /* see below */
20664 llrint(0.0);
20665 llrintf(0.0f);
20666 llrintl(0.0l);
20667 llround(0.0);
20668 llroundf(0.0f);
20669 llroundl(0.0l);
20670 #endif
20671 log1p(0.0);
20672 log1pf(0.0f);
20673 log1pl(0.0l);
20674 log2(0.0);
20675 log2f(0.0f);
20676 log2l(0.0l);
20677 logb(0.0);
20678 logbf(0.0f);
20679 logbl(0.0l);
20680 lrint(0.0);
20681 lrintf(0.0f);
20682 lrintl(0.0l);
20683 lround(0.0);
20684 lroundf(0.0f);
20685 lroundl(0.0l);
20686 nan("");
20687 nanf("");
20688 nanl("");
20689 nearbyint(0.0);
20690 nearbyintf(0.0f);
20691 nearbyintl(0.0l);
20692 nextafter(0.0, 0.0);
20693 nextafterf(0.0f, 0.0f);
20694 nextafterl(0.0l, 0.0l);
20695 nexttoward(0.0, 0.0);
20696 nexttowardf(0.0f, 0.0f);
20697 nexttowardl(0.0l, 0.0l);
20698 remainder(0.0, 0.0);
20699 remainderf(0.0f, 0.0f);
20700 remainderl(0.0l, 0.0l);
20701 remquo(0.0, 0.0, 0);
20702 remquof(0.0f, 0.0f, 0);
20703 remquol(0.0l, 0.0l, 0);
20704 rint(0.0);
20705 rintf(0.0f);
20706 rintl(0.0l);
20707 round(0.0);
20708 roundf(0.0f);
20709 roundl(0.0l);
20710 scalbln(0.0, 0l);
20711 scalblnf(0.0f, 0l);
20712 scalblnl(0.0l, 0l);
20713 scalbn(0.0, 0);
20714 scalbnf(0.0f, 0);
20715 scalbnl(0.0l, 0);
20716 tgamma(0.0);
20717 tgammaf(0.0f);
20718 tgammal(0.0l);
20719 trunc(0.0);
20720 truncf(0.0f);
20721 truncl(0.0l);
20724 return 0;
20726 _ACEOF
20727 if ac_fn_cxx_try_compile "$LINENO"; then :
20728 glibcxx_cv_c99_math_tr1=yes
20729 else
20730 glibcxx_cv_c99_math_tr1=no
20732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20736 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20737 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20739 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20743 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20744 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20745 ac_c99_inttypes_tr1=no;
20746 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20748 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20750 /* end confdefs.h. */
20751 #include <inttypes.h>
20753 main ()
20755 intmax_t i, numer, denom, base;
20756 const char* s;
20757 char** endptr;
20758 intmax_t ret = imaxabs(i);
20759 imaxdiv_t dret = imaxdiv(numer, denom);
20760 ret = strtoimax(s, endptr, base);
20761 uintmax_t uret = strtoumax(s, endptr, base);
20764 return 0;
20766 _ACEOF
20767 if ac_fn_cxx_try_compile "$LINENO"; then :
20768 ac_c99_inttypes_tr1=yes
20769 else
20770 ac_c99_inttypes_tr1=no
20772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20774 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20776 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20778 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20782 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20783 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20784 ac_c99_inttypes_wchar_t_tr1=no;
20785 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20787 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20789 /* end confdefs.h. */
20790 #include <inttypes.h>
20792 main ()
20794 intmax_t base;
20795 const wchar_t* s;
20796 wchar_t** endptr;
20797 intmax_t ret = wcstoimax(s, endptr, base);
20798 uintmax_t uret = wcstoumax(s, endptr, base);
20801 return 0;
20803 _ACEOF
20804 if ac_fn_cxx_try_compile "$LINENO"; then :
20805 ac_c99_inttypes_wchar_t_tr1=yes
20806 else
20807 ac_c99_inttypes_wchar_t_tr1=no
20809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20811 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20813 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20815 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20819 # Check for the existence of the <stdbool.h> header.
20820 for ac_header in stdbool.h
20821 do :
20822 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20823 if test "x$ac_cv_header_stdbool_h" = xyes; then :
20824 cat >>confdefs.h <<_ACEOF
20825 #define HAVE_STDBOOL_H 1
20826 _ACEOF
20830 done
20833 # Check for the existence of the <stdalign.h> header.
20834 for ac_header in stdalign.h
20835 do :
20836 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20837 if test "x$ac_cv_header_stdalign_h" = xyes; then :
20838 cat >>confdefs.h <<_ACEOF
20839 #define HAVE_STDALIGN_H 1
20840 _ACEOF
20844 done
20847 CXXFLAGS="$ac_save_CXXFLAGS"
20848 ac_ext=c
20849 ac_cpp='$CPP $CPPFLAGS'
20850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20856 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20859 if test "$is_hosted" = yes; then
20860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20861 $as_echo_n "checking for the value of EOF... " >&6; }
20862 if ${glibcxx_cv_stdio_eof+:} false; then :
20863 $as_echo_n "(cached) " >&6
20864 else
20866 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20868 else
20869 as_fn_error $? "computing EOF failed" "$LINENO" 5
20874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20875 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20877 cat >>confdefs.h <<_ACEOF
20878 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20879 _ACEOF
20882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20883 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20884 if ${glibcxx_cv_stdio_seek_cur+:} false; then :
20885 $as_echo_n "(cached) " >&6
20886 else
20888 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20890 else
20891 as_fn_error $? "computing SEEK_CUR failed" "$LINENO" 5
20896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20897 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20899 cat >>confdefs.h <<_ACEOF
20900 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20901 _ACEOF
20904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20905 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20906 if ${glibcxx_cv_stdio_seek_end+:} false; then :
20907 $as_echo_n "(cached) " >&6
20908 else
20910 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20912 else
20913 as_fn_error $? "computing SEEK_END failed" "$LINENO" 5
20918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20919 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20921 cat >>confdefs.h <<_ACEOF
20922 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20923 _ACEOF
20928 # For gettimeofday support.
20931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20932 $as_echo_n "checking for gettimeofday... " >&6; }
20935 ac_ext=cpp
20936 ac_cpp='$CXXCPP $CPPFLAGS'
20937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20941 ac_save_CXXFLAGS="$CXXFLAGS"
20942 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20944 ac_has_gettimeofday=no;
20945 for ac_header in sys/time.h
20946 do :
20947 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20948 if test "x$ac_cv_header_sys_time_h" = xyes; then :
20949 cat >>confdefs.h <<_ACEOF
20950 #define HAVE_SYS_TIME_H 1
20951 _ACEOF
20952 ac_has_sys_time_h=yes
20953 else
20954 ac_has_sys_time_h=no
20957 done
20959 if test x"$ac_has_sys_time_h" = x"yes"; then
20960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20961 $as_echo_n "checking for gettimeofday... " >&6; }
20962 if test x$gcc_no_link = xyes; then
20963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20964 /* end confdefs.h. */
20965 #include <sys/time.h>
20967 main ()
20969 timeval tv; gettimeofday(&tv, 0);
20971 return 0;
20973 _ACEOF
20974 if ac_fn_cxx_try_compile "$LINENO"; then :
20975 ac_has_gettimeofday=yes
20976 else
20977 ac_has_gettimeofday=no
20979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20980 else
20981 if test x$gcc_no_link = xyes; then
20982 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20985 /* end confdefs.h. */
20986 #include <sys/time.h>
20988 main ()
20990 timeval tv; gettimeofday(&tv, 0);
20992 return 0;
20994 _ACEOF
20995 if ac_fn_cxx_try_link "$LINENO"; then :
20996 ac_has_gettimeofday=yes
20997 else
20998 ac_has_gettimeofday=no
21000 rm -f core conftest.err conftest.$ac_objext \
21001 conftest$ac_exeext conftest.$ac_ext
21004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
21005 $as_echo "$ac_has_gettimeofday" >&6; }
21008 if test x"$ac_has_gettimeofday" = x"yes"; then
21010 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
21014 CXXFLAGS="$ac_save_CXXFLAGS"
21015 ac_ext=c
21016 ac_cpp='$CPP $CPPFLAGS'
21017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21023 # For clock_gettime, nanosleep and sched_yield support.
21026 # Check whether --enable-libstdcxx-time was given.
21027 if test "${enable_libstdcxx_time+set}" = set; then :
21028 enableval=$enable_libstdcxx_time;
21029 case "$enableval" in
21030 yes|no|rt) ;;
21031 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
21032 esac
21034 else
21035 enable_libstdcxx_time=auto
21041 ac_ext=cpp
21042 ac_cpp='$CXXCPP $CPPFLAGS'
21043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21047 ac_save_CXXFLAGS="$CXXFLAGS"
21048 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21049 ac_save_LIBS="$LIBS"
21051 ac_has_clock_monotonic=no
21052 ac_has_clock_realtime=no
21053 ac_has_nanosleep=no
21054 ac_has_sched_yield=no
21056 if test x"$enable_libstdcxx_time" = x"auto"; then
21058 case "${target_os}" in
21059 cygwin*)
21060 ac_has_nanosleep=yes
21062 mingw*)
21063 ac_has_win32_sleep=yes
21064 ac_has_sched_yield=yes
21066 darwin*)
21067 ac_has_nanosleep=yes
21068 ac_has_sched_yield=yes
21070 # VxWorks has nanosleep as soon as the kernel is configured with
21071 # INCLUDE_POSIX_TIMERS, which is normally/most-often the case.
21072 vxworks*)
21073 ac_has_nanosleep=yes
21075 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
21076 # Don't use link test for freestanding library, in case gcc_no_link=yes
21077 if test x"$is_hosted" = xyes; then
21078 # Versions of glibc before 2.17 needed -lrt for clock_gettime.
21079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
21080 $as_echo_n "checking for library containing clock_gettime... " >&6; }
21081 if ${ac_cv_search_clock_gettime+:} false; then :
21082 $as_echo_n "(cached) " >&6
21083 else
21084 ac_func_search_save_LIBS=$LIBS
21085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21086 /* end confdefs.h. */
21088 /* Override any GCC internal prototype to avoid an error.
21089 Use char because int might match the return type of a GCC
21090 builtin and then its argument prototype would still apply. */
21091 #ifdef __cplusplus
21092 extern "C"
21093 #endif
21094 char clock_gettime ();
21096 main ()
21098 return clock_gettime ();
21100 return 0;
21102 _ACEOF
21103 for ac_lib in '' rt; do
21104 if test -z "$ac_lib"; then
21105 ac_res="none required"
21106 else
21107 ac_res=-l$ac_lib
21108 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21110 if test x$gcc_no_link = xyes; then
21111 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21113 if ac_fn_cxx_try_link "$LINENO"; then :
21114 ac_cv_search_clock_gettime=$ac_res
21116 rm -f core conftest.err conftest.$ac_objext \
21117 conftest$ac_exeext
21118 if ${ac_cv_search_clock_gettime+:} false; then :
21119 break
21121 done
21122 if ${ac_cv_search_clock_gettime+:} false; then :
21124 else
21125 ac_cv_search_clock_gettime=no
21127 rm conftest.$ac_ext
21128 LIBS=$ac_func_search_save_LIBS
21130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
21131 $as_echo "$ac_cv_search_clock_gettime" >&6; }
21132 ac_res=$ac_cv_search_clock_gettime
21133 if test "$ac_res" != no; then :
21134 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21138 if test x"$ac_cv_search_clock_gettime" = x"none required"; then
21139 ac_has_clock_monotonic=yes
21140 ac_has_clock_realtime=yes
21143 ac_has_nanosleep=yes
21144 ac_has_sched_yield=yes
21146 freebsd*|netbsd*|dragonfly*|rtems*)
21147 ac_has_clock_monotonic=yes
21148 ac_has_clock_realtime=yes
21149 ac_has_nanosleep=yes
21150 ac_has_sched_yield=yes
21152 openbsd*)
21153 ac_has_clock_monotonic=yes
21154 ac_has_clock_realtime=yes
21155 ac_has_nanosleep=yes
21157 solaris*)
21158 ac_has_clock_monotonic=yes
21159 ac_has_clock_realtime=yes
21160 ac_has_nanosleep=yes
21161 ac_has_sched_yield=yes
21163 uclinux*)
21164 ac_has_nanosleep=yes
21165 ac_has_sched_yield=yes
21166 esac
21168 elif test x"$enable_libstdcxx_time" != x"no"; then
21170 if test x"$enable_libstdcxx_time" = x"rt"; then
21171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
21172 $as_echo_n "checking for library containing clock_gettime... " >&6; }
21173 if ${ac_cv_search_clock_gettime+:} false; then :
21174 $as_echo_n "(cached) " >&6
21175 else
21176 ac_func_search_save_LIBS=$LIBS
21177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21178 /* end confdefs.h. */
21180 /* Override any GCC internal prototype to avoid an error.
21181 Use char because int might match the return type of a GCC
21182 builtin and then its argument prototype would still apply. */
21183 #ifdef __cplusplus
21184 extern "C"
21185 #endif
21186 char clock_gettime ();
21188 main ()
21190 return clock_gettime ();
21192 return 0;
21194 _ACEOF
21195 for ac_lib in '' rt; do
21196 if test -z "$ac_lib"; then
21197 ac_res="none required"
21198 else
21199 ac_res=-l$ac_lib
21200 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21202 if test x$gcc_no_link = xyes; then
21203 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21205 if ac_fn_cxx_try_link "$LINENO"; then :
21206 ac_cv_search_clock_gettime=$ac_res
21208 rm -f core conftest.err conftest.$ac_objext \
21209 conftest$ac_exeext
21210 if ${ac_cv_search_clock_gettime+:} false; then :
21211 break
21213 done
21214 if ${ac_cv_search_clock_gettime+:} false; then :
21216 else
21217 ac_cv_search_clock_gettime=no
21219 rm conftest.$ac_ext
21220 LIBS=$ac_func_search_save_LIBS
21222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
21223 $as_echo "$ac_cv_search_clock_gettime" >&6; }
21224 ac_res=$ac_cv_search_clock_gettime
21225 if test "$ac_res" != no; then :
21226 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
21231 $as_echo_n "checking for library containing nanosleep... " >&6; }
21232 if ${ac_cv_search_nanosleep+:} false; then :
21233 $as_echo_n "(cached) " >&6
21234 else
21235 ac_func_search_save_LIBS=$LIBS
21236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21237 /* end confdefs.h. */
21239 /* Override any GCC internal prototype to avoid an error.
21240 Use char because int might match the return type of a GCC
21241 builtin and then its argument prototype would still apply. */
21242 #ifdef __cplusplus
21243 extern "C"
21244 #endif
21245 char nanosleep ();
21247 main ()
21249 return nanosleep ();
21251 return 0;
21253 _ACEOF
21254 for ac_lib in '' rt; do
21255 if test -z "$ac_lib"; then
21256 ac_res="none required"
21257 else
21258 ac_res=-l$ac_lib
21259 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21261 if test x$gcc_no_link = xyes; then
21262 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21264 if ac_fn_cxx_try_link "$LINENO"; then :
21265 ac_cv_search_nanosleep=$ac_res
21267 rm -f core conftest.err conftest.$ac_objext \
21268 conftest$ac_exeext
21269 if ${ac_cv_search_nanosleep+:} false; then :
21270 break
21272 done
21273 if ${ac_cv_search_nanosleep+:} false; then :
21275 else
21276 ac_cv_search_nanosleep=no
21278 rm conftest.$ac_ext
21279 LIBS=$ac_func_search_save_LIBS
21281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
21282 $as_echo "$ac_cv_search_nanosleep" >&6; }
21283 ac_res=$ac_cv_search_nanosleep
21284 if test "$ac_res" != no; then :
21285 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21289 else
21290 ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
21291 if test "x$ac_cv_func_clock_gettime" = xyes; then :
21295 ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
21296 if test "x$ac_cv_func_nanosleep" = xyes; then :
21302 case "$ac_cv_search_clock_gettime" in
21303 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
21305 esac
21306 case "$ac_cv_search_nanosleep" in
21307 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
21309 esac
21311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
21312 $as_echo_n "checking for library containing sched_yield... " >&6; }
21313 if ${ac_cv_search_sched_yield+:} false; then :
21314 $as_echo_n "(cached) " >&6
21315 else
21316 ac_func_search_save_LIBS=$LIBS
21317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21318 /* end confdefs.h. */
21320 /* Override any GCC internal prototype to avoid an error.
21321 Use char because int might match the return type of a GCC
21322 builtin and then its argument prototype would still apply. */
21323 #ifdef __cplusplus
21324 extern "C"
21325 #endif
21326 char sched_yield ();
21328 main ()
21330 return sched_yield ();
21332 return 0;
21334 _ACEOF
21335 for ac_lib in '' rt; do
21336 if test -z "$ac_lib"; then
21337 ac_res="none required"
21338 else
21339 ac_res=-l$ac_lib
21340 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21342 if test x$gcc_no_link = xyes; then
21343 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21345 if ac_fn_cxx_try_link "$LINENO"; then :
21346 ac_cv_search_sched_yield=$ac_res
21348 rm -f core conftest.err conftest.$ac_objext \
21349 conftest$ac_exeext
21350 if ${ac_cv_search_sched_yield+:} false; then :
21351 break
21353 done
21354 if ${ac_cv_search_sched_yield+:} false; then :
21356 else
21357 ac_cv_search_sched_yield=no
21359 rm conftest.$ac_ext
21360 LIBS=$ac_func_search_save_LIBS
21362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
21363 $as_echo "$ac_cv_search_sched_yield" >&6; }
21364 ac_res=$ac_cv_search_sched_yield
21365 if test "$ac_res" != no; then :
21366 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21371 case "$ac_cv_search_sched_yield" in
21372 -lrt*)
21373 if test x"$enable_libstdcxx_time" = x"rt"; then
21374 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
21375 ac_has_sched_yield=yes
21379 ac_has_sched_yield=yes
21381 esac
21383 for ac_header in unistd.h
21384 do :
21385 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21386 if test "x$ac_cv_header_unistd_h" = xyes; then :
21387 cat >>confdefs.h <<_ACEOF
21388 #define HAVE_UNISTD_H 1
21389 _ACEOF
21390 ac_has_unistd_h=yes
21391 else
21392 ac_has_unistd_h=no
21395 done
21398 if test x"$ac_has_unistd_h" = x"yes"; then
21399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
21400 $as_echo_n "checking for monotonic clock... " >&6; }
21401 if test x$gcc_no_link = xyes; then
21402 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21405 /* end confdefs.h. */
21406 #include <unistd.h>
21407 #include <time.h>
21410 main ()
21412 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21413 timespec tp;
21414 #endif
21415 clock_gettime(CLOCK_MONOTONIC, &tp);
21418 return 0;
21420 _ACEOF
21421 if ac_fn_cxx_try_link "$LINENO"; then :
21422 ac_has_clock_monotonic=yes
21423 else
21424 ac_has_clock_monotonic=no
21426 rm -f core conftest.err conftest.$ac_objext \
21427 conftest$ac_exeext conftest.$ac_ext
21429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
21430 $as_echo "$ac_has_clock_monotonic" >&6; }
21432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
21433 $as_echo_n "checking for realtime clock... " >&6; }
21434 if test x$gcc_no_link = xyes; then
21435 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21438 /* end confdefs.h. */
21439 #include <unistd.h>
21440 #include <time.h>
21443 main ()
21445 #if _POSIX_TIMERS > 0
21446 timespec tp;
21447 #endif
21448 clock_gettime(CLOCK_REALTIME, &tp);
21451 return 0;
21453 _ACEOF
21454 if ac_fn_cxx_try_link "$LINENO"; then :
21455 ac_has_clock_realtime=yes
21456 else
21457 ac_has_clock_realtime=no
21459 rm -f core conftest.err conftest.$ac_objext \
21460 conftest$ac_exeext conftest.$ac_ext
21462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
21463 $as_echo "$ac_has_clock_realtime" >&6; }
21465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
21466 $as_echo_n "checking for nanosleep... " >&6; }
21467 if test x$gcc_no_link = xyes; then
21468 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21471 /* end confdefs.h. */
21472 #include <unistd.h>
21473 #include <time.h>
21476 main ()
21478 #if _POSIX_TIMERS > 0
21479 timespec tp;
21480 #endif
21481 nanosleep(&tp, 0);
21484 return 0;
21486 _ACEOF
21487 if ac_fn_cxx_try_link "$LINENO"; then :
21488 ac_has_nanosleep=yes
21489 else
21490 ac_has_nanosleep=no
21492 rm -f core conftest.err conftest.$ac_objext \
21493 conftest$ac_exeext conftest.$ac_ext
21495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
21496 $as_echo "$ac_has_nanosleep" >&6; }
21500 if test x"$ac_has_clock_monotonic" != x"yes"; then
21501 case ${target_os} in
21502 linux* | uclinux*)
21503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
21504 $as_echo_n "checking for clock_gettime syscall... " >&6; }
21505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21506 /* end confdefs.h. */
21507 #include <unistd.h>
21508 #include <time.h>
21509 #include <sys/syscall.h>
21512 main ()
21514 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21515 timespec tp;
21516 #endif
21517 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
21518 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
21521 return 0;
21523 _ACEOF
21524 if ac_fn_cxx_try_compile "$LINENO"; then :
21525 ac_has_clock_gettime_syscall=yes
21526 else
21527 ac_has_clock_gettime_syscall=no
21529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_gettime_syscall" >&5
21531 $as_echo "$ac_has_clock_gettime_syscall" >&6; }
21532 if test x"$ac_has_clock_gettime_syscall" = x"yes"; then
21534 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
21536 ac_has_clock_monotonic=yes
21537 ac_has_clock_realtime=yes
21538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec that matches syscall" >&5
21539 $as_echo_n "checking for struct timespec that matches syscall... " >&6; }
21540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21541 /* end confdefs.h. */
21542 #include <time.h>
21543 #include <sys/syscall.h>
21546 main ()
21548 #ifdef SYS_clock_gettime64
21549 #if SYS_clock_gettime64 != SYS_clock_gettime
21550 // We need to use SYS_clock_gettime and libc appears to
21551 // also know about the SYS_clock_gettime64 syscall.
21552 // Check that userspace doesn't use time64 version of timespec.
21553 static_assert(sizeof(timespec::tv_sec) == sizeof(long),
21554 "struct timespec must be compatible with SYS_clock_gettime");
21555 #endif
21556 #endif
21559 return 0;
21561 _ACEOF
21562 if ac_fn_cxx_try_compile "$LINENO"; then :
21563 ac_timespec_matches_syscall=yes
21564 else
21565 ac_timespec_matches_syscall=no
21567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_timespec_matches_syscall" >&5
21569 $as_echo "$ac_timespec_matches_syscall" >&6; }
21570 if test x"$ac_timespec_matches_syscall" = no; then
21571 as_fn_error $? "struct timespec is not compatible with SYS_clock_gettime, please report a bug to http://gcc.gnu.org/bugzilla" "$LINENO" 5
21573 fi;;
21574 esac
21577 if test x"$ac_has_clock_monotonic" = x"yes"; then
21579 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21583 if test x"$ac_has_clock_realtime" = x"yes"; then
21585 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21589 if test x"$ac_has_sched_yield" = x"yes"; then
21591 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21595 if test x"$ac_has_nanosleep" = x"yes"; then
21597 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21599 elif test x"$ac_has_win32_sleep" = x"yes"; then
21601 $as_echo "#define _GLIBCXX_USE_WIN32_SLEEP 1" >>confdefs.h
21603 else
21604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21605 $as_echo_n "checking for sleep... " >&6; }
21606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21607 /* end confdefs.h. */
21608 #include <unistd.h>
21610 main ()
21612 sleep(1)
21614 return 0;
21616 _ACEOF
21617 if ac_fn_cxx_try_compile "$LINENO"; then :
21618 ac_has_sleep=yes
21619 else
21620 ac_has_sleep=no
21622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21623 if test x"$ac_has_sleep" = x"yes"; then
21625 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21629 $as_echo "$ac_has_sleep" >&6; }
21630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21631 $as_echo_n "checking for usleep... " >&6; }
21632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21633 /* end confdefs.h. */
21634 #include <unistd.h>
21636 main ()
21638 sleep(1);
21639 usleep(100);
21641 return 0;
21643 _ACEOF
21644 if ac_fn_cxx_try_compile "$LINENO"; then :
21645 ac_has_usleep=yes
21646 else
21647 ac_has_usleep=no
21649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21650 if test x"$ac_has_usleep" = x"yes"; then
21652 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21656 $as_echo "$ac_has_usleep" >&6; }
21659 if test x"$ac_has_nanosleep$ac_has_win32_sleep$ac_has_sleep" = x"nonono"; then
21661 $as_echo "#define _GLIBCXX_NO_SLEEP 1" >>confdefs.h
21667 CXXFLAGS="$ac_save_CXXFLAGS"
21668 LIBS="$ac_save_LIBS"
21669 ac_ext=c
21670 ac_cpp='$CPP $CPPFLAGS'
21671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21677 # Check for tmpnam which is obsolescent in POSIX.1-2008
21679 ac_ext=cpp
21680 ac_cpp='$CXXCPP $CPPFLAGS'
21681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21685 ac_save_CXXFLAGS="$CXXFLAGS"
21686 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21688 $as_echo_n "checking for tmpnam... " >&6; }
21689 if ${glibcxx_cv_TMPNAM+:} false; then :
21690 $as_echo_n "(cached) " >&6
21691 else
21692 if test x$gcc_no_link = xyes; then
21693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21694 /* end confdefs.h. */
21695 #include <stdio.h>
21697 main ()
21699 char *tmp = tmpnam(NULL);
21701 return 0;
21703 _ACEOF
21704 if ac_fn_cxx_try_compile "$LINENO"; then :
21705 glibcxx_cv_TMPNAM=yes
21706 else
21707 glibcxx_cv_TMPNAM=no
21709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21710 else
21711 if test x$gcc_no_link = xyes; then
21712 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21715 /* end confdefs.h. */
21716 #include <stdio.h>
21718 main ()
21720 char *tmp = tmpnam(NULL);
21722 return 0;
21724 _ACEOF
21725 if ac_fn_cxx_try_link "$LINENO"; then :
21726 glibcxx_cv_TMPNAM=yes
21727 else
21728 glibcxx_cv_TMPNAM=no
21730 rm -f core conftest.err conftest.$ac_objext \
21731 conftest$ac_exeext conftest.$ac_ext
21735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21736 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21737 if test $glibcxx_cv_TMPNAM = yes; then
21739 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21742 CXXFLAGS="$ac_save_CXXFLAGS"
21743 ac_ext=c
21744 ac_cpp='$CPP $CPPFLAGS'
21745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21751 # For pthread_cond_clockwait
21755 ac_ext=cpp
21756 ac_cpp='$CXXCPP $CPPFLAGS'
21757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21761 ac_save_CXXFLAGS="$CXXFLAGS"
21762 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21763 ac_save_LIBS="$LIBS"
21764 LIBS="$LIBS -lpthread"
21766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_clockwait" >&5
21767 $as_echo_n "checking for pthread_cond_clockwait... " >&6; }
21768 if ${glibcxx_cv_PTHREAD_COND_CLOCKWAIT+:} false; then :
21769 $as_echo_n "(cached) " >&6
21770 else
21772 if test x$gcc_no_link = xyes; then
21773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21774 /* end confdefs.h. */
21775 #include <pthread.h>
21777 main ()
21779 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21781 return 0;
21783 _ACEOF
21784 if ac_fn_cxx_try_compile "$LINENO"; then :
21785 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21786 else
21787 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21790 else
21791 if test x$gcc_no_link = xyes; then
21792 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21795 /* end confdefs.h. */
21796 #include <pthread.h>
21798 main ()
21800 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21802 return 0;
21804 _ACEOF
21805 if ac_fn_cxx_try_link "$LINENO"; then :
21806 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21807 else
21808 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21810 rm -f core conftest.err conftest.$ac_objext \
21811 conftest$ac_exeext conftest.$ac_ext
21815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&5
21816 $as_echo "$glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&6; }
21817 if test $glibcxx_cv_PTHREAD_COND_CLOCKWAIT = yes; then
21819 $as_echo "#define _GLIBCXX_USE_PTHREAD_COND_CLOCKWAIT 1" >>confdefs.h
21823 CXXFLAGS="$ac_save_CXXFLAGS"
21824 LIBS="$ac_save_LIBS"
21825 ac_ext=c
21826 ac_cpp='$CPP $CPPFLAGS'
21827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21833 # For pthread_mutex_clocklock
21837 ac_ext=cpp
21838 ac_cpp='$CXXCPP $CPPFLAGS'
21839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21843 ac_save_CXXFLAGS="$CXXFLAGS"
21844 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21845 ac_save_LIBS="$LIBS"
21846 LIBS="$LIBS -lpthread"
21848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_clocklock" >&5
21849 $as_echo_n "checking for pthread_mutex_clocklock... " >&6; }
21850 if ${glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK+:} false; then :
21851 $as_echo_n "(cached) " >&6
21852 else
21854 if test x$gcc_no_link = xyes; then
21855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21856 /* end confdefs.h. */
21857 #include <pthread.h>
21859 main ()
21861 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21863 return 0;
21865 _ACEOF
21866 if ac_fn_cxx_try_compile "$LINENO"; then :
21867 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21868 else
21869 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21872 else
21873 if test x$gcc_no_link = xyes; then
21874 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21877 /* end confdefs.h. */
21878 #include <pthread.h>
21880 main ()
21882 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21884 return 0;
21886 _ACEOF
21887 if ac_fn_cxx_try_link "$LINENO"; then :
21888 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21889 else
21890 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21892 rm -f core conftest.err conftest.$ac_objext \
21893 conftest$ac_exeext conftest.$ac_ext
21897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&5
21898 $as_echo "$glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&6; }
21899 if test $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK = yes; then
21901 $as_echo "#define _GLIBCXX_USE_PTHREAD_MUTEX_CLOCKLOCK (_GLIBCXX_TSAN==0)" >>confdefs.h
21905 CXXFLAGS="$ac_save_CXXFLAGS"
21906 LIBS="$ac_save_LIBS"
21907 ac_ext=c
21908 ac_cpp='$CPP $CPPFLAGS'
21909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21915 # For pthread_rwlock_clockrdlock and pthread_rwlock_clockwrlock
21919 ac_ext=cpp
21920 ac_cpp='$CXXCPP $CPPFLAGS'
21921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21925 ac_save_CXXFLAGS="$CXXFLAGS"
21926 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21927 ac_save_LIBS="$LIBS"
21928 LIBS="$LIBS -lpthread"
21930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock" >&5
21931 $as_echo_n "checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock... " >&6; }
21932 if ${glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK+:} false; then :
21933 $as_echo_n "(cached) " >&6
21934 else
21936 if test x$gcc_no_link = xyes; then
21937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21938 /* end confdefs.h. */
21939 #include <pthread.h>
21941 main ()
21943 pthread_rwlock_t rwl; struct timespec ts;
21944 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
21945 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
21947 return 0;
21949 _ACEOF
21950 if ac_fn_cxx_try_compile "$LINENO"; then :
21951 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
21952 else
21953 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
21955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21956 else
21957 if test x$gcc_no_link = xyes; then
21958 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21961 /* end confdefs.h. */
21962 #include <pthread.h>
21964 main ()
21966 pthread_rwlock_t rwl; struct timespec ts;
21967 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
21968 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
21970 return 0;
21972 _ACEOF
21973 if ac_fn_cxx_try_link "$LINENO"; then :
21974 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
21975 else
21976 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
21978 rm -f core conftest.err conftest.$ac_objext \
21979 conftest$ac_exeext conftest.$ac_ext
21983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&5
21984 $as_echo "$glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&6; }
21985 if test $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK = yes; then
21987 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_CLOCKLOCK 1" >>confdefs.h
21991 CXXFLAGS="$ac_save_CXXFLAGS"
21992 LIBS="$ac_save_LIBS"
21993 ac_ext=c
21994 ac_cpp='$CPP $CPPFLAGS'
21995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22002 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
22003 if test "x$ac_cv_header_locale_h" = xyes; then :
22005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
22006 $as_echo_n "checking for LC_MESSAGES... " >&6; }
22007 if ${ac_cv_val_LC_MESSAGES+:} false; then :
22008 $as_echo_n "(cached) " >&6
22009 else
22010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22011 /* end confdefs.h. */
22012 #include <locale.h>
22014 main ()
22016 return LC_MESSAGES
22018 return 0;
22020 _ACEOF
22021 if ac_fn_c_try_compile "$LINENO"; then :
22022 ac_cv_val_LC_MESSAGES=yes
22023 else
22024 ac_cv_val_LC_MESSAGES=no
22026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
22029 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
22030 if test $ac_cv_val_LC_MESSAGES = yes; then
22032 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
22041 # For hardware_concurrency
22042 for ac_header in sys/sysinfo.h
22043 do :
22044 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
22045 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
22046 cat >>confdefs.h <<_ACEOF
22047 #define HAVE_SYS_SYSINFO_H 1
22048 _ACEOF
22052 done
22057 ac_ext=cpp
22058 ac_cpp='$CXXCPP $CPPFLAGS'
22059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22063 ac_save_CXXFLAGS="$CXXFLAGS"
22064 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
22067 $as_echo_n "checking for get_nprocs... " >&6; }
22068 if ${glibcxx_cv_GET_NPROCS+:} false; then :
22069 $as_echo_n "(cached) " >&6
22070 else
22072 if test x$gcc_no_link = xyes; then
22073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22074 /* end confdefs.h. */
22075 #include <sys/sysinfo.h>
22077 main ()
22079 int n = get_nprocs();
22081 return 0;
22083 _ACEOF
22084 if ac_fn_cxx_try_compile "$LINENO"; then :
22085 glibcxx_cv_GET_NPROCS=yes
22086 else
22087 glibcxx_cv_GET_NPROCS=no
22089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22090 else
22091 if test x$gcc_no_link = xyes; then
22092 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22095 /* end confdefs.h. */
22096 #include <sys/sysinfo.h>
22098 main ()
22100 int n = get_nprocs();
22102 return 0;
22104 _ACEOF
22105 if ac_fn_cxx_try_link "$LINENO"; then :
22106 glibcxx_cv_GET_NPROCS=yes
22107 else
22108 glibcxx_cv_GET_NPROCS=no
22110 rm -f core conftest.err conftest.$ac_objext \
22111 conftest$ac_exeext conftest.$ac_ext
22115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
22116 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
22117 if test $glibcxx_cv_GET_NPROCS = yes; then
22119 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
22123 CXXFLAGS="$ac_save_CXXFLAGS"
22124 ac_ext=c
22125 ac_cpp='$CPP $CPPFLAGS'
22126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22131 for ac_header in unistd.h
22132 do :
22133 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
22134 if test "x$ac_cv_header_unistd_h" = xyes; then :
22135 cat >>confdefs.h <<_ACEOF
22136 #define HAVE_UNISTD_H 1
22137 _ACEOF
22141 done
22146 ac_ext=cpp
22147 ac_cpp='$CXXCPP $CPPFLAGS'
22148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22152 ac_save_CXXFLAGS="$CXXFLAGS"
22153 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
22156 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
22157 if ${glibcxx_cv_SC_NPROCESSORS_ONLN+:} false; then :
22158 $as_echo_n "(cached) " >&6
22159 else
22161 if test x$gcc_no_link = xyes; then
22162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22163 /* end confdefs.h. */
22164 #include <unistd.h>
22166 main ()
22168 int n = sysconf(_SC_NPROCESSORS_ONLN);
22170 return 0;
22172 _ACEOF
22173 if ac_fn_cxx_try_compile "$LINENO"; then :
22174 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
22175 else
22176 glibcxx_cv_SC_NPROCESSORS_ONLN=no
22178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22179 else
22180 if test x$gcc_no_link = xyes; then
22181 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22184 /* end confdefs.h. */
22185 #include <unistd.h>
22187 main ()
22189 int n = sysconf(_SC_NPROCESSORS_ONLN);
22191 return 0;
22193 _ACEOF
22194 if ac_fn_cxx_try_link "$LINENO"; then :
22195 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
22196 else
22197 glibcxx_cv_SC_NPROCESSORS_ONLN=no
22199 rm -f core conftest.err conftest.$ac_objext \
22200 conftest$ac_exeext conftest.$ac_ext
22204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
22205 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
22206 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
22208 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
22212 CXXFLAGS="$ac_save_CXXFLAGS"
22213 ac_ext=c
22214 ac_cpp='$CPP $CPPFLAGS'
22215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22223 ac_ext=cpp
22224 ac_cpp='$CXXCPP $CPPFLAGS'
22225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22229 ac_save_CXXFLAGS="$CXXFLAGS"
22230 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
22233 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
22234 if ${glibcxx_cv_SC_NPROC_ONLN+:} false; then :
22235 $as_echo_n "(cached) " >&6
22236 else
22238 if test x$gcc_no_link = xyes; then
22239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22240 /* end confdefs.h. */
22241 #include <unistd.h>
22243 main ()
22245 int n = sysconf(_SC_NPROC_ONLN);
22247 return 0;
22249 _ACEOF
22250 if ac_fn_cxx_try_compile "$LINENO"; then :
22251 glibcxx_cv_SC_NPROC_ONLN=yes
22252 else
22253 glibcxx_cv_SC_NPROC_ONLN=no
22255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22256 else
22257 if test x$gcc_no_link = xyes; then
22258 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22261 /* end confdefs.h. */
22262 #include <unistd.h>
22264 main ()
22266 int n = sysconf(_SC_NPROC_ONLN);
22268 return 0;
22270 _ACEOF
22271 if ac_fn_cxx_try_link "$LINENO"; then :
22272 glibcxx_cv_SC_NPROC_ONLN=yes
22273 else
22274 glibcxx_cv_SC_NPROC_ONLN=no
22276 rm -f core conftest.err conftest.$ac_objext \
22277 conftest$ac_exeext conftest.$ac_ext
22281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
22282 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
22283 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
22285 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
22289 CXXFLAGS="$ac_save_CXXFLAGS"
22290 ac_ext=c
22291 ac_cpp='$CPP $CPPFLAGS'
22292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22300 ac_ext=cpp
22301 ac_cpp='$CXXCPP $CPPFLAGS'
22302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22306 ac_save_CXXFLAGS="$CXXFLAGS"
22307 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
22310 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
22311 if ${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+:} false; then :
22312 $as_echo_n "(cached) " >&6
22313 else
22315 if test x$gcc_no_link = xyes; then
22316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22317 /* end confdefs.h. */
22318 #include <pthread.h>
22320 main ()
22322 int n = pthread_num_processors_np();
22324 return 0;
22326 _ACEOF
22327 if ac_fn_cxx_try_compile "$LINENO"; then :
22328 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
22329 else
22330 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
22332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22333 else
22334 if test x$gcc_no_link = xyes; then
22335 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22338 /* end confdefs.h. */
22339 #include <pthread.h>
22341 main ()
22343 int n = pthread_num_processors_np();
22345 return 0;
22347 _ACEOF
22348 if ac_fn_cxx_try_link "$LINENO"; then :
22349 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
22350 else
22351 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
22353 rm -f core conftest.err conftest.$ac_objext \
22354 conftest$ac_exeext conftest.$ac_ext
22358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
22359 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
22360 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
22362 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
22366 CXXFLAGS="$ac_save_CXXFLAGS"
22367 ac_ext=c
22368 ac_cpp='$CPP $CPPFLAGS'
22369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22377 ac_ext=cpp
22378 ac_cpp='$CXXCPP $CPPFLAGS'
22379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22383 ac_save_CXXFLAGS="$CXXFLAGS"
22384 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
22387 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
22388 if ${glibcxx_cv_SYSCTL_HW_NCPU+:} false; then :
22389 $as_echo_n "(cached) " >&6
22390 else
22392 if test x$gcc_no_link = xyes; then
22393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22394 /* end confdefs.h. */
22396 #include <stddef.h>
22397 #include <sys/sysctl.h>
22400 main ()
22403 int count;
22404 size_t size = sizeof(count);
22405 int mib[] = { CTL_HW, HW_NCPU };
22406 sysctl(mib, 2, &count, &size, NULL, 0);
22409 return 0;
22411 _ACEOF
22412 if ac_fn_cxx_try_compile "$LINENO"; then :
22413 glibcxx_cv_SYSCTL_HW_NCPU=yes
22414 else
22415 glibcxx_cv_SYSCTL_HW_NCPU=no
22417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22418 else
22419 if test x$gcc_no_link = xyes; then
22420 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22423 /* end confdefs.h. */
22425 #include <stddef.h>
22426 #include <sys/sysctl.h>
22429 main ()
22432 int count;
22433 size_t size = sizeof(count);
22434 int mib[] = { CTL_HW, HW_NCPU };
22435 sysctl(mib, 2, &count, &size, NULL, 0);
22438 return 0;
22440 _ACEOF
22441 if ac_fn_cxx_try_link "$LINENO"; then :
22442 glibcxx_cv_SYSCTL_HW_NCPU=yes
22443 else
22444 glibcxx_cv_SYSCTL_HW_NCPU=no
22446 rm -f core conftest.err conftest.$ac_objext \
22447 conftest$ac_exeext conftest.$ac_ext
22451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
22452 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
22453 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
22455 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
22459 CXXFLAGS="$ac_save_CXXFLAGS"
22460 ac_ext=c
22461 ac_cpp='$CPP $CPPFLAGS'
22462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22468 # Note that this test has to be run with the C language.
22469 # Otherwise, sdt.h will try to include some headers from
22470 # libstdc++ itself.
22472 ac_ext=c
22473 ac_cpp='$CPP $CPPFLAGS'
22474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
22479 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
22480 if ${glibcxx_cv_sys_sdt_h+:} false; then :
22481 $as_echo_n "(cached) " >&6
22482 else
22484 # Because we have to run the test in C, we use grep rather
22485 # than the compiler to check for the bug. The bug is that
22486 # were strings without trailing whitespace, causing g++
22487 # to look for operator"". The pattern searches for the fixed
22488 # output.
22489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22490 /* end confdefs.h. */
22492 #include <sys/sdt.h>
22493 int f() { STAP_PROBE(hi, bob); }
22495 _ACEOF
22496 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22497 $EGREP " \",\" " >/dev/null 2>&1; then :
22498 glibcxx_cv_sys_sdt_h=yes
22499 else
22500 glibcxx_cv_sys_sdt_h=no
22502 rm -f conftest*
22506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
22507 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
22508 ac_ext=c
22509 ac_cpp='$CPP $CPPFLAGS'
22510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22514 if test $glibcxx_cv_sys_sdt_h = yes; then
22516 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
22521 # Check for available headers.
22522 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
22523 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
22524 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
22525 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
22526 wchar.h wctype.h linux/types.h
22527 do :
22528 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22529 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
22530 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
22531 cat >>confdefs.h <<_ACEOF
22532 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22533 _ACEOF
22537 done
22540 for ac_header in linux/random.h
22541 do :
22542 ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
22543 # include <linux/types.h>
22544 #endif
22547 if test "x$ac_cv_header_linux_random_h" = xyes; then :
22548 cat >>confdefs.h <<_ACEOF
22549 #define HAVE_LINUX_RANDOM_H 1
22550 _ACEOF
22554 done
22557 for ac_header in xlocale.h
22558 do :
22559 ac_fn_c_check_header_mongrel "$LINENO" "xlocale.h" "ac_cv_header_xlocale_h" "$ac_includes_default"
22560 if test "x$ac_cv_header_xlocale_h" = xyes; then :
22561 cat >>confdefs.h <<_ACEOF
22562 #define HAVE_XLOCALE_H 1
22563 _ACEOF
22567 done
22570 # Only do link tests if native. Else, hardcode.
22571 if $GLIBCXX_IS_NATIVE; then
22573 # We can do more elaborate tests that assume a working linker.
22574 CANADIAN=no
22578 # Check whether --with-gnu-ld was given.
22579 if test "${with_gnu_ld+set}" = set; then :
22580 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
22581 else
22582 with_gnu_ld=no
22585 ac_prog=ld
22586 if test "$GCC" = yes; then
22587 # Check if gcc -print-prog-name=ld gives a path.
22588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
22589 $as_echo_n "checking for ld used by $CC... " >&6; }
22590 case $host in
22591 *-*-mingw*)
22592 # gcc leaves a trailing carriage return which upsets mingw
22593 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
22595 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
22596 esac
22597 case $ac_prog in
22598 # Accept absolute paths.
22599 [\\/]* | ?:[\\/]*)
22600 re_direlt='/[^/][^/]*/\.\./'
22601 # Canonicalize the pathname of ld
22602 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
22603 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
22604 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
22605 done
22606 test -z "$LD" && LD="$ac_prog"
22609 # If it fails, then pretend we aren't using GCC.
22610 ac_prog=ld
22613 # If it is relative, then search for the first ld in PATH.
22614 with_gnu_ld=unknown
22616 esac
22617 elif test "$with_gnu_ld" = yes; then
22618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
22619 $as_echo_n "checking for GNU ld... " >&6; }
22620 else
22621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
22622 $as_echo_n "checking for non-GNU ld... " >&6; }
22624 if ${lt_cv_path_LD+:} false; then :
22625 $as_echo_n "(cached) " >&6
22626 else
22627 if test -z "$LD"; then
22628 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
22629 for ac_dir in $PATH; do
22630 IFS="$lt_save_ifs"
22631 test -z "$ac_dir" && ac_dir=.
22632 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
22633 lt_cv_path_LD="$ac_dir/$ac_prog"
22634 # Check to see if the program is GNU ld. I'd rather use --version,
22635 # but apparently some variants of GNU ld only accept -v.
22636 # Break only if it was the GNU/non-GNU ld that we prefer.
22637 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
22638 *GNU* | *'with BFD'*)
22639 test "$with_gnu_ld" != no && break
22642 test "$with_gnu_ld" != yes && break
22644 esac
22646 done
22647 IFS="$lt_save_ifs"
22648 else
22649 lt_cv_path_LD="$LD" # Let the user override the test with a path.
22653 LD="$lt_cv_path_LD"
22654 if test -n "$LD"; then
22655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
22656 $as_echo "$LD" >&6; }
22657 else
22658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22659 $as_echo "no" >&6; }
22661 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
22662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
22663 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
22664 if ${lt_cv_prog_gnu_ld+:} false; then :
22665 $as_echo_n "(cached) " >&6
22666 else
22667 # I'd rather use --version here, but apparently some GNU lds only accept -v.
22668 case `$LD -v 2>&1 </dev/null` in
22669 *GNU* | *'with BFD'*)
22670 lt_cv_prog_gnu_ld=yes
22673 lt_cv_prog_gnu_ld=no
22675 esac
22677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
22678 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
22679 with_gnu_ld=$lt_cv_prog_gnu_ld
22687 # If we're not using GNU ld, then there's no point in even trying these
22688 # tests. Check for that first. We should have already tested for gld
22689 # by now (in libtool), but require it now just to be safe...
22690 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
22691 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
22695 # The name set by libtool depends on the version of libtool. Shame on us
22696 # for depending on an impl detail, but c'est la vie. Older versions used
22697 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
22698 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
22699 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
22700 # set (hence we're using an older libtool), then set it.
22701 if test x${with_gnu_ld+set} != xset; then
22702 if test x${ac_cv_prog_gnu_ld+set} != xset; then
22703 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
22704 with_gnu_ld=no
22705 else
22706 with_gnu_ld=$ac_cv_prog_gnu_ld
22710 # Start by getting the version number. I think the libtool test already
22711 # does some of this, but throws away the result.
22712 glibcxx_ld_is_gold=no
22713 glibcxx_ld_is_mold=no
22714 if test x"$with_gnu_ld" = x"yes"; then
22715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
22716 $as_echo_n "checking for ld version... " >&6; }
22718 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
22719 glibcxx_ld_is_gold=yes
22720 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
22721 glibcxx_ld_is_mold=yes
22723 ldver=`$LD --version 2>/dev/null |
22724 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
22726 glibcxx_gnu_ld_version=`echo $ldver | \
22727 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
22728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
22729 $as_echo "$glibcxx_gnu_ld_version" >&6; }
22732 # Set --gc-sections.
22733 glibcxx_have_gc_sections=no
22734 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
22735 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
22736 glibcxx_have_gc_sections=yes
22738 else
22739 glibcxx_gcsections_min_ld=21602
22740 if test x"$with_gnu_ld" = x"yes" &&
22741 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
22742 glibcxx_have_gc_sections=yes
22745 if test "$glibcxx_have_gc_sections" = "yes"; then
22746 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
22747 # NB: This flag only works reliably after 2.16.1. Configure tests
22748 # for this are difficult, so hard wire a value that should work.
22750 ac_test_CFLAGS="${CFLAGS+set}"
22751 ac_save_CFLAGS="$CFLAGS"
22752 CFLAGS='-Wl,--gc-sections'
22754 # Check for -Wl,--gc-sections
22755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22756 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22757 if test x$gcc_no_link = xyes; then
22758 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22761 /* end confdefs.h. */
22762 int one(void) { return 1; }
22763 int two(void) { return 2; }
22766 main ()
22768 two();
22770 return 0;
22772 _ACEOF
22773 if ac_fn_c_try_link "$LINENO"; then :
22774 ac_gcsections=yes
22775 else
22776 ac_gcsections=no
22778 rm -f core conftest.err conftest.$ac_objext \
22779 conftest$ac_exeext conftest.$ac_ext
22780 if test "$ac_gcsections" = "yes"; then
22781 rm -f conftest.c
22782 touch conftest.c
22783 if $CC -c conftest.c; then
22784 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22785 grep "Warning: gc-sections option ignored" > /dev/null; then
22786 ac_gcsections=no
22789 rm -f conftest.c conftest.o conftest
22791 if test "$ac_gcsections" = "yes"; then
22792 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22795 $as_echo "$ac_gcsections" >&6; }
22797 if test "$ac_test_CFLAGS" = set; then
22798 CFLAGS="$ac_save_CFLAGS"
22799 else
22800 # this is the suspicious part
22801 CFLAGS=''
22805 # Set -z,relro.
22806 # Note this is only for shared objects.
22807 ac_ld_relro=no
22808 if test x"$with_gnu_ld" = x"yes"; then
22809 # cygwin and mingw uses PE, which has no ELF relro support,
22810 # multi target ld may confuse configure machinery
22811 case "$host" in
22812 *-*-cygwin*)
22814 *-*-mingw*)
22817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22818 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22819 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22820 if test -n "$cxx_z_relo"; then
22821 OPT_LDFLAGS="-Wl,-z,relro"
22822 ac_ld_relro=yes
22824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22825 $as_echo "$ac_ld_relro" >&6; }
22826 esac
22829 # Set linker optimization flags.
22830 if test x"$with_gnu_ld" = x"yes"; then
22831 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22838 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22839 ac_save_CXXFLAGS="$CXXFLAGS"
22840 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22843 $as_echo_n "checking for sin in -lm... " >&6; }
22844 if ${ac_cv_lib_m_sin+:} false; then :
22845 $as_echo_n "(cached) " >&6
22846 else
22847 ac_check_lib_save_LIBS=$LIBS
22848 LIBS="-lm $LIBS"
22849 if test x$gcc_no_link = xyes; then
22850 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22853 /* end confdefs.h. */
22855 /* Override any GCC internal prototype to avoid an error.
22856 Use char because int might match the return type of a GCC
22857 builtin and then its argument prototype would still apply. */
22858 #ifdef __cplusplus
22859 extern "C"
22860 #endif
22861 char sin ();
22863 main ()
22865 return sin ();
22867 return 0;
22869 _ACEOF
22870 if ac_fn_c_try_link "$LINENO"; then :
22871 ac_cv_lib_m_sin=yes
22872 else
22873 ac_cv_lib_m_sin=no
22875 rm -f core conftest.err conftest.$ac_objext \
22876 conftest$ac_exeext conftest.$ac_ext
22877 LIBS=$ac_check_lib_save_LIBS
22879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22880 $as_echo "$ac_cv_lib_m_sin" >&6; }
22881 if test "x$ac_cv_lib_m_sin" = xyes; then :
22882 libm="-lm"
22885 ac_save_LIBS="$LIBS"
22886 LIBS="$LIBS $libm"
22890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22891 $as_echo_n "checking for isinf declaration... " >&6; }
22892 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22893 if ${glibcxx_cv_func_isinf_use+:} false; then :
22894 $as_echo_n "(cached) " >&6
22895 else
22898 ac_ext=cpp
22899 ac_cpp='$CXXCPP $CPPFLAGS'
22900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22905 /* end confdefs.h. */
22906 #include <math.h>
22907 #ifdef HAVE_IEEEFP_H
22908 #include <ieeefp.h>
22909 #endif
22912 main ()
22914 isinf(0);
22916 return 0;
22918 _ACEOF
22919 if ac_fn_cxx_try_compile "$LINENO"; then :
22920 glibcxx_cv_func_isinf_use=yes
22921 else
22922 glibcxx_cv_func_isinf_use=no
22924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22925 ac_ext=c
22926 ac_cpp='$CPP $CPPFLAGS'
22927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22936 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22938 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22939 for ac_func in isinf
22940 do :
22941 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22942 if test "x$ac_cv_func_isinf" = xyes; then :
22943 cat >>confdefs.h <<_ACEOF
22944 #define HAVE_ISINF 1
22945 _ACEOF
22948 done
22950 else
22952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22953 $as_echo_n "checking for _isinf declaration... " >&6; }
22954 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22955 if ${glibcxx_cv_func__isinf_use+:} false; then :
22956 $as_echo_n "(cached) " >&6
22957 else
22960 ac_ext=cpp
22961 ac_cpp='$CXXCPP $CPPFLAGS'
22962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22967 /* end confdefs.h. */
22968 #include <math.h>
22969 #ifdef HAVE_IEEEFP_H
22970 #include <ieeefp.h>
22971 #endif
22974 main ()
22976 _isinf(0);
22978 return 0;
22980 _ACEOF
22981 if ac_fn_cxx_try_compile "$LINENO"; then :
22982 glibcxx_cv_func__isinf_use=yes
22983 else
22984 glibcxx_cv_func__isinf_use=no
22986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22987 ac_ext=c
22988 ac_cpp='$CPP $CPPFLAGS'
22989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22998 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
23000 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
23001 for ac_func in _isinf
23002 do :
23003 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
23004 if test "x$ac_cv_func__isinf" = xyes; then :
23005 cat >>confdefs.h <<_ACEOF
23006 #define HAVE__ISINF 1
23007 _ACEOF
23010 done
23019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
23020 $as_echo_n "checking for isnan declaration... " >&6; }
23021 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
23022 if ${glibcxx_cv_func_isnan_use+:} false; then :
23023 $as_echo_n "(cached) " >&6
23024 else
23027 ac_ext=cpp
23028 ac_cpp='$CXXCPP $CPPFLAGS'
23029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23034 /* end confdefs.h. */
23035 #include <math.h>
23036 #ifdef HAVE_IEEEFP_H
23037 #include <ieeefp.h>
23038 #endif
23041 main ()
23043 isnan(0);
23045 return 0;
23047 _ACEOF
23048 if ac_fn_cxx_try_compile "$LINENO"; then :
23049 glibcxx_cv_func_isnan_use=yes
23050 else
23051 glibcxx_cv_func_isnan_use=no
23053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23054 ac_ext=c
23055 ac_cpp='$CPP $CPPFLAGS'
23056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
23065 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
23067 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
23068 for ac_func in isnan
23069 do :
23070 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
23071 if test "x$ac_cv_func_isnan" = xyes; then :
23072 cat >>confdefs.h <<_ACEOF
23073 #define HAVE_ISNAN 1
23074 _ACEOF
23077 done
23079 else
23081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
23082 $as_echo_n "checking for _isnan declaration... " >&6; }
23083 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
23084 if ${glibcxx_cv_func__isnan_use+:} false; then :
23085 $as_echo_n "(cached) " >&6
23086 else
23089 ac_ext=cpp
23090 ac_cpp='$CXXCPP $CPPFLAGS'
23091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23096 /* end confdefs.h. */
23097 #include <math.h>
23098 #ifdef HAVE_IEEEFP_H
23099 #include <ieeefp.h>
23100 #endif
23103 main ()
23105 _isnan(0);
23107 return 0;
23109 _ACEOF
23110 if ac_fn_cxx_try_compile "$LINENO"; then :
23111 glibcxx_cv_func__isnan_use=yes
23112 else
23113 glibcxx_cv_func__isnan_use=no
23115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23116 ac_ext=c
23117 ac_cpp='$CPP $CPPFLAGS'
23118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
23127 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
23129 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
23130 for ac_func in _isnan
23131 do :
23132 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
23133 if test "x$ac_cv_func__isnan" = xyes; then :
23134 cat >>confdefs.h <<_ACEOF
23135 #define HAVE__ISNAN 1
23136 _ACEOF
23139 done
23148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
23149 $as_echo_n "checking for finite declaration... " >&6; }
23150 if test x${glibcxx_cv_func_finite_use+set} != xset; then
23151 if ${glibcxx_cv_func_finite_use+:} false; then :
23152 $as_echo_n "(cached) " >&6
23153 else
23156 ac_ext=cpp
23157 ac_cpp='$CXXCPP $CPPFLAGS'
23158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23163 /* end confdefs.h. */
23164 #include <math.h>
23165 #ifdef HAVE_IEEEFP_H
23166 #include <ieeefp.h>
23167 #endif
23170 main ()
23172 finite(0);
23174 return 0;
23176 _ACEOF
23177 if ac_fn_cxx_try_compile "$LINENO"; then :
23178 glibcxx_cv_func_finite_use=yes
23179 else
23180 glibcxx_cv_func_finite_use=no
23182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23183 ac_ext=c
23184 ac_cpp='$CPP $CPPFLAGS'
23185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
23194 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
23196 if test x$glibcxx_cv_func_finite_use = x"yes"; then
23197 for ac_func in finite
23198 do :
23199 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
23200 if test "x$ac_cv_func_finite" = xyes; then :
23201 cat >>confdefs.h <<_ACEOF
23202 #define HAVE_FINITE 1
23203 _ACEOF
23206 done
23208 else
23210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
23211 $as_echo_n "checking for _finite declaration... " >&6; }
23212 if test x${glibcxx_cv_func__finite_use+set} != xset; then
23213 if ${glibcxx_cv_func__finite_use+:} false; then :
23214 $as_echo_n "(cached) " >&6
23215 else
23218 ac_ext=cpp
23219 ac_cpp='$CXXCPP $CPPFLAGS'
23220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23225 /* end confdefs.h. */
23226 #include <math.h>
23227 #ifdef HAVE_IEEEFP_H
23228 #include <ieeefp.h>
23229 #endif
23232 main ()
23234 _finite(0);
23236 return 0;
23238 _ACEOF
23239 if ac_fn_cxx_try_compile "$LINENO"; then :
23240 glibcxx_cv_func__finite_use=yes
23241 else
23242 glibcxx_cv_func__finite_use=no
23244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23245 ac_ext=c
23246 ac_cpp='$CPP $CPPFLAGS'
23247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
23256 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
23258 if test x$glibcxx_cv_func__finite_use = x"yes"; then
23259 for ac_func in _finite
23260 do :
23261 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
23262 if test "x$ac_cv_func__finite" = xyes; then :
23263 cat >>confdefs.h <<_ACEOF
23264 #define HAVE__FINITE 1
23265 _ACEOF
23268 done
23277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
23278 $as_echo_n "checking for sincos declaration... " >&6; }
23279 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
23280 if ${glibcxx_cv_func_sincos_use+:} false; then :
23281 $as_echo_n "(cached) " >&6
23282 else
23285 ac_ext=cpp
23286 ac_cpp='$CXXCPP $CPPFLAGS'
23287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23292 /* end confdefs.h. */
23293 #include <math.h>
23295 main ()
23297 sincos(0, 0, 0);
23299 return 0;
23301 _ACEOF
23302 if ac_fn_cxx_try_compile "$LINENO"; then :
23303 glibcxx_cv_func_sincos_use=yes
23304 else
23305 glibcxx_cv_func_sincos_use=no
23307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23308 ac_ext=c
23309 ac_cpp='$CPP $CPPFLAGS'
23310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
23319 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
23321 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
23322 for ac_func in sincos
23323 do :
23324 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
23325 if test "x$ac_cv_func_sincos" = xyes; then :
23326 cat >>confdefs.h <<_ACEOF
23327 #define HAVE_SINCOS 1
23328 _ACEOF
23331 done
23333 else
23335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
23336 $as_echo_n "checking for _sincos declaration... " >&6; }
23337 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
23338 if ${glibcxx_cv_func__sincos_use+:} false; then :
23339 $as_echo_n "(cached) " >&6
23340 else
23343 ac_ext=cpp
23344 ac_cpp='$CXXCPP $CPPFLAGS'
23345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23350 /* end confdefs.h. */
23351 #include <math.h>
23353 main ()
23355 _sincos(0, 0, 0);
23357 return 0;
23359 _ACEOF
23360 if ac_fn_cxx_try_compile "$LINENO"; then :
23361 glibcxx_cv_func__sincos_use=yes
23362 else
23363 glibcxx_cv_func__sincos_use=no
23365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23366 ac_ext=c
23367 ac_cpp='$CPP $CPPFLAGS'
23368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
23377 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
23379 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
23380 for ac_func in _sincos
23381 do :
23382 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
23383 if test "x$ac_cv_func__sincos" = xyes; then :
23384 cat >>confdefs.h <<_ACEOF
23385 #define HAVE__SINCOS 1
23386 _ACEOF
23389 done
23398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
23399 $as_echo_n "checking for fpclass declaration... " >&6; }
23400 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
23401 if ${glibcxx_cv_func_fpclass_use+:} false; then :
23402 $as_echo_n "(cached) " >&6
23403 else
23406 ac_ext=cpp
23407 ac_cpp='$CXXCPP $CPPFLAGS'
23408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23413 /* end confdefs.h. */
23414 #include <math.h>
23415 #ifdef HAVE_IEEEFP_H
23416 #include <ieeefp.h>
23417 #endif
23420 main ()
23422 fpclass(0);
23424 return 0;
23426 _ACEOF
23427 if ac_fn_cxx_try_compile "$LINENO"; then :
23428 glibcxx_cv_func_fpclass_use=yes
23429 else
23430 glibcxx_cv_func_fpclass_use=no
23432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23433 ac_ext=c
23434 ac_cpp='$CPP $CPPFLAGS'
23435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
23444 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
23446 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
23447 for ac_func in fpclass
23448 do :
23449 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
23450 if test "x$ac_cv_func_fpclass" = xyes; then :
23451 cat >>confdefs.h <<_ACEOF
23452 #define HAVE_FPCLASS 1
23453 _ACEOF
23456 done
23458 else
23460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
23461 $as_echo_n "checking for _fpclass declaration... " >&6; }
23462 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
23463 if ${glibcxx_cv_func__fpclass_use+:} false; then :
23464 $as_echo_n "(cached) " >&6
23465 else
23468 ac_ext=cpp
23469 ac_cpp='$CXXCPP $CPPFLAGS'
23470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23475 /* end confdefs.h. */
23476 #include <math.h>
23477 #ifdef HAVE_IEEEFP_H
23478 #include <ieeefp.h>
23479 #endif
23482 main ()
23484 _fpclass(0);
23486 return 0;
23488 _ACEOF
23489 if ac_fn_cxx_try_compile "$LINENO"; then :
23490 glibcxx_cv_func__fpclass_use=yes
23491 else
23492 glibcxx_cv_func__fpclass_use=no
23494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23495 ac_ext=c
23496 ac_cpp='$CPP $CPPFLAGS'
23497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
23506 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
23508 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
23509 for ac_func in _fpclass
23510 do :
23511 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
23512 if test "x$ac_cv_func__fpclass" = xyes; then :
23513 cat >>confdefs.h <<_ACEOF
23514 #define HAVE__FPCLASS 1
23515 _ACEOF
23518 done
23527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
23528 $as_echo_n "checking for qfpclass declaration... " >&6; }
23529 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
23530 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
23531 $as_echo_n "(cached) " >&6
23532 else
23535 ac_ext=cpp
23536 ac_cpp='$CXXCPP $CPPFLAGS'
23537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23542 /* end confdefs.h. */
23543 #include <math.h>
23544 #ifdef HAVE_IEEEFP_H
23545 #include <ieeefp.h>
23546 #endif
23549 main ()
23551 qfpclass(0);
23553 return 0;
23555 _ACEOF
23556 if ac_fn_cxx_try_compile "$LINENO"; then :
23557 glibcxx_cv_func_qfpclass_use=yes
23558 else
23559 glibcxx_cv_func_qfpclass_use=no
23561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23562 ac_ext=c
23563 ac_cpp='$CPP $CPPFLAGS'
23564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
23573 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
23575 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
23576 for ac_func in qfpclass
23577 do :
23578 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
23579 if test "x$ac_cv_func_qfpclass" = xyes; then :
23580 cat >>confdefs.h <<_ACEOF
23581 #define HAVE_QFPCLASS 1
23582 _ACEOF
23585 done
23587 else
23589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
23590 $as_echo_n "checking for _qfpclass declaration... " >&6; }
23591 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
23592 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
23593 $as_echo_n "(cached) " >&6
23594 else
23597 ac_ext=cpp
23598 ac_cpp='$CXXCPP $CPPFLAGS'
23599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23604 /* end confdefs.h. */
23605 #include <math.h>
23606 #ifdef HAVE_IEEEFP_H
23607 #include <ieeefp.h>
23608 #endif
23611 main ()
23613 _qfpclass(0);
23615 return 0;
23617 _ACEOF
23618 if ac_fn_cxx_try_compile "$LINENO"; then :
23619 glibcxx_cv_func__qfpclass_use=yes
23620 else
23621 glibcxx_cv_func__qfpclass_use=no
23623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23624 ac_ext=c
23625 ac_cpp='$CPP $CPPFLAGS'
23626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
23635 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
23637 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
23638 for ac_func in _qfpclass
23639 do :
23640 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
23641 if test "x$ac_cv_func__qfpclass" = xyes; then :
23642 cat >>confdefs.h <<_ACEOF
23643 #define HAVE__QFPCLASS 1
23644 _ACEOF
23647 done
23656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
23657 $as_echo_n "checking for hypot declaration... " >&6; }
23658 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
23659 if ${glibcxx_cv_func_hypot_use+:} false; then :
23660 $as_echo_n "(cached) " >&6
23661 else
23664 ac_ext=cpp
23665 ac_cpp='$CXXCPP $CPPFLAGS'
23666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23671 /* end confdefs.h. */
23672 #include <math.h>
23674 main ()
23676 hypot(0, 0);
23678 return 0;
23680 _ACEOF
23681 if ac_fn_cxx_try_compile "$LINENO"; then :
23682 glibcxx_cv_func_hypot_use=yes
23683 else
23684 glibcxx_cv_func_hypot_use=no
23686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23687 ac_ext=c
23688 ac_cpp='$CPP $CPPFLAGS'
23689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
23698 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
23700 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
23701 for ac_func in hypot
23702 do :
23703 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
23704 if test "x$ac_cv_func_hypot" = xyes; then :
23705 cat >>confdefs.h <<_ACEOF
23706 #define HAVE_HYPOT 1
23707 _ACEOF
23710 done
23712 else
23714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
23715 $as_echo_n "checking for _hypot declaration... " >&6; }
23716 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
23717 if ${glibcxx_cv_func__hypot_use+:} false; then :
23718 $as_echo_n "(cached) " >&6
23719 else
23722 ac_ext=cpp
23723 ac_cpp='$CXXCPP $CPPFLAGS'
23724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23729 /* end confdefs.h. */
23730 #include <math.h>
23732 main ()
23734 _hypot(0, 0);
23736 return 0;
23738 _ACEOF
23739 if ac_fn_cxx_try_compile "$LINENO"; then :
23740 glibcxx_cv_func__hypot_use=yes
23741 else
23742 glibcxx_cv_func__hypot_use=no
23744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23745 ac_ext=c
23746 ac_cpp='$CPP $CPPFLAGS'
23747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23756 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23758 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23759 for ac_func in _hypot
23760 do :
23761 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23762 if test "x$ac_cv_func__hypot" = xyes; then :
23763 cat >>confdefs.h <<_ACEOF
23764 #define HAVE__HYPOT 1
23765 _ACEOF
23768 done
23777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23778 $as_echo_n "checking for float trig functions... " >&6; }
23779 if ${glibcxx_cv_func_float_trig_use+:} false; then :
23780 $as_echo_n "(cached) " >&6
23781 else
23784 ac_ext=cpp
23785 ac_cpp='$CXXCPP $CPPFLAGS'
23786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23791 /* end confdefs.h. */
23792 #include <math.h>
23794 main ()
23796 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23798 return 0;
23800 _ACEOF
23801 if ac_fn_cxx_try_compile "$LINENO"; then :
23802 glibcxx_cv_func_float_trig_use=yes
23803 else
23804 glibcxx_cv_func_float_trig_use=no
23806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23807 ac_ext=c
23808 ac_cpp='$CPP $CPPFLAGS'
23809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23816 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23817 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23818 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23819 do :
23820 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23821 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23822 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23823 cat >>confdefs.h <<_ACEOF
23824 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23825 _ACEOF
23828 done
23830 else
23831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23832 $as_echo_n "checking for _float trig functions... " >&6; }
23833 if ${glibcxx_cv_func__float_trig_use+:} false; then :
23834 $as_echo_n "(cached) " >&6
23835 else
23838 ac_ext=cpp
23839 ac_cpp='$CXXCPP $CPPFLAGS'
23840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23845 /* end confdefs.h. */
23846 #include <math.h>
23848 main ()
23850 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23852 return 0;
23854 _ACEOF
23855 if ac_fn_cxx_try_compile "$LINENO"; then :
23856 glibcxx_cv_func__float_trig_use=yes
23857 else
23858 glibcxx_cv_func__float_trig_use=no
23860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23861 ac_ext=c
23862 ac_cpp='$CPP $CPPFLAGS'
23863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23870 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23871 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23872 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23873 do :
23874 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23875 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23876 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23877 cat >>confdefs.h <<_ACEOF
23878 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23879 _ACEOF
23882 done
23891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23892 $as_echo_n "checking for float round functions... " >&6; }
23893 if ${glibcxx_cv_func_float_round_use+:} false; then :
23894 $as_echo_n "(cached) " >&6
23895 else
23898 ac_ext=cpp
23899 ac_cpp='$CXXCPP $CPPFLAGS'
23900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23905 /* end confdefs.h. */
23906 #include <math.h>
23908 main ()
23910 ceilf (0); floorf (0);
23912 return 0;
23914 _ACEOF
23915 if ac_fn_cxx_try_compile "$LINENO"; then :
23916 glibcxx_cv_func_float_round_use=yes
23917 else
23918 glibcxx_cv_func_float_round_use=no
23920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23921 ac_ext=c
23922 ac_cpp='$CPP $CPPFLAGS'
23923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23930 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23931 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23932 for ac_func in ceilf floorf
23933 do :
23934 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23935 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23936 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23937 cat >>confdefs.h <<_ACEOF
23938 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23939 _ACEOF
23942 done
23944 else
23945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23946 $as_echo_n "checking for _float round functions... " >&6; }
23947 if ${glibcxx_cv_func__float_round_use+:} false; then :
23948 $as_echo_n "(cached) " >&6
23949 else
23952 ac_ext=cpp
23953 ac_cpp='$CXXCPP $CPPFLAGS'
23954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23959 /* end confdefs.h. */
23960 #include <math.h>
23962 main ()
23964 _ceilf (0); _floorf (0);
23966 return 0;
23968 _ACEOF
23969 if ac_fn_cxx_try_compile "$LINENO"; then :
23970 glibcxx_cv_func__float_round_use=yes
23971 else
23972 glibcxx_cv_func__float_round_use=no
23974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23975 ac_ext=c
23976 ac_cpp='$CPP $CPPFLAGS'
23977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23984 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23985 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23986 for ac_func in _ceilf _floorf
23987 do :
23988 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23989 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23990 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23991 cat >>confdefs.h <<_ACEOF
23992 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23993 _ACEOF
23996 done
24006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
24007 $as_echo_n "checking for expf declaration... " >&6; }
24008 if test x${glibcxx_cv_func_expf_use+set} != xset; then
24009 if ${glibcxx_cv_func_expf_use+:} false; then :
24010 $as_echo_n "(cached) " >&6
24011 else
24014 ac_ext=cpp
24015 ac_cpp='$CXXCPP $CPPFLAGS'
24016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24021 /* end confdefs.h. */
24022 #include <math.h>
24023 #ifdef HAVE_IEEEFP_H
24024 #include <ieeefp.h>
24025 #endif
24028 main ()
24030 expf(0);
24032 return 0;
24034 _ACEOF
24035 if ac_fn_cxx_try_compile "$LINENO"; then :
24036 glibcxx_cv_func_expf_use=yes
24037 else
24038 glibcxx_cv_func_expf_use=no
24040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24041 ac_ext=c
24042 ac_cpp='$CPP $CPPFLAGS'
24043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
24052 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
24054 if test x$glibcxx_cv_func_expf_use = x"yes"; then
24055 for ac_func in expf
24056 do :
24057 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
24058 if test "x$ac_cv_func_expf" = xyes; then :
24059 cat >>confdefs.h <<_ACEOF
24060 #define HAVE_EXPF 1
24061 _ACEOF
24064 done
24066 else
24068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
24069 $as_echo_n "checking for _expf declaration... " >&6; }
24070 if test x${glibcxx_cv_func__expf_use+set} != xset; then
24071 if ${glibcxx_cv_func__expf_use+:} false; then :
24072 $as_echo_n "(cached) " >&6
24073 else
24076 ac_ext=cpp
24077 ac_cpp='$CXXCPP $CPPFLAGS'
24078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24083 /* end confdefs.h. */
24084 #include <math.h>
24085 #ifdef HAVE_IEEEFP_H
24086 #include <ieeefp.h>
24087 #endif
24090 main ()
24092 _expf(0);
24094 return 0;
24096 _ACEOF
24097 if ac_fn_cxx_try_compile "$LINENO"; then :
24098 glibcxx_cv_func__expf_use=yes
24099 else
24100 glibcxx_cv_func__expf_use=no
24102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24103 ac_ext=c
24104 ac_cpp='$CPP $CPPFLAGS'
24105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
24114 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
24116 if test x$glibcxx_cv_func__expf_use = x"yes"; then
24117 for ac_func in _expf
24118 do :
24119 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
24120 if test "x$ac_cv_func__expf" = xyes; then :
24121 cat >>confdefs.h <<_ACEOF
24122 #define HAVE__EXPF 1
24123 _ACEOF
24126 done
24135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
24136 $as_echo_n "checking for isnanf declaration... " >&6; }
24137 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
24138 if ${glibcxx_cv_func_isnanf_use+:} false; then :
24139 $as_echo_n "(cached) " >&6
24140 else
24143 ac_ext=cpp
24144 ac_cpp='$CXXCPP $CPPFLAGS'
24145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24150 /* end confdefs.h. */
24151 #include <math.h>
24152 #ifdef HAVE_IEEEFP_H
24153 #include <ieeefp.h>
24154 #endif
24157 main ()
24159 isnanf(0);
24161 return 0;
24163 _ACEOF
24164 if ac_fn_cxx_try_compile "$LINENO"; then :
24165 glibcxx_cv_func_isnanf_use=yes
24166 else
24167 glibcxx_cv_func_isnanf_use=no
24169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24170 ac_ext=c
24171 ac_cpp='$CPP $CPPFLAGS'
24172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
24181 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
24183 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
24184 for ac_func in isnanf
24185 do :
24186 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
24187 if test "x$ac_cv_func_isnanf" = xyes; then :
24188 cat >>confdefs.h <<_ACEOF
24189 #define HAVE_ISNANF 1
24190 _ACEOF
24193 done
24195 else
24197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
24198 $as_echo_n "checking for _isnanf declaration... " >&6; }
24199 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
24200 if ${glibcxx_cv_func__isnanf_use+:} false; then :
24201 $as_echo_n "(cached) " >&6
24202 else
24205 ac_ext=cpp
24206 ac_cpp='$CXXCPP $CPPFLAGS'
24207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24212 /* end confdefs.h. */
24213 #include <math.h>
24214 #ifdef HAVE_IEEEFP_H
24215 #include <ieeefp.h>
24216 #endif
24219 main ()
24221 _isnanf(0);
24223 return 0;
24225 _ACEOF
24226 if ac_fn_cxx_try_compile "$LINENO"; then :
24227 glibcxx_cv_func__isnanf_use=yes
24228 else
24229 glibcxx_cv_func__isnanf_use=no
24231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24232 ac_ext=c
24233 ac_cpp='$CPP $CPPFLAGS'
24234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
24243 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
24245 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
24246 for ac_func in _isnanf
24247 do :
24248 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
24249 if test "x$ac_cv_func__isnanf" = xyes; then :
24250 cat >>confdefs.h <<_ACEOF
24251 #define HAVE__ISNANF 1
24252 _ACEOF
24255 done
24264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
24265 $as_echo_n "checking for isinff declaration... " >&6; }
24266 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
24267 if ${glibcxx_cv_func_isinff_use+:} false; then :
24268 $as_echo_n "(cached) " >&6
24269 else
24272 ac_ext=cpp
24273 ac_cpp='$CXXCPP $CPPFLAGS'
24274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24279 /* end confdefs.h. */
24280 #include <math.h>
24281 #ifdef HAVE_IEEEFP_H
24282 #include <ieeefp.h>
24283 #endif
24286 main ()
24288 isinff(0);
24290 return 0;
24292 _ACEOF
24293 if ac_fn_cxx_try_compile "$LINENO"; then :
24294 glibcxx_cv_func_isinff_use=yes
24295 else
24296 glibcxx_cv_func_isinff_use=no
24298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24299 ac_ext=c
24300 ac_cpp='$CPP $CPPFLAGS'
24301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
24310 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
24312 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
24313 for ac_func in isinff
24314 do :
24315 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
24316 if test "x$ac_cv_func_isinff" = xyes; then :
24317 cat >>confdefs.h <<_ACEOF
24318 #define HAVE_ISINFF 1
24319 _ACEOF
24322 done
24324 else
24326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
24327 $as_echo_n "checking for _isinff declaration... " >&6; }
24328 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
24329 if ${glibcxx_cv_func__isinff_use+:} false; then :
24330 $as_echo_n "(cached) " >&6
24331 else
24334 ac_ext=cpp
24335 ac_cpp='$CXXCPP $CPPFLAGS'
24336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24341 /* end confdefs.h. */
24342 #include <math.h>
24343 #ifdef HAVE_IEEEFP_H
24344 #include <ieeefp.h>
24345 #endif
24348 main ()
24350 _isinff(0);
24352 return 0;
24354 _ACEOF
24355 if ac_fn_cxx_try_compile "$LINENO"; then :
24356 glibcxx_cv_func__isinff_use=yes
24357 else
24358 glibcxx_cv_func__isinff_use=no
24360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24361 ac_ext=c
24362 ac_cpp='$CPP $CPPFLAGS'
24363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
24372 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
24374 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
24375 for ac_func in _isinff
24376 do :
24377 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
24378 if test "x$ac_cv_func__isinff" = xyes; then :
24379 cat >>confdefs.h <<_ACEOF
24380 #define HAVE__ISINFF 1
24381 _ACEOF
24384 done
24393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
24394 $as_echo_n "checking for atan2f declaration... " >&6; }
24395 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
24396 if ${glibcxx_cv_func_atan2f_use+:} false; then :
24397 $as_echo_n "(cached) " >&6
24398 else
24401 ac_ext=cpp
24402 ac_cpp='$CXXCPP $CPPFLAGS'
24403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24408 /* end confdefs.h. */
24409 #include <math.h>
24411 main ()
24413 atan2f(0, 0);
24415 return 0;
24417 _ACEOF
24418 if ac_fn_cxx_try_compile "$LINENO"; then :
24419 glibcxx_cv_func_atan2f_use=yes
24420 else
24421 glibcxx_cv_func_atan2f_use=no
24423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24424 ac_ext=c
24425 ac_cpp='$CPP $CPPFLAGS'
24426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
24435 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
24437 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
24438 for ac_func in atan2f
24439 do :
24440 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
24441 if test "x$ac_cv_func_atan2f" = xyes; then :
24442 cat >>confdefs.h <<_ACEOF
24443 #define HAVE_ATAN2F 1
24444 _ACEOF
24447 done
24449 else
24451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
24452 $as_echo_n "checking for _atan2f declaration... " >&6; }
24453 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
24454 if ${glibcxx_cv_func__atan2f_use+:} false; then :
24455 $as_echo_n "(cached) " >&6
24456 else
24459 ac_ext=cpp
24460 ac_cpp='$CXXCPP $CPPFLAGS'
24461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24466 /* end confdefs.h. */
24467 #include <math.h>
24469 main ()
24471 _atan2f(0, 0);
24473 return 0;
24475 _ACEOF
24476 if ac_fn_cxx_try_compile "$LINENO"; then :
24477 glibcxx_cv_func__atan2f_use=yes
24478 else
24479 glibcxx_cv_func__atan2f_use=no
24481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24482 ac_ext=c
24483 ac_cpp='$CPP $CPPFLAGS'
24484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
24493 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
24495 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
24496 for ac_func in _atan2f
24497 do :
24498 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
24499 if test "x$ac_cv_func__atan2f" = xyes; then :
24500 cat >>confdefs.h <<_ACEOF
24501 #define HAVE__ATAN2F 1
24502 _ACEOF
24505 done
24514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
24515 $as_echo_n "checking for fabsf declaration... " >&6; }
24516 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
24517 if ${glibcxx_cv_func_fabsf_use+:} false; then :
24518 $as_echo_n "(cached) " >&6
24519 else
24522 ac_ext=cpp
24523 ac_cpp='$CXXCPP $CPPFLAGS'
24524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24529 /* end confdefs.h. */
24530 #include <math.h>
24531 #ifdef HAVE_IEEEFP_H
24532 #include <ieeefp.h>
24533 #endif
24536 main ()
24538 fabsf(0);
24540 return 0;
24542 _ACEOF
24543 if ac_fn_cxx_try_compile "$LINENO"; then :
24544 glibcxx_cv_func_fabsf_use=yes
24545 else
24546 glibcxx_cv_func_fabsf_use=no
24548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24549 ac_ext=c
24550 ac_cpp='$CPP $CPPFLAGS'
24551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
24560 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
24562 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
24563 for ac_func in fabsf
24564 do :
24565 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
24566 if test "x$ac_cv_func_fabsf" = xyes; then :
24567 cat >>confdefs.h <<_ACEOF
24568 #define HAVE_FABSF 1
24569 _ACEOF
24572 done
24574 else
24576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
24577 $as_echo_n "checking for _fabsf declaration... " >&6; }
24578 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
24579 if ${glibcxx_cv_func__fabsf_use+:} false; then :
24580 $as_echo_n "(cached) " >&6
24581 else
24584 ac_ext=cpp
24585 ac_cpp='$CXXCPP $CPPFLAGS'
24586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24591 /* end confdefs.h. */
24592 #include <math.h>
24593 #ifdef HAVE_IEEEFP_H
24594 #include <ieeefp.h>
24595 #endif
24598 main ()
24600 _fabsf(0);
24602 return 0;
24604 _ACEOF
24605 if ac_fn_cxx_try_compile "$LINENO"; then :
24606 glibcxx_cv_func__fabsf_use=yes
24607 else
24608 glibcxx_cv_func__fabsf_use=no
24610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24611 ac_ext=c
24612 ac_cpp='$CPP $CPPFLAGS'
24613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
24622 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
24624 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24625 for ac_func in _fabsf
24626 do :
24627 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
24628 if test "x$ac_cv_func__fabsf" = xyes; then :
24629 cat >>confdefs.h <<_ACEOF
24630 #define HAVE__FABSF 1
24631 _ACEOF
24634 done
24643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
24644 $as_echo_n "checking for fmodf declaration... " >&6; }
24645 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24646 if ${glibcxx_cv_func_fmodf_use+:} false; then :
24647 $as_echo_n "(cached) " >&6
24648 else
24651 ac_ext=cpp
24652 ac_cpp='$CXXCPP $CPPFLAGS'
24653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24658 /* end confdefs.h. */
24659 #include <math.h>
24661 main ()
24663 fmodf(0, 0);
24665 return 0;
24667 _ACEOF
24668 if ac_fn_cxx_try_compile "$LINENO"; then :
24669 glibcxx_cv_func_fmodf_use=yes
24670 else
24671 glibcxx_cv_func_fmodf_use=no
24673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24674 ac_ext=c
24675 ac_cpp='$CPP $CPPFLAGS'
24676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
24685 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
24687 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24688 for ac_func in fmodf
24689 do :
24690 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
24691 if test "x$ac_cv_func_fmodf" = xyes; then :
24692 cat >>confdefs.h <<_ACEOF
24693 #define HAVE_FMODF 1
24694 _ACEOF
24697 done
24699 else
24701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
24702 $as_echo_n "checking for _fmodf declaration... " >&6; }
24703 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24704 if ${glibcxx_cv_func__fmodf_use+:} false; then :
24705 $as_echo_n "(cached) " >&6
24706 else
24709 ac_ext=cpp
24710 ac_cpp='$CXXCPP $CPPFLAGS'
24711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24716 /* end confdefs.h. */
24717 #include <math.h>
24719 main ()
24721 _fmodf(0, 0);
24723 return 0;
24725 _ACEOF
24726 if ac_fn_cxx_try_compile "$LINENO"; then :
24727 glibcxx_cv_func__fmodf_use=yes
24728 else
24729 glibcxx_cv_func__fmodf_use=no
24731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24732 ac_ext=c
24733 ac_cpp='$CPP $CPPFLAGS'
24734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
24743 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
24745 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24746 for ac_func in _fmodf
24747 do :
24748 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
24749 if test "x$ac_cv_func__fmodf" = xyes; then :
24750 cat >>confdefs.h <<_ACEOF
24751 #define HAVE__FMODF 1
24752 _ACEOF
24755 done
24764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24765 $as_echo_n "checking for frexpf declaration... " >&6; }
24766 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24767 if ${glibcxx_cv_func_frexpf_use+:} false; then :
24768 $as_echo_n "(cached) " >&6
24769 else
24772 ac_ext=cpp
24773 ac_cpp='$CXXCPP $CPPFLAGS'
24774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24779 /* end confdefs.h. */
24780 #include <math.h>
24782 main ()
24784 frexpf(0, 0);
24786 return 0;
24788 _ACEOF
24789 if ac_fn_cxx_try_compile "$LINENO"; then :
24790 glibcxx_cv_func_frexpf_use=yes
24791 else
24792 glibcxx_cv_func_frexpf_use=no
24794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24795 ac_ext=c
24796 ac_cpp='$CPP $CPPFLAGS'
24797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24806 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24808 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24809 for ac_func in frexpf
24810 do :
24811 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24812 if test "x$ac_cv_func_frexpf" = xyes; then :
24813 cat >>confdefs.h <<_ACEOF
24814 #define HAVE_FREXPF 1
24815 _ACEOF
24818 done
24820 else
24822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24823 $as_echo_n "checking for _frexpf declaration... " >&6; }
24824 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24825 if ${glibcxx_cv_func__frexpf_use+:} false; then :
24826 $as_echo_n "(cached) " >&6
24827 else
24830 ac_ext=cpp
24831 ac_cpp='$CXXCPP $CPPFLAGS'
24832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24837 /* end confdefs.h. */
24838 #include <math.h>
24840 main ()
24842 _frexpf(0, 0);
24844 return 0;
24846 _ACEOF
24847 if ac_fn_cxx_try_compile "$LINENO"; then :
24848 glibcxx_cv_func__frexpf_use=yes
24849 else
24850 glibcxx_cv_func__frexpf_use=no
24852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24853 ac_ext=c
24854 ac_cpp='$CPP $CPPFLAGS'
24855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24864 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24866 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24867 for ac_func in _frexpf
24868 do :
24869 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24870 if test "x$ac_cv_func__frexpf" = xyes; then :
24871 cat >>confdefs.h <<_ACEOF
24872 #define HAVE__FREXPF 1
24873 _ACEOF
24876 done
24885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24886 $as_echo_n "checking for hypotf declaration... " >&6; }
24887 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24888 if ${glibcxx_cv_func_hypotf_use+:} false; then :
24889 $as_echo_n "(cached) " >&6
24890 else
24893 ac_ext=cpp
24894 ac_cpp='$CXXCPP $CPPFLAGS'
24895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24900 /* end confdefs.h. */
24901 #include <math.h>
24903 main ()
24905 hypotf(0, 0);
24907 return 0;
24909 _ACEOF
24910 if ac_fn_cxx_try_compile "$LINENO"; then :
24911 glibcxx_cv_func_hypotf_use=yes
24912 else
24913 glibcxx_cv_func_hypotf_use=no
24915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24916 ac_ext=c
24917 ac_cpp='$CPP $CPPFLAGS'
24918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24927 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24929 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24930 for ac_func in hypotf
24931 do :
24932 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24933 if test "x$ac_cv_func_hypotf" = xyes; then :
24934 cat >>confdefs.h <<_ACEOF
24935 #define HAVE_HYPOTF 1
24936 _ACEOF
24939 done
24941 else
24943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24944 $as_echo_n "checking for _hypotf declaration... " >&6; }
24945 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24946 if ${glibcxx_cv_func__hypotf_use+:} false; then :
24947 $as_echo_n "(cached) " >&6
24948 else
24951 ac_ext=cpp
24952 ac_cpp='$CXXCPP $CPPFLAGS'
24953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24958 /* end confdefs.h. */
24959 #include <math.h>
24961 main ()
24963 _hypotf(0, 0);
24965 return 0;
24967 _ACEOF
24968 if ac_fn_cxx_try_compile "$LINENO"; then :
24969 glibcxx_cv_func__hypotf_use=yes
24970 else
24971 glibcxx_cv_func__hypotf_use=no
24973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24974 ac_ext=c
24975 ac_cpp='$CPP $CPPFLAGS'
24976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24985 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24987 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24988 for ac_func in _hypotf
24989 do :
24990 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24991 if test "x$ac_cv_func__hypotf" = xyes; then :
24992 cat >>confdefs.h <<_ACEOF
24993 #define HAVE__HYPOTF 1
24994 _ACEOF
24997 done
25006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
25007 $as_echo_n "checking for ldexpf declaration... " >&6; }
25008 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
25009 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
25010 $as_echo_n "(cached) " >&6
25011 else
25014 ac_ext=cpp
25015 ac_cpp='$CXXCPP $CPPFLAGS'
25016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25021 /* end confdefs.h. */
25022 #include <math.h>
25024 main ()
25026 ldexpf(0, 0);
25028 return 0;
25030 _ACEOF
25031 if ac_fn_cxx_try_compile "$LINENO"; then :
25032 glibcxx_cv_func_ldexpf_use=yes
25033 else
25034 glibcxx_cv_func_ldexpf_use=no
25036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25037 ac_ext=c
25038 ac_cpp='$CPP $CPPFLAGS'
25039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
25048 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
25050 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
25051 for ac_func in ldexpf
25052 do :
25053 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
25054 if test "x$ac_cv_func_ldexpf" = xyes; then :
25055 cat >>confdefs.h <<_ACEOF
25056 #define HAVE_LDEXPF 1
25057 _ACEOF
25060 done
25062 else
25064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
25065 $as_echo_n "checking for _ldexpf declaration... " >&6; }
25066 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
25067 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
25068 $as_echo_n "(cached) " >&6
25069 else
25072 ac_ext=cpp
25073 ac_cpp='$CXXCPP $CPPFLAGS'
25074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25079 /* end confdefs.h. */
25080 #include <math.h>
25082 main ()
25084 _ldexpf(0, 0);
25086 return 0;
25088 _ACEOF
25089 if ac_fn_cxx_try_compile "$LINENO"; then :
25090 glibcxx_cv_func__ldexpf_use=yes
25091 else
25092 glibcxx_cv_func__ldexpf_use=no
25094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25095 ac_ext=c
25096 ac_cpp='$CPP $CPPFLAGS'
25097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
25106 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
25108 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
25109 for ac_func in _ldexpf
25110 do :
25111 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
25112 if test "x$ac_cv_func__ldexpf" = xyes; then :
25113 cat >>confdefs.h <<_ACEOF
25114 #define HAVE__LDEXPF 1
25115 _ACEOF
25118 done
25127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
25128 $as_echo_n "checking for logf declaration... " >&6; }
25129 if test x${glibcxx_cv_func_logf_use+set} != xset; then
25130 if ${glibcxx_cv_func_logf_use+:} false; then :
25131 $as_echo_n "(cached) " >&6
25132 else
25135 ac_ext=cpp
25136 ac_cpp='$CXXCPP $CPPFLAGS'
25137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25142 /* end confdefs.h. */
25143 #include <math.h>
25144 #ifdef HAVE_IEEEFP_H
25145 #include <ieeefp.h>
25146 #endif
25149 main ()
25151 logf(0);
25153 return 0;
25155 _ACEOF
25156 if ac_fn_cxx_try_compile "$LINENO"; then :
25157 glibcxx_cv_func_logf_use=yes
25158 else
25159 glibcxx_cv_func_logf_use=no
25161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25162 ac_ext=c
25163 ac_cpp='$CPP $CPPFLAGS'
25164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
25173 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
25175 if test x$glibcxx_cv_func_logf_use = x"yes"; then
25176 for ac_func in logf
25177 do :
25178 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
25179 if test "x$ac_cv_func_logf" = xyes; then :
25180 cat >>confdefs.h <<_ACEOF
25181 #define HAVE_LOGF 1
25182 _ACEOF
25185 done
25187 else
25189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
25190 $as_echo_n "checking for _logf declaration... " >&6; }
25191 if test x${glibcxx_cv_func__logf_use+set} != xset; then
25192 if ${glibcxx_cv_func__logf_use+:} false; then :
25193 $as_echo_n "(cached) " >&6
25194 else
25197 ac_ext=cpp
25198 ac_cpp='$CXXCPP $CPPFLAGS'
25199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25204 /* end confdefs.h. */
25205 #include <math.h>
25206 #ifdef HAVE_IEEEFP_H
25207 #include <ieeefp.h>
25208 #endif
25211 main ()
25213 _logf(0);
25215 return 0;
25217 _ACEOF
25218 if ac_fn_cxx_try_compile "$LINENO"; then :
25219 glibcxx_cv_func__logf_use=yes
25220 else
25221 glibcxx_cv_func__logf_use=no
25223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25224 ac_ext=c
25225 ac_cpp='$CPP $CPPFLAGS'
25226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
25235 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
25237 if test x$glibcxx_cv_func__logf_use = x"yes"; then
25238 for ac_func in _logf
25239 do :
25240 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
25241 if test "x$ac_cv_func__logf" = xyes; then :
25242 cat >>confdefs.h <<_ACEOF
25243 #define HAVE__LOGF 1
25244 _ACEOF
25247 done
25256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
25257 $as_echo_n "checking for log10f declaration... " >&6; }
25258 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
25259 if ${glibcxx_cv_func_log10f_use+:} false; then :
25260 $as_echo_n "(cached) " >&6
25261 else
25264 ac_ext=cpp
25265 ac_cpp='$CXXCPP $CPPFLAGS'
25266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25271 /* end confdefs.h. */
25272 #include <math.h>
25273 #ifdef HAVE_IEEEFP_H
25274 #include <ieeefp.h>
25275 #endif
25278 main ()
25280 log10f(0);
25282 return 0;
25284 _ACEOF
25285 if ac_fn_cxx_try_compile "$LINENO"; then :
25286 glibcxx_cv_func_log10f_use=yes
25287 else
25288 glibcxx_cv_func_log10f_use=no
25290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25291 ac_ext=c
25292 ac_cpp='$CPP $CPPFLAGS'
25293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
25302 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
25304 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
25305 for ac_func in log10f
25306 do :
25307 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
25308 if test "x$ac_cv_func_log10f" = xyes; then :
25309 cat >>confdefs.h <<_ACEOF
25310 #define HAVE_LOG10F 1
25311 _ACEOF
25314 done
25316 else
25318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
25319 $as_echo_n "checking for _log10f declaration... " >&6; }
25320 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
25321 if ${glibcxx_cv_func__log10f_use+:} false; then :
25322 $as_echo_n "(cached) " >&6
25323 else
25326 ac_ext=cpp
25327 ac_cpp='$CXXCPP $CPPFLAGS'
25328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25333 /* end confdefs.h. */
25334 #include <math.h>
25335 #ifdef HAVE_IEEEFP_H
25336 #include <ieeefp.h>
25337 #endif
25340 main ()
25342 _log10f(0);
25344 return 0;
25346 _ACEOF
25347 if ac_fn_cxx_try_compile "$LINENO"; then :
25348 glibcxx_cv_func__log10f_use=yes
25349 else
25350 glibcxx_cv_func__log10f_use=no
25352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25353 ac_ext=c
25354 ac_cpp='$CPP $CPPFLAGS'
25355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
25364 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
25366 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
25367 for ac_func in _log10f
25368 do :
25369 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
25370 if test "x$ac_cv_func__log10f" = xyes; then :
25371 cat >>confdefs.h <<_ACEOF
25372 #define HAVE__LOG10F 1
25373 _ACEOF
25376 done
25385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
25386 $as_echo_n "checking for modff declaration... " >&6; }
25387 if test x${glibcxx_cv_func_modff_use+set} != xset; then
25388 if ${glibcxx_cv_func_modff_use+:} false; then :
25389 $as_echo_n "(cached) " >&6
25390 else
25393 ac_ext=cpp
25394 ac_cpp='$CXXCPP $CPPFLAGS'
25395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25400 /* end confdefs.h. */
25401 #include <math.h>
25403 main ()
25405 modff(0, 0);
25407 return 0;
25409 _ACEOF
25410 if ac_fn_cxx_try_compile "$LINENO"; then :
25411 glibcxx_cv_func_modff_use=yes
25412 else
25413 glibcxx_cv_func_modff_use=no
25415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25416 ac_ext=c
25417 ac_cpp='$CPP $CPPFLAGS'
25418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
25427 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
25429 if test x$glibcxx_cv_func_modff_use = x"yes"; then
25430 for ac_func in modff
25431 do :
25432 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
25433 if test "x$ac_cv_func_modff" = xyes; then :
25434 cat >>confdefs.h <<_ACEOF
25435 #define HAVE_MODFF 1
25436 _ACEOF
25439 done
25441 else
25443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
25444 $as_echo_n "checking for _modff declaration... " >&6; }
25445 if test x${glibcxx_cv_func__modff_use+set} != xset; then
25446 if ${glibcxx_cv_func__modff_use+:} false; then :
25447 $as_echo_n "(cached) " >&6
25448 else
25451 ac_ext=cpp
25452 ac_cpp='$CXXCPP $CPPFLAGS'
25453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25458 /* end confdefs.h. */
25459 #include <math.h>
25461 main ()
25463 _modff(0, 0);
25465 return 0;
25467 _ACEOF
25468 if ac_fn_cxx_try_compile "$LINENO"; then :
25469 glibcxx_cv_func__modff_use=yes
25470 else
25471 glibcxx_cv_func__modff_use=no
25473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25474 ac_ext=c
25475 ac_cpp='$CPP $CPPFLAGS'
25476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
25485 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
25487 if test x$glibcxx_cv_func__modff_use = x"yes"; then
25488 for ac_func in _modff
25489 do :
25490 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
25491 if test "x$ac_cv_func__modff" = xyes; then :
25492 cat >>confdefs.h <<_ACEOF
25493 #define HAVE__MODFF 1
25494 _ACEOF
25497 done
25506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
25507 $as_echo_n "checking for modf declaration... " >&6; }
25508 if test x${glibcxx_cv_func_modf_use+set} != xset; then
25509 if ${glibcxx_cv_func_modf_use+:} false; then :
25510 $as_echo_n "(cached) " >&6
25511 else
25514 ac_ext=cpp
25515 ac_cpp='$CXXCPP $CPPFLAGS'
25516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25521 /* end confdefs.h. */
25522 #include <math.h>
25524 main ()
25526 modf(0, 0);
25528 return 0;
25530 _ACEOF
25531 if ac_fn_cxx_try_compile "$LINENO"; then :
25532 glibcxx_cv_func_modf_use=yes
25533 else
25534 glibcxx_cv_func_modf_use=no
25536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25537 ac_ext=c
25538 ac_cpp='$CPP $CPPFLAGS'
25539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
25548 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
25550 if test x$glibcxx_cv_func_modf_use = x"yes"; then
25551 for ac_func in modf
25552 do :
25553 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
25554 if test "x$ac_cv_func_modf" = xyes; then :
25555 cat >>confdefs.h <<_ACEOF
25556 #define HAVE_MODF 1
25557 _ACEOF
25560 done
25562 else
25564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
25565 $as_echo_n "checking for _modf declaration... " >&6; }
25566 if test x${glibcxx_cv_func__modf_use+set} != xset; then
25567 if ${glibcxx_cv_func__modf_use+:} false; then :
25568 $as_echo_n "(cached) " >&6
25569 else
25572 ac_ext=cpp
25573 ac_cpp='$CXXCPP $CPPFLAGS'
25574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25579 /* end confdefs.h. */
25580 #include <math.h>
25582 main ()
25584 _modf(0, 0);
25586 return 0;
25588 _ACEOF
25589 if ac_fn_cxx_try_compile "$LINENO"; then :
25590 glibcxx_cv_func__modf_use=yes
25591 else
25592 glibcxx_cv_func__modf_use=no
25594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25595 ac_ext=c
25596 ac_cpp='$CPP $CPPFLAGS'
25597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
25606 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
25608 if test x$glibcxx_cv_func__modf_use = x"yes"; then
25609 for ac_func in _modf
25610 do :
25611 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
25612 if test "x$ac_cv_func__modf" = xyes; then :
25613 cat >>confdefs.h <<_ACEOF
25614 #define HAVE__MODF 1
25615 _ACEOF
25618 done
25627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
25628 $as_echo_n "checking for powf declaration... " >&6; }
25629 if test x${glibcxx_cv_func_powf_use+set} != xset; then
25630 if ${glibcxx_cv_func_powf_use+:} false; then :
25631 $as_echo_n "(cached) " >&6
25632 else
25635 ac_ext=cpp
25636 ac_cpp='$CXXCPP $CPPFLAGS'
25637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25642 /* end confdefs.h. */
25643 #include <math.h>
25645 main ()
25647 powf(0, 0);
25649 return 0;
25651 _ACEOF
25652 if ac_fn_cxx_try_compile "$LINENO"; then :
25653 glibcxx_cv_func_powf_use=yes
25654 else
25655 glibcxx_cv_func_powf_use=no
25657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25658 ac_ext=c
25659 ac_cpp='$CPP $CPPFLAGS'
25660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
25669 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
25671 if test x$glibcxx_cv_func_powf_use = x"yes"; then
25672 for ac_func in powf
25673 do :
25674 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
25675 if test "x$ac_cv_func_powf" = xyes; then :
25676 cat >>confdefs.h <<_ACEOF
25677 #define HAVE_POWF 1
25678 _ACEOF
25681 done
25683 else
25685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
25686 $as_echo_n "checking for _powf declaration... " >&6; }
25687 if test x${glibcxx_cv_func__powf_use+set} != xset; then
25688 if ${glibcxx_cv_func__powf_use+:} false; then :
25689 $as_echo_n "(cached) " >&6
25690 else
25693 ac_ext=cpp
25694 ac_cpp='$CXXCPP $CPPFLAGS'
25695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25700 /* end confdefs.h. */
25701 #include <math.h>
25703 main ()
25705 _powf(0, 0);
25707 return 0;
25709 _ACEOF
25710 if ac_fn_cxx_try_compile "$LINENO"; then :
25711 glibcxx_cv_func__powf_use=yes
25712 else
25713 glibcxx_cv_func__powf_use=no
25715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25716 ac_ext=c
25717 ac_cpp='$CPP $CPPFLAGS'
25718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
25727 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
25729 if test x$glibcxx_cv_func__powf_use = x"yes"; then
25730 for ac_func in _powf
25731 do :
25732 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
25733 if test "x$ac_cv_func__powf" = xyes; then :
25734 cat >>confdefs.h <<_ACEOF
25735 #define HAVE__POWF 1
25736 _ACEOF
25739 done
25748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
25749 $as_echo_n "checking for sqrtf declaration... " >&6; }
25750 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
25751 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
25752 $as_echo_n "(cached) " >&6
25753 else
25756 ac_ext=cpp
25757 ac_cpp='$CXXCPP $CPPFLAGS'
25758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25763 /* end confdefs.h. */
25764 #include <math.h>
25765 #ifdef HAVE_IEEEFP_H
25766 #include <ieeefp.h>
25767 #endif
25770 main ()
25772 sqrtf(0);
25774 return 0;
25776 _ACEOF
25777 if ac_fn_cxx_try_compile "$LINENO"; then :
25778 glibcxx_cv_func_sqrtf_use=yes
25779 else
25780 glibcxx_cv_func_sqrtf_use=no
25782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25783 ac_ext=c
25784 ac_cpp='$CPP $CPPFLAGS'
25785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25794 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25796 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25797 for ac_func in sqrtf
25798 do :
25799 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25800 if test "x$ac_cv_func_sqrtf" = xyes; then :
25801 cat >>confdefs.h <<_ACEOF
25802 #define HAVE_SQRTF 1
25803 _ACEOF
25806 done
25808 else
25810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25811 $as_echo_n "checking for _sqrtf declaration... " >&6; }
25812 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25813 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
25814 $as_echo_n "(cached) " >&6
25815 else
25818 ac_ext=cpp
25819 ac_cpp='$CXXCPP $CPPFLAGS'
25820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25825 /* end confdefs.h. */
25826 #include <math.h>
25827 #ifdef HAVE_IEEEFP_H
25828 #include <ieeefp.h>
25829 #endif
25832 main ()
25834 _sqrtf(0);
25836 return 0;
25838 _ACEOF
25839 if ac_fn_cxx_try_compile "$LINENO"; then :
25840 glibcxx_cv_func__sqrtf_use=yes
25841 else
25842 glibcxx_cv_func__sqrtf_use=no
25844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25845 ac_ext=c
25846 ac_cpp='$CPP $CPPFLAGS'
25847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25856 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25858 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25859 for ac_func in _sqrtf
25860 do :
25861 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25862 if test "x$ac_cv_func__sqrtf" = xyes; then :
25863 cat >>confdefs.h <<_ACEOF
25864 #define HAVE__SQRTF 1
25865 _ACEOF
25868 done
25877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25878 $as_echo_n "checking for sincosf declaration... " >&6; }
25879 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25880 if ${glibcxx_cv_func_sincosf_use+:} false; then :
25881 $as_echo_n "(cached) " >&6
25882 else
25885 ac_ext=cpp
25886 ac_cpp='$CXXCPP $CPPFLAGS'
25887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25892 /* end confdefs.h. */
25893 #include <math.h>
25895 main ()
25897 sincosf(0, 0, 0);
25899 return 0;
25901 _ACEOF
25902 if ac_fn_cxx_try_compile "$LINENO"; then :
25903 glibcxx_cv_func_sincosf_use=yes
25904 else
25905 glibcxx_cv_func_sincosf_use=no
25907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25908 ac_ext=c
25909 ac_cpp='$CPP $CPPFLAGS'
25910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25919 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25921 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25922 for ac_func in sincosf
25923 do :
25924 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25925 if test "x$ac_cv_func_sincosf" = xyes; then :
25926 cat >>confdefs.h <<_ACEOF
25927 #define HAVE_SINCOSF 1
25928 _ACEOF
25931 done
25933 else
25935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25936 $as_echo_n "checking for _sincosf declaration... " >&6; }
25937 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25938 if ${glibcxx_cv_func__sincosf_use+:} false; then :
25939 $as_echo_n "(cached) " >&6
25940 else
25943 ac_ext=cpp
25944 ac_cpp='$CXXCPP $CPPFLAGS'
25945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25950 /* end confdefs.h. */
25951 #include <math.h>
25953 main ()
25955 _sincosf(0, 0, 0);
25957 return 0;
25959 _ACEOF
25960 if ac_fn_cxx_try_compile "$LINENO"; then :
25961 glibcxx_cv_func__sincosf_use=yes
25962 else
25963 glibcxx_cv_func__sincosf_use=no
25965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25966 ac_ext=c
25967 ac_cpp='$CPP $CPPFLAGS'
25968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25977 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25979 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25980 for ac_func in _sincosf
25981 do :
25982 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25983 if test "x$ac_cv_func__sincosf" = xyes; then :
25984 cat >>confdefs.h <<_ACEOF
25985 #define HAVE__SINCOSF 1
25986 _ACEOF
25989 done
25998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25999 $as_echo_n "checking for finitef declaration... " >&6; }
26000 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
26001 if ${glibcxx_cv_func_finitef_use+:} false; then :
26002 $as_echo_n "(cached) " >&6
26003 else
26006 ac_ext=cpp
26007 ac_cpp='$CXXCPP $CPPFLAGS'
26008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26013 /* end confdefs.h. */
26014 #include <math.h>
26015 #ifdef HAVE_IEEEFP_H
26016 #include <ieeefp.h>
26017 #endif
26020 main ()
26022 finitef(0);
26024 return 0;
26026 _ACEOF
26027 if ac_fn_cxx_try_compile "$LINENO"; then :
26028 glibcxx_cv_func_finitef_use=yes
26029 else
26030 glibcxx_cv_func_finitef_use=no
26032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26033 ac_ext=c
26034 ac_cpp='$CPP $CPPFLAGS'
26035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
26044 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
26046 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
26047 for ac_func in finitef
26048 do :
26049 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
26050 if test "x$ac_cv_func_finitef" = xyes; then :
26051 cat >>confdefs.h <<_ACEOF
26052 #define HAVE_FINITEF 1
26053 _ACEOF
26056 done
26058 else
26060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
26061 $as_echo_n "checking for _finitef declaration... " >&6; }
26062 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
26063 if ${glibcxx_cv_func__finitef_use+:} false; then :
26064 $as_echo_n "(cached) " >&6
26065 else
26068 ac_ext=cpp
26069 ac_cpp='$CXXCPP $CPPFLAGS'
26070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26075 /* end confdefs.h. */
26076 #include <math.h>
26077 #ifdef HAVE_IEEEFP_H
26078 #include <ieeefp.h>
26079 #endif
26082 main ()
26084 _finitef(0);
26086 return 0;
26088 _ACEOF
26089 if ac_fn_cxx_try_compile "$LINENO"; then :
26090 glibcxx_cv_func__finitef_use=yes
26091 else
26092 glibcxx_cv_func__finitef_use=no
26094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26095 ac_ext=c
26096 ac_cpp='$CPP $CPPFLAGS'
26097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
26106 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
26108 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
26109 for ac_func in _finitef
26110 do :
26111 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
26112 if test "x$ac_cv_func__finitef" = xyes; then :
26113 cat >>confdefs.h <<_ACEOF
26114 #define HAVE__FINITEF 1
26115 _ACEOF
26118 done
26127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
26128 $as_echo_n "checking for long double trig functions... " >&6; }
26129 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
26130 $as_echo_n "(cached) " >&6
26131 else
26134 ac_ext=cpp
26135 ac_cpp='$CXXCPP $CPPFLAGS'
26136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26141 /* end confdefs.h. */
26142 #include <math.h>
26144 main ()
26146 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
26148 return 0;
26150 _ACEOF
26151 if ac_fn_cxx_try_compile "$LINENO"; then :
26152 glibcxx_cv_func_long_double_trig_use=yes
26153 else
26154 glibcxx_cv_func_long_double_trig_use=no
26156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26157 ac_ext=c
26158 ac_cpp='$CPP $CPPFLAGS'
26159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
26166 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
26167 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
26168 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
26169 do :
26170 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26171 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26172 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26173 cat >>confdefs.h <<_ACEOF
26174 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26175 _ACEOF
26178 done
26180 else
26181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
26182 $as_echo_n "checking for _long double trig functions... " >&6; }
26183 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
26184 $as_echo_n "(cached) " >&6
26185 else
26188 ac_ext=cpp
26189 ac_cpp='$CXXCPP $CPPFLAGS'
26190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26195 /* end confdefs.h. */
26196 #include <math.h>
26198 main ()
26200 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
26202 return 0;
26204 _ACEOF
26205 if ac_fn_cxx_try_compile "$LINENO"; then :
26206 glibcxx_cv_func__long_double_trig_use=yes
26207 else
26208 glibcxx_cv_func__long_double_trig_use=no
26210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26211 ac_ext=c
26212 ac_cpp='$CPP $CPPFLAGS'
26213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
26220 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
26221 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
26222 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
26223 do :
26224 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26225 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26226 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26227 cat >>confdefs.h <<_ACEOF
26228 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26229 _ACEOF
26232 done
26241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
26242 $as_echo_n "checking for long double round functions... " >&6; }
26243 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
26244 $as_echo_n "(cached) " >&6
26245 else
26248 ac_ext=cpp
26249 ac_cpp='$CXXCPP $CPPFLAGS'
26250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26255 /* end confdefs.h. */
26256 #include <math.h>
26258 main ()
26260 ceill (0); floorl (0);
26262 return 0;
26264 _ACEOF
26265 if ac_fn_cxx_try_compile "$LINENO"; then :
26266 glibcxx_cv_func_long_double_round_use=yes
26267 else
26268 glibcxx_cv_func_long_double_round_use=no
26270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26271 ac_ext=c
26272 ac_cpp='$CPP $CPPFLAGS'
26273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
26280 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
26281 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
26282 for ac_func in ceill floorl
26283 do :
26284 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26285 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26286 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26287 cat >>confdefs.h <<_ACEOF
26288 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26289 _ACEOF
26292 done
26294 else
26295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
26296 $as_echo_n "checking for _long double round functions... " >&6; }
26297 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
26298 $as_echo_n "(cached) " >&6
26299 else
26302 ac_ext=cpp
26303 ac_cpp='$CXXCPP $CPPFLAGS'
26304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26309 /* end confdefs.h. */
26310 #include <math.h>
26312 main ()
26314 _ceill (0); _floorl (0);
26316 return 0;
26318 _ACEOF
26319 if ac_fn_cxx_try_compile "$LINENO"; then :
26320 glibcxx_cv_func__long_double_round_use=yes
26321 else
26322 glibcxx_cv_func__long_double_round_use=no
26324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26325 ac_ext=c
26326 ac_cpp='$CPP $CPPFLAGS'
26327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
26334 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
26335 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
26336 for ac_func in _ceill _floorl
26337 do :
26338 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26339 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26340 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26341 cat >>confdefs.h <<_ACEOF
26342 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26343 _ACEOF
26346 done
26356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
26357 $as_echo_n "checking for isnanl declaration... " >&6; }
26358 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
26359 if ${glibcxx_cv_func_isnanl_use+:} false; then :
26360 $as_echo_n "(cached) " >&6
26361 else
26364 ac_ext=cpp
26365 ac_cpp='$CXXCPP $CPPFLAGS'
26366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26371 /* end confdefs.h. */
26372 #include <math.h>
26373 #ifdef HAVE_IEEEFP_H
26374 #include <ieeefp.h>
26375 #endif
26378 main ()
26380 isnanl(0);
26382 return 0;
26384 _ACEOF
26385 if ac_fn_cxx_try_compile "$LINENO"; then :
26386 glibcxx_cv_func_isnanl_use=yes
26387 else
26388 glibcxx_cv_func_isnanl_use=no
26390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26391 ac_ext=c
26392 ac_cpp='$CPP $CPPFLAGS'
26393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
26402 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
26404 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
26405 for ac_func in isnanl
26406 do :
26407 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
26408 if test "x$ac_cv_func_isnanl" = xyes; then :
26409 cat >>confdefs.h <<_ACEOF
26410 #define HAVE_ISNANL 1
26411 _ACEOF
26414 done
26416 else
26418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
26419 $as_echo_n "checking for _isnanl declaration... " >&6; }
26420 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
26421 if ${glibcxx_cv_func__isnanl_use+:} false; then :
26422 $as_echo_n "(cached) " >&6
26423 else
26426 ac_ext=cpp
26427 ac_cpp='$CXXCPP $CPPFLAGS'
26428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26433 /* end confdefs.h. */
26434 #include <math.h>
26435 #ifdef HAVE_IEEEFP_H
26436 #include <ieeefp.h>
26437 #endif
26440 main ()
26442 _isnanl(0);
26444 return 0;
26446 _ACEOF
26447 if ac_fn_cxx_try_compile "$LINENO"; then :
26448 glibcxx_cv_func__isnanl_use=yes
26449 else
26450 glibcxx_cv_func__isnanl_use=no
26452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26453 ac_ext=c
26454 ac_cpp='$CPP $CPPFLAGS'
26455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
26464 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
26466 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
26467 for ac_func in _isnanl
26468 do :
26469 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
26470 if test "x$ac_cv_func__isnanl" = xyes; then :
26471 cat >>confdefs.h <<_ACEOF
26472 #define HAVE__ISNANL 1
26473 _ACEOF
26476 done
26485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
26486 $as_echo_n "checking for isinfl declaration... " >&6; }
26487 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
26488 if ${glibcxx_cv_func_isinfl_use+:} false; then :
26489 $as_echo_n "(cached) " >&6
26490 else
26493 ac_ext=cpp
26494 ac_cpp='$CXXCPP $CPPFLAGS'
26495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26500 /* end confdefs.h. */
26501 #include <math.h>
26502 #ifdef HAVE_IEEEFP_H
26503 #include <ieeefp.h>
26504 #endif
26507 main ()
26509 isinfl(0);
26511 return 0;
26513 _ACEOF
26514 if ac_fn_cxx_try_compile "$LINENO"; then :
26515 glibcxx_cv_func_isinfl_use=yes
26516 else
26517 glibcxx_cv_func_isinfl_use=no
26519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26520 ac_ext=c
26521 ac_cpp='$CPP $CPPFLAGS'
26522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
26531 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
26533 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
26534 for ac_func in isinfl
26535 do :
26536 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
26537 if test "x$ac_cv_func_isinfl" = xyes; then :
26538 cat >>confdefs.h <<_ACEOF
26539 #define HAVE_ISINFL 1
26540 _ACEOF
26543 done
26545 else
26547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
26548 $as_echo_n "checking for _isinfl declaration... " >&6; }
26549 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
26550 if ${glibcxx_cv_func__isinfl_use+:} false; then :
26551 $as_echo_n "(cached) " >&6
26552 else
26555 ac_ext=cpp
26556 ac_cpp='$CXXCPP $CPPFLAGS'
26557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26562 /* end confdefs.h. */
26563 #include <math.h>
26564 #ifdef HAVE_IEEEFP_H
26565 #include <ieeefp.h>
26566 #endif
26569 main ()
26571 _isinfl(0);
26573 return 0;
26575 _ACEOF
26576 if ac_fn_cxx_try_compile "$LINENO"; then :
26577 glibcxx_cv_func__isinfl_use=yes
26578 else
26579 glibcxx_cv_func__isinfl_use=no
26581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26582 ac_ext=c
26583 ac_cpp='$CPP $CPPFLAGS'
26584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
26593 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
26595 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
26596 for ac_func in _isinfl
26597 do :
26598 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
26599 if test "x$ac_cv_func__isinfl" = xyes; then :
26600 cat >>confdefs.h <<_ACEOF
26601 #define HAVE__ISINFL 1
26602 _ACEOF
26605 done
26614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
26615 $as_echo_n "checking for atan2l declaration... " >&6; }
26616 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
26617 if ${glibcxx_cv_func_atan2l_use+:} false; then :
26618 $as_echo_n "(cached) " >&6
26619 else
26622 ac_ext=cpp
26623 ac_cpp='$CXXCPP $CPPFLAGS'
26624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26629 /* end confdefs.h. */
26630 #include <math.h>
26632 main ()
26634 atan2l(0, 0);
26636 return 0;
26638 _ACEOF
26639 if ac_fn_cxx_try_compile "$LINENO"; then :
26640 glibcxx_cv_func_atan2l_use=yes
26641 else
26642 glibcxx_cv_func_atan2l_use=no
26644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26645 ac_ext=c
26646 ac_cpp='$CPP $CPPFLAGS'
26647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
26656 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
26658 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
26659 for ac_func in atan2l
26660 do :
26661 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
26662 if test "x$ac_cv_func_atan2l" = xyes; then :
26663 cat >>confdefs.h <<_ACEOF
26664 #define HAVE_ATAN2L 1
26665 _ACEOF
26668 done
26670 else
26672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
26673 $as_echo_n "checking for _atan2l declaration... " >&6; }
26674 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
26675 if ${glibcxx_cv_func__atan2l_use+:} false; then :
26676 $as_echo_n "(cached) " >&6
26677 else
26680 ac_ext=cpp
26681 ac_cpp='$CXXCPP $CPPFLAGS'
26682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26687 /* end confdefs.h. */
26688 #include <math.h>
26690 main ()
26692 _atan2l(0, 0);
26694 return 0;
26696 _ACEOF
26697 if ac_fn_cxx_try_compile "$LINENO"; then :
26698 glibcxx_cv_func__atan2l_use=yes
26699 else
26700 glibcxx_cv_func__atan2l_use=no
26702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26703 ac_ext=c
26704 ac_cpp='$CPP $CPPFLAGS'
26705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
26714 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
26716 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
26717 for ac_func in _atan2l
26718 do :
26719 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
26720 if test "x$ac_cv_func__atan2l" = xyes; then :
26721 cat >>confdefs.h <<_ACEOF
26722 #define HAVE__ATAN2L 1
26723 _ACEOF
26726 done
26735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
26736 $as_echo_n "checking for expl declaration... " >&6; }
26737 if test x${glibcxx_cv_func_expl_use+set} != xset; then
26738 if ${glibcxx_cv_func_expl_use+:} false; then :
26739 $as_echo_n "(cached) " >&6
26740 else
26743 ac_ext=cpp
26744 ac_cpp='$CXXCPP $CPPFLAGS'
26745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26750 /* end confdefs.h. */
26751 #include <math.h>
26752 #ifdef HAVE_IEEEFP_H
26753 #include <ieeefp.h>
26754 #endif
26757 main ()
26759 expl(0);
26761 return 0;
26763 _ACEOF
26764 if ac_fn_cxx_try_compile "$LINENO"; then :
26765 glibcxx_cv_func_expl_use=yes
26766 else
26767 glibcxx_cv_func_expl_use=no
26769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26770 ac_ext=c
26771 ac_cpp='$CPP $CPPFLAGS'
26772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26781 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26783 if test x$glibcxx_cv_func_expl_use = x"yes"; then
26784 for ac_func in expl
26785 do :
26786 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26787 if test "x$ac_cv_func_expl" = xyes; then :
26788 cat >>confdefs.h <<_ACEOF
26789 #define HAVE_EXPL 1
26790 _ACEOF
26793 done
26795 else
26797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26798 $as_echo_n "checking for _expl declaration... " >&6; }
26799 if test x${glibcxx_cv_func__expl_use+set} != xset; then
26800 if ${glibcxx_cv_func__expl_use+:} false; then :
26801 $as_echo_n "(cached) " >&6
26802 else
26805 ac_ext=cpp
26806 ac_cpp='$CXXCPP $CPPFLAGS'
26807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26812 /* end confdefs.h. */
26813 #include <math.h>
26814 #ifdef HAVE_IEEEFP_H
26815 #include <ieeefp.h>
26816 #endif
26819 main ()
26821 _expl(0);
26823 return 0;
26825 _ACEOF
26826 if ac_fn_cxx_try_compile "$LINENO"; then :
26827 glibcxx_cv_func__expl_use=yes
26828 else
26829 glibcxx_cv_func__expl_use=no
26831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26832 ac_ext=c
26833 ac_cpp='$CPP $CPPFLAGS'
26834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26843 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26845 if test x$glibcxx_cv_func__expl_use = x"yes"; then
26846 for ac_func in _expl
26847 do :
26848 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26849 if test "x$ac_cv_func__expl" = xyes; then :
26850 cat >>confdefs.h <<_ACEOF
26851 #define HAVE__EXPL 1
26852 _ACEOF
26855 done
26864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26865 $as_echo_n "checking for fabsl declaration... " >&6; }
26866 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26867 if ${glibcxx_cv_func_fabsl_use+:} false; then :
26868 $as_echo_n "(cached) " >&6
26869 else
26872 ac_ext=cpp
26873 ac_cpp='$CXXCPP $CPPFLAGS'
26874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26879 /* end confdefs.h. */
26880 #include <math.h>
26881 #ifdef HAVE_IEEEFP_H
26882 #include <ieeefp.h>
26883 #endif
26886 main ()
26888 fabsl(0);
26890 return 0;
26892 _ACEOF
26893 if ac_fn_cxx_try_compile "$LINENO"; then :
26894 glibcxx_cv_func_fabsl_use=yes
26895 else
26896 glibcxx_cv_func_fabsl_use=no
26898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26899 ac_ext=c
26900 ac_cpp='$CPP $CPPFLAGS'
26901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26910 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26912 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26913 for ac_func in fabsl
26914 do :
26915 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26916 if test "x$ac_cv_func_fabsl" = xyes; then :
26917 cat >>confdefs.h <<_ACEOF
26918 #define HAVE_FABSL 1
26919 _ACEOF
26922 done
26924 else
26926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26927 $as_echo_n "checking for _fabsl declaration... " >&6; }
26928 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26929 if ${glibcxx_cv_func__fabsl_use+:} false; then :
26930 $as_echo_n "(cached) " >&6
26931 else
26934 ac_ext=cpp
26935 ac_cpp='$CXXCPP $CPPFLAGS'
26936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26941 /* end confdefs.h. */
26942 #include <math.h>
26943 #ifdef HAVE_IEEEFP_H
26944 #include <ieeefp.h>
26945 #endif
26948 main ()
26950 _fabsl(0);
26952 return 0;
26954 _ACEOF
26955 if ac_fn_cxx_try_compile "$LINENO"; then :
26956 glibcxx_cv_func__fabsl_use=yes
26957 else
26958 glibcxx_cv_func__fabsl_use=no
26960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26961 ac_ext=c
26962 ac_cpp='$CPP $CPPFLAGS'
26963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26972 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26974 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26975 for ac_func in _fabsl
26976 do :
26977 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26978 if test "x$ac_cv_func__fabsl" = xyes; then :
26979 cat >>confdefs.h <<_ACEOF
26980 #define HAVE__FABSL 1
26981 _ACEOF
26984 done
26993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26994 $as_echo_n "checking for fmodl declaration... " >&6; }
26995 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26996 if ${glibcxx_cv_func_fmodl_use+:} false; then :
26997 $as_echo_n "(cached) " >&6
26998 else
27001 ac_ext=cpp
27002 ac_cpp='$CXXCPP $CPPFLAGS'
27003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27008 /* end confdefs.h. */
27009 #include <math.h>
27011 main ()
27013 fmodl(0, 0);
27015 return 0;
27017 _ACEOF
27018 if ac_fn_cxx_try_compile "$LINENO"; then :
27019 glibcxx_cv_func_fmodl_use=yes
27020 else
27021 glibcxx_cv_func_fmodl_use=no
27023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27024 ac_ext=c
27025 ac_cpp='$CPP $CPPFLAGS'
27026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
27035 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
27037 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
27038 for ac_func in fmodl
27039 do :
27040 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
27041 if test "x$ac_cv_func_fmodl" = xyes; then :
27042 cat >>confdefs.h <<_ACEOF
27043 #define HAVE_FMODL 1
27044 _ACEOF
27047 done
27049 else
27051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
27052 $as_echo_n "checking for _fmodl declaration... " >&6; }
27053 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
27054 if ${glibcxx_cv_func__fmodl_use+:} false; then :
27055 $as_echo_n "(cached) " >&6
27056 else
27059 ac_ext=cpp
27060 ac_cpp='$CXXCPP $CPPFLAGS'
27061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27066 /* end confdefs.h. */
27067 #include <math.h>
27069 main ()
27071 _fmodl(0, 0);
27073 return 0;
27075 _ACEOF
27076 if ac_fn_cxx_try_compile "$LINENO"; then :
27077 glibcxx_cv_func__fmodl_use=yes
27078 else
27079 glibcxx_cv_func__fmodl_use=no
27081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27082 ac_ext=c
27083 ac_cpp='$CPP $CPPFLAGS'
27084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
27093 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
27095 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
27096 for ac_func in _fmodl
27097 do :
27098 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
27099 if test "x$ac_cv_func__fmodl" = xyes; then :
27100 cat >>confdefs.h <<_ACEOF
27101 #define HAVE__FMODL 1
27102 _ACEOF
27105 done
27114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
27115 $as_echo_n "checking for frexpl declaration... " >&6; }
27116 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
27117 if ${glibcxx_cv_func_frexpl_use+:} false; then :
27118 $as_echo_n "(cached) " >&6
27119 else
27122 ac_ext=cpp
27123 ac_cpp='$CXXCPP $CPPFLAGS'
27124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27129 /* end confdefs.h. */
27130 #include <math.h>
27132 main ()
27134 frexpl(0, 0);
27136 return 0;
27138 _ACEOF
27139 if ac_fn_cxx_try_compile "$LINENO"; then :
27140 glibcxx_cv_func_frexpl_use=yes
27141 else
27142 glibcxx_cv_func_frexpl_use=no
27144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27145 ac_ext=c
27146 ac_cpp='$CPP $CPPFLAGS'
27147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
27156 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
27158 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
27159 for ac_func in frexpl
27160 do :
27161 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
27162 if test "x$ac_cv_func_frexpl" = xyes; then :
27163 cat >>confdefs.h <<_ACEOF
27164 #define HAVE_FREXPL 1
27165 _ACEOF
27168 done
27170 else
27172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
27173 $as_echo_n "checking for _frexpl declaration... " >&6; }
27174 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
27175 if ${glibcxx_cv_func__frexpl_use+:} false; then :
27176 $as_echo_n "(cached) " >&6
27177 else
27180 ac_ext=cpp
27181 ac_cpp='$CXXCPP $CPPFLAGS'
27182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27187 /* end confdefs.h. */
27188 #include <math.h>
27190 main ()
27192 _frexpl(0, 0);
27194 return 0;
27196 _ACEOF
27197 if ac_fn_cxx_try_compile "$LINENO"; then :
27198 glibcxx_cv_func__frexpl_use=yes
27199 else
27200 glibcxx_cv_func__frexpl_use=no
27202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27203 ac_ext=c
27204 ac_cpp='$CPP $CPPFLAGS'
27205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
27214 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
27216 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
27217 for ac_func in _frexpl
27218 do :
27219 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
27220 if test "x$ac_cv_func__frexpl" = xyes; then :
27221 cat >>confdefs.h <<_ACEOF
27222 #define HAVE__FREXPL 1
27223 _ACEOF
27226 done
27235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
27236 $as_echo_n "checking for hypotl declaration... " >&6; }
27237 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
27238 if ${glibcxx_cv_func_hypotl_use+:} false; then :
27239 $as_echo_n "(cached) " >&6
27240 else
27243 ac_ext=cpp
27244 ac_cpp='$CXXCPP $CPPFLAGS'
27245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27250 /* end confdefs.h. */
27251 #include <math.h>
27253 main ()
27255 hypotl(0, 0);
27257 return 0;
27259 _ACEOF
27260 if ac_fn_cxx_try_compile "$LINENO"; then :
27261 glibcxx_cv_func_hypotl_use=yes
27262 else
27263 glibcxx_cv_func_hypotl_use=no
27265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27266 ac_ext=c
27267 ac_cpp='$CPP $CPPFLAGS'
27268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
27277 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
27279 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
27280 for ac_func in hypotl
27281 do :
27282 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
27283 if test "x$ac_cv_func_hypotl" = xyes; then :
27284 cat >>confdefs.h <<_ACEOF
27285 #define HAVE_HYPOTL 1
27286 _ACEOF
27289 done
27291 else
27293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
27294 $as_echo_n "checking for _hypotl declaration... " >&6; }
27295 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
27296 if ${glibcxx_cv_func__hypotl_use+:} false; then :
27297 $as_echo_n "(cached) " >&6
27298 else
27301 ac_ext=cpp
27302 ac_cpp='$CXXCPP $CPPFLAGS'
27303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27308 /* end confdefs.h. */
27309 #include <math.h>
27311 main ()
27313 _hypotl(0, 0);
27315 return 0;
27317 _ACEOF
27318 if ac_fn_cxx_try_compile "$LINENO"; then :
27319 glibcxx_cv_func__hypotl_use=yes
27320 else
27321 glibcxx_cv_func__hypotl_use=no
27323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27324 ac_ext=c
27325 ac_cpp='$CPP $CPPFLAGS'
27326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
27335 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
27337 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
27338 for ac_func in _hypotl
27339 do :
27340 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
27341 if test "x$ac_cv_func__hypotl" = xyes; then :
27342 cat >>confdefs.h <<_ACEOF
27343 #define HAVE__HYPOTL 1
27344 _ACEOF
27347 done
27356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
27357 $as_echo_n "checking for ldexpl declaration... " >&6; }
27358 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
27359 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
27360 $as_echo_n "(cached) " >&6
27361 else
27364 ac_ext=cpp
27365 ac_cpp='$CXXCPP $CPPFLAGS'
27366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27371 /* end confdefs.h. */
27372 #include <math.h>
27374 main ()
27376 ldexpl(0, 0);
27378 return 0;
27380 _ACEOF
27381 if ac_fn_cxx_try_compile "$LINENO"; then :
27382 glibcxx_cv_func_ldexpl_use=yes
27383 else
27384 glibcxx_cv_func_ldexpl_use=no
27386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27387 ac_ext=c
27388 ac_cpp='$CPP $CPPFLAGS'
27389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
27398 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
27400 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
27401 for ac_func in ldexpl
27402 do :
27403 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
27404 if test "x$ac_cv_func_ldexpl" = xyes; then :
27405 cat >>confdefs.h <<_ACEOF
27406 #define HAVE_LDEXPL 1
27407 _ACEOF
27410 done
27412 else
27414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
27415 $as_echo_n "checking for _ldexpl declaration... " >&6; }
27416 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
27417 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
27418 $as_echo_n "(cached) " >&6
27419 else
27422 ac_ext=cpp
27423 ac_cpp='$CXXCPP $CPPFLAGS'
27424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27429 /* end confdefs.h. */
27430 #include <math.h>
27432 main ()
27434 _ldexpl(0, 0);
27436 return 0;
27438 _ACEOF
27439 if ac_fn_cxx_try_compile "$LINENO"; then :
27440 glibcxx_cv_func__ldexpl_use=yes
27441 else
27442 glibcxx_cv_func__ldexpl_use=no
27444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27445 ac_ext=c
27446 ac_cpp='$CPP $CPPFLAGS'
27447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
27456 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
27458 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
27459 for ac_func in _ldexpl
27460 do :
27461 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
27462 if test "x$ac_cv_func__ldexpl" = xyes; then :
27463 cat >>confdefs.h <<_ACEOF
27464 #define HAVE__LDEXPL 1
27465 _ACEOF
27468 done
27477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
27478 $as_echo_n "checking for logl declaration... " >&6; }
27479 if test x${glibcxx_cv_func_logl_use+set} != xset; then
27480 if ${glibcxx_cv_func_logl_use+:} false; then :
27481 $as_echo_n "(cached) " >&6
27482 else
27485 ac_ext=cpp
27486 ac_cpp='$CXXCPP $CPPFLAGS'
27487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27492 /* end confdefs.h. */
27493 #include <math.h>
27494 #ifdef HAVE_IEEEFP_H
27495 #include <ieeefp.h>
27496 #endif
27499 main ()
27501 logl(0);
27503 return 0;
27505 _ACEOF
27506 if ac_fn_cxx_try_compile "$LINENO"; then :
27507 glibcxx_cv_func_logl_use=yes
27508 else
27509 glibcxx_cv_func_logl_use=no
27511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27512 ac_ext=c
27513 ac_cpp='$CPP $CPPFLAGS'
27514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
27523 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
27525 if test x$glibcxx_cv_func_logl_use = x"yes"; then
27526 for ac_func in logl
27527 do :
27528 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
27529 if test "x$ac_cv_func_logl" = xyes; then :
27530 cat >>confdefs.h <<_ACEOF
27531 #define HAVE_LOGL 1
27532 _ACEOF
27535 done
27537 else
27539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
27540 $as_echo_n "checking for _logl declaration... " >&6; }
27541 if test x${glibcxx_cv_func__logl_use+set} != xset; then
27542 if ${glibcxx_cv_func__logl_use+:} false; then :
27543 $as_echo_n "(cached) " >&6
27544 else
27547 ac_ext=cpp
27548 ac_cpp='$CXXCPP $CPPFLAGS'
27549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27554 /* end confdefs.h. */
27555 #include <math.h>
27556 #ifdef HAVE_IEEEFP_H
27557 #include <ieeefp.h>
27558 #endif
27561 main ()
27563 _logl(0);
27565 return 0;
27567 _ACEOF
27568 if ac_fn_cxx_try_compile "$LINENO"; then :
27569 glibcxx_cv_func__logl_use=yes
27570 else
27571 glibcxx_cv_func__logl_use=no
27573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27574 ac_ext=c
27575 ac_cpp='$CPP $CPPFLAGS'
27576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
27585 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
27587 if test x$glibcxx_cv_func__logl_use = x"yes"; then
27588 for ac_func in _logl
27589 do :
27590 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
27591 if test "x$ac_cv_func__logl" = xyes; then :
27592 cat >>confdefs.h <<_ACEOF
27593 #define HAVE__LOGL 1
27594 _ACEOF
27597 done
27606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
27607 $as_echo_n "checking for log10l declaration... " >&6; }
27608 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
27609 if ${glibcxx_cv_func_log10l_use+:} false; then :
27610 $as_echo_n "(cached) " >&6
27611 else
27614 ac_ext=cpp
27615 ac_cpp='$CXXCPP $CPPFLAGS'
27616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27621 /* end confdefs.h. */
27622 #include <math.h>
27623 #ifdef HAVE_IEEEFP_H
27624 #include <ieeefp.h>
27625 #endif
27628 main ()
27630 log10l(0);
27632 return 0;
27634 _ACEOF
27635 if ac_fn_cxx_try_compile "$LINENO"; then :
27636 glibcxx_cv_func_log10l_use=yes
27637 else
27638 glibcxx_cv_func_log10l_use=no
27640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27641 ac_ext=c
27642 ac_cpp='$CPP $CPPFLAGS'
27643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
27652 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
27654 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
27655 for ac_func in log10l
27656 do :
27657 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
27658 if test "x$ac_cv_func_log10l" = xyes; then :
27659 cat >>confdefs.h <<_ACEOF
27660 #define HAVE_LOG10L 1
27661 _ACEOF
27664 done
27666 else
27668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
27669 $as_echo_n "checking for _log10l declaration... " >&6; }
27670 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
27671 if ${glibcxx_cv_func__log10l_use+:} false; then :
27672 $as_echo_n "(cached) " >&6
27673 else
27676 ac_ext=cpp
27677 ac_cpp='$CXXCPP $CPPFLAGS'
27678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27683 /* end confdefs.h. */
27684 #include <math.h>
27685 #ifdef HAVE_IEEEFP_H
27686 #include <ieeefp.h>
27687 #endif
27690 main ()
27692 _log10l(0);
27694 return 0;
27696 _ACEOF
27697 if ac_fn_cxx_try_compile "$LINENO"; then :
27698 glibcxx_cv_func__log10l_use=yes
27699 else
27700 glibcxx_cv_func__log10l_use=no
27702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27703 ac_ext=c
27704 ac_cpp='$CPP $CPPFLAGS'
27705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
27714 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
27716 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
27717 for ac_func in _log10l
27718 do :
27719 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
27720 if test "x$ac_cv_func__log10l" = xyes; then :
27721 cat >>confdefs.h <<_ACEOF
27722 #define HAVE__LOG10L 1
27723 _ACEOF
27726 done
27735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
27736 $as_echo_n "checking for modfl declaration... " >&6; }
27737 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
27738 if ${glibcxx_cv_func_modfl_use+:} false; then :
27739 $as_echo_n "(cached) " >&6
27740 else
27743 ac_ext=cpp
27744 ac_cpp='$CXXCPP $CPPFLAGS'
27745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27750 /* end confdefs.h. */
27751 #include <math.h>
27753 main ()
27755 modfl(0, 0);
27757 return 0;
27759 _ACEOF
27760 if ac_fn_cxx_try_compile "$LINENO"; then :
27761 glibcxx_cv_func_modfl_use=yes
27762 else
27763 glibcxx_cv_func_modfl_use=no
27765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27766 ac_ext=c
27767 ac_cpp='$CPP $CPPFLAGS'
27768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27777 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27779 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27780 for ac_func in modfl
27781 do :
27782 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27783 if test "x$ac_cv_func_modfl" = xyes; then :
27784 cat >>confdefs.h <<_ACEOF
27785 #define HAVE_MODFL 1
27786 _ACEOF
27789 done
27791 else
27793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27794 $as_echo_n "checking for _modfl declaration... " >&6; }
27795 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27796 if ${glibcxx_cv_func__modfl_use+:} false; then :
27797 $as_echo_n "(cached) " >&6
27798 else
27801 ac_ext=cpp
27802 ac_cpp='$CXXCPP $CPPFLAGS'
27803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27808 /* end confdefs.h. */
27809 #include <math.h>
27811 main ()
27813 _modfl(0, 0);
27815 return 0;
27817 _ACEOF
27818 if ac_fn_cxx_try_compile "$LINENO"; then :
27819 glibcxx_cv_func__modfl_use=yes
27820 else
27821 glibcxx_cv_func__modfl_use=no
27823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27824 ac_ext=c
27825 ac_cpp='$CPP $CPPFLAGS'
27826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27835 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27837 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27838 for ac_func in _modfl
27839 do :
27840 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27841 if test "x$ac_cv_func__modfl" = xyes; then :
27842 cat >>confdefs.h <<_ACEOF
27843 #define HAVE__MODFL 1
27844 _ACEOF
27847 done
27856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27857 $as_echo_n "checking for powl declaration... " >&6; }
27858 if test x${glibcxx_cv_func_powl_use+set} != xset; then
27859 if ${glibcxx_cv_func_powl_use+:} false; then :
27860 $as_echo_n "(cached) " >&6
27861 else
27864 ac_ext=cpp
27865 ac_cpp='$CXXCPP $CPPFLAGS'
27866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27871 /* end confdefs.h. */
27872 #include <math.h>
27874 main ()
27876 powl(0, 0);
27878 return 0;
27880 _ACEOF
27881 if ac_fn_cxx_try_compile "$LINENO"; then :
27882 glibcxx_cv_func_powl_use=yes
27883 else
27884 glibcxx_cv_func_powl_use=no
27886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27887 ac_ext=c
27888 ac_cpp='$CPP $CPPFLAGS'
27889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27898 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27900 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27901 for ac_func in powl
27902 do :
27903 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27904 if test "x$ac_cv_func_powl" = xyes; then :
27905 cat >>confdefs.h <<_ACEOF
27906 #define HAVE_POWL 1
27907 _ACEOF
27910 done
27912 else
27914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27915 $as_echo_n "checking for _powl declaration... " >&6; }
27916 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27917 if ${glibcxx_cv_func__powl_use+:} false; then :
27918 $as_echo_n "(cached) " >&6
27919 else
27922 ac_ext=cpp
27923 ac_cpp='$CXXCPP $CPPFLAGS'
27924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27929 /* end confdefs.h. */
27930 #include <math.h>
27932 main ()
27934 _powl(0, 0);
27936 return 0;
27938 _ACEOF
27939 if ac_fn_cxx_try_compile "$LINENO"; then :
27940 glibcxx_cv_func__powl_use=yes
27941 else
27942 glibcxx_cv_func__powl_use=no
27944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27945 ac_ext=c
27946 ac_cpp='$CPP $CPPFLAGS'
27947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27956 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27958 if test x$glibcxx_cv_func__powl_use = x"yes"; then
27959 for ac_func in _powl
27960 do :
27961 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27962 if test "x$ac_cv_func__powl" = xyes; then :
27963 cat >>confdefs.h <<_ACEOF
27964 #define HAVE__POWL 1
27965 _ACEOF
27968 done
27977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27978 $as_echo_n "checking for sqrtl declaration... " >&6; }
27979 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27980 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
27981 $as_echo_n "(cached) " >&6
27982 else
27985 ac_ext=cpp
27986 ac_cpp='$CXXCPP $CPPFLAGS'
27987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27992 /* end confdefs.h. */
27993 #include <math.h>
27994 #ifdef HAVE_IEEEFP_H
27995 #include <ieeefp.h>
27996 #endif
27999 main ()
28001 sqrtl(0);
28003 return 0;
28005 _ACEOF
28006 if ac_fn_cxx_try_compile "$LINENO"; then :
28007 glibcxx_cv_func_sqrtl_use=yes
28008 else
28009 glibcxx_cv_func_sqrtl_use=no
28011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28012 ac_ext=c
28013 ac_cpp='$CPP $CPPFLAGS'
28014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
28023 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
28025 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
28026 for ac_func in sqrtl
28027 do :
28028 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
28029 if test "x$ac_cv_func_sqrtl" = xyes; then :
28030 cat >>confdefs.h <<_ACEOF
28031 #define HAVE_SQRTL 1
28032 _ACEOF
28035 done
28037 else
28039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
28040 $as_echo_n "checking for _sqrtl declaration... " >&6; }
28041 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
28042 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
28043 $as_echo_n "(cached) " >&6
28044 else
28047 ac_ext=cpp
28048 ac_cpp='$CXXCPP $CPPFLAGS'
28049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28054 /* end confdefs.h. */
28055 #include <math.h>
28056 #ifdef HAVE_IEEEFP_H
28057 #include <ieeefp.h>
28058 #endif
28061 main ()
28063 _sqrtl(0);
28065 return 0;
28067 _ACEOF
28068 if ac_fn_cxx_try_compile "$LINENO"; then :
28069 glibcxx_cv_func__sqrtl_use=yes
28070 else
28071 glibcxx_cv_func__sqrtl_use=no
28073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28074 ac_ext=c
28075 ac_cpp='$CPP $CPPFLAGS'
28076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
28085 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
28087 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
28088 for ac_func in _sqrtl
28089 do :
28090 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
28091 if test "x$ac_cv_func__sqrtl" = xyes; then :
28092 cat >>confdefs.h <<_ACEOF
28093 #define HAVE__SQRTL 1
28094 _ACEOF
28097 done
28106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
28107 $as_echo_n "checking for sincosl declaration... " >&6; }
28108 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
28109 if ${glibcxx_cv_func_sincosl_use+:} false; then :
28110 $as_echo_n "(cached) " >&6
28111 else
28114 ac_ext=cpp
28115 ac_cpp='$CXXCPP $CPPFLAGS'
28116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28121 /* end confdefs.h. */
28122 #include <math.h>
28124 main ()
28126 sincosl(0, 0, 0);
28128 return 0;
28130 _ACEOF
28131 if ac_fn_cxx_try_compile "$LINENO"; then :
28132 glibcxx_cv_func_sincosl_use=yes
28133 else
28134 glibcxx_cv_func_sincosl_use=no
28136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28137 ac_ext=c
28138 ac_cpp='$CPP $CPPFLAGS'
28139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
28148 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
28150 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
28151 for ac_func in sincosl
28152 do :
28153 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
28154 if test "x$ac_cv_func_sincosl" = xyes; then :
28155 cat >>confdefs.h <<_ACEOF
28156 #define HAVE_SINCOSL 1
28157 _ACEOF
28160 done
28162 else
28164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
28165 $as_echo_n "checking for _sincosl declaration... " >&6; }
28166 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
28167 if ${glibcxx_cv_func__sincosl_use+:} false; then :
28168 $as_echo_n "(cached) " >&6
28169 else
28172 ac_ext=cpp
28173 ac_cpp='$CXXCPP $CPPFLAGS'
28174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28179 /* end confdefs.h. */
28180 #include <math.h>
28182 main ()
28184 _sincosl(0, 0, 0);
28186 return 0;
28188 _ACEOF
28189 if ac_fn_cxx_try_compile "$LINENO"; then :
28190 glibcxx_cv_func__sincosl_use=yes
28191 else
28192 glibcxx_cv_func__sincosl_use=no
28194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28195 ac_ext=c
28196 ac_cpp='$CPP $CPPFLAGS'
28197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
28206 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
28208 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
28209 for ac_func in _sincosl
28210 do :
28211 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
28212 if test "x$ac_cv_func__sincosl" = xyes; then :
28213 cat >>confdefs.h <<_ACEOF
28214 #define HAVE__SINCOSL 1
28215 _ACEOF
28218 done
28227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
28228 $as_echo_n "checking for finitel declaration... " >&6; }
28229 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
28230 if ${glibcxx_cv_func_finitel_use+:} false; then :
28231 $as_echo_n "(cached) " >&6
28232 else
28235 ac_ext=cpp
28236 ac_cpp='$CXXCPP $CPPFLAGS'
28237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28242 /* end confdefs.h. */
28243 #include <math.h>
28244 #ifdef HAVE_IEEEFP_H
28245 #include <ieeefp.h>
28246 #endif
28249 main ()
28251 finitel(0);
28253 return 0;
28255 _ACEOF
28256 if ac_fn_cxx_try_compile "$LINENO"; then :
28257 glibcxx_cv_func_finitel_use=yes
28258 else
28259 glibcxx_cv_func_finitel_use=no
28261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28262 ac_ext=c
28263 ac_cpp='$CPP $CPPFLAGS'
28264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
28273 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
28275 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
28276 for ac_func in finitel
28277 do :
28278 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
28279 if test "x$ac_cv_func_finitel" = xyes; then :
28280 cat >>confdefs.h <<_ACEOF
28281 #define HAVE_FINITEL 1
28282 _ACEOF
28285 done
28287 else
28289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
28290 $as_echo_n "checking for _finitel declaration... " >&6; }
28291 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
28292 if ${glibcxx_cv_func__finitel_use+:} false; then :
28293 $as_echo_n "(cached) " >&6
28294 else
28297 ac_ext=cpp
28298 ac_cpp='$CXXCPP $CPPFLAGS'
28299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28304 /* end confdefs.h. */
28305 #include <math.h>
28306 #ifdef HAVE_IEEEFP_H
28307 #include <ieeefp.h>
28308 #endif
28311 main ()
28313 _finitel(0);
28315 return 0;
28317 _ACEOF
28318 if ac_fn_cxx_try_compile "$LINENO"; then :
28319 glibcxx_cv_func__finitel_use=yes
28320 else
28321 glibcxx_cv_func__finitel_use=no
28323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28324 ac_ext=c
28325 ac_cpp='$CPP $CPPFLAGS'
28326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
28335 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
28337 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
28338 for ac_func in _finitel
28339 do :
28340 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
28341 if test "x$ac_cv_func__finitel" = xyes; then :
28342 cat >>confdefs.h <<_ACEOF
28343 #define HAVE__FINITEL 1
28344 _ACEOF
28347 done
28355 LIBS="$ac_save_LIBS"
28356 CXXFLAGS="$ac_save_CXXFLAGS"
28359 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28360 ac_save_CXXFLAGS="$CXXFLAGS"
28361 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
28365 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
28366 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
28367 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
28368 $as_echo_n "(cached) " >&6
28369 else
28372 ac_ext=cpp
28373 ac_cpp='$CXXCPP $CPPFLAGS'
28374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28379 /* end confdefs.h. */
28380 #include <stdlib.h>
28382 main ()
28384 at_quick_exit(0);
28386 return 0;
28388 _ACEOF
28389 if ac_fn_cxx_try_compile "$LINENO"; then :
28390 glibcxx_cv_func_at_quick_exit_use=yes
28391 else
28392 glibcxx_cv_func_at_quick_exit_use=no
28394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28395 ac_ext=c
28396 ac_cpp='$CPP $CPPFLAGS'
28397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
28406 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
28407 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
28408 for ac_func in at_quick_exit
28409 do :
28410 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
28411 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
28412 cat >>confdefs.h <<_ACEOF
28413 #define HAVE_AT_QUICK_EXIT 1
28414 _ACEOF
28417 done
28422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
28423 $as_echo_n "checking for quick_exit declaration... " >&6; }
28424 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
28425 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
28426 $as_echo_n "(cached) " >&6
28427 else
28430 ac_ext=cpp
28431 ac_cpp='$CXXCPP $CPPFLAGS'
28432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28437 /* end confdefs.h. */
28438 #include <stdlib.h>
28440 main ()
28442 quick_exit(0);
28444 return 0;
28446 _ACEOF
28447 if ac_fn_cxx_try_compile "$LINENO"; then :
28448 glibcxx_cv_func_quick_exit_use=yes
28449 else
28450 glibcxx_cv_func_quick_exit_use=no
28452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28453 ac_ext=c
28454 ac_cpp='$CPP $CPPFLAGS'
28455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
28464 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
28465 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
28466 for ac_func in quick_exit
28467 do :
28468 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
28469 if test "x$ac_cv_func_quick_exit" = xyes; then :
28470 cat >>confdefs.h <<_ACEOF
28471 #define HAVE_QUICK_EXIT 1
28472 _ACEOF
28475 done
28480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
28481 $as_echo_n "checking for strtold declaration... " >&6; }
28482 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
28483 if ${glibcxx_cv_func_strtold_use+:} false; then :
28484 $as_echo_n "(cached) " >&6
28485 else
28488 ac_ext=cpp
28489 ac_cpp='$CXXCPP $CPPFLAGS'
28490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28495 /* end confdefs.h. */
28496 #include <stdlib.h>
28498 main ()
28500 strtold(0, 0);
28502 return 0;
28504 _ACEOF
28505 if ac_fn_cxx_try_compile "$LINENO"; then :
28506 glibcxx_cv_func_strtold_use=yes
28507 else
28508 glibcxx_cv_func_strtold_use=no
28510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28511 ac_ext=c
28512 ac_cpp='$CPP $CPPFLAGS'
28513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
28522 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
28523 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28524 for ac_func in strtold
28525 do :
28526 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
28527 if test "x$ac_cv_func_strtold" = xyes; then :
28528 cat >>confdefs.h <<_ACEOF
28529 #define HAVE_STRTOLD 1
28530 _ACEOF
28533 done
28540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
28541 $as_echo_n "checking for strtof declaration... " >&6; }
28542 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
28543 if ${glibcxx_cv_func_strtof_use+:} false; then :
28544 $as_echo_n "(cached) " >&6
28545 else
28548 ac_ext=cpp
28549 ac_cpp='$CXXCPP $CPPFLAGS'
28550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28555 /* end confdefs.h. */
28556 #include <stdlib.h>
28558 main ()
28560 strtof(0, 0);
28562 return 0;
28564 _ACEOF
28565 if ac_fn_cxx_try_compile "$LINENO"; then :
28566 glibcxx_cv_func_strtof_use=yes
28567 else
28568 glibcxx_cv_func_strtof_use=no
28570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28571 ac_ext=c
28572 ac_cpp='$CPP $CPPFLAGS'
28573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
28582 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
28583 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
28584 for ac_func in strtof
28585 do :
28586 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
28587 if test "x$ac_cv_func_strtof" = xyes; then :
28588 cat >>confdefs.h <<_ACEOF
28589 #define HAVE_STRTOF 1
28590 _ACEOF
28593 done
28600 CXXFLAGS="$ac_save_CXXFLAGS"
28603 # For /dev/random and /dev/urandom for std::random_device.
28606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device" >&5
28607 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device... " >&6; }
28608 if ${glibcxx_cv_dev_random+:} false; then :
28609 $as_echo_n "(cached) " >&6
28610 else
28612 if test -r /dev/random && test -r /dev/urandom; then
28613 ## For MSys environment the test above is detected as false-positive
28614 ## on mingw-targets. So disable it explicitly for them.
28615 case ${target_os} in
28616 *mingw*) glibcxx_cv_dev_random=no ;;
28617 *) glibcxx_cv_dev_random=yes ;;
28618 esac
28619 else
28620 glibcxx_cv_dev_random=no;
28624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dev_random" >&5
28625 $as_echo "$glibcxx_cv_dev_random" >&6; }
28627 if test x"$glibcxx_cv_dev_random" = x"yes"; then
28629 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
28632 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
28638 # For TLS support.
28641 # Check whether --enable-tls was given.
28642 if test "${enable_tls+set}" = set; then :
28643 enableval=$enable_tls;
28644 case "$enableval" in
28645 yes|no) ;;
28646 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
28647 esac
28649 else
28650 enable_tls=yes
28654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
28655 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
28656 if ${gcc_cv_have_tls+:} false; then :
28657 $as_echo_n "(cached) " >&6
28658 else
28660 if test "$cross_compiling" = yes; then :
28661 if test x$gcc_no_link = xyes; then
28662 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28665 /* end confdefs.h. */
28666 __thread int a; int b; int main() { return a = b; }
28667 _ACEOF
28668 if ac_fn_c_try_link "$LINENO"; then :
28669 chktls_save_LDFLAGS="$LDFLAGS"
28670 case $host in
28671 *-*-linux* | -*-uclinuxfdpic*)
28672 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
28674 esac
28675 chktls_save_CFLAGS="$CFLAGS"
28676 CFLAGS="-fPIC $CFLAGS"
28677 if test x$gcc_no_link = xyes; then
28678 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28681 /* end confdefs.h. */
28682 int f() { return 0; }
28683 _ACEOF
28684 if ac_fn_c_try_link "$LINENO"; then :
28685 if test x$gcc_no_link = xyes; then
28686 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28689 /* end confdefs.h. */
28690 __thread int a; int b; int f() { return a = b; }
28691 _ACEOF
28692 if ac_fn_c_try_link "$LINENO"; then :
28693 gcc_cv_have_tls=yes
28694 else
28695 gcc_cv_have_tls=no
28697 rm -f core conftest.err conftest.$ac_objext \
28698 conftest$ac_exeext conftest.$ac_ext
28699 else
28700 gcc_cv_have_tls=yes
28702 rm -f core conftest.err conftest.$ac_objext \
28703 conftest$ac_exeext conftest.$ac_ext
28704 CFLAGS="$chktls_save_CFLAGS"
28705 LDFLAGS="$chktls_save_LDFLAGS"
28706 else
28707 gcc_cv_have_tls=no
28709 rm -f core conftest.err conftest.$ac_objext \
28710 conftest$ac_exeext conftest.$ac_ext
28713 else
28714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28715 /* end confdefs.h. */
28716 __thread int a; int b; int main() { return a = b; }
28717 _ACEOF
28718 if ac_fn_c_try_run "$LINENO"; then :
28719 chktls_save_LDFLAGS="$LDFLAGS"
28720 LDFLAGS="-static $LDFLAGS"
28721 if test x$gcc_no_link = xyes; then
28722 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28725 /* end confdefs.h. */
28726 int main() { return 0; }
28727 _ACEOF
28728 if ac_fn_c_try_link "$LINENO"; then :
28729 if test "$cross_compiling" = yes; then :
28730 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28731 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28732 as_fn_error $? "cannot run test program while cross compiling
28733 See \`config.log' for more details" "$LINENO" 5; }
28734 else
28735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28736 /* end confdefs.h. */
28737 __thread int a; int b; int main() { return a = b; }
28738 _ACEOF
28739 if ac_fn_c_try_run "$LINENO"; then :
28740 gcc_cv_have_tls=yes
28741 else
28742 gcc_cv_have_tls=no
28744 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28745 conftest.$ac_objext conftest.beam conftest.$ac_ext
28748 else
28749 gcc_cv_have_tls=yes
28751 rm -f core conftest.err conftest.$ac_objext \
28752 conftest$ac_exeext conftest.$ac_ext
28753 LDFLAGS="$chktls_save_LDFLAGS"
28754 if test $gcc_cv_have_tls = yes; then
28755 chktls_save_CFLAGS="$CFLAGS"
28756 thread_CFLAGS=failed
28757 for flag in '' '-pthread' '-lpthread'; do
28758 CFLAGS="$flag $chktls_save_CFLAGS"
28759 if test x$gcc_no_link = xyes; then
28760 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28763 /* end confdefs.h. */
28764 #include <pthread.h>
28765 void *g(void *d) { return NULL; }
28767 main ()
28769 pthread_t t; pthread_create(&t,NULL,g,NULL);
28771 return 0;
28773 _ACEOF
28774 if ac_fn_c_try_link "$LINENO"; then :
28775 thread_CFLAGS="$flag"
28777 rm -f core conftest.err conftest.$ac_objext \
28778 conftest$ac_exeext conftest.$ac_ext
28779 if test "X$thread_CFLAGS" != Xfailed; then
28780 break
28782 done
28783 CFLAGS="$chktls_save_CFLAGS"
28784 if test "X$thread_CFLAGS" != Xfailed; then
28785 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28786 if test "$cross_compiling" = yes; then :
28787 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28788 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28789 as_fn_error $? "cannot run test program while cross compiling
28790 See \`config.log' for more details" "$LINENO" 5; }
28791 else
28792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28793 /* end confdefs.h. */
28794 #include <pthread.h>
28795 __thread int a;
28796 static int *volatile a_in_other_thread;
28797 static void *
28798 thread_func (void *arg)
28800 a_in_other_thread = &a;
28801 return (void *)0;
28804 main ()
28806 pthread_t thread;
28807 void *thread_retval;
28808 int *volatile a_in_main_thread;
28809 a_in_main_thread = &a;
28810 if (pthread_create (&thread, (pthread_attr_t *)0,
28811 thread_func, (void *)0))
28812 return 0;
28813 if (pthread_join (thread, &thread_retval))
28814 return 0;
28815 return (a_in_other_thread == a_in_main_thread);
28817 return 0;
28819 _ACEOF
28820 if ac_fn_c_try_run "$LINENO"; then :
28821 gcc_cv_have_tls=yes
28822 else
28823 gcc_cv_have_tls=no
28825 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28826 conftest.$ac_objext conftest.beam conftest.$ac_ext
28829 CFLAGS="$chktls_save_CFLAGS"
28832 else
28833 gcc_cv_have_tls=no
28835 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28836 conftest.$ac_objext conftest.beam conftest.$ac_ext
28840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28841 $as_echo "$gcc_cv_have_tls" >&6; }
28842 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28844 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28848 for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28849 do :
28850 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28851 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28852 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28853 cat >>confdefs.h <<_ACEOF
28854 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28855 _ACEOF
28858 done
28860 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28861 do :
28862 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28863 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28864 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28865 cat >>confdefs.h <<_ACEOF
28866 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28867 _ACEOF
28870 done
28872 for ac_func in _wfopen
28873 do :
28874 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
28875 if test "x$ac_cv_func__wfopen" = xyes; then :
28876 cat >>confdefs.h <<_ACEOF
28877 #define HAVE__WFOPEN 1
28878 _ACEOF
28881 done
28883 for ac_func in secure_getenv
28884 do :
28885 ac_fn_c_check_func "$LINENO" "secure_getenv" "ac_cv_func_secure_getenv"
28886 if test "x$ac_cv_func_secure_getenv" = xyes; then :
28887 cat >>confdefs.h <<_ACEOF
28888 #define HAVE_SECURE_GETENV 1
28889 _ACEOF
28892 done
28895 # C11 functions for C++17 library
28896 for ac_func in timespec_get
28897 do :
28898 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
28899 if test "x$ac_cv_func_timespec_get" = xyes; then :
28900 cat >>confdefs.h <<_ACEOF
28901 #define HAVE_TIMESPEC_GET 1
28902 _ACEOF
28905 done
28908 # For Networking TS.
28909 for ac_func in sockatmark
28910 do :
28911 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
28912 if test "x$ac_cv_func_sockatmark" = xyes; then :
28913 cat >>confdefs.h <<_ACEOF
28914 #define HAVE_SOCKATMARK 1
28915 _ACEOF
28918 done
28921 # Non-standard functions used by C++17 std::from_chars
28922 for ac_func in uselocale
28923 do :
28924 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
28925 if test "x$ac_cv_func_uselocale" = xyes; then :
28926 cat >>confdefs.h <<_ACEOF
28927 #define HAVE_USELOCALE 1
28928 _ACEOF
28931 done
28934 # For iconv support.
28936 if test "X$prefix" = "XNONE"; then
28937 acl_final_prefix="$ac_default_prefix"
28938 else
28939 acl_final_prefix="$prefix"
28941 if test "X$exec_prefix" = "XNONE"; then
28942 acl_final_exec_prefix='${prefix}'
28943 else
28944 acl_final_exec_prefix="$exec_prefix"
28946 acl_save_prefix="$prefix"
28947 prefix="$acl_final_prefix"
28948 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28949 prefix="$acl_save_prefix"
28952 # Check whether --with-gnu-ld was given.
28953 if test "${with_gnu_ld+set}" = set; then :
28954 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28955 else
28956 with_gnu_ld=no
28959 # Prepare PATH_SEPARATOR.
28960 # The user is always right.
28961 if test "${PATH_SEPARATOR+set}" != set; then
28962 echo "#! /bin/sh" >conf$$.sh
28963 echo "exit 0" >>conf$$.sh
28964 chmod +x conf$$.sh
28965 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28966 PATH_SEPARATOR=';'
28967 else
28968 PATH_SEPARATOR=:
28970 rm -f conf$$.sh
28972 ac_prog=ld
28973 if test "$GCC" = yes; then
28974 # Check if gcc -print-prog-name=ld gives a path.
28975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28976 $as_echo_n "checking for ld used by GCC... " >&6; }
28977 case $host in
28978 *-*-mingw*)
28979 # gcc leaves a trailing carriage return which upsets mingw
28980 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28982 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28983 esac
28984 case $ac_prog in
28985 # Accept absolute paths.
28986 [\\/]* | [A-Za-z]:[\\/]*)
28987 re_direlt='/[^/][^/]*/\.\./'
28988 # Canonicalize the path of ld
28989 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28990 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28991 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28992 done
28993 test -z "$LD" && LD="$ac_prog"
28996 # If it fails, then pretend we aren't using GCC.
28997 ac_prog=ld
29000 # If it is relative, then search for the first ld in PATH.
29001 with_gnu_ld=unknown
29003 esac
29004 elif test "$with_gnu_ld" = yes; then
29005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
29006 $as_echo_n "checking for GNU ld... " >&6; }
29007 else
29008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
29009 $as_echo_n "checking for non-GNU ld... " >&6; }
29011 if ${acl_cv_path_LD+:} false; then :
29012 $as_echo_n "(cached) " >&6
29013 else
29014 if test -z "$LD"; then
29015 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
29016 for ac_dir in $PATH; do
29017 test -z "$ac_dir" && ac_dir=.
29018 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
29019 acl_cv_path_LD="$ac_dir/$ac_prog"
29020 # Check to see if the program is GNU ld. I'd rather use --version,
29021 # but apparently some GNU ld's only accept -v.
29022 # Break only if it was the GNU/non-GNU ld that we prefer.
29023 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
29024 test "$with_gnu_ld" != no && break
29025 else
29026 test "$with_gnu_ld" != yes && break
29029 done
29030 IFS="$ac_save_ifs"
29031 else
29032 acl_cv_path_LD="$LD" # Let the user override the test with a path.
29036 LD="$acl_cv_path_LD"
29037 if test -n "$LD"; then
29038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
29039 $as_echo "$LD" >&6; }
29040 else
29041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29042 $as_echo "no" >&6; }
29044 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
29045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
29046 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
29047 if ${acl_cv_prog_gnu_ld+:} false; then :
29048 $as_echo_n "(cached) " >&6
29049 else
29050 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
29051 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
29052 acl_cv_prog_gnu_ld=yes
29053 else
29054 acl_cv_prog_gnu_ld=no
29057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
29058 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
29059 with_gnu_ld=$acl_cv_prog_gnu_ld
29063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
29064 $as_echo_n "checking for shared library run path origin... " >&6; }
29065 if ${acl_cv_rpath+:} false; then :
29066 $as_echo_n "(cached) " >&6
29067 else
29069 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
29070 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
29071 . ./conftest.sh
29072 rm -f ./conftest.sh
29073 acl_cv_rpath=done
29076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
29077 $as_echo "$acl_cv_rpath" >&6; }
29078 wl="$acl_cv_wl"
29079 libext="$acl_cv_libext"
29080 shlibext="$acl_cv_shlibext"
29081 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
29082 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
29083 hardcode_direct="$acl_cv_hardcode_direct"
29084 hardcode_minus_L="$acl_cv_hardcode_minus_L"
29085 # Check whether --enable-rpath was given.
29086 if test "${enable_rpath+set}" = set; then :
29087 enableval=$enable_rpath; :
29088 else
29089 enable_rpath=yes
29099 use_additional=yes
29101 acl_save_prefix="$prefix"
29102 prefix="$acl_final_prefix"
29103 acl_save_exec_prefix="$exec_prefix"
29104 exec_prefix="$acl_final_exec_prefix"
29106 eval additional_includedir=\"$includedir\"
29107 eval additional_libdir=\"$libdir\"
29109 exec_prefix="$acl_save_exec_prefix"
29110 prefix="$acl_save_prefix"
29113 # Check whether --with-libiconv-prefix was given.
29114 if test "${with_libiconv_prefix+set}" = set; then :
29115 withval=$with_libiconv_prefix;
29116 if test "X$withval" = "Xno"; then
29117 use_additional=no
29118 else
29119 if test "X$withval" = "X"; then
29121 acl_save_prefix="$prefix"
29122 prefix="$acl_final_prefix"
29123 acl_save_exec_prefix="$exec_prefix"
29124 exec_prefix="$acl_final_exec_prefix"
29126 eval additional_includedir=\"$includedir\"
29127 eval additional_libdir=\"$libdir\"
29129 exec_prefix="$acl_save_exec_prefix"
29130 prefix="$acl_save_prefix"
29132 else
29133 additional_includedir="$withval/include"
29134 additional_libdir="$withval/lib"
29141 # Check whether --with-libiconv-type was given.
29142 if test "${with_libiconv_type+set}" = set; then :
29143 withval=$with_libiconv_type; with_libiconv_type=$withval
29144 else
29145 with_libiconv_type=auto
29148 lib_type=`eval echo \$with_libiconv_type`
29150 LIBICONV=
29151 LTLIBICONV=
29152 INCICONV=
29153 rpathdirs=
29154 ltrpathdirs=
29155 names_already_handled=
29156 names_next_round='iconv '
29157 while test -n "$names_next_round"; do
29158 names_this_round="$names_next_round"
29159 names_next_round=
29160 for name in $names_this_round; do
29161 already_handled=
29162 for n in $names_already_handled; do
29163 if test "$n" = "$name"; then
29164 already_handled=yes
29165 break
29167 done
29168 if test -z "$already_handled"; then
29169 names_already_handled="$names_already_handled $name"
29170 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
29171 eval value=\"\$HAVE_LIB$uppername\"
29172 if test -n "$value"; then
29173 if test "$value" = yes; then
29174 eval value=\"\$LIB$uppername\"
29175 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
29176 eval value=\"\$LTLIB$uppername\"
29177 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
29178 else
29181 else
29182 found_dir=
29183 found_la=
29184 found_so=
29185 found_a=
29186 if test $use_additional = yes; then
29187 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x$lib_type != xstatic; then
29188 found_dir="$additional_libdir"
29189 found_so="$additional_libdir/lib$name.$shlibext"
29190 if test -f "$additional_libdir/lib$name.la"; then
29191 found_la="$additional_libdir/lib$name.la"
29193 elif test x$lib_type != xshared; then
29194 if test -f "$additional_libdir/lib$name.$libext"; then
29195 found_dir="$additional_libdir"
29196 found_a="$additional_libdir/lib$name.$libext"
29197 if test -f "$additional_libdir/lib$name.la"; then
29198 found_la="$additional_libdir/lib$name.la"
29203 if test "X$found_dir" = "X"; then
29204 for x in $LDFLAGS $LTLIBICONV; do
29206 acl_save_prefix="$prefix"
29207 prefix="$acl_final_prefix"
29208 acl_save_exec_prefix="$exec_prefix"
29209 exec_prefix="$acl_final_exec_prefix"
29210 eval x=\"$x\"
29211 exec_prefix="$acl_save_exec_prefix"
29212 prefix="$acl_save_prefix"
29214 case "$x" in
29215 -L*)
29216 dir=`echo "X$x" | sed -e 's/^X-L//'`
29217 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x$lib_type != xstatic; then
29218 found_dir="$dir"
29219 found_so="$dir/lib$name.$shlibext"
29220 if test -f "$dir/lib$name.la"; then
29221 found_la="$dir/lib$name.la"
29223 elif test x$lib_type != xshared; then
29224 if test -f "$dir/lib$name.$libext"; then
29225 found_dir="$dir"
29226 found_a="$dir/lib$name.$libext"
29227 if test -f "$dir/lib$name.la"; then
29228 found_la="$dir/lib$name.la"
29233 esac
29234 if test "X$found_dir" != "X"; then
29235 break
29237 done
29239 if test "X$found_dir" != "X"; then
29240 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
29241 if test "X$found_so" != "X"; then
29242 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
29243 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29244 else
29245 haveit=
29246 for x in $ltrpathdirs; do
29247 if test "X$x" = "X$found_dir"; then
29248 haveit=yes
29249 break
29251 done
29252 if test -z "$haveit"; then
29253 ltrpathdirs="$ltrpathdirs $found_dir"
29255 if test "$hardcode_direct" = yes; then
29256 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29257 else
29258 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
29259 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29260 haveit=
29261 for x in $rpathdirs; do
29262 if test "X$x" = "X$found_dir"; then
29263 haveit=yes
29264 break
29266 done
29267 if test -z "$haveit"; then
29268 rpathdirs="$rpathdirs $found_dir"
29270 else
29271 haveit=
29272 for x in $LDFLAGS $LIBICONV; do
29274 acl_save_prefix="$prefix"
29275 prefix="$acl_final_prefix"
29276 acl_save_exec_prefix="$exec_prefix"
29277 exec_prefix="$acl_final_exec_prefix"
29278 eval x=\"$x\"
29279 exec_prefix="$acl_save_exec_prefix"
29280 prefix="$acl_save_prefix"
29282 if test "X$x" = "X-L$found_dir"; then
29283 haveit=yes
29284 break
29286 done
29287 if test -z "$haveit"; then
29288 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
29290 if test "$hardcode_minus_L" != no; then
29291 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29292 else
29293 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
29298 else
29299 if test "X$found_a" != "X"; then
29300 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
29301 else
29302 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
29305 additional_includedir=
29306 case "$found_dir" in
29307 */lib | */lib/)
29308 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
29309 additional_includedir="$basedir/include"
29311 esac
29312 if test "X$additional_includedir" != "X"; then
29313 if test "X$additional_includedir" != "X/usr/include"; then
29314 haveit=
29315 if test "X$additional_includedir" = "X/usr/local/include"; then
29316 if test -n "$GCC"; then
29317 case $host_os in
29318 linux*) haveit=yes;;
29319 esac
29322 if test -z "$haveit"; then
29323 for x in $CPPFLAGS $INCICONV; do
29325 acl_save_prefix="$prefix"
29326 prefix="$acl_final_prefix"
29327 acl_save_exec_prefix="$exec_prefix"
29328 exec_prefix="$acl_final_exec_prefix"
29329 eval x=\"$x\"
29330 exec_prefix="$acl_save_exec_prefix"
29331 prefix="$acl_save_prefix"
29333 if test "X$x" = "X-I$additional_includedir"; then
29334 haveit=yes
29335 break
29337 done
29338 if test -z "$haveit"; then
29339 if test -d "$additional_includedir"; then
29340 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
29346 if test -n "$found_la"; then
29347 save_libdir="$libdir"
29348 case "$found_la" in
29349 */* | *\\*) . "$found_la" ;;
29350 *) . "./$found_la" ;;
29351 esac
29352 libdir="$save_libdir"
29353 for dep in $dependency_libs; do
29354 case "$dep" in
29355 -L*)
29356 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
29357 if test "X$additional_libdir" != "X/usr/lib"; then
29358 haveit=
29359 if test "X$additional_libdir" = "X/usr/local/lib"; then
29360 if test -n "$GCC"; then
29361 case $host_os in
29362 linux*) haveit=yes;;
29363 esac
29366 if test -z "$haveit"; then
29367 haveit=
29368 for x in $LDFLAGS $LIBICONV; do
29370 acl_save_prefix="$prefix"
29371 prefix="$acl_final_prefix"
29372 acl_save_exec_prefix="$exec_prefix"
29373 exec_prefix="$acl_final_exec_prefix"
29374 eval x=\"$x\"
29375 exec_prefix="$acl_save_exec_prefix"
29376 prefix="$acl_save_prefix"
29378 if test "X$x" = "X-L$additional_libdir"; then
29379 haveit=yes
29380 break
29382 done
29383 if test -z "$haveit"; then
29384 if test -d "$additional_libdir"; then
29385 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
29388 haveit=
29389 for x in $LDFLAGS $LTLIBICONV; do
29391 acl_save_prefix="$prefix"
29392 prefix="$acl_final_prefix"
29393 acl_save_exec_prefix="$exec_prefix"
29394 exec_prefix="$acl_final_exec_prefix"
29395 eval x=\"$x\"
29396 exec_prefix="$acl_save_exec_prefix"
29397 prefix="$acl_save_prefix"
29399 if test "X$x" = "X-L$additional_libdir"; then
29400 haveit=yes
29401 break
29403 done
29404 if test -z "$haveit"; then
29405 if test -d "$additional_libdir"; then
29406 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
29412 -R*)
29413 dir=`echo "X$dep" | sed -e 's/^X-R//'`
29414 if test "$enable_rpath" != no; then
29415 haveit=
29416 for x in $rpathdirs; do
29417 if test "X$x" = "X$dir"; then
29418 haveit=yes
29419 break
29421 done
29422 if test -z "$haveit"; then
29423 rpathdirs="$rpathdirs $dir"
29425 haveit=
29426 for x in $ltrpathdirs; do
29427 if test "X$x" = "X$dir"; then
29428 haveit=yes
29429 break
29431 done
29432 if test -z "$haveit"; then
29433 ltrpathdirs="$ltrpathdirs $dir"
29437 -l*)
29438 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
29440 *.la)
29441 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
29444 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
29445 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
29447 esac
29448 done
29450 else
29451 if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then
29452 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
29453 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
29454 else
29455 LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext"
29456 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext"
29461 done
29462 done
29463 if test "X$rpathdirs" != "X"; then
29464 if test -n "$hardcode_libdir_separator"; then
29465 alldirs=
29466 for found_dir in $rpathdirs; do
29467 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
29468 done
29469 acl_save_libdir="$libdir"
29470 libdir="$alldirs"
29471 eval flag=\"$hardcode_libdir_flag_spec\"
29472 libdir="$acl_save_libdir"
29473 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
29474 else
29475 for found_dir in $rpathdirs; do
29476 acl_save_libdir="$libdir"
29477 libdir="$found_dir"
29478 eval flag=\"$hardcode_libdir_flag_spec\"
29479 libdir="$acl_save_libdir"
29480 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
29481 done
29484 if test "X$ltrpathdirs" != "X"; then
29485 for found_dir in $ltrpathdirs; do
29486 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
29487 done
29496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
29497 $as_echo_n "checking for iconv... " >&6; }
29498 if ${am_cv_func_iconv+:} false; then :
29499 $as_echo_n "(cached) " >&6
29500 else
29502 am_cv_func_iconv="no, consider installing GNU libiconv"
29503 am_cv_lib_iconv=no
29504 am_save_CPPFLAGS="$CPPFLAGS"
29505 CPPFLAGS="$CPPFLAGS $INCICONV"
29506 if test x$gcc_no_link = xyes; then
29507 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29510 /* end confdefs.h. */
29511 #include <stdlib.h>
29512 #include <iconv.h>
29514 main ()
29516 iconv_t cd = iconv_open("","");
29517 iconv(cd,NULL,NULL,NULL,NULL);
29518 iconv_close(cd);
29520 return 0;
29522 _ACEOF
29523 if ac_fn_c_try_link "$LINENO"; then :
29524 am_cv_func_iconv=yes
29526 rm -f core conftest.err conftest.$ac_objext \
29527 conftest$ac_exeext conftest.$ac_ext
29528 CPPFLAGS="$am_save_CPPFLAGS"
29530 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
29531 for _libs in .libs _libs; do
29532 am_save_CPPFLAGS="$CPPFLAGS"
29533 am_save_LIBS="$LIBS"
29534 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
29535 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
29536 if test x$gcc_no_link = xyes; then
29537 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29540 /* end confdefs.h. */
29541 #include <stdlib.h>
29542 #include <iconv.h>
29544 main ()
29546 iconv_t cd = iconv_open("","");
29547 iconv(cd,NULL,NULL,NULL,NULL);
29548 iconv_close(cd);
29550 return 0;
29552 _ACEOF
29553 if ac_fn_c_try_link "$LINENO"; then :
29554 INCICONV="-I../libiconv/include"
29555 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
29556 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
29557 am_cv_lib_iconv=yes
29558 am_cv_func_iconv=yes
29560 rm -f core conftest.err conftest.$ac_objext \
29561 conftest$ac_exeext conftest.$ac_ext
29562 CPPFLAGS="$am_save_CPPFLAGS"
29563 LIBS="$am_save_LIBS"
29564 if test "$am_cv_func_iconv" = "yes"; then
29565 break
29567 done
29570 if test "$am_cv_func_iconv" != yes; then
29571 am_save_CPPFLAGS="$CPPFLAGS"
29572 am_save_LIBS="$LIBS"
29573 CPPFLAGS="$CPPFLAGS $INCICONV"
29574 LIBS="$LIBS $LIBICONV"
29575 if test x$gcc_no_link = xyes; then
29576 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29579 /* end confdefs.h. */
29580 #include <stdlib.h>
29581 #include <iconv.h>
29583 main ()
29585 iconv_t cd = iconv_open("","");
29586 iconv(cd,NULL,NULL,NULL,NULL);
29587 iconv_close(cd);
29589 return 0;
29591 _ACEOF
29592 if ac_fn_c_try_link "$LINENO"; then :
29593 am_cv_lib_iconv=yes
29594 am_cv_func_iconv=yes
29596 rm -f core conftest.err conftest.$ac_objext \
29597 conftest$ac_exeext conftest.$ac_ext
29598 CPPFLAGS="$am_save_CPPFLAGS"
29599 LIBS="$am_save_LIBS"
29603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
29604 $as_echo "$am_cv_func_iconv" >&6; }
29605 if test "$am_cv_func_iconv" = yes; then
29607 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29610 if test "$am_cv_lib_iconv" = yes; then
29612 for element in $INCICONV; do
29613 haveit=
29614 for x in $CPPFLAGS; do
29616 acl_save_prefix="$prefix"
29617 prefix="$acl_final_prefix"
29618 acl_save_exec_prefix="$exec_prefix"
29619 exec_prefix="$acl_final_exec_prefix"
29620 eval x=\"$x\"
29621 exec_prefix="$acl_save_exec_prefix"
29622 prefix="$acl_save_prefix"
29624 if test "X$x" = "X$element"; then
29625 haveit=yes
29626 break
29628 done
29629 if test -z "$haveit"; then
29630 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
29632 done
29634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
29635 $as_echo_n "checking how to link with libiconv... " >&6; }
29636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
29637 $as_echo "$LIBICONV" >&6; }
29638 else
29639 LIBICONV=
29640 LTLIBICONV=
29645 if test "$am_cv_func_iconv" = yes; then
29646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
29647 $as_echo_n "checking for iconv declaration... " >&6; }
29648 if ${am_cv_proto_iconv+:} false; then :
29649 $as_echo_n "(cached) " >&6
29650 else
29652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29653 /* end confdefs.h. */
29655 #include <stdlib.h>
29656 #include <iconv.h>
29657 extern
29658 #ifdef __cplusplus
29660 #endif
29661 #if defined(__STDC__) || defined(__cplusplus)
29662 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29663 #else
29664 size_t iconv();
29665 #endif
29668 main ()
29672 return 0;
29674 _ACEOF
29675 if ac_fn_c_try_compile "$LINENO"; then :
29676 am_cv_proto_iconv_arg1=""
29677 else
29678 am_cv_proto_iconv_arg1="const"
29680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29681 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);"
29684 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
29685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
29686 }$am_cv_proto_iconv" >&5
29687 $as_echo "${ac_t:-
29688 }$am_cv_proto_iconv" >&6; }
29690 cat >>confdefs.h <<_ACEOF
29691 #define ICONV_CONST $am_cv_proto_iconv_arg1
29692 _ACEOF
29697 else
29699 # This lets us hard-code the functionality we know we'll have in the cross
29700 # target environment. "Let" is a sugar-coated word placed on an especially
29701 # dull and tedious hack, actually.
29703 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
29704 # that involve linking, can't be used:
29705 # "cannot open sim-crt0.o"
29706 # "cannot open crt0.o"
29707 # etc. All this is because there currently exists no unified, consistent
29708 # way for top level CC information to be passed down to target directories:
29709 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
29710 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
29711 # crosses can be removed.
29713 # If Canadian cross, then don't pick up tools from the build directory.
29714 # Used only in GLIBCXX_EXPORT_INCLUDES.
29715 if test -n "$with_cross_host" &&
29716 test x"$build_alias" != x"$with_cross_host" &&
29717 test x"$build" != x"$target";
29718 then
29719 CANADIAN=yes
29720 else
29721 CANADIAN=no
29724 # Construct crosses by hand, eliminating bits that need ld...
29725 # GLIBCXX_CHECK_MATH_SUPPORT
29727 # First, test for "known" system libraries. We may be using newlib even
29728 # on a hosted environment.
29729 if test "x${with_newlib}" = "xyes"; then
29730 os_include_dir="os/newlib"
29731 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
29734 # GLIBCXX_CHECK_STDLIB_SUPPORT
29735 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
29738 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29740 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29742 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29744 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29746 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29748 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29750 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29752 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29754 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29756 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29758 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29760 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29762 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29764 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29766 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29768 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29770 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29772 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29774 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29776 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29778 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29780 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29782 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl declaration" >&5
29789 $as_echo_n "checking for acosl declaration... " >&6; }
29790 if ${glibcxx_cv_func_acosl_use+:} false; then :
29791 $as_echo_n "(cached) " >&6
29792 else
29795 ac_ext=c
29796 ac_cpp='$CPP $CPPFLAGS'
29797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29802 /* end confdefs.h. */
29804 #include <math.h>
29805 #ifdef HAVE_IEEEFP_H
29806 # include <ieeefp.h>
29807 #endif
29808 #undef acosl
29811 main ()
29814 void (*f)(void) = (void (*)(void))acosl;
29817 return 0;
29819 _ACEOF
29820 if ac_fn_c_try_compile "$LINENO"; then :
29821 glibcxx_cv_func_acosl_use=yes
29823 else
29824 glibcxx_cv_func_acosl_use=no
29826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_acosl_use" >&5
29829 $as_echo "$glibcxx_cv_func_acosl_use" >&6; }
29830 if test "x$glibcxx_cv_func_acosl_use" = xyes; then
29831 cat >>confdefs.h <<_ACEOF
29832 #define HAVE_ACOSL 1
29833 _ACEOF
29839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl declaration" >&5
29840 $as_echo_n "checking for asinl declaration... " >&6; }
29841 if ${glibcxx_cv_func_asinl_use+:} false; then :
29842 $as_echo_n "(cached) " >&6
29843 else
29846 ac_ext=c
29847 ac_cpp='$CPP $CPPFLAGS'
29848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29853 /* end confdefs.h. */
29855 #include <math.h>
29856 #ifdef HAVE_IEEEFP_H
29857 # include <ieeefp.h>
29858 #endif
29859 #undef asinl
29862 main ()
29865 void (*f)(void) = (void (*)(void))asinl;
29868 return 0;
29870 _ACEOF
29871 if ac_fn_c_try_compile "$LINENO"; then :
29872 glibcxx_cv_func_asinl_use=yes
29874 else
29875 glibcxx_cv_func_asinl_use=no
29877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_asinl_use" >&5
29880 $as_echo "$glibcxx_cv_func_asinl_use" >&6; }
29881 if test "x$glibcxx_cv_func_asinl_use" = xyes; then
29882 cat >>confdefs.h <<_ACEOF
29883 #define HAVE_ASINL 1
29884 _ACEOF
29890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
29891 $as_echo_n "checking for atan2l declaration... " >&6; }
29892 if ${glibcxx_cv_func_atan2l_use+:} false; then :
29893 $as_echo_n "(cached) " >&6
29894 else
29897 ac_ext=c
29898 ac_cpp='$CPP $CPPFLAGS'
29899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29904 /* end confdefs.h. */
29906 #include <math.h>
29907 #ifdef HAVE_IEEEFP_H
29908 # include <ieeefp.h>
29909 #endif
29910 #undef atan2l
29913 main ()
29916 void (*f)(void) = (void (*)(void))atan2l;
29919 return 0;
29921 _ACEOF
29922 if ac_fn_c_try_compile "$LINENO"; then :
29923 glibcxx_cv_func_atan2l_use=yes
29925 else
29926 glibcxx_cv_func_atan2l_use=no
29928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
29931 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
29932 if test "x$glibcxx_cv_func_atan2l_use" = xyes; then
29933 cat >>confdefs.h <<_ACEOF
29934 #define HAVE_ATAN2L 1
29935 _ACEOF
29941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl declaration" >&5
29942 $as_echo_n "checking for atanl declaration... " >&6; }
29943 if ${glibcxx_cv_func_atanl_use+:} false; then :
29944 $as_echo_n "(cached) " >&6
29945 else
29948 ac_ext=c
29949 ac_cpp='$CPP $CPPFLAGS'
29950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29955 /* end confdefs.h. */
29957 #include <math.h>
29958 #ifdef HAVE_IEEEFP_H
29959 # include <ieeefp.h>
29960 #endif
29961 #undef atanl
29964 main ()
29967 void (*f)(void) = (void (*)(void))atanl;
29970 return 0;
29972 _ACEOF
29973 if ac_fn_c_try_compile "$LINENO"; then :
29974 glibcxx_cv_func_atanl_use=yes
29976 else
29977 glibcxx_cv_func_atanl_use=no
29979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atanl_use" >&5
29982 $as_echo "$glibcxx_cv_func_atanl_use" >&6; }
29983 if test "x$glibcxx_cv_func_atanl_use" = xyes; then
29984 cat >>confdefs.h <<_ACEOF
29985 #define HAVE_ATANL 1
29986 _ACEOF
29992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill declaration" >&5
29993 $as_echo_n "checking for ceill declaration... " >&6; }
29994 if ${glibcxx_cv_func_ceill_use+:} false; then :
29995 $as_echo_n "(cached) " >&6
29996 else
29999 ac_ext=c
30000 ac_cpp='$CPP $CPPFLAGS'
30001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30006 /* end confdefs.h. */
30008 #include <math.h>
30009 #ifdef HAVE_IEEEFP_H
30010 # include <ieeefp.h>
30011 #endif
30012 #undef ceill
30015 main ()
30018 void (*f)(void) = (void (*)(void))ceill;
30021 return 0;
30023 _ACEOF
30024 if ac_fn_c_try_compile "$LINENO"; then :
30025 glibcxx_cv_func_ceill_use=yes
30027 else
30028 glibcxx_cv_func_ceill_use=no
30030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ceill_use" >&5
30033 $as_echo "$glibcxx_cv_func_ceill_use" >&6; }
30034 if test "x$glibcxx_cv_func_ceill_use" = xyes; then
30035 cat >>confdefs.h <<_ACEOF
30036 #define HAVE_CEILL 1
30037 _ACEOF
30043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl declaration" >&5
30044 $as_echo_n "checking for coshl declaration... " >&6; }
30045 if ${glibcxx_cv_func_coshl_use+:} false; then :
30046 $as_echo_n "(cached) " >&6
30047 else
30050 ac_ext=c
30051 ac_cpp='$CPP $CPPFLAGS'
30052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30057 /* end confdefs.h. */
30059 #include <math.h>
30060 #ifdef HAVE_IEEEFP_H
30061 # include <ieeefp.h>
30062 #endif
30063 #undef coshl
30066 main ()
30069 void (*f)(void) = (void (*)(void))coshl;
30072 return 0;
30074 _ACEOF
30075 if ac_fn_c_try_compile "$LINENO"; then :
30076 glibcxx_cv_func_coshl_use=yes
30078 else
30079 glibcxx_cv_func_coshl_use=no
30081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_coshl_use" >&5
30084 $as_echo "$glibcxx_cv_func_coshl_use" >&6; }
30085 if test "x$glibcxx_cv_func_coshl_use" = xyes; then
30086 cat >>confdefs.h <<_ACEOF
30087 #define HAVE_COSHL 1
30088 _ACEOF
30094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl declaration" >&5
30095 $as_echo_n "checking for cosl declaration... " >&6; }
30096 if ${glibcxx_cv_func_cosl_use+:} false; then :
30097 $as_echo_n "(cached) " >&6
30098 else
30101 ac_ext=c
30102 ac_cpp='$CPP $CPPFLAGS'
30103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30108 /* end confdefs.h. */
30110 #include <math.h>
30111 #ifdef HAVE_IEEEFP_H
30112 # include <ieeefp.h>
30113 #endif
30114 #undef cosl
30117 main ()
30120 void (*f)(void) = (void (*)(void))cosl;
30123 return 0;
30125 _ACEOF
30126 if ac_fn_c_try_compile "$LINENO"; then :
30127 glibcxx_cv_func_cosl_use=yes
30129 else
30130 glibcxx_cv_func_cosl_use=no
30132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_cosl_use" >&5
30135 $as_echo "$glibcxx_cv_func_cosl_use" >&6; }
30136 if test "x$glibcxx_cv_func_cosl_use" = xyes; then
30137 cat >>confdefs.h <<_ACEOF
30138 #define HAVE_COSL 1
30139 _ACEOF
30145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
30146 $as_echo_n "checking for expl declaration... " >&6; }
30147 if ${glibcxx_cv_func_expl_use+:} false; then :
30148 $as_echo_n "(cached) " >&6
30149 else
30152 ac_ext=c
30153 ac_cpp='$CPP $CPPFLAGS'
30154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30159 /* end confdefs.h. */
30161 #include <math.h>
30162 #ifdef HAVE_IEEEFP_H
30163 # include <ieeefp.h>
30164 #endif
30165 #undef expl
30168 main ()
30171 void (*f)(void) = (void (*)(void))expl;
30174 return 0;
30176 _ACEOF
30177 if ac_fn_c_try_compile "$LINENO"; then :
30178 glibcxx_cv_func_expl_use=yes
30180 else
30181 glibcxx_cv_func_expl_use=no
30183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
30186 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
30187 if test "x$glibcxx_cv_func_expl_use" = xyes; then
30188 cat >>confdefs.h <<_ACEOF
30189 #define HAVE_EXPL 1
30190 _ACEOF
30196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
30197 $as_echo_n "checking for fabsl declaration... " >&6; }
30198 if ${glibcxx_cv_func_fabsl_use+:} false; then :
30199 $as_echo_n "(cached) " >&6
30200 else
30203 ac_ext=c
30204 ac_cpp='$CPP $CPPFLAGS'
30205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30210 /* end confdefs.h. */
30212 #include <math.h>
30213 #ifdef HAVE_IEEEFP_H
30214 # include <ieeefp.h>
30215 #endif
30216 #undef fabsl
30219 main ()
30222 void (*f)(void) = (void (*)(void))fabsl;
30225 return 0;
30227 _ACEOF
30228 if ac_fn_c_try_compile "$LINENO"; then :
30229 glibcxx_cv_func_fabsl_use=yes
30231 else
30232 glibcxx_cv_func_fabsl_use=no
30234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
30237 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
30238 if test "x$glibcxx_cv_func_fabsl_use" = xyes; then
30239 cat >>confdefs.h <<_ACEOF
30240 #define HAVE_FABSL 1
30241 _ACEOF
30247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl declaration" >&5
30248 $as_echo_n "checking for floorl declaration... " >&6; }
30249 if ${glibcxx_cv_func_floorl_use+:} false; then :
30250 $as_echo_n "(cached) " >&6
30251 else
30254 ac_ext=c
30255 ac_cpp='$CPP $CPPFLAGS'
30256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30261 /* end confdefs.h. */
30263 #include <math.h>
30264 #ifdef HAVE_IEEEFP_H
30265 # include <ieeefp.h>
30266 #endif
30267 #undef floorl
30270 main ()
30273 void (*f)(void) = (void (*)(void))floorl;
30276 return 0;
30278 _ACEOF
30279 if ac_fn_c_try_compile "$LINENO"; then :
30280 glibcxx_cv_func_floorl_use=yes
30282 else
30283 glibcxx_cv_func_floorl_use=no
30285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_floorl_use" >&5
30288 $as_echo "$glibcxx_cv_func_floorl_use" >&6; }
30289 if test "x$glibcxx_cv_func_floorl_use" = xyes; then
30290 cat >>confdefs.h <<_ACEOF
30291 #define HAVE_FLOORL 1
30292 _ACEOF
30298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
30299 $as_echo_n "checking for fmodl declaration... " >&6; }
30300 if ${glibcxx_cv_func_fmodl_use+:} false; then :
30301 $as_echo_n "(cached) " >&6
30302 else
30305 ac_ext=c
30306 ac_cpp='$CPP $CPPFLAGS'
30307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30312 /* end confdefs.h. */
30314 #include <math.h>
30315 #ifdef HAVE_IEEEFP_H
30316 # include <ieeefp.h>
30317 #endif
30318 #undef fmodl
30321 main ()
30324 void (*f)(void) = (void (*)(void))fmodl;
30327 return 0;
30329 _ACEOF
30330 if ac_fn_c_try_compile "$LINENO"; then :
30331 glibcxx_cv_func_fmodl_use=yes
30333 else
30334 glibcxx_cv_func_fmodl_use=no
30336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
30339 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
30340 if test "x$glibcxx_cv_func_fmodl_use" = xyes; then
30341 cat >>confdefs.h <<_ACEOF
30342 #define HAVE_FMODL 1
30343 _ACEOF
30349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
30350 $as_echo_n "checking for frexpl declaration... " >&6; }
30351 if ${glibcxx_cv_func_frexpl_use+:} false; then :
30352 $as_echo_n "(cached) " >&6
30353 else
30356 ac_ext=c
30357 ac_cpp='$CPP $CPPFLAGS'
30358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30363 /* end confdefs.h. */
30365 #include <math.h>
30366 #ifdef HAVE_IEEEFP_H
30367 # include <ieeefp.h>
30368 #endif
30369 #undef frexpl
30372 main ()
30375 void (*f)(void) = (void (*)(void))frexpl;
30378 return 0;
30380 _ACEOF
30381 if ac_fn_c_try_compile "$LINENO"; then :
30382 glibcxx_cv_func_frexpl_use=yes
30384 else
30385 glibcxx_cv_func_frexpl_use=no
30387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
30390 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
30391 if test "x$glibcxx_cv_func_frexpl_use" = xyes; then
30392 cat >>confdefs.h <<_ACEOF
30393 #define HAVE_FREXPL 1
30394 _ACEOF
30400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
30401 $as_echo_n "checking for hypotl declaration... " >&6; }
30402 if ${glibcxx_cv_func_hypotl_use+:} false; then :
30403 $as_echo_n "(cached) " >&6
30404 else
30407 ac_ext=c
30408 ac_cpp='$CPP $CPPFLAGS'
30409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30414 /* end confdefs.h. */
30416 #include <math.h>
30417 #ifdef HAVE_IEEEFP_H
30418 # include <ieeefp.h>
30419 #endif
30420 #undef hypotl
30423 main ()
30426 void (*f)(void) = (void (*)(void))hypotl;
30429 return 0;
30431 _ACEOF
30432 if ac_fn_c_try_compile "$LINENO"; then :
30433 glibcxx_cv_func_hypotl_use=yes
30435 else
30436 glibcxx_cv_func_hypotl_use=no
30438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
30441 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
30442 if test "x$glibcxx_cv_func_hypotl_use" = xyes; then
30443 cat >>confdefs.h <<_ACEOF
30444 #define HAVE_HYPOTL 1
30445 _ACEOF
30451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
30452 $as_echo_n "checking for ldexpl declaration... " >&6; }
30453 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
30454 $as_echo_n "(cached) " >&6
30455 else
30458 ac_ext=c
30459 ac_cpp='$CPP $CPPFLAGS'
30460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30465 /* end confdefs.h. */
30467 #include <math.h>
30468 #ifdef HAVE_IEEEFP_H
30469 # include <ieeefp.h>
30470 #endif
30471 #undef ldexpl
30474 main ()
30477 void (*f)(void) = (void (*)(void))ldexpl;
30480 return 0;
30482 _ACEOF
30483 if ac_fn_c_try_compile "$LINENO"; then :
30484 glibcxx_cv_func_ldexpl_use=yes
30486 else
30487 glibcxx_cv_func_ldexpl_use=no
30489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
30492 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
30493 if test "x$glibcxx_cv_func_ldexpl_use" = xyes; then
30494 cat >>confdefs.h <<_ACEOF
30495 #define HAVE_LDEXPL 1
30496 _ACEOF
30502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
30503 $as_echo_n "checking for log10l declaration... " >&6; }
30504 if ${glibcxx_cv_func_log10l_use+:} false; then :
30505 $as_echo_n "(cached) " >&6
30506 else
30509 ac_ext=c
30510 ac_cpp='$CPP $CPPFLAGS'
30511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30516 /* end confdefs.h. */
30518 #include <math.h>
30519 #ifdef HAVE_IEEEFP_H
30520 # include <ieeefp.h>
30521 #endif
30522 #undef log10l
30525 main ()
30528 void (*f)(void) = (void (*)(void))log10l;
30531 return 0;
30533 _ACEOF
30534 if ac_fn_c_try_compile "$LINENO"; then :
30535 glibcxx_cv_func_log10l_use=yes
30537 else
30538 glibcxx_cv_func_log10l_use=no
30540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
30543 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
30544 if test "x$glibcxx_cv_func_log10l_use" = xyes; then
30545 cat >>confdefs.h <<_ACEOF
30546 #define HAVE_LOG10L 1
30547 _ACEOF
30553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
30554 $as_echo_n "checking for logl declaration... " >&6; }
30555 if ${glibcxx_cv_func_logl_use+:} false; then :
30556 $as_echo_n "(cached) " >&6
30557 else
30560 ac_ext=c
30561 ac_cpp='$CPP $CPPFLAGS'
30562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30567 /* end confdefs.h. */
30569 #include <math.h>
30570 #ifdef HAVE_IEEEFP_H
30571 # include <ieeefp.h>
30572 #endif
30573 #undef logl
30576 main ()
30579 void (*f)(void) = (void (*)(void))logl;
30582 return 0;
30584 _ACEOF
30585 if ac_fn_c_try_compile "$LINENO"; then :
30586 glibcxx_cv_func_logl_use=yes
30588 else
30589 glibcxx_cv_func_logl_use=no
30591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
30594 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
30595 if test "x$glibcxx_cv_func_logl_use" = xyes; then
30596 cat >>confdefs.h <<_ACEOF
30597 #define HAVE_LOGL 1
30598 _ACEOF
30604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
30605 $as_echo_n "checking for modfl declaration... " >&6; }
30606 if ${glibcxx_cv_func_modfl_use+:} false; then :
30607 $as_echo_n "(cached) " >&6
30608 else
30611 ac_ext=c
30612 ac_cpp='$CPP $CPPFLAGS'
30613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30618 /* end confdefs.h. */
30620 #include <math.h>
30621 #ifdef HAVE_IEEEFP_H
30622 # include <ieeefp.h>
30623 #endif
30624 #undef modfl
30627 main ()
30630 void (*f)(void) = (void (*)(void))modfl;
30633 return 0;
30635 _ACEOF
30636 if ac_fn_c_try_compile "$LINENO"; then :
30637 glibcxx_cv_func_modfl_use=yes
30639 else
30640 glibcxx_cv_func_modfl_use=no
30642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
30645 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
30646 if test "x$glibcxx_cv_func_modfl_use" = xyes; then
30647 cat >>confdefs.h <<_ACEOF
30648 #define HAVE_MODFL 1
30649 _ACEOF
30655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
30656 $as_echo_n "checking for powl declaration... " >&6; }
30657 if ${glibcxx_cv_func_powl_use+:} false; then :
30658 $as_echo_n "(cached) " >&6
30659 else
30662 ac_ext=c
30663 ac_cpp='$CPP $CPPFLAGS'
30664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30669 /* end confdefs.h. */
30671 #include <math.h>
30672 #ifdef HAVE_IEEEFP_H
30673 # include <ieeefp.h>
30674 #endif
30675 #undef powl
30678 main ()
30681 void (*f)(void) = (void (*)(void))powl;
30684 return 0;
30686 _ACEOF
30687 if ac_fn_c_try_compile "$LINENO"; then :
30688 glibcxx_cv_func_powl_use=yes
30690 else
30691 glibcxx_cv_func_powl_use=no
30693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
30696 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
30697 if test "x$glibcxx_cv_func_powl_use" = xyes; then
30698 cat >>confdefs.h <<_ACEOF
30699 #define HAVE_POWL 1
30700 _ACEOF
30706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl declaration" >&5
30707 $as_echo_n "checking for sinhl declaration... " >&6; }
30708 if ${glibcxx_cv_func_sinhl_use+:} false; then :
30709 $as_echo_n "(cached) " >&6
30710 else
30713 ac_ext=c
30714 ac_cpp='$CPP $CPPFLAGS'
30715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30720 /* end confdefs.h. */
30722 #include <math.h>
30723 #ifdef HAVE_IEEEFP_H
30724 # include <ieeefp.h>
30725 #endif
30726 #undef sinhl
30729 main ()
30732 void (*f)(void) = (void (*)(void))sinhl;
30735 return 0;
30737 _ACEOF
30738 if ac_fn_c_try_compile "$LINENO"; then :
30739 glibcxx_cv_func_sinhl_use=yes
30741 else
30742 glibcxx_cv_func_sinhl_use=no
30744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinhl_use" >&5
30747 $as_echo "$glibcxx_cv_func_sinhl_use" >&6; }
30748 if test "x$glibcxx_cv_func_sinhl_use" = xyes; then
30749 cat >>confdefs.h <<_ACEOF
30750 #define HAVE_SINHL 1
30751 _ACEOF
30757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl declaration" >&5
30758 $as_echo_n "checking for sinl declaration... " >&6; }
30759 if ${glibcxx_cv_func_sinl_use+:} false; then :
30760 $as_echo_n "(cached) " >&6
30761 else
30764 ac_ext=c
30765 ac_cpp='$CPP $CPPFLAGS'
30766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30771 /* end confdefs.h. */
30773 #include <math.h>
30774 #ifdef HAVE_IEEEFP_H
30775 # include <ieeefp.h>
30776 #endif
30777 #undef sinl
30780 main ()
30783 void (*f)(void) = (void (*)(void))sinl;
30786 return 0;
30788 _ACEOF
30789 if ac_fn_c_try_compile "$LINENO"; then :
30790 glibcxx_cv_func_sinl_use=yes
30792 else
30793 glibcxx_cv_func_sinl_use=no
30795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinl_use" >&5
30798 $as_echo "$glibcxx_cv_func_sinl_use" >&6; }
30799 if test "x$glibcxx_cv_func_sinl_use" = xyes; then
30800 cat >>confdefs.h <<_ACEOF
30801 #define HAVE_SINL 1
30802 _ACEOF
30808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
30809 $as_echo_n "checking for sqrtl declaration... " >&6; }
30810 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
30811 $as_echo_n "(cached) " >&6
30812 else
30815 ac_ext=c
30816 ac_cpp='$CPP $CPPFLAGS'
30817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30822 /* end confdefs.h. */
30824 #include <math.h>
30825 #ifdef HAVE_IEEEFP_H
30826 # include <ieeefp.h>
30827 #endif
30828 #undef sqrtl
30831 main ()
30834 void (*f)(void) = (void (*)(void))sqrtl;
30837 return 0;
30839 _ACEOF
30840 if ac_fn_c_try_compile "$LINENO"; then :
30841 glibcxx_cv_func_sqrtl_use=yes
30843 else
30844 glibcxx_cv_func_sqrtl_use=no
30846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
30849 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
30850 if test "x$glibcxx_cv_func_sqrtl_use" = xyes; then
30851 cat >>confdefs.h <<_ACEOF
30852 #define HAVE_SQRTL 1
30853 _ACEOF
30859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl declaration" >&5
30860 $as_echo_n "checking for tanhl declaration... " >&6; }
30861 if ${glibcxx_cv_func_tanhl_use+:} false; then :
30862 $as_echo_n "(cached) " >&6
30863 else
30866 ac_ext=c
30867 ac_cpp='$CPP $CPPFLAGS'
30868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30873 /* end confdefs.h. */
30875 #include <math.h>
30876 #ifdef HAVE_IEEEFP_H
30877 # include <ieeefp.h>
30878 #endif
30879 #undef tanhl
30882 main ()
30885 void (*f)(void) = (void (*)(void))tanhl;
30888 return 0;
30890 _ACEOF
30891 if ac_fn_c_try_compile "$LINENO"; then :
30892 glibcxx_cv_func_tanhl_use=yes
30894 else
30895 glibcxx_cv_func_tanhl_use=no
30897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanhl_use" >&5
30900 $as_echo "$glibcxx_cv_func_tanhl_use" >&6; }
30901 if test "x$glibcxx_cv_func_tanhl_use" = xyes; then
30902 cat >>confdefs.h <<_ACEOF
30903 #define HAVE_TANHL 1
30904 _ACEOF
30910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl declaration" >&5
30911 $as_echo_n "checking for tanl declaration... " >&6; }
30912 if ${glibcxx_cv_func_tanl_use+:} false; then :
30913 $as_echo_n "(cached) " >&6
30914 else
30917 ac_ext=c
30918 ac_cpp='$CPP $CPPFLAGS'
30919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30924 /* end confdefs.h. */
30926 #include <math.h>
30927 #ifdef HAVE_IEEEFP_H
30928 # include <ieeefp.h>
30929 #endif
30930 #undef tanl
30933 main ()
30936 void (*f)(void) = (void (*)(void))tanl;
30939 return 0;
30941 _ACEOF
30942 if ac_fn_c_try_compile "$LINENO"; then :
30943 glibcxx_cv_func_tanl_use=yes
30945 else
30946 glibcxx_cv_func_tanl_use=no
30948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanl_use" >&5
30951 $as_echo "$glibcxx_cv_func_tanl_use" >&6; }
30952 if test "x$glibcxx_cv_func_tanl_use" = xyes; then
30953 cat >>confdefs.h <<_ACEOF
30954 #define HAVE_TANL 1
30955 _ACEOF
30962 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
30964 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
30967 case "${target}" in
30968 *-rtems*)
30969 case "${target}" in
30970 bfin* | lm32* | mips* | moxie* | or1k* | v850*)
30973 $as_echo "#define HAVE_TLS 1" >>confdefs.h
30976 esac
30977 $as_echo "#define HAVE_ALIGNED_ALLOC 1" >>confdefs.h
30979 $as_echo "#define HAVE_AT_QUICK_EXIT 1" >>confdefs.h
30981 $as_echo "#define HAVE_LINK 1" >>confdefs.h
30983 $as_echo "#define HAVE_QUICK_EXIT 1" >>confdefs.h
30985 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
30987 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
30989 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
30991 $as_echo "#define HAVE_SOCKATMARK 1" >>confdefs.h
30993 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
30995 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
30997 $as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
30999 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
31002 esac
31003 elif test "x$with_headers" != "xno"; then
31005 # Base decisions on target environment.
31006 case "${host}" in
31007 arm*-*-symbianelf*)
31008 # This is a freestanding configuration; there is nothing to do here.
31011 avr*-*-*)
31012 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
31014 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
31016 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
31018 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
31020 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
31022 $as_echo "#define HAVE_COSF 1" >>confdefs.h
31024 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
31026 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
31028 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
31030 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
31032 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
31034 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
31036 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
31038 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
31040 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
31042 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
31044 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
31046 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
31048 $as_echo "#define HAVE_POWF 1" >>confdefs.h
31050 $as_echo "#define HAVE_SINF 1" >>confdefs.h
31052 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
31054 $as_echo "#define HAVE_TANF 1" >>confdefs.h
31056 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
31060 mips*-sde-elf*)
31061 # These definitions are for the SDE C library rather than newlib.
31062 SECTION_FLAGS='-ffunction-sections -fdata-sections'
31065 # All these tests are for C++; save the language and the compiler flags.
31066 # The CXXFLAGS thing is suspicious, but based on similar bits previously
31067 # found in GLIBCXX_CONFIGURE.
31069 ac_ext=cpp
31070 ac_cpp='$CXXCPP $CPPFLAGS'
31071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31075 ac_test_CXXFLAGS="${CXXFLAGS+set}"
31076 ac_save_CXXFLAGS="$CXXFLAGS"
31078 # Check for -ffunction-sections -fdata-sections
31079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
31080 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
31081 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
31082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31083 /* end confdefs.h. */
31084 int foo; void bar() { };
31086 main ()
31090 return 0;
31092 _ACEOF
31093 if ac_fn_cxx_try_compile "$LINENO"; then :
31094 ac_fdsections=yes
31095 else
31096 ac_fdsections=no
31098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31099 if test "$ac_test_CXXFLAGS" = set; then
31100 CXXFLAGS="$ac_save_CXXFLAGS"
31101 else
31102 # this is the suspicious part
31103 CXXFLAGS=''
31105 if test x"$ac_fdsections" = x"yes"; then
31106 SECTION_FLAGS='-ffunction-sections -fdata-sections'
31108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
31109 $as_echo "$ac_fdsections" >&6; }
31111 ac_ext=c
31112 ac_cpp='$CPP $CPPFLAGS'
31113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31120 # If we're not using GNU ld, then there's no point in even trying these
31121 # tests. Check for that first. We should have already tested for gld
31122 # by now (in libtool), but require it now just to be safe...
31123 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
31124 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
31128 # The name set by libtool depends on the version of libtool. Shame on us
31129 # for depending on an impl detail, but c'est la vie. Older versions used
31130 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
31131 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
31132 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
31133 # set (hence we're using an older libtool), then set it.
31134 if test x${with_gnu_ld+set} != xset; then
31135 if test x${ac_cv_prog_gnu_ld+set} != xset; then
31136 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
31137 with_gnu_ld=no
31138 else
31139 with_gnu_ld=$ac_cv_prog_gnu_ld
31143 # Start by getting the version number. I think the libtool test already
31144 # does some of this, but throws away the result.
31145 glibcxx_ld_is_gold=no
31146 glibcxx_ld_is_mold=no
31147 if test x"$with_gnu_ld" = x"yes"; then
31148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
31149 $as_echo_n "checking for ld version... " >&6; }
31151 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
31152 glibcxx_ld_is_gold=yes
31153 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
31154 glibcxx_ld_is_mold=yes
31156 ldver=`$LD --version 2>/dev/null |
31157 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
31159 glibcxx_gnu_ld_version=`echo $ldver | \
31160 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
31161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
31162 $as_echo "$glibcxx_gnu_ld_version" >&6; }
31165 # Set --gc-sections.
31166 glibcxx_have_gc_sections=no
31167 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
31168 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
31169 glibcxx_have_gc_sections=yes
31171 else
31172 glibcxx_gcsections_min_ld=21602
31173 if test x"$with_gnu_ld" = x"yes" &&
31174 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
31175 glibcxx_have_gc_sections=yes
31178 if test "$glibcxx_have_gc_sections" = "yes"; then
31179 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
31180 # NB: This flag only works reliably after 2.16.1. Configure tests
31181 # for this are difficult, so hard wire a value that should work.
31183 ac_test_CFLAGS="${CFLAGS+set}"
31184 ac_save_CFLAGS="$CFLAGS"
31185 CFLAGS='-Wl,--gc-sections'
31187 # Check for -Wl,--gc-sections
31188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
31189 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
31190 if test x$gcc_no_link = xyes; then
31191 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
31193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31194 /* end confdefs.h. */
31195 int one(void) { return 1; }
31196 int two(void) { return 2; }
31199 main ()
31201 two();
31203 return 0;
31205 _ACEOF
31206 if ac_fn_c_try_link "$LINENO"; then :
31207 ac_gcsections=yes
31208 else
31209 ac_gcsections=no
31211 rm -f core conftest.err conftest.$ac_objext \
31212 conftest$ac_exeext conftest.$ac_ext
31213 if test "$ac_gcsections" = "yes"; then
31214 rm -f conftest.c
31215 touch conftest.c
31216 if $CC -c conftest.c; then
31217 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
31218 grep "Warning: gc-sections option ignored" > /dev/null; then
31219 ac_gcsections=no
31222 rm -f conftest.c conftest.o conftest
31224 if test "$ac_gcsections" = "yes"; then
31225 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
31227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
31228 $as_echo "$ac_gcsections" >&6; }
31230 if test "$ac_test_CFLAGS" = set; then
31231 CFLAGS="$ac_save_CFLAGS"
31232 else
31233 # this is the suspicious part
31234 CFLAGS=''
31238 # Set -z,relro.
31239 # Note this is only for shared objects.
31240 ac_ld_relro=no
31241 if test x"$with_gnu_ld" = x"yes"; then
31242 # cygwin and mingw uses PE, which has no ELF relro support,
31243 # multi target ld may confuse configure machinery
31244 case "$host" in
31245 *-*-cygwin*)
31247 *-*-mingw*)
31250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
31251 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
31252 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
31253 if test -n "$cxx_z_relo"; then
31254 OPT_LDFLAGS="-Wl,-z,relro"
31255 ac_ld_relro=yes
31257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
31258 $as_echo "$ac_ld_relro" >&6; }
31259 esac
31262 # Set linker optimization flags.
31263 if test x"$with_gnu_ld" = x"yes"; then
31264 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
31271 ac_test_CXXFLAGS="${CXXFLAGS+set}"
31272 ac_save_CXXFLAGS="$CXXFLAGS"
31273 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
31275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
31276 $as_echo_n "checking for sin in -lm... " >&6; }
31277 if ${ac_cv_lib_m_sin+:} false; then :
31278 $as_echo_n "(cached) " >&6
31279 else
31280 ac_check_lib_save_LIBS=$LIBS
31281 LIBS="-lm $LIBS"
31282 if test x$gcc_no_link = xyes; then
31283 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
31285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31286 /* end confdefs.h. */
31288 /* Override any GCC internal prototype to avoid an error.
31289 Use char because int might match the return type of a GCC
31290 builtin and then its argument prototype would still apply. */
31291 #ifdef __cplusplus
31292 extern "C"
31293 #endif
31294 char sin ();
31296 main ()
31298 return sin ();
31300 return 0;
31302 _ACEOF
31303 if ac_fn_c_try_link "$LINENO"; then :
31304 ac_cv_lib_m_sin=yes
31305 else
31306 ac_cv_lib_m_sin=no
31308 rm -f core conftest.err conftest.$ac_objext \
31309 conftest$ac_exeext conftest.$ac_ext
31310 LIBS=$ac_check_lib_save_LIBS
31312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
31313 $as_echo "$ac_cv_lib_m_sin" >&6; }
31314 if test "x$ac_cv_lib_m_sin" = xyes; then :
31315 libm="-lm"
31318 ac_save_LIBS="$LIBS"
31319 LIBS="$LIBS $libm"
31323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
31324 $as_echo_n "checking for isinf declaration... " >&6; }
31325 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
31326 if ${glibcxx_cv_func_isinf_use+:} false; then :
31327 $as_echo_n "(cached) " >&6
31328 else
31331 ac_ext=cpp
31332 ac_cpp='$CXXCPP $CPPFLAGS'
31333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31338 /* end confdefs.h. */
31339 #include <math.h>
31340 #ifdef HAVE_IEEEFP_H
31341 #include <ieeefp.h>
31342 #endif
31345 main ()
31347 isinf(0);
31349 return 0;
31351 _ACEOF
31352 if ac_fn_cxx_try_compile "$LINENO"; then :
31353 glibcxx_cv_func_isinf_use=yes
31354 else
31355 glibcxx_cv_func_isinf_use=no
31357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31358 ac_ext=c
31359 ac_cpp='$CPP $CPPFLAGS'
31360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
31369 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
31371 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
31372 for ac_func in isinf
31373 do :
31374 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
31375 if test "x$ac_cv_func_isinf" = xyes; then :
31376 cat >>confdefs.h <<_ACEOF
31377 #define HAVE_ISINF 1
31378 _ACEOF
31381 done
31383 else
31385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
31386 $as_echo_n "checking for _isinf declaration... " >&6; }
31387 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
31388 if ${glibcxx_cv_func__isinf_use+:} false; then :
31389 $as_echo_n "(cached) " >&6
31390 else
31393 ac_ext=cpp
31394 ac_cpp='$CXXCPP $CPPFLAGS'
31395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31400 /* end confdefs.h. */
31401 #include <math.h>
31402 #ifdef HAVE_IEEEFP_H
31403 #include <ieeefp.h>
31404 #endif
31407 main ()
31409 _isinf(0);
31411 return 0;
31413 _ACEOF
31414 if ac_fn_cxx_try_compile "$LINENO"; then :
31415 glibcxx_cv_func__isinf_use=yes
31416 else
31417 glibcxx_cv_func__isinf_use=no
31419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31420 ac_ext=c
31421 ac_cpp='$CPP $CPPFLAGS'
31422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
31431 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
31433 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
31434 for ac_func in _isinf
31435 do :
31436 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
31437 if test "x$ac_cv_func__isinf" = xyes; then :
31438 cat >>confdefs.h <<_ACEOF
31439 #define HAVE__ISINF 1
31440 _ACEOF
31443 done
31452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
31453 $as_echo_n "checking for isnan declaration... " >&6; }
31454 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
31455 if ${glibcxx_cv_func_isnan_use+:} false; then :
31456 $as_echo_n "(cached) " >&6
31457 else
31460 ac_ext=cpp
31461 ac_cpp='$CXXCPP $CPPFLAGS'
31462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31467 /* end confdefs.h. */
31468 #include <math.h>
31469 #ifdef HAVE_IEEEFP_H
31470 #include <ieeefp.h>
31471 #endif
31474 main ()
31476 isnan(0);
31478 return 0;
31480 _ACEOF
31481 if ac_fn_cxx_try_compile "$LINENO"; then :
31482 glibcxx_cv_func_isnan_use=yes
31483 else
31484 glibcxx_cv_func_isnan_use=no
31486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31487 ac_ext=c
31488 ac_cpp='$CPP $CPPFLAGS'
31489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
31498 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
31500 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
31501 for ac_func in isnan
31502 do :
31503 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
31504 if test "x$ac_cv_func_isnan" = xyes; then :
31505 cat >>confdefs.h <<_ACEOF
31506 #define HAVE_ISNAN 1
31507 _ACEOF
31510 done
31512 else
31514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
31515 $as_echo_n "checking for _isnan declaration... " >&6; }
31516 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
31517 if ${glibcxx_cv_func__isnan_use+:} false; then :
31518 $as_echo_n "(cached) " >&6
31519 else
31522 ac_ext=cpp
31523 ac_cpp='$CXXCPP $CPPFLAGS'
31524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31529 /* end confdefs.h. */
31530 #include <math.h>
31531 #ifdef HAVE_IEEEFP_H
31532 #include <ieeefp.h>
31533 #endif
31536 main ()
31538 _isnan(0);
31540 return 0;
31542 _ACEOF
31543 if ac_fn_cxx_try_compile "$LINENO"; then :
31544 glibcxx_cv_func__isnan_use=yes
31545 else
31546 glibcxx_cv_func__isnan_use=no
31548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31549 ac_ext=c
31550 ac_cpp='$CPP $CPPFLAGS'
31551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
31560 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
31562 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
31563 for ac_func in _isnan
31564 do :
31565 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
31566 if test "x$ac_cv_func__isnan" = xyes; then :
31567 cat >>confdefs.h <<_ACEOF
31568 #define HAVE__ISNAN 1
31569 _ACEOF
31572 done
31581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
31582 $as_echo_n "checking for finite declaration... " >&6; }
31583 if test x${glibcxx_cv_func_finite_use+set} != xset; then
31584 if ${glibcxx_cv_func_finite_use+:} false; then :
31585 $as_echo_n "(cached) " >&6
31586 else
31589 ac_ext=cpp
31590 ac_cpp='$CXXCPP $CPPFLAGS'
31591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31596 /* end confdefs.h. */
31597 #include <math.h>
31598 #ifdef HAVE_IEEEFP_H
31599 #include <ieeefp.h>
31600 #endif
31603 main ()
31605 finite(0);
31607 return 0;
31609 _ACEOF
31610 if ac_fn_cxx_try_compile "$LINENO"; then :
31611 glibcxx_cv_func_finite_use=yes
31612 else
31613 glibcxx_cv_func_finite_use=no
31615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31616 ac_ext=c
31617 ac_cpp='$CPP $CPPFLAGS'
31618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
31627 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
31629 if test x$glibcxx_cv_func_finite_use = x"yes"; then
31630 for ac_func in finite
31631 do :
31632 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
31633 if test "x$ac_cv_func_finite" = xyes; then :
31634 cat >>confdefs.h <<_ACEOF
31635 #define HAVE_FINITE 1
31636 _ACEOF
31639 done
31641 else
31643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
31644 $as_echo_n "checking for _finite declaration... " >&6; }
31645 if test x${glibcxx_cv_func__finite_use+set} != xset; then
31646 if ${glibcxx_cv_func__finite_use+:} false; then :
31647 $as_echo_n "(cached) " >&6
31648 else
31651 ac_ext=cpp
31652 ac_cpp='$CXXCPP $CPPFLAGS'
31653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31658 /* end confdefs.h. */
31659 #include <math.h>
31660 #ifdef HAVE_IEEEFP_H
31661 #include <ieeefp.h>
31662 #endif
31665 main ()
31667 _finite(0);
31669 return 0;
31671 _ACEOF
31672 if ac_fn_cxx_try_compile "$LINENO"; then :
31673 glibcxx_cv_func__finite_use=yes
31674 else
31675 glibcxx_cv_func__finite_use=no
31677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31678 ac_ext=c
31679 ac_cpp='$CPP $CPPFLAGS'
31680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
31689 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
31691 if test x$glibcxx_cv_func__finite_use = x"yes"; then
31692 for ac_func in _finite
31693 do :
31694 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
31695 if test "x$ac_cv_func__finite" = xyes; then :
31696 cat >>confdefs.h <<_ACEOF
31697 #define HAVE__FINITE 1
31698 _ACEOF
31701 done
31710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
31711 $as_echo_n "checking for sincos declaration... " >&6; }
31712 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
31713 if ${glibcxx_cv_func_sincos_use+:} false; then :
31714 $as_echo_n "(cached) " >&6
31715 else
31718 ac_ext=cpp
31719 ac_cpp='$CXXCPP $CPPFLAGS'
31720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31725 /* end confdefs.h. */
31726 #include <math.h>
31728 main ()
31730 sincos(0, 0, 0);
31732 return 0;
31734 _ACEOF
31735 if ac_fn_cxx_try_compile "$LINENO"; then :
31736 glibcxx_cv_func_sincos_use=yes
31737 else
31738 glibcxx_cv_func_sincos_use=no
31740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31741 ac_ext=c
31742 ac_cpp='$CPP $CPPFLAGS'
31743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
31752 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
31754 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
31755 for ac_func in sincos
31756 do :
31757 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
31758 if test "x$ac_cv_func_sincos" = xyes; then :
31759 cat >>confdefs.h <<_ACEOF
31760 #define HAVE_SINCOS 1
31761 _ACEOF
31764 done
31766 else
31768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
31769 $as_echo_n "checking for _sincos declaration... " >&6; }
31770 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
31771 if ${glibcxx_cv_func__sincos_use+:} false; then :
31772 $as_echo_n "(cached) " >&6
31773 else
31776 ac_ext=cpp
31777 ac_cpp='$CXXCPP $CPPFLAGS'
31778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31783 /* end confdefs.h. */
31784 #include <math.h>
31786 main ()
31788 _sincos(0, 0, 0);
31790 return 0;
31792 _ACEOF
31793 if ac_fn_cxx_try_compile "$LINENO"; then :
31794 glibcxx_cv_func__sincos_use=yes
31795 else
31796 glibcxx_cv_func__sincos_use=no
31798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31799 ac_ext=c
31800 ac_cpp='$CPP $CPPFLAGS'
31801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
31810 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
31812 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
31813 for ac_func in _sincos
31814 do :
31815 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
31816 if test "x$ac_cv_func__sincos" = xyes; then :
31817 cat >>confdefs.h <<_ACEOF
31818 #define HAVE__SINCOS 1
31819 _ACEOF
31822 done
31831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
31832 $as_echo_n "checking for fpclass declaration... " >&6; }
31833 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
31834 if ${glibcxx_cv_func_fpclass_use+:} false; then :
31835 $as_echo_n "(cached) " >&6
31836 else
31839 ac_ext=cpp
31840 ac_cpp='$CXXCPP $CPPFLAGS'
31841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31846 /* end confdefs.h. */
31847 #include <math.h>
31848 #ifdef HAVE_IEEEFP_H
31849 #include <ieeefp.h>
31850 #endif
31853 main ()
31855 fpclass(0);
31857 return 0;
31859 _ACEOF
31860 if ac_fn_cxx_try_compile "$LINENO"; then :
31861 glibcxx_cv_func_fpclass_use=yes
31862 else
31863 glibcxx_cv_func_fpclass_use=no
31865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31866 ac_ext=c
31867 ac_cpp='$CPP $CPPFLAGS'
31868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
31877 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
31879 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
31880 for ac_func in fpclass
31881 do :
31882 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
31883 if test "x$ac_cv_func_fpclass" = xyes; then :
31884 cat >>confdefs.h <<_ACEOF
31885 #define HAVE_FPCLASS 1
31886 _ACEOF
31889 done
31891 else
31893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
31894 $as_echo_n "checking for _fpclass declaration... " >&6; }
31895 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
31896 if ${glibcxx_cv_func__fpclass_use+:} false; then :
31897 $as_echo_n "(cached) " >&6
31898 else
31901 ac_ext=cpp
31902 ac_cpp='$CXXCPP $CPPFLAGS'
31903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31908 /* end confdefs.h. */
31909 #include <math.h>
31910 #ifdef HAVE_IEEEFP_H
31911 #include <ieeefp.h>
31912 #endif
31915 main ()
31917 _fpclass(0);
31919 return 0;
31921 _ACEOF
31922 if ac_fn_cxx_try_compile "$LINENO"; then :
31923 glibcxx_cv_func__fpclass_use=yes
31924 else
31925 glibcxx_cv_func__fpclass_use=no
31927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31928 ac_ext=c
31929 ac_cpp='$CPP $CPPFLAGS'
31930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
31939 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
31941 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
31942 for ac_func in _fpclass
31943 do :
31944 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
31945 if test "x$ac_cv_func__fpclass" = xyes; then :
31946 cat >>confdefs.h <<_ACEOF
31947 #define HAVE__FPCLASS 1
31948 _ACEOF
31951 done
31960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
31961 $as_echo_n "checking for qfpclass declaration... " >&6; }
31962 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
31963 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
31964 $as_echo_n "(cached) " >&6
31965 else
31968 ac_ext=cpp
31969 ac_cpp='$CXXCPP $CPPFLAGS'
31970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31975 /* end confdefs.h. */
31976 #include <math.h>
31977 #ifdef HAVE_IEEEFP_H
31978 #include <ieeefp.h>
31979 #endif
31982 main ()
31984 qfpclass(0);
31986 return 0;
31988 _ACEOF
31989 if ac_fn_cxx_try_compile "$LINENO"; then :
31990 glibcxx_cv_func_qfpclass_use=yes
31991 else
31992 glibcxx_cv_func_qfpclass_use=no
31994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31995 ac_ext=c
31996 ac_cpp='$CPP $CPPFLAGS'
31997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
32006 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
32008 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
32009 for ac_func in qfpclass
32010 do :
32011 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
32012 if test "x$ac_cv_func_qfpclass" = xyes; then :
32013 cat >>confdefs.h <<_ACEOF
32014 #define HAVE_QFPCLASS 1
32015 _ACEOF
32018 done
32020 else
32022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
32023 $as_echo_n "checking for _qfpclass declaration... " >&6; }
32024 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
32025 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
32026 $as_echo_n "(cached) " >&6
32027 else
32030 ac_ext=cpp
32031 ac_cpp='$CXXCPP $CPPFLAGS'
32032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32037 /* end confdefs.h. */
32038 #include <math.h>
32039 #ifdef HAVE_IEEEFP_H
32040 #include <ieeefp.h>
32041 #endif
32044 main ()
32046 _qfpclass(0);
32048 return 0;
32050 _ACEOF
32051 if ac_fn_cxx_try_compile "$LINENO"; then :
32052 glibcxx_cv_func__qfpclass_use=yes
32053 else
32054 glibcxx_cv_func__qfpclass_use=no
32056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32057 ac_ext=c
32058 ac_cpp='$CPP $CPPFLAGS'
32059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
32068 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
32070 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
32071 for ac_func in _qfpclass
32072 do :
32073 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
32074 if test "x$ac_cv_func__qfpclass" = xyes; then :
32075 cat >>confdefs.h <<_ACEOF
32076 #define HAVE__QFPCLASS 1
32077 _ACEOF
32080 done
32089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
32090 $as_echo_n "checking for hypot declaration... " >&6; }
32091 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
32092 if ${glibcxx_cv_func_hypot_use+:} false; then :
32093 $as_echo_n "(cached) " >&6
32094 else
32097 ac_ext=cpp
32098 ac_cpp='$CXXCPP $CPPFLAGS'
32099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32104 /* end confdefs.h. */
32105 #include <math.h>
32107 main ()
32109 hypot(0, 0);
32111 return 0;
32113 _ACEOF
32114 if ac_fn_cxx_try_compile "$LINENO"; then :
32115 glibcxx_cv_func_hypot_use=yes
32116 else
32117 glibcxx_cv_func_hypot_use=no
32119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32120 ac_ext=c
32121 ac_cpp='$CPP $CPPFLAGS'
32122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
32131 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
32133 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
32134 for ac_func in hypot
32135 do :
32136 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
32137 if test "x$ac_cv_func_hypot" = xyes; then :
32138 cat >>confdefs.h <<_ACEOF
32139 #define HAVE_HYPOT 1
32140 _ACEOF
32143 done
32145 else
32147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
32148 $as_echo_n "checking for _hypot declaration... " >&6; }
32149 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
32150 if ${glibcxx_cv_func__hypot_use+:} false; then :
32151 $as_echo_n "(cached) " >&6
32152 else
32155 ac_ext=cpp
32156 ac_cpp='$CXXCPP $CPPFLAGS'
32157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32162 /* end confdefs.h. */
32163 #include <math.h>
32165 main ()
32167 _hypot(0, 0);
32169 return 0;
32171 _ACEOF
32172 if ac_fn_cxx_try_compile "$LINENO"; then :
32173 glibcxx_cv_func__hypot_use=yes
32174 else
32175 glibcxx_cv_func__hypot_use=no
32177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32178 ac_ext=c
32179 ac_cpp='$CPP $CPPFLAGS'
32180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
32189 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
32191 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
32192 for ac_func in _hypot
32193 do :
32194 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
32195 if test "x$ac_cv_func__hypot" = xyes; then :
32196 cat >>confdefs.h <<_ACEOF
32197 #define HAVE__HYPOT 1
32198 _ACEOF
32201 done
32210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
32211 $as_echo_n "checking for float trig functions... " >&6; }
32212 if ${glibcxx_cv_func_float_trig_use+:} false; then :
32213 $as_echo_n "(cached) " >&6
32214 else
32217 ac_ext=cpp
32218 ac_cpp='$CXXCPP $CPPFLAGS'
32219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32224 /* end confdefs.h. */
32225 #include <math.h>
32227 main ()
32229 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
32231 return 0;
32233 _ACEOF
32234 if ac_fn_cxx_try_compile "$LINENO"; then :
32235 glibcxx_cv_func_float_trig_use=yes
32236 else
32237 glibcxx_cv_func_float_trig_use=no
32239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32240 ac_ext=c
32241 ac_cpp='$CPP $CPPFLAGS'
32242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
32249 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
32250 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
32251 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
32252 do :
32253 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32254 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32255 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32256 cat >>confdefs.h <<_ACEOF
32257 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32258 _ACEOF
32261 done
32263 else
32264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
32265 $as_echo_n "checking for _float trig functions... " >&6; }
32266 if ${glibcxx_cv_func__float_trig_use+:} false; then :
32267 $as_echo_n "(cached) " >&6
32268 else
32271 ac_ext=cpp
32272 ac_cpp='$CXXCPP $CPPFLAGS'
32273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32278 /* end confdefs.h. */
32279 #include <math.h>
32281 main ()
32283 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
32285 return 0;
32287 _ACEOF
32288 if ac_fn_cxx_try_compile "$LINENO"; then :
32289 glibcxx_cv_func__float_trig_use=yes
32290 else
32291 glibcxx_cv_func__float_trig_use=no
32293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32294 ac_ext=c
32295 ac_cpp='$CPP $CPPFLAGS'
32296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
32303 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
32304 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
32305 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
32306 do :
32307 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32308 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32309 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32310 cat >>confdefs.h <<_ACEOF
32311 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32312 _ACEOF
32315 done
32324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
32325 $as_echo_n "checking for float round functions... " >&6; }
32326 if ${glibcxx_cv_func_float_round_use+:} false; then :
32327 $as_echo_n "(cached) " >&6
32328 else
32331 ac_ext=cpp
32332 ac_cpp='$CXXCPP $CPPFLAGS'
32333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32338 /* end confdefs.h. */
32339 #include <math.h>
32341 main ()
32343 ceilf (0); floorf (0);
32345 return 0;
32347 _ACEOF
32348 if ac_fn_cxx_try_compile "$LINENO"; then :
32349 glibcxx_cv_func_float_round_use=yes
32350 else
32351 glibcxx_cv_func_float_round_use=no
32353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32354 ac_ext=c
32355 ac_cpp='$CPP $CPPFLAGS'
32356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
32363 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
32364 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
32365 for ac_func in ceilf floorf
32366 do :
32367 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32368 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32369 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32370 cat >>confdefs.h <<_ACEOF
32371 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32372 _ACEOF
32375 done
32377 else
32378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
32379 $as_echo_n "checking for _float round functions... " >&6; }
32380 if ${glibcxx_cv_func__float_round_use+:} false; then :
32381 $as_echo_n "(cached) " >&6
32382 else
32385 ac_ext=cpp
32386 ac_cpp='$CXXCPP $CPPFLAGS'
32387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32392 /* end confdefs.h. */
32393 #include <math.h>
32395 main ()
32397 _ceilf (0); _floorf (0);
32399 return 0;
32401 _ACEOF
32402 if ac_fn_cxx_try_compile "$LINENO"; then :
32403 glibcxx_cv_func__float_round_use=yes
32404 else
32405 glibcxx_cv_func__float_round_use=no
32407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32408 ac_ext=c
32409 ac_cpp='$CPP $CPPFLAGS'
32410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
32417 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
32418 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
32419 for ac_func in _ceilf _floorf
32420 do :
32421 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32422 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32423 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32424 cat >>confdefs.h <<_ACEOF
32425 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32426 _ACEOF
32429 done
32439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
32440 $as_echo_n "checking for expf declaration... " >&6; }
32441 if test x${glibcxx_cv_func_expf_use+set} != xset; then
32442 if ${glibcxx_cv_func_expf_use+:} false; then :
32443 $as_echo_n "(cached) " >&6
32444 else
32447 ac_ext=cpp
32448 ac_cpp='$CXXCPP $CPPFLAGS'
32449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32454 /* end confdefs.h. */
32455 #include <math.h>
32456 #ifdef HAVE_IEEEFP_H
32457 #include <ieeefp.h>
32458 #endif
32461 main ()
32463 expf(0);
32465 return 0;
32467 _ACEOF
32468 if ac_fn_cxx_try_compile "$LINENO"; then :
32469 glibcxx_cv_func_expf_use=yes
32470 else
32471 glibcxx_cv_func_expf_use=no
32473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32474 ac_ext=c
32475 ac_cpp='$CPP $CPPFLAGS'
32476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
32485 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
32487 if test x$glibcxx_cv_func_expf_use = x"yes"; then
32488 for ac_func in expf
32489 do :
32490 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
32491 if test "x$ac_cv_func_expf" = xyes; then :
32492 cat >>confdefs.h <<_ACEOF
32493 #define HAVE_EXPF 1
32494 _ACEOF
32497 done
32499 else
32501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
32502 $as_echo_n "checking for _expf declaration... " >&6; }
32503 if test x${glibcxx_cv_func__expf_use+set} != xset; then
32504 if ${glibcxx_cv_func__expf_use+:} false; then :
32505 $as_echo_n "(cached) " >&6
32506 else
32509 ac_ext=cpp
32510 ac_cpp='$CXXCPP $CPPFLAGS'
32511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32516 /* end confdefs.h. */
32517 #include <math.h>
32518 #ifdef HAVE_IEEEFP_H
32519 #include <ieeefp.h>
32520 #endif
32523 main ()
32525 _expf(0);
32527 return 0;
32529 _ACEOF
32530 if ac_fn_cxx_try_compile "$LINENO"; then :
32531 glibcxx_cv_func__expf_use=yes
32532 else
32533 glibcxx_cv_func__expf_use=no
32535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32536 ac_ext=c
32537 ac_cpp='$CPP $CPPFLAGS'
32538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
32547 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
32549 if test x$glibcxx_cv_func__expf_use = x"yes"; then
32550 for ac_func in _expf
32551 do :
32552 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
32553 if test "x$ac_cv_func__expf" = xyes; then :
32554 cat >>confdefs.h <<_ACEOF
32555 #define HAVE__EXPF 1
32556 _ACEOF
32559 done
32568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
32569 $as_echo_n "checking for isnanf declaration... " >&6; }
32570 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
32571 if ${glibcxx_cv_func_isnanf_use+:} false; then :
32572 $as_echo_n "(cached) " >&6
32573 else
32576 ac_ext=cpp
32577 ac_cpp='$CXXCPP $CPPFLAGS'
32578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32583 /* end confdefs.h. */
32584 #include <math.h>
32585 #ifdef HAVE_IEEEFP_H
32586 #include <ieeefp.h>
32587 #endif
32590 main ()
32592 isnanf(0);
32594 return 0;
32596 _ACEOF
32597 if ac_fn_cxx_try_compile "$LINENO"; then :
32598 glibcxx_cv_func_isnanf_use=yes
32599 else
32600 glibcxx_cv_func_isnanf_use=no
32602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32603 ac_ext=c
32604 ac_cpp='$CPP $CPPFLAGS'
32605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
32614 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
32616 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
32617 for ac_func in isnanf
32618 do :
32619 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
32620 if test "x$ac_cv_func_isnanf" = xyes; then :
32621 cat >>confdefs.h <<_ACEOF
32622 #define HAVE_ISNANF 1
32623 _ACEOF
32626 done
32628 else
32630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
32631 $as_echo_n "checking for _isnanf declaration... " >&6; }
32632 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
32633 if ${glibcxx_cv_func__isnanf_use+:} false; then :
32634 $as_echo_n "(cached) " >&6
32635 else
32638 ac_ext=cpp
32639 ac_cpp='$CXXCPP $CPPFLAGS'
32640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32645 /* end confdefs.h. */
32646 #include <math.h>
32647 #ifdef HAVE_IEEEFP_H
32648 #include <ieeefp.h>
32649 #endif
32652 main ()
32654 _isnanf(0);
32656 return 0;
32658 _ACEOF
32659 if ac_fn_cxx_try_compile "$LINENO"; then :
32660 glibcxx_cv_func__isnanf_use=yes
32661 else
32662 glibcxx_cv_func__isnanf_use=no
32664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32665 ac_ext=c
32666 ac_cpp='$CPP $CPPFLAGS'
32667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
32676 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
32678 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
32679 for ac_func in _isnanf
32680 do :
32681 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
32682 if test "x$ac_cv_func__isnanf" = xyes; then :
32683 cat >>confdefs.h <<_ACEOF
32684 #define HAVE__ISNANF 1
32685 _ACEOF
32688 done
32697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
32698 $as_echo_n "checking for isinff declaration... " >&6; }
32699 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
32700 if ${glibcxx_cv_func_isinff_use+:} false; then :
32701 $as_echo_n "(cached) " >&6
32702 else
32705 ac_ext=cpp
32706 ac_cpp='$CXXCPP $CPPFLAGS'
32707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32712 /* end confdefs.h. */
32713 #include <math.h>
32714 #ifdef HAVE_IEEEFP_H
32715 #include <ieeefp.h>
32716 #endif
32719 main ()
32721 isinff(0);
32723 return 0;
32725 _ACEOF
32726 if ac_fn_cxx_try_compile "$LINENO"; then :
32727 glibcxx_cv_func_isinff_use=yes
32728 else
32729 glibcxx_cv_func_isinff_use=no
32731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32732 ac_ext=c
32733 ac_cpp='$CPP $CPPFLAGS'
32734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
32743 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
32745 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
32746 for ac_func in isinff
32747 do :
32748 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
32749 if test "x$ac_cv_func_isinff" = xyes; then :
32750 cat >>confdefs.h <<_ACEOF
32751 #define HAVE_ISINFF 1
32752 _ACEOF
32755 done
32757 else
32759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
32760 $as_echo_n "checking for _isinff declaration... " >&6; }
32761 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
32762 if ${glibcxx_cv_func__isinff_use+:} false; then :
32763 $as_echo_n "(cached) " >&6
32764 else
32767 ac_ext=cpp
32768 ac_cpp='$CXXCPP $CPPFLAGS'
32769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32774 /* end confdefs.h. */
32775 #include <math.h>
32776 #ifdef HAVE_IEEEFP_H
32777 #include <ieeefp.h>
32778 #endif
32781 main ()
32783 _isinff(0);
32785 return 0;
32787 _ACEOF
32788 if ac_fn_cxx_try_compile "$LINENO"; then :
32789 glibcxx_cv_func__isinff_use=yes
32790 else
32791 glibcxx_cv_func__isinff_use=no
32793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32794 ac_ext=c
32795 ac_cpp='$CPP $CPPFLAGS'
32796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
32805 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
32807 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
32808 for ac_func in _isinff
32809 do :
32810 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
32811 if test "x$ac_cv_func__isinff" = xyes; then :
32812 cat >>confdefs.h <<_ACEOF
32813 #define HAVE__ISINFF 1
32814 _ACEOF
32817 done
32826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
32827 $as_echo_n "checking for atan2f declaration... " >&6; }
32828 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
32829 if ${glibcxx_cv_func_atan2f_use+:} false; then :
32830 $as_echo_n "(cached) " >&6
32831 else
32834 ac_ext=cpp
32835 ac_cpp='$CXXCPP $CPPFLAGS'
32836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32841 /* end confdefs.h. */
32842 #include <math.h>
32844 main ()
32846 atan2f(0, 0);
32848 return 0;
32850 _ACEOF
32851 if ac_fn_cxx_try_compile "$LINENO"; then :
32852 glibcxx_cv_func_atan2f_use=yes
32853 else
32854 glibcxx_cv_func_atan2f_use=no
32856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32857 ac_ext=c
32858 ac_cpp='$CPP $CPPFLAGS'
32859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
32868 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
32870 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
32871 for ac_func in atan2f
32872 do :
32873 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
32874 if test "x$ac_cv_func_atan2f" = xyes; then :
32875 cat >>confdefs.h <<_ACEOF
32876 #define HAVE_ATAN2F 1
32877 _ACEOF
32880 done
32882 else
32884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
32885 $as_echo_n "checking for _atan2f declaration... " >&6; }
32886 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
32887 if ${glibcxx_cv_func__atan2f_use+:} false; then :
32888 $as_echo_n "(cached) " >&6
32889 else
32892 ac_ext=cpp
32893 ac_cpp='$CXXCPP $CPPFLAGS'
32894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32899 /* end confdefs.h. */
32900 #include <math.h>
32902 main ()
32904 _atan2f(0, 0);
32906 return 0;
32908 _ACEOF
32909 if ac_fn_cxx_try_compile "$LINENO"; then :
32910 glibcxx_cv_func__atan2f_use=yes
32911 else
32912 glibcxx_cv_func__atan2f_use=no
32914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32915 ac_ext=c
32916 ac_cpp='$CPP $CPPFLAGS'
32917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
32926 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
32928 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
32929 for ac_func in _atan2f
32930 do :
32931 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
32932 if test "x$ac_cv_func__atan2f" = xyes; then :
32933 cat >>confdefs.h <<_ACEOF
32934 #define HAVE__ATAN2F 1
32935 _ACEOF
32938 done
32947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
32948 $as_echo_n "checking for fabsf declaration... " >&6; }
32949 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
32950 if ${glibcxx_cv_func_fabsf_use+:} false; then :
32951 $as_echo_n "(cached) " >&6
32952 else
32955 ac_ext=cpp
32956 ac_cpp='$CXXCPP $CPPFLAGS'
32957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32962 /* end confdefs.h. */
32963 #include <math.h>
32964 #ifdef HAVE_IEEEFP_H
32965 #include <ieeefp.h>
32966 #endif
32969 main ()
32971 fabsf(0);
32973 return 0;
32975 _ACEOF
32976 if ac_fn_cxx_try_compile "$LINENO"; then :
32977 glibcxx_cv_func_fabsf_use=yes
32978 else
32979 glibcxx_cv_func_fabsf_use=no
32981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32982 ac_ext=c
32983 ac_cpp='$CPP $CPPFLAGS'
32984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
32993 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
32995 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
32996 for ac_func in fabsf
32997 do :
32998 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
32999 if test "x$ac_cv_func_fabsf" = xyes; then :
33000 cat >>confdefs.h <<_ACEOF
33001 #define HAVE_FABSF 1
33002 _ACEOF
33005 done
33007 else
33009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
33010 $as_echo_n "checking for _fabsf declaration... " >&6; }
33011 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
33012 if ${glibcxx_cv_func__fabsf_use+:} false; then :
33013 $as_echo_n "(cached) " >&6
33014 else
33017 ac_ext=cpp
33018 ac_cpp='$CXXCPP $CPPFLAGS'
33019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33024 /* end confdefs.h. */
33025 #include <math.h>
33026 #ifdef HAVE_IEEEFP_H
33027 #include <ieeefp.h>
33028 #endif
33031 main ()
33033 _fabsf(0);
33035 return 0;
33037 _ACEOF
33038 if ac_fn_cxx_try_compile "$LINENO"; then :
33039 glibcxx_cv_func__fabsf_use=yes
33040 else
33041 glibcxx_cv_func__fabsf_use=no
33043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33044 ac_ext=c
33045 ac_cpp='$CPP $CPPFLAGS'
33046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
33055 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
33057 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
33058 for ac_func in _fabsf
33059 do :
33060 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
33061 if test "x$ac_cv_func__fabsf" = xyes; then :
33062 cat >>confdefs.h <<_ACEOF
33063 #define HAVE__FABSF 1
33064 _ACEOF
33067 done
33076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
33077 $as_echo_n "checking for fmodf declaration... " >&6; }
33078 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
33079 if ${glibcxx_cv_func_fmodf_use+:} false; then :
33080 $as_echo_n "(cached) " >&6
33081 else
33084 ac_ext=cpp
33085 ac_cpp='$CXXCPP $CPPFLAGS'
33086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33091 /* end confdefs.h. */
33092 #include <math.h>
33094 main ()
33096 fmodf(0, 0);
33098 return 0;
33100 _ACEOF
33101 if ac_fn_cxx_try_compile "$LINENO"; then :
33102 glibcxx_cv_func_fmodf_use=yes
33103 else
33104 glibcxx_cv_func_fmodf_use=no
33106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33107 ac_ext=c
33108 ac_cpp='$CPP $CPPFLAGS'
33109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
33118 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
33120 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
33121 for ac_func in fmodf
33122 do :
33123 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
33124 if test "x$ac_cv_func_fmodf" = xyes; then :
33125 cat >>confdefs.h <<_ACEOF
33126 #define HAVE_FMODF 1
33127 _ACEOF
33130 done
33132 else
33134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
33135 $as_echo_n "checking for _fmodf declaration... " >&6; }
33136 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
33137 if ${glibcxx_cv_func__fmodf_use+:} false; then :
33138 $as_echo_n "(cached) " >&6
33139 else
33142 ac_ext=cpp
33143 ac_cpp='$CXXCPP $CPPFLAGS'
33144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33149 /* end confdefs.h. */
33150 #include <math.h>
33152 main ()
33154 _fmodf(0, 0);
33156 return 0;
33158 _ACEOF
33159 if ac_fn_cxx_try_compile "$LINENO"; then :
33160 glibcxx_cv_func__fmodf_use=yes
33161 else
33162 glibcxx_cv_func__fmodf_use=no
33164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33165 ac_ext=c
33166 ac_cpp='$CPP $CPPFLAGS'
33167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
33176 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
33178 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
33179 for ac_func in _fmodf
33180 do :
33181 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
33182 if test "x$ac_cv_func__fmodf" = xyes; then :
33183 cat >>confdefs.h <<_ACEOF
33184 #define HAVE__FMODF 1
33185 _ACEOF
33188 done
33197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
33198 $as_echo_n "checking for frexpf declaration... " >&6; }
33199 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
33200 if ${glibcxx_cv_func_frexpf_use+:} false; then :
33201 $as_echo_n "(cached) " >&6
33202 else
33205 ac_ext=cpp
33206 ac_cpp='$CXXCPP $CPPFLAGS'
33207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33212 /* end confdefs.h. */
33213 #include <math.h>
33215 main ()
33217 frexpf(0, 0);
33219 return 0;
33221 _ACEOF
33222 if ac_fn_cxx_try_compile "$LINENO"; then :
33223 glibcxx_cv_func_frexpf_use=yes
33224 else
33225 glibcxx_cv_func_frexpf_use=no
33227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33228 ac_ext=c
33229 ac_cpp='$CPP $CPPFLAGS'
33230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
33239 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
33241 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
33242 for ac_func in frexpf
33243 do :
33244 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
33245 if test "x$ac_cv_func_frexpf" = xyes; then :
33246 cat >>confdefs.h <<_ACEOF
33247 #define HAVE_FREXPF 1
33248 _ACEOF
33251 done
33253 else
33255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
33256 $as_echo_n "checking for _frexpf declaration... " >&6; }
33257 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
33258 if ${glibcxx_cv_func__frexpf_use+:} false; then :
33259 $as_echo_n "(cached) " >&6
33260 else
33263 ac_ext=cpp
33264 ac_cpp='$CXXCPP $CPPFLAGS'
33265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33270 /* end confdefs.h. */
33271 #include <math.h>
33273 main ()
33275 _frexpf(0, 0);
33277 return 0;
33279 _ACEOF
33280 if ac_fn_cxx_try_compile "$LINENO"; then :
33281 glibcxx_cv_func__frexpf_use=yes
33282 else
33283 glibcxx_cv_func__frexpf_use=no
33285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33286 ac_ext=c
33287 ac_cpp='$CPP $CPPFLAGS'
33288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
33297 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
33299 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
33300 for ac_func in _frexpf
33301 do :
33302 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
33303 if test "x$ac_cv_func__frexpf" = xyes; then :
33304 cat >>confdefs.h <<_ACEOF
33305 #define HAVE__FREXPF 1
33306 _ACEOF
33309 done
33318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
33319 $as_echo_n "checking for hypotf declaration... " >&6; }
33320 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
33321 if ${glibcxx_cv_func_hypotf_use+:} false; then :
33322 $as_echo_n "(cached) " >&6
33323 else
33326 ac_ext=cpp
33327 ac_cpp='$CXXCPP $CPPFLAGS'
33328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33333 /* end confdefs.h. */
33334 #include <math.h>
33336 main ()
33338 hypotf(0, 0);
33340 return 0;
33342 _ACEOF
33343 if ac_fn_cxx_try_compile "$LINENO"; then :
33344 glibcxx_cv_func_hypotf_use=yes
33345 else
33346 glibcxx_cv_func_hypotf_use=no
33348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33349 ac_ext=c
33350 ac_cpp='$CPP $CPPFLAGS'
33351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
33360 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
33362 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
33363 for ac_func in hypotf
33364 do :
33365 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
33366 if test "x$ac_cv_func_hypotf" = xyes; then :
33367 cat >>confdefs.h <<_ACEOF
33368 #define HAVE_HYPOTF 1
33369 _ACEOF
33372 done
33374 else
33376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
33377 $as_echo_n "checking for _hypotf declaration... " >&6; }
33378 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
33379 if ${glibcxx_cv_func__hypotf_use+:} false; then :
33380 $as_echo_n "(cached) " >&6
33381 else
33384 ac_ext=cpp
33385 ac_cpp='$CXXCPP $CPPFLAGS'
33386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33391 /* end confdefs.h. */
33392 #include <math.h>
33394 main ()
33396 _hypotf(0, 0);
33398 return 0;
33400 _ACEOF
33401 if ac_fn_cxx_try_compile "$LINENO"; then :
33402 glibcxx_cv_func__hypotf_use=yes
33403 else
33404 glibcxx_cv_func__hypotf_use=no
33406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33407 ac_ext=c
33408 ac_cpp='$CPP $CPPFLAGS'
33409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
33418 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
33420 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
33421 for ac_func in _hypotf
33422 do :
33423 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
33424 if test "x$ac_cv_func__hypotf" = xyes; then :
33425 cat >>confdefs.h <<_ACEOF
33426 #define HAVE__HYPOTF 1
33427 _ACEOF
33430 done
33439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
33440 $as_echo_n "checking for ldexpf declaration... " >&6; }
33441 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
33442 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
33443 $as_echo_n "(cached) " >&6
33444 else
33447 ac_ext=cpp
33448 ac_cpp='$CXXCPP $CPPFLAGS'
33449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33454 /* end confdefs.h. */
33455 #include <math.h>
33457 main ()
33459 ldexpf(0, 0);
33461 return 0;
33463 _ACEOF
33464 if ac_fn_cxx_try_compile "$LINENO"; then :
33465 glibcxx_cv_func_ldexpf_use=yes
33466 else
33467 glibcxx_cv_func_ldexpf_use=no
33469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33470 ac_ext=c
33471 ac_cpp='$CPP $CPPFLAGS'
33472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
33481 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
33483 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
33484 for ac_func in ldexpf
33485 do :
33486 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
33487 if test "x$ac_cv_func_ldexpf" = xyes; then :
33488 cat >>confdefs.h <<_ACEOF
33489 #define HAVE_LDEXPF 1
33490 _ACEOF
33493 done
33495 else
33497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
33498 $as_echo_n "checking for _ldexpf declaration... " >&6; }
33499 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
33500 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
33501 $as_echo_n "(cached) " >&6
33502 else
33505 ac_ext=cpp
33506 ac_cpp='$CXXCPP $CPPFLAGS'
33507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33512 /* end confdefs.h. */
33513 #include <math.h>
33515 main ()
33517 _ldexpf(0, 0);
33519 return 0;
33521 _ACEOF
33522 if ac_fn_cxx_try_compile "$LINENO"; then :
33523 glibcxx_cv_func__ldexpf_use=yes
33524 else
33525 glibcxx_cv_func__ldexpf_use=no
33527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33528 ac_ext=c
33529 ac_cpp='$CPP $CPPFLAGS'
33530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
33539 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
33541 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
33542 for ac_func in _ldexpf
33543 do :
33544 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
33545 if test "x$ac_cv_func__ldexpf" = xyes; then :
33546 cat >>confdefs.h <<_ACEOF
33547 #define HAVE__LDEXPF 1
33548 _ACEOF
33551 done
33560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
33561 $as_echo_n "checking for logf declaration... " >&6; }
33562 if test x${glibcxx_cv_func_logf_use+set} != xset; then
33563 if ${glibcxx_cv_func_logf_use+:} false; then :
33564 $as_echo_n "(cached) " >&6
33565 else
33568 ac_ext=cpp
33569 ac_cpp='$CXXCPP $CPPFLAGS'
33570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33575 /* end confdefs.h. */
33576 #include <math.h>
33577 #ifdef HAVE_IEEEFP_H
33578 #include <ieeefp.h>
33579 #endif
33582 main ()
33584 logf(0);
33586 return 0;
33588 _ACEOF
33589 if ac_fn_cxx_try_compile "$LINENO"; then :
33590 glibcxx_cv_func_logf_use=yes
33591 else
33592 glibcxx_cv_func_logf_use=no
33594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33595 ac_ext=c
33596 ac_cpp='$CPP $CPPFLAGS'
33597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
33606 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
33608 if test x$glibcxx_cv_func_logf_use = x"yes"; then
33609 for ac_func in logf
33610 do :
33611 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
33612 if test "x$ac_cv_func_logf" = xyes; then :
33613 cat >>confdefs.h <<_ACEOF
33614 #define HAVE_LOGF 1
33615 _ACEOF
33618 done
33620 else
33622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
33623 $as_echo_n "checking for _logf declaration... " >&6; }
33624 if test x${glibcxx_cv_func__logf_use+set} != xset; then
33625 if ${glibcxx_cv_func__logf_use+:} false; then :
33626 $as_echo_n "(cached) " >&6
33627 else
33630 ac_ext=cpp
33631 ac_cpp='$CXXCPP $CPPFLAGS'
33632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33637 /* end confdefs.h. */
33638 #include <math.h>
33639 #ifdef HAVE_IEEEFP_H
33640 #include <ieeefp.h>
33641 #endif
33644 main ()
33646 _logf(0);
33648 return 0;
33650 _ACEOF
33651 if ac_fn_cxx_try_compile "$LINENO"; then :
33652 glibcxx_cv_func__logf_use=yes
33653 else
33654 glibcxx_cv_func__logf_use=no
33656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33657 ac_ext=c
33658 ac_cpp='$CPP $CPPFLAGS'
33659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
33668 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
33670 if test x$glibcxx_cv_func__logf_use = x"yes"; then
33671 for ac_func in _logf
33672 do :
33673 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
33674 if test "x$ac_cv_func__logf" = xyes; then :
33675 cat >>confdefs.h <<_ACEOF
33676 #define HAVE__LOGF 1
33677 _ACEOF
33680 done
33689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
33690 $as_echo_n "checking for log10f declaration... " >&6; }
33691 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
33692 if ${glibcxx_cv_func_log10f_use+:} false; then :
33693 $as_echo_n "(cached) " >&6
33694 else
33697 ac_ext=cpp
33698 ac_cpp='$CXXCPP $CPPFLAGS'
33699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33704 /* end confdefs.h. */
33705 #include <math.h>
33706 #ifdef HAVE_IEEEFP_H
33707 #include <ieeefp.h>
33708 #endif
33711 main ()
33713 log10f(0);
33715 return 0;
33717 _ACEOF
33718 if ac_fn_cxx_try_compile "$LINENO"; then :
33719 glibcxx_cv_func_log10f_use=yes
33720 else
33721 glibcxx_cv_func_log10f_use=no
33723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33724 ac_ext=c
33725 ac_cpp='$CPP $CPPFLAGS'
33726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
33735 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
33737 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
33738 for ac_func in log10f
33739 do :
33740 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
33741 if test "x$ac_cv_func_log10f" = xyes; then :
33742 cat >>confdefs.h <<_ACEOF
33743 #define HAVE_LOG10F 1
33744 _ACEOF
33747 done
33749 else
33751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
33752 $as_echo_n "checking for _log10f declaration... " >&6; }
33753 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
33754 if ${glibcxx_cv_func__log10f_use+:} false; then :
33755 $as_echo_n "(cached) " >&6
33756 else
33759 ac_ext=cpp
33760 ac_cpp='$CXXCPP $CPPFLAGS'
33761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33766 /* end confdefs.h. */
33767 #include <math.h>
33768 #ifdef HAVE_IEEEFP_H
33769 #include <ieeefp.h>
33770 #endif
33773 main ()
33775 _log10f(0);
33777 return 0;
33779 _ACEOF
33780 if ac_fn_cxx_try_compile "$LINENO"; then :
33781 glibcxx_cv_func__log10f_use=yes
33782 else
33783 glibcxx_cv_func__log10f_use=no
33785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33786 ac_ext=c
33787 ac_cpp='$CPP $CPPFLAGS'
33788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
33797 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
33799 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
33800 for ac_func in _log10f
33801 do :
33802 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
33803 if test "x$ac_cv_func__log10f" = xyes; then :
33804 cat >>confdefs.h <<_ACEOF
33805 #define HAVE__LOG10F 1
33806 _ACEOF
33809 done
33818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
33819 $as_echo_n "checking for modff declaration... " >&6; }
33820 if test x${glibcxx_cv_func_modff_use+set} != xset; then
33821 if ${glibcxx_cv_func_modff_use+:} false; then :
33822 $as_echo_n "(cached) " >&6
33823 else
33826 ac_ext=cpp
33827 ac_cpp='$CXXCPP $CPPFLAGS'
33828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33833 /* end confdefs.h. */
33834 #include <math.h>
33836 main ()
33838 modff(0, 0);
33840 return 0;
33842 _ACEOF
33843 if ac_fn_cxx_try_compile "$LINENO"; then :
33844 glibcxx_cv_func_modff_use=yes
33845 else
33846 glibcxx_cv_func_modff_use=no
33848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33849 ac_ext=c
33850 ac_cpp='$CPP $CPPFLAGS'
33851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
33860 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
33862 if test x$glibcxx_cv_func_modff_use = x"yes"; then
33863 for ac_func in modff
33864 do :
33865 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
33866 if test "x$ac_cv_func_modff" = xyes; then :
33867 cat >>confdefs.h <<_ACEOF
33868 #define HAVE_MODFF 1
33869 _ACEOF
33872 done
33874 else
33876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
33877 $as_echo_n "checking for _modff declaration... " >&6; }
33878 if test x${glibcxx_cv_func__modff_use+set} != xset; then
33879 if ${glibcxx_cv_func__modff_use+:} false; then :
33880 $as_echo_n "(cached) " >&6
33881 else
33884 ac_ext=cpp
33885 ac_cpp='$CXXCPP $CPPFLAGS'
33886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33891 /* end confdefs.h. */
33892 #include <math.h>
33894 main ()
33896 _modff(0, 0);
33898 return 0;
33900 _ACEOF
33901 if ac_fn_cxx_try_compile "$LINENO"; then :
33902 glibcxx_cv_func__modff_use=yes
33903 else
33904 glibcxx_cv_func__modff_use=no
33906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33907 ac_ext=c
33908 ac_cpp='$CPP $CPPFLAGS'
33909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
33918 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
33920 if test x$glibcxx_cv_func__modff_use = x"yes"; then
33921 for ac_func in _modff
33922 do :
33923 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
33924 if test "x$ac_cv_func__modff" = xyes; then :
33925 cat >>confdefs.h <<_ACEOF
33926 #define HAVE__MODFF 1
33927 _ACEOF
33930 done
33939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
33940 $as_echo_n "checking for modf declaration... " >&6; }
33941 if test x${glibcxx_cv_func_modf_use+set} != xset; then
33942 if ${glibcxx_cv_func_modf_use+:} false; then :
33943 $as_echo_n "(cached) " >&6
33944 else
33947 ac_ext=cpp
33948 ac_cpp='$CXXCPP $CPPFLAGS'
33949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33954 /* end confdefs.h. */
33955 #include <math.h>
33957 main ()
33959 modf(0, 0);
33961 return 0;
33963 _ACEOF
33964 if ac_fn_cxx_try_compile "$LINENO"; then :
33965 glibcxx_cv_func_modf_use=yes
33966 else
33967 glibcxx_cv_func_modf_use=no
33969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33970 ac_ext=c
33971 ac_cpp='$CPP $CPPFLAGS'
33972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
33981 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
33983 if test x$glibcxx_cv_func_modf_use = x"yes"; then
33984 for ac_func in modf
33985 do :
33986 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
33987 if test "x$ac_cv_func_modf" = xyes; then :
33988 cat >>confdefs.h <<_ACEOF
33989 #define HAVE_MODF 1
33990 _ACEOF
33993 done
33995 else
33997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
33998 $as_echo_n "checking for _modf declaration... " >&6; }
33999 if test x${glibcxx_cv_func__modf_use+set} != xset; then
34000 if ${glibcxx_cv_func__modf_use+:} false; then :
34001 $as_echo_n "(cached) " >&6
34002 else
34005 ac_ext=cpp
34006 ac_cpp='$CXXCPP $CPPFLAGS'
34007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34012 /* end confdefs.h. */
34013 #include <math.h>
34015 main ()
34017 _modf(0, 0);
34019 return 0;
34021 _ACEOF
34022 if ac_fn_cxx_try_compile "$LINENO"; then :
34023 glibcxx_cv_func__modf_use=yes
34024 else
34025 glibcxx_cv_func__modf_use=no
34027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34028 ac_ext=c
34029 ac_cpp='$CPP $CPPFLAGS'
34030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
34039 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
34041 if test x$glibcxx_cv_func__modf_use = x"yes"; then
34042 for ac_func in _modf
34043 do :
34044 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
34045 if test "x$ac_cv_func__modf" = xyes; then :
34046 cat >>confdefs.h <<_ACEOF
34047 #define HAVE__MODF 1
34048 _ACEOF
34051 done
34060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
34061 $as_echo_n "checking for powf declaration... " >&6; }
34062 if test x${glibcxx_cv_func_powf_use+set} != xset; then
34063 if ${glibcxx_cv_func_powf_use+:} false; then :
34064 $as_echo_n "(cached) " >&6
34065 else
34068 ac_ext=cpp
34069 ac_cpp='$CXXCPP $CPPFLAGS'
34070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34075 /* end confdefs.h. */
34076 #include <math.h>
34078 main ()
34080 powf(0, 0);
34082 return 0;
34084 _ACEOF
34085 if ac_fn_cxx_try_compile "$LINENO"; then :
34086 glibcxx_cv_func_powf_use=yes
34087 else
34088 glibcxx_cv_func_powf_use=no
34090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34091 ac_ext=c
34092 ac_cpp='$CPP $CPPFLAGS'
34093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
34102 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
34104 if test x$glibcxx_cv_func_powf_use = x"yes"; then
34105 for ac_func in powf
34106 do :
34107 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
34108 if test "x$ac_cv_func_powf" = xyes; then :
34109 cat >>confdefs.h <<_ACEOF
34110 #define HAVE_POWF 1
34111 _ACEOF
34114 done
34116 else
34118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
34119 $as_echo_n "checking for _powf declaration... " >&6; }
34120 if test x${glibcxx_cv_func__powf_use+set} != xset; then
34121 if ${glibcxx_cv_func__powf_use+:} false; then :
34122 $as_echo_n "(cached) " >&6
34123 else
34126 ac_ext=cpp
34127 ac_cpp='$CXXCPP $CPPFLAGS'
34128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34133 /* end confdefs.h. */
34134 #include <math.h>
34136 main ()
34138 _powf(0, 0);
34140 return 0;
34142 _ACEOF
34143 if ac_fn_cxx_try_compile "$LINENO"; then :
34144 glibcxx_cv_func__powf_use=yes
34145 else
34146 glibcxx_cv_func__powf_use=no
34148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34149 ac_ext=c
34150 ac_cpp='$CPP $CPPFLAGS'
34151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
34160 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
34162 if test x$glibcxx_cv_func__powf_use = x"yes"; then
34163 for ac_func in _powf
34164 do :
34165 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
34166 if test "x$ac_cv_func__powf" = xyes; then :
34167 cat >>confdefs.h <<_ACEOF
34168 #define HAVE__POWF 1
34169 _ACEOF
34172 done
34181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
34182 $as_echo_n "checking for sqrtf declaration... " >&6; }
34183 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
34184 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
34185 $as_echo_n "(cached) " >&6
34186 else
34189 ac_ext=cpp
34190 ac_cpp='$CXXCPP $CPPFLAGS'
34191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34196 /* end confdefs.h. */
34197 #include <math.h>
34198 #ifdef HAVE_IEEEFP_H
34199 #include <ieeefp.h>
34200 #endif
34203 main ()
34205 sqrtf(0);
34207 return 0;
34209 _ACEOF
34210 if ac_fn_cxx_try_compile "$LINENO"; then :
34211 glibcxx_cv_func_sqrtf_use=yes
34212 else
34213 glibcxx_cv_func_sqrtf_use=no
34215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34216 ac_ext=c
34217 ac_cpp='$CPP $CPPFLAGS'
34218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
34227 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
34229 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
34230 for ac_func in sqrtf
34231 do :
34232 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
34233 if test "x$ac_cv_func_sqrtf" = xyes; then :
34234 cat >>confdefs.h <<_ACEOF
34235 #define HAVE_SQRTF 1
34236 _ACEOF
34239 done
34241 else
34243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
34244 $as_echo_n "checking for _sqrtf declaration... " >&6; }
34245 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
34246 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
34247 $as_echo_n "(cached) " >&6
34248 else
34251 ac_ext=cpp
34252 ac_cpp='$CXXCPP $CPPFLAGS'
34253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34258 /* end confdefs.h. */
34259 #include <math.h>
34260 #ifdef HAVE_IEEEFP_H
34261 #include <ieeefp.h>
34262 #endif
34265 main ()
34267 _sqrtf(0);
34269 return 0;
34271 _ACEOF
34272 if ac_fn_cxx_try_compile "$LINENO"; then :
34273 glibcxx_cv_func__sqrtf_use=yes
34274 else
34275 glibcxx_cv_func__sqrtf_use=no
34277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34278 ac_ext=c
34279 ac_cpp='$CPP $CPPFLAGS'
34280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
34289 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
34291 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
34292 for ac_func in _sqrtf
34293 do :
34294 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
34295 if test "x$ac_cv_func__sqrtf" = xyes; then :
34296 cat >>confdefs.h <<_ACEOF
34297 #define HAVE__SQRTF 1
34298 _ACEOF
34301 done
34310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
34311 $as_echo_n "checking for sincosf declaration... " >&6; }
34312 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
34313 if ${glibcxx_cv_func_sincosf_use+:} false; then :
34314 $as_echo_n "(cached) " >&6
34315 else
34318 ac_ext=cpp
34319 ac_cpp='$CXXCPP $CPPFLAGS'
34320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34325 /* end confdefs.h. */
34326 #include <math.h>
34328 main ()
34330 sincosf(0, 0, 0);
34332 return 0;
34334 _ACEOF
34335 if ac_fn_cxx_try_compile "$LINENO"; then :
34336 glibcxx_cv_func_sincosf_use=yes
34337 else
34338 glibcxx_cv_func_sincosf_use=no
34340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34341 ac_ext=c
34342 ac_cpp='$CPP $CPPFLAGS'
34343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
34352 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
34354 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
34355 for ac_func in sincosf
34356 do :
34357 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
34358 if test "x$ac_cv_func_sincosf" = xyes; then :
34359 cat >>confdefs.h <<_ACEOF
34360 #define HAVE_SINCOSF 1
34361 _ACEOF
34364 done
34366 else
34368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
34369 $as_echo_n "checking for _sincosf declaration... " >&6; }
34370 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
34371 if ${glibcxx_cv_func__sincosf_use+:} false; then :
34372 $as_echo_n "(cached) " >&6
34373 else
34376 ac_ext=cpp
34377 ac_cpp='$CXXCPP $CPPFLAGS'
34378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34383 /* end confdefs.h. */
34384 #include <math.h>
34386 main ()
34388 _sincosf(0, 0, 0);
34390 return 0;
34392 _ACEOF
34393 if ac_fn_cxx_try_compile "$LINENO"; then :
34394 glibcxx_cv_func__sincosf_use=yes
34395 else
34396 glibcxx_cv_func__sincosf_use=no
34398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34399 ac_ext=c
34400 ac_cpp='$CPP $CPPFLAGS'
34401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
34410 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
34412 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
34413 for ac_func in _sincosf
34414 do :
34415 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
34416 if test "x$ac_cv_func__sincosf" = xyes; then :
34417 cat >>confdefs.h <<_ACEOF
34418 #define HAVE__SINCOSF 1
34419 _ACEOF
34422 done
34431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
34432 $as_echo_n "checking for finitef declaration... " >&6; }
34433 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
34434 if ${glibcxx_cv_func_finitef_use+:} false; then :
34435 $as_echo_n "(cached) " >&6
34436 else
34439 ac_ext=cpp
34440 ac_cpp='$CXXCPP $CPPFLAGS'
34441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34446 /* end confdefs.h. */
34447 #include <math.h>
34448 #ifdef HAVE_IEEEFP_H
34449 #include <ieeefp.h>
34450 #endif
34453 main ()
34455 finitef(0);
34457 return 0;
34459 _ACEOF
34460 if ac_fn_cxx_try_compile "$LINENO"; then :
34461 glibcxx_cv_func_finitef_use=yes
34462 else
34463 glibcxx_cv_func_finitef_use=no
34465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34466 ac_ext=c
34467 ac_cpp='$CPP $CPPFLAGS'
34468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
34477 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
34479 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
34480 for ac_func in finitef
34481 do :
34482 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
34483 if test "x$ac_cv_func_finitef" = xyes; then :
34484 cat >>confdefs.h <<_ACEOF
34485 #define HAVE_FINITEF 1
34486 _ACEOF
34489 done
34491 else
34493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
34494 $as_echo_n "checking for _finitef declaration... " >&6; }
34495 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
34496 if ${glibcxx_cv_func__finitef_use+:} false; then :
34497 $as_echo_n "(cached) " >&6
34498 else
34501 ac_ext=cpp
34502 ac_cpp='$CXXCPP $CPPFLAGS'
34503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34508 /* end confdefs.h. */
34509 #include <math.h>
34510 #ifdef HAVE_IEEEFP_H
34511 #include <ieeefp.h>
34512 #endif
34515 main ()
34517 _finitef(0);
34519 return 0;
34521 _ACEOF
34522 if ac_fn_cxx_try_compile "$LINENO"; then :
34523 glibcxx_cv_func__finitef_use=yes
34524 else
34525 glibcxx_cv_func__finitef_use=no
34527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34528 ac_ext=c
34529 ac_cpp='$CPP $CPPFLAGS'
34530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
34539 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
34541 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
34542 for ac_func in _finitef
34543 do :
34544 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
34545 if test "x$ac_cv_func__finitef" = xyes; then :
34546 cat >>confdefs.h <<_ACEOF
34547 #define HAVE__FINITEF 1
34548 _ACEOF
34551 done
34560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
34561 $as_echo_n "checking for long double trig functions... " >&6; }
34562 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
34563 $as_echo_n "(cached) " >&6
34564 else
34567 ac_ext=cpp
34568 ac_cpp='$CXXCPP $CPPFLAGS'
34569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34574 /* end confdefs.h. */
34575 #include <math.h>
34577 main ()
34579 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
34581 return 0;
34583 _ACEOF
34584 if ac_fn_cxx_try_compile "$LINENO"; then :
34585 glibcxx_cv_func_long_double_trig_use=yes
34586 else
34587 glibcxx_cv_func_long_double_trig_use=no
34589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34590 ac_ext=c
34591 ac_cpp='$CPP $CPPFLAGS'
34592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
34599 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
34600 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
34601 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
34602 do :
34603 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34604 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34605 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
34606 cat >>confdefs.h <<_ACEOF
34607 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34608 _ACEOF
34611 done
34613 else
34614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
34615 $as_echo_n "checking for _long double trig functions... " >&6; }
34616 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
34617 $as_echo_n "(cached) " >&6
34618 else
34621 ac_ext=cpp
34622 ac_cpp='$CXXCPP $CPPFLAGS'
34623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34628 /* end confdefs.h. */
34629 #include <math.h>
34631 main ()
34633 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
34635 return 0;
34637 _ACEOF
34638 if ac_fn_cxx_try_compile "$LINENO"; then :
34639 glibcxx_cv_func__long_double_trig_use=yes
34640 else
34641 glibcxx_cv_func__long_double_trig_use=no
34643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34644 ac_ext=c
34645 ac_cpp='$CPP $CPPFLAGS'
34646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
34653 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
34654 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
34655 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
34656 do :
34657 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34658 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34659 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
34660 cat >>confdefs.h <<_ACEOF
34661 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34662 _ACEOF
34665 done
34674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
34675 $as_echo_n "checking for long double round functions... " >&6; }
34676 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
34677 $as_echo_n "(cached) " >&6
34678 else
34681 ac_ext=cpp
34682 ac_cpp='$CXXCPP $CPPFLAGS'
34683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34688 /* end confdefs.h. */
34689 #include <math.h>
34691 main ()
34693 ceill (0); floorl (0);
34695 return 0;
34697 _ACEOF
34698 if ac_fn_cxx_try_compile "$LINENO"; then :
34699 glibcxx_cv_func_long_double_round_use=yes
34700 else
34701 glibcxx_cv_func_long_double_round_use=no
34703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34704 ac_ext=c
34705 ac_cpp='$CPP $CPPFLAGS'
34706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
34713 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
34714 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
34715 for ac_func in ceill floorl
34716 do :
34717 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34718 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34719 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
34720 cat >>confdefs.h <<_ACEOF
34721 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34722 _ACEOF
34725 done
34727 else
34728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
34729 $as_echo_n "checking for _long double round functions... " >&6; }
34730 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
34731 $as_echo_n "(cached) " >&6
34732 else
34735 ac_ext=cpp
34736 ac_cpp='$CXXCPP $CPPFLAGS'
34737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34742 /* end confdefs.h. */
34743 #include <math.h>
34745 main ()
34747 _ceill (0); _floorl (0);
34749 return 0;
34751 _ACEOF
34752 if ac_fn_cxx_try_compile "$LINENO"; then :
34753 glibcxx_cv_func__long_double_round_use=yes
34754 else
34755 glibcxx_cv_func__long_double_round_use=no
34757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34758 ac_ext=c
34759 ac_cpp='$CPP $CPPFLAGS'
34760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
34767 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
34768 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
34769 for ac_func in _ceill _floorl
34770 do :
34771 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34772 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34773 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
34774 cat >>confdefs.h <<_ACEOF
34775 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34776 _ACEOF
34779 done
34789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
34790 $as_echo_n "checking for isnanl declaration... " >&6; }
34791 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
34792 if ${glibcxx_cv_func_isnanl_use+:} false; then :
34793 $as_echo_n "(cached) " >&6
34794 else
34797 ac_ext=cpp
34798 ac_cpp='$CXXCPP $CPPFLAGS'
34799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34804 /* end confdefs.h. */
34805 #include <math.h>
34806 #ifdef HAVE_IEEEFP_H
34807 #include <ieeefp.h>
34808 #endif
34811 main ()
34813 isnanl(0);
34815 return 0;
34817 _ACEOF
34818 if ac_fn_cxx_try_compile "$LINENO"; then :
34819 glibcxx_cv_func_isnanl_use=yes
34820 else
34821 glibcxx_cv_func_isnanl_use=no
34823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34824 ac_ext=c
34825 ac_cpp='$CPP $CPPFLAGS'
34826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
34835 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
34837 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
34838 for ac_func in isnanl
34839 do :
34840 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
34841 if test "x$ac_cv_func_isnanl" = xyes; then :
34842 cat >>confdefs.h <<_ACEOF
34843 #define HAVE_ISNANL 1
34844 _ACEOF
34847 done
34849 else
34851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
34852 $as_echo_n "checking for _isnanl declaration... " >&6; }
34853 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
34854 if ${glibcxx_cv_func__isnanl_use+:} false; then :
34855 $as_echo_n "(cached) " >&6
34856 else
34859 ac_ext=cpp
34860 ac_cpp='$CXXCPP $CPPFLAGS'
34861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34866 /* end confdefs.h. */
34867 #include <math.h>
34868 #ifdef HAVE_IEEEFP_H
34869 #include <ieeefp.h>
34870 #endif
34873 main ()
34875 _isnanl(0);
34877 return 0;
34879 _ACEOF
34880 if ac_fn_cxx_try_compile "$LINENO"; then :
34881 glibcxx_cv_func__isnanl_use=yes
34882 else
34883 glibcxx_cv_func__isnanl_use=no
34885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34886 ac_ext=c
34887 ac_cpp='$CPP $CPPFLAGS'
34888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
34897 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
34899 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
34900 for ac_func in _isnanl
34901 do :
34902 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
34903 if test "x$ac_cv_func__isnanl" = xyes; then :
34904 cat >>confdefs.h <<_ACEOF
34905 #define HAVE__ISNANL 1
34906 _ACEOF
34909 done
34918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
34919 $as_echo_n "checking for isinfl declaration... " >&6; }
34920 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
34921 if ${glibcxx_cv_func_isinfl_use+:} false; then :
34922 $as_echo_n "(cached) " >&6
34923 else
34926 ac_ext=cpp
34927 ac_cpp='$CXXCPP $CPPFLAGS'
34928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34933 /* end confdefs.h. */
34934 #include <math.h>
34935 #ifdef HAVE_IEEEFP_H
34936 #include <ieeefp.h>
34937 #endif
34940 main ()
34942 isinfl(0);
34944 return 0;
34946 _ACEOF
34947 if ac_fn_cxx_try_compile "$LINENO"; then :
34948 glibcxx_cv_func_isinfl_use=yes
34949 else
34950 glibcxx_cv_func_isinfl_use=no
34952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34953 ac_ext=c
34954 ac_cpp='$CPP $CPPFLAGS'
34955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
34964 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
34966 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
34967 for ac_func in isinfl
34968 do :
34969 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
34970 if test "x$ac_cv_func_isinfl" = xyes; then :
34971 cat >>confdefs.h <<_ACEOF
34972 #define HAVE_ISINFL 1
34973 _ACEOF
34976 done
34978 else
34980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
34981 $as_echo_n "checking for _isinfl declaration... " >&6; }
34982 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
34983 if ${glibcxx_cv_func__isinfl_use+:} false; then :
34984 $as_echo_n "(cached) " >&6
34985 else
34988 ac_ext=cpp
34989 ac_cpp='$CXXCPP $CPPFLAGS'
34990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34995 /* end confdefs.h. */
34996 #include <math.h>
34997 #ifdef HAVE_IEEEFP_H
34998 #include <ieeefp.h>
34999 #endif
35002 main ()
35004 _isinfl(0);
35006 return 0;
35008 _ACEOF
35009 if ac_fn_cxx_try_compile "$LINENO"; then :
35010 glibcxx_cv_func__isinfl_use=yes
35011 else
35012 glibcxx_cv_func__isinfl_use=no
35014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35015 ac_ext=c
35016 ac_cpp='$CPP $CPPFLAGS'
35017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
35026 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
35028 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
35029 for ac_func in _isinfl
35030 do :
35031 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
35032 if test "x$ac_cv_func__isinfl" = xyes; then :
35033 cat >>confdefs.h <<_ACEOF
35034 #define HAVE__ISINFL 1
35035 _ACEOF
35038 done
35047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
35048 $as_echo_n "checking for atan2l declaration... " >&6; }
35049 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
35050 if ${glibcxx_cv_func_atan2l_use+:} false; then :
35051 $as_echo_n "(cached) " >&6
35052 else
35055 ac_ext=cpp
35056 ac_cpp='$CXXCPP $CPPFLAGS'
35057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35062 /* end confdefs.h. */
35063 #include <math.h>
35065 main ()
35067 atan2l(0, 0);
35069 return 0;
35071 _ACEOF
35072 if ac_fn_cxx_try_compile "$LINENO"; then :
35073 glibcxx_cv_func_atan2l_use=yes
35074 else
35075 glibcxx_cv_func_atan2l_use=no
35077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35078 ac_ext=c
35079 ac_cpp='$CPP $CPPFLAGS'
35080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
35089 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
35091 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
35092 for ac_func in atan2l
35093 do :
35094 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
35095 if test "x$ac_cv_func_atan2l" = xyes; then :
35096 cat >>confdefs.h <<_ACEOF
35097 #define HAVE_ATAN2L 1
35098 _ACEOF
35101 done
35103 else
35105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
35106 $as_echo_n "checking for _atan2l declaration... " >&6; }
35107 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
35108 if ${glibcxx_cv_func__atan2l_use+:} false; then :
35109 $as_echo_n "(cached) " >&6
35110 else
35113 ac_ext=cpp
35114 ac_cpp='$CXXCPP $CPPFLAGS'
35115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35120 /* end confdefs.h. */
35121 #include <math.h>
35123 main ()
35125 _atan2l(0, 0);
35127 return 0;
35129 _ACEOF
35130 if ac_fn_cxx_try_compile "$LINENO"; then :
35131 glibcxx_cv_func__atan2l_use=yes
35132 else
35133 glibcxx_cv_func__atan2l_use=no
35135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35136 ac_ext=c
35137 ac_cpp='$CPP $CPPFLAGS'
35138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
35147 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
35149 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
35150 for ac_func in _atan2l
35151 do :
35152 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
35153 if test "x$ac_cv_func__atan2l" = xyes; then :
35154 cat >>confdefs.h <<_ACEOF
35155 #define HAVE__ATAN2L 1
35156 _ACEOF
35159 done
35168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
35169 $as_echo_n "checking for expl declaration... " >&6; }
35170 if test x${glibcxx_cv_func_expl_use+set} != xset; then
35171 if ${glibcxx_cv_func_expl_use+:} false; then :
35172 $as_echo_n "(cached) " >&6
35173 else
35176 ac_ext=cpp
35177 ac_cpp='$CXXCPP $CPPFLAGS'
35178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35183 /* end confdefs.h. */
35184 #include <math.h>
35185 #ifdef HAVE_IEEEFP_H
35186 #include <ieeefp.h>
35187 #endif
35190 main ()
35192 expl(0);
35194 return 0;
35196 _ACEOF
35197 if ac_fn_cxx_try_compile "$LINENO"; then :
35198 glibcxx_cv_func_expl_use=yes
35199 else
35200 glibcxx_cv_func_expl_use=no
35202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35203 ac_ext=c
35204 ac_cpp='$CPP $CPPFLAGS'
35205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
35214 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
35216 if test x$glibcxx_cv_func_expl_use = x"yes"; then
35217 for ac_func in expl
35218 do :
35219 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
35220 if test "x$ac_cv_func_expl" = xyes; then :
35221 cat >>confdefs.h <<_ACEOF
35222 #define HAVE_EXPL 1
35223 _ACEOF
35226 done
35228 else
35230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
35231 $as_echo_n "checking for _expl declaration... " >&6; }
35232 if test x${glibcxx_cv_func__expl_use+set} != xset; then
35233 if ${glibcxx_cv_func__expl_use+:} false; then :
35234 $as_echo_n "(cached) " >&6
35235 else
35238 ac_ext=cpp
35239 ac_cpp='$CXXCPP $CPPFLAGS'
35240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35245 /* end confdefs.h. */
35246 #include <math.h>
35247 #ifdef HAVE_IEEEFP_H
35248 #include <ieeefp.h>
35249 #endif
35252 main ()
35254 _expl(0);
35256 return 0;
35258 _ACEOF
35259 if ac_fn_cxx_try_compile "$LINENO"; then :
35260 glibcxx_cv_func__expl_use=yes
35261 else
35262 glibcxx_cv_func__expl_use=no
35264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35265 ac_ext=c
35266 ac_cpp='$CPP $CPPFLAGS'
35267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
35276 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
35278 if test x$glibcxx_cv_func__expl_use = x"yes"; then
35279 for ac_func in _expl
35280 do :
35281 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
35282 if test "x$ac_cv_func__expl" = xyes; then :
35283 cat >>confdefs.h <<_ACEOF
35284 #define HAVE__EXPL 1
35285 _ACEOF
35288 done
35297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
35298 $as_echo_n "checking for fabsl declaration... " >&6; }
35299 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
35300 if ${glibcxx_cv_func_fabsl_use+:} false; then :
35301 $as_echo_n "(cached) " >&6
35302 else
35305 ac_ext=cpp
35306 ac_cpp='$CXXCPP $CPPFLAGS'
35307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35312 /* end confdefs.h. */
35313 #include <math.h>
35314 #ifdef HAVE_IEEEFP_H
35315 #include <ieeefp.h>
35316 #endif
35319 main ()
35321 fabsl(0);
35323 return 0;
35325 _ACEOF
35326 if ac_fn_cxx_try_compile "$LINENO"; then :
35327 glibcxx_cv_func_fabsl_use=yes
35328 else
35329 glibcxx_cv_func_fabsl_use=no
35331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35332 ac_ext=c
35333 ac_cpp='$CPP $CPPFLAGS'
35334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
35343 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
35345 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
35346 for ac_func in fabsl
35347 do :
35348 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
35349 if test "x$ac_cv_func_fabsl" = xyes; then :
35350 cat >>confdefs.h <<_ACEOF
35351 #define HAVE_FABSL 1
35352 _ACEOF
35355 done
35357 else
35359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
35360 $as_echo_n "checking for _fabsl declaration... " >&6; }
35361 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
35362 if ${glibcxx_cv_func__fabsl_use+:} false; then :
35363 $as_echo_n "(cached) " >&6
35364 else
35367 ac_ext=cpp
35368 ac_cpp='$CXXCPP $CPPFLAGS'
35369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35374 /* end confdefs.h. */
35375 #include <math.h>
35376 #ifdef HAVE_IEEEFP_H
35377 #include <ieeefp.h>
35378 #endif
35381 main ()
35383 _fabsl(0);
35385 return 0;
35387 _ACEOF
35388 if ac_fn_cxx_try_compile "$LINENO"; then :
35389 glibcxx_cv_func__fabsl_use=yes
35390 else
35391 glibcxx_cv_func__fabsl_use=no
35393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35394 ac_ext=c
35395 ac_cpp='$CPP $CPPFLAGS'
35396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
35405 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
35407 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
35408 for ac_func in _fabsl
35409 do :
35410 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
35411 if test "x$ac_cv_func__fabsl" = xyes; then :
35412 cat >>confdefs.h <<_ACEOF
35413 #define HAVE__FABSL 1
35414 _ACEOF
35417 done
35426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
35427 $as_echo_n "checking for fmodl declaration... " >&6; }
35428 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
35429 if ${glibcxx_cv_func_fmodl_use+:} false; then :
35430 $as_echo_n "(cached) " >&6
35431 else
35434 ac_ext=cpp
35435 ac_cpp='$CXXCPP $CPPFLAGS'
35436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35441 /* end confdefs.h. */
35442 #include <math.h>
35444 main ()
35446 fmodl(0, 0);
35448 return 0;
35450 _ACEOF
35451 if ac_fn_cxx_try_compile "$LINENO"; then :
35452 glibcxx_cv_func_fmodl_use=yes
35453 else
35454 glibcxx_cv_func_fmodl_use=no
35456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35457 ac_ext=c
35458 ac_cpp='$CPP $CPPFLAGS'
35459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
35468 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
35470 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
35471 for ac_func in fmodl
35472 do :
35473 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
35474 if test "x$ac_cv_func_fmodl" = xyes; then :
35475 cat >>confdefs.h <<_ACEOF
35476 #define HAVE_FMODL 1
35477 _ACEOF
35480 done
35482 else
35484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
35485 $as_echo_n "checking for _fmodl declaration... " >&6; }
35486 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
35487 if ${glibcxx_cv_func__fmodl_use+:} false; then :
35488 $as_echo_n "(cached) " >&6
35489 else
35492 ac_ext=cpp
35493 ac_cpp='$CXXCPP $CPPFLAGS'
35494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35499 /* end confdefs.h. */
35500 #include <math.h>
35502 main ()
35504 _fmodl(0, 0);
35506 return 0;
35508 _ACEOF
35509 if ac_fn_cxx_try_compile "$LINENO"; then :
35510 glibcxx_cv_func__fmodl_use=yes
35511 else
35512 glibcxx_cv_func__fmodl_use=no
35514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35515 ac_ext=c
35516 ac_cpp='$CPP $CPPFLAGS'
35517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
35526 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
35528 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
35529 for ac_func in _fmodl
35530 do :
35531 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
35532 if test "x$ac_cv_func__fmodl" = xyes; then :
35533 cat >>confdefs.h <<_ACEOF
35534 #define HAVE__FMODL 1
35535 _ACEOF
35538 done
35547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
35548 $as_echo_n "checking for frexpl declaration... " >&6; }
35549 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
35550 if ${glibcxx_cv_func_frexpl_use+:} false; then :
35551 $as_echo_n "(cached) " >&6
35552 else
35555 ac_ext=cpp
35556 ac_cpp='$CXXCPP $CPPFLAGS'
35557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35562 /* end confdefs.h. */
35563 #include <math.h>
35565 main ()
35567 frexpl(0, 0);
35569 return 0;
35571 _ACEOF
35572 if ac_fn_cxx_try_compile "$LINENO"; then :
35573 glibcxx_cv_func_frexpl_use=yes
35574 else
35575 glibcxx_cv_func_frexpl_use=no
35577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35578 ac_ext=c
35579 ac_cpp='$CPP $CPPFLAGS'
35580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
35589 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
35591 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
35592 for ac_func in frexpl
35593 do :
35594 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
35595 if test "x$ac_cv_func_frexpl" = xyes; then :
35596 cat >>confdefs.h <<_ACEOF
35597 #define HAVE_FREXPL 1
35598 _ACEOF
35601 done
35603 else
35605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
35606 $as_echo_n "checking for _frexpl declaration... " >&6; }
35607 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
35608 if ${glibcxx_cv_func__frexpl_use+:} false; then :
35609 $as_echo_n "(cached) " >&6
35610 else
35613 ac_ext=cpp
35614 ac_cpp='$CXXCPP $CPPFLAGS'
35615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35620 /* end confdefs.h. */
35621 #include <math.h>
35623 main ()
35625 _frexpl(0, 0);
35627 return 0;
35629 _ACEOF
35630 if ac_fn_cxx_try_compile "$LINENO"; then :
35631 glibcxx_cv_func__frexpl_use=yes
35632 else
35633 glibcxx_cv_func__frexpl_use=no
35635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35636 ac_ext=c
35637 ac_cpp='$CPP $CPPFLAGS'
35638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
35647 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
35649 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
35650 for ac_func in _frexpl
35651 do :
35652 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
35653 if test "x$ac_cv_func__frexpl" = xyes; then :
35654 cat >>confdefs.h <<_ACEOF
35655 #define HAVE__FREXPL 1
35656 _ACEOF
35659 done
35668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
35669 $as_echo_n "checking for hypotl declaration... " >&6; }
35670 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
35671 if ${glibcxx_cv_func_hypotl_use+:} false; then :
35672 $as_echo_n "(cached) " >&6
35673 else
35676 ac_ext=cpp
35677 ac_cpp='$CXXCPP $CPPFLAGS'
35678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35683 /* end confdefs.h. */
35684 #include <math.h>
35686 main ()
35688 hypotl(0, 0);
35690 return 0;
35692 _ACEOF
35693 if ac_fn_cxx_try_compile "$LINENO"; then :
35694 glibcxx_cv_func_hypotl_use=yes
35695 else
35696 glibcxx_cv_func_hypotl_use=no
35698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35699 ac_ext=c
35700 ac_cpp='$CPP $CPPFLAGS'
35701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
35710 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
35712 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
35713 for ac_func in hypotl
35714 do :
35715 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
35716 if test "x$ac_cv_func_hypotl" = xyes; then :
35717 cat >>confdefs.h <<_ACEOF
35718 #define HAVE_HYPOTL 1
35719 _ACEOF
35722 done
35724 else
35726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
35727 $as_echo_n "checking for _hypotl declaration... " >&6; }
35728 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
35729 if ${glibcxx_cv_func__hypotl_use+:} false; then :
35730 $as_echo_n "(cached) " >&6
35731 else
35734 ac_ext=cpp
35735 ac_cpp='$CXXCPP $CPPFLAGS'
35736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35741 /* end confdefs.h. */
35742 #include <math.h>
35744 main ()
35746 _hypotl(0, 0);
35748 return 0;
35750 _ACEOF
35751 if ac_fn_cxx_try_compile "$LINENO"; then :
35752 glibcxx_cv_func__hypotl_use=yes
35753 else
35754 glibcxx_cv_func__hypotl_use=no
35756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35757 ac_ext=c
35758 ac_cpp='$CPP $CPPFLAGS'
35759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
35768 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
35770 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
35771 for ac_func in _hypotl
35772 do :
35773 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
35774 if test "x$ac_cv_func__hypotl" = xyes; then :
35775 cat >>confdefs.h <<_ACEOF
35776 #define HAVE__HYPOTL 1
35777 _ACEOF
35780 done
35789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
35790 $as_echo_n "checking for ldexpl declaration... " >&6; }
35791 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
35792 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
35793 $as_echo_n "(cached) " >&6
35794 else
35797 ac_ext=cpp
35798 ac_cpp='$CXXCPP $CPPFLAGS'
35799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35804 /* end confdefs.h. */
35805 #include <math.h>
35807 main ()
35809 ldexpl(0, 0);
35811 return 0;
35813 _ACEOF
35814 if ac_fn_cxx_try_compile "$LINENO"; then :
35815 glibcxx_cv_func_ldexpl_use=yes
35816 else
35817 glibcxx_cv_func_ldexpl_use=no
35819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35820 ac_ext=c
35821 ac_cpp='$CPP $CPPFLAGS'
35822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
35831 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
35833 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
35834 for ac_func in ldexpl
35835 do :
35836 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
35837 if test "x$ac_cv_func_ldexpl" = xyes; then :
35838 cat >>confdefs.h <<_ACEOF
35839 #define HAVE_LDEXPL 1
35840 _ACEOF
35843 done
35845 else
35847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
35848 $as_echo_n "checking for _ldexpl declaration... " >&6; }
35849 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
35850 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
35851 $as_echo_n "(cached) " >&6
35852 else
35855 ac_ext=cpp
35856 ac_cpp='$CXXCPP $CPPFLAGS'
35857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35862 /* end confdefs.h. */
35863 #include <math.h>
35865 main ()
35867 _ldexpl(0, 0);
35869 return 0;
35871 _ACEOF
35872 if ac_fn_cxx_try_compile "$LINENO"; then :
35873 glibcxx_cv_func__ldexpl_use=yes
35874 else
35875 glibcxx_cv_func__ldexpl_use=no
35877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35878 ac_ext=c
35879 ac_cpp='$CPP $CPPFLAGS'
35880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
35889 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
35891 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
35892 for ac_func in _ldexpl
35893 do :
35894 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
35895 if test "x$ac_cv_func__ldexpl" = xyes; then :
35896 cat >>confdefs.h <<_ACEOF
35897 #define HAVE__LDEXPL 1
35898 _ACEOF
35901 done
35910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
35911 $as_echo_n "checking for logl declaration... " >&6; }
35912 if test x${glibcxx_cv_func_logl_use+set} != xset; then
35913 if ${glibcxx_cv_func_logl_use+:} false; then :
35914 $as_echo_n "(cached) " >&6
35915 else
35918 ac_ext=cpp
35919 ac_cpp='$CXXCPP $CPPFLAGS'
35920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35925 /* end confdefs.h. */
35926 #include <math.h>
35927 #ifdef HAVE_IEEEFP_H
35928 #include <ieeefp.h>
35929 #endif
35932 main ()
35934 logl(0);
35936 return 0;
35938 _ACEOF
35939 if ac_fn_cxx_try_compile "$LINENO"; then :
35940 glibcxx_cv_func_logl_use=yes
35941 else
35942 glibcxx_cv_func_logl_use=no
35944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35945 ac_ext=c
35946 ac_cpp='$CPP $CPPFLAGS'
35947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
35956 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
35958 if test x$glibcxx_cv_func_logl_use = x"yes"; then
35959 for ac_func in logl
35960 do :
35961 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
35962 if test "x$ac_cv_func_logl" = xyes; then :
35963 cat >>confdefs.h <<_ACEOF
35964 #define HAVE_LOGL 1
35965 _ACEOF
35968 done
35970 else
35972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
35973 $as_echo_n "checking for _logl declaration... " >&6; }
35974 if test x${glibcxx_cv_func__logl_use+set} != xset; then
35975 if ${glibcxx_cv_func__logl_use+:} false; then :
35976 $as_echo_n "(cached) " >&6
35977 else
35980 ac_ext=cpp
35981 ac_cpp='$CXXCPP $CPPFLAGS'
35982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35987 /* end confdefs.h. */
35988 #include <math.h>
35989 #ifdef HAVE_IEEEFP_H
35990 #include <ieeefp.h>
35991 #endif
35994 main ()
35996 _logl(0);
35998 return 0;
36000 _ACEOF
36001 if ac_fn_cxx_try_compile "$LINENO"; then :
36002 glibcxx_cv_func__logl_use=yes
36003 else
36004 glibcxx_cv_func__logl_use=no
36006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36007 ac_ext=c
36008 ac_cpp='$CPP $CPPFLAGS'
36009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
36018 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
36020 if test x$glibcxx_cv_func__logl_use = x"yes"; then
36021 for ac_func in _logl
36022 do :
36023 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
36024 if test "x$ac_cv_func__logl" = xyes; then :
36025 cat >>confdefs.h <<_ACEOF
36026 #define HAVE__LOGL 1
36027 _ACEOF
36030 done
36039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
36040 $as_echo_n "checking for log10l declaration... " >&6; }
36041 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
36042 if ${glibcxx_cv_func_log10l_use+:} false; then :
36043 $as_echo_n "(cached) " >&6
36044 else
36047 ac_ext=cpp
36048 ac_cpp='$CXXCPP $CPPFLAGS'
36049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36054 /* end confdefs.h. */
36055 #include <math.h>
36056 #ifdef HAVE_IEEEFP_H
36057 #include <ieeefp.h>
36058 #endif
36061 main ()
36063 log10l(0);
36065 return 0;
36067 _ACEOF
36068 if ac_fn_cxx_try_compile "$LINENO"; then :
36069 glibcxx_cv_func_log10l_use=yes
36070 else
36071 glibcxx_cv_func_log10l_use=no
36073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36074 ac_ext=c
36075 ac_cpp='$CPP $CPPFLAGS'
36076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
36085 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
36087 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
36088 for ac_func in log10l
36089 do :
36090 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
36091 if test "x$ac_cv_func_log10l" = xyes; then :
36092 cat >>confdefs.h <<_ACEOF
36093 #define HAVE_LOG10L 1
36094 _ACEOF
36097 done
36099 else
36101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
36102 $as_echo_n "checking for _log10l declaration... " >&6; }
36103 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
36104 if ${glibcxx_cv_func__log10l_use+:} false; then :
36105 $as_echo_n "(cached) " >&6
36106 else
36109 ac_ext=cpp
36110 ac_cpp='$CXXCPP $CPPFLAGS'
36111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36116 /* end confdefs.h. */
36117 #include <math.h>
36118 #ifdef HAVE_IEEEFP_H
36119 #include <ieeefp.h>
36120 #endif
36123 main ()
36125 _log10l(0);
36127 return 0;
36129 _ACEOF
36130 if ac_fn_cxx_try_compile "$LINENO"; then :
36131 glibcxx_cv_func__log10l_use=yes
36132 else
36133 glibcxx_cv_func__log10l_use=no
36135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36136 ac_ext=c
36137 ac_cpp='$CPP $CPPFLAGS'
36138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
36147 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
36149 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
36150 for ac_func in _log10l
36151 do :
36152 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
36153 if test "x$ac_cv_func__log10l" = xyes; then :
36154 cat >>confdefs.h <<_ACEOF
36155 #define HAVE__LOG10L 1
36156 _ACEOF
36159 done
36168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
36169 $as_echo_n "checking for modfl declaration... " >&6; }
36170 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
36171 if ${glibcxx_cv_func_modfl_use+:} false; then :
36172 $as_echo_n "(cached) " >&6
36173 else
36176 ac_ext=cpp
36177 ac_cpp='$CXXCPP $CPPFLAGS'
36178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36183 /* end confdefs.h. */
36184 #include <math.h>
36186 main ()
36188 modfl(0, 0);
36190 return 0;
36192 _ACEOF
36193 if ac_fn_cxx_try_compile "$LINENO"; then :
36194 glibcxx_cv_func_modfl_use=yes
36195 else
36196 glibcxx_cv_func_modfl_use=no
36198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36199 ac_ext=c
36200 ac_cpp='$CPP $CPPFLAGS'
36201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
36210 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
36212 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
36213 for ac_func in modfl
36214 do :
36215 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
36216 if test "x$ac_cv_func_modfl" = xyes; then :
36217 cat >>confdefs.h <<_ACEOF
36218 #define HAVE_MODFL 1
36219 _ACEOF
36222 done
36224 else
36226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
36227 $as_echo_n "checking for _modfl declaration... " >&6; }
36228 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
36229 if ${glibcxx_cv_func__modfl_use+:} false; then :
36230 $as_echo_n "(cached) " >&6
36231 else
36234 ac_ext=cpp
36235 ac_cpp='$CXXCPP $CPPFLAGS'
36236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36241 /* end confdefs.h. */
36242 #include <math.h>
36244 main ()
36246 _modfl(0, 0);
36248 return 0;
36250 _ACEOF
36251 if ac_fn_cxx_try_compile "$LINENO"; then :
36252 glibcxx_cv_func__modfl_use=yes
36253 else
36254 glibcxx_cv_func__modfl_use=no
36256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36257 ac_ext=c
36258 ac_cpp='$CPP $CPPFLAGS'
36259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
36268 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
36270 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
36271 for ac_func in _modfl
36272 do :
36273 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
36274 if test "x$ac_cv_func__modfl" = xyes; then :
36275 cat >>confdefs.h <<_ACEOF
36276 #define HAVE__MODFL 1
36277 _ACEOF
36280 done
36289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
36290 $as_echo_n "checking for powl declaration... " >&6; }
36291 if test x${glibcxx_cv_func_powl_use+set} != xset; then
36292 if ${glibcxx_cv_func_powl_use+:} false; then :
36293 $as_echo_n "(cached) " >&6
36294 else
36297 ac_ext=cpp
36298 ac_cpp='$CXXCPP $CPPFLAGS'
36299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36304 /* end confdefs.h. */
36305 #include <math.h>
36307 main ()
36309 powl(0, 0);
36311 return 0;
36313 _ACEOF
36314 if ac_fn_cxx_try_compile "$LINENO"; then :
36315 glibcxx_cv_func_powl_use=yes
36316 else
36317 glibcxx_cv_func_powl_use=no
36319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36320 ac_ext=c
36321 ac_cpp='$CPP $CPPFLAGS'
36322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
36331 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
36333 if test x$glibcxx_cv_func_powl_use = x"yes"; then
36334 for ac_func in powl
36335 do :
36336 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
36337 if test "x$ac_cv_func_powl" = xyes; then :
36338 cat >>confdefs.h <<_ACEOF
36339 #define HAVE_POWL 1
36340 _ACEOF
36343 done
36345 else
36347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
36348 $as_echo_n "checking for _powl declaration... " >&6; }
36349 if test x${glibcxx_cv_func__powl_use+set} != xset; then
36350 if ${glibcxx_cv_func__powl_use+:} false; then :
36351 $as_echo_n "(cached) " >&6
36352 else
36355 ac_ext=cpp
36356 ac_cpp='$CXXCPP $CPPFLAGS'
36357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36362 /* end confdefs.h. */
36363 #include <math.h>
36365 main ()
36367 _powl(0, 0);
36369 return 0;
36371 _ACEOF
36372 if ac_fn_cxx_try_compile "$LINENO"; then :
36373 glibcxx_cv_func__powl_use=yes
36374 else
36375 glibcxx_cv_func__powl_use=no
36377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36378 ac_ext=c
36379 ac_cpp='$CPP $CPPFLAGS'
36380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
36389 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
36391 if test x$glibcxx_cv_func__powl_use = x"yes"; then
36392 for ac_func in _powl
36393 do :
36394 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
36395 if test "x$ac_cv_func__powl" = xyes; then :
36396 cat >>confdefs.h <<_ACEOF
36397 #define HAVE__POWL 1
36398 _ACEOF
36401 done
36410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
36411 $as_echo_n "checking for sqrtl declaration... " >&6; }
36412 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
36413 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
36414 $as_echo_n "(cached) " >&6
36415 else
36418 ac_ext=cpp
36419 ac_cpp='$CXXCPP $CPPFLAGS'
36420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36425 /* end confdefs.h. */
36426 #include <math.h>
36427 #ifdef HAVE_IEEEFP_H
36428 #include <ieeefp.h>
36429 #endif
36432 main ()
36434 sqrtl(0);
36436 return 0;
36438 _ACEOF
36439 if ac_fn_cxx_try_compile "$LINENO"; then :
36440 glibcxx_cv_func_sqrtl_use=yes
36441 else
36442 glibcxx_cv_func_sqrtl_use=no
36444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36445 ac_ext=c
36446 ac_cpp='$CPP $CPPFLAGS'
36447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
36456 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
36458 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
36459 for ac_func in sqrtl
36460 do :
36461 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
36462 if test "x$ac_cv_func_sqrtl" = xyes; then :
36463 cat >>confdefs.h <<_ACEOF
36464 #define HAVE_SQRTL 1
36465 _ACEOF
36468 done
36470 else
36472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
36473 $as_echo_n "checking for _sqrtl declaration... " >&6; }
36474 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
36475 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
36476 $as_echo_n "(cached) " >&6
36477 else
36480 ac_ext=cpp
36481 ac_cpp='$CXXCPP $CPPFLAGS'
36482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36487 /* end confdefs.h. */
36488 #include <math.h>
36489 #ifdef HAVE_IEEEFP_H
36490 #include <ieeefp.h>
36491 #endif
36494 main ()
36496 _sqrtl(0);
36498 return 0;
36500 _ACEOF
36501 if ac_fn_cxx_try_compile "$LINENO"; then :
36502 glibcxx_cv_func__sqrtl_use=yes
36503 else
36504 glibcxx_cv_func__sqrtl_use=no
36506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36507 ac_ext=c
36508 ac_cpp='$CPP $CPPFLAGS'
36509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
36518 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
36520 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
36521 for ac_func in _sqrtl
36522 do :
36523 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
36524 if test "x$ac_cv_func__sqrtl" = xyes; then :
36525 cat >>confdefs.h <<_ACEOF
36526 #define HAVE__SQRTL 1
36527 _ACEOF
36530 done
36539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
36540 $as_echo_n "checking for sincosl declaration... " >&6; }
36541 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
36542 if ${glibcxx_cv_func_sincosl_use+:} false; then :
36543 $as_echo_n "(cached) " >&6
36544 else
36547 ac_ext=cpp
36548 ac_cpp='$CXXCPP $CPPFLAGS'
36549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36554 /* end confdefs.h. */
36555 #include <math.h>
36557 main ()
36559 sincosl(0, 0, 0);
36561 return 0;
36563 _ACEOF
36564 if ac_fn_cxx_try_compile "$LINENO"; then :
36565 glibcxx_cv_func_sincosl_use=yes
36566 else
36567 glibcxx_cv_func_sincosl_use=no
36569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36570 ac_ext=c
36571 ac_cpp='$CPP $CPPFLAGS'
36572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
36581 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
36583 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
36584 for ac_func in sincosl
36585 do :
36586 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
36587 if test "x$ac_cv_func_sincosl" = xyes; then :
36588 cat >>confdefs.h <<_ACEOF
36589 #define HAVE_SINCOSL 1
36590 _ACEOF
36593 done
36595 else
36597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
36598 $as_echo_n "checking for _sincosl declaration... " >&6; }
36599 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
36600 if ${glibcxx_cv_func__sincosl_use+:} false; then :
36601 $as_echo_n "(cached) " >&6
36602 else
36605 ac_ext=cpp
36606 ac_cpp='$CXXCPP $CPPFLAGS'
36607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36612 /* end confdefs.h. */
36613 #include <math.h>
36615 main ()
36617 _sincosl(0, 0, 0);
36619 return 0;
36621 _ACEOF
36622 if ac_fn_cxx_try_compile "$LINENO"; then :
36623 glibcxx_cv_func__sincosl_use=yes
36624 else
36625 glibcxx_cv_func__sincosl_use=no
36627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36628 ac_ext=c
36629 ac_cpp='$CPP $CPPFLAGS'
36630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
36639 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
36641 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
36642 for ac_func in _sincosl
36643 do :
36644 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
36645 if test "x$ac_cv_func__sincosl" = xyes; then :
36646 cat >>confdefs.h <<_ACEOF
36647 #define HAVE__SINCOSL 1
36648 _ACEOF
36651 done
36660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
36661 $as_echo_n "checking for finitel declaration... " >&6; }
36662 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
36663 if ${glibcxx_cv_func_finitel_use+:} false; then :
36664 $as_echo_n "(cached) " >&6
36665 else
36668 ac_ext=cpp
36669 ac_cpp='$CXXCPP $CPPFLAGS'
36670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36675 /* end confdefs.h. */
36676 #include <math.h>
36677 #ifdef HAVE_IEEEFP_H
36678 #include <ieeefp.h>
36679 #endif
36682 main ()
36684 finitel(0);
36686 return 0;
36688 _ACEOF
36689 if ac_fn_cxx_try_compile "$LINENO"; then :
36690 glibcxx_cv_func_finitel_use=yes
36691 else
36692 glibcxx_cv_func_finitel_use=no
36694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36695 ac_ext=c
36696 ac_cpp='$CPP $CPPFLAGS'
36697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
36706 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
36708 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
36709 for ac_func in finitel
36710 do :
36711 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
36712 if test "x$ac_cv_func_finitel" = xyes; then :
36713 cat >>confdefs.h <<_ACEOF
36714 #define HAVE_FINITEL 1
36715 _ACEOF
36718 done
36720 else
36722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
36723 $as_echo_n "checking for _finitel declaration... " >&6; }
36724 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
36725 if ${glibcxx_cv_func__finitel_use+:} false; then :
36726 $as_echo_n "(cached) " >&6
36727 else
36730 ac_ext=cpp
36731 ac_cpp='$CXXCPP $CPPFLAGS'
36732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36737 /* end confdefs.h. */
36738 #include <math.h>
36739 #ifdef HAVE_IEEEFP_H
36740 #include <ieeefp.h>
36741 #endif
36744 main ()
36746 _finitel(0);
36748 return 0;
36750 _ACEOF
36751 if ac_fn_cxx_try_compile "$LINENO"; then :
36752 glibcxx_cv_func__finitel_use=yes
36753 else
36754 glibcxx_cv_func__finitel_use=no
36756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36757 ac_ext=c
36758 ac_cpp='$CPP $CPPFLAGS'
36759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
36768 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
36770 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
36771 for ac_func in _finitel
36772 do :
36773 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
36774 if test "x$ac_cv_func__finitel" = xyes; then :
36775 cat >>confdefs.h <<_ACEOF
36776 #define HAVE__FINITEL 1
36777 _ACEOF
36780 done
36788 LIBS="$ac_save_LIBS"
36789 CXXFLAGS="$ac_save_CXXFLAGS"
36792 ac_test_CXXFLAGS="${CXXFLAGS+set}"
36793 ac_save_CXXFLAGS="$CXXFLAGS"
36794 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
36797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
36798 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
36799 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
36800 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
36801 $as_echo_n "(cached) " >&6
36802 else
36805 ac_ext=cpp
36806 ac_cpp='$CXXCPP $CPPFLAGS'
36807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36812 /* end confdefs.h. */
36813 #include <stdlib.h>
36815 main ()
36817 at_quick_exit(0);
36819 return 0;
36821 _ACEOF
36822 if ac_fn_cxx_try_compile "$LINENO"; then :
36823 glibcxx_cv_func_at_quick_exit_use=yes
36824 else
36825 glibcxx_cv_func_at_quick_exit_use=no
36827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36828 ac_ext=c
36829 ac_cpp='$CPP $CPPFLAGS'
36830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
36839 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
36840 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
36841 for ac_func in at_quick_exit
36842 do :
36843 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
36844 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
36845 cat >>confdefs.h <<_ACEOF
36846 #define HAVE_AT_QUICK_EXIT 1
36847 _ACEOF
36850 done
36855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
36856 $as_echo_n "checking for quick_exit declaration... " >&6; }
36857 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
36858 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
36859 $as_echo_n "(cached) " >&6
36860 else
36863 ac_ext=cpp
36864 ac_cpp='$CXXCPP $CPPFLAGS'
36865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36870 /* end confdefs.h. */
36871 #include <stdlib.h>
36873 main ()
36875 quick_exit(0);
36877 return 0;
36879 _ACEOF
36880 if ac_fn_cxx_try_compile "$LINENO"; then :
36881 glibcxx_cv_func_quick_exit_use=yes
36882 else
36883 glibcxx_cv_func_quick_exit_use=no
36885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36886 ac_ext=c
36887 ac_cpp='$CPP $CPPFLAGS'
36888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
36897 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
36898 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
36899 for ac_func in quick_exit
36900 do :
36901 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
36902 if test "x$ac_cv_func_quick_exit" = xyes; then :
36903 cat >>confdefs.h <<_ACEOF
36904 #define HAVE_QUICK_EXIT 1
36905 _ACEOF
36908 done
36913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
36914 $as_echo_n "checking for strtold declaration... " >&6; }
36915 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
36916 if ${glibcxx_cv_func_strtold_use+:} false; then :
36917 $as_echo_n "(cached) " >&6
36918 else
36921 ac_ext=cpp
36922 ac_cpp='$CXXCPP $CPPFLAGS'
36923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36928 /* end confdefs.h. */
36929 #include <stdlib.h>
36931 main ()
36933 strtold(0, 0);
36935 return 0;
36937 _ACEOF
36938 if ac_fn_cxx_try_compile "$LINENO"; then :
36939 glibcxx_cv_func_strtold_use=yes
36940 else
36941 glibcxx_cv_func_strtold_use=no
36943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36944 ac_ext=c
36945 ac_cpp='$CPP $CPPFLAGS'
36946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
36955 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
36956 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
36957 for ac_func in strtold
36958 do :
36959 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
36960 if test "x$ac_cv_func_strtold" = xyes; then :
36961 cat >>confdefs.h <<_ACEOF
36962 #define HAVE_STRTOLD 1
36963 _ACEOF
36966 done
36973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
36974 $as_echo_n "checking for strtof declaration... " >&6; }
36975 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
36976 if ${glibcxx_cv_func_strtof_use+:} false; then :
36977 $as_echo_n "(cached) " >&6
36978 else
36981 ac_ext=cpp
36982 ac_cpp='$CXXCPP $CPPFLAGS'
36983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36988 /* end confdefs.h. */
36989 #include <stdlib.h>
36991 main ()
36993 strtof(0, 0);
36995 return 0;
36997 _ACEOF
36998 if ac_fn_cxx_try_compile "$LINENO"; then :
36999 glibcxx_cv_func_strtof_use=yes
37000 else
37001 glibcxx_cv_func_strtof_use=no
37003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37004 ac_ext=c
37005 ac_cpp='$CPP $CPPFLAGS'
37006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
37015 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
37016 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
37017 for ac_func in strtof
37018 do :
37019 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
37020 if test "x$ac_cv_func_strtof" = xyes; then :
37021 cat >>confdefs.h <<_ACEOF
37022 #define HAVE_STRTOF 1
37023 _ACEOF
37026 done
37033 CXXFLAGS="$ac_save_CXXFLAGS"
37036 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
37038 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
37040 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
37042 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
37045 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
37047 $as_echo "#define HAVE_MODF 1" >>confdefs.h
37049 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
37053 *-aix*)
37055 # If we're not using GNU ld, then there's no point in even trying these
37056 # tests. Check for that first. We should have already tested for gld
37057 # by now (in libtool), but require it now just to be safe...
37058 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
37059 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
37063 # The name set by libtool depends on the version of libtool. Shame on us
37064 # for depending on an impl detail, but c'est la vie. Older versions used
37065 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
37066 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
37067 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
37068 # set (hence we're using an older libtool), then set it.
37069 if test x${with_gnu_ld+set} != xset; then
37070 if test x${ac_cv_prog_gnu_ld+set} != xset; then
37071 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
37072 with_gnu_ld=no
37073 else
37074 with_gnu_ld=$ac_cv_prog_gnu_ld
37078 # Start by getting the version number. I think the libtool test already
37079 # does some of this, but throws away the result.
37080 glibcxx_ld_is_gold=no
37081 glibcxx_ld_is_mold=no
37082 if test x"$with_gnu_ld" = x"yes"; then
37083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
37084 $as_echo_n "checking for ld version... " >&6; }
37086 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
37087 glibcxx_ld_is_gold=yes
37088 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
37089 glibcxx_ld_is_mold=yes
37091 ldver=`$LD --version 2>/dev/null |
37092 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
37094 glibcxx_gnu_ld_version=`echo $ldver | \
37095 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
37096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
37097 $as_echo "$glibcxx_gnu_ld_version" >&6; }
37100 # Set --gc-sections.
37101 glibcxx_have_gc_sections=no
37102 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
37103 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
37104 glibcxx_have_gc_sections=yes
37106 else
37107 glibcxx_gcsections_min_ld=21602
37108 if test x"$with_gnu_ld" = x"yes" &&
37109 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
37110 glibcxx_have_gc_sections=yes
37113 if test "$glibcxx_have_gc_sections" = "yes"; then
37114 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
37115 # NB: This flag only works reliably after 2.16.1. Configure tests
37116 # for this are difficult, so hard wire a value that should work.
37118 ac_test_CFLAGS="${CFLAGS+set}"
37119 ac_save_CFLAGS="$CFLAGS"
37120 CFLAGS='-Wl,--gc-sections'
37122 # Check for -Wl,--gc-sections
37123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
37124 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
37125 if test x$gcc_no_link = xyes; then
37126 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
37128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37129 /* end confdefs.h. */
37130 int one(void) { return 1; }
37131 int two(void) { return 2; }
37134 main ()
37136 two();
37138 return 0;
37140 _ACEOF
37141 if ac_fn_c_try_link "$LINENO"; then :
37142 ac_gcsections=yes
37143 else
37144 ac_gcsections=no
37146 rm -f core conftest.err conftest.$ac_objext \
37147 conftest$ac_exeext conftest.$ac_ext
37148 if test "$ac_gcsections" = "yes"; then
37149 rm -f conftest.c
37150 touch conftest.c
37151 if $CC -c conftest.c; then
37152 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
37153 grep "Warning: gc-sections option ignored" > /dev/null; then
37154 ac_gcsections=no
37157 rm -f conftest.c conftest.o conftest
37159 if test "$ac_gcsections" = "yes"; then
37160 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
37162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
37163 $as_echo "$ac_gcsections" >&6; }
37165 if test "$ac_test_CFLAGS" = set; then
37166 CFLAGS="$ac_save_CFLAGS"
37167 else
37168 # this is the suspicious part
37169 CFLAGS=''
37173 # Set -z,relro.
37174 # Note this is only for shared objects.
37175 ac_ld_relro=no
37176 if test x"$with_gnu_ld" = x"yes"; then
37177 # cygwin and mingw uses PE, which has no ELF relro support,
37178 # multi target ld may confuse configure machinery
37179 case "$host" in
37180 *-*-cygwin*)
37182 *-*-mingw*)
37185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
37186 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
37187 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
37188 if test -n "$cxx_z_relo"; then
37189 OPT_LDFLAGS="-Wl,-z,relro"
37190 ac_ld_relro=yes
37192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
37193 $as_echo "$ac_ld_relro" >&6; }
37194 esac
37197 # Set linker optimization flags.
37198 if test x"$with_gnu_ld" = x"yes"; then
37199 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
37206 ac_test_CXXFLAGS="${CXXFLAGS+set}"
37207 ac_save_CXXFLAGS="$CXXFLAGS"
37208 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
37210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
37211 $as_echo_n "checking for sin in -lm... " >&6; }
37212 if ${ac_cv_lib_m_sin+:} false; then :
37213 $as_echo_n "(cached) " >&6
37214 else
37215 ac_check_lib_save_LIBS=$LIBS
37216 LIBS="-lm $LIBS"
37217 if test x$gcc_no_link = xyes; then
37218 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
37220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37221 /* end confdefs.h. */
37223 /* Override any GCC internal prototype to avoid an error.
37224 Use char because int might match the return type of a GCC
37225 builtin and then its argument prototype would still apply. */
37226 #ifdef __cplusplus
37227 extern "C"
37228 #endif
37229 char sin ();
37231 main ()
37233 return sin ();
37235 return 0;
37237 _ACEOF
37238 if ac_fn_c_try_link "$LINENO"; then :
37239 ac_cv_lib_m_sin=yes
37240 else
37241 ac_cv_lib_m_sin=no
37243 rm -f core conftest.err conftest.$ac_objext \
37244 conftest$ac_exeext conftest.$ac_ext
37245 LIBS=$ac_check_lib_save_LIBS
37247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
37248 $as_echo "$ac_cv_lib_m_sin" >&6; }
37249 if test "x$ac_cv_lib_m_sin" = xyes; then :
37250 libm="-lm"
37253 ac_save_LIBS="$LIBS"
37254 LIBS="$LIBS $libm"
37258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
37259 $as_echo_n "checking for isinf declaration... " >&6; }
37260 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
37261 if ${glibcxx_cv_func_isinf_use+:} false; then :
37262 $as_echo_n "(cached) " >&6
37263 else
37266 ac_ext=cpp
37267 ac_cpp='$CXXCPP $CPPFLAGS'
37268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37273 /* end confdefs.h. */
37274 #include <math.h>
37275 #ifdef HAVE_IEEEFP_H
37276 #include <ieeefp.h>
37277 #endif
37280 main ()
37282 isinf(0);
37284 return 0;
37286 _ACEOF
37287 if ac_fn_cxx_try_compile "$LINENO"; then :
37288 glibcxx_cv_func_isinf_use=yes
37289 else
37290 glibcxx_cv_func_isinf_use=no
37292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37293 ac_ext=c
37294 ac_cpp='$CPP $CPPFLAGS'
37295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
37304 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
37306 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
37307 for ac_func in isinf
37308 do :
37309 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
37310 if test "x$ac_cv_func_isinf" = xyes; then :
37311 cat >>confdefs.h <<_ACEOF
37312 #define HAVE_ISINF 1
37313 _ACEOF
37316 done
37318 else
37320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
37321 $as_echo_n "checking for _isinf declaration... " >&6; }
37322 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
37323 if ${glibcxx_cv_func__isinf_use+:} false; then :
37324 $as_echo_n "(cached) " >&6
37325 else
37328 ac_ext=cpp
37329 ac_cpp='$CXXCPP $CPPFLAGS'
37330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37335 /* end confdefs.h. */
37336 #include <math.h>
37337 #ifdef HAVE_IEEEFP_H
37338 #include <ieeefp.h>
37339 #endif
37342 main ()
37344 _isinf(0);
37346 return 0;
37348 _ACEOF
37349 if ac_fn_cxx_try_compile "$LINENO"; then :
37350 glibcxx_cv_func__isinf_use=yes
37351 else
37352 glibcxx_cv_func__isinf_use=no
37354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37355 ac_ext=c
37356 ac_cpp='$CPP $CPPFLAGS'
37357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
37366 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
37368 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
37369 for ac_func in _isinf
37370 do :
37371 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
37372 if test "x$ac_cv_func__isinf" = xyes; then :
37373 cat >>confdefs.h <<_ACEOF
37374 #define HAVE__ISINF 1
37375 _ACEOF
37378 done
37387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
37388 $as_echo_n "checking for isnan declaration... " >&6; }
37389 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
37390 if ${glibcxx_cv_func_isnan_use+:} false; then :
37391 $as_echo_n "(cached) " >&6
37392 else
37395 ac_ext=cpp
37396 ac_cpp='$CXXCPP $CPPFLAGS'
37397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37402 /* end confdefs.h. */
37403 #include <math.h>
37404 #ifdef HAVE_IEEEFP_H
37405 #include <ieeefp.h>
37406 #endif
37409 main ()
37411 isnan(0);
37413 return 0;
37415 _ACEOF
37416 if ac_fn_cxx_try_compile "$LINENO"; then :
37417 glibcxx_cv_func_isnan_use=yes
37418 else
37419 glibcxx_cv_func_isnan_use=no
37421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37422 ac_ext=c
37423 ac_cpp='$CPP $CPPFLAGS'
37424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
37433 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
37435 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
37436 for ac_func in isnan
37437 do :
37438 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
37439 if test "x$ac_cv_func_isnan" = xyes; then :
37440 cat >>confdefs.h <<_ACEOF
37441 #define HAVE_ISNAN 1
37442 _ACEOF
37445 done
37447 else
37449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
37450 $as_echo_n "checking for _isnan declaration... " >&6; }
37451 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
37452 if ${glibcxx_cv_func__isnan_use+:} false; then :
37453 $as_echo_n "(cached) " >&6
37454 else
37457 ac_ext=cpp
37458 ac_cpp='$CXXCPP $CPPFLAGS'
37459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37464 /* end confdefs.h. */
37465 #include <math.h>
37466 #ifdef HAVE_IEEEFP_H
37467 #include <ieeefp.h>
37468 #endif
37471 main ()
37473 _isnan(0);
37475 return 0;
37477 _ACEOF
37478 if ac_fn_cxx_try_compile "$LINENO"; then :
37479 glibcxx_cv_func__isnan_use=yes
37480 else
37481 glibcxx_cv_func__isnan_use=no
37483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37484 ac_ext=c
37485 ac_cpp='$CPP $CPPFLAGS'
37486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
37495 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
37497 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
37498 for ac_func in _isnan
37499 do :
37500 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
37501 if test "x$ac_cv_func__isnan" = xyes; then :
37502 cat >>confdefs.h <<_ACEOF
37503 #define HAVE__ISNAN 1
37504 _ACEOF
37507 done
37516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
37517 $as_echo_n "checking for finite declaration... " >&6; }
37518 if test x${glibcxx_cv_func_finite_use+set} != xset; then
37519 if ${glibcxx_cv_func_finite_use+:} false; then :
37520 $as_echo_n "(cached) " >&6
37521 else
37524 ac_ext=cpp
37525 ac_cpp='$CXXCPP $CPPFLAGS'
37526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37531 /* end confdefs.h. */
37532 #include <math.h>
37533 #ifdef HAVE_IEEEFP_H
37534 #include <ieeefp.h>
37535 #endif
37538 main ()
37540 finite(0);
37542 return 0;
37544 _ACEOF
37545 if ac_fn_cxx_try_compile "$LINENO"; then :
37546 glibcxx_cv_func_finite_use=yes
37547 else
37548 glibcxx_cv_func_finite_use=no
37550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37551 ac_ext=c
37552 ac_cpp='$CPP $CPPFLAGS'
37553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
37562 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
37564 if test x$glibcxx_cv_func_finite_use = x"yes"; then
37565 for ac_func in finite
37566 do :
37567 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
37568 if test "x$ac_cv_func_finite" = xyes; then :
37569 cat >>confdefs.h <<_ACEOF
37570 #define HAVE_FINITE 1
37571 _ACEOF
37574 done
37576 else
37578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
37579 $as_echo_n "checking for _finite declaration... " >&6; }
37580 if test x${glibcxx_cv_func__finite_use+set} != xset; then
37581 if ${glibcxx_cv_func__finite_use+:} false; then :
37582 $as_echo_n "(cached) " >&6
37583 else
37586 ac_ext=cpp
37587 ac_cpp='$CXXCPP $CPPFLAGS'
37588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37593 /* end confdefs.h. */
37594 #include <math.h>
37595 #ifdef HAVE_IEEEFP_H
37596 #include <ieeefp.h>
37597 #endif
37600 main ()
37602 _finite(0);
37604 return 0;
37606 _ACEOF
37607 if ac_fn_cxx_try_compile "$LINENO"; then :
37608 glibcxx_cv_func__finite_use=yes
37609 else
37610 glibcxx_cv_func__finite_use=no
37612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37613 ac_ext=c
37614 ac_cpp='$CPP $CPPFLAGS'
37615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
37624 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
37626 if test x$glibcxx_cv_func__finite_use = x"yes"; then
37627 for ac_func in _finite
37628 do :
37629 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
37630 if test "x$ac_cv_func__finite" = xyes; then :
37631 cat >>confdefs.h <<_ACEOF
37632 #define HAVE__FINITE 1
37633 _ACEOF
37636 done
37645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
37646 $as_echo_n "checking for sincos declaration... " >&6; }
37647 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
37648 if ${glibcxx_cv_func_sincos_use+:} false; then :
37649 $as_echo_n "(cached) " >&6
37650 else
37653 ac_ext=cpp
37654 ac_cpp='$CXXCPP $CPPFLAGS'
37655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37660 /* end confdefs.h. */
37661 #include <math.h>
37663 main ()
37665 sincos(0, 0, 0);
37667 return 0;
37669 _ACEOF
37670 if ac_fn_cxx_try_compile "$LINENO"; then :
37671 glibcxx_cv_func_sincos_use=yes
37672 else
37673 glibcxx_cv_func_sincos_use=no
37675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37676 ac_ext=c
37677 ac_cpp='$CPP $CPPFLAGS'
37678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
37687 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
37689 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
37690 for ac_func in sincos
37691 do :
37692 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
37693 if test "x$ac_cv_func_sincos" = xyes; then :
37694 cat >>confdefs.h <<_ACEOF
37695 #define HAVE_SINCOS 1
37696 _ACEOF
37699 done
37701 else
37703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
37704 $as_echo_n "checking for _sincos declaration... " >&6; }
37705 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
37706 if ${glibcxx_cv_func__sincos_use+:} false; then :
37707 $as_echo_n "(cached) " >&6
37708 else
37711 ac_ext=cpp
37712 ac_cpp='$CXXCPP $CPPFLAGS'
37713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37718 /* end confdefs.h. */
37719 #include <math.h>
37721 main ()
37723 _sincos(0, 0, 0);
37725 return 0;
37727 _ACEOF
37728 if ac_fn_cxx_try_compile "$LINENO"; then :
37729 glibcxx_cv_func__sincos_use=yes
37730 else
37731 glibcxx_cv_func__sincos_use=no
37733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37734 ac_ext=c
37735 ac_cpp='$CPP $CPPFLAGS'
37736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
37745 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
37747 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
37748 for ac_func in _sincos
37749 do :
37750 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
37751 if test "x$ac_cv_func__sincos" = xyes; then :
37752 cat >>confdefs.h <<_ACEOF
37753 #define HAVE__SINCOS 1
37754 _ACEOF
37757 done
37766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
37767 $as_echo_n "checking for fpclass declaration... " >&6; }
37768 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
37769 if ${glibcxx_cv_func_fpclass_use+:} false; then :
37770 $as_echo_n "(cached) " >&6
37771 else
37774 ac_ext=cpp
37775 ac_cpp='$CXXCPP $CPPFLAGS'
37776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37781 /* end confdefs.h. */
37782 #include <math.h>
37783 #ifdef HAVE_IEEEFP_H
37784 #include <ieeefp.h>
37785 #endif
37788 main ()
37790 fpclass(0);
37792 return 0;
37794 _ACEOF
37795 if ac_fn_cxx_try_compile "$LINENO"; then :
37796 glibcxx_cv_func_fpclass_use=yes
37797 else
37798 glibcxx_cv_func_fpclass_use=no
37800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37801 ac_ext=c
37802 ac_cpp='$CPP $CPPFLAGS'
37803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
37812 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
37814 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
37815 for ac_func in fpclass
37816 do :
37817 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
37818 if test "x$ac_cv_func_fpclass" = xyes; then :
37819 cat >>confdefs.h <<_ACEOF
37820 #define HAVE_FPCLASS 1
37821 _ACEOF
37824 done
37826 else
37828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
37829 $as_echo_n "checking for _fpclass declaration... " >&6; }
37830 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
37831 if ${glibcxx_cv_func__fpclass_use+:} false; then :
37832 $as_echo_n "(cached) " >&6
37833 else
37836 ac_ext=cpp
37837 ac_cpp='$CXXCPP $CPPFLAGS'
37838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37843 /* end confdefs.h. */
37844 #include <math.h>
37845 #ifdef HAVE_IEEEFP_H
37846 #include <ieeefp.h>
37847 #endif
37850 main ()
37852 _fpclass(0);
37854 return 0;
37856 _ACEOF
37857 if ac_fn_cxx_try_compile "$LINENO"; then :
37858 glibcxx_cv_func__fpclass_use=yes
37859 else
37860 glibcxx_cv_func__fpclass_use=no
37862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37863 ac_ext=c
37864 ac_cpp='$CPP $CPPFLAGS'
37865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
37874 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
37876 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
37877 for ac_func in _fpclass
37878 do :
37879 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
37880 if test "x$ac_cv_func__fpclass" = xyes; then :
37881 cat >>confdefs.h <<_ACEOF
37882 #define HAVE__FPCLASS 1
37883 _ACEOF
37886 done
37895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
37896 $as_echo_n "checking for qfpclass declaration... " >&6; }
37897 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
37898 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
37899 $as_echo_n "(cached) " >&6
37900 else
37903 ac_ext=cpp
37904 ac_cpp='$CXXCPP $CPPFLAGS'
37905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37910 /* end confdefs.h. */
37911 #include <math.h>
37912 #ifdef HAVE_IEEEFP_H
37913 #include <ieeefp.h>
37914 #endif
37917 main ()
37919 qfpclass(0);
37921 return 0;
37923 _ACEOF
37924 if ac_fn_cxx_try_compile "$LINENO"; then :
37925 glibcxx_cv_func_qfpclass_use=yes
37926 else
37927 glibcxx_cv_func_qfpclass_use=no
37929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37930 ac_ext=c
37931 ac_cpp='$CPP $CPPFLAGS'
37932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
37941 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
37943 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
37944 for ac_func in qfpclass
37945 do :
37946 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
37947 if test "x$ac_cv_func_qfpclass" = xyes; then :
37948 cat >>confdefs.h <<_ACEOF
37949 #define HAVE_QFPCLASS 1
37950 _ACEOF
37953 done
37955 else
37957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
37958 $as_echo_n "checking for _qfpclass declaration... " >&6; }
37959 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
37960 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
37961 $as_echo_n "(cached) " >&6
37962 else
37965 ac_ext=cpp
37966 ac_cpp='$CXXCPP $CPPFLAGS'
37967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37972 /* end confdefs.h. */
37973 #include <math.h>
37974 #ifdef HAVE_IEEEFP_H
37975 #include <ieeefp.h>
37976 #endif
37979 main ()
37981 _qfpclass(0);
37983 return 0;
37985 _ACEOF
37986 if ac_fn_cxx_try_compile "$LINENO"; then :
37987 glibcxx_cv_func__qfpclass_use=yes
37988 else
37989 glibcxx_cv_func__qfpclass_use=no
37991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37992 ac_ext=c
37993 ac_cpp='$CPP $CPPFLAGS'
37994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
38003 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
38005 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
38006 for ac_func in _qfpclass
38007 do :
38008 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
38009 if test "x$ac_cv_func__qfpclass" = xyes; then :
38010 cat >>confdefs.h <<_ACEOF
38011 #define HAVE__QFPCLASS 1
38012 _ACEOF
38015 done
38024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
38025 $as_echo_n "checking for hypot declaration... " >&6; }
38026 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
38027 if ${glibcxx_cv_func_hypot_use+:} false; then :
38028 $as_echo_n "(cached) " >&6
38029 else
38032 ac_ext=cpp
38033 ac_cpp='$CXXCPP $CPPFLAGS'
38034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38039 /* end confdefs.h. */
38040 #include <math.h>
38042 main ()
38044 hypot(0, 0);
38046 return 0;
38048 _ACEOF
38049 if ac_fn_cxx_try_compile "$LINENO"; then :
38050 glibcxx_cv_func_hypot_use=yes
38051 else
38052 glibcxx_cv_func_hypot_use=no
38054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38055 ac_ext=c
38056 ac_cpp='$CPP $CPPFLAGS'
38057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
38066 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
38068 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
38069 for ac_func in hypot
38070 do :
38071 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
38072 if test "x$ac_cv_func_hypot" = xyes; then :
38073 cat >>confdefs.h <<_ACEOF
38074 #define HAVE_HYPOT 1
38075 _ACEOF
38078 done
38080 else
38082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
38083 $as_echo_n "checking for _hypot declaration... " >&6; }
38084 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
38085 if ${glibcxx_cv_func__hypot_use+:} false; then :
38086 $as_echo_n "(cached) " >&6
38087 else
38090 ac_ext=cpp
38091 ac_cpp='$CXXCPP $CPPFLAGS'
38092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38097 /* end confdefs.h. */
38098 #include <math.h>
38100 main ()
38102 _hypot(0, 0);
38104 return 0;
38106 _ACEOF
38107 if ac_fn_cxx_try_compile "$LINENO"; then :
38108 glibcxx_cv_func__hypot_use=yes
38109 else
38110 glibcxx_cv_func__hypot_use=no
38112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38113 ac_ext=c
38114 ac_cpp='$CPP $CPPFLAGS'
38115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
38124 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
38126 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
38127 for ac_func in _hypot
38128 do :
38129 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
38130 if test "x$ac_cv_func__hypot" = xyes; then :
38131 cat >>confdefs.h <<_ACEOF
38132 #define HAVE__HYPOT 1
38133 _ACEOF
38136 done
38145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
38146 $as_echo_n "checking for float trig functions... " >&6; }
38147 if ${glibcxx_cv_func_float_trig_use+:} false; then :
38148 $as_echo_n "(cached) " >&6
38149 else
38152 ac_ext=cpp
38153 ac_cpp='$CXXCPP $CPPFLAGS'
38154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38159 /* end confdefs.h. */
38160 #include <math.h>
38162 main ()
38164 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
38166 return 0;
38168 _ACEOF
38169 if ac_fn_cxx_try_compile "$LINENO"; then :
38170 glibcxx_cv_func_float_trig_use=yes
38171 else
38172 glibcxx_cv_func_float_trig_use=no
38174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38175 ac_ext=c
38176 ac_cpp='$CPP $CPPFLAGS'
38177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
38184 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
38185 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
38186 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
38187 do :
38188 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38189 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38190 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38191 cat >>confdefs.h <<_ACEOF
38192 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38193 _ACEOF
38196 done
38198 else
38199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
38200 $as_echo_n "checking for _float trig functions... " >&6; }
38201 if ${glibcxx_cv_func__float_trig_use+:} false; then :
38202 $as_echo_n "(cached) " >&6
38203 else
38206 ac_ext=cpp
38207 ac_cpp='$CXXCPP $CPPFLAGS'
38208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38213 /* end confdefs.h. */
38214 #include <math.h>
38216 main ()
38218 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
38220 return 0;
38222 _ACEOF
38223 if ac_fn_cxx_try_compile "$LINENO"; then :
38224 glibcxx_cv_func__float_trig_use=yes
38225 else
38226 glibcxx_cv_func__float_trig_use=no
38228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38229 ac_ext=c
38230 ac_cpp='$CPP $CPPFLAGS'
38231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
38238 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
38239 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
38240 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
38241 do :
38242 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38243 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38244 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38245 cat >>confdefs.h <<_ACEOF
38246 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38247 _ACEOF
38250 done
38259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
38260 $as_echo_n "checking for float round functions... " >&6; }
38261 if ${glibcxx_cv_func_float_round_use+:} false; then :
38262 $as_echo_n "(cached) " >&6
38263 else
38266 ac_ext=cpp
38267 ac_cpp='$CXXCPP $CPPFLAGS'
38268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38273 /* end confdefs.h. */
38274 #include <math.h>
38276 main ()
38278 ceilf (0); floorf (0);
38280 return 0;
38282 _ACEOF
38283 if ac_fn_cxx_try_compile "$LINENO"; then :
38284 glibcxx_cv_func_float_round_use=yes
38285 else
38286 glibcxx_cv_func_float_round_use=no
38288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38289 ac_ext=c
38290 ac_cpp='$CPP $CPPFLAGS'
38291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
38298 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
38299 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
38300 for ac_func in ceilf floorf
38301 do :
38302 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38303 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38304 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38305 cat >>confdefs.h <<_ACEOF
38306 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38307 _ACEOF
38310 done
38312 else
38313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
38314 $as_echo_n "checking for _float round functions... " >&6; }
38315 if ${glibcxx_cv_func__float_round_use+:} false; then :
38316 $as_echo_n "(cached) " >&6
38317 else
38320 ac_ext=cpp
38321 ac_cpp='$CXXCPP $CPPFLAGS'
38322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38327 /* end confdefs.h. */
38328 #include <math.h>
38330 main ()
38332 _ceilf (0); _floorf (0);
38334 return 0;
38336 _ACEOF
38337 if ac_fn_cxx_try_compile "$LINENO"; then :
38338 glibcxx_cv_func__float_round_use=yes
38339 else
38340 glibcxx_cv_func__float_round_use=no
38342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38343 ac_ext=c
38344 ac_cpp='$CPP $CPPFLAGS'
38345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
38352 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
38353 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
38354 for ac_func in _ceilf _floorf
38355 do :
38356 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38357 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38358 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38359 cat >>confdefs.h <<_ACEOF
38360 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38361 _ACEOF
38364 done
38374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
38375 $as_echo_n "checking for expf declaration... " >&6; }
38376 if test x${glibcxx_cv_func_expf_use+set} != xset; then
38377 if ${glibcxx_cv_func_expf_use+:} false; then :
38378 $as_echo_n "(cached) " >&6
38379 else
38382 ac_ext=cpp
38383 ac_cpp='$CXXCPP $CPPFLAGS'
38384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38389 /* end confdefs.h. */
38390 #include <math.h>
38391 #ifdef HAVE_IEEEFP_H
38392 #include <ieeefp.h>
38393 #endif
38396 main ()
38398 expf(0);
38400 return 0;
38402 _ACEOF
38403 if ac_fn_cxx_try_compile "$LINENO"; then :
38404 glibcxx_cv_func_expf_use=yes
38405 else
38406 glibcxx_cv_func_expf_use=no
38408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38409 ac_ext=c
38410 ac_cpp='$CPP $CPPFLAGS'
38411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
38420 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
38422 if test x$glibcxx_cv_func_expf_use = x"yes"; then
38423 for ac_func in expf
38424 do :
38425 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
38426 if test "x$ac_cv_func_expf" = xyes; then :
38427 cat >>confdefs.h <<_ACEOF
38428 #define HAVE_EXPF 1
38429 _ACEOF
38432 done
38434 else
38436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
38437 $as_echo_n "checking for _expf declaration... " >&6; }
38438 if test x${glibcxx_cv_func__expf_use+set} != xset; then
38439 if ${glibcxx_cv_func__expf_use+:} false; then :
38440 $as_echo_n "(cached) " >&6
38441 else
38444 ac_ext=cpp
38445 ac_cpp='$CXXCPP $CPPFLAGS'
38446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38451 /* end confdefs.h. */
38452 #include <math.h>
38453 #ifdef HAVE_IEEEFP_H
38454 #include <ieeefp.h>
38455 #endif
38458 main ()
38460 _expf(0);
38462 return 0;
38464 _ACEOF
38465 if ac_fn_cxx_try_compile "$LINENO"; then :
38466 glibcxx_cv_func__expf_use=yes
38467 else
38468 glibcxx_cv_func__expf_use=no
38470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38471 ac_ext=c
38472 ac_cpp='$CPP $CPPFLAGS'
38473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
38482 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
38484 if test x$glibcxx_cv_func__expf_use = x"yes"; then
38485 for ac_func in _expf
38486 do :
38487 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
38488 if test "x$ac_cv_func__expf" = xyes; then :
38489 cat >>confdefs.h <<_ACEOF
38490 #define HAVE__EXPF 1
38491 _ACEOF
38494 done
38503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
38504 $as_echo_n "checking for isnanf declaration... " >&6; }
38505 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
38506 if ${glibcxx_cv_func_isnanf_use+:} false; then :
38507 $as_echo_n "(cached) " >&6
38508 else
38511 ac_ext=cpp
38512 ac_cpp='$CXXCPP $CPPFLAGS'
38513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38518 /* end confdefs.h. */
38519 #include <math.h>
38520 #ifdef HAVE_IEEEFP_H
38521 #include <ieeefp.h>
38522 #endif
38525 main ()
38527 isnanf(0);
38529 return 0;
38531 _ACEOF
38532 if ac_fn_cxx_try_compile "$LINENO"; then :
38533 glibcxx_cv_func_isnanf_use=yes
38534 else
38535 glibcxx_cv_func_isnanf_use=no
38537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38538 ac_ext=c
38539 ac_cpp='$CPP $CPPFLAGS'
38540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
38549 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
38551 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
38552 for ac_func in isnanf
38553 do :
38554 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
38555 if test "x$ac_cv_func_isnanf" = xyes; then :
38556 cat >>confdefs.h <<_ACEOF
38557 #define HAVE_ISNANF 1
38558 _ACEOF
38561 done
38563 else
38565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
38566 $as_echo_n "checking for _isnanf declaration... " >&6; }
38567 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
38568 if ${glibcxx_cv_func__isnanf_use+:} false; then :
38569 $as_echo_n "(cached) " >&6
38570 else
38573 ac_ext=cpp
38574 ac_cpp='$CXXCPP $CPPFLAGS'
38575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38580 /* end confdefs.h. */
38581 #include <math.h>
38582 #ifdef HAVE_IEEEFP_H
38583 #include <ieeefp.h>
38584 #endif
38587 main ()
38589 _isnanf(0);
38591 return 0;
38593 _ACEOF
38594 if ac_fn_cxx_try_compile "$LINENO"; then :
38595 glibcxx_cv_func__isnanf_use=yes
38596 else
38597 glibcxx_cv_func__isnanf_use=no
38599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38600 ac_ext=c
38601 ac_cpp='$CPP $CPPFLAGS'
38602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
38611 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
38613 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
38614 for ac_func in _isnanf
38615 do :
38616 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
38617 if test "x$ac_cv_func__isnanf" = xyes; then :
38618 cat >>confdefs.h <<_ACEOF
38619 #define HAVE__ISNANF 1
38620 _ACEOF
38623 done
38632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
38633 $as_echo_n "checking for isinff declaration... " >&6; }
38634 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
38635 if ${glibcxx_cv_func_isinff_use+:} false; then :
38636 $as_echo_n "(cached) " >&6
38637 else
38640 ac_ext=cpp
38641 ac_cpp='$CXXCPP $CPPFLAGS'
38642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38647 /* end confdefs.h. */
38648 #include <math.h>
38649 #ifdef HAVE_IEEEFP_H
38650 #include <ieeefp.h>
38651 #endif
38654 main ()
38656 isinff(0);
38658 return 0;
38660 _ACEOF
38661 if ac_fn_cxx_try_compile "$LINENO"; then :
38662 glibcxx_cv_func_isinff_use=yes
38663 else
38664 glibcxx_cv_func_isinff_use=no
38666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38667 ac_ext=c
38668 ac_cpp='$CPP $CPPFLAGS'
38669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
38678 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
38680 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
38681 for ac_func in isinff
38682 do :
38683 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
38684 if test "x$ac_cv_func_isinff" = xyes; then :
38685 cat >>confdefs.h <<_ACEOF
38686 #define HAVE_ISINFF 1
38687 _ACEOF
38690 done
38692 else
38694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
38695 $as_echo_n "checking for _isinff declaration... " >&6; }
38696 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
38697 if ${glibcxx_cv_func__isinff_use+:} false; then :
38698 $as_echo_n "(cached) " >&6
38699 else
38702 ac_ext=cpp
38703 ac_cpp='$CXXCPP $CPPFLAGS'
38704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38709 /* end confdefs.h. */
38710 #include <math.h>
38711 #ifdef HAVE_IEEEFP_H
38712 #include <ieeefp.h>
38713 #endif
38716 main ()
38718 _isinff(0);
38720 return 0;
38722 _ACEOF
38723 if ac_fn_cxx_try_compile "$LINENO"; then :
38724 glibcxx_cv_func__isinff_use=yes
38725 else
38726 glibcxx_cv_func__isinff_use=no
38728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38729 ac_ext=c
38730 ac_cpp='$CPP $CPPFLAGS'
38731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
38740 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
38742 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
38743 for ac_func in _isinff
38744 do :
38745 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
38746 if test "x$ac_cv_func__isinff" = xyes; then :
38747 cat >>confdefs.h <<_ACEOF
38748 #define HAVE__ISINFF 1
38749 _ACEOF
38752 done
38761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
38762 $as_echo_n "checking for atan2f declaration... " >&6; }
38763 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
38764 if ${glibcxx_cv_func_atan2f_use+:} false; then :
38765 $as_echo_n "(cached) " >&6
38766 else
38769 ac_ext=cpp
38770 ac_cpp='$CXXCPP $CPPFLAGS'
38771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38776 /* end confdefs.h. */
38777 #include <math.h>
38779 main ()
38781 atan2f(0, 0);
38783 return 0;
38785 _ACEOF
38786 if ac_fn_cxx_try_compile "$LINENO"; then :
38787 glibcxx_cv_func_atan2f_use=yes
38788 else
38789 glibcxx_cv_func_atan2f_use=no
38791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38792 ac_ext=c
38793 ac_cpp='$CPP $CPPFLAGS'
38794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
38803 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
38805 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
38806 for ac_func in atan2f
38807 do :
38808 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
38809 if test "x$ac_cv_func_atan2f" = xyes; then :
38810 cat >>confdefs.h <<_ACEOF
38811 #define HAVE_ATAN2F 1
38812 _ACEOF
38815 done
38817 else
38819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
38820 $as_echo_n "checking for _atan2f declaration... " >&6; }
38821 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
38822 if ${glibcxx_cv_func__atan2f_use+:} false; then :
38823 $as_echo_n "(cached) " >&6
38824 else
38827 ac_ext=cpp
38828 ac_cpp='$CXXCPP $CPPFLAGS'
38829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38834 /* end confdefs.h. */
38835 #include <math.h>
38837 main ()
38839 _atan2f(0, 0);
38841 return 0;
38843 _ACEOF
38844 if ac_fn_cxx_try_compile "$LINENO"; then :
38845 glibcxx_cv_func__atan2f_use=yes
38846 else
38847 glibcxx_cv_func__atan2f_use=no
38849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38850 ac_ext=c
38851 ac_cpp='$CPP $CPPFLAGS'
38852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
38861 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
38863 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
38864 for ac_func in _atan2f
38865 do :
38866 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
38867 if test "x$ac_cv_func__atan2f" = xyes; then :
38868 cat >>confdefs.h <<_ACEOF
38869 #define HAVE__ATAN2F 1
38870 _ACEOF
38873 done
38882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
38883 $as_echo_n "checking for fabsf declaration... " >&6; }
38884 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
38885 if ${glibcxx_cv_func_fabsf_use+:} false; then :
38886 $as_echo_n "(cached) " >&6
38887 else
38890 ac_ext=cpp
38891 ac_cpp='$CXXCPP $CPPFLAGS'
38892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38897 /* end confdefs.h. */
38898 #include <math.h>
38899 #ifdef HAVE_IEEEFP_H
38900 #include <ieeefp.h>
38901 #endif
38904 main ()
38906 fabsf(0);
38908 return 0;
38910 _ACEOF
38911 if ac_fn_cxx_try_compile "$LINENO"; then :
38912 glibcxx_cv_func_fabsf_use=yes
38913 else
38914 glibcxx_cv_func_fabsf_use=no
38916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38917 ac_ext=c
38918 ac_cpp='$CPP $CPPFLAGS'
38919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
38928 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
38930 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
38931 for ac_func in fabsf
38932 do :
38933 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
38934 if test "x$ac_cv_func_fabsf" = xyes; then :
38935 cat >>confdefs.h <<_ACEOF
38936 #define HAVE_FABSF 1
38937 _ACEOF
38940 done
38942 else
38944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
38945 $as_echo_n "checking for _fabsf declaration... " >&6; }
38946 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
38947 if ${glibcxx_cv_func__fabsf_use+:} false; then :
38948 $as_echo_n "(cached) " >&6
38949 else
38952 ac_ext=cpp
38953 ac_cpp='$CXXCPP $CPPFLAGS'
38954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38959 /* end confdefs.h. */
38960 #include <math.h>
38961 #ifdef HAVE_IEEEFP_H
38962 #include <ieeefp.h>
38963 #endif
38966 main ()
38968 _fabsf(0);
38970 return 0;
38972 _ACEOF
38973 if ac_fn_cxx_try_compile "$LINENO"; then :
38974 glibcxx_cv_func__fabsf_use=yes
38975 else
38976 glibcxx_cv_func__fabsf_use=no
38978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38979 ac_ext=c
38980 ac_cpp='$CPP $CPPFLAGS'
38981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
38990 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
38992 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
38993 for ac_func in _fabsf
38994 do :
38995 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
38996 if test "x$ac_cv_func__fabsf" = xyes; then :
38997 cat >>confdefs.h <<_ACEOF
38998 #define HAVE__FABSF 1
38999 _ACEOF
39002 done
39011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
39012 $as_echo_n "checking for fmodf declaration... " >&6; }
39013 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
39014 if ${glibcxx_cv_func_fmodf_use+:} false; then :
39015 $as_echo_n "(cached) " >&6
39016 else
39019 ac_ext=cpp
39020 ac_cpp='$CXXCPP $CPPFLAGS'
39021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39026 /* end confdefs.h. */
39027 #include <math.h>
39029 main ()
39031 fmodf(0, 0);
39033 return 0;
39035 _ACEOF
39036 if ac_fn_cxx_try_compile "$LINENO"; then :
39037 glibcxx_cv_func_fmodf_use=yes
39038 else
39039 glibcxx_cv_func_fmodf_use=no
39041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39042 ac_ext=c
39043 ac_cpp='$CPP $CPPFLAGS'
39044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
39053 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
39055 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
39056 for ac_func in fmodf
39057 do :
39058 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
39059 if test "x$ac_cv_func_fmodf" = xyes; then :
39060 cat >>confdefs.h <<_ACEOF
39061 #define HAVE_FMODF 1
39062 _ACEOF
39065 done
39067 else
39069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
39070 $as_echo_n "checking for _fmodf declaration... " >&6; }
39071 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
39072 if ${glibcxx_cv_func__fmodf_use+:} false; then :
39073 $as_echo_n "(cached) " >&6
39074 else
39077 ac_ext=cpp
39078 ac_cpp='$CXXCPP $CPPFLAGS'
39079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39084 /* end confdefs.h. */
39085 #include <math.h>
39087 main ()
39089 _fmodf(0, 0);
39091 return 0;
39093 _ACEOF
39094 if ac_fn_cxx_try_compile "$LINENO"; then :
39095 glibcxx_cv_func__fmodf_use=yes
39096 else
39097 glibcxx_cv_func__fmodf_use=no
39099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39100 ac_ext=c
39101 ac_cpp='$CPP $CPPFLAGS'
39102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
39111 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
39113 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
39114 for ac_func in _fmodf
39115 do :
39116 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
39117 if test "x$ac_cv_func__fmodf" = xyes; then :
39118 cat >>confdefs.h <<_ACEOF
39119 #define HAVE__FMODF 1
39120 _ACEOF
39123 done
39132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
39133 $as_echo_n "checking for frexpf declaration... " >&6; }
39134 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
39135 if ${glibcxx_cv_func_frexpf_use+:} false; then :
39136 $as_echo_n "(cached) " >&6
39137 else
39140 ac_ext=cpp
39141 ac_cpp='$CXXCPP $CPPFLAGS'
39142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39147 /* end confdefs.h. */
39148 #include <math.h>
39150 main ()
39152 frexpf(0, 0);
39154 return 0;
39156 _ACEOF
39157 if ac_fn_cxx_try_compile "$LINENO"; then :
39158 glibcxx_cv_func_frexpf_use=yes
39159 else
39160 glibcxx_cv_func_frexpf_use=no
39162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39163 ac_ext=c
39164 ac_cpp='$CPP $CPPFLAGS'
39165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
39174 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
39176 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
39177 for ac_func in frexpf
39178 do :
39179 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
39180 if test "x$ac_cv_func_frexpf" = xyes; then :
39181 cat >>confdefs.h <<_ACEOF
39182 #define HAVE_FREXPF 1
39183 _ACEOF
39186 done
39188 else
39190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
39191 $as_echo_n "checking for _frexpf declaration... " >&6; }
39192 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
39193 if ${glibcxx_cv_func__frexpf_use+:} false; then :
39194 $as_echo_n "(cached) " >&6
39195 else
39198 ac_ext=cpp
39199 ac_cpp='$CXXCPP $CPPFLAGS'
39200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39205 /* end confdefs.h. */
39206 #include <math.h>
39208 main ()
39210 _frexpf(0, 0);
39212 return 0;
39214 _ACEOF
39215 if ac_fn_cxx_try_compile "$LINENO"; then :
39216 glibcxx_cv_func__frexpf_use=yes
39217 else
39218 glibcxx_cv_func__frexpf_use=no
39220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39221 ac_ext=c
39222 ac_cpp='$CPP $CPPFLAGS'
39223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
39232 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
39234 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
39235 for ac_func in _frexpf
39236 do :
39237 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
39238 if test "x$ac_cv_func__frexpf" = xyes; then :
39239 cat >>confdefs.h <<_ACEOF
39240 #define HAVE__FREXPF 1
39241 _ACEOF
39244 done
39253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
39254 $as_echo_n "checking for hypotf declaration... " >&6; }
39255 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
39256 if ${glibcxx_cv_func_hypotf_use+:} false; then :
39257 $as_echo_n "(cached) " >&6
39258 else
39261 ac_ext=cpp
39262 ac_cpp='$CXXCPP $CPPFLAGS'
39263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39268 /* end confdefs.h. */
39269 #include <math.h>
39271 main ()
39273 hypotf(0, 0);
39275 return 0;
39277 _ACEOF
39278 if ac_fn_cxx_try_compile "$LINENO"; then :
39279 glibcxx_cv_func_hypotf_use=yes
39280 else
39281 glibcxx_cv_func_hypotf_use=no
39283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39284 ac_ext=c
39285 ac_cpp='$CPP $CPPFLAGS'
39286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
39295 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
39297 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
39298 for ac_func in hypotf
39299 do :
39300 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
39301 if test "x$ac_cv_func_hypotf" = xyes; then :
39302 cat >>confdefs.h <<_ACEOF
39303 #define HAVE_HYPOTF 1
39304 _ACEOF
39307 done
39309 else
39311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
39312 $as_echo_n "checking for _hypotf declaration... " >&6; }
39313 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
39314 if ${glibcxx_cv_func__hypotf_use+:} false; then :
39315 $as_echo_n "(cached) " >&6
39316 else
39319 ac_ext=cpp
39320 ac_cpp='$CXXCPP $CPPFLAGS'
39321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39326 /* end confdefs.h. */
39327 #include <math.h>
39329 main ()
39331 _hypotf(0, 0);
39333 return 0;
39335 _ACEOF
39336 if ac_fn_cxx_try_compile "$LINENO"; then :
39337 glibcxx_cv_func__hypotf_use=yes
39338 else
39339 glibcxx_cv_func__hypotf_use=no
39341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39342 ac_ext=c
39343 ac_cpp='$CPP $CPPFLAGS'
39344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
39353 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
39355 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
39356 for ac_func in _hypotf
39357 do :
39358 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
39359 if test "x$ac_cv_func__hypotf" = xyes; then :
39360 cat >>confdefs.h <<_ACEOF
39361 #define HAVE__HYPOTF 1
39362 _ACEOF
39365 done
39374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
39375 $as_echo_n "checking for ldexpf declaration... " >&6; }
39376 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
39377 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
39378 $as_echo_n "(cached) " >&6
39379 else
39382 ac_ext=cpp
39383 ac_cpp='$CXXCPP $CPPFLAGS'
39384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39389 /* end confdefs.h. */
39390 #include <math.h>
39392 main ()
39394 ldexpf(0, 0);
39396 return 0;
39398 _ACEOF
39399 if ac_fn_cxx_try_compile "$LINENO"; then :
39400 glibcxx_cv_func_ldexpf_use=yes
39401 else
39402 glibcxx_cv_func_ldexpf_use=no
39404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39405 ac_ext=c
39406 ac_cpp='$CPP $CPPFLAGS'
39407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
39416 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
39418 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
39419 for ac_func in ldexpf
39420 do :
39421 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
39422 if test "x$ac_cv_func_ldexpf" = xyes; then :
39423 cat >>confdefs.h <<_ACEOF
39424 #define HAVE_LDEXPF 1
39425 _ACEOF
39428 done
39430 else
39432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
39433 $as_echo_n "checking for _ldexpf declaration... " >&6; }
39434 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
39435 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
39436 $as_echo_n "(cached) " >&6
39437 else
39440 ac_ext=cpp
39441 ac_cpp='$CXXCPP $CPPFLAGS'
39442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39447 /* end confdefs.h. */
39448 #include <math.h>
39450 main ()
39452 _ldexpf(0, 0);
39454 return 0;
39456 _ACEOF
39457 if ac_fn_cxx_try_compile "$LINENO"; then :
39458 glibcxx_cv_func__ldexpf_use=yes
39459 else
39460 glibcxx_cv_func__ldexpf_use=no
39462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39463 ac_ext=c
39464 ac_cpp='$CPP $CPPFLAGS'
39465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
39474 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
39476 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
39477 for ac_func in _ldexpf
39478 do :
39479 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
39480 if test "x$ac_cv_func__ldexpf" = xyes; then :
39481 cat >>confdefs.h <<_ACEOF
39482 #define HAVE__LDEXPF 1
39483 _ACEOF
39486 done
39495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
39496 $as_echo_n "checking for logf declaration... " >&6; }
39497 if test x${glibcxx_cv_func_logf_use+set} != xset; then
39498 if ${glibcxx_cv_func_logf_use+:} false; then :
39499 $as_echo_n "(cached) " >&6
39500 else
39503 ac_ext=cpp
39504 ac_cpp='$CXXCPP $CPPFLAGS'
39505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39510 /* end confdefs.h. */
39511 #include <math.h>
39512 #ifdef HAVE_IEEEFP_H
39513 #include <ieeefp.h>
39514 #endif
39517 main ()
39519 logf(0);
39521 return 0;
39523 _ACEOF
39524 if ac_fn_cxx_try_compile "$LINENO"; then :
39525 glibcxx_cv_func_logf_use=yes
39526 else
39527 glibcxx_cv_func_logf_use=no
39529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39530 ac_ext=c
39531 ac_cpp='$CPP $CPPFLAGS'
39532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
39541 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
39543 if test x$glibcxx_cv_func_logf_use = x"yes"; then
39544 for ac_func in logf
39545 do :
39546 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
39547 if test "x$ac_cv_func_logf" = xyes; then :
39548 cat >>confdefs.h <<_ACEOF
39549 #define HAVE_LOGF 1
39550 _ACEOF
39553 done
39555 else
39557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
39558 $as_echo_n "checking for _logf declaration... " >&6; }
39559 if test x${glibcxx_cv_func__logf_use+set} != xset; then
39560 if ${glibcxx_cv_func__logf_use+:} false; then :
39561 $as_echo_n "(cached) " >&6
39562 else
39565 ac_ext=cpp
39566 ac_cpp='$CXXCPP $CPPFLAGS'
39567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39572 /* end confdefs.h. */
39573 #include <math.h>
39574 #ifdef HAVE_IEEEFP_H
39575 #include <ieeefp.h>
39576 #endif
39579 main ()
39581 _logf(0);
39583 return 0;
39585 _ACEOF
39586 if ac_fn_cxx_try_compile "$LINENO"; then :
39587 glibcxx_cv_func__logf_use=yes
39588 else
39589 glibcxx_cv_func__logf_use=no
39591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39592 ac_ext=c
39593 ac_cpp='$CPP $CPPFLAGS'
39594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
39603 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
39605 if test x$glibcxx_cv_func__logf_use = x"yes"; then
39606 for ac_func in _logf
39607 do :
39608 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
39609 if test "x$ac_cv_func__logf" = xyes; then :
39610 cat >>confdefs.h <<_ACEOF
39611 #define HAVE__LOGF 1
39612 _ACEOF
39615 done
39624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
39625 $as_echo_n "checking for log10f declaration... " >&6; }
39626 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
39627 if ${glibcxx_cv_func_log10f_use+:} false; then :
39628 $as_echo_n "(cached) " >&6
39629 else
39632 ac_ext=cpp
39633 ac_cpp='$CXXCPP $CPPFLAGS'
39634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39639 /* end confdefs.h. */
39640 #include <math.h>
39641 #ifdef HAVE_IEEEFP_H
39642 #include <ieeefp.h>
39643 #endif
39646 main ()
39648 log10f(0);
39650 return 0;
39652 _ACEOF
39653 if ac_fn_cxx_try_compile "$LINENO"; then :
39654 glibcxx_cv_func_log10f_use=yes
39655 else
39656 glibcxx_cv_func_log10f_use=no
39658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39659 ac_ext=c
39660 ac_cpp='$CPP $CPPFLAGS'
39661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
39670 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
39672 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
39673 for ac_func in log10f
39674 do :
39675 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
39676 if test "x$ac_cv_func_log10f" = xyes; then :
39677 cat >>confdefs.h <<_ACEOF
39678 #define HAVE_LOG10F 1
39679 _ACEOF
39682 done
39684 else
39686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
39687 $as_echo_n "checking for _log10f declaration... " >&6; }
39688 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
39689 if ${glibcxx_cv_func__log10f_use+:} false; then :
39690 $as_echo_n "(cached) " >&6
39691 else
39694 ac_ext=cpp
39695 ac_cpp='$CXXCPP $CPPFLAGS'
39696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39701 /* end confdefs.h. */
39702 #include <math.h>
39703 #ifdef HAVE_IEEEFP_H
39704 #include <ieeefp.h>
39705 #endif
39708 main ()
39710 _log10f(0);
39712 return 0;
39714 _ACEOF
39715 if ac_fn_cxx_try_compile "$LINENO"; then :
39716 glibcxx_cv_func__log10f_use=yes
39717 else
39718 glibcxx_cv_func__log10f_use=no
39720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39721 ac_ext=c
39722 ac_cpp='$CPP $CPPFLAGS'
39723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
39732 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
39734 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
39735 for ac_func in _log10f
39736 do :
39737 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
39738 if test "x$ac_cv_func__log10f" = xyes; then :
39739 cat >>confdefs.h <<_ACEOF
39740 #define HAVE__LOG10F 1
39741 _ACEOF
39744 done
39753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
39754 $as_echo_n "checking for modff declaration... " >&6; }
39755 if test x${glibcxx_cv_func_modff_use+set} != xset; then
39756 if ${glibcxx_cv_func_modff_use+:} false; then :
39757 $as_echo_n "(cached) " >&6
39758 else
39761 ac_ext=cpp
39762 ac_cpp='$CXXCPP $CPPFLAGS'
39763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39768 /* end confdefs.h. */
39769 #include <math.h>
39771 main ()
39773 modff(0, 0);
39775 return 0;
39777 _ACEOF
39778 if ac_fn_cxx_try_compile "$LINENO"; then :
39779 glibcxx_cv_func_modff_use=yes
39780 else
39781 glibcxx_cv_func_modff_use=no
39783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39784 ac_ext=c
39785 ac_cpp='$CPP $CPPFLAGS'
39786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
39795 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
39797 if test x$glibcxx_cv_func_modff_use = x"yes"; then
39798 for ac_func in modff
39799 do :
39800 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
39801 if test "x$ac_cv_func_modff" = xyes; then :
39802 cat >>confdefs.h <<_ACEOF
39803 #define HAVE_MODFF 1
39804 _ACEOF
39807 done
39809 else
39811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
39812 $as_echo_n "checking for _modff declaration... " >&6; }
39813 if test x${glibcxx_cv_func__modff_use+set} != xset; then
39814 if ${glibcxx_cv_func__modff_use+:} false; then :
39815 $as_echo_n "(cached) " >&6
39816 else
39819 ac_ext=cpp
39820 ac_cpp='$CXXCPP $CPPFLAGS'
39821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39826 /* end confdefs.h. */
39827 #include <math.h>
39829 main ()
39831 _modff(0, 0);
39833 return 0;
39835 _ACEOF
39836 if ac_fn_cxx_try_compile "$LINENO"; then :
39837 glibcxx_cv_func__modff_use=yes
39838 else
39839 glibcxx_cv_func__modff_use=no
39841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39842 ac_ext=c
39843 ac_cpp='$CPP $CPPFLAGS'
39844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
39853 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
39855 if test x$glibcxx_cv_func__modff_use = x"yes"; then
39856 for ac_func in _modff
39857 do :
39858 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
39859 if test "x$ac_cv_func__modff" = xyes; then :
39860 cat >>confdefs.h <<_ACEOF
39861 #define HAVE__MODFF 1
39862 _ACEOF
39865 done
39874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
39875 $as_echo_n "checking for modf declaration... " >&6; }
39876 if test x${glibcxx_cv_func_modf_use+set} != xset; then
39877 if ${glibcxx_cv_func_modf_use+:} false; then :
39878 $as_echo_n "(cached) " >&6
39879 else
39882 ac_ext=cpp
39883 ac_cpp='$CXXCPP $CPPFLAGS'
39884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39889 /* end confdefs.h. */
39890 #include <math.h>
39892 main ()
39894 modf(0, 0);
39896 return 0;
39898 _ACEOF
39899 if ac_fn_cxx_try_compile "$LINENO"; then :
39900 glibcxx_cv_func_modf_use=yes
39901 else
39902 glibcxx_cv_func_modf_use=no
39904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39905 ac_ext=c
39906 ac_cpp='$CPP $CPPFLAGS'
39907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
39916 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
39918 if test x$glibcxx_cv_func_modf_use = x"yes"; then
39919 for ac_func in modf
39920 do :
39921 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
39922 if test "x$ac_cv_func_modf" = xyes; then :
39923 cat >>confdefs.h <<_ACEOF
39924 #define HAVE_MODF 1
39925 _ACEOF
39928 done
39930 else
39932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
39933 $as_echo_n "checking for _modf declaration... " >&6; }
39934 if test x${glibcxx_cv_func__modf_use+set} != xset; then
39935 if ${glibcxx_cv_func__modf_use+:} false; then :
39936 $as_echo_n "(cached) " >&6
39937 else
39940 ac_ext=cpp
39941 ac_cpp='$CXXCPP $CPPFLAGS'
39942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39947 /* end confdefs.h. */
39948 #include <math.h>
39950 main ()
39952 _modf(0, 0);
39954 return 0;
39956 _ACEOF
39957 if ac_fn_cxx_try_compile "$LINENO"; then :
39958 glibcxx_cv_func__modf_use=yes
39959 else
39960 glibcxx_cv_func__modf_use=no
39962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39963 ac_ext=c
39964 ac_cpp='$CPP $CPPFLAGS'
39965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
39974 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
39976 if test x$glibcxx_cv_func__modf_use = x"yes"; then
39977 for ac_func in _modf
39978 do :
39979 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
39980 if test "x$ac_cv_func__modf" = xyes; then :
39981 cat >>confdefs.h <<_ACEOF
39982 #define HAVE__MODF 1
39983 _ACEOF
39986 done
39995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
39996 $as_echo_n "checking for powf declaration... " >&6; }
39997 if test x${glibcxx_cv_func_powf_use+set} != xset; then
39998 if ${glibcxx_cv_func_powf_use+:} false; then :
39999 $as_echo_n "(cached) " >&6
40000 else
40003 ac_ext=cpp
40004 ac_cpp='$CXXCPP $CPPFLAGS'
40005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40010 /* end confdefs.h. */
40011 #include <math.h>
40013 main ()
40015 powf(0, 0);
40017 return 0;
40019 _ACEOF
40020 if ac_fn_cxx_try_compile "$LINENO"; then :
40021 glibcxx_cv_func_powf_use=yes
40022 else
40023 glibcxx_cv_func_powf_use=no
40025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40026 ac_ext=c
40027 ac_cpp='$CPP $CPPFLAGS'
40028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
40037 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
40039 if test x$glibcxx_cv_func_powf_use = x"yes"; then
40040 for ac_func in powf
40041 do :
40042 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
40043 if test "x$ac_cv_func_powf" = xyes; then :
40044 cat >>confdefs.h <<_ACEOF
40045 #define HAVE_POWF 1
40046 _ACEOF
40049 done
40051 else
40053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
40054 $as_echo_n "checking for _powf declaration... " >&6; }
40055 if test x${glibcxx_cv_func__powf_use+set} != xset; then
40056 if ${glibcxx_cv_func__powf_use+:} false; then :
40057 $as_echo_n "(cached) " >&6
40058 else
40061 ac_ext=cpp
40062 ac_cpp='$CXXCPP $CPPFLAGS'
40063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40068 /* end confdefs.h. */
40069 #include <math.h>
40071 main ()
40073 _powf(0, 0);
40075 return 0;
40077 _ACEOF
40078 if ac_fn_cxx_try_compile "$LINENO"; then :
40079 glibcxx_cv_func__powf_use=yes
40080 else
40081 glibcxx_cv_func__powf_use=no
40083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40084 ac_ext=c
40085 ac_cpp='$CPP $CPPFLAGS'
40086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
40095 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
40097 if test x$glibcxx_cv_func__powf_use = x"yes"; then
40098 for ac_func in _powf
40099 do :
40100 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
40101 if test "x$ac_cv_func__powf" = xyes; then :
40102 cat >>confdefs.h <<_ACEOF
40103 #define HAVE__POWF 1
40104 _ACEOF
40107 done
40116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
40117 $as_echo_n "checking for sqrtf declaration... " >&6; }
40118 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
40119 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
40120 $as_echo_n "(cached) " >&6
40121 else
40124 ac_ext=cpp
40125 ac_cpp='$CXXCPP $CPPFLAGS'
40126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40131 /* end confdefs.h. */
40132 #include <math.h>
40133 #ifdef HAVE_IEEEFP_H
40134 #include <ieeefp.h>
40135 #endif
40138 main ()
40140 sqrtf(0);
40142 return 0;
40144 _ACEOF
40145 if ac_fn_cxx_try_compile "$LINENO"; then :
40146 glibcxx_cv_func_sqrtf_use=yes
40147 else
40148 glibcxx_cv_func_sqrtf_use=no
40150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40151 ac_ext=c
40152 ac_cpp='$CPP $CPPFLAGS'
40153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
40162 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
40164 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
40165 for ac_func in sqrtf
40166 do :
40167 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
40168 if test "x$ac_cv_func_sqrtf" = xyes; then :
40169 cat >>confdefs.h <<_ACEOF
40170 #define HAVE_SQRTF 1
40171 _ACEOF
40174 done
40176 else
40178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
40179 $as_echo_n "checking for _sqrtf declaration... " >&6; }
40180 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
40181 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
40182 $as_echo_n "(cached) " >&6
40183 else
40186 ac_ext=cpp
40187 ac_cpp='$CXXCPP $CPPFLAGS'
40188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40193 /* end confdefs.h. */
40194 #include <math.h>
40195 #ifdef HAVE_IEEEFP_H
40196 #include <ieeefp.h>
40197 #endif
40200 main ()
40202 _sqrtf(0);
40204 return 0;
40206 _ACEOF
40207 if ac_fn_cxx_try_compile "$LINENO"; then :
40208 glibcxx_cv_func__sqrtf_use=yes
40209 else
40210 glibcxx_cv_func__sqrtf_use=no
40212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40213 ac_ext=c
40214 ac_cpp='$CPP $CPPFLAGS'
40215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
40224 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
40226 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
40227 for ac_func in _sqrtf
40228 do :
40229 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
40230 if test "x$ac_cv_func__sqrtf" = xyes; then :
40231 cat >>confdefs.h <<_ACEOF
40232 #define HAVE__SQRTF 1
40233 _ACEOF
40236 done
40245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
40246 $as_echo_n "checking for sincosf declaration... " >&6; }
40247 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
40248 if ${glibcxx_cv_func_sincosf_use+:} false; then :
40249 $as_echo_n "(cached) " >&6
40250 else
40253 ac_ext=cpp
40254 ac_cpp='$CXXCPP $CPPFLAGS'
40255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40260 /* end confdefs.h. */
40261 #include <math.h>
40263 main ()
40265 sincosf(0, 0, 0);
40267 return 0;
40269 _ACEOF
40270 if ac_fn_cxx_try_compile "$LINENO"; then :
40271 glibcxx_cv_func_sincosf_use=yes
40272 else
40273 glibcxx_cv_func_sincosf_use=no
40275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40276 ac_ext=c
40277 ac_cpp='$CPP $CPPFLAGS'
40278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
40287 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
40289 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
40290 for ac_func in sincosf
40291 do :
40292 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
40293 if test "x$ac_cv_func_sincosf" = xyes; then :
40294 cat >>confdefs.h <<_ACEOF
40295 #define HAVE_SINCOSF 1
40296 _ACEOF
40299 done
40301 else
40303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
40304 $as_echo_n "checking for _sincosf declaration... " >&6; }
40305 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
40306 if ${glibcxx_cv_func__sincosf_use+:} false; then :
40307 $as_echo_n "(cached) " >&6
40308 else
40311 ac_ext=cpp
40312 ac_cpp='$CXXCPP $CPPFLAGS'
40313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40318 /* end confdefs.h. */
40319 #include <math.h>
40321 main ()
40323 _sincosf(0, 0, 0);
40325 return 0;
40327 _ACEOF
40328 if ac_fn_cxx_try_compile "$LINENO"; then :
40329 glibcxx_cv_func__sincosf_use=yes
40330 else
40331 glibcxx_cv_func__sincosf_use=no
40333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40334 ac_ext=c
40335 ac_cpp='$CPP $CPPFLAGS'
40336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
40345 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
40347 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
40348 for ac_func in _sincosf
40349 do :
40350 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
40351 if test "x$ac_cv_func__sincosf" = xyes; then :
40352 cat >>confdefs.h <<_ACEOF
40353 #define HAVE__SINCOSF 1
40354 _ACEOF
40357 done
40366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
40367 $as_echo_n "checking for finitef declaration... " >&6; }
40368 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
40369 if ${glibcxx_cv_func_finitef_use+:} false; then :
40370 $as_echo_n "(cached) " >&6
40371 else
40374 ac_ext=cpp
40375 ac_cpp='$CXXCPP $CPPFLAGS'
40376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40381 /* end confdefs.h. */
40382 #include <math.h>
40383 #ifdef HAVE_IEEEFP_H
40384 #include <ieeefp.h>
40385 #endif
40388 main ()
40390 finitef(0);
40392 return 0;
40394 _ACEOF
40395 if ac_fn_cxx_try_compile "$LINENO"; then :
40396 glibcxx_cv_func_finitef_use=yes
40397 else
40398 glibcxx_cv_func_finitef_use=no
40400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40401 ac_ext=c
40402 ac_cpp='$CPP $CPPFLAGS'
40403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
40412 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
40414 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
40415 for ac_func in finitef
40416 do :
40417 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
40418 if test "x$ac_cv_func_finitef" = xyes; then :
40419 cat >>confdefs.h <<_ACEOF
40420 #define HAVE_FINITEF 1
40421 _ACEOF
40424 done
40426 else
40428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
40429 $as_echo_n "checking for _finitef declaration... " >&6; }
40430 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
40431 if ${glibcxx_cv_func__finitef_use+:} false; then :
40432 $as_echo_n "(cached) " >&6
40433 else
40436 ac_ext=cpp
40437 ac_cpp='$CXXCPP $CPPFLAGS'
40438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40443 /* end confdefs.h. */
40444 #include <math.h>
40445 #ifdef HAVE_IEEEFP_H
40446 #include <ieeefp.h>
40447 #endif
40450 main ()
40452 _finitef(0);
40454 return 0;
40456 _ACEOF
40457 if ac_fn_cxx_try_compile "$LINENO"; then :
40458 glibcxx_cv_func__finitef_use=yes
40459 else
40460 glibcxx_cv_func__finitef_use=no
40462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40463 ac_ext=c
40464 ac_cpp='$CPP $CPPFLAGS'
40465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
40474 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
40476 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
40477 for ac_func in _finitef
40478 do :
40479 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
40480 if test "x$ac_cv_func__finitef" = xyes; then :
40481 cat >>confdefs.h <<_ACEOF
40482 #define HAVE__FINITEF 1
40483 _ACEOF
40486 done
40495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
40496 $as_echo_n "checking for long double trig functions... " >&6; }
40497 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
40498 $as_echo_n "(cached) " >&6
40499 else
40502 ac_ext=cpp
40503 ac_cpp='$CXXCPP $CPPFLAGS'
40504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40509 /* end confdefs.h. */
40510 #include <math.h>
40512 main ()
40514 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
40516 return 0;
40518 _ACEOF
40519 if ac_fn_cxx_try_compile "$LINENO"; then :
40520 glibcxx_cv_func_long_double_trig_use=yes
40521 else
40522 glibcxx_cv_func_long_double_trig_use=no
40524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40525 ac_ext=c
40526 ac_cpp='$CPP $CPPFLAGS'
40527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
40534 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
40535 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
40536 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
40537 do :
40538 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40539 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40540 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
40541 cat >>confdefs.h <<_ACEOF
40542 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40543 _ACEOF
40546 done
40548 else
40549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
40550 $as_echo_n "checking for _long double trig functions... " >&6; }
40551 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
40552 $as_echo_n "(cached) " >&6
40553 else
40556 ac_ext=cpp
40557 ac_cpp='$CXXCPP $CPPFLAGS'
40558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40563 /* end confdefs.h. */
40564 #include <math.h>
40566 main ()
40568 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
40570 return 0;
40572 _ACEOF
40573 if ac_fn_cxx_try_compile "$LINENO"; then :
40574 glibcxx_cv_func__long_double_trig_use=yes
40575 else
40576 glibcxx_cv_func__long_double_trig_use=no
40578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40579 ac_ext=c
40580 ac_cpp='$CPP $CPPFLAGS'
40581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
40588 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
40589 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
40590 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
40591 do :
40592 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40593 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40594 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
40595 cat >>confdefs.h <<_ACEOF
40596 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40597 _ACEOF
40600 done
40609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
40610 $as_echo_n "checking for long double round functions... " >&6; }
40611 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
40612 $as_echo_n "(cached) " >&6
40613 else
40616 ac_ext=cpp
40617 ac_cpp='$CXXCPP $CPPFLAGS'
40618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40623 /* end confdefs.h. */
40624 #include <math.h>
40626 main ()
40628 ceill (0); floorl (0);
40630 return 0;
40632 _ACEOF
40633 if ac_fn_cxx_try_compile "$LINENO"; then :
40634 glibcxx_cv_func_long_double_round_use=yes
40635 else
40636 glibcxx_cv_func_long_double_round_use=no
40638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40639 ac_ext=c
40640 ac_cpp='$CPP $CPPFLAGS'
40641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
40648 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
40649 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
40650 for ac_func in ceill floorl
40651 do :
40652 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40653 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40654 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
40655 cat >>confdefs.h <<_ACEOF
40656 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40657 _ACEOF
40660 done
40662 else
40663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
40664 $as_echo_n "checking for _long double round functions... " >&6; }
40665 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
40666 $as_echo_n "(cached) " >&6
40667 else
40670 ac_ext=cpp
40671 ac_cpp='$CXXCPP $CPPFLAGS'
40672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40677 /* end confdefs.h. */
40678 #include <math.h>
40680 main ()
40682 _ceill (0); _floorl (0);
40684 return 0;
40686 _ACEOF
40687 if ac_fn_cxx_try_compile "$LINENO"; then :
40688 glibcxx_cv_func__long_double_round_use=yes
40689 else
40690 glibcxx_cv_func__long_double_round_use=no
40692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40693 ac_ext=c
40694 ac_cpp='$CPP $CPPFLAGS'
40695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
40702 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
40703 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
40704 for ac_func in _ceill _floorl
40705 do :
40706 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40707 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40708 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
40709 cat >>confdefs.h <<_ACEOF
40710 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40711 _ACEOF
40714 done
40724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
40725 $as_echo_n "checking for isnanl declaration... " >&6; }
40726 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
40727 if ${glibcxx_cv_func_isnanl_use+:} false; then :
40728 $as_echo_n "(cached) " >&6
40729 else
40732 ac_ext=cpp
40733 ac_cpp='$CXXCPP $CPPFLAGS'
40734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40739 /* end confdefs.h. */
40740 #include <math.h>
40741 #ifdef HAVE_IEEEFP_H
40742 #include <ieeefp.h>
40743 #endif
40746 main ()
40748 isnanl(0);
40750 return 0;
40752 _ACEOF
40753 if ac_fn_cxx_try_compile "$LINENO"; then :
40754 glibcxx_cv_func_isnanl_use=yes
40755 else
40756 glibcxx_cv_func_isnanl_use=no
40758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40759 ac_ext=c
40760 ac_cpp='$CPP $CPPFLAGS'
40761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
40770 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
40772 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
40773 for ac_func in isnanl
40774 do :
40775 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
40776 if test "x$ac_cv_func_isnanl" = xyes; then :
40777 cat >>confdefs.h <<_ACEOF
40778 #define HAVE_ISNANL 1
40779 _ACEOF
40782 done
40784 else
40786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
40787 $as_echo_n "checking for _isnanl declaration... " >&6; }
40788 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
40789 if ${glibcxx_cv_func__isnanl_use+:} false; then :
40790 $as_echo_n "(cached) " >&6
40791 else
40794 ac_ext=cpp
40795 ac_cpp='$CXXCPP $CPPFLAGS'
40796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40801 /* end confdefs.h. */
40802 #include <math.h>
40803 #ifdef HAVE_IEEEFP_H
40804 #include <ieeefp.h>
40805 #endif
40808 main ()
40810 _isnanl(0);
40812 return 0;
40814 _ACEOF
40815 if ac_fn_cxx_try_compile "$LINENO"; then :
40816 glibcxx_cv_func__isnanl_use=yes
40817 else
40818 glibcxx_cv_func__isnanl_use=no
40820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40821 ac_ext=c
40822 ac_cpp='$CPP $CPPFLAGS'
40823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
40832 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
40834 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
40835 for ac_func in _isnanl
40836 do :
40837 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
40838 if test "x$ac_cv_func__isnanl" = xyes; then :
40839 cat >>confdefs.h <<_ACEOF
40840 #define HAVE__ISNANL 1
40841 _ACEOF
40844 done
40853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
40854 $as_echo_n "checking for isinfl declaration... " >&6; }
40855 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
40856 if ${glibcxx_cv_func_isinfl_use+:} false; then :
40857 $as_echo_n "(cached) " >&6
40858 else
40861 ac_ext=cpp
40862 ac_cpp='$CXXCPP $CPPFLAGS'
40863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40868 /* end confdefs.h. */
40869 #include <math.h>
40870 #ifdef HAVE_IEEEFP_H
40871 #include <ieeefp.h>
40872 #endif
40875 main ()
40877 isinfl(0);
40879 return 0;
40881 _ACEOF
40882 if ac_fn_cxx_try_compile "$LINENO"; then :
40883 glibcxx_cv_func_isinfl_use=yes
40884 else
40885 glibcxx_cv_func_isinfl_use=no
40887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40888 ac_ext=c
40889 ac_cpp='$CPP $CPPFLAGS'
40890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
40899 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
40901 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
40902 for ac_func in isinfl
40903 do :
40904 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
40905 if test "x$ac_cv_func_isinfl" = xyes; then :
40906 cat >>confdefs.h <<_ACEOF
40907 #define HAVE_ISINFL 1
40908 _ACEOF
40911 done
40913 else
40915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
40916 $as_echo_n "checking for _isinfl declaration... " >&6; }
40917 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
40918 if ${glibcxx_cv_func__isinfl_use+:} false; then :
40919 $as_echo_n "(cached) " >&6
40920 else
40923 ac_ext=cpp
40924 ac_cpp='$CXXCPP $CPPFLAGS'
40925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40930 /* end confdefs.h. */
40931 #include <math.h>
40932 #ifdef HAVE_IEEEFP_H
40933 #include <ieeefp.h>
40934 #endif
40937 main ()
40939 _isinfl(0);
40941 return 0;
40943 _ACEOF
40944 if ac_fn_cxx_try_compile "$LINENO"; then :
40945 glibcxx_cv_func__isinfl_use=yes
40946 else
40947 glibcxx_cv_func__isinfl_use=no
40949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40950 ac_ext=c
40951 ac_cpp='$CPP $CPPFLAGS'
40952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
40961 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
40963 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
40964 for ac_func in _isinfl
40965 do :
40966 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
40967 if test "x$ac_cv_func__isinfl" = xyes; then :
40968 cat >>confdefs.h <<_ACEOF
40969 #define HAVE__ISINFL 1
40970 _ACEOF
40973 done
40982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
40983 $as_echo_n "checking for atan2l declaration... " >&6; }
40984 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
40985 if ${glibcxx_cv_func_atan2l_use+:} false; then :
40986 $as_echo_n "(cached) " >&6
40987 else
40990 ac_ext=cpp
40991 ac_cpp='$CXXCPP $CPPFLAGS'
40992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40997 /* end confdefs.h. */
40998 #include <math.h>
41000 main ()
41002 atan2l(0, 0);
41004 return 0;
41006 _ACEOF
41007 if ac_fn_cxx_try_compile "$LINENO"; then :
41008 glibcxx_cv_func_atan2l_use=yes
41009 else
41010 glibcxx_cv_func_atan2l_use=no
41012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41013 ac_ext=c
41014 ac_cpp='$CPP $CPPFLAGS'
41015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
41024 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
41026 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
41027 for ac_func in atan2l
41028 do :
41029 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
41030 if test "x$ac_cv_func_atan2l" = xyes; then :
41031 cat >>confdefs.h <<_ACEOF
41032 #define HAVE_ATAN2L 1
41033 _ACEOF
41036 done
41038 else
41040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
41041 $as_echo_n "checking for _atan2l declaration... " >&6; }
41042 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
41043 if ${glibcxx_cv_func__atan2l_use+:} false; then :
41044 $as_echo_n "(cached) " >&6
41045 else
41048 ac_ext=cpp
41049 ac_cpp='$CXXCPP $CPPFLAGS'
41050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41055 /* end confdefs.h. */
41056 #include <math.h>
41058 main ()
41060 _atan2l(0, 0);
41062 return 0;
41064 _ACEOF
41065 if ac_fn_cxx_try_compile "$LINENO"; then :
41066 glibcxx_cv_func__atan2l_use=yes
41067 else
41068 glibcxx_cv_func__atan2l_use=no
41070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41071 ac_ext=c
41072 ac_cpp='$CPP $CPPFLAGS'
41073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
41082 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
41084 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
41085 for ac_func in _atan2l
41086 do :
41087 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
41088 if test "x$ac_cv_func__atan2l" = xyes; then :
41089 cat >>confdefs.h <<_ACEOF
41090 #define HAVE__ATAN2L 1
41091 _ACEOF
41094 done
41103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
41104 $as_echo_n "checking for expl declaration... " >&6; }
41105 if test x${glibcxx_cv_func_expl_use+set} != xset; then
41106 if ${glibcxx_cv_func_expl_use+:} false; then :
41107 $as_echo_n "(cached) " >&6
41108 else
41111 ac_ext=cpp
41112 ac_cpp='$CXXCPP $CPPFLAGS'
41113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41118 /* end confdefs.h. */
41119 #include <math.h>
41120 #ifdef HAVE_IEEEFP_H
41121 #include <ieeefp.h>
41122 #endif
41125 main ()
41127 expl(0);
41129 return 0;
41131 _ACEOF
41132 if ac_fn_cxx_try_compile "$LINENO"; then :
41133 glibcxx_cv_func_expl_use=yes
41134 else
41135 glibcxx_cv_func_expl_use=no
41137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41138 ac_ext=c
41139 ac_cpp='$CPP $CPPFLAGS'
41140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
41149 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
41151 if test x$glibcxx_cv_func_expl_use = x"yes"; then
41152 for ac_func in expl
41153 do :
41154 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
41155 if test "x$ac_cv_func_expl" = xyes; then :
41156 cat >>confdefs.h <<_ACEOF
41157 #define HAVE_EXPL 1
41158 _ACEOF
41161 done
41163 else
41165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
41166 $as_echo_n "checking for _expl declaration... " >&6; }
41167 if test x${glibcxx_cv_func__expl_use+set} != xset; then
41168 if ${glibcxx_cv_func__expl_use+:} false; then :
41169 $as_echo_n "(cached) " >&6
41170 else
41173 ac_ext=cpp
41174 ac_cpp='$CXXCPP $CPPFLAGS'
41175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41180 /* end confdefs.h. */
41181 #include <math.h>
41182 #ifdef HAVE_IEEEFP_H
41183 #include <ieeefp.h>
41184 #endif
41187 main ()
41189 _expl(0);
41191 return 0;
41193 _ACEOF
41194 if ac_fn_cxx_try_compile "$LINENO"; then :
41195 glibcxx_cv_func__expl_use=yes
41196 else
41197 glibcxx_cv_func__expl_use=no
41199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41200 ac_ext=c
41201 ac_cpp='$CPP $CPPFLAGS'
41202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
41211 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
41213 if test x$glibcxx_cv_func__expl_use = x"yes"; then
41214 for ac_func in _expl
41215 do :
41216 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
41217 if test "x$ac_cv_func__expl" = xyes; then :
41218 cat >>confdefs.h <<_ACEOF
41219 #define HAVE__EXPL 1
41220 _ACEOF
41223 done
41232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
41233 $as_echo_n "checking for fabsl declaration... " >&6; }
41234 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
41235 if ${glibcxx_cv_func_fabsl_use+:} false; then :
41236 $as_echo_n "(cached) " >&6
41237 else
41240 ac_ext=cpp
41241 ac_cpp='$CXXCPP $CPPFLAGS'
41242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41247 /* end confdefs.h. */
41248 #include <math.h>
41249 #ifdef HAVE_IEEEFP_H
41250 #include <ieeefp.h>
41251 #endif
41254 main ()
41256 fabsl(0);
41258 return 0;
41260 _ACEOF
41261 if ac_fn_cxx_try_compile "$LINENO"; then :
41262 glibcxx_cv_func_fabsl_use=yes
41263 else
41264 glibcxx_cv_func_fabsl_use=no
41266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41267 ac_ext=c
41268 ac_cpp='$CPP $CPPFLAGS'
41269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
41278 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
41280 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
41281 for ac_func in fabsl
41282 do :
41283 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
41284 if test "x$ac_cv_func_fabsl" = xyes; then :
41285 cat >>confdefs.h <<_ACEOF
41286 #define HAVE_FABSL 1
41287 _ACEOF
41290 done
41292 else
41294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
41295 $as_echo_n "checking for _fabsl declaration... " >&6; }
41296 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
41297 if ${glibcxx_cv_func__fabsl_use+:} false; then :
41298 $as_echo_n "(cached) " >&6
41299 else
41302 ac_ext=cpp
41303 ac_cpp='$CXXCPP $CPPFLAGS'
41304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41309 /* end confdefs.h. */
41310 #include <math.h>
41311 #ifdef HAVE_IEEEFP_H
41312 #include <ieeefp.h>
41313 #endif
41316 main ()
41318 _fabsl(0);
41320 return 0;
41322 _ACEOF
41323 if ac_fn_cxx_try_compile "$LINENO"; then :
41324 glibcxx_cv_func__fabsl_use=yes
41325 else
41326 glibcxx_cv_func__fabsl_use=no
41328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41329 ac_ext=c
41330 ac_cpp='$CPP $CPPFLAGS'
41331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
41340 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
41342 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
41343 for ac_func in _fabsl
41344 do :
41345 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
41346 if test "x$ac_cv_func__fabsl" = xyes; then :
41347 cat >>confdefs.h <<_ACEOF
41348 #define HAVE__FABSL 1
41349 _ACEOF
41352 done
41361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
41362 $as_echo_n "checking for fmodl declaration... " >&6; }
41363 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
41364 if ${glibcxx_cv_func_fmodl_use+:} false; then :
41365 $as_echo_n "(cached) " >&6
41366 else
41369 ac_ext=cpp
41370 ac_cpp='$CXXCPP $CPPFLAGS'
41371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41376 /* end confdefs.h. */
41377 #include <math.h>
41379 main ()
41381 fmodl(0, 0);
41383 return 0;
41385 _ACEOF
41386 if ac_fn_cxx_try_compile "$LINENO"; then :
41387 glibcxx_cv_func_fmodl_use=yes
41388 else
41389 glibcxx_cv_func_fmodl_use=no
41391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41392 ac_ext=c
41393 ac_cpp='$CPP $CPPFLAGS'
41394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
41403 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
41405 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
41406 for ac_func in fmodl
41407 do :
41408 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
41409 if test "x$ac_cv_func_fmodl" = xyes; then :
41410 cat >>confdefs.h <<_ACEOF
41411 #define HAVE_FMODL 1
41412 _ACEOF
41415 done
41417 else
41419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
41420 $as_echo_n "checking for _fmodl declaration... " >&6; }
41421 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
41422 if ${glibcxx_cv_func__fmodl_use+:} false; then :
41423 $as_echo_n "(cached) " >&6
41424 else
41427 ac_ext=cpp
41428 ac_cpp='$CXXCPP $CPPFLAGS'
41429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41434 /* end confdefs.h. */
41435 #include <math.h>
41437 main ()
41439 _fmodl(0, 0);
41441 return 0;
41443 _ACEOF
41444 if ac_fn_cxx_try_compile "$LINENO"; then :
41445 glibcxx_cv_func__fmodl_use=yes
41446 else
41447 glibcxx_cv_func__fmodl_use=no
41449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41450 ac_ext=c
41451 ac_cpp='$CPP $CPPFLAGS'
41452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
41461 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
41463 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
41464 for ac_func in _fmodl
41465 do :
41466 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
41467 if test "x$ac_cv_func__fmodl" = xyes; then :
41468 cat >>confdefs.h <<_ACEOF
41469 #define HAVE__FMODL 1
41470 _ACEOF
41473 done
41482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
41483 $as_echo_n "checking for frexpl declaration... " >&6; }
41484 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
41485 if ${glibcxx_cv_func_frexpl_use+:} false; then :
41486 $as_echo_n "(cached) " >&6
41487 else
41490 ac_ext=cpp
41491 ac_cpp='$CXXCPP $CPPFLAGS'
41492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41497 /* end confdefs.h. */
41498 #include <math.h>
41500 main ()
41502 frexpl(0, 0);
41504 return 0;
41506 _ACEOF
41507 if ac_fn_cxx_try_compile "$LINENO"; then :
41508 glibcxx_cv_func_frexpl_use=yes
41509 else
41510 glibcxx_cv_func_frexpl_use=no
41512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41513 ac_ext=c
41514 ac_cpp='$CPP $CPPFLAGS'
41515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
41524 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
41526 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
41527 for ac_func in frexpl
41528 do :
41529 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
41530 if test "x$ac_cv_func_frexpl" = xyes; then :
41531 cat >>confdefs.h <<_ACEOF
41532 #define HAVE_FREXPL 1
41533 _ACEOF
41536 done
41538 else
41540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
41541 $as_echo_n "checking for _frexpl declaration... " >&6; }
41542 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
41543 if ${glibcxx_cv_func__frexpl_use+:} false; then :
41544 $as_echo_n "(cached) " >&6
41545 else
41548 ac_ext=cpp
41549 ac_cpp='$CXXCPP $CPPFLAGS'
41550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41555 /* end confdefs.h. */
41556 #include <math.h>
41558 main ()
41560 _frexpl(0, 0);
41562 return 0;
41564 _ACEOF
41565 if ac_fn_cxx_try_compile "$LINENO"; then :
41566 glibcxx_cv_func__frexpl_use=yes
41567 else
41568 glibcxx_cv_func__frexpl_use=no
41570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41571 ac_ext=c
41572 ac_cpp='$CPP $CPPFLAGS'
41573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
41582 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
41584 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
41585 for ac_func in _frexpl
41586 do :
41587 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
41588 if test "x$ac_cv_func__frexpl" = xyes; then :
41589 cat >>confdefs.h <<_ACEOF
41590 #define HAVE__FREXPL 1
41591 _ACEOF
41594 done
41603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
41604 $as_echo_n "checking for hypotl declaration... " >&6; }
41605 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
41606 if ${glibcxx_cv_func_hypotl_use+:} false; then :
41607 $as_echo_n "(cached) " >&6
41608 else
41611 ac_ext=cpp
41612 ac_cpp='$CXXCPP $CPPFLAGS'
41613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41618 /* end confdefs.h. */
41619 #include <math.h>
41621 main ()
41623 hypotl(0, 0);
41625 return 0;
41627 _ACEOF
41628 if ac_fn_cxx_try_compile "$LINENO"; then :
41629 glibcxx_cv_func_hypotl_use=yes
41630 else
41631 glibcxx_cv_func_hypotl_use=no
41633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41634 ac_ext=c
41635 ac_cpp='$CPP $CPPFLAGS'
41636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
41645 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
41647 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
41648 for ac_func in hypotl
41649 do :
41650 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
41651 if test "x$ac_cv_func_hypotl" = xyes; then :
41652 cat >>confdefs.h <<_ACEOF
41653 #define HAVE_HYPOTL 1
41654 _ACEOF
41657 done
41659 else
41661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
41662 $as_echo_n "checking for _hypotl declaration... " >&6; }
41663 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
41664 if ${glibcxx_cv_func__hypotl_use+:} false; then :
41665 $as_echo_n "(cached) " >&6
41666 else
41669 ac_ext=cpp
41670 ac_cpp='$CXXCPP $CPPFLAGS'
41671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41676 /* end confdefs.h. */
41677 #include <math.h>
41679 main ()
41681 _hypotl(0, 0);
41683 return 0;
41685 _ACEOF
41686 if ac_fn_cxx_try_compile "$LINENO"; then :
41687 glibcxx_cv_func__hypotl_use=yes
41688 else
41689 glibcxx_cv_func__hypotl_use=no
41691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41692 ac_ext=c
41693 ac_cpp='$CPP $CPPFLAGS'
41694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
41703 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
41705 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
41706 for ac_func in _hypotl
41707 do :
41708 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
41709 if test "x$ac_cv_func__hypotl" = xyes; then :
41710 cat >>confdefs.h <<_ACEOF
41711 #define HAVE__HYPOTL 1
41712 _ACEOF
41715 done
41724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
41725 $as_echo_n "checking for ldexpl declaration... " >&6; }
41726 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
41727 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
41728 $as_echo_n "(cached) " >&6
41729 else
41732 ac_ext=cpp
41733 ac_cpp='$CXXCPP $CPPFLAGS'
41734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41739 /* end confdefs.h. */
41740 #include <math.h>
41742 main ()
41744 ldexpl(0, 0);
41746 return 0;
41748 _ACEOF
41749 if ac_fn_cxx_try_compile "$LINENO"; then :
41750 glibcxx_cv_func_ldexpl_use=yes
41751 else
41752 glibcxx_cv_func_ldexpl_use=no
41754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41755 ac_ext=c
41756 ac_cpp='$CPP $CPPFLAGS'
41757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
41766 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
41768 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
41769 for ac_func in ldexpl
41770 do :
41771 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
41772 if test "x$ac_cv_func_ldexpl" = xyes; then :
41773 cat >>confdefs.h <<_ACEOF
41774 #define HAVE_LDEXPL 1
41775 _ACEOF
41778 done
41780 else
41782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
41783 $as_echo_n "checking for _ldexpl declaration... " >&6; }
41784 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
41785 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
41786 $as_echo_n "(cached) " >&6
41787 else
41790 ac_ext=cpp
41791 ac_cpp='$CXXCPP $CPPFLAGS'
41792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41797 /* end confdefs.h. */
41798 #include <math.h>
41800 main ()
41802 _ldexpl(0, 0);
41804 return 0;
41806 _ACEOF
41807 if ac_fn_cxx_try_compile "$LINENO"; then :
41808 glibcxx_cv_func__ldexpl_use=yes
41809 else
41810 glibcxx_cv_func__ldexpl_use=no
41812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41813 ac_ext=c
41814 ac_cpp='$CPP $CPPFLAGS'
41815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
41824 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
41826 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
41827 for ac_func in _ldexpl
41828 do :
41829 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
41830 if test "x$ac_cv_func__ldexpl" = xyes; then :
41831 cat >>confdefs.h <<_ACEOF
41832 #define HAVE__LDEXPL 1
41833 _ACEOF
41836 done
41845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
41846 $as_echo_n "checking for logl declaration... " >&6; }
41847 if test x${glibcxx_cv_func_logl_use+set} != xset; then
41848 if ${glibcxx_cv_func_logl_use+:} false; then :
41849 $as_echo_n "(cached) " >&6
41850 else
41853 ac_ext=cpp
41854 ac_cpp='$CXXCPP $CPPFLAGS'
41855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41860 /* end confdefs.h. */
41861 #include <math.h>
41862 #ifdef HAVE_IEEEFP_H
41863 #include <ieeefp.h>
41864 #endif
41867 main ()
41869 logl(0);
41871 return 0;
41873 _ACEOF
41874 if ac_fn_cxx_try_compile "$LINENO"; then :
41875 glibcxx_cv_func_logl_use=yes
41876 else
41877 glibcxx_cv_func_logl_use=no
41879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41880 ac_ext=c
41881 ac_cpp='$CPP $CPPFLAGS'
41882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
41891 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
41893 if test x$glibcxx_cv_func_logl_use = x"yes"; then
41894 for ac_func in logl
41895 do :
41896 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
41897 if test "x$ac_cv_func_logl" = xyes; then :
41898 cat >>confdefs.h <<_ACEOF
41899 #define HAVE_LOGL 1
41900 _ACEOF
41903 done
41905 else
41907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
41908 $as_echo_n "checking for _logl declaration... " >&6; }
41909 if test x${glibcxx_cv_func__logl_use+set} != xset; then
41910 if ${glibcxx_cv_func__logl_use+:} false; then :
41911 $as_echo_n "(cached) " >&6
41912 else
41915 ac_ext=cpp
41916 ac_cpp='$CXXCPP $CPPFLAGS'
41917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41922 /* end confdefs.h. */
41923 #include <math.h>
41924 #ifdef HAVE_IEEEFP_H
41925 #include <ieeefp.h>
41926 #endif
41929 main ()
41931 _logl(0);
41933 return 0;
41935 _ACEOF
41936 if ac_fn_cxx_try_compile "$LINENO"; then :
41937 glibcxx_cv_func__logl_use=yes
41938 else
41939 glibcxx_cv_func__logl_use=no
41941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41942 ac_ext=c
41943 ac_cpp='$CPP $CPPFLAGS'
41944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
41953 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
41955 if test x$glibcxx_cv_func__logl_use = x"yes"; then
41956 for ac_func in _logl
41957 do :
41958 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
41959 if test "x$ac_cv_func__logl" = xyes; then :
41960 cat >>confdefs.h <<_ACEOF
41961 #define HAVE__LOGL 1
41962 _ACEOF
41965 done
41974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
41975 $as_echo_n "checking for log10l declaration... " >&6; }
41976 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
41977 if ${glibcxx_cv_func_log10l_use+:} false; then :
41978 $as_echo_n "(cached) " >&6
41979 else
41982 ac_ext=cpp
41983 ac_cpp='$CXXCPP $CPPFLAGS'
41984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41989 /* end confdefs.h. */
41990 #include <math.h>
41991 #ifdef HAVE_IEEEFP_H
41992 #include <ieeefp.h>
41993 #endif
41996 main ()
41998 log10l(0);
42000 return 0;
42002 _ACEOF
42003 if ac_fn_cxx_try_compile "$LINENO"; then :
42004 glibcxx_cv_func_log10l_use=yes
42005 else
42006 glibcxx_cv_func_log10l_use=no
42008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42009 ac_ext=c
42010 ac_cpp='$CPP $CPPFLAGS'
42011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
42020 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
42022 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
42023 for ac_func in log10l
42024 do :
42025 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
42026 if test "x$ac_cv_func_log10l" = xyes; then :
42027 cat >>confdefs.h <<_ACEOF
42028 #define HAVE_LOG10L 1
42029 _ACEOF
42032 done
42034 else
42036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
42037 $as_echo_n "checking for _log10l declaration... " >&6; }
42038 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
42039 if ${glibcxx_cv_func__log10l_use+:} false; then :
42040 $as_echo_n "(cached) " >&6
42041 else
42044 ac_ext=cpp
42045 ac_cpp='$CXXCPP $CPPFLAGS'
42046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42051 /* end confdefs.h. */
42052 #include <math.h>
42053 #ifdef HAVE_IEEEFP_H
42054 #include <ieeefp.h>
42055 #endif
42058 main ()
42060 _log10l(0);
42062 return 0;
42064 _ACEOF
42065 if ac_fn_cxx_try_compile "$LINENO"; then :
42066 glibcxx_cv_func__log10l_use=yes
42067 else
42068 glibcxx_cv_func__log10l_use=no
42070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42071 ac_ext=c
42072 ac_cpp='$CPP $CPPFLAGS'
42073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
42082 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
42084 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
42085 for ac_func in _log10l
42086 do :
42087 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
42088 if test "x$ac_cv_func__log10l" = xyes; then :
42089 cat >>confdefs.h <<_ACEOF
42090 #define HAVE__LOG10L 1
42091 _ACEOF
42094 done
42103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
42104 $as_echo_n "checking for modfl declaration... " >&6; }
42105 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
42106 if ${glibcxx_cv_func_modfl_use+:} false; then :
42107 $as_echo_n "(cached) " >&6
42108 else
42111 ac_ext=cpp
42112 ac_cpp='$CXXCPP $CPPFLAGS'
42113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42118 /* end confdefs.h. */
42119 #include <math.h>
42121 main ()
42123 modfl(0, 0);
42125 return 0;
42127 _ACEOF
42128 if ac_fn_cxx_try_compile "$LINENO"; then :
42129 glibcxx_cv_func_modfl_use=yes
42130 else
42131 glibcxx_cv_func_modfl_use=no
42133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42134 ac_ext=c
42135 ac_cpp='$CPP $CPPFLAGS'
42136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
42145 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
42147 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
42148 for ac_func in modfl
42149 do :
42150 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
42151 if test "x$ac_cv_func_modfl" = xyes; then :
42152 cat >>confdefs.h <<_ACEOF
42153 #define HAVE_MODFL 1
42154 _ACEOF
42157 done
42159 else
42161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
42162 $as_echo_n "checking for _modfl declaration... " >&6; }
42163 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
42164 if ${glibcxx_cv_func__modfl_use+:} false; then :
42165 $as_echo_n "(cached) " >&6
42166 else
42169 ac_ext=cpp
42170 ac_cpp='$CXXCPP $CPPFLAGS'
42171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42176 /* end confdefs.h. */
42177 #include <math.h>
42179 main ()
42181 _modfl(0, 0);
42183 return 0;
42185 _ACEOF
42186 if ac_fn_cxx_try_compile "$LINENO"; then :
42187 glibcxx_cv_func__modfl_use=yes
42188 else
42189 glibcxx_cv_func__modfl_use=no
42191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42192 ac_ext=c
42193 ac_cpp='$CPP $CPPFLAGS'
42194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
42203 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
42205 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
42206 for ac_func in _modfl
42207 do :
42208 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
42209 if test "x$ac_cv_func__modfl" = xyes; then :
42210 cat >>confdefs.h <<_ACEOF
42211 #define HAVE__MODFL 1
42212 _ACEOF
42215 done
42224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
42225 $as_echo_n "checking for powl declaration... " >&6; }
42226 if test x${glibcxx_cv_func_powl_use+set} != xset; then
42227 if ${glibcxx_cv_func_powl_use+:} false; then :
42228 $as_echo_n "(cached) " >&6
42229 else
42232 ac_ext=cpp
42233 ac_cpp='$CXXCPP $CPPFLAGS'
42234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42239 /* end confdefs.h. */
42240 #include <math.h>
42242 main ()
42244 powl(0, 0);
42246 return 0;
42248 _ACEOF
42249 if ac_fn_cxx_try_compile "$LINENO"; then :
42250 glibcxx_cv_func_powl_use=yes
42251 else
42252 glibcxx_cv_func_powl_use=no
42254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42255 ac_ext=c
42256 ac_cpp='$CPP $CPPFLAGS'
42257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
42266 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
42268 if test x$glibcxx_cv_func_powl_use = x"yes"; then
42269 for ac_func in powl
42270 do :
42271 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
42272 if test "x$ac_cv_func_powl" = xyes; then :
42273 cat >>confdefs.h <<_ACEOF
42274 #define HAVE_POWL 1
42275 _ACEOF
42278 done
42280 else
42282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
42283 $as_echo_n "checking for _powl declaration... " >&6; }
42284 if test x${glibcxx_cv_func__powl_use+set} != xset; then
42285 if ${glibcxx_cv_func__powl_use+:} false; then :
42286 $as_echo_n "(cached) " >&6
42287 else
42290 ac_ext=cpp
42291 ac_cpp='$CXXCPP $CPPFLAGS'
42292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42297 /* end confdefs.h. */
42298 #include <math.h>
42300 main ()
42302 _powl(0, 0);
42304 return 0;
42306 _ACEOF
42307 if ac_fn_cxx_try_compile "$LINENO"; then :
42308 glibcxx_cv_func__powl_use=yes
42309 else
42310 glibcxx_cv_func__powl_use=no
42312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42313 ac_ext=c
42314 ac_cpp='$CPP $CPPFLAGS'
42315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
42324 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
42326 if test x$glibcxx_cv_func__powl_use = x"yes"; then
42327 for ac_func in _powl
42328 do :
42329 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
42330 if test "x$ac_cv_func__powl" = xyes; then :
42331 cat >>confdefs.h <<_ACEOF
42332 #define HAVE__POWL 1
42333 _ACEOF
42336 done
42345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
42346 $as_echo_n "checking for sqrtl declaration... " >&6; }
42347 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
42348 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
42349 $as_echo_n "(cached) " >&6
42350 else
42353 ac_ext=cpp
42354 ac_cpp='$CXXCPP $CPPFLAGS'
42355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42360 /* end confdefs.h. */
42361 #include <math.h>
42362 #ifdef HAVE_IEEEFP_H
42363 #include <ieeefp.h>
42364 #endif
42367 main ()
42369 sqrtl(0);
42371 return 0;
42373 _ACEOF
42374 if ac_fn_cxx_try_compile "$LINENO"; then :
42375 glibcxx_cv_func_sqrtl_use=yes
42376 else
42377 glibcxx_cv_func_sqrtl_use=no
42379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42380 ac_ext=c
42381 ac_cpp='$CPP $CPPFLAGS'
42382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
42391 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
42393 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
42394 for ac_func in sqrtl
42395 do :
42396 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
42397 if test "x$ac_cv_func_sqrtl" = xyes; then :
42398 cat >>confdefs.h <<_ACEOF
42399 #define HAVE_SQRTL 1
42400 _ACEOF
42403 done
42405 else
42407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
42408 $as_echo_n "checking for _sqrtl declaration... " >&6; }
42409 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
42410 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
42411 $as_echo_n "(cached) " >&6
42412 else
42415 ac_ext=cpp
42416 ac_cpp='$CXXCPP $CPPFLAGS'
42417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42422 /* end confdefs.h. */
42423 #include <math.h>
42424 #ifdef HAVE_IEEEFP_H
42425 #include <ieeefp.h>
42426 #endif
42429 main ()
42431 _sqrtl(0);
42433 return 0;
42435 _ACEOF
42436 if ac_fn_cxx_try_compile "$LINENO"; then :
42437 glibcxx_cv_func__sqrtl_use=yes
42438 else
42439 glibcxx_cv_func__sqrtl_use=no
42441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42442 ac_ext=c
42443 ac_cpp='$CPP $CPPFLAGS'
42444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
42453 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
42455 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
42456 for ac_func in _sqrtl
42457 do :
42458 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
42459 if test "x$ac_cv_func__sqrtl" = xyes; then :
42460 cat >>confdefs.h <<_ACEOF
42461 #define HAVE__SQRTL 1
42462 _ACEOF
42465 done
42474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
42475 $as_echo_n "checking for sincosl declaration... " >&6; }
42476 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
42477 if ${glibcxx_cv_func_sincosl_use+:} false; then :
42478 $as_echo_n "(cached) " >&6
42479 else
42482 ac_ext=cpp
42483 ac_cpp='$CXXCPP $CPPFLAGS'
42484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42489 /* end confdefs.h. */
42490 #include <math.h>
42492 main ()
42494 sincosl(0, 0, 0);
42496 return 0;
42498 _ACEOF
42499 if ac_fn_cxx_try_compile "$LINENO"; then :
42500 glibcxx_cv_func_sincosl_use=yes
42501 else
42502 glibcxx_cv_func_sincosl_use=no
42504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42505 ac_ext=c
42506 ac_cpp='$CPP $CPPFLAGS'
42507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
42516 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
42518 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
42519 for ac_func in sincosl
42520 do :
42521 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
42522 if test "x$ac_cv_func_sincosl" = xyes; then :
42523 cat >>confdefs.h <<_ACEOF
42524 #define HAVE_SINCOSL 1
42525 _ACEOF
42528 done
42530 else
42532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
42533 $as_echo_n "checking for _sincosl declaration... " >&6; }
42534 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
42535 if ${glibcxx_cv_func__sincosl_use+:} false; then :
42536 $as_echo_n "(cached) " >&6
42537 else
42540 ac_ext=cpp
42541 ac_cpp='$CXXCPP $CPPFLAGS'
42542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42547 /* end confdefs.h. */
42548 #include <math.h>
42550 main ()
42552 _sincosl(0, 0, 0);
42554 return 0;
42556 _ACEOF
42557 if ac_fn_cxx_try_compile "$LINENO"; then :
42558 glibcxx_cv_func__sincosl_use=yes
42559 else
42560 glibcxx_cv_func__sincosl_use=no
42562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42563 ac_ext=c
42564 ac_cpp='$CPP $CPPFLAGS'
42565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
42574 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
42576 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
42577 for ac_func in _sincosl
42578 do :
42579 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
42580 if test "x$ac_cv_func__sincosl" = xyes; then :
42581 cat >>confdefs.h <<_ACEOF
42582 #define HAVE__SINCOSL 1
42583 _ACEOF
42586 done
42595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
42596 $as_echo_n "checking for finitel declaration... " >&6; }
42597 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
42598 if ${glibcxx_cv_func_finitel_use+:} false; then :
42599 $as_echo_n "(cached) " >&6
42600 else
42603 ac_ext=cpp
42604 ac_cpp='$CXXCPP $CPPFLAGS'
42605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42610 /* end confdefs.h. */
42611 #include <math.h>
42612 #ifdef HAVE_IEEEFP_H
42613 #include <ieeefp.h>
42614 #endif
42617 main ()
42619 finitel(0);
42621 return 0;
42623 _ACEOF
42624 if ac_fn_cxx_try_compile "$LINENO"; then :
42625 glibcxx_cv_func_finitel_use=yes
42626 else
42627 glibcxx_cv_func_finitel_use=no
42629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42630 ac_ext=c
42631 ac_cpp='$CPP $CPPFLAGS'
42632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
42641 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
42643 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
42644 for ac_func in finitel
42645 do :
42646 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
42647 if test "x$ac_cv_func_finitel" = xyes; then :
42648 cat >>confdefs.h <<_ACEOF
42649 #define HAVE_FINITEL 1
42650 _ACEOF
42653 done
42655 else
42657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
42658 $as_echo_n "checking for _finitel declaration... " >&6; }
42659 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
42660 if ${glibcxx_cv_func__finitel_use+:} false; then :
42661 $as_echo_n "(cached) " >&6
42662 else
42665 ac_ext=cpp
42666 ac_cpp='$CXXCPP $CPPFLAGS'
42667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42672 /* end confdefs.h. */
42673 #include <math.h>
42674 #ifdef HAVE_IEEEFP_H
42675 #include <ieeefp.h>
42676 #endif
42679 main ()
42681 _finitel(0);
42683 return 0;
42685 _ACEOF
42686 if ac_fn_cxx_try_compile "$LINENO"; then :
42687 glibcxx_cv_func__finitel_use=yes
42688 else
42689 glibcxx_cv_func__finitel_use=no
42691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42692 ac_ext=c
42693 ac_cpp='$CPP $CPPFLAGS'
42694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
42703 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
42705 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
42706 for ac_func in _finitel
42707 do :
42708 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
42709 if test "x$ac_cv_func__finitel" = xyes; then :
42710 cat >>confdefs.h <<_ACEOF
42711 #define HAVE__FINITEL 1
42712 _ACEOF
42715 done
42723 LIBS="$ac_save_LIBS"
42724 CXXFLAGS="$ac_save_CXXFLAGS"
42727 ac_test_CXXFLAGS="${CXXFLAGS+set}"
42728 ac_save_CXXFLAGS="$CXXFLAGS"
42729 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
42732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
42733 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
42734 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
42735 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
42736 $as_echo_n "(cached) " >&6
42737 else
42740 ac_ext=cpp
42741 ac_cpp='$CXXCPP $CPPFLAGS'
42742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42747 /* end confdefs.h. */
42748 #include <stdlib.h>
42750 main ()
42752 at_quick_exit(0);
42754 return 0;
42756 _ACEOF
42757 if ac_fn_cxx_try_compile "$LINENO"; then :
42758 glibcxx_cv_func_at_quick_exit_use=yes
42759 else
42760 glibcxx_cv_func_at_quick_exit_use=no
42762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42763 ac_ext=c
42764 ac_cpp='$CPP $CPPFLAGS'
42765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
42774 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
42775 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
42776 for ac_func in at_quick_exit
42777 do :
42778 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
42779 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
42780 cat >>confdefs.h <<_ACEOF
42781 #define HAVE_AT_QUICK_EXIT 1
42782 _ACEOF
42785 done
42790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
42791 $as_echo_n "checking for quick_exit declaration... " >&6; }
42792 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
42793 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
42794 $as_echo_n "(cached) " >&6
42795 else
42798 ac_ext=cpp
42799 ac_cpp='$CXXCPP $CPPFLAGS'
42800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42805 /* end confdefs.h. */
42806 #include <stdlib.h>
42808 main ()
42810 quick_exit(0);
42812 return 0;
42814 _ACEOF
42815 if ac_fn_cxx_try_compile "$LINENO"; then :
42816 glibcxx_cv_func_quick_exit_use=yes
42817 else
42818 glibcxx_cv_func_quick_exit_use=no
42820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42821 ac_ext=c
42822 ac_cpp='$CPP $CPPFLAGS'
42823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
42832 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
42833 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
42834 for ac_func in quick_exit
42835 do :
42836 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
42837 if test "x$ac_cv_func_quick_exit" = xyes; then :
42838 cat >>confdefs.h <<_ACEOF
42839 #define HAVE_QUICK_EXIT 1
42840 _ACEOF
42843 done
42848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
42849 $as_echo_n "checking for strtold declaration... " >&6; }
42850 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
42851 if ${glibcxx_cv_func_strtold_use+:} false; then :
42852 $as_echo_n "(cached) " >&6
42853 else
42856 ac_ext=cpp
42857 ac_cpp='$CXXCPP $CPPFLAGS'
42858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42863 /* end confdefs.h. */
42864 #include <stdlib.h>
42866 main ()
42868 strtold(0, 0);
42870 return 0;
42872 _ACEOF
42873 if ac_fn_cxx_try_compile "$LINENO"; then :
42874 glibcxx_cv_func_strtold_use=yes
42875 else
42876 glibcxx_cv_func_strtold_use=no
42878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42879 ac_ext=c
42880 ac_cpp='$CPP $CPPFLAGS'
42881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
42890 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
42891 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
42892 for ac_func in strtold
42893 do :
42894 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
42895 if test "x$ac_cv_func_strtold" = xyes; then :
42896 cat >>confdefs.h <<_ACEOF
42897 #define HAVE_STRTOLD 1
42898 _ACEOF
42901 done
42908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
42909 $as_echo_n "checking for strtof declaration... " >&6; }
42910 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
42911 if ${glibcxx_cv_func_strtof_use+:} false; then :
42912 $as_echo_n "(cached) " >&6
42913 else
42916 ac_ext=cpp
42917 ac_cpp='$CXXCPP $CPPFLAGS'
42918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42923 /* end confdefs.h. */
42924 #include <stdlib.h>
42926 main ()
42928 strtof(0, 0);
42930 return 0;
42932 _ACEOF
42933 if ac_fn_cxx_try_compile "$LINENO"; then :
42934 glibcxx_cv_func_strtof_use=yes
42935 else
42936 glibcxx_cv_func_strtof_use=no
42938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42939 ac_ext=c
42940 ac_cpp='$CPP $CPPFLAGS'
42941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
42950 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
42951 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
42952 for ac_func in strtof
42953 do :
42954 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
42955 if test "x$ac_cv_func_strtof" = xyes; then :
42956 cat >>confdefs.h <<_ACEOF
42957 #define HAVE_STRTOF 1
42958 _ACEOF
42961 done
42968 CXXFLAGS="$ac_save_CXXFLAGS"
42970 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
42972 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
42974 # We don't yet support AIX's TLS ABI.
42975 #GCC_CHECK_TLS
42981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
42982 $as_echo_n "checking for iconv... " >&6; }
42983 if ${am_cv_func_iconv+:} false; then :
42984 $as_echo_n "(cached) " >&6
42985 else
42987 am_cv_func_iconv="no, consider installing GNU libiconv"
42988 am_cv_lib_iconv=no
42989 am_save_CPPFLAGS="$CPPFLAGS"
42990 CPPFLAGS="$CPPFLAGS $INCICONV"
42991 if test x$gcc_no_link = xyes; then
42992 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
42994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42995 /* end confdefs.h. */
42996 #include <stdlib.h>
42997 #include <iconv.h>
42999 main ()
43001 iconv_t cd = iconv_open("","");
43002 iconv(cd,NULL,NULL,NULL,NULL);
43003 iconv_close(cd);
43005 return 0;
43007 _ACEOF
43008 if ac_fn_c_try_link "$LINENO"; then :
43009 am_cv_func_iconv=yes
43011 rm -f core conftest.err conftest.$ac_objext \
43012 conftest$ac_exeext conftest.$ac_ext
43013 CPPFLAGS="$am_save_CPPFLAGS"
43015 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
43016 for _libs in .libs _libs; do
43017 am_save_CPPFLAGS="$CPPFLAGS"
43018 am_save_LIBS="$LIBS"
43019 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
43020 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
43021 if test x$gcc_no_link = xyes; then
43022 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
43024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43025 /* end confdefs.h. */
43026 #include <stdlib.h>
43027 #include <iconv.h>
43029 main ()
43031 iconv_t cd = iconv_open("","");
43032 iconv(cd,NULL,NULL,NULL,NULL);
43033 iconv_close(cd);
43035 return 0;
43037 _ACEOF
43038 if ac_fn_c_try_link "$LINENO"; then :
43039 INCICONV="-I../libiconv/include"
43040 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
43041 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
43042 am_cv_lib_iconv=yes
43043 am_cv_func_iconv=yes
43045 rm -f core conftest.err conftest.$ac_objext \
43046 conftest$ac_exeext conftest.$ac_ext
43047 CPPFLAGS="$am_save_CPPFLAGS"
43048 LIBS="$am_save_LIBS"
43049 if test "$am_cv_func_iconv" = "yes"; then
43050 break
43052 done
43055 if test "$am_cv_func_iconv" != yes; then
43056 am_save_CPPFLAGS="$CPPFLAGS"
43057 am_save_LIBS="$LIBS"
43058 CPPFLAGS="$CPPFLAGS $INCICONV"
43059 LIBS="$LIBS $LIBICONV"
43060 if test x$gcc_no_link = xyes; then
43061 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
43063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43064 /* end confdefs.h. */
43065 #include <stdlib.h>
43066 #include <iconv.h>
43068 main ()
43070 iconv_t cd = iconv_open("","");
43071 iconv(cd,NULL,NULL,NULL,NULL);
43072 iconv_close(cd);
43074 return 0;
43076 _ACEOF
43077 if ac_fn_c_try_link "$LINENO"; then :
43078 am_cv_lib_iconv=yes
43079 am_cv_func_iconv=yes
43081 rm -f core conftest.err conftest.$ac_objext \
43082 conftest$ac_exeext conftest.$ac_ext
43083 CPPFLAGS="$am_save_CPPFLAGS"
43084 LIBS="$am_save_LIBS"
43088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
43089 $as_echo "$am_cv_func_iconv" >&6; }
43090 if test "$am_cv_func_iconv" = yes; then
43092 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
43095 if test "$am_cv_lib_iconv" = yes; then
43097 for element in $INCICONV; do
43098 haveit=
43099 for x in $CPPFLAGS; do
43101 acl_save_prefix="$prefix"
43102 prefix="$acl_final_prefix"
43103 acl_save_exec_prefix="$exec_prefix"
43104 exec_prefix="$acl_final_exec_prefix"
43105 eval x=\"$x\"
43106 exec_prefix="$acl_save_exec_prefix"
43107 prefix="$acl_save_prefix"
43109 if test "X$x" = "X$element"; then
43110 haveit=yes
43111 break
43113 done
43114 if test -z "$haveit"; then
43115 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
43117 done
43119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
43120 $as_echo_n "checking how to link with libiconv... " >&6; }
43121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
43122 $as_echo "$LIBICONV" >&6; }
43123 else
43124 LIBICONV=
43125 LTLIBICONV=
43130 if test "$am_cv_func_iconv" = yes; then
43131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
43132 $as_echo_n "checking for iconv declaration... " >&6; }
43133 if ${am_cv_proto_iconv+:} false; then :
43134 $as_echo_n "(cached) " >&6
43135 else
43137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43138 /* end confdefs.h. */
43140 #include <stdlib.h>
43141 #include <iconv.h>
43142 extern
43143 #ifdef __cplusplus
43145 #endif
43146 #if defined(__STDC__) || defined(__cplusplus)
43147 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
43148 #else
43149 size_t iconv();
43150 #endif
43153 main ()
43157 return 0;
43159 _ACEOF
43160 if ac_fn_c_try_compile "$LINENO"; then :
43161 am_cv_proto_iconv_arg1=""
43162 else
43163 am_cv_proto_iconv_arg1="const"
43165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43166 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);"
43169 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
43170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
43171 }$am_cv_proto_iconv" >&5
43172 $as_echo "${ac_t:-
43173 }$am_cv_proto_iconv" >&6; }
43175 cat >>confdefs.h <<_ACEOF
43176 #define ICONV_CONST $am_cv_proto_iconv_arg1
43177 _ACEOF
43182 $as_echo "#define HAVE_USELOCALE 1" >>confdefs.h
43186 *-darwin*)
43187 # Darwin versions vary, but the linker should work in a cross environment,
43188 # so we just check for all the features here.
43189 # Check for available headers.
43191 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
43193 ac_test_CXXFLAGS="${CXXFLAGS+set}"
43194 ac_save_CXXFLAGS="$CXXFLAGS"
43195 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
43198 $as_echo_n "checking for sin in -lm... " >&6; }
43199 if ${ac_cv_lib_m_sin+:} false; then :
43200 $as_echo_n "(cached) " >&6
43201 else
43202 ac_check_lib_save_LIBS=$LIBS
43203 LIBS="-lm $LIBS"
43204 if test x$gcc_no_link = xyes; then
43205 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
43207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43208 /* end confdefs.h. */
43210 /* Override any GCC internal prototype to avoid an error.
43211 Use char because int might match the return type of a GCC
43212 builtin and then its argument prototype would still apply. */
43213 #ifdef __cplusplus
43214 extern "C"
43215 #endif
43216 char sin ();
43218 main ()
43220 return sin ();
43222 return 0;
43224 _ACEOF
43225 if ac_fn_c_try_link "$LINENO"; then :
43226 ac_cv_lib_m_sin=yes
43227 else
43228 ac_cv_lib_m_sin=no
43230 rm -f core conftest.err conftest.$ac_objext \
43231 conftest$ac_exeext conftest.$ac_ext
43232 LIBS=$ac_check_lib_save_LIBS
43234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
43235 $as_echo "$ac_cv_lib_m_sin" >&6; }
43236 if test "x$ac_cv_lib_m_sin" = xyes; then :
43237 libm="-lm"
43240 ac_save_LIBS="$LIBS"
43241 LIBS="$LIBS $libm"
43245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
43246 $as_echo_n "checking for isinf declaration... " >&6; }
43247 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
43248 if ${glibcxx_cv_func_isinf_use+:} false; then :
43249 $as_echo_n "(cached) " >&6
43250 else
43253 ac_ext=cpp
43254 ac_cpp='$CXXCPP $CPPFLAGS'
43255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43260 /* end confdefs.h. */
43261 #include <math.h>
43262 #ifdef HAVE_IEEEFP_H
43263 #include <ieeefp.h>
43264 #endif
43267 main ()
43269 isinf(0);
43271 return 0;
43273 _ACEOF
43274 if ac_fn_cxx_try_compile "$LINENO"; then :
43275 glibcxx_cv_func_isinf_use=yes
43276 else
43277 glibcxx_cv_func_isinf_use=no
43279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43280 ac_ext=c
43281 ac_cpp='$CPP $CPPFLAGS'
43282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
43291 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
43293 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
43294 for ac_func in isinf
43295 do :
43296 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
43297 if test "x$ac_cv_func_isinf" = xyes; then :
43298 cat >>confdefs.h <<_ACEOF
43299 #define HAVE_ISINF 1
43300 _ACEOF
43303 done
43305 else
43307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
43308 $as_echo_n "checking for _isinf declaration... " >&6; }
43309 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
43310 if ${glibcxx_cv_func__isinf_use+:} false; then :
43311 $as_echo_n "(cached) " >&6
43312 else
43315 ac_ext=cpp
43316 ac_cpp='$CXXCPP $CPPFLAGS'
43317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43322 /* end confdefs.h. */
43323 #include <math.h>
43324 #ifdef HAVE_IEEEFP_H
43325 #include <ieeefp.h>
43326 #endif
43329 main ()
43331 _isinf(0);
43333 return 0;
43335 _ACEOF
43336 if ac_fn_cxx_try_compile "$LINENO"; then :
43337 glibcxx_cv_func__isinf_use=yes
43338 else
43339 glibcxx_cv_func__isinf_use=no
43341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43342 ac_ext=c
43343 ac_cpp='$CPP $CPPFLAGS'
43344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
43353 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
43355 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
43356 for ac_func in _isinf
43357 do :
43358 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
43359 if test "x$ac_cv_func__isinf" = xyes; then :
43360 cat >>confdefs.h <<_ACEOF
43361 #define HAVE__ISINF 1
43362 _ACEOF
43365 done
43374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
43375 $as_echo_n "checking for isnan declaration... " >&6; }
43376 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
43377 if ${glibcxx_cv_func_isnan_use+:} false; then :
43378 $as_echo_n "(cached) " >&6
43379 else
43382 ac_ext=cpp
43383 ac_cpp='$CXXCPP $CPPFLAGS'
43384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43389 /* end confdefs.h. */
43390 #include <math.h>
43391 #ifdef HAVE_IEEEFP_H
43392 #include <ieeefp.h>
43393 #endif
43396 main ()
43398 isnan(0);
43400 return 0;
43402 _ACEOF
43403 if ac_fn_cxx_try_compile "$LINENO"; then :
43404 glibcxx_cv_func_isnan_use=yes
43405 else
43406 glibcxx_cv_func_isnan_use=no
43408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43409 ac_ext=c
43410 ac_cpp='$CPP $CPPFLAGS'
43411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
43420 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
43422 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
43423 for ac_func in isnan
43424 do :
43425 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
43426 if test "x$ac_cv_func_isnan" = xyes; then :
43427 cat >>confdefs.h <<_ACEOF
43428 #define HAVE_ISNAN 1
43429 _ACEOF
43432 done
43434 else
43436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
43437 $as_echo_n "checking for _isnan declaration... " >&6; }
43438 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
43439 if ${glibcxx_cv_func__isnan_use+:} false; then :
43440 $as_echo_n "(cached) " >&6
43441 else
43444 ac_ext=cpp
43445 ac_cpp='$CXXCPP $CPPFLAGS'
43446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43451 /* end confdefs.h. */
43452 #include <math.h>
43453 #ifdef HAVE_IEEEFP_H
43454 #include <ieeefp.h>
43455 #endif
43458 main ()
43460 _isnan(0);
43462 return 0;
43464 _ACEOF
43465 if ac_fn_cxx_try_compile "$LINENO"; then :
43466 glibcxx_cv_func__isnan_use=yes
43467 else
43468 glibcxx_cv_func__isnan_use=no
43470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43471 ac_ext=c
43472 ac_cpp='$CPP $CPPFLAGS'
43473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
43482 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
43484 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
43485 for ac_func in _isnan
43486 do :
43487 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
43488 if test "x$ac_cv_func__isnan" = xyes; then :
43489 cat >>confdefs.h <<_ACEOF
43490 #define HAVE__ISNAN 1
43491 _ACEOF
43494 done
43503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
43504 $as_echo_n "checking for finite declaration... " >&6; }
43505 if test x${glibcxx_cv_func_finite_use+set} != xset; then
43506 if ${glibcxx_cv_func_finite_use+:} false; then :
43507 $as_echo_n "(cached) " >&6
43508 else
43511 ac_ext=cpp
43512 ac_cpp='$CXXCPP $CPPFLAGS'
43513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43518 /* end confdefs.h. */
43519 #include <math.h>
43520 #ifdef HAVE_IEEEFP_H
43521 #include <ieeefp.h>
43522 #endif
43525 main ()
43527 finite(0);
43529 return 0;
43531 _ACEOF
43532 if ac_fn_cxx_try_compile "$LINENO"; then :
43533 glibcxx_cv_func_finite_use=yes
43534 else
43535 glibcxx_cv_func_finite_use=no
43537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43538 ac_ext=c
43539 ac_cpp='$CPP $CPPFLAGS'
43540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
43549 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
43551 if test x$glibcxx_cv_func_finite_use = x"yes"; then
43552 for ac_func in finite
43553 do :
43554 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
43555 if test "x$ac_cv_func_finite" = xyes; then :
43556 cat >>confdefs.h <<_ACEOF
43557 #define HAVE_FINITE 1
43558 _ACEOF
43561 done
43563 else
43565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
43566 $as_echo_n "checking for _finite declaration... " >&6; }
43567 if test x${glibcxx_cv_func__finite_use+set} != xset; then
43568 if ${glibcxx_cv_func__finite_use+:} false; then :
43569 $as_echo_n "(cached) " >&6
43570 else
43573 ac_ext=cpp
43574 ac_cpp='$CXXCPP $CPPFLAGS'
43575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43580 /* end confdefs.h. */
43581 #include <math.h>
43582 #ifdef HAVE_IEEEFP_H
43583 #include <ieeefp.h>
43584 #endif
43587 main ()
43589 _finite(0);
43591 return 0;
43593 _ACEOF
43594 if ac_fn_cxx_try_compile "$LINENO"; then :
43595 glibcxx_cv_func__finite_use=yes
43596 else
43597 glibcxx_cv_func__finite_use=no
43599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43600 ac_ext=c
43601 ac_cpp='$CPP $CPPFLAGS'
43602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
43611 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
43613 if test x$glibcxx_cv_func__finite_use = x"yes"; then
43614 for ac_func in _finite
43615 do :
43616 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
43617 if test "x$ac_cv_func__finite" = xyes; then :
43618 cat >>confdefs.h <<_ACEOF
43619 #define HAVE__FINITE 1
43620 _ACEOF
43623 done
43632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
43633 $as_echo_n "checking for sincos declaration... " >&6; }
43634 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
43635 if ${glibcxx_cv_func_sincos_use+:} false; then :
43636 $as_echo_n "(cached) " >&6
43637 else
43640 ac_ext=cpp
43641 ac_cpp='$CXXCPP $CPPFLAGS'
43642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43647 /* end confdefs.h. */
43648 #include <math.h>
43650 main ()
43652 sincos(0, 0, 0);
43654 return 0;
43656 _ACEOF
43657 if ac_fn_cxx_try_compile "$LINENO"; then :
43658 glibcxx_cv_func_sincos_use=yes
43659 else
43660 glibcxx_cv_func_sincos_use=no
43662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43663 ac_ext=c
43664 ac_cpp='$CPP $CPPFLAGS'
43665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
43674 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
43676 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
43677 for ac_func in sincos
43678 do :
43679 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
43680 if test "x$ac_cv_func_sincos" = xyes; then :
43681 cat >>confdefs.h <<_ACEOF
43682 #define HAVE_SINCOS 1
43683 _ACEOF
43686 done
43688 else
43690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
43691 $as_echo_n "checking for _sincos declaration... " >&6; }
43692 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
43693 if ${glibcxx_cv_func__sincos_use+:} false; then :
43694 $as_echo_n "(cached) " >&6
43695 else
43698 ac_ext=cpp
43699 ac_cpp='$CXXCPP $CPPFLAGS'
43700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43705 /* end confdefs.h. */
43706 #include <math.h>
43708 main ()
43710 _sincos(0, 0, 0);
43712 return 0;
43714 _ACEOF
43715 if ac_fn_cxx_try_compile "$LINENO"; then :
43716 glibcxx_cv_func__sincos_use=yes
43717 else
43718 glibcxx_cv_func__sincos_use=no
43720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43721 ac_ext=c
43722 ac_cpp='$CPP $CPPFLAGS'
43723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
43732 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
43734 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
43735 for ac_func in _sincos
43736 do :
43737 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
43738 if test "x$ac_cv_func__sincos" = xyes; then :
43739 cat >>confdefs.h <<_ACEOF
43740 #define HAVE__SINCOS 1
43741 _ACEOF
43744 done
43753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
43754 $as_echo_n "checking for fpclass declaration... " >&6; }
43755 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
43756 if ${glibcxx_cv_func_fpclass_use+:} false; then :
43757 $as_echo_n "(cached) " >&6
43758 else
43761 ac_ext=cpp
43762 ac_cpp='$CXXCPP $CPPFLAGS'
43763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43768 /* end confdefs.h. */
43769 #include <math.h>
43770 #ifdef HAVE_IEEEFP_H
43771 #include <ieeefp.h>
43772 #endif
43775 main ()
43777 fpclass(0);
43779 return 0;
43781 _ACEOF
43782 if ac_fn_cxx_try_compile "$LINENO"; then :
43783 glibcxx_cv_func_fpclass_use=yes
43784 else
43785 glibcxx_cv_func_fpclass_use=no
43787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43788 ac_ext=c
43789 ac_cpp='$CPP $CPPFLAGS'
43790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
43799 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
43801 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
43802 for ac_func in fpclass
43803 do :
43804 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
43805 if test "x$ac_cv_func_fpclass" = xyes; then :
43806 cat >>confdefs.h <<_ACEOF
43807 #define HAVE_FPCLASS 1
43808 _ACEOF
43811 done
43813 else
43815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
43816 $as_echo_n "checking for _fpclass declaration... " >&6; }
43817 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
43818 if ${glibcxx_cv_func__fpclass_use+:} false; then :
43819 $as_echo_n "(cached) " >&6
43820 else
43823 ac_ext=cpp
43824 ac_cpp='$CXXCPP $CPPFLAGS'
43825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43830 /* end confdefs.h. */
43831 #include <math.h>
43832 #ifdef HAVE_IEEEFP_H
43833 #include <ieeefp.h>
43834 #endif
43837 main ()
43839 _fpclass(0);
43841 return 0;
43843 _ACEOF
43844 if ac_fn_cxx_try_compile "$LINENO"; then :
43845 glibcxx_cv_func__fpclass_use=yes
43846 else
43847 glibcxx_cv_func__fpclass_use=no
43849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43850 ac_ext=c
43851 ac_cpp='$CPP $CPPFLAGS'
43852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
43861 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
43863 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
43864 for ac_func in _fpclass
43865 do :
43866 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
43867 if test "x$ac_cv_func__fpclass" = xyes; then :
43868 cat >>confdefs.h <<_ACEOF
43869 #define HAVE__FPCLASS 1
43870 _ACEOF
43873 done
43882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
43883 $as_echo_n "checking for qfpclass declaration... " >&6; }
43884 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
43885 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
43886 $as_echo_n "(cached) " >&6
43887 else
43890 ac_ext=cpp
43891 ac_cpp='$CXXCPP $CPPFLAGS'
43892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43897 /* end confdefs.h. */
43898 #include <math.h>
43899 #ifdef HAVE_IEEEFP_H
43900 #include <ieeefp.h>
43901 #endif
43904 main ()
43906 qfpclass(0);
43908 return 0;
43910 _ACEOF
43911 if ac_fn_cxx_try_compile "$LINENO"; then :
43912 glibcxx_cv_func_qfpclass_use=yes
43913 else
43914 glibcxx_cv_func_qfpclass_use=no
43916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43917 ac_ext=c
43918 ac_cpp='$CPP $CPPFLAGS'
43919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
43928 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
43930 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
43931 for ac_func in qfpclass
43932 do :
43933 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
43934 if test "x$ac_cv_func_qfpclass" = xyes; then :
43935 cat >>confdefs.h <<_ACEOF
43936 #define HAVE_QFPCLASS 1
43937 _ACEOF
43940 done
43942 else
43944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
43945 $as_echo_n "checking for _qfpclass declaration... " >&6; }
43946 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
43947 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
43948 $as_echo_n "(cached) " >&6
43949 else
43952 ac_ext=cpp
43953 ac_cpp='$CXXCPP $CPPFLAGS'
43954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43959 /* end confdefs.h. */
43960 #include <math.h>
43961 #ifdef HAVE_IEEEFP_H
43962 #include <ieeefp.h>
43963 #endif
43966 main ()
43968 _qfpclass(0);
43970 return 0;
43972 _ACEOF
43973 if ac_fn_cxx_try_compile "$LINENO"; then :
43974 glibcxx_cv_func__qfpclass_use=yes
43975 else
43976 glibcxx_cv_func__qfpclass_use=no
43978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43979 ac_ext=c
43980 ac_cpp='$CPP $CPPFLAGS'
43981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
43990 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
43992 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
43993 for ac_func in _qfpclass
43994 do :
43995 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
43996 if test "x$ac_cv_func__qfpclass" = xyes; then :
43997 cat >>confdefs.h <<_ACEOF
43998 #define HAVE__QFPCLASS 1
43999 _ACEOF
44002 done
44011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
44012 $as_echo_n "checking for hypot declaration... " >&6; }
44013 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
44014 if ${glibcxx_cv_func_hypot_use+:} false; then :
44015 $as_echo_n "(cached) " >&6
44016 else
44019 ac_ext=cpp
44020 ac_cpp='$CXXCPP $CPPFLAGS'
44021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44026 /* end confdefs.h. */
44027 #include <math.h>
44029 main ()
44031 hypot(0, 0);
44033 return 0;
44035 _ACEOF
44036 if ac_fn_cxx_try_compile "$LINENO"; then :
44037 glibcxx_cv_func_hypot_use=yes
44038 else
44039 glibcxx_cv_func_hypot_use=no
44041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44042 ac_ext=c
44043 ac_cpp='$CPP $CPPFLAGS'
44044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
44053 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
44055 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
44056 for ac_func in hypot
44057 do :
44058 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
44059 if test "x$ac_cv_func_hypot" = xyes; then :
44060 cat >>confdefs.h <<_ACEOF
44061 #define HAVE_HYPOT 1
44062 _ACEOF
44065 done
44067 else
44069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
44070 $as_echo_n "checking for _hypot declaration... " >&6; }
44071 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
44072 if ${glibcxx_cv_func__hypot_use+:} false; then :
44073 $as_echo_n "(cached) " >&6
44074 else
44077 ac_ext=cpp
44078 ac_cpp='$CXXCPP $CPPFLAGS'
44079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44084 /* end confdefs.h. */
44085 #include <math.h>
44087 main ()
44089 _hypot(0, 0);
44091 return 0;
44093 _ACEOF
44094 if ac_fn_cxx_try_compile "$LINENO"; then :
44095 glibcxx_cv_func__hypot_use=yes
44096 else
44097 glibcxx_cv_func__hypot_use=no
44099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44100 ac_ext=c
44101 ac_cpp='$CPP $CPPFLAGS'
44102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
44111 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
44113 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
44114 for ac_func in _hypot
44115 do :
44116 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
44117 if test "x$ac_cv_func__hypot" = xyes; then :
44118 cat >>confdefs.h <<_ACEOF
44119 #define HAVE__HYPOT 1
44120 _ACEOF
44123 done
44132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
44133 $as_echo_n "checking for float trig functions... " >&6; }
44134 if ${glibcxx_cv_func_float_trig_use+:} false; then :
44135 $as_echo_n "(cached) " >&6
44136 else
44139 ac_ext=cpp
44140 ac_cpp='$CXXCPP $CPPFLAGS'
44141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44146 /* end confdefs.h. */
44147 #include <math.h>
44149 main ()
44151 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
44153 return 0;
44155 _ACEOF
44156 if ac_fn_cxx_try_compile "$LINENO"; then :
44157 glibcxx_cv_func_float_trig_use=yes
44158 else
44159 glibcxx_cv_func_float_trig_use=no
44161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44162 ac_ext=c
44163 ac_cpp='$CPP $CPPFLAGS'
44164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
44171 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
44172 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
44173 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
44174 do :
44175 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44176 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44177 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44178 cat >>confdefs.h <<_ACEOF
44179 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44180 _ACEOF
44183 done
44185 else
44186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
44187 $as_echo_n "checking for _float trig functions... " >&6; }
44188 if ${glibcxx_cv_func__float_trig_use+:} false; then :
44189 $as_echo_n "(cached) " >&6
44190 else
44193 ac_ext=cpp
44194 ac_cpp='$CXXCPP $CPPFLAGS'
44195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44200 /* end confdefs.h. */
44201 #include <math.h>
44203 main ()
44205 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
44207 return 0;
44209 _ACEOF
44210 if ac_fn_cxx_try_compile "$LINENO"; then :
44211 glibcxx_cv_func__float_trig_use=yes
44212 else
44213 glibcxx_cv_func__float_trig_use=no
44215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44216 ac_ext=c
44217 ac_cpp='$CPP $CPPFLAGS'
44218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
44225 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
44226 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
44227 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
44228 do :
44229 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44230 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44231 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44232 cat >>confdefs.h <<_ACEOF
44233 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44234 _ACEOF
44237 done
44246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
44247 $as_echo_n "checking for float round functions... " >&6; }
44248 if ${glibcxx_cv_func_float_round_use+:} false; then :
44249 $as_echo_n "(cached) " >&6
44250 else
44253 ac_ext=cpp
44254 ac_cpp='$CXXCPP $CPPFLAGS'
44255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44260 /* end confdefs.h. */
44261 #include <math.h>
44263 main ()
44265 ceilf (0); floorf (0);
44267 return 0;
44269 _ACEOF
44270 if ac_fn_cxx_try_compile "$LINENO"; then :
44271 glibcxx_cv_func_float_round_use=yes
44272 else
44273 glibcxx_cv_func_float_round_use=no
44275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44276 ac_ext=c
44277 ac_cpp='$CPP $CPPFLAGS'
44278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
44285 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
44286 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
44287 for ac_func in ceilf floorf
44288 do :
44289 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44290 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44291 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44292 cat >>confdefs.h <<_ACEOF
44293 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44294 _ACEOF
44297 done
44299 else
44300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
44301 $as_echo_n "checking for _float round functions... " >&6; }
44302 if ${glibcxx_cv_func__float_round_use+:} false; then :
44303 $as_echo_n "(cached) " >&6
44304 else
44307 ac_ext=cpp
44308 ac_cpp='$CXXCPP $CPPFLAGS'
44309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44314 /* end confdefs.h. */
44315 #include <math.h>
44317 main ()
44319 _ceilf (0); _floorf (0);
44321 return 0;
44323 _ACEOF
44324 if ac_fn_cxx_try_compile "$LINENO"; then :
44325 glibcxx_cv_func__float_round_use=yes
44326 else
44327 glibcxx_cv_func__float_round_use=no
44329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44330 ac_ext=c
44331 ac_cpp='$CPP $CPPFLAGS'
44332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
44339 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
44340 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
44341 for ac_func in _ceilf _floorf
44342 do :
44343 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44344 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44345 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44346 cat >>confdefs.h <<_ACEOF
44347 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44348 _ACEOF
44351 done
44361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
44362 $as_echo_n "checking for expf declaration... " >&6; }
44363 if test x${glibcxx_cv_func_expf_use+set} != xset; then
44364 if ${glibcxx_cv_func_expf_use+:} false; then :
44365 $as_echo_n "(cached) " >&6
44366 else
44369 ac_ext=cpp
44370 ac_cpp='$CXXCPP $CPPFLAGS'
44371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44376 /* end confdefs.h. */
44377 #include <math.h>
44378 #ifdef HAVE_IEEEFP_H
44379 #include <ieeefp.h>
44380 #endif
44383 main ()
44385 expf(0);
44387 return 0;
44389 _ACEOF
44390 if ac_fn_cxx_try_compile "$LINENO"; then :
44391 glibcxx_cv_func_expf_use=yes
44392 else
44393 glibcxx_cv_func_expf_use=no
44395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44396 ac_ext=c
44397 ac_cpp='$CPP $CPPFLAGS'
44398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
44407 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
44409 if test x$glibcxx_cv_func_expf_use = x"yes"; then
44410 for ac_func in expf
44411 do :
44412 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
44413 if test "x$ac_cv_func_expf" = xyes; then :
44414 cat >>confdefs.h <<_ACEOF
44415 #define HAVE_EXPF 1
44416 _ACEOF
44419 done
44421 else
44423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
44424 $as_echo_n "checking for _expf declaration... " >&6; }
44425 if test x${glibcxx_cv_func__expf_use+set} != xset; then
44426 if ${glibcxx_cv_func__expf_use+:} false; then :
44427 $as_echo_n "(cached) " >&6
44428 else
44431 ac_ext=cpp
44432 ac_cpp='$CXXCPP $CPPFLAGS'
44433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44438 /* end confdefs.h. */
44439 #include <math.h>
44440 #ifdef HAVE_IEEEFP_H
44441 #include <ieeefp.h>
44442 #endif
44445 main ()
44447 _expf(0);
44449 return 0;
44451 _ACEOF
44452 if ac_fn_cxx_try_compile "$LINENO"; then :
44453 glibcxx_cv_func__expf_use=yes
44454 else
44455 glibcxx_cv_func__expf_use=no
44457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44458 ac_ext=c
44459 ac_cpp='$CPP $CPPFLAGS'
44460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
44469 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
44471 if test x$glibcxx_cv_func__expf_use = x"yes"; then
44472 for ac_func in _expf
44473 do :
44474 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
44475 if test "x$ac_cv_func__expf" = xyes; then :
44476 cat >>confdefs.h <<_ACEOF
44477 #define HAVE__EXPF 1
44478 _ACEOF
44481 done
44490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
44491 $as_echo_n "checking for isnanf declaration... " >&6; }
44492 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
44493 if ${glibcxx_cv_func_isnanf_use+:} false; then :
44494 $as_echo_n "(cached) " >&6
44495 else
44498 ac_ext=cpp
44499 ac_cpp='$CXXCPP $CPPFLAGS'
44500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44505 /* end confdefs.h. */
44506 #include <math.h>
44507 #ifdef HAVE_IEEEFP_H
44508 #include <ieeefp.h>
44509 #endif
44512 main ()
44514 isnanf(0);
44516 return 0;
44518 _ACEOF
44519 if ac_fn_cxx_try_compile "$LINENO"; then :
44520 glibcxx_cv_func_isnanf_use=yes
44521 else
44522 glibcxx_cv_func_isnanf_use=no
44524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44525 ac_ext=c
44526 ac_cpp='$CPP $CPPFLAGS'
44527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
44536 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
44538 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
44539 for ac_func in isnanf
44540 do :
44541 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
44542 if test "x$ac_cv_func_isnanf" = xyes; then :
44543 cat >>confdefs.h <<_ACEOF
44544 #define HAVE_ISNANF 1
44545 _ACEOF
44548 done
44550 else
44552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
44553 $as_echo_n "checking for _isnanf declaration... " >&6; }
44554 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
44555 if ${glibcxx_cv_func__isnanf_use+:} false; then :
44556 $as_echo_n "(cached) " >&6
44557 else
44560 ac_ext=cpp
44561 ac_cpp='$CXXCPP $CPPFLAGS'
44562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44567 /* end confdefs.h. */
44568 #include <math.h>
44569 #ifdef HAVE_IEEEFP_H
44570 #include <ieeefp.h>
44571 #endif
44574 main ()
44576 _isnanf(0);
44578 return 0;
44580 _ACEOF
44581 if ac_fn_cxx_try_compile "$LINENO"; then :
44582 glibcxx_cv_func__isnanf_use=yes
44583 else
44584 glibcxx_cv_func__isnanf_use=no
44586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44587 ac_ext=c
44588 ac_cpp='$CPP $CPPFLAGS'
44589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
44598 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
44600 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
44601 for ac_func in _isnanf
44602 do :
44603 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
44604 if test "x$ac_cv_func__isnanf" = xyes; then :
44605 cat >>confdefs.h <<_ACEOF
44606 #define HAVE__ISNANF 1
44607 _ACEOF
44610 done
44619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
44620 $as_echo_n "checking for isinff declaration... " >&6; }
44621 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
44622 if ${glibcxx_cv_func_isinff_use+:} false; then :
44623 $as_echo_n "(cached) " >&6
44624 else
44627 ac_ext=cpp
44628 ac_cpp='$CXXCPP $CPPFLAGS'
44629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44634 /* end confdefs.h. */
44635 #include <math.h>
44636 #ifdef HAVE_IEEEFP_H
44637 #include <ieeefp.h>
44638 #endif
44641 main ()
44643 isinff(0);
44645 return 0;
44647 _ACEOF
44648 if ac_fn_cxx_try_compile "$LINENO"; then :
44649 glibcxx_cv_func_isinff_use=yes
44650 else
44651 glibcxx_cv_func_isinff_use=no
44653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44654 ac_ext=c
44655 ac_cpp='$CPP $CPPFLAGS'
44656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
44665 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
44667 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
44668 for ac_func in isinff
44669 do :
44670 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
44671 if test "x$ac_cv_func_isinff" = xyes; then :
44672 cat >>confdefs.h <<_ACEOF
44673 #define HAVE_ISINFF 1
44674 _ACEOF
44677 done
44679 else
44681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
44682 $as_echo_n "checking for _isinff declaration... " >&6; }
44683 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
44684 if ${glibcxx_cv_func__isinff_use+:} false; then :
44685 $as_echo_n "(cached) " >&6
44686 else
44689 ac_ext=cpp
44690 ac_cpp='$CXXCPP $CPPFLAGS'
44691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44696 /* end confdefs.h. */
44697 #include <math.h>
44698 #ifdef HAVE_IEEEFP_H
44699 #include <ieeefp.h>
44700 #endif
44703 main ()
44705 _isinff(0);
44707 return 0;
44709 _ACEOF
44710 if ac_fn_cxx_try_compile "$LINENO"; then :
44711 glibcxx_cv_func__isinff_use=yes
44712 else
44713 glibcxx_cv_func__isinff_use=no
44715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44716 ac_ext=c
44717 ac_cpp='$CPP $CPPFLAGS'
44718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
44727 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
44729 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
44730 for ac_func in _isinff
44731 do :
44732 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
44733 if test "x$ac_cv_func__isinff" = xyes; then :
44734 cat >>confdefs.h <<_ACEOF
44735 #define HAVE__ISINFF 1
44736 _ACEOF
44739 done
44748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
44749 $as_echo_n "checking for atan2f declaration... " >&6; }
44750 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
44751 if ${glibcxx_cv_func_atan2f_use+:} false; then :
44752 $as_echo_n "(cached) " >&6
44753 else
44756 ac_ext=cpp
44757 ac_cpp='$CXXCPP $CPPFLAGS'
44758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44763 /* end confdefs.h. */
44764 #include <math.h>
44766 main ()
44768 atan2f(0, 0);
44770 return 0;
44772 _ACEOF
44773 if ac_fn_cxx_try_compile "$LINENO"; then :
44774 glibcxx_cv_func_atan2f_use=yes
44775 else
44776 glibcxx_cv_func_atan2f_use=no
44778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44779 ac_ext=c
44780 ac_cpp='$CPP $CPPFLAGS'
44781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
44790 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
44792 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
44793 for ac_func in atan2f
44794 do :
44795 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
44796 if test "x$ac_cv_func_atan2f" = xyes; then :
44797 cat >>confdefs.h <<_ACEOF
44798 #define HAVE_ATAN2F 1
44799 _ACEOF
44802 done
44804 else
44806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
44807 $as_echo_n "checking for _atan2f declaration... " >&6; }
44808 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
44809 if ${glibcxx_cv_func__atan2f_use+:} false; then :
44810 $as_echo_n "(cached) " >&6
44811 else
44814 ac_ext=cpp
44815 ac_cpp='$CXXCPP $CPPFLAGS'
44816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44821 /* end confdefs.h. */
44822 #include <math.h>
44824 main ()
44826 _atan2f(0, 0);
44828 return 0;
44830 _ACEOF
44831 if ac_fn_cxx_try_compile "$LINENO"; then :
44832 glibcxx_cv_func__atan2f_use=yes
44833 else
44834 glibcxx_cv_func__atan2f_use=no
44836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44837 ac_ext=c
44838 ac_cpp='$CPP $CPPFLAGS'
44839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
44848 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
44850 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
44851 for ac_func in _atan2f
44852 do :
44853 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
44854 if test "x$ac_cv_func__atan2f" = xyes; then :
44855 cat >>confdefs.h <<_ACEOF
44856 #define HAVE__ATAN2F 1
44857 _ACEOF
44860 done
44869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
44870 $as_echo_n "checking for fabsf declaration... " >&6; }
44871 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
44872 if ${glibcxx_cv_func_fabsf_use+:} false; then :
44873 $as_echo_n "(cached) " >&6
44874 else
44877 ac_ext=cpp
44878 ac_cpp='$CXXCPP $CPPFLAGS'
44879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44884 /* end confdefs.h. */
44885 #include <math.h>
44886 #ifdef HAVE_IEEEFP_H
44887 #include <ieeefp.h>
44888 #endif
44891 main ()
44893 fabsf(0);
44895 return 0;
44897 _ACEOF
44898 if ac_fn_cxx_try_compile "$LINENO"; then :
44899 glibcxx_cv_func_fabsf_use=yes
44900 else
44901 glibcxx_cv_func_fabsf_use=no
44903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44904 ac_ext=c
44905 ac_cpp='$CPP $CPPFLAGS'
44906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
44915 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
44917 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
44918 for ac_func in fabsf
44919 do :
44920 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
44921 if test "x$ac_cv_func_fabsf" = xyes; then :
44922 cat >>confdefs.h <<_ACEOF
44923 #define HAVE_FABSF 1
44924 _ACEOF
44927 done
44929 else
44931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
44932 $as_echo_n "checking for _fabsf declaration... " >&6; }
44933 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
44934 if ${glibcxx_cv_func__fabsf_use+:} false; then :
44935 $as_echo_n "(cached) " >&6
44936 else
44939 ac_ext=cpp
44940 ac_cpp='$CXXCPP $CPPFLAGS'
44941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44946 /* end confdefs.h. */
44947 #include <math.h>
44948 #ifdef HAVE_IEEEFP_H
44949 #include <ieeefp.h>
44950 #endif
44953 main ()
44955 _fabsf(0);
44957 return 0;
44959 _ACEOF
44960 if ac_fn_cxx_try_compile "$LINENO"; then :
44961 glibcxx_cv_func__fabsf_use=yes
44962 else
44963 glibcxx_cv_func__fabsf_use=no
44965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44966 ac_ext=c
44967 ac_cpp='$CPP $CPPFLAGS'
44968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
44977 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
44979 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
44980 for ac_func in _fabsf
44981 do :
44982 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
44983 if test "x$ac_cv_func__fabsf" = xyes; then :
44984 cat >>confdefs.h <<_ACEOF
44985 #define HAVE__FABSF 1
44986 _ACEOF
44989 done
44998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
44999 $as_echo_n "checking for fmodf declaration... " >&6; }
45000 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
45001 if ${glibcxx_cv_func_fmodf_use+:} false; then :
45002 $as_echo_n "(cached) " >&6
45003 else
45006 ac_ext=cpp
45007 ac_cpp='$CXXCPP $CPPFLAGS'
45008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45013 /* end confdefs.h. */
45014 #include <math.h>
45016 main ()
45018 fmodf(0, 0);
45020 return 0;
45022 _ACEOF
45023 if ac_fn_cxx_try_compile "$LINENO"; then :
45024 glibcxx_cv_func_fmodf_use=yes
45025 else
45026 glibcxx_cv_func_fmodf_use=no
45028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45029 ac_ext=c
45030 ac_cpp='$CPP $CPPFLAGS'
45031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
45040 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
45042 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
45043 for ac_func in fmodf
45044 do :
45045 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
45046 if test "x$ac_cv_func_fmodf" = xyes; then :
45047 cat >>confdefs.h <<_ACEOF
45048 #define HAVE_FMODF 1
45049 _ACEOF
45052 done
45054 else
45056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
45057 $as_echo_n "checking for _fmodf declaration... " >&6; }
45058 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
45059 if ${glibcxx_cv_func__fmodf_use+:} false; then :
45060 $as_echo_n "(cached) " >&6
45061 else
45064 ac_ext=cpp
45065 ac_cpp='$CXXCPP $CPPFLAGS'
45066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45071 /* end confdefs.h. */
45072 #include <math.h>
45074 main ()
45076 _fmodf(0, 0);
45078 return 0;
45080 _ACEOF
45081 if ac_fn_cxx_try_compile "$LINENO"; then :
45082 glibcxx_cv_func__fmodf_use=yes
45083 else
45084 glibcxx_cv_func__fmodf_use=no
45086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45087 ac_ext=c
45088 ac_cpp='$CPP $CPPFLAGS'
45089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
45098 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
45100 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
45101 for ac_func in _fmodf
45102 do :
45103 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
45104 if test "x$ac_cv_func__fmodf" = xyes; then :
45105 cat >>confdefs.h <<_ACEOF
45106 #define HAVE__FMODF 1
45107 _ACEOF
45110 done
45119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
45120 $as_echo_n "checking for frexpf declaration... " >&6; }
45121 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
45122 if ${glibcxx_cv_func_frexpf_use+:} false; then :
45123 $as_echo_n "(cached) " >&6
45124 else
45127 ac_ext=cpp
45128 ac_cpp='$CXXCPP $CPPFLAGS'
45129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45134 /* end confdefs.h. */
45135 #include <math.h>
45137 main ()
45139 frexpf(0, 0);
45141 return 0;
45143 _ACEOF
45144 if ac_fn_cxx_try_compile "$LINENO"; then :
45145 glibcxx_cv_func_frexpf_use=yes
45146 else
45147 glibcxx_cv_func_frexpf_use=no
45149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45150 ac_ext=c
45151 ac_cpp='$CPP $CPPFLAGS'
45152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
45161 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
45163 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
45164 for ac_func in frexpf
45165 do :
45166 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
45167 if test "x$ac_cv_func_frexpf" = xyes; then :
45168 cat >>confdefs.h <<_ACEOF
45169 #define HAVE_FREXPF 1
45170 _ACEOF
45173 done
45175 else
45177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
45178 $as_echo_n "checking for _frexpf declaration... " >&6; }
45179 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
45180 if ${glibcxx_cv_func__frexpf_use+:} false; then :
45181 $as_echo_n "(cached) " >&6
45182 else
45185 ac_ext=cpp
45186 ac_cpp='$CXXCPP $CPPFLAGS'
45187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45192 /* end confdefs.h. */
45193 #include <math.h>
45195 main ()
45197 _frexpf(0, 0);
45199 return 0;
45201 _ACEOF
45202 if ac_fn_cxx_try_compile "$LINENO"; then :
45203 glibcxx_cv_func__frexpf_use=yes
45204 else
45205 glibcxx_cv_func__frexpf_use=no
45207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45208 ac_ext=c
45209 ac_cpp='$CPP $CPPFLAGS'
45210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
45219 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
45221 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
45222 for ac_func in _frexpf
45223 do :
45224 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
45225 if test "x$ac_cv_func__frexpf" = xyes; then :
45226 cat >>confdefs.h <<_ACEOF
45227 #define HAVE__FREXPF 1
45228 _ACEOF
45231 done
45240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
45241 $as_echo_n "checking for hypotf declaration... " >&6; }
45242 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
45243 if ${glibcxx_cv_func_hypotf_use+:} false; then :
45244 $as_echo_n "(cached) " >&6
45245 else
45248 ac_ext=cpp
45249 ac_cpp='$CXXCPP $CPPFLAGS'
45250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45255 /* end confdefs.h. */
45256 #include <math.h>
45258 main ()
45260 hypotf(0, 0);
45262 return 0;
45264 _ACEOF
45265 if ac_fn_cxx_try_compile "$LINENO"; then :
45266 glibcxx_cv_func_hypotf_use=yes
45267 else
45268 glibcxx_cv_func_hypotf_use=no
45270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45271 ac_ext=c
45272 ac_cpp='$CPP $CPPFLAGS'
45273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
45282 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
45284 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
45285 for ac_func in hypotf
45286 do :
45287 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
45288 if test "x$ac_cv_func_hypotf" = xyes; then :
45289 cat >>confdefs.h <<_ACEOF
45290 #define HAVE_HYPOTF 1
45291 _ACEOF
45294 done
45296 else
45298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
45299 $as_echo_n "checking for _hypotf declaration... " >&6; }
45300 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
45301 if ${glibcxx_cv_func__hypotf_use+:} false; then :
45302 $as_echo_n "(cached) " >&6
45303 else
45306 ac_ext=cpp
45307 ac_cpp='$CXXCPP $CPPFLAGS'
45308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45313 /* end confdefs.h. */
45314 #include <math.h>
45316 main ()
45318 _hypotf(0, 0);
45320 return 0;
45322 _ACEOF
45323 if ac_fn_cxx_try_compile "$LINENO"; then :
45324 glibcxx_cv_func__hypotf_use=yes
45325 else
45326 glibcxx_cv_func__hypotf_use=no
45328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45329 ac_ext=c
45330 ac_cpp='$CPP $CPPFLAGS'
45331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
45340 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
45342 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
45343 for ac_func in _hypotf
45344 do :
45345 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
45346 if test "x$ac_cv_func__hypotf" = xyes; then :
45347 cat >>confdefs.h <<_ACEOF
45348 #define HAVE__HYPOTF 1
45349 _ACEOF
45352 done
45361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
45362 $as_echo_n "checking for ldexpf declaration... " >&6; }
45363 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
45364 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
45365 $as_echo_n "(cached) " >&6
45366 else
45369 ac_ext=cpp
45370 ac_cpp='$CXXCPP $CPPFLAGS'
45371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45376 /* end confdefs.h. */
45377 #include <math.h>
45379 main ()
45381 ldexpf(0, 0);
45383 return 0;
45385 _ACEOF
45386 if ac_fn_cxx_try_compile "$LINENO"; then :
45387 glibcxx_cv_func_ldexpf_use=yes
45388 else
45389 glibcxx_cv_func_ldexpf_use=no
45391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45392 ac_ext=c
45393 ac_cpp='$CPP $CPPFLAGS'
45394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
45403 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
45405 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
45406 for ac_func in ldexpf
45407 do :
45408 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
45409 if test "x$ac_cv_func_ldexpf" = xyes; then :
45410 cat >>confdefs.h <<_ACEOF
45411 #define HAVE_LDEXPF 1
45412 _ACEOF
45415 done
45417 else
45419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
45420 $as_echo_n "checking for _ldexpf declaration... " >&6; }
45421 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
45422 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
45423 $as_echo_n "(cached) " >&6
45424 else
45427 ac_ext=cpp
45428 ac_cpp='$CXXCPP $CPPFLAGS'
45429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45434 /* end confdefs.h. */
45435 #include <math.h>
45437 main ()
45439 _ldexpf(0, 0);
45441 return 0;
45443 _ACEOF
45444 if ac_fn_cxx_try_compile "$LINENO"; then :
45445 glibcxx_cv_func__ldexpf_use=yes
45446 else
45447 glibcxx_cv_func__ldexpf_use=no
45449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45450 ac_ext=c
45451 ac_cpp='$CPP $CPPFLAGS'
45452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
45461 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
45463 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
45464 for ac_func in _ldexpf
45465 do :
45466 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
45467 if test "x$ac_cv_func__ldexpf" = xyes; then :
45468 cat >>confdefs.h <<_ACEOF
45469 #define HAVE__LDEXPF 1
45470 _ACEOF
45473 done
45482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
45483 $as_echo_n "checking for logf declaration... " >&6; }
45484 if test x${glibcxx_cv_func_logf_use+set} != xset; then
45485 if ${glibcxx_cv_func_logf_use+:} false; then :
45486 $as_echo_n "(cached) " >&6
45487 else
45490 ac_ext=cpp
45491 ac_cpp='$CXXCPP $CPPFLAGS'
45492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45497 /* end confdefs.h. */
45498 #include <math.h>
45499 #ifdef HAVE_IEEEFP_H
45500 #include <ieeefp.h>
45501 #endif
45504 main ()
45506 logf(0);
45508 return 0;
45510 _ACEOF
45511 if ac_fn_cxx_try_compile "$LINENO"; then :
45512 glibcxx_cv_func_logf_use=yes
45513 else
45514 glibcxx_cv_func_logf_use=no
45516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45517 ac_ext=c
45518 ac_cpp='$CPP $CPPFLAGS'
45519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
45528 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
45530 if test x$glibcxx_cv_func_logf_use = x"yes"; then
45531 for ac_func in logf
45532 do :
45533 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
45534 if test "x$ac_cv_func_logf" = xyes; then :
45535 cat >>confdefs.h <<_ACEOF
45536 #define HAVE_LOGF 1
45537 _ACEOF
45540 done
45542 else
45544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
45545 $as_echo_n "checking for _logf declaration... " >&6; }
45546 if test x${glibcxx_cv_func__logf_use+set} != xset; then
45547 if ${glibcxx_cv_func__logf_use+:} false; then :
45548 $as_echo_n "(cached) " >&6
45549 else
45552 ac_ext=cpp
45553 ac_cpp='$CXXCPP $CPPFLAGS'
45554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45559 /* end confdefs.h. */
45560 #include <math.h>
45561 #ifdef HAVE_IEEEFP_H
45562 #include <ieeefp.h>
45563 #endif
45566 main ()
45568 _logf(0);
45570 return 0;
45572 _ACEOF
45573 if ac_fn_cxx_try_compile "$LINENO"; then :
45574 glibcxx_cv_func__logf_use=yes
45575 else
45576 glibcxx_cv_func__logf_use=no
45578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45579 ac_ext=c
45580 ac_cpp='$CPP $CPPFLAGS'
45581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
45590 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
45592 if test x$glibcxx_cv_func__logf_use = x"yes"; then
45593 for ac_func in _logf
45594 do :
45595 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
45596 if test "x$ac_cv_func__logf" = xyes; then :
45597 cat >>confdefs.h <<_ACEOF
45598 #define HAVE__LOGF 1
45599 _ACEOF
45602 done
45611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
45612 $as_echo_n "checking for log10f declaration... " >&6; }
45613 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
45614 if ${glibcxx_cv_func_log10f_use+:} false; then :
45615 $as_echo_n "(cached) " >&6
45616 else
45619 ac_ext=cpp
45620 ac_cpp='$CXXCPP $CPPFLAGS'
45621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45626 /* end confdefs.h. */
45627 #include <math.h>
45628 #ifdef HAVE_IEEEFP_H
45629 #include <ieeefp.h>
45630 #endif
45633 main ()
45635 log10f(0);
45637 return 0;
45639 _ACEOF
45640 if ac_fn_cxx_try_compile "$LINENO"; then :
45641 glibcxx_cv_func_log10f_use=yes
45642 else
45643 glibcxx_cv_func_log10f_use=no
45645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45646 ac_ext=c
45647 ac_cpp='$CPP $CPPFLAGS'
45648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
45657 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
45659 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
45660 for ac_func in log10f
45661 do :
45662 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
45663 if test "x$ac_cv_func_log10f" = xyes; then :
45664 cat >>confdefs.h <<_ACEOF
45665 #define HAVE_LOG10F 1
45666 _ACEOF
45669 done
45671 else
45673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
45674 $as_echo_n "checking for _log10f declaration... " >&6; }
45675 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
45676 if ${glibcxx_cv_func__log10f_use+:} false; then :
45677 $as_echo_n "(cached) " >&6
45678 else
45681 ac_ext=cpp
45682 ac_cpp='$CXXCPP $CPPFLAGS'
45683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45688 /* end confdefs.h. */
45689 #include <math.h>
45690 #ifdef HAVE_IEEEFP_H
45691 #include <ieeefp.h>
45692 #endif
45695 main ()
45697 _log10f(0);
45699 return 0;
45701 _ACEOF
45702 if ac_fn_cxx_try_compile "$LINENO"; then :
45703 glibcxx_cv_func__log10f_use=yes
45704 else
45705 glibcxx_cv_func__log10f_use=no
45707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45708 ac_ext=c
45709 ac_cpp='$CPP $CPPFLAGS'
45710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
45719 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
45721 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
45722 for ac_func in _log10f
45723 do :
45724 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
45725 if test "x$ac_cv_func__log10f" = xyes; then :
45726 cat >>confdefs.h <<_ACEOF
45727 #define HAVE__LOG10F 1
45728 _ACEOF
45731 done
45740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
45741 $as_echo_n "checking for modff declaration... " >&6; }
45742 if test x${glibcxx_cv_func_modff_use+set} != xset; then
45743 if ${glibcxx_cv_func_modff_use+:} false; then :
45744 $as_echo_n "(cached) " >&6
45745 else
45748 ac_ext=cpp
45749 ac_cpp='$CXXCPP $CPPFLAGS'
45750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45755 /* end confdefs.h. */
45756 #include <math.h>
45758 main ()
45760 modff(0, 0);
45762 return 0;
45764 _ACEOF
45765 if ac_fn_cxx_try_compile "$LINENO"; then :
45766 glibcxx_cv_func_modff_use=yes
45767 else
45768 glibcxx_cv_func_modff_use=no
45770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45771 ac_ext=c
45772 ac_cpp='$CPP $CPPFLAGS'
45773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
45782 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
45784 if test x$glibcxx_cv_func_modff_use = x"yes"; then
45785 for ac_func in modff
45786 do :
45787 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
45788 if test "x$ac_cv_func_modff" = xyes; then :
45789 cat >>confdefs.h <<_ACEOF
45790 #define HAVE_MODFF 1
45791 _ACEOF
45794 done
45796 else
45798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
45799 $as_echo_n "checking for _modff declaration... " >&6; }
45800 if test x${glibcxx_cv_func__modff_use+set} != xset; then
45801 if ${glibcxx_cv_func__modff_use+:} false; then :
45802 $as_echo_n "(cached) " >&6
45803 else
45806 ac_ext=cpp
45807 ac_cpp='$CXXCPP $CPPFLAGS'
45808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45813 /* end confdefs.h. */
45814 #include <math.h>
45816 main ()
45818 _modff(0, 0);
45820 return 0;
45822 _ACEOF
45823 if ac_fn_cxx_try_compile "$LINENO"; then :
45824 glibcxx_cv_func__modff_use=yes
45825 else
45826 glibcxx_cv_func__modff_use=no
45828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45829 ac_ext=c
45830 ac_cpp='$CPP $CPPFLAGS'
45831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
45840 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
45842 if test x$glibcxx_cv_func__modff_use = x"yes"; then
45843 for ac_func in _modff
45844 do :
45845 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
45846 if test "x$ac_cv_func__modff" = xyes; then :
45847 cat >>confdefs.h <<_ACEOF
45848 #define HAVE__MODFF 1
45849 _ACEOF
45852 done
45861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
45862 $as_echo_n "checking for modf declaration... " >&6; }
45863 if test x${glibcxx_cv_func_modf_use+set} != xset; then
45864 if ${glibcxx_cv_func_modf_use+:} false; then :
45865 $as_echo_n "(cached) " >&6
45866 else
45869 ac_ext=cpp
45870 ac_cpp='$CXXCPP $CPPFLAGS'
45871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45876 /* end confdefs.h. */
45877 #include <math.h>
45879 main ()
45881 modf(0, 0);
45883 return 0;
45885 _ACEOF
45886 if ac_fn_cxx_try_compile "$LINENO"; then :
45887 glibcxx_cv_func_modf_use=yes
45888 else
45889 glibcxx_cv_func_modf_use=no
45891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45892 ac_ext=c
45893 ac_cpp='$CPP $CPPFLAGS'
45894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
45903 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
45905 if test x$glibcxx_cv_func_modf_use = x"yes"; then
45906 for ac_func in modf
45907 do :
45908 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
45909 if test "x$ac_cv_func_modf" = xyes; then :
45910 cat >>confdefs.h <<_ACEOF
45911 #define HAVE_MODF 1
45912 _ACEOF
45915 done
45917 else
45919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
45920 $as_echo_n "checking for _modf declaration... " >&6; }
45921 if test x${glibcxx_cv_func__modf_use+set} != xset; then
45922 if ${glibcxx_cv_func__modf_use+:} false; then :
45923 $as_echo_n "(cached) " >&6
45924 else
45927 ac_ext=cpp
45928 ac_cpp='$CXXCPP $CPPFLAGS'
45929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45934 /* end confdefs.h. */
45935 #include <math.h>
45937 main ()
45939 _modf(0, 0);
45941 return 0;
45943 _ACEOF
45944 if ac_fn_cxx_try_compile "$LINENO"; then :
45945 glibcxx_cv_func__modf_use=yes
45946 else
45947 glibcxx_cv_func__modf_use=no
45949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45950 ac_ext=c
45951 ac_cpp='$CPP $CPPFLAGS'
45952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
45961 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
45963 if test x$glibcxx_cv_func__modf_use = x"yes"; then
45964 for ac_func in _modf
45965 do :
45966 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
45967 if test "x$ac_cv_func__modf" = xyes; then :
45968 cat >>confdefs.h <<_ACEOF
45969 #define HAVE__MODF 1
45970 _ACEOF
45973 done
45982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
45983 $as_echo_n "checking for powf declaration... " >&6; }
45984 if test x${glibcxx_cv_func_powf_use+set} != xset; then
45985 if ${glibcxx_cv_func_powf_use+:} false; then :
45986 $as_echo_n "(cached) " >&6
45987 else
45990 ac_ext=cpp
45991 ac_cpp='$CXXCPP $CPPFLAGS'
45992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45997 /* end confdefs.h. */
45998 #include <math.h>
46000 main ()
46002 powf(0, 0);
46004 return 0;
46006 _ACEOF
46007 if ac_fn_cxx_try_compile "$LINENO"; then :
46008 glibcxx_cv_func_powf_use=yes
46009 else
46010 glibcxx_cv_func_powf_use=no
46012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46013 ac_ext=c
46014 ac_cpp='$CPP $CPPFLAGS'
46015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
46024 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
46026 if test x$glibcxx_cv_func_powf_use = x"yes"; then
46027 for ac_func in powf
46028 do :
46029 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
46030 if test "x$ac_cv_func_powf" = xyes; then :
46031 cat >>confdefs.h <<_ACEOF
46032 #define HAVE_POWF 1
46033 _ACEOF
46036 done
46038 else
46040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
46041 $as_echo_n "checking for _powf declaration... " >&6; }
46042 if test x${glibcxx_cv_func__powf_use+set} != xset; then
46043 if ${glibcxx_cv_func__powf_use+:} false; then :
46044 $as_echo_n "(cached) " >&6
46045 else
46048 ac_ext=cpp
46049 ac_cpp='$CXXCPP $CPPFLAGS'
46050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46055 /* end confdefs.h. */
46056 #include <math.h>
46058 main ()
46060 _powf(0, 0);
46062 return 0;
46064 _ACEOF
46065 if ac_fn_cxx_try_compile "$LINENO"; then :
46066 glibcxx_cv_func__powf_use=yes
46067 else
46068 glibcxx_cv_func__powf_use=no
46070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46071 ac_ext=c
46072 ac_cpp='$CPP $CPPFLAGS'
46073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
46082 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
46084 if test x$glibcxx_cv_func__powf_use = x"yes"; then
46085 for ac_func in _powf
46086 do :
46087 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
46088 if test "x$ac_cv_func__powf" = xyes; then :
46089 cat >>confdefs.h <<_ACEOF
46090 #define HAVE__POWF 1
46091 _ACEOF
46094 done
46103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
46104 $as_echo_n "checking for sqrtf declaration... " >&6; }
46105 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
46106 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
46107 $as_echo_n "(cached) " >&6
46108 else
46111 ac_ext=cpp
46112 ac_cpp='$CXXCPP $CPPFLAGS'
46113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46118 /* end confdefs.h. */
46119 #include <math.h>
46120 #ifdef HAVE_IEEEFP_H
46121 #include <ieeefp.h>
46122 #endif
46125 main ()
46127 sqrtf(0);
46129 return 0;
46131 _ACEOF
46132 if ac_fn_cxx_try_compile "$LINENO"; then :
46133 glibcxx_cv_func_sqrtf_use=yes
46134 else
46135 glibcxx_cv_func_sqrtf_use=no
46137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46138 ac_ext=c
46139 ac_cpp='$CPP $CPPFLAGS'
46140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
46149 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
46151 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
46152 for ac_func in sqrtf
46153 do :
46154 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
46155 if test "x$ac_cv_func_sqrtf" = xyes; then :
46156 cat >>confdefs.h <<_ACEOF
46157 #define HAVE_SQRTF 1
46158 _ACEOF
46161 done
46163 else
46165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
46166 $as_echo_n "checking for _sqrtf declaration... " >&6; }
46167 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
46168 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
46169 $as_echo_n "(cached) " >&6
46170 else
46173 ac_ext=cpp
46174 ac_cpp='$CXXCPP $CPPFLAGS'
46175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46180 /* end confdefs.h. */
46181 #include <math.h>
46182 #ifdef HAVE_IEEEFP_H
46183 #include <ieeefp.h>
46184 #endif
46187 main ()
46189 _sqrtf(0);
46191 return 0;
46193 _ACEOF
46194 if ac_fn_cxx_try_compile "$LINENO"; then :
46195 glibcxx_cv_func__sqrtf_use=yes
46196 else
46197 glibcxx_cv_func__sqrtf_use=no
46199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46200 ac_ext=c
46201 ac_cpp='$CPP $CPPFLAGS'
46202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
46211 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
46213 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
46214 for ac_func in _sqrtf
46215 do :
46216 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
46217 if test "x$ac_cv_func__sqrtf" = xyes; then :
46218 cat >>confdefs.h <<_ACEOF
46219 #define HAVE__SQRTF 1
46220 _ACEOF
46223 done
46232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
46233 $as_echo_n "checking for sincosf declaration... " >&6; }
46234 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
46235 if ${glibcxx_cv_func_sincosf_use+:} false; then :
46236 $as_echo_n "(cached) " >&6
46237 else
46240 ac_ext=cpp
46241 ac_cpp='$CXXCPP $CPPFLAGS'
46242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46247 /* end confdefs.h. */
46248 #include <math.h>
46250 main ()
46252 sincosf(0, 0, 0);
46254 return 0;
46256 _ACEOF
46257 if ac_fn_cxx_try_compile "$LINENO"; then :
46258 glibcxx_cv_func_sincosf_use=yes
46259 else
46260 glibcxx_cv_func_sincosf_use=no
46262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46263 ac_ext=c
46264 ac_cpp='$CPP $CPPFLAGS'
46265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
46274 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
46276 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
46277 for ac_func in sincosf
46278 do :
46279 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
46280 if test "x$ac_cv_func_sincosf" = xyes; then :
46281 cat >>confdefs.h <<_ACEOF
46282 #define HAVE_SINCOSF 1
46283 _ACEOF
46286 done
46288 else
46290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
46291 $as_echo_n "checking for _sincosf declaration... " >&6; }
46292 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
46293 if ${glibcxx_cv_func__sincosf_use+:} false; then :
46294 $as_echo_n "(cached) " >&6
46295 else
46298 ac_ext=cpp
46299 ac_cpp='$CXXCPP $CPPFLAGS'
46300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46305 /* end confdefs.h. */
46306 #include <math.h>
46308 main ()
46310 _sincosf(0, 0, 0);
46312 return 0;
46314 _ACEOF
46315 if ac_fn_cxx_try_compile "$LINENO"; then :
46316 glibcxx_cv_func__sincosf_use=yes
46317 else
46318 glibcxx_cv_func__sincosf_use=no
46320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46321 ac_ext=c
46322 ac_cpp='$CPP $CPPFLAGS'
46323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
46332 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
46334 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
46335 for ac_func in _sincosf
46336 do :
46337 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
46338 if test "x$ac_cv_func__sincosf" = xyes; then :
46339 cat >>confdefs.h <<_ACEOF
46340 #define HAVE__SINCOSF 1
46341 _ACEOF
46344 done
46353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
46354 $as_echo_n "checking for finitef declaration... " >&6; }
46355 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
46356 if ${glibcxx_cv_func_finitef_use+:} false; then :
46357 $as_echo_n "(cached) " >&6
46358 else
46361 ac_ext=cpp
46362 ac_cpp='$CXXCPP $CPPFLAGS'
46363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46368 /* end confdefs.h. */
46369 #include <math.h>
46370 #ifdef HAVE_IEEEFP_H
46371 #include <ieeefp.h>
46372 #endif
46375 main ()
46377 finitef(0);
46379 return 0;
46381 _ACEOF
46382 if ac_fn_cxx_try_compile "$LINENO"; then :
46383 glibcxx_cv_func_finitef_use=yes
46384 else
46385 glibcxx_cv_func_finitef_use=no
46387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46388 ac_ext=c
46389 ac_cpp='$CPP $CPPFLAGS'
46390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
46399 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
46401 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
46402 for ac_func in finitef
46403 do :
46404 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
46405 if test "x$ac_cv_func_finitef" = xyes; then :
46406 cat >>confdefs.h <<_ACEOF
46407 #define HAVE_FINITEF 1
46408 _ACEOF
46411 done
46413 else
46415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
46416 $as_echo_n "checking for _finitef declaration... " >&6; }
46417 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
46418 if ${glibcxx_cv_func__finitef_use+:} false; then :
46419 $as_echo_n "(cached) " >&6
46420 else
46423 ac_ext=cpp
46424 ac_cpp='$CXXCPP $CPPFLAGS'
46425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46430 /* end confdefs.h. */
46431 #include <math.h>
46432 #ifdef HAVE_IEEEFP_H
46433 #include <ieeefp.h>
46434 #endif
46437 main ()
46439 _finitef(0);
46441 return 0;
46443 _ACEOF
46444 if ac_fn_cxx_try_compile "$LINENO"; then :
46445 glibcxx_cv_func__finitef_use=yes
46446 else
46447 glibcxx_cv_func__finitef_use=no
46449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46450 ac_ext=c
46451 ac_cpp='$CPP $CPPFLAGS'
46452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
46461 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
46463 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
46464 for ac_func in _finitef
46465 do :
46466 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
46467 if test "x$ac_cv_func__finitef" = xyes; then :
46468 cat >>confdefs.h <<_ACEOF
46469 #define HAVE__FINITEF 1
46470 _ACEOF
46473 done
46482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
46483 $as_echo_n "checking for long double trig functions... " >&6; }
46484 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
46485 $as_echo_n "(cached) " >&6
46486 else
46489 ac_ext=cpp
46490 ac_cpp='$CXXCPP $CPPFLAGS'
46491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46496 /* end confdefs.h. */
46497 #include <math.h>
46499 main ()
46501 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
46503 return 0;
46505 _ACEOF
46506 if ac_fn_cxx_try_compile "$LINENO"; then :
46507 glibcxx_cv_func_long_double_trig_use=yes
46508 else
46509 glibcxx_cv_func_long_double_trig_use=no
46511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46512 ac_ext=c
46513 ac_cpp='$CPP $CPPFLAGS'
46514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
46521 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
46522 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
46523 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
46524 do :
46525 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46526 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46527 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
46528 cat >>confdefs.h <<_ACEOF
46529 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46530 _ACEOF
46533 done
46535 else
46536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
46537 $as_echo_n "checking for _long double trig functions... " >&6; }
46538 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
46539 $as_echo_n "(cached) " >&6
46540 else
46543 ac_ext=cpp
46544 ac_cpp='$CXXCPP $CPPFLAGS'
46545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46550 /* end confdefs.h. */
46551 #include <math.h>
46553 main ()
46555 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
46557 return 0;
46559 _ACEOF
46560 if ac_fn_cxx_try_compile "$LINENO"; then :
46561 glibcxx_cv_func__long_double_trig_use=yes
46562 else
46563 glibcxx_cv_func__long_double_trig_use=no
46565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46566 ac_ext=c
46567 ac_cpp='$CPP $CPPFLAGS'
46568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
46575 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
46576 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
46577 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
46578 do :
46579 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46580 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46581 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
46582 cat >>confdefs.h <<_ACEOF
46583 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46584 _ACEOF
46587 done
46596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
46597 $as_echo_n "checking for long double round functions... " >&6; }
46598 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
46599 $as_echo_n "(cached) " >&6
46600 else
46603 ac_ext=cpp
46604 ac_cpp='$CXXCPP $CPPFLAGS'
46605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46610 /* end confdefs.h. */
46611 #include <math.h>
46613 main ()
46615 ceill (0); floorl (0);
46617 return 0;
46619 _ACEOF
46620 if ac_fn_cxx_try_compile "$LINENO"; then :
46621 glibcxx_cv_func_long_double_round_use=yes
46622 else
46623 glibcxx_cv_func_long_double_round_use=no
46625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46626 ac_ext=c
46627 ac_cpp='$CPP $CPPFLAGS'
46628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
46635 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
46636 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
46637 for ac_func in ceill floorl
46638 do :
46639 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46640 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46641 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
46642 cat >>confdefs.h <<_ACEOF
46643 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46644 _ACEOF
46647 done
46649 else
46650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
46651 $as_echo_n "checking for _long double round functions... " >&6; }
46652 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
46653 $as_echo_n "(cached) " >&6
46654 else
46657 ac_ext=cpp
46658 ac_cpp='$CXXCPP $CPPFLAGS'
46659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46664 /* end confdefs.h. */
46665 #include <math.h>
46667 main ()
46669 _ceill (0); _floorl (0);
46671 return 0;
46673 _ACEOF
46674 if ac_fn_cxx_try_compile "$LINENO"; then :
46675 glibcxx_cv_func__long_double_round_use=yes
46676 else
46677 glibcxx_cv_func__long_double_round_use=no
46679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46680 ac_ext=c
46681 ac_cpp='$CPP $CPPFLAGS'
46682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
46689 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
46690 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
46691 for ac_func in _ceill _floorl
46692 do :
46693 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46694 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46695 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
46696 cat >>confdefs.h <<_ACEOF
46697 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46698 _ACEOF
46701 done
46711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
46712 $as_echo_n "checking for isnanl declaration... " >&6; }
46713 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
46714 if ${glibcxx_cv_func_isnanl_use+:} false; then :
46715 $as_echo_n "(cached) " >&6
46716 else
46719 ac_ext=cpp
46720 ac_cpp='$CXXCPP $CPPFLAGS'
46721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46726 /* end confdefs.h. */
46727 #include <math.h>
46728 #ifdef HAVE_IEEEFP_H
46729 #include <ieeefp.h>
46730 #endif
46733 main ()
46735 isnanl(0);
46737 return 0;
46739 _ACEOF
46740 if ac_fn_cxx_try_compile "$LINENO"; then :
46741 glibcxx_cv_func_isnanl_use=yes
46742 else
46743 glibcxx_cv_func_isnanl_use=no
46745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46746 ac_ext=c
46747 ac_cpp='$CPP $CPPFLAGS'
46748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
46757 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
46759 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
46760 for ac_func in isnanl
46761 do :
46762 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
46763 if test "x$ac_cv_func_isnanl" = xyes; then :
46764 cat >>confdefs.h <<_ACEOF
46765 #define HAVE_ISNANL 1
46766 _ACEOF
46769 done
46771 else
46773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
46774 $as_echo_n "checking for _isnanl declaration... " >&6; }
46775 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
46776 if ${glibcxx_cv_func__isnanl_use+:} false; then :
46777 $as_echo_n "(cached) " >&6
46778 else
46781 ac_ext=cpp
46782 ac_cpp='$CXXCPP $CPPFLAGS'
46783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46788 /* end confdefs.h. */
46789 #include <math.h>
46790 #ifdef HAVE_IEEEFP_H
46791 #include <ieeefp.h>
46792 #endif
46795 main ()
46797 _isnanl(0);
46799 return 0;
46801 _ACEOF
46802 if ac_fn_cxx_try_compile "$LINENO"; then :
46803 glibcxx_cv_func__isnanl_use=yes
46804 else
46805 glibcxx_cv_func__isnanl_use=no
46807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46808 ac_ext=c
46809 ac_cpp='$CPP $CPPFLAGS'
46810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
46819 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
46821 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
46822 for ac_func in _isnanl
46823 do :
46824 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
46825 if test "x$ac_cv_func__isnanl" = xyes; then :
46826 cat >>confdefs.h <<_ACEOF
46827 #define HAVE__ISNANL 1
46828 _ACEOF
46831 done
46840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
46841 $as_echo_n "checking for isinfl declaration... " >&6; }
46842 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
46843 if ${glibcxx_cv_func_isinfl_use+:} false; then :
46844 $as_echo_n "(cached) " >&6
46845 else
46848 ac_ext=cpp
46849 ac_cpp='$CXXCPP $CPPFLAGS'
46850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46855 /* end confdefs.h. */
46856 #include <math.h>
46857 #ifdef HAVE_IEEEFP_H
46858 #include <ieeefp.h>
46859 #endif
46862 main ()
46864 isinfl(0);
46866 return 0;
46868 _ACEOF
46869 if ac_fn_cxx_try_compile "$LINENO"; then :
46870 glibcxx_cv_func_isinfl_use=yes
46871 else
46872 glibcxx_cv_func_isinfl_use=no
46874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46875 ac_ext=c
46876 ac_cpp='$CPP $CPPFLAGS'
46877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
46886 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
46888 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
46889 for ac_func in isinfl
46890 do :
46891 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
46892 if test "x$ac_cv_func_isinfl" = xyes; then :
46893 cat >>confdefs.h <<_ACEOF
46894 #define HAVE_ISINFL 1
46895 _ACEOF
46898 done
46900 else
46902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
46903 $as_echo_n "checking for _isinfl declaration... " >&6; }
46904 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
46905 if ${glibcxx_cv_func__isinfl_use+:} false; then :
46906 $as_echo_n "(cached) " >&6
46907 else
46910 ac_ext=cpp
46911 ac_cpp='$CXXCPP $CPPFLAGS'
46912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46917 /* end confdefs.h. */
46918 #include <math.h>
46919 #ifdef HAVE_IEEEFP_H
46920 #include <ieeefp.h>
46921 #endif
46924 main ()
46926 _isinfl(0);
46928 return 0;
46930 _ACEOF
46931 if ac_fn_cxx_try_compile "$LINENO"; then :
46932 glibcxx_cv_func__isinfl_use=yes
46933 else
46934 glibcxx_cv_func__isinfl_use=no
46936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46937 ac_ext=c
46938 ac_cpp='$CPP $CPPFLAGS'
46939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
46948 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
46950 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
46951 for ac_func in _isinfl
46952 do :
46953 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
46954 if test "x$ac_cv_func__isinfl" = xyes; then :
46955 cat >>confdefs.h <<_ACEOF
46956 #define HAVE__ISINFL 1
46957 _ACEOF
46960 done
46969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
46970 $as_echo_n "checking for atan2l declaration... " >&6; }
46971 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
46972 if ${glibcxx_cv_func_atan2l_use+:} false; then :
46973 $as_echo_n "(cached) " >&6
46974 else
46977 ac_ext=cpp
46978 ac_cpp='$CXXCPP $CPPFLAGS'
46979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46984 /* end confdefs.h. */
46985 #include <math.h>
46987 main ()
46989 atan2l(0, 0);
46991 return 0;
46993 _ACEOF
46994 if ac_fn_cxx_try_compile "$LINENO"; then :
46995 glibcxx_cv_func_atan2l_use=yes
46996 else
46997 glibcxx_cv_func_atan2l_use=no
46999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47000 ac_ext=c
47001 ac_cpp='$CPP $CPPFLAGS'
47002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
47011 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
47013 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
47014 for ac_func in atan2l
47015 do :
47016 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
47017 if test "x$ac_cv_func_atan2l" = xyes; then :
47018 cat >>confdefs.h <<_ACEOF
47019 #define HAVE_ATAN2L 1
47020 _ACEOF
47023 done
47025 else
47027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
47028 $as_echo_n "checking for _atan2l declaration... " >&6; }
47029 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
47030 if ${glibcxx_cv_func__atan2l_use+:} false; then :
47031 $as_echo_n "(cached) " >&6
47032 else
47035 ac_ext=cpp
47036 ac_cpp='$CXXCPP $CPPFLAGS'
47037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47042 /* end confdefs.h. */
47043 #include <math.h>
47045 main ()
47047 _atan2l(0, 0);
47049 return 0;
47051 _ACEOF
47052 if ac_fn_cxx_try_compile "$LINENO"; then :
47053 glibcxx_cv_func__atan2l_use=yes
47054 else
47055 glibcxx_cv_func__atan2l_use=no
47057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47058 ac_ext=c
47059 ac_cpp='$CPP $CPPFLAGS'
47060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
47069 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
47071 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
47072 for ac_func in _atan2l
47073 do :
47074 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
47075 if test "x$ac_cv_func__atan2l" = xyes; then :
47076 cat >>confdefs.h <<_ACEOF
47077 #define HAVE__ATAN2L 1
47078 _ACEOF
47081 done
47090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
47091 $as_echo_n "checking for expl declaration... " >&6; }
47092 if test x${glibcxx_cv_func_expl_use+set} != xset; then
47093 if ${glibcxx_cv_func_expl_use+:} false; then :
47094 $as_echo_n "(cached) " >&6
47095 else
47098 ac_ext=cpp
47099 ac_cpp='$CXXCPP $CPPFLAGS'
47100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47105 /* end confdefs.h. */
47106 #include <math.h>
47107 #ifdef HAVE_IEEEFP_H
47108 #include <ieeefp.h>
47109 #endif
47112 main ()
47114 expl(0);
47116 return 0;
47118 _ACEOF
47119 if ac_fn_cxx_try_compile "$LINENO"; then :
47120 glibcxx_cv_func_expl_use=yes
47121 else
47122 glibcxx_cv_func_expl_use=no
47124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47125 ac_ext=c
47126 ac_cpp='$CPP $CPPFLAGS'
47127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
47136 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
47138 if test x$glibcxx_cv_func_expl_use = x"yes"; then
47139 for ac_func in expl
47140 do :
47141 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
47142 if test "x$ac_cv_func_expl" = xyes; then :
47143 cat >>confdefs.h <<_ACEOF
47144 #define HAVE_EXPL 1
47145 _ACEOF
47148 done
47150 else
47152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
47153 $as_echo_n "checking for _expl declaration... " >&6; }
47154 if test x${glibcxx_cv_func__expl_use+set} != xset; then
47155 if ${glibcxx_cv_func__expl_use+:} false; then :
47156 $as_echo_n "(cached) " >&6
47157 else
47160 ac_ext=cpp
47161 ac_cpp='$CXXCPP $CPPFLAGS'
47162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47167 /* end confdefs.h. */
47168 #include <math.h>
47169 #ifdef HAVE_IEEEFP_H
47170 #include <ieeefp.h>
47171 #endif
47174 main ()
47176 _expl(0);
47178 return 0;
47180 _ACEOF
47181 if ac_fn_cxx_try_compile "$LINENO"; then :
47182 glibcxx_cv_func__expl_use=yes
47183 else
47184 glibcxx_cv_func__expl_use=no
47186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47187 ac_ext=c
47188 ac_cpp='$CPP $CPPFLAGS'
47189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
47198 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
47200 if test x$glibcxx_cv_func__expl_use = x"yes"; then
47201 for ac_func in _expl
47202 do :
47203 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
47204 if test "x$ac_cv_func__expl" = xyes; then :
47205 cat >>confdefs.h <<_ACEOF
47206 #define HAVE__EXPL 1
47207 _ACEOF
47210 done
47219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
47220 $as_echo_n "checking for fabsl declaration... " >&6; }
47221 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
47222 if ${glibcxx_cv_func_fabsl_use+:} false; then :
47223 $as_echo_n "(cached) " >&6
47224 else
47227 ac_ext=cpp
47228 ac_cpp='$CXXCPP $CPPFLAGS'
47229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47234 /* end confdefs.h. */
47235 #include <math.h>
47236 #ifdef HAVE_IEEEFP_H
47237 #include <ieeefp.h>
47238 #endif
47241 main ()
47243 fabsl(0);
47245 return 0;
47247 _ACEOF
47248 if ac_fn_cxx_try_compile "$LINENO"; then :
47249 glibcxx_cv_func_fabsl_use=yes
47250 else
47251 glibcxx_cv_func_fabsl_use=no
47253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47254 ac_ext=c
47255 ac_cpp='$CPP $CPPFLAGS'
47256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
47265 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
47267 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
47268 for ac_func in fabsl
47269 do :
47270 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
47271 if test "x$ac_cv_func_fabsl" = xyes; then :
47272 cat >>confdefs.h <<_ACEOF
47273 #define HAVE_FABSL 1
47274 _ACEOF
47277 done
47279 else
47281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
47282 $as_echo_n "checking for _fabsl declaration... " >&6; }
47283 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
47284 if ${glibcxx_cv_func__fabsl_use+:} false; then :
47285 $as_echo_n "(cached) " >&6
47286 else
47289 ac_ext=cpp
47290 ac_cpp='$CXXCPP $CPPFLAGS'
47291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47296 /* end confdefs.h. */
47297 #include <math.h>
47298 #ifdef HAVE_IEEEFP_H
47299 #include <ieeefp.h>
47300 #endif
47303 main ()
47305 _fabsl(0);
47307 return 0;
47309 _ACEOF
47310 if ac_fn_cxx_try_compile "$LINENO"; then :
47311 glibcxx_cv_func__fabsl_use=yes
47312 else
47313 glibcxx_cv_func__fabsl_use=no
47315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47316 ac_ext=c
47317 ac_cpp='$CPP $CPPFLAGS'
47318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
47327 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
47329 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
47330 for ac_func in _fabsl
47331 do :
47332 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
47333 if test "x$ac_cv_func__fabsl" = xyes; then :
47334 cat >>confdefs.h <<_ACEOF
47335 #define HAVE__FABSL 1
47336 _ACEOF
47339 done
47348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
47349 $as_echo_n "checking for fmodl declaration... " >&6; }
47350 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
47351 if ${glibcxx_cv_func_fmodl_use+:} false; then :
47352 $as_echo_n "(cached) " >&6
47353 else
47356 ac_ext=cpp
47357 ac_cpp='$CXXCPP $CPPFLAGS'
47358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47363 /* end confdefs.h. */
47364 #include <math.h>
47366 main ()
47368 fmodl(0, 0);
47370 return 0;
47372 _ACEOF
47373 if ac_fn_cxx_try_compile "$LINENO"; then :
47374 glibcxx_cv_func_fmodl_use=yes
47375 else
47376 glibcxx_cv_func_fmodl_use=no
47378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47379 ac_ext=c
47380 ac_cpp='$CPP $CPPFLAGS'
47381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
47390 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
47392 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
47393 for ac_func in fmodl
47394 do :
47395 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
47396 if test "x$ac_cv_func_fmodl" = xyes; then :
47397 cat >>confdefs.h <<_ACEOF
47398 #define HAVE_FMODL 1
47399 _ACEOF
47402 done
47404 else
47406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
47407 $as_echo_n "checking for _fmodl declaration... " >&6; }
47408 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
47409 if ${glibcxx_cv_func__fmodl_use+:} false; then :
47410 $as_echo_n "(cached) " >&6
47411 else
47414 ac_ext=cpp
47415 ac_cpp='$CXXCPP $CPPFLAGS'
47416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47421 /* end confdefs.h. */
47422 #include <math.h>
47424 main ()
47426 _fmodl(0, 0);
47428 return 0;
47430 _ACEOF
47431 if ac_fn_cxx_try_compile "$LINENO"; then :
47432 glibcxx_cv_func__fmodl_use=yes
47433 else
47434 glibcxx_cv_func__fmodl_use=no
47436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47437 ac_ext=c
47438 ac_cpp='$CPP $CPPFLAGS'
47439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
47448 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
47450 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
47451 for ac_func in _fmodl
47452 do :
47453 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
47454 if test "x$ac_cv_func__fmodl" = xyes; then :
47455 cat >>confdefs.h <<_ACEOF
47456 #define HAVE__FMODL 1
47457 _ACEOF
47460 done
47469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
47470 $as_echo_n "checking for frexpl declaration... " >&6; }
47471 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
47472 if ${glibcxx_cv_func_frexpl_use+:} false; then :
47473 $as_echo_n "(cached) " >&6
47474 else
47477 ac_ext=cpp
47478 ac_cpp='$CXXCPP $CPPFLAGS'
47479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47484 /* end confdefs.h. */
47485 #include <math.h>
47487 main ()
47489 frexpl(0, 0);
47491 return 0;
47493 _ACEOF
47494 if ac_fn_cxx_try_compile "$LINENO"; then :
47495 glibcxx_cv_func_frexpl_use=yes
47496 else
47497 glibcxx_cv_func_frexpl_use=no
47499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47500 ac_ext=c
47501 ac_cpp='$CPP $CPPFLAGS'
47502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
47511 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
47513 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
47514 for ac_func in frexpl
47515 do :
47516 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
47517 if test "x$ac_cv_func_frexpl" = xyes; then :
47518 cat >>confdefs.h <<_ACEOF
47519 #define HAVE_FREXPL 1
47520 _ACEOF
47523 done
47525 else
47527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
47528 $as_echo_n "checking for _frexpl declaration... " >&6; }
47529 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
47530 if ${glibcxx_cv_func__frexpl_use+:} false; then :
47531 $as_echo_n "(cached) " >&6
47532 else
47535 ac_ext=cpp
47536 ac_cpp='$CXXCPP $CPPFLAGS'
47537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47542 /* end confdefs.h. */
47543 #include <math.h>
47545 main ()
47547 _frexpl(0, 0);
47549 return 0;
47551 _ACEOF
47552 if ac_fn_cxx_try_compile "$LINENO"; then :
47553 glibcxx_cv_func__frexpl_use=yes
47554 else
47555 glibcxx_cv_func__frexpl_use=no
47557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47558 ac_ext=c
47559 ac_cpp='$CPP $CPPFLAGS'
47560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
47569 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
47571 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
47572 for ac_func in _frexpl
47573 do :
47574 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
47575 if test "x$ac_cv_func__frexpl" = xyes; then :
47576 cat >>confdefs.h <<_ACEOF
47577 #define HAVE__FREXPL 1
47578 _ACEOF
47581 done
47590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
47591 $as_echo_n "checking for hypotl declaration... " >&6; }
47592 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
47593 if ${glibcxx_cv_func_hypotl_use+:} false; then :
47594 $as_echo_n "(cached) " >&6
47595 else
47598 ac_ext=cpp
47599 ac_cpp='$CXXCPP $CPPFLAGS'
47600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47605 /* end confdefs.h. */
47606 #include <math.h>
47608 main ()
47610 hypotl(0, 0);
47612 return 0;
47614 _ACEOF
47615 if ac_fn_cxx_try_compile "$LINENO"; then :
47616 glibcxx_cv_func_hypotl_use=yes
47617 else
47618 glibcxx_cv_func_hypotl_use=no
47620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47621 ac_ext=c
47622 ac_cpp='$CPP $CPPFLAGS'
47623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
47632 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
47634 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
47635 for ac_func in hypotl
47636 do :
47637 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
47638 if test "x$ac_cv_func_hypotl" = xyes; then :
47639 cat >>confdefs.h <<_ACEOF
47640 #define HAVE_HYPOTL 1
47641 _ACEOF
47644 done
47646 else
47648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
47649 $as_echo_n "checking for _hypotl declaration... " >&6; }
47650 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
47651 if ${glibcxx_cv_func__hypotl_use+:} false; then :
47652 $as_echo_n "(cached) " >&6
47653 else
47656 ac_ext=cpp
47657 ac_cpp='$CXXCPP $CPPFLAGS'
47658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47663 /* end confdefs.h. */
47664 #include <math.h>
47666 main ()
47668 _hypotl(0, 0);
47670 return 0;
47672 _ACEOF
47673 if ac_fn_cxx_try_compile "$LINENO"; then :
47674 glibcxx_cv_func__hypotl_use=yes
47675 else
47676 glibcxx_cv_func__hypotl_use=no
47678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47679 ac_ext=c
47680 ac_cpp='$CPP $CPPFLAGS'
47681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
47690 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
47692 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
47693 for ac_func in _hypotl
47694 do :
47695 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
47696 if test "x$ac_cv_func__hypotl" = xyes; then :
47697 cat >>confdefs.h <<_ACEOF
47698 #define HAVE__HYPOTL 1
47699 _ACEOF
47702 done
47711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
47712 $as_echo_n "checking for ldexpl declaration... " >&6; }
47713 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
47714 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
47715 $as_echo_n "(cached) " >&6
47716 else
47719 ac_ext=cpp
47720 ac_cpp='$CXXCPP $CPPFLAGS'
47721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47726 /* end confdefs.h. */
47727 #include <math.h>
47729 main ()
47731 ldexpl(0, 0);
47733 return 0;
47735 _ACEOF
47736 if ac_fn_cxx_try_compile "$LINENO"; then :
47737 glibcxx_cv_func_ldexpl_use=yes
47738 else
47739 glibcxx_cv_func_ldexpl_use=no
47741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47742 ac_ext=c
47743 ac_cpp='$CPP $CPPFLAGS'
47744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
47753 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
47755 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
47756 for ac_func in ldexpl
47757 do :
47758 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
47759 if test "x$ac_cv_func_ldexpl" = xyes; then :
47760 cat >>confdefs.h <<_ACEOF
47761 #define HAVE_LDEXPL 1
47762 _ACEOF
47765 done
47767 else
47769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
47770 $as_echo_n "checking for _ldexpl declaration... " >&6; }
47771 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
47772 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
47773 $as_echo_n "(cached) " >&6
47774 else
47777 ac_ext=cpp
47778 ac_cpp='$CXXCPP $CPPFLAGS'
47779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47784 /* end confdefs.h. */
47785 #include <math.h>
47787 main ()
47789 _ldexpl(0, 0);
47791 return 0;
47793 _ACEOF
47794 if ac_fn_cxx_try_compile "$LINENO"; then :
47795 glibcxx_cv_func__ldexpl_use=yes
47796 else
47797 glibcxx_cv_func__ldexpl_use=no
47799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47800 ac_ext=c
47801 ac_cpp='$CPP $CPPFLAGS'
47802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
47811 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
47813 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
47814 for ac_func in _ldexpl
47815 do :
47816 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
47817 if test "x$ac_cv_func__ldexpl" = xyes; then :
47818 cat >>confdefs.h <<_ACEOF
47819 #define HAVE__LDEXPL 1
47820 _ACEOF
47823 done
47832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
47833 $as_echo_n "checking for logl declaration... " >&6; }
47834 if test x${glibcxx_cv_func_logl_use+set} != xset; then
47835 if ${glibcxx_cv_func_logl_use+:} false; then :
47836 $as_echo_n "(cached) " >&6
47837 else
47840 ac_ext=cpp
47841 ac_cpp='$CXXCPP $CPPFLAGS'
47842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47847 /* end confdefs.h. */
47848 #include <math.h>
47849 #ifdef HAVE_IEEEFP_H
47850 #include <ieeefp.h>
47851 #endif
47854 main ()
47856 logl(0);
47858 return 0;
47860 _ACEOF
47861 if ac_fn_cxx_try_compile "$LINENO"; then :
47862 glibcxx_cv_func_logl_use=yes
47863 else
47864 glibcxx_cv_func_logl_use=no
47866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47867 ac_ext=c
47868 ac_cpp='$CPP $CPPFLAGS'
47869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
47878 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
47880 if test x$glibcxx_cv_func_logl_use = x"yes"; then
47881 for ac_func in logl
47882 do :
47883 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
47884 if test "x$ac_cv_func_logl" = xyes; then :
47885 cat >>confdefs.h <<_ACEOF
47886 #define HAVE_LOGL 1
47887 _ACEOF
47890 done
47892 else
47894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
47895 $as_echo_n "checking for _logl declaration... " >&6; }
47896 if test x${glibcxx_cv_func__logl_use+set} != xset; then
47897 if ${glibcxx_cv_func__logl_use+:} false; then :
47898 $as_echo_n "(cached) " >&6
47899 else
47902 ac_ext=cpp
47903 ac_cpp='$CXXCPP $CPPFLAGS'
47904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47909 /* end confdefs.h. */
47910 #include <math.h>
47911 #ifdef HAVE_IEEEFP_H
47912 #include <ieeefp.h>
47913 #endif
47916 main ()
47918 _logl(0);
47920 return 0;
47922 _ACEOF
47923 if ac_fn_cxx_try_compile "$LINENO"; then :
47924 glibcxx_cv_func__logl_use=yes
47925 else
47926 glibcxx_cv_func__logl_use=no
47928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47929 ac_ext=c
47930 ac_cpp='$CPP $CPPFLAGS'
47931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
47940 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
47942 if test x$glibcxx_cv_func__logl_use = x"yes"; then
47943 for ac_func in _logl
47944 do :
47945 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
47946 if test "x$ac_cv_func__logl" = xyes; then :
47947 cat >>confdefs.h <<_ACEOF
47948 #define HAVE__LOGL 1
47949 _ACEOF
47952 done
47961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
47962 $as_echo_n "checking for log10l declaration... " >&6; }
47963 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
47964 if ${glibcxx_cv_func_log10l_use+:} false; then :
47965 $as_echo_n "(cached) " >&6
47966 else
47969 ac_ext=cpp
47970 ac_cpp='$CXXCPP $CPPFLAGS'
47971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47976 /* end confdefs.h. */
47977 #include <math.h>
47978 #ifdef HAVE_IEEEFP_H
47979 #include <ieeefp.h>
47980 #endif
47983 main ()
47985 log10l(0);
47987 return 0;
47989 _ACEOF
47990 if ac_fn_cxx_try_compile "$LINENO"; then :
47991 glibcxx_cv_func_log10l_use=yes
47992 else
47993 glibcxx_cv_func_log10l_use=no
47995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47996 ac_ext=c
47997 ac_cpp='$CPP $CPPFLAGS'
47998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
48007 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
48009 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
48010 for ac_func in log10l
48011 do :
48012 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
48013 if test "x$ac_cv_func_log10l" = xyes; then :
48014 cat >>confdefs.h <<_ACEOF
48015 #define HAVE_LOG10L 1
48016 _ACEOF
48019 done
48021 else
48023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
48024 $as_echo_n "checking for _log10l declaration... " >&6; }
48025 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
48026 if ${glibcxx_cv_func__log10l_use+:} false; then :
48027 $as_echo_n "(cached) " >&6
48028 else
48031 ac_ext=cpp
48032 ac_cpp='$CXXCPP $CPPFLAGS'
48033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48038 /* end confdefs.h. */
48039 #include <math.h>
48040 #ifdef HAVE_IEEEFP_H
48041 #include <ieeefp.h>
48042 #endif
48045 main ()
48047 _log10l(0);
48049 return 0;
48051 _ACEOF
48052 if ac_fn_cxx_try_compile "$LINENO"; then :
48053 glibcxx_cv_func__log10l_use=yes
48054 else
48055 glibcxx_cv_func__log10l_use=no
48057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48058 ac_ext=c
48059 ac_cpp='$CPP $CPPFLAGS'
48060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
48069 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
48071 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
48072 for ac_func in _log10l
48073 do :
48074 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
48075 if test "x$ac_cv_func__log10l" = xyes; then :
48076 cat >>confdefs.h <<_ACEOF
48077 #define HAVE__LOG10L 1
48078 _ACEOF
48081 done
48090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
48091 $as_echo_n "checking for modfl declaration... " >&6; }
48092 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
48093 if ${glibcxx_cv_func_modfl_use+:} false; then :
48094 $as_echo_n "(cached) " >&6
48095 else
48098 ac_ext=cpp
48099 ac_cpp='$CXXCPP $CPPFLAGS'
48100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48105 /* end confdefs.h. */
48106 #include <math.h>
48108 main ()
48110 modfl(0, 0);
48112 return 0;
48114 _ACEOF
48115 if ac_fn_cxx_try_compile "$LINENO"; then :
48116 glibcxx_cv_func_modfl_use=yes
48117 else
48118 glibcxx_cv_func_modfl_use=no
48120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48121 ac_ext=c
48122 ac_cpp='$CPP $CPPFLAGS'
48123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
48132 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
48134 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
48135 for ac_func in modfl
48136 do :
48137 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
48138 if test "x$ac_cv_func_modfl" = xyes; then :
48139 cat >>confdefs.h <<_ACEOF
48140 #define HAVE_MODFL 1
48141 _ACEOF
48144 done
48146 else
48148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
48149 $as_echo_n "checking for _modfl declaration... " >&6; }
48150 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
48151 if ${glibcxx_cv_func__modfl_use+:} false; then :
48152 $as_echo_n "(cached) " >&6
48153 else
48156 ac_ext=cpp
48157 ac_cpp='$CXXCPP $CPPFLAGS'
48158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48163 /* end confdefs.h. */
48164 #include <math.h>
48166 main ()
48168 _modfl(0, 0);
48170 return 0;
48172 _ACEOF
48173 if ac_fn_cxx_try_compile "$LINENO"; then :
48174 glibcxx_cv_func__modfl_use=yes
48175 else
48176 glibcxx_cv_func__modfl_use=no
48178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48179 ac_ext=c
48180 ac_cpp='$CPP $CPPFLAGS'
48181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
48190 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
48192 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
48193 for ac_func in _modfl
48194 do :
48195 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
48196 if test "x$ac_cv_func__modfl" = xyes; then :
48197 cat >>confdefs.h <<_ACEOF
48198 #define HAVE__MODFL 1
48199 _ACEOF
48202 done
48211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
48212 $as_echo_n "checking for powl declaration... " >&6; }
48213 if test x${glibcxx_cv_func_powl_use+set} != xset; then
48214 if ${glibcxx_cv_func_powl_use+:} false; then :
48215 $as_echo_n "(cached) " >&6
48216 else
48219 ac_ext=cpp
48220 ac_cpp='$CXXCPP $CPPFLAGS'
48221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48226 /* end confdefs.h. */
48227 #include <math.h>
48229 main ()
48231 powl(0, 0);
48233 return 0;
48235 _ACEOF
48236 if ac_fn_cxx_try_compile "$LINENO"; then :
48237 glibcxx_cv_func_powl_use=yes
48238 else
48239 glibcxx_cv_func_powl_use=no
48241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48242 ac_ext=c
48243 ac_cpp='$CPP $CPPFLAGS'
48244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
48253 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
48255 if test x$glibcxx_cv_func_powl_use = x"yes"; then
48256 for ac_func in powl
48257 do :
48258 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
48259 if test "x$ac_cv_func_powl" = xyes; then :
48260 cat >>confdefs.h <<_ACEOF
48261 #define HAVE_POWL 1
48262 _ACEOF
48265 done
48267 else
48269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
48270 $as_echo_n "checking for _powl declaration... " >&6; }
48271 if test x${glibcxx_cv_func__powl_use+set} != xset; then
48272 if ${glibcxx_cv_func__powl_use+:} false; then :
48273 $as_echo_n "(cached) " >&6
48274 else
48277 ac_ext=cpp
48278 ac_cpp='$CXXCPP $CPPFLAGS'
48279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48284 /* end confdefs.h. */
48285 #include <math.h>
48287 main ()
48289 _powl(0, 0);
48291 return 0;
48293 _ACEOF
48294 if ac_fn_cxx_try_compile "$LINENO"; then :
48295 glibcxx_cv_func__powl_use=yes
48296 else
48297 glibcxx_cv_func__powl_use=no
48299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48300 ac_ext=c
48301 ac_cpp='$CPP $CPPFLAGS'
48302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
48311 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
48313 if test x$glibcxx_cv_func__powl_use = x"yes"; then
48314 for ac_func in _powl
48315 do :
48316 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
48317 if test "x$ac_cv_func__powl" = xyes; then :
48318 cat >>confdefs.h <<_ACEOF
48319 #define HAVE__POWL 1
48320 _ACEOF
48323 done
48332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
48333 $as_echo_n "checking for sqrtl declaration... " >&6; }
48334 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
48335 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
48336 $as_echo_n "(cached) " >&6
48337 else
48340 ac_ext=cpp
48341 ac_cpp='$CXXCPP $CPPFLAGS'
48342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48347 /* end confdefs.h. */
48348 #include <math.h>
48349 #ifdef HAVE_IEEEFP_H
48350 #include <ieeefp.h>
48351 #endif
48354 main ()
48356 sqrtl(0);
48358 return 0;
48360 _ACEOF
48361 if ac_fn_cxx_try_compile "$LINENO"; then :
48362 glibcxx_cv_func_sqrtl_use=yes
48363 else
48364 glibcxx_cv_func_sqrtl_use=no
48366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48367 ac_ext=c
48368 ac_cpp='$CPP $CPPFLAGS'
48369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
48378 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
48380 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
48381 for ac_func in sqrtl
48382 do :
48383 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
48384 if test "x$ac_cv_func_sqrtl" = xyes; then :
48385 cat >>confdefs.h <<_ACEOF
48386 #define HAVE_SQRTL 1
48387 _ACEOF
48390 done
48392 else
48394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
48395 $as_echo_n "checking for _sqrtl declaration... " >&6; }
48396 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
48397 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
48398 $as_echo_n "(cached) " >&6
48399 else
48402 ac_ext=cpp
48403 ac_cpp='$CXXCPP $CPPFLAGS'
48404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48409 /* end confdefs.h. */
48410 #include <math.h>
48411 #ifdef HAVE_IEEEFP_H
48412 #include <ieeefp.h>
48413 #endif
48416 main ()
48418 _sqrtl(0);
48420 return 0;
48422 _ACEOF
48423 if ac_fn_cxx_try_compile "$LINENO"; then :
48424 glibcxx_cv_func__sqrtl_use=yes
48425 else
48426 glibcxx_cv_func__sqrtl_use=no
48428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48429 ac_ext=c
48430 ac_cpp='$CPP $CPPFLAGS'
48431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
48440 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
48442 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
48443 for ac_func in _sqrtl
48444 do :
48445 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
48446 if test "x$ac_cv_func__sqrtl" = xyes; then :
48447 cat >>confdefs.h <<_ACEOF
48448 #define HAVE__SQRTL 1
48449 _ACEOF
48452 done
48461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
48462 $as_echo_n "checking for sincosl declaration... " >&6; }
48463 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
48464 if ${glibcxx_cv_func_sincosl_use+:} false; then :
48465 $as_echo_n "(cached) " >&6
48466 else
48469 ac_ext=cpp
48470 ac_cpp='$CXXCPP $CPPFLAGS'
48471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48476 /* end confdefs.h. */
48477 #include <math.h>
48479 main ()
48481 sincosl(0, 0, 0);
48483 return 0;
48485 _ACEOF
48486 if ac_fn_cxx_try_compile "$LINENO"; then :
48487 glibcxx_cv_func_sincosl_use=yes
48488 else
48489 glibcxx_cv_func_sincosl_use=no
48491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48492 ac_ext=c
48493 ac_cpp='$CPP $CPPFLAGS'
48494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
48503 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
48505 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
48506 for ac_func in sincosl
48507 do :
48508 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
48509 if test "x$ac_cv_func_sincosl" = xyes; then :
48510 cat >>confdefs.h <<_ACEOF
48511 #define HAVE_SINCOSL 1
48512 _ACEOF
48515 done
48517 else
48519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
48520 $as_echo_n "checking for _sincosl declaration... " >&6; }
48521 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
48522 if ${glibcxx_cv_func__sincosl_use+:} false; then :
48523 $as_echo_n "(cached) " >&6
48524 else
48527 ac_ext=cpp
48528 ac_cpp='$CXXCPP $CPPFLAGS'
48529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48534 /* end confdefs.h. */
48535 #include <math.h>
48537 main ()
48539 _sincosl(0, 0, 0);
48541 return 0;
48543 _ACEOF
48544 if ac_fn_cxx_try_compile "$LINENO"; then :
48545 glibcxx_cv_func__sincosl_use=yes
48546 else
48547 glibcxx_cv_func__sincosl_use=no
48549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48550 ac_ext=c
48551 ac_cpp='$CPP $CPPFLAGS'
48552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
48561 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
48563 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
48564 for ac_func in _sincosl
48565 do :
48566 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
48567 if test "x$ac_cv_func__sincosl" = xyes; then :
48568 cat >>confdefs.h <<_ACEOF
48569 #define HAVE__SINCOSL 1
48570 _ACEOF
48573 done
48582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
48583 $as_echo_n "checking for finitel declaration... " >&6; }
48584 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
48585 if ${glibcxx_cv_func_finitel_use+:} false; then :
48586 $as_echo_n "(cached) " >&6
48587 else
48590 ac_ext=cpp
48591 ac_cpp='$CXXCPP $CPPFLAGS'
48592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48597 /* end confdefs.h. */
48598 #include <math.h>
48599 #ifdef HAVE_IEEEFP_H
48600 #include <ieeefp.h>
48601 #endif
48604 main ()
48606 finitel(0);
48608 return 0;
48610 _ACEOF
48611 if ac_fn_cxx_try_compile "$LINENO"; then :
48612 glibcxx_cv_func_finitel_use=yes
48613 else
48614 glibcxx_cv_func_finitel_use=no
48616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48617 ac_ext=c
48618 ac_cpp='$CPP $CPPFLAGS'
48619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
48628 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
48630 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
48631 for ac_func in finitel
48632 do :
48633 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
48634 if test "x$ac_cv_func_finitel" = xyes; then :
48635 cat >>confdefs.h <<_ACEOF
48636 #define HAVE_FINITEL 1
48637 _ACEOF
48640 done
48642 else
48644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
48645 $as_echo_n "checking for _finitel declaration... " >&6; }
48646 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
48647 if ${glibcxx_cv_func__finitel_use+:} false; then :
48648 $as_echo_n "(cached) " >&6
48649 else
48652 ac_ext=cpp
48653 ac_cpp='$CXXCPP $CPPFLAGS'
48654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48659 /* end confdefs.h. */
48660 #include <math.h>
48661 #ifdef HAVE_IEEEFP_H
48662 #include <ieeefp.h>
48663 #endif
48666 main ()
48668 _finitel(0);
48670 return 0;
48672 _ACEOF
48673 if ac_fn_cxx_try_compile "$LINENO"; then :
48674 glibcxx_cv_func__finitel_use=yes
48675 else
48676 glibcxx_cv_func__finitel_use=no
48678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48679 ac_ext=c
48680 ac_cpp='$CPP $CPPFLAGS'
48681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
48690 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
48692 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
48693 for ac_func in _finitel
48694 do :
48695 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
48696 if test "x$ac_cv_func__finitel" = xyes; then :
48697 cat >>confdefs.h <<_ACEOF
48698 #define HAVE__FINITEL 1
48699 _ACEOF
48702 done
48710 LIBS="$ac_save_LIBS"
48711 CXXFLAGS="$ac_save_CXXFLAGS"
48714 ac_test_CXXFLAGS="${CXXFLAGS+set}"
48715 ac_save_CXXFLAGS="$CXXFLAGS"
48716 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
48719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
48720 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
48721 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
48722 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
48723 $as_echo_n "(cached) " >&6
48724 else
48727 ac_ext=cpp
48728 ac_cpp='$CXXCPP $CPPFLAGS'
48729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48734 /* end confdefs.h. */
48735 #include <stdlib.h>
48737 main ()
48739 at_quick_exit(0);
48741 return 0;
48743 _ACEOF
48744 if ac_fn_cxx_try_compile "$LINENO"; then :
48745 glibcxx_cv_func_at_quick_exit_use=yes
48746 else
48747 glibcxx_cv_func_at_quick_exit_use=no
48749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48750 ac_ext=c
48751 ac_cpp='$CPP $CPPFLAGS'
48752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
48761 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
48762 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
48763 for ac_func in at_quick_exit
48764 do :
48765 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
48766 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
48767 cat >>confdefs.h <<_ACEOF
48768 #define HAVE_AT_QUICK_EXIT 1
48769 _ACEOF
48772 done
48777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
48778 $as_echo_n "checking for quick_exit declaration... " >&6; }
48779 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
48780 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
48781 $as_echo_n "(cached) " >&6
48782 else
48785 ac_ext=cpp
48786 ac_cpp='$CXXCPP $CPPFLAGS'
48787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48792 /* end confdefs.h. */
48793 #include <stdlib.h>
48795 main ()
48797 quick_exit(0);
48799 return 0;
48801 _ACEOF
48802 if ac_fn_cxx_try_compile "$LINENO"; then :
48803 glibcxx_cv_func_quick_exit_use=yes
48804 else
48805 glibcxx_cv_func_quick_exit_use=no
48807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48808 ac_ext=c
48809 ac_cpp='$CPP $CPPFLAGS'
48810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
48819 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
48820 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
48821 for ac_func in quick_exit
48822 do :
48823 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
48824 if test "x$ac_cv_func_quick_exit" = xyes; then :
48825 cat >>confdefs.h <<_ACEOF
48826 #define HAVE_QUICK_EXIT 1
48827 _ACEOF
48830 done
48835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
48836 $as_echo_n "checking for strtold declaration... " >&6; }
48837 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
48838 if ${glibcxx_cv_func_strtold_use+:} false; then :
48839 $as_echo_n "(cached) " >&6
48840 else
48843 ac_ext=cpp
48844 ac_cpp='$CXXCPP $CPPFLAGS'
48845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48850 /* end confdefs.h. */
48851 #include <stdlib.h>
48853 main ()
48855 strtold(0, 0);
48857 return 0;
48859 _ACEOF
48860 if ac_fn_cxx_try_compile "$LINENO"; then :
48861 glibcxx_cv_func_strtold_use=yes
48862 else
48863 glibcxx_cv_func_strtold_use=no
48865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48866 ac_ext=c
48867 ac_cpp='$CPP $CPPFLAGS'
48868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
48877 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
48878 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
48879 for ac_func in strtold
48880 do :
48881 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
48882 if test "x$ac_cv_func_strtold" = xyes; then :
48883 cat >>confdefs.h <<_ACEOF
48884 #define HAVE_STRTOLD 1
48885 _ACEOF
48888 done
48895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
48896 $as_echo_n "checking for strtof declaration... " >&6; }
48897 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
48898 if ${glibcxx_cv_func_strtof_use+:} false; then :
48899 $as_echo_n "(cached) " >&6
48900 else
48903 ac_ext=cpp
48904 ac_cpp='$CXXCPP $CPPFLAGS'
48905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48910 /* end confdefs.h. */
48911 #include <stdlib.h>
48913 main ()
48915 strtof(0, 0);
48917 return 0;
48919 _ACEOF
48920 if ac_fn_cxx_try_compile "$LINENO"; then :
48921 glibcxx_cv_func_strtof_use=yes
48922 else
48923 glibcxx_cv_func_strtof_use=no
48925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48926 ac_ext=c
48927 ac_cpp='$CPP $CPPFLAGS'
48928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
48937 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
48938 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
48939 for ac_func in strtof
48940 do :
48941 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
48942 if test "x$ac_cv_func_strtof" = xyes; then :
48943 cat >>confdefs.h <<_ACEOF
48944 #define HAVE_STRTOF 1
48945 _ACEOF
48948 done
48955 CXXFLAGS="$ac_save_CXXFLAGS"
48958 for ac_func in uselocale
48959 do :
48960 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
48961 if test "x$ac_cv_func_uselocale" = xyes; then :
48962 cat >>confdefs.h <<_ACEOF
48963 #define HAVE_USELOCALE 1
48964 _ACEOF
48967 done
48971 *djgpp)
48972 # GLIBCXX_CHECK_MATH_SUPPORT
48973 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
48975 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
48977 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
48979 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
48981 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
48985 *-freebsd*)
48986 SECTION_FLAGS='-ffunction-sections -fdata-sections'
48989 # If we're not using GNU ld, then there's no point in even trying these
48990 # tests. Check for that first. We should have already tested for gld
48991 # by now (in libtool), but require it now just to be safe...
48992 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
48993 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
48997 # The name set by libtool depends on the version of libtool. Shame on us
48998 # for depending on an impl detail, but c'est la vie. Older versions used
48999 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
49000 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
49001 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
49002 # set (hence we're using an older libtool), then set it.
49003 if test x${with_gnu_ld+set} != xset; then
49004 if test x${ac_cv_prog_gnu_ld+set} != xset; then
49005 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
49006 with_gnu_ld=no
49007 else
49008 with_gnu_ld=$ac_cv_prog_gnu_ld
49012 # Start by getting the version number. I think the libtool test already
49013 # does some of this, but throws away the result.
49014 glibcxx_ld_is_gold=no
49015 glibcxx_ld_is_mold=no
49016 if test x"$with_gnu_ld" = x"yes"; then
49017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
49018 $as_echo_n "checking for ld version... " >&6; }
49020 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
49021 glibcxx_ld_is_gold=yes
49022 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
49023 glibcxx_ld_is_mold=yes
49025 ldver=`$LD --version 2>/dev/null |
49026 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
49028 glibcxx_gnu_ld_version=`echo $ldver | \
49029 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
49030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
49031 $as_echo "$glibcxx_gnu_ld_version" >&6; }
49034 # Set --gc-sections.
49035 glibcxx_have_gc_sections=no
49036 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
49037 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
49038 glibcxx_have_gc_sections=yes
49040 else
49041 glibcxx_gcsections_min_ld=21602
49042 if test x"$with_gnu_ld" = x"yes" &&
49043 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
49044 glibcxx_have_gc_sections=yes
49047 if test "$glibcxx_have_gc_sections" = "yes"; then
49048 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
49049 # NB: This flag only works reliably after 2.16.1. Configure tests
49050 # for this are difficult, so hard wire a value that should work.
49052 ac_test_CFLAGS="${CFLAGS+set}"
49053 ac_save_CFLAGS="$CFLAGS"
49054 CFLAGS='-Wl,--gc-sections'
49056 # Check for -Wl,--gc-sections
49057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
49058 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
49059 if test x$gcc_no_link = xyes; then
49060 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
49062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49063 /* end confdefs.h. */
49064 int one(void) { return 1; }
49065 int two(void) { return 2; }
49068 main ()
49070 two();
49072 return 0;
49074 _ACEOF
49075 if ac_fn_c_try_link "$LINENO"; then :
49076 ac_gcsections=yes
49077 else
49078 ac_gcsections=no
49080 rm -f core conftest.err conftest.$ac_objext \
49081 conftest$ac_exeext conftest.$ac_ext
49082 if test "$ac_gcsections" = "yes"; then
49083 rm -f conftest.c
49084 touch conftest.c
49085 if $CC -c conftest.c; then
49086 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
49087 grep "Warning: gc-sections option ignored" > /dev/null; then
49088 ac_gcsections=no
49091 rm -f conftest.c conftest.o conftest
49093 if test "$ac_gcsections" = "yes"; then
49094 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
49096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
49097 $as_echo "$ac_gcsections" >&6; }
49099 if test "$ac_test_CFLAGS" = set; then
49100 CFLAGS="$ac_save_CFLAGS"
49101 else
49102 # this is the suspicious part
49103 CFLAGS=''
49107 # Set -z,relro.
49108 # Note this is only for shared objects.
49109 ac_ld_relro=no
49110 if test x"$with_gnu_ld" = x"yes"; then
49111 # cygwin and mingw uses PE, which has no ELF relro support,
49112 # multi target ld may confuse configure machinery
49113 case "$host" in
49114 *-*-cygwin*)
49116 *-*-mingw*)
49119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
49120 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
49121 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
49122 if test -n "$cxx_z_relo"; then
49123 OPT_LDFLAGS="-Wl,-z,relro"
49124 ac_ld_relro=yes
49126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
49127 $as_echo "$ac_ld_relro" >&6; }
49128 esac
49131 # Set linker optimization flags.
49132 if test x"$with_gnu_ld" = x"yes"; then
49133 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
49139 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
49141 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
49143 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
49145 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
49147 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
49149 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
49151 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
49153 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
49155 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
49158 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
49160 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
49162 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
49164 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
49166 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
49168 $as_echo "#define HAVE_COSF 1" >>confdefs.h
49170 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
49172 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
49174 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
49176 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
49178 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
49180 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
49182 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
49184 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
49186 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
49188 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
49190 $as_echo "#define HAVE_POWF 1" >>confdefs.h
49192 $as_echo "#define HAVE_SINF 1" >>confdefs.h
49194 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
49196 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
49198 $as_echo "#define HAVE_TANF 1" >>confdefs.h
49200 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
49202 if test x"long_double_math_on_this_cpu" = x"yes"; then
49203 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
49205 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
49207 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
49210 for ac_func in __cxa_thread_atexit
49211 do :
49212 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
49213 if test "x$ac_cv_func___cxa_thread_atexit" = xyes; then :
49214 cat >>confdefs.h <<_ACEOF
49215 #define HAVE___CXA_THREAD_ATEXIT 1
49216 _ACEOF
49219 done
49221 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
49222 do :
49223 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49224 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49225 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49226 cat >>confdefs.h <<_ACEOF
49227 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49228 _ACEOF
49231 done
49233 for ac_func in timespec_get
49234 do :
49235 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
49236 if test "x$ac_cv_func_timespec_get" = xyes; then :
49237 cat >>confdefs.h <<_ACEOF
49238 #define HAVE_TIMESPEC_GET 1
49239 _ACEOF
49242 done
49244 for ac_func in sockatmark
49245 do :
49246 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
49247 if test "x$ac_cv_func_sockatmark" = xyes; then :
49248 cat >>confdefs.h <<_ACEOF
49249 #define HAVE_SOCKATMARK 1
49250 _ACEOF
49253 done
49255 for ac_func in uselocale
49256 do :
49257 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
49258 if test "x$ac_cv_func_uselocale" = xyes; then :
49259 cat >>confdefs.h <<_ACEOF
49260 #define HAVE_USELOCALE 1
49261 _ACEOF
49264 done
49268 *-fuchsia*)
49269 SECTION_FLAGS='-ffunction-sections -fdata-sections'
49273 *-hpux*)
49274 SECTION_FLAGS='-ffunction-sections -fdata-sections'
49277 # If we're not using GNU ld, then there's no point in even trying these
49278 # tests. Check for that first. We should have already tested for gld
49279 # by now (in libtool), but require it now just to be safe...
49280 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
49281 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
49285 # The name set by libtool depends on the version of libtool. Shame on us
49286 # for depending on an impl detail, but c'est la vie. Older versions used
49287 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
49288 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
49289 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
49290 # set (hence we're using an older libtool), then set it.
49291 if test x${with_gnu_ld+set} != xset; then
49292 if test x${ac_cv_prog_gnu_ld+set} != xset; then
49293 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
49294 with_gnu_ld=no
49295 else
49296 with_gnu_ld=$ac_cv_prog_gnu_ld
49300 # Start by getting the version number. I think the libtool test already
49301 # does some of this, but throws away the result.
49302 glibcxx_ld_is_gold=no
49303 glibcxx_ld_is_mold=no
49304 if test x"$with_gnu_ld" = x"yes"; then
49305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
49306 $as_echo_n "checking for ld version... " >&6; }
49308 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
49309 glibcxx_ld_is_gold=yes
49310 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
49311 glibcxx_ld_is_mold=yes
49313 ldver=`$LD --version 2>/dev/null |
49314 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
49316 glibcxx_gnu_ld_version=`echo $ldver | \
49317 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
49318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
49319 $as_echo "$glibcxx_gnu_ld_version" >&6; }
49322 # Set --gc-sections.
49323 glibcxx_have_gc_sections=no
49324 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
49325 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
49326 glibcxx_have_gc_sections=yes
49328 else
49329 glibcxx_gcsections_min_ld=21602
49330 if test x"$with_gnu_ld" = x"yes" &&
49331 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
49332 glibcxx_have_gc_sections=yes
49335 if test "$glibcxx_have_gc_sections" = "yes"; then
49336 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
49337 # NB: This flag only works reliably after 2.16.1. Configure tests
49338 # for this are difficult, so hard wire a value that should work.
49340 ac_test_CFLAGS="${CFLAGS+set}"
49341 ac_save_CFLAGS="$CFLAGS"
49342 CFLAGS='-Wl,--gc-sections'
49344 # Check for -Wl,--gc-sections
49345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
49346 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
49347 if test x$gcc_no_link = xyes; then
49348 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
49350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49351 /* end confdefs.h. */
49352 int one(void) { return 1; }
49353 int two(void) { return 2; }
49356 main ()
49358 two();
49360 return 0;
49362 _ACEOF
49363 if ac_fn_c_try_link "$LINENO"; then :
49364 ac_gcsections=yes
49365 else
49366 ac_gcsections=no
49368 rm -f core conftest.err conftest.$ac_objext \
49369 conftest$ac_exeext conftest.$ac_ext
49370 if test "$ac_gcsections" = "yes"; then
49371 rm -f conftest.c
49372 touch conftest.c
49373 if $CC -c conftest.c; then
49374 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
49375 grep "Warning: gc-sections option ignored" > /dev/null; then
49376 ac_gcsections=no
49379 rm -f conftest.c conftest.o conftest
49381 if test "$ac_gcsections" = "yes"; then
49382 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
49384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
49385 $as_echo "$ac_gcsections" >&6; }
49387 if test "$ac_test_CFLAGS" = set; then
49388 CFLAGS="$ac_save_CFLAGS"
49389 else
49390 # this is the suspicious part
49391 CFLAGS=''
49395 # Set -z,relro.
49396 # Note this is only for shared objects.
49397 ac_ld_relro=no
49398 if test x"$with_gnu_ld" = x"yes"; then
49399 # cygwin and mingw uses PE, which has no ELF relro support,
49400 # multi target ld may confuse configure machinery
49401 case "$host" in
49402 *-*-cygwin*)
49404 *-*-mingw*)
49407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
49408 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
49409 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
49410 if test -n "$cxx_z_relo"; then
49411 OPT_LDFLAGS="-Wl,-z,relro"
49412 ac_ld_relro=yes
49414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
49415 $as_echo "$ac_ld_relro" >&6; }
49416 esac
49419 # Set linker optimization flags.
49420 if test x"$with_gnu_ld" = x"yes"; then
49421 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
49428 # GLIBCXX_CHECK_MATH_SUPPORT
49429 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
49431 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
49433 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
49435 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
49437 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
49439 $as_echo "#define HAVE_COSF 1" >>confdefs.h
49441 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
49443 $as_echo "#define HAVE_SINF 1" >>confdefs.h
49445 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
49447 $as_echo "#define HAVE_TANF 1" >>confdefs.h
49449 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
49451 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
49453 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
49455 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
49457 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
49459 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
49461 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
49463 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
49465 $as_echo "#define HAVE_MODF 1" >>confdefs.h
49467 $as_echo "#define HAVE_POWF 1" >>confdefs.h
49469 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
49472 # GLIBCXX_CHECK_STDLIB_SUPPORT
49473 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
49478 # Check whether --enable-tls was given.
49479 if test "${enable_tls+set}" = set; then :
49480 enableval=$enable_tls;
49481 case "$enableval" in
49482 yes|no) ;;
49483 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
49484 esac
49486 else
49487 enable_tls=yes
49491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
49492 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
49493 if ${gcc_cv_have_tls+:} false; then :
49494 $as_echo_n "(cached) " >&6
49495 else
49497 if test "$cross_compiling" = yes; then :
49498 if test x$gcc_no_link = xyes; then
49499 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
49501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49502 /* end confdefs.h. */
49503 __thread int a; int b; int main() { return a = b; }
49504 _ACEOF
49505 if ac_fn_c_try_link "$LINENO"; then :
49506 chktls_save_LDFLAGS="$LDFLAGS"
49507 case $host in
49508 *-*-linux* | -*-uclinuxfdpic*)
49509 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
49511 esac
49512 chktls_save_CFLAGS="$CFLAGS"
49513 CFLAGS="-fPIC $CFLAGS"
49514 if test x$gcc_no_link = xyes; then
49515 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
49517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49518 /* end confdefs.h. */
49519 int f() { return 0; }
49520 _ACEOF
49521 if ac_fn_c_try_link "$LINENO"; then :
49522 if test x$gcc_no_link = xyes; then
49523 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
49525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49526 /* end confdefs.h. */
49527 __thread int a; int b; int f() { return a = b; }
49528 _ACEOF
49529 if ac_fn_c_try_link "$LINENO"; then :
49530 gcc_cv_have_tls=yes
49531 else
49532 gcc_cv_have_tls=no
49534 rm -f core conftest.err conftest.$ac_objext \
49535 conftest$ac_exeext conftest.$ac_ext
49536 else
49537 gcc_cv_have_tls=yes
49539 rm -f core conftest.err conftest.$ac_objext \
49540 conftest$ac_exeext conftest.$ac_ext
49541 CFLAGS="$chktls_save_CFLAGS"
49542 LDFLAGS="$chktls_save_LDFLAGS"
49543 else
49544 gcc_cv_have_tls=no
49546 rm -f core conftest.err conftest.$ac_objext \
49547 conftest$ac_exeext conftest.$ac_ext
49550 else
49551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49552 /* end confdefs.h. */
49553 __thread int a; int b; int main() { return a = b; }
49554 _ACEOF
49555 if ac_fn_c_try_run "$LINENO"; then :
49556 chktls_save_LDFLAGS="$LDFLAGS"
49557 LDFLAGS="-static $LDFLAGS"
49558 if test x$gcc_no_link = xyes; then
49559 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
49561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49562 /* end confdefs.h. */
49563 int main() { return 0; }
49564 _ACEOF
49565 if ac_fn_c_try_link "$LINENO"; then :
49566 if test "$cross_compiling" = yes; then :
49567 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
49568 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
49569 as_fn_error $? "cannot run test program while cross compiling
49570 See \`config.log' for more details" "$LINENO" 5; }
49571 else
49572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49573 /* end confdefs.h. */
49574 __thread int a; int b; int main() { return a = b; }
49575 _ACEOF
49576 if ac_fn_c_try_run "$LINENO"; then :
49577 gcc_cv_have_tls=yes
49578 else
49579 gcc_cv_have_tls=no
49581 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
49582 conftest.$ac_objext conftest.beam conftest.$ac_ext
49585 else
49586 gcc_cv_have_tls=yes
49588 rm -f core conftest.err conftest.$ac_objext \
49589 conftest$ac_exeext conftest.$ac_ext
49590 LDFLAGS="$chktls_save_LDFLAGS"
49591 if test $gcc_cv_have_tls = yes; then
49592 chktls_save_CFLAGS="$CFLAGS"
49593 thread_CFLAGS=failed
49594 for flag in '' '-pthread' '-lpthread'; do
49595 CFLAGS="$flag $chktls_save_CFLAGS"
49596 if test x$gcc_no_link = xyes; then
49597 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
49599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49600 /* end confdefs.h. */
49601 #include <pthread.h>
49602 void *g(void *d) { return NULL; }
49604 main ()
49606 pthread_t t; pthread_create(&t,NULL,g,NULL);
49608 return 0;
49610 _ACEOF
49611 if ac_fn_c_try_link "$LINENO"; then :
49612 thread_CFLAGS="$flag"
49614 rm -f core conftest.err conftest.$ac_objext \
49615 conftest$ac_exeext conftest.$ac_ext
49616 if test "X$thread_CFLAGS" != Xfailed; then
49617 break
49619 done
49620 CFLAGS="$chktls_save_CFLAGS"
49621 if test "X$thread_CFLAGS" != Xfailed; then
49622 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
49623 if test "$cross_compiling" = yes; then :
49624 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
49625 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
49626 as_fn_error $? "cannot run test program while cross compiling
49627 See \`config.log' for more details" "$LINENO" 5; }
49628 else
49629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49630 /* end confdefs.h. */
49631 #include <pthread.h>
49632 __thread int a;
49633 static int *volatile a_in_other_thread;
49634 static void *
49635 thread_func (void *arg)
49637 a_in_other_thread = &a;
49638 return (void *)0;
49641 main ()
49643 pthread_t thread;
49644 void *thread_retval;
49645 int *volatile a_in_main_thread;
49646 a_in_main_thread = &a;
49647 if (pthread_create (&thread, (pthread_attr_t *)0,
49648 thread_func, (void *)0))
49649 return 0;
49650 if (pthread_join (thread, &thread_retval))
49651 return 0;
49652 return (a_in_other_thread == a_in_main_thread);
49654 return 0;
49656 _ACEOF
49657 if ac_fn_c_try_run "$LINENO"; then :
49658 gcc_cv_have_tls=yes
49659 else
49660 gcc_cv_have_tls=no
49662 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
49663 conftest.$ac_objext conftest.beam conftest.$ac_ext
49666 CFLAGS="$chktls_save_CFLAGS"
49669 else
49670 gcc_cv_have_tls=no
49672 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
49673 conftest.$ac_objext conftest.beam conftest.$ac_ext
49677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
49678 $as_echo "$gcc_cv_have_tls" >&6; }
49679 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
49681 $as_echo "#define HAVE_TLS 1" >>confdefs.h
49685 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
49687 # All these tests are for C++; save the language and the compiler flags.
49688 # The CXXFLAGS thing is suspicious, but based on similar bits previously
49689 # found in GLIBCXX_CONFIGURE.
49691 ac_ext=cpp
49692 ac_cpp='$CXXCPP $CPPFLAGS'
49693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49697 ac_test_CXXFLAGS="${CXXFLAGS+set}"
49698 ac_save_CXXFLAGS="$CXXFLAGS"
49700 # Check for -ffunction-sections -fdata-sections
49701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
49702 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
49703 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
49704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49705 /* end confdefs.h. */
49706 int foo; void bar() { };
49708 main ()
49712 return 0;
49714 _ACEOF
49715 if ac_fn_cxx_try_compile "$LINENO"; then :
49716 ac_fdsections=yes
49717 else
49718 ac_fdsections=no
49720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49721 if test "$ac_test_CXXFLAGS" = set; then
49722 CXXFLAGS="$ac_save_CXXFLAGS"
49723 else
49724 # this is the suspicious part
49725 CXXFLAGS=''
49727 if test x"$ac_fdsections" = x"yes"; then
49728 SECTION_FLAGS='-ffunction-sections -fdata-sections'
49730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
49731 $as_echo "$ac_fdsections" >&6; }
49733 ac_ext=c
49734 ac_cpp='$CPP $CPPFLAGS'
49735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49742 # If we're not using GNU ld, then there's no point in even trying these
49743 # tests. Check for that first. We should have already tested for gld
49744 # by now (in libtool), but require it now just to be safe...
49745 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
49746 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
49750 # The name set by libtool depends on the version of libtool. Shame on us
49751 # for depending on an impl detail, but c'est la vie. Older versions used
49752 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
49753 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
49754 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
49755 # set (hence we're using an older libtool), then set it.
49756 if test x${with_gnu_ld+set} != xset; then
49757 if test x${ac_cv_prog_gnu_ld+set} != xset; then
49758 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
49759 with_gnu_ld=no
49760 else
49761 with_gnu_ld=$ac_cv_prog_gnu_ld
49765 # Start by getting the version number. I think the libtool test already
49766 # does some of this, but throws away the result.
49767 glibcxx_ld_is_gold=no
49768 glibcxx_ld_is_mold=no
49769 if test x"$with_gnu_ld" = x"yes"; then
49770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
49771 $as_echo_n "checking for ld version... " >&6; }
49773 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
49774 glibcxx_ld_is_gold=yes
49775 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
49776 glibcxx_ld_is_mold=yes
49778 ldver=`$LD --version 2>/dev/null |
49779 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
49781 glibcxx_gnu_ld_version=`echo $ldver | \
49782 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
49783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
49784 $as_echo "$glibcxx_gnu_ld_version" >&6; }
49787 # Set --gc-sections.
49788 glibcxx_have_gc_sections=no
49789 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
49790 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
49791 glibcxx_have_gc_sections=yes
49793 else
49794 glibcxx_gcsections_min_ld=21602
49795 if test x"$with_gnu_ld" = x"yes" &&
49796 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
49797 glibcxx_have_gc_sections=yes
49800 if test "$glibcxx_have_gc_sections" = "yes"; then
49801 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
49802 # NB: This flag only works reliably after 2.16.1. Configure tests
49803 # for this are difficult, so hard wire a value that should work.
49805 ac_test_CFLAGS="${CFLAGS+set}"
49806 ac_save_CFLAGS="$CFLAGS"
49807 CFLAGS='-Wl,--gc-sections'
49809 # Check for -Wl,--gc-sections
49810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
49811 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
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 int one(void) { return 1; }
49818 int two(void) { return 2; }
49821 main ()
49823 two();
49825 return 0;
49827 _ACEOF
49828 if ac_fn_c_try_link "$LINENO"; then :
49829 ac_gcsections=yes
49830 else
49831 ac_gcsections=no
49833 rm -f core conftest.err conftest.$ac_objext \
49834 conftest$ac_exeext conftest.$ac_ext
49835 if test "$ac_gcsections" = "yes"; then
49836 rm -f conftest.c
49837 touch conftest.c
49838 if $CC -c conftest.c; then
49839 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
49840 grep "Warning: gc-sections option ignored" > /dev/null; then
49841 ac_gcsections=no
49844 rm -f conftest.c conftest.o conftest
49846 if test "$ac_gcsections" = "yes"; then
49847 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
49849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
49850 $as_echo "$ac_gcsections" >&6; }
49852 if test "$ac_test_CFLAGS" = set; then
49853 CFLAGS="$ac_save_CFLAGS"
49854 else
49855 # this is the suspicious part
49856 CFLAGS=''
49860 # Set -z,relro.
49861 # Note this is only for shared objects.
49862 ac_ld_relro=no
49863 if test x"$with_gnu_ld" = x"yes"; then
49864 # cygwin and mingw uses PE, which has no ELF relro support,
49865 # multi target ld may confuse configure machinery
49866 case "$host" in
49867 *-*-cygwin*)
49869 *-*-mingw*)
49872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
49873 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
49874 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
49875 if test -n "$cxx_z_relo"; then
49876 OPT_LDFLAGS="-Wl,-z,relro"
49877 ac_ld_relro=yes
49879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
49880 $as_echo "$ac_ld_relro" >&6; }
49881 esac
49884 # Set linker optimization flags.
49885 if test x"$with_gnu_ld" = x"yes"; then
49886 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
49893 ac_test_CXXFLAGS="${CXXFLAGS+set}"
49894 ac_save_CXXFLAGS="$CXXFLAGS"
49895 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
49897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
49898 $as_echo_n "checking for sin in -lm... " >&6; }
49899 if ${ac_cv_lib_m_sin+:} false; then :
49900 $as_echo_n "(cached) " >&6
49901 else
49902 ac_check_lib_save_LIBS=$LIBS
49903 LIBS="-lm $LIBS"
49904 if test x$gcc_no_link = xyes; then
49905 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
49907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49908 /* end confdefs.h. */
49910 /* Override any GCC internal prototype to avoid an error.
49911 Use char because int might match the return type of a GCC
49912 builtin and then its argument prototype would still apply. */
49913 #ifdef __cplusplus
49914 extern "C"
49915 #endif
49916 char sin ();
49918 main ()
49920 return sin ();
49922 return 0;
49924 _ACEOF
49925 if ac_fn_c_try_link "$LINENO"; then :
49926 ac_cv_lib_m_sin=yes
49927 else
49928 ac_cv_lib_m_sin=no
49930 rm -f core conftest.err conftest.$ac_objext \
49931 conftest$ac_exeext conftest.$ac_ext
49932 LIBS=$ac_check_lib_save_LIBS
49934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
49935 $as_echo "$ac_cv_lib_m_sin" >&6; }
49936 if test "x$ac_cv_lib_m_sin" = xyes; then :
49937 libm="-lm"
49940 ac_save_LIBS="$LIBS"
49941 LIBS="$LIBS $libm"
49945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
49946 $as_echo_n "checking for isinf declaration... " >&6; }
49947 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
49948 if ${glibcxx_cv_func_isinf_use+:} false; then :
49949 $as_echo_n "(cached) " >&6
49950 else
49953 ac_ext=cpp
49954 ac_cpp='$CXXCPP $CPPFLAGS'
49955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49960 /* end confdefs.h. */
49961 #include <math.h>
49962 #ifdef HAVE_IEEEFP_H
49963 #include <ieeefp.h>
49964 #endif
49967 main ()
49969 isinf(0);
49971 return 0;
49973 _ACEOF
49974 if ac_fn_cxx_try_compile "$LINENO"; then :
49975 glibcxx_cv_func_isinf_use=yes
49976 else
49977 glibcxx_cv_func_isinf_use=no
49979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49980 ac_ext=c
49981 ac_cpp='$CPP $CPPFLAGS'
49982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
49991 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
49993 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
49994 for ac_func in isinf
49995 do :
49996 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
49997 if test "x$ac_cv_func_isinf" = xyes; then :
49998 cat >>confdefs.h <<_ACEOF
49999 #define HAVE_ISINF 1
50000 _ACEOF
50003 done
50005 else
50007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
50008 $as_echo_n "checking for _isinf declaration... " >&6; }
50009 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
50010 if ${glibcxx_cv_func__isinf_use+:} false; then :
50011 $as_echo_n "(cached) " >&6
50012 else
50015 ac_ext=cpp
50016 ac_cpp='$CXXCPP $CPPFLAGS'
50017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50022 /* end confdefs.h. */
50023 #include <math.h>
50024 #ifdef HAVE_IEEEFP_H
50025 #include <ieeefp.h>
50026 #endif
50029 main ()
50031 _isinf(0);
50033 return 0;
50035 _ACEOF
50036 if ac_fn_cxx_try_compile "$LINENO"; then :
50037 glibcxx_cv_func__isinf_use=yes
50038 else
50039 glibcxx_cv_func__isinf_use=no
50041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50042 ac_ext=c
50043 ac_cpp='$CPP $CPPFLAGS'
50044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
50053 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
50055 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
50056 for ac_func in _isinf
50057 do :
50058 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
50059 if test "x$ac_cv_func__isinf" = xyes; then :
50060 cat >>confdefs.h <<_ACEOF
50061 #define HAVE__ISINF 1
50062 _ACEOF
50065 done
50074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
50075 $as_echo_n "checking for isnan declaration... " >&6; }
50076 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
50077 if ${glibcxx_cv_func_isnan_use+:} false; then :
50078 $as_echo_n "(cached) " >&6
50079 else
50082 ac_ext=cpp
50083 ac_cpp='$CXXCPP $CPPFLAGS'
50084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50089 /* end confdefs.h. */
50090 #include <math.h>
50091 #ifdef HAVE_IEEEFP_H
50092 #include <ieeefp.h>
50093 #endif
50096 main ()
50098 isnan(0);
50100 return 0;
50102 _ACEOF
50103 if ac_fn_cxx_try_compile "$LINENO"; then :
50104 glibcxx_cv_func_isnan_use=yes
50105 else
50106 glibcxx_cv_func_isnan_use=no
50108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50109 ac_ext=c
50110 ac_cpp='$CPP $CPPFLAGS'
50111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
50120 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
50122 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
50123 for ac_func in isnan
50124 do :
50125 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
50126 if test "x$ac_cv_func_isnan" = xyes; then :
50127 cat >>confdefs.h <<_ACEOF
50128 #define HAVE_ISNAN 1
50129 _ACEOF
50132 done
50134 else
50136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
50137 $as_echo_n "checking for _isnan declaration... " >&6; }
50138 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
50139 if ${glibcxx_cv_func__isnan_use+:} false; then :
50140 $as_echo_n "(cached) " >&6
50141 else
50144 ac_ext=cpp
50145 ac_cpp='$CXXCPP $CPPFLAGS'
50146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50151 /* end confdefs.h. */
50152 #include <math.h>
50153 #ifdef HAVE_IEEEFP_H
50154 #include <ieeefp.h>
50155 #endif
50158 main ()
50160 _isnan(0);
50162 return 0;
50164 _ACEOF
50165 if ac_fn_cxx_try_compile "$LINENO"; then :
50166 glibcxx_cv_func__isnan_use=yes
50167 else
50168 glibcxx_cv_func__isnan_use=no
50170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50171 ac_ext=c
50172 ac_cpp='$CPP $CPPFLAGS'
50173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
50182 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
50184 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
50185 for ac_func in _isnan
50186 do :
50187 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
50188 if test "x$ac_cv_func__isnan" = xyes; then :
50189 cat >>confdefs.h <<_ACEOF
50190 #define HAVE__ISNAN 1
50191 _ACEOF
50194 done
50203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
50204 $as_echo_n "checking for finite declaration... " >&6; }
50205 if test x${glibcxx_cv_func_finite_use+set} != xset; then
50206 if ${glibcxx_cv_func_finite_use+:} false; then :
50207 $as_echo_n "(cached) " >&6
50208 else
50211 ac_ext=cpp
50212 ac_cpp='$CXXCPP $CPPFLAGS'
50213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50218 /* end confdefs.h. */
50219 #include <math.h>
50220 #ifdef HAVE_IEEEFP_H
50221 #include <ieeefp.h>
50222 #endif
50225 main ()
50227 finite(0);
50229 return 0;
50231 _ACEOF
50232 if ac_fn_cxx_try_compile "$LINENO"; then :
50233 glibcxx_cv_func_finite_use=yes
50234 else
50235 glibcxx_cv_func_finite_use=no
50237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50238 ac_ext=c
50239 ac_cpp='$CPP $CPPFLAGS'
50240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
50249 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
50251 if test x$glibcxx_cv_func_finite_use = x"yes"; then
50252 for ac_func in finite
50253 do :
50254 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
50255 if test "x$ac_cv_func_finite" = xyes; then :
50256 cat >>confdefs.h <<_ACEOF
50257 #define HAVE_FINITE 1
50258 _ACEOF
50261 done
50263 else
50265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
50266 $as_echo_n "checking for _finite declaration... " >&6; }
50267 if test x${glibcxx_cv_func__finite_use+set} != xset; then
50268 if ${glibcxx_cv_func__finite_use+:} false; then :
50269 $as_echo_n "(cached) " >&6
50270 else
50273 ac_ext=cpp
50274 ac_cpp='$CXXCPP $CPPFLAGS'
50275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50280 /* end confdefs.h. */
50281 #include <math.h>
50282 #ifdef HAVE_IEEEFP_H
50283 #include <ieeefp.h>
50284 #endif
50287 main ()
50289 _finite(0);
50291 return 0;
50293 _ACEOF
50294 if ac_fn_cxx_try_compile "$LINENO"; then :
50295 glibcxx_cv_func__finite_use=yes
50296 else
50297 glibcxx_cv_func__finite_use=no
50299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50300 ac_ext=c
50301 ac_cpp='$CPP $CPPFLAGS'
50302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
50311 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
50313 if test x$glibcxx_cv_func__finite_use = x"yes"; then
50314 for ac_func in _finite
50315 do :
50316 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
50317 if test "x$ac_cv_func__finite" = xyes; then :
50318 cat >>confdefs.h <<_ACEOF
50319 #define HAVE__FINITE 1
50320 _ACEOF
50323 done
50332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
50333 $as_echo_n "checking for sincos declaration... " >&6; }
50334 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
50335 if ${glibcxx_cv_func_sincos_use+:} false; then :
50336 $as_echo_n "(cached) " >&6
50337 else
50340 ac_ext=cpp
50341 ac_cpp='$CXXCPP $CPPFLAGS'
50342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50347 /* end confdefs.h. */
50348 #include <math.h>
50350 main ()
50352 sincos(0, 0, 0);
50354 return 0;
50356 _ACEOF
50357 if ac_fn_cxx_try_compile "$LINENO"; then :
50358 glibcxx_cv_func_sincos_use=yes
50359 else
50360 glibcxx_cv_func_sincos_use=no
50362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50363 ac_ext=c
50364 ac_cpp='$CPP $CPPFLAGS'
50365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
50374 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
50376 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
50377 for ac_func in sincos
50378 do :
50379 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
50380 if test "x$ac_cv_func_sincos" = xyes; then :
50381 cat >>confdefs.h <<_ACEOF
50382 #define HAVE_SINCOS 1
50383 _ACEOF
50386 done
50388 else
50390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
50391 $as_echo_n "checking for _sincos declaration... " >&6; }
50392 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
50393 if ${glibcxx_cv_func__sincos_use+:} false; then :
50394 $as_echo_n "(cached) " >&6
50395 else
50398 ac_ext=cpp
50399 ac_cpp='$CXXCPP $CPPFLAGS'
50400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50405 /* end confdefs.h. */
50406 #include <math.h>
50408 main ()
50410 _sincos(0, 0, 0);
50412 return 0;
50414 _ACEOF
50415 if ac_fn_cxx_try_compile "$LINENO"; then :
50416 glibcxx_cv_func__sincos_use=yes
50417 else
50418 glibcxx_cv_func__sincos_use=no
50420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50421 ac_ext=c
50422 ac_cpp='$CPP $CPPFLAGS'
50423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
50432 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
50434 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
50435 for ac_func in _sincos
50436 do :
50437 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
50438 if test "x$ac_cv_func__sincos" = xyes; then :
50439 cat >>confdefs.h <<_ACEOF
50440 #define HAVE__SINCOS 1
50441 _ACEOF
50444 done
50453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
50454 $as_echo_n "checking for fpclass declaration... " >&6; }
50455 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
50456 if ${glibcxx_cv_func_fpclass_use+:} false; then :
50457 $as_echo_n "(cached) " >&6
50458 else
50461 ac_ext=cpp
50462 ac_cpp='$CXXCPP $CPPFLAGS'
50463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50468 /* end confdefs.h. */
50469 #include <math.h>
50470 #ifdef HAVE_IEEEFP_H
50471 #include <ieeefp.h>
50472 #endif
50475 main ()
50477 fpclass(0);
50479 return 0;
50481 _ACEOF
50482 if ac_fn_cxx_try_compile "$LINENO"; then :
50483 glibcxx_cv_func_fpclass_use=yes
50484 else
50485 glibcxx_cv_func_fpclass_use=no
50487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50488 ac_ext=c
50489 ac_cpp='$CPP $CPPFLAGS'
50490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
50499 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
50501 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
50502 for ac_func in fpclass
50503 do :
50504 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
50505 if test "x$ac_cv_func_fpclass" = xyes; then :
50506 cat >>confdefs.h <<_ACEOF
50507 #define HAVE_FPCLASS 1
50508 _ACEOF
50511 done
50513 else
50515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
50516 $as_echo_n "checking for _fpclass declaration... " >&6; }
50517 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
50518 if ${glibcxx_cv_func__fpclass_use+:} false; then :
50519 $as_echo_n "(cached) " >&6
50520 else
50523 ac_ext=cpp
50524 ac_cpp='$CXXCPP $CPPFLAGS'
50525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50530 /* end confdefs.h. */
50531 #include <math.h>
50532 #ifdef HAVE_IEEEFP_H
50533 #include <ieeefp.h>
50534 #endif
50537 main ()
50539 _fpclass(0);
50541 return 0;
50543 _ACEOF
50544 if ac_fn_cxx_try_compile "$LINENO"; then :
50545 glibcxx_cv_func__fpclass_use=yes
50546 else
50547 glibcxx_cv_func__fpclass_use=no
50549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50550 ac_ext=c
50551 ac_cpp='$CPP $CPPFLAGS'
50552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
50561 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
50563 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
50564 for ac_func in _fpclass
50565 do :
50566 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
50567 if test "x$ac_cv_func__fpclass" = xyes; then :
50568 cat >>confdefs.h <<_ACEOF
50569 #define HAVE__FPCLASS 1
50570 _ACEOF
50573 done
50582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
50583 $as_echo_n "checking for qfpclass declaration... " >&6; }
50584 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
50585 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
50586 $as_echo_n "(cached) " >&6
50587 else
50590 ac_ext=cpp
50591 ac_cpp='$CXXCPP $CPPFLAGS'
50592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50597 /* end confdefs.h. */
50598 #include <math.h>
50599 #ifdef HAVE_IEEEFP_H
50600 #include <ieeefp.h>
50601 #endif
50604 main ()
50606 qfpclass(0);
50608 return 0;
50610 _ACEOF
50611 if ac_fn_cxx_try_compile "$LINENO"; then :
50612 glibcxx_cv_func_qfpclass_use=yes
50613 else
50614 glibcxx_cv_func_qfpclass_use=no
50616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50617 ac_ext=c
50618 ac_cpp='$CPP $CPPFLAGS'
50619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
50628 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
50630 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
50631 for ac_func in qfpclass
50632 do :
50633 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
50634 if test "x$ac_cv_func_qfpclass" = xyes; then :
50635 cat >>confdefs.h <<_ACEOF
50636 #define HAVE_QFPCLASS 1
50637 _ACEOF
50640 done
50642 else
50644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
50645 $as_echo_n "checking for _qfpclass declaration... " >&6; }
50646 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
50647 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
50648 $as_echo_n "(cached) " >&6
50649 else
50652 ac_ext=cpp
50653 ac_cpp='$CXXCPP $CPPFLAGS'
50654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50659 /* end confdefs.h. */
50660 #include <math.h>
50661 #ifdef HAVE_IEEEFP_H
50662 #include <ieeefp.h>
50663 #endif
50666 main ()
50668 _qfpclass(0);
50670 return 0;
50672 _ACEOF
50673 if ac_fn_cxx_try_compile "$LINENO"; then :
50674 glibcxx_cv_func__qfpclass_use=yes
50675 else
50676 glibcxx_cv_func__qfpclass_use=no
50678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50679 ac_ext=c
50680 ac_cpp='$CPP $CPPFLAGS'
50681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
50690 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
50692 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
50693 for ac_func in _qfpclass
50694 do :
50695 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
50696 if test "x$ac_cv_func__qfpclass" = xyes; then :
50697 cat >>confdefs.h <<_ACEOF
50698 #define HAVE__QFPCLASS 1
50699 _ACEOF
50702 done
50711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
50712 $as_echo_n "checking for hypot declaration... " >&6; }
50713 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
50714 if ${glibcxx_cv_func_hypot_use+:} false; then :
50715 $as_echo_n "(cached) " >&6
50716 else
50719 ac_ext=cpp
50720 ac_cpp='$CXXCPP $CPPFLAGS'
50721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50726 /* end confdefs.h. */
50727 #include <math.h>
50729 main ()
50731 hypot(0, 0);
50733 return 0;
50735 _ACEOF
50736 if ac_fn_cxx_try_compile "$LINENO"; then :
50737 glibcxx_cv_func_hypot_use=yes
50738 else
50739 glibcxx_cv_func_hypot_use=no
50741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50742 ac_ext=c
50743 ac_cpp='$CPP $CPPFLAGS'
50744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
50753 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
50755 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
50756 for ac_func in hypot
50757 do :
50758 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
50759 if test "x$ac_cv_func_hypot" = xyes; then :
50760 cat >>confdefs.h <<_ACEOF
50761 #define HAVE_HYPOT 1
50762 _ACEOF
50765 done
50767 else
50769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
50770 $as_echo_n "checking for _hypot declaration... " >&6; }
50771 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
50772 if ${glibcxx_cv_func__hypot_use+:} false; then :
50773 $as_echo_n "(cached) " >&6
50774 else
50777 ac_ext=cpp
50778 ac_cpp='$CXXCPP $CPPFLAGS'
50779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50784 /* end confdefs.h. */
50785 #include <math.h>
50787 main ()
50789 _hypot(0, 0);
50791 return 0;
50793 _ACEOF
50794 if ac_fn_cxx_try_compile "$LINENO"; then :
50795 glibcxx_cv_func__hypot_use=yes
50796 else
50797 glibcxx_cv_func__hypot_use=no
50799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50800 ac_ext=c
50801 ac_cpp='$CPP $CPPFLAGS'
50802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
50811 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
50813 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
50814 for ac_func in _hypot
50815 do :
50816 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
50817 if test "x$ac_cv_func__hypot" = xyes; then :
50818 cat >>confdefs.h <<_ACEOF
50819 #define HAVE__HYPOT 1
50820 _ACEOF
50823 done
50832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
50833 $as_echo_n "checking for float trig functions... " >&6; }
50834 if ${glibcxx_cv_func_float_trig_use+:} false; then :
50835 $as_echo_n "(cached) " >&6
50836 else
50839 ac_ext=cpp
50840 ac_cpp='$CXXCPP $CPPFLAGS'
50841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50846 /* end confdefs.h. */
50847 #include <math.h>
50849 main ()
50851 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
50853 return 0;
50855 _ACEOF
50856 if ac_fn_cxx_try_compile "$LINENO"; then :
50857 glibcxx_cv_func_float_trig_use=yes
50858 else
50859 glibcxx_cv_func_float_trig_use=no
50861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50862 ac_ext=c
50863 ac_cpp='$CPP $CPPFLAGS'
50864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
50871 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
50872 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
50873 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
50874 do :
50875 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50876 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50877 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
50878 cat >>confdefs.h <<_ACEOF
50879 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50880 _ACEOF
50883 done
50885 else
50886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
50887 $as_echo_n "checking for _float trig functions... " >&6; }
50888 if ${glibcxx_cv_func__float_trig_use+:} false; then :
50889 $as_echo_n "(cached) " >&6
50890 else
50893 ac_ext=cpp
50894 ac_cpp='$CXXCPP $CPPFLAGS'
50895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50900 /* end confdefs.h. */
50901 #include <math.h>
50903 main ()
50905 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
50907 return 0;
50909 _ACEOF
50910 if ac_fn_cxx_try_compile "$LINENO"; then :
50911 glibcxx_cv_func__float_trig_use=yes
50912 else
50913 glibcxx_cv_func__float_trig_use=no
50915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50916 ac_ext=c
50917 ac_cpp='$CPP $CPPFLAGS'
50918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
50925 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
50926 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
50927 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
50928 do :
50929 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50930 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50931 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
50932 cat >>confdefs.h <<_ACEOF
50933 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50934 _ACEOF
50937 done
50946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
50947 $as_echo_n "checking for float round functions... " >&6; }
50948 if ${glibcxx_cv_func_float_round_use+:} false; then :
50949 $as_echo_n "(cached) " >&6
50950 else
50953 ac_ext=cpp
50954 ac_cpp='$CXXCPP $CPPFLAGS'
50955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50960 /* end confdefs.h. */
50961 #include <math.h>
50963 main ()
50965 ceilf (0); floorf (0);
50967 return 0;
50969 _ACEOF
50970 if ac_fn_cxx_try_compile "$LINENO"; then :
50971 glibcxx_cv_func_float_round_use=yes
50972 else
50973 glibcxx_cv_func_float_round_use=no
50975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50976 ac_ext=c
50977 ac_cpp='$CPP $CPPFLAGS'
50978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
50985 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
50986 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
50987 for ac_func in ceilf floorf
50988 do :
50989 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50990 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50991 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
50992 cat >>confdefs.h <<_ACEOF
50993 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50994 _ACEOF
50997 done
50999 else
51000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
51001 $as_echo_n "checking for _float round functions... " >&6; }
51002 if ${glibcxx_cv_func__float_round_use+:} false; then :
51003 $as_echo_n "(cached) " >&6
51004 else
51007 ac_ext=cpp
51008 ac_cpp='$CXXCPP $CPPFLAGS'
51009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51014 /* end confdefs.h. */
51015 #include <math.h>
51017 main ()
51019 _ceilf (0); _floorf (0);
51021 return 0;
51023 _ACEOF
51024 if ac_fn_cxx_try_compile "$LINENO"; then :
51025 glibcxx_cv_func__float_round_use=yes
51026 else
51027 glibcxx_cv_func__float_round_use=no
51029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51030 ac_ext=c
51031 ac_cpp='$CPP $CPPFLAGS'
51032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
51039 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
51040 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
51041 for ac_func in _ceilf _floorf
51042 do :
51043 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51044 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51045 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51046 cat >>confdefs.h <<_ACEOF
51047 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51048 _ACEOF
51051 done
51061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
51062 $as_echo_n "checking for expf declaration... " >&6; }
51063 if test x${glibcxx_cv_func_expf_use+set} != xset; then
51064 if ${glibcxx_cv_func_expf_use+:} false; then :
51065 $as_echo_n "(cached) " >&6
51066 else
51069 ac_ext=cpp
51070 ac_cpp='$CXXCPP $CPPFLAGS'
51071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51076 /* end confdefs.h. */
51077 #include <math.h>
51078 #ifdef HAVE_IEEEFP_H
51079 #include <ieeefp.h>
51080 #endif
51083 main ()
51085 expf(0);
51087 return 0;
51089 _ACEOF
51090 if ac_fn_cxx_try_compile "$LINENO"; then :
51091 glibcxx_cv_func_expf_use=yes
51092 else
51093 glibcxx_cv_func_expf_use=no
51095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51096 ac_ext=c
51097 ac_cpp='$CPP $CPPFLAGS'
51098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
51107 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
51109 if test x$glibcxx_cv_func_expf_use = x"yes"; then
51110 for ac_func in expf
51111 do :
51112 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
51113 if test "x$ac_cv_func_expf" = xyes; then :
51114 cat >>confdefs.h <<_ACEOF
51115 #define HAVE_EXPF 1
51116 _ACEOF
51119 done
51121 else
51123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
51124 $as_echo_n "checking for _expf declaration... " >&6; }
51125 if test x${glibcxx_cv_func__expf_use+set} != xset; then
51126 if ${glibcxx_cv_func__expf_use+:} false; then :
51127 $as_echo_n "(cached) " >&6
51128 else
51131 ac_ext=cpp
51132 ac_cpp='$CXXCPP $CPPFLAGS'
51133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51138 /* end confdefs.h. */
51139 #include <math.h>
51140 #ifdef HAVE_IEEEFP_H
51141 #include <ieeefp.h>
51142 #endif
51145 main ()
51147 _expf(0);
51149 return 0;
51151 _ACEOF
51152 if ac_fn_cxx_try_compile "$LINENO"; then :
51153 glibcxx_cv_func__expf_use=yes
51154 else
51155 glibcxx_cv_func__expf_use=no
51157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51158 ac_ext=c
51159 ac_cpp='$CPP $CPPFLAGS'
51160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
51169 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
51171 if test x$glibcxx_cv_func__expf_use = x"yes"; then
51172 for ac_func in _expf
51173 do :
51174 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
51175 if test "x$ac_cv_func__expf" = xyes; then :
51176 cat >>confdefs.h <<_ACEOF
51177 #define HAVE__EXPF 1
51178 _ACEOF
51181 done
51190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
51191 $as_echo_n "checking for isnanf declaration... " >&6; }
51192 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
51193 if ${glibcxx_cv_func_isnanf_use+:} false; then :
51194 $as_echo_n "(cached) " >&6
51195 else
51198 ac_ext=cpp
51199 ac_cpp='$CXXCPP $CPPFLAGS'
51200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51205 /* end confdefs.h. */
51206 #include <math.h>
51207 #ifdef HAVE_IEEEFP_H
51208 #include <ieeefp.h>
51209 #endif
51212 main ()
51214 isnanf(0);
51216 return 0;
51218 _ACEOF
51219 if ac_fn_cxx_try_compile "$LINENO"; then :
51220 glibcxx_cv_func_isnanf_use=yes
51221 else
51222 glibcxx_cv_func_isnanf_use=no
51224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51225 ac_ext=c
51226 ac_cpp='$CPP $CPPFLAGS'
51227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
51236 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
51238 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
51239 for ac_func in isnanf
51240 do :
51241 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
51242 if test "x$ac_cv_func_isnanf" = xyes; then :
51243 cat >>confdefs.h <<_ACEOF
51244 #define HAVE_ISNANF 1
51245 _ACEOF
51248 done
51250 else
51252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
51253 $as_echo_n "checking for _isnanf declaration... " >&6; }
51254 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
51255 if ${glibcxx_cv_func__isnanf_use+:} false; then :
51256 $as_echo_n "(cached) " >&6
51257 else
51260 ac_ext=cpp
51261 ac_cpp='$CXXCPP $CPPFLAGS'
51262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51267 /* end confdefs.h. */
51268 #include <math.h>
51269 #ifdef HAVE_IEEEFP_H
51270 #include <ieeefp.h>
51271 #endif
51274 main ()
51276 _isnanf(0);
51278 return 0;
51280 _ACEOF
51281 if ac_fn_cxx_try_compile "$LINENO"; then :
51282 glibcxx_cv_func__isnanf_use=yes
51283 else
51284 glibcxx_cv_func__isnanf_use=no
51286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51287 ac_ext=c
51288 ac_cpp='$CPP $CPPFLAGS'
51289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
51298 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
51300 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
51301 for ac_func in _isnanf
51302 do :
51303 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
51304 if test "x$ac_cv_func__isnanf" = xyes; then :
51305 cat >>confdefs.h <<_ACEOF
51306 #define HAVE__ISNANF 1
51307 _ACEOF
51310 done
51319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
51320 $as_echo_n "checking for isinff declaration... " >&6; }
51321 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
51322 if ${glibcxx_cv_func_isinff_use+:} false; then :
51323 $as_echo_n "(cached) " >&6
51324 else
51327 ac_ext=cpp
51328 ac_cpp='$CXXCPP $CPPFLAGS'
51329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51334 /* end confdefs.h. */
51335 #include <math.h>
51336 #ifdef HAVE_IEEEFP_H
51337 #include <ieeefp.h>
51338 #endif
51341 main ()
51343 isinff(0);
51345 return 0;
51347 _ACEOF
51348 if ac_fn_cxx_try_compile "$LINENO"; then :
51349 glibcxx_cv_func_isinff_use=yes
51350 else
51351 glibcxx_cv_func_isinff_use=no
51353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51354 ac_ext=c
51355 ac_cpp='$CPP $CPPFLAGS'
51356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
51365 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
51367 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
51368 for ac_func in isinff
51369 do :
51370 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
51371 if test "x$ac_cv_func_isinff" = xyes; then :
51372 cat >>confdefs.h <<_ACEOF
51373 #define HAVE_ISINFF 1
51374 _ACEOF
51377 done
51379 else
51381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
51382 $as_echo_n "checking for _isinff declaration... " >&6; }
51383 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
51384 if ${glibcxx_cv_func__isinff_use+:} false; then :
51385 $as_echo_n "(cached) " >&6
51386 else
51389 ac_ext=cpp
51390 ac_cpp='$CXXCPP $CPPFLAGS'
51391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51396 /* end confdefs.h. */
51397 #include <math.h>
51398 #ifdef HAVE_IEEEFP_H
51399 #include <ieeefp.h>
51400 #endif
51403 main ()
51405 _isinff(0);
51407 return 0;
51409 _ACEOF
51410 if ac_fn_cxx_try_compile "$LINENO"; then :
51411 glibcxx_cv_func__isinff_use=yes
51412 else
51413 glibcxx_cv_func__isinff_use=no
51415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51416 ac_ext=c
51417 ac_cpp='$CPP $CPPFLAGS'
51418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
51427 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
51429 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
51430 for ac_func in _isinff
51431 do :
51432 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
51433 if test "x$ac_cv_func__isinff" = xyes; then :
51434 cat >>confdefs.h <<_ACEOF
51435 #define HAVE__ISINFF 1
51436 _ACEOF
51439 done
51448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
51449 $as_echo_n "checking for atan2f declaration... " >&6; }
51450 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
51451 if ${glibcxx_cv_func_atan2f_use+:} false; then :
51452 $as_echo_n "(cached) " >&6
51453 else
51456 ac_ext=cpp
51457 ac_cpp='$CXXCPP $CPPFLAGS'
51458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51463 /* end confdefs.h. */
51464 #include <math.h>
51466 main ()
51468 atan2f(0, 0);
51470 return 0;
51472 _ACEOF
51473 if ac_fn_cxx_try_compile "$LINENO"; then :
51474 glibcxx_cv_func_atan2f_use=yes
51475 else
51476 glibcxx_cv_func_atan2f_use=no
51478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51479 ac_ext=c
51480 ac_cpp='$CPP $CPPFLAGS'
51481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
51490 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
51492 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
51493 for ac_func in atan2f
51494 do :
51495 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
51496 if test "x$ac_cv_func_atan2f" = xyes; then :
51497 cat >>confdefs.h <<_ACEOF
51498 #define HAVE_ATAN2F 1
51499 _ACEOF
51502 done
51504 else
51506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
51507 $as_echo_n "checking for _atan2f declaration... " >&6; }
51508 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
51509 if ${glibcxx_cv_func__atan2f_use+:} false; then :
51510 $as_echo_n "(cached) " >&6
51511 else
51514 ac_ext=cpp
51515 ac_cpp='$CXXCPP $CPPFLAGS'
51516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51521 /* end confdefs.h. */
51522 #include <math.h>
51524 main ()
51526 _atan2f(0, 0);
51528 return 0;
51530 _ACEOF
51531 if ac_fn_cxx_try_compile "$LINENO"; then :
51532 glibcxx_cv_func__atan2f_use=yes
51533 else
51534 glibcxx_cv_func__atan2f_use=no
51536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51537 ac_ext=c
51538 ac_cpp='$CPP $CPPFLAGS'
51539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
51548 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
51550 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
51551 for ac_func in _atan2f
51552 do :
51553 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
51554 if test "x$ac_cv_func__atan2f" = xyes; then :
51555 cat >>confdefs.h <<_ACEOF
51556 #define HAVE__ATAN2F 1
51557 _ACEOF
51560 done
51569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
51570 $as_echo_n "checking for fabsf declaration... " >&6; }
51571 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
51572 if ${glibcxx_cv_func_fabsf_use+:} false; then :
51573 $as_echo_n "(cached) " >&6
51574 else
51577 ac_ext=cpp
51578 ac_cpp='$CXXCPP $CPPFLAGS'
51579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51584 /* end confdefs.h. */
51585 #include <math.h>
51586 #ifdef HAVE_IEEEFP_H
51587 #include <ieeefp.h>
51588 #endif
51591 main ()
51593 fabsf(0);
51595 return 0;
51597 _ACEOF
51598 if ac_fn_cxx_try_compile "$LINENO"; then :
51599 glibcxx_cv_func_fabsf_use=yes
51600 else
51601 glibcxx_cv_func_fabsf_use=no
51603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51604 ac_ext=c
51605 ac_cpp='$CPP $CPPFLAGS'
51606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
51615 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
51617 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
51618 for ac_func in fabsf
51619 do :
51620 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
51621 if test "x$ac_cv_func_fabsf" = xyes; then :
51622 cat >>confdefs.h <<_ACEOF
51623 #define HAVE_FABSF 1
51624 _ACEOF
51627 done
51629 else
51631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
51632 $as_echo_n "checking for _fabsf declaration... " >&6; }
51633 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
51634 if ${glibcxx_cv_func__fabsf_use+:} false; then :
51635 $as_echo_n "(cached) " >&6
51636 else
51639 ac_ext=cpp
51640 ac_cpp='$CXXCPP $CPPFLAGS'
51641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51646 /* end confdefs.h. */
51647 #include <math.h>
51648 #ifdef HAVE_IEEEFP_H
51649 #include <ieeefp.h>
51650 #endif
51653 main ()
51655 _fabsf(0);
51657 return 0;
51659 _ACEOF
51660 if ac_fn_cxx_try_compile "$LINENO"; then :
51661 glibcxx_cv_func__fabsf_use=yes
51662 else
51663 glibcxx_cv_func__fabsf_use=no
51665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51666 ac_ext=c
51667 ac_cpp='$CPP $CPPFLAGS'
51668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
51677 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
51679 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
51680 for ac_func in _fabsf
51681 do :
51682 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
51683 if test "x$ac_cv_func__fabsf" = xyes; then :
51684 cat >>confdefs.h <<_ACEOF
51685 #define HAVE__FABSF 1
51686 _ACEOF
51689 done
51698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
51699 $as_echo_n "checking for fmodf declaration... " >&6; }
51700 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
51701 if ${glibcxx_cv_func_fmodf_use+:} false; then :
51702 $as_echo_n "(cached) " >&6
51703 else
51706 ac_ext=cpp
51707 ac_cpp='$CXXCPP $CPPFLAGS'
51708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51713 /* end confdefs.h. */
51714 #include <math.h>
51716 main ()
51718 fmodf(0, 0);
51720 return 0;
51722 _ACEOF
51723 if ac_fn_cxx_try_compile "$LINENO"; then :
51724 glibcxx_cv_func_fmodf_use=yes
51725 else
51726 glibcxx_cv_func_fmodf_use=no
51728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51729 ac_ext=c
51730 ac_cpp='$CPP $CPPFLAGS'
51731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
51740 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
51742 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
51743 for ac_func in fmodf
51744 do :
51745 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
51746 if test "x$ac_cv_func_fmodf" = xyes; then :
51747 cat >>confdefs.h <<_ACEOF
51748 #define HAVE_FMODF 1
51749 _ACEOF
51752 done
51754 else
51756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
51757 $as_echo_n "checking for _fmodf declaration... " >&6; }
51758 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
51759 if ${glibcxx_cv_func__fmodf_use+:} false; then :
51760 $as_echo_n "(cached) " >&6
51761 else
51764 ac_ext=cpp
51765 ac_cpp='$CXXCPP $CPPFLAGS'
51766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51771 /* end confdefs.h. */
51772 #include <math.h>
51774 main ()
51776 _fmodf(0, 0);
51778 return 0;
51780 _ACEOF
51781 if ac_fn_cxx_try_compile "$LINENO"; then :
51782 glibcxx_cv_func__fmodf_use=yes
51783 else
51784 glibcxx_cv_func__fmodf_use=no
51786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51787 ac_ext=c
51788 ac_cpp='$CPP $CPPFLAGS'
51789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
51798 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
51800 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
51801 for ac_func in _fmodf
51802 do :
51803 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
51804 if test "x$ac_cv_func__fmodf" = xyes; then :
51805 cat >>confdefs.h <<_ACEOF
51806 #define HAVE__FMODF 1
51807 _ACEOF
51810 done
51819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
51820 $as_echo_n "checking for frexpf declaration... " >&6; }
51821 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
51822 if ${glibcxx_cv_func_frexpf_use+:} false; then :
51823 $as_echo_n "(cached) " >&6
51824 else
51827 ac_ext=cpp
51828 ac_cpp='$CXXCPP $CPPFLAGS'
51829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51834 /* end confdefs.h. */
51835 #include <math.h>
51837 main ()
51839 frexpf(0, 0);
51841 return 0;
51843 _ACEOF
51844 if ac_fn_cxx_try_compile "$LINENO"; then :
51845 glibcxx_cv_func_frexpf_use=yes
51846 else
51847 glibcxx_cv_func_frexpf_use=no
51849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51850 ac_ext=c
51851 ac_cpp='$CPP $CPPFLAGS'
51852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
51861 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
51863 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
51864 for ac_func in frexpf
51865 do :
51866 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
51867 if test "x$ac_cv_func_frexpf" = xyes; then :
51868 cat >>confdefs.h <<_ACEOF
51869 #define HAVE_FREXPF 1
51870 _ACEOF
51873 done
51875 else
51877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
51878 $as_echo_n "checking for _frexpf declaration... " >&6; }
51879 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
51880 if ${glibcxx_cv_func__frexpf_use+:} false; then :
51881 $as_echo_n "(cached) " >&6
51882 else
51885 ac_ext=cpp
51886 ac_cpp='$CXXCPP $CPPFLAGS'
51887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51892 /* end confdefs.h. */
51893 #include <math.h>
51895 main ()
51897 _frexpf(0, 0);
51899 return 0;
51901 _ACEOF
51902 if ac_fn_cxx_try_compile "$LINENO"; then :
51903 glibcxx_cv_func__frexpf_use=yes
51904 else
51905 glibcxx_cv_func__frexpf_use=no
51907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51908 ac_ext=c
51909 ac_cpp='$CPP $CPPFLAGS'
51910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
51919 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
51921 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
51922 for ac_func in _frexpf
51923 do :
51924 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
51925 if test "x$ac_cv_func__frexpf" = xyes; then :
51926 cat >>confdefs.h <<_ACEOF
51927 #define HAVE__FREXPF 1
51928 _ACEOF
51931 done
51940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
51941 $as_echo_n "checking for hypotf declaration... " >&6; }
51942 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
51943 if ${glibcxx_cv_func_hypotf_use+:} false; then :
51944 $as_echo_n "(cached) " >&6
51945 else
51948 ac_ext=cpp
51949 ac_cpp='$CXXCPP $CPPFLAGS'
51950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51955 /* end confdefs.h. */
51956 #include <math.h>
51958 main ()
51960 hypotf(0, 0);
51962 return 0;
51964 _ACEOF
51965 if ac_fn_cxx_try_compile "$LINENO"; then :
51966 glibcxx_cv_func_hypotf_use=yes
51967 else
51968 glibcxx_cv_func_hypotf_use=no
51970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51971 ac_ext=c
51972 ac_cpp='$CPP $CPPFLAGS'
51973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
51982 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
51984 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
51985 for ac_func in hypotf
51986 do :
51987 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
51988 if test "x$ac_cv_func_hypotf" = xyes; then :
51989 cat >>confdefs.h <<_ACEOF
51990 #define HAVE_HYPOTF 1
51991 _ACEOF
51994 done
51996 else
51998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
51999 $as_echo_n "checking for _hypotf declaration... " >&6; }
52000 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
52001 if ${glibcxx_cv_func__hypotf_use+:} false; then :
52002 $as_echo_n "(cached) " >&6
52003 else
52006 ac_ext=cpp
52007 ac_cpp='$CXXCPP $CPPFLAGS'
52008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52013 /* end confdefs.h. */
52014 #include <math.h>
52016 main ()
52018 _hypotf(0, 0);
52020 return 0;
52022 _ACEOF
52023 if ac_fn_cxx_try_compile "$LINENO"; then :
52024 glibcxx_cv_func__hypotf_use=yes
52025 else
52026 glibcxx_cv_func__hypotf_use=no
52028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52029 ac_ext=c
52030 ac_cpp='$CPP $CPPFLAGS'
52031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
52040 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
52042 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
52043 for ac_func in _hypotf
52044 do :
52045 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
52046 if test "x$ac_cv_func__hypotf" = xyes; then :
52047 cat >>confdefs.h <<_ACEOF
52048 #define HAVE__HYPOTF 1
52049 _ACEOF
52052 done
52061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
52062 $as_echo_n "checking for ldexpf declaration... " >&6; }
52063 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
52064 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
52065 $as_echo_n "(cached) " >&6
52066 else
52069 ac_ext=cpp
52070 ac_cpp='$CXXCPP $CPPFLAGS'
52071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52076 /* end confdefs.h. */
52077 #include <math.h>
52079 main ()
52081 ldexpf(0, 0);
52083 return 0;
52085 _ACEOF
52086 if ac_fn_cxx_try_compile "$LINENO"; then :
52087 glibcxx_cv_func_ldexpf_use=yes
52088 else
52089 glibcxx_cv_func_ldexpf_use=no
52091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52092 ac_ext=c
52093 ac_cpp='$CPP $CPPFLAGS'
52094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
52103 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
52105 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
52106 for ac_func in ldexpf
52107 do :
52108 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
52109 if test "x$ac_cv_func_ldexpf" = xyes; then :
52110 cat >>confdefs.h <<_ACEOF
52111 #define HAVE_LDEXPF 1
52112 _ACEOF
52115 done
52117 else
52119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
52120 $as_echo_n "checking for _ldexpf declaration... " >&6; }
52121 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
52122 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
52123 $as_echo_n "(cached) " >&6
52124 else
52127 ac_ext=cpp
52128 ac_cpp='$CXXCPP $CPPFLAGS'
52129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52134 /* end confdefs.h. */
52135 #include <math.h>
52137 main ()
52139 _ldexpf(0, 0);
52141 return 0;
52143 _ACEOF
52144 if ac_fn_cxx_try_compile "$LINENO"; then :
52145 glibcxx_cv_func__ldexpf_use=yes
52146 else
52147 glibcxx_cv_func__ldexpf_use=no
52149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52150 ac_ext=c
52151 ac_cpp='$CPP $CPPFLAGS'
52152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
52161 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
52163 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
52164 for ac_func in _ldexpf
52165 do :
52166 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
52167 if test "x$ac_cv_func__ldexpf" = xyes; then :
52168 cat >>confdefs.h <<_ACEOF
52169 #define HAVE__LDEXPF 1
52170 _ACEOF
52173 done
52182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
52183 $as_echo_n "checking for logf declaration... " >&6; }
52184 if test x${glibcxx_cv_func_logf_use+set} != xset; then
52185 if ${glibcxx_cv_func_logf_use+:} false; then :
52186 $as_echo_n "(cached) " >&6
52187 else
52190 ac_ext=cpp
52191 ac_cpp='$CXXCPP $CPPFLAGS'
52192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52197 /* end confdefs.h. */
52198 #include <math.h>
52199 #ifdef HAVE_IEEEFP_H
52200 #include <ieeefp.h>
52201 #endif
52204 main ()
52206 logf(0);
52208 return 0;
52210 _ACEOF
52211 if ac_fn_cxx_try_compile "$LINENO"; then :
52212 glibcxx_cv_func_logf_use=yes
52213 else
52214 glibcxx_cv_func_logf_use=no
52216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52217 ac_ext=c
52218 ac_cpp='$CPP $CPPFLAGS'
52219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
52228 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
52230 if test x$glibcxx_cv_func_logf_use = x"yes"; then
52231 for ac_func in logf
52232 do :
52233 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
52234 if test "x$ac_cv_func_logf" = xyes; then :
52235 cat >>confdefs.h <<_ACEOF
52236 #define HAVE_LOGF 1
52237 _ACEOF
52240 done
52242 else
52244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
52245 $as_echo_n "checking for _logf declaration... " >&6; }
52246 if test x${glibcxx_cv_func__logf_use+set} != xset; then
52247 if ${glibcxx_cv_func__logf_use+:} false; then :
52248 $as_echo_n "(cached) " >&6
52249 else
52252 ac_ext=cpp
52253 ac_cpp='$CXXCPP $CPPFLAGS'
52254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52259 /* end confdefs.h. */
52260 #include <math.h>
52261 #ifdef HAVE_IEEEFP_H
52262 #include <ieeefp.h>
52263 #endif
52266 main ()
52268 _logf(0);
52270 return 0;
52272 _ACEOF
52273 if ac_fn_cxx_try_compile "$LINENO"; then :
52274 glibcxx_cv_func__logf_use=yes
52275 else
52276 glibcxx_cv_func__logf_use=no
52278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52279 ac_ext=c
52280 ac_cpp='$CPP $CPPFLAGS'
52281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
52290 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
52292 if test x$glibcxx_cv_func__logf_use = x"yes"; then
52293 for ac_func in _logf
52294 do :
52295 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
52296 if test "x$ac_cv_func__logf" = xyes; then :
52297 cat >>confdefs.h <<_ACEOF
52298 #define HAVE__LOGF 1
52299 _ACEOF
52302 done
52311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
52312 $as_echo_n "checking for log10f declaration... " >&6; }
52313 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
52314 if ${glibcxx_cv_func_log10f_use+:} false; then :
52315 $as_echo_n "(cached) " >&6
52316 else
52319 ac_ext=cpp
52320 ac_cpp='$CXXCPP $CPPFLAGS'
52321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52326 /* end confdefs.h. */
52327 #include <math.h>
52328 #ifdef HAVE_IEEEFP_H
52329 #include <ieeefp.h>
52330 #endif
52333 main ()
52335 log10f(0);
52337 return 0;
52339 _ACEOF
52340 if ac_fn_cxx_try_compile "$LINENO"; then :
52341 glibcxx_cv_func_log10f_use=yes
52342 else
52343 glibcxx_cv_func_log10f_use=no
52345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52346 ac_ext=c
52347 ac_cpp='$CPP $CPPFLAGS'
52348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
52357 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
52359 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
52360 for ac_func in log10f
52361 do :
52362 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
52363 if test "x$ac_cv_func_log10f" = xyes; then :
52364 cat >>confdefs.h <<_ACEOF
52365 #define HAVE_LOG10F 1
52366 _ACEOF
52369 done
52371 else
52373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
52374 $as_echo_n "checking for _log10f declaration... " >&6; }
52375 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
52376 if ${glibcxx_cv_func__log10f_use+:} false; then :
52377 $as_echo_n "(cached) " >&6
52378 else
52381 ac_ext=cpp
52382 ac_cpp='$CXXCPP $CPPFLAGS'
52383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52388 /* end confdefs.h. */
52389 #include <math.h>
52390 #ifdef HAVE_IEEEFP_H
52391 #include <ieeefp.h>
52392 #endif
52395 main ()
52397 _log10f(0);
52399 return 0;
52401 _ACEOF
52402 if ac_fn_cxx_try_compile "$LINENO"; then :
52403 glibcxx_cv_func__log10f_use=yes
52404 else
52405 glibcxx_cv_func__log10f_use=no
52407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52408 ac_ext=c
52409 ac_cpp='$CPP $CPPFLAGS'
52410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
52419 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
52421 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
52422 for ac_func in _log10f
52423 do :
52424 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
52425 if test "x$ac_cv_func__log10f" = xyes; then :
52426 cat >>confdefs.h <<_ACEOF
52427 #define HAVE__LOG10F 1
52428 _ACEOF
52431 done
52440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
52441 $as_echo_n "checking for modff declaration... " >&6; }
52442 if test x${glibcxx_cv_func_modff_use+set} != xset; then
52443 if ${glibcxx_cv_func_modff_use+:} false; then :
52444 $as_echo_n "(cached) " >&6
52445 else
52448 ac_ext=cpp
52449 ac_cpp='$CXXCPP $CPPFLAGS'
52450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52455 /* end confdefs.h. */
52456 #include <math.h>
52458 main ()
52460 modff(0, 0);
52462 return 0;
52464 _ACEOF
52465 if ac_fn_cxx_try_compile "$LINENO"; then :
52466 glibcxx_cv_func_modff_use=yes
52467 else
52468 glibcxx_cv_func_modff_use=no
52470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52471 ac_ext=c
52472 ac_cpp='$CPP $CPPFLAGS'
52473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
52482 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
52484 if test x$glibcxx_cv_func_modff_use = x"yes"; then
52485 for ac_func in modff
52486 do :
52487 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
52488 if test "x$ac_cv_func_modff" = xyes; then :
52489 cat >>confdefs.h <<_ACEOF
52490 #define HAVE_MODFF 1
52491 _ACEOF
52494 done
52496 else
52498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
52499 $as_echo_n "checking for _modff declaration... " >&6; }
52500 if test x${glibcxx_cv_func__modff_use+set} != xset; then
52501 if ${glibcxx_cv_func__modff_use+:} false; then :
52502 $as_echo_n "(cached) " >&6
52503 else
52506 ac_ext=cpp
52507 ac_cpp='$CXXCPP $CPPFLAGS'
52508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52513 /* end confdefs.h. */
52514 #include <math.h>
52516 main ()
52518 _modff(0, 0);
52520 return 0;
52522 _ACEOF
52523 if ac_fn_cxx_try_compile "$LINENO"; then :
52524 glibcxx_cv_func__modff_use=yes
52525 else
52526 glibcxx_cv_func__modff_use=no
52528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52529 ac_ext=c
52530 ac_cpp='$CPP $CPPFLAGS'
52531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
52540 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
52542 if test x$glibcxx_cv_func__modff_use = x"yes"; then
52543 for ac_func in _modff
52544 do :
52545 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
52546 if test "x$ac_cv_func__modff" = xyes; then :
52547 cat >>confdefs.h <<_ACEOF
52548 #define HAVE__MODFF 1
52549 _ACEOF
52552 done
52561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
52562 $as_echo_n "checking for modf declaration... " >&6; }
52563 if test x${glibcxx_cv_func_modf_use+set} != xset; then
52564 if ${glibcxx_cv_func_modf_use+:} false; then :
52565 $as_echo_n "(cached) " >&6
52566 else
52569 ac_ext=cpp
52570 ac_cpp='$CXXCPP $CPPFLAGS'
52571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52576 /* end confdefs.h. */
52577 #include <math.h>
52579 main ()
52581 modf(0, 0);
52583 return 0;
52585 _ACEOF
52586 if ac_fn_cxx_try_compile "$LINENO"; then :
52587 glibcxx_cv_func_modf_use=yes
52588 else
52589 glibcxx_cv_func_modf_use=no
52591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52592 ac_ext=c
52593 ac_cpp='$CPP $CPPFLAGS'
52594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
52603 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
52605 if test x$glibcxx_cv_func_modf_use = x"yes"; then
52606 for ac_func in modf
52607 do :
52608 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
52609 if test "x$ac_cv_func_modf" = xyes; then :
52610 cat >>confdefs.h <<_ACEOF
52611 #define HAVE_MODF 1
52612 _ACEOF
52615 done
52617 else
52619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
52620 $as_echo_n "checking for _modf declaration... " >&6; }
52621 if test x${glibcxx_cv_func__modf_use+set} != xset; then
52622 if ${glibcxx_cv_func__modf_use+:} false; then :
52623 $as_echo_n "(cached) " >&6
52624 else
52627 ac_ext=cpp
52628 ac_cpp='$CXXCPP $CPPFLAGS'
52629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52634 /* end confdefs.h. */
52635 #include <math.h>
52637 main ()
52639 _modf(0, 0);
52641 return 0;
52643 _ACEOF
52644 if ac_fn_cxx_try_compile "$LINENO"; then :
52645 glibcxx_cv_func__modf_use=yes
52646 else
52647 glibcxx_cv_func__modf_use=no
52649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52650 ac_ext=c
52651 ac_cpp='$CPP $CPPFLAGS'
52652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
52661 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
52663 if test x$glibcxx_cv_func__modf_use = x"yes"; then
52664 for ac_func in _modf
52665 do :
52666 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
52667 if test "x$ac_cv_func__modf" = xyes; then :
52668 cat >>confdefs.h <<_ACEOF
52669 #define HAVE__MODF 1
52670 _ACEOF
52673 done
52682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
52683 $as_echo_n "checking for powf declaration... " >&6; }
52684 if test x${glibcxx_cv_func_powf_use+set} != xset; then
52685 if ${glibcxx_cv_func_powf_use+:} false; then :
52686 $as_echo_n "(cached) " >&6
52687 else
52690 ac_ext=cpp
52691 ac_cpp='$CXXCPP $CPPFLAGS'
52692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52697 /* end confdefs.h. */
52698 #include <math.h>
52700 main ()
52702 powf(0, 0);
52704 return 0;
52706 _ACEOF
52707 if ac_fn_cxx_try_compile "$LINENO"; then :
52708 glibcxx_cv_func_powf_use=yes
52709 else
52710 glibcxx_cv_func_powf_use=no
52712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52713 ac_ext=c
52714 ac_cpp='$CPP $CPPFLAGS'
52715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
52724 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
52726 if test x$glibcxx_cv_func_powf_use = x"yes"; then
52727 for ac_func in powf
52728 do :
52729 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
52730 if test "x$ac_cv_func_powf" = xyes; then :
52731 cat >>confdefs.h <<_ACEOF
52732 #define HAVE_POWF 1
52733 _ACEOF
52736 done
52738 else
52740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
52741 $as_echo_n "checking for _powf declaration... " >&6; }
52742 if test x${glibcxx_cv_func__powf_use+set} != xset; then
52743 if ${glibcxx_cv_func__powf_use+:} false; then :
52744 $as_echo_n "(cached) " >&6
52745 else
52748 ac_ext=cpp
52749 ac_cpp='$CXXCPP $CPPFLAGS'
52750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52755 /* end confdefs.h. */
52756 #include <math.h>
52758 main ()
52760 _powf(0, 0);
52762 return 0;
52764 _ACEOF
52765 if ac_fn_cxx_try_compile "$LINENO"; then :
52766 glibcxx_cv_func__powf_use=yes
52767 else
52768 glibcxx_cv_func__powf_use=no
52770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52771 ac_ext=c
52772 ac_cpp='$CPP $CPPFLAGS'
52773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
52782 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
52784 if test x$glibcxx_cv_func__powf_use = x"yes"; then
52785 for ac_func in _powf
52786 do :
52787 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
52788 if test "x$ac_cv_func__powf" = xyes; then :
52789 cat >>confdefs.h <<_ACEOF
52790 #define HAVE__POWF 1
52791 _ACEOF
52794 done
52803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
52804 $as_echo_n "checking for sqrtf declaration... " >&6; }
52805 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
52806 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
52807 $as_echo_n "(cached) " >&6
52808 else
52811 ac_ext=cpp
52812 ac_cpp='$CXXCPP $CPPFLAGS'
52813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52818 /* end confdefs.h. */
52819 #include <math.h>
52820 #ifdef HAVE_IEEEFP_H
52821 #include <ieeefp.h>
52822 #endif
52825 main ()
52827 sqrtf(0);
52829 return 0;
52831 _ACEOF
52832 if ac_fn_cxx_try_compile "$LINENO"; then :
52833 glibcxx_cv_func_sqrtf_use=yes
52834 else
52835 glibcxx_cv_func_sqrtf_use=no
52837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52838 ac_ext=c
52839 ac_cpp='$CPP $CPPFLAGS'
52840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
52849 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
52851 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
52852 for ac_func in sqrtf
52853 do :
52854 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
52855 if test "x$ac_cv_func_sqrtf" = xyes; then :
52856 cat >>confdefs.h <<_ACEOF
52857 #define HAVE_SQRTF 1
52858 _ACEOF
52861 done
52863 else
52865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
52866 $as_echo_n "checking for _sqrtf declaration... " >&6; }
52867 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
52868 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
52869 $as_echo_n "(cached) " >&6
52870 else
52873 ac_ext=cpp
52874 ac_cpp='$CXXCPP $CPPFLAGS'
52875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52880 /* end confdefs.h. */
52881 #include <math.h>
52882 #ifdef HAVE_IEEEFP_H
52883 #include <ieeefp.h>
52884 #endif
52887 main ()
52889 _sqrtf(0);
52891 return 0;
52893 _ACEOF
52894 if ac_fn_cxx_try_compile "$LINENO"; then :
52895 glibcxx_cv_func__sqrtf_use=yes
52896 else
52897 glibcxx_cv_func__sqrtf_use=no
52899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52900 ac_ext=c
52901 ac_cpp='$CPP $CPPFLAGS'
52902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
52911 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
52913 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
52914 for ac_func in _sqrtf
52915 do :
52916 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
52917 if test "x$ac_cv_func__sqrtf" = xyes; then :
52918 cat >>confdefs.h <<_ACEOF
52919 #define HAVE__SQRTF 1
52920 _ACEOF
52923 done
52932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
52933 $as_echo_n "checking for sincosf declaration... " >&6; }
52934 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
52935 if ${glibcxx_cv_func_sincosf_use+:} false; then :
52936 $as_echo_n "(cached) " >&6
52937 else
52940 ac_ext=cpp
52941 ac_cpp='$CXXCPP $CPPFLAGS'
52942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52947 /* end confdefs.h. */
52948 #include <math.h>
52950 main ()
52952 sincosf(0, 0, 0);
52954 return 0;
52956 _ACEOF
52957 if ac_fn_cxx_try_compile "$LINENO"; then :
52958 glibcxx_cv_func_sincosf_use=yes
52959 else
52960 glibcxx_cv_func_sincosf_use=no
52962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52963 ac_ext=c
52964 ac_cpp='$CPP $CPPFLAGS'
52965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
52974 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
52976 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
52977 for ac_func in sincosf
52978 do :
52979 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
52980 if test "x$ac_cv_func_sincosf" = xyes; then :
52981 cat >>confdefs.h <<_ACEOF
52982 #define HAVE_SINCOSF 1
52983 _ACEOF
52986 done
52988 else
52990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
52991 $as_echo_n "checking for _sincosf declaration... " >&6; }
52992 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
52993 if ${glibcxx_cv_func__sincosf_use+:} false; then :
52994 $as_echo_n "(cached) " >&6
52995 else
52998 ac_ext=cpp
52999 ac_cpp='$CXXCPP $CPPFLAGS'
53000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53005 /* end confdefs.h. */
53006 #include <math.h>
53008 main ()
53010 _sincosf(0, 0, 0);
53012 return 0;
53014 _ACEOF
53015 if ac_fn_cxx_try_compile "$LINENO"; then :
53016 glibcxx_cv_func__sincosf_use=yes
53017 else
53018 glibcxx_cv_func__sincosf_use=no
53020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53021 ac_ext=c
53022 ac_cpp='$CPP $CPPFLAGS'
53023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
53032 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
53034 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
53035 for ac_func in _sincosf
53036 do :
53037 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
53038 if test "x$ac_cv_func__sincosf" = xyes; then :
53039 cat >>confdefs.h <<_ACEOF
53040 #define HAVE__SINCOSF 1
53041 _ACEOF
53044 done
53053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
53054 $as_echo_n "checking for finitef declaration... " >&6; }
53055 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
53056 if ${glibcxx_cv_func_finitef_use+:} false; then :
53057 $as_echo_n "(cached) " >&6
53058 else
53061 ac_ext=cpp
53062 ac_cpp='$CXXCPP $CPPFLAGS'
53063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53068 /* end confdefs.h. */
53069 #include <math.h>
53070 #ifdef HAVE_IEEEFP_H
53071 #include <ieeefp.h>
53072 #endif
53075 main ()
53077 finitef(0);
53079 return 0;
53081 _ACEOF
53082 if ac_fn_cxx_try_compile "$LINENO"; then :
53083 glibcxx_cv_func_finitef_use=yes
53084 else
53085 glibcxx_cv_func_finitef_use=no
53087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53088 ac_ext=c
53089 ac_cpp='$CPP $CPPFLAGS'
53090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
53099 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
53101 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
53102 for ac_func in finitef
53103 do :
53104 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
53105 if test "x$ac_cv_func_finitef" = xyes; then :
53106 cat >>confdefs.h <<_ACEOF
53107 #define HAVE_FINITEF 1
53108 _ACEOF
53111 done
53113 else
53115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
53116 $as_echo_n "checking for _finitef declaration... " >&6; }
53117 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
53118 if ${glibcxx_cv_func__finitef_use+:} false; then :
53119 $as_echo_n "(cached) " >&6
53120 else
53123 ac_ext=cpp
53124 ac_cpp='$CXXCPP $CPPFLAGS'
53125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53130 /* end confdefs.h. */
53131 #include <math.h>
53132 #ifdef HAVE_IEEEFP_H
53133 #include <ieeefp.h>
53134 #endif
53137 main ()
53139 _finitef(0);
53141 return 0;
53143 _ACEOF
53144 if ac_fn_cxx_try_compile "$LINENO"; then :
53145 glibcxx_cv_func__finitef_use=yes
53146 else
53147 glibcxx_cv_func__finitef_use=no
53149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53150 ac_ext=c
53151 ac_cpp='$CPP $CPPFLAGS'
53152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
53161 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
53163 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
53164 for ac_func in _finitef
53165 do :
53166 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
53167 if test "x$ac_cv_func__finitef" = xyes; then :
53168 cat >>confdefs.h <<_ACEOF
53169 #define HAVE__FINITEF 1
53170 _ACEOF
53173 done
53182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
53183 $as_echo_n "checking for long double trig functions... " >&6; }
53184 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
53185 $as_echo_n "(cached) " >&6
53186 else
53189 ac_ext=cpp
53190 ac_cpp='$CXXCPP $CPPFLAGS'
53191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53196 /* end confdefs.h. */
53197 #include <math.h>
53199 main ()
53201 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
53203 return 0;
53205 _ACEOF
53206 if ac_fn_cxx_try_compile "$LINENO"; then :
53207 glibcxx_cv_func_long_double_trig_use=yes
53208 else
53209 glibcxx_cv_func_long_double_trig_use=no
53211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53212 ac_ext=c
53213 ac_cpp='$CPP $CPPFLAGS'
53214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
53221 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
53222 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
53223 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
53224 do :
53225 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53226 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53227 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
53228 cat >>confdefs.h <<_ACEOF
53229 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53230 _ACEOF
53233 done
53235 else
53236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
53237 $as_echo_n "checking for _long double trig functions... " >&6; }
53238 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
53239 $as_echo_n "(cached) " >&6
53240 else
53243 ac_ext=cpp
53244 ac_cpp='$CXXCPP $CPPFLAGS'
53245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53250 /* end confdefs.h. */
53251 #include <math.h>
53253 main ()
53255 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
53257 return 0;
53259 _ACEOF
53260 if ac_fn_cxx_try_compile "$LINENO"; then :
53261 glibcxx_cv_func__long_double_trig_use=yes
53262 else
53263 glibcxx_cv_func__long_double_trig_use=no
53265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53266 ac_ext=c
53267 ac_cpp='$CPP $CPPFLAGS'
53268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
53275 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
53276 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
53277 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
53278 do :
53279 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53280 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53281 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
53282 cat >>confdefs.h <<_ACEOF
53283 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53284 _ACEOF
53287 done
53296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
53297 $as_echo_n "checking for long double round functions... " >&6; }
53298 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
53299 $as_echo_n "(cached) " >&6
53300 else
53303 ac_ext=cpp
53304 ac_cpp='$CXXCPP $CPPFLAGS'
53305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53310 /* end confdefs.h. */
53311 #include <math.h>
53313 main ()
53315 ceill (0); floorl (0);
53317 return 0;
53319 _ACEOF
53320 if ac_fn_cxx_try_compile "$LINENO"; then :
53321 glibcxx_cv_func_long_double_round_use=yes
53322 else
53323 glibcxx_cv_func_long_double_round_use=no
53325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53326 ac_ext=c
53327 ac_cpp='$CPP $CPPFLAGS'
53328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
53335 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
53336 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
53337 for ac_func in ceill floorl
53338 do :
53339 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53340 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53341 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
53342 cat >>confdefs.h <<_ACEOF
53343 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53344 _ACEOF
53347 done
53349 else
53350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
53351 $as_echo_n "checking for _long double round functions... " >&6; }
53352 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
53353 $as_echo_n "(cached) " >&6
53354 else
53357 ac_ext=cpp
53358 ac_cpp='$CXXCPP $CPPFLAGS'
53359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53364 /* end confdefs.h. */
53365 #include <math.h>
53367 main ()
53369 _ceill (0); _floorl (0);
53371 return 0;
53373 _ACEOF
53374 if ac_fn_cxx_try_compile "$LINENO"; then :
53375 glibcxx_cv_func__long_double_round_use=yes
53376 else
53377 glibcxx_cv_func__long_double_round_use=no
53379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53380 ac_ext=c
53381 ac_cpp='$CPP $CPPFLAGS'
53382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
53389 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
53390 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
53391 for ac_func in _ceill _floorl
53392 do :
53393 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53394 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53395 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
53396 cat >>confdefs.h <<_ACEOF
53397 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53398 _ACEOF
53401 done
53411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
53412 $as_echo_n "checking for isnanl declaration... " >&6; }
53413 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
53414 if ${glibcxx_cv_func_isnanl_use+:} false; then :
53415 $as_echo_n "(cached) " >&6
53416 else
53419 ac_ext=cpp
53420 ac_cpp='$CXXCPP $CPPFLAGS'
53421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53426 /* end confdefs.h. */
53427 #include <math.h>
53428 #ifdef HAVE_IEEEFP_H
53429 #include <ieeefp.h>
53430 #endif
53433 main ()
53435 isnanl(0);
53437 return 0;
53439 _ACEOF
53440 if ac_fn_cxx_try_compile "$LINENO"; then :
53441 glibcxx_cv_func_isnanl_use=yes
53442 else
53443 glibcxx_cv_func_isnanl_use=no
53445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53446 ac_ext=c
53447 ac_cpp='$CPP $CPPFLAGS'
53448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
53457 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
53459 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
53460 for ac_func in isnanl
53461 do :
53462 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
53463 if test "x$ac_cv_func_isnanl" = xyes; then :
53464 cat >>confdefs.h <<_ACEOF
53465 #define HAVE_ISNANL 1
53466 _ACEOF
53469 done
53471 else
53473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
53474 $as_echo_n "checking for _isnanl declaration... " >&6; }
53475 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
53476 if ${glibcxx_cv_func__isnanl_use+:} false; then :
53477 $as_echo_n "(cached) " >&6
53478 else
53481 ac_ext=cpp
53482 ac_cpp='$CXXCPP $CPPFLAGS'
53483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53488 /* end confdefs.h. */
53489 #include <math.h>
53490 #ifdef HAVE_IEEEFP_H
53491 #include <ieeefp.h>
53492 #endif
53495 main ()
53497 _isnanl(0);
53499 return 0;
53501 _ACEOF
53502 if ac_fn_cxx_try_compile "$LINENO"; then :
53503 glibcxx_cv_func__isnanl_use=yes
53504 else
53505 glibcxx_cv_func__isnanl_use=no
53507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53508 ac_ext=c
53509 ac_cpp='$CPP $CPPFLAGS'
53510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
53519 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
53521 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
53522 for ac_func in _isnanl
53523 do :
53524 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
53525 if test "x$ac_cv_func__isnanl" = xyes; then :
53526 cat >>confdefs.h <<_ACEOF
53527 #define HAVE__ISNANL 1
53528 _ACEOF
53531 done
53540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
53541 $as_echo_n "checking for isinfl declaration... " >&6; }
53542 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
53543 if ${glibcxx_cv_func_isinfl_use+:} false; then :
53544 $as_echo_n "(cached) " >&6
53545 else
53548 ac_ext=cpp
53549 ac_cpp='$CXXCPP $CPPFLAGS'
53550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53555 /* end confdefs.h. */
53556 #include <math.h>
53557 #ifdef HAVE_IEEEFP_H
53558 #include <ieeefp.h>
53559 #endif
53562 main ()
53564 isinfl(0);
53566 return 0;
53568 _ACEOF
53569 if ac_fn_cxx_try_compile "$LINENO"; then :
53570 glibcxx_cv_func_isinfl_use=yes
53571 else
53572 glibcxx_cv_func_isinfl_use=no
53574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53575 ac_ext=c
53576 ac_cpp='$CPP $CPPFLAGS'
53577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
53586 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
53588 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
53589 for ac_func in isinfl
53590 do :
53591 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
53592 if test "x$ac_cv_func_isinfl" = xyes; then :
53593 cat >>confdefs.h <<_ACEOF
53594 #define HAVE_ISINFL 1
53595 _ACEOF
53598 done
53600 else
53602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
53603 $as_echo_n "checking for _isinfl declaration... " >&6; }
53604 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
53605 if ${glibcxx_cv_func__isinfl_use+:} false; then :
53606 $as_echo_n "(cached) " >&6
53607 else
53610 ac_ext=cpp
53611 ac_cpp='$CXXCPP $CPPFLAGS'
53612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53617 /* end confdefs.h. */
53618 #include <math.h>
53619 #ifdef HAVE_IEEEFP_H
53620 #include <ieeefp.h>
53621 #endif
53624 main ()
53626 _isinfl(0);
53628 return 0;
53630 _ACEOF
53631 if ac_fn_cxx_try_compile "$LINENO"; then :
53632 glibcxx_cv_func__isinfl_use=yes
53633 else
53634 glibcxx_cv_func__isinfl_use=no
53636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53637 ac_ext=c
53638 ac_cpp='$CPP $CPPFLAGS'
53639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
53648 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
53650 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
53651 for ac_func in _isinfl
53652 do :
53653 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
53654 if test "x$ac_cv_func__isinfl" = xyes; then :
53655 cat >>confdefs.h <<_ACEOF
53656 #define HAVE__ISINFL 1
53657 _ACEOF
53660 done
53669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
53670 $as_echo_n "checking for atan2l declaration... " >&6; }
53671 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
53672 if ${glibcxx_cv_func_atan2l_use+:} false; then :
53673 $as_echo_n "(cached) " >&6
53674 else
53677 ac_ext=cpp
53678 ac_cpp='$CXXCPP $CPPFLAGS'
53679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53684 /* end confdefs.h. */
53685 #include <math.h>
53687 main ()
53689 atan2l(0, 0);
53691 return 0;
53693 _ACEOF
53694 if ac_fn_cxx_try_compile "$LINENO"; then :
53695 glibcxx_cv_func_atan2l_use=yes
53696 else
53697 glibcxx_cv_func_atan2l_use=no
53699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53700 ac_ext=c
53701 ac_cpp='$CPP $CPPFLAGS'
53702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
53711 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
53713 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
53714 for ac_func in atan2l
53715 do :
53716 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
53717 if test "x$ac_cv_func_atan2l" = xyes; then :
53718 cat >>confdefs.h <<_ACEOF
53719 #define HAVE_ATAN2L 1
53720 _ACEOF
53723 done
53725 else
53727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
53728 $as_echo_n "checking for _atan2l declaration... " >&6; }
53729 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
53730 if ${glibcxx_cv_func__atan2l_use+:} false; then :
53731 $as_echo_n "(cached) " >&6
53732 else
53735 ac_ext=cpp
53736 ac_cpp='$CXXCPP $CPPFLAGS'
53737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53742 /* end confdefs.h. */
53743 #include <math.h>
53745 main ()
53747 _atan2l(0, 0);
53749 return 0;
53751 _ACEOF
53752 if ac_fn_cxx_try_compile "$LINENO"; then :
53753 glibcxx_cv_func__atan2l_use=yes
53754 else
53755 glibcxx_cv_func__atan2l_use=no
53757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53758 ac_ext=c
53759 ac_cpp='$CPP $CPPFLAGS'
53760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
53769 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
53771 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
53772 for ac_func in _atan2l
53773 do :
53774 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
53775 if test "x$ac_cv_func__atan2l" = xyes; then :
53776 cat >>confdefs.h <<_ACEOF
53777 #define HAVE__ATAN2L 1
53778 _ACEOF
53781 done
53790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
53791 $as_echo_n "checking for expl declaration... " >&6; }
53792 if test x${glibcxx_cv_func_expl_use+set} != xset; then
53793 if ${glibcxx_cv_func_expl_use+:} false; then :
53794 $as_echo_n "(cached) " >&6
53795 else
53798 ac_ext=cpp
53799 ac_cpp='$CXXCPP $CPPFLAGS'
53800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53805 /* end confdefs.h. */
53806 #include <math.h>
53807 #ifdef HAVE_IEEEFP_H
53808 #include <ieeefp.h>
53809 #endif
53812 main ()
53814 expl(0);
53816 return 0;
53818 _ACEOF
53819 if ac_fn_cxx_try_compile "$LINENO"; then :
53820 glibcxx_cv_func_expl_use=yes
53821 else
53822 glibcxx_cv_func_expl_use=no
53824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53825 ac_ext=c
53826 ac_cpp='$CPP $CPPFLAGS'
53827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
53836 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
53838 if test x$glibcxx_cv_func_expl_use = x"yes"; then
53839 for ac_func in expl
53840 do :
53841 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
53842 if test "x$ac_cv_func_expl" = xyes; then :
53843 cat >>confdefs.h <<_ACEOF
53844 #define HAVE_EXPL 1
53845 _ACEOF
53848 done
53850 else
53852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
53853 $as_echo_n "checking for _expl declaration... " >&6; }
53854 if test x${glibcxx_cv_func__expl_use+set} != xset; then
53855 if ${glibcxx_cv_func__expl_use+:} false; then :
53856 $as_echo_n "(cached) " >&6
53857 else
53860 ac_ext=cpp
53861 ac_cpp='$CXXCPP $CPPFLAGS'
53862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53867 /* end confdefs.h. */
53868 #include <math.h>
53869 #ifdef HAVE_IEEEFP_H
53870 #include <ieeefp.h>
53871 #endif
53874 main ()
53876 _expl(0);
53878 return 0;
53880 _ACEOF
53881 if ac_fn_cxx_try_compile "$LINENO"; then :
53882 glibcxx_cv_func__expl_use=yes
53883 else
53884 glibcxx_cv_func__expl_use=no
53886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53887 ac_ext=c
53888 ac_cpp='$CPP $CPPFLAGS'
53889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
53898 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
53900 if test x$glibcxx_cv_func__expl_use = x"yes"; then
53901 for ac_func in _expl
53902 do :
53903 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
53904 if test "x$ac_cv_func__expl" = xyes; then :
53905 cat >>confdefs.h <<_ACEOF
53906 #define HAVE__EXPL 1
53907 _ACEOF
53910 done
53919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
53920 $as_echo_n "checking for fabsl declaration... " >&6; }
53921 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
53922 if ${glibcxx_cv_func_fabsl_use+:} false; then :
53923 $as_echo_n "(cached) " >&6
53924 else
53927 ac_ext=cpp
53928 ac_cpp='$CXXCPP $CPPFLAGS'
53929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53934 /* end confdefs.h. */
53935 #include <math.h>
53936 #ifdef HAVE_IEEEFP_H
53937 #include <ieeefp.h>
53938 #endif
53941 main ()
53943 fabsl(0);
53945 return 0;
53947 _ACEOF
53948 if ac_fn_cxx_try_compile "$LINENO"; then :
53949 glibcxx_cv_func_fabsl_use=yes
53950 else
53951 glibcxx_cv_func_fabsl_use=no
53953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53954 ac_ext=c
53955 ac_cpp='$CPP $CPPFLAGS'
53956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
53965 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
53967 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
53968 for ac_func in fabsl
53969 do :
53970 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
53971 if test "x$ac_cv_func_fabsl" = xyes; then :
53972 cat >>confdefs.h <<_ACEOF
53973 #define HAVE_FABSL 1
53974 _ACEOF
53977 done
53979 else
53981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
53982 $as_echo_n "checking for _fabsl declaration... " >&6; }
53983 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
53984 if ${glibcxx_cv_func__fabsl_use+:} false; then :
53985 $as_echo_n "(cached) " >&6
53986 else
53989 ac_ext=cpp
53990 ac_cpp='$CXXCPP $CPPFLAGS'
53991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53996 /* end confdefs.h. */
53997 #include <math.h>
53998 #ifdef HAVE_IEEEFP_H
53999 #include <ieeefp.h>
54000 #endif
54003 main ()
54005 _fabsl(0);
54007 return 0;
54009 _ACEOF
54010 if ac_fn_cxx_try_compile "$LINENO"; then :
54011 glibcxx_cv_func__fabsl_use=yes
54012 else
54013 glibcxx_cv_func__fabsl_use=no
54015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54016 ac_ext=c
54017 ac_cpp='$CPP $CPPFLAGS'
54018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
54027 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
54029 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
54030 for ac_func in _fabsl
54031 do :
54032 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
54033 if test "x$ac_cv_func__fabsl" = xyes; then :
54034 cat >>confdefs.h <<_ACEOF
54035 #define HAVE__FABSL 1
54036 _ACEOF
54039 done
54048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
54049 $as_echo_n "checking for fmodl declaration... " >&6; }
54050 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
54051 if ${glibcxx_cv_func_fmodl_use+:} false; then :
54052 $as_echo_n "(cached) " >&6
54053 else
54056 ac_ext=cpp
54057 ac_cpp='$CXXCPP $CPPFLAGS'
54058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54063 /* end confdefs.h. */
54064 #include <math.h>
54066 main ()
54068 fmodl(0, 0);
54070 return 0;
54072 _ACEOF
54073 if ac_fn_cxx_try_compile "$LINENO"; then :
54074 glibcxx_cv_func_fmodl_use=yes
54075 else
54076 glibcxx_cv_func_fmodl_use=no
54078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54079 ac_ext=c
54080 ac_cpp='$CPP $CPPFLAGS'
54081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
54090 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
54092 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
54093 for ac_func in fmodl
54094 do :
54095 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
54096 if test "x$ac_cv_func_fmodl" = xyes; then :
54097 cat >>confdefs.h <<_ACEOF
54098 #define HAVE_FMODL 1
54099 _ACEOF
54102 done
54104 else
54106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
54107 $as_echo_n "checking for _fmodl declaration... " >&6; }
54108 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
54109 if ${glibcxx_cv_func__fmodl_use+:} false; then :
54110 $as_echo_n "(cached) " >&6
54111 else
54114 ac_ext=cpp
54115 ac_cpp='$CXXCPP $CPPFLAGS'
54116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54121 /* end confdefs.h. */
54122 #include <math.h>
54124 main ()
54126 _fmodl(0, 0);
54128 return 0;
54130 _ACEOF
54131 if ac_fn_cxx_try_compile "$LINENO"; then :
54132 glibcxx_cv_func__fmodl_use=yes
54133 else
54134 glibcxx_cv_func__fmodl_use=no
54136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54137 ac_ext=c
54138 ac_cpp='$CPP $CPPFLAGS'
54139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
54148 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
54150 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
54151 for ac_func in _fmodl
54152 do :
54153 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
54154 if test "x$ac_cv_func__fmodl" = xyes; then :
54155 cat >>confdefs.h <<_ACEOF
54156 #define HAVE__FMODL 1
54157 _ACEOF
54160 done
54169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
54170 $as_echo_n "checking for frexpl declaration... " >&6; }
54171 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
54172 if ${glibcxx_cv_func_frexpl_use+:} false; then :
54173 $as_echo_n "(cached) " >&6
54174 else
54177 ac_ext=cpp
54178 ac_cpp='$CXXCPP $CPPFLAGS'
54179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54184 /* end confdefs.h. */
54185 #include <math.h>
54187 main ()
54189 frexpl(0, 0);
54191 return 0;
54193 _ACEOF
54194 if ac_fn_cxx_try_compile "$LINENO"; then :
54195 glibcxx_cv_func_frexpl_use=yes
54196 else
54197 glibcxx_cv_func_frexpl_use=no
54199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54200 ac_ext=c
54201 ac_cpp='$CPP $CPPFLAGS'
54202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
54211 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
54213 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
54214 for ac_func in frexpl
54215 do :
54216 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
54217 if test "x$ac_cv_func_frexpl" = xyes; then :
54218 cat >>confdefs.h <<_ACEOF
54219 #define HAVE_FREXPL 1
54220 _ACEOF
54223 done
54225 else
54227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
54228 $as_echo_n "checking for _frexpl declaration... " >&6; }
54229 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
54230 if ${glibcxx_cv_func__frexpl_use+:} false; then :
54231 $as_echo_n "(cached) " >&6
54232 else
54235 ac_ext=cpp
54236 ac_cpp='$CXXCPP $CPPFLAGS'
54237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54242 /* end confdefs.h. */
54243 #include <math.h>
54245 main ()
54247 _frexpl(0, 0);
54249 return 0;
54251 _ACEOF
54252 if ac_fn_cxx_try_compile "$LINENO"; then :
54253 glibcxx_cv_func__frexpl_use=yes
54254 else
54255 glibcxx_cv_func__frexpl_use=no
54257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54258 ac_ext=c
54259 ac_cpp='$CPP $CPPFLAGS'
54260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
54269 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
54271 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
54272 for ac_func in _frexpl
54273 do :
54274 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
54275 if test "x$ac_cv_func__frexpl" = xyes; then :
54276 cat >>confdefs.h <<_ACEOF
54277 #define HAVE__FREXPL 1
54278 _ACEOF
54281 done
54290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
54291 $as_echo_n "checking for hypotl declaration... " >&6; }
54292 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
54293 if ${glibcxx_cv_func_hypotl_use+:} false; then :
54294 $as_echo_n "(cached) " >&6
54295 else
54298 ac_ext=cpp
54299 ac_cpp='$CXXCPP $CPPFLAGS'
54300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54305 /* end confdefs.h. */
54306 #include <math.h>
54308 main ()
54310 hypotl(0, 0);
54312 return 0;
54314 _ACEOF
54315 if ac_fn_cxx_try_compile "$LINENO"; then :
54316 glibcxx_cv_func_hypotl_use=yes
54317 else
54318 glibcxx_cv_func_hypotl_use=no
54320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54321 ac_ext=c
54322 ac_cpp='$CPP $CPPFLAGS'
54323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
54332 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
54334 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
54335 for ac_func in hypotl
54336 do :
54337 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
54338 if test "x$ac_cv_func_hypotl" = xyes; then :
54339 cat >>confdefs.h <<_ACEOF
54340 #define HAVE_HYPOTL 1
54341 _ACEOF
54344 done
54346 else
54348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
54349 $as_echo_n "checking for _hypotl declaration... " >&6; }
54350 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
54351 if ${glibcxx_cv_func__hypotl_use+:} false; then :
54352 $as_echo_n "(cached) " >&6
54353 else
54356 ac_ext=cpp
54357 ac_cpp='$CXXCPP $CPPFLAGS'
54358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54363 /* end confdefs.h. */
54364 #include <math.h>
54366 main ()
54368 _hypotl(0, 0);
54370 return 0;
54372 _ACEOF
54373 if ac_fn_cxx_try_compile "$LINENO"; then :
54374 glibcxx_cv_func__hypotl_use=yes
54375 else
54376 glibcxx_cv_func__hypotl_use=no
54378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54379 ac_ext=c
54380 ac_cpp='$CPP $CPPFLAGS'
54381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
54390 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
54392 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
54393 for ac_func in _hypotl
54394 do :
54395 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
54396 if test "x$ac_cv_func__hypotl" = xyes; then :
54397 cat >>confdefs.h <<_ACEOF
54398 #define HAVE__HYPOTL 1
54399 _ACEOF
54402 done
54411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
54412 $as_echo_n "checking for ldexpl declaration... " >&6; }
54413 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
54414 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
54415 $as_echo_n "(cached) " >&6
54416 else
54419 ac_ext=cpp
54420 ac_cpp='$CXXCPP $CPPFLAGS'
54421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54426 /* end confdefs.h. */
54427 #include <math.h>
54429 main ()
54431 ldexpl(0, 0);
54433 return 0;
54435 _ACEOF
54436 if ac_fn_cxx_try_compile "$LINENO"; then :
54437 glibcxx_cv_func_ldexpl_use=yes
54438 else
54439 glibcxx_cv_func_ldexpl_use=no
54441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54442 ac_ext=c
54443 ac_cpp='$CPP $CPPFLAGS'
54444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
54453 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
54455 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
54456 for ac_func in ldexpl
54457 do :
54458 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
54459 if test "x$ac_cv_func_ldexpl" = xyes; then :
54460 cat >>confdefs.h <<_ACEOF
54461 #define HAVE_LDEXPL 1
54462 _ACEOF
54465 done
54467 else
54469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
54470 $as_echo_n "checking for _ldexpl declaration... " >&6; }
54471 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
54472 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
54473 $as_echo_n "(cached) " >&6
54474 else
54477 ac_ext=cpp
54478 ac_cpp='$CXXCPP $CPPFLAGS'
54479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54484 /* end confdefs.h. */
54485 #include <math.h>
54487 main ()
54489 _ldexpl(0, 0);
54491 return 0;
54493 _ACEOF
54494 if ac_fn_cxx_try_compile "$LINENO"; then :
54495 glibcxx_cv_func__ldexpl_use=yes
54496 else
54497 glibcxx_cv_func__ldexpl_use=no
54499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54500 ac_ext=c
54501 ac_cpp='$CPP $CPPFLAGS'
54502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
54511 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
54513 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
54514 for ac_func in _ldexpl
54515 do :
54516 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
54517 if test "x$ac_cv_func__ldexpl" = xyes; then :
54518 cat >>confdefs.h <<_ACEOF
54519 #define HAVE__LDEXPL 1
54520 _ACEOF
54523 done
54532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
54533 $as_echo_n "checking for logl declaration... " >&6; }
54534 if test x${glibcxx_cv_func_logl_use+set} != xset; then
54535 if ${glibcxx_cv_func_logl_use+:} false; then :
54536 $as_echo_n "(cached) " >&6
54537 else
54540 ac_ext=cpp
54541 ac_cpp='$CXXCPP $CPPFLAGS'
54542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54547 /* end confdefs.h. */
54548 #include <math.h>
54549 #ifdef HAVE_IEEEFP_H
54550 #include <ieeefp.h>
54551 #endif
54554 main ()
54556 logl(0);
54558 return 0;
54560 _ACEOF
54561 if ac_fn_cxx_try_compile "$LINENO"; then :
54562 glibcxx_cv_func_logl_use=yes
54563 else
54564 glibcxx_cv_func_logl_use=no
54566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54567 ac_ext=c
54568 ac_cpp='$CPP $CPPFLAGS'
54569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
54578 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
54580 if test x$glibcxx_cv_func_logl_use = x"yes"; then
54581 for ac_func in logl
54582 do :
54583 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
54584 if test "x$ac_cv_func_logl" = xyes; then :
54585 cat >>confdefs.h <<_ACEOF
54586 #define HAVE_LOGL 1
54587 _ACEOF
54590 done
54592 else
54594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
54595 $as_echo_n "checking for _logl declaration... " >&6; }
54596 if test x${glibcxx_cv_func__logl_use+set} != xset; then
54597 if ${glibcxx_cv_func__logl_use+:} false; then :
54598 $as_echo_n "(cached) " >&6
54599 else
54602 ac_ext=cpp
54603 ac_cpp='$CXXCPP $CPPFLAGS'
54604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54609 /* end confdefs.h. */
54610 #include <math.h>
54611 #ifdef HAVE_IEEEFP_H
54612 #include <ieeefp.h>
54613 #endif
54616 main ()
54618 _logl(0);
54620 return 0;
54622 _ACEOF
54623 if ac_fn_cxx_try_compile "$LINENO"; then :
54624 glibcxx_cv_func__logl_use=yes
54625 else
54626 glibcxx_cv_func__logl_use=no
54628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54629 ac_ext=c
54630 ac_cpp='$CPP $CPPFLAGS'
54631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
54640 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
54642 if test x$glibcxx_cv_func__logl_use = x"yes"; then
54643 for ac_func in _logl
54644 do :
54645 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
54646 if test "x$ac_cv_func__logl" = xyes; then :
54647 cat >>confdefs.h <<_ACEOF
54648 #define HAVE__LOGL 1
54649 _ACEOF
54652 done
54661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
54662 $as_echo_n "checking for log10l declaration... " >&6; }
54663 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
54664 if ${glibcxx_cv_func_log10l_use+:} false; then :
54665 $as_echo_n "(cached) " >&6
54666 else
54669 ac_ext=cpp
54670 ac_cpp='$CXXCPP $CPPFLAGS'
54671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54676 /* end confdefs.h. */
54677 #include <math.h>
54678 #ifdef HAVE_IEEEFP_H
54679 #include <ieeefp.h>
54680 #endif
54683 main ()
54685 log10l(0);
54687 return 0;
54689 _ACEOF
54690 if ac_fn_cxx_try_compile "$LINENO"; then :
54691 glibcxx_cv_func_log10l_use=yes
54692 else
54693 glibcxx_cv_func_log10l_use=no
54695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54696 ac_ext=c
54697 ac_cpp='$CPP $CPPFLAGS'
54698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
54707 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
54709 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
54710 for ac_func in log10l
54711 do :
54712 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
54713 if test "x$ac_cv_func_log10l" = xyes; then :
54714 cat >>confdefs.h <<_ACEOF
54715 #define HAVE_LOG10L 1
54716 _ACEOF
54719 done
54721 else
54723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
54724 $as_echo_n "checking for _log10l declaration... " >&6; }
54725 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
54726 if ${glibcxx_cv_func__log10l_use+:} false; then :
54727 $as_echo_n "(cached) " >&6
54728 else
54731 ac_ext=cpp
54732 ac_cpp='$CXXCPP $CPPFLAGS'
54733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54738 /* end confdefs.h. */
54739 #include <math.h>
54740 #ifdef HAVE_IEEEFP_H
54741 #include <ieeefp.h>
54742 #endif
54745 main ()
54747 _log10l(0);
54749 return 0;
54751 _ACEOF
54752 if ac_fn_cxx_try_compile "$LINENO"; then :
54753 glibcxx_cv_func__log10l_use=yes
54754 else
54755 glibcxx_cv_func__log10l_use=no
54757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54758 ac_ext=c
54759 ac_cpp='$CPP $CPPFLAGS'
54760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
54769 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
54771 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
54772 for ac_func in _log10l
54773 do :
54774 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
54775 if test "x$ac_cv_func__log10l" = xyes; then :
54776 cat >>confdefs.h <<_ACEOF
54777 #define HAVE__LOG10L 1
54778 _ACEOF
54781 done
54790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
54791 $as_echo_n "checking for modfl declaration... " >&6; }
54792 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
54793 if ${glibcxx_cv_func_modfl_use+:} false; then :
54794 $as_echo_n "(cached) " >&6
54795 else
54798 ac_ext=cpp
54799 ac_cpp='$CXXCPP $CPPFLAGS'
54800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54805 /* end confdefs.h. */
54806 #include <math.h>
54808 main ()
54810 modfl(0, 0);
54812 return 0;
54814 _ACEOF
54815 if ac_fn_cxx_try_compile "$LINENO"; then :
54816 glibcxx_cv_func_modfl_use=yes
54817 else
54818 glibcxx_cv_func_modfl_use=no
54820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54821 ac_ext=c
54822 ac_cpp='$CPP $CPPFLAGS'
54823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
54832 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
54834 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
54835 for ac_func in modfl
54836 do :
54837 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
54838 if test "x$ac_cv_func_modfl" = xyes; then :
54839 cat >>confdefs.h <<_ACEOF
54840 #define HAVE_MODFL 1
54841 _ACEOF
54844 done
54846 else
54848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
54849 $as_echo_n "checking for _modfl declaration... " >&6; }
54850 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
54851 if ${glibcxx_cv_func__modfl_use+:} false; then :
54852 $as_echo_n "(cached) " >&6
54853 else
54856 ac_ext=cpp
54857 ac_cpp='$CXXCPP $CPPFLAGS'
54858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54863 /* end confdefs.h. */
54864 #include <math.h>
54866 main ()
54868 _modfl(0, 0);
54870 return 0;
54872 _ACEOF
54873 if ac_fn_cxx_try_compile "$LINENO"; then :
54874 glibcxx_cv_func__modfl_use=yes
54875 else
54876 glibcxx_cv_func__modfl_use=no
54878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54879 ac_ext=c
54880 ac_cpp='$CPP $CPPFLAGS'
54881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
54890 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
54892 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
54893 for ac_func in _modfl
54894 do :
54895 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
54896 if test "x$ac_cv_func__modfl" = xyes; then :
54897 cat >>confdefs.h <<_ACEOF
54898 #define HAVE__MODFL 1
54899 _ACEOF
54902 done
54911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
54912 $as_echo_n "checking for powl declaration... " >&6; }
54913 if test x${glibcxx_cv_func_powl_use+set} != xset; then
54914 if ${glibcxx_cv_func_powl_use+:} false; then :
54915 $as_echo_n "(cached) " >&6
54916 else
54919 ac_ext=cpp
54920 ac_cpp='$CXXCPP $CPPFLAGS'
54921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54926 /* end confdefs.h. */
54927 #include <math.h>
54929 main ()
54931 powl(0, 0);
54933 return 0;
54935 _ACEOF
54936 if ac_fn_cxx_try_compile "$LINENO"; then :
54937 glibcxx_cv_func_powl_use=yes
54938 else
54939 glibcxx_cv_func_powl_use=no
54941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54942 ac_ext=c
54943 ac_cpp='$CPP $CPPFLAGS'
54944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
54953 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
54955 if test x$glibcxx_cv_func_powl_use = x"yes"; then
54956 for ac_func in powl
54957 do :
54958 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
54959 if test "x$ac_cv_func_powl" = xyes; then :
54960 cat >>confdefs.h <<_ACEOF
54961 #define HAVE_POWL 1
54962 _ACEOF
54965 done
54967 else
54969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
54970 $as_echo_n "checking for _powl declaration... " >&6; }
54971 if test x${glibcxx_cv_func__powl_use+set} != xset; then
54972 if ${glibcxx_cv_func__powl_use+:} false; then :
54973 $as_echo_n "(cached) " >&6
54974 else
54977 ac_ext=cpp
54978 ac_cpp='$CXXCPP $CPPFLAGS'
54979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54984 /* end confdefs.h. */
54985 #include <math.h>
54987 main ()
54989 _powl(0, 0);
54991 return 0;
54993 _ACEOF
54994 if ac_fn_cxx_try_compile "$LINENO"; then :
54995 glibcxx_cv_func__powl_use=yes
54996 else
54997 glibcxx_cv_func__powl_use=no
54999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55000 ac_ext=c
55001 ac_cpp='$CPP $CPPFLAGS'
55002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
55011 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
55013 if test x$glibcxx_cv_func__powl_use = x"yes"; then
55014 for ac_func in _powl
55015 do :
55016 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
55017 if test "x$ac_cv_func__powl" = xyes; then :
55018 cat >>confdefs.h <<_ACEOF
55019 #define HAVE__POWL 1
55020 _ACEOF
55023 done
55032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
55033 $as_echo_n "checking for sqrtl declaration... " >&6; }
55034 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
55035 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
55036 $as_echo_n "(cached) " >&6
55037 else
55040 ac_ext=cpp
55041 ac_cpp='$CXXCPP $CPPFLAGS'
55042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55047 /* end confdefs.h. */
55048 #include <math.h>
55049 #ifdef HAVE_IEEEFP_H
55050 #include <ieeefp.h>
55051 #endif
55054 main ()
55056 sqrtl(0);
55058 return 0;
55060 _ACEOF
55061 if ac_fn_cxx_try_compile "$LINENO"; then :
55062 glibcxx_cv_func_sqrtl_use=yes
55063 else
55064 glibcxx_cv_func_sqrtl_use=no
55066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55067 ac_ext=c
55068 ac_cpp='$CPP $CPPFLAGS'
55069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
55078 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
55080 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
55081 for ac_func in sqrtl
55082 do :
55083 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
55084 if test "x$ac_cv_func_sqrtl" = xyes; then :
55085 cat >>confdefs.h <<_ACEOF
55086 #define HAVE_SQRTL 1
55087 _ACEOF
55090 done
55092 else
55094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
55095 $as_echo_n "checking for _sqrtl declaration... " >&6; }
55096 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
55097 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
55098 $as_echo_n "(cached) " >&6
55099 else
55102 ac_ext=cpp
55103 ac_cpp='$CXXCPP $CPPFLAGS'
55104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55109 /* end confdefs.h. */
55110 #include <math.h>
55111 #ifdef HAVE_IEEEFP_H
55112 #include <ieeefp.h>
55113 #endif
55116 main ()
55118 _sqrtl(0);
55120 return 0;
55122 _ACEOF
55123 if ac_fn_cxx_try_compile "$LINENO"; then :
55124 glibcxx_cv_func__sqrtl_use=yes
55125 else
55126 glibcxx_cv_func__sqrtl_use=no
55128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55129 ac_ext=c
55130 ac_cpp='$CPP $CPPFLAGS'
55131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
55140 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
55142 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
55143 for ac_func in _sqrtl
55144 do :
55145 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
55146 if test "x$ac_cv_func__sqrtl" = xyes; then :
55147 cat >>confdefs.h <<_ACEOF
55148 #define HAVE__SQRTL 1
55149 _ACEOF
55152 done
55161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
55162 $as_echo_n "checking for sincosl declaration... " >&6; }
55163 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
55164 if ${glibcxx_cv_func_sincosl_use+:} false; then :
55165 $as_echo_n "(cached) " >&6
55166 else
55169 ac_ext=cpp
55170 ac_cpp='$CXXCPP $CPPFLAGS'
55171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55176 /* end confdefs.h. */
55177 #include <math.h>
55179 main ()
55181 sincosl(0, 0, 0);
55183 return 0;
55185 _ACEOF
55186 if ac_fn_cxx_try_compile "$LINENO"; then :
55187 glibcxx_cv_func_sincosl_use=yes
55188 else
55189 glibcxx_cv_func_sincosl_use=no
55191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55192 ac_ext=c
55193 ac_cpp='$CPP $CPPFLAGS'
55194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
55203 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
55205 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
55206 for ac_func in sincosl
55207 do :
55208 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
55209 if test "x$ac_cv_func_sincosl" = xyes; then :
55210 cat >>confdefs.h <<_ACEOF
55211 #define HAVE_SINCOSL 1
55212 _ACEOF
55215 done
55217 else
55219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
55220 $as_echo_n "checking for _sincosl declaration... " >&6; }
55221 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
55222 if ${glibcxx_cv_func__sincosl_use+:} false; then :
55223 $as_echo_n "(cached) " >&6
55224 else
55227 ac_ext=cpp
55228 ac_cpp='$CXXCPP $CPPFLAGS'
55229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55234 /* end confdefs.h. */
55235 #include <math.h>
55237 main ()
55239 _sincosl(0, 0, 0);
55241 return 0;
55243 _ACEOF
55244 if ac_fn_cxx_try_compile "$LINENO"; then :
55245 glibcxx_cv_func__sincosl_use=yes
55246 else
55247 glibcxx_cv_func__sincosl_use=no
55249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55250 ac_ext=c
55251 ac_cpp='$CPP $CPPFLAGS'
55252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
55261 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
55263 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
55264 for ac_func in _sincosl
55265 do :
55266 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
55267 if test "x$ac_cv_func__sincosl" = xyes; then :
55268 cat >>confdefs.h <<_ACEOF
55269 #define HAVE__SINCOSL 1
55270 _ACEOF
55273 done
55282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
55283 $as_echo_n "checking for finitel declaration... " >&6; }
55284 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
55285 if ${glibcxx_cv_func_finitel_use+:} false; then :
55286 $as_echo_n "(cached) " >&6
55287 else
55290 ac_ext=cpp
55291 ac_cpp='$CXXCPP $CPPFLAGS'
55292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55297 /* end confdefs.h. */
55298 #include <math.h>
55299 #ifdef HAVE_IEEEFP_H
55300 #include <ieeefp.h>
55301 #endif
55304 main ()
55306 finitel(0);
55308 return 0;
55310 _ACEOF
55311 if ac_fn_cxx_try_compile "$LINENO"; then :
55312 glibcxx_cv_func_finitel_use=yes
55313 else
55314 glibcxx_cv_func_finitel_use=no
55316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55317 ac_ext=c
55318 ac_cpp='$CPP $CPPFLAGS'
55319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
55328 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
55330 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
55331 for ac_func in finitel
55332 do :
55333 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
55334 if test "x$ac_cv_func_finitel" = xyes; then :
55335 cat >>confdefs.h <<_ACEOF
55336 #define HAVE_FINITEL 1
55337 _ACEOF
55340 done
55342 else
55344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
55345 $as_echo_n "checking for _finitel declaration... " >&6; }
55346 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
55347 if ${glibcxx_cv_func__finitel_use+:} false; then :
55348 $as_echo_n "(cached) " >&6
55349 else
55352 ac_ext=cpp
55353 ac_cpp='$CXXCPP $CPPFLAGS'
55354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55359 /* end confdefs.h. */
55360 #include <math.h>
55361 #ifdef HAVE_IEEEFP_H
55362 #include <ieeefp.h>
55363 #endif
55366 main ()
55368 _finitel(0);
55370 return 0;
55372 _ACEOF
55373 if ac_fn_cxx_try_compile "$LINENO"; then :
55374 glibcxx_cv_func__finitel_use=yes
55375 else
55376 glibcxx_cv_func__finitel_use=no
55378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55379 ac_ext=c
55380 ac_cpp='$CPP $CPPFLAGS'
55381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
55390 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
55392 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
55393 for ac_func in _finitel
55394 do :
55395 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
55396 if test "x$ac_cv_func__finitel" = xyes; then :
55397 cat >>confdefs.h <<_ACEOF
55398 #define HAVE__FINITEL 1
55399 _ACEOF
55402 done
55410 LIBS="$ac_save_LIBS"
55411 CXXFLAGS="$ac_save_CXXFLAGS"
55414 ac_test_CXXFLAGS="${CXXFLAGS+set}"
55415 ac_save_CXXFLAGS="$CXXFLAGS"
55416 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
55419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
55420 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
55421 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
55422 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
55423 $as_echo_n "(cached) " >&6
55424 else
55427 ac_ext=cpp
55428 ac_cpp='$CXXCPP $CPPFLAGS'
55429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55434 /* end confdefs.h. */
55435 #include <stdlib.h>
55437 main ()
55439 at_quick_exit(0);
55441 return 0;
55443 _ACEOF
55444 if ac_fn_cxx_try_compile "$LINENO"; then :
55445 glibcxx_cv_func_at_quick_exit_use=yes
55446 else
55447 glibcxx_cv_func_at_quick_exit_use=no
55449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55450 ac_ext=c
55451 ac_cpp='$CPP $CPPFLAGS'
55452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
55461 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
55462 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
55463 for ac_func in at_quick_exit
55464 do :
55465 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
55466 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
55467 cat >>confdefs.h <<_ACEOF
55468 #define HAVE_AT_QUICK_EXIT 1
55469 _ACEOF
55472 done
55477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
55478 $as_echo_n "checking for quick_exit declaration... " >&6; }
55479 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
55480 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
55481 $as_echo_n "(cached) " >&6
55482 else
55485 ac_ext=cpp
55486 ac_cpp='$CXXCPP $CPPFLAGS'
55487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55492 /* end confdefs.h. */
55493 #include <stdlib.h>
55495 main ()
55497 quick_exit(0);
55499 return 0;
55501 _ACEOF
55502 if ac_fn_cxx_try_compile "$LINENO"; then :
55503 glibcxx_cv_func_quick_exit_use=yes
55504 else
55505 glibcxx_cv_func_quick_exit_use=no
55507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55508 ac_ext=c
55509 ac_cpp='$CPP $CPPFLAGS'
55510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
55519 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
55520 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
55521 for ac_func in quick_exit
55522 do :
55523 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
55524 if test "x$ac_cv_func_quick_exit" = xyes; then :
55525 cat >>confdefs.h <<_ACEOF
55526 #define HAVE_QUICK_EXIT 1
55527 _ACEOF
55530 done
55535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
55536 $as_echo_n "checking for strtold declaration... " >&6; }
55537 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
55538 if ${glibcxx_cv_func_strtold_use+:} false; then :
55539 $as_echo_n "(cached) " >&6
55540 else
55543 ac_ext=cpp
55544 ac_cpp='$CXXCPP $CPPFLAGS'
55545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55550 /* end confdefs.h. */
55551 #include <stdlib.h>
55553 main ()
55555 strtold(0, 0);
55557 return 0;
55559 _ACEOF
55560 if ac_fn_cxx_try_compile "$LINENO"; then :
55561 glibcxx_cv_func_strtold_use=yes
55562 else
55563 glibcxx_cv_func_strtold_use=no
55565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55566 ac_ext=c
55567 ac_cpp='$CPP $CPPFLAGS'
55568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
55577 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
55578 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
55579 for ac_func in strtold
55580 do :
55581 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
55582 if test "x$ac_cv_func_strtold" = xyes; then :
55583 cat >>confdefs.h <<_ACEOF
55584 #define HAVE_STRTOLD 1
55585 _ACEOF
55588 done
55595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
55596 $as_echo_n "checking for strtof declaration... " >&6; }
55597 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
55598 if ${glibcxx_cv_func_strtof_use+:} false; then :
55599 $as_echo_n "(cached) " >&6
55600 else
55603 ac_ext=cpp
55604 ac_cpp='$CXXCPP $CPPFLAGS'
55605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55610 /* end confdefs.h. */
55611 #include <stdlib.h>
55613 main ()
55615 strtof(0, 0);
55617 return 0;
55619 _ACEOF
55620 if ac_fn_cxx_try_compile "$LINENO"; then :
55621 glibcxx_cv_func_strtof_use=yes
55622 else
55623 glibcxx_cv_func_strtof_use=no
55625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55626 ac_ext=c
55627 ac_cpp='$CPP $CPPFLAGS'
55628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
55637 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
55638 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
55639 for ac_func in strtof
55640 do :
55641 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
55642 if test "x$ac_cv_func_strtof" = xyes; then :
55643 cat >>confdefs.h <<_ACEOF
55644 #define HAVE_STRTOF 1
55645 _ACEOF
55648 done
55655 CXXFLAGS="$ac_save_CXXFLAGS"
55657 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
55659 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
55663 # Check whether --enable-tls was given.
55664 if test "${enable_tls+set}" = set; then :
55665 enableval=$enable_tls;
55666 case "$enableval" in
55667 yes|no) ;;
55668 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
55669 esac
55671 else
55672 enable_tls=yes
55676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
55677 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
55678 if ${gcc_cv_have_tls+:} false; then :
55679 $as_echo_n "(cached) " >&6
55680 else
55682 if test "$cross_compiling" = yes; then :
55683 if test x$gcc_no_link = xyes; then
55684 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
55686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55687 /* end confdefs.h. */
55688 __thread int a; int b; int main() { return a = b; }
55689 _ACEOF
55690 if ac_fn_c_try_link "$LINENO"; then :
55691 chktls_save_LDFLAGS="$LDFLAGS"
55692 case $host in
55693 *-*-linux* | -*-uclinuxfdpic*)
55694 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
55696 esac
55697 chktls_save_CFLAGS="$CFLAGS"
55698 CFLAGS="-fPIC $CFLAGS"
55699 if test x$gcc_no_link = xyes; then
55700 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
55702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55703 /* end confdefs.h. */
55704 int f() { return 0; }
55705 _ACEOF
55706 if ac_fn_c_try_link "$LINENO"; then :
55707 if test x$gcc_no_link = xyes; then
55708 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
55710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55711 /* end confdefs.h. */
55712 __thread int a; int b; int f() { return a = b; }
55713 _ACEOF
55714 if ac_fn_c_try_link "$LINENO"; then :
55715 gcc_cv_have_tls=yes
55716 else
55717 gcc_cv_have_tls=no
55719 rm -f core conftest.err conftest.$ac_objext \
55720 conftest$ac_exeext conftest.$ac_ext
55721 else
55722 gcc_cv_have_tls=yes
55724 rm -f core conftest.err conftest.$ac_objext \
55725 conftest$ac_exeext conftest.$ac_ext
55726 CFLAGS="$chktls_save_CFLAGS"
55727 LDFLAGS="$chktls_save_LDFLAGS"
55728 else
55729 gcc_cv_have_tls=no
55731 rm -f core conftest.err conftest.$ac_objext \
55732 conftest$ac_exeext conftest.$ac_ext
55735 else
55736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55737 /* end confdefs.h. */
55738 __thread int a; int b; int main() { return a = b; }
55739 _ACEOF
55740 if ac_fn_c_try_run "$LINENO"; then :
55741 chktls_save_LDFLAGS="$LDFLAGS"
55742 LDFLAGS="-static $LDFLAGS"
55743 if test x$gcc_no_link = xyes; then
55744 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
55746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55747 /* end confdefs.h. */
55748 int main() { return 0; }
55749 _ACEOF
55750 if ac_fn_c_try_link "$LINENO"; then :
55751 if test "$cross_compiling" = yes; then :
55752 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
55753 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
55754 as_fn_error $? "cannot run test program while cross compiling
55755 See \`config.log' for more details" "$LINENO" 5; }
55756 else
55757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55758 /* end confdefs.h. */
55759 __thread int a; int b; int main() { return a = b; }
55760 _ACEOF
55761 if ac_fn_c_try_run "$LINENO"; then :
55762 gcc_cv_have_tls=yes
55763 else
55764 gcc_cv_have_tls=no
55766 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
55767 conftest.$ac_objext conftest.beam conftest.$ac_ext
55770 else
55771 gcc_cv_have_tls=yes
55773 rm -f core conftest.err conftest.$ac_objext \
55774 conftest$ac_exeext conftest.$ac_ext
55775 LDFLAGS="$chktls_save_LDFLAGS"
55776 if test $gcc_cv_have_tls = yes; then
55777 chktls_save_CFLAGS="$CFLAGS"
55778 thread_CFLAGS=failed
55779 for flag in '' '-pthread' '-lpthread'; do
55780 CFLAGS="$flag $chktls_save_CFLAGS"
55781 if test x$gcc_no_link = xyes; then
55782 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
55784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55785 /* end confdefs.h. */
55786 #include <pthread.h>
55787 void *g(void *d) { return NULL; }
55789 main ()
55791 pthread_t t; pthread_create(&t,NULL,g,NULL);
55793 return 0;
55795 _ACEOF
55796 if ac_fn_c_try_link "$LINENO"; then :
55797 thread_CFLAGS="$flag"
55799 rm -f core conftest.err conftest.$ac_objext \
55800 conftest$ac_exeext conftest.$ac_ext
55801 if test "X$thread_CFLAGS" != Xfailed; then
55802 break
55804 done
55805 CFLAGS="$chktls_save_CFLAGS"
55806 if test "X$thread_CFLAGS" != Xfailed; then
55807 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
55808 if test "$cross_compiling" = yes; then :
55809 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
55810 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
55811 as_fn_error $? "cannot run test program while cross compiling
55812 See \`config.log' for more details" "$LINENO" 5; }
55813 else
55814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55815 /* end confdefs.h. */
55816 #include <pthread.h>
55817 __thread int a;
55818 static int *volatile a_in_other_thread;
55819 static void *
55820 thread_func (void *arg)
55822 a_in_other_thread = &a;
55823 return (void *)0;
55826 main ()
55828 pthread_t thread;
55829 void *thread_retval;
55830 int *volatile a_in_main_thread;
55831 a_in_main_thread = &a;
55832 if (pthread_create (&thread, (pthread_attr_t *)0,
55833 thread_func, (void *)0))
55834 return 0;
55835 if (pthread_join (thread, &thread_retval))
55836 return 0;
55837 return (a_in_other_thread == a_in_main_thread);
55839 return 0;
55841 _ACEOF
55842 if ac_fn_c_try_run "$LINENO"; then :
55843 gcc_cv_have_tls=yes
55844 else
55845 gcc_cv_have_tls=no
55847 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
55848 conftest.$ac_objext conftest.beam conftest.$ac_ext
55851 CFLAGS="$chktls_save_CFLAGS"
55854 else
55855 gcc_cv_have_tls=no
55857 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
55858 conftest.$ac_objext conftest.beam conftest.$ac_ext
55862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
55863 $as_echo "$gcc_cv_have_tls" >&6; }
55864 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
55866 $as_echo "#define HAVE_TLS 1" >>confdefs.h
55869 for ac_func in __cxa_thread_atexit_impl
55870 do :
55871 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
55872 if test "x$ac_cv_func___cxa_thread_atexit_impl" = xyes; then :
55873 cat >>confdefs.h <<_ACEOF
55874 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
55875 _ACEOF
55878 done
55880 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
55881 do :
55882 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55883 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55884 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55885 cat >>confdefs.h <<_ACEOF
55886 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55887 _ACEOF
55890 done
55892 for ac_func in timespec_get
55893 do :
55894 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
55895 if test "x$ac_cv_func_timespec_get" = xyes; then :
55896 cat >>confdefs.h <<_ACEOF
55897 #define HAVE_TIMESPEC_GET 1
55898 _ACEOF
55901 done
55903 for ac_func in sockatmark
55904 do :
55905 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
55906 if test "x$ac_cv_func_sockatmark" = xyes; then :
55907 cat >>confdefs.h <<_ACEOF
55908 #define HAVE_SOCKATMARK 1
55909 _ACEOF
55912 done
55914 for ac_func in uselocale
55915 do :
55916 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
55917 if test "x$ac_cv_func_uselocale" = xyes; then :
55918 cat >>confdefs.h <<_ACEOF
55919 #define HAVE_USELOCALE 1
55920 _ACEOF
55923 done
55925 for ac_func in secure_getenv
55926 do :
55927 ac_fn_c_check_func "$LINENO" "secure_getenv" "ac_cv_func_secure_getenv"
55928 if test "x$ac_cv_func_secure_getenv" = xyes; then :
55929 cat >>confdefs.h <<_ACEOF
55930 #define HAVE_SECURE_GETENV 1
55931 _ACEOF
55934 done
55941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
55942 $as_echo_n "checking for iconv... " >&6; }
55943 if ${am_cv_func_iconv+:} false; then :
55944 $as_echo_n "(cached) " >&6
55945 else
55947 am_cv_func_iconv="no, consider installing GNU libiconv"
55948 am_cv_lib_iconv=no
55949 am_save_CPPFLAGS="$CPPFLAGS"
55950 CPPFLAGS="$CPPFLAGS $INCICONV"
55951 if test x$gcc_no_link = xyes; then
55952 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
55954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55955 /* end confdefs.h. */
55956 #include <stdlib.h>
55957 #include <iconv.h>
55959 main ()
55961 iconv_t cd = iconv_open("","");
55962 iconv(cd,NULL,NULL,NULL,NULL);
55963 iconv_close(cd);
55965 return 0;
55967 _ACEOF
55968 if ac_fn_c_try_link "$LINENO"; then :
55969 am_cv_func_iconv=yes
55971 rm -f core conftest.err conftest.$ac_objext \
55972 conftest$ac_exeext conftest.$ac_ext
55973 CPPFLAGS="$am_save_CPPFLAGS"
55975 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
55976 for _libs in .libs _libs; do
55977 am_save_CPPFLAGS="$CPPFLAGS"
55978 am_save_LIBS="$LIBS"
55979 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
55980 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
55981 if test x$gcc_no_link = xyes; then
55982 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
55984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55985 /* end confdefs.h. */
55986 #include <stdlib.h>
55987 #include <iconv.h>
55989 main ()
55991 iconv_t cd = iconv_open("","");
55992 iconv(cd,NULL,NULL,NULL,NULL);
55993 iconv_close(cd);
55995 return 0;
55997 _ACEOF
55998 if ac_fn_c_try_link "$LINENO"; then :
55999 INCICONV="-I../libiconv/include"
56000 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
56001 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
56002 am_cv_lib_iconv=yes
56003 am_cv_func_iconv=yes
56005 rm -f core conftest.err conftest.$ac_objext \
56006 conftest$ac_exeext conftest.$ac_ext
56007 CPPFLAGS="$am_save_CPPFLAGS"
56008 LIBS="$am_save_LIBS"
56009 if test "$am_cv_func_iconv" = "yes"; then
56010 break
56012 done
56015 if test "$am_cv_func_iconv" != yes; then
56016 am_save_CPPFLAGS="$CPPFLAGS"
56017 am_save_LIBS="$LIBS"
56018 CPPFLAGS="$CPPFLAGS $INCICONV"
56019 LIBS="$LIBS $LIBICONV"
56020 if test x$gcc_no_link = xyes; then
56021 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56024 /* end confdefs.h. */
56025 #include <stdlib.h>
56026 #include <iconv.h>
56028 main ()
56030 iconv_t cd = iconv_open("","");
56031 iconv(cd,NULL,NULL,NULL,NULL);
56032 iconv_close(cd);
56034 return 0;
56036 _ACEOF
56037 if ac_fn_c_try_link "$LINENO"; then :
56038 am_cv_lib_iconv=yes
56039 am_cv_func_iconv=yes
56041 rm -f core conftest.err conftest.$ac_objext \
56042 conftest$ac_exeext conftest.$ac_ext
56043 CPPFLAGS="$am_save_CPPFLAGS"
56044 LIBS="$am_save_LIBS"
56048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
56049 $as_echo "$am_cv_func_iconv" >&6; }
56050 if test "$am_cv_func_iconv" = yes; then
56052 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
56055 if test "$am_cv_lib_iconv" = yes; then
56057 for element in $INCICONV; do
56058 haveit=
56059 for x in $CPPFLAGS; do
56061 acl_save_prefix="$prefix"
56062 prefix="$acl_final_prefix"
56063 acl_save_exec_prefix="$exec_prefix"
56064 exec_prefix="$acl_final_exec_prefix"
56065 eval x=\"$x\"
56066 exec_prefix="$acl_save_exec_prefix"
56067 prefix="$acl_save_prefix"
56069 if test "X$x" = "X$element"; then
56070 haveit=yes
56071 break
56073 done
56074 if test -z "$haveit"; then
56075 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
56077 done
56079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
56080 $as_echo_n "checking how to link with libiconv... " >&6; }
56081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
56082 $as_echo "$LIBICONV" >&6; }
56083 else
56084 LIBICONV=
56085 LTLIBICONV=
56090 if test "$am_cv_func_iconv" = yes; then
56091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
56092 $as_echo_n "checking for iconv declaration... " >&6; }
56093 if ${am_cv_proto_iconv+:} false; then :
56094 $as_echo_n "(cached) " >&6
56095 else
56097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56098 /* end confdefs.h. */
56100 #include <stdlib.h>
56101 #include <iconv.h>
56102 extern
56103 #ifdef __cplusplus
56105 #endif
56106 #if defined(__STDC__) || defined(__cplusplus)
56107 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
56108 #else
56109 size_t iconv();
56110 #endif
56113 main ()
56117 return 0;
56119 _ACEOF
56120 if ac_fn_c_try_compile "$LINENO"; then :
56121 am_cv_proto_iconv_arg1=""
56122 else
56123 am_cv_proto_iconv_arg1="const"
56125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56126 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);"
56129 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
56130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
56131 }$am_cv_proto_iconv" >&5
56132 $as_echo "${ac_t:-
56133 }$am_cv_proto_iconv" >&6; }
56135 cat >>confdefs.h <<_ACEOF
56136 #define ICONV_CONST $am_cv_proto_iconv_arg1
56137 _ACEOF
56142 *-mingw32*)
56144 # If we're not using GNU ld, then there's no point in even trying these
56145 # tests. Check for that first. We should have already tested for gld
56146 # by now (in libtool), but require it now just to be safe...
56147 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56148 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56152 # The name set by libtool depends on the version of libtool. Shame on us
56153 # for depending on an impl detail, but c'est la vie. Older versions used
56154 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56155 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56156 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56157 # set (hence we're using an older libtool), then set it.
56158 if test x${with_gnu_ld+set} != xset; then
56159 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56160 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56161 with_gnu_ld=no
56162 else
56163 with_gnu_ld=$ac_cv_prog_gnu_ld
56167 # Start by getting the version number. I think the libtool test already
56168 # does some of this, but throws away the result.
56169 glibcxx_ld_is_gold=no
56170 glibcxx_ld_is_mold=no
56171 if test x"$with_gnu_ld" = x"yes"; then
56172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56173 $as_echo_n "checking for ld version... " >&6; }
56175 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56176 glibcxx_ld_is_gold=yes
56177 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
56178 glibcxx_ld_is_mold=yes
56180 ldver=`$LD --version 2>/dev/null |
56181 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
56183 glibcxx_gnu_ld_version=`echo $ldver | \
56184 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56186 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56189 # Set --gc-sections.
56190 glibcxx_have_gc_sections=no
56191 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
56192 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56193 glibcxx_have_gc_sections=yes
56195 else
56196 glibcxx_gcsections_min_ld=21602
56197 if test x"$with_gnu_ld" = x"yes" &&
56198 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56199 glibcxx_have_gc_sections=yes
56202 if test "$glibcxx_have_gc_sections" = "yes"; then
56203 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56204 # NB: This flag only works reliably after 2.16.1. Configure tests
56205 # for this are difficult, so hard wire a value that should work.
56207 ac_test_CFLAGS="${CFLAGS+set}"
56208 ac_save_CFLAGS="$CFLAGS"
56209 CFLAGS='-Wl,--gc-sections'
56211 # Check for -Wl,--gc-sections
56212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56213 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56214 if test x$gcc_no_link = xyes; then
56215 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56218 /* end confdefs.h. */
56219 int one(void) { return 1; }
56220 int two(void) { return 2; }
56223 main ()
56225 two();
56227 return 0;
56229 _ACEOF
56230 if ac_fn_c_try_link "$LINENO"; then :
56231 ac_gcsections=yes
56232 else
56233 ac_gcsections=no
56235 rm -f core conftest.err conftest.$ac_objext \
56236 conftest$ac_exeext conftest.$ac_ext
56237 if test "$ac_gcsections" = "yes"; then
56238 rm -f conftest.c
56239 touch conftest.c
56240 if $CC -c conftest.c; then
56241 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56242 grep "Warning: gc-sections option ignored" > /dev/null; then
56243 ac_gcsections=no
56246 rm -f conftest.c conftest.o conftest
56248 if test "$ac_gcsections" = "yes"; then
56249 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56252 $as_echo "$ac_gcsections" >&6; }
56254 if test "$ac_test_CFLAGS" = set; then
56255 CFLAGS="$ac_save_CFLAGS"
56256 else
56257 # this is the suspicious part
56258 CFLAGS=''
56262 # Set -z,relro.
56263 # Note this is only for shared objects.
56264 ac_ld_relro=no
56265 if test x"$with_gnu_ld" = x"yes"; then
56266 # cygwin and mingw uses PE, which has no ELF relro support,
56267 # multi target ld may confuse configure machinery
56268 case "$host" in
56269 *-*-cygwin*)
56271 *-*-mingw*)
56274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56275 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56276 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56277 if test -n "$cxx_z_relo"; then
56278 OPT_LDFLAGS="-Wl,-z,relro"
56279 ac_ld_relro=yes
56281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56282 $as_echo "$ac_ld_relro" >&6; }
56283 esac
56286 # Set linker optimization flags.
56287 if test x"$with_gnu_ld" = x"yes"; then
56288 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56295 ac_test_CXXFLAGS="${CXXFLAGS+set}"
56296 ac_save_CXXFLAGS="$CXXFLAGS"
56297 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
56299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
56300 $as_echo_n "checking for sin in -lm... " >&6; }
56301 if ${ac_cv_lib_m_sin+:} false; then :
56302 $as_echo_n "(cached) " >&6
56303 else
56304 ac_check_lib_save_LIBS=$LIBS
56305 LIBS="-lm $LIBS"
56306 if test x$gcc_no_link = xyes; then
56307 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56310 /* end confdefs.h. */
56312 /* Override any GCC internal prototype to avoid an error.
56313 Use char because int might match the return type of a GCC
56314 builtin and then its argument prototype would still apply. */
56315 #ifdef __cplusplus
56316 extern "C"
56317 #endif
56318 char sin ();
56320 main ()
56322 return sin ();
56324 return 0;
56326 _ACEOF
56327 if ac_fn_c_try_link "$LINENO"; then :
56328 ac_cv_lib_m_sin=yes
56329 else
56330 ac_cv_lib_m_sin=no
56332 rm -f core conftest.err conftest.$ac_objext \
56333 conftest$ac_exeext conftest.$ac_ext
56334 LIBS=$ac_check_lib_save_LIBS
56336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
56337 $as_echo "$ac_cv_lib_m_sin" >&6; }
56338 if test "x$ac_cv_lib_m_sin" = xyes; then :
56339 libm="-lm"
56342 ac_save_LIBS="$LIBS"
56343 LIBS="$LIBS $libm"
56347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
56348 $as_echo_n "checking for isinf declaration... " >&6; }
56349 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
56350 if ${glibcxx_cv_func_isinf_use+:} false; then :
56351 $as_echo_n "(cached) " >&6
56352 else
56355 ac_ext=cpp
56356 ac_cpp='$CXXCPP $CPPFLAGS'
56357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56362 /* end confdefs.h. */
56363 #include <math.h>
56364 #ifdef HAVE_IEEEFP_H
56365 #include <ieeefp.h>
56366 #endif
56369 main ()
56371 isinf(0);
56373 return 0;
56375 _ACEOF
56376 if ac_fn_cxx_try_compile "$LINENO"; then :
56377 glibcxx_cv_func_isinf_use=yes
56378 else
56379 glibcxx_cv_func_isinf_use=no
56381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56382 ac_ext=c
56383 ac_cpp='$CPP $CPPFLAGS'
56384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
56393 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
56395 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
56396 for ac_func in isinf
56397 do :
56398 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
56399 if test "x$ac_cv_func_isinf" = xyes; then :
56400 cat >>confdefs.h <<_ACEOF
56401 #define HAVE_ISINF 1
56402 _ACEOF
56405 done
56407 else
56409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
56410 $as_echo_n "checking for _isinf declaration... " >&6; }
56411 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
56412 if ${glibcxx_cv_func__isinf_use+:} false; then :
56413 $as_echo_n "(cached) " >&6
56414 else
56417 ac_ext=cpp
56418 ac_cpp='$CXXCPP $CPPFLAGS'
56419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56424 /* end confdefs.h. */
56425 #include <math.h>
56426 #ifdef HAVE_IEEEFP_H
56427 #include <ieeefp.h>
56428 #endif
56431 main ()
56433 _isinf(0);
56435 return 0;
56437 _ACEOF
56438 if ac_fn_cxx_try_compile "$LINENO"; then :
56439 glibcxx_cv_func__isinf_use=yes
56440 else
56441 glibcxx_cv_func__isinf_use=no
56443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56444 ac_ext=c
56445 ac_cpp='$CPP $CPPFLAGS'
56446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
56455 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
56457 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
56458 for ac_func in _isinf
56459 do :
56460 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
56461 if test "x$ac_cv_func__isinf" = xyes; then :
56462 cat >>confdefs.h <<_ACEOF
56463 #define HAVE__ISINF 1
56464 _ACEOF
56467 done
56476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
56477 $as_echo_n "checking for isnan declaration... " >&6; }
56478 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
56479 if ${glibcxx_cv_func_isnan_use+:} false; then :
56480 $as_echo_n "(cached) " >&6
56481 else
56484 ac_ext=cpp
56485 ac_cpp='$CXXCPP $CPPFLAGS'
56486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56491 /* end confdefs.h. */
56492 #include <math.h>
56493 #ifdef HAVE_IEEEFP_H
56494 #include <ieeefp.h>
56495 #endif
56498 main ()
56500 isnan(0);
56502 return 0;
56504 _ACEOF
56505 if ac_fn_cxx_try_compile "$LINENO"; then :
56506 glibcxx_cv_func_isnan_use=yes
56507 else
56508 glibcxx_cv_func_isnan_use=no
56510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56511 ac_ext=c
56512 ac_cpp='$CPP $CPPFLAGS'
56513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
56522 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
56524 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
56525 for ac_func in isnan
56526 do :
56527 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
56528 if test "x$ac_cv_func_isnan" = xyes; then :
56529 cat >>confdefs.h <<_ACEOF
56530 #define HAVE_ISNAN 1
56531 _ACEOF
56534 done
56536 else
56538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
56539 $as_echo_n "checking for _isnan declaration... " >&6; }
56540 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
56541 if ${glibcxx_cv_func__isnan_use+:} false; then :
56542 $as_echo_n "(cached) " >&6
56543 else
56546 ac_ext=cpp
56547 ac_cpp='$CXXCPP $CPPFLAGS'
56548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56553 /* end confdefs.h. */
56554 #include <math.h>
56555 #ifdef HAVE_IEEEFP_H
56556 #include <ieeefp.h>
56557 #endif
56560 main ()
56562 _isnan(0);
56564 return 0;
56566 _ACEOF
56567 if ac_fn_cxx_try_compile "$LINENO"; then :
56568 glibcxx_cv_func__isnan_use=yes
56569 else
56570 glibcxx_cv_func__isnan_use=no
56572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56573 ac_ext=c
56574 ac_cpp='$CPP $CPPFLAGS'
56575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
56584 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
56586 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
56587 for ac_func in _isnan
56588 do :
56589 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
56590 if test "x$ac_cv_func__isnan" = xyes; then :
56591 cat >>confdefs.h <<_ACEOF
56592 #define HAVE__ISNAN 1
56593 _ACEOF
56596 done
56605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
56606 $as_echo_n "checking for finite declaration... " >&6; }
56607 if test x${glibcxx_cv_func_finite_use+set} != xset; then
56608 if ${glibcxx_cv_func_finite_use+:} false; then :
56609 $as_echo_n "(cached) " >&6
56610 else
56613 ac_ext=cpp
56614 ac_cpp='$CXXCPP $CPPFLAGS'
56615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56620 /* end confdefs.h. */
56621 #include <math.h>
56622 #ifdef HAVE_IEEEFP_H
56623 #include <ieeefp.h>
56624 #endif
56627 main ()
56629 finite(0);
56631 return 0;
56633 _ACEOF
56634 if ac_fn_cxx_try_compile "$LINENO"; then :
56635 glibcxx_cv_func_finite_use=yes
56636 else
56637 glibcxx_cv_func_finite_use=no
56639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56640 ac_ext=c
56641 ac_cpp='$CPP $CPPFLAGS'
56642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
56651 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
56653 if test x$glibcxx_cv_func_finite_use = x"yes"; then
56654 for ac_func in finite
56655 do :
56656 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
56657 if test "x$ac_cv_func_finite" = xyes; then :
56658 cat >>confdefs.h <<_ACEOF
56659 #define HAVE_FINITE 1
56660 _ACEOF
56663 done
56665 else
56667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
56668 $as_echo_n "checking for _finite declaration... " >&6; }
56669 if test x${glibcxx_cv_func__finite_use+set} != xset; then
56670 if ${glibcxx_cv_func__finite_use+:} false; then :
56671 $as_echo_n "(cached) " >&6
56672 else
56675 ac_ext=cpp
56676 ac_cpp='$CXXCPP $CPPFLAGS'
56677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56682 /* end confdefs.h. */
56683 #include <math.h>
56684 #ifdef HAVE_IEEEFP_H
56685 #include <ieeefp.h>
56686 #endif
56689 main ()
56691 _finite(0);
56693 return 0;
56695 _ACEOF
56696 if ac_fn_cxx_try_compile "$LINENO"; then :
56697 glibcxx_cv_func__finite_use=yes
56698 else
56699 glibcxx_cv_func__finite_use=no
56701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56702 ac_ext=c
56703 ac_cpp='$CPP $CPPFLAGS'
56704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
56713 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
56715 if test x$glibcxx_cv_func__finite_use = x"yes"; then
56716 for ac_func in _finite
56717 do :
56718 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
56719 if test "x$ac_cv_func__finite" = xyes; then :
56720 cat >>confdefs.h <<_ACEOF
56721 #define HAVE__FINITE 1
56722 _ACEOF
56725 done
56734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
56735 $as_echo_n "checking for sincos declaration... " >&6; }
56736 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
56737 if ${glibcxx_cv_func_sincos_use+:} false; then :
56738 $as_echo_n "(cached) " >&6
56739 else
56742 ac_ext=cpp
56743 ac_cpp='$CXXCPP $CPPFLAGS'
56744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56749 /* end confdefs.h. */
56750 #include <math.h>
56752 main ()
56754 sincos(0, 0, 0);
56756 return 0;
56758 _ACEOF
56759 if ac_fn_cxx_try_compile "$LINENO"; then :
56760 glibcxx_cv_func_sincos_use=yes
56761 else
56762 glibcxx_cv_func_sincos_use=no
56764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56765 ac_ext=c
56766 ac_cpp='$CPP $CPPFLAGS'
56767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
56776 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
56778 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
56779 for ac_func in sincos
56780 do :
56781 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
56782 if test "x$ac_cv_func_sincos" = xyes; then :
56783 cat >>confdefs.h <<_ACEOF
56784 #define HAVE_SINCOS 1
56785 _ACEOF
56788 done
56790 else
56792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
56793 $as_echo_n "checking for _sincos declaration... " >&6; }
56794 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
56795 if ${glibcxx_cv_func__sincos_use+:} false; then :
56796 $as_echo_n "(cached) " >&6
56797 else
56800 ac_ext=cpp
56801 ac_cpp='$CXXCPP $CPPFLAGS'
56802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56807 /* end confdefs.h. */
56808 #include <math.h>
56810 main ()
56812 _sincos(0, 0, 0);
56814 return 0;
56816 _ACEOF
56817 if ac_fn_cxx_try_compile "$LINENO"; then :
56818 glibcxx_cv_func__sincos_use=yes
56819 else
56820 glibcxx_cv_func__sincos_use=no
56822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56823 ac_ext=c
56824 ac_cpp='$CPP $CPPFLAGS'
56825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
56834 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
56836 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
56837 for ac_func in _sincos
56838 do :
56839 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
56840 if test "x$ac_cv_func__sincos" = xyes; then :
56841 cat >>confdefs.h <<_ACEOF
56842 #define HAVE__SINCOS 1
56843 _ACEOF
56846 done
56855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
56856 $as_echo_n "checking for fpclass declaration... " >&6; }
56857 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
56858 if ${glibcxx_cv_func_fpclass_use+:} false; then :
56859 $as_echo_n "(cached) " >&6
56860 else
56863 ac_ext=cpp
56864 ac_cpp='$CXXCPP $CPPFLAGS'
56865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56870 /* end confdefs.h. */
56871 #include <math.h>
56872 #ifdef HAVE_IEEEFP_H
56873 #include <ieeefp.h>
56874 #endif
56877 main ()
56879 fpclass(0);
56881 return 0;
56883 _ACEOF
56884 if ac_fn_cxx_try_compile "$LINENO"; then :
56885 glibcxx_cv_func_fpclass_use=yes
56886 else
56887 glibcxx_cv_func_fpclass_use=no
56889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56890 ac_ext=c
56891 ac_cpp='$CPP $CPPFLAGS'
56892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
56901 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
56903 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
56904 for ac_func in fpclass
56905 do :
56906 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
56907 if test "x$ac_cv_func_fpclass" = xyes; then :
56908 cat >>confdefs.h <<_ACEOF
56909 #define HAVE_FPCLASS 1
56910 _ACEOF
56913 done
56915 else
56917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
56918 $as_echo_n "checking for _fpclass declaration... " >&6; }
56919 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
56920 if ${glibcxx_cv_func__fpclass_use+:} false; then :
56921 $as_echo_n "(cached) " >&6
56922 else
56925 ac_ext=cpp
56926 ac_cpp='$CXXCPP $CPPFLAGS'
56927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56932 /* end confdefs.h. */
56933 #include <math.h>
56934 #ifdef HAVE_IEEEFP_H
56935 #include <ieeefp.h>
56936 #endif
56939 main ()
56941 _fpclass(0);
56943 return 0;
56945 _ACEOF
56946 if ac_fn_cxx_try_compile "$LINENO"; then :
56947 glibcxx_cv_func__fpclass_use=yes
56948 else
56949 glibcxx_cv_func__fpclass_use=no
56951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56952 ac_ext=c
56953 ac_cpp='$CPP $CPPFLAGS'
56954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
56963 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
56965 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
56966 for ac_func in _fpclass
56967 do :
56968 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
56969 if test "x$ac_cv_func__fpclass" = xyes; then :
56970 cat >>confdefs.h <<_ACEOF
56971 #define HAVE__FPCLASS 1
56972 _ACEOF
56975 done
56984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
56985 $as_echo_n "checking for qfpclass declaration... " >&6; }
56986 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
56987 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
56988 $as_echo_n "(cached) " >&6
56989 else
56992 ac_ext=cpp
56993 ac_cpp='$CXXCPP $CPPFLAGS'
56994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56999 /* end confdefs.h. */
57000 #include <math.h>
57001 #ifdef HAVE_IEEEFP_H
57002 #include <ieeefp.h>
57003 #endif
57006 main ()
57008 qfpclass(0);
57010 return 0;
57012 _ACEOF
57013 if ac_fn_cxx_try_compile "$LINENO"; then :
57014 glibcxx_cv_func_qfpclass_use=yes
57015 else
57016 glibcxx_cv_func_qfpclass_use=no
57018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57019 ac_ext=c
57020 ac_cpp='$CPP $CPPFLAGS'
57021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
57030 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
57032 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
57033 for ac_func in qfpclass
57034 do :
57035 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
57036 if test "x$ac_cv_func_qfpclass" = xyes; then :
57037 cat >>confdefs.h <<_ACEOF
57038 #define HAVE_QFPCLASS 1
57039 _ACEOF
57042 done
57044 else
57046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
57047 $as_echo_n "checking for _qfpclass declaration... " >&6; }
57048 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
57049 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
57050 $as_echo_n "(cached) " >&6
57051 else
57054 ac_ext=cpp
57055 ac_cpp='$CXXCPP $CPPFLAGS'
57056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57061 /* end confdefs.h. */
57062 #include <math.h>
57063 #ifdef HAVE_IEEEFP_H
57064 #include <ieeefp.h>
57065 #endif
57068 main ()
57070 _qfpclass(0);
57072 return 0;
57074 _ACEOF
57075 if ac_fn_cxx_try_compile "$LINENO"; then :
57076 glibcxx_cv_func__qfpclass_use=yes
57077 else
57078 glibcxx_cv_func__qfpclass_use=no
57080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57081 ac_ext=c
57082 ac_cpp='$CPP $CPPFLAGS'
57083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
57092 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
57094 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
57095 for ac_func in _qfpclass
57096 do :
57097 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
57098 if test "x$ac_cv_func__qfpclass" = xyes; then :
57099 cat >>confdefs.h <<_ACEOF
57100 #define HAVE__QFPCLASS 1
57101 _ACEOF
57104 done
57113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
57114 $as_echo_n "checking for hypot declaration... " >&6; }
57115 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
57116 if ${glibcxx_cv_func_hypot_use+:} false; then :
57117 $as_echo_n "(cached) " >&6
57118 else
57121 ac_ext=cpp
57122 ac_cpp='$CXXCPP $CPPFLAGS'
57123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57128 /* end confdefs.h. */
57129 #include <math.h>
57131 main ()
57133 hypot(0, 0);
57135 return 0;
57137 _ACEOF
57138 if ac_fn_cxx_try_compile "$LINENO"; then :
57139 glibcxx_cv_func_hypot_use=yes
57140 else
57141 glibcxx_cv_func_hypot_use=no
57143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57144 ac_ext=c
57145 ac_cpp='$CPP $CPPFLAGS'
57146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
57155 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
57157 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
57158 for ac_func in hypot
57159 do :
57160 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
57161 if test "x$ac_cv_func_hypot" = xyes; then :
57162 cat >>confdefs.h <<_ACEOF
57163 #define HAVE_HYPOT 1
57164 _ACEOF
57167 done
57169 else
57171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
57172 $as_echo_n "checking for _hypot declaration... " >&6; }
57173 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
57174 if ${glibcxx_cv_func__hypot_use+:} false; then :
57175 $as_echo_n "(cached) " >&6
57176 else
57179 ac_ext=cpp
57180 ac_cpp='$CXXCPP $CPPFLAGS'
57181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57186 /* end confdefs.h. */
57187 #include <math.h>
57189 main ()
57191 _hypot(0, 0);
57193 return 0;
57195 _ACEOF
57196 if ac_fn_cxx_try_compile "$LINENO"; then :
57197 glibcxx_cv_func__hypot_use=yes
57198 else
57199 glibcxx_cv_func__hypot_use=no
57201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57202 ac_ext=c
57203 ac_cpp='$CPP $CPPFLAGS'
57204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
57213 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
57215 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
57216 for ac_func in _hypot
57217 do :
57218 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
57219 if test "x$ac_cv_func__hypot" = xyes; then :
57220 cat >>confdefs.h <<_ACEOF
57221 #define HAVE__HYPOT 1
57222 _ACEOF
57225 done
57234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
57235 $as_echo_n "checking for float trig functions... " >&6; }
57236 if ${glibcxx_cv_func_float_trig_use+:} false; then :
57237 $as_echo_n "(cached) " >&6
57238 else
57241 ac_ext=cpp
57242 ac_cpp='$CXXCPP $CPPFLAGS'
57243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57248 /* end confdefs.h. */
57249 #include <math.h>
57251 main ()
57253 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
57255 return 0;
57257 _ACEOF
57258 if ac_fn_cxx_try_compile "$LINENO"; then :
57259 glibcxx_cv_func_float_trig_use=yes
57260 else
57261 glibcxx_cv_func_float_trig_use=no
57263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57264 ac_ext=c
57265 ac_cpp='$CPP $CPPFLAGS'
57266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
57273 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
57274 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
57275 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
57276 do :
57277 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57278 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57279 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57280 cat >>confdefs.h <<_ACEOF
57281 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57282 _ACEOF
57285 done
57287 else
57288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
57289 $as_echo_n "checking for _float trig functions... " >&6; }
57290 if ${glibcxx_cv_func__float_trig_use+:} false; then :
57291 $as_echo_n "(cached) " >&6
57292 else
57295 ac_ext=cpp
57296 ac_cpp='$CXXCPP $CPPFLAGS'
57297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57302 /* end confdefs.h. */
57303 #include <math.h>
57305 main ()
57307 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
57309 return 0;
57311 _ACEOF
57312 if ac_fn_cxx_try_compile "$LINENO"; then :
57313 glibcxx_cv_func__float_trig_use=yes
57314 else
57315 glibcxx_cv_func__float_trig_use=no
57317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57318 ac_ext=c
57319 ac_cpp='$CPP $CPPFLAGS'
57320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
57327 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
57328 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
57329 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
57330 do :
57331 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57332 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57333 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57334 cat >>confdefs.h <<_ACEOF
57335 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57336 _ACEOF
57339 done
57348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
57349 $as_echo_n "checking for float round functions... " >&6; }
57350 if ${glibcxx_cv_func_float_round_use+:} false; then :
57351 $as_echo_n "(cached) " >&6
57352 else
57355 ac_ext=cpp
57356 ac_cpp='$CXXCPP $CPPFLAGS'
57357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57362 /* end confdefs.h. */
57363 #include <math.h>
57365 main ()
57367 ceilf (0); floorf (0);
57369 return 0;
57371 _ACEOF
57372 if ac_fn_cxx_try_compile "$LINENO"; then :
57373 glibcxx_cv_func_float_round_use=yes
57374 else
57375 glibcxx_cv_func_float_round_use=no
57377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57378 ac_ext=c
57379 ac_cpp='$CPP $CPPFLAGS'
57380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
57387 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
57388 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
57389 for ac_func in ceilf floorf
57390 do :
57391 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57392 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57393 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57394 cat >>confdefs.h <<_ACEOF
57395 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57396 _ACEOF
57399 done
57401 else
57402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
57403 $as_echo_n "checking for _float round functions... " >&6; }
57404 if ${glibcxx_cv_func__float_round_use+:} false; then :
57405 $as_echo_n "(cached) " >&6
57406 else
57409 ac_ext=cpp
57410 ac_cpp='$CXXCPP $CPPFLAGS'
57411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57416 /* end confdefs.h. */
57417 #include <math.h>
57419 main ()
57421 _ceilf (0); _floorf (0);
57423 return 0;
57425 _ACEOF
57426 if ac_fn_cxx_try_compile "$LINENO"; then :
57427 glibcxx_cv_func__float_round_use=yes
57428 else
57429 glibcxx_cv_func__float_round_use=no
57431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57432 ac_ext=c
57433 ac_cpp='$CPP $CPPFLAGS'
57434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
57441 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
57442 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
57443 for ac_func in _ceilf _floorf
57444 do :
57445 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57446 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57447 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57448 cat >>confdefs.h <<_ACEOF
57449 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57450 _ACEOF
57453 done
57463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
57464 $as_echo_n "checking for expf declaration... " >&6; }
57465 if test x${glibcxx_cv_func_expf_use+set} != xset; then
57466 if ${glibcxx_cv_func_expf_use+:} false; then :
57467 $as_echo_n "(cached) " >&6
57468 else
57471 ac_ext=cpp
57472 ac_cpp='$CXXCPP $CPPFLAGS'
57473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57478 /* end confdefs.h. */
57479 #include <math.h>
57480 #ifdef HAVE_IEEEFP_H
57481 #include <ieeefp.h>
57482 #endif
57485 main ()
57487 expf(0);
57489 return 0;
57491 _ACEOF
57492 if ac_fn_cxx_try_compile "$LINENO"; then :
57493 glibcxx_cv_func_expf_use=yes
57494 else
57495 glibcxx_cv_func_expf_use=no
57497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57498 ac_ext=c
57499 ac_cpp='$CPP $CPPFLAGS'
57500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
57509 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
57511 if test x$glibcxx_cv_func_expf_use = x"yes"; then
57512 for ac_func in expf
57513 do :
57514 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
57515 if test "x$ac_cv_func_expf" = xyes; then :
57516 cat >>confdefs.h <<_ACEOF
57517 #define HAVE_EXPF 1
57518 _ACEOF
57521 done
57523 else
57525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
57526 $as_echo_n "checking for _expf declaration... " >&6; }
57527 if test x${glibcxx_cv_func__expf_use+set} != xset; then
57528 if ${glibcxx_cv_func__expf_use+:} false; then :
57529 $as_echo_n "(cached) " >&6
57530 else
57533 ac_ext=cpp
57534 ac_cpp='$CXXCPP $CPPFLAGS'
57535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57540 /* end confdefs.h. */
57541 #include <math.h>
57542 #ifdef HAVE_IEEEFP_H
57543 #include <ieeefp.h>
57544 #endif
57547 main ()
57549 _expf(0);
57551 return 0;
57553 _ACEOF
57554 if ac_fn_cxx_try_compile "$LINENO"; then :
57555 glibcxx_cv_func__expf_use=yes
57556 else
57557 glibcxx_cv_func__expf_use=no
57559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57560 ac_ext=c
57561 ac_cpp='$CPP $CPPFLAGS'
57562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
57571 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
57573 if test x$glibcxx_cv_func__expf_use = x"yes"; then
57574 for ac_func in _expf
57575 do :
57576 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
57577 if test "x$ac_cv_func__expf" = xyes; then :
57578 cat >>confdefs.h <<_ACEOF
57579 #define HAVE__EXPF 1
57580 _ACEOF
57583 done
57592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
57593 $as_echo_n "checking for isnanf declaration... " >&6; }
57594 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
57595 if ${glibcxx_cv_func_isnanf_use+:} false; then :
57596 $as_echo_n "(cached) " >&6
57597 else
57600 ac_ext=cpp
57601 ac_cpp='$CXXCPP $CPPFLAGS'
57602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57607 /* end confdefs.h. */
57608 #include <math.h>
57609 #ifdef HAVE_IEEEFP_H
57610 #include <ieeefp.h>
57611 #endif
57614 main ()
57616 isnanf(0);
57618 return 0;
57620 _ACEOF
57621 if ac_fn_cxx_try_compile "$LINENO"; then :
57622 glibcxx_cv_func_isnanf_use=yes
57623 else
57624 glibcxx_cv_func_isnanf_use=no
57626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57627 ac_ext=c
57628 ac_cpp='$CPP $CPPFLAGS'
57629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
57638 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
57640 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
57641 for ac_func in isnanf
57642 do :
57643 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
57644 if test "x$ac_cv_func_isnanf" = xyes; then :
57645 cat >>confdefs.h <<_ACEOF
57646 #define HAVE_ISNANF 1
57647 _ACEOF
57650 done
57652 else
57654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
57655 $as_echo_n "checking for _isnanf declaration... " >&6; }
57656 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
57657 if ${glibcxx_cv_func__isnanf_use+:} false; then :
57658 $as_echo_n "(cached) " >&6
57659 else
57662 ac_ext=cpp
57663 ac_cpp='$CXXCPP $CPPFLAGS'
57664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57669 /* end confdefs.h. */
57670 #include <math.h>
57671 #ifdef HAVE_IEEEFP_H
57672 #include <ieeefp.h>
57673 #endif
57676 main ()
57678 _isnanf(0);
57680 return 0;
57682 _ACEOF
57683 if ac_fn_cxx_try_compile "$LINENO"; then :
57684 glibcxx_cv_func__isnanf_use=yes
57685 else
57686 glibcxx_cv_func__isnanf_use=no
57688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57689 ac_ext=c
57690 ac_cpp='$CPP $CPPFLAGS'
57691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
57700 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
57702 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
57703 for ac_func in _isnanf
57704 do :
57705 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
57706 if test "x$ac_cv_func__isnanf" = xyes; then :
57707 cat >>confdefs.h <<_ACEOF
57708 #define HAVE__ISNANF 1
57709 _ACEOF
57712 done
57721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
57722 $as_echo_n "checking for isinff declaration... " >&6; }
57723 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
57724 if ${glibcxx_cv_func_isinff_use+:} false; then :
57725 $as_echo_n "(cached) " >&6
57726 else
57729 ac_ext=cpp
57730 ac_cpp='$CXXCPP $CPPFLAGS'
57731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57736 /* end confdefs.h. */
57737 #include <math.h>
57738 #ifdef HAVE_IEEEFP_H
57739 #include <ieeefp.h>
57740 #endif
57743 main ()
57745 isinff(0);
57747 return 0;
57749 _ACEOF
57750 if ac_fn_cxx_try_compile "$LINENO"; then :
57751 glibcxx_cv_func_isinff_use=yes
57752 else
57753 glibcxx_cv_func_isinff_use=no
57755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57756 ac_ext=c
57757 ac_cpp='$CPP $CPPFLAGS'
57758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
57767 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
57769 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
57770 for ac_func in isinff
57771 do :
57772 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
57773 if test "x$ac_cv_func_isinff" = xyes; then :
57774 cat >>confdefs.h <<_ACEOF
57775 #define HAVE_ISINFF 1
57776 _ACEOF
57779 done
57781 else
57783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
57784 $as_echo_n "checking for _isinff declaration... " >&6; }
57785 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
57786 if ${glibcxx_cv_func__isinff_use+:} false; then :
57787 $as_echo_n "(cached) " >&6
57788 else
57791 ac_ext=cpp
57792 ac_cpp='$CXXCPP $CPPFLAGS'
57793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57798 /* end confdefs.h. */
57799 #include <math.h>
57800 #ifdef HAVE_IEEEFP_H
57801 #include <ieeefp.h>
57802 #endif
57805 main ()
57807 _isinff(0);
57809 return 0;
57811 _ACEOF
57812 if ac_fn_cxx_try_compile "$LINENO"; then :
57813 glibcxx_cv_func__isinff_use=yes
57814 else
57815 glibcxx_cv_func__isinff_use=no
57817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57818 ac_ext=c
57819 ac_cpp='$CPP $CPPFLAGS'
57820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
57829 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
57831 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
57832 for ac_func in _isinff
57833 do :
57834 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
57835 if test "x$ac_cv_func__isinff" = xyes; then :
57836 cat >>confdefs.h <<_ACEOF
57837 #define HAVE__ISINFF 1
57838 _ACEOF
57841 done
57850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
57851 $as_echo_n "checking for atan2f declaration... " >&6; }
57852 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
57853 if ${glibcxx_cv_func_atan2f_use+:} false; then :
57854 $as_echo_n "(cached) " >&6
57855 else
57858 ac_ext=cpp
57859 ac_cpp='$CXXCPP $CPPFLAGS'
57860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57865 /* end confdefs.h. */
57866 #include <math.h>
57868 main ()
57870 atan2f(0, 0);
57872 return 0;
57874 _ACEOF
57875 if ac_fn_cxx_try_compile "$LINENO"; then :
57876 glibcxx_cv_func_atan2f_use=yes
57877 else
57878 glibcxx_cv_func_atan2f_use=no
57880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57881 ac_ext=c
57882 ac_cpp='$CPP $CPPFLAGS'
57883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
57892 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
57894 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
57895 for ac_func in atan2f
57896 do :
57897 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
57898 if test "x$ac_cv_func_atan2f" = xyes; then :
57899 cat >>confdefs.h <<_ACEOF
57900 #define HAVE_ATAN2F 1
57901 _ACEOF
57904 done
57906 else
57908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
57909 $as_echo_n "checking for _atan2f declaration... " >&6; }
57910 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
57911 if ${glibcxx_cv_func__atan2f_use+:} false; then :
57912 $as_echo_n "(cached) " >&6
57913 else
57916 ac_ext=cpp
57917 ac_cpp='$CXXCPP $CPPFLAGS'
57918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57923 /* end confdefs.h. */
57924 #include <math.h>
57926 main ()
57928 _atan2f(0, 0);
57930 return 0;
57932 _ACEOF
57933 if ac_fn_cxx_try_compile "$LINENO"; then :
57934 glibcxx_cv_func__atan2f_use=yes
57935 else
57936 glibcxx_cv_func__atan2f_use=no
57938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57939 ac_ext=c
57940 ac_cpp='$CPP $CPPFLAGS'
57941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
57950 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
57952 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
57953 for ac_func in _atan2f
57954 do :
57955 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
57956 if test "x$ac_cv_func__atan2f" = xyes; then :
57957 cat >>confdefs.h <<_ACEOF
57958 #define HAVE__ATAN2F 1
57959 _ACEOF
57962 done
57971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
57972 $as_echo_n "checking for fabsf declaration... " >&6; }
57973 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
57974 if ${glibcxx_cv_func_fabsf_use+:} false; then :
57975 $as_echo_n "(cached) " >&6
57976 else
57979 ac_ext=cpp
57980 ac_cpp='$CXXCPP $CPPFLAGS'
57981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57986 /* end confdefs.h. */
57987 #include <math.h>
57988 #ifdef HAVE_IEEEFP_H
57989 #include <ieeefp.h>
57990 #endif
57993 main ()
57995 fabsf(0);
57997 return 0;
57999 _ACEOF
58000 if ac_fn_cxx_try_compile "$LINENO"; then :
58001 glibcxx_cv_func_fabsf_use=yes
58002 else
58003 glibcxx_cv_func_fabsf_use=no
58005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58006 ac_ext=c
58007 ac_cpp='$CPP $CPPFLAGS'
58008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
58017 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
58019 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
58020 for ac_func in fabsf
58021 do :
58022 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
58023 if test "x$ac_cv_func_fabsf" = xyes; then :
58024 cat >>confdefs.h <<_ACEOF
58025 #define HAVE_FABSF 1
58026 _ACEOF
58029 done
58031 else
58033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
58034 $as_echo_n "checking for _fabsf declaration... " >&6; }
58035 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
58036 if ${glibcxx_cv_func__fabsf_use+:} false; then :
58037 $as_echo_n "(cached) " >&6
58038 else
58041 ac_ext=cpp
58042 ac_cpp='$CXXCPP $CPPFLAGS'
58043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58048 /* end confdefs.h. */
58049 #include <math.h>
58050 #ifdef HAVE_IEEEFP_H
58051 #include <ieeefp.h>
58052 #endif
58055 main ()
58057 _fabsf(0);
58059 return 0;
58061 _ACEOF
58062 if ac_fn_cxx_try_compile "$LINENO"; then :
58063 glibcxx_cv_func__fabsf_use=yes
58064 else
58065 glibcxx_cv_func__fabsf_use=no
58067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58068 ac_ext=c
58069 ac_cpp='$CPP $CPPFLAGS'
58070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
58079 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
58081 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
58082 for ac_func in _fabsf
58083 do :
58084 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
58085 if test "x$ac_cv_func__fabsf" = xyes; then :
58086 cat >>confdefs.h <<_ACEOF
58087 #define HAVE__FABSF 1
58088 _ACEOF
58091 done
58100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
58101 $as_echo_n "checking for fmodf declaration... " >&6; }
58102 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
58103 if ${glibcxx_cv_func_fmodf_use+:} false; then :
58104 $as_echo_n "(cached) " >&6
58105 else
58108 ac_ext=cpp
58109 ac_cpp='$CXXCPP $CPPFLAGS'
58110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58115 /* end confdefs.h. */
58116 #include <math.h>
58118 main ()
58120 fmodf(0, 0);
58122 return 0;
58124 _ACEOF
58125 if ac_fn_cxx_try_compile "$LINENO"; then :
58126 glibcxx_cv_func_fmodf_use=yes
58127 else
58128 glibcxx_cv_func_fmodf_use=no
58130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58131 ac_ext=c
58132 ac_cpp='$CPP $CPPFLAGS'
58133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
58142 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
58144 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
58145 for ac_func in fmodf
58146 do :
58147 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
58148 if test "x$ac_cv_func_fmodf" = xyes; then :
58149 cat >>confdefs.h <<_ACEOF
58150 #define HAVE_FMODF 1
58151 _ACEOF
58154 done
58156 else
58158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
58159 $as_echo_n "checking for _fmodf declaration... " >&6; }
58160 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
58161 if ${glibcxx_cv_func__fmodf_use+:} false; then :
58162 $as_echo_n "(cached) " >&6
58163 else
58166 ac_ext=cpp
58167 ac_cpp='$CXXCPP $CPPFLAGS'
58168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58173 /* end confdefs.h. */
58174 #include <math.h>
58176 main ()
58178 _fmodf(0, 0);
58180 return 0;
58182 _ACEOF
58183 if ac_fn_cxx_try_compile "$LINENO"; then :
58184 glibcxx_cv_func__fmodf_use=yes
58185 else
58186 glibcxx_cv_func__fmodf_use=no
58188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58189 ac_ext=c
58190 ac_cpp='$CPP $CPPFLAGS'
58191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
58200 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
58202 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
58203 for ac_func in _fmodf
58204 do :
58205 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
58206 if test "x$ac_cv_func__fmodf" = xyes; then :
58207 cat >>confdefs.h <<_ACEOF
58208 #define HAVE__FMODF 1
58209 _ACEOF
58212 done
58221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
58222 $as_echo_n "checking for frexpf declaration... " >&6; }
58223 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
58224 if ${glibcxx_cv_func_frexpf_use+:} false; then :
58225 $as_echo_n "(cached) " >&6
58226 else
58229 ac_ext=cpp
58230 ac_cpp='$CXXCPP $CPPFLAGS'
58231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58236 /* end confdefs.h. */
58237 #include <math.h>
58239 main ()
58241 frexpf(0, 0);
58243 return 0;
58245 _ACEOF
58246 if ac_fn_cxx_try_compile "$LINENO"; then :
58247 glibcxx_cv_func_frexpf_use=yes
58248 else
58249 glibcxx_cv_func_frexpf_use=no
58251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58252 ac_ext=c
58253 ac_cpp='$CPP $CPPFLAGS'
58254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
58263 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
58265 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
58266 for ac_func in frexpf
58267 do :
58268 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
58269 if test "x$ac_cv_func_frexpf" = xyes; then :
58270 cat >>confdefs.h <<_ACEOF
58271 #define HAVE_FREXPF 1
58272 _ACEOF
58275 done
58277 else
58279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
58280 $as_echo_n "checking for _frexpf declaration... " >&6; }
58281 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
58282 if ${glibcxx_cv_func__frexpf_use+:} false; then :
58283 $as_echo_n "(cached) " >&6
58284 else
58287 ac_ext=cpp
58288 ac_cpp='$CXXCPP $CPPFLAGS'
58289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58294 /* end confdefs.h. */
58295 #include <math.h>
58297 main ()
58299 _frexpf(0, 0);
58301 return 0;
58303 _ACEOF
58304 if ac_fn_cxx_try_compile "$LINENO"; then :
58305 glibcxx_cv_func__frexpf_use=yes
58306 else
58307 glibcxx_cv_func__frexpf_use=no
58309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58310 ac_ext=c
58311 ac_cpp='$CPP $CPPFLAGS'
58312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
58321 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
58323 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
58324 for ac_func in _frexpf
58325 do :
58326 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
58327 if test "x$ac_cv_func__frexpf" = xyes; then :
58328 cat >>confdefs.h <<_ACEOF
58329 #define HAVE__FREXPF 1
58330 _ACEOF
58333 done
58342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
58343 $as_echo_n "checking for hypotf declaration... " >&6; }
58344 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
58345 if ${glibcxx_cv_func_hypotf_use+:} false; then :
58346 $as_echo_n "(cached) " >&6
58347 else
58350 ac_ext=cpp
58351 ac_cpp='$CXXCPP $CPPFLAGS'
58352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58357 /* end confdefs.h. */
58358 #include <math.h>
58360 main ()
58362 hypotf(0, 0);
58364 return 0;
58366 _ACEOF
58367 if ac_fn_cxx_try_compile "$LINENO"; then :
58368 glibcxx_cv_func_hypotf_use=yes
58369 else
58370 glibcxx_cv_func_hypotf_use=no
58372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58373 ac_ext=c
58374 ac_cpp='$CPP $CPPFLAGS'
58375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
58384 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
58386 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
58387 for ac_func in hypotf
58388 do :
58389 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
58390 if test "x$ac_cv_func_hypotf" = xyes; then :
58391 cat >>confdefs.h <<_ACEOF
58392 #define HAVE_HYPOTF 1
58393 _ACEOF
58396 done
58398 else
58400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
58401 $as_echo_n "checking for _hypotf declaration... " >&6; }
58402 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
58403 if ${glibcxx_cv_func__hypotf_use+:} false; then :
58404 $as_echo_n "(cached) " >&6
58405 else
58408 ac_ext=cpp
58409 ac_cpp='$CXXCPP $CPPFLAGS'
58410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58415 /* end confdefs.h. */
58416 #include <math.h>
58418 main ()
58420 _hypotf(0, 0);
58422 return 0;
58424 _ACEOF
58425 if ac_fn_cxx_try_compile "$LINENO"; then :
58426 glibcxx_cv_func__hypotf_use=yes
58427 else
58428 glibcxx_cv_func__hypotf_use=no
58430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58431 ac_ext=c
58432 ac_cpp='$CPP $CPPFLAGS'
58433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
58442 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
58444 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
58445 for ac_func in _hypotf
58446 do :
58447 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
58448 if test "x$ac_cv_func__hypotf" = xyes; then :
58449 cat >>confdefs.h <<_ACEOF
58450 #define HAVE__HYPOTF 1
58451 _ACEOF
58454 done
58463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
58464 $as_echo_n "checking for ldexpf declaration... " >&6; }
58465 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
58466 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
58467 $as_echo_n "(cached) " >&6
58468 else
58471 ac_ext=cpp
58472 ac_cpp='$CXXCPP $CPPFLAGS'
58473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58478 /* end confdefs.h. */
58479 #include <math.h>
58481 main ()
58483 ldexpf(0, 0);
58485 return 0;
58487 _ACEOF
58488 if ac_fn_cxx_try_compile "$LINENO"; then :
58489 glibcxx_cv_func_ldexpf_use=yes
58490 else
58491 glibcxx_cv_func_ldexpf_use=no
58493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58494 ac_ext=c
58495 ac_cpp='$CPP $CPPFLAGS'
58496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
58505 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
58507 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
58508 for ac_func in ldexpf
58509 do :
58510 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
58511 if test "x$ac_cv_func_ldexpf" = xyes; then :
58512 cat >>confdefs.h <<_ACEOF
58513 #define HAVE_LDEXPF 1
58514 _ACEOF
58517 done
58519 else
58521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
58522 $as_echo_n "checking for _ldexpf declaration... " >&6; }
58523 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
58524 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
58525 $as_echo_n "(cached) " >&6
58526 else
58529 ac_ext=cpp
58530 ac_cpp='$CXXCPP $CPPFLAGS'
58531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58536 /* end confdefs.h. */
58537 #include <math.h>
58539 main ()
58541 _ldexpf(0, 0);
58543 return 0;
58545 _ACEOF
58546 if ac_fn_cxx_try_compile "$LINENO"; then :
58547 glibcxx_cv_func__ldexpf_use=yes
58548 else
58549 glibcxx_cv_func__ldexpf_use=no
58551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58552 ac_ext=c
58553 ac_cpp='$CPP $CPPFLAGS'
58554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
58563 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
58565 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
58566 for ac_func in _ldexpf
58567 do :
58568 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
58569 if test "x$ac_cv_func__ldexpf" = xyes; then :
58570 cat >>confdefs.h <<_ACEOF
58571 #define HAVE__LDEXPF 1
58572 _ACEOF
58575 done
58584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
58585 $as_echo_n "checking for logf declaration... " >&6; }
58586 if test x${glibcxx_cv_func_logf_use+set} != xset; then
58587 if ${glibcxx_cv_func_logf_use+:} false; then :
58588 $as_echo_n "(cached) " >&6
58589 else
58592 ac_ext=cpp
58593 ac_cpp='$CXXCPP $CPPFLAGS'
58594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58599 /* end confdefs.h. */
58600 #include <math.h>
58601 #ifdef HAVE_IEEEFP_H
58602 #include <ieeefp.h>
58603 #endif
58606 main ()
58608 logf(0);
58610 return 0;
58612 _ACEOF
58613 if ac_fn_cxx_try_compile "$LINENO"; then :
58614 glibcxx_cv_func_logf_use=yes
58615 else
58616 glibcxx_cv_func_logf_use=no
58618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58619 ac_ext=c
58620 ac_cpp='$CPP $CPPFLAGS'
58621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
58630 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
58632 if test x$glibcxx_cv_func_logf_use = x"yes"; then
58633 for ac_func in logf
58634 do :
58635 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
58636 if test "x$ac_cv_func_logf" = xyes; then :
58637 cat >>confdefs.h <<_ACEOF
58638 #define HAVE_LOGF 1
58639 _ACEOF
58642 done
58644 else
58646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
58647 $as_echo_n "checking for _logf declaration... " >&6; }
58648 if test x${glibcxx_cv_func__logf_use+set} != xset; then
58649 if ${glibcxx_cv_func__logf_use+:} false; then :
58650 $as_echo_n "(cached) " >&6
58651 else
58654 ac_ext=cpp
58655 ac_cpp='$CXXCPP $CPPFLAGS'
58656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58661 /* end confdefs.h. */
58662 #include <math.h>
58663 #ifdef HAVE_IEEEFP_H
58664 #include <ieeefp.h>
58665 #endif
58668 main ()
58670 _logf(0);
58672 return 0;
58674 _ACEOF
58675 if ac_fn_cxx_try_compile "$LINENO"; then :
58676 glibcxx_cv_func__logf_use=yes
58677 else
58678 glibcxx_cv_func__logf_use=no
58680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58681 ac_ext=c
58682 ac_cpp='$CPP $CPPFLAGS'
58683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
58692 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
58694 if test x$glibcxx_cv_func__logf_use = x"yes"; then
58695 for ac_func in _logf
58696 do :
58697 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
58698 if test "x$ac_cv_func__logf" = xyes; then :
58699 cat >>confdefs.h <<_ACEOF
58700 #define HAVE__LOGF 1
58701 _ACEOF
58704 done
58713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
58714 $as_echo_n "checking for log10f declaration... " >&6; }
58715 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
58716 if ${glibcxx_cv_func_log10f_use+:} false; then :
58717 $as_echo_n "(cached) " >&6
58718 else
58721 ac_ext=cpp
58722 ac_cpp='$CXXCPP $CPPFLAGS'
58723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58728 /* end confdefs.h. */
58729 #include <math.h>
58730 #ifdef HAVE_IEEEFP_H
58731 #include <ieeefp.h>
58732 #endif
58735 main ()
58737 log10f(0);
58739 return 0;
58741 _ACEOF
58742 if ac_fn_cxx_try_compile "$LINENO"; then :
58743 glibcxx_cv_func_log10f_use=yes
58744 else
58745 glibcxx_cv_func_log10f_use=no
58747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58748 ac_ext=c
58749 ac_cpp='$CPP $CPPFLAGS'
58750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
58759 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
58761 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
58762 for ac_func in log10f
58763 do :
58764 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
58765 if test "x$ac_cv_func_log10f" = xyes; then :
58766 cat >>confdefs.h <<_ACEOF
58767 #define HAVE_LOG10F 1
58768 _ACEOF
58771 done
58773 else
58775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
58776 $as_echo_n "checking for _log10f declaration... " >&6; }
58777 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
58778 if ${glibcxx_cv_func__log10f_use+:} false; then :
58779 $as_echo_n "(cached) " >&6
58780 else
58783 ac_ext=cpp
58784 ac_cpp='$CXXCPP $CPPFLAGS'
58785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58790 /* end confdefs.h. */
58791 #include <math.h>
58792 #ifdef HAVE_IEEEFP_H
58793 #include <ieeefp.h>
58794 #endif
58797 main ()
58799 _log10f(0);
58801 return 0;
58803 _ACEOF
58804 if ac_fn_cxx_try_compile "$LINENO"; then :
58805 glibcxx_cv_func__log10f_use=yes
58806 else
58807 glibcxx_cv_func__log10f_use=no
58809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58810 ac_ext=c
58811 ac_cpp='$CPP $CPPFLAGS'
58812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
58821 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
58823 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
58824 for ac_func in _log10f
58825 do :
58826 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
58827 if test "x$ac_cv_func__log10f" = xyes; then :
58828 cat >>confdefs.h <<_ACEOF
58829 #define HAVE__LOG10F 1
58830 _ACEOF
58833 done
58842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
58843 $as_echo_n "checking for modff declaration... " >&6; }
58844 if test x${glibcxx_cv_func_modff_use+set} != xset; then
58845 if ${glibcxx_cv_func_modff_use+:} false; then :
58846 $as_echo_n "(cached) " >&6
58847 else
58850 ac_ext=cpp
58851 ac_cpp='$CXXCPP $CPPFLAGS'
58852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58857 /* end confdefs.h. */
58858 #include <math.h>
58860 main ()
58862 modff(0, 0);
58864 return 0;
58866 _ACEOF
58867 if ac_fn_cxx_try_compile "$LINENO"; then :
58868 glibcxx_cv_func_modff_use=yes
58869 else
58870 glibcxx_cv_func_modff_use=no
58872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58873 ac_ext=c
58874 ac_cpp='$CPP $CPPFLAGS'
58875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
58884 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
58886 if test x$glibcxx_cv_func_modff_use = x"yes"; then
58887 for ac_func in modff
58888 do :
58889 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
58890 if test "x$ac_cv_func_modff" = xyes; then :
58891 cat >>confdefs.h <<_ACEOF
58892 #define HAVE_MODFF 1
58893 _ACEOF
58896 done
58898 else
58900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
58901 $as_echo_n "checking for _modff declaration... " >&6; }
58902 if test x${glibcxx_cv_func__modff_use+set} != xset; then
58903 if ${glibcxx_cv_func__modff_use+:} false; then :
58904 $as_echo_n "(cached) " >&6
58905 else
58908 ac_ext=cpp
58909 ac_cpp='$CXXCPP $CPPFLAGS'
58910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58915 /* end confdefs.h. */
58916 #include <math.h>
58918 main ()
58920 _modff(0, 0);
58922 return 0;
58924 _ACEOF
58925 if ac_fn_cxx_try_compile "$LINENO"; then :
58926 glibcxx_cv_func__modff_use=yes
58927 else
58928 glibcxx_cv_func__modff_use=no
58930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58931 ac_ext=c
58932 ac_cpp='$CPP $CPPFLAGS'
58933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
58942 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
58944 if test x$glibcxx_cv_func__modff_use = x"yes"; then
58945 for ac_func in _modff
58946 do :
58947 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
58948 if test "x$ac_cv_func__modff" = xyes; then :
58949 cat >>confdefs.h <<_ACEOF
58950 #define HAVE__MODFF 1
58951 _ACEOF
58954 done
58963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
58964 $as_echo_n "checking for modf declaration... " >&6; }
58965 if test x${glibcxx_cv_func_modf_use+set} != xset; then
58966 if ${glibcxx_cv_func_modf_use+:} false; then :
58967 $as_echo_n "(cached) " >&6
58968 else
58971 ac_ext=cpp
58972 ac_cpp='$CXXCPP $CPPFLAGS'
58973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58978 /* end confdefs.h. */
58979 #include <math.h>
58981 main ()
58983 modf(0, 0);
58985 return 0;
58987 _ACEOF
58988 if ac_fn_cxx_try_compile "$LINENO"; then :
58989 glibcxx_cv_func_modf_use=yes
58990 else
58991 glibcxx_cv_func_modf_use=no
58993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58994 ac_ext=c
58995 ac_cpp='$CPP $CPPFLAGS'
58996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
59005 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
59007 if test x$glibcxx_cv_func_modf_use = x"yes"; then
59008 for ac_func in modf
59009 do :
59010 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
59011 if test "x$ac_cv_func_modf" = xyes; then :
59012 cat >>confdefs.h <<_ACEOF
59013 #define HAVE_MODF 1
59014 _ACEOF
59017 done
59019 else
59021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
59022 $as_echo_n "checking for _modf declaration... " >&6; }
59023 if test x${glibcxx_cv_func__modf_use+set} != xset; then
59024 if ${glibcxx_cv_func__modf_use+:} false; then :
59025 $as_echo_n "(cached) " >&6
59026 else
59029 ac_ext=cpp
59030 ac_cpp='$CXXCPP $CPPFLAGS'
59031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59036 /* end confdefs.h. */
59037 #include <math.h>
59039 main ()
59041 _modf(0, 0);
59043 return 0;
59045 _ACEOF
59046 if ac_fn_cxx_try_compile "$LINENO"; then :
59047 glibcxx_cv_func__modf_use=yes
59048 else
59049 glibcxx_cv_func__modf_use=no
59051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59052 ac_ext=c
59053 ac_cpp='$CPP $CPPFLAGS'
59054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
59063 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
59065 if test x$glibcxx_cv_func__modf_use = x"yes"; then
59066 for ac_func in _modf
59067 do :
59068 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
59069 if test "x$ac_cv_func__modf" = xyes; then :
59070 cat >>confdefs.h <<_ACEOF
59071 #define HAVE__MODF 1
59072 _ACEOF
59075 done
59084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
59085 $as_echo_n "checking for powf declaration... " >&6; }
59086 if test x${glibcxx_cv_func_powf_use+set} != xset; then
59087 if ${glibcxx_cv_func_powf_use+:} false; then :
59088 $as_echo_n "(cached) " >&6
59089 else
59092 ac_ext=cpp
59093 ac_cpp='$CXXCPP $CPPFLAGS'
59094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59099 /* end confdefs.h. */
59100 #include <math.h>
59102 main ()
59104 powf(0, 0);
59106 return 0;
59108 _ACEOF
59109 if ac_fn_cxx_try_compile "$LINENO"; then :
59110 glibcxx_cv_func_powf_use=yes
59111 else
59112 glibcxx_cv_func_powf_use=no
59114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59115 ac_ext=c
59116 ac_cpp='$CPP $CPPFLAGS'
59117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
59126 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
59128 if test x$glibcxx_cv_func_powf_use = x"yes"; then
59129 for ac_func in powf
59130 do :
59131 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
59132 if test "x$ac_cv_func_powf" = xyes; then :
59133 cat >>confdefs.h <<_ACEOF
59134 #define HAVE_POWF 1
59135 _ACEOF
59138 done
59140 else
59142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
59143 $as_echo_n "checking for _powf declaration... " >&6; }
59144 if test x${glibcxx_cv_func__powf_use+set} != xset; then
59145 if ${glibcxx_cv_func__powf_use+:} false; then :
59146 $as_echo_n "(cached) " >&6
59147 else
59150 ac_ext=cpp
59151 ac_cpp='$CXXCPP $CPPFLAGS'
59152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59157 /* end confdefs.h. */
59158 #include <math.h>
59160 main ()
59162 _powf(0, 0);
59164 return 0;
59166 _ACEOF
59167 if ac_fn_cxx_try_compile "$LINENO"; then :
59168 glibcxx_cv_func__powf_use=yes
59169 else
59170 glibcxx_cv_func__powf_use=no
59172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59173 ac_ext=c
59174 ac_cpp='$CPP $CPPFLAGS'
59175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
59184 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
59186 if test x$glibcxx_cv_func__powf_use = x"yes"; then
59187 for ac_func in _powf
59188 do :
59189 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
59190 if test "x$ac_cv_func__powf" = xyes; then :
59191 cat >>confdefs.h <<_ACEOF
59192 #define HAVE__POWF 1
59193 _ACEOF
59196 done
59205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
59206 $as_echo_n "checking for sqrtf declaration... " >&6; }
59207 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
59208 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
59209 $as_echo_n "(cached) " >&6
59210 else
59213 ac_ext=cpp
59214 ac_cpp='$CXXCPP $CPPFLAGS'
59215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59220 /* end confdefs.h. */
59221 #include <math.h>
59222 #ifdef HAVE_IEEEFP_H
59223 #include <ieeefp.h>
59224 #endif
59227 main ()
59229 sqrtf(0);
59231 return 0;
59233 _ACEOF
59234 if ac_fn_cxx_try_compile "$LINENO"; then :
59235 glibcxx_cv_func_sqrtf_use=yes
59236 else
59237 glibcxx_cv_func_sqrtf_use=no
59239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59240 ac_ext=c
59241 ac_cpp='$CPP $CPPFLAGS'
59242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
59251 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
59253 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
59254 for ac_func in sqrtf
59255 do :
59256 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
59257 if test "x$ac_cv_func_sqrtf" = xyes; then :
59258 cat >>confdefs.h <<_ACEOF
59259 #define HAVE_SQRTF 1
59260 _ACEOF
59263 done
59265 else
59267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
59268 $as_echo_n "checking for _sqrtf declaration... " >&6; }
59269 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
59270 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
59271 $as_echo_n "(cached) " >&6
59272 else
59275 ac_ext=cpp
59276 ac_cpp='$CXXCPP $CPPFLAGS'
59277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59282 /* end confdefs.h. */
59283 #include <math.h>
59284 #ifdef HAVE_IEEEFP_H
59285 #include <ieeefp.h>
59286 #endif
59289 main ()
59291 _sqrtf(0);
59293 return 0;
59295 _ACEOF
59296 if ac_fn_cxx_try_compile "$LINENO"; then :
59297 glibcxx_cv_func__sqrtf_use=yes
59298 else
59299 glibcxx_cv_func__sqrtf_use=no
59301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59302 ac_ext=c
59303 ac_cpp='$CPP $CPPFLAGS'
59304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
59313 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
59315 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
59316 for ac_func in _sqrtf
59317 do :
59318 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
59319 if test "x$ac_cv_func__sqrtf" = xyes; then :
59320 cat >>confdefs.h <<_ACEOF
59321 #define HAVE__SQRTF 1
59322 _ACEOF
59325 done
59334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
59335 $as_echo_n "checking for sincosf declaration... " >&6; }
59336 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
59337 if ${glibcxx_cv_func_sincosf_use+:} false; then :
59338 $as_echo_n "(cached) " >&6
59339 else
59342 ac_ext=cpp
59343 ac_cpp='$CXXCPP $CPPFLAGS'
59344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59349 /* end confdefs.h. */
59350 #include <math.h>
59352 main ()
59354 sincosf(0, 0, 0);
59356 return 0;
59358 _ACEOF
59359 if ac_fn_cxx_try_compile "$LINENO"; then :
59360 glibcxx_cv_func_sincosf_use=yes
59361 else
59362 glibcxx_cv_func_sincosf_use=no
59364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59365 ac_ext=c
59366 ac_cpp='$CPP $CPPFLAGS'
59367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
59376 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
59378 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
59379 for ac_func in sincosf
59380 do :
59381 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
59382 if test "x$ac_cv_func_sincosf" = xyes; then :
59383 cat >>confdefs.h <<_ACEOF
59384 #define HAVE_SINCOSF 1
59385 _ACEOF
59388 done
59390 else
59392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
59393 $as_echo_n "checking for _sincosf declaration... " >&6; }
59394 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
59395 if ${glibcxx_cv_func__sincosf_use+:} false; then :
59396 $as_echo_n "(cached) " >&6
59397 else
59400 ac_ext=cpp
59401 ac_cpp='$CXXCPP $CPPFLAGS'
59402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59407 /* end confdefs.h. */
59408 #include <math.h>
59410 main ()
59412 _sincosf(0, 0, 0);
59414 return 0;
59416 _ACEOF
59417 if ac_fn_cxx_try_compile "$LINENO"; then :
59418 glibcxx_cv_func__sincosf_use=yes
59419 else
59420 glibcxx_cv_func__sincosf_use=no
59422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59423 ac_ext=c
59424 ac_cpp='$CPP $CPPFLAGS'
59425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
59434 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
59436 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
59437 for ac_func in _sincosf
59438 do :
59439 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
59440 if test "x$ac_cv_func__sincosf" = xyes; then :
59441 cat >>confdefs.h <<_ACEOF
59442 #define HAVE__SINCOSF 1
59443 _ACEOF
59446 done
59455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
59456 $as_echo_n "checking for finitef declaration... " >&6; }
59457 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
59458 if ${glibcxx_cv_func_finitef_use+:} false; then :
59459 $as_echo_n "(cached) " >&6
59460 else
59463 ac_ext=cpp
59464 ac_cpp='$CXXCPP $CPPFLAGS'
59465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59470 /* end confdefs.h. */
59471 #include <math.h>
59472 #ifdef HAVE_IEEEFP_H
59473 #include <ieeefp.h>
59474 #endif
59477 main ()
59479 finitef(0);
59481 return 0;
59483 _ACEOF
59484 if ac_fn_cxx_try_compile "$LINENO"; then :
59485 glibcxx_cv_func_finitef_use=yes
59486 else
59487 glibcxx_cv_func_finitef_use=no
59489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59490 ac_ext=c
59491 ac_cpp='$CPP $CPPFLAGS'
59492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
59501 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
59503 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
59504 for ac_func in finitef
59505 do :
59506 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
59507 if test "x$ac_cv_func_finitef" = xyes; then :
59508 cat >>confdefs.h <<_ACEOF
59509 #define HAVE_FINITEF 1
59510 _ACEOF
59513 done
59515 else
59517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
59518 $as_echo_n "checking for _finitef declaration... " >&6; }
59519 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
59520 if ${glibcxx_cv_func__finitef_use+:} false; then :
59521 $as_echo_n "(cached) " >&6
59522 else
59525 ac_ext=cpp
59526 ac_cpp='$CXXCPP $CPPFLAGS'
59527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59532 /* end confdefs.h. */
59533 #include <math.h>
59534 #ifdef HAVE_IEEEFP_H
59535 #include <ieeefp.h>
59536 #endif
59539 main ()
59541 _finitef(0);
59543 return 0;
59545 _ACEOF
59546 if ac_fn_cxx_try_compile "$LINENO"; then :
59547 glibcxx_cv_func__finitef_use=yes
59548 else
59549 glibcxx_cv_func__finitef_use=no
59551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59552 ac_ext=c
59553 ac_cpp='$CPP $CPPFLAGS'
59554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
59563 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
59565 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
59566 for ac_func in _finitef
59567 do :
59568 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
59569 if test "x$ac_cv_func__finitef" = xyes; then :
59570 cat >>confdefs.h <<_ACEOF
59571 #define HAVE__FINITEF 1
59572 _ACEOF
59575 done
59584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
59585 $as_echo_n "checking for long double trig functions... " >&6; }
59586 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
59587 $as_echo_n "(cached) " >&6
59588 else
59591 ac_ext=cpp
59592 ac_cpp='$CXXCPP $CPPFLAGS'
59593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59598 /* end confdefs.h. */
59599 #include <math.h>
59601 main ()
59603 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
59605 return 0;
59607 _ACEOF
59608 if ac_fn_cxx_try_compile "$LINENO"; then :
59609 glibcxx_cv_func_long_double_trig_use=yes
59610 else
59611 glibcxx_cv_func_long_double_trig_use=no
59613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59614 ac_ext=c
59615 ac_cpp='$CPP $CPPFLAGS'
59616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
59623 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
59624 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
59625 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
59626 do :
59627 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59628 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59629 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
59630 cat >>confdefs.h <<_ACEOF
59631 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59632 _ACEOF
59635 done
59637 else
59638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
59639 $as_echo_n "checking for _long double trig functions... " >&6; }
59640 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
59641 $as_echo_n "(cached) " >&6
59642 else
59645 ac_ext=cpp
59646 ac_cpp='$CXXCPP $CPPFLAGS'
59647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59652 /* end confdefs.h. */
59653 #include <math.h>
59655 main ()
59657 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
59659 return 0;
59661 _ACEOF
59662 if ac_fn_cxx_try_compile "$LINENO"; then :
59663 glibcxx_cv_func__long_double_trig_use=yes
59664 else
59665 glibcxx_cv_func__long_double_trig_use=no
59667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59668 ac_ext=c
59669 ac_cpp='$CPP $CPPFLAGS'
59670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
59677 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
59678 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
59679 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
59680 do :
59681 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59682 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59683 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
59684 cat >>confdefs.h <<_ACEOF
59685 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59686 _ACEOF
59689 done
59698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
59699 $as_echo_n "checking for long double round functions... " >&6; }
59700 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
59701 $as_echo_n "(cached) " >&6
59702 else
59705 ac_ext=cpp
59706 ac_cpp='$CXXCPP $CPPFLAGS'
59707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59712 /* end confdefs.h. */
59713 #include <math.h>
59715 main ()
59717 ceill (0); floorl (0);
59719 return 0;
59721 _ACEOF
59722 if ac_fn_cxx_try_compile "$LINENO"; then :
59723 glibcxx_cv_func_long_double_round_use=yes
59724 else
59725 glibcxx_cv_func_long_double_round_use=no
59727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59728 ac_ext=c
59729 ac_cpp='$CPP $CPPFLAGS'
59730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
59737 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
59738 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
59739 for ac_func in ceill floorl
59740 do :
59741 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59742 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59743 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
59744 cat >>confdefs.h <<_ACEOF
59745 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59746 _ACEOF
59749 done
59751 else
59752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
59753 $as_echo_n "checking for _long double round functions... " >&6; }
59754 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
59755 $as_echo_n "(cached) " >&6
59756 else
59759 ac_ext=cpp
59760 ac_cpp='$CXXCPP $CPPFLAGS'
59761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59766 /* end confdefs.h. */
59767 #include <math.h>
59769 main ()
59771 _ceill (0); _floorl (0);
59773 return 0;
59775 _ACEOF
59776 if ac_fn_cxx_try_compile "$LINENO"; then :
59777 glibcxx_cv_func__long_double_round_use=yes
59778 else
59779 glibcxx_cv_func__long_double_round_use=no
59781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59782 ac_ext=c
59783 ac_cpp='$CPP $CPPFLAGS'
59784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
59791 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
59792 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
59793 for ac_func in _ceill _floorl
59794 do :
59795 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59796 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59797 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
59798 cat >>confdefs.h <<_ACEOF
59799 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59800 _ACEOF
59803 done
59813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
59814 $as_echo_n "checking for isnanl declaration... " >&6; }
59815 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
59816 if ${glibcxx_cv_func_isnanl_use+:} false; then :
59817 $as_echo_n "(cached) " >&6
59818 else
59821 ac_ext=cpp
59822 ac_cpp='$CXXCPP $CPPFLAGS'
59823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59828 /* end confdefs.h. */
59829 #include <math.h>
59830 #ifdef HAVE_IEEEFP_H
59831 #include <ieeefp.h>
59832 #endif
59835 main ()
59837 isnanl(0);
59839 return 0;
59841 _ACEOF
59842 if ac_fn_cxx_try_compile "$LINENO"; then :
59843 glibcxx_cv_func_isnanl_use=yes
59844 else
59845 glibcxx_cv_func_isnanl_use=no
59847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59848 ac_ext=c
59849 ac_cpp='$CPP $CPPFLAGS'
59850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
59859 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
59861 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
59862 for ac_func in isnanl
59863 do :
59864 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
59865 if test "x$ac_cv_func_isnanl" = xyes; then :
59866 cat >>confdefs.h <<_ACEOF
59867 #define HAVE_ISNANL 1
59868 _ACEOF
59871 done
59873 else
59875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
59876 $as_echo_n "checking for _isnanl declaration... " >&6; }
59877 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
59878 if ${glibcxx_cv_func__isnanl_use+:} false; then :
59879 $as_echo_n "(cached) " >&6
59880 else
59883 ac_ext=cpp
59884 ac_cpp='$CXXCPP $CPPFLAGS'
59885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59890 /* end confdefs.h. */
59891 #include <math.h>
59892 #ifdef HAVE_IEEEFP_H
59893 #include <ieeefp.h>
59894 #endif
59897 main ()
59899 _isnanl(0);
59901 return 0;
59903 _ACEOF
59904 if ac_fn_cxx_try_compile "$LINENO"; then :
59905 glibcxx_cv_func__isnanl_use=yes
59906 else
59907 glibcxx_cv_func__isnanl_use=no
59909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59910 ac_ext=c
59911 ac_cpp='$CPP $CPPFLAGS'
59912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
59921 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
59923 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
59924 for ac_func in _isnanl
59925 do :
59926 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
59927 if test "x$ac_cv_func__isnanl" = xyes; then :
59928 cat >>confdefs.h <<_ACEOF
59929 #define HAVE__ISNANL 1
59930 _ACEOF
59933 done
59942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
59943 $as_echo_n "checking for isinfl declaration... " >&6; }
59944 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
59945 if ${glibcxx_cv_func_isinfl_use+:} false; then :
59946 $as_echo_n "(cached) " >&6
59947 else
59950 ac_ext=cpp
59951 ac_cpp='$CXXCPP $CPPFLAGS'
59952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59957 /* end confdefs.h. */
59958 #include <math.h>
59959 #ifdef HAVE_IEEEFP_H
59960 #include <ieeefp.h>
59961 #endif
59964 main ()
59966 isinfl(0);
59968 return 0;
59970 _ACEOF
59971 if ac_fn_cxx_try_compile "$LINENO"; then :
59972 glibcxx_cv_func_isinfl_use=yes
59973 else
59974 glibcxx_cv_func_isinfl_use=no
59976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59977 ac_ext=c
59978 ac_cpp='$CPP $CPPFLAGS'
59979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
59988 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
59990 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
59991 for ac_func in isinfl
59992 do :
59993 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
59994 if test "x$ac_cv_func_isinfl" = xyes; then :
59995 cat >>confdefs.h <<_ACEOF
59996 #define HAVE_ISINFL 1
59997 _ACEOF
60000 done
60002 else
60004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
60005 $as_echo_n "checking for _isinfl declaration... " >&6; }
60006 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
60007 if ${glibcxx_cv_func__isinfl_use+:} false; then :
60008 $as_echo_n "(cached) " >&6
60009 else
60012 ac_ext=cpp
60013 ac_cpp='$CXXCPP $CPPFLAGS'
60014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60019 /* end confdefs.h. */
60020 #include <math.h>
60021 #ifdef HAVE_IEEEFP_H
60022 #include <ieeefp.h>
60023 #endif
60026 main ()
60028 _isinfl(0);
60030 return 0;
60032 _ACEOF
60033 if ac_fn_cxx_try_compile "$LINENO"; then :
60034 glibcxx_cv_func__isinfl_use=yes
60035 else
60036 glibcxx_cv_func__isinfl_use=no
60038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60039 ac_ext=c
60040 ac_cpp='$CPP $CPPFLAGS'
60041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
60050 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
60052 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
60053 for ac_func in _isinfl
60054 do :
60055 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
60056 if test "x$ac_cv_func__isinfl" = xyes; then :
60057 cat >>confdefs.h <<_ACEOF
60058 #define HAVE__ISINFL 1
60059 _ACEOF
60062 done
60071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
60072 $as_echo_n "checking for atan2l declaration... " >&6; }
60073 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
60074 if ${glibcxx_cv_func_atan2l_use+:} false; then :
60075 $as_echo_n "(cached) " >&6
60076 else
60079 ac_ext=cpp
60080 ac_cpp='$CXXCPP $CPPFLAGS'
60081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60086 /* end confdefs.h. */
60087 #include <math.h>
60089 main ()
60091 atan2l(0, 0);
60093 return 0;
60095 _ACEOF
60096 if ac_fn_cxx_try_compile "$LINENO"; then :
60097 glibcxx_cv_func_atan2l_use=yes
60098 else
60099 glibcxx_cv_func_atan2l_use=no
60101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60102 ac_ext=c
60103 ac_cpp='$CPP $CPPFLAGS'
60104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
60113 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
60115 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
60116 for ac_func in atan2l
60117 do :
60118 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
60119 if test "x$ac_cv_func_atan2l" = xyes; then :
60120 cat >>confdefs.h <<_ACEOF
60121 #define HAVE_ATAN2L 1
60122 _ACEOF
60125 done
60127 else
60129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
60130 $as_echo_n "checking for _atan2l declaration... " >&6; }
60131 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
60132 if ${glibcxx_cv_func__atan2l_use+:} false; then :
60133 $as_echo_n "(cached) " >&6
60134 else
60137 ac_ext=cpp
60138 ac_cpp='$CXXCPP $CPPFLAGS'
60139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60144 /* end confdefs.h. */
60145 #include <math.h>
60147 main ()
60149 _atan2l(0, 0);
60151 return 0;
60153 _ACEOF
60154 if ac_fn_cxx_try_compile "$LINENO"; then :
60155 glibcxx_cv_func__atan2l_use=yes
60156 else
60157 glibcxx_cv_func__atan2l_use=no
60159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60160 ac_ext=c
60161 ac_cpp='$CPP $CPPFLAGS'
60162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
60171 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
60173 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
60174 for ac_func in _atan2l
60175 do :
60176 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
60177 if test "x$ac_cv_func__atan2l" = xyes; then :
60178 cat >>confdefs.h <<_ACEOF
60179 #define HAVE__ATAN2L 1
60180 _ACEOF
60183 done
60192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
60193 $as_echo_n "checking for expl declaration... " >&6; }
60194 if test x${glibcxx_cv_func_expl_use+set} != xset; then
60195 if ${glibcxx_cv_func_expl_use+:} false; then :
60196 $as_echo_n "(cached) " >&6
60197 else
60200 ac_ext=cpp
60201 ac_cpp='$CXXCPP $CPPFLAGS'
60202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60207 /* end confdefs.h. */
60208 #include <math.h>
60209 #ifdef HAVE_IEEEFP_H
60210 #include <ieeefp.h>
60211 #endif
60214 main ()
60216 expl(0);
60218 return 0;
60220 _ACEOF
60221 if ac_fn_cxx_try_compile "$LINENO"; then :
60222 glibcxx_cv_func_expl_use=yes
60223 else
60224 glibcxx_cv_func_expl_use=no
60226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60227 ac_ext=c
60228 ac_cpp='$CPP $CPPFLAGS'
60229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
60238 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
60240 if test x$glibcxx_cv_func_expl_use = x"yes"; then
60241 for ac_func in expl
60242 do :
60243 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
60244 if test "x$ac_cv_func_expl" = xyes; then :
60245 cat >>confdefs.h <<_ACEOF
60246 #define HAVE_EXPL 1
60247 _ACEOF
60250 done
60252 else
60254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
60255 $as_echo_n "checking for _expl declaration... " >&6; }
60256 if test x${glibcxx_cv_func__expl_use+set} != xset; then
60257 if ${glibcxx_cv_func__expl_use+:} false; then :
60258 $as_echo_n "(cached) " >&6
60259 else
60262 ac_ext=cpp
60263 ac_cpp='$CXXCPP $CPPFLAGS'
60264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60269 /* end confdefs.h. */
60270 #include <math.h>
60271 #ifdef HAVE_IEEEFP_H
60272 #include <ieeefp.h>
60273 #endif
60276 main ()
60278 _expl(0);
60280 return 0;
60282 _ACEOF
60283 if ac_fn_cxx_try_compile "$LINENO"; then :
60284 glibcxx_cv_func__expl_use=yes
60285 else
60286 glibcxx_cv_func__expl_use=no
60288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60289 ac_ext=c
60290 ac_cpp='$CPP $CPPFLAGS'
60291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
60300 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
60302 if test x$glibcxx_cv_func__expl_use = x"yes"; then
60303 for ac_func in _expl
60304 do :
60305 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
60306 if test "x$ac_cv_func__expl" = xyes; then :
60307 cat >>confdefs.h <<_ACEOF
60308 #define HAVE__EXPL 1
60309 _ACEOF
60312 done
60321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
60322 $as_echo_n "checking for fabsl declaration... " >&6; }
60323 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
60324 if ${glibcxx_cv_func_fabsl_use+:} false; then :
60325 $as_echo_n "(cached) " >&6
60326 else
60329 ac_ext=cpp
60330 ac_cpp='$CXXCPP $CPPFLAGS'
60331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60336 /* end confdefs.h. */
60337 #include <math.h>
60338 #ifdef HAVE_IEEEFP_H
60339 #include <ieeefp.h>
60340 #endif
60343 main ()
60345 fabsl(0);
60347 return 0;
60349 _ACEOF
60350 if ac_fn_cxx_try_compile "$LINENO"; then :
60351 glibcxx_cv_func_fabsl_use=yes
60352 else
60353 glibcxx_cv_func_fabsl_use=no
60355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60356 ac_ext=c
60357 ac_cpp='$CPP $CPPFLAGS'
60358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
60367 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
60369 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
60370 for ac_func in fabsl
60371 do :
60372 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
60373 if test "x$ac_cv_func_fabsl" = xyes; then :
60374 cat >>confdefs.h <<_ACEOF
60375 #define HAVE_FABSL 1
60376 _ACEOF
60379 done
60381 else
60383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
60384 $as_echo_n "checking for _fabsl declaration... " >&6; }
60385 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
60386 if ${glibcxx_cv_func__fabsl_use+:} false; then :
60387 $as_echo_n "(cached) " >&6
60388 else
60391 ac_ext=cpp
60392 ac_cpp='$CXXCPP $CPPFLAGS'
60393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60398 /* end confdefs.h. */
60399 #include <math.h>
60400 #ifdef HAVE_IEEEFP_H
60401 #include <ieeefp.h>
60402 #endif
60405 main ()
60407 _fabsl(0);
60409 return 0;
60411 _ACEOF
60412 if ac_fn_cxx_try_compile "$LINENO"; then :
60413 glibcxx_cv_func__fabsl_use=yes
60414 else
60415 glibcxx_cv_func__fabsl_use=no
60417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60418 ac_ext=c
60419 ac_cpp='$CPP $CPPFLAGS'
60420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
60429 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
60431 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
60432 for ac_func in _fabsl
60433 do :
60434 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
60435 if test "x$ac_cv_func__fabsl" = xyes; then :
60436 cat >>confdefs.h <<_ACEOF
60437 #define HAVE__FABSL 1
60438 _ACEOF
60441 done
60450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
60451 $as_echo_n "checking for fmodl declaration... " >&6; }
60452 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
60453 if ${glibcxx_cv_func_fmodl_use+:} false; then :
60454 $as_echo_n "(cached) " >&6
60455 else
60458 ac_ext=cpp
60459 ac_cpp='$CXXCPP $CPPFLAGS'
60460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60465 /* end confdefs.h. */
60466 #include <math.h>
60468 main ()
60470 fmodl(0, 0);
60472 return 0;
60474 _ACEOF
60475 if ac_fn_cxx_try_compile "$LINENO"; then :
60476 glibcxx_cv_func_fmodl_use=yes
60477 else
60478 glibcxx_cv_func_fmodl_use=no
60480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60481 ac_ext=c
60482 ac_cpp='$CPP $CPPFLAGS'
60483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
60492 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
60494 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
60495 for ac_func in fmodl
60496 do :
60497 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
60498 if test "x$ac_cv_func_fmodl" = xyes; then :
60499 cat >>confdefs.h <<_ACEOF
60500 #define HAVE_FMODL 1
60501 _ACEOF
60504 done
60506 else
60508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
60509 $as_echo_n "checking for _fmodl declaration... " >&6; }
60510 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
60511 if ${glibcxx_cv_func__fmodl_use+:} false; then :
60512 $as_echo_n "(cached) " >&6
60513 else
60516 ac_ext=cpp
60517 ac_cpp='$CXXCPP $CPPFLAGS'
60518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60523 /* end confdefs.h. */
60524 #include <math.h>
60526 main ()
60528 _fmodl(0, 0);
60530 return 0;
60532 _ACEOF
60533 if ac_fn_cxx_try_compile "$LINENO"; then :
60534 glibcxx_cv_func__fmodl_use=yes
60535 else
60536 glibcxx_cv_func__fmodl_use=no
60538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60539 ac_ext=c
60540 ac_cpp='$CPP $CPPFLAGS'
60541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
60550 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
60552 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
60553 for ac_func in _fmodl
60554 do :
60555 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
60556 if test "x$ac_cv_func__fmodl" = xyes; then :
60557 cat >>confdefs.h <<_ACEOF
60558 #define HAVE__FMODL 1
60559 _ACEOF
60562 done
60571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
60572 $as_echo_n "checking for frexpl declaration... " >&6; }
60573 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
60574 if ${glibcxx_cv_func_frexpl_use+:} false; then :
60575 $as_echo_n "(cached) " >&6
60576 else
60579 ac_ext=cpp
60580 ac_cpp='$CXXCPP $CPPFLAGS'
60581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60586 /* end confdefs.h. */
60587 #include <math.h>
60589 main ()
60591 frexpl(0, 0);
60593 return 0;
60595 _ACEOF
60596 if ac_fn_cxx_try_compile "$LINENO"; then :
60597 glibcxx_cv_func_frexpl_use=yes
60598 else
60599 glibcxx_cv_func_frexpl_use=no
60601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60602 ac_ext=c
60603 ac_cpp='$CPP $CPPFLAGS'
60604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
60613 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
60615 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
60616 for ac_func in frexpl
60617 do :
60618 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
60619 if test "x$ac_cv_func_frexpl" = xyes; then :
60620 cat >>confdefs.h <<_ACEOF
60621 #define HAVE_FREXPL 1
60622 _ACEOF
60625 done
60627 else
60629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
60630 $as_echo_n "checking for _frexpl declaration... " >&6; }
60631 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
60632 if ${glibcxx_cv_func__frexpl_use+:} false; then :
60633 $as_echo_n "(cached) " >&6
60634 else
60637 ac_ext=cpp
60638 ac_cpp='$CXXCPP $CPPFLAGS'
60639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60644 /* end confdefs.h. */
60645 #include <math.h>
60647 main ()
60649 _frexpl(0, 0);
60651 return 0;
60653 _ACEOF
60654 if ac_fn_cxx_try_compile "$LINENO"; then :
60655 glibcxx_cv_func__frexpl_use=yes
60656 else
60657 glibcxx_cv_func__frexpl_use=no
60659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60660 ac_ext=c
60661 ac_cpp='$CPP $CPPFLAGS'
60662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
60671 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
60673 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
60674 for ac_func in _frexpl
60675 do :
60676 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
60677 if test "x$ac_cv_func__frexpl" = xyes; then :
60678 cat >>confdefs.h <<_ACEOF
60679 #define HAVE__FREXPL 1
60680 _ACEOF
60683 done
60692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
60693 $as_echo_n "checking for hypotl declaration... " >&6; }
60694 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
60695 if ${glibcxx_cv_func_hypotl_use+:} false; then :
60696 $as_echo_n "(cached) " >&6
60697 else
60700 ac_ext=cpp
60701 ac_cpp='$CXXCPP $CPPFLAGS'
60702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60707 /* end confdefs.h. */
60708 #include <math.h>
60710 main ()
60712 hypotl(0, 0);
60714 return 0;
60716 _ACEOF
60717 if ac_fn_cxx_try_compile "$LINENO"; then :
60718 glibcxx_cv_func_hypotl_use=yes
60719 else
60720 glibcxx_cv_func_hypotl_use=no
60722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60723 ac_ext=c
60724 ac_cpp='$CPP $CPPFLAGS'
60725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
60734 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
60736 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
60737 for ac_func in hypotl
60738 do :
60739 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
60740 if test "x$ac_cv_func_hypotl" = xyes; then :
60741 cat >>confdefs.h <<_ACEOF
60742 #define HAVE_HYPOTL 1
60743 _ACEOF
60746 done
60748 else
60750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
60751 $as_echo_n "checking for _hypotl declaration... " >&6; }
60752 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
60753 if ${glibcxx_cv_func__hypotl_use+:} false; then :
60754 $as_echo_n "(cached) " >&6
60755 else
60758 ac_ext=cpp
60759 ac_cpp='$CXXCPP $CPPFLAGS'
60760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60765 /* end confdefs.h. */
60766 #include <math.h>
60768 main ()
60770 _hypotl(0, 0);
60772 return 0;
60774 _ACEOF
60775 if ac_fn_cxx_try_compile "$LINENO"; then :
60776 glibcxx_cv_func__hypotl_use=yes
60777 else
60778 glibcxx_cv_func__hypotl_use=no
60780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60781 ac_ext=c
60782 ac_cpp='$CPP $CPPFLAGS'
60783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
60792 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
60794 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
60795 for ac_func in _hypotl
60796 do :
60797 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
60798 if test "x$ac_cv_func__hypotl" = xyes; then :
60799 cat >>confdefs.h <<_ACEOF
60800 #define HAVE__HYPOTL 1
60801 _ACEOF
60804 done
60813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
60814 $as_echo_n "checking for ldexpl declaration... " >&6; }
60815 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
60816 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
60817 $as_echo_n "(cached) " >&6
60818 else
60821 ac_ext=cpp
60822 ac_cpp='$CXXCPP $CPPFLAGS'
60823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60828 /* end confdefs.h. */
60829 #include <math.h>
60831 main ()
60833 ldexpl(0, 0);
60835 return 0;
60837 _ACEOF
60838 if ac_fn_cxx_try_compile "$LINENO"; then :
60839 glibcxx_cv_func_ldexpl_use=yes
60840 else
60841 glibcxx_cv_func_ldexpl_use=no
60843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60844 ac_ext=c
60845 ac_cpp='$CPP $CPPFLAGS'
60846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
60855 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
60857 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
60858 for ac_func in ldexpl
60859 do :
60860 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
60861 if test "x$ac_cv_func_ldexpl" = xyes; then :
60862 cat >>confdefs.h <<_ACEOF
60863 #define HAVE_LDEXPL 1
60864 _ACEOF
60867 done
60869 else
60871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
60872 $as_echo_n "checking for _ldexpl declaration... " >&6; }
60873 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
60874 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
60875 $as_echo_n "(cached) " >&6
60876 else
60879 ac_ext=cpp
60880 ac_cpp='$CXXCPP $CPPFLAGS'
60881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60886 /* end confdefs.h. */
60887 #include <math.h>
60889 main ()
60891 _ldexpl(0, 0);
60893 return 0;
60895 _ACEOF
60896 if ac_fn_cxx_try_compile "$LINENO"; then :
60897 glibcxx_cv_func__ldexpl_use=yes
60898 else
60899 glibcxx_cv_func__ldexpl_use=no
60901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60902 ac_ext=c
60903 ac_cpp='$CPP $CPPFLAGS'
60904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
60913 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
60915 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
60916 for ac_func in _ldexpl
60917 do :
60918 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
60919 if test "x$ac_cv_func__ldexpl" = xyes; then :
60920 cat >>confdefs.h <<_ACEOF
60921 #define HAVE__LDEXPL 1
60922 _ACEOF
60925 done
60934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
60935 $as_echo_n "checking for logl declaration... " >&6; }
60936 if test x${glibcxx_cv_func_logl_use+set} != xset; then
60937 if ${glibcxx_cv_func_logl_use+:} false; then :
60938 $as_echo_n "(cached) " >&6
60939 else
60942 ac_ext=cpp
60943 ac_cpp='$CXXCPP $CPPFLAGS'
60944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60949 /* end confdefs.h. */
60950 #include <math.h>
60951 #ifdef HAVE_IEEEFP_H
60952 #include <ieeefp.h>
60953 #endif
60956 main ()
60958 logl(0);
60960 return 0;
60962 _ACEOF
60963 if ac_fn_cxx_try_compile "$LINENO"; then :
60964 glibcxx_cv_func_logl_use=yes
60965 else
60966 glibcxx_cv_func_logl_use=no
60968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60969 ac_ext=c
60970 ac_cpp='$CPP $CPPFLAGS'
60971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
60980 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
60982 if test x$glibcxx_cv_func_logl_use = x"yes"; then
60983 for ac_func in logl
60984 do :
60985 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
60986 if test "x$ac_cv_func_logl" = xyes; then :
60987 cat >>confdefs.h <<_ACEOF
60988 #define HAVE_LOGL 1
60989 _ACEOF
60992 done
60994 else
60996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
60997 $as_echo_n "checking for _logl declaration... " >&6; }
60998 if test x${glibcxx_cv_func__logl_use+set} != xset; then
60999 if ${glibcxx_cv_func__logl_use+:} false; then :
61000 $as_echo_n "(cached) " >&6
61001 else
61004 ac_ext=cpp
61005 ac_cpp='$CXXCPP $CPPFLAGS'
61006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61011 /* end confdefs.h. */
61012 #include <math.h>
61013 #ifdef HAVE_IEEEFP_H
61014 #include <ieeefp.h>
61015 #endif
61018 main ()
61020 _logl(0);
61022 return 0;
61024 _ACEOF
61025 if ac_fn_cxx_try_compile "$LINENO"; then :
61026 glibcxx_cv_func__logl_use=yes
61027 else
61028 glibcxx_cv_func__logl_use=no
61030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61031 ac_ext=c
61032 ac_cpp='$CPP $CPPFLAGS'
61033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
61042 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
61044 if test x$glibcxx_cv_func__logl_use = x"yes"; then
61045 for ac_func in _logl
61046 do :
61047 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
61048 if test "x$ac_cv_func__logl" = xyes; then :
61049 cat >>confdefs.h <<_ACEOF
61050 #define HAVE__LOGL 1
61051 _ACEOF
61054 done
61063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
61064 $as_echo_n "checking for log10l declaration... " >&6; }
61065 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
61066 if ${glibcxx_cv_func_log10l_use+:} false; then :
61067 $as_echo_n "(cached) " >&6
61068 else
61071 ac_ext=cpp
61072 ac_cpp='$CXXCPP $CPPFLAGS'
61073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61078 /* end confdefs.h. */
61079 #include <math.h>
61080 #ifdef HAVE_IEEEFP_H
61081 #include <ieeefp.h>
61082 #endif
61085 main ()
61087 log10l(0);
61089 return 0;
61091 _ACEOF
61092 if ac_fn_cxx_try_compile "$LINENO"; then :
61093 glibcxx_cv_func_log10l_use=yes
61094 else
61095 glibcxx_cv_func_log10l_use=no
61097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61098 ac_ext=c
61099 ac_cpp='$CPP $CPPFLAGS'
61100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
61109 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
61111 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
61112 for ac_func in log10l
61113 do :
61114 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
61115 if test "x$ac_cv_func_log10l" = xyes; then :
61116 cat >>confdefs.h <<_ACEOF
61117 #define HAVE_LOG10L 1
61118 _ACEOF
61121 done
61123 else
61125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
61126 $as_echo_n "checking for _log10l declaration... " >&6; }
61127 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
61128 if ${glibcxx_cv_func__log10l_use+:} false; then :
61129 $as_echo_n "(cached) " >&6
61130 else
61133 ac_ext=cpp
61134 ac_cpp='$CXXCPP $CPPFLAGS'
61135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61140 /* end confdefs.h. */
61141 #include <math.h>
61142 #ifdef HAVE_IEEEFP_H
61143 #include <ieeefp.h>
61144 #endif
61147 main ()
61149 _log10l(0);
61151 return 0;
61153 _ACEOF
61154 if ac_fn_cxx_try_compile "$LINENO"; then :
61155 glibcxx_cv_func__log10l_use=yes
61156 else
61157 glibcxx_cv_func__log10l_use=no
61159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61160 ac_ext=c
61161 ac_cpp='$CPP $CPPFLAGS'
61162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
61171 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
61173 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
61174 for ac_func in _log10l
61175 do :
61176 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
61177 if test "x$ac_cv_func__log10l" = xyes; then :
61178 cat >>confdefs.h <<_ACEOF
61179 #define HAVE__LOG10L 1
61180 _ACEOF
61183 done
61192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
61193 $as_echo_n "checking for modfl declaration... " >&6; }
61194 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
61195 if ${glibcxx_cv_func_modfl_use+:} false; then :
61196 $as_echo_n "(cached) " >&6
61197 else
61200 ac_ext=cpp
61201 ac_cpp='$CXXCPP $CPPFLAGS'
61202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61207 /* end confdefs.h. */
61208 #include <math.h>
61210 main ()
61212 modfl(0, 0);
61214 return 0;
61216 _ACEOF
61217 if ac_fn_cxx_try_compile "$LINENO"; then :
61218 glibcxx_cv_func_modfl_use=yes
61219 else
61220 glibcxx_cv_func_modfl_use=no
61222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61223 ac_ext=c
61224 ac_cpp='$CPP $CPPFLAGS'
61225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
61234 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
61236 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
61237 for ac_func in modfl
61238 do :
61239 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
61240 if test "x$ac_cv_func_modfl" = xyes; then :
61241 cat >>confdefs.h <<_ACEOF
61242 #define HAVE_MODFL 1
61243 _ACEOF
61246 done
61248 else
61250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
61251 $as_echo_n "checking for _modfl declaration... " >&6; }
61252 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
61253 if ${glibcxx_cv_func__modfl_use+:} false; then :
61254 $as_echo_n "(cached) " >&6
61255 else
61258 ac_ext=cpp
61259 ac_cpp='$CXXCPP $CPPFLAGS'
61260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61265 /* end confdefs.h. */
61266 #include <math.h>
61268 main ()
61270 _modfl(0, 0);
61272 return 0;
61274 _ACEOF
61275 if ac_fn_cxx_try_compile "$LINENO"; then :
61276 glibcxx_cv_func__modfl_use=yes
61277 else
61278 glibcxx_cv_func__modfl_use=no
61280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61281 ac_ext=c
61282 ac_cpp='$CPP $CPPFLAGS'
61283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
61292 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
61294 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
61295 for ac_func in _modfl
61296 do :
61297 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
61298 if test "x$ac_cv_func__modfl" = xyes; then :
61299 cat >>confdefs.h <<_ACEOF
61300 #define HAVE__MODFL 1
61301 _ACEOF
61304 done
61313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
61314 $as_echo_n "checking for powl declaration... " >&6; }
61315 if test x${glibcxx_cv_func_powl_use+set} != xset; then
61316 if ${glibcxx_cv_func_powl_use+:} false; then :
61317 $as_echo_n "(cached) " >&6
61318 else
61321 ac_ext=cpp
61322 ac_cpp='$CXXCPP $CPPFLAGS'
61323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61328 /* end confdefs.h. */
61329 #include <math.h>
61331 main ()
61333 powl(0, 0);
61335 return 0;
61337 _ACEOF
61338 if ac_fn_cxx_try_compile "$LINENO"; then :
61339 glibcxx_cv_func_powl_use=yes
61340 else
61341 glibcxx_cv_func_powl_use=no
61343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61344 ac_ext=c
61345 ac_cpp='$CPP $CPPFLAGS'
61346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
61355 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
61357 if test x$glibcxx_cv_func_powl_use = x"yes"; then
61358 for ac_func in powl
61359 do :
61360 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
61361 if test "x$ac_cv_func_powl" = xyes; then :
61362 cat >>confdefs.h <<_ACEOF
61363 #define HAVE_POWL 1
61364 _ACEOF
61367 done
61369 else
61371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
61372 $as_echo_n "checking for _powl declaration... " >&6; }
61373 if test x${glibcxx_cv_func__powl_use+set} != xset; then
61374 if ${glibcxx_cv_func__powl_use+:} false; then :
61375 $as_echo_n "(cached) " >&6
61376 else
61379 ac_ext=cpp
61380 ac_cpp='$CXXCPP $CPPFLAGS'
61381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61386 /* end confdefs.h. */
61387 #include <math.h>
61389 main ()
61391 _powl(0, 0);
61393 return 0;
61395 _ACEOF
61396 if ac_fn_cxx_try_compile "$LINENO"; then :
61397 glibcxx_cv_func__powl_use=yes
61398 else
61399 glibcxx_cv_func__powl_use=no
61401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61402 ac_ext=c
61403 ac_cpp='$CPP $CPPFLAGS'
61404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
61413 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
61415 if test x$glibcxx_cv_func__powl_use = x"yes"; then
61416 for ac_func in _powl
61417 do :
61418 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
61419 if test "x$ac_cv_func__powl" = xyes; then :
61420 cat >>confdefs.h <<_ACEOF
61421 #define HAVE__POWL 1
61422 _ACEOF
61425 done
61434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
61435 $as_echo_n "checking for sqrtl declaration... " >&6; }
61436 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
61437 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
61438 $as_echo_n "(cached) " >&6
61439 else
61442 ac_ext=cpp
61443 ac_cpp='$CXXCPP $CPPFLAGS'
61444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61449 /* end confdefs.h. */
61450 #include <math.h>
61451 #ifdef HAVE_IEEEFP_H
61452 #include <ieeefp.h>
61453 #endif
61456 main ()
61458 sqrtl(0);
61460 return 0;
61462 _ACEOF
61463 if ac_fn_cxx_try_compile "$LINENO"; then :
61464 glibcxx_cv_func_sqrtl_use=yes
61465 else
61466 glibcxx_cv_func_sqrtl_use=no
61468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61469 ac_ext=c
61470 ac_cpp='$CPP $CPPFLAGS'
61471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
61480 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
61482 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
61483 for ac_func in sqrtl
61484 do :
61485 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
61486 if test "x$ac_cv_func_sqrtl" = xyes; then :
61487 cat >>confdefs.h <<_ACEOF
61488 #define HAVE_SQRTL 1
61489 _ACEOF
61492 done
61494 else
61496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
61497 $as_echo_n "checking for _sqrtl declaration... " >&6; }
61498 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
61499 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
61500 $as_echo_n "(cached) " >&6
61501 else
61504 ac_ext=cpp
61505 ac_cpp='$CXXCPP $CPPFLAGS'
61506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61511 /* end confdefs.h. */
61512 #include <math.h>
61513 #ifdef HAVE_IEEEFP_H
61514 #include <ieeefp.h>
61515 #endif
61518 main ()
61520 _sqrtl(0);
61522 return 0;
61524 _ACEOF
61525 if ac_fn_cxx_try_compile "$LINENO"; then :
61526 glibcxx_cv_func__sqrtl_use=yes
61527 else
61528 glibcxx_cv_func__sqrtl_use=no
61530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61531 ac_ext=c
61532 ac_cpp='$CPP $CPPFLAGS'
61533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
61542 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
61544 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
61545 for ac_func in _sqrtl
61546 do :
61547 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
61548 if test "x$ac_cv_func__sqrtl" = xyes; then :
61549 cat >>confdefs.h <<_ACEOF
61550 #define HAVE__SQRTL 1
61551 _ACEOF
61554 done
61563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
61564 $as_echo_n "checking for sincosl declaration... " >&6; }
61565 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
61566 if ${glibcxx_cv_func_sincosl_use+:} false; then :
61567 $as_echo_n "(cached) " >&6
61568 else
61571 ac_ext=cpp
61572 ac_cpp='$CXXCPP $CPPFLAGS'
61573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61578 /* end confdefs.h. */
61579 #include <math.h>
61581 main ()
61583 sincosl(0, 0, 0);
61585 return 0;
61587 _ACEOF
61588 if ac_fn_cxx_try_compile "$LINENO"; then :
61589 glibcxx_cv_func_sincosl_use=yes
61590 else
61591 glibcxx_cv_func_sincosl_use=no
61593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61594 ac_ext=c
61595 ac_cpp='$CPP $CPPFLAGS'
61596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
61605 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
61607 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
61608 for ac_func in sincosl
61609 do :
61610 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
61611 if test "x$ac_cv_func_sincosl" = xyes; then :
61612 cat >>confdefs.h <<_ACEOF
61613 #define HAVE_SINCOSL 1
61614 _ACEOF
61617 done
61619 else
61621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
61622 $as_echo_n "checking for _sincosl declaration... " >&6; }
61623 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
61624 if ${glibcxx_cv_func__sincosl_use+:} false; then :
61625 $as_echo_n "(cached) " >&6
61626 else
61629 ac_ext=cpp
61630 ac_cpp='$CXXCPP $CPPFLAGS'
61631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61636 /* end confdefs.h. */
61637 #include <math.h>
61639 main ()
61641 _sincosl(0, 0, 0);
61643 return 0;
61645 _ACEOF
61646 if ac_fn_cxx_try_compile "$LINENO"; then :
61647 glibcxx_cv_func__sincosl_use=yes
61648 else
61649 glibcxx_cv_func__sincosl_use=no
61651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61652 ac_ext=c
61653 ac_cpp='$CPP $CPPFLAGS'
61654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
61663 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
61665 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
61666 for ac_func in _sincosl
61667 do :
61668 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
61669 if test "x$ac_cv_func__sincosl" = xyes; then :
61670 cat >>confdefs.h <<_ACEOF
61671 #define HAVE__SINCOSL 1
61672 _ACEOF
61675 done
61684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
61685 $as_echo_n "checking for finitel declaration... " >&6; }
61686 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
61687 if ${glibcxx_cv_func_finitel_use+:} false; then :
61688 $as_echo_n "(cached) " >&6
61689 else
61692 ac_ext=cpp
61693 ac_cpp='$CXXCPP $CPPFLAGS'
61694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61699 /* end confdefs.h. */
61700 #include <math.h>
61701 #ifdef HAVE_IEEEFP_H
61702 #include <ieeefp.h>
61703 #endif
61706 main ()
61708 finitel(0);
61710 return 0;
61712 _ACEOF
61713 if ac_fn_cxx_try_compile "$LINENO"; then :
61714 glibcxx_cv_func_finitel_use=yes
61715 else
61716 glibcxx_cv_func_finitel_use=no
61718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61719 ac_ext=c
61720 ac_cpp='$CPP $CPPFLAGS'
61721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
61730 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
61732 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
61733 for ac_func in finitel
61734 do :
61735 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
61736 if test "x$ac_cv_func_finitel" = xyes; then :
61737 cat >>confdefs.h <<_ACEOF
61738 #define HAVE_FINITEL 1
61739 _ACEOF
61742 done
61744 else
61746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
61747 $as_echo_n "checking for _finitel declaration... " >&6; }
61748 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
61749 if ${glibcxx_cv_func__finitel_use+:} false; then :
61750 $as_echo_n "(cached) " >&6
61751 else
61754 ac_ext=cpp
61755 ac_cpp='$CXXCPP $CPPFLAGS'
61756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61761 /* end confdefs.h. */
61762 #include <math.h>
61763 #ifdef HAVE_IEEEFP_H
61764 #include <ieeefp.h>
61765 #endif
61768 main ()
61770 _finitel(0);
61772 return 0;
61774 _ACEOF
61775 if ac_fn_cxx_try_compile "$LINENO"; then :
61776 glibcxx_cv_func__finitel_use=yes
61777 else
61778 glibcxx_cv_func__finitel_use=no
61780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61781 ac_ext=c
61782 ac_cpp='$CPP $CPPFLAGS'
61783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
61792 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
61794 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
61795 for ac_func in _finitel
61796 do :
61797 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
61798 if test "x$ac_cv_func__finitel" = xyes; then :
61799 cat >>confdefs.h <<_ACEOF
61800 #define HAVE__FINITEL 1
61801 _ACEOF
61804 done
61812 LIBS="$ac_save_LIBS"
61813 CXXFLAGS="$ac_save_CXXFLAGS"
61816 ac_test_CXXFLAGS="${CXXFLAGS+set}"
61817 ac_save_CXXFLAGS="$CXXFLAGS"
61818 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
61821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
61822 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
61823 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
61824 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
61825 $as_echo_n "(cached) " >&6
61826 else
61829 ac_ext=cpp
61830 ac_cpp='$CXXCPP $CPPFLAGS'
61831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61836 /* end confdefs.h. */
61837 #include <stdlib.h>
61839 main ()
61841 at_quick_exit(0);
61843 return 0;
61845 _ACEOF
61846 if ac_fn_cxx_try_compile "$LINENO"; then :
61847 glibcxx_cv_func_at_quick_exit_use=yes
61848 else
61849 glibcxx_cv_func_at_quick_exit_use=no
61851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61852 ac_ext=c
61853 ac_cpp='$CPP $CPPFLAGS'
61854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
61863 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
61864 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
61865 for ac_func in at_quick_exit
61866 do :
61867 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
61868 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
61869 cat >>confdefs.h <<_ACEOF
61870 #define HAVE_AT_QUICK_EXIT 1
61871 _ACEOF
61874 done
61879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
61880 $as_echo_n "checking for quick_exit declaration... " >&6; }
61881 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
61882 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
61883 $as_echo_n "(cached) " >&6
61884 else
61887 ac_ext=cpp
61888 ac_cpp='$CXXCPP $CPPFLAGS'
61889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61894 /* end confdefs.h. */
61895 #include <stdlib.h>
61897 main ()
61899 quick_exit(0);
61901 return 0;
61903 _ACEOF
61904 if ac_fn_cxx_try_compile "$LINENO"; then :
61905 glibcxx_cv_func_quick_exit_use=yes
61906 else
61907 glibcxx_cv_func_quick_exit_use=no
61909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61910 ac_ext=c
61911 ac_cpp='$CPP $CPPFLAGS'
61912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
61921 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
61922 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
61923 for ac_func in quick_exit
61924 do :
61925 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
61926 if test "x$ac_cv_func_quick_exit" = xyes; then :
61927 cat >>confdefs.h <<_ACEOF
61928 #define HAVE_QUICK_EXIT 1
61929 _ACEOF
61932 done
61937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
61938 $as_echo_n "checking for strtold declaration... " >&6; }
61939 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
61940 if ${glibcxx_cv_func_strtold_use+:} false; then :
61941 $as_echo_n "(cached) " >&6
61942 else
61945 ac_ext=cpp
61946 ac_cpp='$CXXCPP $CPPFLAGS'
61947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61952 /* end confdefs.h. */
61953 #include <stdlib.h>
61955 main ()
61957 strtold(0, 0);
61959 return 0;
61961 _ACEOF
61962 if ac_fn_cxx_try_compile "$LINENO"; then :
61963 glibcxx_cv_func_strtold_use=yes
61964 else
61965 glibcxx_cv_func_strtold_use=no
61967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61968 ac_ext=c
61969 ac_cpp='$CPP $CPPFLAGS'
61970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
61979 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
61980 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
61981 for ac_func in strtold
61982 do :
61983 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
61984 if test "x$ac_cv_func_strtold" = xyes; then :
61985 cat >>confdefs.h <<_ACEOF
61986 #define HAVE_STRTOLD 1
61987 _ACEOF
61990 done
61997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
61998 $as_echo_n "checking for strtof declaration... " >&6; }
61999 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
62000 if ${glibcxx_cv_func_strtof_use+:} false; then :
62001 $as_echo_n "(cached) " >&6
62002 else
62005 ac_ext=cpp
62006 ac_cpp='$CXXCPP $CPPFLAGS'
62007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62012 /* end confdefs.h. */
62013 #include <stdlib.h>
62015 main ()
62017 strtof(0, 0);
62019 return 0;
62021 _ACEOF
62022 if ac_fn_cxx_try_compile "$LINENO"; then :
62023 glibcxx_cv_func_strtof_use=yes
62024 else
62025 glibcxx_cv_func_strtof_use=no
62027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62028 ac_ext=c
62029 ac_cpp='$CPP $CPPFLAGS'
62030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
62039 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
62040 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
62041 for ac_func in strtof
62042 do :
62043 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
62044 if test "x$ac_cv_func_strtof" = xyes; then :
62045 cat >>confdefs.h <<_ACEOF
62046 #define HAVE_STRTOF 1
62047 _ACEOF
62050 done
62057 CXXFLAGS="$ac_save_CXXFLAGS"
62059 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
62060 do :
62061 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62062 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62063 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62064 cat >>confdefs.h <<_ACEOF
62065 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62066 _ACEOF
62069 done
62071 for ac_func in _wfopen
62072 do :
62073 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
62074 if test "x$ac_cv_func__wfopen" = xyes; then :
62075 cat >>confdefs.h <<_ACEOF
62076 #define HAVE__WFOPEN 1
62077 _ACEOF
62080 done
62084 # Check whether --enable-tls was given.
62085 if test "${enable_tls+set}" = set; then :
62086 enableval=$enable_tls;
62087 case "$enableval" in
62088 yes|no) ;;
62089 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
62090 esac
62092 else
62093 enable_tls=yes
62097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
62098 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
62099 if ${gcc_cv_have_tls+:} false; then :
62100 $as_echo_n "(cached) " >&6
62101 else
62103 if test "$cross_compiling" = yes; then :
62104 if test x$gcc_no_link = xyes; then
62105 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
62107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62108 /* end confdefs.h. */
62109 __thread int a; int b; int main() { return a = b; }
62110 _ACEOF
62111 if ac_fn_c_try_link "$LINENO"; then :
62112 chktls_save_LDFLAGS="$LDFLAGS"
62113 case $host in
62114 *-*-linux* | -*-uclinuxfdpic*)
62115 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
62117 esac
62118 chktls_save_CFLAGS="$CFLAGS"
62119 CFLAGS="-fPIC $CFLAGS"
62120 if test x$gcc_no_link = xyes; then
62121 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
62123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62124 /* end confdefs.h. */
62125 int f() { return 0; }
62126 _ACEOF
62127 if ac_fn_c_try_link "$LINENO"; then :
62128 if test x$gcc_no_link = xyes; then
62129 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
62131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62132 /* end confdefs.h. */
62133 __thread int a; int b; int f() { return a = b; }
62134 _ACEOF
62135 if ac_fn_c_try_link "$LINENO"; then :
62136 gcc_cv_have_tls=yes
62137 else
62138 gcc_cv_have_tls=no
62140 rm -f core conftest.err conftest.$ac_objext \
62141 conftest$ac_exeext conftest.$ac_ext
62142 else
62143 gcc_cv_have_tls=yes
62145 rm -f core conftest.err conftest.$ac_objext \
62146 conftest$ac_exeext conftest.$ac_ext
62147 CFLAGS="$chktls_save_CFLAGS"
62148 LDFLAGS="$chktls_save_LDFLAGS"
62149 else
62150 gcc_cv_have_tls=no
62152 rm -f core conftest.err conftest.$ac_objext \
62153 conftest$ac_exeext conftest.$ac_ext
62156 else
62157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62158 /* end confdefs.h. */
62159 __thread int a; int b; int main() { return a = b; }
62160 _ACEOF
62161 if ac_fn_c_try_run "$LINENO"; then :
62162 chktls_save_LDFLAGS="$LDFLAGS"
62163 LDFLAGS="-static $LDFLAGS"
62164 if test x$gcc_no_link = xyes; then
62165 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
62167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62168 /* end confdefs.h. */
62169 int main() { return 0; }
62170 _ACEOF
62171 if ac_fn_c_try_link "$LINENO"; then :
62172 if test "$cross_compiling" = yes; then :
62173 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
62174 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
62175 as_fn_error $? "cannot run test program while cross compiling
62176 See \`config.log' for more details" "$LINENO" 5; }
62177 else
62178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62179 /* end confdefs.h. */
62180 __thread int a; int b; int main() { return a = b; }
62181 _ACEOF
62182 if ac_fn_c_try_run "$LINENO"; then :
62183 gcc_cv_have_tls=yes
62184 else
62185 gcc_cv_have_tls=no
62187 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
62188 conftest.$ac_objext conftest.beam conftest.$ac_ext
62191 else
62192 gcc_cv_have_tls=yes
62194 rm -f core conftest.err conftest.$ac_objext \
62195 conftest$ac_exeext conftest.$ac_ext
62196 LDFLAGS="$chktls_save_LDFLAGS"
62197 if test $gcc_cv_have_tls = yes; then
62198 chktls_save_CFLAGS="$CFLAGS"
62199 thread_CFLAGS=failed
62200 for flag in '' '-pthread' '-lpthread'; do
62201 CFLAGS="$flag $chktls_save_CFLAGS"
62202 if test x$gcc_no_link = xyes; then
62203 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
62205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62206 /* end confdefs.h. */
62207 #include <pthread.h>
62208 void *g(void *d) { return NULL; }
62210 main ()
62212 pthread_t t; pthread_create(&t,NULL,g,NULL);
62214 return 0;
62216 _ACEOF
62217 if ac_fn_c_try_link "$LINENO"; then :
62218 thread_CFLAGS="$flag"
62220 rm -f core conftest.err conftest.$ac_objext \
62221 conftest$ac_exeext conftest.$ac_ext
62222 if test "X$thread_CFLAGS" != Xfailed; then
62223 break
62225 done
62226 CFLAGS="$chktls_save_CFLAGS"
62227 if test "X$thread_CFLAGS" != Xfailed; then
62228 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
62229 if test "$cross_compiling" = yes; then :
62230 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
62231 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
62232 as_fn_error $? "cannot run test program while cross compiling
62233 See \`config.log' for more details" "$LINENO" 5; }
62234 else
62235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62236 /* end confdefs.h. */
62237 #include <pthread.h>
62238 __thread int a;
62239 static int *volatile a_in_other_thread;
62240 static void *
62241 thread_func (void *arg)
62243 a_in_other_thread = &a;
62244 return (void *)0;
62247 main ()
62249 pthread_t thread;
62250 void *thread_retval;
62251 int *volatile a_in_main_thread;
62252 a_in_main_thread = &a;
62253 if (pthread_create (&thread, (pthread_attr_t *)0,
62254 thread_func, (void *)0))
62255 return 0;
62256 if (pthread_join (thread, &thread_retval))
62257 return 0;
62258 return (a_in_other_thread == a_in_main_thread);
62260 return 0;
62262 _ACEOF
62263 if ac_fn_c_try_run "$LINENO"; then :
62264 gcc_cv_have_tls=yes
62265 else
62266 gcc_cv_have_tls=no
62268 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
62269 conftest.$ac_objext conftest.beam conftest.$ac_ext
62272 CFLAGS="$chktls_save_CFLAGS"
62275 else
62276 gcc_cv_have_tls=no
62278 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
62279 conftest.$ac_objext conftest.beam conftest.$ac_ext
62283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
62284 $as_echo "$gcc_cv_have_tls" >&6; }
62285 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
62287 $as_echo "#define HAVE_TLS 1" >>confdefs.h
62291 *-netbsd* | *-openbsd*)
62292 SECTION_FLAGS='-ffunction-sections -fdata-sections'
62295 # If we're not using GNU ld, then there's no point in even trying these
62296 # tests. Check for that first. We should have already tested for gld
62297 # by now (in libtool), but require it now just to be safe...
62298 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
62299 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
62303 # The name set by libtool depends on the version of libtool. Shame on us
62304 # for depending on an impl detail, but c'est la vie. Older versions used
62305 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
62306 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
62307 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
62308 # set (hence we're using an older libtool), then set it.
62309 if test x${with_gnu_ld+set} != xset; then
62310 if test x${ac_cv_prog_gnu_ld+set} != xset; then
62311 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
62312 with_gnu_ld=no
62313 else
62314 with_gnu_ld=$ac_cv_prog_gnu_ld
62318 # Start by getting the version number. I think the libtool test already
62319 # does some of this, but throws away the result.
62320 glibcxx_ld_is_gold=no
62321 glibcxx_ld_is_mold=no
62322 if test x"$with_gnu_ld" = x"yes"; then
62323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
62324 $as_echo_n "checking for ld version... " >&6; }
62326 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
62327 glibcxx_ld_is_gold=yes
62328 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
62329 glibcxx_ld_is_mold=yes
62331 ldver=`$LD --version 2>/dev/null |
62332 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
62334 glibcxx_gnu_ld_version=`echo $ldver | \
62335 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
62336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
62337 $as_echo "$glibcxx_gnu_ld_version" >&6; }
62340 # Set --gc-sections.
62341 glibcxx_have_gc_sections=no
62342 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
62343 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
62344 glibcxx_have_gc_sections=yes
62346 else
62347 glibcxx_gcsections_min_ld=21602
62348 if test x"$with_gnu_ld" = x"yes" &&
62349 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
62350 glibcxx_have_gc_sections=yes
62353 if test "$glibcxx_have_gc_sections" = "yes"; then
62354 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
62355 # NB: This flag only works reliably after 2.16.1. Configure tests
62356 # for this are difficult, so hard wire a value that should work.
62358 ac_test_CFLAGS="${CFLAGS+set}"
62359 ac_save_CFLAGS="$CFLAGS"
62360 CFLAGS='-Wl,--gc-sections'
62362 # Check for -Wl,--gc-sections
62363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
62364 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
62365 if test x$gcc_no_link = xyes; then
62366 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
62368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62369 /* end confdefs.h. */
62370 int one(void) { return 1; }
62371 int two(void) { return 2; }
62374 main ()
62376 two();
62378 return 0;
62380 _ACEOF
62381 if ac_fn_c_try_link "$LINENO"; then :
62382 ac_gcsections=yes
62383 else
62384 ac_gcsections=no
62386 rm -f core conftest.err conftest.$ac_objext \
62387 conftest$ac_exeext conftest.$ac_ext
62388 if test "$ac_gcsections" = "yes"; then
62389 rm -f conftest.c
62390 touch conftest.c
62391 if $CC -c conftest.c; then
62392 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
62393 grep "Warning: gc-sections option ignored" > /dev/null; then
62394 ac_gcsections=no
62397 rm -f conftest.c conftest.o conftest
62399 if test "$ac_gcsections" = "yes"; then
62400 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
62402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
62403 $as_echo "$ac_gcsections" >&6; }
62405 if test "$ac_test_CFLAGS" = set; then
62406 CFLAGS="$ac_save_CFLAGS"
62407 else
62408 # this is the suspicious part
62409 CFLAGS=''
62413 # Set -z,relro.
62414 # Note this is only for shared objects.
62415 ac_ld_relro=no
62416 if test x"$with_gnu_ld" = x"yes"; then
62417 # cygwin and mingw uses PE, which has no ELF relro support,
62418 # multi target ld may confuse configure machinery
62419 case "$host" in
62420 *-*-cygwin*)
62422 *-*-mingw*)
62425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
62426 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
62427 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
62428 if test -n "$cxx_z_relo"; then
62429 OPT_LDFLAGS="-Wl,-z,relro"
62430 ac_ld_relro=yes
62432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
62433 $as_echo "$ac_ld_relro" >&6; }
62434 esac
62437 # Set linker optimization flags.
62438 if test x"$with_gnu_ld" = x"yes"; then
62439 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
62445 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
62447 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
62449 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
62451 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
62453 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
62455 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
62457 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
62459 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
62461 if test x"long_double_math_on_this_cpu" = x"yes"; then
62462 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
62464 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
62466 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
62469 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
62470 do :
62471 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62472 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62473 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62474 cat >>confdefs.h <<_ACEOF
62475 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62476 _ACEOF
62479 done
62481 for ac_func in timespec_get
62482 do :
62483 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
62484 if test "x$ac_cv_func_timespec_get" = xyes; then :
62485 cat >>confdefs.h <<_ACEOF
62486 #define HAVE_TIMESPEC_GET 1
62487 _ACEOF
62490 done
62492 for ac_func in sockatmark
62493 do :
62494 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
62495 if test "x$ac_cv_func_sockatmark" = xyes; then :
62496 cat >>confdefs.h <<_ACEOF
62497 #define HAVE_SOCKATMARK 1
62498 _ACEOF
62501 done
62504 *-qnx6.1* | *-qnx6.2*)
62505 SECTION_FLAGS='-ffunction-sections -fdata-sections'
62508 # If we're not using GNU ld, then there's no point in even trying these
62509 # tests. Check for that first. We should have already tested for gld
62510 # by now (in libtool), but require it now just to be safe...
62511 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
62512 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
62516 # The name set by libtool depends on the version of libtool. Shame on us
62517 # for depending on an impl detail, but c'est la vie. Older versions used
62518 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
62519 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
62520 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
62521 # set (hence we're using an older libtool), then set it.
62522 if test x${with_gnu_ld+set} != xset; then
62523 if test x${ac_cv_prog_gnu_ld+set} != xset; then
62524 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
62525 with_gnu_ld=no
62526 else
62527 with_gnu_ld=$ac_cv_prog_gnu_ld
62531 # Start by getting the version number. I think the libtool test already
62532 # does some of this, but throws away the result.
62533 glibcxx_ld_is_gold=no
62534 glibcxx_ld_is_mold=no
62535 if test x"$with_gnu_ld" = x"yes"; then
62536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
62537 $as_echo_n "checking for ld version... " >&6; }
62539 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
62540 glibcxx_ld_is_gold=yes
62541 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
62542 glibcxx_ld_is_mold=yes
62544 ldver=`$LD --version 2>/dev/null |
62545 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
62547 glibcxx_gnu_ld_version=`echo $ldver | \
62548 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
62549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
62550 $as_echo "$glibcxx_gnu_ld_version" >&6; }
62553 # Set --gc-sections.
62554 glibcxx_have_gc_sections=no
62555 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
62556 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
62557 glibcxx_have_gc_sections=yes
62559 else
62560 glibcxx_gcsections_min_ld=21602
62561 if test x"$with_gnu_ld" = x"yes" &&
62562 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
62563 glibcxx_have_gc_sections=yes
62566 if test "$glibcxx_have_gc_sections" = "yes"; then
62567 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
62568 # NB: This flag only works reliably after 2.16.1. Configure tests
62569 # for this are difficult, so hard wire a value that should work.
62571 ac_test_CFLAGS="${CFLAGS+set}"
62572 ac_save_CFLAGS="$CFLAGS"
62573 CFLAGS='-Wl,--gc-sections'
62575 # Check for -Wl,--gc-sections
62576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
62577 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
62578 if test x$gcc_no_link = xyes; then
62579 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
62581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62582 /* end confdefs.h. */
62583 int one(void) { return 1; }
62584 int two(void) { return 2; }
62587 main ()
62589 two();
62591 return 0;
62593 _ACEOF
62594 if ac_fn_c_try_link "$LINENO"; then :
62595 ac_gcsections=yes
62596 else
62597 ac_gcsections=no
62599 rm -f core conftest.err conftest.$ac_objext \
62600 conftest$ac_exeext conftest.$ac_ext
62601 if test "$ac_gcsections" = "yes"; then
62602 rm -f conftest.c
62603 touch conftest.c
62604 if $CC -c conftest.c; then
62605 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
62606 grep "Warning: gc-sections option ignored" > /dev/null; then
62607 ac_gcsections=no
62610 rm -f conftest.c conftest.o conftest
62612 if test "$ac_gcsections" = "yes"; then
62613 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
62615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
62616 $as_echo "$ac_gcsections" >&6; }
62618 if test "$ac_test_CFLAGS" = set; then
62619 CFLAGS="$ac_save_CFLAGS"
62620 else
62621 # this is the suspicious part
62622 CFLAGS=''
62626 # Set -z,relro.
62627 # Note this is only for shared objects.
62628 ac_ld_relro=no
62629 if test x"$with_gnu_ld" = x"yes"; then
62630 # cygwin and mingw uses PE, which has no ELF relro support,
62631 # multi target ld may confuse configure machinery
62632 case "$host" in
62633 *-*-cygwin*)
62635 *-*-mingw*)
62638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
62639 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
62640 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
62641 if test -n "$cxx_z_relo"; then
62642 OPT_LDFLAGS="-Wl,-z,relro"
62643 ac_ld_relro=yes
62645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
62646 $as_echo "$ac_ld_relro" >&6; }
62647 esac
62650 # Set linker optimization flags.
62651 if test x"$with_gnu_ld" = x"yes"; then
62652 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
62658 $as_echo "#define HAVE_COSF 1" >>confdefs.h
62660 $as_echo "#define HAVE_COSL 1" >>confdefs.h
62662 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
62664 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
62666 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
62668 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
62670 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
62672 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
62674 $as_echo "#define HAVE_SINF 1" >>confdefs.h
62676 $as_echo "#define HAVE_SINL 1" >>confdefs.h
62678 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
62680 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
62683 *-tpf)
62684 SECTION_FLAGS='-ffunction-sections -fdata-sections'
62685 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
62687 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
62689 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
62691 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
62693 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
62695 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
62697 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
62699 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
62701 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
62703 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
62705 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
62707 if test x"long_double_math_on_this_cpu" = x"yes"; then
62708 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
62710 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
62712 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
62714 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
62718 *-*vms*)
62719 # Check for available headers.
62720 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
62722 ac_test_CXXFLAGS="${CXXFLAGS+set}"
62723 ac_save_CXXFLAGS="$CXXFLAGS"
62724 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
62726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
62727 $as_echo_n "checking for sin in -lm... " >&6; }
62728 if ${ac_cv_lib_m_sin+:} false; then :
62729 $as_echo_n "(cached) " >&6
62730 else
62731 ac_check_lib_save_LIBS=$LIBS
62732 LIBS="-lm $LIBS"
62733 if test x$gcc_no_link = xyes; then
62734 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
62736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62737 /* end confdefs.h. */
62739 /* Override any GCC internal prototype to avoid an error.
62740 Use char because int might match the return type of a GCC
62741 builtin and then its argument prototype would still apply. */
62742 #ifdef __cplusplus
62743 extern "C"
62744 #endif
62745 char sin ();
62747 main ()
62749 return sin ();
62751 return 0;
62753 _ACEOF
62754 if ac_fn_c_try_link "$LINENO"; then :
62755 ac_cv_lib_m_sin=yes
62756 else
62757 ac_cv_lib_m_sin=no
62759 rm -f core conftest.err conftest.$ac_objext \
62760 conftest$ac_exeext conftest.$ac_ext
62761 LIBS=$ac_check_lib_save_LIBS
62763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
62764 $as_echo "$ac_cv_lib_m_sin" >&6; }
62765 if test "x$ac_cv_lib_m_sin" = xyes; then :
62766 libm="-lm"
62769 ac_save_LIBS="$LIBS"
62770 LIBS="$LIBS $libm"
62774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
62775 $as_echo_n "checking for isinf declaration... " >&6; }
62776 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
62777 if ${glibcxx_cv_func_isinf_use+:} false; then :
62778 $as_echo_n "(cached) " >&6
62779 else
62782 ac_ext=cpp
62783 ac_cpp='$CXXCPP $CPPFLAGS'
62784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62789 /* end confdefs.h. */
62790 #include <math.h>
62791 #ifdef HAVE_IEEEFP_H
62792 #include <ieeefp.h>
62793 #endif
62796 main ()
62798 isinf(0);
62800 return 0;
62802 _ACEOF
62803 if ac_fn_cxx_try_compile "$LINENO"; then :
62804 glibcxx_cv_func_isinf_use=yes
62805 else
62806 glibcxx_cv_func_isinf_use=no
62808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62809 ac_ext=c
62810 ac_cpp='$CPP $CPPFLAGS'
62811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
62820 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
62822 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
62823 for ac_func in isinf
62824 do :
62825 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
62826 if test "x$ac_cv_func_isinf" = xyes; then :
62827 cat >>confdefs.h <<_ACEOF
62828 #define HAVE_ISINF 1
62829 _ACEOF
62832 done
62834 else
62836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
62837 $as_echo_n "checking for _isinf declaration... " >&6; }
62838 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
62839 if ${glibcxx_cv_func__isinf_use+:} false; then :
62840 $as_echo_n "(cached) " >&6
62841 else
62844 ac_ext=cpp
62845 ac_cpp='$CXXCPP $CPPFLAGS'
62846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62851 /* end confdefs.h. */
62852 #include <math.h>
62853 #ifdef HAVE_IEEEFP_H
62854 #include <ieeefp.h>
62855 #endif
62858 main ()
62860 _isinf(0);
62862 return 0;
62864 _ACEOF
62865 if ac_fn_cxx_try_compile "$LINENO"; then :
62866 glibcxx_cv_func__isinf_use=yes
62867 else
62868 glibcxx_cv_func__isinf_use=no
62870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62871 ac_ext=c
62872 ac_cpp='$CPP $CPPFLAGS'
62873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
62882 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
62884 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
62885 for ac_func in _isinf
62886 do :
62887 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
62888 if test "x$ac_cv_func__isinf" = xyes; then :
62889 cat >>confdefs.h <<_ACEOF
62890 #define HAVE__ISINF 1
62891 _ACEOF
62894 done
62903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
62904 $as_echo_n "checking for isnan declaration... " >&6; }
62905 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
62906 if ${glibcxx_cv_func_isnan_use+:} false; then :
62907 $as_echo_n "(cached) " >&6
62908 else
62911 ac_ext=cpp
62912 ac_cpp='$CXXCPP $CPPFLAGS'
62913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62918 /* end confdefs.h. */
62919 #include <math.h>
62920 #ifdef HAVE_IEEEFP_H
62921 #include <ieeefp.h>
62922 #endif
62925 main ()
62927 isnan(0);
62929 return 0;
62931 _ACEOF
62932 if ac_fn_cxx_try_compile "$LINENO"; then :
62933 glibcxx_cv_func_isnan_use=yes
62934 else
62935 glibcxx_cv_func_isnan_use=no
62937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62938 ac_ext=c
62939 ac_cpp='$CPP $CPPFLAGS'
62940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
62949 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
62951 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
62952 for ac_func in isnan
62953 do :
62954 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
62955 if test "x$ac_cv_func_isnan" = xyes; then :
62956 cat >>confdefs.h <<_ACEOF
62957 #define HAVE_ISNAN 1
62958 _ACEOF
62961 done
62963 else
62965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
62966 $as_echo_n "checking for _isnan declaration... " >&6; }
62967 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
62968 if ${glibcxx_cv_func__isnan_use+:} false; then :
62969 $as_echo_n "(cached) " >&6
62970 else
62973 ac_ext=cpp
62974 ac_cpp='$CXXCPP $CPPFLAGS'
62975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62980 /* end confdefs.h. */
62981 #include <math.h>
62982 #ifdef HAVE_IEEEFP_H
62983 #include <ieeefp.h>
62984 #endif
62987 main ()
62989 _isnan(0);
62991 return 0;
62993 _ACEOF
62994 if ac_fn_cxx_try_compile "$LINENO"; then :
62995 glibcxx_cv_func__isnan_use=yes
62996 else
62997 glibcxx_cv_func__isnan_use=no
62999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63000 ac_ext=c
63001 ac_cpp='$CPP $CPPFLAGS'
63002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
63011 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
63013 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
63014 for ac_func in _isnan
63015 do :
63016 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
63017 if test "x$ac_cv_func__isnan" = xyes; then :
63018 cat >>confdefs.h <<_ACEOF
63019 #define HAVE__ISNAN 1
63020 _ACEOF
63023 done
63032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
63033 $as_echo_n "checking for finite declaration... " >&6; }
63034 if test x${glibcxx_cv_func_finite_use+set} != xset; then
63035 if ${glibcxx_cv_func_finite_use+:} false; then :
63036 $as_echo_n "(cached) " >&6
63037 else
63040 ac_ext=cpp
63041 ac_cpp='$CXXCPP $CPPFLAGS'
63042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63047 /* end confdefs.h. */
63048 #include <math.h>
63049 #ifdef HAVE_IEEEFP_H
63050 #include <ieeefp.h>
63051 #endif
63054 main ()
63056 finite(0);
63058 return 0;
63060 _ACEOF
63061 if ac_fn_cxx_try_compile "$LINENO"; then :
63062 glibcxx_cv_func_finite_use=yes
63063 else
63064 glibcxx_cv_func_finite_use=no
63066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63067 ac_ext=c
63068 ac_cpp='$CPP $CPPFLAGS'
63069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
63078 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
63080 if test x$glibcxx_cv_func_finite_use = x"yes"; then
63081 for ac_func in finite
63082 do :
63083 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
63084 if test "x$ac_cv_func_finite" = xyes; then :
63085 cat >>confdefs.h <<_ACEOF
63086 #define HAVE_FINITE 1
63087 _ACEOF
63090 done
63092 else
63094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
63095 $as_echo_n "checking for _finite declaration... " >&6; }
63096 if test x${glibcxx_cv_func__finite_use+set} != xset; then
63097 if ${glibcxx_cv_func__finite_use+:} false; then :
63098 $as_echo_n "(cached) " >&6
63099 else
63102 ac_ext=cpp
63103 ac_cpp='$CXXCPP $CPPFLAGS'
63104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63109 /* end confdefs.h. */
63110 #include <math.h>
63111 #ifdef HAVE_IEEEFP_H
63112 #include <ieeefp.h>
63113 #endif
63116 main ()
63118 _finite(0);
63120 return 0;
63122 _ACEOF
63123 if ac_fn_cxx_try_compile "$LINENO"; then :
63124 glibcxx_cv_func__finite_use=yes
63125 else
63126 glibcxx_cv_func__finite_use=no
63128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63129 ac_ext=c
63130 ac_cpp='$CPP $CPPFLAGS'
63131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
63140 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
63142 if test x$glibcxx_cv_func__finite_use = x"yes"; then
63143 for ac_func in _finite
63144 do :
63145 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
63146 if test "x$ac_cv_func__finite" = xyes; then :
63147 cat >>confdefs.h <<_ACEOF
63148 #define HAVE__FINITE 1
63149 _ACEOF
63152 done
63161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
63162 $as_echo_n "checking for sincos declaration... " >&6; }
63163 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
63164 if ${glibcxx_cv_func_sincos_use+:} false; then :
63165 $as_echo_n "(cached) " >&6
63166 else
63169 ac_ext=cpp
63170 ac_cpp='$CXXCPP $CPPFLAGS'
63171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63176 /* end confdefs.h. */
63177 #include <math.h>
63179 main ()
63181 sincos(0, 0, 0);
63183 return 0;
63185 _ACEOF
63186 if ac_fn_cxx_try_compile "$LINENO"; then :
63187 glibcxx_cv_func_sincos_use=yes
63188 else
63189 glibcxx_cv_func_sincos_use=no
63191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63192 ac_ext=c
63193 ac_cpp='$CPP $CPPFLAGS'
63194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
63203 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
63205 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
63206 for ac_func in sincos
63207 do :
63208 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
63209 if test "x$ac_cv_func_sincos" = xyes; then :
63210 cat >>confdefs.h <<_ACEOF
63211 #define HAVE_SINCOS 1
63212 _ACEOF
63215 done
63217 else
63219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
63220 $as_echo_n "checking for _sincos declaration... " >&6; }
63221 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
63222 if ${glibcxx_cv_func__sincos_use+:} false; then :
63223 $as_echo_n "(cached) " >&6
63224 else
63227 ac_ext=cpp
63228 ac_cpp='$CXXCPP $CPPFLAGS'
63229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63234 /* end confdefs.h. */
63235 #include <math.h>
63237 main ()
63239 _sincos(0, 0, 0);
63241 return 0;
63243 _ACEOF
63244 if ac_fn_cxx_try_compile "$LINENO"; then :
63245 glibcxx_cv_func__sincos_use=yes
63246 else
63247 glibcxx_cv_func__sincos_use=no
63249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63250 ac_ext=c
63251 ac_cpp='$CPP $CPPFLAGS'
63252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
63261 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
63263 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
63264 for ac_func in _sincos
63265 do :
63266 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
63267 if test "x$ac_cv_func__sincos" = xyes; then :
63268 cat >>confdefs.h <<_ACEOF
63269 #define HAVE__SINCOS 1
63270 _ACEOF
63273 done
63282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
63283 $as_echo_n "checking for fpclass declaration... " >&6; }
63284 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
63285 if ${glibcxx_cv_func_fpclass_use+:} false; then :
63286 $as_echo_n "(cached) " >&6
63287 else
63290 ac_ext=cpp
63291 ac_cpp='$CXXCPP $CPPFLAGS'
63292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63297 /* end confdefs.h. */
63298 #include <math.h>
63299 #ifdef HAVE_IEEEFP_H
63300 #include <ieeefp.h>
63301 #endif
63304 main ()
63306 fpclass(0);
63308 return 0;
63310 _ACEOF
63311 if ac_fn_cxx_try_compile "$LINENO"; then :
63312 glibcxx_cv_func_fpclass_use=yes
63313 else
63314 glibcxx_cv_func_fpclass_use=no
63316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63317 ac_ext=c
63318 ac_cpp='$CPP $CPPFLAGS'
63319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
63328 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
63330 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
63331 for ac_func in fpclass
63332 do :
63333 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
63334 if test "x$ac_cv_func_fpclass" = xyes; then :
63335 cat >>confdefs.h <<_ACEOF
63336 #define HAVE_FPCLASS 1
63337 _ACEOF
63340 done
63342 else
63344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
63345 $as_echo_n "checking for _fpclass declaration... " >&6; }
63346 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
63347 if ${glibcxx_cv_func__fpclass_use+:} false; then :
63348 $as_echo_n "(cached) " >&6
63349 else
63352 ac_ext=cpp
63353 ac_cpp='$CXXCPP $CPPFLAGS'
63354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63359 /* end confdefs.h. */
63360 #include <math.h>
63361 #ifdef HAVE_IEEEFP_H
63362 #include <ieeefp.h>
63363 #endif
63366 main ()
63368 _fpclass(0);
63370 return 0;
63372 _ACEOF
63373 if ac_fn_cxx_try_compile "$LINENO"; then :
63374 glibcxx_cv_func__fpclass_use=yes
63375 else
63376 glibcxx_cv_func__fpclass_use=no
63378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63379 ac_ext=c
63380 ac_cpp='$CPP $CPPFLAGS'
63381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
63390 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
63392 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
63393 for ac_func in _fpclass
63394 do :
63395 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
63396 if test "x$ac_cv_func__fpclass" = xyes; then :
63397 cat >>confdefs.h <<_ACEOF
63398 #define HAVE__FPCLASS 1
63399 _ACEOF
63402 done
63411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
63412 $as_echo_n "checking for qfpclass declaration... " >&6; }
63413 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
63414 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
63415 $as_echo_n "(cached) " >&6
63416 else
63419 ac_ext=cpp
63420 ac_cpp='$CXXCPP $CPPFLAGS'
63421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63426 /* end confdefs.h. */
63427 #include <math.h>
63428 #ifdef HAVE_IEEEFP_H
63429 #include <ieeefp.h>
63430 #endif
63433 main ()
63435 qfpclass(0);
63437 return 0;
63439 _ACEOF
63440 if ac_fn_cxx_try_compile "$LINENO"; then :
63441 glibcxx_cv_func_qfpclass_use=yes
63442 else
63443 glibcxx_cv_func_qfpclass_use=no
63445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63446 ac_ext=c
63447 ac_cpp='$CPP $CPPFLAGS'
63448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
63457 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
63459 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
63460 for ac_func in qfpclass
63461 do :
63462 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
63463 if test "x$ac_cv_func_qfpclass" = xyes; then :
63464 cat >>confdefs.h <<_ACEOF
63465 #define HAVE_QFPCLASS 1
63466 _ACEOF
63469 done
63471 else
63473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
63474 $as_echo_n "checking for _qfpclass declaration... " >&6; }
63475 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
63476 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
63477 $as_echo_n "(cached) " >&6
63478 else
63481 ac_ext=cpp
63482 ac_cpp='$CXXCPP $CPPFLAGS'
63483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63488 /* end confdefs.h. */
63489 #include <math.h>
63490 #ifdef HAVE_IEEEFP_H
63491 #include <ieeefp.h>
63492 #endif
63495 main ()
63497 _qfpclass(0);
63499 return 0;
63501 _ACEOF
63502 if ac_fn_cxx_try_compile "$LINENO"; then :
63503 glibcxx_cv_func__qfpclass_use=yes
63504 else
63505 glibcxx_cv_func__qfpclass_use=no
63507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63508 ac_ext=c
63509 ac_cpp='$CPP $CPPFLAGS'
63510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
63519 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
63521 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
63522 for ac_func in _qfpclass
63523 do :
63524 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
63525 if test "x$ac_cv_func__qfpclass" = xyes; then :
63526 cat >>confdefs.h <<_ACEOF
63527 #define HAVE__QFPCLASS 1
63528 _ACEOF
63531 done
63540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
63541 $as_echo_n "checking for hypot declaration... " >&6; }
63542 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
63543 if ${glibcxx_cv_func_hypot_use+:} false; then :
63544 $as_echo_n "(cached) " >&6
63545 else
63548 ac_ext=cpp
63549 ac_cpp='$CXXCPP $CPPFLAGS'
63550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63555 /* end confdefs.h. */
63556 #include <math.h>
63558 main ()
63560 hypot(0, 0);
63562 return 0;
63564 _ACEOF
63565 if ac_fn_cxx_try_compile "$LINENO"; then :
63566 glibcxx_cv_func_hypot_use=yes
63567 else
63568 glibcxx_cv_func_hypot_use=no
63570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63571 ac_ext=c
63572 ac_cpp='$CPP $CPPFLAGS'
63573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
63582 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
63584 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
63585 for ac_func in hypot
63586 do :
63587 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
63588 if test "x$ac_cv_func_hypot" = xyes; then :
63589 cat >>confdefs.h <<_ACEOF
63590 #define HAVE_HYPOT 1
63591 _ACEOF
63594 done
63596 else
63598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
63599 $as_echo_n "checking for _hypot declaration... " >&6; }
63600 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
63601 if ${glibcxx_cv_func__hypot_use+:} false; then :
63602 $as_echo_n "(cached) " >&6
63603 else
63606 ac_ext=cpp
63607 ac_cpp='$CXXCPP $CPPFLAGS'
63608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63613 /* end confdefs.h. */
63614 #include <math.h>
63616 main ()
63618 _hypot(0, 0);
63620 return 0;
63622 _ACEOF
63623 if ac_fn_cxx_try_compile "$LINENO"; then :
63624 glibcxx_cv_func__hypot_use=yes
63625 else
63626 glibcxx_cv_func__hypot_use=no
63628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63629 ac_ext=c
63630 ac_cpp='$CPP $CPPFLAGS'
63631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
63640 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
63642 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
63643 for ac_func in _hypot
63644 do :
63645 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
63646 if test "x$ac_cv_func__hypot" = xyes; then :
63647 cat >>confdefs.h <<_ACEOF
63648 #define HAVE__HYPOT 1
63649 _ACEOF
63652 done
63661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
63662 $as_echo_n "checking for float trig functions... " >&6; }
63663 if ${glibcxx_cv_func_float_trig_use+:} false; then :
63664 $as_echo_n "(cached) " >&6
63665 else
63668 ac_ext=cpp
63669 ac_cpp='$CXXCPP $CPPFLAGS'
63670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63675 /* end confdefs.h. */
63676 #include <math.h>
63678 main ()
63680 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
63682 return 0;
63684 _ACEOF
63685 if ac_fn_cxx_try_compile "$LINENO"; then :
63686 glibcxx_cv_func_float_trig_use=yes
63687 else
63688 glibcxx_cv_func_float_trig_use=no
63690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63691 ac_ext=c
63692 ac_cpp='$CPP $CPPFLAGS'
63693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
63700 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
63701 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
63702 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
63703 do :
63704 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63705 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63706 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
63707 cat >>confdefs.h <<_ACEOF
63708 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63709 _ACEOF
63712 done
63714 else
63715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
63716 $as_echo_n "checking for _float trig functions... " >&6; }
63717 if ${glibcxx_cv_func__float_trig_use+:} false; then :
63718 $as_echo_n "(cached) " >&6
63719 else
63722 ac_ext=cpp
63723 ac_cpp='$CXXCPP $CPPFLAGS'
63724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63729 /* end confdefs.h. */
63730 #include <math.h>
63732 main ()
63734 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
63736 return 0;
63738 _ACEOF
63739 if ac_fn_cxx_try_compile "$LINENO"; then :
63740 glibcxx_cv_func__float_trig_use=yes
63741 else
63742 glibcxx_cv_func__float_trig_use=no
63744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63745 ac_ext=c
63746 ac_cpp='$CPP $CPPFLAGS'
63747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
63754 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
63755 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
63756 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
63757 do :
63758 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63759 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63760 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
63761 cat >>confdefs.h <<_ACEOF
63762 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63763 _ACEOF
63766 done
63775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
63776 $as_echo_n "checking for float round functions... " >&6; }
63777 if ${glibcxx_cv_func_float_round_use+:} false; then :
63778 $as_echo_n "(cached) " >&6
63779 else
63782 ac_ext=cpp
63783 ac_cpp='$CXXCPP $CPPFLAGS'
63784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63789 /* end confdefs.h. */
63790 #include <math.h>
63792 main ()
63794 ceilf (0); floorf (0);
63796 return 0;
63798 _ACEOF
63799 if ac_fn_cxx_try_compile "$LINENO"; then :
63800 glibcxx_cv_func_float_round_use=yes
63801 else
63802 glibcxx_cv_func_float_round_use=no
63804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63805 ac_ext=c
63806 ac_cpp='$CPP $CPPFLAGS'
63807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
63814 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
63815 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
63816 for ac_func in ceilf floorf
63817 do :
63818 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63819 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63820 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
63821 cat >>confdefs.h <<_ACEOF
63822 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63823 _ACEOF
63826 done
63828 else
63829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
63830 $as_echo_n "checking for _float round functions... " >&6; }
63831 if ${glibcxx_cv_func__float_round_use+:} false; then :
63832 $as_echo_n "(cached) " >&6
63833 else
63836 ac_ext=cpp
63837 ac_cpp='$CXXCPP $CPPFLAGS'
63838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63843 /* end confdefs.h. */
63844 #include <math.h>
63846 main ()
63848 _ceilf (0); _floorf (0);
63850 return 0;
63852 _ACEOF
63853 if ac_fn_cxx_try_compile "$LINENO"; then :
63854 glibcxx_cv_func__float_round_use=yes
63855 else
63856 glibcxx_cv_func__float_round_use=no
63858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63859 ac_ext=c
63860 ac_cpp='$CPP $CPPFLAGS'
63861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
63868 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
63869 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
63870 for ac_func in _ceilf _floorf
63871 do :
63872 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63873 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63874 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
63875 cat >>confdefs.h <<_ACEOF
63876 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63877 _ACEOF
63880 done
63890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
63891 $as_echo_n "checking for expf declaration... " >&6; }
63892 if test x${glibcxx_cv_func_expf_use+set} != xset; then
63893 if ${glibcxx_cv_func_expf_use+:} false; then :
63894 $as_echo_n "(cached) " >&6
63895 else
63898 ac_ext=cpp
63899 ac_cpp='$CXXCPP $CPPFLAGS'
63900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63905 /* end confdefs.h. */
63906 #include <math.h>
63907 #ifdef HAVE_IEEEFP_H
63908 #include <ieeefp.h>
63909 #endif
63912 main ()
63914 expf(0);
63916 return 0;
63918 _ACEOF
63919 if ac_fn_cxx_try_compile "$LINENO"; then :
63920 glibcxx_cv_func_expf_use=yes
63921 else
63922 glibcxx_cv_func_expf_use=no
63924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63925 ac_ext=c
63926 ac_cpp='$CPP $CPPFLAGS'
63927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
63936 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
63938 if test x$glibcxx_cv_func_expf_use = x"yes"; then
63939 for ac_func in expf
63940 do :
63941 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
63942 if test "x$ac_cv_func_expf" = xyes; then :
63943 cat >>confdefs.h <<_ACEOF
63944 #define HAVE_EXPF 1
63945 _ACEOF
63948 done
63950 else
63952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
63953 $as_echo_n "checking for _expf declaration... " >&6; }
63954 if test x${glibcxx_cv_func__expf_use+set} != xset; then
63955 if ${glibcxx_cv_func__expf_use+:} false; then :
63956 $as_echo_n "(cached) " >&6
63957 else
63960 ac_ext=cpp
63961 ac_cpp='$CXXCPP $CPPFLAGS'
63962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63967 /* end confdefs.h. */
63968 #include <math.h>
63969 #ifdef HAVE_IEEEFP_H
63970 #include <ieeefp.h>
63971 #endif
63974 main ()
63976 _expf(0);
63978 return 0;
63980 _ACEOF
63981 if ac_fn_cxx_try_compile "$LINENO"; then :
63982 glibcxx_cv_func__expf_use=yes
63983 else
63984 glibcxx_cv_func__expf_use=no
63986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63987 ac_ext=c
63988 ac_cpp='$CPP $CPPFLAGS'
63989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
63998 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
64000 if test x$glibcxx_cv_func__expf_use = x"yes"; then
64001 for ac_func in _expf
64002 do :
64003 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
64004 if test "x$ac_cv_func__expf" = xyes; then :
64005 cat >>confdefs.h <<_ACEOF
64006 #define HAVE__EXPF 1
64007 _ACEOF
64010 done
64019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
64020 $as_echo_n "checking for isnanf declaration... " >&6; }
64021 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
64022 if ${glibcxx_cv_func_isnanf_use+:} false; then :
64023 $as_echo_n "(cached) " >&6
64024 else
64027 ac_ext=cpp
64028 ac_cpp='$CXXCPP $CPPFLAGS'
64029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64034 /* end confdefs.h. */
64035 #include <math.h>
64036 #ifdef HAVE_IEEEFP_H
64037 #include <ieeefp.h>
64038 #endif
64041 main ()
64043 isnanf(0);
64045 return 0;
64047 _ACEOF
64048 if ac_fn_cxx_try_compile "$LINENO"; then :
64049 glibcxx_cv_func_isnanf_use=yes
64050 else
64051 glibcxx_cv_func_isnanf_use=no
64053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64054 ac_ext=c
64055 ac_cpp='$CPP $CPPFLAGS'
64056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
64065 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
64067 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
64068 for ac_func in isnanf
64069 do :
64070 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
64071 if test "x$ac_cv_func_isnanf" = xyes; then :
64072 cat >>confdefs.h <<_ACEOF
64073 #define HAVE_ISNANF 1
64074 _ACEOF
64077 done
64079 else
64081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
64082 $as_echo_n "checking for _isnanf declaration... " >&6; }
64083 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
64084 if ${glibcxx_cv_func__isnanf_use+:} false; then :
64085 $as_echo_n "(cached) " >&6
64086 else
64089 ac_ext=cpp
64090 ac_cpp='$CXXCPP $CPPFLAGS'
64091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64096 /* end confdefs.h. */
64097 #include <math.h>
64098 #ifdef HAVE_IEEEFP_H
64099 #include <ieeefp.h>
64100 #endif
64103 main ()
64105 _isnanf(0);
64107 return 0;
64109 _ACEOF
64110 if ac_fn_cxx_try_compile "$LINENO"; then :
64111 glibcxx_cv_func__isnanf_use=yes
64112 else
64113 glibcxx_cv_func__isnanf_use=no
64115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64116 ac_ext=c
64117 ac_cpp='$CPP $CPPFLAGS'
64118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
64127 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
64129 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
64130 for ac_func in _isnanf
64131 do :
64132 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
64133 if test "x$ac_cv_func__isnanf" = xyes; then :
64134 cat >>confdefs.h <<_ACEOF
64135 #define HAVE__ISNANF 1
64136 _ACEOF
64139 done
64148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
64149 $as_echo_n "checking for isinff declaration... " >&6; }
64150 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
64151 if ${glibcxx_cv_func_isinff_use+:} false; then :
64152 $as_echo_n "(cached) " >&6
64153 else
64156 ac_ext=cpp
64157 ac_cpp='$CXXCPP $CPPFLAGS'
64158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64163 /* end confdefs.h. */
64164 #include <math.h>
64165 #ifdef HAVE_IEEEFP_H
64166 #include <ieeefp.h>
64167 #endif
64170 main ()
64172 isinff(0);
64174 return 0;
64176 _ACEOF
64177 if ac_fn_cxx_try_compile "$LINENO"; then :
64178 glibcxx_cv_func_isinff_use=yes
64179 else
64180 glibcxx_cv_func_isinff_use=no
64182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64183 ac_ext=c
64184 ac_cpp='$CPP $CPPFLAGS'
64185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
64194 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
64196 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
64197 for ac_func in isinff
64198 do :
64199 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
64200 if test "x$ac_cv_func_isinff" = xyes; then :
64201 cat >>confdefs.h <<_ACEOF
64202 #define HAVE_ISINFF 1
64203 _ACEOF
64206 done
64208 else
64210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
64211 $as_echo_n "checking for _isinff declaration... " >&6; }
64212 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
64213 if ${glibcxx_cv_func__isinff_use+:} false; then :
64214 $as_echo_n "(cached) " >&6
64215 else
64218 ac_ext=cpp
64219 ac_cpp='$CXXCPP $CPPFLAGS'
64220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64225 /* end confdefs.h. */
64226 #include <math.h>
64227 #ifdef HAVE_IEEEFP_H
64228 #include <ieeefp.h>
64229 #endif
64232 main ()
64234 _isinff(0);
64236 return 0;
64238 _ACEOF
64239 if ac_fn_cxx_try_compile "$LINENO"; then :
64240 glibcxx_cv_func__isinff_use=yes
64241 else
64242 glibcxx_cv_func__isinff_use=no
64244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64245 ac_ext=c
64246 ac_cpp='$CPP $CPPFLAGS'
64247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
64256 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
64258 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
64259 for ac_func in _isinff
64260 do :
64261 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
64262 if test "x$ac_cv_func__isinff" = xyes; then :
64263 cat >>confdefs.h <<_ACEOF
64264 #define HAVE__ISINFF 1
64265 _ACEOF
64268 done
64277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
64278 $as_echo_n "checking for atan2f declaration... " >&6; }
64279 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
64280 if ${glibcxx_cv_func_atan2f_use+:} false; then :
64281 $as_echo_n "(cached) " >&6
64282 else
64285 ac_ext=cpp
64286 ac_cpp='$CXXCPP $CPPFLAGS'
64287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64292 /* end confdefs.h. */
64293 #include <math.h>
64295 main ()
64297 atan2f(0, 0);
64299 return 0;
64301 _ACEOF
64302 if ac_fn_cxx_try_compile "$LINENO"; then :
64303 glibcxx_cv_func_atan2f_use=yes
64304 else
64305 glibcxx_cv_func_atan2f_use=no
64307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64308 ac_ext=c
64309 ac_cpp='$CPP $CPPFLAGS'
64310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
64319 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
64321 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
64322 for ac_func in atan2f
64323 do :
64324 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
64325 if test "x$ac_cv_func_atan2f" = xyes; then :
64326 cat >>confdefs.h <<_ACEOF
64327 #define HAVE_ATAN2F 1
64328 _ACEOF
64331 done
64333 else
64335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
64336 $as_echo_n "checking for _atan2f declaration... " >&6; }
64337 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
64338 if ${glibcxx_cv_func__atan2f_use+:} false; then :
64339 $as_echo_n "(cached) " >&6
64340 else
64343 ac_ext=cpp
64344 ac_cpp='$CXXCPP $CPPFLAGS'
64345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64350 /* end confdefs.h. */
64351 #include <math.h>
64353 main ()
64355 _atan2f(0, 0);
64357 return 0;
64359 _ACEOF
64360 if ac_fn_cxx_try_compile "$LINENO"; then :
64361 glibcxx_cv_func__atan2f_use=yes
64362 else
64363 glibcxx_cv_func__atan2f_use=no
64365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64366 ac_ext=c
64367 ac_cpp='$CPP $CPPFLAGS'
64368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
64377 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
64379 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
64380 for ac_func in _atan2f
64381 do :
64382 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
64383 if test "x$ac_cv_func__atan2f" = xyes; then :
64384 cat >>confdefs.h <<_ACEOF
64385 #define HAVE__ATAN2F 1
64386 _ACEOF
64389 done
64398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
64399 $as_echo_n "checking for fabsf declaration... " >&6; }
64400 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
64401 if ${glibcxx_cv_func_fabsf_use+:} false; then :
64402 $as_echo_n "(cached) " >&6
64403 else
64406 ac_ext=cpp
64407 ac_cpp='$CXXCPP $CPPFLAGS'
64408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64413 /* end confdefs.h. */
64414 #include <math.h>
64415 #ifdef HAVE_IEEEFP_H
64416 #include <ieeefp.h>
64417 #endif
64420 main ()
64422 fabsf(0);
64424 return 0;
64426 _ACEOF
64427 if ac_fn_cxx_try_compile "$LINENO"; then :
64428 glibcxx_cv_func_fabsf_use=yes
64429 else
64430 glibcxx_cv_func_fabsf_use=no
64432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64433 ac_ext=c
64434 ac_cpp='$CPP $CPPFLAGS'
64435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
64444 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
64446 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
64447 for ac_func in fabsf
64448 do :
64449 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
64450 if test "x$ac_cv_func_fabsf" = xyes; then :
64451 cat >>confdefs.h <<_ACEOF
64452 #define HAVE_FABSF 1
64453 _ACEOF
64456 done
64458 else
64460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
64461 $as_echo_n "checking for _fabsf declaration... " >&6; }
64462 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
64463 if ${glibcxx_cv_func__fabsf_use+:} false; then :
64464 $as_echo_n "(cached) " >&6
64465 else
64468 ac_ext=cpp
64469 ac_cpp='$CXXCPP $CPPFLAGS'
64470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64475 /* end confdefs.h. */
64476 #include <math.h>
64477 #ifdef HAVE_IEEEFP_H
64478 #include <ieeefp.h>
64479 #endif
64482 main ()
64484 _fabsf(0);
64486 return 0;
64488 _ACEOF
64489 if ac_fn_cxx_try_compile "$LINENO"; then :
64490 glibcxx_cv_func__fabsf_use=yes
64491 else
64492 glibcxx_cv_func__fabsf_use=no
64494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64495 ac_ext=c
64496 ac_cpp='$CPP $CPPFLAGS'
64497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
64506 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
64508 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
64509 for ac_func in _fabsf
64510 do :
64511 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
64512 if test "x$ac_cv_func__fabsf" = xyes; then :
64513 cat >>confdefs.h <<_ACEOF
64514 #define HAVE__FABSF 1
64515 _ACEOF
64518 done
64527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
64528 $as_echo_n "checking for fmodf declaration... " >&6; }
64529 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
64530 if ${glibcxx_cv_func_fmodf_use+:} false; then :
64531 $as_echo_n "(cached) " >&6
64532 else
64535 ac_ext=cpp
64536 ac_cpp='$CXXCPP $CPPFLAGS'
64537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64542 /* end confdefs.h. */
64543 #include <math.h>
64545 main ()
64547 fmodf(0, 0);
64549 return 0;
64551 _ACEOF
64552 if ac_fn_cxx_try_compile "$LINENO"; then :
64553 glibcxx_cv_func_fmodf_use=yes
64554 else
64555 glibcxx_cv_func_fmodf_use=no
64557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64558 ac_ext=c
64559 ac_cpp='$CPP $CPPFLAGS'
64560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
64569 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
64571 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
64572 for ac_func in fmodf
64573 do :
64574 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
64575 if test "x$ac_cv_func_fmodf" = xyes; then :
64576 cat >>confdefs.h <<_ACEOF
64577 #define HAVE_FMODF 1
64578 _ACEOF
64581 done
64583 else
64585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
64586 $as_echo_n "checking for _fmodf declaration... " >&6; }
64587 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
64588 if ${glibcxx_cv_func__fmodf_use+:} false; then :
64589 $as_echo_n "(cached) " >&6
64590 else
64593 ac_ext=cpp
64594 ac_cpp='$CXXCPP $CPPFLAGS'
64595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64600 /* end confdefs.h. */
64601 #include <math.h>
64603 main ()
64605 _fmodf(0, 0);
64607 return 0;
64609 _ACEOF
64610 if ac_fn_cxx_try_compile "$LINENO"; then :
64611 glibcxx_cv_func__fmodf_use=yes
64612 else
64613 glibcxx_cv_func__fmodf_use=no
64615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64616 ac_ext=c
64617 ac_cpp='$CPP $CPPFLAGS'
64618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
64627 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
64629 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
64630 for ac_func in _fmodf
64631 do :
64632 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
64633 if test "x$ac_cv_func__fmodf" = xyes; then :
64634 cat >>confdefs.h <<_ACEOF
64635 #define HAVE__FMODF 1
64636 _ACEOF
64639 done
64648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
64649 $as_echo_n "checking for frexpf declaration... " >&6; }
64650 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
64651 if ${glibcxx_cv_func_frexpf_use+:} false; then :
64652 $as_echo_n "(cached) " >&6
64653 else
64656 ac_ext=cpp
64657 ac_cpp='$CXXCPP $CPPFLAGS'
64658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64663 /* end confdefs.h. */
64664 #include <math.h>
64666 main ()
64668 frexpf(0, 0);
64670 return 0;
64672 _ACEOF
64673 if ac_fn_cxx_try_compile "$LINENO"; then :
64674 glibcxx_cv_func_frexpf_use=yes
64675 else
64676 glibcxx_cv_func_frexpf_use=no
64678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64679 ac_ext=c
64680 ac_cpp='$CPP $CPPFLAGS'
64681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
64690 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
64692 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
64693 for ac_func in frexpf
64694 do :
64695 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
64696 if test "x$ac_cv_func_frexpf" = xyes; then :
64697 cat >>confdefs.h <<_ACEOF
64698 #define HAVE_FREXPF 1
64699 _ACEOF
64702 done
64704 else
64706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
64707 $as_echo_n "checking for _frexpf declaration... " >&6; }
64708 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
64709 if ${glibcxx_cv_func__frexpf_use+:} false; then :
64710 $as_echo_n "(cached) " >&6
64711 else
64714 ac_ext=cpp
64715 ac_cpp='$CXXCPP $CPPFLAGS'
64716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64721 /* end confdefs.h. */
64722 #include <math.h>
64724 main ()
64726 _frexpf(0, 0);
64728 return 0;
64730 _ACEOF
64731 if ac_fn_cxx_try_compile "$LINENO"; then :
64732 glibcxx_cv_func__frexpf_use=yes
64733 else
64734 glibcxx_cv_func__frexpf_use=no
64736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64737 ac_ext=c
64738 ac_cpp='$CPP $CPPFLAGS'
64739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
64748 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
64750 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
64751 for ac_func in _frexpf
64752 do :
64753 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
64754 if test "x$ac_cv_func__frexpf" = xyes; then :
64755 cat >>confdefs.h <<_ACEOF
64756 #define HAVE__FREXPF 1
64757 _ACEOF
64760 done
64769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
64770 $as_echo_n "checking for hypotf declaration... " >&6; }
64771 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
64772 if ${glibcxx_cv_func_hypotf_use+:} false; then :
64773 $as_echo_n "(cached) " >&6
64774 else
64777 ac_ext=cpp
64778 ac_cpp='$CXXCPP $CPPFLAGS'
64779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64784 /* end confdefs.h. */
64785 #include <math.h>
64787 main ()
64789 hypotf(0, 0);
64791 return 0;
64793 _ACEOF
64794 if ac_fn_cxx_try_compile "$LINENO"; then :
64795 glibcxx_cv_func_hypotf_use=yes
64796 else
64797 glibcxx_cv_func_hypotf_use=no
64799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64800 ac_ext=c
64801 ac_cpp='$CPP $CPPFLAGS'
64802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
64811 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
64813 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
64814 for ac_func in hypotf
64815 do :
64816 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
64817 if test "x$ac_cv_func_hypotf" = xyes; then :
64818 cat >>confdefs.h <<_ACEOF
64819 #define HAVE_HYPOTF 1
64820 _ACEOF
64823 done
64825 else
64827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
64828 $as_echo_n "checking for _hypotf declaration... " >&6; }
64829 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
64830 if ${glibcxx_cv_func__hypotf_use+:} false; then :
64831 $as_echo_n "(cached) " >&6
64832 else
64835 ac_ext=cpp
64836 ac_cpp='$CXXCPP $CPPFLAGS'
64837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64842 /* end confdefs.h. */
64843 #include <math.h>
64845 main ()
64847 _hypotf(0, 0);
64849 return 0;
64851 _ACEOF
64852 if ac_fn_cxx_try_compile "$LINENO"; then :
64853 glibcxx_cv_func__hypotf_use=yes
64854 else
64855 glibcxx_cv_func__hypotf_use=no
64857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64858 ac_ext=c
64859 ac_cpp='$CPP $CPPFLAGS'
64860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
64869 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
64871 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
64872 for ac_func in _hypotf
64873 do :
64874 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
64875 if test "x$ac_cv_func__hypotf" = xyes; then :
64876 cat >>confdefs.h <<_ACEOF
64877 #define HAVE__HYPOTF 1
64878 _ACEOF
64881 done
64890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
64891 $as_echo_n "checking for ldexpf declaration... " >&6; }
64892 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
64893 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
64894 $as_echo_n "(cached) " >&6
64895 else
64898 ac_ext=cpp
64899 ac_cpp='$CXXCPP $CPPFLAGS'
64900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64905 /* end confdefs.h. */
64906 #include <math.h>
64908 main ()
64910 ldexpf(0, 0);
64912 return 0;
64914 _ACEOF
64915 if ac_fn_cxx_try_compile "$LINENO"; then :
64916 glibcxx_cv_func_ldexpf_use=yes
64917 else
64918 glibcxx_cv_func_ldexpf_use=no
64920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64921 ac_ext=c
64922 ac_cpp='$CPP $CPPFLAGS'
64923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
64932 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
64934 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
64935 for ac_func in ldexpf
64936 do :
64937 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
64938 if test "x$ac_cv_func_ldexpf" = xyes; then :
64939 cat >>confdefs.h <<_ACEOF
64940 #define HAVE_LDEXPF 1
64941 _ACEOF
64944 done
64946 else
64948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
64949 $as_echo_n "checking for _ldexpf declaration... " >&6; }
64950 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
64951 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
64952 $as_echo_n "(cached) " >&6
64953 else
64956 ac_ext=cpp
64957 ac_cpp='$CXXCPP $CPPFLAGS'
64958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64963 /* end confdefs.h. */
64964 #include <math.h>
64966 main ()
64968 _ldexpf(0, 0);
64970 return 0;
64972 _ACEOF
64973 if ac_fn_cxx_try_compile "$LINENO"; then :
64974 glibcxx_cv_func__ldexpf_use=yes
64975 else
64976 glibcxx_cv_func__ldexpf_use=no
64978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64979 ac_ext=c
64980 ac_cpp='$CPP $CPPFLAGS'
64981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
64990 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
64992 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
64993 for ac_func in _ldexpf
64994 do :
64995 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
64996 if test "x$ac_cv_func__ldexpf" = xyes; then :
64997 cat >>confdefs.h <<_ACEOF
64998 #define HAVE__LDEXPF 1
64999 _ACEOF
65002 done
65011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
65012 $as_echo_n "checking for logf declaration... " >&6; }
65013 if test x${glibcxx_cv_func_logf_use+set} != xset; then
65014 if ${glibcxx_cv_func_logf_use+:} false; then :
65015 $as_echo_n "(cached) " >&6
65016 else
65019 ac_ext=cpp
65020 ac_cpp='$CXXCPP $CPPFLAGS'
65021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65026 /* end confdefs.h. */
65027 #include <math.h>
65028 #ifdef HAVE_IEEEFP_H
65029 #include <ieeefp.h>
65030 #endif
65033 main ()
65035 logf(0);
65037 return 0;
65039 _ACEOF
65040 if ac_fn_cxx_try_compile "$LINENO"; then :
65041 glibcxx_cv_func_logf_use=yes
65042 else
65043 glibcxx_cv_func_logf_use=no
65045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65046 ac_ext=c
65047 ac_cpp='$CPP $CPPFLAGS'
65048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
65057 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
65059 if test x$glibcxx_cv_func_logf_use = x"yes"; then
65060 for ac_func in logf
65061 do :
65062 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
65063 if test "x$ac_cv_func_logf" = xyes; then :
65064 cat >>confdefs.h <<_ACEOF
65065 #define HAVE_LOGF 1
65066 _ACEOF
65069 done
65071 else
65073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
65074 $as_echo_n "checking for _logf declaration... " >&6; }
65075 if test x${glibcxx_cv_func__logf_use+set} != xset; then
65076 if ${glibcxx_cv_func__logf_use+:} false; then :
65077 $as_echo_n "(cached) " >&6
65078 else
65081 ac_ext=cpp
65082 ac_cpp='$CXXCPP $CPPFLAGS'
65083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65088 /* end confdefs.h. */
65089 #include <math.h>
65090 #ifdef HAVE_IEEEFP_H
65091 #include <ieeefp.h>
65092 #endif
65095 main ()
65097 _logf(0);
65099 return 0;
65101 _ACEOF
65102 if ac_fn_cxx_try_compile "$LINENO"; then :
65103 glibcxx_cv_func__logf_use=yes
65104 else
65105 glibcxx_cv_func__logf_use=no
65107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65108 ac_ext=c
65109 ac_cpp='$CPP $CPPFLAGS'
65110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
65119 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
65121 if test x$glibcxx_cv_func__logf_use = x"yes"; then
65122 for ac_func in _logf
65123 do :
65124 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
65125 if test "x$ac_cv_func__logf" = xyes; then :
65126 cat >>confdefs.h <<_ACEOF
65127 #define HAVE__LOGF 1
65128 _ACEOF
65131 done
65140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
65141 $as_echo_n "checking for log10f declaration... " >&6; }
65142 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
65143 if ${glibcxx_cv_func_log10f_use+:} false; then :
65144 $as_echo_n "(cached) " >&6
65145 else
65148 ac_ext=cpp
65149 ac_cpp='$CXXCPP $CPPFLAGS'
65150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65155 /* end confdefs.h. */
65156 #include <math.h>
65157 #ifdef HAVE_IEEEFP_H
65158 #include <ieeefp.h>
65159 #endif
65162 main ()
65164 log10f(0);
65166 return 0;
65168 _ACEOF
65169 if ac_fn_cxx_try_compile "$LINENO"; then :
65170 glibcxx_cv_func_log10f_use=yes
65171 else
65172 glibcxx_cv_func_log10f_use=no
65174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65175 ac_ext=c
65176 ac_cpp='$CPP $CPPFLAGS'
65177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
65186 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
65188 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
65189 for ac_func in log10f
65190 do :
65191 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
65192 if test "x$ac_cv_func_log10f" = xyes; then :
65193 cat >>confdefs.h <<_ACEOF
65194 #define HAVE_LOG10F 1
65195 _ACEOF
65198 done
65200 else
65202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
65203 $as_echo_n "checking for _log10f declaration... " >&6; }
65204 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
65205 if ${glibcxx_cv_func__log10f_use+:} false; then :
65206 $as_echo_n "(cached) " >&6
65207 else
65210 ac_ext=cpp
65211 ac_cpp='$CXXCPP $CPPFLAGS'
65212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65217 /* end confdefs.h. */
65218 #include <math.h>
65219 #ifdef HAVE_IEEEFP_H
65220 #include <ieeefp.h>
65221 #endif
65224 main ()
65226 _log10f(0);
65228 return 0;
65230 _ACEOF
65231 if ac_fn_cxx_try_compile "$LINENO"; then :
65232 glibcxx_cv_func__log10f_use=yes
65233 else
65234 glibcxx_cv_func__log10f_use=no
65236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65237 ac_ext=c
65238 ac_cpp='$CPP $CPPFLAGS'
65239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
65248 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
65250 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
65251 for ac_func in _log10f
65252 do :
65253 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
65254 if test "x$ac_cv_func__log10f" = xyes; then :
65255 cat >>confdefs.h <<_ACEOF
65256 #define HAVE__LOG10F 1
65257 _ACEOF
65260 done
65269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
65270 $as_echo_n "checking for modff declaration... " >&6; }
65271 if test x${glibcxx_cv_func_modff_use+set} != xset; then
65272 if ${glibcxx_cv_func_modff_use+:} false; then :
65273 $as_echo_n "(cached) " >&6
65274 else
65277 ac_ext=cpp
65278 ac_cpp='$CXXCPP $CPPFLAGS'
65279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65284 /* end confdefs.h. */
65285 #include <math.h>
65287 main ()
65289 modff(0, 0);
65291 return 0;
65293 _ACEOF
65294 if ac_fn_cxx_try_compile "$LINENO"; then :
65295 glibcxx_cv_func_modff_use=yes
65296 else
65297 glibcxx_cv_func_modff_use=no
65299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65300 ac_ext=c
65301 ac_cpp='$CPP $CPPFLAGS'
65302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
65311 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
65313 if test x$glibcxx_cv_func_modff_use = x"yes"; then
65314 for ac_func in modff
65315 do :
65316 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
65317 if test "x$ac_cv_func_modff" = xyes; then :
65318 cat >>confdefs.h <<_ACEOF
65319 #define HAVE_MODFF 1
65320 _ACEOF
65323 done
65325 else
65327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
65328 $as_echo_n "checking for _modff declaration... " >&6; }
65329 if test x${glibcxx_cv_func__modff_use+set} != xset; then
65330 if ${glibcxx_cv_func__modff_use+:} false; then :
65331 $as_echo_n "(cached) " >&6
65332 else
65335 ac_ext=cpp
65336 ac_cpp='$CXXCPP $CPPFLAGS'
65337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65342 /* end confdefs.h. */
65343 #include <math.h>
65345 main ()
65347 _modff(0, 0);
65349 return 0;
65351 _ACEOF
65352 if ac_fn_cxx_try_compile "$LINENO"; then :
65353 glibcxx_cv_func__modff_use=yes
65354 else
65355 glibcxx_cv_func__modff_use=no
65357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65358 ac_ext=c
65359 ac_cpp='$CPP $CPPFLAGS'
65360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
65369 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
65371 if test x$glibcxx_cv_func__modff_use = x"yes"; then
65372 for ac_func in _modff
65373 do :
65374 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
65375 if test "x$ac_cv_func__modff" = xyes; then :
65376 cat >>confdefs.h <<_ACEOF
65377 #define HAVE__MODFF 1
65378 _ACEOF
65381 done
65390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
65391 $as_echo_n "checking for modf declaration... " >&6; }
65392 if test x${glibcxx_cv_func_modf_use+set} != xset; then
65393 if ${glibcxx_cv_func_modf_use+:} false; then :
65394 $as_echo_n "(cached) " >&6
65395 else
65398 ac_ext=cpp
65399 ac_cpp='$CXXCPP $CPPFLAGS'
65400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65405 /* end confdefs.h. */
65406 #include <math.h>
65408 main ()
65410 modf(0, 0);
65412 return 0;
65414 _ACEOF
65415 if ac_fn_cxx_try_compile "$LINENO"; then :
65416 glibcxx_cv_func_modf_use=yes
65417 else
65418 glibcxx_cv_func_modf_use=no
65420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65421 ac_ext=c
65422 ac_cpp='$CPP $CPPFLAGS'
65423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
65432 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
65434 if test x$glibcxx_cv_func_modf_use = x"yes"; then
65435 for ac_func in modf
65436 do :
65437 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
65438 if test "x$ac_cv_func_modf" = xyes; then :
65439 cat >>confdefs.h <<_ACEOF
65440 #define HAVE_MODF 1
65441 _ACEOF
65444 done
65446 else
65448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
65449 $as_echo_n "checking for _modf declaration... " >&6; }
65450 if test x${glibcxx_cv_func__modf_use+set} != xset; then
65451 if ${glibcxx_cv_func__modf_use+:} false; then :
65452 $as_echo_n "(cached) " >&6
65453 else
65456 ac_ext=cpp
65457 ac_cpp='$CXXCPP $CPPFLAGS'
65458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65463 /* end confdefs.h. */
65464 #include <math.h>
65466 main ()
65468 _modf(0, 0);
65470 return 0;
65472 _ACEOF
65473 if ac_fn_cxx_try_compile "$LINENO"; then :
65474 glibcxx_cv_func__modf_use=yes
65475 else
65476 glibcxx_cv_func__modf_use=no
65478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65479 ac_ext=c
65480 ac_cpp='$CPP $CPPFLAGS'
65481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
65490 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
65492 if test x$glibcxx_cv_func__modf_use = x"yes"; then
65493 for ac_func in _modf
65494 do :
65495 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
65496 if test "x$ac_cv_func__modf" = xyes; then :
65497 cat >>confdefs.h <<_ACEOF
65498 #define HAVE__MODF 1
65499 _ACEOF
65502 done
65511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
65512 $as_echo_n "checking for powf declaration... " >&6; }
65513 if test x${glibcxx_cv_func_powf_use+set} != xset; then
65514 if ${glibcxx_cv_func_powf_use+:} false; then :
65515 $as_echo_n "(cached) " >&6
65516 else
65519 ac_ext=cpp
65520 ac_cpp='$CXXCPP $CPPFLAGS'
65521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65526 /* end confdefs.h. */
65527 #include <math.h>
65529 main ()
65531 powf(0, 0);
65533 return 0;
65535 _ACEOF
65536 if ac_fn_cxx_try_compile "$LINENO"; then :
65537 glibcxx_cv_func_powf_use=yes
65538 else
65539 glibcxx_cv_func_powf_use=no
65541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65542 ac_ext=c
65543 ac_cpp='$CPP $CPPFLAGS'
65544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
65553 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
65555 if test x$glibcxx_cv_func_powf_use = x"yes"; then
65556 for ac_func in powf
65557 do :
65558 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
65559 if test "x$ac_cv_func_powf" = xyes; then :
65560 cat >>confdefs.h <<_ACEOF
65561 #define HAVE_POWF 1
65562 _ACEOF
65565 done
65567 else
65569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
65570 $as_echo_n "checking for _powf declaration... " >&6; }
65571 if test x${glibcxx_cv_func__powf_use+set} != xset; then
65572 if ${glibcxx_cv_func__powf_use+:} false; then :
65573 $as_echo_n "(cached) " >&6
65574 else
65577 ac_ext=cpp
65578 ac_cpp='$CXXCPP $CPPFLAGS'
65579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65584 /* end confdefs.h. */
65585 #include <math.h>
65587 main ()
65589 _powf(0, 0);
65591 return 0;
65593 _ACEOF
65594 if ac_fn_cxx_try_compile "$LINENO"; then :
65595 glibcxx_cv_func__powf_use=yes
65596 else
65597 glibcxx_cv_func__powf_use=no
65599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65600 ac_ext=c
65601 ac_cpp='$CPP $CPPFLAGS'
65602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
65611 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
65613 if test x$glibcxx_cv_func__powf_use = x"yes"; then
65614 for ac_func in _powf
65615 do :
65616 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
65617 if test "x$ac_cv_func__powf" = xyes; then :
65618 cat >>confdefs.h <<_ACEOF
65619 #define HAVE__POWF 1
65620 _ACEOF
65623 done
65632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
65633 $as_echo_n "checking for sqrtf declaration... " >&6; }
65634 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
65635 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
65636 $as_echo_n "(cached) " >&6
65637 else
65640 ac_ext=cpp
65641 ac_cpp='$CXXCPP $CPPFLAGS'
65642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65647 /* end confdefs.h. */
65648 #include <math.h>
65649 #ifdef HAVE_IEEEFP_H
65650 #include <ieeefp.h>
65651 #endif
65654 main ()
65656 sqrtf(0);
65658 return 0;
65660 _ACEOF
65661 if ac_fn_cxx_try_compile "$LINENO"; then :
65662 glibcxx_cv_func_sqrtf_use=yes
65663 else
65664 glibcxx_cv_func_sqrtf_use=no
65666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65667 ac_ext=c
65668 ac_cpp='$CPP $CPPFLAGS'
65669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
65678 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
65680 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
65681 for ac_func in sqrtf
65682 do :
65683 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
65684 if test "x$ac_cv_func_sqrtf" = xyes; then :
65685 cat >>confdefs.h <<_ACEOF
65686 #define HAVE_SQRTF 1
65687 _ACEOF
65690 done
65692 else
65694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
65695 $as_echo_n "checking for _sqrtf declaration... " >&6; }
65696 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
65697 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
65698 $as_echo_n "(cached) " >&6
65699 else
65702 ac_ext=cpp
65703 ac_cpp='$CXXCPP $CPPFLAGS'
65704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65709 /* end confdefs.h. */
65710 #include <math.h>
65711 #ifdef HAVE_IEEEFP_H
65712 #include <ieeefp.h>
65713 #endif
65716 main ()
65718 _sqrtf(0);
65720 return 0;
65722 _ACEOF
65723 if ac_fn_cxx_try_compile "$LINENO"; then :
65724 glibcxx_cv_func__sqrtf_use=yes
65725 else
65726 glibcxx_cv_func__sqrtf_use=no
65728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65729 ac_ext=c
65730 ac_cpp='$CPP $CPPFLAGS'
65731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
65740 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
65742 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
65743 for ac_func in _sqrtf
65744 do :
65745 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
65746 if test "x$ac_cv_func__sqrtf" = xyes; then :
65747 cat >>confdefs.h <<_ACEOF
65748 #define HAVE__SQRTF 1
65749 _ACEOF
65752 done
65761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
65762 $as_echo_n "checking for sincosf declaration... " >&6; }
65763 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
65764 if ${glibcxx_cv_func_sincosf_use+:} false; then :
65765 $as_echo_n "(cached) " >&6
65766 else
65769 ac_ext=cpp
65770 ac_cpp='$CXXCPP $CPPFLAGS'
65771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65776 /* end confdefs.h. */
65777 #include <math.h>
65779 main ()
65781 sincosf(0, 0, 0);
65783 return 0;
65785 _ACEOF
65786 if ac_fn_cxx_try_compile "$LINENO"; then :
65787 glibcxx_cv_func_sincosf_use=yes
65788 else
65789 glibcxx_cv_func_sincosf_use=no
65791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65792 ac_ext=c
65793 ac_cpp='$CPP $CPPFLAGS'
65794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
65803 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
65805 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
65806 for ac_func in sincosf
65807 do :
65808 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
65809 if test "x$ac_cv_func_sincosf" = xyes; then :
65810 cat >>confdefs.h <<_ACEOF
65811 #define HAVE_SINCOSF 1
65812 _ACEOF
65815 done
65817 else
65819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
65820 $as_echo_n "checking for _sincosf declaration... " >&6; }
65821 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
65822 if ${glibcxx_cv_func__sincosf_use+:} false; then :
65823 $as_echo_n "(cached) " >&6
65824 else
65827 ac_ext=cpp
65828 ac_cpp='$CXXCPP $CPPFLAGS'
65829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65834 /* end confdefs.h. */
65835 #include <math.h>
65837 main ()
65839 _sincosf(0, 0, 0);
65841 return 0;
65843 _ACEOF
65844 if ac_fn_cxx_try_compile "$LINENO"; then :
65845 glibcxx_cv_func__sincosf_use=yes
65846 else
65847 glibcxx_cv_func__sincosf_use=no
65849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65850 ac_ext=c
65851 ac_cpp='$CPP $CPPFLAGS'
65852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
65861 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
65863 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
65864 for ac_func in _sincosf
65865 do :
65866 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
65867 if test "x$ac_cv_func__sincosf" = xyes; then :
65868 cat >>confdefs.h <<_ACEOF
65869 #define HAVE__SINCOSF 1
65870 _ACEOF
65873 done
65882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
65883 $as_echo_n "checking for finitef declaration... " >&6; }
65884 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
65885 if ${glibcxx_cv_func_finitef_use+:} false; then :
65886 $as_echo_n "(cached) " >&6
65887 else
65890 ac_ext=cpp
65891 ac_cpp='$CXXCPP $CPPFLAGS'
65892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65897 /* end confdefs.h. */
65898 #include <math.h>
65899 #ifdef HAVE_IEEEFP_H
65900 #include <ieeefp.h>
65901 #endif
65904 main ()
65906 finitef(0);
65908 return 0;
65910 _ACEOF
65911 if ac_fn_cxx_try_compile "$LINENO"; then :
65912 glibcxx_cv_func_finitef_use=yes
65913 else
65914 glibcxx_cv_func_finitef_use=no
65916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65917 ac_ext=c
65918 ac_cpp='$CPP $CPPFLAGS'
65919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
65928 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
65930 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
65931 for ac_func in finitef
65932 do :
65933 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
65934 if test "x$ac_cv_func_finitef" = xyes; then :
65935 cat >>confdefs.h <<_ACEOF
65936 #define HAVE_FINITEF 1
65937 _ACEOF
65940 done
65942 else
65944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
65945 $as_echo_n "checking for _finitef declaration... " >&6; }
65946 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
65947 if ${glibcxx_cv_func__finitef_use+:} false; then :
65948 $as_echo_n "(cached) " >&6
65949 else
65952 ac_ext=cpp
65953 ac_cpp='$CXXCPP $CPPFLAGS'
65954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65959 /* end confdefs.h. */
65960 #include <math.h>
65961 #ifdef HAVE_IEEEFP_H
65962 #include <ieeefp.h>
65963 #endif
65966 main ()
65968 _finitef(0);
65970 return 0;
65972 _ACEOF
65973 if ac_fn_cxx_try_compile "$LINENO"; then :
65974 glibcxx_cv_func__finitef_use=yes
65975 else
65976 glibcxx_cv_func__finitef_use=no
65978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65979 ac_ext=c
65980 ac_cpp='$CPP $CPPFLAGS'
65981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
65990 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
65992 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
65993 for ac_func in _finitef
65994 do :
65995 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
65996 if test "x$ac_cv_func__finitef" = xyes; then :
65997 cat >>confdefs.h <<_ACEOF
65998 #define HAVE__FINITEF 1
65999 _ACEOF
66002 done
66011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
66012 $as_echo_n "checking for long double trig functions... " >&6; }
66013 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
66014 $as_echo_n "(cached) " >&6
66015 else
66018 ac_ext=cpp
66019 ac_cpp='$CXXCPP $CPPFLAGS'
66020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66025 /* end confdefs.h. */
66026 #include <math.h>
66028 main ()
66030 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
66032 return 0;
66034 _ACEOF
66035 if ac_fn_cxx_try_compile "$LINENO"; then :
66036 glibcxx_cv_func_long_double_trig_use=yes
66037 else
66038 glibcxx_cv_func_long_double_trig_use=no
66040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66041 ac_ext=c
66042 ac_cpp='$CPP $CPPFLAGS'
66043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
66050 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
66051 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
66052 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
66053 do :
66054 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66055 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66056 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
66057 cat >>confdefs.h <<_ACEOF
66058 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66059 _ACEOF
66062 done
66064 else
66065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
66066 $as_echo_n "checking for _long double trig functions... " >&6; }
66067 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
66068 $as_echo_n "(cached) " >&6
66069 else
66072 ac_ext=cpp
66073 ac_cpp='$CXXCPP $CPPFLAGS'
66074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66079 /* end confdefs.h. */
66080 #include <math.h>
66082 main ()
66084 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
66086 return 0;
66088 _ACEOF
66089 if ac_fn_cxx_try_compile "$LINENO"; then :
66090 glibcxx_cv_func__long_double_trig_use=yes
66091 else
66092 glibcxx_cv_func__long_double_trig_use=no
66094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66095 ac_ext=c
66096 ac_cpp='$CPP $CPPFLAGS'
66097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
66104 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
66105 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
66106 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
66107 do :
66108 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66109 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66110 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
66111 cat >>confdefs.h <<_ACEOF
66112 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66113 _ACEOF
66116 done
66125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
66126 $as_echo_n "checking for long double round functions... " >&6; }
66127 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
66128 $as_echo_n "(cached) " >&6
66129 else
66132 ac_ext=cpp
66133 ac_cpp='$CXXCPP $CPPFLAGS'
66134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66139 /* end confdefs.h. */
66140 #include <math.h>
66142 main ()
66144 ceill (0); floorl (0);
66146 return 0;
66148 _ACEOF
66149 if ac_fn_cxx_try_compile "$LINENO"; then :
66150 glibcxx_cv_func_long_double_round_use=yes
66151 else
66152 glibcxx_cv_func_long_double_round_use=no
66154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66155 ac_ext=c
66156 ac_cpp='$CPP $CPPFLAGS'
66157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
66164 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
66165 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
66166 for ac_func in ceill floorl
66167 do :
66168 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66169 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66170 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
66171 cat >>confdefs.h <<_ACEOF
66172 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66173 _ACEOF
66176 done
66178 else
66179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
66180 $as_echo_n "checking for _long double round functions... " >&6; }
66181 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
66182 $as_echo_n "(cached) " >&6
66183 else
66186 ac_ext=cpp
66187 ac_cpp='$CXXCPP $CPPFLAGS'
66188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66193 /* end confdefs.h. */
66194 #include <math.h>
66196 main ()
66198 _ceill (0); _floorl (0);
66200 return 0;
66202 _ACEOF
66203 if ac_fn_cxx_try_compile "$LINENO"; then :
66204 glibcxx_cv_func__long_double_round_use=yes
66205 else
66206 glibcxx_cv_func__long_double_round_use=no
66208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66209 ac_ext=c
66210 ac_cpp='$CPP $CPPFLAGS'
66211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
66218 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
66219 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
66220 for ac_func in _ceill _floorl
66221 do :
66222 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66223 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66224 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
66225 cat >>confdefs.h <<_ACEOF
66226 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66227 _ACEOF
66230 done
66240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
66241 $as_echo_n "checking for isnanl declaration... " >&6; }
66242 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
66243 if ${glibcxx_cv_func_isnanl_use+:} false; then :
66244 $as_echo_n "(cached) " >&6
66245 else
66248 ac_ext=cpp
66249 ac_cpp='$CXXCPP $CPPFLAGS'
66250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66255 /* end confdefs.h. */
66256 #include <math.h>
66257 #ifdef HAVE_IEEEFP_H
66258 #include <ieeefp.h>
66259 #endif
66262 main ()
66264 isnanl(0);
66266 return 0;
66268 _ACEOF
66269 if ac_fn_cxx_try_compile "$LINENO"; then :
66270 glibcxx_cv_func_isnanl_use=yes
66271 else
66272 glibcxx_cv_func_isnanl_use=no
66274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66275 ac_ext=c
66276 ac_cpp='$CPP $CPPFLAGS'
66277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
66286 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
66288 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
66289 for ac_func in isnanl
66290 do :
66291 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
66292 if test "x$ac_cv_func_isnanl" = xyes; then :
66293 cat >>confdefs.h <<_ACEOF
66294 #define HAVE_ISNANL 1
66295 _ACEOF
66298 done
66300 else
66302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
66303 $as_echo_n "checking for _isnanl declaration... " >&6; }
66304 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
66305 if ${glibcxx_cv_func__isnanl_use+:} false; then :
66306 $as_echo_n "(cached) " >&6
66307 else
66310 ac_ext=cpp
66311 ac_cpp='$CXXCPP $CPPFLAGS'
66312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66317 /* end confdefs.h. */
66318 #include <math.h>
66319 #ifdef HAVE_IEEEFP_H
66320 #include <ieeefp.h>
66321 #endif
66324 main ()
66326 _isnanl(0);
66328 return 0;
66330 _ACEOF
66331 if ac_fn_cxx_try_compile "$LINENO"; then :
66332 glibcxx_cv_func__isnanl_use=yes
66333 else
66334 glibcxx_cv_func__isnanl_use=no
66336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66337 ac_ext=c
66338 ac_cpp='$CPP $CPPFLAGS'
66339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
66348 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
66350 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
66351 for ac_func in _isnanl
66352 do :
66353 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
66354 if test "x$ac_cv_func__isnanl" = xyes; then :
66355 cat >>confdefs.h <<_ACEOF
66356 #define HAVE__ISNANL 1
66357 _ACEOF
66360 done
66369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
66370 $as_echo_n "checking for isinfl declaration... " >&6; }
66371 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
66372 if ${glibcxx_cv_func_isinfl_use+:} false; then :
66373 $as_echo_n "(cached) " >&6
66374 else
66377 ac_ext=cpp
66378 ac_cpp='$CXXCPP $CPPFLAGS'
66379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66384 /* end confdefs.h. */
66385 #include <math.h>
66386 #ifdef HAVE_IEEEFP_H
66387 #include <ieeefp.h>
66388 #endif
66391 main ()
66393 isinfl(0);
66395 return 0;
66397 _ACEOF
66398 if ac_fn_cxx_try_compile "$LINENO"; then :
66399 glibcxx_cv_func_isinfl_use=yes
66400 else
66401 glibcxx_cv_func_isinfl_use=no
66403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66404 ac_ext=c
66405 ac_cpp='$CPP $CPPFLAGS'
66406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
66415 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
66417 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
66418 for ac_func in isinfl
66419 do :
66420 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
66421 if test "x$ac_cv_func_isinfl" = xyes; then :
66422 cat >>confdefs.h <<_ACEOF
66423 #define HAVE_ISINFL 1
66424 _ACEOF
66427 done
66429 else
66431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
66432 $as_echo_n "checking for _isinfl declaration... " >&6; }
66433 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
66434 if ${glibcxx_cv_func__isinfl_use+:} false; then :
66435 $as_echo_n "(cached) " >&6
66436 else
66439 ac_ext=cpp
66440 ac_cpp='$CXXCPP $CPPFLAGS'
66441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66446 /* end confdefs.h. */
66447 #include <math.h>
66448 #ifdef HAVE_IEEEFP_H
66449 #include <ieeefp.h>
66450 #endif
66453 main ()
66455 _isinfl(0);
66457 return 0;
66459 _ACEOF
66460 if ac_fn_cxx_try_compile "$LINENO"; then :
66461 glibcxx_cv_func__isinfl_use=yes
66462 else
66463 glibcxx_cv_func__isinfl_use=no
66465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66466 ac_ext=c
66467 ac_cpp='$CPP $CPPFLAGS'
66468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
66477 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
66479 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
66480 for ac_func in _isinfl
66481 do :
66482 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
66483 if test "x$ac_cv_func__isinfl" = xyes; then :
66484 cat >>confdefs.h <<_ACEOF
66485 #define HAVE__ISINFL 1
66486 _ACEOF
66489 done
66498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
66499 $as_echo_n "checking for atan2l declaration... " >&6; }
66500 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
66501 if ${glibcxx_cv_func_atan2l_use+:} false; then :
66502 $as_echo_n "(cached) " >&6
66503 else
66506 ac_ext=cpp
66507 ac_cpp='$CXXCPP $CPPFLAGS'
66508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66513 /* end confdefs.h. */
66514 #include <math.h>
66516 main ()
66518 atan2l(0, 0);
66520 return 0;
66522 _ACEOF
66523 if ac_fn_cxx_try_compile "$LINENO"; then :
66524 glibcxx_cv_func_atan2l_use=yes
66525 else
66526 glibcxx_cv_func_atan2l_use=no
66528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66529 ac_ext=c
66530 ac_cpp='$CPP $CPPFLAGS'
66531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
66540 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
66542 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
66543 for ac_func in atan2l
66544 do :
66545 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
66546 if test "x$ac_cv_func_atan2l" = xyes; then :
66547 cat >>confdefs.h <<_ACEOF
66548 #define HAVE_ATAN2L 1
66549 _ACEOF
66552 done
66554 else
66556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
66557 $as_echo_n "checking for _atan2l declaration... " >&6; }
66558 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
66559 if ${glibcxx_cv_func__atan2l_use+:} false; then :
66560 $as_echo_n "(cached) " >&6
66561 else
66564 ac_ext=cpp
66565 ac_cpp='$CXXCPP $CPPFLAGS'
66566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66571 /* end confdefs.h. */
66572 #include <math.h>
66574 main ()
66576 _atan2l(0, 0);
66578 return 0;
66580 _ACEOF
66581 if ac_fn_cxx_try_compile "$LINENO"; then :
66582 glibcxx_cv_func__atan2l_use=yes
66583 else
66584 glibcxx_cv_func__atan2l_use=no
66586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66587 ac_ext=c
66588 ac_cpp='$CPP $CPPFLAGS'
66589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
66598 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
66600 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
66601 for ac_func in _atan2l
66602 do :
66603 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
66604 if test "x$ac_cv_func__atan2l" = xyes; then :
66605 cat >>confdefs.h <<_ACEOF
66606 #define HAVE__ATAN2L 1
66607 _ACEOF
66610 done
66619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
66620 $as_echo_n "checking for expl declaration... " >&6; }
66621 if test x${glibcxx_cv_func_expl_use+set} != xset; then
66622 if ${glibcxx_cv_func_expl_use+:} false; then :
66623 $as_echo_n "(cached) " >&6
66624 else
66627 ac_ext=cpp
66628 ac_cpp='$CXXCPP $CPPFLAGS'
66629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66634 /* end confdefs.h. */
66635 #include <math.h>
66636 #ifdef HAVE_IEEEFP_H
66637 #include <ieeefp.h>
66638 #endif
66641 main ()
66643 expl(0);
66645 return 0;
66647 _ACEOF
66648 if ac_fn_cxx_try_compile "$LINENO"; then :
66649 glibcxx_cv_func_expl_use=yes
66650 else
66651 glibcxx_cv_func_expl_use=no
66653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66654 ac_ext=c
66655 ac_cpp='$CPP $CPPFLAGS'
66656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
66665 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
66667 if test x$glibcxx_cv_func_expl_use = x"yes"; then
66668 for ac_func in expl
66669 do :
66670 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
66671 if test "x$ac_cv_func_expl" = xyes; then :
66672 cat >>confdefs.h <<_ACEOF
66673 #define HAVE_EXPL 1
66674 _ACEOF
66677 done
66679 else
66681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
66682 $as_echo_n "checking for _expl declaration... " >&6; }
66683 if test x${glibcxx_cv_func__expl_use+set} != xset; then
66684 if ${glibcxx_cv_func__expl_use+:} false; then :
66685 $as_echo_n "(cached) " >&6
66686 else
66689 ac_ext=cpp
66690 ac_cpp='$CXXCPP $CPPFLAGS'
66691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66696 /* end confdefs.h. */
66697 #include <math.h>
66698 #ifdef HAVE_IEEEFP_H
66699 #include <ieeefp.h>
66700 #endif
66703 main ()
66705 _expl(0);
66707 return 0;
66709 _ACEOF
66710 if ac_fn_cxx_try_compile "$LINENO"; then :
66711 glibcxx_cv_func__expl_use=yes
66712 else
66713 glibcxx_cv_func__expl_use=no
66715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66716 ac_ext=c
66717 ac_cpp='$CPP $CPPFLAGS'
66718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
66727 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
66729 if test x$glibcxx_cv_func__expl_use = x"yes"; then
66730 for ac_func in _expl
66731 do :
66732 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
66733 if test "x$ac_cv_func__expl" = xyes; then :
66734 cat >>confdefs.h <<_ACEOF
66735 #define HAVE__EXPL 1
66736 _ACEOF
66739 done
66748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
66749 $as_echo_n "checking for fabsl declaration... " >&6; }
66750 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
66751 if ${glibcxx_cv_func_fabsl_use+:} false; then :
66752 $as_echo_n "(cached) " >&6
66753 else
66756 ac_ext=cpp
66757 ac_cpp='$CXXCPP $CPPFLAGS'
66758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66763 /* end confdefs.h. */
66764 #include <math.h>
66765 #ifdef HAVE_IEEEFP_H
66766 #include <ieeefp.h>
66767 #endif
66770 main ()
66772 fabsl(0);
66774 return 0;
66776 _ACEOF
66777 if ac_fn_cxx_try_compile "$LINENO"; then :
66778 glibcxx_cv_func_fabsl_use=yes
66779 else
66780 glibcxx_cv_func_fabsl_use=no
66782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66783 ac_ext=c
66784 ac_cpp='$CPP $CPPFLAGS'
66785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
66794 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
66796 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
66797 for ac_func in fabsl
66798 do :
66799 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
66800 if test "x$ac_cv_func_fabsl" = xyes; then :
66801 cat >>confdefs.h <<_ACEOF
66802 #define HAVE_FABSL 1
66803 _ACEOF
66806 done
66808 else
66810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
66811 $as_echo_n "checking for _fabsl declaration... " >&6; }
66812 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
66813 if ${glibcxx_cv_func__fabsl_use+:} false; then :
66814 $as_echo_n "(cached) " >&6
66815 else
66818 ac_ext=cpp
66819 ac_cpp='$CXXCPP $CPPFLAGS'
66820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66825 /* end confdefs.h. */
66826 #include <math.h>
66827 #ifdef HAVE_IEEEFP_H
66828 #include <ieeefp.h>
66829 #endif
66832 main ()
66834 _fabsl(0);
66836 return 0;
66838 _ACEOF
66839 if ac_fn_cxx_try_compile "$LINENO"; then :
66840 glibcxx_cv_func__fabsl_use=yes
66841 else
66842 glibcxx_cv_func__fabsl_use=no
66844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66845 ac_ext=c
66846 ac_cpp='$CPP $CPPFLAGS'
66847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
66856 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
66858 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
66859 for ac_func in _fabsl
66860 do :
66861 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
66862 if test "x$ac_cv_func__fabsl" = xyes; then :
66863 cat >>confdefs.h <<_ACEOF
66864 #define HAVE__FABSL 1
66865 _ACEOF
66868 done
66877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
66878 $as_echo_n "checking for fmodl declaration... " >&6; }
66879 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
66880 if ${glibcxx_cv_func_fmodl_use+:} false; then :
66881 $as_echo_n "(cached) " >&6
66882 else
66885 ac_ext=cpp
66886 ac_cpp='$CXXCPP $CPPFLAGS'
66887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66892 /* end confdefs.h. */
66893 #include <math.h>
66895 main ()
66897 fmodl(0, 0);
66899 return 0;
66901 _ACEOF
66902 if ac_fn_cxx_try_compile "$LINENO"; then :
66903 glibcxx_cv_func_fmodl_use=yes
66904 else
66905 glibcxx_cv_func_fmodl_use=no
66907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66908 ac_ext=c
66909 ac_cpp='$CPP $CPPFLAGS'
66910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
66919 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
66921 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
66922 for ac_func in fmodl
66923 do :
66924 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
66925 if test "x$ac_cv_func_fmodl" = xyes; then :
66926 cat >>confdefs.h <<_ACEOF
66927 #define HAVE_FMODL 1
66928 _ACEOF
66931 done
66933 else
66935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
66936 $as_echo_n "checking for _fmodl declaration... " >&6; }
66937 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
66938 if ${glibcxx_cv_func__fmodl_use+:} false; then :
66939 $as_echo_n "(cached) " >&6
66940 else
66943 ac_ext=cpp
66944 ac_cpp='$CXXCPP $CPPFLAGS'
66945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66950 /* end confdefs.h. */
66951 #include <math.h>
66953 main ()
66955 _fmodl(0, 0);
66957 return 0;
66959 _ACEOF
66960 if ac_fn_cxx_try_compile "$LINENO"; then :
66961 glibcxx_cv_func__fmodl_use=yes
66962 else
66963 glibcxx_cv_func__fmodl_use=no
66965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66966 ac_ext=c
66967 ac_cpp='$CPP $CPPFLAGS'
66968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
66977 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
66979 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
66980 for ac_func in _fmodl
66981 do :
66982 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
66983 if test "x$ac_cv_func__fmodl" = xyes; then :
66984 cat >>confdefs.h <<_ACEOF
66985 #define HAVE__FMODL 1
66986 _ACEOF
66989 done
66998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
66999 $as_echo_n "checking for frexpl declaration... " >&6; }
67000 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
67001 if ${glibcxx_cv_func_frexpl_use+:} false; then :
67002 $as_echo_n "(cached) " >&6
67003 else
67006 ac_ext=cpp
67007 ac_cpp='$CXXCPP $CPPFLAGS'
67008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67013 /* end confdefs.h. */
67014 #include <math.h>
67016 main ()
67018 frexpl(0, 0);
67020 return 0;
67022 _ACEOF
67023 if ac_fn_cxx_try_compile "$LINENO"; then :
67024 glibcxx_cv_func_frexpl_use=yes
67025 else
67026 glibcxx_cv_func_frexpl_use=no
67028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67029 ac_ext=c
67030 ac_cpp='$CPP $CPPFLAGS'
67031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
67040 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
67042 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
67043 for ac_func in frexpl
67044 do :
67045 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
67046 if test "x$ac_cv_func_frexpl" = xyes; then :
67047 cat >>confdefs.h <<_ACEOF
67048 #define HAVE_FREXPL 1
67049 _ACEOF
67052 done
67054 else
67056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
67057 $as_echo_n "checking for _frexpl declaration... " >&6; }
67058 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
67059 if ${glibcxx_cv_func__frexpl_use+:} false; then :
67060 $as_echo_n "(cached) " >&6
67061 else
67064 ac_ext=cpp
67065 ac_cpp='$CXXCPP $CPPFLAGS'
67066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67071 /* end confdefs.h. */
67072 #include <math.h>
67074 main ()
67076 _frexpl(0, 0);
67078 return 0;
67080 _ACEOF
67081 if ac_fn_cxx_try_compile "$LINENO"; then :
67082 glibcxx_cv_func__frexpl_use=yes
67083 else
67084 glibcxx_cv_func__frexpl_use=no
67086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67087 ac_ext=c
67088 ac_cpp='$CPP $CPPFLAGS'
67089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
67098 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
67100 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
67101 for ac_func in _frexpl
67102 do :
67103 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
67104 if test "x$ac_cv_func__frexpl" = xyes; then :
67105 cat >>confdefs.h <<_ACEOF
67106 #define HAVE__FREXPL 1
67107 _ACEOF
67110 done
67119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
67120 $as_echo_n "checking for hypotl declaration... " >&6; }
67121 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
67122 if ${glibcxx_cv_func_hypotl_use+:} false; then :
67123 $as_echo_n "(cached) " >&6
67124 else
67127 ac_ext=cpp
67128 ac_cpp='$CXXCPP $CPPFLAGS'
67129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67134 /* end confdefs.h. */
67135 #include <math.h>
67137 main ()
67139 hypotl(0, 0);
67141 return 0;
67143 _ACEOF
67144 if ac_fn_cxx_try_compile "$LINENO"; then :
67145 glibcxx_cv_func_hypotl_use=yes
67146 else
67147 glibcxx_cv_func_hypotl_use=no
67149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67150 ac_ext=c
67151 ac_cpp='$CPP $CPPFLAGS'
67152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
67161 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
67163 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
67164 for ac_func in hypotl
67165 do :
67166 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
67167 if test "x$ac_cv_func_hypotl" = xyes; then :
67168 cat >>confdefs.h <<_ACEOF
67169 #define HAVE_HYPOTL 1
67170 _ACEOF
67173 done
67175 else
67177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
67178 $as_echo_n "checking for _hypotl declaration... " >&6; }
67179 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
67180 if ${glibcxx_cv_func__hypotl_use+:} false; then :
67181 $as_echo_n "(cached) " >&6
67182 else
67185 ac_ext=cpp
67186 ac_cpp='$CXXCPP $CPPFLAGS'
67187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67192 /* end confdefs.h. */
67193 #include <math.h>
67195 main ()
67197 _hypotl(0, 0);
67199 return 0;
67201 _ACEOF
67202 if ac_fn_cxx_try_compile "$LINENO"; then :
67203 glibcxx_cv_func__hypotl_use=yes
67204 else
67205 glibcxx_cv_func__hypotl_use=no
67207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67208 ac_ext=c
67209 ac_cpp='$CPP $CPPFLAGS'
67210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
67219 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
67221 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
67222 for ac_func in _hypotl
67223 do :
67224 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
67225 if test "x$ac_cv_func__hypotl" = xyes; then :
67226 cat >>confdefs.h <<_ACEOF
67227 #define HAVE__HYPOTL 1
67228 _ACEOF
67231 done
67240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
67241 $as_echo_n "checking for ldexpl declaration... " >&6; }
67242 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
67243 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
67244 $as_echo_n "(cached) " >&6
67245 else
67248 ac_ext=cpp
67249 ac_cpp='$CXXCPP $CPPFLAGS'
67250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67255 /* end confdefs.h. */
67256 #include <math.h>
67258 main ()
67260 ldexpl(0, 0);
67262 return 0;
67264 _ACEOF
67265 if ac_fn_cxx_try_compile "$LINENO"; then :
67266 glibcxx_cv_func_ldexpl_use=yes
67267 else
67268 glibcxx_cv_func_ldexpl_use=no
67270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67271 ac_ext=c
67272 ac_cpp='$CPP $CPPFLAGS'
67273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
67282 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
67284 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
67285 for ac_func in ldexpl
67286 do :
67287 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
67288 if test "x$ac_cv_func_ldexpl" = xyes; then :
67289 cat >>confdefs.h <<_ACEOF
67290 #define HAVE_LDEXPL 1
67291 _ACEOF
67294 done
67296 else
67298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
67299 $as_echo_n "checking for _ldexpl declaration... " >&6; }
67300 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
67301 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
67302 $as_echo_n "(cached) " >&6
67303 else
67306 ac_ext=cpp
67307 ac_cpp='$CXXCPP $CPPFLAGS'
67308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67313 /* end confdefs.h. */
67314 #include <math.h>
67316 main ()
67318 _ldexpl(0, 0);
67320 return 0;
67322 _ACEOF
67323 if ac_fn_cxx_try_compile "$LINENO"; then :
67324 glibcxx_cv_func__ldexpl_use=yes
67325 else
67326 glibcxx_cv_func__ldexpl_use=no
67328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67329 ac_ext=c
67330 ac_cpp='$CPP $CPPFLAGS'
67331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
67340 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
67342 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
67343 for ac_func in _ldexpl
67344 do :
67345 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
67346 if test "x$ac_cv_func__ldexpl" = xyes; then :
67347 cat >>confdefs.h <<_ACEOF
67348 #define HAVE__LDEXPL 1
67349 _ACEOF
67352 done
67361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
67362 $as_echo_n "checking for logl declaration... " >&6; }
67363 if test x${glibcxx_cv_func_logl_use+set} != xset; then
67364 if ${glibcxx_cv_func_logl_use+:} false; then :
67365 $as_echo_n "(cached) " >&6
67366 else
67369 ac_ext=cpp
67370 ac_cpp='$CXXCPP $CPPFLAGS'
67371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67376 /* end confdefs.h. */
67377 #include <math.h>
67378 #ifdef HAVE_IEEEFP_H
67379 #include <ieeefp.h>
67380 #endif
67383 main ()
67385 logl(0);
67387 return 0;
67389 _ACEOF
67390 if ac_fn_cxx_try_compile "$LINENO"; then :
67391 glibcxx_cv_func_logl_use=yes
67392 else
67393 glibcxx_cv_func_logl_use=no
67395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67396 ac_ext=c
67397 ac_cpp='$CPP $CPPFLAGS'
67398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
67407 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
67409 if test x$glibcxx_cv_func_logl_use = x"yes"; then
67410 for ac_func in logl
67411 do :
67412 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
67413 if test "x$ac_cv_func_logl" = xyes; then :
67414 cat >>confdefs.h <<_ACEOF
67415 #define HAVE_LOGL 1
67416 _ACEOF
67419 done
67421 else
67423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
67424 $as_echo_n "checking for _logl declaration... " >&6; }
67425 if test x${glibcxx_cv_func__logl_use+set} != xset; then
67426 if ${glibcxx_cv_func__logl_use+:} false; then :
67427 $as_echo_n "(cached) " >&6
67428 else
67431 ac_ext=cpp
67432 ac_cpp='$CXXCPP $CPPFLAGS'
67433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67438 /* end confdefs.h. */
67439 #include <math.h>
67440 #ifdef HAVE_IEEEFP_H
67441 #include <ieeefp.h>
67442 #endif
67445 main ()
67447 _logl(0);
67449 return 0;
67451 _ACEOF
67452 if ac_fn_cxx_try_compile "$LINENO"; then :
67453 glibcxx_cv_func__logl_use=yes
67454 else
67455 glibcxx_cv_func__logl_use=no
67457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67458 ac_ext=c
67459 ac_cpp='$CPP $CPPFLAGS'
67460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
67469 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
67471 if test x$glibcxx_cv_func__logl_use = x"yes"; then
67472 for ac_func in _logl
67473 do :
67474 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
67475 if test "x$ac_cv_func__logl" = xyes; then :
67476 cat >>confdefs.h <<_ACEOF
67477 #define HAVE__LOGL 1
67478 _ACEOF
67481 done
67490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
67491 $as_echo_n "checking for log10l declaration... " >&6; }
67492 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
67493 if ${glibcxx_cv_func_log10l_use+:} false; then :
67494 $as_echo_n "(cached) " >&6
67495 else
67498 ac_ext=cpp
67499 ac_cpp='$CXXCPP $CPPFLAGS'
67500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67505 /* end confdefs.h. */
67506 #include <math.h>
67507 #ifdef HAVE_IEEEFP_H
67508 #include <ieeefp.h>
67509 #endif
67512 main ()
67514 log10l(0);
67516 return 0;
67518 _ACEOF
67519 if ac_fn_cxx_try_compile "$LINENO"; then :
67520 glibcxx_cv_func_log10l_use=yes
67521 else
67522 glibcxx_cv_func_log10l_use=no
67524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67525 ac_ext=c
67526 ac_cpp='$CPP $CPPFLAGS'
67527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
67536 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
67538 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
67539 for ac_func in log10l
67540 do :
67541 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
67542 if test "x$ac_cv_func_log10l" = xyes; then :
67543 cat >>confdefs.h <<_ACEOF
67544 #define HAVE_LOG10L 1
67545 _ACEOF
67548 done
67550 else
67552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
67553 $as_echo_n "checking for _log10l declaration... " >&6; }
67554 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
67555 if ${glibcxx_cv_func__log10l_use+:} false; then :
67556 $as_echo_n "(cached) " >&6
67557 else
67560 ac_ext=cpp
67561 ac_cpp='$CXXCPP $CPPFLAGS'
67562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67567 /* end confdefs.h. */
67568 #include <math.h>
67569 #ifdef HAVE_IEEEFP_H
67570 #include <ieeefp.h>
67571 #endif
67574 main ()
67576 _log10l(0);
67578 return 0;
67580 _ACEOF
67581 if ac_fn_cxx_try_compile "$LINENO"; then :
67582 glibcxx_cv_func__log10l_use=yes
67583 else
67584 glibcxx_cv_func__log10l_use=no
67586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67587 ac_ext=c
67588 ac_cpp='$CPP $CPPFLAGS'
67589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
67598 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
67600 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
67601 for ac_func in _log10l
67602 do :
67603 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
67604 if test "x$ac_cv_func__log10l" = xyes; then :
67605 cat >>confdefs.h <<_ACEOF
67606 #define HAVE__LOG10L 1
67607 _ACEOF
67610 done
67619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
67620 $as_echo_n "checking for modfl declaration... " >&6; }
67621 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
67622 if ${glibcxx_cv_func_modfl_use+:} false; then :
67623 $as_echo_n "(cached) " >&6
67624 else
67627 ac_ext=cpp
67628 ac_cpp='$CXXCPP $CPPFLAGS'
67629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67634 /* end confdefs.h. */
67635 #include <math.h>
67637 main ()
67639 modfl(0, 0);
67641 return 0;
67643 _ACEOF
67644 if ac_fn_cxx_try_compile "$LINENO"; then :
67645 glibcxx_cv_func_modfl_use=yes
67646 else
67647 glibcxx_cv_func_modfl_use=no
67649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67650 ac_ext=c
67651 ac_cpp='$CPP $CPPFLAGS'
67652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
67661 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
67663 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
67664 for ac_func in modfl
67665 do :
67666 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
67667 if test "x$ac_cv_func_modfl" = xyes; then :
67668 cat >>confdefs.h <<_ACEOF
67669 #define HAVE_MODFL 1
67670 _ACEOF
67673 done
67675 else
67677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
67678 $as_echo_n "checking for _modfl declaration... " >&6; }
67679 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
67680 if ${glibcxx_cv_func__modfl_use+:} false; then :
67681 $as_echo_n "(cached) " >&6
67682 else
67685 ac_ext=cpp
67686 ac_cpp='$CXXCPP $CPPFLAGS'
67687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67692 /* end confdefs.h. */
67693 #include <math.h>
67695 main ()
67697 _modfl(0, 0);
67699 return 0;
67701 _ACEOF
67702 if ac_fn_cxx_try_compile "$LINENO"; then :
67703 glibcxx_cv_func__modfl_use=yes
67704 else
67705 glibcxx_cv_func__modfl_use=no
67707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67708 ac_ext=c
67709 ac_cpp='$CPP $CPPFLAGS'
67710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
67719 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
67721 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
67722 for ac_func in _modfl
67723 do :
67724 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
67725 if test "x$ac_cv_func__modfl" = xyes; then :
67726 cat >>confdefs.h <<_ACEOF
67727 #define HAVE__MODFL 1
67728 _ACEOF
67731 done
67740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
67741 $as_echo_n "checking for powl declaration... " >&6; }
67742 if test x${glibcxx_cv_func_powl_use+set} != xset; then
67743 if ${glibcxx_cv_func_powl_use+:} false; then :
67744 $as_echo_n "(cached) " >&6
67745 else
67748 ac_ext=cpp
67749 ac_cpp='$CXXCPP $CPPFLAGS'
67750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67755 /* end confdefs.h. */
67756 #include <math.h>
67758 main ()
67760 powl(0, 0);
67762 return 0;
67764 _ACEOF
67765 if ac_fn_cxx_try_compile "$LINENO"; then :
67766 glibcxx_cv_func_powl_use=yes
67767 else
67768 glibcxx_cv_func_powl_use=no
67770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67771 ac_ext=c
67772 ac_cpp='$CPP $CPPFLAGS'
67773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
67782 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
67784 if test x$glibcxx_cv_func_powl_use = x"yes"; then
67785 for ac_func in powl
67786 do :
67787 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
67788 if test "x$ac_cv_func_powl" = xyes; then :
67789 cat >>confdefs.h <<_ACEOF
67790 #define HAVE_POWL 1
67791 _ACEOF
67794 done
67796 else
67798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
67799 $as_echo_n "checking for _powl declaration... " >&6; }
67800 if test x${glibcxx_cv_func__powl_use+set} != xset; then
67801 if ${glibcxx_cv_func__powl_use+:} false; then :
67802 $as_echo_n "(cached) " >&6
67803 else
67806 ac_ext=cpp
67807 ac_cpp='$CXXCPP $CPPFLAGS'
67808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67813 /* end confdefs.h. */
67814 #include <math.h>
67816 main ()
67818 _powl(0, 0);
67820 return 0;
67822 _ACEOF
67823 if ac_fn_cxx_try_compile "$LINENO"; then :
67824 glibcxx_cv_func__powl_use=yes
67825 else
67826 glibcxx_cv_func__powl_use=no
67828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67829 ac_ext=c
67830 ac_cpp='$CPP $CPPFLAGS'
67831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
67840 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
67842 if test x$glibcxx_cv_func__powl_use = x"yes"; then
67843 for ac_func in _powl
67844 do :
67845 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
67846 if test "x$ac_cv_func__powl" = xyes; then :
67847 cat >>confdefs.h <<_ACEOF
67848 #define HAVE__POWL 1
67849 _ACEOF
67852 done
67861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
67862 $as_echo_n "checking for sqrtl declaration... " >&6; }
67863 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
67864 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
67865 $as_echo_n "(cached) " >&6
67866 else
67869 ac_ext=cpp
67870 ac_cpp='$CXXCPP $CPPFLAGS'
67871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67876 /* end confdefs.h. */
67877 #include <math.h>
67878 #ifdef HAVE_IEEEFP_H
67879 #include <ieeefp.h>
67880 #endif
67883 main ()
67885 sqrtl(0);
67887 return 0;
67889 _ACEOF
67890 if ac_fn_cxx_try_compile "$LINENO"; then :
67891 glibcxx_cv_func_sqrtl_use=yes
67892 else
67893 glibcxx_cv_func_sqrtl_use=no
67895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67896 ac_ext=c
67897 ac_cpp='$CPP $CPPFLAGS'
67898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
67907 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
67909 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
67910 for ac_func in sqrtl
67911 do :
67912 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
67913 if test "x$ac_cv_func_sqrtl" = xyes; then :
67914 cat >>confdefs.h <<_ACEOF
67915 #define HAVE_SQRTL 1
67916 _ACEOF
67919 done
67921 else
67923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
67924 $as_echo_n "checking for _sqrtl declaration... " >&6; }
67925 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
67926 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
67927 $as_echo_n "(cached) " >&6
67928 else
67931 ac_ext=cpp
67932 ac_cpp='$CXXCPP $CPPFLAGS'
67933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67938 /* end confdefs.h. */
67939 #include <math.h>
67940 #ifdef HAVE_IEEEFP_H
67941 #include <ieeefp.h>
67942 #endif
67945 main ()
67947 _sqrtl(0);
67949 return 0;
67951 _ACEOF
67952 if ac_fn_cxx_try_compile "$LINENO"; then :
67953 glibcxx_cv_func__sqrtl_use=yes
67954 else
67955 glibcxx_cv_func__sqrtl_use=no
67957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67958 ac_ext=c
67959 ac_cpp='$CPP $CPPFLAGS'
67960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
67969 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
67971 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
67972 for ac_func in _sqrtl
67973 do :
67974 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
67975 if test "x$ac_cv_func__sqrtl" = xyes; then :
67976 cat >>confdefs.h <<_ACEOF
67977 #define HAVE__SQRTL 1
67978 _ACEOF
67981 done
67990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
67991 $as_echo_n "checking for sincosl declaration... " >&6; }
67992 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
67993 if ${glibcxx_cv_func_sincosl_use+:} false; then :
67994 $as_echo_n "(cached) " >&6
67995 else
67998 ac_ext=cpp
67999 ac_cpp='$CXXCPP $CPPFLAGS'
68000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68005 /* end confdefs.h. */
68006 #include <math.h>
68008 main ()
68010 sincosl(0, 0, 0);
68012 return 0;
68014 _ACEOF
68015 if ac_fn_cxx_try_compile "$LINENO"; then :
68016 glibcxx_cv_func_sincosl_use=yes
68017 else
68018 glibcxx_cv_func_sincosl_use=no
68020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68021 ac_ext=c
68022 ac_cpp='$CPP $CPPFLAGS'
68023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
68032 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
68034 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
68035 for ac_func in sincosl
68036 do :
68037 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
68038 if test "x$ac_cv_func_sincosl" = xyes; then :
68039 cat >>confdefs.h <<_ACEOF
68040 #define HAVE_SINCOSL 1
68041 _ACEOF
68044 done
68046 else
68048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
68049 $as_echo_n "checking for _sincosl declaration... " >&6; }
68050 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
68051 if ${glibcxx_cv_func__sincosl_use+:} false; then :
68052 $as_echo_n "(cached) " >&6
68053 else
68056 ac_ext=cpp
68057 ac_cpp='$CXXCPP $CPPFLAGS'
68058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68063 /* end confdefs.h. */
68064 #include <math.h>
68066 main ()
68068 _sincosl(0, 0, 0);
68070 return 0;
68072 _ACEOF
68073 if ac_fn_cxx_try_compile "$LINENO"; then :
68074 glibcxx_cv_func__sincosl_use=yes
68075 else
68076 glibcxx_cv_func__sincosl_use=no
68078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68079 ac_ext=c
68080 ac_cpp='$CPP $CPPFLAGS'
68081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
68090 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
68092 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
68093 for ac_func in _sincosl
68094 do :
68095 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
68096 if test "x$ac_cv_func__sincosl" = xyes; then :
68097 cat >>confdefs.h <<_ACEOF
68098 #define HAVE__SINCOSL 1
68099 _ACEOF
68102 done
68111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
68112 $as_echo_n "checking for finitel declaration... " >&6; }
68113 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
68114 if ${glibcxx_cv_func_finitel_use+:} false; then :
68115 $as_echo_n "(cached) " >&6
68116 else
68119 ac_ext=cpp
68120 ac_cpp='$CXXCPP $CPPFLAGS'
68121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68126 /* end confdefs.h. */
68127 #include <math.h>
68128 #ifdef HAVE_IEEEFP_H
68129 #include <ieeefp.h>
68130 #endif
68133 main ()
68135 finitel(0);
68137 return 0;
68139 _ACEOF
68140 if ac_fn_cxx_try_compile "$LINENO"; then :
68141 glibcxx_cv_func_finitel_use=yes
68142 else
68143 glibcxx_cv_func_finitel_use=no
68145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68146 ac_ext=c
68147 ac_cpp='$CPP $CPPFLAGS'
68148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
68157 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
68159 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
68160 for ac_func in finitel
68161 do :
68162 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
68163 if test "x$ac_cv_func_finitel" = xyes; then :
68164 cat >>confdefs.h <<_ACEOF
68165 #define HAVE_FINITEL 1
68166 _ACEOF
68169 done
68171 else
68173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
68174 $as_echo_n "checking for _finitel declaration... " >&6; }
68175 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
68176 if ${glibcxx_cv_func__finitel_use+:} false; then :
68177 $as_echo_n "(cached) " >&6
68178 else
68181 ac_ext=cpp
68182 ac_cpp='$CXXCPP $CPPFLAGS'
68183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68188 /* end confdefs.h. */
68189 #include <math.h>
68190 #ifdef HAVE_IEEEFP_H
68191 #include <ieeefp.h>
68192 #endif
68195 main ()
68197 _finitel(0);
68199 return 0;
68201 _ACEOF
68202 if ac_fn_cxx_try_compile "$LINENO"; then :
68203 glibcxx_cv_func__finitel_use=yes
68204 else
68205 glibcxx_cv_func__finitel_use=no
68207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68208 ac_ext=c
68209 ac_cpp='$CPP $CPPFLAGS'
68210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
68219 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
68221 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
68222 for ac_func in _finitel
68223 do :
68224 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
68225 if test "x$ac_cv_func__finitel" = xyes; then :
68226 cat >>confdefs.h <<_ACEOF
68227 #define HAVE__FINITEL 1
68228 _ACEOF
68231 done
68239 LIBS="$ac_save_LIBS"
68240 CXXFLAGS="$ac_save_CXXFLAGS"
68243 ac_test_CXXFLAGS="${CXXFLAGS+set}"
68244 ac_save_CXXFLAGS="$CXXFLAGS"
68245 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
68248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
68249 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
68250 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
68251 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
68252 $as_echo_n "(cached) " >&6
68253 else
68256 ac_ext=cpp
68257 ac_cpp='$CXXCPP $CPPFLAGS'
68258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68263 /* end confdefs.h. */
68264 #include <stdlib.h>
68266 main ()
68268 at_quick_exit(0);
68270 return 0;
68272 _ACEOF
68273 if ac_fn_cxx_try_compile "$LINENO"; then :
68274 glibcxx_cv_func_at_quick_exit_use=yes
68275 else
68276 glibcxx_cv_func_at_quick_exit_use=no
68278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68279 ac_ext=c
68280 ac_cpp='$CPP $CPPFLAGS'
68281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
68290 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
68291 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
68292 for ac_func in at_quick_exit
68293 do :
68294 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
68295 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
68296 cat >>confdefs.h <<_ACEOF
68297 #define HAVE_AT_QUICK_EXIT 1
68298 _ACEOF
68301 done
68306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
68307 $as_echo_n "checking for quick_exit declaration... " >&6; }
68308 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
68309 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
68310 $as_echo_n "(cached) " >&6
68311 else
68314 ac_ext=cpp
68315 ac_cpp='$CXXCPP $CPPFLAGS'
68316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68321 /* end confdefs.h. */
68322 #include <stdlib.h>
68324 main ()
68326 quick_exit(0);
68328 return 0;
68330 _ACEOF
68331 if ac_fn_cxx_try_compile "$LINENO"; then :
68332 glibcxx_cv_func_quick_exit_use=yes
68333 else
68334 glibcxx_cv_func_quick_exit_use=no
68336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68337 ac_ext=c
68338 ac_cpp='$CPP $CPPFLAGS'
68339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
68348 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
68349 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
68350 for ac_func in quick_exit
68351 do :
68352 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
68353 if test "x$ac_cv_func_quick_exit" = xyes; then :
68354 cat >>confdefs.h <<_ACEOF
68355 #define HAVE_QUICK_EXIT 1
68356 _ACEOF
68359 done
68364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
68365 $as_echo_n "checking for strtold declaration... " >&6; }
68366 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
68367 if ${glibcxx_cv_func_strtold_use+:} false; then :
68368 $as_echo_n "(cached) " >&6
68369 else
68372 ac_ext=cpp
68373 ac_cpp='$CXXCPP $CPPFLAGS'
68374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68379 /* end confdefs.h. */
68380 #include <stdlib.h>
68382 main ()
68384 strtold(0, 0);
68386 return 0;
68388 _ACEOF
68389 if ac_fn_cxx_try_compile "$LINENO"; then :
68390 glibcxx_cv_func_strtold_use=yes
68391 else
68392 glibcxx_cv_func_strtold_use=no
68394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68395 ac_ext=c
68396 ac_cpp='$CPP $CPPFLAGS'
68397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
68406 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
68407 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
68408 for ac_func in strtold
68409 do :
68410 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
68411 if test "x$ac_cv_func_strtold" = xyes; then :
68412 cat >>confdefs.h <<_ACEOF
68413 #define HAVE_STRTOLD 1
68414 _ACEOF
68417 done
68424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
68425 $as_echo_n "checking for strtof declaration... " >&6; }
68426 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
68427 if ${glibcxx_cv_func_strtof_use+:} false; then :
68428 $as_echo_n "(cached) " >&6
68429 else
68432 ac_ext=cpp
68433 ac_cpp='$CXXCPP $CPPFLAGS'
68434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68439 /* end confdefs.h. */
68440 #include <stdlib.h>
68442 main ()
68444 strtof(0, 0);
68446 return 0;
68448 _ACEOF
68449 if ac_fn_cxx_try_compile "$LINENO"; then :
68450 glibcxx_cv_func_strtof_use=yes
68451 else
68452 glibcxx_cv_func_strtof_use=no
68454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68455 ac_ext=c
68456 ac_cpp='$CPP $CPPFLAGS'
68457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
68466 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
68467 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
68468 for ac_func in strtof
68469 do :
68470 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
68471 if test "x$ac_cv_func_strtof" = xyes; then :
68472 cat >>confdefs.h <<_ACEOF
68473 #define HAVE_STRTOF 1
68474 _ACEOF
68477 done
68484 CXXFLAGS="$ac_save_CXXFLAGS"
68487 *-vxworks*)
68488 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
68490 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
68492 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
68494 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
68496 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
68498 $as_echo "#define HAVE_COSF 1" >>confdefs.h
68500 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
68502 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
68504 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
68506 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
68508 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
68510 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
68512 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
68514 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
68516 $as_echo "#define HAVE_POWF 1" >>confdefs.h
68518 $as_echo "#define HAVE_SINF 1" >>confdefs.h
68520 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
68522 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
68524 $as_echo "#define HAVE_TANF 1" >>confdefs.h
68526 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
68532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl declaration" >&5
68533 $as_echo_n "checking for acosl declaration... " >&6; }
68534 if ${glibcxx_cv_func_acosl_use+:} false; then :
68535 $as_echo_n "(cached) " >&6
68536 else
68539 ac_ext=c
68540 ac_cpp='$CPP $CPPFLAGS'
68541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68546 /* end confdefs.h. */
68548 #include <math.h>
68549 #ifdef HAVE_IEEEFP_H
68550 # include <ieeefp.h>
68551 #endif
68552 #undef acosl
68555 main ()
68558 void (*f)(void) = (void (*)(void))acosl;
68561 return 0;
68563 _ACEOF
68564 if ac_fn_c_try_compile "$LINENO"; then :
68565 glibcxx_cv_func_acosl_use=yes
68567 else
68568 glibcxx_cv_func_acosl_use=no
68570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_acosl_use" >&5
68573 $as_echo "$glibcxx_cv_func_acosl_use" >&6; }
68574 if test "x$glibcxx_cv_func_acosl_use" = xyes; then
68575 cat >>confdefs.h <<_ACEOF
68576 #define HAVE_ACOSL 1
68577 _ACEOF
68583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl declaration" >&5
68584 $as_echo_n "checking for asinl declaration... " >&6; }
68585 if ${glibcxx_cv_func_asinl_use+:} false; then :
68586 $as_echo_n "(cached) " >&6
68587 else
68590 ac_ext=c
68591 ac_cpp='$CPP $CPPFLAGS'
68592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68597 /* end confdefs.h. */
68599 #include <math.h>
68600 #ifdef HAVE_IEEEFP_H
68601 # include <ieeefp.h>
68602 #endif
68603 #undef asinl
68606 main ()
68609 void (*f)(void) = (void (*)(void))asinl;
68612 return 0;
68614 _ACEOF
68615 if ac_fn_c_try_compile "$LINENO"; then :
68616 glibcxx_cv_func_asinl_use=yes
68618 else
68619 glibcxx_cv_func_asinl_use=no
68621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_asinl_use" >&5
68624 $as_echo "$glibcxx_cv_func_asinl_use" >&6; }
68625 if test "x$glibcxx_cv_func_asinl_use" = xyes; then
68626 cat >>confdefs.h <<_ACEOF
68627 #define HAVE_ASINL 1
68628 _ACEOF
68634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
68635 $as_echo_n "checking for atan2l declaration... " >&6; }
68636 if ${glibcxx_cv_func_atan2l_use+:} false; then :
68637 $as_echo_n "(cached) " >&6
68638 else
68641 ac_ext=c
68642 ac_cpp='$CPP $CPPFLAGS'
68643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68648 /* end confdefs.h. */
68650 #include <math.h>
68651 #ifdef HAVE_IEEEFP_H
68652 # include <ieeefp.h>
68653 #endif
68654 #undef atan2l
68657 main ()
68660 void (*f)(void) = (void (*)(void))atan2l;
68663 return 0;
68665 _ACEOF
68666 if ac_fn_c_try_compile "$LINENO"; then :
68667 glibcxx_cv_func_atan2l_use=yes
68669 else
68670 glibcxx_cv_func_atan2l_use=no
68672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
68675 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
68676 if test "x$glibcxx_cv_func_atan2l_use" = xyes; then
68677 cat >>confdefs.h <<_ACEOF
68678 #define HAVE_ATAN2L 1
68679 _ACEOF
68685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl declaration" >&5
68686 $as_echo_n "checking for atanl declaration... " >&6; }
68687 if ${glibcxx_cv_func_atanl_use+:} false; then :
68688 $as_echo_n "(cached) " >&6
68689 else
68692 ac_ext=c
68693 ac_cpp='$CPP $CPPFLAGS'
68694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68699 /* end confdefs.h. */
68701 #include <math.h>
68702 #ifdef HAVE_IEEEFP_H
68703 # include <ieeefp.h>
68704 #endif
68705 #undef atanl
68708 main ()
68711 void (*f)(void) = (void (*)(void))atanl;
68714 return 0;
68716 _ACEOF
68717 if ac_fn_c_try_compile "$LINENO"; then :
68718 glibcxx_cv_func_atanl_use=yes
68720 else
68721 glibcxx_cv_func_atanl_use=no
68723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atanl_use" >&5
68726 $as_echo "$glibcxx_cv_func_atanl_use" >&6; }
68727 if test "x$glibcxx_cv_func_atanl_use" = xyes; then
68728 cat >>confdefs.h <<_ACEOF
68729 #define HAVE_ATANL 1
68730 _ACEOF
68736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill declaration" >&5
68737 $as_echo_n "checking for ceill declaration... " >&6; }
68738 if ${glibcxx_cv_func_ceill_use+:} false; then :
68739 $as_echo_n "(cached) " >&6
68740 else
68743 ac_ext=c
68744 ac_cpp='$CPP $CPPFLAGS'
68745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68750 /* end confdefs.h. */
68752 #include <math.h>
68753 #ifdef HAVE_IEEEFP_H
68754 # include <ieeefp.h>
68755 #endif
68756 #undef ceill
68759 main ()
68762 void (*f)(void) = (void (*)(void))ceill;
68765 return 0;
68767 _ACEOF
68768 if ac_fn_c_try_compile "$LINENO"; then :
68769 glibcxx_cv_func_ceill_use=yes
68771 else
68772 glibcxx_cv_func_ceill_use=no
68774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ceill_use" >&5
68777 $as_echo "$glibcxx_cv_func_ceill_use" >&6; }
68778 if test "x$glibcxx_cv_func_ceill_use" = xyes; then
68779 cat >>confdefs.h <<_ACEOF
68780 #define HAVE_CEILL 1
68781 _ACEOF
68787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl declaration" >&5
68788 $as_echo_n "checking for cosl declaration... " >&6; }
68789 if ${glibcxx_cv_func_cosl_use+:} false; then :
68790 $as_echo_n "(cached) " >&6
68791 else
68794 ac_ext=c
68795 ac_cpp='$CPP $CPPFLAGS'
68796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68801 /* end confdefs.h. */
68803 #include <math.h>
68804 #ifdef HAVE_IEEEFP_H
68805 # include <ieeefp.h>
68806 #endif
68807 #undef cosl
68810 main ()
68813 void (*f)(void) = (void (*)(void))cosl;
68816 return 0;
68818 _ACEOF
68819 if ac_fn_c_try_compile "$LINENO"; then :
68820 glibcxx_cv_func_cosl_use=yes
68822 else
68823 glibcxx_cv_func_cosl_use=no
68825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_cosl_use" >&5
68828 $as_echo "$glibcxx_cv_func_cosl_use" >&6; }
68829 if test "x$glibcxx_cv_func_cosl_use" = xyes; then
68830 cat >>confdefs.h <<_ACEOF
68831 #define HAVE_COSL 1
68832 _ACEOF
68838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl declaration" >&5
68839 $as_echo_n "checking for coshl declaration... " >&6; }
68840 if ${glibcxx_cv_func_coshl_use+:} false; then :
68841 $as_echo_n "(cached) " >&6
68842 else
68845 ac_ext=c
68846 ac_cpp='$CPP $CPPFLAGS'
68847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68852 /* end confdefs.h. */
68854 #include <math.h>
68855 #ifdef HAVE_IEEEFP_H
68856 # include <ieeefp.h>
68857 #endif
68858 #undef coshl
68861 main ()
68864 void (*f)(void) = (void (*)(void))coshl;
68867 return 0;
68869 _ACEOF
68870 if ac_fn_c_try_compile "$LINENO"; then :
68871 glibcxx_cv_func_coshl_use=yes
68873 else
68874 glibcxx_cv_func_coshl_use=no
68876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_coshl_use" >&5
68879 $as_echo "$glibcxx_cv_func_coshl_use" >&6; }
68880 if test "x$glibcxx_cv_func_coshl_use" = xyes; then
68881 cat >>confdefs.h <<_ACEOF
68882 #define HAVE_COSHL 1
68883 _ACEOF
68889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
68890 $as_echo_n "checking for expl declaration... " >&6; }
68891 if ${glibcxx_cv_func_expl_use+:} false; then :
68892 $as_echo_n "(cached) " >&6
68893 else
68896 ac_ext=c
68897 ac_cpp='$CPP $CPPFLAGS'
68898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68903 /* end confdefs.h. */
68905 #include <math.h>
68906 #ifdef HAVE_IEEEFP_H
68907 # include <ieeefp.h>
68908 #endif
68909 #undef expl
68912 main ()
68915 void (*f)(void) = (void (*)(void))expl;
68918 return 0;
68920 _ACEOF
68921 if ac_fn_c_try_compile "$LINENO"; then :
68922 glibcxx_cv_func_expl_use=yes
68924 else
68925 glibcxx_cv_func_expl_use=no
68927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
68930 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
68931 if test "x$glibcxx_cv_func_expl_use" = xyes; then
68932 cat >>confdefs.h <<_ACEOF
68933 #define HAVE_EXPL 1
68934 _ACEOF
68940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
68941 $as_echo_n "checking for fabsl declaration... " >&6; }
68942 if ${glibcxx_cv_func_fabsl_use+:} false; then :
68943 $as_echo_n "(cached) " >&6
68944 else
68947 ac_ext=c
68948 ac_cpp='$CPP $CPPFLAGS'
68949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68954 /* end confdefs.h. */
68956 #include <math.h>
68957 #ifdef HAVE_IEEEFP_H
68958 # include <ieeefp.h>
68959 #endif
68960 #undef fabsl
68963 main ()
68966 void (*f)(void) = (void (*)(void))fabsl;
68969 return 0;
68971 _ACEOF
68972 if ac_fn_c_try_compile "$LINENO"; then :
68973 glibcxx_cv_func_fabsl_use=yes
68975 else
68976 glibcxx_cv_func_fabsl_use=no
68978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
68981 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
68982 if test "x$glibcxx_cv_func_fabsl_use" = xyes; then
68983 cat >>confdefs.h <<_ACEOF
68984 #define HAVE_FABSL 1
68985 _ACEOF
68991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl declaration" >&5
68992 $as_echo_n "checking for floorl declaration... " >&6; }
68993 if ${glibcxx_cv_func_floorl_use+:} false; then :
68994 $as_echo_n "(cached) " >&6
68995 else
68998 ac_ext=c
68999 ac_cpp='$CPP $CPPFLAGS'
69000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69005 /* end confdefs.h. */
69007 #include <math.h>
69008 #ifdef HAVE_IEEEFP_H
69009 # include <ieeefp.h>
69010 #endif
69011 #undef floorl
69014 main ()
69017 void (*f)(void) = (void (*)(void))floorl;
69020 return 0;
69022 _ACEOF
69023 if ac_fn_c_try_compile "$LINENO"; then :
69024 glibcxx_cv_func_floorl_use=yes
69026 else
69027 glibcxx_cv_func_floorl_use=no
69029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_floorl_use" >&5
69032 $as_echo "$glibcxx_cv_func_floorl_use" >&6; }
69033 if test "x$glibcxx_cv_func_floorl_use" = xyes; then
69034 cat >>confdefs.h <<_ACEOF
69035 #define HAVE_FLOORL 1
69036 _ACEOF
69042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
69043 $as_echo_n "checking for fmodl declaration... " >&6; }
69044 if ${glibcxx_cv_func_fmodl_use+:} false; then :
69045 $as_echo_n "(cached) " >&6
69046 else
69049 ac_ext=c
69050 ac_cpp='$CPP $CPPFLAGS'
69051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69056 /* end confdefs.h. */
69058 #include <math.h>
69059 #ifdef HAVE_IEEEFP_H
69060 # include <ieeefp.h>
69061 #endif
69062 #undef fmodl
69065 main ()
69068 void (*f)(void) = (void (*)(void))fmodl;
69071 return 0;
69073 _ACEOF
69074 if ac_fn_c_try_compile "$LINENO"; then :
69075 glibcxx_cv_func_fmodl_use=yes
69077 else
69078 glibcxx_cv_func_fmodl_use=no
69080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
69083 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
69084 if test "x$glibcxx_cv_func_fmodl_use" = xyes; then
69085 cat >>confdefs.h <<_ACEOF
69086 #define HAVE_FMODL 1
69087 _ACEOF
69093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
69094 $as_echo_n "checking for frexpl declaration... " >&6; }
69095 if ${glibcxx_cv_func_frexpl_use+:} false; then :
69096 $as_echo_n "(cached) " >&6
69097 else
69100 ac_ext=c
69101 ac_cpp='$CPP $CPPFLAGS'
69102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69107 /* end confdefs.h. */
69109 #include <math.h>
69110 #ifdef HAVE_IEEEFP_H
69111 # include <ieeefp.h>
69112 #endif
69113 #undef frexpl
69116 main ()
69119 void (*f)(void) = (void (*)(void))frexpl;
69122 return 0;
69124 _ACEOF
69125 if ac_fn_c_try_compile "$LINENO"; then :
69126 glibcxx_cv_func_frexpl_use=yes
69128 else
69129 glibcxx_cv_func_frexpl_use=no
69131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
69134 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
69135 if test "x$glibcxx_cv_func_frexpl_use" = xyes; then
69136 cat >>confdefs.h <<_ACEOF
69137 #define HAVE_FREXPL 1
69138 _ACEOF
69144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
69145 $as_echo_n "checking for ldexpl declaration... " >&6; }
69146 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
69147 $as_echo_n "(cached) " >&6
69148 else
69151 ac_ext=c
69152 ac_cpp='$CPP $CPPFLAGS'
69153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69158 /* end confdefs.h. */
69160 #include <math.h>
69161 #ifdef HAVE_IEEEFP_H
69162 # include <ieeefp.h>
69163 #endif
69164 #undef ldexpl
69167 main ()
69170 void (*f)(void) = (void (*)(void))ldexpl;
69173 return 0;
69175 _ACEOF
69176 if ac_fn_c_try_compile "$LINENO"; then :
69177 glibcxx_cv_func_ldexpl_use=yes
69179 else
69180 glibcxx_cv_func_ldexpl_use=no
69182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
69185 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
69186 if test "x$glibcxx_cv_func_ldexpl_use" = xyes; then
69187 cat >>confdefs.h <<_ACEOF
69188 #define HAVE_LDEXPL 1
69189 _ACEOF
69195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
69196 $as_echo_n "checking for log10l declaration... " >&6; }
69197 if ${glibcxx_cv_func_log10l_use+:} false; then :
69198 $as_echo_n "(cached) " >&6
69199 else
69202 ac_ext=c
69203 ac_cpp='$CPP $CPPFLAGS'
69204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69209 /* end confdefs.h. */
69211 #include <math.h>
69212 #ifdef HAVE_IEEEFP_H
69213 # include <ieeefp.h>
69214 #endif
69215 #undef log10l
69218 main ()
69221 void (*f)(void) = (void (*)(void))log10l;
69224 return 0;
69226 _ACEOF
69227 if ac_fn_c_try_compile "$LINENO"; then :
69228 glibcxx_cv_func_log10l_use=yes
69230 else
69231 glibcxx_cv_func_log10l_use=no
69233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
69236 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
69237 if test "x$glibcxx_cv_func_log10l_use" = xyes; then
69238 cat >>confdefs.h <<_ACEOF
69239 #define HAVE_LOG10L 1
69240 _ACEOF
69246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
69247 $as_echo_n "checking for logl declaration... " >&6; }
69248 if ${glibcxx_cv_func_logl_use+:} false; then :
69249 $as_echo_n "(cached) " >&6
69250 else
69253 ac_ext=c
69254 ac_cpp='$CPP $CPPFLAGS'
69255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69260 /* end confdefs.h. */
69262 #include <math.h>
69263 #ifdef HAVE_IEEEFP_H
69264 # include <ieeefp.h>
69265 #endif
69266 #undef logl
69269 main ()
69272 void (*f)(void) = (void (*)(void))logl;
69275 return 0;
69277 _ACEOF
69278 if ac_fn_c_try_compile "$LINENO"; then :
69279 glibcxx_cv_func_logl_use=yes
69281 else
69282 glibcxx_cv_func_logl_use=no
69284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
69287 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
69288 if test "x$glibcxx_cv_func_logl_use" = xyes; then
69289 cat >>confdefs.h <<_ACEOF
69290 #define HAVE_LOGL 1
69291 _ACEOF
69297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
69298 $as_echo_n "checking for modfl declaration... " >&6; }
69299 if ${glibcxx_cv_func_modfl_use+:} false; then :
69300 $as_echo_n "(cached) " >&6
69301 else
69304 ac_ext=c
69305 ac_cpp='$CPP $CPPFLAGS'
69306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69311 /* end confdefs.h. */
69313 #include <math.h>
69314 #ifdef HAVE_IEEEFP_H
69315 # include <ieeefp.h>
69316 #endif
69317 #undef modfl
69320 main ()
69323 void (*f)(void) = (void (*)(void))modfl;
69326 return 0;
69328 _ACEOF
69329 if ac_fn_c_try_compile "$LINENO"; then :
69330 glibcxx_cv_func_modfl_use=yes
69332 else
69333 glibcxx_cv_func_modfl_use=no
69335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
69338 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
69339 if test "x$glibcxx_cv_func_modfl_use" = xyes; then
69340 cat >>confdefs.h <<_ACEOF
69341 #define HAVE_MODFL 1
69342 _ACEOF
69348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
69349 $as_echo_n "checking for powl declaration... " >&6; }
69350 if ${glibcxx_cv_func_powl_use+:} false; then :
69351 $as_echo_n "(cached) " >&6
69352 else
69355 ac_ext=c
69356 ac_cpp='$CPP $CPPFLAGS'
69357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69362 /* end confdefs.h. */
69364 #include <math.h>
69365 #ifdef HAVE_IEEEFP_H
69366 # include <ieeefp.h>
69367 #endif
69368 #undef powl
69371 main ()
69374 void (*f)(void) = (void (*)(void))powl;
69377 return 0;
69379 _ACEOF
69380 if ac_fn_c_try_compile "$LINENO"; then :
69381 glibcxx_cv_func_powl_use=yes
69383 else
69384 glibcxx_cv_func_powl_use=no
69386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
69389 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
69390 if test "x$glibcxx_cv_func_powl_use" = xyes; then
69391 cat >>confdefs.h <<_ACEOF
69392 #define HAVE_POWL 1
69393 _ACEOF
69399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl declaration" >&5
69400 $as_echo_n "checking for sinl declaration... " >&6; }
69401 if ${glibcxx_cv_func_sinl_use+:} false; then :
69402 $as_echo_n "(cached) " >&6
69403 else
69406 ac_ext=c
69407 ac_cpp='$CPP $CPPFLAGS'
69408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69413 /* end confdefs.h. */
69415 #include <math.h>
69416 #ifdef HAVE_IEEEFP_H
69417 # include <ieeefp.h>
69418 #endif
69419 #undef sinl
69422 main ()
69425 void (*f)(void) = (void (*)(void))sinl;
69428 return 0;
69430 _ACEOF
69431 if ac_fn_c_try_compile "$LINENO"; then :
69432 glibcxx_cv_func_sinl_use=yes
69434 else
69435 glibcxx_cv_func_sinl_use=no
69437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinl_use" >&5
69440 $as_echo "$glibcxx_cv_func_sinl_use" >&6; }
69441 if test "x$glibcxx_cv_func_sinl_use" = xyes; then
69442 cat >>confdefs.h <<_ACEOF
69443 #define HAVE_SINL 1
69444 _ACEOF
69450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl declaration" >&5
69451 $as_echo_n "checking for sinhl declaration... " >&6; }
69452 if ${glibcxx_cv_func_sinhl_use+:} false; then :
69453 $as_echo_n "(cached) " >&6
69454 else
69457 ac_ext=c
69458 ac_cpp='$CPP $CPPFLAGS'
69459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69464 /* end confdefs.h. */
69466 #include <math.h>
69467 #ifdef HAVE_IEEEFP_H
69468 # include <ieeefp.h>
69469 #endif
69470 #undef sinhl
69473 main ()
69476 void (*f)(void) = (void (*)(void))sinhl;
69479 return 0;
69481 _ACEOF
69482 if ac_fn_c_try_compile "$LINENO"; then :
69483 glibcxx_cv_func_sinhl_use=yes
69485 else
69486 glibcxx_cv_func_sinhl_use=no
69488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinhl_use" >&5
69491 $as_echo "$glibcxx_cv_func_sinhl_use" >&6; }
69492 if test "x$glibcxx_cv_func_sinhl_use" = xyes; then
69493 cat >>confdefs.h <<_ACEOF
69494 #define HAVE_SINHL 1
69495 _ACEOF
69501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
69502 $as_echo_n "checking for sqrtl declaration... " >&6; }
69503 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
69504 $as_echo_n "(cached) " >&6
69505 else
69508 ac_ext=c
69509 ac_cpp='$CPP $CPPFLAGS'
69510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69515 /* end confdefs.h. */
69517 #include <math.h>
69518 #ifdef HAVE_IEEEFP_H
69519 # include <ieeefp.h>
69520 #endif
69521 #undef sqrtl
69524 main ()
69527 void (*f)(void) = (void (*)(void))sqrtl;
69530 return 0;
69532 _ACEOF
69533 if ac_fn_c_try_compile "$LINENO"; then :
69534 glibcxx_cv_func_sqrtl_use=yes
69536 else
69537 glibcxx_cv_func_sqrtl_use=no
69539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
69542 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
69543 if test "x$glibcxx_cv_func_sqrtl_use" = xyes; then
69544 cat >>confdefs.h <<_ACEOF
69545 #define HAVE_SQRTL 1
69546 _ACEOF
69552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl declaration" >&5
69553 $as_echo_n "checking for tanl declaration... " >&6; }
69554 if ${glibcxx_cv_func_tanl_use+:} false; then :
69555 $as_echo_n "(cached) " >&6
69556 else
69559 ac_ext=c
69560 ac_cpp='$CPP $CPPFLAGS'
69561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69566 /* end confdefs.h. */
69568 #include <math.h>
69569 #ifdef HAVE_IEEEFP_H
69570 # include <ieeefp.h>
69571 #endif
69572 #undef tanl
69575 main ()
69578 void (*f)(void) = (void (*)(void))tanl;
69581 return 0;
69583 _ACEOF
69584 if ac_fn_c_try_compile "$LINENO"; then :
69585 glibcxx_cv_func_tanl_use=yes
69587 else
69588 glibcxx_cv_func_tanl_use=no
69590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanl_use" >&5
69593 $as_echo "$glibcxx_cv_func_tanl_use" >&6; }
69594 if test "x$glibcxx_cv_func_tanl_use" = xyes; then
69595 cat >>confdefs.h <<_ACEOF
69596 #define HAVE_TANL 1
69597 _ACEOF
69603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl declaration" >&5
69604 $as_echo_n "checking for tanhl declaration... " >&6; }
69605 if ${glibcxx_cv_func_tanhl_use+:} false; then :
69606 $as_echo_n "(cached) " >&6
69607 else
69610 ac_ext=c
69611 ac_cpp='$CPP $CPPFLAGS'
69612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69617 /* end confdefs.h. */
69619 #include <math.h>
69620 #ifdef HAVE_IEEEFP_H
69621 # include <ieeefp.h>
69622 #endif
69623 #undef tanhl
69626 main ()
69629 void (*f)(void) = (void (*)(void))tanhl;
69632 return 0;
69634 _ACEOF
69635 if ac_fn_c_try_compile "$LINENO"; then :
69636 glibcxx_cv_func_tanhl_use=yes
69638 else
69639 glibcxx_cv_func_tanhl_use=no
69641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanhl_use" >&5
69644 $as_echo "$glibcxx_cv_func_tanhl_use" >&6; }
69645 if test "x$glibcxx_cv_func_tanhl_use" = xyes; then
69646 cat >>confdefs.h <<_ACEOF
69647 #define HAVE_TANHL 1
69648 _ACEOF
69654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
69655 $as_echo_n "checking for hypotl declaration... " >&6; }
69656 if ${glibcxx_cv_func_hypotl_use+:} false; then :
69657 $as_echo_n "(cached) " >&6
69658 else
69661 ac_ext=c
69662 ac_cpp='$CPP $CPPFLAGS'
69663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69668 /* end confdefs.h. */
69670 #include <math.h>
69671 #ifdef HAVE_IEEEFP_H
69672 # include <ieeefp.h>
69673 #endif
69674 #undef hypotl
69677 main ()
69680 void (*f)(void) = (void (*)(void))hypotl;
69683 return 0;
69685 _ACEOF
69686 if ac_fn_c_try_compile "$LINENO"; then :
69687 glibcxx_cv_func_hypotl_use=yes
69689 else
69690 glibcxx_cv_func_hypotl_use=no
69692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
69695 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
69696 if test "x$glibcxx_cv_func_hypotl_use" = xyes; then
69697 cat >>confdefs.h <<_ACEOF
69698 #define HAVE_HYPOTL 1
69699 _ACEOF
69705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
69706 $as_echo_n "checking for ldexpf declaration... " >&6; }
69707 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
69708 $as_echo_n "(cached) " >&6
69709 else
69712 ac_ext=c
69713 ac_cpp='$CPP $CPPFLAGS'
69714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69719 /* end confdefs.h. */
69721 #include <math.h>
69722 #ifdef HAVE_IEEEFP_H
69723 # include <ieeefp.h>
69724 #endif
69725 #undef ldexpf
69728 main ()
69731 void (*f)(void) = (void (*)(void))ldexpf;
69734 return 0;
69736 _ACEOF
69737 if ac_fn_c_try_compile "$LINENO"; then :
69738 glibcxx_cv_func_ldexpf_use=yes
69740 else
69741 glibcxx_cv_func_ldexpf_use=no
69743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
69746 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
69747 if test "x$glibcxx_cv_func_ldexpf_use" = xyes; then
69748 cat >>confdefs.h <<_ACEOF
69749 #define HAVE_LDEXPF 1
69750 _ACEOF
69756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69757 $as_echo_n "checking for modff declaration... " >&6; }
69758 if ${glibcxx_cv_func_modff_use+:} false; then :
69759 $as_echo_n "(cached) " >&6
69760 else
69763 ac_ext=c
69764 ac_cpp='$CPP $CPPFLAGS'
69765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69770 /* end confdefs.h. */
69772 #include <math.h>
69773 #ifdef HAVE_IEEEFP_H
69774 # include <ieeefp.h>
69775 #endif
69776 #undef modff
69779 main ()
69782 void (*f)(void) = (void (*)(void))modff;
69785 return 0;
69787 _ACEOF
69788 if ac_fn_c_try_compile "$LINENO"; then :
69789 glibcxx_cv_func_modff_use=yes
69791 else
69792 glibcxx_cv_func_modff_use=no
69794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69797 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
69798 if test "x$glibcxx_cv_func_modff_use" = xyes; then
69799 cat >>confdefs.h <<_ACEOF
69800 #define HAVE_MODFF 1
69801 _ACEOF
69807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
69808 $as_echo_n "checking for hypotf declaration... " >&6; }
69809 if ${glibcxx_cv_func_hypotf_use+:} false; then :
69810 $as_echo_n "(cached) " >&6
69811 else
69814 ac_ext=c
69815 ac_cpp='$CPP $CPPFLAGS'
69816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69821 /* end confdefs.h. */
69823 #include <math.h>
69824 #ifdef HAVE_IEEEFP_H
69825 # include <ieeefp.h>
69826 #endif
69827 #undef hypotf
69830 main ()
69833 void (*f)(void) = (void (*)(void))hypotf;
69836 return 0;
69838 _ACEOF
69839 if ac_fn_c_try_compile "$LINENO"; then :
69840 glibcxx_cv_func_hypotf_use=yes
69842 else
69843 glibcxx_cv_func_hypotf_use=no
69845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
69848 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
69849 if test "x$glibcxx_cv_func_hypotf_use" = xyes; then
69850 cat >>confdefs.h <<_ACEOF
69851 #define HAVE_HYPOTF 1
69852 _ACEOF
69858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
69859 $as_echo_n "checking for frexpf declaration... " >&6; }
69860 if ${glibcxx_cv_func_frexpf_use+:} false; then :
69861 $as_echo_n "(cached) " >&6
69862 else
69865 ac_ext=c
69866 ac_cpp='$CPP $CPPFLAGS'
69867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69872 /* end confdefs.h. */
69874 #include <math.h>
69875 #ifdef HAVE_IEEEFP_H
69876 # include <ieeefp.h>
69877 #endif
69878 #undef frexpf
69881 main ()
69884 void (*f)(void) = (void (*)(void))frexpf;
69887 return 0;
69889 _ACEOF
69890 if ac_fn_c_try_compile "$LINENO"; then :
69891 glibcxx_cv_func_frexpf_use=yes
69893 else
69894 glibcxx_cv_func_frexpf_use=no
69896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
69899 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
69900 if test "x$glibcxx_cv_func_frexpf_use" = xyes; then
69901 cat >>confdefs.h <<_ACEOF
69902 #define HAVE_FREXPF 1
69903 _ACEOF
69911 as_fn_error $? "No support for this host/target combination." "$LINENO" 5
69913 esac
69917 # At some point, we should differentiate between architectures
69918 # like x86, which have long double versions, and alpha/powerpc/etc.,
69919 # which don't. For the time being, punt.
69920 if test x"long_double_math_on_this_cpu" = x"yes"; then
69921 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
69923 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
69925 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
69927 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
69929 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
69931 $as_echo "#define HAVE_COSL 1" >>confdefs.h
69933 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
69935 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
69937 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
69939 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
69941 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
69943 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
69945 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
69947 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
69949 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
69951 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
69953 $as_echo "#define HAVE_POWL 1" >>confdefs.h
69955 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
69957 $as_echo "#define HAVE_SINL 1" >>confdefs.h
69959 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
69961 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
69963 $as_echo "#define HAVE_TANL 1" >>confdefs.h
69965 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
69970 # Check for _Unwind_GetIPInfo.
69973 # Check whether --with-system-libunwind was given.
69974 if test "${with_system_libunwind+set}" = set; then :
69975 withval=$with_system_libunwind;
69978 # If system-libunwind was not specifically set, pick a default setting.
69979 if test x$with_system_libunwind = x; then
69980 case ${target} in
69981 ia64-*-hpux*) with_system_libunwind=yes ;;
69982 *) with_system_libunwind=no ;;
69983 esac
69985 # Based on system-libunwind and target, do we have ipinfo?
69986 if test x$with_system_libunwind = xyes; then
69987 case ${target} in
69988 ia64-*-*) have_unwind_getipinfo=no ;;
69989 *) have_unwind_getipinfo=yes ;;
69990 esac
69991 else
69992 # Darwin before version 9 does not have _Unwind_GetIPInfo.
69994 case ${target} in
69995 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
69996 *) have_unwind_getipinfo=yes ;;
69997 esac
70001 if test x$have_unwind_getipinfo = xyes; then
70003 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
70008 # Check whether --enable-linux-futex was given.
70009 if test "${enable_linux_futex+set}" = set; then :
70010 enableval=$enable_linux_futex;
70011 case "$enableval" in
70012 yes|no|default) ;;
70013 *) as_fn_error $? "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
70014 esac
70016 else
70017 enable_linux_futex=default
70021 case "$target" in
70022 *-linux* | *-uclinux*)
70023 case "$enable_linux_futex" in
70024 default)
70025 # If headers don't have gettid/futex syscalls definition, then
70026 # default to no, otherwise there will be compile time failures.
70027 # Otherwise, default to yes. If we don't detect we are
70028 # compiled/linked against NPTL and not cross-compiling, check
70029 # if programs are run by default against NPTL and if not, issue
70030 # a warning.
70031 enable_linux_futex=no
70032 if test x$gcc_no_link = xyes; then
70033 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70036 /* end confdefs.h. */
70037 #include <sys/syscall.h>
70038 #include <unistd.h>
70039 int lk;
70041 main ()
70043 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
70045 return 0;
70047 _ACEOF
70048 if ac_fn_c_try_link "$LINENO"; then :
70049 save_LIBS="$LIBS"
70050 LIBS="-lpthread $LIBS"
70051 if test x$gcc_no_link = xyes; then
70052 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70055 /* end confdefs.h. */
70056 #ifndef _GNU_SOURCE
70057 #define _GNU_SOURCE 1
70058 #endif
70059 #include <pthread.h>
70060 pthread_t th; void *status;
70062 main ()
70064 pthread_tryjoin_np (th, &status);
70066 return 0;
70068 _ACEOF
70069 if ac_fn_c_try_link "$LINENO"; then :
70070 enable_linux_futex=yes
70071 else
70072 if test x$cross_compiling = xno; then
70073 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
70074 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
70075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
70076 If so, please configure with --disable-linux-futex" >&5
70077 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
70078 If so, please configure with --disable-linux-futex" >&2;}
70081 enable_linux_futex=yes
70083 rm -f core conftest.err conftest.$ac_objext \
70084 conftest$ac_exeext conftest.$ac_ext
70085 LIBS="$save_LIBS"
70087 rm -f core conftest.err conftest.$ac_objext \
70088 conftest$ac_exeext conftest.$ac_ext
70090 yes)
70091 if test x$gcc_no_link = xyes; then
70092 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70095 /* end confdefs.h. */
70096 #include <sys/syscall.h>
70097 #include <unistd.h>
70098 int lk;
70100 main ()
70102 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
70104 return 0;
70106 _ACEOF
70107 if ac_fn_c_try_link "$LINENO"; then :
70109 else
70110 as_fn_error $? "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
70112 rm -f core conftest.err conftest.$ac_objext \
70113 conftest$ac_exeext conftest.$ac_ext
70115 esac
70118 enable_linux_futex=no
70120 esac
70121 if test x$enable_linux_futex = xyes; then
70123 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
70129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
70130 $as_echo_n "checking for GNU c++filt... " >&6; }
70131 if ${ac_cv_path_CXXFILT+:} false; then :
70132 $as_echo_n "(cached) " >&6
70133 else
70134 if test -z "$CXXFILT"; then
70135 ac_path_CXXFILT_found=false
70136 # Loop through the user's path and test for each of PROGNAME-LIST
70137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
70138 for as_dir in $PATH
70140 IFS=$as_save_IFS
70141 test -z "$as_dir" && as_dir=.
70142 for ac_prog in c++filt gc++filt; do
70143 for ac_exec_ext in '' $ac_executable_extensions; do
70144 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
70145 as_fn_executable_p "$ac_path_CXXFILT" || continue
70146 # Check for GNU $ac_path_CXXFILT
70147 case `"$ac_path_CXXFILT" --version 2>&1` in
70148 *GNU*)
70149 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
70150 esac
70152 $ac_path_CXXFILT_found && break 3
70153 done
70154 done
70155 done
70156 IFS=$as_save_IFS
70157 if test -z "$ac_cv_path_CXXFILT"; then
70160 else
70161 ac_cv_path_CXXFILT=$CXXFILT
70165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
70166 $as_echo "$ac_cv_path_CXXFILT" >&6; }
70167 CXXFILT=$ac_cv_path_CXXFILT
70171 # Check whether --enable-symvers was given.
70172 if test "${enable_symvers+set}" = set; then :
70173 enableval=$enable_symvers;
70174 case "$enableval" in
70175 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
70176 *) as_fn_error $? "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
70177 esac
70179 else
70180 enable_symvers=yes
70185 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
70186 # don't know enough about $LD to do tricks...
70188 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
70189 # with extern "C++" in version scripts.
70192 # Turn a 'yes' into a suitable default.
70193 if test x$enable_symvers = xyes ; then
70194 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
70195 enable_symvers=no
70196 else
70197 if test $with_gnu_ld = yes ; then
70198 case ${target_os} in
70199 hpux*)
70200 enable_symvers=no ;;
70202 enable_symvers=gnu ;;
70203 esac
70204 else
70205 case ${target_os} in
70206 darwin*)
70207 enable_symvers=darwin ;;
70208 # Sun symbol versioning exists since Solaris 2.5.
70209 solaris2.[5-9]* | solaris2.1[0-9]*)
70210 # make_sunver.pl needs GNU c++filt to support extern "C++" in
70211 # version scripts, so disable symbol versioning if none can be
70212 # found.
70213 if test -z "$ac_cv_path_CXXFILT"; then
70214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
70215 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
70216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
70217 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
70218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70219 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70220 enable_symvers=no
70221 else
70222 enable_symvers=sun
70226 enable_symvers=no ;;
70227 esac
70232 # Check to see if 'darwin' or 'darwin-export' can win.
70233 if test x$enable_symvers = xdarwin-export ; then
70234 enable_symvers=darwin
70237 # Check if 'sun' was requested on non-Solaris 2 platforms.
70238 if test x$enable_symvers = xsun ; then
70239 case ${target_os} in
70240 solaris2*)
70241 # All fine.
70244 # Unlikely to work.
70245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
70246 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
70247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
70248 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
70249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70250 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70251 enable_symvers=no
70253 esac
70256 # Check to see if 'gnu' can win.
70257 if test $enable_symvers = gnu ||
70258 test $enable_symvers = gnu-versioned-namespace ||
70259 test $enable_symvers = sun; then
70260 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
70261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
70262 $as_echo_n "checking for shared libgcc... " >&6; }
70263 ac_save_CFLAGS="$CFLAGS"
70264 CFLAGS=' -lgcc_s'
70265 if test x$gcc_no_link = xyes; then
70266 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70269 /* end confdefs.h. */
70272 main ()
70274 return 0;
70276 return 0;
70278 _ACEOF
70279 if ac_fn_c_try_link "$LINENO"; then :
70280 glibcxx_shared_libgcc=yes
70281 else
70282 glibcxx_shared_libgcc=no
70284 rm -f core conftest.err conftest.$ac_objext \
70285 conftest$ac_exeext conftest.$ac_ext
70286 CFLAGS="$ac_save_CFLAGS"
70287 if test $glibcxx_shared_libgcc = no; then
70288 cat > conftest.c <<EOF
70289 int main (void) { return 0; }
70291 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
70292 -shared -shared-libgcc -o conftest.so \
70293 conftest.c -v 2>&1 >/dev/null \
70294 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
70295 rm -f conftest.c conftest.so
70296 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
70297 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
70298 if test x$gcc_no_link = xyes; then
70299 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70302 /* end confdefs.h. */
70305 main ()
70307 return 0;
70309 return 0;
70311 _ACEOF
70312 if ac_fn_c_try_link "$LINENO"; then :
70313 glibcxx_shared_libgcc=yes
70315 rm -f core conftest.err conftest.$ac_objext \
70316 conftest$ac_exeext conftest.$ac_ext
70317 CFLAGS="$ac_save_CFLAGS"
70320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
70321 $as_echo "$glibcxx_shared_libgcc" >&6; }
70323 # For GNU ld, we need at least this version. The format is described in
70324 # GLIBCXX_CHECK_LINKER_FEATURES above.
70325 glibcxx_min_gnu_ld_version=21400
70327 # If no shared libgcc, can't win.
70328 if test $glibcxx_shared_libgcc != yes; then
70329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
70330 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
70331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
70332 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
70333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70334 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70335 enable_symvers=no
70336 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
70337 : All interesting versions of Sun ld support sun style symbol versioning.
70338 elif test $with_gnu_ld != yes ; then
70339 # just fail for now
70340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
70341 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
70342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
70343 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
70344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70345 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70346 enable_symvers=no
70347 elif test $glibcxx_ld_is_gold = yes ; then
70348 : All versions of gold support symbol versioning.
70349 elif test $glibcxx_ld_is_mold = yes ; then
70350 : All versions of mold support symbol versioning.
70351 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
70352 # The right tools, the right setup, but too old. Fallbacks?
70353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
70354 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
70355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
70356 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
70357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
70358 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
70359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
70360 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
70361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70362 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70363 enable_symvers=no
70367 # For libtool versioning info, format is CURRENT:REVISION:AGE
70368 libtool_VERSION=6:33:0
70370 # Everything parsed; figure out what files and settings to use.
70371 case $enable_symvers in
70373 SYMVER_FILE=config/abi/pre/none.ver
70375 gnu)
70376 SYMVER_FILE=config/abi/pre/gnu.ver
70378 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
70381 gnu-versioned-namespace)
70382 libtool_VERSION=8:0:0
70383 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
70385 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
70388 darwin)
70389 SYMVER_FILE=config/abi/pre/gnu.ver
70391 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
70394 sun)
70395 SYMVER_FILE=config/abi/pre/gnu.ver
70397 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
70400 esac
70402 if test x$enable_symvers != xno ; then
70404 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
70408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
70409 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
70410 if ${glibcxx_cv_have_as_symver_directive+:} false; then :
70411 $as_echo_n "(cached) " >&6
70412 else
70414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70415 /* end confdefs.h. */
70416 void foo (void); __asm (".symver foo, bar@SYMVER");
70418 main ()
70422 return 0;
70424 _ACEOF
70425 if ac_fn_c_try_compile "$LINENO"; then :
70426 glibcxx_cv_have_as_symver_directive=yes
70427 else
70428 glibcxx_cv_have_as_symver_directive=no
70430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
70433 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
70434 if test $glibcxx_cv_have_as_symver_directive = yes; then
70436 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
70447 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
70448 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
70450 if test $enable_symvers != no ; then
70451 case ${target_os} in
70452 # The Solaris 2 runtime linker doesn't support the GNU extension of
70453 # binding the same symbol to different versions
70454 solaris2*)
70456 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
70459 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
70462 esac
70465 # Now, set up compatibility support, if any.
70466 # In addition, need this to deal with std::size_t mangling in
70467 # src/compatibility.cc. In a perfect world, could use
70468 # typeid(std::size_t).name()[0] to do direct substitution.
70469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
70470 $as_echo_n "checking for size_t as unsigned int... " >&6; }
70471 ac_save_CFLAGS="$CFLAGS"
70472 CFLAGS="-Werror"
70473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70474 /* end confdefs.h. */
70477 main ()
70479 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
70481 return 0;
70483 _ACEOF
70484 if ac_fn_c_try_compile "$LINENO"; then :
70485 glibcxx_size_t_is_i=yes
70486 else
70487 glibcxx_size_t_is_i=no
70489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70490 CFLAGS=$ac_save_CFLAGS
70491 if test "$glibcxx_size_t_is_i" = yes; then
70493 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
70496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
70497 $as_echo "$glibcxx_size_t_is_i" >&6; }
70499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
70500 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
70501 ac_save_CFLAGS="$CFLAGS"
70502 CFLAGS="-Werror"
70503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70504 /* end confdefs.h. */
70507 main ()
70509 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
70511 return 0;
70513 _ACEOF
70514 if ac_fn_c_try_compile "$LINENO"; then :
70515 glibcxx_ptrdiff_t_is_i=yes
70516 else
70517 glibcxx_ptrdiff_t_is_i=no
70519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70520 CFLAGS=$ac_save_CFLAGS
70521 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
70523 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
70526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
70527 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
70532 # Check whether --enable-libstdcxx-visibility was given.
70533 if test "${enable_libstdcxx_visibility+set}" = set; then :
70534 enableval=$enable_libstdcxx_visibility;
70535 case "$enableval" in
70536 yes|no) ;;
70537 *) as_fn_error $? "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
70538 esac
70540 else
70541 enable_libstdcxx_visibility=yes
70546 if test x$enable_libstdcxx_visibility = xyes ; then
70547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
70548 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
70549 if ${glibcxx_cv_have_attribute_visibility+:} false; then :
70550 $as_echo_n "(cached) " >&6
70551 else
70553 save_CFLAGS="$CFLAGS"
70554 CFLAGS="$CFLAGS -Werror"
70555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70556 /* end confdefs.h. */
70557 void __attribute__((visibility("hidden"))) foo(void) { }
70559 main ()
70563 return 0;
70565 _ACEOF
70566 if ac_fn_c_try_compile "$LINENO"; then :
70567 glibcxx_cv_have_attribute_visibility=yes
70568 else
70569 glibcxx_cv_have_attribute_visibility=no
70571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70572 CFLAGS="$save_CFLAGS"
70574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
70575 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
70576 if test $glibcxx_cv_have_attribute_visibility = no; then
70577 enable_libstdcxx_visibility=no
70582 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
70583 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
70587 # Check whether --enable-libstdcxx-dual-abi was given.
70588 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
70589 enableval=$enable_libstdcxx_dual_abi;
70590 case "$enableval" in
70591 yes|no) ;;
70592 *) as_fn_error $? "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
70593 esac
70595 else
70596 enable_libstdcxx_dual_abi=yes
70600 if test x$enable_symvers = xgnu-versioned-namespace; then
70601 # gnu-versioned-namespace is incompatible with the dual ABI.
70602 enable_libstdcxx_dual_abi="no"
70604 if test x"$enable_libstdcxx_dual_abi" != xyes; then
70605 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
70606 $as_echo "$as_me: dual ABI is disabled" >&6;}
70607 default_libstdcxx_abi="gcc4-compatible"
70612 if test x$enable_libstdcxx_dual_abi = xyes; then
70613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
70614 $as_echo_n "checking for default std::string ABI to use... " >&6; }
70616 # Check whether --with-default-libstdcxx-abi was given.
70617 if test "${with_default_libstdcxx_abi+set}" = set; then :
70618 withval=$with_default_libstdcxx_abi; case "$withval" in
70619 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
70620 new|cxx11) default_libstdcxx_abi="new" ;;
70621 c++*|gnu++*) as_fn_error $? "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
70622 *) as_fn_error $? "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
70623 esac
70625 else
70626 default_libstdcxx_abi="new"
70629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
70630 $as_echo "${default_libstdcxx_abi}" >&6; }
70632 if test $default_libstdcxx_abi = "new"; then
70633 glibcxx_cxx11_abi=1
70634 glibcxx_cxx98_abi=0
70635 else
70636 glibcxx_cxx11_abi=0
70637 glibcxx_cxx98_abi=1
70643 ac_ldbl_compat=no
70644 ac_ldbl_alt128_compat=no
70645 ac_ldbl_ieee128_default=no
70646 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
70647 LONG_DOUBLE_128_FLAGS=
70648 LONG_DOUBLE_ALT128_COMPAT_FLAGS=
70649 case "$target" in
70650 powerpc*-*-linux* | \
70651 sparc*-*-linux* | \
70652 s390*-*-linux* | \
70653 alpha*-*-linux*)
70654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70655 /* end confdefs.h. */
70658 main ()
70661 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
70662 #error no need for long double compatibility
70663 #endif
70666 return 0;
70668 _ACEOF
70669 if ac_fn_c_try_compile "$LINENO"; then :
70670 ac_ldbl_compat=yes
70671 else
70672 ac_ldbl_compat=no
70674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70675 if test "$ac_ldbl_compat" = yes; then
70677 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
70679 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
70680 case "$target" in
70681 powerpc*-*-linux*)
70682 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute"
70683 # Check for IEEE128 support in libm:
70684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __frexpieee128 in -lm" >&5
70685 $as_echo_n "checking for __frexpieee128 in -lm... " >&6; }
70686 if ${ac_cv_lib_m___frexpieee128+:} false; then :
70687 $as_echo_n "(cached) " >&6
70688 else
70689 ac_check_lib_save_LIBS=$LIBS
70690 LIBS="-lm $LIBS"
70691 if test x$gcc_no_link = xyes; then
70692 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70695 /* end confdefs.h. */
70697 /* Override any GCC internal prototype to avoid an error.
70698 Use char because int might match the return type of a GCC
70699 builtin and then its argument prototype would still apply. */
70700 #ifdef __cplusplus
70701 extern "C"
70702 #endif
70703 char __frexpieee128 ();
70705 main ()
70707 return __frexpieee128 ();
70709 return 0;
70711 _ACEOF
70712 if ac_fn_c_try_link "$LINENO"; then :
70713 ac_cv_lib_m___frexpieee128=yes
70714 else
70715 ac_cv_lib_m___frexpieee128=no
70717 rm -f core conftest.err conftest.$ac_objext \
70718 conftest$ac_exeext conftest.$ac_ext
70719 LIBS=$ac_check_lib_save_LIBS
70721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___frexpieee128" >&5
70722 $as_echo "$ac_cv_lib_m___frexpieee128" >&6; }
70723 if test "x$ac_cv_lib_m___frexpieee128" = xyes; then :
70724 ac_ldbl_ieee128_in_libc=yes
70725 else
70726 ac_ldbl_ieee128_in_libc=no
70729 if test $ac_ldbl_ieee128_in_libc = yes; then
70730 # Determine which long double format is the compiler's default:
70731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70732 /* end confdefs.h. */
70735 main ()
70738 #ifndef __LONG_DOUBLE_IEEE128__
70739 #error compiler defaults to ibm128
70740 #endif
70743 return 0;
70745 _ACEOF
70746 if ac_fn_c_try_compile "$LINENO"; then :
70747 ac_ldbl_ieee128_default=yes
70748 else
70749 ac_ldbl_ieee128_default=no
70751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70752 # Library objects should use default long double format.
70753 if test "$ac_ldbl_ieee128_default" = yes; then
70754 LONG_DOUBLE_128_FLAGS="-mno-gnu-attribute"
70755 # Except for the ones that explicitly use these flags:
70756 LONG_DOUBLE_ALT128_COMPAT_FLAGS="-mabi=ibmlongdouble -mno-gnu-attribute -Wno-psabi"
70757 else
70758 LONG_DOUBLE_128_FLAGS="-mno-gnu-attribute"
70759 LONG_DOUBLE_ALT128_COMPAT_FLAGS="-mabi=ieeelongdouble -mno-gnu-attribute -Wno-psabi"
70762 $as_echo "#define _GLIBCXX_LONG_DOUBLE_ALT128_COMPAT 1" >>confdefs.h
70764 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/os/gnu-linux/ldbl-ieee128-extra.ver"
70765 ac_ldbl_alt128_compat=yes
70766 else
70767 ac_ldbl_alt128_compat=no
70770 esac
70772 esac
70779 # Check if assembler supports disabling hardware capability support.
70781 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
70783 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
70784 # with a different meaning.
70785 case ${target_os} in
70786 solaris2*)
70787 ac_save_CFLAGS="$CFLAGS"
70788 CFLAGS="$CFLAGS -Wa,-nH"
70790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
70791 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
70792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70793 /* end confdefs.h. */
70796 main ()
70798 return 0;
70800 return 0;
70802 _ACEOF
70803 if ac_fn_c_try_compile "$LINENO"; then :
70804 ac_hwcap_flags=yes
70805 else
70806 ac_hwcap_flags=no
70808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70809 if test "$ac_hwcap_flags" = "yes"; then
70810 HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
70812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
70813 $as_echo "$ac_hwcap_flags" >&6; }
70815 CFLAGS="$ac_save_CFLAGS"
70817 esac
70822 # Check if assembler supports rdrand opcode.
70824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
70825 $as_echo_n "checking for rdrand support in assembler... " >&6; }
70826 if ${ac_cv_x86_rdrand+:} false; then :
70827 $as_echo_n "(cached) " >&6
70828 else
70830 ac_cv_x86_rdrand=no
70831 case "$target" in
70832 i?86-*-* | \
70833 x86_64-*-*)
70834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70835 /* end confdefs.h. */
70838 main ()
70840 asm("rdrand %eax");
70842 return 0;
70844 _ACEOF
70845 if ac_fn_c_try_compile "$LINENO"; then :
70846 ac_cv_x86_rdrand=yes
70847 else
70848 ac_cv_x86_rdrand=no
70850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70851 esac
70854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
70855 $as_echo "$ac_cv_x86_rdrand" >&6; }
70856 if test $ac_cv_x86_rdrand = yes; then
70858 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
70862 # Check if assembler supports rdseed opcode.
70864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdseed support in assembler" >&5
70865 $as_echo_n "checking for rdseed support in assembler... " >&6; }
70866 if ${ac_cv_x86_rdseed+:} false; then :
70867 $as_echo_n "(cached) " >&6
70868 else
70870 ac_cv_x86_rdseed=no
70871 case "$target" in
70872 i?86-*-* | \
70873 x86_64-*-*)
70874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70875 /* end confdefs.h. */
70878 main ()
70880 asm("rdseed %eax");
70882 return 0;
70884 _ACEOF
70885 if ac_fn_c_try_compile "$LINENO"; then :
70886 ac_cv_x86_rdseed=yes
70887 else
70888 ac_cv_x86_rdseed=no
70890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70891 esac
70894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdseed" >&5
70895 $as_echo "$ac_cv_x86_rdseed" >&6; }
70896 if test $ac_cv_x86_rdseed = yes; then
70898 $as_echo "#define _GLIBCXX_X86_RDSEED 1" >>confdefs.h
70903 # Check for other random number APIs
70907 ac_ext=cpp
70908 ac_cpp='$CXXCPP $CPPFLAGS'
70909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getentropy" >&5
70914 $as_echo_n "checking for getentropy... " >&6; }
70915 if ${glibcxx_cv_getentropy+:} false; then :
70916 $as_echo_n "(cached) " >&6
70917 else
70919 if test x$gcc_no_link = xyes; then
70920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70921 /* end confdefs.h. */
70922 #include <unistd.h>
70924 main ()
70926 unsigned i;
70927 ::getentropy(&i, sizeof(i));
70929 return 0;
70931 _ACEOF
70932 if ac_fn_cxx_try_compile "$LINENO"; then :
70933 glibcxx_cv_getentropy=yes
70934 else
70935 glibcxx_cv_getentropy=no
70937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70938 else
70939 if test x$gcc_no_link = xyes; then
70940 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70943 /* end confdefs.h. */
70944 #include <unistd.h>
70946 main ()
70948 unsigned i;
70949 ::getentropy(&i, sizeof(i));
70951 return 0;
70953 _ACEOF
70954 if ac_fn_cxx_try_link "$LINENO"; then :
70955 glibcxx_cv_getentropy=yes
70956 else
70957 glibcxx_cv_getentropy=no
70959 rm -f core conftest.err conftest.$ac_objext \
70960 conftest$ac_exeext conftest.$ac_ext
70964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_getentropy" >&5
70965 $as_echo "$glibcxx_cv_getentropy" >&6; }
70967 if test $glibcxx_cv_getentropy = yes; then
70969 $as_echo "#define HAVE_GETENTROPY 1" >>confdefs.h
70972 ac_ext=c
70973 ac_cpp='$CPP $CPPFLAGS'
70974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70982 ac_ext=cpp
70983 ac_cpp='$CXXCPP $CPPFLAGS'
70984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for arc4random" >&5
70989 $as_echo_n "checking for arc4random... " >&6; }
70990 if ${glibcxx_cv_arc4random+:} false; then :
70991 $as_echo_n "(cached) " >&6
70992 else
70994 if test x$gcc_no_link = xyes; then
70995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70996 /* end confdefs.h. */
70997 #include <stdlib.h>
70999 main ()
71001 unsigned i = ::arc4random();
71003 return 0;
71005 _ACEOF
71006 if ac_fn_cxx_try_compile "$LINENO"; then :
71007 glibcxx_cv_arc4random=yes
71008 else
71009 glibcxx_cv_arc4random=no
71011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71012 else
71013 if test x$gcc_no_link = xyes; then
71014 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71017 /* end confdefs.h. */
71018 #include <stdlib.h>
71020 main ()
71022 unsigned i = ::arc4random();
71024 return 0;
71026 _ACEOF
71027 if ac_fn_cxx_try_link "$LINENO"; then :
71028 glibcxx_cv_arc4random=yes
71029 else
71030 glibcxx_cv_arc4random=no
71032 rm -f core conftest.err conftest.$ac_objext \
71033 conftest$ac_exeext conftest.$ac_ext
71037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_arc4random" >&5
71038 $as_echo "$glibcxx_cv_arc4random" >&6; }
71040 if test $glibcxx_cv_arc4random = yes; then
71042 $as_echo "#define HAVE_ARC4RANDOM 1" >>confdefs.h
71045 ac_ext=c
71046 ac_cpp='$CPP $CPPFLAGS'
71047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71053 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
71055 # Do checks for resource limit functions.
71058 ac_ext=cpp
71059 ac_cpp='$CXXCPP $CPPFLAGS'
71060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71064 setrlimit_have_headers=yes
71065 for ac_header in unistd.h sys/time.h sys/resource.h
71066 do :
71067 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
71068 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
71069 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
71070 cat >>confdefs.h <<_ACEOF
71071 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
71072 _ACEOF
71074 else
71075 setrlimit_have_headers=no
71078 done
71080 # If don't have the headers, then we can't run the tests now, and we
71081 # won't be seeing any of these during testsuite compilation.
71082 if test $setrlimit_have_headers = yes; then
71083 # Can't do these in a loop, else the resulting syntax is wrong.
71085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
71086 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
71087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71088 /* end confdefs.h. */
71089 #include <unistd.h>
71090 #include <sys/time.h>
71091 #include <sys/resource.h>
71094 main ()
71096 int f = RLIMIT_DATA ;
71098 return 0;
71100 _ACEOF
71101 if ac_fn_cxx_try_compile "$LINENO"; then :
71102 glibcxx_mresult=1
71103 else
71104 glibcxx_mresult=0
71106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71108 cat >>confdefs.h <<_ACEOF
71109 #define HAVE_LIMIT_DATA $glibcxx_mresult
71110 _ACEOF
71112 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
71113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
71114 $as_echo "$res" >&6; }
71117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
71118 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
71119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71120 /* end confdefs.h. */
71121 #include <unistd.h>
71122 #include <sys/time.h>
71123 #include <sys/resource.h>
71126 main ()
71128 int f = RLIMIT_RSS ;
71130 return 0;
71132 _ACEOF
71133 if ac_fn_cxx_try_compile "$LINENO"; then :
71134 glibcxx_mresult=1
71135 else
71136 glibcxx_mresult=0
71138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71140 cat >>confdefs.h <<_ACEOF
71141 #define HAVE_LIMIT_RSS $glibcxx_mresult
71142 _ACEOF
71144 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
71145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
71146 $as_echo "$res" >&6; }
71149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
71150 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
71151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71152 /* end confdefs.h. */
71153 #include <unistd.h>
71154 #include <sys/time.h>
71155 #include <sys/resource.h>
71158 main ()
71160 int f = RLIMIT_VMEM ;
71162 return 0;
71164 _ACEOF
71165 if ac_fn_cxx_try_compile "$LINENO"; then :
71166 glibcxx_mresult=1
71167 else
71168 glibcxx_mresult=0
71170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71172 cat >>confdefs.h <<_ACEOF
71173 #define HAVE_LIMIT_VMEM $glibcxx_mresult
71174 _ACEOF
71176 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
71177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
71178 $as_echo "$res" >&6; }
71181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
71182 $as_echo_n "checking for RLIMIT_AS... " >&6; }
71183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71184 /* end confdefs.h. */
71185 #include <unistd.h>
71186 #include <sys/time.h>
71187 #include <sys/resource.h>
71190 main ()
71192 int f = RLIMIT_AS ;
71194 return 0;
71196 _ACEOF
71197 if ac_fn_cxx_try_compile "$LINENO"; then :
71198 glibcxx_mresult=1
71199 else
71200 glibcxx_mresult=0
71202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71204 cat >>confdefs.h <<_ACEOF
71205 #define HAVE_LIMIT_AS $glibcxx_mresult
71206 _ACEOF
71208 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
71209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
71210 $as_echo "$res" >&6; }
71213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
71214 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
71215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71216 /* end confdefs.h. */
71217 #include <unistd.h>
71218 #include <sys/time.h>
71219 #include <sys/resource.h>
71222 main ()
71224 int f = RLIMIT_FSIZE ;
71226 return 0;
71228 _ACEOF
71229 if ac_fn_cxx_try_compile "$LINENO"; then :
71230 glibcxx_mresult=1
71231 else
71232 glibcxx_mresult=0
71234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71236 cat >>confdefs.h <<_ACEOF
71237 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
71238 _ACEOF
71240 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
71241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
71242 $as_echo "$res" >&6; }
71245 # Check for rlimit, setrlimit.
71246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
71247 $as_echo_n "checking for testsuite resource limits support... " >&6; }
71248 if ${glibcxx_cv_setrlimit+:} false; then :
71249 $as_echo_n "(cached) " >&6
71250 else
71252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71253 /* end confdefs.h. */
71254 #include <unistd.h>
71255 #include <sys/time.h>
71256 #include <sys/resource.h>
71259 main ()
71261 struct rlimit r;
71262 setrlimit(0, &r);
71264 return 0;
71266 _ACEOF
71267 if ac_fn_cxx_try_compile "$LINENO"; then :
71268 glibcxx_cv_setrlimit=yes
71269 else
71270 glibcxx_cv_setrlimit=no
71272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_setrlimit" >&5
71276 $as_echo "$glibcxx_cv_setrlimit" >&6; }
71278 if test $glibcxx_cv_setrlimit = yes; then
71280 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
71284 ac_ext=c
71285 ac_cpp='$CPP $CPPFLAGS'
71286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71292 if $GLIBCXX_IS_NATIVE ; then
71293 # Look for setenv, so that extended locale tests can be performed.
71295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
71296 $as_echo_n "checking for setenv declaration... " >&6; }
71297 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
71298 if ${glibcxx_cv_func_setenv_use+:} false; then :
71299 $as_echo_n "(cached) " >&6
71300 else
71303 ac_ext=cpp
71304 ac_cpp='$CXXCPP $CPPFLAGS'
71305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71310 /* end confdefs.h. */
71311 #include <stdlib.h>
71313 main ()
71315 setenv(0, 0, 0);
71317 return 0;
71319 _ACEOF
71320 if ac_fn_cxx_try_compile "$LINENO"; then :
71321 glibcxx_cv_func_setenv_use=yes
71322 else
71323 glibcxx_cv_func_setenv_use=no
71325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71326 ac_ext=c
71327 ac_cpp='$CPP $CPPFLAGS'
71328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
71337 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
71338 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
71339 for ac_func in setenv
71340 do :
71341 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
71342 if test "x$ac_cv_func_setenv" = xyes; then :
71343 cat >>confdefs.h <<_ACEOF
71344 #define HAVE_SETENV 1
71345 _ACEOF
71348 done
71354 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
71355 test $enable_symvers != no; then
71356 case "$host" in
71357 *-*-cygwin*)
71358 enable_abi_check=no ;;
71360 enable_abi_check=yes ;;
71361 esac
71362 else
71363 # Only build this as native, since automake does not understand
71364 # CXX_FOR_BUILD.
71365 enable_abi_check=no
71368 # Export file names for ABI checking.
71369 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
71371 baseline_subdir_switch="$abi_baseline_subdir_switch"
71375 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
71377 # Check whether --enable-libstdcxx-threads was given.
71378 if test "${enable_libstdcxx_threads+set}" = set; then :
71379 enableval=$enable_libstdcxx_threads;
71380 case "$enableval" in
71381 yes|no) ;;
71382 *) as_fn_error $? "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
71383 esac
71385 else
71386 enable_libstdcxx_threads=auto
71391 if test x$enable_libstdcxx_threads = xauto ||
71392 test x$enable_libstdcxx_threads = xyes; then
71395 ac_ext=cpp
71396 ac_cpp='$CXXCPP $CPPFLAGS'
71397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71402 ac_save_CXXFLAGS="$CXXFLAGS"
71403 CXXFLAGS="$CXXFLAGS -fno-exceptions \
71404 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
71406 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
71407 case $target_thread_file in
71408 posix)
71409 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
71411 win32)
71412 CXXFLAGS="$CXXFLAGS -D_WIN32_THREADS"
71413 # The support of condition variables is disabled by default in
71414 # the Win32 gthreads library, so enable it on explicit request.
71415 if test x$enable_libstdcxx_threads = xyes; then
71416 CXXFLAGS="$CXXFLAGS -D_WIN32_WINNT=0x0600"
71419 esac
71421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
71422 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
71424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71425 /* end confdefs.h. */
71426 #include <unistd.h>
71428 main ()
71431 // In case of POSIX threads check _POSIX_TIMEOUTS.
71432 #if (defined(_PTHREADS) \
71433 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
71434 #error
71435 // In case of Win32 threads there is no support.
71436 #elif defined(_WIN32_THREADS)
71437 #error
71438 #endif
71441 return 0;
71443 _ACEOF
71444 if ac_fn_cxx_try_compile "$LINENO"; then :
71445 ac_gthread_use_mutex_timedlock=1
71446 else
71447 ac_gthread_use_mutex_timedlock=0
71449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71452 cat >>confdefs.h <<_ACEOF
71453 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
71454 _ACEOF
71457 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
71458 else res_mutex_timedlock=no ; fi
71459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
71460 $as_echo "$res_mutex_timedlock" >&6; }
71462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
71463 $as_echo_n "checking for gthreads library... " >&6; }
71465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71466 /* end confdefs.h. */
71467 #include "gthr.h"
71469 main ()
71472 #ifndef __GTHREADS_CXX0X
71473 #error
71474 #endif
71477 return 0;
71479 _ACEOF
71480 if ac_fn_cxx_try_compile "$LINENO"; then :
71481 ac_has_gthreads=yes
71482 else
71483 ac_has_gthreads=no
71485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71486 else
71487 ac_has_gthreads=no
71490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
71491 $as_echo "$ac_has_gthreads" >&6; }
71493 if test x"$ac_has_gthreads" = x"yes"; then
71495 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
71498 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
71499 # but only do so if we're using pthread in the gthread library.
71500 # On VxWorks for example, pthread_rwlock_t is defined in sys/types.h
71501 # but the pthread library is not there by default and the gthread library
71502 # does not use it.
71503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71504 /* end confdefs.h. */
71505 #include "gthr.h"
71507 main ()
71510 #if (!defined(_PTHREADS))
71511 #error
71512 #endif
71515 return 0;
71517 _ACEOF
71518 if ac_fn_cxx_try_compile "$LINENO"; then :
71519 ac_gthread_use_pthreads=yes
71520 else
71521 ac_gthread_use_pthreads=no
71523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71524 if test x"$ac_gthread_use_pthreads" = x"yes"; then
71525 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
71527 if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
71529 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
71535 # See above for the rationale.
71536 if test $target_thread_file = win32; then
71537 CPPFLAGS="$CPPFLAGS -D_WIN32_WINNT=0x0600"
71541 ac_fn_cxx_check_header_mongrel "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default"
71542 if test "x$ac_cv_header_semaphore_h" = xyes; then :
71544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX Semaphores and sem_timedwait" >&5
71545 $as_echo_n "checking for POSIX Semaphores and sem_timedwait... " >&6; }
71546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71547 /* end confdefs.h. */
71549 #include <unistd.h>
71550 #include <semaphore.h>
71551 #include <limits.h>
71554 main ()
71557 #if !defined _POSIX_TIMEOUTS || _POSIX_TIMEOUTS <= 0
71558 # error "POSIX Timeouts option not supported"
71559 #elif !defined _POSIX_SEMAPHORES || _POSIX_SEMAPHORES <= 0
71560 # error "POSIX Semaphores option not supported"
71561 #else
71562 #if defined SEM_VALUE_MAX
71563 constexpr int sem_value_max = SEM_VALUE_MAX;
71564 #elif defined _POSIX_SEM_VALUE_MAX
71565 constexpr int sem_value_max = _POSIX_SEM_VALUE_MAX;
71566 #else
71567 # error "SEM_VALUE_MAX not available"
71568 #endif
71569 sem_t sem;
71570 sem_init(&sem, 0, sem_value_max);
71571 struct timespec ts = { 0 };
71572 sem_timedwait(&sem, &ts);
71573 #endif
71576 return 0;
71578 _ACEOF
71579 if ac_fn_cxx_try_compile "$LINENO"; then :
71580 ac_have_posix_semaphore=yes
71581 else
71582 ac_have_posix_semaphore=no
71584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71585 else
71586 ac_have_posix_semaphore=no
71591 if test $ac_have_posix_semaphore = yes ; then
71593 $as_echo "#define HAVE_POSIX_SEMAPHORE 1" >>confdefs.h
71596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_have_posix_semaphore" >&5
71597 $as_echo "$ac_have_posix_semaphore" >&6; }
71599 CXXFLAGS="$ac_save_CXXFLAGS"
71600 ac_ext=c
71601 ac_cpp='$CPP $CPPFLAGS'
71602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71608 # For Filesystem TS.
71609 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
71610 do :
71611 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
71612 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
71613 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
71614 cat >>confdefs.h <<_ACEOF
71615 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
71616 _ACEOF
71620 done
71623 # Check whether --enable-libstdcxx-filesystem-ts was given.
71624 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
71625 enableval=$enable_libstdcxx_filesystem_ts;
71626 case "$enableval" in
71627 yes|no|auto) ;;
71628 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
71629 esac
71631 else
71632 enable_libstdcxx_filesystem_ts=auto
71637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
71638 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
71639 if test x"$ac_cv_header_dirent_h" != x"yes"; then
71640 enable_libstdcxx_filesystem_ts=no
71642 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
71643 case "${target_os}" in
71644 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
71645 enable_libstdcxx_filesystem_ts=yes
71647 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu | uclinux*)
71648 enable_libstdcxx_filesystem_ts=yes
71650 rtems*)
71651 enable_libstdcxx_filesystem_ts=yes
71653 solaris*)
71654 enable_libstdcxx_filesystem_ts=yes
71656 mingw*)
71657 enable_libstdcxx_filesystem_ts=yes
71660 enable_libstdcxx_filesystem_ts=no
71662 esac
71664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
71665 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
71669 ac_ext=cpp
71670 ac_cpp='$CXXCPP $CPPFLAGS'
71671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71675 ac_save_CXXFLAGS="$CXXFLAGS"
71676 CXXFLAGS="$CXXFLAGS -fno-exceptions"
71677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
71678 $as_echo_n "checking for struct dirent.d_type... " >&6; }
71679 if ${glibcxx_cv_dirent_d_type+:} false; then :
71680 $as_echo_n "(cached) " >&6
71681 else
71682 if test x$gcc_no_link = xyes; then
71683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71684 /* end confdefs.h. */
71685 #include <dirent.h>
71687 main ()
71690 struct dirent d;
71691 if (sizeof d.d_type) return 0;
71694 return 0;
71696 _ACEOF
71697 if ac_fn_cxx_try_compile "$LINENO"; then :
71698 glibcxx_cv_dirent_d_type=yes
71699 else
71700 glibcxx_cv_dirent_d_type=no
71702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71703 else
71704 if test x$gcc_no_link = xyes; then
71705 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71708 /* end confdefs.h. */
71709 #include <dirent.h>
71711 main ()
71714 struct dirent d;
71715 if (sizeof d.d_type) return 0;
71718 return 0;
71720 _ACEOF
71721 if ac_fn_cxx_try_link "$LINENO"; then :
71722 glibcxx_cv_dirent_d_type=yes
71723 else
71724 glibcxx_cv_dirent_d_type=no
71726 rm -f core conftest.err conftest.$ac_objext \
71727 conftest$ac_exeext conftest.$ac_ext
71731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
71732 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
71733 if test $glibcxx_cv_dirent_d_type = yes; then
71735 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
71738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
71739 $as_echo_n "checking for realpath... " >&6; }
71740 if ${glibcxx_cv_realpath+:} false; then :
71741 $as_echo_n "(cached) " >&6
71742 else
71743 if test x$gcc_no_link = xyes; then
71744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71745 /* end confdefs.h. */
71747 #include <limits.h>
71748 #include <stdlib.h>
71749 #include <unistd.h>
71752 main ()
71755 #if _XOPEN_VERSION < 500
71756 #error
71757 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
71758 char *tmp = realpath((const char*)NULL, (char*)NULL);
71759 #else
71760 #error
71761 #endif
71764 return 0;
71766 _ACEOF
71767 if ac_fn_cxx_try_compile "$LINENO"; then :
71768 glibcxx_cv_realpath=yes
71769 else
71770 glibcxx_cv_realpath=no
71772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71773 else
71774 if test x$gcc_no_link = xyes; then
71775 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71778 /* end confdefs.h. */
71780 #include <limits.h>
71781 #include <stdlib.h>
71782 #include <unistd.h>
71785 main ()
71788 #if _XOPEN_VERSION < 500
71789 #error
71790 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
71791 char *tmp = realpath((const char*)NULL, (char*)NULL);
71792 #else
71793 #error
71794 #endif
71797 return 0;
71799 _ACEOF
71800 if ac_fn_cxx_try_link "$LINENO"; then :
71801 glibcxx_cv_realpath=yes
71802 else
71803 glibcxx_cv_realpath=no
71805 rm -f core conftest.err conftest.$ac_objext \
71806 conftest$ac_exeext conftest.$ac_ext
71810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
71811 $as_echo "$glibcxx_cv_realpath" >&6; }
71812 if test $glibcxx_cv_realpath = yes; then
71814 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
71817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
71818 $as_echo_n "checking for utimensat... " >&6; }
71819 if ${glibcxx_cv_utimensat+:} false; then :
71820 $as_echo_n "(cached) " >&6
71821 else
71822 if test x$gcc_no_link = xyes; then
71823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71824 /* end confdefs.h. */
71826 #include <fcntl.h>
71827 #include <sys/stat.h>
71830 main ()
71833 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
71834 int i = utimensat(AT_FDCWD, "path", ts, 0);
71837 return 0;
71839 _ACEOF
71840 if ac_fn_cxx_try_compile "$LINENO"; then :
71841 glibcxx_cv_utimensat=yes
71842 else
71843 glibcxx_cv_utimensat=no
71845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71846 else
71847 if test x$gcc_no_link = xyes; then
71848 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71851 /* end confdefs.h. */
71853 #include <fcntl.h>
71854 #include <sys/stat.h>
71857 main ()
71860 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
71861 int i = utimensat(AT_FDCWD, "path", ts, 0);
71864 return 0;
71866 _ACEOF
71867 if ac_fn_cxx_try_link "$LINENO"; then :
71868 glibcxx_cv_utimensat=yes
71869 else
71870 glibcxx_cv_utimensat=no
71872 rm -f core conftest.err conftest.$ac_objext \
71873 conftest$ac_exeext conftest.$ac_ext
71877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
71878 $as_echo "$glibcxx_cv_utimensat" >&6; }
71879 if test $glibcxx_cv_utimensat = yes; then
71881 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
71884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utime" >&5
71885 $as_echo_n "checking for utime... " >&6; }
71886 if ${glibcxx_cv_utime+:} false; then :
71887 $as_echo_n "(cached) " >&6
71888 else
71889 if test x$gcc_no_link = xyes; then
71890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71891 /* end confdefs.h. */
71893 #include <utime.h>
71896 main ()
71899 struct utimbuf t = { 1, 1 };
71900 int i = utime("path", &t);
71903 return 0;
71905 _ACEOF
71906 if ac_fn_cxx_try_compile "$LINENO"; then :
71907 glibcxx_cv_utime=yes
71908 else
71909 glibcxx_cv_utime=no
71911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71912 else
71913 if test x$gcc_no_link = xyes; then
71914 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71917 /* end confdefs.h. */
71919 #include <utime.h>
71922 main ()
71925 struct utimbuf t = { 1, 1 };
71926 int i = utime("path", &t);
71929 return 0;
71931 _ACEOF
71932 if ac_fn_cxx_try_link "$LINENO"; then :
71933 glibcxx_cv_utime=yes
71934 else
71935 glibcxx_cv_utime=no
71937 rm -f core conftest.err conftest.$ac_objext \
71938 conftest$ac_exeext conftest.$ac_ext
71942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utime" >&5
71943 $as_echo "$glibcxx_cv_utime" >&6; }
71944 if test $glibcxx_cv_utime = yes; then
71946 $as_echo "#define _GLIBCXX_USE_UTIME 1" >>confdefs.h
71949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lstat" >&5
71950 $as_echo_n "checking for lstat... " >&6; }
71951 if ${glibcxx_cv_lstat+:} false; then :
71952 $as_echo_n "(cached) " >&6
71953 else
71954 if test x$gcc_no_link = xyes; then
71955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71956 /* end confdefs.h. */
71957 #include <sys/stat.h>
71959 main ()
71962 struct stat st;
71963 int i = lstat("path", &st);
71966 return 0;
71968 _ACEOF
71969 if ac_fn_cxx_try_compile "$LINENO"; then :
71970 glibcxx_cv_lstat=yes
71971 else
71972 glibcxx_cv_lstat=no
71974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71975 else
71976 if test x$gcc_no_link = xyes; then
71977 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71980 /* end confdefs.h. */
71981 #include <sys/stat.h>
71983 main ()
71986 struct stat st;
71987 int i = lstat("path", &st);
71990 return 0;
71992 _ACEOF
71993 if ac_fn_cxx_try_link "$LINENO"; then :
71994 glibcxx_cv_lstat=yes
71995 else
71996 glibcxx_cv_lstat=no
71998 rm -f core conftest.err conftest.$ac_objext \
71999 conftest$ac_exeext conftest.$ac_ext
72003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_lstat" >&5
72004 $as_echo "$glibcxx_cv_lstat" >&6; }
72005 if test $glibcxx_cv_lstat = yes; then
72007 $as_echo "#define _GLIBCXX_USE_LSTAT 1" >>confdefs.h
72010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
72011 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
72012 if ${glibcxx_cv_st_mtim+:} false; then :
72013 $as_echo_n "(cached) " >&6
72014 else
72015 if test x$gcc_no_link = xyes; then
72016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72017 /* end confdefs.h. */
72018 #include <sys/stat.h>
72020 main ()
72023 struct stat st;
72024 return st.st_mtim.tv_nsec;
72027 return 0;
72029 _ACEOF
72030 if ac_fn_cxx_try_compile "$LINENO"; then :
72031 glibcxx_cv_st_mtim=yes
72032 else
72033 glibcxx_cv_st_mtim=no
72035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72036 else
72037 if test x$gcc_no_link = xyes; then
72038 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72041 /* end confdefs.h. */
72042 #include <sys/stat.h>
72044 main ()
72047 struct stat st;
72048 return st.st_mtim.tv_nsec;
72051 return 0;
72053 _ACEOF
72054 if ac_fn_cxx_try_link "$LINENO"; then :
72055 glibcxx_cv_st_mtim=yes
72056 else
72057 glibcxx_cv_st_mtim=no
72059 rm -f core conftest.err conftest.$ac_objext \
72060 conftest$ac_exeext conftest.$ac_ext
72064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
72065 $as_echo "$glibcxx_cv_st_mtim" >&6; }
72066 if test $glibcxx_cv_st_mtim = yes; then
72068 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
72071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
72072 $as_echo_n "checking for fchmod... " >&6; }
72073 if ${glibcxx_cv_fchmod+:} false; then :
72074 $as_echo_n "(cached) " >&6
72075 else
72076 if test x$gcc_no_link = xyes; then
72077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72078 /* end confdefs.h. */
72079 #include <sys/stat.h>
72081 main ()
72083 fchmod(1, S_IWUSR);
72085 return 0;
72087 _ACEOF
72088 if ac_fn_cxx_try_compile "$LINENO"; then :
72089 glibcxx_cv_fchmod=yes
72090 else
72091 glibcxx_cv_fchmod=no
72093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72094 else
72095 if test x$gcc_no_link = xyes; then
72096 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72099 /* end confdefs.h. */
72100 #include <sys/stat.h>
72102 main ()
72104 fchmod(1, S_IWUSR);
72106 return 0;
72108 _ACEOF
72109 if ac_fn_cxx_try_link "$LINENO"; then :
72110 glibcxx_cv_fchmod=yes
72111 else
72112 glibcxx_cv_fchmod=no
72114 rm -f core conftest.err conftest.$ac_objext \
72115 conftest$ac_exeext conftest.$ac_ext
72119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
72120 $as_echo "$glibcxx_cv_fchmod" >&6; }
72121 if test $glibcxx_cv_fchmod = yes; then
72123 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
72126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
72127 $as_echo_n "checking for fchmodat... " >&6; }
72128 if ${glibcxx_cv_fchmodat+:} false; then :
72129 $as_echo_n "(cached) " >&6
72130 else
72131 if test x$gcc_no_link = xyes; then
72132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72133 /* end confdefs.h. */
72135 #include <fcntl.h>
72136 #include <sys/stat.h>
72139 main ()
72141 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
72143 return 0;
72145 _ACEOF
72146 if ac_fn_cxx_try_compile "$LINENO"; then :
72147 glibcxx_cv_fchmodat=yes
72148 else
72149 glibcxx_cv_fchmodat=no
72151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72152 else
72153 if test x$gcc_no_link = xyes; then
72154 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72157 /* end confdefs.h. */
72159 #include <fcntl.h>
72160 #include <sys/stat.h>
72163 main ()
72165 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
72167 return 0;
72169 _ACEOF
72170 if ac_fn_cxx_try_link "$LINENO"; then :
72171 glibcxx_cv_fchmodat=yes
72172 else
72173 glibcxx_cv_fchmodat=no
72175 rm -f core conftest.err conftest.$ac_objext \
72176 conftest$ac_exeext conftest.$ac_ext
72180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
72181 $as_echo "$glibcxx_cv_fchmodat" >&6; }
72182 if test $glibcxx_cv_fchmodat = yes; then
72184 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
72187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
72188 $as_echo_n "checking for link... " >&6; }
72189 if ${glibcxx_cv_link+:} false; then :
72190 $as_echo_n "(cached) " >&6
72191 else
72192 if test x$gcc_no_link = xyes; then
72193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72194 /* end confdefs.h. */
72195 #include <unistd.h>
72197 main ()
72199 link("", "");
72201 return 0;
72203 _ACEOF
72204 if ac_fn_cxx_try_compile "$LINENO"; then :
72205 glibcxx_cv_link=yes
72206 else
72207 glibcxx_cv_link=no
72209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72210 else
72211 if test x$gcc_no_link = xyes; then
72212 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72215 /* end confdefs.h. */
72216 #include <unistd.h>
72218 main ()
72220 link("", "");
72222 return 0;
72224 _ACEOF
72225 if ac_fn_cxx_try_link "$LINENO"; then :
72226 glibcxx_cv_link=yes
72227 else
72228 glibcxx_cv_link=no
72230 rm -f core conftest.err conftest.$ac_objext \
72231 conftest$ac_exeext conftest.$ac_ext
72235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_link" >&5
72236 $as_echo "$glibcxx_cv_link" >&6; }
72237 if test $glibcxx_cv_link = yes; then
72239 $as_echo "#define HAVE_LINK 1" >>confdefs.h
72242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lseek" >&5
72243 $as_echo_n "checking for lseek... " >&6; }
72244 if ${glibcxx_cv_lseek+:} false; then :
72245 $as_echo_n "(cached) " >&6
72246 else
72247 if test x$gcc_no_link = xyes; then
72248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72249 /* end confdefs.h. */
72250 #include <unistd.h>
72252 main ()
72254 lseek(1, 0, SEEK_SET);
72256 return 0;
72258 _ACEOF
72259 if ac_fn_cxx_try_compile "$LINENO"; then :
72260 glibcxx_cv_lseek=yes
72261 else
72262 glibcxx_cv_lseek=no
72264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72265 else
72266 if test x$gcc_no_link = xyes; then
72267 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72270 /* end confdefs.h. */
72271 #include <unistd.h>
72273 main ()
72275 lseek(1, 0, SEEK_SET);
72277 return 0;
72279 _ACEOF
72280 if ac_fn_cxx_try_link "$LINENO"; then :
72281 glibcxx_cv_lseek=yes
72282 else
72283 glibcxx_cv_lseek=no
72285 rm -f core conftest.err conftest.$ac_objext \
72286 conftest$ac_exeext conftest.$ac_ext
72290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_lseek" >&5
72291 $as_echo "$glibcxx_cv_lseek" >&6; }
72292 if test $glibcxx_cv_lseek = yes; then
72294 $as_echo "#define HAVE_LSEEK 1" >>confdefs.h
72297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readlink" >&5
72298 $as_echo_n "checking for readlink... " >&6; }
72299 if ${glibcxx_cv_readlink+:} false; then :
72300 $as_echo_n "(cached) " >&6
72301 else
72302 if test x$gcc_no_link = xyes; then
72303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72304 /* end confdefs.h. */
72305 #include <unistd.h>
72307 main ()
72309 char buf[32]; readlink("", buf, sizeof(buf));
72311 return 0;
72313 _ACEOF
72314 if ac_fn_cxx_try_compile "$LINENO"; then :
72315 glibcxx_cv_readlink=yes
72316 else
72317 glibcxx_cv_readlink=no
72319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72320 else
72321 if test x$gcc_no_link = xyes; then
72322 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72325 /* end confdefs.h. */
72326 #include <unistd.h>
72328 main ()
72330 char buf[32]; readlink("", buf, sizeof(buf));
72332 return 0;
72334 _ACEOF
72335 if ac_fn_cxx_try_link "$LINENO"; then :
72336 glibcxx_cv_readlink=yes
72337 else
72338 glibcxx_cv_readlink=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_readlink" >&5
72346 $as_echo "$glibcxx_cv_readlink" >&6; }
72347 if test $glibcxx_cv_readlink = yes; then
72349 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
72352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
72353 $as_echo_n "checking for symlink... " >&6; }
72354 if ${glibcxx_cv_symlink+:} 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. */
72360 #include <unistd.h>
72362 main ()
72364 symlink("", "");
72366 return 0;
72368 _ACEOF
72369 if ac_fn_cxx_try_compile "$LINENO"; then :
72370 glibcxx_cv_symlink=yes
72371 else
72372 glibcxx_cv_symlink=no
72374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72375 else
72376 if test x$gcc_no_link = xyes; then
72377 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72380 /* end confdefs.h. */
72381 #include <unistd.h>
72383 main ()
72385 symlink("", "");
72387 return 0;
72389 _ACEOF
72390 if ac_fn_cxx_try_link "$LINENO"; then :
72391 glibcxx_cv_symlink=yes
72392 else
72393 glibcxx_cv_symlink=no
72395 rm -f core conftest.err conftest.$ac_objext \
72396 conftest$ac_exeext conftest.$ac_ext
72400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_symlink" >&5
72401 $as_echo "$glibcxx_cv_symlink" >&6; }
72402 if test $glibcxx_cv_symlink = yes; then
72404 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
72407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncate" >&5
72408 $as_echo_n "checking for truncate... " >&6; }
72409 if ${glibcxx_cv_truncate+:} false; then :
72410 $as_echo_n "(cached) " >&6
72411 else
72412 if test x$gcc_no_link = xyes; then
72413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72414 /* end confdefs.h. */
72415 #include <unistd.h>
72417 main ()
72419 truncate("", 99);
72421 return 0;
72423 _ACEOF
72424 if ac_fn_cxx_try_compile "$LINENO"; then :
72425 glibcxx_cv_truncate=yes
72426 else
72427 glibcxx_cv_truncate=no
72429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72430 else
72431 if test x$gcc_no_link = xyes; then
72432 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72435 /* end confdefs.h. */
72436 #include <unistd.h>
72438 main ()
72440 truncate("", 99);
72442 return 0;
72444 _ACEOF
72445 if ac_fn_cxx_try_link "$LINENO"; then :
72446 glibcxx_cv_truncate=yes
72447 else
72448 glibcxx_cv_truncate=no
72450 rm -f core conftest.err conftest.$ac_objext \
72451 conftest$ac_exeext conftest.$ac_ext
72455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_truncate" >&5
72456 $as_echo "$glibcxx_cv_truncate" >&6; }
72457 if test $glibcxx_cv_truncate = yes; then
72459 $as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
72462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copy_file_range that can copy files" >&5
72463 $as_echo_n "checking for copy_file_range that can copy files... " >&6; }
72464 if ${glibcxx_cv_copy_file_range+:} false; then :
72465 $as_echo_n "(cached) " >&6
72466 else
72467 case "${target_os}" in
72468 linux*)
72469 if test x$gcc_no_link = xyes; then
72470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72471 /* end confdefs.h. */
72472 #include <unistd.h>
72474 main ()
72476 copy_file_range(1, (loff_t*)nullptr, 2, (loff_t*)nullptr, 1, 0);
72478 return 0;
72480 _ACEOF
72481 if ac_fn_cxx_try_compile "$LINENO"; then :
72482 glibcxx_cv_copy_file_range=yes
72483 else
72484 glibcxx_cv_copy_file_range=no
72486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72487 else
72488 if test x$gcc_no_link = xyes; then
72489 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72492 /* end confdefs.h. */
72493 #include <unistd.h>
72495 main ()
72497 copy_file_range(1, (loff_t*)nullptr, 2, (loff_t*)nullptr, 1, 0);
72499 return 0;
72501 _ACEOF
72502 if ac_fn_cxx_try_link "$LINENO"; then :
72503 glibcxx_cv_copy_file_range=yes
72504 else
72505 glibcxx_cv_copy_file_range=no
72507 rm -f core conftest.err conftest.$ac_objext \
72508 conftest$ac_exeext conftest.$ac_ext
72512 glibcxx_cv_copy_file_range=no
72514 esac
72517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_copy_file_range" >&5
72518 $as_echo "$glibcxx_cv_copy_file_range" >&6; }
72519 if test $glibcxx_cv_copy_file_range = yes; then
72521 $as_echo "#define _GLIBCXX_USE_COPY_FILE_RANGE 1" >>confdefs.h
72524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
72525 $as_echo_n "checking for sendfile that can copy files... " >&6; }
72526 if ${glibcxx_cv_sendfile+:} false; then :
72527 $as_echo_n "(cached) " >&6
72528 else
72529 case "${target_os}" in
72530 gnu* | linux* | solaris* | uclinux*)
72531 if test x$gcc_no_link = xyes; then
72532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72533 /* end confdefs.h. */
72534 #include <sys/sendfile.h>
72536 main ()
72538 sendfile(1, 2, (off_t*)0, sizeof 1);
72540 return 0;
72542 _ACEOF
72543 if ac_fn_cxx_try_compile "$LINENO"; then :
72544 glibcxx_cv_sendfile=yes
72545 else
72546 glibcxx_cv_sendfile=no
72548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72549 else
72550 if test x$gcc_no_link = xyes; then
72551 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72554 /* end confdefs.h. */
72555 #include <sys/sendfile.h>
72557 main ()
72559 sendfile(1, 2, (off_t*)0, sizeof 1);
72561 return 0;
72563 _ACEOF
72564 if ac_fn_cxx_try_link "$LINENO"; then :
72565 glibcxx_cv_sendfile=yes
72566 else
72567 glibcxx_cv_sendfile=no
72569 rm -f core conftest.err conftest.$ac_objext \
72570 conftest$ac_exeext conftest.$ac_ext
72574 glibcxx_cv_sendfile=no
72576 esac
72579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
72580 $as_echo "$glibcxx_cv_sendfile" >&6; }
72581 if test $glibcxx_cv_sendfile = yes && test $glibcxx_cv_lseek = yes; then
72583 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
72586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fdopendir" >&5
72587 $as_echo_n "checking for fdopendir... " >&6; }
72588 if ${glibcxx_cv_fdopendir+:} false; then :
72589 $as_echo_n "(cached) " >&6
72590 else
72591 if test x$gcc_no_link = xyes; then
72592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72593 /* end confdefs.h. */
72594 #include <dirent.h>
72596 main ()
72598 ::DIR* dir = ::fdopendir(1);
72600 return 0;
72602 _ACEOF
72603 if ac_fn_cxx_try_compile "$LINENO"; then :
72604 glibcxx_cv_fdopendir=yes
72605 else
72606 glibcxx_cv_fdopendir=no
72608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72609 else
72610 if test x$gcc_no_link = xyes; then
72611 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72614 /* end confdefs.h. */
72615 #include <dirent.h>
72617 main ()
72619 ::DIR* dir = ::fdopendir(1);
72621 return 0;
72623 _ACEOF
72624 if ac_fn_cxx_try_link "$LINENO"; then :
72625 glibcxx_cv_fdopendir=yes
72626 else
72627 glibcxx_cv_fdopendir=no
72629 rm -f core conftest.err conftest.$ac_objext \
72630 conftest$ac_exeext conftest.$ac_ext
72634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fdopendir" >&5
72635 $as_echo "$glibcxx_cv_fdopendir" >&6; }
72636 if test $glibcxx_cv_fdopendir = yes; then
72638 $as_echo "#define HAVE_FDOPENDIR 1" >>confdefs.h
72641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dirfd" >&5
72642 $as_echo_n "checking for dirfd... " >&6; }
72643 if ${glibcxx_cv_dirfd+:} false; then :
72644 $as_echo_n "(cached) " >&6
72645 else
72646 if test x$gcc_no_link = xyes; then
72647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72648 /* end confdefs.h. */
72649 #include <dirent.h>
72651 main ()
72653 int fd = ::dirfd((::DIR*)0);
72655 return 0;
72657 _ACEOF
72658 if ac_fn_cxx_try_compile "$LINENO"; then :
72659 glibcxx_cv_dirfd=yes
72660 else
72661 glibcxx_cv_dirfd=no
72663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72664 else
72665 if test x$gcc_no_link = xyes; then
72666 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72669 /* end confdefs.h. */
72670 #include <dirent.h>
72672 main ()
72674 int fd = ::dirfd((::DIR*)0);
72676 return 0;
72678 _ACEOF
72679 if ac_fn_cxx_try_link "$LINENO"; then :
72680 glibcxx_cv_dirfd=yes
72681 else
72682 glibcxx_cv_dirfd=no
72684 rm -f core conftest.err conftest.$ac_objext \
72685 conftest$ac_exeext conftest.$ac_ext
72689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirfd" >&5
72690 $as_echo "$glibcxx_cv_dirfd" >&6; }
72691 if test $glibcxx_cv_dirfd = yes; then
72693 $as_echo "#define HAVE_DIRFD 1" >>confdefs.h
72696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openat" >&5
72697 $as_echo_n "checking for openat... " >&6; }
72698 if ${glibcxx_cv_openat+:} false; then :
72699 $as_echo_n "(cached) " >&6
72700 else
72701 if test x$gcc_no_link = xyes; then
72702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72703 /* end confdefs.h. */
72704 #include <fcntl.h>
72706 main ()
72708 int fd = ::openat(AT_FDCWD, "", 0);
72710 return 0;
72712 _ACEOF
72713 if ac_fn_cxx_try_compile "$LINENO"; then :
72714 glibcxx_cv_openat=yes
72715 else
72716 glibcxx_cv_openat=no
72718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72719 else
72720 if test x$gcc_no_link = xyes; then
72721 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72724 /* end confdefs.h. */
72725 #include <fcntl.h>
72727 main ()
72729 int fd = ::openat(AT_FDCWD, "", 0);
72731 return 0;
72733 _ACEOF
72734 if ac_fn_cxx_try_link "$LINENO"; then :
72735 glibcxx_cv_openat=yes
72736 else
72737 glibcxx_cv_openat=no
72739 rm -f core conftest.err conftest.$ac_objext \
72740 conftest$ac_exeext conftest.$ac_ext
72744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_openat" >&5
72745 $as_echo "$glibcxx_cv_openat" >&6; }
72746 if test $glibcxx_cv_openat = yes; then
72748 $as_echo "#define HAVE_OPENAT 1" >>confdefs.h
72751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unlinkat" >&5
72752 $as_echo_n "checking for unlinkat... " >&6; }
72753 if ${glibcxx_cv_unlinkat+:} false; then :
72754 $as_echo_n "(cached) " >&6
72755 else
72756 if test x$gcc_no_link = xyes; then
72757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72758 /* end confdefs.h. */
72759 #include <fcntl.h>
72760 #include <unistd.h>
72762 main ()
72764 ::unlinkat(AT_FDCWD, "", AT_REMOVEDIR);
72766 return 0;
72768 _ACEOF
72769 if ac_fn_cxx_try_compile "$LINENO"; then :
72770 glibcxx_cv_unlinkat=yes
72771 else
72772 glibcxx_cv_unlinkat=no
72774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72775 else
72776 if test x$gcc_no_link = xyes; then
72777 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72780 /* end confdefs.h. */
72781 #include <fcntl.h>
72782 #include <unistd.h>
72784 main ()
72786 ::unlinkat(AT_FDCWD, "", AT_REMOVEDIR);
72788 return 0;
72790 _ACEOF
72791 if ac_fn_cxx_try_link "$LINENO"; then :
72792 glibcxx_cv_unlinkat=yes
72793 else
72794 glibcxx_cv_unlinkat=no
72796 rm -f core conftest.err conftest.$ac_objext \
72797 conftest$ac_exeext conftest.$ac_ext
72801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_unlinkat" >&5
72802 $as_echo "$glibcxx_cv_unlinkat" >&6; }
72803 if test $glibcxx_cv_unlinkat = yes; then
72805 $as_echo "#define HAVE_UNLINKAT 1" >>confdefs.h
72808 CXXFLAGS="$ac_save_CXXFLAGS"
72809 ac_ext=c
72810 ac_cpp='$CPP $CPPFLAGS'
72811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72818 # Check whether --enable-libstdcxx-backtrace was given.
72819 if test "${enable_libstdcxx_backtrace+set}" = set; then :
72820 enableval=$enable_libstdcxx_backtrace;
72821 case "$enableval" in
72822 yes|no|auto) ;;
72823 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-backtrace" "$LINENO" 5 ;;
72824 esac
72826 else
72827 enable_libstdcxx_backtrace=auto
72832 # Most of this is adapted from libsanitizer/configure.ac
72834 BACKTRACE_CPPFLAGS=
72836 # libbacktrace only needs atomics for int, which we've already tested
72837 if test "$glibcxx_cv_atomic_int" = "yes"; then
72838 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_ATOMIC_FUNCTIONS=1"
72841 # Test for __sync support.
72842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __sync extensions" >&5
72843 $as_echo_n "checking __sync extensions... " >&6; }
72844 if ${glibcxx_cv_sys_sync+:} false; then :
72845 $as_echo_n "(cached) " >&6
72846 else
72847 if test x$gcc_no_link = xyes; then
72848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72849 /* end confdefs.h. */
72850 int i;
72852 main ()
72854 __sync_bool_compare_and_swap (&i, i, i);
72855 __sync_lock_test_and_set (&i, 1);
72856 __sync_lock_release (&i);
72858 return 0;
72860 _ACEOF
72861 if ac_fn_c_try_compile "$LINENO"; then :
72862 glibcxx_cv_sys_sync=yes
72863 else
72864 glibcxx_cv_sys_sync=no
72866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72867 else
72868 if test x$gcc_no_link = xyes; then
72869 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72872 /* end confdefs.h. */
72873 int i;
72875 main ()
72877 __sync_bool_compare_and_swap (&i, i, i);
72878 __sync_lock_test_and_set (&i, 1);
72879 __sync_lock_release (&i);
72881 return 0;
72883 _ACEOF
72884 if ac_fn_c_try_link "$LINENO"; then :
72885 glibcxx_cv_sys_sync=yes
72886 else
72887 glibcxx_cv_sys_sync=no
72889 rm -f core conftest.err conftest.$ac_objext \
72890 conftest$ac_exeext conftest.$ac_ext
72894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sync" >&5
72895 $as_echo "$glibcxx_cv_sys_sync" >&6; }
72896 if test "$glibcxx_cv_sys_sync" = "yes"; then
72897 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_SYNC_FUNCTIONS=1"
72900 # Check for dl_iterate_phdr.
72901 for ac_header in link.h
72902 do :
72903 ac_fn_c_check_header_mongrel "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
72904 if test "x$ac_cv_header_link_h" = xyes; then :
72905 cat >>confdefs.h <<_ACEOF
72906 #define HAVE_LINK_H 1
72907 _ACEOF
72911 done
72913 if test "$ac_cv_header_link_h" = "no"; then
72914 have_dl_iterate_phdr=no
72915 else
72916 # When built as a GCC target library, we can't do a link test.
72917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72918 /* end confdefs.h. */
72919 #include <link.h>
72921 _ACEOF
72922 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
72923 $EGREP "dl_iterate_phdr" >/dev/null 2>&1; then :
72924 have_dl_iterate_phdr=yes
72925 else
72926 have_dl_iterate_phdr=no
72928 rm -f conftest*
72931 if test "$have_dl_iterate_phdr" = "yes"; then
72932 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_DL_ITERATE_PHDR=1"
72934 for ac_header in windows.h
72935 do :
72936 ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
72937 if test "x$ac_cv_header_windows_h" = xyes; then :
72938 cat >>confdefs.h <<_ACEOF
72939 #define HAVE_WINDOWS_H 1
72940 _ACEOF
72944 done
72947 # Check for the fcntl function.
72948 if test -n "${with_target_subdir}"; then
72949 case "${host}" in
72950 *-*-mingw*) have_fcntl=no ;;
72951 *) have_fcntl=yes ;;
72952 esac
72953 else
72954 ac_fn_c_check_func "$LINENO" "fcntl" "ac_cv_func_fcntl"
72955 if test "x$ac_cv_func_fcntl" = xyes; then :
72956 have_fcntl=yes
72957 else
72958 have_fcntl=no
72962 if test "$have_fcntl" = "yes"; then
72963 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_FCNTL=1"
72966 ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
72967 if test "x$ac_cv_have_decl_strnlen" = xyes; then :
72968 ac_have_decl=1
72969 else
72970 ac_have_decl=0
72973 cat >>confdefs.h <<_ACEOF
72974 #define HAVE_DECL_STRNLEN $ac_have_decl
72975 _ACEOF
72978 # Check for getexecname function.
72979 if test -n "${with_target_subdir}"; then
72980 case "${host}" in
72981 *-*-solaris2*) have_getexecname=yes ;;
72982 *) have_getexecname=no ;;
72983 esac
72984 else
72985 ac_fn_c_check_func "$LINENO" "getexecname" "ac_cv_func_getexecname"
72986 if test "x$ac_cv_func_getexecname" = xyes; then :
72987 have_getexecname=yes
72988 else
72989 have_getexecname=no
72993 if test "$have_getexecname" = "yes"; then
72994 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_GETEXECNAME=1"
72997 # The library needs to be able to read the executable itself. Compile
72998 # a file to determine the executable format. The awk script
72999 # filetype.awk prints out the file type.
73000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking output filetype" >&5
73001 $as_echo_n "checking output filetype... " >&6; }
73002 if ${glibcxx_cv_sys_filetype+:} false; then :
73003 $as_echo_n "(cached) " >&6
73004 else
73005 filetype=
73006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73007 /* end confdefs.h. */
73008 int i;
73010 main ()
73012 int j;
73014 return 0;
73016 _ACEOF
73017 if ac_fn_c_try_compile "$LINENO"; then :
73018 filetype=`${AWK} -f $srcdir/../libbacktrace/filetype.awk conftest.$ac_objext`
73019 else
73020 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
73021 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
73022 as_fn_error $? "compiler failed
73023 See \`config.log' for more details" "$LINENO" 5; }
73025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73026 glibcxx_cv_sys_filetype=$filetype
73028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_filetype" >&5
73029 $as_echo "$glibcxx_cv_sys_filetype" >&6; }
73031 # Match the file type to decide what files to compile.
73032 FORMAT_FILE=
73033 case "$glibcxx_cv_sys_filetype" in
73034 elf*) FORMAT_FILE="elf.lo" ;;
73035 pecoff*) FORMAT_FILE="pecoff.lo" ;;
73036 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine output file type" >&5
73037 $as_echo "$as_me: WARNING: could not determine output file type" >&2;}
73038 FORMAT_FILE="unknown.lo"
73039 enable_libstdcxx_backtrace=no
73041 esac
73044 # ELF defines.
73045 elfsize=
73046 case "$glibcxx_cv_sys_filetype" in
73047 elf32) elfsize=32 ;;
73048 elf64) elfsize=64 ;;
73049 esac
73050 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DBACKTRACE_ELF_SIZE=$elfsize"
73052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build libbacktrace support" >&5
73053 $as_echo_n "checking whether to build libbacktrace support... " >&6; }
73054 if test "$enable_libstdcxx_backtrace" = "auto"; then
73055 enable_libstdcxx_backtrace=no
73057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_backtrace" >&5
73058 $as_echo "$enable_libstdcxx_backtrace" >&6; }
73059 if test "$enable_libstdcxx_backtrace" = "yes"; then
73060 BACKTRACE_SUPPORTED=1
73062 for ac_header in sys/mman.h
73063 do :
73064 ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
73065 if test "x$ac_cv_header_sys_mman_h" = xyes; then :
73066 cat >>confdefs.h <<_ACEOF
73067 #define HAVE_SYS_MMAN_H 1
73068 _ACEOF
73072 done
73074 case "${host}" in
73075 *-*-msdosdjgpp) # DJGPP has sys/man.h, but no mmap
73076 have_mmap=no ;;
73077 *-*-*)
73078 have_mmap="$ac_cv_header_sys_mman_h" ;;
73079 esac
73081 if test "$have_mmap" = "no"; then
73082 VIEW_FILE=read.lo
73083 ALLOC_FILE=alloc.lo
73084 else
73085 VIEW_FILE=mmapio.lo
73086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73087 /* end confdefs.h. */
73089 #include <sys/mman.h>
73090 #if !defined(MAP_ANONYMOUS) && !defined(MAP_ANON)
73091 #error no MAP_ANONYMOUS
73092 #endif
73094 _ACEOF
73095 if ac_fn_c_try_cpp "$LINENO"; then :
73096 ALLOC_FILE=mmap.lo
73097 else
73098 ALLOC_FILE=alloc.lo
73100 rm -f conftest.err conftest.i conftest.$ac_ext
73105 BACKTRACE_USES_MALLOC=0
73106 if test "$ALLOC_FILE" = "alloc.lo"; then
73107 BACKTRACE_USES_MALLOC=1
73110 if test "$ac_has_gthreads" = "yes"; then
73111 BACKTRACE_SUPPORTS_THREADS=1
73112 else
73113 BACKTRACE_SUPPORTS_THREADS=0
73120 $as_echo "#define HAVE_STACKTRACE 1" >>confdefs.h
73122 else
73123 BACKTRACE_SUPPORTED=0
73124 BACKTRACE_USES_MALLOC=0
73125 BACKTRACE_SUPPORTS_THREADS=0
73130 # For Networking TS.
73131 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
73132 do :
73133 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
73134 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
73135 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
73136 cat >>confdefs.h <<_ACEOF
73137 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
73138 _ACEOF
73142 done
73144 ac_fn_c_check_decl "$LINENO" "F_GETFL" "ac_cv_have_decl_F_GETFL" "#include <fcntl.h>
73146 if test "x$ac_cv_have_decl_F_GETFL" = xyes; then :
73150 ac_fn_c_check_decl "$LINENO" "F_SETFL" "ac_cv_have_decl_F_SETFL" "#include <fcntl.h>
73152 if test "x$ac_cv_have_decl_F_SETFL" = xyes; then :
73156 if test "$ac_cv_have_decl_F_GETFL$ac_cv_have_decl_F_SETFL" = yesyes ; then
73157 ac_fn_c_check_decl "$LINENO" "O_NONBLOCK" "ac_cv_have_decl_O_NONBLOCK" "#include <fcntl.h>
73159 if test "x$ac_cv_have_decl_O_NONBLOCK" = xyes; then :
73165 # For Transactional Memory TS
73167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
73168 $as_echo_n "checking how size_t is mangled... " >&6; }
73169 if ${glibcxx_cv_size_t_mangling+:} false; then :
73170 $as_echo_n "(cached) " >&6
73171 else
73173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73174 /* end confdefs.h. */
73177 main ()
73179 extern __SIZE_TYPE__ x; extern unsigned long x;
73181 return 0;
73183 _ACEOF
73184 if ac_fn_c_try_compile "$LINENO"; then :
73185 glibcxx_cv_size_t_mangling=m
73186 else
73188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73189 /* end confdefs.h. */
73192 main ()
73194 extern __SIZE_TYPE__ x; extern unsigned int x;
73196 return 0;
73198 _ACEOF
73199 if ac_fn_c_try_compile "$LINENO"; then :
73200 glibcxx_cv_size_t_mangling=j
73201 else
73203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73204 /* end confdefs.h. */
73207 main ()
73209 extern __SIZE_TYPE__ x; extern unsigned long long x;
73211 return 0;
73213 _ACEOF
73214 if ac_fn_c_try_compile "$LINENO"; then :
73215 glibcxx_cv_size_t_mangling=y
73216 else
73218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73219 /* end confdefs.h. */
73222 main ()
73224 extern __SIZE_TYPE__ x; extern unsigned short x;
73226 return 0;
73228 _ACEOF
73229 if ac_fn_c_try_compile "$LINENO"; then :
73230 glibcxx_cv_size_t_mangling=t
73231 else
73233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73234 /* end confdefs.h. */
73237 main ()
73239 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
73241 return 0;
73243 _ACEOF
73244 if ac_fn_c_try_compile "$LINENO"; then :
73245 glibcxx_cv_size_t_mangling=u6uint20
73246 else
73247 glibcxx_cv_size_t_mangling=x
73249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
73265 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
73266 if test $glibcxx_cv_size_t_mangling = x; then
73267 as_fn_error $? "Unknown underlying type for size_t" "$LINENO" 5
73270 cat >>confdefs.h <<_ACEOF
73271 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
73272 _ACEOF
73276 # Check which release added std::exception_ptr for the target
73278 if test $enable_symvers != no; then
73279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
73280 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
73281 case ${target} in
73282 aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
73283 m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
73284 ac_exception_ptr_since_gcc46=yes
73287 # If the value of this macro changes then we will need to hardcode
73288 # yes/no here for additional targets based on the original value.
73289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73290 /* end confdefs.h. */
73293 main ()
73296 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
73297 # error atomic int not always lock free
73298 #endif
73301 return 0;
73303 _ACEOF
73304 if ac_fn_c_try_compile "$LINENO"; then :
73305 ac_exception_ptr_since_gcc46=yes
73306 else
73307 ac_exception_ptr_since_gcc46=no
73309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73311 esac
73312 if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
73314 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
73316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
73317 $as_echo "4.6.0" >&6; }
73318 else
73319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
73320 $as_echo "7.1.0" >&6; }
73325 # For libsupc++/eh_alloc.cc defaults.
73327 eh_pool_static=
73328 eh_pool_nobjs=
73329 # Check whether --enable-libstdcxx-static-eh-pool was given.
73330 if test "${enable_libstdcxx_static_eh_pool+set}" = set; then :
73331 enableval=$enable_libstdcxx_static_eh_pool; if test "${enableval}" = yes; then
73332 eh_pool_static="-D_GLIBCXX_EH_POOL_STATIC"
73333 { $as_echo "$as_me:${as_lineno-$LINENO}: EH pool using static buffer" >&5
73334 $as_echo "$as_me: EH pool using static buffer" >&6;}
73340 # Check whether --with-libstdcxx-eh-pool-obj-count was given.
73341 if test "${with_libstdcxx_eh_pool_obj_count+set}" = set; then :
73342 withval=$with_libstdcxx_eh_pool_obj_count; if test "${withval}" -ge 0 2>/dev/null; then
73343 eh_pool_obj_count="-D_GLIBCXX_EH_POOL_NOBJS=${withval}"
73344 { $as_echo "$as_me:${as_lineno-$LINENO}: EH pool object count: ${withval}" >&5
73345 $as_echo "$as_me: EH pool object count: ${withval}" >&6;}
73346 else
73347 as_fn_error $? "EH pool obj count must be a non-negative integer: $withval" "$LINENO" 5
73352 EH_POOL_FLAGS="$eh_pool_static $eh_pool_obj_count"
73356 # For src/c++20/tzdb.cc defaults.
73359 # Check whether --with-libstdcxx-zoneinfo was given.
73360 if test "${with_libstdcxx_zoneinfo+set}" = set; then :
73361 withval=$with_libstdcxx_zoneinfo;
73362 else
73363 with_libstdcxx_zoneinfo=yes
73367 if test "x${with_libstdcxx_zoneinfo}" = xyes; then
73368 # Pick a default when no specific path is set.
73369 case "$target_os" in
73370 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
73371 # Not all distros ship tzdata.zi in this dir.
73372 zoneinfo_dir="/usr/share/zoneinfo"
73374 aix*)
73375 # Binary tzfile files are in /usr/share/lib/zoneinfo
73376 # but tzdata.zi is not present there.
73377 zoneinfo_dir=none
73379 darwin2*)
73380 # Binary tzfile files are in /usr/share/lib/zoneinfo.default
73381 # but tzdata.zi is not present there.
73382 zoneinfo_dir=none
73385 # Binary tzfile files are commonly found in /usr/share/zoneinfo
73386 # but tzdata.zi is not present there.
73387 zoneinfo_dir=none
73389 esac
73391 if ac_fn_c_compute_int "$LINENO" "__INTPTR_WIDTH__ >= 32" "glibcxx_cv_at_least_32bit" ""; then :
73395 if test "$glibcxx_cv_at_least_32bit" -ne 0; then
73396 # Also embed a copy of the tzdata.zi file as a static string.
73397 embed_zoneinfo=yes
73398 else
73399 # The embedded data is too large for 16-bit targets.
73400 embed_zoneinfo=no
73402 elif test "x${with_libstdcxx_zoneinfo}" = xno; then
73403 # Disable tzdb support completely.
73404 zoneinfo_dir=none
73405 embed_zoneinfo=no
73406 else
73407 case "${with_libstdcxx_zoneinfo}" in
73408 static)
73409 # Do not attempt to read from disk, always use embedded data.
73410 zoneinfo_dir=none
73411 embed_zoneinfo=yes
73413 static,* | *,static)
73414 # Try to read from disk, use embedded data as fallback.
73415 zoneinfo_dir="${with_libstdcxx_zoneinfo#static,}"
73416 zoneinfo_dir="${with_libstdcxx_zoneinfo%,static}"
73417 embed_zoneinfo=yes
73420 zoneinfo_dir="${with_libstdcxx_zoneinfo}"
73421 embed_zoneinfo=no
73423 esac
73425 { $as_echo "$as_me:${as_lineno-$LINENO}: zoneinfo data directory: ${zoneinfo_dir}" >&5
73426 $as_echo "$as_me: zoneinfo data directory: ${zoneinfo_dir}" >&6;}
73427 if test "x${zoneinfo_dir}" != xnone; then
73429 cat >>confdefs.h <<_ACEOF
73430 #define _GLIBCXX_ZONEINFO_DIR "${zoneinfo_dir}"
73431 _ACEOF
73433 if $GLIBCXX_IS_NATIVE && ! test -f "$zoneinfo_dir/tzdata.zi"; then
73434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"$zoneinfo_dir does not contain tzdata.zi file\"" >&5
73435 $as_echo "$as_me: WARNING: \"$zoneinfo_dir does not contain tzdata.zi file\"" >&2;}
73439 if test "x${embed_zoneinfo}" = xyes; then
73440 { $as_echo "$as_me:${as_lineno-$LINENO}: static tzdata.zi file will be compiled into the library" >&5
73441 $as_echo "$as_me: static tzdata.zi file will be compiled into the library" >&6;}
73443 cat >>confdefs.h <<_ACEOF
73444 #define _GLIBCXX_STATIC_TZDATA 1
73445 _ACEOF
73450 # For src/c++11/shared_ptr.cc alignment.
73453 ac_ext=cpp
73454 ac_cpp='$CXXCPP $CPPFLAGS'
73455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether static objects can be aligned to the cacheline size" >&5
73461 $as_echo_n "checking whether static objects can be aligned to the cacheline size... " >&6; }
73462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73463 /* end confdefs.h. */
73466 main ()
73468 struct alignas(__GCC_DESTRUCTIVE_SIZE) Aligned { };
73469 alignas(Aligned) static char buf[sizeof(Aligned) * 16];
73472 return 0;
73474 _ACEOF
73475 if ac_fn_cxx_try_compile "$LINENO"; then :
73476 ac_alignas_cacheline=yes
73477 else
73478 ac_alignas_cacheline=no
73480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73481 if test "$ac_alignas_cacheline" = yes; then
73483 cat >>confdefs.h <<_ACEOF
73484 #define _GLIBCXX_CAN_ALIGNAS_DESTRUCTIVE_SIZE 1
73485 _ACEOF
73488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_alignas_cacheline" >&5
73489 $as_echo "$ac_alignas_cacheline" >&6; }
73491 ac_ext=c
73492 ac_cpp='$CPP $CPPFLAGS'
73493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73499 # For using init_priority in ios_init.cc
73502 ac_ext=cpp
73503 ac_cpp='$CXXCPP $CPPFLAGS'
73504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether init_priority attribute is supported" >&5
73510 $as_echo_n "checking whether init_priority attribute is supported... " >&6; }
73511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73512 /* end confdefs.h. */
73515 main ()
73518 #if ! __has_attribute(init_priority)
73519 #error init_priority not supported
73520 #endif
73523 return 0;
73525 _ACEOF
73526 if ac_fn_cxx_try_compile "$LINENO"; then :
73527 ac_init_priority=yes
73528 else
73529 ac_init_priority=no
73531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73532 if test "$ac_init_priority" = yes; then
73534 cat >>confdefs.h <<_ACEOF
73535 #define _GLIBCXX_USE_INIT_PRIORITY_ATTRIBUTE 1
73536 _ACEOF
73539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_init_priority" >&5
73540 $as_echo "$ac_init_priority" >&6; }
73542 ac_ext=c
73543 ac_cpp='$CPP $CPPFLAGS'
73544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73550 # Define documentation rules conditionally.
73552 # See if makeinfo has been installed and is modern enough
73553 # that we can use it.
73555 # Extract the first word of "makeinfo", so it can be a program name with args.
73556 set dummy makeinfo; ac_word=$2
73557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
73558 $as_echo_n "checking for $ac_word... " >&6; }
73559 if ${ac_cv_prog_MAKEINFO+:} false; then :
73560 $as_echo_n "(cached) " >&6
73561 else
73562 if test -n "$MAKEINFO"; then
73563 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
73564 else
73565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73566 for as_dir in $PATH
73568 IFS=$as_save_IFS
73569 test -z "$as_dir" && as_dir=.
73570 for ac_exec_ext in '' $ac_executable_extensions; do
73571 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
73572 ac_cv_prog_MAKEINFO="makeinfo"
73573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
73574 break 2
73576 done
73577 done
73578 IFS=$as_save_IFS
73582 MAKEINFO=$ac_cv_prog_MAKEINFO
73583 if test -n "$MAKEINFO"; then
73584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
73585 $as_echo "$MAKEINFO" >&6; }
73586 else
73587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
73588 $as_echo "no" >&6; }
73592 if test -n "$MAKEINFO"; then
73593 # Found it, now check the version.
73594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
73595 $as_echo_n "checking for modern makeinfo... " >&6; }
73596 if ${gcc_cv_prog_makeinfo_modern+:} false; then :
73597 $as_echo_n "(cached) " >&6
73598 else
73599 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
73600 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
73602 case $ac_prog_version in
73603 '') gcc_cv_prog_makeinfo_modern=no;;
73604 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
73605 *) gcc_cv_prog_makeinfo_modern=no;;
73606 esac
73609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
73610 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
73611 else
73612 gcc_cv_prog_makeinfo_modern=no
73614 if test $gcc_cv_prog_makeinfo_modern = no; then
73615 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
73618 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
73619 BUILD_INFO_TRUE=
73620 BUILD_INFO_FALSE='#'
73621 else
73622 BUILD_INFO_TRUE='#'
73623 BUILD_INFO_FALSE=
73627 # Check for doxygen
73628 # Extract the first word of "doxygen", so it can be a program name with args.
73629 set dummy doxygen; ac_word=$2
73630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
73631 $as_echo_n "checking for $ac_word... " >&6; }
73632 if ${ac_cv_prog_DOXYGEN+:} false; then :
73633 $as_echo_n "(cached) " >&6
73634 else
73635 if test -n "$DOXYGEN"; then
73636 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
73637 else
73638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73639 for as_dir in $PATH
73641 IFS=$as_save_IFS
73642 test -z "$as_dir" && as_dir=.
73643 for ac_exec_ext in '' $ac_executable_extensions; do
73644 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
73645 ac_cv_prog_DOXYGEN="yes"
73646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
73647 break 2
73649 done
73650 done
73651 IFS=$as_save_IFS
73653 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
73656 DOXYGEN=$ac_cv_prog_DOXYGEN
73657 if test -n "$DOXYGEN"; then
73658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
73659 $as_echo "$DOXYGEN" >&6; }
73660 else
73661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
73662 $as_echo "no" >&6; }
73666 # Extract the first word of "dot", so it can be a program name with args.
73667 set dummy dot; ac_word=$2
73668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
73669 $as_echo_n "checking for $ac_word... " >&6; }
73670 if ${ac_cv_prog_DOT+:} false; then :
73671 $as_echo_n "(cached) " >&6
73672 else
73673 if test -n "$DOT"; then
73674 ac_cv_prog_DOT="$DOT" # Let the user override the test.
73675 else
73676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73677 for as_dir in $PATH
73679 IFS=$as_save_IFS
73680 test -z "$as_dir" && as_dir=.
73681 for ac_exec_ext in '' $ac_executable_extensions; do
73682 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
73683 ac_cv_prog_DOT="yes"
73684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
73685 break 2
73687 done
73688 done
73689 IFS=$as_save_IFS
73691 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
73694 DOT=$ac_cv_prog_DOT
73695 if test -n "$DOT"; then
73696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
73697 $as_echo "$DOT" >&6; }
73698 else
73699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
73700 $as_echo "no" >&6; }
73705 # Check for docbook
73706 # Extract the first word of "xmlcatalog", so it can be a program name with args.
73707 set dummy xmlcatalog; ac_word=$2
73708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
73709 $as_echo_n "checking for $ac_word... " >&6; }
73710 if ${ac_cv_prog_XMLCATALOG+:} false; then :
73711 $as_echo_n "(cached) " >&6
73712 else
73713 if test -n "$XMLCATALOG"; then
73714 ac_cv_prog_XMLCATALOG="$XMLCATALOG" # Let the user override the test.
73715 else
73716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73717 for as_dir in $PATH
73719 IFS=$as_save_IFS
73720 test -z "$as_dir" && as_dir=.
73721 for ac_exec_ext in '' $ac_executable_extensions; do
73722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
73723 ac_cv_prog_XMLCATALOG="yes"
73724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
73725 break 2
73727 done
73728 done
73729 IFS=$as_save_IFS
73731 test -z "$ac_cv_prog_XMLCATALOG" && ac_cv_prog_XMLCATALOG="no"
73734 XMLCATALOG=$ac_cv_prog_XMLCATALOG
73735 if test -n "$XMLCATALOG"; then
73736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLCATALOG" >&5
73737 $as_echo "$XMLCATALOG" >&6; }
73738 else
73739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
73740 $as_echo "no" >&6; }
73744 # Extract the first word of "xsltproc", so it can be a program name with args.
73745 set dummy xsltproc; ac_word=$2
73746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
73747 $as_echo_n "checking for $ac_word... " >&6; }
73748 if ${ac_cv_prog_XSLTPROC+:} false; then :
73749 $as_echo_n "(cached) " >&6
73750 else
73751 if test -n "$XSLTPROC"; then
73752 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
73753 else
73754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73755 for as_dir in $PATH
73757 IFS=$as_save_IFS
73758 test -z "$as_dir" && as_dir=.
73759 for ac_exec_ext in '' $ac_executable_extensions; do
73760 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
73761 ac_cv_prog_XSLTPROC="yes"
73762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
73763 break 2
73765 done
73766 done
73767 IFS=$as_save_IFS
73769 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
73772 XSLTPROC=$ac_cv_prog_XSLTPROC
73773 if test -n "$XSLTPROC"; then
73774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
73775 $as_echo "$XSLTPROC" >&6; }
73776 else
73777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
73778 $as_echo "no" >&6; }
73782 # Extract the first word of "xmllint", so it can be a program name with args.
73783 set dummy xmllint; ac_word=$2
73784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
73785 $as_echo_n "checking for $ac_word... " >&6; }
73786 if ${ac_cv_prog_XMLLINT+:} false; then :
73787 $as_echo_n "(cached) " >&6
73788 else
73789 if test -n "$XMLLINT"; then
73790 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
73791 else
73792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73793 for as_dir in $PATH
73795 IFS=$as_save_IFS
73796 test -z "$as_dir" && as_dir=.
73797 for ac_exec_ext in '' $ac_executable_extensions; do
73798 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
73799 ac_cv_prog_XMLLINT="yes"
73800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
73801 break 2
73803 done
73804 done
73805 IFS=$as_save_IFS
73807 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
73810 XMLLINT=$ac_cv_prog_XMLLINT
73811 if test -n "$XMLLINT"; then
73812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
73813 $as_echo "$XMLLINT" >&6; }
73814 else
73815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
73816 $as_echo "no" >&6; }
73822 glibcxx_docbook_url=http://docbook.sourceforge.net/release/xsl-ns/current/
73824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
73825 $as_echo_n "checking for local stylesheet directory... " >&6; }
73826 glibcxx_local_stylesheets=no
73827 if test x${XMLCATALOG} = xyes && xsl_style_dir=`xmlcatalog "" $glibcxx_docbook_url 2>/dev/null`
73828 then
73829 XSL_STYLE_DIR=`echo $xsl_style_dir | sed -n 's;^file://;;p'`
73830 glibcxx_local_stylesheets=yes
73831 else
73832 for dir in \
73833 /usr/share/sgml/docbook/xsl-ns-stylesheets \
73834 /usr/share/xml/docbook/stylesheet/docbook-xsl-ns \
73835 /usr/share/xml/docbook/stylesheet/nwalsh5/current \
73836 /usr/share/xml/docbook/stylesheet/nwalsh/current
73838 if test -d $dir; then
73839 glibcxx_local_stylesheets=yes
73840 XSL_STYLE_DIR=$dir
73841 break
73843 done
73845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
73846 $as_echo "$glibcxx_local_stylesheets" >&6; }
73848 if test x"$glibcxx_local_stylesheets" = x"yes"; then
73850 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
73851 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
73853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
73854 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
73855 glibcxx_stylesheets=no
73856 if test x${XMLCATALOG} = xno || xmlcatalog "" $glibcxx_docbook_url/xhtml/docbook.xsl >/dev/null 2>&1; then
73857 if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude $glibcxx_docbook_url/xhtml/docbook.xsl - 2>/dev/null; then
73858 glibcxx_stylesheets=yes
73861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
73862 $as_echo "$glibcxx_stylesheets" >&6; }
73864 else
73865 glibcxx_stylesheets=no
73868 # Check for epub3 dependencies.
73869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
73870 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
73871 glibcxx_epub_stylesheets=no
73872 if test x"$glibcxx_local_stylesheets" = x"yes"; then
73873 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
73874 glibcxx_epub_stylesheets=yes
73877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
73878 $as_echo "$glibcxx_epub_stylesheets" >&6; }
73879 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
73880 BUILD_EPUB_TRUE=
73881 BUILD_EPUB_FALSE='#'
73882 else
73883 BUILD_EPUB_TRUE='#'
73884 BUILD_EPUB_FALSE=
73890 # Check for xml/html dependencies.
73891 if test $ac_cv_prog_DOXYGEN = "yes" &&
73892 test $ac_cv_prog_DOT = "yes" &&
73893 test $ac_cv_prog_XSLTPROC = "yes" &&
73894 test $ac_cv_prog_XMLLINT = "yes" &&
73895 test $glibcxx_stylesheets = "yes"; then
73896 BUILD_XML_TRUE=
73897 BUILD_XML_FALSE='#'
73898 else
73899 BUILD_XML_TRUE='#'
73900 BUILD_XML_FALSE=
73904 if test $ac_cv_prog_DOXYGEN = "yes" &&
73905 test $ac_cv_prog_DOT = "yes" &&
73906 test $ac_cv_prog_XSLTPROC = "yes" &&
73907 test $ac_cv_prog_XMLLINT = "yes" &&
73908 test $glibcxx_stylesheets = "yes"; then
73909 BUILD_HTML_TRUE=
73910 BUILD_HTML_FALSE='#'
73911 else
73912 BUILD_HTML_TRUE='#'
73913 BUILD_HTML_FALSE=
73917 # Check for man dependencies.
73918 if test $ac_cv_prog_DOXYGEN = "yes" &&
73919 test $ac_cv_prog_DOT = "yes"; then
73920 BUILD_MAN_TRUE=
73921 BUILD_MAN_FALSE='#'
73922 else
73923 BUILD_MAN_TRUE='#'
73924 BUILD_MAN_FALSE=
73928 # Check for pdf dependencies.
73929 # Extract the first word of "dblatex", so it can be a program name with args.
73930 set dummy dblatex; ac_word=$2
73931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
73932 $as_echo_n "checking for $ac_word... " >&6; }
73933 if ${ac_cv_prog_DBLATEX+:} false; then :
73934 $as_echo_n "(cached) " >&6
73935 else
73936 if test -n "$DBLATEX"; then
73937 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
73938 else
73939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73940 for as_dir in $PATH
73942 IFS=$as_save_IFS
73943 test -z "$as_dir" && as_dir=.
73944 for ac_exec_ext in '' $ac_executable_extensions; do
73945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
73946 ac_cv_prog_DBLATEX="yes"
73947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
73948 break 2
73950 done
73951 done
73952 IFS=$as_save_IFS
73954 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
73957 DBLATEX=$ac_cv_prog_DBLATEX
73958 if test -n "$DBLATEX"; then
73959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
73960 $as_echo "$DBLATEX" >&6; }
73961 else
73962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
73963 $as_echo "no" >&6; }
73967 # Extract the first word of "pdflatex", so it can be a program name with args.
73968 set dummy pdflatex; ac_word=$2
73969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
73970 $as_echo_n "checking for $ac_word... " >&6; }
73971 if ${ac_cv_prog_PDFLATEX+:} false; then :
73972 $as_echo_n "(cached) " >&6
73973 else
73974 if test -n "$PDFLATEX"; then
73975 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
73976 else
73977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73978 for as_dir in $PATH
73980 IFS=$as_save_IFS
73981 test -z "$as_dir" && as_dir=.
73982 for ac_exec_ext in '' $ac_executable_extensions; do
73983 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
73984 ac_cv_prog_PDFLATEX="yes"
73985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
73986 break 2
73988 done
73989 done
73990 IFS=$as_save_IFS
73992 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
73995 PDFLATEX=$ac_cv_prog_PDFLATEX
73996 if test -n "$PDFLATEX"; then
73997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
73998 $as_echo "$PDFLATEX" >&6; }
73999 else
74000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
74001 $as_echo "no" >&6; }
74005 if test $ac_cv_prog_DOXYGEN = "yes" &&
74006 test $ac_cv_prog_DOT = "yes" &&
74007 test $ac_cv_prog_XSLTPROC = "yes" &&
74008 test $ac_cv_prog_XMLLINT = "yes" &&
74009 test $ac_cv_prog_DBLATEX = "yes" &&
74010 test $ac_cv_prog_PDFLATEX = "yes"; then
74011 BUILD_PDF_TRUE=
74012 BUILD_PDF_FALSE='#'
74013 else
74014 BUILD_PDF_TRUE='#'
74015 BUILD_PDF_FALSE=
74019 case "$build" in
74020 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
74021 * ) glibcxx_include_dir_notparallel=no ;;
74022 esac
74023 if test $glibcxx_include_dir_notparallel = "yes"; then
74024 INCLUDE_DIR_NOTPARALLEL_TRUE=
74025 INCLUDE_DIR_NOTPARALLEL_FALSE='#'
74026 else
74027 INCLUDE_DIR_NOTPARALLEL_TRUE='#'
74028 INCLUDE_DIR_NOTPARALLEL_FALSE=
74032 # Propagate the target-specific source directories through the build chain.
74033 ATOMICITY_SRCDIR=config/${atomicity_dir}
74034 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
74035 ATOMIC_FLAGS=${atomic_flags}
74036 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
74037 OS_INC_SRCDIR=config/${os_include_dir}
74038 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
74039 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
74040 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
74041 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
74052 # Conditionalize the makefile for this target machine.
74053 tmake_file_=
74054 for f in ${tmake_file}
74056 if test -f ${srcdir}/config/$f
74057 then
74058 tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
74060 done
74061 tmake_file="${tmake_file_}"
74064 # Add CET specific flags if Intel CET is enabled.
74065 # Check whether --enable-cet was given.
74066 if test "${enable_cet+set}" = set; then :
74067 enableval=$enable_cet;
74068 case "$enableval" in
74069 yes|no|auto) ;;
74070 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
74071 esac
74073 else
74074 enable_cet=auto
74078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
74079 $as_echo_n "checking for CET support... " >&6; }
74081 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
74082 case "$host" in
74083 i[34567]86-*-linux* | x86_64-*-linux*)
74084 case "$enable_cet" in
74085 auto)
74086 # Check if target supports multi-byte NOPs
74087 # and if compiler and assembler support CET insn.
74088 cet_save_CFLAGS="$CFLAGS"
74089 CFLAGS="$CFLAGS -fcf-protection"
74090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74091 /* end confdefs.h. */
74094 main ()
74097 #if !defined(__SSE2__)
74098 #error target does not support multi-byte NOPs
74099 #else
74100 asm ("setssbsy");
74101 #endif
74104 return 0;
74106 _ACEOF
74107 if ac_fn_c_try_compile "$LINENO"; then :
74108 enable_cet=yes
74109 else
74110 enable_cet=no
74112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74113 CFLAGS="$cet_save_CFLAGS"
74115 yes)
74116 # Check if assembler supports CET.
74117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74118 /* end confdefs.h. */
74121 main ()
74123 asm ("setssbsy");
74125 return 0;
74127 _ACEOF
74128 if ac_fn_c_try_compile "$LINENO"; then :
74130 else
74131 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
74133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74135 esac
74138 enable_cet=no
74140 esac
74141 if test x$enable_cet = xyes; then
74142 CET_FLAGS="-fcf-protection -mshstk"
74143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
74144 $as_echo "yes" >&6; }
74145 else
74146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
74147 $as_echo "no" >&6; }
74150 EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
74151 EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
74155 # Determine cross-compile flags and AM_CONDITIONALs.
74156 #AC_SUBST(GLIBCXX_IS_NATIVE)
74157 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
74158 if test $is_hosted = yes; then
74159 GLIBCXX_HOSTED_TRUE=
74160 GLIBCXX_HOSTED_FALSE='#'
74161 else
74162 GLIBCXX_HOSTED_TRUE='#'
74163 GLIBCXX_HOSTED_FALSE=
74167 if test $enable_libstdcxx_pch = yes; then
74168 GLIBCXX_BUILD_PCH_TRUE=
74169 GLIBCXX_BUILD_PCH_FALSE='#'
74170 else
74171 GLIBCXX_BUILD_PCH_TRUE='#'
74172 GLIBCXX_BUILD_PCH_FALSE=
74176 if test $enable_float128 = yes; then
74177 ENABLE_FLOAT128_TRUE=
74178 ENABLE_FLOAT128_FALSE='#'
74179 else
74180 ENABLE_FLOAT128_TRUE='#'
74181 ENABLE_FLOAT128_FALSE=
74185 if test $enable_libstdcxx_allocator_flag = new; then
74186 ENABLE_ALLOCATOR_NEW_TRUE=
74187 ENABLE_ALLOCATOR_NEW_FALSE='#'
74188 else
74189 ENABLE_ALLOCATOR_NEW_TRUE='#'
74190 ENABLE_ALLOCATOR_NEW_FALSE=
74194 if test $enable_cheaders = c; then
74195 GLIBCXX_C_HEADERS_C_TRUE=
74196 GLIBCXX_C_HEADERS_C_FALSE='#'
74197 else
74198 GLIBCXX_C_HEADERS_C_TRUE='#'
74199 GLIBCXX_C_HEADERS_C_FALSE=
74203 if test $enable_cheaders = c_std; then
74204 GLIBCXX_C_HEADERS_C_STD_TRUE=
74205 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
74206 else
74207 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
74208 GLIBCXX_C_HEADERS_C_STD_FALSE=
74212 if test $enable_cheaders = c_global; then
74213 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
74214 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
74215 else
74216 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
74217 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
74221 if test $c_compatibility = yes; then
74222 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
74223 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
74224 else
74225 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
74226 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
74230 if test $enable_libstdcxx_debug = yes; then
74231 GLIBCXX_BUILD_DEBUG_TRUE=
74232 GLIBCXX_BUILD_DEBUG_FALSE='#'
74233 else
74234 GLIBCXX_BUILD_DEBUG_TRUE='#'
74235 GLIBCXX_BUILD_DEBUG_FALSE=
74239 if test $enable_extern_template = yes; then
74240 ENABLE_EXTERN_TEMPLATE_TRUE=
74241 ENABLE_EXTERN_TEMPLATE_FALSE='#'
74242 else
74243 ENABLE_EXTERN_TEMPLATE_TRUE='#'
74244 ENABLE_EXTERN_TEMPLATE_FALSE=
74248 if test $python_mod_dir != no; then
74249 ENABLE_PYTHONDIR_TRUE=
74250 ENABLE_PYTHONDIR_FALSE='#'
74251 else
74252 ENABLE_PYTHONDIR_TRUE='#'
74253 ENABLE_PYTHONDIR_FALSE=
74257 if test $enable_werror = yes; then
74258 ENABLE_WERROR_TRUE=
74259 ENABLE_WERROR_FALSE='#'
74260 else
74261 ENABLE_WERROR_TRUE='#'
74262 ENABLE_WERROR_FALSE=
74266 if test $enable_vtable_verify = yes; then
74267 ENABLE_VTABLE_VERIFY_TRUE=
74268 ENABLE_VTABLE_VERIFY_FALSE='#'
74269 else
74270 ENABLE_VTABLE_VERIFY_TRUE='#'
74271 ENABLE_VTABLE_VERIFY_FALSE=
74275 if test $enable_symvers != no; then
74276 ENABLE_SYMVERS_TRUE=
74277 ENABLE_SYMVERS_FALSE='#'
74278 else
74279 ENABLE_SYMVERS_TRUE='#'
74280 ENABLE_SYMVERS_FALSE=
74284 if test $enable_symvers = gnu; then
74285 ENABLE_SYMVERS_GNU_TRUE=
74286 ENABLE_SYMVERS_GNU_FALSE='#'
74287 else
74288 ENABLE_SYMVERS_GNU_TRUE='#'
74289 ENABLE_SYMVERS_GNU_FALSE=
74293 if test $enable_symvers = gnu-versioned-namespace; then
74294 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
74295 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
74296 else
74297 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
74298 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
74302 if test $enable_symvers = darwin; then
74303 ENABLE_SYMVERS_DARWIN_TRUE=
74304 ENABLE_SYMVERS_DARWIN_FALSE='#'
74305 else
74306 ENABLE_SYMVERS_DARWIN_TRUE='#'
74307 ENABLE_SYMVERS_DARWIN_FALSE=
74311 if test $enable_symvers = sun; then
74312 ENABLE_SYMVERS_SUN_TRUE=
74313 ENABLE_SYMVERS_SUN_FALSE='#'
74314 else
74315 ENABLE_SYMVERS_SUN_TRUE='#'
74316 ENABLE_SYMVERS_SUN_FALSE=
74320 if test $enable_libstdcxx_visibility = yes; then
74321 ENABLE_VISIBILITY_TRUE=
74322 ENABLE_VISIBILITY_FALSE='#'
74323 else
74324 ENABLE_VISIBILITY_TRUE='#'
74325 ENABLE_VISIBILITY_FALSE=
74329 if test $enable_libstdcxx_dual_abi = yes; then
74330 ENABLE_DUAL_ABI_TRUE=
74331 ENABLE_DUAL_ABI_FALSE='#'
74332 else
74333 ENABLE_DUAL_ABI_TRUE='#'
74334 ENABLE_DUAL_ABI_FALSE=
74338 if test $glibcxx_cxx11_abi = 1; then
74339 ENABLE_CXX11_ABI_TRUE=
74340 ENABLE_CXX11_ABI_FALSE='#'
74341 else
74342 ENABLE_CXX11_ABI_TRUE='#'
74343 ENABLE_CXX11_ABI_FALSE=
74347 if test $ac_ldbl_compat = yes; then
74348 GLIBCXX_LDBL_COMPAT_TRUE=
74349 GLIBCXX_LDBL_COMPAT_FALSE='#'
74350 else
74351 GLIBCXX_LDBL_COMPAT_TRUE='#'
74352 GLIBCXX_LDBL_COMPAT_FALSE=
74356 if test $ac_ldbl_alt128_compat = yes; then
74357 GLIBCXX_LDBL_ALT128_COMPAT_TRUE=
74358 GLIBCXX_LDBL_ALT128_COMPAT_FALSE='#'
74359 else
74360 GLIBCXX_LDBL_ALT128_COMPAT_TRUE='#'
74361 GLIBCXX_LDBL_ALT128_COMPAT_FALSE=
74365 if test $enable_libstdcxx_filesystem_ts = yes; then
74366 ENABLE_FILESYSTEM_TS_TRUE=
74367 ENABLE_FILESYSTEM_TS_FALSE='#'
74368 else
74369 ENABLE_FILESYSTEM_TS_TRUE='#'
74370 ENABLE_FILESYSTEM_TS_FALSE=
74374 if test "$enable_libstdcxx_backtrace" = yes; then
74375 ENABLE_BACKTRACE_TRUE=
74376 ENABLE_BACKTRACE_FALSE='#'
74377 else
74378 ENABLE_BACKTRACE_TRUE='#'
74379 ENABLE_BACKTRACE_FALSE=
74383 if test "${embed_zoneinfo}" = yes; then
74384 USE_STATIC_TZDATA_TRUE=
74385 USE_STATIC_TZDATA_FALSE='#'
74386 else
74387 USE_STATIC_TZDATA_TRUE='#'
74388 USE_STATIC_TZDATA_FALSE=
74394 cat >confcache <<\_ACEOF
74395 # This file is a shell script that caches the results of configure
74396 # tests run on this system so they can be shared between configure
74397 # scripts and configure runs, see configure's option --config-cache.
74398 # It is not useful on other systems. If it contains results you don't
74399 # want to keep, you may remove or edit it.
74401 # config.status only pays attention to the cache file if you give it
74402 # the --recheck option to rerun configure.
74404 # `ac_cv_env_foo' variables (set or unset) will be overridden when
74405 # loading this file, other *unset* `ac_cv_foo' will be assigned the
74406 # following values.
74408 _ACEOF
74410 # The following way of writing the cache mishandles newlines in values,
74411 # but we know of no workaround that is simple, portable, and efficient.
74412 # So, we kill variables containing newlines.
74413 # Ultrix sh set writes to stderr and can't be redirected directly,
74414 # and sets the high bit in the cache file unless we assign to the vars.
74416 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
74417 eval ac_val=\$$ac_var
74418 case $ac_val in #(
74419 *${as_nl}*)
74420 case $ac_var in #(
74421 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
74422 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
74423 esac
74424 case $ac_var in #(
74425 _ | IFS | as_nl) ;; #(
74426 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
74427 *) { eval $ac_var=; unset $ac_var;} ;;
74428 esac ;;
74429 esac
74430 done
74432 (set) 2>&1 |
74433 case $as_nl`(ac_space=' '; set) 2>&1` in #(
74434 *${as_nl}ac_space=\ *)
74435 # `set' does not quote correctly, so add quotes: double-quote
74436 # substitution turns \\\\ into \\, and sed turns \\ into \.
74437 sed -n \
74438 "s/'/'\\\\''/g;
74439 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
74440 ;; #(
74442 # `set' quotes correctly as required by POSIX, so do not add quotes.
74443 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
74445 esac |
74446 sort
74448 sed '
74449 /^ac_cv_env_/b end
74450 t clear
74451 :clear
74452 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
74453 t end
74454 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
74455 :end' >>confcache
74456 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
74457 if test -w "$cache_file"; then
74458 if test "x$cache_file" != "x/dev/null"; then
74459 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
74460 $as_echo "$as_me: updating cache $cache_file" >&6;}
74461 if test ! -f "$cache_file" || test -h "$cache_file"; then
74462 cat confcache >"$cache_file"
74463 else
74464 case $cache_file in #(
74465 */* | ?:*)
74466 mv -f confcache "$cache_file"$$ &&
74467 mv -f "$cache_file"$$ "$cache_file" ;; #(
74469 mv -f confcache "$cache_file" ;;
74470 esac
74473 else
74474 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
74475 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
74478 rm -f confcache
74480 if test ${multilib} = yes; then
74481 multilib_arg="--enable-multilib"
74482 else
74483 multilib_arg=
74486 # Export all the install information.
74488 glibcxx_toolexecdir=no
74489 glibcxx_toolexeclibdir=no
74490 glibcxx_prefixdir=$prefix
74492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
74493 $as_echo_n "checking for gxx-include-dir... " >&6; }
74495 # Check whether --with-gxx-include-dir was given.
74496 if test "${with_gxx_include_dir+set}" = set; then :
74497 withval=$with_gxx_include_dir; case "$withval" in
74498 yes) as_fn_error $? "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
74499 no) gxx_include_dir=no ;;
74500 *) gxx_include_dir=$withval ;;
74501 esac
74502 else
74503 gxx_include_dir=no
74506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
74507 $as_echo "$gxx_include_dir" >&6; }
74509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
74510 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
74511 # Check whether --enable-version-specific-runtime-libs was given.
74512 if test "${enable_version_specific_runtime_libs+set}" = set; then :
74513 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
74514 yes) version_specific_libs=yes ;;
74515 no) version_specific_libs=no ;;
74516 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
74517 esac
74518 else
74519 version_specific_libs=no
74522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
74523 $as_echo "$version_specific_libs" >&6; }
74526 # Check whether --with-toolexeclibdir was given.
74527 if test "${with_toolexeclibdir+set}" = set; then :
74528 withval=$with_toolexeclibdir; case ${with_toolexeclibdir} in
74532 with_toolexeclibdir=`echo $with_toolexeclibdir | sed 's,/$,,'`
74534 esac
74535 else
74536 with_toolexeclibdir=no
74541 # Default case for install directory for include files.
74542 if test $version_specific_libs = no && test $gxx_include_dir = no; then
74543 gxx_include_dir='include/c++/${gcc_version}'
74544 if test -n "$with_cross_host" &&
74545 test x"$with_cross_host" != x"no"; then
74546 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
74547 else
74548 gxx_include_dir='${prefix}/'"$gxx_include_dir"
74552 # Version-specific runtime libs processing.
74553 if test $version_specific_libs = yes; then
74554 # Need the gcc compiler version to know where to install libraries
74555 # and header files if --enable-version-specific-runtime-libs option
74556 # is selected. FIXME: these variables are misnamed, there are
74557 # no executables installed in _toolexecdir or _toolexeclibdir.
74558 if test x"$gxx_include_dir" = x"no"; then
74559 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
74561 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
74562 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
74565 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
74566 # Install a library built with a cross compiler in tooldir, not libdir.
74567 if test x"$glibcxx_toolexecdir" = x"no"; then
74568 if test -n "$with_cross_host" &&
74569 test x"$with_cross_host" != x"no"; then
74570 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
74571 case ${with_toolexeclibdir} in
74573 glibcxx_toolexeclibdir='${toolexecdir}/lib'
74576 glibcxx_toolexeclibdir=${with_toolexeclibdir}
74578 esac
74579 else
74580 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
74581 glibcxx_toolexeclibdir='${libdir}'
74583 multi_os_directory=`$CXX -print-multi-os-directory`
74584 case $multi_os_directory in
74585 .) ;; # Avoid trailing /.
74586 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
74587 esac
74590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
74591 $as_echo_n "checking for install location... " >&6; }
74592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
74593 $as_echo "$gxx_include_dir" >&6; }
74601 # Export all the include and flag information to Makefiles.
74603 # Used for every C++ compile we perform.
74604 GLIBCXX_INCLUDES="\
74605 -I$glibcxx_builddir/include/$host_alias \
74606 -I$glibcxx_builddir/include \
74607 -I$glibcxx_srcdir/libsupc++"
74609 # For Canadian crosses, pick this up too.
74610 if test $CANADIAN = yes; then
74611 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
74614 # Stuff in the actual top level. Currently only used by libsupc++ to
74615 # get unwind* headers from the libgcc dir.
74616 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
74617 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
74619 # Now, export this to all the little Makefiles....
74626 # Optimization flags that are probably a good idea for thrill-seekers. Just
74627 # uncomment the lines below and make, everything else is ready to go...
74628 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
74629 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
74632 WARN_FLAGS="-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2"
74636 # Determine what GCC version number to use in filesystem paths.
74638 get_gcc_base_ver="cat"
74640 # Check whether --with-gcc-major-version-only was given.
74641 if test "${with_gcc_major_version_only+set}" = set; then :
74642 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
74643 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
74651 ac_config_files="$ac_config_files Makefile"
74653 ac_config_files="$ac_config_files scripts/testsuite_flags"
74655 ac_config_files="$ac_config_files scripts/extract_symvers"
74657 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
74659 ac_config_files="$ac_config_files src/libbacktrace/backtrace-supported.h"
74662 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
74663 # that multilib installs will end up installed in the correct place.
74664 # The testsuite needs it for multilib-aware ABI baseline files.
74665 # To work around this not being passed down from config-ml.in ->
74666 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
74667 # append it here. Only modify Makefiles that have just been created.
74669 # Also, get rid of this simulated-VPATH thing that automake does.
74670 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile src/c++17/Makefile src/c++20/Makefile src/filesystem/Makefile src/libbacktrace/Makefile src/experimental/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
74673 ac_config_commands="$ac_config_commands generate-headers"
74676 cat >confcache <<\_ACEOF
74677 # This file is a shell script that caches the results of configure
74678 # tests run on this system so they can be shared between configure
74679 # scripts and configure runs, see configure's option --config-cache.
74680 # It is not useful on other systems. If it contains results you don't
74681 # want to keep, you may remove or edit it.
74683 # config.status only pays attention to the cache file if you give it
74684 # the --recheck option to rerun configure.
74686 # `ac_cv_env_foo' variables (set or unset) will be overridden when
74687 # loading this file, other *unset* `ac_cv_foo' will be assigned the
74688 # following values.
74690 _ACEOF
74692 # The following way of writing the cache mishandles newlines in values,
74693 # but we know of no workaround that is simple, portable, and efficient.
74694 # So, we kill variables containing newlines.
74695 # Ultrix sh set writes to stderr and can't be redirected directly,
74696 # and sets the high bit in the cache file unless we assign to the vars.
74698 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
74699 eval ac_val=\$$ac_var
74700 case $ac_val in #(
74701 *${as_nl}*)
74702 case $ac_var in #(
74703 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
74704 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
74705 esac
74706 case $ac_var in #(
74707 _ | IFS | as_nl) ;; #(
74708 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
74709 *) { eval $ac_var=; unset $ac_var;} ;;
74710 esac ;;
74711 esac
74712 done
74714 (set) 2>&1 |
74715 case $as_nl`(ac_space=' '; set) 2>&1` in #(
74716 *${as_nl}ac_space=\ *)
74717 # `set' does not quote correctly, so add quotes: double-quote
74718 # substitution turns \\\\ into \\, and sed turns \\ into \.
74719 sed -n \
74720 "s/'/'\\\\''/g;
74721 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
74722 ;; #(
74724 # `set' quotes correctly as required by POSIX, so do not add quotes.
74725 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
74727 esac |
74728 sort
74730 sed '
74731 /^ac_cv_env_/b end
74732 t clear
74733 :clear
74734 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
74735 t end
74736 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
74737 :end' >>confcache
74738 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
74739 if test -w "$cache_file"; then
74740 if test "x$cache_file" != "x/dev/null"; then
74741 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
74742 $as_echo "$as_me: updating cache $cache_file" >&6;}
74743 if test ! -f "$cache_file" || test -h "$cache_file"; then
74744 cat confcache >"$cache_file"
74745 else
74746 case $cache_file in #(
74747 */* | ?:*)
74748 mv -f confcache "$cache_file"$$ &&
74749 mv -f "$cache_file"$$ "$cache_file" ;; #(
74751 mv -f confcache "$cache_file" ;;
74752 esac
74755 else
74756 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
74757 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
74760 rm -f confcache
74762 test "x$prefix" = xNONE && prefix=$ac_default_prefix
74763 # Let make expand exec_prefix.
74764 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
74766 DEFS=-DHAVE_CONFIG_H
74768 ac_libobjs=
74769 ac_ltlibobjs=
74771 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
74772 # 1. Remove the extension, and $U if already installed.
74773 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
74774 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
74775 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
74776 # will be set to the directory where LIBOBJS objects are built.
74777 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
74778 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
74779 done
74780 LIBOBJS=$ac_libobjs
74782 LTLIBOBJS=$ac_ltlibobjs
74785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
74786 $as_echo_n "checking that generated files are newer than configure... " >&6; }
74787 if test -n "$am_sleep_pid"; then
74788 # Hide warnings about reused PIDs.
74789 wait $am_sleep_pid 2>/dev/null
74791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
74792 $as_echo "done" >&6; }
74793 if test -n "$EXEEXT"; then
74794 am__EXEEXT_TRUE=
74795 am__EXEEXT_FALSE='#'
74796 else
74797 am__EXEEXT_TRUE='#'
74798 am__EXEEXT_FALSE=
74801 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
74802 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
74803 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74805 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
74806 as_fn_error $? "conditional \"GLIBCXX_HOSTED\" was never defined.
74807 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74809 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
74810 as_fn_error $? "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
74811 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74813 if test -z "${ENABLE_FLOAT128_TRUE}" && test -z "${ENABLE_FLOAT128_FALSE}"; then
74814 as_fn_error $? "conditional \"ENABLE_FLOAT128\" was never defined.
74815 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74817 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
74818 as_fn_error $? "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
74819 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74821 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
74822 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
74823 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74825 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
74826 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
74827 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74829 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
74830 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
74831 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74833 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
74834 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
74835 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74837 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
74838 as_fn_error $? "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
74839 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74841 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
74842 as_fn_error $? "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
74843 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74845 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
74846 as_fn_error $? "conditional \"ENABLE_PYTHONDIR\" was never defined.
74847 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74849 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
74850 as_fn_error $? "conditional \"ENABLE_WERROR\" was never defined.
74851 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74853 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
74854 as_fn_error $? "conditional \"VTV_CYGMIN\" was never defined.
74855 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74857 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
74858 as_fn_error $? "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
74859 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74861 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
74862 as_fn_error $? "conditional \"ENABLE_SYMVERS\" was never defined.
74863 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74865 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
74866 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
74867 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74869 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
74870 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
74871 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74873 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
74874 as_fn_error $? "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
74875 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74877 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
74878 as_fn_error $? "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
74879 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74881 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
74882 as_fn_error $? "conditional \"ENABLE_VISIBILITY\" was never defined.
74883 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74885 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
74886 as_fn_error $? "conditional \"ENABLE_DUAL_ABI\" was never defined.
74887 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74889 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
74890 as_fn_error $? "conditional \"ENABLE_CXX11_ABI\" was never defined.
74891 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74893 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
74894 as_fn_error $? "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
74895 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74897 if test -z "${GLIBCXX_LDBL_ALT128_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_ALT128_COMPAT_FALSE}"; then
74898 as_fn_error $? "conditional \"GLIBCXX_LDBL_ALT128_COMPAT\" was never defined.
74899 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74901 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
74902 as_fn_error $? "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
74903 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74905 if test -z "${ENABLE_BACKTRACE_TRUE}" && test -z "${ENABLE_BACKTRACE_FALSE}"; then
74906 as_fn_error $? "conditional \"ENABLE_BACKTRACE\" was never defined.
74907 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74909 if test -z "${USE_STATIC_TZDATA_TRUE}" && test -z "${USE_STATIC_TZDATA_FALSE}"; then
74910 as_fn_error $? "conditional \"USE_STATIC_TZDATA\" was never defined.
74911 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74913 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
74914 as_fn_error $? "conditional \"BUILD_INFO\" was never defined.
74915 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74917 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
74918 as_fn_error $? "conditional \"BUILD_EPUB\" was never defined.
74919 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74921 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
74922 as_fn_error $? "conditional \"BUILD_XML\" was never defined.
74923 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74925 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
74926 as_fn_error $? "conditional \"BUILD_HTML\" was never defined.
74927 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74929 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
74930 as_fn_error $? "conditional \"BUILD_MAN\" was never defined.
74931 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74933 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
74934 as_fn_error $? "conditional \"BUILD_PDF\" was never defined.
74935 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74937 if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
74938 as_fn_error $? "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
74939 Usually this means the macro was only invoked conditionally." "$LINENO" 5
74942 : "${CONFIG_STATUS=./config.status}"
74943 ac_write_fail=0
74944 ac_clean_files_save=$ac_clean_files
74945 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
74946 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
74947 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
74948 as_write_fail=0
74949 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
74950 #! $SHELL
74951 # Generated by $as_me.
74952 # Run this file to recreate the current configuration.
74953 # Compiler output produced by configure, useful for debugging
74954 # configure, is in config.log if it exists.
74956 debug=false
74957 ac_cs_recheck=false
74958 ac_cs_silent=false
74960 SHELL=\${CONFIG_SHELL-$SHELL}
74961 export SHELL
74962 _ASEOF
74963 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
74964 ## -------------------- ##
74965 ## M4sh Initialization. ##
74966 ## -------------------- ##
74968 # Be more Bourne compatible
74969 DUALCASE=1; export DUALCASE # for MKS sh
74970 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
74971 emulate sh
74972 NULLCMD=:
74973 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
74974 # is contrary to our usage. Disable this feature.
74975 alias -g '${1+"$@"}'='"$@"'
74976 setopt NO_GLOB_SUBST
74977 else
74978 case `(set -o) 2>/dev/null` in #(
74979 *posix*) :
74980 set -o posix ;; #(
74981 *) :
74983 esac
74987 as_nl='
74989 export as_nl
74990 # Printing a long string crashes Solaris 7 /usr/bin/printf.
74991 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
74992 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
74993 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
74994 # Prefer a ksh shell builtin over an external printf program on Solaris,
74995 # but without wasting forks for bash or zsh.
74996 if test -z "$BASH_VERSION$ZSH_VERSION" \
74997 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
74998 as_echo='print -r --'
74999 as_echo_n='print -rn --'
75000 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
75001 as_echo='printf %s\n'
75002 as_echo_n='printf %s'
75003 else
75004 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
75005 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
75006 as_echo_n='/usr/ucb/echo -n'
75007 else
75008 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
75009 as_echo_n_body='eval
75010 arg=$1;
75011 case $arg in #(
75012 *"$as_nl"*)
75013 expr "X$arg" : "X\\(.*\\)$as_nl";
75014 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
75015 esac;
75016 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
75018 export as_echo_n_body
75019 as_echo_n='sh -c $as_echo_n_body as_echo'
75021 export as_echo_body
75022 as_echo='sh -c $as_echo_body as_echo'
75025 # The user is always right.
75026 if test "${PATH_SEPARATOR+set}" != set; then
75027 PATH_SEPARATOR=:
75028 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
75029 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
75030 PATH_SEPARATOR=';'
75035 # IFS
75036 # We need space, tab and new line, in precisely that order. Quoting is
75037 # there to prevent editors from complaining about space-tab.
75038 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
75039 # splitting by setting IFS to empty value.)
75040 IFS=" "" $as_nl"
75042 # Find who we are. Look in the path if we contain no directory separator.
75043 as_myself=
75044 case $0 in #((
75045 *[\\/]* ) as_myself=$0 ;;
75046 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
75047 for as_dir in $PATH
75049 IFS=$as_save_IFS
75050 test -z "$as_dir" && as_dir=.
75051 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
75052 done
75053 IFS=$as_save_IFS
75056 esac
75057 # We did not find ourselves, most probably we were run as `sh COMMAND'
75058 # in which case we are not to be found in the path.
75059 if test "x$as_myself" = x; then
75060 as_myself=$0
75062 if test ! -f "$as_myself"; then
75063 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
75064 exit 1
75067 # Unset variables that we do not need and which cause bugs (e.g. in
75068 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
75069 # suppresses any "Segmentation fault" message there. '((' could
75070 # trigger a bug in pdksh 5.2.14.
75071 for as_var in BASH_ENV ENV MAIL MAILPATH
75072 do eval test x\${$as_var+set} = xset \
75073 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
75074 done
75075 PS1='$ '
75076 PS2='> '
75077 PS4='+ '
75079 # NLS nuisances.
75080 LC_ALL=C
75081 export LC_ALL
75082 LANGUAGE=C
75083 export LANGUAGE
75085 # CDPATH.
75086 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
75089 # as_fn_error STATUS ERROR [LINENO LOG_FD]
75090 # ----------------------------------------
75091 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
75092 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
75093 # script with STATUS, using 1 if that was 0.
75094 as_fn_error ()
75096 as_status=$1; test $as_status -eq 0 && as_status=1
75097 if test "$4"; then
75098 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
75099 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
75101 $as_echo "$as_me: error: $2" >&2
75102 as_fn_exit $as_status
75103 } # as_fn_error
75106 # as_fn_set_status STATUS
75107 # -----------------------
75108 # Set $? to STATUS, without forking.
75109 as_fn_set_status ()
75111 return $1
75112 } # as_fn_set_status
75114 # as_fn_exit STATUS
75115 # -----------------
75116 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
75117 as_fn_exit ()
75119 set +e
75120 as_fn_set_status $1
75121 exit $1
75122 } # as_fn_exit
75124 # as_fn_unset VAR
75125 # ---------------
75126 # Portably unset VAR.
75127 as_fn_unset ()
75129 { eval $1=; unset $1;}
75131 as_unset=as_fn_unset
75132 # as_fn_append VAR VALUE
75133 # ----------------------
75134 # Append the text in VALUE to the end of the definition contained in VAR. Take
75135 # advantage of any shell optimizations that allow amortized linear growth over
75136 # repeated appends, instead of the typical quadratic growth present in naive
75137 # implementations.
75138 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
75139 eval 'as_fn_append ()
75141 eval $1+=\$2
75143 else
75144 as_fn_append ()
75146 eval $1=\$$1\$2
75148 fi # as_fn_append
75150 # as_fn_arith ARG...
75151 # ------------------
75152 # Perform arithmetic evaluation on the ARGs, and store the result in the
75153 # global $as_val. Take advantage of shells that can avoid forks. The arguments
75154 # must be portable across $(()) and expr.
75155 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
75156 eval 'as_fn_arith ()
75158 as_val=$(( $* ))
75160 else
75161 as_fn_arith ()
75163 as_val=`expr "$@" || test $? -eq 1`
75165 fi # as_fn_arith
75168 if expr a : '\(a\)' >/dev/null 2>&1 &&
75169 test "X`expr 00001 : '.*\(...\)'`" = X001; then
75170 as_expr=expr
75171 else
75172 as_expr=false
75175 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
75176 as_basename=basename
75177 else
75178 as_basename=false
75181 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
75182 as_dirname=dirname
75183 else
75184 as_dirname=false
75187 as_me=`$as_basename -- "$0" ||
75188 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
75189 X"$0" : 'X\(//\)$' \| \
75190 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
75191 $as_echo X/"$0" |
75192 sed '/^.*\/\([^/][^/]*\)\/*$/{
75193 s//\1/
75196 /^X\/\(\/\/\)$/{
75197 s//\1/
75200 /^X\/\(\/\).*/{
75201 s//\1/
75204 s/.*/./; q'`
75206 # Avoid depending upon Character Ranges.
75207 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
75208 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
75209 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
75210 as_cr_digits='0123456789'
75211 as_cr_alnum=$as_cr_Letters$as_cr_digits
75213 ECHO_C= ECHO_N= ECHO_T=
75214 case `echo -n x` in #(((((
75215 -n*)
75216 case `echo 'xy\c'` in
75217 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
75218 xy) ECHO_C='\c';;
75219 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
75220 ECHO_T=' ';;
75221 esac;;
75223 ECHO_N='-n';;
75224 esac
75226 rm -f conf$$ conf$$.exe conf$$.file
75227 if test -d conf$$.dir; then
75228 rm -f conf$$.dir/conf$$.file
75229 else
75230 rm -f conf$$.dir
75231 mkdir conf$$.dir 2>/dev/null
75233 if (echo >conf$$.file) 2>/dev/null; then
75234 if ln -s conf$$.file conf$$ 2>/dev/null; then
75235 as_ln_s='ln -s'
75236 # ... but there are two gotchas:
75237 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
75238 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
75239 # In both cases, we have to default to `cp -pR'.
75240 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
75241 as_ln_s='cp -pR'
75242 elif ln conf$$.file conf$$ 2>/dev/null; then
75243 as_ln_s=ln
75244 else
75245 as_ln_s='cp -pR'
75247 else
75248 as_ln_s='cp -pR'
75250 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
75251 rmdir conf$$.dir 2>/dev/null
75254 # as_fn_mkdir_p
75255 # -------------
75256 # Create "$as_dir" as a directory, including parents if necessary.
75257 as_fn_mkdir_p ()
75260 case $as_dir in #(
75261 -*) as_dir=./$as_dir;;
75262 esac
75263 test -d "$as_dir" || eval $as_mkdir_p || {
75264 as_dirs=
75265 while :; do
75266 case $as_dir in #(
75267 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
75268 *) as_qdir=$as_dir;;
75269 esac
75270 as_dirs="'$as_qdir' $as_dirs"
75271 as_dir=`$as_dirname -- "$as_dir" ||
75272 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
75273 X"$as_dir" : 'X\(//\)[^/]' \| \
75274 X"$as_dir" : 'X\(//\)$' \| \
75275 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
75276 $as_echo X"$as_dir" |
75277 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
75278 s//\1/
75281 /^X\(\/\/\)[^/].*/{
75282 s//\1/
75285 /^X\(\/\/\)$/{
75286 s//\1/
75289 /^X\(\/\).*/{
75290 s//\1/
75293 s/.*/./; q'`
75294 test -d "$as_dir" && break
75295 done
75296 test -z "$as_dirs" || eval "mkdir $as_dirs"
75297 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
75300 } # as_fn_mkdir_p
75301 if mkdir -p . 2>/dev/null; then
75302 as_mkdir_p='mkdir -p "$as_dir"'
75303 else
75304 test -d ./-p && rmdir ./-p
75305 as_mkdir_p=false
75309 # as_fn_executable_p FILE
75310 # -----------------------
75311 # Test if FILE is an executable regular file.
75312 as_fn_executable_p ()
75314 test -f "$1" && test -x "$1"
75315 } # as_fn_executable_p
75316 as_test_x='test -x'
75317 as_executable_p=as_fn_executable_p
75319 # Sed expression to map a string onto a valid CPP name.
75320 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
75322 # Sed expression to map a string onto a valid variable name.
75323 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
75326 exec 6>&1
75327 ## ----------------------------------- ##
75328 ## Main body of $CONFIG_STATUS script. ##
75329 ## ----------------------------------- ##
75330 _ASEOF
75331 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
75333 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
75334 # Save the log message, to keep $0 and so on meaningful, and to
75335 # report actual input values of CONFIG_FILES etc. instead of their
75336 # values after options handling.
75337 ac_log="
75338 This file was extended by package-unused $as_me version-unused, which was
75339 generated by GNU Autoconf 2.69. Invocation command line was
75341 CONFIG_FILES = $CONFIG_FILES
75342 CONFIG_HEADERS = $CONFIG_HEADERS
75343 CONFIG_LINKS = $CONFIG_LINKS
75344 CONFIG_COMMANDS = $CONFIG_COMMANDS
75345 $ $0 $@
75347 on `(hostname || uname -n) 2>/dev/null | sed 1q`
75350 _ACEOF
75352 case $ac_config_files in *"
75353 "*) set x $ac_config_files; shift; ac_config_files=$*;;
75354 esac
75356 case $ac_config_headers in *"
75357 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
75358 esac
75361 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
75362 # Files that config.status was made for.
75363 config_files="$ac_config_files"
75364 config_headers="$ac_config_headers"
75365 config_commands="$ac_config_commands"
75367 _ACEOF
75369 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
75370 ac_cs_usage="\
75371 \`$as_me' instantiates files and other configuration actions
75372 from templates according to the current configuration. Unless the files
75373 and actions are specified as TAGs, all are instantiated by default.
75375 Usage: $0 [OPTION]... [TAG]...
75377 -h, --help print this help, then exit
75378 -V, --version print version number and configuration settings, then exit
75379 --config print configuration, then exit
75380 -q, --quiet, --silent
75381 do not print progress messages
75382 -d, --debug don't remove temporary files
75383 --recheck update $as_me by reconfiguring in the same conditions
75384 --file=FILE[:TEMPLATE]
75385 instantiate the configuration file FILE
75386 --header=FILE[:TEMPLATE]
75387 instantiate the configuration header FILE
75389 Configuration files:
75390 $config_files
75392 Configuration headers:
75393 $config_headers
75395 Configuration commands:
75396 $config_commands
75398 Report bugs to the package provider."
75400 _ACEOF
75401 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
75402 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
75403 ac_cs_version="\\
75404 package-unused config.status version-unused
75405 configured by $0, generated by GNU Autoconf 2.69,
75406 with options \\"\$ac_cs_config\\"
75408 Copyright (C) 2012 Free Software Foundation, Inc.
75409 This config.status script is free software; the Free Software Foundation
75410 gives unlimited permission to copy, distribute and modify it."
75412 ac_pwd='$ac_pwd'
75413 srcdir='$srcdir'
75414 INSTALL='$INSTALL'
75415 MKDIR_P='$MKDIR_P'
75416 AWK='$AWK'
75417 test -n "\$AWK" || AWK=awk
75418 _ACEOF
75420 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
75421 # The default lists apply if the user does not specify any file.
75422 ac_need_defaults=:
75423 while test $# != 0
75425 case $1 in
75426 --*=?*)
75427 ac_option=`expr "X$1" : 'X\([^=]*\)='`
75428 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
75429 ac_shift=:
75431 --*=)
75432 ac_option=`expr "X$1" : 'X\([^=]*\)='`
75433 ac_optarg=
75434 ac_shift=:
75437 ac_option=$1
75438 ac_optarg=$2
75439 ac_shift=shift
75441 esac
75443 case $ac_option in
75444 # Handling of the options.
75445 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
75446 ac_cs_recheck=: ;;
75447 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
75448 $as_echo "$ac_cs_version"; exit ;;
75449 --config | --confi | --conf | --con | --co | --c )
75450 $as_echo "$ac_cs_config"; exit ;;
75451 --debug | --debu | --deb | --de | --d | -d )
75452 debug=: ;;
75453 --file | --fil | --fi | --f )
75454 $ac_shift
75455 case $ac_optarg in
75456 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
75457 '') as_fn_error $? "missing file argument" ;;
75458 esac
75459 as_fn_append CONFIG_FILES " '$ac_optarg'"
75460 ac_need_defaults=false;;
75461 --header | --heade | --head | --hea )
75462 $ac_shift
75463 case $ac_optarg in
75464 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
75465 esac
75466 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
75467 ac_need_defaults=false;;
75468 --he | --h)
75469 # Conflict between --help and --header
75470 as_fn_error $? "ambiguous option: \`$1'
75471 Try \`$0 --help' for more information.";;
75472 --help | --hel | -h )
75473 $as_echo "$ac_cs_usage"; exit ;;
75474 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
75475 | -silent | --silent | --silen | --sile | --sil | --si | --s)
75476 ac_cs_silent=: ;;
75478 # This is an error.
75479 -*) as_fn_error $? "unrecognized option: \`$1'
75480 Try \`$0 --help' for more information." ;;
75482 *) as_fn_append ac_config_targets " $1"
75483 ac_need_defaults=false ;;
75485 esac
75486 shift
75487 done
75489 ac_configure_extra_args=
75491 if $ac_cs_silent; then
75492 exec 6>/dev/null
75493 ac_configure_extra_args="$ac_configure_extra_args --silent"
75496 _ACEOF
75497 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
75498 if \$ac_cs_recheck; then
75499 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
75500 shift
75501 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
75502 CONFIG_SHELL='$SHELL'
75503 export CONFIG_SHELL
75504 exec "\$@"
75507 _ACEOF
75508 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
75509 exec 5>>config.log
75511 echo
75512 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
75513 ## Running $as_me. ##
75514 _ASBOX
75515 $as_echo "$ac_log"
75516 } >&5
75518 _ACEOF
75519 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
75521 # INIT-COMMANDS
75524 srcdir="$srcdir"
75525 host="$host"
75526 target="$target"
75527 with_multisubdir="$with_multisubdir"
75528 with_multisrctop="$with_multisrctop"
75529 with_target_subdir="$with_target_subdir"
75530 ac_configure_args="${multilib_arg} ${ac_configure_args}"
75531 multi_basedir="$multi_basedir"
75532 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
75533 CC="$CC"
75534 CXX="$CXX"
75535 GFORTRAN="$GFORTRAN"
75536 GDC="$GDC"
75539 # The HP-UX ksh and POSIX shell print the target directory to stdout
75540 # if CDPATH is set.
75541 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
75543 sed_quote_subst='$sed_quote_subst'
75544 double_quote_subst='$double_quote_subst'
75545 delay_variable_subst='$delay_variable_subst'
75546 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
75547 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
75548 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
75549 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
75550 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
75551 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
75552 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
75553 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
75554 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
75555 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
75556 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
75557 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
75558 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
75559 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
75560 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
75561 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
75562 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
75563 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
75564 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
75565 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
75566 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
75567 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
75568 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
75569 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
75570 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
75571 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
75572 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
75573 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
75574 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
75575 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
75576 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
75577 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
75578 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
75579 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
75580 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
75581 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
75582 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
75583 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
75584 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
75585 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
75586 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
75587 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
75588 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
75589 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
75590 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
75591 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
75592 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
75593 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
75594 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"`'
75595 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
75596 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
75597 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
75598 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
75599 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
75600 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
75601 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
75602 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
75603 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
75604 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
75605 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
75606 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
75607 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
75608 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
75609 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
75610 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
75611 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
75612 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
75613 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
75614 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
75615 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
75616 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
75617 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
75618 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
75619 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
75620 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
75621 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
75622 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
75623 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
75624 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
75625 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
75626 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
75627 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
75628 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
75629 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
75630 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
75631 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
75632 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
75633 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
75634 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
75635 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
75636 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
75637 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
75638 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
75639 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
75640 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
75641 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
75642 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
75643 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
75644 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
75645 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
75646 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
75647 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
75648 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
75649 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
75650 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
75651 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
75652 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
75653 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
75654 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
75655 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
75656 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
75657 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
75658 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
75659 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
75660 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
75661 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
75662 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
75663 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
75664 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
75665 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
75666 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
75667 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
75668 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
75669 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
75670 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
75671 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
75672 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
75673 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
75674 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
75675 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
75676 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
75677 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
75678 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
75679 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
75680 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
75681 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
75682 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
75683 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
75684 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
75685 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
75686 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
75687 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
75688 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
75689 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
75690 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
75691 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
75692 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
75693 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
75694 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
75695 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
75696 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
75697 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
75698 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
75699 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
75700 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
75701 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
75702 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
75703 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
75704 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
75705 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
75706 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
75707 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
75708 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
75709 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
75710 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
75711 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
75712 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
75713 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
75714 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
75715 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
75716 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
75717 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
75718 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
75719 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
75720 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
75722 LTCC='$LTCC'
75723 LTCFLAGS='$LTCFLAGS'
75724 compiler='$compiler_DEFAULT'
75726 # A function that is used when there is no print builtin or printf.
75727 func_fallback_echo ()
75729 eval 'cat <<_LTECHO_EOF
75731 _LTECHO_EOF'
75734 # Quote evaled strings.
75735 for var in SHELL \
75736 ECHO \
75737 SED \
75738 GREP \
75739 EGREP \
75740 FGREP \
75741 LD \
75742 NM \
75743 LN_S \
75744 lt_SP2NL \
75745 lt_NL2SP \
75746 reload_flag \
75747 OBJDUMP \
75748 deplibs_check_method \
75749 file_magic_cmd \
75750 AR \
75751 AR_FLAGS \
75752 STRIP \
75753 RANLIB \
75754 CC \
75755 CFLAGS \
75756 compiler \
75757 lt_cv_sys_global_symbol_pipe \
75758 lt_cv_sys_global_symbol_to_cdecl \
75759 lt_cv_sys_global_symbol_to_c_name_address \
75760 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
75761 lt_prog_compiler_no_builtin_flag \
75762 lt_prog_compiler_wl \
75763 lt_prog_compiler_pic \
75764 lt_prog_compiler_static \
75765 lt_cv_prog_compiler_c_o \
75766 need_locks \
75767 DSYMUTIL \
75768 NMEDIT \
75769 LIPO \
75770 OTOOL \
75771 OTOOL64 \
75772 shrext_cmds \
75773 export_dynamic_flag_spec \
75774 whole_archive_flag_spec \
75775 compiler_needs_object \
75776 with_gnu_ld \
75777 allow_undefined_flag \
75778 no_undefined_flag \
75779 hardcode_libdir_flag_spec \
75780 hardcode_libdir_flag_spec_ld \
75781 hardcode_libdir_separator \
75782 fix_srcfile_path \
75783 exclude_expsyms \
75784 include_expsyms \
75785 file_list_spec \
75786 variables_saved_for_relink \
75787 libname_spec \
75788 library_names_spec \
75789 soname_spec \
75790 install_override_mode \
75791 finish_eval \
75792 old_striplib \
75793 striplib \
75794 compiler_lib_search_dirs \
75795 predep_objects \
75796 postdep_objects \
75797 predeps \
75798 postdeps \
75799 compiler_lib_search_path \
75800 LD_CXX \
75801 reload_flag_CXX \
75802 compiler_CXX \
75803 lt_prog_compiler_no_builtin_flag_CXX \
75804 lt_prog_compiler_wl_CXX \
75805 lt_prog_compiler_pic_CXX \
75806 lt_prog_compiler_static_CXX \
75807 lt_cv_prog_compiler_c_o_CXX \
75808 export_dynamic_flag_spec_CXX \
75809 whole_archive_flag_spec_CXX \
75810 compiler_needs_object_CXX \
75811 with_gnu_ld_CXX \
75812 allow_undefined_flag_CXX \
75813 no_undefined_flag_CXX \
75814 hardcode_libdir_flag_spec_CXX \
75815 hardcode_libdir_flag_spec_ld_CXX \
75816 hardcode_libdir_separator_CXX \
75817 fix_srcfile_path_CXX \
75818 exclude_expsyms_CXX \
75819 include_expsyms_CXX \
75820 file_list_spec_CXX \
75821 compiler_lib_search_dirs_CXX \
75822 predep_objects_CXX \
75823 postdep_objects_CXX \
75824 predeps_CXX \
75825 postdeps_CXX \
75826 compiler_lib_search_path_CXX; do
75827 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
75828 *[\\\\\\\`\\"\\\$]*)
75829 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
75832 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
75834 esac
75835 done
75837 # Double-quote double-evaled strings.
75838 for var in reload_cmds \
75839 old_postinstall_cmds \
75840 old_postuninstall_cmds \
75841 old_archive_cmds \
75842 extract_expsyms_cmds \
75843 old_archive_from_new_cmds \
75844 old_archive_from_expsyms_cmds \
75845 archive_cmds \
75846 archive_expsym_cmds \
75847 module_cmds \
75848 module_expsym_cmds \
75849 export_symbols_cmds \
75850 prelink_cmds \
75851 postinstall_cmds \
75852 postuninstall_cmds \
75853 finish_cmds \
75854 sys_lib_search_path_spec \
75855 sys_lib_dlsearch_path_spec \
75856 reload_cmds_CXX \
75857 old_archive_cmds_CXX \
75858 old_archive_from_new_cmds_CXX \
75859 old_archive_from_expsyms_cmds_CXX \
75860 archive_cmds_CXX \
75861 archive_expsym_cmds_CXX \
75862 module_cmds_CXX \
75863 module_expsym_cmds_CXX \
75864 export_symbols_cmds_CXX \
75865 prelink_cmds_CXX; do
75866 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
75867 *[\\\\\\\`\\"\\\$]*)
75868 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
75871 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
75873 esac
75874 done
75876 ac_aux_dir='$ac_aux_dir'
75877 xsi_shell='$xsi_shell'
75878 lt_shell_append='$lt_shell_append'
75880 # See if we are running on zsh, and set the options which allow our
75881 # commands through without removal of \ escapes INIT.
75882 if test -n "\${ZSH_VERSION+set}" ; then
75883 setopt NO_GLOB_SUBST
75887 PACKAGE='$PACKAGE'
75888 VERSION='$VERSION'
75889 TIMESTAMP='$TIMESTAMP'
75890 RM='$RM'
75891 ofile='$ofile'
75898 _ACEOF
75900 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
75902 # Handling of arguments.
75903 for ac_config_target in $ac_config_targets
75905 case $ac_config_target in
75906 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
75907 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
75908 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
75909 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
75910 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
75911 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
75912 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
75913 "src/libbacktrace/backtrace-supported.h") CONFIG_FILES="$CONFIG_FILES src/libbacktrace/backtrace-supported.h" ;;
75914 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
75915 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
75916 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
75917 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
75918 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
75919 "src/c++17/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++17/Makefile" ;;
75920 "src/c++20/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++20/Makefile" ;;
75921 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
75922 "src/libbacktrace/Makefile") CONFIG_FILES="$CONFIG_FILES src/libbacktrace/Makefile" ;;
75923 "src/experimental/Makefile") CONFIG_FILES="$CONFIG_FILES src/experimental/Makefile" ;;
75924 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
75925 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
75926 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
75927 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
75928 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
75930 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
75931 esac
75932 done
75935 # If the user did not use the arguments to specify the items to instantiate,
75936 # then the envvar interface is used. Set only those that are not.
75937 # We use the long form for the default assignment because of an extremely
75938 # bizarre bug on SunOS 4.1.3.
75939 if $ac_need_defaults; then
75940 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
75941 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
75942 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
75945 # Have a temporary directory for convenience. Make it in the build tree
75946 # simply because there is no reason against having it here, and in addition,
75947 # creating and moving files from /tmp can sometimes cause problems.
75948 # Hook for its removal unless debugging.
75949 # Note that there is a small window in which the directory will not be cleaned:
75950 # after its creation but before its name has been assigned to `$tmp'.
75951 $debug ||
75953 tmp= ac_tmp=
75954 trap 'exit_status=$?
75955 : "${ac_tmp:=$tmp}"
75956 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
75958 trap 'as_fn_exit 1' 1 2 13 15
75960 # Create a (secure) tmp directory for tmp files.
75963 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
75964 test -d "$tmp"
75965 } ||
75967 tmp=./conf$$-$RANDOM
75968 (umask 077 && mkdir "$tmp")
75969 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
75970 ac_tmp=$tmp
75972 # Set up the scripts for CONFIG_FILES section.
75973 # No need to generate them if there are no CONFIG_FILES.
75974 # This happens for instance with `./config.status config.h'.
75975 if test -n "$CONFIG_FILES"; then
75978 ac_cr=`echo X | tr X '\015'`
75979 # On cygwin, bash can eat \r inside `` if the user requested igncr.
75980 # But we know of no other shell where ac_cr would be empty at this
75981 # point, so we can use a bashism as a fallback.
75982 if test "x$ac_cr" = x; then
75983 eval ac_cr=\$\'\\r\'
75985 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
75986 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
75987 ac_cs_awk_cr='\\r'
75988 else
75989 ac_cs_awk_cr=$ac_cr
75992 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
75993 _ACEOF
75997 echo "cat >conf$$subs.awk <<_ACEOF" &&
75998 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
75999 echo "_ACEOF"
76000 } >conf$$subs.sh ||
76001 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
76002 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
76003 ac_delim='%!_!# '
76004 for ac_last_try in false false false false false :; do
76005 . ./conf$$subs.sh ||
76006 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
76008 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
76009 if test $ac_delim_n = $ac_delim_num; then
76010 break
76011 elif $ac_last_try; then
76012 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
76013 else
76014 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
76016 done
76017 rm -f conf$$subs.sh
76019 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
76020 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
76021 _ACEOF
76022 sed -n '
76024 s/^/S["/; s/!.*/"]=/
76027 s/^[^!]*!//
76028 :repl
76029 t repl
76030 s/'"$ac_delim"'$//
76031 t delim
76034 s/\(.\{148\}\)..*/\1/
76035 t more1
76036 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
76039 b repl
76040 :more1
76041 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
76044 s/.\{148\}//
76045 t nl
76046 :delim
76048 s/\(.\{148\}\)..*/\1/
76049 t more2
76050 s/["\\]/\\&/g; s/^/"/; s/$/"/
76053 :more2
76054 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
76057 s/.\{148\}//
76058 t delim
76059 ' <conf$$subs.awk | sed '
76060 /^[^""]/{
76062 s/\n//
76064 ' >>$CONFIG_STATUS || ac_write_fail=1
76065 rm -f conf$$subs.awk
76066 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
76067 _ACAWK
76068 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
76069 for (key in S) S_is_set[key] = 1
76070 FS = "\a"
76074 line = $ 0
76075 nfields = split(line, field, "@")
76076 substed = 0
76077 len = length(field[1])
76078 for (i = 2; i < nfields; i++) {
76079 key = field[i]
76080 keylen = length(key)
76081 if (S_is_set[key]) {
76082 value = S[key]
76083 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
76084 len += length(value) + length(field[++i])
76085 substed = 1
76086 } else
76087 len += 1 + keylen
76090 print line
76093 _ACAWK
76094 _ACEOF
76095 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
76096 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
76097 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
76098 else
76100 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
76101 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
76102 _ACEOF
76104 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
76105 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
76106 # trailing colons and then remove the whole line if VPATH becomes empty
76107 # (actually we leave an empty line to preserve line numbers).
76108 if test "x$srcdir" = x.; then
76109 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
76111 s///
76112 s/^/:/
76113 s/[ ]*$/:/
76114 s/:\$(srcdir):/:/g
76115 s/:\${srcdir}:/:/g
76116 s/:@srcdir@:/:/g
76117 s/^:*//
76118 s/:*$//
76120 s/\(=[ ]*\).*/\1/
76122 s/\n//
76123 s/^[^=]*=[ ]*$//
76127 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
76128 fi # test -n "$CONFIG_FILES"
76130 # Set up the scripts for CONFIG_HEADERS section.
76131 # No need to generate them if there are no CONFIG_HEADERS.
76132 # This happens for instance with `./config.status Makefile'.
76133 if test -n "$CONFIG_HEADERS"; then
76134 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
76135 BEGIN {
76136 _ACEOF
76138 # Transform confdefs.h into an awk script `defines.awk', embedded as
76139 # here-document in config.status, that substitutes the proper values into
76140 # config.h.in to produce config.h.
76142 # Create a delimiter string that does not exist in confdefs.h, to ease
76143 # handling of long lines.
76144 ac_delim='%!_!# '
76145 for ac_last_try in false false :; do
76146 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
76147 if test -z "$ac_tt"; then
76148 break
76149 elif $ac_last_try; then
76150 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
76151 else
76152 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
76154 done
76156 # For the awk script, D is an array of macro values keyed by name,
76157 # likewise P contains macro parameters if any. Preserve backslash
76158 # newline sequences.
76160 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
76161 sed -n '
76162 s/.\{148\}/&'"$ac_delim"'/g
76163 t rset
76164 :rset
76165 s/^[ ]*#[ ]*define[ ][ ]*/ /
76166 t def
76168 :def
76169 s/\\$//
76170 t bsnl
76171 s/["\\]/\\&/g
76172 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
76173 D["\1"]=" \3"/p
76174 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
76176 :bsnl
76177 s/["\\]/\\&/g
76178 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
76179 D["\1"]=" \3\\\\\\n"\\/p
76180 t cont
76181 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
76182 t cont
76184 :cont
76186 s/.\{148\}/&'"$ac_delim"'/g
76187 t clear
76188 :clear
76189 s/\\$//
76190 t bsnlc
76191 s/["\\]/\\&/g; s/^/"/; s/$/"/p
76193 :bsnlc
76194 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
76195 b cont
76196 ' <confdefs.h | sed '
76197 s/'"$ac_delim"'/"\\\
76198 "/g' >>$CONFIG_STATUS || ac_write_fail=1
76200 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
76201 for (key in D) D_is_set[key] = 1
76202 FS = "\a"
76204 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
76205 line = \$ 0
76206 split(line, arg, " ")
76207 if (arg[1] == "#") {
76208 defundef = arg[2]
76209 mac1 = arg[3]
76210 } else {
76211 defundef = substr(arg[1], 2)
76212 mac1 = arg[2]
76214 split(mac1, mac2, "(") #)
76215 macro = mac2[1]
76216 prefix = substr(line, 1, index(line, defundef) - 1)
76217 if (D_is_set[macro]) {
76218 # Preserve the white space surrounding the "#".
76219 print prefix "define", macro P[macro] D[macro]
76220 next
76221 } else {
76222 # Replace #undef with comments. This is necessary, for example,
76223 # in the case of _POSIX_SOURCE, which is predefined and required
76224 # on some systems where configure will not decide to define it.
76225 if (defundef == "undef") {
76226 print "/*", prefix defundef, macro, "*/"
76227 next
76231 { print }
76232 _ACAWK
76233 _ACEOF
76234 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
76235 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
76236 fi # test -n "$CONFIG_HEADERS"
76239 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
76240 shift
76241 for ac_tag
76243 case $ac_tag in
76244 :[FHLC]) ac_mode=$ac_tag; continue;;
76245 esac
76246 case $ac_mode$ac_tag in
76247 :[FHL]*:*);;
76248 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
76249 :[FH]-) ac_tag=-:-;;
76250 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
76251 esac
76252 ac_save_IFS=$IFS
76253 IFS=:
76254 set x $ac_tag
76255 IFS=$ac_save_IFS
76256 shift
76257 ac_file=$1
76258 shift
76260 case $ac_mode in
76261 :L) ac_source=$1;;
76262 :[FH])
76263 ac_file_inputs=
76264 for ac_f
76266 case $ac_f in
76267 -) ac_f="$ac_tmp/stdin";;
76268 *) # Look for the file first in the build tree, then in the source tree
76269 # (if the path is not absolute). The absolute path cannot be DOS-style,
76270 # because $ac_f cannot contain `:'.
76271 test -f "$ac_f" ||
76272 case $ac_f in
76273 [\\/$]*) false;;
76274 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
76275 esac ||
76276 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
76277 esac
76278 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
76279 as_fn_append ac_file_inputs " '$ac_f'"
76280 done
76282 # Let's still pretend it is `configure' which instantiates (i.e., don't
76283 # use $as_me), people would be surprised to read:
76284 # /* config.h. Generated by config.status. */
76285 configure_input='Generated from '`
76286 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
76287 `' by configure.'
76288 if test x"$ac_file" != x-; then
76289 configure_input="$ac_file. $configure_input"
76290 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
76291 $as_echo "$as_me: creating $ac_file" >&6;}
76293 # Neutralize special characters interpreted by sed in replacement strings.
76294 case $configure_input in #(
76295 *\&* | *\|* | *\\* )
76296 ac_sed_conf_input=`$as_echo "$configure_input" |
76297 sed 's/[\\\\&|]/\\\\&/g'`;; #(
76298 *) ac_sed_conf_input=$configure_input;;
76299 esac
76301 case $ac_tag in
76302 *:-:* | *:-) cat >"$ac_tmp/stdin" \
76303 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
76304 esac
76306 esac
76308 ac_dir=`$as_dirname -- "$ac_file" ||
76309 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
76310 X"$ac_file" : 'X\(//\)[^/]' \| \
76311 X"$ac_file" : 'X\(//\)$' \| \
76312 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
76313 $as_echo X"$ac_file" |
76314 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
76315 s//\1/
76318 /^X\(\/\/\)[^/].*/{
76319 s//\1/
76322 /^X\(\/\/\)$/{
76323 s//\1/
76326 /^X\(\/\).*/{
76327 s//\1/
76330 s/.*/./; q'`
76331 as_dir="$ac_dir"; as_fn_mkdir_p
76332 ac_builddir=.
76334 case "$ac_dir" in
76335 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
76337 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
76338 # A ".." for each directory in $ac_dir_suffix.
76339 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
76340 case $ac_top_builddir_sub in
76341 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
76342 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
76343 esac ;;
76344 esac
76345 ac_abs_top_builddir=$ac_pwd
76346 ac_abs_builddir=$ac_pwd$ac_dir_suffix
76347 # for backward compatibility:
76348 ac_top_builddir=$ac_top_build_prefix
76350 case $srcdir in
76351 .) # We are building in place.
76352 ac_srcdir=.
76353 ac_top_srcdir=$ac_top_builddir_sub
76354 ac_abs_top_srcdir=$ac_pwd ;;
76355 [\\/]* | ?:[\\/]* ) # Absolute name.
76356 ac_srcdir=$srcdir$ac_dir_suffix;
76357 ac_top_srcdir=$srcdir
76358 ac_abs_top_srcdir=$srcdir ;;
76359 *) # Relative name.
76360 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
76361 ac_top_srcdir=$ac_top_build_prefix$srcdir
76362 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
76363 esac
76364 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
76367 case $ac_mode in
76370 # CONFIG_FILE
76373 case $INSTALL in
76374 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
76375 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
76376 esac
76377 ac_MKDIR_P=$MKDIR_P
76378 case $MKDIR_P in
76379 [\\/$]* | ?:[\\/]* ) ;;
76380 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
76381 esac
76382 _ACEOF
76384 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
76385 # If the template does not know about datarootdir, expand it.
76386 # FIXME: This hack should be removed a few years after 2.60.
76387 ac_datarootdir_hack=; ac_datarootdir_seen=
76388 ac_sed_dataroot='
76389 /datarootdir/ {
76393 /@datadir@/p
76394 /@docdir@/p
76395 /@infodir@/p
76396 /@localedir@/p
76397 /@mandir@/p'
76398 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
76399 *datarootdir*) ac_datarootdir_seen=yes;;
76400 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
76401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
76402 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
76403 _ACEOF
76404 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
76405 ac_datarootdir_hack='
76406 s&@datadir@&$datadir&g
76407 s&@docdir@&$docdir&g
76408 s&@infodir@&$infodir&g
76409 s&@localedir@&$localedir&g
76410 s&@mandir@&$mandir&g
76411 s&\\\${datarootdir}&$datarootdir&g' ;;
76412 esac
76413 _ACEOF
76415 # Neutralize VPATH when `$srcdir' = `.'.
76416 # Shell code in configure.ac might set extrasub.
76417 # FIXME: do we really want to maintain this feature?
76418 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
76419 ac_sed_extra="$ac_vpsub
76420 $extrasub
76421 _ACEOF
76422 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
76424 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
76425 s|@configure_input@|$ac_sed_conf_input|;t t
76426 s&@top_builddir@&$ac_top_builddir_sub&;t t
76427 s&@top_build_prefix@&$ac_top_build_prefix&;t t
76428 s&@srcdir@&$ac_srcdir&;t t
76429 s&@abs_srcdir@&$ac_abs_srcdir&;t t
76430 s&@top_srcdir@&$ac_top_srcdir&;t t
76431 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
76432 s&@builddir@&$ac_builddir&;t t
76433 s&@abs_builddir@&$ac_abs_builddir&;t t
76434 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
76435 s&@INSTALL@&$ac_INSTALL&;t t
76436 s&@MKDIR_P@&$ac_MKDIR_P&;t t
76437 $ac_datarootdir_hack
76439 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
76440 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
76442 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
76443 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
76444 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
76445 "$ac_tmp/out"`; test -z "$ac_out"; } &&
76446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
76447 which seems to be undefined. Please make sure it is defined" >&5
76448 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
76449 which seems to be undefined. Please make sure it is defined" >&2;}
76451 rm -f "$ac_tmp/stdin"
76452 case $ac_file in
76453 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
76454 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
76455 esac \
76456 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
76460 # CONFIG_HEADER
76462 if test x"$ac_file" != x-; then
76464 $as_echo "/* $configure_input */" \
76465 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
76466 } >"$ac_tmp/config.h" \
76467 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
76468 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
76469 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
76470 $as_echo "$as_me: $ac_file is unchanged" >&6;}
76471 else
76472 rm -f "$ac_file"
76473 mv "$ac_tmp/config.h" "$ac_file" \
76474 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
76476 else
76477 $as_echo "/* $configure_input */" \
76478 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
76479 || as_fn_error $? "could not create -" "$LINENO" 5
76481 # Compute "$ac_file"'s index in $config_headers.
76482 _am_arg="$ac_file"
76483 _am_stamp_count=1
76484 for _am_header in $config_headers :; do
76485 case $_am_header in
76486 $_am_arg | $_am_arg:* )
76487 break ;;
76489 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
76490 esac
76491 done
76492 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
76493 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
76494 X"$_am_arg" : 'X\(//\)[^/]' \| \
76495 X"$_am_arg" : 'X\(//\)$' \| \
76496 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
76497 $as_echo X"$_am_arg" |
76498 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
76499 s//\1/
76502 /^X\(\/\/\)[^/].*/{
76503 s//\1/
76506 /^X\(\/\/\)$/{
76507 s//\1/
76510 /^X\(\/\).*/{
76511 s//\1/
76514 s/.*/./; q'`/stamp-h$_am_stamp_count
76517 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
76518 $as_echo "$as_me: executing $ac_file commands" >&6;}
76520 esac
76523 case $ac_file$ac_mode in
76524 "default-1":C)
76525 # Only add multilib support code if we just rebuilt the top-level
76526 # Makefile.
76527 case " $CONFIG_FILES " in
76528 *" Makefile "*)
76529 ac_file=Makefile . ${multi_basedir}/config-ml.in
76531 esac ;;
76532 "libtool":C)
76534 # See if we are running on zsh, and set the options which allow our
76535 # commands through without removal of \ escapes.
76536 if test -n "${ZSH_VERSION+set}" ; then
76537 setopt NO_GLOB_SUBST
76540 cfgfile="${ofile}T"
76541 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
76542 $RM "$cfgfile"
76544 cat <<_LT_EOF >> "$cfgfile"
76545 #! $SHELL
76547 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
76548 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
76549 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
76550 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
76552 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
76553 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
76554 # Written by Gordon Matzigkeit, 1996
76556 # This file is part of GNU Libtool.
76558 # GNU Libtool is free software; you can redistribute it and/or
76559 # modify it under the terms of the GNU General Public License as
76560 # published by the Free Software Foundation; either version 2 of
76561 # the License, or (at your option) any later version.
76563 # As a special exception to the GNU General Public License,
76564 # if you distribute this file as part of a program or library that
76565 # is built using GNU Libtool, you may include this file under the
76566 # same distribution terms that you use for the rest of that program.
76568 # GNU Libtool is distributed in the hope that it will be useful,
76569 # but WITHOUT ANY WARRANTY; without even the implied warranty of
76570 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
76571 # GNU General Public License for more details.
76573 # You should have received a copy of the GNU General Public License
76574 # along with GNU Libtool; see the file COPYING. If not, a copy
76575 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
76576 # obtained by writing to the Free Software Foundation, Inc.,
76577 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
76580 # The names of the tagged configurations supported by this script.
76581 available_tags="CXX "
76583 # ### BEGIN LIBTOOL CONFIG
76585 # Which release of libtool.m4 was used?
76586 macro_version=$macro_version
76587 macro_revision=$macro_revision
76589 # Whether or not to build shared libraries.
76590 build_libtool_libs=$enable_shared
76592 # Whether or not to build static libraries.
76593 build_old_libs=$enable_static
76595 # What type of objects to build.
76596 pic_mode=$pic_mode
76598 # Whether or not to optimize for fast installation.
76599 fast_install=$enable_fast_install
76601 # Shell to use when invoking shell scripts.
76602 SHELL=$lt_SHELL
76604 # An echo program that protects backslashes.
76605 ECHO=$lt_ECHO
76607 # The host system.
76608 host_alias=$host_alias
76609 host=$host
76610 host_os=$host_os
76612 # The build system.
76613 build_alias=$build_alias
76614 build=$build
76615 build_os=$build_os
76617 # A sed program that does not truncate output.
76618 SED=$lt_SED
76620 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
76621 Xsed="\$SED -e 1s/^X//"
76623 # A grep program that handles long lines.
76624 GREP=$lt_GREP
76626 # An ERE matcher.
76627 EGREP=$lt_EGREP
76629 # A literal string matcher.
76630 FGREP=$lt_FGREP
76632 # A BSD- or MS-compatible name lister.
76633 NM=$lt_NM
76635 # Whether we need soft or hard links.
76636 LN_S=$lt_LN_S
76638 # What is the maximum length of a command?
76639 max_cmd_len=$max_cmd_len
76641 # Object file suffix (normally "o").
76642 objext=$ac_objext
76644 # Executable file suffix (normally "").
76645 exeext=$exeext
76647 # whether the shell understands "unset".
76648 lt_unset=$lt_unset
76650 # turn spaces into newlines.
76651 SP2NL=$lt_lt_SP2NL
76653 # turn newlines into spaces.
76654 NL2SP=$lt_lt_NL2SP
76656 # An object symbol dumper.
76657 OBJDUMP=$lt_OBJDUMP
76659 # Method to check whether dependent libraries are shared objects.
76660 deplibs_check_method=$lt_deplibs_check_method
76662 # Command to use when deplibs_check_method == "file_magic".
76663 file_magic_cmd=$lt_file_magic_cmd
76665 # The archiver.
76666 AR=$lt_AR
76667 AR_FLAGS=$lt_AR_FLAGS
76669 # A symbol stripping program.
76670 STRIP=$lt_STRIP
76672 # Commands used to install an old-style archive.
76673 RANLIB=$lt_RANLIB
76674 old_postinstall_cmds=$lt_old_postinstall_cmds
76675 old_postuninstall_cmds=$lt_old_postuninstall_cmds
76677 # Whether to use a lock for old archive extraction.
76678 lock_old_archive_extraction=$lock_old_archive_extraction
76680 # A C compiler.
76681 LTCC=$lt_CC
76683 # LTCC compiler flags.
76684 LTCFLAGS=$lt_CFLAGS
76686 # Take the output of nm and produce a listing of raw symbols and C names.
76687 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
76689 # Transform the output of nm in a proper C declaration.
76690 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
76692 # Transform the output of nm in a C name address pair.
76693 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
76695 # Transform the output of nm in a C name address pair when lib prefix is needed.
76696 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
76698 # The name of the directory that contains temporary libtool files.
76699 objdir=$objdir
76701 # Used to examine libraries when file_magic_cmd begins with "file".
76702 MAGIC_CMD=$MAGIC_CMD
76704 # Must we lock files when doing compilation?
76705 need_locks=$lt_need_locks
76707 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
76708 DSYMUTIL=$lt_DSYMUTIL
76710 # Tool to change global to local symbols on Mac OS X.
76711 NMEDIT=$lt_NMEDIT
76713 # Tool to manipulate fat objects and archives on Mac OS X.
76714 LIPO=$lt_LIPO
76716 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
76717 OTOOL=$lt_OTOOL
76719 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
76720 OTOOL64=$lt_OTOOL64
76722 # Old archive suffix (normally "a").
76723 libext=$libext
76725 # Shared library suffix (normally ".so").
76726 shrext_cmds=$lt_shrext_cmds
76728 # The commands to extract the exported symbol list from a shared archive.
76729 extract_expsyms_cmds=$lt_extract_expsyms_cmds
76731 # Variables whose values should be saved in libtool wrapper scripts and
76732 # restored at link time.
76733 variables_saved_for_relink=$lt_variables_saved_for_relink
76735 # Do we need the "lib" prefix for modules?
76736 need_lib_prefix=$need_lib_prefix
76738 # Do we need a version for libraries?
76739 need_version=$need_version
76741 # Library versioning type.
76742 version_type=$version_type
76744 # Shared library runtime path variable.
76745 runpath_var=$runpath_var
76747 # Shared library path variable.
76748 shlibpath_var=$shlibpath_var
76750 # Is shlibpath searched before the hard-coded library search path?
76751 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
76753 # Format of library name prefix.
76754 libname_spec=$lt_libname_spec
76756 # List of archive names. First name is the real one, the rest are links.
76757 # The last name is the one that the linker finds with -lNAME
76758 library_names_spec=$lt_library_names_spec
76760 # The coded name of the library, if different from the real name.
76761 soname_spec=$lt_soname_spec
76763 # Permission mode override for installation of shared libraries.
76764 install_override_mode=$lt_install_override_mode
76766 # Command to use after installation of a shared archive.
76767 postinstall_cmds=$lt_postinstall_cmds
76769 # Command to use after uninstallation of a shared archive.
76770 postuninstall_cmds=$lt_postuninstall_cmds
76772 # Commands used to finish a libtool library installation in a directory.
76773 finish_cmds=$lt_finish_cmds
76775 # As "finish_cmds", except a single script fragment to be evaled but
76776 # not shown.
76777 finish_eval=$lt_finish_eval
76779 # Whether we should hardcode library paths into libraries.
76780 hardcode_into_libs=$hardcode_into_libs
76782 # Compile-time system search path for libraries.
76783 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
76785 # Run-time system search path for libraries.
76786 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
76788 # Whether dlopen is supported.
76789 dlopen_support=$enable_dlopen
76791 # Whether dlopen of programs is supported.
76792 dlopen_self=$enable_dlopen_self
76794 # Whether dlopen of statically linked programs is supported.
76795 dlopen_self_static=$enable_dlopen_self_static
76797 # Commands to strip libraries.
76798 old_striplib=$lt_old_striplib
76799 striplib=$lt_striplib
76802 # The linker used to build libraries.
76803 LD=$lt_LD
76805 # How to create reloadable object files.
76806 reload_flag=$lt_reload_flag
76807 reload_cmds=$lt_reload_cmds
76809 # Commands used to build an old-style archive.
76810 old_archive_cmds=$lt_old_archive_cmds
76812 # A language specific compiler.
76813 CC=$lt_compiler
76815 # Is the compiler the GNU compiler?
76816 with_gcc=$GCC
76818 # Compiler flag to turn off builtin functions.
76819 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
76821 # How to pass a linker flag through the compiler.
76822 wl=$lt_lt_prog_compiler_wl
76824 # Additional compiler flags for building library objects.
76825 pic_flag=$lt_lt_prog_compiler_pic
76827 # Compiler flag to prevent dynamic linking.
76828 link_static_flag=$lt_lt_prog_compiler_static
76830 # Does compiler simultaneously support -c and -o options?
76831 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
76833 # Whether or not to add -lc for building shared libraries.
76834 build_libtool_need_lc=$archive_cmds_need_lc
76836 # Whether or not to disallow shared libs when runtime libs are static.
76837 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
76839 # Compiler flag to allow reflexive dlopens.
76840 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
76842 # Compiler flag to generate shared objects directly from archives.
76843 whole_archive_flag_spec=$lt_whole_archive_flag_spec
76845 # Whether the compiler copes with passing no objects directly.
76846 compiler_needs_object=$lt_compiler_needs_object
76848 # Create an old-style archive from a shared archive.
76849 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
76851 # Create a temporary old-style archive to link instead of a shared archive.
76852 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
76854 # Commands used to build a shared archive.
76855 archive_cmds=$lt_archive_cmds
76856 archive_expsym_cmds=$lt_archive_expsym_cmds
76858 # Commands used to build a loadable module if different from building
76859 # a shared archive.
76860 module_cmds=$lt_module_cmds
76861 module_expsym_cmds=$lt_module_expsym_cmds
76863 # Whether we are building with GNU ld or not.
76864 with_gnu_ld=$lt_with_gnu_ld
76866 # Flag that allows shared libraries with undefined symbols to be built.
76867 allow_undefined_flag=$lt_allow_undefined_flag
76869 # Flag that enforces no undefined symbols.
76870 no_undefined_flag=$lt_no_undefined_flag
76872 # Flag to hardcode \$libdir into a binary during linking.
76873 # This must work even if \$libdir does not exist
76874 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
76876 # If ld is used when linking, flag to hardcode \$libdir into a binary
76877 # during linking. This must work even if \$libdir does not exist.
76878 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
76880 # Whether we need a single "-rpath" flag with a separated argument.
76881 hardcode_libdir_separator=$lt_hardcode_libdir_separator
76883 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
76884 # DIR into the resulting binary.
76885 hardcode_direct=$hardcode_direct
76887 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
76888 # DIR into the resulting binary and the resulting library dependency is
76889 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
76890 # library is relocated.
76891 hardcode_direct_absolute=$hardcode_direct_absolute
76893 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
76894 # into the resulting binary.
76895 hardcode_minus_L=$hardcode_minus_L
76897 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
76898 # into the resulting binary.
76899 hardcode_shlibpath_var=$hardcode_shlibpath_var
76901 # Set to "yes" if building a shared library automatically hardcodes DIR
76902 # into the library and all subsequent libraries and executables linked
76903 # against it.
76904 hardcode_automatic=$hardcode_automatic
76906 # Set to yes if linker adds runtime paths of dependent libraries
76907 # to runtime path list.
76908 inherit_rpath=$inherit_rpath
76910 # Whether libtool must link a program against all its dependency libraries.
76911 link_all_deplibs=$link_all_deplibs
76913 # Fix the shell variable \$srcfile for the compiler.
76914 fix_srcfile_path=$lt_fix_srcfile_path
76916 # Set to "yes" if exported symbols are required.
76917 always_export_symbols=$always_export_symbols
76919 # The commands to list exported symbols.
76920 export_symbols_cmds=$lt_export_symbols_cmds
76922 # Symbols that should not be listed in the preloaded symbols.
76923 exclude_expsyms=$lt_exclude_expsyms
76925 # Symbols that must always be exported.
76926 include_expsyms=$lt_include_expsyms
76928 # Commands necessary for linking programs (against libraries) with templates.
76929 prelink_cmds=$lt_prelink_cmds
76931 # Specify filename containing input files.
76932 file_list_spec=$lt_file_list_spec
76934 # How to hardcode a shared library path into an executable.
76935 hardcode_action=$hardcode_action
76937 # The directories searched by this compiler when creating a shared library.
76938 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
76940 # Dependencies to place before and after the objects being linked to
76941 # create a shared library.
76942 predep_objects=$lt_predep_objects
76943 postdep_objects=$lt_postdep_objects
76944 predeps=$lt_predeps
76945 postdeps=$lt_postdeps
76947 # The library search path used internally by the compiler when linking
76948 # a shared library.
76949 compiler_lib_search_path=$lt_compiler_lib_search_path
76951 # ### END LIBTOOL CONFIG
76953 _LT_EOF
76955 case $host_os in
76956 aix3*)
76957 cat <<\_LT_EOF >> "$cfgfile"
76958 # AIX sometimes has problems with the GCC collect2 program. For some
76959 # reason, if we set the COLLECT_NAMES environment variable, the problems
76960 # vanish in a puff of smoke.
76961 if test "X${COLLECT_NAMES+set}" != Xset; then
76962 COLLECT_NAMES=
76963 export COLLECT_NAMES
76965 _LT_EOF
76967 esac
76970 ltmain="$ac_aux_dir/ltmain.sh"
76973 # We use sed instead of cat because bash on DJGPP gets confused if
76974 # if finds mixed CR/LF and LF-only lines. Since sed operates in
76975 # text mode, it properly converts lines to CR/LF. This bash problem
76976 # is reportedly fixed, but why not run on old versions too?
76977 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
76978 || (rm -f "$cfgfile"; exit 1)
76980 case $xsi_shell in
76981 yes)
76982 cat << \_LT_EOF >> "$cfgfile"
76984 # func_dirname file append nondir_replacement
76985 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
76986 # otherwise set result to NONDIR_REPLACEMENT.
76987 func_dirname ()
76989 case ${1} in
76990 */*) func_dirname_result="${1%/*}${2}" ;;
76991 * ) func_dirname_result="${3}" ;;
76992 esac
76995 # func_basename file
76996 func_basename ()
76998 func_basename_result="${1##*/}"
77001 # func_dirname_and_basename file append nondir_replacement
77002 # perform func_basename and func_dirname in a single function
77003 # call:
77004 # dirname: Compute the dirname of FILE. If nonempty,
77005 # add APPEND to the result, otherwise set result
77006 # to NONDIR_REPLACEMENT.
77007 # value returned in "$func_dirname_result"
77008 # basename: Compute filename of FILE.
77009 # value retuned in "$func_basename_result"
77010 # Implementation must be kept synchronized with func_dirname
77011 # and func_basename. For efficiency, we do not delegate to
77012 # those functions but instead duplicate the functionality here.
77013 func_dirname_and_basename ()
77015 case ${1} in
77016 */*) func_dirname_result="${1%/*}${2}" ;;
77017 * ) func_dirname_result="${3}" ;;
77018 esac
77019 func_basename_result="${1##*/}"
77022 # func_stripname prefix suffix name
77023 # strip PREFIX and SUFFIX off of NAME.
77024 # PREFIX and SUFFIX must not contain globbing or regex special
77025 # characters, hashes, percent signs, but SUFFIX may contain a leading
77026 # dot (in which case that matches only a dot).
77027 func_stripname ()
77029 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
77030 # positional parameters, so assign one to ordinary parameter first.
77031 func_stripname_result=${3}
77032 func_stripname_result=${func_stripname_result#"${1}"}
77033 func_stripname_result=${func_stripname_result%"${2}"}
77036 # func_opt_split
77037 func_opt_split ()
77039 func_opt_split_opt=${1%%=*}
77040 func_opt_split_arg=${1#*=}
77043 # func_lo2o object
77044 func_lo2o ()
77046 case ${1} in
77047 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
77048 *) func_lo2o_result=${1} ;;
77049 esac
77052 # func_xform libobj-or-source
77053 func_xform ()
77055 func_xform_result=${1%.*}.lo
77058 # func_arith arithmetic-term...
77059 func_arith ()
77061 func_arith_result=$(( $* ))
77064 # func_len string
77065 # STRING may not start with a hyphen.
77066 func_len ()
77068 func_len_result=${#1}
77071 _LT_EOF
77073 *) # Bourne compatible functions.
77074 cat << \_LT_EOF >> "$cfgfile"
77076 # func_dirname file append nondir_replacement
77077 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
77078 # otherwise set result to NONDIR_REPLACEMENT.
77079 func_dirname ()
77081 # Extract subdirectory from the argument.
77082 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
77083 if test "X$func_dirname_result" = "X${1}"; then
77084 func_dirname_result="${3}"
77085 else
77086 func_dirname_result="$func_dirname_result${2}"
77090 # func_basename file
77091 func_basename ()
77093 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
77097 # func_stripname prefix suffix name
77098 # strip PREFIX and SUFFIX off of NAME.
77099 # PREFIX and SUFFIX must not contain globbing or regex special
77100 # characters, hashes, percent signs, but SUFFIX may contain a leading
77101 # dot (in which case that matches only a dot).
77102 # func_strip_suffix prefix name
77103 func_stripname ()
77105 case ${2} in
77106 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
77107 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
77108 esac
77111 # sed scripts:
77112 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
77113 my_sed_long_arg='1s/^-[^=]*=//'
77115 # func_opt_split
77116 func_opt_split ()
77118 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
77119 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
77122 # func_lo2o object
77123 func_lo2o ()
77125 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
77128 # func_xform libobj-or-source
77129 func_xform ()
77131 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
77134 # func_arith arithmetic-term...
77135 func_arith ()
77137 func_arith_result=`expr "$@"`
77140 # func_len string
77141 # STRING may not start with a hyphen.
77142 func_len ()
77144 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
77147 _LT_EOF
77148 esac
77150 case $lt_shell_append in
77151 yes)
77152 cat << \_LT_EOF >> "$cfgfile"
77154 # func_append var value
77155 # Append VALUE to the end of shell variable VAR.
77156 func_append ()
77158 eval "$1+=\$2"
77160 _LT_EOF
77163 cat << \_LT_EOF >> "$cfgfile"
77165 # func_append var value
77166 # Append VALUE to the end of shell variable VAR.
77167 func_append ()
77169 eval "$1=\$$1\$2"
77172 _LT_EOF
77174 esac
77177 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
77178 || (rm -f "$cfgfile"; exit 1)
77180 mv -f "$cfgfile" "$ofile" ||
77181 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
77182 chmod +x "$ofile"
77185 cat <<_LT_EOF >> "$ofile"
77187 # ### BEGIN LIBTOOL TAG CONFIG: CXX
77189 # The linker used to build libraries.
77190 LD=$lt_LD_CXX
77192 # How to create reloadable object files.
77193 reload_flag=$lt_reload_flag_CXX
77194 reload_cmds=$lt_reload_cmds_CXX
77196 # Commands used to build an old-style archive.
77197 old_archive_cmds=$lt_old_archive_cmds_CXX
77199 # A language specific compiler.
77200 CC=$lt_compiler_CXX
77202 # Is the compiler the GNU compiler?
77203 with_gcc=$GCC_CXX
77205 # Compiler flag to turn off builtin functions.
77206 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
77208 # How to pass a linker flag through the compiler.
77209 wl=$lt_lt_prog_compiler_wl_CXX
77211 # Additional compiler flags for building library objects.
77212 pic_flag=$lt_lt_prog_compiler_pic_CXX
77214 # Compiler flag to prevent dynamic linking.
77215 link_static_flag=$lt_lt_prog_compiler_static_CXX
77217 # Does compiler simultaneously support -c and -o options?
77218 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
77220 # Whether or not to add -lc for building shared libraries.
77221 build_libtool_need_lc=$archive_cmds_need_lc_CXX
77223 # Whether or not to disallow shared libs when runtime libs are static.
77224 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
77226 # Compiler flag to allow reflexive dlopens.
77227 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
77229 # Compiler flag to generate shared objects directly from archives.
77230 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
77232 # Whether the compiler copes with passing no objects directly.
77233 compiler_needs_object=$lt_compiler_needs_object_CXX
77235 # Create an old-style archive from a shared archive.
77236 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
77238 # Create a temporary old-style archive to link instead of a shared archive.
77239 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
77241 # Commands used to build a shared archive.
77242 archive_cmds=$lt_archive_cmds_CXX
77243 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
77245 # Commands used to build a loadable module if different from building
77246 # a shared archive.
77247 module_cmds=$lt_module_cmds_CXX
77248 module_expsym_cmds=$lt_module_expsym_cmds_CXX
77250 # Whether we are building with GNU ld or not.
77251 with_gnu_ld=$lt_with_gnu_ld_CXX
77253 # Flag that allows shared libraries with undefined symbols to be built.
77254 allow_undefined_flag=$lt_allow_undefined_flag_CXX
77256 # Flag that enforces no undefined symbols.
77257 no_undefined_flag=$lt_no_undefined_flag_CXX
77259 # Flag to hardcode \$libdir into a binary during linking.
77260 # This must work even if \$libdir does not exist
77261 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
77263 # If ld is used when linking, flag to hardcode \$libdir into a binary
77264 # during linking. This must work even if \$libdir does not exist.
77265 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
77267 # Whether we need a single "-rpath" flag with a separated argument.
77268 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
77270 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
77271 # DIR into the resulting binary.
77272 hardcode_direct=$hardcode_direct_CXX
77274 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
77275 # DIR into the resulting binary and the resulting library dependency is
77276 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
77277 # library is relocated.
77278 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
77280 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
77281 # into the resulting binary.
77282 hardcode_minus_L=$hardcode_minus_L_CXX
77284 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
77285 # into the resulting binary.
77286 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
77288 # Set to "yes" if building a shared library automatically hardcodes DIR
77289 # into the library and all subsequent libraries and executables linked
77290 # against it.
77291 hardcode_automatic=$hardcode_automatic_CXX
77293 # Set to yes if linker adds runtime paths of dependent libraries
77294 # to runtime path list.
77295 inherit_rpath=$inherit_rpath_CXX
77297 # Whether libtool must link a program against all its dependency libraries.
77298 link_all_deplibs=$link_all_deplibs_CXX
77300 # Fix the shell variable \$srcfile for the compiler.
77301 fix_srcfile_path=$lt_fix_srcfile_path_CXX
77303 # Set to "yes" if exported symbols are required.
77304 always_export_symbols=$always_export_symbols_CXX
77306 # The commands to list exported symbols.
77307 export_symbols_cmds=$lt_export_symbols_cmds_CXX
77309 # Symbols that should not be listed in the preloaded symbols.
77310 exclude_expsyms=$lt_exclude_expsyms_CXX
77312 # Symbols that must always be exported.
77313 include_expsyms=$lt_include_expsyms_CXX
77315 # Commands necessary for linking programs (against libraries) with templates.
77316 prelink_cmds=$lt_prelink_cmds_CXX
77318 # Specify filename containing input files.
77319 file_list_spec=$lt_file_list_spec_CXX
77321 # How to hardcode a shared library path into an executable.
77322 hardcode_action=$hardcode_action_CXX
77324 # The directories searched by this compiler when creating a shared library.
77325 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
77327 # Dependencies to place before and after the objects being linked to
77328 # create a shared library.
77329 predep_objects=$lt_predep_objects_CXX
77330 postdep_objects=$lt_postdep_objects_CXX
77331 predeps=$lt_predeps_CXX
77332 postdeps=$lt_postdeps_CXX
77334 # The library search path used internally by the compiler when linking
77335 # a shared library.
77336 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
77338 # ### END LIBTOOL TAG CONFIG: CXX
77339 _LT_EOF
77342 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
77343 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
77344 "include/Makefile":F) cat > vpsed$$ << \_EOF
77345 s!`test -f '$<' || echo '$(srcdir)/'`!!
77346 _EOF
77347 sed -f vpsed$$ $ac_file > tmp$$
77348 mv tmp$$ $ac_file
77349 rm vpsed$$
77350 echo 'MULTISUBDIR =' >> $ac_file
77351 ml_norecursion=yes
77352 . ${multi_basedir}/config-ml.in
77353 { ml_norecursion=; unset ml_norecursion;}
77355 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
77356 s!`test -f '$<' || echo '$(srcdir)/'`!!
77357 _EOF
77358 sed -f vpsed$$ $ac_file > tmp$$
77359 mv tmp$$ $ac_file
77360 rm vpsed$$
77361 echo 'MULTISUBDIR =' >> $ac_file
77362 ml_norecursion=yes
77363 . ${multi_basedir}/config-ml.in
77364 { ml_norecursion=; unset ml_norecursion;}
77366 "src/Makefile":F) cat > vpsed$$ << \_EOF
77367 s!`test -f '$<' || echo '$(srcdir)/'`!!
77368 _EOF
77369 sed -f vpsed$$ $ac_file > tmp$$
77370 mv tmp$$ $ac_file
77371 rm vpsed$$
77372 echo 'MULTISUBDIR =' >> $ac_file
77373 ml_norecursion=yes
77374 . ${multi_basedir}/config-ml.in
77375 { ml_norecursion=; unset ml_norecursion;}
77377 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
77378 s!`test -f '$<' || echo '$(srcdir)/'`!!
77379 _EOF
77380 sed -f vpsed$$ $ac_file > tmp$$
77381 mv tmp$$ $ac_file
77382 rm vpsed$$
77383 echo 'MULTISUBDIR =' >> $ac_file
77384 ml_norecursion=yes
77385 . ${multi_basedir}/config-ml.in
77386 { ml_norecursion=; unset ml_norecursion;}
77388 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
77389 s!`test -f '$<' || echo '$(srcdir)/'`!!
77390 _EOF
77391 sed -f vpsed$$ $ac_file > tmp$$
77392 mv tmp$$ $ac_file
77393 rm vpsed$$
77394 echo 'MULTISUBDIR =' >> $ac_file
77395 ml_norecursion=yes
77396 . ${multi_basedir}/config-ml.in
77397 { ml_norecursion=; unset ml_norecursion;}
77399 "src/c++17/Makefile":F) cat > vpsed$$ << \_EOF
77400 s!`test -f '$<' || echo '$(srcdir)/'`!!
77401 _EOF
77402 sed -f vpsed$$ $ac_file > tmp$$
77403 mv tmp$$ $ac_file
77404 rm vpsed$$
77405 echo 'MULTISUBDIR =' >> $ac_file
77406 ml_norecursion=yes
77407 . ${multi_basedir}/config-ml.in
77408 { ml_norecursion=; unset ml_norecursion;}
77410 "src/c++20/Makefile":F) cat > vpsed$$ << \_EOF
77411 s!`test -f '$<' || echo '$(srcdir)/'`!!
77412 _EOF
77413 sed -f vpsed$$ $ac_file > tmp$$
77414 mv tmp$$ $ac_file
77415 rm vpsed$$
77416 echo 'MULTISUBDIR =' >> $ac_file
77417 ml_norecursion=yes
77418 . ${multi_basedir}/config-ml.in
77419 { ml_norecursion=; unset ml_norecursion;}
77421 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
77422 s!`test -f '$<' || echo '$(srcdir)/'`!!
77423 _EOF
77424 sed -f vpsed$$ $ac_file > tmp$$
77425 mv tmp$$ $ac_file
77426 rm vpsed$$
77427 echo 'MULTISUBDIR =' >> $ac_file
77428 ml_norecursion=yes
77429 . ${multi_basedir}/config-ml.in
77430 { ml_norecursion=; unset ml_norecursion;}
77432 "src/libbacktrace/Makefile":F) cat > vpsed$$ << \_EOF
77433 s!`test -f '$<' || echo '$(srcdir)/'`!!
77434 _EOF
77435 sed -f vpsed$$ $ac_file > tmp$$
77436 mv tmp$$ $ac_file
77437 rm vpsed$$
77438 echo 'MULTISUBDIR =' >> $ac_file
77439 ml_norecursion=yes
77440 . ${multi_basedir}/config-ml.in
77441 { ml_norecursion=; unset ml_norecursion;}
77443 "src/experimental/Makefile":F) cat > vpsed$$ << \_EOF
77444 s!`test -f '$<' || echo '$(srcdir)/'`!!
77445 _EOF
77446 sed -f vpsed$$ $ac_file > tmp$$
77447 mv tmp$$ $ac_file
77448 rm vpsed$$
77449 echo 'MULTISUBDIR =' >> $ac_file
77450 ml_norecursion=yes
77451 . ${multi_basedir}/config-ml.in
77452 { ml_norecursion=; unset ml_norecursion;}
77454 "doc/Makefile":F) cat > vpsed$$ << \_EOF
77455 s!`test -f '$<' || echo '$(srcdir)/'`!!
77456 _EOF
77457 sed -f vpsed$$ $ac_file > tmp$$
77458 mv tmp$$ $ac_file
77459 rm vpsed$$
77460 echo 'MULTISUBDIR =' >> $ac_file
77461 ml_norecursion=yes
77462 . ${multi_basedir}/config-ml.in
77463 { ml_norecursion=; unset ml_norecursion;}
77465 "po/Makefile":F) cat > vpsed$$ << \_EOF
77466 s!`test -f '$<' || echo '$(srcdir)/'`!!
77467 _EOF
77468 sed -f vpsed$$ $ac_file > tmp$$
77469 mv tmp$$ $ac_file
77470 rm vpsed$$
77471 echo 'MULTISUBDIR =' >> $ac_file
77472 ml_norecursion=yes
77473 . ${multi_basedir}/config-ml.in
77474 { ml_norecursion=; unset ml_norecursion;}
77476 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
77477 s!`test -f '$<' || echo '$(srcdir)/'`!!
77478 _EOF
77479 sed -f vpsed$$ $ac_file > tmp$$
77480 mv tmp$$ $ac_file
77481 rm vpsed$$
77482 echo 'MULTISUBDIR =' >> $ac_file
77483 ml_norecursion=yes
77484 . ${multi_basedir}/config-ml.in
77485 { ml_norecursion=; unset ml_norecursion;}
77487 "python/Makefile":F) cat > vpsed$$ << \_EOF
77488 s!`test -f '$<' || echo '$(srcdir)/'`!!
77489 _EOF
77490 sed -f vpsed$$ $ac_file > tmp$$
77491 mv tmp$$ $ac_file
77492 rm vpsed$$
77493 echo 'MULTISUBDIR =' >> $ac_file
77494 ml_norecursion=yes
77495 . ${multi_basedir}/config-ml.in
77496 { ml_norecursion=; unset ml_norecursion;}
77498 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
77500 esac
77501 done # for ac_tag
77504 as_fn_exit 0
77505 _ACEOF
77506 ac_clean_files=$ac_clean_files_save
77508 test $ac_write_fail = 0 ||
77509 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
77512 # configure is writing to config.log, and then calls config.status.
77513 # config.status does its own redirection, appending to config.log.
77514 # Unfortunately, on DOS this fails, as config.log is still kept open
77515 # by configure, so config.status won't be able to write to it; its
77516 # output is simply discarded. So we exec the FD to /dev/null,
77517 # effectively closing config.log, so it can be properly (re)opened and
77518 # appended to by config.status. When coming back to configure, we
77519 # need to make the FD available again.
77520 if test "$no_create" != yes; then
77521 ac_cs_success=:
77522 ac_config_status_args=
77523 test "$silent" = yes &&
77524 ac_config_status_args="$ac_config_status_args --quiet"
77525 exec 5>/dev/null
77526 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
77527 exec 5>>config.log
77528 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
77529 # would make configure fail if this is the last instruction.
77530 $ac_cs_success || as_fn_exit 1
77532 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
77533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
77534 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}